frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Shadcn/UI now defaults to Base UI instead of Radix

https://ui.shadcn.com/docs/changelog
189•dabinat•8h ago•78 comments

If you're a button, you have one job

https://unsung.aresluna.org/if-youre-a-button-you-have-one-job/
335•nozzlegear•11h ago•165 comments

Show HN: KiCad in the Browser

https://demo.pcbjam.com/
14•ViktorEE•1h ago•3 comments

Claude Design System Prompt

https://github.com/Trystan-SA/claude-design-system-prompt
64•handfuloflight•4h ago•16 comments

Introduction to Compilers and Language Design

https://dthain.github.io/books/compiler/
11•AlexeyBrin•1h ago•0 comments

Trust your compiler: Modern C++

https://categorica.io/blog/2026.06.29_trust_your_compiler/
17•foxhill•3d ago•6 comments

Fast Software, the Best Software (2019)

https://craigmod.com/essays/fast_software/
62•ustad•6h ago•30 comments

Pandoc Lua Filters

https://pandoc.org/lua-filters.html
92•ankitg12•2d ago•5 comments

Knowledge Should Not Be Gated

https://www.formaly.io/blog/knowledge-should-not-be-gated
33•nezhar•5h ago•13 comments

Jellyfish can heal wounds in minutes. Scientists want their secrets

https://www.mbl.edu/news/jellyfish-can-heal-wounds-minutes-scientists-want-their-secrets
157•hhs•14h ago•35 comments

Megawatts by Microwave

https://computer.rip/2026-07-04-microwave-and-power.html
39•eternauta3k•7h ago•4 comments

Functional Programming in hica

https://www.hica.dev/docs/functional-programming/
28•cladamski79•3d ago•4 comments

Moby Dick Workout (2022)

https://www.hogbaysoftware.com/posts/moby-dick-workout/
61•helloplanets•9h ago•19 comments

Scientist who cleaned space toilet on work now leading Mars exploration

https://www.bbc.com/news/articles/cz758x04g83o
22•saikatsg•3h ago•5 comments

Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

https://github.com/ammaarreshi/Generals-Mac-iOS-iPad/tree/main
604•asronline•17h ago•257 comments

Artful Cats: Feline-Inspired Art and Artifacts

https://www.si.edu/spotlight/art-cats
58•jruohonen•3d ago•4 comments

Pi square is nearly 10

https://mihai.page/pi-square-is-10/
22•freediver•2h ago•13 comments

Meta's Un-Stable Signature

https://hackerfactor.com/blog/index.php?/archives/1098-Metas-Un-Stable-Signature.html
111•ementally•3d ago•15 comments

Atomic Force Microscope [video]

https://www.youtube.com/watch?v=DyIQkqBXhS0
89•mhb•2d ago•9 comments

The Log is the Agent

https://arxiv.org/abs/2605.21997
64•iacguy•10h ago•18 comments

What ORMs have taught me: just learn SQL (2014)

https://wozniak.ca/blog/2014/08/03/1/index.html
227•ciconia•4d ago•258 comments

“Beyond the limit”: Satellites and mirrors in space pose threat to the night sky

https://www.eso.org/public/news/eso2607/
163•Breadmaker•20h ago•261 comments

My ASN Journey series (2024)

https://www.animmouse.com/p/my-asn-journey/
31•antonalekseev•9h ago•11 comments

Return of the Nigerian Prince Redux: Beware Book Club and Book Review Scams (2025)

https://writerbeware.blog/2025/09/19/return-of-the-nigerian-prince-redux-beware-book-club-and-boo...
65•Anon84•13h ago•22 comments

GPT-5.5 Codex reasoning-token clustering may be leading to degraded performance

https://github.com/openai/codex/issues/30364
322•maille•15h ago•124 comments

Reducing Assumptions, Exploding Your Code

https://ryelang.org/blog/posts/reducing_assumptions_but_exploding/
20•mpweiher•6h ago•8 comments

