News for hackers. Stuff that matters.

MH15

Re:Be Careful with Go Struct Embedding on Sunday September 21, 2025 @10:33PM (#45328591)
Hello from another Matt Hall! Interesting post, although I don't do much Golang.
I do this on paper, with each page dated with the date I started filling the page. The goal is to check off most of the improvements before or shortly after starting a new page.
Re:“No tax on tips” is an industry plant on Friday August 01, 2025 @02:56AM (#44753760)
That's what the money is for!
Can you use this with the Claude Code Github Action?
Reminder to turn "Show scroll bars" to "Always" if you're developing on MacOS for users on the web.
Zach Lieberman https://x.com/zachlieberman does his work in C++ with https://openframeworks.cc/
In a similar vein to "use strict" we could create a new directive that disallows JS features like var, prototype, == (in favor of ===). Modules with this new directive at the top of the file would be executed under these new rules. You'd be able to create new (maybe lighter weight) JS interpreters that only target this subset.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Re:Long Term Software Development on Sunday December 22, 2024 @05:51PM (#42489876)
Good vibe-check on my day to day work in web tech. Sometimes I wonder how web deployments would work if we still deployed quarterly, yearly, etc.
Re:When Abstractions Break on Sunday November 17, 2024 @03:41AM (#42162866)
Something (unrelated) that surprised me here is that the author has two decades of posts on this blog, leading back to their first post about a new version of C# (https://codeblog.jonskeet.uk/2005/09/)

Personally as a younger software guy I had no idea that C# had type inference back in 2005- an interesting perspective shift!

Re:Upcoming Hardening in PHP on Friday November 15, 2024 @02:47AM (#42144735)
I'd be curious to read about what percentage of active PHP devs use the recent features. The last time I worked in a PHP codebase (2020?) was half PHP 5 (bad) and half PHP 7 (much nicer). Curious if there's any real info out there on this
Re:Public Work: a search engine for public domain images on Friday August 09, 2024 @12:42AM (#41198827)
There was a similar implementation of this idea a year back, but it was open source/indie. Anyone know what it was?
Re:LangChain Is a Black Box on Friday August 09, 2024 @12:40AM (#41198817)
Remember than LangChain raised $10m a few months ago https://blog.langchain.dev/announcing-our-10m-seed-round-led... (wait, over a year ago!)
Irvine, CA has an outdoor advertising ban. Driving the 405 through OC you quickly see the difference.
MATLAB is not open source, or even free.
There was something on Show HN that did this with some promise recently, can't find it now
Re:Ask HN: Anyone left their job because of RTO? on Friday May 31, 2024 @07:29PM (#40541321)
I joined an in-person team then reorged in to a pseudo-remote team. I requested to move remote or transfer offices, was denied. So I left.

Unfortunate circumstances as I liked the people but didn't like going in to an office every day to work remote.

Re:The Worst Website in the Entire World on Wednesday May 15, 2024 @11:53AM (#40368575)
One would figure you'd set up this autopay through the utility provider's website.
Re:Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant on Monday May 13, 2024 @07:01PM (#40349587)
I tried to build this on an early gen RPI 4 about three years ago- but ran in to limitations in the hardware (and in my own knowledge). Super cool to see it happening now!
Re:Ask HN: What do you use local LLMs for? on Tuesday May 07, 2024 @07:40PM (#40292776)
I use the MLCChat iOS app to run Mixtral on my iPhone pretty much exclusively when on flights and am curious about something. Maybe it’s a question about my destination, a fact I’ve forgotten, or if I’m working and haven’t bought WiFi it’s good for quick documentation sythesis.

It’s genuinely useful and fun in a way ChatGPT isn’t- something about the novelty. However outside of that environment I haven’t found a good use.

Also fun to feel the phone heat up as it generates tokens.

Edit: 7B-Instruct

Re:Rama is a testament to the power of Clojure on Tuesday April 30, 2024 @06:47PM (#40217388)
I think we've spent a lot of time looking at backend and frontend web app development as separate. In my work, TRPC (https://trpc.io/) solved this. I hope others in different frameworks find a similar solution soon.
Re:Code Search Is Hard on Wednesday April 10, 2024 @06:21PM (#39996307)
A val is just Typescript, no? So unless they are also storing the AST it would be JavaScript and that's it
that doesn't do anything on Firefox MacOS, it seems.
Woah that's a crazy domain. Worth a lot. Love your parking page!
Re:Microsoft strikes deal with Mistral in push beyond OpenAI on Monday February 26, 2024 @02:35PM (#39515868)
VSCode? Typescript?
Re:In Defense of Simple Architectures on Tuesday February 20, 2024 @12:04PM (#39443731)
You might be alone in this take. While I agree a lot of websites do it poorly, the only way I personally can read Danluu is when I make the window smaller.
Re:Panda CSS: build time and type-safe CSS-in-JS on Tuesday February 06, 2024 @12:37AM (#39271150)
React has so many solutions for this- I wonder, is there anything that works similarly to Vue scoped styles? I always struggled with styling React but it's like a completely solved problem in Vue imo. You're welcome to use Tailwind of course but the scoped styles per-component work so well I rarely find myself missing it.

Then again I'm one of those few engineers who actually enjoys CSS so my opinion may not be representative.

callbacks/lambdas/method references seem like table stakes coming from the modern reactive web frameworks, but if you're doing Immediate mode or a more hybrid approach there might be more wiggle room.

It does seem like the big three (React, Vue, etc) emphasize declarative as best practice

you absolutely cannot be naming your company after a domain name you do not own. Terrible choice

Older »