HNHacker News
TopNewBestAskShowJobs

schwartzworld

3,599 karma · joined January 22, 2019

submissionscomments
schwartzworld··on Arizona resident dies from the plague
Who was advocating for leaving your nose out? We used to make fun of the morons we saw doing that.

Frankly, I’m sad masks aren’t still more of a thing. I don’t want to wear one all the time, but if you’re sick and need to be in a public place, throw one on out of consideration for your peers.

schwartzworld··on The ChompSaw: A Benchtop Power Tool That's Safe for Kids to Use
I actually think this isn’t really an “at home” toy. A couple of these in an elementary classroom or a library or even a community maker space, make a lot of sense, since the building material is basically free.
schwartzworld··on Let Kids Be Loud
> I've raised three kids who have not had repeated meltdowns

Mazel tov. Unfortunately for parents who aren't you, the act of providing the "consistency" you're advocating for, often DOES require dealing with repeated meltdowns, or even just maddeningly repetitive questions of "why not". Children are born wild animals (not yours, of course), and raising them is the act of civilizing them.

If there's one thing that annoys me about other parents, its seeing or hearing about someone dealing with a difficulty that your kids didn't have, and then patting yourself on the back for being a better parent. Every time you explain something to your kids, they just got it and stopped bothering you about it? Trust me when I say, you are in the minority.

> meltdowns over hearing an ice cream truck

I know for a fact, it just wasn't an issue when I was a kid, or even in our neighborhood until this year, when the trucks started parking on our street after school. For many children, that is a time of the day when they are exhausted and unlikely to be reasoned with. Maybe it's a sign their parents are "inconsistent" or whatever, but I maintain that there is a difference between a truck stopping by once every hour or 4-5 times per hour, and also a difference between an ice cream truck at the park vs stopping on residential streets one by one every day. There's no other business that works this way, it's not like they have some fundamental right, and that's not even talking about the noise pollution aspect.

schwartzworld··on Let Kids Be Loud
Spoken like someone who either doesn’t have kids, or at least has easier ones than mine. You think you’re just going to explain to a four year old the rules about ice cream and they’ll just be like “you’re right daddy. I forgot we had ice cream from the truck yesterday. I’ll grab some carrot sticks instead”?

It’s not really ethical to market that aggressively to kids, because kids just want. All the time they want. Most people here were children themselves once, or at least know people who have been children. If kids had the credit card, they’d spend everything on Pokémon cards and candy.

Here’s a better question before you call me a Karen: given that most people have freezers, who exactly benefits from daily ice cream truck visits? Not the parents, for reasons above. The kids find it frustrating too. The fact that they had ice cream yesterday usually doesn’t ease their disappointment.

schwartzworld··on Let Kids Be Loud
Funny, we have the opposite problem. Ice cream trucks in my area have become way too aggressive. I would give anything to ban them from our neighborhood, as they come through within the first hour after school getting out, causing daily arguments in houses with children. Sometimes more than once a day.

Look, even if I wanted to give my kids ice cream every day after school, I am at home and would just get it from the freezer. Even if I say yes to ice cream today, it’s another exhausting round of “why can’t we get ice cream” tomorrow.

At the park yesterday, two trucks were making the rounds. Meaning every 15 minutes, there was an argument. I overheard multiple exhausted parents saying things like “because I already got you ice cream!”

> church bells, kids playing football, carol singers, or ice cream trucks

One of these things is not like the other. Some people like carol singers. Who likes Turkey In The Straw blared through a cheap speaker on loop?

schwartzworld··on Radium Music Editor
I would recommend trying sunvox if you want to dip into trackers. It is free on desktop and cheap on mobile and runs on most platforms. In fact, I have a 2012 iPad that runs it fine.

Trackers are just a different way of entering midi data and automation, literally typing in the values you want. They offer an unreal level of granular control, but at the expense of being able to visualize your melodies on a horizontal timeline.

Modern trackers are basically complete DAWs and sunvox is no exception. It contains a modular synthesis system that is amazing for sound design and creating your own reusable instruments and effect modules. I find myself writing less repetitive parts with a tracker, closer to what I would write if I was composing with staff paper.

schwartzworld··on An Indoor Beehive in My Bedroom Wall
If the space is sealed, how would they get into the walls?
schwartzworld··on BYOK – Bring Your Own Keyboard
Or an Eink phone/tablet and a Bluetooth keyboard.
schwartzworld··on The cultural decline of literary fiction
Sure, aliens are well represented, but that’s a long way from “it’s all historical fiction in space”
schwartzworld··on The cultural decline of literary fiction
99% is far overstating it. SF is a wide genre with pretty much every other genre inside it. At this point it’s infiltrated popular culture; just think how many movies and shows are not billed as SF but contain SF ideas or settings.
schwartzworld··on Scrappy – Make little apps for you and your friends
Where am I doing that?
schwartzworld··on Scrappy - make little apps for you and your friends
No tests, no version control, no library support. Pass for me.
schwartzworld··on It’s nearly impossible to buy an original Bob Ross painting (2021)
There was a lot less tv in the 80s. If you didn’t have cable, then you just had a handful of channels. I didn’t watch Joy of Painting, but it was pretty hard not to notice the painting Afro guy when flipping through the extremely limited number of channels most people had access to.
schwartzworld··on DeskHog, an open-source developer toy
I don’t think that’s the full answer. Post Hog is internet parlance for “upload a picture of your penis”. Someone had a sense of humor when they picked that name.
schwartzworld··on Prince's special custom-font symbol floppy disks (2016)
You sound so salty about it.

