Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rollcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
511.
▲
by
rollcat
2y ago
Like what Mozilla was supposed to be doing all along?
512.
▲
by
rollcat
2y ago
Firefox will be just fine. Mozilla CEO bonuses however...
513.
▲
by
rollcat
2y ago
Sounds like Go to me! Every single function that can fail has to return an error value, which is nil if you have succeeded. I love Go, but its error handling leaves so much to be desired. I even have an Emacs macro that inserts "if err
514.
▲
by
rollcat
2y ago
> [...] the classical sense. Which one? Fuzzy logic, ANNs, symbol processing, expert systems, ...? It's always entertaining to watch the hype cycles. Hopefully this one will have a net positive impact on society.
515.
▲
by
rollcat
2y ago
Yep 9front is alive and well. They're occasionally adding new drivers, fixing bugs, making semi-regular releases, dog-fooding the thing daily, etc. Also the artwork/banter is top-notch (if you ignore a couple loud controversies).
516.
▲
by
rollcat
2y ago
I think it has to do a lot with C vs Alef/Limbo. Go has had a strong influence from P9-flavoured C; the first Go compiler was derived directly from P9 CC, and it took the route of generating machine code rather than using a bytecode VM
517.
▲
by
rollcat
2y ago
Move fast and kill things?
518.
▲
by
rollcat
2y ago
The ends do not justify the means. These means can easily lead to a nightmare. We've been through that a century ago. Look up Dehomag. Never Again.
519.
▲
by
rollcat
2y ago
GvR always prioritised ease of debugging over performance, and honestly I'm in the same camp. What good does a fast program do if it's incorrect? But I think you can get a fine balance by keeping a recent call trace (in a ring buf
520.
▲
by
rollcat
2y ago
That's why you post the seed. If Diablo seeds the RNG from the current time, the rules should at least require posting the approximate time range (e.g. down to a minute). NTP also isn't hard. Minecraft allows the use of an externa
521.
▲
by
rollcat
2y ago
I think some of these recommendations, while overall excellent, are somewhat self-contradictory. For example, functions that are no longer than one screenful, AND ban on function pointers, AND the general rule to keep the codebase readable.
522.
▲
by
rollcat
2y ago
All of these guidelines are perfectly applicable for modern mission-critical or embedded code, which is a big chunk of what NASA does (sending stuff into space, including people, and keeping it operational / bringing them back), and be
523.
▲
by
rollcat
2y ago
Eh these kinds of runs pop up all the time in the speedrunning scene. Busting fake runners is an easy way to make views on YT. First signal is when it's from a person who doesn't have a history of consistent achievements on the pu
524.
▲
by
rollcat
2y ago
I was thinking of a Lisp/Scheme-like frankenshell for a while. A REPL language (and especially a shell) should focus on ergonomics first - we're commanding the computer to do stuff here and now, not writing elaborate programs (usu
525.
▲
by
rollcat
2y ago
> You're not getting replaced by AI. You're getting replaced by a coworker using AI. How long until people realise AI cannot take responsibility? Sure, that coworker can do 10% more coding. But can they handle 10% increase in m
526.
▲
by
rollcat
2y ago
> Then you are answering the wrong question. I want a "web native" answer and proposed a simple modification of existing Web APIs. I don't see why this mechanism shouldn't be available both on the web and in native ap
527.
▲
by
rollcat
2y ago
Look up CloudKit[1], many of these questions have been answered for Apple-native apps, but perhaps it's not obvious how to translate that to the web-world, or how to keep the object storage decentralised (but self-hosted shouldn't
528.
▲
by
rollcat
2y ago
I would still prefer to have my stuff synced between devices. Files are OK for data that doesn't change much (your music/photo/book library) - Syncthing works great there. CRDTs allow for conflict-free edits where raw files s
529.
▲
by
rollcat
2y ago
> But then you've got to figure out and prevent all the security holes that can be introduced by adding file access, networking, etc. [...] Maybe put the whole thing into a container? Since this is an emerging ecosystem, why not tak
530.
▲
by
rollcat
2y ago
I'm slowly shifting in that direction as well, but the libraries built around this style are far less mature / mainstream. Django is the "boring" solution and gets hella work done.
531.
▲
by
rollcat
2y ago
Well exactly my point. I'm "still" using an M1 Mac mini as my daily driver. 6W idle. In a desktop. It is crazy fast compared to the Intel Macs of the year before, but the writing was already on the wall: this is the new low-e
532.
▲
by
rollcat
2y ago
OK so I see that I didn't appreciate the complexity here. So even a "trivial" compositor like xcompmgr, that runs alongside a WM, has to do all of this dance? The WM still has the authority to tell X, "draw this window h
533.
▲
by
rollcat
2y ago
> How much time do you have? Exactly one lifetime ;) > A proper standardized client library should need 1 LOC for that. Agree. See my sibling comment: https://news.ycombinator.com/item?id=43016206 Something like wlroo
534.
▲
by
rollcat
2y ago
Compositors under X11 were about adding drop shadows & translucency to windows, and occasionally inducing motion sickness. A Wayland compositor should be thought of as a display server, like Xorg (plus the WM, minus the legacy cruft). Y
535.
▲
by
rollcat
2y ago
I think that's the biggest difference between SC 1&2, although the former is still being nudged a bit through map design. SC2 in its first decade has been about always keeping the game fresh - new units, new spells, adventurous cha
536.
▲
by
rollcat
2y ago
Can we talk about how absolutely terrifying is that 600W figure? We're not transcoding or generating slop as the primary use case, we're playing computer games . What was wrong with the previous-generation graphics that we stil
537.
▲
by
rollcat
2y ago
> FWIW, personally, I'd rather go the full-Python, using newlines as delimiters: I love Python - mostly, but significant whitespace is its worst curse, and I'd love new languages to move away from the idea. I enjoy Rust because
538.
▲
by
rollcat
2y ago
> The protocol makes wrong abstractions at the lowest level which causes problems everywhere else. Can you point out any specifics? I think both the low-level operations (allocate some shared memory for a surface, agree on a pixel format
539.
▲
by
rollcat
2y ago
Wayland is both late and early. Late in the sense that OS X has had Quartz from the beginning, and Vista started the move to DWM; meanwhile the Linux community was patting itself on the back because Compiz looked cooler than either of those
540.
▲
by
rollcat
2y ago
Emacs. 20 years and all that time I wished I could get rid of it, but every other editor/IDE I've tried lacks a feature (or ten). Debian. Moves at its own pace, flexible yet stable enough to cope with my idea of a smart move. Go.
More ›