Live data from Hacker News

Viewing profile — ossopite

ossopite

HN member
Joined
Sat, Jun 30, 2018, 9:49 AM UTC
HN karma
170
Public activity
59 items

About ossopite

No profile information was provided.

Recent public activity

  1. comment
  2. comment
    Comment #48984292

    I've seen this expressed similarly as the 'configuration complexity clock': https://mikehadlow.blogspot.com/2012/05/configuration-comple... I like your spiral metaphor though, sinc…

  3. comment
    Comment #48290634

    As I recall, C# supports this in a completely sensible way by distinguishing a[i,j] and a[i][j]. If I understand right, in C, a[i][j] means what C# would spell a[i,j], which does s…

  4. comment
    Comment #48256309

    The docs/summaries part I can get behind if reviewed and improved by a human, but at least when working in pre-existing codebases, I tend to steer models away from writing comments…

  5. comment
    Comment #48034591

    The idea that we could create a world where 'a big part of the future of hobbies and entertainment' is people listening to meaningless words made up by machines that help them feel…

  6. comment
    Comment #47996109

    Right. Besides getting this incantation right, as gp did only after editing their comment, you also have to cast to create values of NewType. But generally you want to avoid castin…

  7. comment
    Comment #47995638

    In a way I agree with you, and I'm not sure that what popular languages embrace or make it easy to follow this philosophy. My sense is that Erlang is still the leader. But I did wa…

  8. comment
    Comment #47995510

    I'm not convinced it really works well in typescript. the lack of nominal types requires you to remember some pretty hacky incantations if you want something like a newtype wrappin…

  9. comment
    Comment #47486698

    Did you write it or did an LLM? I find some irony in seeing the telltale tropes of conventional LLM writing there

  10. comment
    Comment #45467188

    I think the send/recv with a timeout example is very interesting, because in a language where futures start running immediately without being polled, I think the situation is likel…

  11. comment
    Comment #45086772

    Single core performance isn't just clock frequency. It must be multiplied by average IPC, but really it's more difficult since you have to account for factors like new SIMD instruc…

  12. comment
    Comment #44544546

    Ok, that's true, but my claim is that recursive descent parsing does not have to use the visitor pattern and indeed using recursive descent parsing is not the same as using the vis…

  13. comment
    Comment #44544522

    I think I'm missing something here. if you have a grammar rule R with children A and B, and a function in your recursive descent parser that corresponds to R, why can R not call th…

  14. comment
    Comment #44544453

    I see that you've found an example of how recursive descent parsing actually can be implemented with the visitor pattern, which I've never come across before, and I didn't read it …

  15. comment
    Comment #44543697

    What? The visitor pattern is a technique for dynamic dispatch on two values (typically one represents 'which variant of data are we working with' and the other 'which operation are…

  16. comment
    Comment #44476242

    I would add Vernor Vinge's A Fire Upon the Deep and A Deepness in the Sky to these suggestions

  17. comment
    Comment #43967579

    From the headline I can't decide if it was a study in astronomy or gastronomy

  18. comment
    Comment #43759639

    It seems like it originated in the Isabelle proof assistant ML dialect in the mid 90s https://web.archive.org/web/20190217164203/https://blogs.msd...

  19. comment
    Comment #43647982

    I'm not sure if t-strings help here? unless I misread the PEP, it seems like they still eagerly evaluate the interpolations. There is an observation that you can use `lambda` insid…

  20. comment
    Comment #43596754

    I hadn't heard of this property before, thanks for introducing me to it! V gubhtug vg fbhaqrq fhecevfvat sbe n glcr r gb orunir guvf jnl jura V jebgr zl pbzzrag, ohg abj V ernyvfr …

  21. comment
    Comment #43596652

    Gung'f snve. Gura V guvax, abg pbafvqrevat nal cnegvphyne cebtenzzvat ynathntr, gur nafjre qrcraqf ba ubj Frg qrgrezvarf rdhnyvgl bs ryrzragf. Vs vg hfrf fbzr vzcyrzragngvba bs rdh…

  22. comment
    Comment #43596463

    ROT13 Fb V guvax gur nafjre eribyirf nebhaq gur pbzcbfvgvba ynj. Va bgure jbeqf, vf sznc (sznc frg s) t rdhny gb sznc frg (t . s) sbe nal s naq t? V guvax guvf ubyqf bayl vs s naq …

  23. comment
    Comment #43526612

    I suppose by enumerations you mean sum types. I would argue that these are pretty fundamental? you have product types (structs/records/tuples) - a value is made up of x and y - and…

  24. comment
    Comment #43515785

    I'm curious what you have in mind when it comes to ways in which OCaml is insistent on being functional while F# isn't. After all, OCaml has mutable data structures, mutable record…

  25. comment
    Comment #43515470

    I think you really are describing ocaml, which is a great language, although its ecosystem isn't the best. It probably inspired most of the features you mentioned in rust. It also …