Live data from Hacker News

Viewing profile — bjoli

bjoli

HN member
Joined
Fri, Aug 04, 2017, 2:56 PM UTC
HN karma
4,180
Public activity
2,217 items

About bjoli

No profile information was provided.

Recent public activity

  1. comment
    Comment #49239919

    Remember the days when we complained about Java being a resource hog? Now I am glad to get a Java or dotnet app.

  2. comment
    Comment #49239903

    I spent some time this morning thinking I was wasting memory using an immutable vector type in c# (RRB tree). It made things a lot easier and probably safer, but it ended up using …

  3. comment
    Comment #48976686

    One of their newer APs has thread radio. That is the best idea anyone has had since the mid 90s.

  4. comment
    Comment #48976671

    How is the ipv6 situation these days? I left Ubiquiti 2 years ago because I needed to be able to configure the /56 I got from my isp. The unifi controller was pathetic in what it c…

  5. comment
    Comment #48956373

    if you compile to c# you can use #line directives to get integration with debuggers. it is really simple. for debug builds you can do an ANF pass and generate debugging locations f…

  6. comment
    Comment #48939614

    why doesn't anyone just jump the gun and introduce proper parallelism primitives? SML/NJ got it right in 1991. ocaml5.0 has domains and effect handlers. why do people still accept …

  7. comment
    Comment #48939539

    if the language specifies all ranges to be the same this matters very little. if a ranges are inclusive, you get used to it. if it is arbitrary it is awful.

  8. comment
    Comment #48939513

    i have made a language that xompiles to c#. I wrote a lexer. then a parser. then a type checker (hindley milner, function local so that top level functions must have type signature…

  9. comment
    Comment #48921379

    the looping facilities in most languages suck. We are at a position where iteration is either "increment or decrement numbers", or "go through this collection". Everything else mea…

  10. comment
    Comment #48843052

    I would chose typescript over js, Python and perhaps ruby. but I would use Scheme over typescript. I would probably use f# or ocaml over Scheme for most projects. it is not an eith…

  11. comment
    Comment #48829988

    Last week I am #2 in Sweden on StreetComplete, despite using veapucci for about half my edits (my neighborhood is pretty effed up). AMA I guess

  12. comment
    Comment #48829963

    that is one of the reasons async is everywhere. proper threads are not enough. 2 threads are great at doing 2 things at once, but unless you have the hardware 1000 threads scale ve…

  13. comment
    Comment #48828217

    it is like CSP but with first class events. In CSP you have to manage complex protocols yourself, whereas in cml you can compose larger even trees and then do one sync. a classic e…

  14. comment
    Comment #48814049

    and you get concurrentML. People get all wet in the pants by the actor model and CSP, but my god CML is much nicer in every way. I had a weird introduction to programming. I spent …

  15. comment
    Comment #48791541

    you can implent something like futures on top of cml and use it as async. then you get async for stuff where async is useful and a proper way to write parallel programs for when as…

  16. comment
    Comment #48791437

    yep. writing on my phone. notoriously bad at proof reading.

  17. comment
    Comment #48788033

    It seems like we forgot about lightweight fibers for about 30 years and then collectively rediscovered it in about 2010. sure, Java did green threads, but not like m:n stuff. I som…

  18. comment
    Comment #48771297

    I administrate my home lab using podman desktop and quadlets. It is one of the few GUIs for what is mostly a cli utility that really adds value.

  19. comment
    Comment #48691125

    Edit: Sorry for repeating myself. Still thinking out loud. I have already started. Not only is the concat faster (which means the derived operations in the rrb tree will be faster)…

  20. comment
    Comment #48688157

    Hmmm. This comment made me think. If you would do a radix tree that degrades to a b+tree, you would get a couple of things. The b+tree concat and subsequently insertions and remova…

  21. comment
    Comment #48682677

    This is a persistent ordered map on b+trees. https://rikspucko.koketteriet.se/bjoli/PersistentMap/src/bra...

  22. comment
    Comment #48682487

    that is because many implementations bypass strict rebalancing to squeeze out extra concat performance. And because the strict rebalancing algorithm is awful to implement.

  23. comment
    Comment #48665299

    you could also compare if (a === b && b === c && c === d && d == e) To scheme's (= a b c d e) JavaScript clearly has the upper hand.

  24. comment
    Comment #48659317

    Thanks! I havet always been linking to the Collections subdir so I have missed this dumb issue. Will fix next time I use a computer. Might be some time though. If you have any ques…

  25. comment
    Comment #48655715

    As I said, i think they have been teaching long enough to have a pretty good basis for the claim that racket's syntax can be a problem. I am firmly in the "after a while you don't …