Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Zambyte
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
781.
▲
by
Zambyte
1y ago
I wish developers of consumer applications wouldn't assume anything about me, and would let me use my computer to my whims of the moment.
782.
▲
by
Zambyte
1y ago
My comment is explaining how > A good API should just accept either,e.g. the union of []byte and io.Reader. could be done. Can you elaborate on how the fact that io.Reader is an interface lets you accept a []byte in the API? To my knowle
783.
▲
by
Zambyte
1y ago
The only interesting thing about Grok is using it hooked up to the X firehose to query about events in real time. Unfortunately it sucks at that.
784.
▲
by
Zambyte
1y ago
One option would be to accept an interface{} and then switch on the type.
785.
▲
by
Zambyte
1y ago
(Windows subsystem) for (Linux)
786.
▲
by
Zambyte
1y ago
The parent comment to mine did that.
787.
▲
by
Zambyte
1y ago
I'm a little confused by the context of this since I don't speak French, but it seems like you're unfamiliar with the OpenELM family of models. https://huggingface.co/apple/OpenELM
788.
▲
by
Zambyte
1y ago
I'd be interested in a case against AGI now. Can you define "general intelligence" in a measurable way (even subjectively) that includes things usually considered to have general intelligence (at least humans) but doesn'
789.
▲
by
Zambyte
1y ago
Nothing. You probably though I said "VPN over a VPS", which would just be the same as a VPN, which isn't composing the solutions.
790.
▲
by
Zambyte
1y ago
These solutions are composable. Just run it on a VPS over a VPN.
791.
▲
by
Zambyte
1y ago
This seems pretty nice, but fair warning to anyone planning on checking this out, it's actually just a trial version, and the full version is $8. Not too expensive, but doesn't feel great to me that this information is completely
792.
▲
by
Zambyte
1y ago
One option is to use asserts that are only included in debug builds. That way any incorrect call of the function will crash the program in debug builds, but will have the performance benefits of the lifted conditional checks in release buil
793.
▲
by
Zambyte
1y ago
It can be. The nice thing about AI is that it can create much faster than humans. The problem with AI is that it can create wrong information much faster than humans. This can pollute the sources of information for future AI. Also conside
794.
▲
by
Zambyte
1y ago
Just happened to find this article, seems to do a good job of explaining why. https://news.ycombinator.com/item?id=44013455
795.
▲
by
Zambyte
1y ago
For syntax, maybe this general Lisp advice will help: consider a normal function call, like f(a, b). To make this into a Lisp function call, drop the unnecessary comma (whitespace is enough to separate tokens) like f(a b), and then move the
796.
▲
by
Zambyte
1y ago
It is all but impossible to use Kotlin without an IDE telling you everything, and for that I find the language interesting. And for comparison, I did in fact write Java without an IDE for an extended period of time.
797.
▲
by
Zambyte
1y ago
> Sadly Julia is practically just unusable beyond quite niche purposes. Why? Just the ecosystem?
798.
▲
by
Zambyte
1y ago
Welcome to the magic of Zig, where ideas that can't actually work actually do work :-) const std = @import("std"); pub fn main() !void { var not_heap_memory: [1024]u8 = undefined; var fixed_buffer_a
799.
▲
by
Zambyte
1y ago
Maybe not Zig the language, but the fact that all allocating functions in the standard library accept an allocator (and community libraries follow this precedent) does give you much more control in practice. For example, how would you use a
800.
▲
by
Zambyte
1y ago
It also could mean you don't need to learn beyond a certain point.
801.
▲
by
Zambyte
1y ago
From the link you shared: > It uses low-level mechanisms from the Nix package manager, but packages are defined as native Guile modules, using extensions to the Scheme language—which makes it nicely hackable. Also check out: https:/
802.
▲
by
Zambyte
1y ago
I used it fairly regularly with a device called NexDock, which is essentially just a laptop shell that acts as a screen, a keyboard, a track pad, and a battery for a USB-C connected device. I mostly used it for web browsing, chatting, and T
803.
▲
by
Zambyte
1y ago
I have been using Zig a lot lately, and I just want to share the equivalent of the let-else solution in Zig: const user = getUser() orelse return error.NoUser; If you only need user for a narrow scope like you would get from match,
804.
▲
by
Zambyte
1y ago
Interesting! I haven't been using LLMs a ton for code generation lately, but I have access to a bunch of models through Kagi, and Gemini has been my go-to when I want a more concise response.
805.
▲
by
Zambyte
1y ago
Anti-personnel computers also do exactly what they're intended to do. The interests of the subject are not considered a priority, just like with mines. > otherwise why would the user even get them? Why does a moth fly into a flame?
806.
▲
by
Zambyte
1y ago
This was very pleasant to look at on my Daylight Computer :)
807.
▲
by
Zambyte
1y ago
I believe a very high percentage of Guix users use nonguix[0] (including myself) [0] https://gitlab.com/nonguix/nonguix
808.
▲
by
Zambyte
1y ago
To be fair, Guix was originally a Nix fork, so dismissing it was "just" a Nix fork doesn't seem that out there. I believe at this point all original Nix code has been replaced and Guix has completely diverged and is also awes
809.
▲
by
Zambyte
1y ago
I also use Guix. Quickly skimming the article, I don't see anything that jumps out that Guix does all that different. What are you suggesting?
810.
▲
by
Zambyte
1y ago
Why? Quantum safe cryptography is mostly interesting right now in the context of defending against store now, decrypt later attacks. That doesn't seem helpful here, because they'll still need to decrypoit for training. Did you mea
More ›