Readit News logoReadit News
undeveloper commented on How to effectively write quality code with AI   heidenstedt.org/posts/202... · Posted by u/i5heu
joriJordan · 2 days ago
My tricks:

Define data structures manually, ask AI to implement specific state changes. So JSON, C .h or other source files of func sigs and put prompts in there. Never tried the Agents.md monolithic definition file approach

Also I demand it stick to a limited set of processing patterns. Usually dynamic, recursive programming techniques and functions. They just make the most sense to my head and using one style I can spot check faster.

I also demand it avoid making up abstractions and stick to mathematical semantics. Unique namespaces are not relevant to software in the AI era. It's all about using unique vectors as keys to values.

Stick to one behavior or type/object definition per file.

Only allow dependencies that are designed as libraries to begin with. There is a ton of documentation to implement a Vulkan pipeline so just do that. Don't import an entire engine like libgodot.

And for my own agent framework I added observation of my local system telemetry via common Linux files and commands. This data feeds back in to be used to generate right-sized sched_ext schedules and leverage bpf for event driven responses.

Am currently experimenting with generation of small models of my own data. A single path of images for example not the entire Pictures directory. Each small model is spun akin to a Docker container.

LLMs are monolithic (massive) zip files of the entire web. No one really asking for that. And anyone who needs it already has access to the web itself

undeveloper · 2 days ago
small agents.md files are worth it, at least for holding some basic information (look at build.md to read how to build, the file structure looks like so), rather than have whatever burn double the amount of tokens searching for whatever anyways.
undeveloper commented on Stay Away from My Trash   tldraw.dev/blog/stay-away... · Posted by u/EvgeniyZh
smusamashah · 3 days ago
We need a chrome extension like SponsorBlock, which publicly tags slop contributors. Maintainers can just reject PRs from those users.
undeveloper · 3 days ago
there are 1000x sponsorblock users per (public, large) youtube channel. there are 1000x slop contributors than (public, large) repo
undeveloper commented on Claude Code: connect to a local model when your quota runs out   boxc.net/blog/2026/claude... · Posted by u/fugu2
Aurornis · 4 days ago
> but finding myself asking Sonnet to rewrite 90% of the code GLM was giving me. At some point I was like "what the hell am I doing" and just switched.

This is a very common sequence of events.

The frontier hosted models are so much better than everything else that it's not worth messing around with anything lesser if doing this professionally. The $20/month plans go a long way if context is managed carefully. For a professional developer or consultant, the $200/month plan is peanuts relative to compensation.

undeveloper · 4 days ago
what tools / processes do you use to manage context

Dead Comment

Dead Comment

undeveloper commented on 200 MB RAM FreeBSD desktop   vermaden.wordpress.com/20... · Posted by u/vermaden
heraldgeezer · 19 days ago
Cant wait to boot up my Windows 11 total bloat machine at home and work

I kinda wanna try linux again...

undeveloper · 19 days ago
it gets better every day
undeveloper commented on 200 MB RAM FreeBSD desktop   vermaden.wordpress.com/20... · Posted by u/vermaden
ryan-c · 19 days ago
opens blog post

sees lunduke

closes blog post

undeveloper · 19 days ago
seriously, what's with people's love of this guy? besides politics, I have not seen anything that suggests engineering prowess from this guy, only "rust bad".
undeveloper commented on Harvard legal scholars debate the state of the U.S. constitution (2025)   harvardmagazine.com/socia... · Posted by u/KnuthIsGod
dctoedt · 19 days ago
> The United States is exactly meant to be that: states that are united, but independent. The federal government was never intended to lord over everyone's lives.

That changed in the wake of the South's surrender at Appomattox: The Civil War Amendments explicitly gave the federal government expanded powers. Sure, the southern states were forced to ratify those amendments before Congress would recognize their representatives and senators. But they brought it on themselves; it was one of history's most-horrendous examples of FAFO. And the South was saved from far worse by Lincoln's and Grant's desire to be conciliatory and Andrew Johnson's malign views. (I read a tweet some years ago that Gen. Sherman should have mowed the South like a lawn, with multiple passes.)

