News for hackers. Stuff that matters.

gmassman

I wholeheartedly agree that Windows just gets in the way. It’s not designed around user ergonomics. It’s designed to maximize clicks and screen-time, which are exactly the opposite metrics an OS should care about if they want good UX.

Luckily my IT staff allowed me to dual boot windows and debian+cinnamon. Everything was going great until I needed to compile and test a legacy firmware using Keil uVision... Gonna be on windows a while longer unfortunately :(

Re:2x, not 10x: coding with LLMs in 2026 on Thursday July 30, 2026 @04:18PM (#49115210)
Not necessarily…. As with all engineering choices there are tradeoffs involved. There can be both advantages and disadvantages to using AI to build scripts. And more likely than not you’ll need AI to help debug the scripts when they have issues. Real tradeoffs to consider.
Re:Ask HN: Share Your Eccentric Hobby on Sunday July 26, 2026 @02:39PM (#49061013)
Yes my dobro is a squareneck built by Richard Deneve. It’s tuned to open G, typical for the bluegrass style. I haven’t ventured into lap steel but I have played a little when friends give me the opportunity. Personally I find acoustic instruments incredible just for their portability. Also everyone and their parents owns an acoustic guitar, so finding people to play with has never been an issue :)

For me, music started out as a practice of getting better and developing my abilities as a songwriter. As I’ve gotten older though it’s shifted more towards sharing the joy of playing with others. Jamming with people and making them happy by sharing songs is a reward in and of itself.

Re:Ask HN: Share Your Eccentric Hobby on Friday July 24, 2026 @12:54AM (#49031342)
I play in a band called Rare Company. We recorded an album last year and have been playing gigs around San Francisco to promote it this year. We play acoustic originals, with a style that spans bluegrass, swing, folk and rock. I play dobro and fiddle, and it’s great fun to see people’s reactions to my “shiny slide guitar”. Check out our music and come to a show if you’re in the bay area!
Sudoku. Wordle is a distant second.
Usually these were the developers who said their code didn’t need tests because it’s obviously correct/too simple to need them. And then their bug causes a crash that needs to be fixed over the weekend :/
Re:Number in man page titles e.g. sleep(3) on Monday April 06, 2026 @10:00AM (#47661058)
I guess the joke is you can scale a file system or a fish, but can only tune a file system?
Very exciting! Congrats on the release, this will be a huge benefit to all folks building RAG/rerank systems on top of Postgres. Looking forward to testing it out myself.
Re:OpenCode – The open source AI coding agent on Saturday March 21, 2026 @02:30AM (#47464503)
Seems like an anti-pattern to me to run AI models without user’s consent.
I’ve been using a zenbook for about 8 years now. Hardware and battery are still surprisingly solid, although one of the hinges is starting to fail…
Fiction can reveal a lot of real wisdom if you’re open to receiving it.
Re:Microsoft Azure Outage on Wednesday October 29, 2025 @01:26PM (#45750150)
I’ve been migrating our services off of Azure slowly for the past couple of years. The last internet facing things remaining are a static assets bucket and an analytics VM running Matomo. Working with Front Door has been an abysmal experience, and today was the push I needed to finally migrate our assets to Cloudflare.

I feel pretty justified in my previous decisions to move away from Azure. Using it feels like building on quicksand…

Re:My First Impressions of Gleam on Saturday September 13, 2025 @11:19AM (#45232798)
The BEAM is an amazing piece of technology. It’s built to scale massive concurrent systems and has great developer ergonomics. I’ve used it with Elixir and it’s really a breath of fresh air as far as running a webserver goes. Much more flexible and simpler to manage than a python or nodejs runtime, and also capable of scaling up with far fewer resources than you would think. Highly recommend giving it a go!
Re:Ask HN: What are you working on this weekend? on Saturday August 09, 2025 @11:53AM (#44847489)
My band is playing a small bluegrass festival this weekend. We’ve been recording an album since last year and are starting the work of promoting it by playing more gigs!
Re:Where Do Scientists Think This Is All Going? on Saturday May 03, 2025 @12:13PM (#43880014)
Would we consider the calculator useful if it sometimes told us 2+2=22? Would this at all be considered a sign of creativity or abstract thought?
Nice work, both to the prompter and the promptee!
Re:Designing Electronics That Work on Tuesday March 18, 2025 @06:02PM (#43405691)
Nice work Hunter! I’m starting a hardware side project so I’ll definitely be giving the book a read. Hopefully it helps me avoid some of the common electronic pitfalls.
It’s always the year of the linux desktop!
Re:Mark Cuban offers to fund former 18f employees on Sunday March 02, 2025 @10:42AM (#43231543)
More than 50% voted for not-Trump
Re:400 reasons to not use Microsoft Azure on Friday February 28, 2025 @11:47PM (#43216026)
Add Intune to the list of bad MS dashboards…
Re:Claude 3.7 Sonnet and Claude Code on Monday February 24, 2025 @04:41PM (#43165283)
> Spends more time explaining why TypeScript in Svelte is problematic than actually fixing TypeScript in Svelte.

Damn, that’s brutal. I mean, I never said I knew how to fix ComponentProps or generic components, just that they have issues…

Re:Do you want to be doing this when you're 50? on Saturday February 22, 2025 @12:04PM (#43140740)
Morals aren’t always involved in commercial software development, and likely they never have been in any of your workplaces. However, I think it’s a gross mischaracterization to claim that morals and business don’t have any overlap. I work in the health tech industry, and I feel good knowing that patients benefit from using our device. I know I wouldn’t feel the same way if I was working at some fintech optimizing stock trading to the Nth degree.
Re:DeepSeek: X2 Speed for WASM with SIMD on Tuesday January 28, 2025 @04:12PM (#42858077)
I agree with your point in general, but saying one needs to be great at using AI tools gives way too much credit to companies’ ability to identify low performers. Especially in large organizations, optics matter far more than productive output. Being able to use AI tools is quite different from saying you are using AI tools!
Re:Trying out Zed after more than a decade of Vim/Neovim on Friday January 24, 2025 @09:11PM (#42818796)
I’ve been pretty happy with aider. I have it running in a separate tmux window and can switch between it and nvim easily.
Re:PostgreSQL Anonymizer on Friday January 17, 2025 @03:42PM (#42743038)
This is a very handy postgres extension! We've been using it at my job for a couple years now to generate test datasets for developers. We have a weekly job that restores a prod backup to a temporary DB, installs the `anon` extension, and runs pg_dump with the masking rules. Overall we've been very happy with this workflow since it gives us a very good idea of how new features will work with our production data. The masking rules do need maintenance as our DB schema changes, but that's par for the course with these kinds of dev tools.

All that said, I wouldn't rely on this extension as a way to deliver anonymized data to downstream consumers outside of our software team. As others have pointed out, this is really more of a pseudonymization technique. It's great for removing phone numbers, emails, etc. from your data set, but it's not going to eradicate PII. Pretty much all anonymized records can be traced back to their source data through PKs or FKs.

Re:What Is Vim? on Sunday December 15, 2024 @12:17PM (#42424568)
It’s been a long time since I used vscode (~5 years) so my experience may be out of date. But I recall the vim plugin missing the quickfix list and :cdo. Also there were quirks with y and p that didn’t happen when using vim (maybe extra whitespace getting inserted).
Re:Django and Postgres for the Busy Rails Developer on Wednesday December 11, 2024 @08:55PM (#42395327)
Alembic is certainly a bit of a challenge to grasp at first, especially if you want to do anything more complicated than create or alter tables. However, it does provide a great amount of flexibility if you want to implement more complex migration functionality. It allows library developers to add powerful features that would be very difficult to do with Rails/ActiveRecord or Django ORM. FWIW I maintain the flask-audit-logger package. It allows users to maintain audit logs of specific tables using postgres triggers. Being able to create custom migration operations is really an amazing feat. The alembic docs are quite dense, but the code is well organized and very readable.
Re:Why, after 6 years, I'm over GraphQL on Thursday May 30, 2024 @11:34AM (#40524931)
I don’t want to overly generalize, but N+1 problems are very real and frequently occur in code written by more junior developers. Their impact and occurrence rate are dependent on the nature of the application though.

I also think there’s an avoidance to simply “translate” a GQL query into an SQL query. Not that it can’t be done, but it allows a lot less flexibility in the backend as far as code patterns that can be adopted. Basically it minimizes the use of ORM models, which may be a pro for some and a con for others.

I haven’t worked with GraphQL in over 4 years since I left my last job. I actively made a choice not to use it at my current job and steered the ship towards REST endpoints, mostly because it would be easier to build authorization middleware. Also like the author of the article discovered, code littered with dataloaders is a pain to maintain.

Might as well roll your own TLS stack while you’re at it!
This pattern appears frequently in just about all programming languages. I’ve written a lot of JS and Python, and a moderate amount of Elixir, and this pattern crops up quite often. Usually it’s a side effect of complex scopes with several layers of function calls.

Honestly I’m a little surprised you haven’t seen this pattern. The only times it wouldn’t be used are when people rename variables, which is frankly a practice I abhor.

Older »