Dark mode with web standards

https://olliewilliams.xyz/blog/dark-mode/
17•thm•6h ago•9 comments

About the Digital Art

https://www.tricivenola.com/about-the-digital-art/
17•NaOH•3d ago•3 comments

Drone Autonomy (2021)

https://www.cggonzalez.com/blog/index.html
73•cgg1•14h ago•6 comments

Intuitive Quantum Electrodynamics

https://forwardscattering.org/page/Intuitive%20Quantum%20Electrodynamics
7•Ono-Sendai•4h ago•0 comments
Open in hackernews

Show HN: I made my own TRMNL e-ink device

https://www.stavros.io/posts/making-a-trmnl-device/
85•stavros•1y ago

Comments

estsauver•1y ago
This is neat--what's the typical refresh rate/update speed for the image service?

Is the API is basically "Push PNG to server, PNG displays on whiteboard?"

stavros•1y ago
No, TRMNL generate the images themselves. The device requests the image every so often (with an interval configurable by the server). They've (understandably) built the firmware to be pretty specific to their service, though you can build your own server for it as well (it's just a JSON response with the image to fetch).
joshstrange•1y ago
The API is:

You write HTML templates (that are stored on their servers) then can post data to them (or have them poll an endpoint to get the data) to "merge" into the template.

Think:

    <h1>Hi {{ username }}</h1>
    <div>You have {{ openPRCount }} open PRs</div>
And you need to provide (via push or pull):

    {"username": "joshstrange", "openPRCount": 10}
That might not be the exact syntax (I wrote my custom plugin a month or two ago and haven't touched it since).

They provide a "UI Library" (Design System) [0] to give you building blocks of UI to use if you want.

It made it really easy to get started. They limit to 1 screen update every 15min (that is the fastest you can have the screen update). But you can press the restart button on the back of the device to force it to update, you might need to force your plugin to re-generate the image before you do that.

If you want to flash your own firmware you can lower that (at the expense of battery life) value or even have it call out to your own server that can do whatever you want.

[0] https://usetrmnl.com/framework

JKCalhoun•1y ago
TRMNL's site seems to think there is not a cost-savings to build-your-own. They don't appear to include the licensing cost though. From their site:

> Making your own TRMNL from scratch is not an economically rational decision, but rather a labor of love. Our own team learned this the hard fun way while building v1 over 7 months, from Dec 2023 to July 2024.

> Here's what you can expect to spend per component:

> • Battery, $5 (unnecessary if you prefer plugged in)

> • EPD screen, $65 (see the Waveshare 7.5" on Amazon)

> • Microcontroller, $3-50 (depends if you build/solder yourself or leverage a PCB prototyper)

> • Enclosure/case, $3-20 (design + 3D print yourself or use a print farm)

stavros•1y ago
Yeah, my BOM was $20 for the driver and $50 for the screen, plus $50 for the TRMNL license. About the same as the TRMNL I bought, in the end, though as you say the license is a big part of it.

My worry is about my lifetime license eventually turning into a subscription requirement.

n8cpdx•1y ago
> I could have my own TRMNL for under $80, or, if you factor in my time, around $5,000, which is a bargain

I love the self awareness.

I'm trying to be better about factoring in my time, largely unsuccessfully.

E.g. I just spent $200 of my time trying to trade in an iphone at the apple store (the Apple Store sucks now and has terrible processes). Value of trade in: $200

stavros•1y ago
The trick is that, if you're enjoying the process, the cost is negative! Trading in an iPhone doesn't sound very enjoyable, but to each their own.
drcongo•1y ago
stavros is one of my favourite posters on HN, and the writing on his site is full of beautiful turns of phrase like that.

> The Timeframe is a beautiful, battery-powered, high-resolution e-ink device that sits on my desk and reminds me of the inexorable grind that saps my creativity and drains me of the will to live.

From https://www.stavros.io/posts/making-the-timeframe/

edit: Ever since I read the Timeframe article I've been itching to do the same thing myself, but I suck at these things so worry that I'm just going to end up with more piles of electronic parts in my cupboard of broken dreams.

billev2k•1y ago
Speaking of a beautiful turn of phrase: "...more piles of electronic parts in my cupboard of broken dreams."

:)

stavros•1y ago
joshstrange•1y ago
> $20 “developer edition” license which “unlocks their API”. I expected this upgrade to give me API access so I could retrieve the image that’s displayed of my device, but that’s not actually the case, and you need a $50 “virtual device” license for that.

I cannot find a mention of the developer edition. I own a TRMNL and use the api for free (I assume because I have a device) and then they offer a lifetime $50 license to use their backend with your own device. I think that's fair.

Also, I don't quite understand their back ordering information. I ordered mine and got it less than a week later even though they said it was back ordered.

stavros•1y ago
That option is for when you add it to your cart. You get API access with the device because you have one, but AFAIK you can't develop plugin without the dev option? I don't know, I'm confused :(
joshstrange•1y ago
Interesting, I have developed plugins for my TRMNL and I only paid for the device.

Or at least I've developed HTML-based views that are custom (I think that's "plugins") that are displaying on my device.

