Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_flux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
241.
▲
by
_flux
1y ago
Well, at times having a parent pointer is rather useful! E.g. a callback registration will be able to unregister itself from everywhere where it has been registered to, upon request. (One would want to use weak references in this case.)
242.
▲
by
_flux
1y ago
Where does the improved performance come from? The project does actually outline different factors, but I wonder which of them are the biggest ones, or are they all equally important? And how big a player is the busyloop-locking. Yes, the c
243.
▲
by
_flux
1y ago
I meant if you have two classes that need to refer to each other. But good pointer anyway, I hadn't noticed it, thanks!
244.
▲
by
_flux
1y ago
If the type is a class with methods, then this method doesn't work, though adding intermediate interface classes (possibly with Generic types) might help in most cases. Python static type system isn't quite the same level as F#. &
245.
▲
by
_flux
1y ago
Could it have been a good target for e.g. Java JIT? It would be able to instrument the code at times, and then generate more optimal code for it?
246.
▲
by
_flux
1y ago
Looks like the SSD is about $80 on Amazon.com and the RAM maybe $30+, so that's already a significant fraction of the device's original price. Still reasonably affordable, though. But it's not under $200.
247.
▲
by
_flux
1y ago
I think a lot of time an exhaustive searchable index just of what I've browsed would be useful, though I suppose refresh feature would be useful.
248.
▲
by
_flux
1y ago
How about the uploading part of it, which is behind the magic of Bittorrent and default mode of operation?
249.
▲
by
_flux
1y ago
Just IRC with - a decent mobile client that uses the same account - and decent notification system - a backlog that survives disconnects - a search - file and media uploads that actually work behind NAT, and also persist - markdown But yes,
250.
▲
by
_flux
1y ago
Though then you can have code like "hello" + "world" that doesn't compile and "hello" + 10 that will do something completely different. In some situations you could actually end up with that by gradual mod
251.
▲
by
_flux
1y ago
I do have some complaints about the Jira web ui (in particular it seems finding correct issues can be difficult), though maybe nothing too severe. For me the most useful thing would be a cli tool (not tui) to just add stories. This way I co
252.
▲
by
_flux
1y ago
As I understand it, overwhelmingly large majority of CVEs over the history of computing have been due to buffer overflows or use-after-free. If you leave out those vectors, you might actually be pretty close to having RCE-free piece of soft
253.
▲
by
_flux
1y ago
In general Go programs are quite secure against remote code execution kind class of attacks. Even this one would be remedied by not running ollama as root and not have its binaries owned by the user it is running as (though overwriting exec
254.
▲
by
_flux
1y ago
The tools are client side operations in Ollama, so I don't see a way an attacker could use that to their benefit, except to leverage the actual computing power the server provides.
255.
▲
by
_flux
1y ago
It sure does happen. So should we simply give up? Or should we aspire to have tools to reduce those bugs? Knowing what kind of errors can occur is one of those tools.
256.
▲
by
_flux
1y ago
But the case when you actually learn what errors can happen is when your users start complain about them, not because you somehow knew about it beforehand. Or maybe you have 100% path coverage in your test..
257.
▲
by
_flux
1y ago
Yes, but I've also found that I can have ssh open from phone for days to my home computer, if I've established it over a VPN (in my case wireshark). I suppose this didn't always use to be the case, though.
258.
▲
by
_flux
1y ago
Well yes, but mosh starts its server over an initial SSH connection used for setup, so you only need the binary to exist in PATH of the remote host and you're done. It's more difficult to arrange a service to be running; sometimes
259.
▲
by
_flux
1y ago
There's https://openipc.org/ , if open source camera firmware is of interest to you. I actually ordered a few supported IP camera modules (basically complete IP cameras but without the case) from Aliexpress and tested
260.
▲
by
_flux
1y ago
Indeed, arguing with LLM is good if you like arguing. For results it's not the way to go. I think often it's not required to completely start over: just identify the part where it goes off the rails, and modify your prompt just be
261.
▲
by
_flux
1y ago
I was actually thinking sudo tokens as a completely separate set of authoritative tokens. So basically doubling the token space. I think that would make it easier for the model to be trained to respect them. (I haven't done any work in
262.
▲
by
_flux
1y ago
Yeah, it's quite amazing how none of the models seem to be any "sudo" tokens that could be used to express things normal tokens cannot.
263.
▲
by
_flux
1y ago
Apparently bcrypt has design that makes it difficult to accelerate effectively on a GPU. Indeed a new token should be requested per request; the tokens could also be pre-calculated, so that while the user is browsing a page, the browser cou
264.
▲
by
_flux
1y ago
Did you hear something? 1.3.0 was released on August, so it seems it's still a functional project.
265.
▲
by
_flux
1y ago
I used ChatGPT to convert an old piece of OCaml code of mine to Rust and while it didn't really work—and I didn't expect it to—it seemed a very reasonable starting point to actually do the rest of the work manually.
266.
▲
by
_flux
1y ago
Btw, LLMs are actually quite helpful for configuring Emacs, in particular for creating custom functionality.. But yeah, I broke my home Emacs setup somehow so that rust-mode no longer works in some situations. I have my config in git, thoug
267.
▲
by
_flux
1y ago
No, it's open weight. You wouldn't call applications with only Apache 2.0-licensed binaries "open source". The weights are not the "source code" of the model, they are the "compiled" binary, therefore
268.
▲
by
_flux
1y ago
Indeed if you're a base jumper with a parachute, you might survive the landing. Ackshually, this seems analogous to Job's diet and refusal of cancer treatment! And it was the cancer that put him at the top of the building in the f
269.
▲
by
_flux
1y ago
Maybe it was intended to refer to RustBelt. I haven't been following their work, though. It seems they are working on stacked borrows.
270.
▲
by
_flux
1y ago
> You can use software rendering for Wayland cases too. There are even OpenGL / Vulkan software implementations. That's actually besides the point I intended, which was to provide an example how little code the X11 client actua
More ›