Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ris
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
211.
▲
by
ris
5y ago
> requiring me to find and copy hashes of things Put an incorrect hash in. Run the build. The error will tell you what hash it actually got. Copy that. Run build again.
212.
▲
by
ris
5y ago
> The biggest drawback is installing Nix on OS X is a huge pain Did it on an aarch64 mac the other day. One command (two?), 15 minutes, done.
213.
▲
by
ris
5y ago
It is possible to use from a completely unprivileged environment by putting the nix store in your home directory instead of `/nix`. But (and it's a big but) you'll then have to build all packages from scratch because the ha
214.
▲
by
ris
5y ago
Not very actively maintained these days but https://en.wikipedia.org/wiki/Dvdisaster stores error correction codes in the remaining space on an optical disk, without affecting its readability by unaware systems.
215.
▲
by
ris
5y ago
There's a degree to which I agree with this, but the advantage monoliths have is the "opinionated" frameworks (chiefly Rails, Django and the like) that hand-hold a less competent team towards a sane design. In comparison, bui
216.
▲
by
ris
5y ago
Except in my experience most attempts at microservices scale extremely poorly because they have nowhere near enough precision in their APIs to get just the information you need and so most applications end up fetching way, way more data t
217.
▲
by
ris
5y ago
The problem is that there are so many developers now who have never had any experience of anything that isn't some botched attempt at microservices. The idea that it's possible to encapsulate code and separate concerns in any othe
218.
▲
by
ris
5y ago
"Diffuse" has come to my rescue in the past when I've needed to do the odd 6-way diff (don't ask)
219.
▲
by
ris
5y ago
> LibreOffice, VSCode, Gimp/Inkscape and everything JetBrains has to offer just doesn't make the cut yet. But we are getting close by each passing year. I've been reading effectively this sentence for well over a decade an
220.
▲
by
ris
5y ago
This is also sometimes unavoidable because not all test suites are built very robustly. One often comes across projects with test suites that the author only intended for their own use and doesn't care if it fails on other peoples syst
221.
▲
by
ris
5y ago
The real bug here is not having a test for this, or not running the tests as part of the packaging process. We should not have situations where packages are so sensitive that a small change to them should be considered unsafe. Open Source i
222.
▲
by
ris
5y ago
Running a snowflake https://snowflake.torproject.org/ certainly gets connections from Russian IPs, so the obfuscation must be succeeding to some extent.
223.
▲
by
ris
5y ago
What Google does with their keys is known only to Google. Google also have various commercial pressures which can compromise their behaviour (on that note, have we even managed to stop Certificate Authorities selling carte-blanche certifica
224.
▲
by
ris
5y ago
> I have been writing for years that package managers are a big security risk "Wild-west"-style package managers (more specifically, their repos) are a big security risk. It's possible to have far more confidence in "
225.
▲
by
ris
5y ago
I'm interested in what the legal basis for this is. If someone found a way to circumvent the check (and presumably they will), what law would they be breaking by unlocking everything in sight?
226.
▲
by
ris
5y ago
See `dockerTools` for using Nix to build very minimal docker images.
227.
▲
by
ris
5y ago
> For me it's a total lack of any description of the nix language. I just have no idea what I'm looking at, and nowhere (last time I looked, which I admit was some time ago) explained what tokens make up the language. Some show
228.
▲
by
ris
5y ago
Just a reminder that the term "online casino" is one of the most expensive google adwords terms in existence.
229.
▲
by
ris
5y ago
Yes, the only reason I say "solved" is that this approach will only help for suites of many small tools that ship together.
230.
▲
by
ris
5y ago
My guess is people will start "solving" this kind of problem through multi-call binaries a la busybox.
231.
▲
by
ris
5y ago
Can't wait until the crows start stealing cigarettes out of peoples hands or mouths.
232.
▲
by
ris
5y ago
I honestly think that Nix is one of those things where "going all in" is one of the worst things you can do. Running a desktop system on NixOS is quite a tricky prospect for someone with no experience of Nix and you'll like
233.
▲
by
ris
5y ago
> You're assuming that an async event context switch is somehow vastly less costly than an OS context switch They are, and this is the entire premise green threads are built on. An OS context switch has to do a lot more including sw
234.
▲
by
ris
5y ago
It depends what you mean by "choke". I think the parents consider "choke" to mean "will focus on one long-running task at the expense of any other task that needs to run". The GIL means that multiple threads wo
235.
▲
by
ris
5y ago
The more classic example is probably Feistel ciphers.
236.
▲
by
ris
5y ago
They are still generally found to be slower to use than sequential primary keys in postgresql.
237.
▲
by
ris
5y ago
Please Just Say No. Docopt is the sort of thing that seems like it would work wonderfully but you'd be surprised how quickly you end up running into a situation that is ambiguous or just impossible to represent using docopt. On the oth
238.
▲
by
ris
5y ago
For a few years now I have been trying to resist filling my room/house with old VHS tapes for this purpose. This missing piece of the puzzle is not making it any easier.
239.
▲
by
ris
5y ago
Nix. There isn't an ensmallen package yet, but I wouldn't imagine it will take long and I guess it'll be a 20-30 line package.
240.
▲
by
ris
5y ago
The rpath trick you mention is how Nix actually works, but the difficulty is in convincing build routines to obey it. I'd estimate less than a quarter of the packages in nixpkgs have "well-behaved" build routines where it
More ›