robinh | 11 years ago | on: Woman’s cancer killed by measles virus in trial
robinh's comments
robinh | 11 years ago | on: Syntax highlighters are wrong
robinh | 11 years ago | on: Tell HN: Call your mom
robinh | 11 years ago | on: Tell HN: Call your mom
robinh | 11 years ago | on: Tell HN: Call your mom
robinh | 11 years ago | on: Tell HN: Call your mom
robinh | 11 years ago | on: Tell HN: Call your mom
<goes back to reading a book in pyjamas, today is not a very good day. />
robinh | 12 years ago | on: Can Programming Be Liberated From The Von Neumann Style? (1977) [pdf]
So a common problem with concurrency tends to be not "How do I make these functions run in parallel", but "Is there an algorithm that does the same thing I want without relying on constant function composition?"
robinh | 12 years ago | on: The Control Group Is Out of Control
> Yes, that is intellectually dishonest, which is a huge problem. Scientists have two options: (1) accept parapsychology as real, or (2) accept that the "scientific method" (in social "sciences", at least) is insufficient.
I don't get why the whole thing is such a huge problem. The entire problem rests on needing parapsychology effects to not be real. If that need did not exist, we could just go "Okay, interesting, seems likely that there's something to it then. Let's do more research!" because, you know, we take that approach everywhere else. So my question remains: what is it about parapsychology that makes option two even valid to consider? All I can see is people just not liking that that may be how things work.
robinh | 12 years ago | on: The Control Group Is Out of Control
robinh | 12 years ago | on: Muen Kernel: Trustworthy by Design – Correct By Construction
robinh | 12 years ago | on: Why You Shouldn't Say It's Easy When Teaching
robinh | 12 years ago | on: Coming Soon to Hacker News: Pending Comments
robinh | 12 years ago | on: Coming Soon to Hacker News: Pending Comments
robinh | 12 years ago | on: Python Language Features and Tricks
1. I'm unfamiliar with the term 'unpacking'. Is it any different from pattern matching in, say, Haskell (but perhaps not as feature-rich)?
2. Aren't slices pretty much a staple in Python? I didn't think using them was considered a 'trick'.
robinh | 12 years ago | on: Sixteen, Alone, 23 Hours a Day, in a Six-by-Eight-Foot Box
robinh | 12 years ago | on: A brief introduction to Haskell, and why it matters
But, if you're already a very experienced programmer, you can probably learn how to write practical programs in Haskell by just reading the IO chapter (http://book.realworldhaskell.org/read/io.html) and the Systems Programming chapter (http://book.realworldhaskell.org/read/systems-programming-in...) from RWH. These will help you understand how IO actually works in Haskell. The rest is just libraries and learning the language itself.
On a related note: I've found that starting with the main IO function is a good way to start writing any large program in Haskell. Most people I know who complain about Haskell being a mess in impure environments tend to write pure functions first, then build their IO functions on top of that, instead of the other way around. I'm not sure whether this applies for everyone, and of course this approach works well in domains that have little to do with IO (e.g. mathematical programming), but it's something to keep in mind.
robinh | 12 years ago | on: A brief introduction to Haskell, and why it matters
EDIT: ...Did I just accidentally paraphrase what ESR used to say about Lisp?
robinh | 12 years ago | on: Please reconsider the Boolean evaluation of midnight
robinh | 12 years ago | on: I Still Don't Want To Be Part of Your Fucking Ecosystem