HNHacker News
TopNewBestAskShowJobs

necovek

6,253 karma · joined October 6, 2018

submissionscomments
necovek··on VSCode's SSH Agent Is Bananas (2025)
Reminds me of the old Jenkins protocol which warned about "slaves" getting access to execute code on the "master": who's the master now? ;)
necovek··on -Delete-
That link shows up right below the fold on Yahoo News report for me.
necovek··on AMD's random number generator can't generate a 0?
If someone was using RDRAND16 to seed a PRNG, choosing to omit one single value (a zero) from the return value would not significantly improve the generated values, if at all.
necovek··on AMD's random number generator can't generate a 0?
With enough repetitions.

With a few (say 10, so 655360 runs), you will not get a uniform distribution, and some numbers (like 0) might not appear.

necovek··on AMD's random number generator can't generate a 0?
I can imagine someone doing a

  pick = rnrand16() - 0x7fff
  if pick > 0...
where these are not equally likely anymore (I may have an off-by-one anyway ;)).
necovek··on WhatsApp Business Paid Support Is a Scam
This gives WhatsApp an authority to do as they please.

You can certainly complain about breach of contract in a legal setting, but that's also going to be expensive.

necovek··on Robin Williams' Daughter to Fans Creating AI Videos: 'Have Some Shame'
Haven't seen the videos, but she seems to complain of videos claiming to be authentic private videos of him stating a particular political message — and of these videos being forwarded to her (possibly for verification?).

This has nothing to do with impersonating a deceases person but about rewriting (personal) history she finds shameful.

necovek··on WhatsApp Business Paid Support Is a Scam
Have you started your plan to migrate off WhatsApp?

If not, why not?

necovek··on Nobody pays for FOSS, we can force them to
I apologize for intruding on your personal conversation on a public forum.

What the RMS's opinion on copyright in software was when he kicked off "free software" is pretty obvious from https://www.gnu.org/philosophy/why-free.en.html — you may certainly have a different interpretation of "you should be able to give a copy to your friend" than I do.

necovek··on Nobody pays for FOSS, we can force them to
I am talking of how "copyleft" came to be. See the motivation at eg.

https://www.gnu.org/philosophy/why-free.en.html

necovek··on Nobody pays for FOSS, we can force them to
This is a great proposal, but other than the gamification worry, I wonder if it also changes the contribution model?

Eg. how motivated are you to contribute an important set of fixes to an upstream package knowing that this package is getting lots of money for the maintainer, and would not get any for you? Would you instead fork hoping to get everybody to switch over to your fork (it could even be justified: "for quicker availability of fixes, here's my fork"), and then ride it out?

Certainly not everybody would approach it that way, but I am certain some would.

Others might not even want to contribute and would instead just file a bug expecting the maintainer to fix it (they are getting paid 30k a month by PyPI, they might as well fix it).

Basically, whenever money enters the picture, the core dynamics change, and it'd hold especially so for FOSS.

necovek··on Nobody pays for FOSS, we can force them to
You are likely too much in it to see the other side.

Free software licensing is an attempt to make copyright irrelevant: it's basically a no-copyright world it aims for, but then structured into the copyright world of licensing to use and distribute. It is nothing but a workaround, and copyleft uses it to make the default an even stronger case for reuse (by including sources).

In no-copyright world, you get a copy of something and do with it as you please. No licenses, no permissions. People frequently consider this "ownership" akin to owning a physical item (you get a copy of a book, or a toaster, and you do not ask for a license to tear a page out or repaint the toaster).

necovek··on Sherline Tools Is Going Out of Business
I actually believe it's mostly about cost. Things you'd DIY in the past are now crazily accessible: DIY is usually more expensive than getting a commodity product.
necovek··on Sherline Tools Is Going Out of Business
I believe part of it is the cost. It used to be too expensive to get something like a decent commercial 3D printer (though at the same time). Now you can get one for less than the cost of RepRap components back in the day, so it is stupid to do it if you just want to print stuff out (it might even be more expensive, and will likely produce worse prints).

If, however, you want to learn how to build one, or just have an experience of building your own tool you'll use to create stuff, it is most definitely not stupid to do it.

With 3D printing becoming mainstream, you'll have fewer people in those communities who support and live that approach though, and you'll need to look harder to find documentation and like-minded people.

