HNHacker News
TopNewBestAskShowJobs

qweqwe14

366 karma · joined July 5, 2023

submissionscomments
qweqwe14··on A BSD person tries Alpine Linux
BSD users might also like Void Linux, which was developed by xtraeme (a NetBSD developer). It has glibc and musl versions and uses runit as an init system. You can also build packages from source using xbps-src.

https://voidlinux.org/

qweqwe14··on The beautiful dissociation of the Japanese language
There's an interesting piece of trivia regarding the title "War and Peace". The title in Russian is "Война и Мир", where "Мир" can mean both "peace" and "world", depending on context. However, there's some debate regarding which meaning was intended by Tolstoy.

I couldn't find anything about this on English wikipedia, but here's a rough translation from the Russian page:

Before the 1917-1918 language reform, "peace" was written as "миръ", and "world" as "мiръ". There's a legend which claims that Tolstoy initially intended to use the "world" meaning. Indeed, the second part of the epilogue has some thoughts about why the wars happen and how they affect the world as a whole.

Despite this, every edition of the novel published during Tolstoy's life was titled as "Война и миръ" (= peace), and the French version of the title as written by Tolstoy was "La guerre et la paix". There are different explanations of this legend. (explanations follow, can't be bothered to translate)

https://ru.m.wikipedia.org/wiki/%D0%92%D0%BE%D0%B9%D0%BD%D0%...

qweqwe14··on XZ backdoor story – Initial analysis
HFT is also harmful, and so are the majority of startups that don't do anything actually useful and just take VC money. Those are just a few examples off the top of my head.

What I'm saying is that there are a lot more technically legal ways to profit that harm society, some of them more nefarious than what Jia Tan did.

Doing things that are bad for the society in a fucked up society seems justifiable. It doesn't necessarily make you a bad person.

People just have a more averse reaction to things that are obviously bad, even if in practice there are way worse things that initially seem innocuous and are actually legal to do. That's just the textbook example of hypocrisy.

qweqwe14··on XZ backdoor story – Initial analysis
Yeah, they add vast amounts of "value", including (accidentally) reinforcing the status-quo.

It would definitely be interesting to see what would happen if the attack wasn't noticed, but instead people focus their interest on attacking Jia Tan because "wow, that guy is one hell of an asshole, it sure is a great thing that he failed!".

Whether or not this attack was the rare one that failed out of many similar ones is largely irrelevant to people. Quick, discuss this one particular case where we noticed it, news flash and all.

> People like "Jia" are pure parasites

They are "parasites" because they don't do what they are "supposed to"? That's pretty crazy. I guess every person that's doing what matches their interests is somehow a bad person/parasite/etc. Or is that only if what they do is forbidden by some rule book? Do you see what I'm getting at here?

"pls sir dont create linux backdoar"

qweqwe14··on I ported apps to Windows 95 [video]
KernelEx isn't available for Windows 95, unfortunately. It's mentioned in the video
qweqwe14··on Shell History Is Your Best Productivity Tool
Personally I just disable history in everything I use, including the shell and the browser. If something is potentially worth remembering, just save it into a script/make a bookmark.

Not having (persistent) history in a shell actually forces you to think about your workflow, which is a good thing.

qweqwe14··on Hello World
To achieve the smallest size, you have to ditch main entirely and use _start, along with passing certain linker flags not to align sections. See https://darkcoding.net/software/a-very-small-rust-binary-ind...

You can easily get around 500 bytes this way

qweqwe14··on Hello World
Also see this blog post, which compares "Hello World" programs in different languages by overhead: https://drewdevault.com/2020/01/04/Slow.html

Follow-up: https://drewdevault.com/2020/01/08/Re-Slow.html

This legendary blogpost makes the smallest Linux program (the program simply exits with status 42): https://www.muppetlabs.com/~breadbox/software/tiny/teensy.ht...

You can also find the smallest "Hello World" program on that website.

qweqwe14··on There are likely >1e12 SQLite databases on Earth
You clearly don't know what you are talking about.

