frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Creating a TUI for Keeping an Eye on GitHub Rate Limits

https://www.jvt.me/posts/2026/01/12/github-rate-limit-tui/
1•mooreds•1m ago•0 comments

Docker Hardened Images

https://github.com/docker-hardened-images
1•thunderbong•1m ago•0 comments

Show HN: Local Screenshot Image Rename

https://github.com/KevinColemanInc/img_rename
1•itake•1m ago•0 comments

Show HN: Touch grass – I built social media that wants you to close it

1•alexsherrick•2m ago•0 comments

RNA steps outside the cell to help guide immune responses, study suggests

https://medicalxpress.com/news/2025-12-rna-cell-immune-responses.html
1•PaulHoule•2m ago•0 comments

Show HN: PEC – A proposal for compliance metadata in the Model Context Protocol

https://usepec.eu
1•lloydjones•2m ago•0 comments

I replaced my Raspberry Pi 5 with a no-name Amazon mini desktop

https://arstechnica.com/gadgets/2024/04/what-i-learned-when-i-replaced-my-cheap-pi-5-pc-with-a-no...
1•tosh•2m ago•0 comments

Shopify CEO vibe codes an MRI viewer

https://xcancel.com/tobi/status/2010438500609663110
1•nkko•3m ago•0 comments

You're probably vibe coding wrong (and that's why things spiral)

https://genie-ops.com/
1•Shabamed•3m ago•1 comments

Karmic Tail Calculator – Free Past Life Analysis and Destiny Matrix Tool

https://karmictailcalculator.org
1•john_mayor•8m ago•0 comments

Advancing Claude in healthcare and the life sciences

https://www.anthropic.com/news/healthcare-life-sciences
2•ta_u•9m ago•0 comments

New Python "RAT-as-a-library" named "Scopper"

https://www.getsafety.com/blog-posts/scopper-python-rat
1•6mile•10m ago•1 comments

AI app development has been overcomplicated (keynote video)

https://www.youtube.com/watch?v=y535u1EWqAg
1•earcar•11m ago•0 comments

UCP:curated Universal Commerce Protocol resources, SDKs, tools, adopters

https://github.com/Upsonic/awesome-ucp
2•mumtazvural•12m ago•1 comments

Show HN: Waifu2x Online – Browser-based anime image upscaler (2x/4x/8x)

1•Nancy1230•12m ago•1 comments

Are You Dead?: The viral Chinese app for young people living alone

https://www.bbc.com/news/articles/c3381r5nnn6o
1•01-_-•13m ago•0 comments

Order of the Sinking Star – Official Announcement Trailer [video]

https://www.youtube.com/watch?v=OIxuGF6CwnU
1•ibobev•13m ago•0 comments

iOS 26.2: Why iPhone Users Are Hesitating and What Apple Didn't Expect

https://comuniq.xyz/post?t=700
1•01-_-•14m ago•1 comments

Please don't ask AI to compile your code, please use a compiler for that

https://github.com/gladw-in/online-ide/blob/5baa19a81e25a6dd826f0955d5303fa188b8bf78/Backend/Gena...
1•vivzkestrel•15m ago•0 comments

I Accidentally Finished a Filesystem

https://github.com/hn4-dev/hn4
2•phboot•17m ago•1 comments

Examining Iran's Internet Status Amid Escalating Protests

https://filter.watch/english/2026/01/09/network-monitoring-january-2026-internet-repression-in-ti...
1•todsacerdoti•20m ago•0 comments

Life in Emojis – visualize the rest of your life

https://www.findfreetime.com/life
2•nicole-kelner•20m ago•0 comments

ProxLB 1.1.11 for Proxmox clusters released

https://gyptazy.com/blog/proxlb-proxmox-ha-affinity-rules-version-1-1-11/
1•gyptazy•22m ago•1 comments

SELinux Alternative – BPFJailer Implementation

https://github.com/gen0sec/bpfjailer
1•davidpapp•23m ago•1 comments

Ozempic reduced grocery spending by an average of 5.3% in the US

https://news.cornell.edu/stories/2025/12/ozempic-changing-foods-americans-buy
2•giuliomagnifico•26m ago•0 comments

Beyond Python: Why LLMs Need More Stable, Open Source Code

https://thenewstack.io/beyond-python-why-llms-need-more-stable-open-source-code/
1•jboss10•26m ago•0 comments

Amazon insists I return a phone it says 'may be lost'

https://www.theguardian.com/money/2026/jan/12/amazon-return-phone-may-be-lost
2•n1b0m•27m ago•0 comments

Launch a Debugging Terminal into GitHub Actions

https://blog.gripdev.xyz/2026/01/10/actions-terminal-on-failure-for-debugging/
6•martinpeck•29m ago•0 comments

Show HN: Pairlane – P2P file sharing, no file bytes on server (WebRTC)

https://getpairlane.com/
2•kiyo-e•30m ago•0 comments

We still live in Fast Food Nation

https://www.theguardian.com/news/2026/jan/06/we-still-live-in-fast-food-nation-eric-schlosser
1•ravel•31m ago•0 comments
Open in hackernews

