thewholepython.com
Accidentally The Whole Python: September 2014
http://www.thewholepython.com/2014_09_01_archive.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. PHP, setcookie(), RFCs, and A Wayward Period. I have lately been working with PHP a lot, and run into gotchas and inconsistencies almost daily. My friends and coworkers are probably tired of hearing about PHPs fractal of bad design. 160;Still, when I encountered what looked like an awful bug, I had to write about it. Subscribe to: Posts (Atom). View my complete profile. Looking for my personal website?
thewholepython.com
Accidentally The Whole Python: A Break-down of Fizz Buzz
http://www.thewholepython.com/2015/07/a-break-down-of-fizz-buzz.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. A Break-down of Fizz Buzz. Fizz Buzz" is a quick children's number game intended to teach them about division. Here's how it goes:. The players count from 1 to 100, taking turns with each number. If a number is divisible by 3, they say "Fizz! Instead of the number. If it is divisible by 5, they say "Buzz! If it is divisible by both, they say "Fizzbuzz! Write a program that plays Fizz Buzz. Hang on, now! The first time I was confron...
thewholepython.com
Accidentally The Whole Python: Inside Data Structures: The Stack
http://www.thewholepython.com/2015/05/inside-data-structures-stack.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. Inside Data Structures: The Stack. You have probably heard about a ton of data structures these days, from the mundane and built-in (arrays, lists, maps, sets) to the more complex (over 9000 kinds of trees and graphs). However, one of the first and simplest data structures often gets ignored: the stack. What is a stack? You may only put new cards on top of the deck. You may only look at, or remove, the card on top of the deck.
thewholepython.com
Accidentally The Whole Python: February 2015
http://www.thewholepython.com/2015_02_01_archive.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. Plug and Primer: Tornado Webserver. The Python web framework landscape is in the middle of a perpetual maelstrom of solutions. Django? Everyone has their favorite, their go-to framework for implementing their latest hare-brained idea. Im here to tell you about my favorite: Tornado. Python Pitfall: Type vs. Instance Properties. Not this kind of funny Python. Decorators Part 2: Callable Objects. So lets fix it! So then whats up with ...
thewholepython.com
Accidentally The Whole Python: May 2014
http://www.thewholepython.com/2014_05_01_archive.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. Twisted In A Way That Makes Sense. So I figured it might be good to share the love and try to explain it my way. You have a file with five million lines of text in it. Each of these lines is either an IPv4 address (e.g. 127.0.0.1) or an IPv6 address. Your task is to rapidly. 160;count how many IPv4 addresses there are, how many IPv6 addresses there are, and how many malformed/non-address lines there are. Why does that all matter?
thewholepython.com
Accidentally The Whole Python: July 2015
http://www.thewholepython.com/2015_07_01_archive.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. A Break-down of Fizz Buzz. Fizz Buzz is a quick childrens number game intended to teach them about division. Heres how it goes:. The players count from 1 to 100, taking turns with each number. If a number is divisible by 3, they say Fizz! Instead of the number. If it is divisible by 5, they say Buzz! If it is divisible by both, they say Fizzbuzz! Recently, this game has become a topic of conversation in programming circles. Why?
thewholepython.com
Accidentally The Whole Python: July 2014
http://www.thewholepython.com/2014_07_01_archive.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. Common Sense and Education: the Best Anti-virus. I have a confession: I do not use an antivirus or other anti-malware software on my home computer. Shocking, right? Okay, maybe its not entirely all that. 160;shocking. Its totally unsafe though, right? I mean, who would do such a thing? I probably have hundreds of viruses all up in my computer, slowing it to the speed of an abacus. No, I do not. Whats the secret sauce?
thewholepython.com
Accidentally The Whole Python: May 2015
http://www.thewholepython.com/2015_05_01_archive.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. Inside Data Structures: The Stack. You have probably heard about a ton of data structures these days, from the mundane and built-in (arrays, lists, maps, sets) to the more complex (over 9000 kinds of trees and graphs). However, one of the first and simplest data structures often gets ignored: the stack. Subscribe to: Posts (Atom). View my complete profile. Looking for my personal website? You can find it at opensourcenerd.com.
thewholepython.com
Accidentally The Whole Python: March 2015
http://www.thewholepython.com/2015_03_01_archive.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. Binary Search 101: Guessing Games and Shakespeare. Have you ever played the guess the number Im thinking of game? First, you think of a whole number between 1 and 1000, and I will guess it. When I make a guess, you tell me if its too low or too high. Ready? Too low. Is it 2? Too low. Is it 3? Too low. Is it 4? Too low. Is it-. Mocking Builds Character. And Better Tests. In the previous post we looked at unit testing in Python.
thewholepython.com
Accidentally The Whole Python: June 2014
http://www.thewholepython.com/2014_06_01_archive.html
Accidentally The Whole Python. Programming, tech, cats, gaming and stuff. Yet Another Utility Library. Ever had that one piece of code, that magic function that is useful in a hundred and one projects? You know, the one you end up coding a slightly different implementation of every time you start on something new just because its so useful? Isnt that so much effort and work? I have just come upon such a challenge, and would like to present it to you as well: how would you set up a WHOIS.