necovek··on English: A vs. An
I believe it can be even simpler.

"Chocolate ice-cream is the best" is very clearly not an (attempt at) objective statement and needs no qualifiers. Only if the reader really wants to be malicious, they can question even that too: what do you base that on? how many ice-cream types have you tried? is there a study confirming preferred taste among a large population? is it cultural and has that been tested? ...

"In my opinion, based on roughly 60 ice-cream flavors I have tried in my life, and having tried chocolate flavor in at least 50 different places, I find that the taste of chocolate ice-cream on average is the best tasting ice-cream regardless of my mood, fullness or place of production and variety of 'chocolate' used" makes for a very boring conversation — except sometimes when you are making a go at it :)

necovek··on English: A vs. An
But it's still where the generic, simplistic application of the rule of "the for distinct, a for generic" fails.

When "you can play the piano", you can play any piano. When "there is a piano in the lobby", it's distinctively a very specific one.

So I would go on a limb and claim: whether you use the or a is also philosophical in nature :)

necovek··on Dropbox's Jan 1st 2027 terms of service
I am not questioning the integrity of FSF, but whether the "or any later version" would hold up in court in principle.
necovek··on Telling a Computer to Do Things
Signals get a 128+n, with n being the signal code.

Where texinfo is available, "info bash" is a great reference; "man bash" is everything in a single page — so less manageable — but you can look for BUILTIN section, which documents "exit" built-in function (among other things).

necovek··on Leaving Linux
While the similar does not happen for me anymore with my TB3 docks or displays-with-built-in-docks like Dell U3219 or Thinkvision T32p, back in the Mac M1/M2 days (2023?), my work laptop would turn the display into a state where I'd have to power-cycle it by physically disconnecting the power and then back on. Never had that with Linux on Thinkpad X1 Carbons (or one T14s with Ryzen I had in between).

Realtek network hardware (1Gbps and 2.5Gbps) — part of almost every dock I've seen — was very unstable for a long time, though it seems to work well today too.

Even today, my USB audio device connected through my TB3 dock (behringer UMC22) usually does not show up on my Mac. Sometimes it does, but I do not bother figuring out why that happens, and resort to built-in speakers and microphone instead of my nice desktop monitors and pencil microphone pointed at me :)

My point being that similar stuff happens with Macs, just depends on your "luck" — I am sure there is other hardware that still fails with the latest Macs.

Even compared to Windows (but with very limited anecdotal data), my Linux works much better with random hardware I pick up.

I've only used Macs for the last 5 years or so professionally, but hitting all the issues, I was mostly like: where is that supreme experience? Granted, I've been a Linux user since late 90s, so I can figure things out there easily, and I am certainly biased, but Macs had similar or worse problems just with stability of hardware.

necovek··on AI-generated posters don’t have to be horrible
I believe you ask the right questions, but the answers are both very personal, and even then, not so clear cut — and also opportunistic (at some point in life, I might have the energy/time to do it; at others, I might not). I'd personally want all of those, and if I must make a choice, that's where it becomes tricky.

Especially when you see a lot of talk and no walk from everyone around you — yes, I could also be the agent of change, but life sometimes has other ideas.

necovek··on Telling a Computer to Do Things

  test 1 == 2 && echo "ok" || (error_code="$?"; echo "failed with '$error_code'"; exit "$error_code")
When command (test 1 == 2) fails, it goes to the "or" section, sets the error_code variable, does something (echo command, but it could be anything), and then re-exits with the same exit code.

It's not so obscure, there is just no native "re-raise" function so you have to record the exit code yourself (actually, bash's built-in exit will return the last command's exit code, but in the example above, that's the "echo" which actually succeeds).

Edit: since the above runs it in a subshell, $error_code is not available outside the parentheses but if you need this, you can try:

  test 1 == 2 && echo "ok" || error_code="$?" && echo "failed with '$error_code'"
  exit $error_code
necovek··on Dropbox's Jan 1st 2027 terms of service
Yes, the developer is the grantee in my comment.

Though even the "user" might be harmed, because you might get a device shipped to you with what-was-previously-copyleft software, and now you can't ask the vendor (also the "user") for copy of the source code since they can claim "we are using it under the terms of v4, sorry".

