Live data from Hacker News

Viewing profile — rictic

rictic

HN member
Joined
Wed, Aug 15, 2007, 9:26 PM UTC
HN karma
3,386
Public activity
856 items

About rictic

rictic@gmail.com http://github.com/rictic

I work on https://lit.dev/ at Google.

[ my public key: https://keybase.io/rictic; my proof: https://keybase.io/rictic/sigs/oWyFb0ZtJHIhMD8GbVGDmFDr2gH7PH4zmivg2IWAGp4 ]

Recent public activity

  1. comment
    Comment #49162250

    I'd be impressed with a touchpad and OS that can go from an actuation to a userspace process receiving a click event in 1.2ms. I'd expect something more like 10x that. My understan…

  2. comment
    Comment #48837327

    The honest way to say this is that Fable is not useful for bio-related work. The author is working on processing RNA sequences and similar biology tasks, and Fable's classifier has…

  3. comment
    Comment #48797558

    Yes! Very exciting to see this. Bloom's Two Sigma Opportunity suggests that there's another SD improvement available: https://en.wikipedia.org/wiki/Bloom%27s_2_sigma_problem

  4. comment
    Comment #48156220

    The author has written about stacked sigmoids in the past, e.g. in https://slatestarcodex.com/2018/10/15/is-science-slowing-dow... I suspect that he started down the path of consid…

  5. story
  6. comment
    Comment #46887849

    Yep. What nix adds is a declarative and reproducible way to build customized OS images to boot into.

  7. comment
    Comment #46495325

    Inflation adjusted incomes are up in the US across the board. The affordability problem is largely the price of housing because it's illegal to build.

  8. comment
    Comment #46380623

    Agree, for modern React with hooks. A React component looks like a normal function, only you can't call it. Only React can call it, in order to set up its hooks state.

  9. comment
    Comment #46233310

    You can disable it for your site using a trusted types content security policy.

  10. comment
    Comment #46008363

    Missing from the article: how to communicate progress and failure to the user? This is much more complicated with task queues. Doable still! But often skipped, because it's temptin…

  11. comment
    Comment #45775278

    A click handler can be doing a lot of things that aren't much like a button, like letting you close a modal if you click outside of it, capturing mouse events for a game, or passiv…

  12. comment
    Comment #45683394

    A somewhat related spec, at the page level rather than the module level, are Content Security Policies, which let a page disable various unsafe browser features for a page: https:/…

  13. comment
    Comment #45683313

    It is also painful when your app gets hacked, accounts get taken over and abused, user data is compromised, and so on. For serious sites it's worth the pain to turn on security enf…

  14. comment
    Comment #45677376

    For anyone else following along, see https://github.com/rictic/jsonriver/issues/39

  15. comment
    Comment #45649224

    So, they have a custom decode function that extracts info from unprinted characters which they then pass to `eval`. This article is trying to make this seem way fancier than it is.…

  16. comment
    Comment #45584482

    Oh this isn't about the public API, it's about the internal logic of the parser.

  17. comment
    Comment #45575044

    jsonriver's invariants do give you enough info to notice which values are and aren't complete. They also mean that you can mutate the objects and arrays it returns to drop data tha…

  18. comment
    Comment #45574529

    Only for numbers! Strings, objects, arrays, true, false, and null all have an unambiguous ending.

  19. comment
    Comment #45574136

    I've just published v1.0.1. It's about 2x faster, and should have no other observable changes. The speedup is mainly from avoiding allocation and string slicing as much as possible…

  20. comment
    Comment #45573989

    Good feedback! Just updated the README with the following: > The parse function also matches JSON.parse's behavior for invalid input. If the input stream cannot be parsed as the st…

  21. comment
    Comment #45573413

    Try import maps, something like: { "imports": { "express": "/usr/share/nodejs/express/index.js", "another-module": "/usr/share/nodejs/another-module/index.js" } } Then run node lik…

  22. comment
    Comment #45572594

    Bare module specifiers aren't just for Node! Deno and browsers support import maps e.g. The library doesn't use any APIs beyond those in the JS standard, so I'm pretty confident it…

  23. comment
    Comment #45571720

    Do any LLMs support constrained generation of newline delimited json? Or have you found that they're generally reliable enough that you don't need to do constrained sampling?

  24. comment
    Comment #45571576

    Yeah, getting numbers correct was one of the trickier wrinkles in the project. https://github.com/rictic/jsonriver/blob/5515be978bb564e9bdc...

  25. comment
    Comment #45571482

    Hi HN! Didn't expect this to be on the front page today! I should really release all the optimizations that've been landing lately, the version on github is about twice as fast as …