Live data from Hacker News

Viewing profile — elcaro

elcaro

HN member
Joined
Wed, Jun 23, 2021, 12:16 PM UTC
HN karma
68
Public activity
25 items

About elcaro

No profile information was provided.

Recent public activity

  1. comment
    Comment #48987300

    Similar article I read 10 years ago that covers some of the same ground, with some pretty SVG's as well. http://strangelyconsistent.org/blog/train-tracks

  2. comment
    Comment #48305787

    % biff 2026 M05 28, Thu 17:27:46 Ahh, the month of M05

  3. story
  4. comment
    Comment #46864778

    I also use this one everyday. I learned the quick one back in the day, but I value never ever having to stop and re-tie my laces.

  5. comment
    Comment #44555315

    Under the "Countries Visited" section it says "been lucky to run on all seven continents, including antarctica!", but it doesn't look like they've been to Australia.

  6. comment
    Comment #43799803

    Answering for myself, I started looking into APL, but at the time, learning the keymaps for the symbols seemed difficult, so I started learning array lang techniques with J, and en…

  7. comment
    Comment #42449187

    I wa recently playing with this pattern in J, where it can be expressed like so ~:"1/~&.#:i.2^8 See it here: https://jsoftware.github.io/j-playground/bin/html2/#base64=b...

  8. comment
    Comment #40993550

    First thing I thought of https://www.youtube.com/watch?v=M4g4WBo-5fc

  9. comment
    Comment #39986378

    I was also a big fan of the Panorama feature that used to be built in. These days I'm using the Panorama Tab Groups [1] extension, which provide a practically identical experience …

  10. comment
    Comment #39613618

    FWIW, I solved this in J as follows F =: >@{.@(\: #@>)@(#~ (2 >: +/@e.&'aeoiu')@>) which I think maybe composes a little better This doesn't include the splitting. I would imagine …

  11. comment
    Comment #37809251

    Another Unicode article that mentions Swift, but not Raku :( Raku's Str type has a `.chars` method that counts graphemes. It has a separate `.codes` method to count codepoints. It …

  12. comment
    Comment #37257876

    I went looking for a web browser!

  13. comment
    Comment #37208827

    > "Produce" is a term I've never seen used this way before, and I assume it is unique to Raku. More commonly referred to in the functional languages as a `scan`, but yes, it seems …

  14. comment
    Comment #36608918

    I know cygx already replied, but to be clear, function signatures have been available in Perl since 2015. They were added (as experimental) in 5.20, and are now enabled by default …

  15. comment
    Comment #36165503

    This is exactly what Raku does. Neither strings nor arrays have a `.length` method because it's arbitrary. [0] > "\c[FACE PALM]".chars 1 [1] > "\c[FACE PALM]".codes 1 [2] > "\c[FAC…

  16. comment
    Comment #35811107

    > Personally I think this kind of computer-control is the perfect environment for teaching computing. Rather than writing apps or webapps, I feel like the idea of just writing code…

  17. comment
    Comment #34349052

    The closest thing these days is probably p5js (Processing in JS). function setup() { createCanvas(640, 480) } function draw() { background(0, 100, 200) strokeWeight(100) stroke(200…

  18. comment
    Comment #33704637

    I'll repeat the sentiment that "always" and "never" rules usually have their fair share of exception. And while I agree that [closed, open) intervals are often the best choice... s…

  19. comment
    Comment #33704586

    Discussion of the ligature issue (and a screenshot) in the Reddit post comments. https://old.reddit.com/r/programming/comments/z18gb6/comment...

  20. comment
    Comment #32245678

    One potential use case could be in creating bindings for other languages that do not have an expect like module. Since it reportedly has a "saner interface than libexpect", it migh…

  21. comment
    Comment #29884944

    > right from the beginning, the say turns me off, computers do not speak This seems a bit of an odd argument. You've never heard the phrase "The sign says ...", or asked someone "W…

  22. comment
    Comment #29325608

    > isn't it more like Python 3 Not in the slightest. Python 3 made breaking changes to the CPython code base (yes that's a simplification). There's enough backwards incompatibility …

  23. comment
    Comment #29283902

    The first operation where I split to lines, then join, then split again... was annoying me. So now I've got this say qx .lines.skip.batch(9) .map({ |([Z] .join.comb(22).batch(3)) }…

  24. comment
    Comment #29275572

    Just for fun, I tried it in Raku. say qx # Command output as string .lines.skip.join("\n").split(/\n\n+/) # Skip year & split groups .map({ |([Z] .lines.join.comb(22).batch(3)) }) …

  25. comment
    Comment #27603846

    Raku also has a specific string type (Str) that is not just a bag of bytes. Strings are normalized (NFC) when they are created, and multi-codepoint graphemes are represented intern…