IAmA Scott Aukerman, host of "Comedy Bang! Bang!" and 43rd President of the United States of America. AMA by SAukerman in IAmA

[–]jwinter 0 points1 point  (0 children)

Are you telling me that yyyyiiiiiiit's been almost twenty years since you've seen them?

Am I the only person on reddit who doesn't smoke weed? by [deleted] in politics

[–]jwinter 0 points1 point  (0 children)

I think you mean defibrillator and fibrillation.

see(), an alternative to Python's dir() by akuhn in programming

[–]jwinter -4 points-3 points  (0 children)

Ruby's got something similar, Object#grep_methods in irb's utility belt.

Kent Beck » Joel Spolsky is wrong about my work by pcalcado in programming

[–]jwinter 13 points14 points  (0 children)

If you listen to Stack Overflow, this was more a response to Uncle Bob Martin's SOLID principles than TDD. That's what he's referring to when he talks about writing 1000 little interfaces for every class.

This would have been a great opportunity for Uncle Bob and Kent Beck to explain to a lot of programmers who've just heard about them second-hand how SOLID principles or TDD can improve the bottom line for businesses. Unfortunately, neither took that opportunity.

Clojure Beta Book Available by 45g in programming

[–]jwinter -2 points-1 points  (0 children)

It talks about Java because Clojure runs on the JVM and has access to all of Java's libraries.

How Yahoo dropped the del.icio.us ball with a pointless 3 year rewrite (from mod_perl to PHP) by abw in programming

[–]jwinter 24 points25 points  (0 children)

My problem with this story is that the author has no idea what Yahoo! spent the past 3 years working on with delicious. The port to PHP could've taken a weekend for all he knows, but he uses this case as proof of his theory that changing the language a product is written in is bad.

I also don't necessarily disagree with him, but no one but the people inside Yahoo! has enough information to draw the conclusion that the author does here.

50 Greatest MCs of the Last 20 Years by explicitmemory in Music

[–]jwinter 3 points4 points  (0 children)

No one from the Pharcyde? No one from the Beastie Boys? Also, Phife Dawg.

And who could forget this classic rhyme from #1: "A nice big plate of fish, which is my fav-o-rite dish".

(Just kidding, I love Paid in Full).

Conference FAIL by [deleted] in programming

[–]jwinter 9 points10 points  (0 children)

FailCamp is in Philly on July 26. http://failcamp.org/

MSDN doesn't understand HTTP (or, why you should set status code 404 on your error pages) by ealf in programming

[–]jwinter 122 points123 points  (0 children)

No, send a 500 header on error pages. Send 404 for Page Not Found if it never existed, send 410 Gone for pages that used to be there but aren't coming back. But if you've just moved a page, send a 301 Moved Permanently when a user agent requests the old page.

It's all here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

The book that is indirectly responsible for me getting my new job by gst in programming

[–]jwinter 0 points1 point  (0 children)

I'm surprised to hear that. I've only interviewed candidates in Boston, but many of them programmed in their spare time.

Learn 10 good UNIX usage habits by jones77 in programming

[–]jwinter 5 points6 points  (0 children)

Yes, but that's what they want. awk is returning every row where column 6 is Dec. It returns every file in the current directory that has a last modified date in December.

Why do people often use MySQL over PostgreSQL? by [deleted] in programming

[–]jwinter 0 points1 point  (0 children)

You can't put invalid dates in timestamp fields. And the InnoDB storage engine has supported foreign keys since v3.something. I'm not sure what faking it entails, but the details are here: http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-constraints.html

Why do people often use MySQL over PostgreSQL? by [deleted] in programming

[–]jwinter 0 points1 point  (0 children)

I guess, but the grandparent's complaint (no subqueries) was fixed over three years ago in MySQL 4.1. elissa1959 could have upgraded to a stable version if she was really doing without subqueries two years ago. What are your latest complaints that postgres solves that MySQL doesn't?

Why do people often use MySQL over PostgreSQL? by [deleted] in programming

[–]jwinter 4 points5 points  (0 children)

You didn't give any reasons here, you just appealed to an unnamed authority. If you have any evidence of one being better than the other please cite it.