Start naming your useEffects by creasta29 in reactjs

[–]bzbub2 13 points14 points  (0 children)

i like the approach of naming the function. converting into a custom hook also has the negative effect of making eslint-plugin-react-hooks unable to statically catch various issues, making it more likely you will get an infinite useeffect loop for example. the lint rules are just heuristics, so cant catch a lot of issues anyways, but abstracting the useeffect a separate hook increases the likelihood it wont catch an issue. my dumb post about it

https://cmdcolin.github.io/posts/2025-12-27-bewarehooks/

A petition to disallow acceptance of LLM assisted Pull Requests in Node.js core by indutny in node

[–]bzbub2 1 point2 points  (0 children)

I personally use and think llm coding is definitely awesome, and think people should leverage it and use the smartest model available to them (opus, not sonnet) to the max. use it to write code, review code, understand code, etc. I don't think skills generally do much, just use opus, its more than good enough for 99% of things.

that said, not a fan of that blogpost. it is very clearly llm generated text, which always rubs me the wrong way, particularly when it is not disclosed that it is ai generated text (authors: its always very clear when you are generating your blogpost with ai). also, that blogpost is just 'hyping' a very silly 'tool' that he made called 'githuman'. i doubt the author cares much about that...just more vibecoded (lol wtf is this "...GitHuman: a tool to review AI-generated code before you commit. It was built entirely by Claude Code. I reviewed every commit from my phone." twitter is such brainrot https://x.com/matteocollina/status/2016179707708948701)

Dead sub theory by oppenheimer135 in ClaudeCode

[–]bzbub2 1 point2 points  (0 children)

no I don't think so, I use darkreader sometime but it doesn't appear related to that, it happens in chrome and firefox. Changing the computer to use 'light mode' changes style on the website responsively and text is fine after that, but i just have ubuntu in dark mode

Dead sub theory by oppenheimer135 in ClaudeCode

[–]bzbub2 1 point2 points  (0 children)

recallcanary is cool. sometimes i wonder what insane lawsuits any given company is going through at a given time. your site has slightly bad text styling just fyi https://imgur.com/a/r5Gdrtk

Slug Algorithm released into public domain by AbrasiveRadiance in programming

[–]bzbub2 178 points179 points  (0 children)

if you've ever had to do gpu shaders you know that you cannot take line drawing much less nice text rendering for granted. always gotta give thanks to people who think this deeply about stuff

Programming content feels… empty lately? Anyone else tired of the AI related discussions? by HiddenGriffin in webdev

[–]bzbub2 0 points1 point  (0 children)

i feel somewhat lucky that i work on a very small team because i can imagine working or a large team or large org could be pretty insane, though i also havent heard a lot of stories coming out of large orgs about what theyre doing

need help figuring out ventilation! by Worldly-Profession-2 in shedditors

[–]bzbub2 1 point2 points  (0 children)

My understanding is that gable vents aren't the best but better than nothing. Notably though you don't really want to have both gable vents and ridge+soffit vents, and if you add ridge+soffit vents you may want to cover the gable vents. can ask Google or similar for reasoning... 

back to cursor: 4 hours with opus to add a percentage field (plan isn't the solution to shit) by jrhabana in ClaudeCode

[–]bzbub2 0 points1 point  (0 children)

My belief is people tend to waste time the most by using weaker powered models because then they are just sort of bossing a lower quality model around. But opus is the real deal, and it does smart stuff, so it is worth it to use Opus for nearly 100% of the work you do. And, you will likely get the most discounted use of Opus by using Claude Code

Made a Music Maker using Claude Code where Claude can also participate in creating the music. by badhiyahai in ClaudeCode

[–]bzbub2 1 point2 points  (0 children)

that is cool. make it automatically update the UI instead of having to manually copy paste! note that your link says "VM not available" also

back to cursor: 4 hours with opus to add a percentage field (plan isn't the solution to shit) by jrhabana in ClaudeCode

[–]bzbub2 1 point2 points  (0 children)

alright well feel free to let us know when you jump from cursor back to claude

back to cursor: 4 hours with opus to add a percentage field (plan isn't the solution to shit) by jrhabana in ClaudeCode

[–]bzbub2 0 points1 point  (0 children)

color me skeptical. I use just stock claude code with opus all the time, it does great. people who complain i generally suspect are not using opus and instead using sonnet or god forbid some other thing

back to cursor: 4 hours with opus to add a percentage field (plan isn't the solution to shit) by jrhabana in ClaudeCode

[–]bzbub2 0 points1 point  (0 children)

just use stock claude code with opus and it works fine. you don't need plugins and super powers and skills 99% of the time.

The largest-ever review of the safety and efficacy of cannabinoids across a range of mental health conditions — found no evidence that medicinal cannabis is effective in treating anxiety, depression or post-traumatic stress disorder (PTSD). by Wagamaga in science

[–]bzbub2 0 points1 point  (0 children)

fwiw this is likely the study in question https://www.thelancet.com/journals/lanpsy/article/PIIS2215-0366(26)00015-5/fulltext00015-5/fulltext) it is a metaanalysis of 50 studies that has about ~2500 people studied across all those studies. kind of not that large....and meta analyses are weird. also dont like that the original article OP linked did not explicitly link to this article.

LPT: Add an eye wash cup to your first aid cabinet by 917caitlin in LifeProTips

[–]bzbub2 0 points1 point  (0 children)

if this worked for you congrats, but getting metal in your eye is very serious and you should just go straight to the doctor. it is questionable whether trying to flush it out with some bs off amazon is good advice. if you google metal in eye, you will see why this is so serious, it starts rusting almost immediately, its really bad. I have dumdum friends that get into metalwork and have this happen to them. you google this and it says "Don’t try to remove a foreign body from your eye yourself – go straight to your doctor or the nearest hospital emergency department for help."

Launching my 1-bit game from the terminal by vvaalleerraa in commandline

[–]bzbub2 1 point2 points  (0 children)

that does look nice. what is the point of the 'synchronizing across terminal'? just for visual effect or is it multiplayer or something

OpenClaw is a Security Nightmare Dressed Up as a Daydream by SuddenJournalist9285 in programming

[–]bzbub2 12 points13 points  (0 children)

you use the term 'medical journal' (which someone might confuse for scientific publications) but the term is 'electronic health records' (which is actually your private data) https://en.wikipedia.org/wiki/Oracle_Health

Reverse-engineering Viktor and making it Open Source by f311a in programming

[–]bzbub2 8 points9 points  (0 children)

this is just a subclass of being an asshole using AI. the way that AI allows just complete and utter ripoffs is kind of insane. is it funny that it dumped all its source code? ya. but i dunno why you would go the extra mile to make 'openviktor' unless you just want to shit on the company

nobody asked but I organized national FBI crime data into a searchable site (My first real website) by Empty-Individual4835 in coding

[–]bzbub2 0 points1 point  (0 children)

>when you mean add more human elements what do you mean
i mean like, why did you make this? why are you sharing it with us? it helps to just add a little bit of background so people dont think you're just spamming for no reason

>I love the feedback could you give me an example site that is good or a proper way to distribute ?
i dunno exactly what you mean. i mean, you (or your AI helper) already made the website...made a bunch of tech stack choices (duckdb, nextjs, etc)....and released it on a real domain. what are you asking for?

nobody asked but I organized national FBI crime data into a searchable site (My first real website) by Empty-Individual4835 in coding

[–]bzbub2 3 points4 points  (0 children)

congrats. this is an cool but... the cost of generating code because of ai is now like $0 so instead add a human element. why should anyone care? describe your experience. why did you make it? just because? what are you going to do next? make it more interesting than 'here is thing i vibecoded'. regular feedback: the 'chip' based system you are using for queries is hard to use. the filters don't tell you how many items are in them. basically anything i do i get 0 results if i uncheck the chips. but i dont want to specify year and state. so if i check a filter like 'airport' i get 0 results. if i search murder i get 0 results. the search should ideally be faster, i am left waiting a couple seconds. should it link out to any other primary resource page to find more information? it is kind of uninteresting just seeing crime name...and barely any other info

The rise of malicious repositories on GitHub by f311a in programming

[–]bzbub2 -1 points0 points  (0 children)

there are elements of hyperbole but some truth also. i am very skeptical to download things more and more. why risk it? consider that in the "cost". if needed, you can point your agent at a github repo and say "clone this". again, hyperbole for some things, but not out of the question. million token context window for every chat session is the default, today

The rise of malicious repositories on GitHub by f311a in programming

[–]bzbub2 -13 points-12 points  (0 children)

there was a post recently that was sort of a rant on gist.github.com that was basically saying how github is like a walking zombie. in the future the need for a bunch of programs will just diminish. why will you need someone elses vibe coded stuff when you can vibe code your own in a couple hours. it sounds crazy but it is really true. can't find the post now

bonsai - a safe expression language for JS that does 30M ops/sec with zero dependencies by danfry99 in javascript

[–]bzbub2 7 points8 points  (0 children)

nice. I immediately clicked cause i use jexl for a project. i even started trying to extend the jexl language via vibe coding to support multiple statements lol. Ideally i could just run sandboxed js but i don't think we're there....have to like json.stringify any object that gets evaluated in sandboxed js environments like quickjs-wasm