Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
twic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
721.
▲
by
twic
3y ago
I suspect that something similar is happening with the shift to remote work. You can live in a big house in the beautiful countryside! But now doing anything other than being in the house or the countryside is considerably more effort.
722.
▲
by
twic
3y ago
> warships (25111708) That's 3366113 in the US and Canada: https://www23.statcan.gc.ca/imdb/p3VD.pl?Function=getVD&TVD=...
723.
▲
by
twic
3y ago
How would something like CDI portable extensions fit in here? Are you thinking it would another way to replace ASM's visitors? Doesn't it lack all the useful structure that the design in the JEP as, around streaming and building a
724.
▲
by
twic
3y ago
What is the situation with and roadmap for using JSON columns in DuckDB? A friend has a use case involving searching structured data (like everyone). I think it's basically reports on different companies, so have fields like name, loca
725.
▲
by
twic
3y ago
It's absolutely unreasonable to expect that, and the wrapper should stay. I don't have Maven installed anywhere, and i don't have Gradle on the global path, because i work on projects which require different versions of Gradl
726.
▲
by
twic
3y ago
The author has written their own HTTP server rather than using the one provided with the JDK. They need to have a really, really good reason to do this, and i haven't seen such a reason reason documented anywhere. Other, much larger, w
727.
▲
by
twic
3y ago
On that page it says: > (all measurements of lines of code are for production code - that is, non-test-code) Given that this is Java, the author could have measured the total size of the bytecode, which is probably a more style-neutral w
728.
▲
by
twic
3y ago
It will log to wherever you configure. By default, the journal. And [0]: > Currently, Promtail can tail logs from two sources: local log files and the systemd journal (on AMD64 machines only). Whether it supports user services, I don
729.
▲
by
twic
3y ago
> The original Quadlet repository describes Quadlet this way: > What do you get if you squash a Kubernetes kubelet? > A quadlet So it's based on reinterpreting the root "kuber-" which ultimately means something"
730.
▲
by
twic
3y ago
I think the main point of Crossrail was fast access to central London for people living in east London. It does that quite well, and in doing so relieves the Central line. Crossrail might not be very useful for short, interchangey trips, bu
731.
▲
by
twic
3y ago
Parasites are always the weirdest. Parasitic crustaceans: https://bogleech.com/bio-paracrust Parasitic jellyfish: https://blogs.scientificamerican.com/artful-amoeba/when-jell... Another parasitic jelly
732.
▲
by
twic
3y ago
update tasks set taken_timestamp = now() where task_id = ? and taken_timestamp is null
733.
▲
by
twic
3y ago
Same. But I get this on desktop too, with a trackpad. Makes precision selection when image editing very frustrating. It would be nice if there was a simple and universal way to do this interaction more precisely!
734.
▲
by
twic
3y ago
Yes you can. Tap to place the cursor, tap on its fat tail to get a context menu, select paste.
735.
▲
by
twic
3y ago
My peeve with the URL bar in Firefox on Android is that there's no way to partially select. A tap places the cursor, and a long press selects the whole URL. There's no way to select the domain, or a value from a query string, etc.
736.
▲
by
twic
3y ago
Or, more conventionally put: > The golden rule of git rebase is to never use it on public branches. https://www.atlassian.com/git/tutorials/merging-vs-rebasing#... If you're doing trunk based development,
737.
▲
by
twic
3y ago
This is a bit of an odd book. I remember disliking it when I read it, feeling it was a bit of a trick story. But it's stayed with me in a way few stories have. With hindsight, I would say it's a fairytale in science fiction clothi
738.
▲
by
twic
3y ago
Oh, I thought they could also be scheduled at safepoints? Is that not in there yet, or not going in now?
739.
▲
by
twic
3y ago
The significant difference between virtual and real threads is the stack. Real threads have to support programs written in languages which assume that the stack is a large, contiguous block of memory which they can use without cooperation w
740.
▲
by
twic
3y ago
I'd definitely be interested to see some benchmarks of real-world code, once virtual threads and its attendant web frameworks have had a year or two to mature.
741.
▲
by
twic
3y ago
> That leaves behind a tmp file breadcrumb if generate fails That sounds useful for debugging the failure. But better then to do: foo: bar generate bar > foo.tmp && mv foo.tmp foo So you can at least tell what
742.
▲
by
twic
3y ago
I think the biggest impact of virtual threads is that the ecosystem will abandon asynchronous APIs. No more futures, callbacks, servers where you have to make sure not to block the thread, reactive frameworks, etc. Just nice simple imperati
743.
▲
by
twic
3y ago
> One thing Rust could really use are anonymous unions (A | B |C instead of E::A(A), E::B(B), E::C(C)). They are to enums what tuple types are to structs. Ceylon had union types, which is the only place i've seen these: https:/
744.
▲
by
twic
3y ago
Rust enums always have a discriminant: https://doc.rust-lang.org/std/mem/fn.discriminant.html Their representation in memory may not use it, but it's still defined.
745.
▲
by
twic
3y ago
Time to re-pimp my idea of doing this using a single type parameterised to reflect different states: https://github.com/tim-group/higher-kinded-lifecycle/blob/ma...
746.
▲
by
twic
3y ago
Presumably https://github.com/asdf-vm/asdf
747.
▲
by
twic
3y ago
We just need to smash two conscious minds into each other at near the speed of thought and see what comes out.
748.
▲
by
twic
3y ago
String theory is indeed also not really science.
749.
▲
by
twic
3y ago
One day my MooTools skills will be cutting edge again, i'm positive.
750.
▲
by
twic
3y ago
Create a MessagePack message containing a byte array, put the protobuf in that. Of course, the enterprise solution would be to hex encode it and put it in a CDATA section in an XML document.
More ›