Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mxey
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
mxey
27d ago
Since 10.7 it autosaves. The Delete button is shown, and correct, for new files that have not been saved at all yet.
2.
▲
by
mxey
2mo ago
The drain is asynchronous, so it won’t block. The limit is 256 KB and 50 ms.
3.
▲
by
mxey
4mo ago
At which point there’s little difference from any other database’s backup commands.
4.
▲
by
mxey
4mo ago
I think the SQLite website itself says it best: > SQLite does not compete with client/server databases. SQLite competes with fopen().
5.
▲
by
mxey
4mo ago
The Compose file is written like that so you can quickly try the app without setting up extra dependencies. Usually not for production use. Especially since in production you might want to scale the parts separately. I like to have a Postgr
6.
▲
by
mxey
4mo ago
Yes if you run a database server like an embedded application database, then it won’t be very different from an embedded application database.
7.
▲
by
mxey
4mo ago
SQLite in WAL mode which you want for server apps is multiple files. Files which you cannot just copy while your application is running if you want a correct backup.
8.
▲
by
mxey
4mo ago
Huge?
9.
▲
by
mxey
4mo ago
Yes, initially modules used to modify the file automatically which is why I have -mod=readonly in some old pipelines. I think the “new” way is much better. I still run tidy in pipelines to check but that’s only for cleanup.
10.
▲
by
mxey
4mo ago
> It only syncs go.mod with what is already being used by the build process If dependencies are incomplete, Go will fail to compile and tell you to run go mod tidy to fix it.
11.
▲
by
mxey
4mo ago
Pinning to me means there is a file with all the versions as they will be used. I don’t see how “go mod tidy” modifying it is different from “bundle install” modifying it.
12.
▲
by
mxey
4mo ago
> You literally cannot dereference an Option without acknowledging the None case. Whole categories of pager-duty incidents disappear. This is at the very least misleading, given that you can use unwrap. Regarding error handling: will a p
13.
▲
by
mxey
4mo ago
Actually with Go modules you are always pinning dependencies. What’s in your go.mod is what is used. If your go.mod needs to be updated because a dependency wants to bring in a newer version of a transient dependency, the go.mod has to be m
14.
▲
by
mxey
5mo ago
The problem is that it is actually not just Python, branched with “normal if statements”: https://docs.pyinfra.com/en/3.x/deploy-process.html#checking...
15.
▲
by
mxey
5mo ago
https://pkg.go.dev/os#Root
16.
▲
by
mxey
7mo ago
That’s the opposite of clean-room. The whole point of clean-room design is that you have your software written by people who have not looked into the competing, existing implementation, to prevent any claim of plagiarism. “Typically, a clea
17.
▲
by
mxey
8mo ago
PostgreSQL shares other caches between processes so they probably could have a global plan cache if they wanted. I wonder why they don’t though. One possible reason is that the planner configuration can be different per connection, so the p
18.
▲
by
mxey
8mo ago
This is very good to know because it means this exclusion constraint workaround is a better approach over using a SQL hash function and a btree if you want to enforce uniqueness on values too long for a btree index.
19.
▲
by
mxey
8mo ago
No, that’s why I said deploy. All it does is run kubectl apply and kubectl rollout status. Only those are directly tied to the data in CUE. there’s not much advantage to running other commands with it. You can run arbitrary processes with c
20.
▲
by
mxey
8mo ago
“ss” also has filters, no need for grep ss -o state established '( dport = :ssh or sport = :ssh )'
21.
▲
by
mxey
8mo ago
There will be no certificates longer than 45 days by any CA in browsers in a few years.
22.
▲
by
mxey
8mo ago
Not sure if that’s what you mean but we have apps where all you need to deploy them to Kubernetes is run “cue cmd deploy”. > The problem is, once you have to wrap CUE, the loss of flexibility within a special-purpose language like CUE is
23.
▲
by
mxey
9mo ago
Without those headers, you can as a fallback compare the Origin header to the Host header. See https://words.filippo.io/csrf/
24.
▲
by
mxey
9mo ago
I had the same thought about the idea that Safari is “behind”. My hypothesis is that features only “exist” to people if they are implemented in Chrome. If a feature exists in WebKit but not in Chrome, nobody talks about it.
25.
▲
by
mxey
9mo ago
iPhones tend to have dramatically better JavaScript performance so you might wanna also test on an average Android phone.
26.
▲
by
mxey
9mo ago
I can’t wait for websites to tell me I need to install Chrome on my phone.
27.
▲
by
mxey
9mo ago
Safari adds support for new web features in point releases throughout the year.
28.
▲
by
mxey
9mo ago
you know you CAN make small websites with the existing standards already
29.
▲
by
mxey
9mo ago
Quilt was AFAIK used before Git, so you’re not wrong. But now that it’s there, it has some advantages. I’m not arguing against replacing Quilt, but it should be more than just Git. I haven’t done Debian packaging in a long time but apparent
30.
▲
by
mxey
9mo ago
So there’s no way to have commit messages on changes to patches? There’s also https://dep-team.pages.debian.net/deps/dep3/ People keep saying “just use Git commits” without understanding the advantages of the Qui
More ›