frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Yandex bot traffic down 99% after data center attack

https://radar.cloudflare.com/bots/as13238?dateRange=7d#bot-traffic
136•rooftopzen•1h ago•35 comments

Type-safe HTML templating in Zig

https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html
32•lukaslalinsky•1h ago•12 comments

Will Linux phones become a viable alternative to the Android/iOS duopoly?

https://amosbbatto.wordpress.com/2026/10/05/linux-phones-alternative/
28•amosbatto•1h ago•12 comments

Fingerprints are the new cookies

https://royfish.dev/fingerprints-are-the-new-cookies
254•royfish•7h ago•126 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
443•jttnr•12h ago•187 comments

Whatever became of holography? (2011)

https://www.americanscientist.org/article/whatever-became-of-holography
104•cainxinth•6h ago•51 comments

Calculus with Julia

https://jverzani.github.io/CalculusWithJuliaNotes.jl/
67•subset•1d ago•1 comments

Cartographers of North Korea (2019)

https://cartographers-nk.wonyoung.so/
227•edent•10h ago•39 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
72•acley•5h ago•18 comments

No portable way to detect string-to-float conversion errors in standard C

https://sebsite.pw/w/20261009-strtod.html
23•signa11•1d ago•16 comments

The gap in shared understanding of LLM capability is widening

https://twitter.com/karpathy/status/2109361546505966046
383•albertzeyer•9h ago•541 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
374•Anon84•16h ago•408 comments

Google is illegaly cutting forest to build data centers

https://www.theguardian.com/technology/2026/oct/06/google-datacentres-finland-temporary-halt-envi...
341•heyimada•7h ago•87 comments

Illustration Beyond Proof

https://terrytao.wordpress.com/2026/10/11/illustration-beyond-proof/
53•smilelamp•6h ago•0 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
58•TedHaley•6h ago•12 comments

Passkeys are a trap

https://nonfunctional.substack.com/p/passkeys-are-a-trap-do-not-use-them
467•laurex•8h ago•254 comments

Chapter 1 of "Ways of Seeing" by John Berger (1972)

https://www.ways-of-seeing.com/ch1
100•rafael859•11h ago•15 comments

Vectorized CLZ and CTZ

https://purplesyringa.moe/blog/vectorized-clz-and-ctz/
31•zX41ZdbW•1d ago•5 comments

Programmable pigments: Photochromic nanoparticle inks for rewritable tattoos

https://www.cell.com/matter-light/fulltext/S3117-5848(26)00119-5
40•Bluestein•20h ago•4 comments

So, You’d Like To Sell Your Print Issues Of The Onion?

https://theonion.com/archivehunt/
299•mooreds•10h ago•46 comments

Every US Electrical Outlet Explained [video]

https://www.youtube.com/watch?v=n_1wzYQwnts
8•zdw•1d ago•4 comments

NYC's "Click to Cancel" rule is now in effect

https://www.nyc.gov/main/click-to-cancel
429•gregsadetsky•12h ago•204 comments

I guess I'm using WebP now?

https://anderegg.ca/2026/10/08/i-guess-im-using-webp-now
96•Brajeshwar•2d ago•100 comments

Recursive self-improvement through collective intelligence

https://pub.sakana.ai/mass/
94•hardmaru•7h ago•51 comments

Tattoos you can turn on and off

https://www.livescience.com/technology/cool-chemistry-trick-allows-new-tattoos-to-turn-on-and-off
47•MortyDev•9h ago•18 comments

ClickHouse C – Talk to ClickHouse using its native binary protocol

https://github.com/ClickHouse/clickhouse-c
29•saisrirampur•7h ago•1 comments

apsw: Another Python SQLite Wrapper

https://github.com/rogerbinns/apsw
76•tosh•13h ago•17 comments

Valen's Memory Safety: A New Kind of Borrow Checking

https://verdagon.dev/blog/valen-group-borrowing
154•verdagon•18h ago•83 comments

Shredding JSON columns gave Logfire up to 1000x faster queries

https://pydantic.dev/articles/dynamic-shredding-2026-01-26
17•acossta•7h ago•9 comments

HashiCorp archives the Boundary open source repo

https://github.com/hashicorp/boundary
62•vmatsiiako•6h ago•12 comments
Open in hackernews

Type-safe HTML templating in Zig

https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html
31•lukaslalinsky•1h ago

Comments

slopinthebag•55m ago
one thing i love about rust's macros is that you can accomplish this without needing a separate file type or inventing syntax

   #[component]
   pub fn HomePage(user: Option<User>) -> Element {
      rsx! {
         Layout { 
            title: "Home",
            if let Some(u) = user {
               h1 { "Welcome back, {u.name}!" }
               a { href: "/users/{u.id}", "Your profile" }
            } else {
               h1 { "Welcome, guest!" }
               a { href: "/login", "Log in" }
            }
         }
      }
   }
sroerick•37m ago
That is super cool actually
asimovDev•26m ago
This is just Twig templates, crazy. It's cool that Rust can do this out of a box
slopinthebag•23m ago
yep and you get rust's lsp support too, autoformatting, etc.

this is rsx, but there are other macros that look just like html. i prefer this though, it's much more compact and readable imo

dnautics•16m ago
> you can accomplish this

That's not HTML though, you have to learn a whole new dsl that must conform to rust parser rules. So, not the same thing at all.

josephg•6m ago
You can do actual html. This is Leptos, a Solidjs like rust library:

    #[component]
    fn App() -> impl IntoView {
        let (count, set_count) = signal(0);
        view! {
            <button
                on:click=move |_| set_count.set(3) >
                "Click me”</button>
             <p>{move || count.get() * 2}</p>
        }
    }
Humphrey•33m ago
I love the idea! I could imagine something similar created for other languages too. Perhaps written in a way that a template could be reused i, let's say Django, and a JS React frontend. With all the type-safety that tsx provides.
dnautics•16m ago
This is sort of halfway between tsx and Elixir's EEx
fergie•19m ago
W3C: Why can't we just have <includes src="./header.html"> and be done with it?
jrimbault•4m ago
<?php include "header.html" ?>