undeveloper · 19 days ago
> (I read a tweet some years ago that Gen. Sherman should have mowed the South like a lawn, with multiple passes.)

Nothing validates this view more than looking at the modern republican party. This is especially blasphemous to say after MLK day, who's life was dedicated to attempting the fix the injustices of the south, and who's death is entirely and inarguably a result of the white supremacist views and actions that were perpetuated, emboldened, and exported by the reconstructionist south (not that the north was innocent, far from it, but the majority of the burden inarguably on the south). At minimum the traitors should have been hanged in public view. The desire to be conciliatory has never been less vindicated -- it's not like the south all the sudden decided to adhere to constitution, they had to be forced to anyhow. It's a nice sentiment, but it should have been left at that.

undeveloper commented on Letter from a Birmingham Jail (1963)   africa.upenn.edu/Articles... · Posted by u/hn_acker
JumpCrisscross · 21 days ago
> it is white washed non-violence 'protest and vote harder' nonsense that the history books like to push

My family is largely [EDIT: South Asian] Indian. It’s really not nonsense.

> there was a very real looming rod waiting

The rod was thinly-veiled racial violence and domestic terrorism. It would have been a route towards exterminationist rhetoric and potentially action on both sides. Not civil rights.

Keep in mind, while King was in jail America was in its own telling losing the Cold War. We were behind in space. We drew a stalemate in Korea and were getting routed in Vietnam. A year earlier the Cuban missile crisis had been narrowly averted through diplomacy. King vs. Malcolm is a textbook illustration of the downsides of escalating to violence as a political tool. (And the upsides of refraining from it even if your adversary embraces it.)

undeveloper · 21 days ago
> King vs. Malcolm

Popular history idolizes Dr. King, but without the stick of Malcolm X, King would have been cast aside. Only with both did the movement succeed. An ahistorical false dichotomy. Nonviolence wasn't simply some magic bullet that was magically better than force, it was a political tool that seemed nicer compared to the alternative of force.

> [R]iots are socially destructive and self-defeating. I'm still convinced that nonviolence is the most potent weapon available to oppressed people in their struggle for freedom and justice. [...] But at the same time, it is as necessary for me to be as vigorous in condemning the conditions which cause persons to feel that they must engage in riotous activities [...]. I think America must see that riots do not develop out of thin air. [...] [A] riot is the language of the unheard. And what is it that America has failed to hear? It has failed to hear that the plight of the Negro poor has worsened over the last few years. It has failed to hear that the promises of freedom and justice have not been met. And it has failed to hear that large segments of white society are more concerned about tranquility and the status quo than about justice, equality, and humanity. And so in a real sense our nation's summers of riots are caused by our nation's winters of delay. And as long as America postpones justice, we stand in the position of having these recurrences of violence and riots over and over again. Social justice and progress are the absolute guarantors of riot prevention.

- Dr. MLK.

> India in relation to nonviolence

The Indian case is arguably one of the best cases for violence against a colonizing force. Ghandi brought eyes of the common people towards India and created internal pressures, and additionally functioned as a unifying figure, but without indian revolutionaries nothing would have happened.

undeveloper commented on Letter from a Birmingham Jail (1963)   africa.upenn.edu/Articles... · Posted by u/hn_acker
Rperry2174 · 21 days ago
I think the underappreciated part isn't "violence vs non-violence", but the role that malcolm x and black pathners actually played.

They weren't primarily organizing armed revolt.. it was more about the idea that they were articulating moral clarity. They were, in the most credible way, refusing to accept endless delay.

This allowed them to shift the baseline of what was politically tolerable.

In that sense, the movements worked collectively because of a kind of good-cop/bad-cop dynamic. MLK JR offered a path to reform that felt (to some) constructive and legitimate _because_ there was a visible alternative that many people udnerstood as worse.

I think violence is already far to prominent today, but I think successful movements do need both moral persuasion (if morality is still a thing that persuades) and _also_ a credible way of making inaction feel unsafe.

undeveloper · 21 days ago
> good-cop/bad-cop

The first essay in "How to Blow Up a Pipeline" deals with this dichotomy and how it's been used many times. Great read.

u/undeveloper

KarmaCake day425October 1, 2025View Original