https://www.ynonperek.com/2017/09/21/python-exercises/amp/ This seems very cool. These look like some pretty cool problems. It includes debugging and unit testing, so there's a lot of core skills covered by these exercises.
more ...The three unsolvable problems in computing:
Let's talk about naming.
The project team decided to call the server component "FlaskAPI".
Seriously.
It serves information about two kinds of resources: images and running instances of images. (Yes, it's a kind of kubernetes/dockyard lite that …
more ...Tweet:
![]()
Packt(@PacktPub)
Want to improve your #Python performance? We've got 7 great tips for you: bit.ly/28YiGeE via @ggzes #CodingTips pic.twitter.com/cGhoGyTSS9
I have one thing to add: Learn to use the profiler and timeit. They will eliminate and hand-wringing …more ...
Background: https://medium.com/capital-one-developers/bashing-the-bash-replacing-shell-scripts-with-python-d8d201bc0989
And this
I wonder how/why python did not pick up some sort/form of pipe operator. 🤨 (although coroutine does have .send method 🤔)
—Ivan Pejić (@nadrimajstor) August 26, 2017
The answer to this is interesting because there are two kinds of parallelism. I like …
more ...The emphasis on code is important. Code defines the behavior of systems -- for the most part Once upon a time, we used clever mechanical designs, or discrete electronic components. The InternetofThings idea exists because high-powered general-purposes CPU's are ubiquitous.
A DevOps mantra is "infrastructure as code". The entire deployment is …
more ...https://medium.com/@s_lott Plus, of course, lots of other stuff from lots of other folks. Enjoy.
more ...This was a cool thing to see in my Twitter feed:
![]()
Dan Bader(@dbader_org)
"Why Python Is Not My FavoriteLanguage"zenhack.net/2016/12/25/why…
More Problems with Python. Here's the short list. 1. Encapsulation (Inheritance, really.) 2. With Statement 3. Decorators 4. Duck …
more ...The request was murky. It evolved over time to this:
Create a function file_record_selection(train.csv, 2, 100, train_2_100.csv)
First parameter: input file name (train.csv)
Second parameter: first record to include (2)
Third parameter: last record to include (100)
Fourth parameter: output file name (train_2_100.csv)
Fundamentally, this …
more ...Real Question:
more ...One of the standard problems that keeps coming up over and over is the parsing of url's. A sub-problem is the parsing of domain and sub-domains and getting a count.
For example
https://www.theatlantic.com/video/index/374880/living-alone-on-a-sailboat/
It would be nice to parse the received …