Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qazxcvbnm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
qazxcvbnm
3y ago
> Persistence is Orthogonal to the Data Model, ... I have some experience with a custom data runtime where the persistence is orthogonal to the data model, with silhouettes reminiscent of the described solutions in many of the features o
92.
▲
by
qazxcvbnm
3y ago
> Transactions are not modular because every function needs to know whether it’s already in a transaction or not, to be conscious of what global entry point in a completely different module owns the transaction. I fail to understand the
93.
▲
by
qazxcvbnm
3y ago
Can you elaborate on what you mean by changing the result set as opposed to the shape?
94.
▲
by
qazxcvbnm
3y ago
Consider the case of Partials - we might like to restrict the Partials to different subsets of the fields for different purposes; consider the modelling of an inverted index. Certainly it is possible to represent each specific case as some
95.
▲
by
qazxcvbnm
3y ago
This reminds me of my quest to find the proper method to model what I've termed 'large types' in an ideal language. As is well known, algebraic data types as commonly found, consist of sums of products, yet a great deal of us
96.
▲
by
qazxcvbnm
3y ago
The provided points don't seem to be reasons for generally avoiding the subshell loop pattern. Reasons of 1) performance, 2) readability, and 3) security are provided as points against the pattern, and the post itself acknowledges that
97.
▲
by
qazxcvbnm
3y ago
Do enlighten me on why it is a bad idea to use loops over read; it's perhaps one of my favourite patterns in bash, and combined with pipes, appears to me one of the cleanest ways to correctly and concisely utilise parallelism in softwa
98.
▲
by
qazxcvbnm
3y ago
Not having worked with K8s, it seems to me a number of things that service meshes are capable of can be done by SDN (e.g. Tailscale, ZeroTier). As far as I'm aware, SDN can do encryption and service discovery (via things like custom DN
99.
▲
by
qazxcvbnm
3y ago
Off-topic: does anyone know of SQL-to-SQL optimisers or simplifiers? I understand that databases themselves have query-optimisers, and that's not what I'm talking about - I work with generated query systems and SQL macro systems t
100.
▲
by
qazxcvbnm
3y ago
Sounds like a fun idea!
101.
▲
by
qazxcvbnm
3y ago
But what would be its homology, for instance?
102.
▲
by
qazxcvbnm
3y ago
That's very kind of you - I tried making a dead-simple repro just now with Node 20, and it seemed to run without the problem. I'll try reproducing it in a bit with my original use case of imagemagick and see if the issue still exi
103.
▲
by
qazxcvbnm
3y ago
One thing that surprised me about Node was how slow the default way to shelling out (child_process) could be (probably https://github.com/nodejs/node/issues/14917 ). Although according to the linked issue, it
104.
▲
by
qazxcvbnm
3y ago
Can corroborate the previous replies; or taking the initials of the words like `sls` is common these days
105.
▲
by
qazxcvbnm
3y ago
This is the resource I reach to whenever I need to find a Nix function.
106.
▲
The Sisyphean Task of DNS Client Config on Linux
(tailscale.com)
3 points
by
qazxcvbnm
3y ago
|
2 comments
107.
▲
by
qazxcvbnm
3y ago
According to https://news.ycombinator.com/item?id=38889156 , resolved is the Devil. According to Tailscale, its the saviour. I'm confused.
108.
▲
by
qazxcvbnm
3y ago
Arithmetic coding is one of the classic information theory methods that produce essentially-optimal results. Like everywhere else in information theory, the eminence of the probability distribution is fully recognised, and given it, arithme
109.
▲
by
qazxcvbnm
3y ago
Pinning in nix is rather easy; either `nix registry pin nixpkgs` or explicitly `nix registry add nixpkgs github:NixOS/nixpkgs/925b70cd964ceaedee26fde9b19cc4c4f081196a` does the job. For specific packages, flakes and flake locks ma
110.
▲
by
qazxcvbnm
3y ago
I must say that as far as I'm concerned, Nix is very much emblematic of simpler technology. Nix tries to solve problems (such as build impurities) very much by trying to fix things at the source (and contributing back to upstream!), ra
111.
▲
by
qazxcvbnm
3y ago
You don't have to use nixpkgs-unstable though? You can always pin your nixpkgs, which I do, and I've as long as one tests that that version runs fine, then it always runs fine.
112.
▲
by
qazxcvbnm
3y ago
Wow, it looks pretty nice! I see that it even provides a Terraform module: "All-in-One: This is a consolidated module that first installs NixOS using nixos-anywhere and then keeps it updated with nixos-rebuild. If you choose this, you
113.
▲
by
qazxcvbnm
3y ago
By the way, how production-ready is nixos-infect for installing NixOS on VPSes that don't support NixOS out of the box? I've been meaning to do some new deployments with NixOS, and nixos-infect seems to be the recommended way from
114.
▲
by
qazxcvbnm
3y ago
Reminds me of HOAS techniques.
115.
▲
by
qazxcvbnm
3y ago
I've had pretty much the exact same problem and what I went for in my low-volume case was to simply add advisory locks such that I can guarantee the transaction start times provide correct ordering.
116.
▲
by
qazxcvbnm
3y ago
[1] link doesn't work for me, any mirrors?
117.
▲
by
qazxcvbnm
3y ago
Off topic, but does anyone know how to find out where mutable data for NixOS modules are stored at (e.g. the data directory for a database) without reading the source? Occasionally, it's mildly annoying, and would be comforting to know
118.
▲
by
qazxcvbnm
3y ago
I pretend its The Forementioned Article
119.
▲
by
qazxcvbnm
3y ago
While I was reading up further on succint trees, I noticed this https://web.cs.dal.ca/~mhe/publications/sea15_parallelsuccin... . I've not gone through it thoroughly yet, but it seems that someone has done it
120.
▲
by
qazxcvbnm
3y ago
Imagine a continuous space without holes in them (no holes at all, not even tiny ones).
More ›