HNHacker News
TopNewBestAskShowJobs

c-baby

18 karma · joined November 7, 2022

submissionscomments
c-baby··on What is an eigenvalue?
Yea, that makes sense. Basically exactly how you can use an eigenbasis in linear algebra to diagonalize a matrix.
c-baby··on What chroot taught me about containers
When running, containers aren’t anything more than composed process isolation primitives like chroot. Docker’s main innovation was the layering system, which made it feasible to build and distribute the large images required to ship an entire system in a container.
c-baby··on Binance to acquire FTX
That's called picking up pennies in front of a steam roller.
c-baby··on What is an eigenvalue?
Good point. But what makes studying these functions interesting? Like what key theorems govern this class of functions?
c-baby··on What is an eigenvalue?
Ok, but what is being asked is what interesting properties does such a function have. You still haven’t answered that question.
c-baby··on Iran Votes to Execute 14k Protesters, Says Rebels Need 'Hard Lesson
This news leaves me speechless. I can't imagine the torment felt by the arrested protesters and their families. Those fighting for their rights are unspeakably brave.
c-baby··on What is an eigenvalue?
5z + 2 is linear?
c-baby··on What is an eigenvalue?
Maybe I'm missing what's interesting about this, but a function like f(z) = 5z + 2 would output a wave with changed amplitude and phase when z = sin(x). That doesn't seem that interesting to me, so f(z) must have some other interesting properties?
c-baby··on Why would anyone need JavaScript generator functions?
Hmm I see. So the value is in creating a kind of blocking promise. I can see how that might be useful in certain circumstances, but using blocking functionality isn't something you'd want to rely on in general.
c-baby··on Why would anyone need JavaScript generator functions?
I see what you’re saying. For your bench mark code, it doesn’t look like you’re using a generator? How does the await compare to a generator? I only ask because the non-async example looks like there are a million ways the runtime could optimize it that might not apply in practice. (I’m on my phone now, otherwise I would try it).
c-baby··on Why would anyone need JavaScript generator functions?
This seems a lot more complicated than something like this:

    if (!(value instanceof Promise)) {
        value = Promise.resolve(value)
    }
And then you write the rest of your code as if it is async.
c-baby··on Any name change at all will cause temporary loss of verified checkmark
I’ve derived immense enjoyment from watching the Twitter debacle unfold, so I can’t believe I’m going to say this, but I like the scheme to pay for blue check marks. It’s nice to see someone has at least $8 to spend on spreading their opinion on Twitter. There’s something reassuring about that. I can’t articulate exactly why, but it feels nice to know that what I’m reading isn’t part of some cheap troll farm.
c-baby··on Why would anyone need JavaScript generator functions?
You can do something like that with rxjs.
c-baby··on Nvidia Security Team: “What if we just stopped using C?”
Are there really good alternatives to C? You can use Rust where you can use C, but the memory safety doesn’t come for free. A lot of people find Rust extremely annoying to write. Maybe something like Zig? But the ecosystem isn’t that big…