Live data from Hacker News

Viewing profile — nightlyherb

nightlyherb

HN member
Joined
Sun, Nov 20, 2022, 1:17 AM UTC
HN karma
24
Public activity
18 items

About nightlyherb

No profile information was provided.

Recent public activity

  1. comment
    Comment #41213314

    Would readers well-versed in physics be happier if the equation in the title were `g ≈ π² m/s²` instead of `π² ≈ g`?

  2. comment
    Comment #40610497

    Is there a way to read this style of C, without prior knowledge of APL, J, or K? Can people with prior knowledge read this more easily? I'm asking this because this is the first ti…

  3. comment
    Comment #40405499

    I'd like to add another point worth mentioning. When I read the other poster's post, I was thinking about the semantics of OOP, specifically encapsulated objects and messages. I ma…

  4. comment
    Comment #40405100

    Okay, I see what you mean. > Maybe you and the other poster have in mind specific fields of math, Yes, because this is about Julia, I assumed we are talking about the specific fiel…

  5. comment
    Comment #40404533

    I'm not the GP, but I'm sorry you felt gatekeeped. I don't think GP conveyed "real mathematicians should do FP", but rather something else, so I'll try my best to share what I unde…

  6. comment
    Comment #40404408

    As a person who respects many programming paradigms including OOP and FP, I beg to disagree. Specifically, I'm assuming you're talking about OOP the paradigm, not only the dot nota…

  7. comment
    Comment #39959955

    Hi, as someone who has been interested in functional programming for a while but who struggled to read point-free Haskell code until recently, I think it might be useful to share m…

  8. comment
    Comment #39541790

    Disclaimer: I'm a Korean native speaker. It is interesting to see a perspective of someone who seems to have studied multiple languages. I think it would be useful to clarify what …

  9. comment
    Comment #39491873

    Using church numerals[1], right_incr(n) = g => y => n(g)(g(y)) and using the following shorter fixed-point combinator[2], X(f) = ( a => a(a) )( x => f(x(x)) ) I get this junk: X(ri…

  10. comment
    Comment #39358204

    Most of my use cases for string interpolation doesn't involve the concept of templates, so for me embedding the "data" inside the "template" is easier to read most of the time. Per…

  11. comment
    Comment #39334455

    I was curious why the author decided to call them "51 percenters." A google search of the term suggests that the skills of this group of employees are divided by 51% hospitality an…

  12. comment
    Comment #39328105

    Python seems to be popular for solving leetcode style interview questions, which might be something worth of note.

  13. comment
    Comment #39186307

    Current is about the throughput of electrical charge at a specific point of an electrical circuit, while what you're describing seems to be about the latency or the speed of electr…

  14. comment
    Comment #38622659

    Security-wise, how is a server returning HTMX any different from a server returning HTML with forms? The clients both have the same capabilities, no?

  15. comment
    Comment #37432109

    N.B. Assuming `readLineStream` in that for await loop is node's readline object, the code is iterating over an asyncIterator[1] which works exactly as what you describe in your sol…

  16. story
    Show HN: Tagged Unions and Factories in TypeScript

    Wish sum types got more love in TypeScript. I have settled on this style to minimize the boilerplate code needed to write tagged unions and tagged union factories. Lines 1-8 are he…

  17. story
  18. story
    How does this look as a representation for do-notation?

    Hi HN, I recently came up with using for loops for representing do-notation. I was curious if it's readable for others as well. Thank you! https://gist.github.com/nightlyherb/a336b…