stavros•1y ago
Hm :/ I wonder why I paid the extra $20, then...
I call it the "cupboard of infinite possibilities".
stavros•1y ago
Email me and I'll help you!
sho_hn•1y ago
Have mine in the hopes of making your itch unbearable: https://imgur.com/a/diy-automatic-e-ink-newspaper-using-rust...

You can do it! :-) Also happy to help if you have questions.

stavros•1y ago
Oh I had seen yours! What a fantastic project, well done. Beautiful result.
sho_hn•1y ago
Thanks!

I'm currently making something inspired by your Timeframe, but using an OLED panel, as a 2nd screen for my desk - but almost the same form-factor and a similar design.

I'm trying out a faux 3D-printed wood process with wood powder-infused PLA, sanding and staining, and a faux wood grain I baked into the geometry using a displacement map, though. Hoping to make it all posh.

stavros•1y ago
That sounds fantastic! I'd love to see updates, we have a maker Discord server I can invite you, if you're interested, or it would be fun to just email! My email is in my profile.
KMnO4•1y ago
How did you come to the $200 figure?

Your time does have value, but it’s in terms of opportunity cost, not hourly wage. Presumably you wouldn’t have made $200 had you not gone to the Apple Store (unless you went when you were supposed to be working and have a job where that time becomes unpaid).

stavros•1y ago
Not the OP, but I just figure that I could be contracting somewhere at any point, really, so each hour costs me my fee.
n8cpdx•1y ago
I'm paid by the hour and the Apple Store is a block away from my place of work, so in this particular case it is pretty clear cut. I realize it is different for people paid a fixed annual salary.

Although in hindsight it probably felt like I spent more time there than I actually did. I think the $200 is fair given that I would normally be quite willing to pay to avoid that kind of unfortunate circumstance.

And of course that leaves out the complication of pre- vs post-tax wages, retirement savings, etc.

turtlebits•1y ago
You can always trade in by mail. I just did it for my M1 Air. I still need to drop it off at UPS, but no driving to the mall, parking, and waiting in line.

This is also why I buy almost everything from Amazon. Their returns process is worlds ahead of every one else. It also doesn't hurt that drop-offs are at grocery stores.

n8cpdx•1y ago
My problem is I initially had a trade in by mail in process. But since I have to walk by the apple store daily on my way to work, it was one of those rare moments where mail was actually less convenient. And I was concerned about the mail in return contractor deciding the phone is worthless (it happens).

Apple made me call to cancel the trade in, then said they could do it in store. They could not, not then, not an hour later, not days later.

Internet and apple store employees said it should be fine. I guess they don't make geniuses like they used to.