SQLite is a file on disk, the security of who can access it is managed by the OS via filesystem permissions, users and other mechanisms. It's not rocket science, and you would know that if you actually bothered to learn the basics.

There is no "authentication" in SQLite, because it's not even applicable to what SQLite aims to be, which is an application file format. Would you also complain that there's no "authentication" on .json files?

qweqwe14··on Ask HN: SQLite in Production?
"SQLite is likely used more than all other database engines combined. Billions and billions of copies of SQLite exist in the wild." https://sqlite.org/mostdeployed.html

Although this isn't what most people usually mean by "production". See "Appropriate Uses For SQLite": https://www.sqlite.org/whentouse.html

qweqwe14··on OpenBSD 7.5
It would be great for Rust to have a Linux target that doesn't use libc, but from what I've read, not many people are interested in this.

Found this as well: https://github.com/sunfishcode/mustang

Some discussion here: https://github.com/bytecodealliance/rustix/issues/76

qweqwe14··on OpenBSD 7.5
Didn't Go already realize that it can't use direct syscalls on anything other than Linux? They made some mistakes in the past but by this point I think they learned their lesson.

On Linux, using direct syscalls is a good idea, since it's the stable userspace-kernel interface. There's really no need for libc on Linux, each language should just implement it's standard library on top of syscalls.

qweqwe14··on Discord to start showing ads in the coming week
What if I don't want to give my real IP at any point in time to libera.chat? Opsec reasons, etc.
qweqwe14··on Discord to start showing ads in the coming week
The actual, real usability of Discord is way better than IRC's, it's not even close.

Every time I tried to join IRC it has been a massive pain in the ass. So first if you want to join anything on libera.chat, you have to register through NickServ and provide an email, which is already nonsense. Why would email be required?

And here's the neat part: you can't register if you use Tor/VPN/whatever, which is mad funny and very ironic, considering how IRC is supposed to be this "hacker culture" thing. "Oh but please register from a residential IP", really?

Not saying Discord is better in this particular regard, but still.

If someone says "this isn't a problem with IRC, just a libera.chat thing", well it doesn't matter because it's the de-facto network for most everything open-source.

Notice how I'm not even mentioning all the really obvious usability aspects, like voice/video chat, images and everything else. The general nerd response seems to be "who needs that anyway"/"just send links instead". Literally noone cares about that, it's wasting time, people will just use Discord, which has all the features that are (rightfully) expected.

qweqwe14··on Prolog language for PostgreSQL proof of concept
SQLite has this as well, although it's use cases are different: https://sqlite.org/com/member.html

They have multiple tiers of support as well, pretty interesting read

qweqwe14··on Ethereum has blobs. Where do we go from here?
> You may want public proof

Monero has view keys for that.

> Zcash has much stronger privacy guarantees

This is false. The fact that it uses ZKP doesn't make it's privacy stronger.

I'm not going to state more points on why Monero is ultimately better than Zcash because this has been done before: https://www.reddit.com/r/Monero/comments/u3saom/eli5_whats_t...

qweqwe14··on Prolog language for PostgreSQL proof of concept
Sure, a few organizations may actually need some obscure feature that Oracle provides, but again, it's niche. For most companies, Postgres provides way more features than they will ever use.

And for the other 1%, it sometimes happens that their need for a specific feature in Oracle DB turns out to be entirely unnecessary.

Not to mention that the vast majority of products turn out to be fancy CRUD apps. Doesn't matter though, Oracle will convince you that you NEED their DB regardless.

qweqwe14··on Prolog language for PostgreSQL proof of concept
Postgres is currently the most advanced RDMS, anyone who's not locked in by Oracle or whatever and doesn't use Postgres for new projects is likely misinformed.

Postgres essentially made every other RDMS obsolete except for some niche circumstantial cases (e.g. vendor lock-in)

> enterprise level

Postgres is enterprise level (whatever that means). Blazingly fast, Web 3, cloud-native, etc etc, pick your own buzzwords

