Hacker Newsnew | past | comments | ask | show | jobs | submit | err4nt's commentslogin

I've always been told by my parents that people can still hear and understand even if they appear unconscious or non-responsive, and so I have a personal policy of speaking respectfully toward them just the same as if they were alert and responding and part of the conversation, but it has shocked and amazed me (and saddened me) by what some people say in the presence of a living person who can very possibly hear and understand but may not be able to respond. Be careful not to be cruel to people in that situation!

Seen everything on Youtube, I've ditched Youtube for Spotify/listening to music now (and I don't use AI for much besides food recipe questions)


The moment the amount of savings surpassed the annual salary of a good programmer you know you made the wrong investment.


They'll shout this message right until the day they change course. Then who will hold them to account?


When it says "arrays, which may be thought of as functions whose domains are isomorphic to contiguous subsets of the integers", is it saying that this:

    const list = ['a', 'b', 'c']
is syntactic sugar for expressing something like this:

    function list(index) {
      switch (index) {
        case 0: return 'a'
        case 1: return 'b'
        case 2: return 'c'
      }
    }



No. Quick version: They have the same type. Both take an integer and return a string, so their type would be Integer -> String in your example.

They are computationally equivalent in the sense that they produce the same result given the same input, but they do not perform the exact same computation under the hood (the array is not syntactic sugar for the function).

For the distinction there, consider the two conventional forms of Fibonacci. Naive recursive (computationally expensive) and linear (computationally cheap). They perform the same computation (given sufficient memory and time), but they do not perform it in the same way. The array doesn't "desugar" into the function you wrote, but they are equivalent in that (setting aside call syntax versus indexing syntax) you could substitute the array for the function, and vice versa, and get the same result in the end.


Yes.


Goodbye to our thought-provoking jester. There will never be another quite like him.


Merry Christmas & Happy Holidays to all from Toronto!


I copy/pasted it into my editor to see it larger. I still used my brain. This 'test' is not a true test but a trick, and the trick doesn't have to do with programming ability.


So cool! Thanks for sharing. It reminds me of one of those very old cameras with the bellows or accordion. I wish I could look through it myself to see what you see with it!


This article gives great impressions of what you can see with your eyes through various sizes of telescopes : https://www.deepskywatch.com/Articles/what-can-i-see-through...


This leaves a bad taste in my mouth. I see that the man was Israeli in the original story and I don't want to presume a religious perspective, but I can share some thoughts from my own based on his story and yours. I've read the New Testament within a Jewish framework and one of the things it says, Rabbi Shaul says in 1 Corinthians 12:23 that those people in the community who are most embarrassing or cause us to blush, like the parts of our own body who are honoured or dignified by being clothed with underwear, likewise in the community are owed a special covering and to be afforded dignity by the other parts of the same body/community. Just something to think about in light of this story!


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: