HNHacker News
TopNewBestAskShowJobs

dinosaurdynasty

557 karma · joined March 23, 2020

submissionscomments
dinosaurdynasty··on Not-so-great features coming soon to Windows 11
As long as it can run Steam. Steam on Linux has Proton built in.
dinosaurdynasty··on Ask HN: What is the best income stream you have created till date?
Just don't have kids!
dinosaurdynasty··on Systemd.timer, an Alternative to Cron
systemd has amazing documentation, you just have to read them...
dinosaurdynasty··on Systemd.timer, an Alternative to Cron
I'm constantly running the service ran by timer manually, mainly for debugging.
dinosaurdynasty··on Systemd.timer, an Alternative to Cron
There is autocompletion. It works by default on Pop OS and Debian. (You may need to install bash-completion and/or dbus if your install is very minimal.)
dinosaurdynasty··on Go and SQLite in the Cloud
https://www.sqlite.org/pragma.html#pragma_synchronous

When synchronous is NORMAL (1), the SQLite database engine will still sync at the most critical moments, but less often than in FULL mode. There is a very small (though non-zero) chance that a power failure at just the wrong time could corrupt the database in journal_mode=DELETE on an older filesystem. WAL mode is safe from corruption with synchronous=NORMAL, and probably DELETE mode is safe too on modern filesystems. WAL mode is always consistent with synchronous=NORMAL, but WAL mode does lose durability. A transaction committed in WAL mode with synchronous=NORMAL might roll back following a power loss or system crash. Transactions are durable across application crashes regardless of the synchronous setting or journal mode. The synchronous=NORMAL setting is a good choice for most applications running in WAL mode.

dinosaurdynasty··on Go and SQLite in the Cloud
WAL mode does have some slight decrease in durability by default. If you pull the power immediately after a commit the commit may be reverted when you come back up.

But yeah most of the time it isn't an issue.

dinosaurdynasty··on Tor Browser 12.0
Arti doesn't even support hidden services yet.
dinosaurdynasty··on Tor Browser 12.0
AFAIK there are US intelligence agencies that rely on and use Tor for their agents abroad and US intelligence agencies that try to break it for their own reasons.
dinosaurdynasty··on I've now disabled systemd-oomd on my Fedora desktops
Iirc, systemd-oomd comes from oomd which comes from Facebook who had issues with the kernel oom killer. (The kernel oom killer, especially with slow swap, can also take ages to activate, which means you're just down the entire time, and it's better to kill stuff more often than to sometimes freeze.)
dinosaurdynasty··on I've now disabled systemd-oomd on my Fedora desktops
systemd has never been a one-daemon-fits-all solution... it's dozens of daemons.
dinosaurdynasty··on The cloudy layers of modern-day programming
Embedded. Generally it pays less however AFAIK.
dinosaurdynasty··on The cloudy layers of modern-day programming
Except the I-beam isn't only owned by a single company and is interoperable. (Unlike modern clouds and SaaS, which are neither of these things.)
dinosaurdynasty··on The cloudy layers of modern-day programming
Most of the time life is "choose the least shitty option" and not "choose the best option".

That's just the world we live in.

dinosaurdynasty··on The cloudy layers of modern-day programming
3-4 day work weeks and a strong social safety net.

Let capitalism be capitalism and give people the energy and time to do things without having to justify every little thing to some pencil pusher to try and make anything happen at all.

dinosaurdynasty··on The cloudy layers of modern-day programming
Capability trap. Not everyone is capable of effectively working 2 jobs at once, and generally speaking no matter how big that $big_salary is you aren't going to have more money or time.

Also there are lots of way for a company to say they are doing interesting/meaningful things or whatever and effectively not be. And no matter how great the work you may be doing, you don't want to be doing it if it doesn't pay enough.

dinosaurdynasty··on You might not need a CRDT
It's still very useful mental tool, since a centralized server + clients is still a distributed system.

But yeah, you shouldn't use the really complex CRDTs in that case. (And in most cases to be honest.)

dinosaurdynasty··on Want Your Country to Thrive? Give Geniuses a Universal Basic Income
Same thing can be said of welfare in general. There are way too many people who would rather let everyone die than give "the wrong people" help.
dinosaurdynasty··on Want Your Country to Thrive? Give Geniuses a Universal Basic Income
Welfare traps are most definitely a thing, but removing welfare is not the solution.

The solution is to remove restrictions like "we will only give you disability/medicare if you have less than $2000 in 'non-acceptable' assets", or "you can only get food stamps if you make less than $20k/yr" or any number of horribly terrible things we do that effectively give very poor people, in an economic sense, marginal tax rates much much greater than 100%.

Punishing people for making more money is never the solution. Honestly this is one reason why UBI is so enticing... any benefit that is abruptly taken away at any point creates these horrible incentives.

dinosaurdynasty··on Sign Everything
https://scottaaronson.blog/?p=6823 (search for watermark)

OpenAI did hire somebody who is investigating watermarking the output of models like GPT-3, so it's definitely possible.

dinosaurdynasty··on Asymmetry detected in the distribution of galaxies
In the observable universe.

Depending on various theories of universe formation the universe could have a radius anywhere from at least 10x the observable universe to even infinite.

dinosaurdynasty··on You might not need a CRDT
Basic CRDTs are still useful (idempotency, associativity, and commutativity are powerful mental tools for all distributed systems, even OT) but you can massively simplify the CRDTs if you assume a super-peer (aka centralized server all updates go through).

Example: last-write-wins register, which is a (v, t) pair, normally has a merge function of "return the pair with the greatest t (with deterministic tie breaking for same t)", and for a super peer just have v's and "the latest value to hit the server wins".

dinosaurdynasty··on Snap updates happen without user consent
https://github.com/orgs/pop-os/people there are 10 people in their github org, it looks like most of them work for System76
dinosaurdynasty··on The Truth Matters and Secular Humanists Should Defend It
https://en.wikipedia.org/wiki/Emancipation_of_minors legally it's not quite that simple
dinosaurdynasty··on The Truth Matters and Secular Humanists Should Defend It
There is stuff like the Unruh effect https://en.wikipedia.org/wiki/Unruh_effect
dinosaurdynasty··on Using Rust at a startup: A cautionary tale
I usually don't think about memory management in Rust, to be fair.

Also GC doesn't remove all resource management... ironically I find most GC-based languages to be more mentally taxing when managing manual resources (file handles, mutex locks, etc).

dinosaurdynasty··on Using Rust at a startup: A cautionary tale
Even in the other languages lifetimes/ownership are a useful mental tool for managing manual resources (DB connections, transactions, mutexes, file handles, etc).

There's so much code in Go that is documented like "while this object takes a file handle, it does not close it itself even though there is a close function, you will need to close it" that in Rust is just a lifetime annotation.

dinosaurdynasty··on Using Rust at a startup: A cautionary tale
Ironically very early prerelease versions of Rust had a GC (and also Go-style fibers).

I think, however, a lot of people would love to see other GC languages take up the safety promises that Rust provides (especially concurrency).

dinosaurdynasty··on Snap updates happen without user consent
Pop OS is similar to Ubuntu and doesn't use snap.
dinosaurdynasty··on The Legacy of Peer-to-Peer Systems
You need a signaling protocol to do hole punching.
← PreviousPage 5 of 11Next →