News for hackers. Stuff that matters.

gmkabro

Re:Ask HN: What work/office purchase transformed your life? on Thursday November 16, 2023 @12:16PM (#38292319)
- Moonlander keyboard. I was experiencing numbness in a couple of my fingers, and having the keyboard split into two pieces lets me relax my shoulders and just feels much, much more comfortable. Plus the programmable layout means I can make all the stuff I need for coding (curly braces, brackets, oft-used combos like =>) much more accessible.

-48” 4k OLED screen. A single large screen, combined with a tiling window manager, is just so much better than multiple smaller monitors. I typically have my IDE taking up 2/3 of the screen and my browser covering the other 1/3 - but I can easily adjust this depending on my needs. Plus it’s got HDR and a decent refresh rate (120hz) so it’s great for playing games too. It’s technically a tv, not a monitor, but it has a “PC mode” that fixes text rendering and enables vsync.

It’s money. The answer is money. Somebody makes money by producing lead-infused products, so they pay off lawmakers to add a loophole that allows them to continue making money.
Re:Awesome AI-powered developer tools on Sunday August 06, 2023 @11:59AM (#37023287)
I’ve found that copilot is actually pretty good at generating tests, although I’m sure that depends on how the code under test is written. I can usually just write the test description (sometimes a whole describe block) and it fills out the test(s) for me. I usually have to make some adjustments but it sure beats typing it all out by hand.
> …the rate of fatal police shootings among Black Americans was much higher than that for any other ethnicity

That’s pretty much exactly what I was expecting. People think of police as racist thugs because, well… they are.

Same boat. I went the VFIO route: my desktop runs headless Fedora, and I run desktop Linux, windows, and macOS in VMs. I bought an extra GPU so I can run two VMs at a time. 99% of the time I’m on desktop linux, but if I want to play a game I just switch my monitor input and hit my USB switch and I’m good to go. If I want to run ableton, I shut down windows, fire up macOS and bam.

This lets me completely isolate windows and only use it for games. And ableton runs just fine in a vm, so I don’t have to have a separate Mac. Plus it makes it really easy to try out the new Linux flavor of the month!

It was a bit of work to get it figured out but it’s been running smoothly like this for a few years now. I refuse to install windows as a first-class citizen on any computer I own, because as you said, it’s fucking garbage.