Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
VGHN7XDuOXPAzol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
VGHN7XDuOXPAzol
23d ago
To help others disambiguate choices a bit: Kopia does not let you pipe into it without intermediate files, or at least not in a friendly way I could figure out. Kopia seems quite designed around the backup server being the place where the c
2.
▲
by
VGHN7XDuOXPAzol
26d ago
But the meaning of 'knock at your door' is also correct. As in 'knocker-uppers' https://en.wikipedia.org/wiki/Knocker-up
3.
▲
by
VGHN7XDuOXPAzol
2mo ago
Sure, I'll try my best to put some concrete numbers on it: On a file of ~1M lines (350 MB), ripgrep returns a query matching 22k lines in 1.9s. (Separately: We have gzip log rotation for old logs. A log with 1.9M lines (106 MB gzipped)
4.
▲
by
VGHN7XDuOXPAzol
2mo ago
I really want to love journald (it sounds like it's aiming for a good system) but I share the other commenter(s)' frustration here about journald being slower than just pulling out ripgrep on regular files. We have some services a
5.
▲
by
VGHN7XDuOXPAzol
2mo ago
Monzo in UK is fine with rooted and no Google Play. No idea how it would fare inside Waydroid though.
6.
▲
by
VGHN7XDuOXPAzol
1y ago
Just a pure guess, but if you do a global find, you get a list of 3-line-ish chunks of context around search matches. If you then Ctrl+A to select all and press backspace, I wonder if that would delete all those 3-line chunks...
7.
▲
by
VGHN7XDuOXPAzol
1y ago
I, too, have noticed this. Would be curious if anyone has a more in-depth article to read about why the difference is so stark!
8.
▲
by
VGHN7XDuOXPAzol
1y ago
surprisingly, Uber does! m.uber.com is a mobile website for Uber. I only used once, in February, so hopefully they didn't break it since then.
9.
▲
by
VGHN7XDuOXPAzol
1y ago
This sort of difference is one of the reasons I will always prefer subs. I guess I could be the odd one out but I'm not keen on the 'localisation' efforts that replace the cultural elements of the underlying media, e.g. how i
10.
▲
by
VGHN7XDuOXPAzol
1y ago
> Token-agnostic prompt structures obscure the cost and are rife with misaligned incentives Saying that, token-based pricing has misaligned incentives as well: as the editor developer (charging a margin over the number of tokens) or AI p
11.
▲
by
VGHN7XDuOXPAzol
1y ago
> conformance with YAML maybe, but not entirely sure. 'Two wrongs don't make a right' kind of thinking on my side here. But if they call it GFY and do what they want, then that would probably be better for everyone involve
12.
▲
by
VGHN7XDuOXPAzol
1y ago
Is it actually possible to just have the YAML that calls into your app today, without losing the granularity or other important features? I am not sure you can do this whilst having the granular job reporting (i.e. either you need one YAML
13.
▲
by
VGHN7XDuOXPAzol
1y ago
> Conforming to a complex specification is not inherently a good thing Kind of a hard disagree here; if you don't want to conform to a specification, don't claim that you're accepting documents from that specification. Cal
14.
▲
by
VGHN7XDuOXPAzol
1y ago
This is something that a custom parser library could figure out, no? The same as how you have format-preserving TOML libraries, for instance. I think it makes way more sense for GitHub to support YAML anchors given they are after all part o
15.
▲
by
VGHN7XDuOXPAzol
1y ago
GraphQL has some impressive points, but sometimes feels like it shifts too much control to the client. I'm on the fence about it. There are performance footguns (like recursion, for which you'd have to consult your GraphQL server
16.
▲
by
VGHN7XDuOXPAzol
1y ago
Afaik Postgres doesn't. In my exposure it'd be quite uncommon for a b-tree to store the size of a subtree; would cause more churn/writes when updating trees. Perhaps some of the page-level Copy-on-Write databases (LMDB?) migh
17.
▲
by
VGHN7XDuOXPAzol
1y ago
Really nifty; can I ask what tags you are using? (are they off-the-shelf) Would be interested in doing something similar
18.
▲
by
VGHN7XDuOXPAzol
1y ago
Yeah, if `main` returns an error I think it exits with an error code and prints it out, so quite similar to a panic. I think the blog post is not focussing on error handling too much, but in any case this is 'safe', just could lik
19.
▲
by
VGHN7XDuOXPAzol
1y ago
> what happens when there is an error reading the file? the question mark `?` denotes the fact that the error is bubbled up (kind of like an exception, but with stronger typing and less silent)
20.
▲
by
VGHN7XDuOXPAzol
1y ago
If you wanted to match on characters (`char`s) then you could do this with single quotes (`'+'`) Or if you wanted to do it on bytes, you could also do this, with (`b'+'`). Unsure if that would provide a meaningful boost
21.
▲
by
VGHN7XDuOXPAzol
1y ago
Might also be useful for me to link to the docs for `parse` [1] and to the trait `FromStr` [2] that it relies on: [1]: https://doc.rust-lang.org/std/primitive.str.html#method.pars... [2]: https://doc.rust-la
22.
▲
by
VGHN7XDuOXPAzol
1y ago
maybe this isn't the question you meant to ask, but: `n` has the same type as the input of the `match` block. In other words, it's a fallback case. (In this case, it's `&str`; the same as `"+"`, `"-"`,
23.
▲
by
VGHN7XDuOXPAzol
1y ago
+1 even if you don't understand the language, it's nice to hear the real voice. This auto-dub-translation feature is also problematic in that viewers don't realise it's happening. I think that is unreasonably misleading.
24.
▲
by
VGHN7XDuOXPAzol
1y ago
This claim just seems like sensationalist marketing BS. If you find the real quote: > “I’d say maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software,” Nadella said duri
25.
▲
by
VGHN7XDuOXPAzol
1y ago
then you have more life issues ;-)
26.
▲
by
VGHN7XDuOXPAzol
2y ago
Not the person you're asking, but I find it adds a delay to setting off and frequently feels 'wrong' because it cuts the engine for a very short time. (I don't often drive at rush hour, so often I might just stop at a li
27.
▲
by
VGHN7XDuOXPAzol
2y ago
when we did a comparison of package managers that lock dependencies, we wrote up some interesting notes at https://github.com/matrix-org/synapse/issues/11537#issuecomm... Notable omission in pip-tools which m