frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

So, You've Hit an Age Gate. What Now?

https://www.eff.org/deeplinks/2026/01/so-youve-hit-age-gate-what-now
91•hn_acker•1h ago•55 comments

Why some clothes shrink in the wash – and how to 'unshrink' them

https://www.swinburne.edu.au/news/2025/08/why-some-clothes-shrink-in-the-wash-and-how-to-unshrink...
243•OptionOfT•3d ago•130 comments

Find a pub that needs you

https://www.ismypubfucked.com/
79•thinkingemote•3h ago•37 comments

Ask HN: Could you share your personal website here?

51•susam•1h ago•167 comments

Starlink roam 50GB is now 100GB with unlimited slow speed after that

https://starlink.com/support/article/58c9c8b7-474e-246f-7e3c-06db3221d34d
131•bahmboo•2h ago•129 comments

The Unbearable Frustration of Figuring Out APIs

https://blog.ar-ms.me/thoughts/translation-cli/
38•ezekg•2h ago•19 comments

Edge of Emulation: Game Boy Sewing Machines (2020)

https://shonumi.github.io/articles/art22.html
75•mosura•4h ago•6 comments

There's a ridiculous amount of tech in a disposable vape

https://blog.jgc.org/2026/01/theres-ridiculous-amount-of-tech-in.html
673•abnercoimbre•2d ago•586 comments

Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales

https://electrek.co/2026/01/13/ford-f150-lightning-outsold-tesla-cybertruck-canceled-not-selling-...
119•MBCook•1h ago•118 comments

I built Vector. Now I'm answering the question your observability vendor won't

https://usetero.com/blog/the-question-your-observability-vendor-wont-answer
56•binarylogic•2h ago•24 comments

Show HN: HyTags – HTML as a Programming Language

https://hytags.org
27•lassejansen•1d ago•13 comments

Xoscript

https://xoscript.com/history.xo
30•gabordemooij•2h ago•20 comments

Show HN: A 10KiB kernel for cloud apps

https://github.com/ReturnInfinity/BareMetal-Cloud
30•ianseyler•2h ago•3 comments

I’m leaving Redis for SolidQueue

https://www.simplethread.com/redis-solidqueue/
249•amalinovic•9h ago•102 comments

Virginia Faulkner: Writer, Editor and Ghostwriter?

https://lithub.com/virginia-faulkner-writer-editor-and-ghostwriter/
8•samclemens•5d ago•1 comments

Government drops plans for mandatory digital ID to work in UK

https://www.bbc.com/news/articles/c3385zrrx73o
100•FridayoLeary•3h ago•42 comments

How have prices changed in a year? NPR checked 114 items at Walmart

https://www.npr.org/2026/01/14/nx-s1-5638908/walmart-prices-inflation-affordability-shrinkflation
83•srameshc•2h ago•41 comments

GitHub should charge everyone $1 more per month to fund open source

https://blog.greg.technology/2025/11/27/github-should-charge-1-dollar-more-per-month.html
46•evakhoury•2h ago•55 comments

Lago (Open-Source Billing) is hiring across teams and geos

1•Rafsark•6h ago

A Brief Introduction to the Basics of Game Theory

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=1968579
44•7777777phil•2d ago•5 comments

I Hate GitHub Actions with Passion

https://xlii.space/eng/i-hate-github-actions-with-passion/
279•xlii•7h ago•226 comments

System Programming in Linux: A Hands-On Introduction "Demo" Programs

https://github.com/stewartweiss/intro-linux-sys-prog
72•teleforce•8h ago•3 comments

1000 Blank White Cards

https://en.wikipedia.org/wiki/1000_Blank_White_Cards
330•eieio•15h ago•58 comments

Show HN: Tiny FOSS Compass and Navigation App (<2MB)

https://github.com/CompassMB/MBCompass
104•nativeforks•7h ago•32 comments

4k tons of potatoes to be given away for free in Berlin

https://www.the-berliner.com/english-news-berlin/4000-tons-of-potatoes-to-be-given-away-for-free/
98•mrzool•1h ago•85 comments

A 40-line fix eliminated a 400x performance gap

https://questdb.com/blog/jvm-current-thread-user-time/
345•bluestreak•19h ago•73 comments

Every GitHub object has two IDs

https://www.greptile.com/blog/github-ids
309•dakshgupta•1d ago•68 comments

FBI raids Washington Post reporter's home

https://www.theguardian.com/us-news/2026/jan/14/fbi-raid-washington-post-hannah-natanson
690•echelon_musk•3h ago•405 comments

ASCII Clouds

