The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.
Here’s an excerpt:
Madison Square Garden can seat 20,000 people for a concert. This blog was viewed about 66,000 times in 2014. If it were a concert at Madison Square Garden, it would take about 3 sold-out performances for that many people to see it.
Default Notepad++ theme is really… Boring. Editing text files can be a frustrating job and sometimes, you need some interesting colours to turn you on (?)
Anyway! When your are editing my CFG or anything and wish to make your Notepad++ look like above, just follow this guide :)
Then download the xml file :
4. Restart Notepad++
9. Finally, Plugins > DSpellCheck > Spell Check Document Automatically to disable dictionary.
A few weeks ago a coworker of mine stopped by my desk with a coding question. We’d recently been quizzing each other over our C knowledge, so I smiled and braced myself for the hell which was clearly to come.
He wrote a few lines of code up on the whiteboard and asked what the program output:
It seemed pretty straightforward. I explained the order of operator precedence – postfix binds before multiplication which binds before addition and also that multiplication and addition’s associativity was left to right, so I grabbed the marker and started writing out the arithmetic.
After I smugly scribbled down the answer, my coworker replied a simple “nope”. I thought for a few minutes, and was stumped. I couldn’t quite remember the order of the postfix operators’ associativity. Furthermore, I knew that wouldn’t even change the order of evaluation here as associativity rules only apply between…
View original post 777 more words
It’s easy to get lost in all the details of building a great video or computer game – so easy in fact, that we can forget the parts of a game that make them fun to play. The following serves as a gentle reminder of what prompts players to play games in the first place. Refer to this reminder in the event that you get bogged down or distracted with confusing C++ syntax, or lines and lines of Visual Basic statements and DLL structures.
1. Remember the player is the main character. Here’s a secret between you and me: People play games to gain a sense of control. If you can manage to program your game in a way that puts the player in control, then you’ve already won half the battle. This doesn’t mean to suggest that the game should be easy. It simply means that when a gamer…
View original post 503 more words
The table below explains everything!
Simply add the 2x when that specific place has ‘1’ instead of ‘0’
Therefore, the example above will be 01001001 = 26+23+20= 64+8+1 = 73
Simple and easy way to calculate binary numbers :)
OR you can simply use my Binary Swift v2 :P