Lightpanda migrate DOM implementation to Zig

https://lightpanda.io/blog/posts/migrating-our-dom-to-zig
77•gearnode•3h ago

Comments

barishnamazov•2h ago
This reminds me of the Servo project's journey. Always impressed to see another implementation of the WHATWG specs.

It's interesting to see Zig being chosen here over Rust for a browser engine component. Rust has kind of become the default answer for "safe browser components" (e.g., Servo, Firefox's oxidation), primarily because the borrow checker maps so well to the ownership model of a DOM tree in theory. But in practice, DOM nodes often need shared mutable state (parent pointers, child pointers, event listeners), which forces you into Rc<RefCell<T>> hell in Rust.

Zig's manual memory management might actually be more ergonomic for a DOM implementation specifically because you can model the graph relationships more directly without fighting the compiler, provided you have a robust strategy for the arena allocation. Excited to learn from Lightpanda's implementation when it's out.

fbouvier•2h ago
Hi, I am Francis, founder of Lightpanda. We wrote a full article explaining why we choose Zig over Rust or C++, if you are interested: https://lightpanda.io/blog/posts/why-we-built-lightpanda-in-...

Our goal is to build a headless browser, rather than a general purpose browser like Servo or Chrome. It's already available if you would like to try it: https://lightpanda.io/docs/open-source/installation

barishnamazov•1h ago
Thanks Francis, appreciate the nice & honest write-up with the thought process (while keeping it brief).
parhamn•1h ago
Off topic note: I read the website and a few pages of the docs and it's unclear to me for what I can use LightPanda safely. Like say I wanted to swap my it as my engine on playwright, what are the tradeoffs? What things are implemented, what isnt?
h33t-l4x0r•1h ago
I think it's really more of an alternative to JSDom than it is an alternative to Chromium. It's not going to fool any websites that care about bots into thinking it's a real browser in other words.
fbouvier•1h ago
Thanks for the feedback, we will try to make this clearer on the website. Lightpanda works with Playwright, and we have some docs[1] and examples[2] available.

Web APIs and CDP specifications are huge, so this is still a work in progess. Many websites and scripts already work, while others do not, it really depends on the case. For example, on the CDP side, we are currently working on adding an Accessibility tree implentation.

[1] https://lightpanda.io/docs/quickstart/build-your-first-extra...

[2] https://github.com/lightpanda-io/demo/tree/main/playwright

nicoburns•1h ago
I see you're using html5ever for HTML parsing, and like it's trait/callback based API (me too). It looks like style/layout is not in scope at the moment, but if you're ever looking at adding style/layout capabilities to lightpanda, then you may find it useful to know that Stylo [0] (CSS / style system) and Taffy [1] (box-level layout) are both avaiable with a similar style of API (also Parley [2] which has a slightly different API style but can be combined with Taffy to implement inline/text layout).

[0]: https://github.com/servo/stylo

[1]: https://github.com/DioxusLabs/taffy

[2]: https://github.com/linebender/parley

---

Also, if you're interested in contributing C bindings for html5ever upstream then let me know / maybe open a github issue.

quotemstr•45m ago
Choosing something like Zig over C++ on simplicity grounds is going to be a false economy. C++ features exist for a reason. The complexity is in the domain. You can't make a project simpler by using a simplistic language: the complexity asserts itself somehow, somewhere, and if a language can't express the concept you want, you'll end up with circumlocution "patterns" instead.

Build system complexity disappears when you set it up too. Meson and such can be as terse as your Curl example.

I mean, it's your project, so whatever. Do what you want. But choosing Zig for the stated reasons is like choosing a car for the shape of the cupholders.

hnlmorg•5m ago
That’s not fully true though. There’s different types of complexity:

- project requirements

- requirements forced upon you due to how the business is structured

- libraries available for a particular language ecosystem

- paradigms / abstractions that a language is optimised for

- team experiences

Your argument is more akin to saying “all general purpose languages are equal” which I’m sure you’d agree is false. And likewise, complexity can and will manifest itself differently depending on language, problems being solved, and developer preferences for different styles of software development.

So yes, C++ complexity exists for a reason (though I’d personally argue that “reason” was due to “design by committee”). But that doesn’t mean that reason is directly applicable to the problems the LightPanda team are concerned about solving.

pjmlp•2h ago
And use-after-free, when that arena's memory goes away.
IshKebab•1h ago
I don't think it's really that bad in Rust. If you're happy with an arena in Zig you can do exactly the same thing in Rust. There are a ton of options listed here: https://donsz.nl/blog/arenas/

Some of them even prevent use after free (the "ABA mitigation" column).

mijoharas•43m ago
I'm not super experienced with zig, but I always think that in the same way that rust forces you to think about ownership (by having the borrow checker - note: I think of this as a good thing personally) zig makes you think upfront about your allocation (by making everything that can allocate take an allocator argument.).

It makes everything very explicit, and you can always _see_ where your allocations are happening in a way that you can't (as easily, or as obviously - imo) in rust.

