Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spiffyk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
spiffyk
1y ago
> how do you write a map function? Or filter, find, etc. You just don't. Zig does not have lambdas anyway, there's no readability incentive to having such functions there. You do these things with plain old loops built into t
62.
▲
by
spiffyk
1y ago
I think the more important question here is: What operations would you possibly want to do with a linked list that are generic and at the same time do something with the concrete data in it? To me these complaints sound like hypothetical
63.
▲
by
spiffyk
1y ago
For better or worse, the Zig community has long been embracing the `@fieldParentPtr` builtin as the primary way to do things like OOP-ish inheritance, so this change feels pretty in-character for the language to me.
64.
▲
by
spiffyk
2y ago
Can't help but notice he's basically knowingly "donating" the code to multi-billion corporations to train their LLMs on (while in general those same corporations source their training data in ethically questionable ways)
65.
▲
by
spiffyk
2y ago
I just learned of Numbers' existence, as I haven't seriously used a MacBook ever, but I'm curious, why would they block it?
66.
▲
by
spiffyk
2y ago
Nothing to see here, just a real-life Xenomorph from the Aliens franchise. Absolutely not scary or anything.
67.
▲
by
spiffyk
2y ago
> public IPs affordable Not until we start considering all non-IPv6-supporting ISPs to be a no-go.
68.
▲
by
spiffyk
2y ago
Thanks for sharing! No immediate use-case for me right now, but good to know something like this exists. I wanted to point out little nitpicks for the documented shell invocations: cat example.md | mdq '# usage' This ca
69.
▲
by
spiffyk
2y ago
I've had my phone on vibrate for so many years I barely even remember what ringtone I have. But these do sound nice. May end up with a mixture of 102 and 103 maybe for the short periods I do not want to miss a call ;)
70.
▲
by
spiffyk
2y ago
It definitely is possible to detect and, in cases where this is desirable, the lower layers do do that. One example, I remember when Firefox added the "audio playing" tab indicator (back then it was a speaker icon, now it says &qu
71.
▲
by
spiffyk
2y ago
The AudioContext itself is not the source of the white noise. It just causes the DAC (sound card) to power on, which probably emits some noise by itself.
72.
▲
by
spiffyk
2y ago
Well, Java did not break existing code, they added the new code alongside the old one. Just like JavaScript seems to be doing years later.
73.
▲
by
spiffyk
2y ago
While they have done stuff with QUIC, this more recent blog from Daniel [1] seems to indicate the situation is still not quite ideal. [1]: https://daniel.haxx.se/blog/2024/06/10/http-3-in-curl-mid-20...
74.
▲
by
spiffyk
2y ago
Now that is not really fair. For an RFC to be accepted as standard, it needs to have functioning implementations. The code and the specifications come hand-in-hand.
75.
▲
by
spiffyk
2y ago
From `malloc(3)`: Nonportable behavior The behavior of these functions when the requested size is zero is glibc specific; other implementations may return NULL without setting errno, and portable POSIX programs should tolerate
76.
▲
by
spiffyk
2y ago
They seem to be public. A simple "University of Washington swagger" search turned this up: https://itconnect.uw.edu/tools-services-support/data-reporti...
77.
▲
by
spiffyk
2y ago
There is a specialized `@Vector` builtin for SIMD operations like this.
78.
▲
by
spiffyk
2y ago
Wholeheartedly agree with this! When I was working on Knot Resolver, I did a pretty successful rewrite of its I/O. The original one was a mess, but of course a lot of it did make sense in the grand scheme of things - it's only tha
79.
▲
by
spiffyk
2y ago
Zig is nowhere near mature enough to be considered for the kernel yet. There are breaking changes to it regularly still - which is a good thing for Zig now, but not so good for huge, long-lived codebases like Linux. Also compiler bugs happe
80.
▲
by
spiffyk
2y ago
These limits are not immutable, web standards grow by the day, keeping up with the performance development as much as the apps themselves. There's already WebGPU, so 3D graphics already is a thing on the web. Also, case in point, t
81.
▲
by
spiffyk
2y ago
I almost never install an app unless absolutely required to either, but you talk as if web apps weren't some of the worst offenders in the matter of performance wasted.
82.
▲
by
spiffyk
2y ago
These effects are all pretty, but like... there should be some sort of media query for devices that are not that powerful (or their owners simply do not wish to burn through their batteries just to read a website). It gets pretty annoying t
83.
▲
by
spiffyk
2y ago
Awesome, thanks! One more set of questions: was there something you would call an "it's alive!" moment in the beginning of the project? A part where it would start to get _really_ fun for you? If so, what was it and how long
84.
▲
by
spiffyk
2y ago
Very cool! How much time do you dedicate to this, in terms of hours per week? Looks like a lot of work has gone into it! You say you're a student on your profile - does that mean university? If so, have you also worked on the OS direct