Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rollcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
361.
▲
by
rollcat
1y ago
The pain of Ansible+Jinja2 is what eventually pushed me to write judo[1]... It works surprisingly well for what it was built for, but of course has limitations (e.g. there's no direct support for a templating language; you just plug en
362.
▲
by
rollcat
1y ago
> I agree that these things are not "grandma can do it" easy [...] That's my entire point. Contrast this process with buying an app on your phone. Insert coin, done; vs insert coin, battle a dragon. > [...] they should
363.
▲
by
rollcat
1y ago
And I want 192.168.1.1 as the IP of my workstation on corporate LAN. Both requirements are completely arbitrary. I guess if you really need that information, you could wait4 and dump pid/rusage to syslog. Nothing more to see here; thes
364.
▲
by
rollcat
1y ago
Don't restart it. Let it crash, but take note of the situation, whatever may help investigation, maybe send out a page, flush pending writes to disk, reboot gracefully, etc. Kernel panic should be the last resort, not the default.
365.
▲
by
rollcat
1y ago
That's more like "I had to trick the OS into thinking that spacebar was held for my application to run at all".
366.
▲
by
rollcat
1y ago
I've ranted about this before, but setting up or migrating semi-selfhosted personal services like that is a lot of hassle, even if you're used to cosplaying as a sysadmin. Migrating DNS providers is a pain - recently done it twice
367.
▲
by
rollcat
1y ago
Tailscale is heavily focused on authorization (authz; what you can do), and considers strict identity verification (authn) crucial to that goal. So they chose to delegate the latter problem to a party that's already solved it better
368.
▲
by
rollcat
1y ago
I'm starting to think Zig's strategy to memory management is generally friendlier to a developer. If a function needs to allocate memory, it must take an allocator as a parameter. If it needs scratch space to perform computation,
369.
▲
by
rollcat
1y ago
YMMV, no warranty, IMHO, etc. Disclaimer: I haven't used k8s in a long while, mostly because I don't really have a good use case for it. You'd need to slightly rethink rollbacks, express them in terms of always rolling forwar
370.
▲
by
rollcat
1y ago
Do this (once): docker context create --docker 'host=ssh://user@remote-host' remote-host Then try this instead: docker -c remote-host compose -f compose.yaml up -d --pull always ^^^^^^^^^^^^^^
371.
▲
by
rollcat
1y ago
The only issue I'm having with systemd is that it's taking over the role of PID 1, with a binary produced from an uncountable SLOC, then doing even more song and dance to exec itself in-place on upgrades. Here's a PID 1 progr
372.
▲
by
rollcat
1y ago
I've been using Docker swarm for internal & lightweight production workloads for 5+ years with zero issues. FD: it's a single node cluster on a reasonably powerful machine, but if anything, it's over-specced for what it d
373.
▲
by
rollcat
1y ago
Your body will disagree with the watch at some point. Imagine being stuck sick at home or in the hospital for an extended period of time - you will lose track of which weekday it is.
374.
▲
by
rollcat
1y ago
I use Notes.app on Mac & iPhone. Haven't found anything I like that would also work on Linux/BSD.
375.
▲
by
rollcat
1y ago
> Don't expect a computer to organize you. If you have a messy desk, you will have a messy computer. That's why Google and GMail got so successful. Don't sort; search.
376.
▲
by
rollcat
1y ago
The definition is pretty arbitrary. It's more interesting, what can we learn by studying that object. Even the trivia, like tidal locking, it was one of my 10000 moments ( https://xkcd.com/1053/ ).
377.
▲
by
rollcat
1y ago
I love the sound of the SID chip, happy to find out about this project as well: https://github.com/frntc/SIDKick-pico 8 Bit Weapon are making some fantastic use of it: https://8bitweapon.bandcamp.com/al
378.
▲
by
rollcat
1y ago
You may be interested in this: https://www.hackster.io/news/building-a-brand-new-c64-96e803...
379.
▲
by
rollcat
1y ago
Look at what's happening in the US right now. People getting snatched off the streets. This is how it starts.
380.
▲
by
rollcat
1y ago
Sometimes failure comes from inherent risks. Sometimes we don't know what we don't know. You can't account for every possible factor, you'll be stuck in analysis paralysis while the world moves on. If we're speaking
381.
▲
by
rollcat
1y ago
In 2012 I've spent almost the entire year hitchhiking around Europe. Mostly alone, sometimes in a small ad-hoc group that would part whenever we had to take different turns. Sometimes there is someone else to blame: a driver who drop
382.
▲
by
rollcat
1y ago
Yes, and these are the websites that aren't behind CloudFlare or some other CDN. The holdouts of the open, independent Internet. Sure, let them burn.
383.
▲
by
rollcat
1y ago
That's my point. You can use a knife to slice bread or to stab your neighbor. We're seeing an unprecedented amount of stabbings. People are getting away with murder, there's no accountability. Refining the stilettos doesn
384.
▲
by
rollcat
1y ago
> There is another level of parallelism that could be exploited within a web site/app. And yes we would have to make our planner rate limit aware for that. People are already deploying tools like Anubis[1] or go-away[2] to cope with
385.
▲
by
rollcat
1y ago
Intel giveth, Microsoft taketh. This is even more sad with Apple. My M1 Mac felt incredibly snappy with Big Sur, but is getting ever so slightly slower with each update. My iPhone SE2 is a complete disaster.
386.
▲
by
rollcat
1y ago
SQLite has a write-ahead log (WAL). You can use Litestream on top of that. You get single RW, multiple readers (you lose the C in CAP), and can promote a reader when the writer fails.
387.
▲
by
rollcat
1y ago
rsync will transmit only the delta between the source and destination.
388.
▲
by
rollcat
1y ago
Depends. Run a benchmark on your own hardware/network. ZFS uses in-flight compression because CPUs are generally faster than disks. That may or may not be the case for your setup.
389.
▲
by
rollcat
1y ago
Yep that was a silly assumption on my part; I've just remembered a story from like 10 years ago. One of my skate buddies, very chill and motivated guy. He's had a terrible accident. He was in his home, mixed alcohol with his new m
390.
▲
by
rollcat
1y ago
That would be a terrible coincidence :,) however improbable, still possible. Even proper high-end server-grade ECC ram guarantees "only" SECDED (single error correction, double error detection).
More ›