I generally prefer small increments yes but I don't shy away from larger changes where necessary. Just like everyone hated reviewing a 4000 line PR before LLMs, we all still hate it now, provided you actually do review things properly and not just tell Claude to do it or skim it lazily.
I wouldn't say I make the LLM restrict it's output, rather I'd say I just don't ask for a lot at once. If I want to create a new page in our web app I'll split it up into multiple tasks - create the new page with the required layout and add it to the navigation. Create a new component we need for this page, put it on the page so it can be tested. Create another component. Add an endpoint to the API for getting the necessary data. Use these existing components and the new ones to build the final page. At each step I test and verify that it works properly, and review the code to make sure it's reasonable. I might make several pull requests or just one depending on the size of the task and what makes sense to me. In general I want a PR to be testable, just a component isn't testable if it isn't used so it has to be used. I also don't do a PR that isn't production ready, so I won't submit a PR with just a test page.
If it's a very simple page where we have most or all necessary components I might just send a screenshot from Figma along with instructions to use existing components and what data to use, CSS variables and whatever else and have it try to one-shot it. I generally don't want a PR to have more than a few hundred lines total. I review and test the code at each step and finally I review the whole PR myself before submitting it to colleagues.
Yeah this is a very very common and fundamental operation in programming. Always use the “refactor” tool in your IDE instead of trying to change every instance of a variable name by hand.
It’s like using a linter: you do it because it’s the right thing to do and doing it without the tool confers no benefit and is prone to error.
> i demonstrated replacing _all_of them at once, not replacing them each by hand.
Not really, that is search and replace. IDE's do typesafe refactoring. If you change the Find method in class A, you should only change occurences of x.foo(), where x has type A. You shouldn't accidentally change all B.find()'s.
That is my advice for everyone completing their first Python tutorial: learn a typed language next if you aspire to do serious work. It also saves you writing many manual tests that you had to make otherwise, as the compiler makes that superfluous. Plus your IDE becomes a superpower.
I generally agree with you, but I do think that terrorism is objectively the wrong way to protest. I’d say the Unabomber’s victims and their families were slightly more than “bothered”.
Because he doesn't know, like so many people on HN, that you can just build smaller models and let them be steered by a bigger model. Everyone thinks you need a trillion parameter model or the model is worthless.
It's the same problem with semiconductor manufacturing, where only the bleeding edge counts when in reality you need a whole spectrum of fabs.
Censorship BS? This is being discussed in every social forum in the country. Divisive topics == divisive attitudes, and in exchange for peace some of us are fine with not talking about some shit in some places.
Dang and team are walking a fine line - telling them to get stuffed is inappropriate and illustrative of why this is a problem in the first place.
edit: Ohhhhhhh the /u is donkey_brains; did I take the troll bait? jfc I hate this timeline
What would happen if someone was to wear clothing with extremely low resistance wires in them? Because that would likely cause rapid heating in the glove, probably causing it to catch on fire by itself, or if especially badly designed, which these probably are, set off a lithium fire in the battery (2000+ degrees, can't be extinguished with water, in fact, really bad idea to try that).
Does clothing with, say, silver wire woven into it exist? I bet people make that. Wear an antistatic vest with a silver wire pullover and I bet that glove will decide to disable itself, or worse.
Sometimes something like a hulking Austrian body builder seems like a weird design for a human killing machine. Then real life suggests people may wear hairy gorilla suits to avoid pain compliance gloves during protests.
They're more for post-detainment torture. They'll keep shooting Black Bloc folks in the face from afar with 40mm tear gas canisters as they do currently.
> “In today’s society, you know, everybody’s filming everything, everybody has a cell phone,” Glueck said. If an officer punches someone on camera, that can go viral in an instant; even a standard taser leaves puncture wounds. But “the glove is low optic, and it looks better on video, and it looks better to those witnesses. With a glove, there are no burn marks or scars.”
reply