qweqwe14··on Endlessh-go: a Golang SSH tarpit that traps bots/scanners
abuseipdb.com
qweqwe14··on Antarctica, Earth's largest refrigerator, is defrosting
Posadists have been right all along
qweqwe14··on Antarctica, Earth's largest refrigerator, is defrosting
That's pretty crazy. But how will this affect the stock market?
qweqwe14··on Ethereum has blobs. Where do we go from here?
> Opting out of privacy gives it more plausible deniability

So if you actually want to interact with the real world, you have to opt out of privacy? And if you enable privacy you are automatically treated as a weirdo? I don't get the whole point of Zcash.

It's the same issue as with Bitcoin – you can make your transactions private, but it's not the default and not obvious for new users, and anyone who does it is subject to suspicion.

It really looks to me like this "privacy" aspect of Zcash is just a marketing gimmick. It doesn't have any advantages to just using Monero in the first place.

qweqwe14··on The rev.ng decompiler goes open source
Sort of like GitHub Copilot but for reversing?
qweqwe14··on Ethereum has blobs. Where do we go from here?
They aren't. Zcash has opt-in privacy, which I think we've established doesn't work. By this logic BTC also has opt-in privacy – just use a mixer. Well, except that your BTC will be tainted if you do it, which effectively makes BTC non-fungible for all intents and purposes.

The only way to have a private, fungible cryptocurrency is to make privacy mandatory and not "something you enable because you are a drug dealer". Does this mean that everyone using Monero is automatically a drug dealer? Even if it does, it's waaay better to have consistency vs having a cryptocurrency partitioned into "normal coins" and "darknet market coins"

qweqwe14··on Show HN: A (marginally) useful x86-64 ELF executable in 466 bytes
Prior art: http://www.muppetlabs.com/~breadbox/software/tiny/return42.h...
qweqwe14··on Unmasking Satoshi Nakamoto [video]
It's not clickbait. It provides a lot of evidence as to why Adam Back is Satoshi. Not just "he uses double space" either. It would be helpful if you could actually respond to points the video made, instead of making hand-wavy statements (common reaction). Of course Adam still has plausible deniability, because this sort of thing is impossible to prove 100% without Adam coming out and signing a message with Satoshi's key.

The amount of coincidences though makes Adam the most probable Satoshi candidate by far, but obviously people would prefer to think that Paul Le Roux is Satoshi, or someone else, because that makes for a better story than the obvious candidate being Satoshi.

qweqwe14··on Digital forgeries are hard
Surprised that noone mentioned Barely Sociable video on Satoshi Nakamoto[1] (last of a 3-part series). Pretty strong arguments as to why Adam Back is Satoshi, the amount of coincidences is just way too many IMO.

Craig Wright is definitely not Satoshi, the guy has some issues and so keeps claiming that he is.

[1] https://www.youtube.com/watch?v=XfcvX0P1b5g

qweqwe14··on Text UIs != Terminal UIs
> I don't understand why the command line is "not meant for fancy user interfaces"

"command line" is a different term from a "terminal", but the reason why it's not great for graphical UIs is that character cells are a bad abstraction for it, people just keep adding more and more features/extensions to terminals to compensate for it, which isn't a good direction at all

qweqwe14··on Ente: Open-Source, E2E Encrypted, Google Photos Alternative
Apple can remove your app for whatever reason anyway, pretty sure every single company has that clause buried in their ToS somewhere. It's not like they constantly exercise it, but it's more for "just in case we really want to"
qweqwe14··on Text UIs != Terminal UIs
I'm constantly annoyed by programs that try to make "fancy" terminal UIs, with a ton of formatting, colors, utilizing as many terminal features as they possibly can. It just seems like such a hack to me.

The terminal IS NOT meant for fancy user interfaces, stop abusing it for that. Use a real GUI framework that has actual graphics instead of character cells.

The question is where to draw the line, I believe things like htop, tmux etc are reasonable, so it's hard to say whether a particular program is "abusing" the terminal.

← PreviousPage 4 of 6Next →