Readit News logoReadit News
apex_sloth commented on Toolkit to help you get started with Spec-Driven Development   github.com/github/spec-ki... · Posted by u/mooreds
apex_sloth · a month ago
I played with this extensively on hobby projects (music visualizer Wayland widget for example) and I like the idea. I like coming up with cool stuff and solutions. The problem is I'm just not disciplined enough, it makes me lazy. The longer I uses it, the less code I read myself and just fire quick /implement loops and go do something else, thinking it should be straight forward. As other have pointed out, AI still needs a lot of hand holding and there are a lot of necessary decisions to make that one usually only realizes while actually building it.
apex_sloth commented on CRDTs: Convergence without coordination   read.thecoder.cafe/p/crdt... · Posted by u/0xKelsey
Arcuru · 2 months ago
Shameless plug: I'm betting that a lot of applications could use some form of CRDT as a Database, which would allow a fully decentralized backend/database for local-first apps. So I've been building one.

Still working on good blog posts to explain and introduce it though.

https://github.com/arcuru/eidetica

apex_sloth · 2 months ago
That looks awesome! Do you have any metrics on storage space and query/insert performance for large amounts of data? Building something that has couple of million rows.
apex_sloth commented on Software update bricks some Jeep 4xe hybrids over the weekend   arstechnica.com/cars/2025... · Posted by u/gloxkiqcza
pankalog · 2 months ago
I recently worked at a big home lighting company, working on the OS of the router device that communicates with the light bulbs themselves and the internet/user.

Our OTAU architecture uses A/B system updates [1]. Core idea is that both the kernel and the rootfs (read-only) partitions had 2 different bootslots in storage, and the OTAU would only write to the bootslot that is unused. Hence, if something went wrong, the system would automatically fallback to the previous version by just switching the bootslot used. Over the numerous years that that architecture was used, I couldn't find a single post-mortem that resulted in devices being bricked. Something to note is that the rootfs partition was overlaid with a writable partition for persisting state data etc.

Now that was a $two-figure USD device, not a $5/6-figure USD electric SUV. Is this a cost-cutting measure? At those price levels, doubling your NAND size is not even half of a percent of the total cost of the vehicle.

Unless there was a serious issue that the used bootslot corrupted the unused bootslot, then I don't see how this could have happened.

It's saddening that car manufacturers are so unserious about the code they're deploying.

[1] https://source.android.com/docs/core/ota/ab

apex_sloth · 2 months ago
We used to do that with device that where in difficult to reach places with harsh uptime requirement! Think industrial routers and protocol converters. I think it pays for itself very quickly. Sending someone for such a device can get expensive.
apex_sloth commented on Ash Framework – Model your domain, derive the rest   ash-hq.org/... · Posted by u/lawik
bluehatbrit · 7 months ago
I'd love to hear from someone who's shipped a product into production with Ash. I've been considering using it for a new project but I'm a bit weary of introducing a whole second language. With it being macro based rather than functions, I can't help but think it might be tricky to break out of for areas where its opinionated approach don't fit so well.
apex_sloth · 7 months ago
Only half a data point: I played around with it for a private project. It works but the documentation is far from good enough for production. I was even considering getting the book, but it's not out yet. In my humble opinion, normal documentation should be enough to understand a framework, otherwise you can't expect anyone beyond hobbyist and enthusiast to pick it up. "Break out" is definitively part of the design goals, so I always felt like they put a hatch.
apex_sloth commented on Stoicism's appeal to the rich and powerful (2019)   exurbe.com/stoicisms-appe... · Posted by u/Tomte
mjburgess · 9 months ago
> prudence, fortitude, temperance, and justice

I adopt rather the opposite virutes. Imprudence, risk, throwing-your-self-at-a-wall-until-you-cant, intemperance (conflict, debate, disagreement, competition) and pragmatism (address what is rather than what should be).

Behind each of the stoic virutues is a psychological position to dettach, dissociate and live in a more abstracted conceptual space. This can be theraputic if you are in grief, etc.

Outside of that, personally I think: attach too much, risk more than you ought, and participate in the world ("dirty your hands") by making the best of it, rather than anything more abstract.