https://caidan.dev/portfolio/ascii_clouds/
311•majkinetor•16h ago•55 comments

Never-before-seen Linux malware is "more advanced than typical"

https://arstechnica.com/security/2026/01/never-before-seen-linux-malware-is-far-more-advanced-tha...
86•Brajeshwar•4h ago•22 comments
Open in hackernews

Show HN: HyTags – HTML as a Programming Language

https://hytags.org
27•lassejansen•1d ago
This is hyTags, a programming language embedded in HTML for building interactive web UIs.

It started as a way to write full-stack web apps in Swift without a separate frontend, but grew into a small language with control flow, functions, and async handling via HTML tags. The result is backend language-agnostic and can be generated from any server that can produce HTML via templates or DSLs.

Comments

scatbot•1h ago
This seems similar to _hyperscript, except it uses custom tags instead of the "_" attribute. I'm not sure which approach is better, but personally, I prefer keeping the same document structure and varying behavior through attributes. Easier to rewrite on the fly. Custom tags can be clearer in some cases, but attributes tend to work better with existing HTML and tooling.
lassejansen•40m ago
The main reason for using tags was for me that they can be generated from a host language and stay readable, even for longer scripts. I'm using Swifts result builders for my projects, which enables autocompletion and partial type safety.
catapart•1h ago
Neat! Looks like a pretty straightforward way to develop.

I'm a little too enamored with web components to give it more consideration/testing, but it looks like it could be great for blue sky/green field projects.

akhil08agrawal•31m ago
Interesting idea. As a product person I'm immediately thinking about security. how does this handle auth, data validation, etc when backend logic is embedded in HTML?

But that said, this could unlock some interesting use cases where security isn't the primary concern. Like few internal tools, prototypes, small side projects where the tradeoff might be worth it.

lassejansen•26m ago
It's only frontend logic. There is a small runtime that is implemented in Javascript interprets html tags. Backend logic needs to be implemented on the server.
velcrovan•22m ago
HTML (and XMLish syntax in general) is LISP syntax (not semantics) in disguise. A tag can be viewed as function application, with the attributes as named arguments and the elements as variadic arguments.

The example from the link's main page is equivalent to:

    (button "Say something")
    (on_click
      (selection-insert-after
        (div "Hello, World ")))
[apparently HN strips all emoji but you get the idea]
lassejansen•20m ago
Exactly, code is data ;)
publicdebates•16m ago
Not sure how homoiconicity is related to this at all. Macros don't seem involved.

But I do think s-expressions are an improvement over HTML in certain scenarios.

That said (talking to OP now), why is the control handler outside the button?

In actual HTML, we have [button onclick="codeToBeEvaled()"]

In this thing, you have [button][onclick [sub-expressions]]

With s-expressions, at least you have some semblance of function calls, which would make control flow operators seem slightly more natural, but this hybrid of semantic and syntactic choice just seems bizarrely limited.

lassejansen•9m ago
For most tags you can also put the event handlers as first children inside the element, but self-closing tags like <input> don't support that. I'm now putting the event handlers always outside (as next siblings) for consistency.
dragonwriter•18m ago
> HTML (and XMLish syntax in general) is LISP syntax (not semantics) in disguise

No, its not. If it was, the attribute vs. child element distinction would not exist. HTML (and HTML-inspired XML) syntax is not a trivial alternative to S-expression syntax, it is more complex with additional distinctions.

A simplified subset of (HT|X)ML that uses only elements and no attributes is pretty much directyl equivalent to S-expressions, sure.

css_apologist•15m ago
first let me say i applaud you for experimenting and doing something unconventional

- thoughts as i was reading this -

ok, so we're programming via an AST vs syntax

I think this is interesting, however there's notable downsides - verbosity, dom bloat & debugging

A potential upside to this is very odd but interesting meta programming capabilities, since the code should be able to inspect & modify itself fairly easily by inspecting the dom

I am inclined to distrust the claim that this reduces complexity as most of the actions are mutation heavy directly to the dom, and the stack based programming is something i struggle to practical examples where it is a significant improvement to mainstream strategies

antomal•10m ago
This looks very interesting! It reminds me of the approach taken by HTMX or Alpine.js, but with deeper control flow logic. In your opinion, what is the main advantage of hyTags over HTMX for developers managing complex UI states?
lassejansen•3m ago
I think the approach of HTMX is that UI state is primarily managed by delegating DOM updates to the server and then modifying the DOM with the response.

With hyTags one can do a lot of things without server calls and without resorting to javascript (e.g. inserting and deleting new rows, showing a loading indicator, validating input, animations, ...).