flysand7

Joined 3 years ago

Karma
193
Submissions
99
Member since
Oct 20
Low-level programmer, like C and stuff
View on Hacker News

Recent submissions

Comment · 2 months ago
Opening up devtools during ADHD test is so ADHD, almost as if he didn't even need the psychiatrist to explain the results :D
Comment · 7 months ago
Something tells me this ain't the kind of redundancy aerospace engeneering really needs
Comment · 7 months ago
1969: Our toilets suck, better be miticulous and careful with waste

2026: Too much shit, we need to design new toilets

Comment · 7 months ago
Cats aren't social species, they don't have the capability to understand what is and isn't private. If a cat wants to lick its balls it'll do that, even if the owner is watching.

Also, even if we wanted to push for some sick agenda that cats should have rights too, you can't really make a cat aware of said rights. Cats dont give a shit about cameras watching them

Comment · 7 months ago
A chinese company Hello has created an app called Hello Street Cat - a livestreaming app that allows viwers to donate money to feed stray cats. Presumably, since it's the same company, maybe they purchased the feeders in bulk, that'll explain why the feeders look the same

But I wonder why some feeders are more decorated than others. For example Mr. Happy doesn't seem to have a container at all.

Comment · 7 months ago
I enjoyed it too! Enough technical details to be useful, but not too boring.
Comment · 11 months ago
yea, me (pls dont crack)
Comment · 1 year ago
This reminds me a Russian localization of the "Search" bar on some version of Windows 10, which reads something like "Type the prompt to perform search". Also weirdly infantilizing, overly verbose and just plain weird. Had a couple overseas friends ask me a few times why the text on the search bar is so long haha
Comment · 1 year ago
This article, although is trying to provide some arguments as for why package managers are "evil", I found the argumentation pretty weak/non-descriptive. It's good if you have the experiences that confirm a specific point of view, but I think these experiences need to be explained in some more detail, because people reading your article may have similar experiences and therefore would find it hard to agree with your points - just like me.

To give a concrete example, you said that javascript does not have a definition of a "package" in its langauge. But what does that really mean, and why should it lead to package manager managers? Because for me, a person who has worked with javascript just a little bit, I know package.json exists and most of the package managers I've worked with agree on what the contents of this file mean. If we limit our understanding to just npm, yarn and probably bun, we don't see how that causes or contributes to the dependency hell problem (sure it exists, but how?).

You said that Go mitigates the issue of dependency hell to some degree, but this is an interesting thought, give it more exploration! Why should something like Go not have this problem not be not as severe as in Javascript?

I may not remember the details of what you said in the article and I would like to check, but currently I can't access the site because it times-out for me.

Comment · 1 year ago
There's something similar I've done programming on linux. I've been working on some things in Odin programming language for a while and there are a ton of changes I've made where the commit contained an executable, because when Odin compiler makes the executable it names it after the main package's directory, without suffix.

Once I complained about this to the community someone suggested a clever gitignore hack:

    *
    !*/
    !*.*
This by default ignores all files, except those that have a suffix and directories. I think this is a useful lesson - if you flip which files you ignore you can change the failure mode from "I accidentally committed a huge file into a repo" to "why isn't it working?". The latter can be pretty much be answered by good CI testing (maybe not always though).
Comment · 1 year ago
As someone who knows what they're talking about, I'm curious to hear from you, why you consider use-after-free an undefined behavior and not an unspecified behavior instead?

Because as far as I know both undefined behavior and unspecified behavior are the behaviors that aren't specified in the language standard nor the implementation. So what's the difference?

Comment · 1 year ago
Watched this video yesterday, and damn, it's really delightful watching experts make content about things they are passionate about. This love and passion is contageous, and even me, who up to this point knew almost nothing about birds has gained a new appreciation and love for these creatures. The fact that they can copy sounds is kinda incredible, and makes me want to listen more to them singing.
Comment · 1 year ago
I don't think the birds will like the sounds of that :)
Comment · 1 year ago
Speaking of postgres, you don't even need a function, you can just use RETURNING clause of a modifying query to provide data source for the select:

    select *
    from (
        delete
        from users
        returning id
    )
Comment · 1 year ago
Except the pain of hitting your pinky on a corner. That one's very real

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton