Live data from Hacker News

Viewing profile — Sonata

Sonata

HN member
Joined
Wed, May 21, 2014, 1:05 AM UTC
HN karma
40
Public activity
28 items

About Sonata

No profile information was provided.

Recent public activity

  1. comment
    Comment #42633082

    Great to see this moving forward. It does seem a bit of a mixed message to enable this by default while still saying the functionality is experimental. I fear many people will take…

  2. comment
    Comment #40565031

    The approach taken to this problem by Cats Effect (a Scala concurrency library) is interesting. It allows cancellation of a fiber from outside, but let's blocks of code be marked a…

  3. comment
    Comment #39356904

    As long as they don't make them mutable!

  4. comment
    Comment #36187411

    Nice to see some Scala content on HN. Hope he finishes the book.

  5. comment
    Comment #35566804

    Here a common example: Given the following tables: CREATE TABLE person ( id INT PRIMARY KEY, name VARCHAR NOT NULL ); CREATE TABLE pet ( id INT PRIMARY KEY, name VARCHAR NOT NULL, …

  6. comment
    Comment #31672999

    Youth culture is alive and well. And as for music subcultures, I'm a fan of several genres which have distinctive fashions, art styles and world views - rave, psytrance, drum and b…

  7. story
  8. comment
    Comment #30034851

    I'm glad people are working on this problem. Typescript's compiler performance is certainly a weakness. Other commenters have rightly called out the complexity of the type system a…

  9. story
  10. comment
    Comment #29932262

    Interesting. I'm not aware of any other lazy dynamic languages. I would assume it is difficult to optimise such a combination.

  11. comment
    Comment #27710905

    Having a good knowledge of HTTP is useful in many different contexts. - The correct semantics for each HTTP method - What different status codes indicate - Common headers, particul…

  12. comment
    Comment #26774319

    The important thing is that it separates the order of side-effects from the order of evaluation of expressions. This isn't a particularly important distinction in an imperative lan…

  13. comment
    Comment #25158551

    There are a lot of interesting possibilities with template literal types. I've discussed some of them here: https://davidtimms.github.io/programming-languages/typescrip...

  14. story
  15. comment
    Comment #22074015

    This sounds similar to how Cloudflare Workers work - using the V8 isolate technology built for Chrome to provide secure isolation of backend processes without the overhead of VMs o…

  16. comment
    Comment #15171423

    If you're looking to create a dynamic language with reasonable performance, you could look at implementing it with RPython [1], which is used for PyPy, or for the Parrot VM [2], wh…

  17. comment
    Comment #13096797

    I'm really not a fan of the function bind operator. It adds extra complexity to the meaning of "this" in JS, which is already one of the most confusing aspects of the language. I d…

  18. comment
    Comment #11904748

    What features would a type system require to be able to soundly type check 100% of the patterns that are found in dynamically typed programs? Dependent types? Refinement types? Is …

  19. comment
    Comment #10686737

    After having used this operator in Elixir and Elm, I would love to see it in JS. I know it seems like a superficial issue, but I think the left-to-right chaining flow is one of the…

  20. comment
    Comment #10572441

    This is exactly the response to this tragedy that I was fearing in the UK. What the article fails to mention is that France passed their own sweeping surveillance law earlier this …

  21. comment
    Comment #10334997

    I really hope immutable collections get added to the standard library eventually (probably ES2017 at this rate). Proxies should allow them to be used with libraries which expect mu…

  22. comment
    Comment #8750148

    This looks fantastic. Python always feels like it's almost as good as a dynamic, imperative language could get, but I miss some of the functional idioms from other languages. It's …

  23. comment
    Comment #8667013

    This is something which really excites me about Rust. Having constructs as fundamental as function application extensible via traits reminds me of Python's magic methods, but witho…

  24. comment
    Comment #8554543

    Haskell and Clojure both use structure-sharing data structures, which allow immutability without the cost of copying the entire structure whenever you want to make an update. They …

  25. comment
    Comment #8554498

    From what I can see, seamless-immutable basically just enforces immutability on native JavaScript data structures. Immutable.js on the other hand, implements full persistent data s…