Hacker Newsnew | past | comments | ask | show | jobs | submit | 2009-10-14login
Stories from October 14, 2009
Go back a day, month, or year. Go forward a day, month, or year.
1.Paul Buchheit: Applied Philosophy, a.k.a. "Hacking" (paulbuchheit.blogspot.com)
233 points by paul on Oct 14, 2009 | 35 comments
2.Elements Of Statistical Learning: now free pdf (stanford.edu)
183 points by wglb on Oct 14, 2009 | 28 comments
3.Coding Horror: The State of Solid State Hard Drives (codinghorror.com)
149 points by twampss on Oct 14, 2009 | 118 comments
4.World of Goo does a Radiohead. Pay whatever you like. (2dboy.com)
115 points by mapleoin on Oct 14, 2009 | 63 comments
5.Dropbox Acquires The Domain Everyone Thought It Had: Dropbox.com (techcrunch.com)
108 points by bigwill on Oct 14, 2009 | 56 comments
6.This must already exist (lbrandy.com)
105 points by spydez on Oct 14, 2009 | 35 comments
7.High Quality Ruby on Rails Example Applications (jetpackweb.com)
97 points by fogus on Oct 14, 2009 | 11 comments
8.In Search of a Good Idea (andrewljohnson.com)
83 points by andrewljohnson on Oct 14, 2009 | 13 comments
9.In which I stomp on some of our glorious “green shoots” (scottlocklin.wordpress.com)
73 points by dsplittgerber on Oct 14, 2009 | 44 comments
10.Does Exercise Boost Immunity? (nytimes.com)
58 points by tokenadult on Oct 14, 2009 | 29 comments
11.The Lost Lesson Of Instant Typing (mooseyard.com)
56 points by blasdel on Oct 14, 2009 | 22 comments
12.Google Wave: too complicated for its own good (slate.com)
51 points by adamhowell on Oct 14, 2009 | 44 comments

There is a huge difference between giving away a year-old product and giving away a brand new, never-been-sold-before one.

Let me explain.

Radiohead took a -huge- risk by releasing an album, out the door, right at the start, with a "pay what you want" pricing model.

2dboy is taking -no- risk by releasing World of Goo with a "pay what you want" pricing model. They are already on the tail end of the demand curve at the $20 price point, they are just using this as a chance to capture more of the market at a smaller price.

Radiohead took a huge swing with their pricing model, 2dboy didn't. It's a completely different situation.

14.The Calorie-Restriction Experiment (nytimes.com)
47 points by ars on Oct 14, 2009 | 11 comments
15.iRobot Develops a Hyperelastic Morphing Robot (jwz.livejournal.com)
46 points by lupin_sansei on Oct 14, 2009 | 18 comments
16.Every Ubuntu Karmic user will have an address book stored in CouchDB (apache.org)
45 points by paulcarey on Oct 14, 2009 | 14 comments
17.MySpace replaces all server hard disks with flash drives (computerworld.com)
44 points by Flemlord on Oct 14, 2009 | 18 comments

I posted this there, but I feel more people prefer to read comments here.

---

First, I love both Python and Clojure, and completely agree that Clojure is more functional and aimed towards concurrency (this was its goal, after all). But I feel like you're doing Python wrong here.

> I think this should make a Pythonist a little jealous

No, I think you misunderstood the whitespace rules for Python. First, it isn't set to "4 spaces", it just has to be uniform. You could use 8 tabs if you wanted, or 2 spaces, or 7 spaces. Also, inside of data structures, strings, function calls, etc you can go whitespace crazy. This is valid Python:

    users = (# name ,      id,    age,     phone
             ("Frank",     200,    22,     "555-1234"),
             ("Johnathan", 201,    24,     "555-3213"),
             ("Peter ",    202,   101,     "555-2312"))
> The last print statement outputs "10" which is surprising to me, since y has never been declared in that given scope.

But it wasn't declared in that scope, there is no scope for 'if'. It may not be what you're used to but you can't blame Python for your assumption of what should have it's own scope or not.

> To resolve it you have to manually call 'del y'

What do you mean to resolve it? Why are you deleting the reference at all? You very rarely see 'del' in real Python code.

> but I can't count the number of C app's that have suffered from memory-leaks and what not, based on the lack of automated garbage collection

What does that have to do with Python? It is reference counted, those values will be deleted when they go out of all scopes, just like in Clojure.

> But this is very different from Clojures concept where immutable means: 'x' never changes.

That isn't what it means in Clojure at all.

    user=> (def x 1)
    #'user/x
    user=> x
    1
    user=> (def x 5)
    #'user/x
    user=> x
    5
I just changed 'x'. What immutability means is that the value 'x' points to does not change. And that's exactly what it means in Python, too, but dictionaries are mutable (and this is documented). For example, strings in Python are immutable, just as in Clojure. If two things reference the same string and one "changes" it only means that it references a wholly new string.

> Guido is not preparing to transition into modern programming

That's a little extreme. Concurrent programming is valuable, but there will also be many programs that fit single process / thread models very well until the end of time.

19.Python vs Clojure (bestinclass.dk)
43 points by fogus on Oct 14, 2009 | 48 comments
20.Congressman Spends Week on Uninhabited Island in Pacific (washingtonpost.com)
43 points by breck on Oct 14, 2009 | 18 comments
21.Bananajour - Local git publication and collaboration (github.com/toolmantim)
42 points by tjogin on Oct 14, 2009 | 4 comments
22.SQLite Foreign Key Support (arriving in 3.6.19) (sqlite.org)
41 points by jsrn on Oct 14, 2009 | 10 comments
23.HN meetup in Chicago (groups.google.com)
41 points by rguzman on Oct 14, 2009 | 24 comments
24.CSS Differences in Internet Explorer 6, 7 and 8 (smashingmagazine.com)
42 points by twampss on Oct 14, 2009 | 12 comments
25.Let's Be Friends (How I use Twitter for business.) (spencerfry.com)
39 points by maxstoller on Oct 14, 2009 | 2 comments
26.Martin Fowler describes four kinds of "technical debt" (martinfowler.com)
38 points by obie on Oct 14, 2009 | 16 comments
27.Can You Be Shy and Still Succeed in Business? (casnocha.com)
38 points by maximumwage on Oct 14, 2009 | 17 comments
28.Ubuntu One - Store, sync and share (ubuntu.com)
37 points by superberliner on Oct 14, 2009 | 8 comments
29.Gem Bundler is the Future (litanyagainstfear.com)
36 points by _pius on Oct 14, 2009 | 3 comments
30.Rack Middlewares To Turbocharge Your Ruby Webapps (rubyinside.com)
36 points by sant0sk1 on Oct 14, 2009 | 5 comments

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: