Memburu Sisi Lain Programmer Dengan Google Code Search

Google terkenal dengan kemampuannya menampilkan hasil pencarian yang lengkap, terlalu lengkap bahkan. Sampai hal-hal yang sebelumnya mungkin tidak ingin kita ketahui ikut ditampilkan juga.

Google Code Search misalnya, yang baru-baru ini dirilis, awalnya bertujuan untuk memudahkan programmer mencari skrip atau kode yang ia butuhkan. Tapi Google memberi kita lebih dari itu.

Continue reading

How many “fucks” do you have in your source code?

Google recently released the Google Code search, which searches through open source tarballs and zips, and tries to find the number of occurences of a specific query, and then showing them.

As in any search engine, it is always interesting to know what people did that not many people know. For example, how often programmer swear in his source code.

This guy did a little research about this,

It is known that programmers swear alot. There’s always fucks, shits, cunts, bitches, crap. There’s the kernel fuck count, for example, which shows the number of findings of “fuck” and “love” in the Linux kernel, over different versions of the kernel.

So, what language is the most sweared one? Here you go,

ff

How to Shoot Yourself in the Foot in Any Programming Language

Another humorous howto’s for programmer, how to shoot yourself in the foot in any programming language.

This is my favourite:

ASP.NET
Find a gun, it falls apart. Put it back together, it falls apart again. You try using the .GUN Framework, it falls apart. You stab yourself in the foot instead.

and this,

Unix
% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls

%

even in the comments row,

VB
You do a Google search on how to shoot yourself in the foot using VB. You find seventeen completely different ways to do so, none of which are properly structured. You paste the first example into the IDE and compile. It brushes your teeth.

🙂 🙂

And finally i decided to post my own way,

CSS

You try to shoot your left foot, you miss 2 pixels. You try to shoot your right foot, you miss 1 pixel. Finally you try to shoot your head, you miss 10 pixels. Then you realize you’re using MS IE gun.

Pac Man Entirely in MS Excel

This proves my point that 80% of the world’s business logic runs in Excel. Perhaps most of the Video Games also do…and we just never noticed? Splinter ExCell anyone?

Two thumbs up for the guy who made this Pac Man 100% using Excel,

pacell2.gif

and two thumbs down for Microsoft who let this guy doing it. :p

Anyone interested for Notepad version?

An App A Day

Paul Graham mentioned in his essay that if you ask a good hacker how good he is, he might replay “i don’t know”. He’s not being modest, he really doesn’t know. But i think it’s not a bad idea to test your skill of coding and find out how good you are. How about if you challenge yourself to make a new application every day?

Well, that might sound hard to do. But not really. At least not for her. So this blog goes to anappaday.com.

Don’t worry, you haven’t miss anything. By the time i write this, she is in 10th day of 30 working days she planned. You can also chat with her while she’s working on an app.