It seems like something I quite like. I'm looking forward to rust getting an effects system/allocator api to help a little more with that side of things.

silon42•12m ago
The problem is deallocation... unless you tie the allocated object to an arena allocator with a lifetime somehow (Rust can model that).
mijoharas•4m ago
Yep, rust forces you to think about lifetimes. Zig only suggests it (because you're forced to think about allocation, which makes you naturally think about the lifetime usually) but does not help you with it/ensure correctness.

It's still nice sometimes to ensure that you have to think about allocation everywhere, and can change the allocation strategy for something that works for your usecase. (hence why I'm looking forward to the allocator api in rust to get the best of both worlds).

pjmlp•24m ago
Which is hardly any different from me using PurifyPlus back in 2000.
galangalalgol•25m ago
Too late now, but is the requirement for shared mutable state inherent in the problem space? Or is it just because we still thought OOP was cool when we started on the DOM design?
7bit•12m ago
> without fighting the compiler

It's unfortunate that "writing safe code" is constantly being phrased in this way.

The borrow checker is a deterministic safety net. Claiming Zig is easier ignores that its lack of safety checks is what makes it feel easier; if Zig had Rust’s guarantees, the complexity would be the same. Comparing them like this is apples vs. oranges.

senko•5m ago
The fact that Zig doesn't have Rust's guarantees doesn't mean Zig does not have safety checks. The safety checks that Zig does have are different, and are different in a way that's uniquely useful for this particular project.

Zig's check absolutely don't go to the extent that Rust's do, which is kind of the point here. If you do need to go beyond safe code in Rust, Zig is safer than unsafe code in Rust.

Saying Zig lacks safety checks is unfortunate, although I wouldn't presume you meant it literally and just wanted to highlight the difference.

pron•51s ago
> Rust has kind of become the default answer for "safe browser components"

I don't think that a language that was meant to compete with C++ and in 10+ years hasn't captured even 10% of C++'s (already diminished) market share could be said to have become "the default" for anything. Certainly we shouldn't generalise from n=1 (or even n=2).

nicoburns•1h ago
This table is informative as to exactly what lightpanda is: https://lightpanda.io/blog/posts/what-is-a-true-headless-bro...

TL;DR: It does the following:

- Fetch HTML over the network

- Parse HTML into a DOM tree

- Fetch and execute JavaScript that manipulates the DOM

But not the following:

- Fetch and parse CSS to apply styling rules

- Calculate layout

- Fetch images and fonts for display

- Paint pixels to render the visual result

- Composite layers for smooth scrolling and animations

So it's effectively a net+DOM+script-only browser with no style/layout/paint.

---

Definitely fun for me to watch as someone who is making a lightweight browser engine with a different set of trade-offs (net+DOM+style/layout/paint-only with no script)

karel-3d•1h ago
When I was working before on something that used headless browser agents, the ability to do a screenshot (or even a recording) was really great for debugging... so I am not sure about the "no paint". But hey everything in life is a trade-off.
pzo•39m ago
yeah I feel the same, I think even having a screenshot of part of rendered page or full page can be useful even for machines considering how heavy those HTML can be to parse and expensive for LLM context. Sometimes (sub)screenshot is just a better kind of compression
fbouvier•30m ago
Yes HTML is too heavy and too expensive for LLM. We are working on a text-based format more suitable for AI.
warpech•12m ago
> So it's effectively a net+DOM+script-only browser with no style/layout/paint.

> ---

> Definitely fun for me to watch as someone who is making a lightweight browser engine with a different set of trade-offs (net+DOM+style/layout/paint-only with no script)

Both projects (Lightpanda, DioxusLabs/blitz) sound very interesting to me. What do you think about rendering patterns that require both script+layout for rendering, e.g. virtual scrolling of large tables?

What would be a good pattern to make virtual scrolling work with Lightpanda or Blitz?

nicoburns•6m ago
So Blitz does technically have scripting, it's just Rust scripting rather than JavaScript scripting. So the plan for virtual scrolling would likely be to implement it in Rust.

If your aim is to render a UI (ala Electron/Flutter) then we have a React-style framework (Dioxus) that runs on top of Blitz, and allows you access to the low-level Rust API of the DOM for advanced use cases (although it's still a WIP and this API is a bit rough atm). I'm also hoping to eventually have a built-in `RecyclerView`-like widget for this (that can bypass the style/layout systems for much more efficient virtual scrolling).

everlier•1h ago
Wow. Lightpanda is absolutely bonkers of a project. I'd pay dearly for such an option a few years back.
kristopolous•27m ago
I've been using it for months now ever since I saw their presentation at GitHub

This is a common flow for me

    lightpanda url | markitdown (microsoft) | sd (day50 streamdown) 
I even have it as a shell alias, wv(). It's way better than the crusty old lynx and links on sites that need JS.

It's solid. Definitely worth a check

lewdwig•19m ago
A language which is not 1.0, and has repeatedly changed its IO implementation in a non-backwards-compatible way is certainly a courageous choice for production code.