Professors of stocism like to make a virute of dying quiety -- this i think absurd. If the plane is falling from the sky, i envy the people screaming -- they have the right levels of attachemnt to their own lives.

apex_sloth · 9 months ago
There seems to be the notion in a lot of comments that Stoicism is about acting against one's nature or surpressing ones emotions.

For me, on the other hand, it was very freeing to encounter Stoicism, because I felt like it was okay that I didn't feel or react as strongly as people around me expected me to.

apex_sloth commented on State of emergency declared after blackout plunges most of Chile into darkness   cnn.com/2025/02/25/americ... · Posted by u/impish9208
xenadu02 · 10 months ago
Generators must synchronize with the grid. Huge spinning rotor masses that will experience tremendous forces to coerce them into matching an RPM that corresponds to the grid's frequency.

Frequency is also impacted by load: the greater the load on the generator the more torque required at its input shaft to maintain the same RPM. If the generator's input engine is already at max torque then RPM must decrease all else equal. That in turn requires that every other generator on the grid also slow down to match.

When a huge chunk of generating capacity disappears there isn't enough power feeding the remaining generator input shafts (all else equal) to maintain RPM so the grid frequency must drop. That tends to destroy customer equipment among other problems.

Generators are motors and motors are generators. If the capacity disappears too quickly the grid _drives the generator as a motor_ potentially with megawatts of capacity all trying to instantly make that 100 ton rotor change from 3600 RPM to 2800 RPM or whatever. Inertia puts its $0.02 and the net result is a disintegrating rotor slinging molten metal and chunks of itself out while the bearings turn into dust.

Protective equipment sees this happening and trips the generator offline to protect it. Usually the coordinating grid entity keeps spare capacity available at all times to respond to loss of other capacity or demand changes. This is also the point of "load shedding": if spare capacity drops below a set level loads are turned off.

If spare capacity is not maintained or transmission line choke points present problems then capacity trip outs can cause progressive collapse as each generator sees excessive load, trips, and in turn pushes excess load to the next generator. If your grid control systems are well designed they can detect this from a central location and command parts of the grid to "island" into balanced chunks of load/capacity so the entire grid does not fully collapse.

Of course when you want to reconnect the islands it takes careful shifting of frequency to get them aligned before you can do that.

If all generators collapse you end up in a black start situation that requires careful staging lest more load than you expected jumps on the grid (maybe due to control devices being unpowered or stuck somewhere), triggering a secondary collapse.

Caveat: not a grid engineer so I may have gotten some of this wrong but hopefully it helps anyone who wonders why load shedding exists or how a grid can "collapse" and what the consequences are if you don't do those things and just let it ride.

apex_sloth · 10 months ago
An interesting side effect of that is one can use the grid frequency to coordinate emergency power response - individual nodes (batteries, peaker plants, etc.) can react directly to the frequency measurement with generation or load, thus stabilizing the grid. Too much energy is equally an issue. Usually it's called fast frequency response these days.
apex_sloth commented on Fast Cash vs. Slow Equity   blog.nateliason.com/p/fas... · Posted by u/jger15
anovikov · 10 months ago
Equity business is thoroughly inaccessible to the vast majority of people, especially the IT people. It requires being an insider at least to a degree, and it requires apart from knowledge and skills, at least some luck.

I've seen a lot of extremely bright, talented and hardworking people trying to play that game - all failed, some ruined their entire lives simply for refusing to give up for too long. While those who went into cash business - as simple as an outsourcing shop - are almost all doing fine.

Nudging people to try for "equity business" is a dangerous advice to give.

apex_sloth · 10 months ago
Could you elaborate on that? How come it requires being an insider? What constitutes an insider?
apex_sloth commented on Ask HN: How do you backup your Android?    · Posted by u/Openai2
apex_sloth · a year ago
Restic over termux triggered by Tasker to s3 (backblaze) . Addionally syncthing to my laptop. Sounds unnecessary complicated, because it it's.

Deleted Comment

apex_sloth commented on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?    · Posted by u/zackoverflow
apex_sloth · a year ago
One. Letter. At. A. Time.

u/apex_sloth

KarmaCake day52July 13, 2020View Original