Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_flux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
511.
▲
by
_flux
2y ago
Surely there are options other than Python, GDScript, C, C++, C# to consider before making a new language? E.g. GDScript is characterized as "GDScript has minimal tooling. Most of Rust's best lints and static analysis features are
512.
▲
by
_flux
2y ago
How about: - Internet scanner that would use host IP as the primary key - A table connecting two other tables using their primary keys as the composite primary key (when there can only be zero to one such connections)
513.
▲
by
_flux
2y ago
While the training data may be wrong, LLMs still go off the rails that outputs data that doesn't seem like it would be part of the training material in the first place. I think if the training data has errors or oudated information, th
514.
▲
by
_flux
2y ago
Thank you! I'll try that with my next CA, which I think is actually expired but it seems not all apps care about that :). If "relatively modern" covers browsers and email clients, that's pretty good already. edit: here&#
515.
▲
by
_flux
2y ago
Is it possible to limit the CA to only cover certain domain, e.g. *.yourown.home.arpa? Or is it the case that if you install a CA of your friend, it grants them the possibility of MitMing most any service (with non-pinned cert), at least wh
516.
▲
by
_flux
2y ago
I wish unix domain sockets worked over NFS. It would be such a nice way to assign user-level permissions on networked services. ssh /services/gw etc. Maybe even file:/// -urls for the web browser, though the cross d
517.
▲
by
_flux
2y ago
I've been using http://guichaz.free.fr/gliv/ for a long time. I guess the fast hw-accelerated zooming/rotation was the hook. This one promises high-quality zooming using OpenCV, which to me sounds like it wou
518.
▲
by
_flux
2y ago
llama.cpp has a way to constrain responses to a grammar, which is 100% reliable as it is implemented in the inference itself. You still need to tell the model to produce a certain format to get good results, though.
519.
▲
by
_flux
2y ago
[In Linux] You can use 132 character wide text modes as well, so if the boot slowness disturbs you, you could if they work in your system. (Actually also 160 wide, but I wonder if they are as commonly supported..) In addition there's t
520.
▲
by
_flux
2y ago
Maybe it also writes to (network) serial console? Though I suppose maybe some graphics-mode consoles can still be slow. I'm not sure if there's much point using them, though, if there is never a graphical interface running.
521.
▲
by
_flux
2y ago
So what kind of scenario do you have in mind?
522.
▲
by
_flux
2y ago
Some other Unix operating systems had the functions in a own socket library, e.g. SunOS: https://docs.oracle.com/cd/E19120-01/open.solaris/817-4415/s... . I suppose though in the context of Linux it'
523.
▲
by
_flux
2y ago
Well, that was exact-whelming. Pretty cool anyway :).
524.
▲
by
_flux
2y ago
You can also perfectly parallellize those requests, making the operation highly efficient!
525.
▲
by
_flux
2y ago
Is it not possible this would be explained by people simply being interested in the technology and TikTok/Youtube algorithms noticing that—and that they would have placed you in the same bubble, which is probably an accurate assignment
526.
▲
by
_flux
2y ago
And eliminate the change of some prankster affecting the demo by attacking the wifi.
527.
▲
by
_flux
2y ago
Found the script, so here it is for posterity! #!/bin/sh if [ -z "$1" ]; then echo "usage (in zsh): 'strace -f program -o logi; okular =(dot -Tpdf =($0 logi))'" exit 0 fi
528.
▲
by
_flux
2y ago
Pretty nice! I recall having used strace for this, and this is certainly nicer for that use case. I think I used it to determine how a certain file was built. Somehow it was easier to do it that way than understand the build system :). What
529.
▲
by
_flux
2y ago
OCaml uses the lowest bit, which is nice because (aligned) pointers work as-is.
530.
▲
by
_flux
2y ago
I don't quite understand how it avoids the case for code that pushes lots of stuff to a vector, then shifts its all out, and then does this again—which, to me, doesn't seem like an edge-case at all. Do any languages automatically
531.
▲
by
_flux
2y ago
I don't think it works that way when a container can grow and shrink, because an algorithm can trigger those operations any number of times, not just O(log(n)) times.
532.
▲
by
_flux
2y ago
I don't think it's so clear-cut that the capacity should be decreased in that case, because it not only destroys the theoretical complexity of algorithms using it, but also because in practice there can be cases where an array get
533.
▲
by
_flux
2y ago
Zed certainly seems interesting! I wonder though if it's enticing enough to leave Emacs' versatile configurability and introspection abilities behind. I don't think Zed has any way to extend its behavior beyond configuration
534.
▲
by
_flux
2y ago
It may very well be this or something else, but one sample isn't data :).
535.
▲
by
_flux
2y ago
If there is a non-error effect in running sudo rm /foo, then indeed it should have the same effect as rm /foo as root in the chroot environment. But using sudo, or even root, in a chroot environment isn't good security practi
536.
▲
by
_flux
2y ago
I imagine these questions are what might make this project non-trivial, but surely achievable. > If I chroot and then run0 will that process also run in the chroot? That's an interesting question and it's not quite clear to me
537.
▲
by
_flux
2y ago
They didn't need to use the library to make use of the systemd notify mechanism, which is simple to interface and quite a nice feature in the first place. The free-standing implementation: https://github.com/openssh
538.
▲
by
_flux
2y ago
It's the basic function what journalctl -f does by default: follow the global log all jobs write into. -u etc are for filtering that.
539.
▲
by
_flux
2y ago
Converting a SELECT to a PRPEPARE does not really require parsing the complete query—or even it it did, some small concessions for this could be implemented in the line protocol to enable the server to do the prepared statement out of clien
540.
▲
by
_flux
2y ago
PostgreSQL is not only considering it, they're doing it! https://www.postgresql.org/docs/current/jit-reason.html I don't have personal experience on it, but I've read that in practice it's not
More ›