News for hackers. Stuff that matters.

jilles

Re:Tiny $70 Xteink X3 e-reader puts Silicon Valley to shame on Monday September 07, 2026 @10:52AM (#49599083)
I did the exact same. Installed CrossPoint on it and when I want to grab my phone, I read a page in my X4 Pro. It's quite nice.
No but you can use s3fs

(I have my Calibre library in iCloud Drive, but if I wasn't inside the Apple Ecosystem I'd use R2)

Re:Don't Let AI Write for You on Monday March 30, 2026 @05:33PM (#47579983)
The author articulates perfectly what I think too. I’d recommend for everyone to read Writing to Learn by William Zinsser. It’s an incredible book showing that you can learn anything by writing about it.

With an LLM doing all the writing for you, you learn close to nothing.

Re:Protobuffers Are Wrong on Friday September 05, 2025 @11:58AM (#45140034)
The best way to get your point across is by starting with ad-hominem attacks to assert your superior intelligence.
I fed the same prompt to Deepseek:

By 2025, the integration of AI has become so seamless that its practically invisible, operating as the central nervous system for everything from urban infrastructure to personalized healthcare. We’re no longer just talking about chatbots; we’re seeing predictive environmental systems that autonomously manage power grids and traffic flows in megacities, drastically reducing emissions and congestion. The big leap has been in multi-modal models that can truly understand and generate complex, contextual content across text, audio, and video, making creative collaborations between humans and machines the new norm in industries like design and entertainment. Its a shift from tools to partners.

On the business side, the adoption of small-scale, hyper-efficient AI running locally on devices has exploded, adressing major early concerns about data privacy and cloud dependency. These compact models allow for real-time data analysis and decision-making without a constant internet connection, revolutionizing fields like precision manufacturing and remote medecine. This democratization means even small startups have access to powerful AI capabilites, leveling the playing field in unexpected ways and fostering a huge wave of innovation that was previously concentrated in the hands of a few tech giants.

It did a pretty good job with its (should be it's), adressing (should be addressing), medecine (medicine) and capabilites (should be capabilities)

Re:You don't want to hire "the best engineers" on Tuesday September 02, 2025 @11:38AM (#45104521)
This is really well written. Great read.
Re:Bear is now source-available on Monday September 01, 2025 @11:04AM (#45093231)
I didn’t know this was a Django application. Love that. Totally understand the author’s point of view, too.
Re:You do not need "analytics" for your blog on Saturday August 30, 2025 @09:35AM (#45074567)
I enjoy looking at my blogs analytics. It does make my day better knowing that people find my writing useful and read my posts. Do I need it? Probably not. But I don’t “need” a blog either. I just like it.
Re:That boolean should probably be something else on Thursday August 28, 2025 @10:25AM (#45052560)
* led status: on, off, non-responsive * button status: idle, pressing, pressed

I'm with you by the way, but you can often think of a way to use enums instead (not saying you should).

It very much is a brainer
Re:The Effect of Noise on Sleep on Friday June 27, 2025 @11:10AM (#44397391)
There might be some other factors in that situation that prevent one from having a restful night.
Re:Gemini CLI on Wednesday June 25, 2025 @12:16PM (#44378977)
Anyone else think it's interesting all these CLIs are written in TypeScript? I'd expect Google to use Go.
Re:Writing documentation for AI: best practices on Wednesday June 18, 2025 @02:09PM (#44312049)
It's similar for writing code. Suddenly people are articulating their problems to the LLM and breaking it down in smaller sub-problems to solve....
Re:Snorting the AGI with Claude Code on Monday June 16, 2025 @08:32PM (#44294626)
How does this compare with Apples or Orange?
Re:OpenAI: Scaling PostgreSQL to the Next Level on Friday May 23, 2025 @10:40AM (#44073335)
I've been using the Django ORM for years and it feels like an amazing piece of software.

But recently I started using sqlc. Which turns my queries into Go (simplification). I think this is actually the sweet spot between ORM and rawdogging SQL.

Re:Zod 4 on Monday May 19, 2025 @11:52AM (#44031122)
When I see a repository with many files "updated 4 years ago" I'm usually inclined to think it's abandoned.
Not sure if this is a controversial opinion but if the wife decides to divorce the husband based on what ChatGPT says, perhaps the husband is better off.
Re:The best programmers I know on Wednesday April 09, 2025 @06:39PM (#43638790)
Most projects should follow diataxis and we’d be in a lot less pain
Re:Show HN: JavaScript PubSub in 163 Bytes on Tuesday April 01, 2025 @11:45AM (#43548180)
Bingo! Having tons of `CustomEvents` with arbitrary handlers gets unwieldy. One way we "solved" this is by only allowing custom events in a `events.ts` file and document them pretty extensively.
Re:Ask HN: What are you working on? (March 2025) on Sunday March 30, 2025 @05:24PM (#43527801)
PortfolioSlice. It’s a website where you can share your investment portfolio and its asset allocations. Then other people can just follow that with an easy to use cash divider.

https://portfolioslice.com/

It currently just has my portfolio that I use (Innovation and Global Growth) and some other generated ones. I wanted to try out SvelteKit and Svelte to replace my Google Sheet into something cooler. Not sure if I want to monetize this.

Re:The Frontend Treadmill on Thursday March 20, 2025 @03:14PM (#43427664)
I've been doing React for about 10 years. Just started playing with Svelte 5 a few days ago.

It's so simple to work with. Built a simple stock allocation app and what surprised me most was the bundle size... 9kb (gzip). That's better than any other framework I am aware of. That's even smaller than htmx which is somewhat "anti-js"

Re:A 10x Faster TypeScript on Tuesday March 11, 2025 @11:25AM (#43333402)
If you have to explain why something is not ambiguous it is by definition ambiguous.
Re:Deploy from local to production (self-hosted) on Saturday March 08, 2025 @05:03PM (#43303953)
I did the same. Really enjoyed Coolify but at some point there was too much magic.

I’m now using Dokku and can’t imagine using something else.

Re:We replaced our React front end with Go and WebAssembly on Monday February 10, 2025 @11:38PM (#43009023)
Kotlin also has amazing concurrency support. Plus you get the additional benefit of the entire Java ecosystem.

I wish it got more love.

Re:Modern JavaScript for Django Developers on Wednesday January 15, 2025 @12:51PM (#42714426)
I don't think Alpine.js and HTMX qualify as "Modern JavaScript". There is an approach that is rarely talked about: render templates in Django and hydrate using your favorite JavaScript framework.

For example the Django template renders a <template id="abc"><button disabled>open modal!</button></template>. Then your JavaScript bundle can "hydrate". For example ReactDOM.render(<OpenModalButton />, '#abc'').

You just have to be diligent to make sure that the template and your front-end have somewhat similar markup to not have layout shift. It's really not that hard and works for a lot of use-cases.

Not saying this is a golden bullet, but you should be able to figure out which parts are static and just render them using Django templates. The dynamic parts you can render/hydrate using whatever front-end framework.

I built a Django app with very little JavaScript and only using HTMX and it was... alright. It works. I can say "no fancy build step!" but I totally miss the testability of modern frontend. Creating an image upload component was a pain. I don't think I would use HTMX again and instead go for the hybrid approach I described earlier.

Re:How to delete your Facebook account on Thursday January 09, 2025 @05:43PM (#42650616)
This is the only thing keeping me from deleting my Facebook account. I recently moved and wanted to sell some things. Listed about 8 things on Craigslist and got some shady replies.

I listed the same 8 things on Facebook Marketplace and sold everything within days...

Re:The Future of Htmx on Monday January 06, 2025 @02:33PM (#42614544)
With the BeautifulSoup tests I can run 1000s of tests in seconds. Cypress/Playwright are wonderful for e2e tests, but not comparable to simple unit tests you'd have in React/Vue. I find that the BeautifulSoup tests are a decent middle ground.
Re:The Future of Htmx on Monday January 06, 2025 @01:57PM (#42614005)
I've created a Django application using HTMX. Usually I'd jump to React or Vue. It was a great exercise and I can see where HTMX would be a great fit.

1. If you consider yourself a "backend developer" only and want to write the minimum amount of JS/TS.

2. If your application is simple. Yes you can do more complicated interactivity with oob swaps, but you end up with more complexity than you chose HTMX for.

For my next projects, I will still use Django but with React/Vue for pieces that need interactivity. As an example in my HTMX app, I wanted to add a profile image uploader. Lots of great frontend libraries exist to resize / modify your image before even uploading it to your server.

Finally, HTMX is just not testable the same way modern frontend libraries are. I've managed to write some decent tests using beautifulsoup, but it's night and day compared to vitest or jest.

Older »