Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ratorx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
331.
▲
by
ratorx
5y ago
My main point was in the first paragraph. Users care about reliability and I was justifying why I think Nix has the potential to be a more reliable base for a GUI than other options. I also do think certain users will care about e.g. extens
332.
▲
by
ratorx
5y ago
I think the point is that Nix makes it a lot easier (in some ways) to build a more reliable system GUI, rather than other package managers because of declarativity being a first-class feature. Users shouldn’t have to care what their GUI use
333.
▲
by
ratorx
5y ago
Recently started using NixOS, and nix.dev has been very useful thanks! Some more NixOS-specific stuff would be really nice, if it’s in scope. I think a lot of the power of NixOS comes from the composition aspect, but I haven’t managed to fi
334.
▲
by
ratorx
5y ago
It’s unlikely patches will cause syntax changes. Upgrading between versions might, but that requires you to manually run sysupgrade anyway, at which point you probably should be reading the release notes, which should mention it. Do you hav
335.
▲
by
ratorx
5y ago
Not sure what exactly you mean by QoS, but there is the `prio` keyword, which lets you put packets into priority queues. However, I tried it a while back and couldn’t actually make it do anything useful, but that might have been me misconfi
336.
▲
by
ratorx
5y ago
You’re right, I misunderstood what the magic number was being used for.
337.
▲
by
ratorx
5y ago
Does birthday paradox apply here? It’s about any pair of people having the same birthday, whereas in this case you need someone else with a specific birthday. For example, if you generate 2 numbers and they are the same, but are different t
338.
▲
by
ratorx
5y ago
With React, it’s not possible because there’s no systematic way to change client code. With a monorepo, it’s more tractable. It’s still not scalable in the sense that the downstream can make any change they want. They are restricted to chan
339.
▲
by
ratorx
5y ago
Effectively yes. The main things SRE provides are oncall support, production focused design consulting and integration with other infrastructure. In practice, the engagement usually always provides 1) and then the rest are dependent on how
340.
▲
by
ratorx
5y ago
That sounds interesting, do you have a link?
341.
▲
by
ratorx
5y ago
I don’t think that’s true (being pedantic). If your build doesn’t depend on the value of the time in any way, then it’s reproducible (assuming it doesn’t use/doesn’t have other irreproducible inputs), even without passing in an injecte
342.
▲
by
ratorx
5y ago
Isn’t passing in pointers to slices considered an anti-pattern? I thought the go way would be to take the slice as argument by value and return possibly a different slice, like append does. I don’t think I’ve seen any (idiomatic) code that
343.
▲
by
ratorx
5y ago
If you move daemons from enabled to disabled, then you’ve taken an extra step. The difficulty is not in remembering to do it once, and daemons are a simple example. The difficulty is in always remembering, especially for trickier changes. B
344.
▲
by
ratorx
5y ago
If I understood your use case correctly, I think you’re deploying an application with it? I meant more about server configuration things with Ansible configuration which is version controlled and auto-applied on push. In that case, say you
345.
▲
by
ratorx
5y ago
Ansible doesn’t have the right model for painless auto application, because it’s only idempotent in some cases and not others (e.g. removing config). It’s a good tool to set up a server from scratch to a desired state, but not to go between
346.
▲
by
ratorx
5y ago
I can recommend Go for this too. I use it for small APIs. Go has really easy cross compiling as well, so deploying from Linux to OpenBSD is really simple. I still use httpd as the proxy but use compiled Go executables for CGI.
347.
▲
by
ratorx
5y ago
How could you validate wildcards without changing DNS? And the different value every three months thing is definitely a feature not a bug, because otherwise stale values could lead to mis-issuance.
348.
▲
by
ratorx
5y ago
It’s not just about writing code though. If you want to properly read code you have to understand all the “advanced” features they have used. I’m reasonably familiar with C++, but not so much with arcane template meta programs. I never writ
349.
▲
by
ratorx
5y ago
Some of these are decent points, but a couple are misleading. The security one is the big one. Things were just not as secure (and did not need to be as secure) “back then”. K8s has a lot of complexity, and security should definitely be sim
350.
▲
by
ratorx
5y ago
Single node K8s is a thing (but slightly non-standard; you just have to untaint your “control plane” node. I’m not 100%, but I think that works with multiple control nodes too).
351.
▲
by
ratorx
5y ago
Integrated LSP is quite nice (and the ecosystem around it is just getting started), but it’s not the thing I’m most excited about. My favourite new thing is actually tree-sitter. Currently it’s being hyped for better syntax highlighting (wh
352.
▲
by
ratorx
5y ago
There’s a semi-famous comment by the leader of OpenBSD where one of the reasons for dismissing Rust was the lack of ‘proper’ Unix utilities written in Rust (as well as a claim that no one would bother): https://marc.info/?l=
353.
▲
by
ratorx
5y ago
I presume because they are using a mono-repo for all the related projects. A GitHub repository doesn’t have to map to exactly one output. Just because the code is in an adjacent folder doesn’t mean that it’s used in all the targets. If it b
354.
▲
by
ratorx
5y ago
Maybe your argument still holds, but this is a misleading comparison. The systemd repository contains a lot more than just an init system (e.g. systemd-networkd, which is an optional network manager). The appropriate comparison would be for
355.
▲
by
ratorx
5y ago
Svelte being good doesn’t stop JSX from also being good. I haven’t used Svelte (but I’ve given it a brief look), so some of these might be wrong. Scoped CSS is nice but not a necessity by any means (I use Tailwind). Svelte is very restricti
356.
▲
by
ratorx
5y ago
I don’t use this, but I do something similar for my personal blog. JSX (and components) is possibly the nicest templating language I’ve ever used. The problem with almost all others is that they are based on strings, so you lose type-safety
357.
▲
by
ratorx
5y ago
It’s not automatic, but Opener ( https://apps.apple.com/gb/app/opener-open-links-in-apps/id98... ) works fairly well for me.
358.
▲
by
ratorx
5y ago
Cambridge at the very least provides reasonably affordable accommodation for all years of your undergraduate degree. And some colleges provide accommodation for Masters and PhD students as well. The UK student loan is not perfect, but it do
359.
▲
by
ratorx
5y ago
I’m not an expert by any means, just trying to reason this out logically. I don’t know too much about COVID, so I’ll use Flu as an example. Let’s say your statement is true. You get antibodies for the specific strain of Flu that you caught
360.
▲
by
ratorx
5y ago
Arch Linux also has a man page browser (with IMO a slightly nicer interface, especially on mobile), which includes all packages in the default Arch repositories (but not the AUR): https://man.archlinux.org
More ›