My understanding was that he couldn’t use the name Prince for a while for legal reasons. The logo was a clever trick. He couldn’t call himself Prince. He could have done a full name change, but would have lost a certain amount of brand recognition in doing so.

Adopting the emblem with no pronunciation meant people resorted to calling him “the artist formerly known as prince”, referring to the name Prince without violating the laws prohibiting him from using that name.

schwartzworld··on Why agents are bad pair programmers
> but because it's gone off and written a 2,000 lines of code

That’s a you problem, not an AI problem. You have to give it small tasks broken down the same way you would break them down.

schwartzworld··on Open Source Distilling
More than that, what are they actually trying to enforce? In the USA it’s excise tax. The TTB cannot possibly go after home distillers making quantities that you’d make with a stovetop still. It’s like $2.70 per gallon for small producers. Obviously in countries that have stricter alcohol laws, the math might be different.
schwartzworld··on Defending adverbs exuberantly if conditionally
You could grin menacingly. Or nervously. Or reluctantly.
schwartzworld··on Open Source Distilling
I think you’d struggle to find much evidence of home distillers getting busted. If you’re not selling the stuff, you’re probably not the TTBs concern.
schwartzworld··on Trump Administration Attacks Columbia's Accreditation
It’s all about keeping people off-center while they plunder the economy. Everybody is so focused on the chaos they cant keep track. It’s not insane, it’s fucking genius.
schwartzworld··on Web dev is still fun if you want it to be
You don’t have to use all that other stuff. React works best if you prioritize function composition. So much of the ecosystem is there to support the people that don’t know what composition is.
schwartzworld··on Human coders are still better than LLMs
I use a few strategies, but it's mostly the same as if I was mentoring a junior. A lot of my job already involved breaking up big features into small tickets. If the tasks are small enough, juniors and LLMs have an easier time implementing things and I have an easier time reviewing. If there's something I'm really unfamiliar with, it should be in a dedicated function backed by enough tests that my understanding of the implementation isn't required. In fact, LLMs do great with TDD!

> At least with humans I have some basic level of trust, so that even if I don't understand the code at that level, I can scan it and see that it's reasonable.

If you can't scan the code and see that it's reasonable, that's a smell. The task was too big or its implemented the wrong way. You'd feel bad telling a real person to go back and rewrite it a different way but the LLM has no ego to bruise.

I may have a different perspective because I already do a lot of review, but I think using LLMs means you have to do more of it. What's the excuse for merging code that is "off" in any way? The LLM did it? It takes a short time to review your code, give your feedback to the LLM and put up something actually production ready.

> But every piece of LLM generated code I've seen to date hasn't been trustworthy once I put in the effort to really understand it.

That's why your code needs tests. More tests. If you can't test it, it's wrong and needs to be rewritten.

schwartzworld··on Human coders are still better than LLMs
For me it's like having a junior developer work under me who knows APIs inside and out, but has no common sense about architecture. I like that I delegate tasks to them so that my brain can be free for other problems, but it makes my job much more review heavy than before. I put every PR through 3-4 review cycles before even asking my team for a review.
schwartzworld··on Sleep apnea pill shows striking success in large clinical trial
Sounds right, and even with the clinical settings, you need to experiment. It took me a year of obsessing over my OSCAR data to dial it in.
schwartzworld··on Sleep apnea pill shows striking success in large clinical trial
> 40% of patients don't tolerate it

Tough to know how much of this is patients not being able to tolerate vs doctors giving people barely calibrated machines and next to no support or training. It’s very common to be given your cpap at the default pressure range (4-20). When I told my doctor I still wasn’t sleeping, she offered to refer me to a shrink.

schwartzworld··on Remix Breaks Up with React
The product doesn’t sound bad but shipping a new framework under the old name is a bad idea. Remember when AngularJs became Angular?
schwartzworld··on Display any CSV file as a searchable, filterable, pretty HTML table
That was my thought. Sqlite3+datasets works great for this
schwartzworld··on Just Fucking Use React
You’re right, memo is a lazy thing to do and often fails to optimize. At best it reduces rerenders but doesn’t speed up slow behavior.
schwartzworld··on Just Fucking Use React
Thats the 1-sentence summary of FP, but there’s a lot more to it. Immutable data structures are part of it, although less important because of how props are scoped.

Composition, my friend. That’s the key. If your whole tree is rerendering whenever your state changes, it’s a failure to compose your components properly.

FP includes strategies for limiting side effects, relying on architectural patterns that push side effects to the edges of your application. This is a very sane way of working in react.

And a lot of prop drilling can be reduced by passing down closure functions with curried values in them.

schwartzworld··on Just Fucking Use React
React can be very performant with little optimization if you apply FP principals to it, which makes sense since it was built with the goal of using FP to do frontend work.

If your whole tree is recalculating on every mousemove event, that is a giant code smell to say the least. You’d have to architect the app to work that way.

← PreviousPage 4 of 34Next →