44 Comments
- dominasian, on 10/12/2007, -3/+74"Every 5 minutes you spend writing code in a new language is more useful than 5 hours reading blog posts about how great the language is."
so freaking true- 12 year olds of digg, take his advice - joeTaco, on 10/12/2007, -1/+45"skill == noob"
Looks like someone needs some more repetition. :-P - merreborn, on 10/12/2007, -1/+36"If your target market is the readers of digg, reddit, and delicious then you're trying to sell shelves to a carpenter. If he really wanted them, he would have built them himself, years ago."
Talk about giving digg users a little too much credit. - Swifti, on 10/12/2007, -6/+35Ruby On Rails is the best programming language I have ever read.
...I'll get around programming something in it once I digg about ten or more articles about it. :P - scratched, on 10/12/2007, -0/+22@nerditup
That code won't work. It _might_ compile, but it won't work. - destraynor, on 10/12/2007, -2/+16Hi all, I'm the author of this...
Yeah, I know they're not theorems, and yes, they're mostly not about programming either.
I apologise for the misleading title, I wrote this article back in October, and it seems only now it's getting the hits.
re: the 3 cans of beer, No I'm not a lightweight, I just think iTunes buttons are *that* small.
re: my programming experience, I have a bit, but again, I didn't sit down and think "How best can I some up my experience of programming in a short and witty blog post", I just had some lines that had made other people laugh, so I stuck them all together.
re: White on Black, apologies, there is an alternative style sheet, or it looks pretty sweet in Print Preview :)
Surprisingly the comments here are far more friendly , over on reddit, the entire thread was accusing me of plagiarising someone elses work from back in October 2006. Funnily enough I was actually being accused of copying my own work, as they had previously read it on a different site.
Thanks for the comments guys,
all the best.
Des - Swifti, on 10/12/2007, -3/+16Whoa! Ruby on Rails comes without the Rails!?
I guess I should postpone programming in Ruby until I digg twenty articles instead of ten. - leohart, on 10/12/2007, -2/+11Umm, Ruby is the language, rails is the framework. No mean to be picky but Ruby is beautiful even without Rails. You can even use only part of rails for other Ruby work.
- strictnein, on 10/12/2007, -2/+10"Fitts Law - If you can't click it easily after 3 cans of beer, then it's too small."
Three cans? Lightweight! Although he is talking about Irish beer... hmmm - bonexaw, on 10/12/2007, -0/+7"Think twice before presuming that CSV is a nice little easy file format. "
You should see this project where a client wants me to use Media Wiki as a database. - Ryosen, on 10/12/2007, -3/+8@nerditup and Cmiller,
Thank you for demonstrating why you should never code in a production environment. - kcpwnsgman, on 10/12/2007, -0/+4You should see this project which had a client devoted in using a file called "database.csv"
... meh yours is worse - nightguilt, on 10/12/2007, -4/+8wow, those aren't theorems.
huh... most of them aren't even about programming. - cscalfani, on 10/12/2007, -3/+7OW !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
After reading that page (white text on black background) and coming back to digg (black text on white background), my eyes hurt !!!!!!!! - xJVz, on 10/12/2007, -0/+3Although, there _is_ Maddox, and he made his site like that because it's easier to read (without putting your monitor at minimal contrast while still being able to read it).
- xJVz, on 10/12/2007, -0/+2I thought this was going to deal with things like the Loop Invariant Theorem, or the Halting Problem (or anything else about algorithm correctness), or other computer science programming theorems, problems, etc., even if they were just corollaries to existing theorems, axioms, etc.
Oh well, still a funny, but true, article! - AlfaWolph, on 10/12/2007, -0/+2They drink canned beer in Ireland? I always figured they drank it by the pint.
- destraynor, on 10/12/2007, -0/+2Well to be fair, we drink canned beer by the crate, and stout by the pint.
- kcpwnsgman, on 10/12/2007, -1/+3that quote reminds me of a brand new site I made specifically for diggers!
reminds me of a time that some one tried to sell me a csv parser... - rolosworld, on 10/12/2007, -4/+6quote:
"A list of rules I've come up with lately, based on my experience in programming."
Seems he doesn't have too much programming experience.... - dashham98, on 10/12/2007, -0/+2Your article on early announcement of a product release was funny, funny, funny! I was a tech writer in Silicon Valley years ago.
- grumpyrain, on 10/12/2007, -0/+2> Think twice before presuming that CSV is a nice little easy file format
Amen. It seems so easy, even upper management can see how it works looking in excel right? Well right up until you need to differentiate between an empty string and null or embedd commas, double quotations and carriage returns in a field, or co-ordinate whether there is going to be a header record. XML wasn't developed because people thought CSV wasn't verbose enough you know. - posure, on 10/12/2007, -0/+1Dugg for the boasting one and: "For every Architecture Astronaut out there, there is at least one coder who thinks that being "Agile" is a perfect substitute for foresight."
- cmiller1, on 10/12/2007, -2/+3rolosworld: yeah, or only came in during the web 2.0 era, there was a time when perl was the coolest most amazing new thing for those who had to suffer through the horrors of complex string parsing in lower level languages
- Flamekebab, on 10/12/2007, -2/+3That's what I thought!
A friend of mine who spent some time across the pond tells me that you guys drink less there..
3 cans of beer is nothing, unless of course they're drunk over the course of about fifteen minutes, on an empty stomach. - tablatronix, on 10/12/2007, -0/+1Color Contrast
If you make your website white text on a black background, someone may not even bother reading it. - destraynor, on 10/12/2007, -0/+1Thanks for that !
It was submitted to digg after posting, but only got 4 diggs and disappeared, always nice to get positive feedback - Trenton, on 10/12/2007, -0/+1"If you can't click it easily after 3 cans of beer, then it's too small."
- smitting, on 10/12/2007, -0/+1The most important theorem is missing!
No project shall be issued with sufficient (or even reasonable) time-frames, funding, or resources. In the unlikely event that a project is discovered with sufficient resources, the programmer shall be taken off the project to help out the sales department with excel spreadsheets. If a project is still able to arrive on-time and meeting requirements, new requirements are to be added to the project at the delivery meeting, and those missing requirements will be the focus of all future discussion until the project is eventually canned for developer incompetence.
j/k but not really - Ltgeo, on 10/12/2007, -4/+4@ Cmiller
That is never going to work if you set both NOOB and PRO to 0. - dashham98, on 10/12/2007, -0/+0This article was funny, but the top article referenced underneath it (about announcing a new product in advance) was absolutely one of the most delirious things I've ever read. Anyone who was ever involved in technical development (even as a lowly tech writer as I was) needs to read this for great belly laughs.
In my opinion, the article should be published in the Wall Street Journal or something. - tablehead, on 10/12/2007, -0/+0The problem with XML versus CSV is lack of a defined standard in CSV. It is the defined standard that makes XML portable (in theory), not its simplicity.
- dashham98, on 10/12/2007, -0/+0Oh well. There could be an element of chance at work here, depending on who sees it early. If no one likes it early, I suppose it tends to fade. Anyhow, my similar comment got a couple diggs, indicating a few more people read it.
If a person hasn't been in the environment, it just can seem silly. Like young kids reading Dilbert think its over the top satire---till they work in a corporation for the bald guy. - livester, on 10/11/2007, -0/+0Impossible! Rubbish. I'd better go and drink some vodka
- kmarius, on 10/12/2007, -2/+1Parsing your own CSV is easy. Parsing other people's CSV is much harder. You have to have solid error checking, decide if you are escaping using an escape character or just doubling the character, handle quotes etc.
Even if you make a CSV parser that handles all types of files, chances are that it is much slower than it have to be. I have seen parsers with huge speed differences
You can either use one of the open source parsers, or buy one for $170. I prefer using ostermiller's CSV parser, but if you think you can develop one cheaper than the commercial parser you should read this: http://www.ricebridge.com/products/csvman/roi.htm
From the page: "Notice that even though the actual coding element takes only 3 hours, all the additional and sometimes overlooked costs can quickly accumulate". - cyclelicious, on 10/12/2007, -6/+3ME TOO! LOL! THIS IS SO TRUE AND FUNNY! HA HA HA! :rolleyes:
- cmiller1, on 10/12/2007, -7/+2ACK! just noticed I put PRO 0 instead of PRO 100! my code was horrible, blech, forgive me, I've had more than 5 but less than 7 sam adams white ales
- cmiller1, on 10/12/2007, -7/+1ltgeo: I posted my correction 3 minutes before you commented, come on, that's just slanderous.
- cmiller1, on 10/12/2007, -11/+4nerditup:
I think you meant
#define NOOB 0
#define PRO 0
you = new person();
for(you.skill = NOOB; you.skill < PRO ; you.skill++ )
{
you.practice(newLanguage);
};
cout < < "success!!"; //Don't put < < in your comments without a space! digg ***** up - bonexaw, on 10/12/2007, -10/+1@swifi
LOL - cmiller1, on 10/12/2007, -12/+1oops, edit time ran out, that's a little ***** up, and if I really wanted to use solid design principals I'd be using a getSkill and increaseSkill method of the person object, the syntax might be a bit ***** up too, I've been switching between like 4-5 languages all day and may have mistaken some of the object syntax for that of another language
- nerditup, on 10/12/2007, -53/+4I also agree you have to learn by doing with programming, there's just too much to memorize that only be repetition you will get it straight.
for( skill == noob; u < pro; skill++ )
{
u += skill;
};


What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official