Quantcast
Channel: Numbergrinder
Browsing latest articles
Browse All 10 View Live

Using the STL in Objective-C

One of the really powerful libraries available to C++ programmers is the Standard Template Library (STL). While Cocoa has fantastic built-in classes, sometimes it is beneficial–especially when working...

View Article



Wrappers for Numbers: NSNumber and Collections of Integers

In the Java programming language there are both raw and wrapper objects to represent numbers. For example, int and Integer, double and Double, etc. If one wanted to add a numeric object to a Collection...

View Article

Where do I…

…sign up to get paid tons of money to make statistical fallacies? There is a fallacy I like to refer to as the “clifford fallacy” that the news media seems particularly prone to making: “If this dog...

View Article

Checking Malloc History

Sometimes it is useful to see what malloc operations have been performed by a given application. Doing this is a fairly straightforward process that can be facilitated with the command malloc_history,...

View Article

Image may be NSFW.
Clik here to view.

Bush Approval Rating: 8 Years in Review

A graph of Bush’s approval rating over the last 8 years. The line represents a 5-day rolling median for his rating, which ranged between 90 and 23.

View Article


Image may be NSFW.
Clik here to view.

KGS Rating Graph

The game of Go involves a ranking system to allow people at different levels of strength to play fair games. The system is widely employed in both in-person and online games, and some variation of it...

View Article

Adding an Application Icon

One of the final steps in developing your app before submission is adding an icon. This is a straightforward process: Create a 57×57 pixel PNG, name it “Icon.png”. In must be exactly 57×57 pixels and...

View Article

Time + Computation + Thinking = Constant

Working on Project Euler, there is a problem involving dice probabilities. The forum shows a variety of different solutions, some of them involving entirely too much typing (several people literally...

View Article


I’m an Engineer, Not a Compiler

Recently I had a phone interview where I got asked a variety of Java questions. This kind of thing is standard, and most of the questions were somewhat standard: What is polymorphism? What’s the...

View Article


Testing post

Gonna test a ton of posts! GWAR!

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images