Live data from Hacker News

Viewing profile — FalconNL

FalconNL

HN member
Joined
Sun, Dec 14, 2008, 6:39 PM UTC
HN karma
106
Public activity
26 items

About FalconNL

No profile information was provided.

Recent public activity

  1. comment
    Comment #14403323

    The wording on question 9 (the regex one) is a little unclear: both b[l]. e and ([^b] b[^b]*){3} will match blabber but not babel. Presumably the intended meaning is that the entir…

  2. comment
    Comment #9489553

    The last time I made a world generation algorithm for a voxel engine prototype I got reasonable results through the judicious combination of different types of noise, (specifically…

  3. comment
    Comment #5323857

    There's no need for XML, nor for all-white video. A 32x32 icon of some color noise, stored as PNG, GIF, or BMP, takes about 2-3 KB. Writing an algorithm to procedurally generate a …

  4. comment
    Comment #3085009

    And yet another short, functional solution: pairs = (>>= \ ~(x:xs) -> map ((,) x) xs) . init . tails EDIT: Or as a list comprehension: pairs xs = concat [map ((,) h) t | (h:t)

  5. comment
    Comment #3083039

    I don't know if this will add much to the article, but let's go over things step by step. scanl is the same as foldl, save for the fact that it outputs a list of all intermediate v…

  6. comment
    Comment #3081781

    As an alternative to the zipWith method of calculating the Fibonacci series, you can use scanl, resulting in (in my opinion) an even more elegant version: fibs = fix $ (1 :) . scan…

  7. comment
    Comment #2249376

    $40? As long as Joss and the original cast are on board I'll happily pay $100, maybe even $200, even if it's only another half season. Just promise not to start this project before…

  8. comment
    Comment #1596703

    Alternatively, for those who want good-looking text but prefer the WYSIWIG approach: just use a half-decent DTP program like InDesign, which will get you everything mentioned in th…

  9. comment
    Comment #1434101

    Interestingly, if you multiply 15 years by 365 days and the two hours a day mentioned at some point in the article, you get 10,950 hours, which is remarkably close to Malcolm Gladw…

  10. comment
    Comment #573112

    I've tried it a bit, but I found the syntax rather ugly compared to Haskell. I know, I'm nitpicking and it really shouldn't matter that much, but it put me off the language. Perhap…

  11. comment
    Comment #573101

    No, I mostly make a new one per project. All the functions are pretty much one-liners anyway, so it's not too much work to make. It's more of a documentation thing; anything in Has…

  12. comment
    Comment #573007

    I can't comment on Lisp, but I've been working with Haskell for about a year or so now, so I'll cover that instead. My personal history goes something like QBasic -> Visual Basic -…

  13. comment
    Comment #552765

    Not so much obsession as convention. Generally versions 0.x - 1.0 are the alpha and beta releases, with 1.0 being the first "stable" release. Obviously there are hundreds of projec…

  14. comment
    Comment #552552

    Very nice site, thanks. In case anyone from Grooveshark is reading this, here are two minor UI suggestions: - It's rather easy to miss the volume control since it's so far removed …

  15. comment
    Comment #519001

    For some examples of high-quality prosthetics, watch the two TED talks of Aimee Mullins: http://www.ted.com/talks/aimee_mullins_prosthetic_aesthetics... http://www.ted.com/index.ph…

  16. comment
    Comment #508066

    And for those too cheap to buy the book, this 70-minute Google talk by the author of Presentation Zen will give you most of the information for free: http://www.youtube.com/watch?v…

  17. comment
    Comment #495027

    There is also a strong correlation between global warming and the amount of pirates ( http://www.seanbonner.com/blog/archives/001857.php ). While I agree that dismissing it a prior…

  18. comment
    Comment #494470

    "Never ascribe to malice, that which can be explained by incompetence." I must say it's getting really hard to tell the difference in this case. "less is being paid for than ever b…

  19. comment
    Comment #473557

    From what I understand you're supposed to get the result (in your example 6) by combining the cells in that box with the given operator (in this case times). So a "6x" box with two…

  20. comment
    Comment #434608

    Indeed. Though there are some fairly easy steps to reduce this as much as possible. 1. Give guests full use of all the features of the site. Posting, editing, befriending, etc. Sto…

  21. comment
    Comment #433818

    Obligatory: Larry Lessig's TED lecture on why remixing shouldn't be illegal. http://www.ted.com/index.php/talks/larry_lessig_says_the_law...

  22. comment
    Comment #432908

    Reminds me of George Carlin's dissection of the language used on airplanes. Part 1: http://www.youtube.com/watch?v=DagVklB4VHQ&feature=relat... Part 2: http://www.youtube.com/watch…

  23. comment
    Comment #398136

    Not necessarily. In Haskell the oneliners are frequently short enough to fit on one screen. For example, I recently needed to do some Run-Length Encoding: import Control.Arrow impo…

  24. comment
    Comment #397693

    Yeah, that works for really short methods, but for anything even a little more complex you're just replacing vertical scrolling with horizontal scrolling.

  25. comment
    Comment #397520

    Completely agree. The main reason for my preference is that one of the things I hate most in C-style languages is that one-line functions take up three or four lines (depending on …