necovek··on AI-generated posters don’t have to be horrible
I believe rejection of AI Data Centres is nothing but "local" protectiveness (a bit like NIMBY); like lithium mining, nuclear plants, and any other "dirty", destructive activity.

I want the products of it (how many phones with lithium batteries in those protests), but not the side effects.

Which is not to say these are wrong perspectives to hold, but it's important to understand where the root of the complaint is before you try to come up with generic solutions.

necovek··on AI-generated posters don’t have to be horrible
While this is a side comment on a somewhat frivolous topic, it did make me reframe a lot of my justice, transparency and reason (as in being reasonable) complacency I am seeing around me.

Yes, the fact that we are in a low trust society makes us behave we do. Can we change this? Should we even try?

I've seen societies band together in the face of (acute) natural disasters (floods, wildfires...) or big disasters like wars, but how do we get to — if not high trust — not-low trust society when all is good and is it even worth pursuing?

necovek··on Telling a Computer to Do Things
On the higher level question in the article of why do people not use their main languages for basic file and command management?

I believe the answer is the same as to why Python remains hugely popular despite all the well-documented shortcomings: batteries included.

Shell languages include so many neat and concise ways to execute commands, deal with their input, output and exit codes, allow simple traversal of deep directory structures with globs and advanced tools like 'find' or 'xargs', that everything else is very unergonomic.

And niche by default (until it gets used widely enough), so even your LANG-OF-CHOICE-expert you recruit, they will not know a thing about that shell-focused library in LANG-OF-CHOICE.

necovek··on Telling a Computer to Do Things
I was pretty close in guessing what they believe was "wrong" (or really, superfluous) with their initial shell script example.

I'd even drop the "if" from their footnote version, and go with simply

  npm install || (echo "boom" && exit)
(Not exactly equivalent because there won't be an "exit" if echo fails, but it's my preferred instict over ";") Also, "(" starts a subshell, if we are being pedantic.
necovek··on English: A vs. An
Yes, exactly the example I put in ("the one") — thanks for sharing it and showing it might not even be awkward!
necovek··on Dropbox's Jan 1st 2027 terms of service
Certainly, but would that even be enforceable from a perspective of the grantee?

"Hey, I trusted FSF to do the right thing with the next version and they did not"

They blindly accepted to honor the terms which have not yet been defined.

necovek··on Dropbox's Jan 1st 2027 terms of service
I agree with you in principle.

It would also potentially invalidate clauses like the one in GPL license too: "this version or any later version" — how can anyone consent to yet-unknown terms?

In this particular case and going after the summary from big85, there's one case of legal compliance (like age restrictions — it applies in appropriate jurisdictions even if the ToS is not updated) or maybe two (banning per-account vs per-owner), some widening of the terms to the benefit of the customer (like refunds being permitted in "special circumstances" on top of "required by law, with only "reductionist" change being about lowering service window for unused free accounts (in some jurisdictions, even this could be about respecting data privacy laws — companies are obligated to remove any data which is not used after a certain time, though I think this is 12 months even under GDPR).

As such, I believe this would not be a good case where you can bring enough light how this type of clause is harming one side to the contract.

necovek··on English: A vs. An
While I am natively Slavic (Serbian) and my German is abysmal — you've never struggled with me I am sure, as I likely would not try a long story :) — I believe my English is sufficiently good that I run into similar issues with others speaking "improper" English.

But here I find it's mostly about trying to get into their linguistic framework when trying to understand them, and with my background of native Serbian being a very phonetic language, I can easily figure out when someone is coming from a more phonetic background: eg. or pronouncing "j" sound like "y" in "yay", more literal reading of other letters, etc. You obviously expect them to miss out on articles, tenses and even word ordering, so you work it all backwards. A bit like that trick for LLMs with broken, concise English.

So I really put it on me to re-process their language into what is the likely message they are trying to convey, and do not expect the precision of a native speaker.

It is hardest when someone's command of a language seems to be high (eg. they have great pronunciation and decent vocabulary), yet the basics are all wrong :)

And in some cases, it helps to know a bit of their native tongue, like with the Spanish and all of those "e-station" instead of "station", "e-static" instead of "static" (no, not "ecstatic" :), "e-sports" instead of "sports" etc.

← PreviousPage 2 of 34Next →