Live data from Hacker News

Viewing profile — smosher_

smosher_

HN member
Joined
Tue, Sep 16, 2014, 6:53 AM UTC
HN karma
191
Public activity
109 items

About smosher_

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #10285678

    It's because the generator recurses with: return fself(num - 1) + fself(num - 2); instead of calling fib (or fib_gen) explicitly. fself is passed into the generator and it will nee…

  3. comment
    Comment #10268631

    If you read the comment you'll see that I'm talking about different interpretations of memory safety. You can't just decide what it means in Rust applies to all languages, or that …

  4. comment
    Comment #10264033

    > My objection is that I see unsafe just for memory integrity. Either you think this way because of a sense of orthodoxy or because you think memory safety is important in a way th…

  5. comment
    Comment #10262326

    > They are abusing it, specially as workarounds for constraints that cannot be expressed in the type system. That doesn't sound like abuse to me, as long as the exposed interface r…

  6. comment
    Comment #10262009

    > new generations never heard of those languages and think C was the very first systems programming language. That's just it. Rust looks enough like C++ to catch on. This was not a…

  7. story
  8. comment
    Comment #10231681

    > To me, green threads are just an implementation detail. The fact that green threading is being used shouldn't leak into the interface. I think that mentality, which I supported, …

  9. comment
    Comment #10211143

    Blocking at the request level is where it's at: you don't download the content, you don't execute the scripts, you don't interact with the DOM. You block requests to third party se…

  10. comment
    Comment #10183731

    That's a little extreme. I think most computations are best¹ written in a way that is amenable to mathematical treatment, and most of the useful ones can be. Just because a counter…

  11. comment
    Comment #10183338

    > Stuff like SmallTalk wouldn't be possible if programming was turned into math > and frankly I don't understand why mathematicians want to take over a completely different domain …

  12. comment
    Comment #10160245

    FYI the quote above refers to the develeoper/community response to criticisms/ideas (eg. see the comment I replied to), not the criticisms/ideas offered by newcomers.

  13. comment
    Comment #10159780

    I don't know what it's like now. Rob Pike in particular made a lot of noise like this early on. There was a lot of parrotting of that, so it was hard to have a serious conversation…

  14. comment
    Comment #10159475

    I think it's a canary. How many languages do you hear this said about? I've only heard it in regards to Go which is fairly pedestrian (read: looks and acts something like C / Java)…

  15. comment
    Comment #10133186

    Fwiw I avoid writing both loops and recursion as much as possible. Collection data structures usually come with their own fold/map/etc functions, so this works well in practice.

  16. comment
  17. comment
    Comment #10070685

    I posted this in another comment, but her github repo has a Ceptre implementation: https://github.com/chrisamaphone/interactive-lp/ There are details on getting the trace graphed i…

  18. comment
    Comment #10070661

    I'm a big fan of this work. For the PDF-shy, there's some excerpted text on LtU: http://lambda-the-ultimate.org/node/5216 but you'll miss some of the goodies, like the graph of a s…

  19. comment
  20. comment
    Comment #10025680

    In case anyone is wondering which project this is: The concrete contribution of the research report here is the design and implementation of a fully compartmen- talized operating s…

  21. comment
    Comment #9752409

    ^A in bash will go to the beginning of the line. I don't know if this is why tmux changed the key, but it certainly makes a bigger difference to me because I use that function a lo…

  22. comment
    Comment #9714129

    The idea is you can write this: let _ = print_string "foo" let _ = print_string "bar" at the top level. Of course you can write let msg = "foo" in print_string msg let msg = "bar" …

  23. comment
    Comment #9635336

    Philip Wadler's paper Monads for functional programming is the first thing I read that made any sense. FYI this is the horse's mouth.

  24. comment
    Comment #9628033

    Did you even read the article? The article's description of "beat" doesn't conflict with the musical term but yours does. In fact the article even relates beats to tempo and descri…

  25. comment
    Comment #9598209

    I agree. The title is downright bizarre until you realize the article is consumed more by JS idiosyncrasies than about the OCaml modules.