April 2011
35 posts
4 tags
Dependency Inversion Principle (SOLID Part 5)
Part of my SOLID programming principles series.
What is the Dependency Inversion Principle?
The Dependency Inversion Principle can be summed up in one simple quote “design for the interface, not the implementation”. The idea is that software is built by making simple objects and functions, which are then used by more complex objects and functions. This principle is a way to make it...
3 tags
Amazon's $23 Million Dollar Book →
If you are going to tackle a problem like this algorithmically, make sure you have sanity checks.
2 tags
Use all of the preceding information to sketch a graph of f(x) When you’re...
– my overly trusting math homework
In Reponse to Moving away from writing on Tumblr
in reponse to adamjmorgan and geeksathome :
I definitely plan on still using Tumblr in some regard, probably having blog posts I write show up here, either as a link or as full text. There’s also a lot of content that I think wouldn’t make sense for a full-on blog post, but would make sense as a tumblr post.
Overall though, the more I think about it Tumblr just isn’t cut...
New Temporary Homepage →
I’ve been busy, but I’ve been meaning to update my homepage for a long time. Finally had time to fix some server issues and at least get a temporary one up. Hopefully after finals I can have a more full-fledged site up.
Which brings me to a question I’ve been thinking about: should I move my blogging to a self-hosted solution, or should I stick with Tumblr?
Reblog if you are a programmer
joethought:
I’d like to follow as many of you as I reasonably can.
You might also want to check out the #programming and #software development tags, good way to find a lot of other interesting tumblrs
2 tags
Mathmatical Quine →
A quine is a program that is writes its own source code. Who would have thought that there was a math function that could do the same thing?
2 tags
What do you wish school would have taught you...
You can learn a lot from computer science programs at schools, but I feel like a lot of programs leave students ill-prepared for the real world. What are some topics or skills you wish were covered at your school that were not?
4 tags
Non-programmers don’t care about the aesthetics of software in the same way...
– Dan North
Shouldn’t I get more equity because it was my idea? No. Ideas are pretty...
– Joel Spolsky
3 tags
Simple Algorithims →
Love the idea, and I love the site design.
J2 Labs: A bunch of floating point errors →
j2labs:
Python $ python
>>> 0.1 + 0.2
0.30000000000000004
Javascript $ node
> 0.1 + 0.2
0.30000000000000004
Ocaml $ ocaml
# 0.1 +. 0.2;;
- : float = 0.300000000000000044
Java Code public class FPError { public static void main(String args[]) { System.out.println(0.1+0.2); }
}
Running…
If you understand how floating point math works, you would understand why these are...
3 tags
Maker's Schedule, Manager's Schedule →
remosiegwart:
Great article by Paul Graham
I’ve heard this put another way that helps a lot of people understand: Creative work is a lot like sleep. It takes time to get into REM, the really deep, most restful form of sleep. If you wake someone up in the middle of REM asleep, when they go back to sleep they don’t go back to REM, they have to start the whole process over again.
Tim McNamara: Quick Tips for Developing for the... →
timclicks:
Here, we’re looking at building websites that can cater for both ‘normal’ users as well as mobile devices. Prepare for interruptions Your application is not the only thing that your user will be doing. The most basic element of crafting a GUI application, that’s different from the web is making…
Nice tips. Another great bonus to using -webkit is that it is used on android...
2 tags
Does this man have a claim to 50% of Facebook? →
5 tags
3 tags
Grammy Awards to add Video Game Categories →