Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ratorx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
301.
▲
by
ratorx
5y ago
That might be true, but the config would suggest otherwise. `nix.optimise.automatic` is an option which creates a systemd timer. The existence of an option that creates a timer suggests that it is not automatically deduping the files (or th
302.
▲
by
ratorx
5y ago
> you get to run `nix-collect-garbage` manually If you mean running NixOS (the distro), rather than just Nix (the package manager), then there’s an option for this `nix.gc.automatic`. You may also want to look at `nix.optimise`. When usi
303.
▲
by
ratorx
5y ago
If I saw __str__ making network requests, I’d consider it a strong anti-pattern too. Sure, if a library was doing it then I might not find out, but that still puts the issue squarely on the library doing questionable things, rather than the
304.
▲
by
ratorx
5y ago
Check out Nix ( https://nixos.org ) which is designed around exactly this model. It works by putting the package hash into the path that you access the package by and hardcoding the path in all dependencies. This way every package
305.
▲
by
ratorx
5y ago
The tool should take some blame here. I agree that it’s ultimately the developers fault for allowing code to be automatically injected from not fully trusted sources on minor updates, but the package manager makes it way too easy to do. For
306.
▲
by
ratorx
5y ago
The alternative behaviour seems undesirable too right? If you attempted to delete foo.txt in the merged filesystem and instead of deleting the file, it just replaced the contents (with b) I think the behaviour makes sense. Otherwise deletin
307.
▲
by
ratorx
5y ago
Which words do you think are buzzwords in the description? What I think of by buzzwords are things like “Blockchain”, “Machine Learning” etc. which are generic topics used to build hype whilst not really explaining anything. In this case ho
308.
▲
by
ratorx
5y ago
I’m a fan of this description. It might not be the easiest to understand or the first one you should read, but I wish more things had this kind of description somewhere (but not necessarily on the introductory materials or front page).
309.
▲
by
ratorx
5y ago
It’s a consistency problem. Syncthing provides reasonably solid single file consistency. Git repos and anything else that requires multi-file consistency is trickier, since Syncthing doesn’t know about the internal consistency requirements.
310.
▲
by
ratorx
5y ago
I’ve been looking for something like this for a while thanks! However, what I was ideally looking for was tours of houses/apartments which are heavily optimised interior decoration-wise, but also massive. Sort of like the intersection
311.
▲
by
ratorx
5y ago
That reasoning goes back around. If you don’t need that much security and are fine with exposing internal hostnames via CT logs, then Let’s Encrypt can be nicer (no internal CA to maintain). It’s just that very specific bit in the middle, w
312.
▲
by
ratorx
5y ago
I don’t think the official messaging is inconsistent, although it could be worded better. Please don’t also mistake random users to be the official source of information. I am also a random user and these are my opinions. Arch can definitel
313.
▲
by
ratorx
5y ago
I’m a fan of the NixOS module style typing. It feels like the right compromise for something like Nix. Domain specific type system is also helpful for documentation. E.g. in NixOS, the types and the docs live together and benefit each other
314.
▲
by
ratorx
5y ago
Interviews at FAANG don’t really work like that. The typical interviewer has very little say in metrics used to evaluate the candidate. Their job is to evaluate the candidate based only on those metrics, with little room for anything else.
315.
▲
by
ratorx
5y ago
I guess that’s part of it. I don’t think the technique is necessarily a problem by itself, because it is often very easily traceable. However, it is annoying if the things being composed are not standard well-known functions, but user-defin
316.
▲
by
ratorx
5y ago
I don’t like JS and try to avoid it wherever possible. I have written some, but I’m not an expert by any means. My problems with JS/TS: Simple to start, but hard to program robustly and defensively. Due to the lack of typing, a lot of
317.
▲
by
ratorx
5y ago
I can recommend Tectonic ( https://tectonic-typesetting.github.io/en-US/ ) as an alternative to directly invoking the LaTeX (or in this case XeTeX) compiler. The build experience is magnitudes better than LaTeX or latexm
318.
▲
by
ratorx
5y ago
I think the parent is treating citizenship == permanentish visa in his comment. The article is also about a Investor visa, not citizenship. I’ve checked 2 (UK and Switzerland) and both offer some form of Investor visa, so it’s really no dif
319.
▲
by
ratorx
5y ago
I can see Go hitting large numbers, but would Node.js really be comparable in throughput? I’ve heard V8 is fairly optimised, but single thread (regardless of async) is a fairly big hit over Go’s green threads right?
320.
▲
by
ratorx
5y ago
Small correction: while it’s true that the client<->server exchange is secure, this doesn’t matter because ANY client can request a certificate for any DNS address. It is no extra security, because an attacker can just submit their ow
321.
▲
by
ratorx
5y ago
The ability to see flagged posts can be enabled in settings with the showdead option.
322.
▲
by
ratorx
5y ago
Nix package manager should not break if you change the location of the nix store. However, you will end up having to recompile everything from scratch. As far as I understand, hardcoding paths and /nix are both deliberate decisions to
323.
▲
by
ratorx
5y ago
The first sentence is correct. It should be “that can access Google over IPv6”.
324.
▲
by
ratorx
5y ago
I don’t think NixOS (where service configuration would live) is system-agnostic. It relies heavily on systemd already.
325.
▲
by
ratorx
5y ago
I don’t think video games have very much use for NFTs. Valve games (TF2, CS:GO) have a thriving 3rd party cosmetic market based on trading, and Valve even takes a cut for e.g. the Steam community market. This did not need NFTs to implement.
326.
▲
by
ratorx
5y ago
I’ll reply to this and some of your other comments in this reply. In a lot of cases, SSL is not expensive or time consuming. It is a single line in cron. I appreciate that this is not the case for your hosting, but economic pressure is one
327.
▲
by
ratorx
5y ago
Have you heard of Steam? PC is open hardware. There is a minimum bar of quality. Steam controls which games you can buy through it. Very profitable too. Steam theoretically can control quality as much as they want. The bar they choose is en
328.
▲
by
ratorx
5y ago
That’s fair. Nintendo can’t make the game publishers do anything in an open ecosystem. What they can do is maintain a list of good game publishers and encourage people to buy from that list. Again, arguably easier to do now with say the Nin
329.
▲
by
ratorx
5y ago
How does hardware/software security solve this? Is this not just a certification issue? If Atari had officially blessed games and told retailers which games were good, would that not have solved the issue? I guess securing the device t
330.
▲
by
ratorx
5y ago
I think that the 1-click (or 1 command) create-react-app style of development is part of the reason that JS has become so bloated. It encourages thinking in terms of framework and bundling of tons of dependencies as well as closely tying so
More ›