News for hackers. Stuff that matters.

bkz

Re:Spotiamp – Long live the Llama on Friday December 20, 2013 @09:27AM (#6941508)
Runs perfectly fine with Wine.
Re:Where Pair Programming Fails for Me on Wednesday December 29, 2010 @08:40PM (#2050861)
My view is that pair-programming is a tool which only really works for stuff dealing with tactical decision making, logic/fact checking, teaching or debugging.

Higher level abstract stuff which involves creativity (design) or strategic decisions won't work because there is no process for these activities. You can't synchronize (communicate) where you are on your way to the "eureka" moment. Discussing with others certainly helps but there nothing pair-programming specific about it.

Also, don't forget that most, if not all, of the assumed benefits of pair-programming can be gained using a more flexible common sense approach:

Reducing defects? Code-reviews.

Over engineering? Design documents.

New hires? People switching projects? Assign a mentor for a week or so and have them pair-program.

Faster debugging? Understand that it is OK to ask a colleague for help.

Re:Python as an Alternative to Lisp or Java, Peter Norvig revisited on Wednesday December 22, 2010 @09:12PM (#2033289)
This version clocked in at 1:35, gave up on the "professional code" requirement though :) Need to sleep.

https://gist.github.com/752455

Re:Interviewing programmers: coding test example explained on Thursday June 03, 2010 @02:31PM (#1402065)
Funny how readable Python is:

def condense(s, remove): return "".join([c for c in s if c != remove])

Cheating (2.6+): s.translate(None, remove)

Re:Squaring two digit numbers in your head on Monday March 29, 2010 @09:50AM (#1226503)
IMHO, a clearer version:

                 x^2 = x^2
   x^2 + (r^2 - r^2) = x^2
   (x^2 - r^2) + r^2 = x^2
(x + r)(x - r) + r^2 = x^2

If we continue you'll also notice that:

      (x + r)(x - r) = x^2 - r^2 
Which is useful if you need to calculate the opposite where two numbers are mirrored around a suitable even number, i.e. 28 * 32 -> (30 + 2)(30 - 2) = 30^2 - 2^2
Re:Live from the Apple 'latest creation' event on Wednesday January 27, 2010 @02:26PM (#1081357)
People who are really serious about software should make their own hardware. -- Alan Kay
Re:Ask HN: What was the worst bug you've ever solved ? on Friday October 09, 2009 @10:56AM (#871511)
After having launched our product I was spending some time reviewing commits together with the senior tech lead. Still to this day I can recall the commit number, the filename and write down the code from memory responsible for what turned out to be the source of a bug completely wiping out our users computers. Someone had mixed uncommenting a piece of code together with fixing a bug which hid the fact that some horrible code was active in the product. It took us 5 minutes to produce a fix and push it out to the update servers. Did we end up wiping someones computer? Yup, about a dozen known cases including a couple one in-house. I don't even want to think about how many actual cases there were, considering that we had about 2 million downloads of our product before the bug was fixed.
Re:The Tragedy of the Coffee Shop on Saturday August 08, 2009 @04:18PM (#749743)
Funny, I was in Berlin last week and spent a couple of evenings at this place where I can't recall a single person _without_ a laptop:

http://www.spottedbylocals.com/berlin/area/mitte/bars-mitte/...

Re:What's wrong with Ikea? on Tuesday August 04, 2009 @10:41PM (#742720)
Believe it or not IKEA is probably the most ethical and hacker oriented large-scale company currently around. They don't scam people into buying stuff which breaks and needs to be replaced, they retain customers by offering something to everybody while at the same time introducing fashion and trends which makes people want to buy new stuff. Insider tip: use ordinary glue when you put together furniture. You know how solid all the furniture seems when you try out at IKEA and you don't really get the same feeling when you put it together yourself? Well, guess what.

Ask HN: Berlin Hacker Meet

Hi,I will be visiting Berlin for a week, arriving on the 28/7 and I was wondering if there are any startup people in town who'd like to meet up sometime for dinner or drinks. I've heard great things about Berlin and will spend half my time exploring the town and the rest doing some recreational hacking to charge my mental batteries. Guess, I should introduce myself as well, I'm currently living...

( Read More... | no comments | 2 points | on HN )
The code has been available in their public SVN repository for quite some time:

http://src.chromium.org/viewvc/chrome/trunk/src/courgette/

BTW, I've read about 40% of the Chrome code and I have to say it is the single best open-source project I've come to study so far. Incredibly clean code, really shows how much code reviews done properly can benefit project in the long run.