News for hackers. Stuff that matters.

arturocamembert

Re:A Broken Heart on Thursday February 05, 2026 @01:32PM (#46903041)
> Naturally, I blamed React.

Did the author start a client-side debugging process without running any kind of diagnostics in the dev tools?

To me this sounds like "I saw some slowness in my application, so naturally I started adjusting indexes in my database." Without doing any upfront research, you're basically just throwing darts and hoping one sticks. This type of approach to debugging has never served me well.

Re:The Grug Brained Developer (2022) on Tuesday June 17, 2025 @05:09PM (#44303988)
> given choice between complexity or one on one against t-rex, grug take t-rex: at least grug see t-rex

I think about this line at least once a week

Re:Air-dried vs. Kiln-dried Wood on Wednesday June 11, 2025 @01:00PM (#44249549)
I can only speak to my own experience of doing this professionally in northern climes without power tools for ~5 years, but both of your suggestions are foreign to me. I take this as a nice reminder that there is lots of regional variation to this craft around the world, which isn't surprising.

Even then, building a barn with dried pine or hemlock is much more tedious and incurs many more trips to the sharpening wheel. It is in no way easier.

Re:Left-Pad (2024) on Wednesday June 11, 2025 @05:05AM (#44245634)
left-pad even being a package is pretty funny, no? How many bytes got pumped across CDNs, proxies, build pipelines, etc. just to write a tiny utility function? I'm all for taking advantage of existing solutions, but I can't wrap my head around needing to pad a string and thinking "oh, I bet there's a package for that"
Re:Air-dried vs. Kiln-dried Wood on Wednesday June 11, 2025 @04:55AM (#44245571)
Small addendum: some traditional wooden joinery is deliberately prepared to account for the varying rates and effects of drying across the timber.

This is particularly relevant in timberframing, where you want to work with the wood when it is as green as possible. Green pine, though heavier to lug around, is significantly more receptive to a chisel than drier lumber. In a classic mortise and tenon joint [0], it's common to leave the outer edge of the shoulder slightly raised from the inner edge to account for the natural warping as the exterior of the beam dries more aggressively.

Although it's more outside my area of experience, I believe fine carpentry also has a few techniques that see a higher frequency of use in areas that enjoy seasonal swings in humidity. The split-tenon is the only one that comes to mind, but, now that I think of it, I realize my mental model isn't great. More surface area to account for seasonal swelling / shrinkage? Maybe someone else can chime with a better explanation of this one.

[0] https://www.barnyard.com/sites/default/files/styles/full_pag...

What's particularly wild about the choice to tax software development in this way is that it assumes that code is always asset. For companies that are pre product market fit, it's often a liability!