Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matrss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
matrss
1y ago
I can't speak about Chef, but Ansible is as far removed from declarative as is possible when compared to guix and nix.
62.
▲
by
matrss
1y ago
In a single user scenario where you don't care about a web interface (and its associated additional features) for your repository you can literally use any server that is accessible to you via ssh and has git installed as a git remote
63.
▲
by
matrss
2y ago
You can, but only for a relatively short amount of time after posting the comment. Maybe an hour or so?
64.
▲
by
matrss
2y ago
That's what I mean, in this case pip, uv, etc. are the wrong tool to use. You could e.g. use pixi and install all python and non-python dependencies through that, the conda-forge package of shapely will pull in geos as a dependency. Pi
65.
▲
by
matrss
2y ago
IMO if you require libraries in other languages then a pure python package manager like uv, pip, poetry, whatever, is simply the wrong tool for the job. There is _some_ support for this through wheels, and I'd expect uv to support them
66.
▲
by
matrss
2y ago
> The quest to get every build process to be deterministic [...] will never be solved for all of Nixpkgs. Not least because of unfree and/or binary-blob packages that can't be reproducible because they don't even build any
67.
▲
by
matrss
2y ago
Now I am wondering what kind of unix magic "oregano" must be...
68.
▲
by
matrss
2y ago
Why?
69.
▲
by
matrss
2y ago
> If you browse through your smart TV, and the smart TV overlays an ad over the browser window, or to the side, is that the same as saying the original server is serving those ads? I hope you agree it is not. I agree it is not. That is w
70.
▲
by
matrss
2y ago
> What ensures the integrity of conveyed information for physical mail? For flyers? For telephone conversations? Nothing, really. But for physical mail the attacks against it don't scale nearly as well: you would need to insert your
71.
▲
by
matrss
2y ago
textfiles.com says: "TEXTFILES.COM has been online for nearly 25 years with no ads or clickthroughs." I'd argue that that is a most likely objectively false statement and that the domain owner is in no position to authoritati
72.
▲
by
matrss
2y ago
> There are plenty of websites that were just static pages used for conveying information. If you care about the integrity of the conveyed information you need TLS. If you don't, you wouldn't have published a website in the fir
73.
▲
by
matrss
2y ago
~username expands to the home directory of username. There might have been a shell that likewise expanded ~* to all home directories.
74.
▲
by
matrss
2y ago
That doesn't satisfy the requirement "from source". Sure, you can build on a large binary blob that already contains everything you need, but then you are just moving the issue into the build process of that blob. Also, 99% o
75.
▲
by
matrss
2y ago
JSON itself is bad for a streaming interface, as is common with CLI applications. You can't easily consume a JSON array without first reading it in its entirety. JSONL would be a better fit. But then, how well would it work for ad-hoc
76.
▲
by
matrss
2y ago
If I remember correctly I had created the math parts with the windows PowerPoint app and it was shown more or less correctly in the web app, until I double clicked on it and it completely broke; something like it being a singular element th
77.
▲
by
matrss
2y ago
> [...] and it pretty much just works. I beg to differ. Last time I had to use PowerPoint (granted, that was ~3 years ago), math on the slides broke when you touched it with a client that wasn't of the same type as the one that init
78.
▲
by
matrss
2y ago
Mostly private use, I have 2 servers and a laptop configured with this: https://github.com/matrss/nixfiles . The servers host a bunch of different services from Nextcloud to a DoT-to-ODoH proxy and some more. I've
79.
▲
by
matrss
2y ago
> [...] and I'd wager (naively) that most NixOS users at some point need to use an escape hatch. I don't think that is the case. In five years of using NixOS I never needed to reach for any of them, and I don't even know w
80.
▲
by
matrss
2y ago
> Locks typically open clockwise [...] Is that so? My intuition is that it should depend on the side of the door the lock is mounted on. Most locks I have seen open by turning them away from the side where the latch is on, to move the bo
81.
▲
by
matrss
2y ago
> As long as I can rebuild and get a system that works the same way as before, I'm happy. Bit-for-bit identical packages is the only way to guarantee it works the same way (in the absence of differences in hardware behaviour, otherw
82.
▲
by
matrss
2y ago
Some kind of imperative base is not avoidable. In the end a declarative abstraction must map to a list of instructions to follow, that's just how computers work. But on the abstraction level of configuring a Linux system this imperativ
83.
▲
by
matrss
2y ago
> While building those images through Dockerfiles is pretty declarative [...] There is nothing declarative about Dockerfiles, they are a list of imperative steps. Same for ansible playbooks, which are also often called declarative when t
84.
▲
by
matrss
2y ago
There is also git-annex, which supports S3 as well as a bunch of other storage backends (and it is very easy to implement your own, it just has to loosely resemble a key-value store). Git-annex can use any of its special remotes as git remo
85.
▲
by
matrss
2y ago
I think this is more about storing the entire repository on s3, not just large files as git-lfs and git-annex are usually concerned with. But coincidentally, git-annex somewhat recently got the feature to use any of its special remotes as n
86.
▲
by
matrss
2y ago
Speaking of git-annex, there is another project called DataLad ( https://www.datalad.org/ ), which has some overlap with DVC. It uses git-annex under the hood and is domain-agnostic, compared to the ML focus that DVC has.
87.
▲
by
matrss
2y ago
Only if you don't have a principled way of rebuilding them all on an update/patch. NixOS doesn't have multiple versions of shared libraries in most cases, and where it does it is usually multiple upstream supported major vers
88.
▲
by
matrss
2y ago
> Using shared libraries is optimizing for a very different set of constraints than nixos, which iirc keeps like 90 versions of the same thing around just so everyone can have the one they want. This isn't really true. One version o
89.
▲
by
matrss
2y ago
I've had btrfs loose my laptops root filesystem, it just wouldn't mount anymore for no apparent reason. This was ~6 or 7 years ago. Reading the fs with some rescue command worked fine, the ssd continued to work for a few more year
90.
▲
by
matrss
2y ago
Until the "published cookbooks" market is flooded with AI generated bullshit. Related: https://news.ycombinator.com/item?id=41269514
More ›