frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

iPhone 17 Pro Demonstrated Running a 400B LLM

https://twitter.com/anemll/status/2035901335984611412
224•anemll•3h ago•129 comments

Trivy under attack again: Widespread GitHub Actions tag compromise secrets

https://socket.dev/blog/trivy-under-attack-again-github-actions-compromise
36•jicea•1d ago•14 comments

Cyber.mil serving file downloads using TLS certificate which expired 3 days ago

https://www.cyber.mil/stigs/downloads
93•Eduard•2h ago•86 comments

BIO: The Bao I/O Coprocessor

https://www.bunniestudios.com/blog/2026/bio-the-bao-i-o-coprocessor/
23•zdw•2d ago•4 comments

Show HN: Threadprocs – executables sharing one address space (0-copy pointers)

https://github.com/jer-irl/threadprocs
33•jer-irl•1h ago•26 comments

Bombadil: Property-based testing for web UIs

https://github.com/antithesishq/bombadil
173•Klaster_1•4d ago•69 comments

Unix philosophy is dead Long live something else?

https://sdomi.pl/weblog/27-manifesto-of-a-burnt-out-hacker/
7•caminanteblanco•47m ago•1 comments

An unsolicited guide to being a researcher [pdf]

https://emerge-lab.github.io/papers/an-unsolicited-guide-to-good-research.pdf
102•sebg•4d ago•16 comments

Is it a pint?

https://isitapint.com/
93•cainxinth•1h ago•82 comments

If DSPy is so great, why isn't anyone using it?

https://skylarbpayne.com/posts/dspy-engineering-patterns/
145•sbpayne•3h ago•90 comments

I built an AI receptionist for a mechanic shop

https://www.itsthatlady.dev/blog/building-an-ai-receptionist-for-my-brother/
82•mooreds•7h ago•98 comments

Migrating to the EU

https://rz01.org/eu-migration/
666•exitnode•7h ago•541 comments

Side-Effectful Expressions in C (2023)

https://blog.xoria.org/expr-stmt-c/
17•surprisetalk•5d ago•1 comments

Walmart: ChatGPT checkout converted 3x worse than website

https://searchengineland.com/walmart-chatgpt-checkout-converted-worse-472071
295•speckx•3d ago•204 comments

PC Gamer recommends RSS readers in a 37mb article that just keeps downloading

https://stuartbreckenridge.net/2026-03-19-pc-gamer-recommends-rss-readers-in-a-37mb-article/
767•JumpCrisscross•23h ago•355 comments

Two pilots dead after plane and ground vehicle collide at LaGuardia

https://www.bbc.com/news/articles/cy01g522ww4o
114•mememememememo•10h ago•186 comments

POSSE – Publish on your Own Site, Syndicate Elsewhere

https://indieweb.org/POSSE
364•tosh•9h ago•80 comments

GitHub appears to be struggling with measly three nines availability

https://www.theregister.com/2026/02/10/github_outages/
346•richtr•7h ago•179 comments

General Motors is assisting with the restoration of a rare EV1

https://evinfo.net/2026/03/general-motors-is-assisting-with-the-restoration-of-an-1996-ev1/
63•betacollector64•3d ago•68 comments

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon

https://larstofus.com/2026/03/22/the-gold-standard-of-optimization-a-look-under-the-hood-of-rolle...
523•mariuz•22h ago•142 comments

Tin Can, a 'landline' for kids

https://www.businessinsider.com/tin-can-landline-kids-cellphone-cell-alternative-how-2025-9
272•tejohnso•3d ago•216 comments

“Collaboration” is bullshit

https://www.joanwestenberg.com/collaboration-is-bullshit/
159•mitchbob•16h ago•72 comments

Reports of code's death are greatly exaggerated

https://stevekrouse.com/precision
530•stevekrouse•1d ago•390 comments

The future of version control

https://bramcohen.com/p/manyana
618•c17r•1d ago•346 comments

Nanopositioning Metrology, Gödel, and Bootstraps

https://www.pi-usa.us/en/tech-blog/nanopositioning-metrology-goedel-and-bootstraps
16•nill0•4d ago•2 comments

Cyberattack on vehicle breathalyzer company leaves drivers stranded in the US

https://techcrunch.com/2026/03/20/cyberattack-on-vehicle-breathalyzer-company-leaves-drivers-stra...
91•speckx•4h ago•122 comments

Can you get root with only a cigarette lighter? (2024)

https://www.da.vidbuchanan.co.uk/blog/dram-emfi.html
147•HeliumHydride•3d ago•30 comments

Why I love NixOS

https://www.birkey.co/2026-03-22-why-i-love-nixos.html
409•birkey•1d ago•275 comments

GoGoGrandparent (YC S16) is hiring Back end Engineers

https://www.ycombinator.com/companies/gogograndparent/jobs/2vbzAw8-backend-engineer
1•davidchl•14h ago

Project Nomad – Knowledge That Never Goes Offline

https://www.projectnomad.us
559•jensgk•1d ago•203 comments
Open in hackernews

Sed, a powerfull mini-language from the 70s

https://julienlargetpiet.tech/articles/sed-a-powerfull-mini-language-from-the-70s.html
15•random__duck•2h ago

Comments

supriyo-biswas•1h ago
This would have been a good article if the author actually took the time to write out the article themselves, perhaps in their native language, rather than using a LLM to write it.
adelks•1h ago
Indeed.
surgical_fire•1h ago
Man, I don't even hate LLM for the sake of it, but this LLM language and formatting is really grating after a while.
TheChaplain•41m ago
This one feels more authentic.

https://www.grymoire.com/Unix/Sed.html

supriyo-biswas•23m ago
I actually prefer the "organization" of the original article, but could not continue past the LLMisms.
phplovesong•1h ago
For those of us using vim/neovim sed is something everyone had to learn, even if they did not realize it.

This is the true power of vim. Even now decades later the unix toolbelt holds up, and is still unmatched for productivity.

Vim is in the end just a small piece of the puzzle. You use small tools for your problem, mix and match.

Its kind of like functional programming. Compose and reduce.

aperrien•1h ago
Thanks for the blast from the past. SED led me to AWK, which led me to Perl, which lead me to Python. An interesting chain that brought me back to the interpreted languages like BASIC that I programmed in when I was a kid. Even though my formal training in college was Pascal and C.
0xfaded•1h ago
I learned sed back in the day to show off. I wish I'd invested that effort in learning perl oneliners instead. For whatever reason I picked up enough awk along the way, and now that's what I tend to use if I ever need something beyond a simple substitution.
evanjrowley•1h ago
For a while my home had a Raspberry Pi 2B running FreeBSD 10 acting as a router-on-a-stick. When I lost SSH connectivity to it, I would instead use GNU screen as with a serial cable. For whatever reason, I could never get "full screen" TUI apps like vi and nano to display properly. To edit files (like pf.conf for firewall rules), I had to use sed to edit lines of the file. It was an interesting learning experience and perhaps a glimpse of how things used to be with green screen terminals. Shortly thereafter I switched over to a Beaglebone Green with OpenBSD 5 and never needed that workaround again.
jasonpeacock•1h ago
Long ago, I bought the O'Reilly "Sed & Awk" book with plans to become a true unix guru.

Then I realized I already knew Perl (and Perl one-liners), so there it sat unused on the shelf.

stvltvs•46m ago
Mostly it's useful in my experience on systems without Perl installed, but that doesn't often come up in my world.
piekvorst•1h ago
I prefer sam [1]. Unlike sed, it's not Turing complete, but it is far more elegant to my taste - consider this example from the article:

    :loop N; s/\n[[:space:]]\+/ /g; t loop; p
In sam, the equivalent is:

    x/(.+\n)*/ x/\n */ c/ /
It reads like this: loop over paragraphs of non-empty lines, loop over newline followed by spaces, replace with a single space. It's surprisingly close to SQL in its eloquence.

Another example:

    N; h; s/\n/->/g ;p; g; D
In sam, an equivalent would be

    {
        1,$-2 x/./ {
            a/->/
            /./ t .
        }
        $-1 d
    }
Again, it's readable from top to bottom: from the first line to the second from the end, loop over each symbol, put "->" after it and copy the next symbol next to it; delete the last line.

Let's see how far we can get. Another example:

    N; h; s/\n/->/g; p; G; D
In sam, an equivalent would be:

    {
        d
        1,$-2 x/./ {
            1,/./ x/.|\n/ {
                g/./ t $
                g/\n/ $ c/->/
            }
            $ c/\n/
        }
    }
It reads like this: delete the whole thing; from the first line to the second from the end, loop over each character; on each iteration, from the first line to the next character, run an inner loop over each character or newline; if it's a character, put it at the end; otherwise, put "->" at the end; once the inner loop is done, put a newline at the end.

The final example from the post is too long to have it here (15 lines). Here's just the sam equivalent for it:

    x/(.+\n)+|\n+/ {
        g/./ x/\n/ c/ /
        v/./ c/\n/
    }
It reads like this: loop over paragraphs of non-empty lines or sequences of newline characters; if it has any symbol (that is, it's a paragraph), replace each newline symbol with a space; if it doesn't have a symbol (that is, it's a sequence of newline symbols), replace it with a single newline.

What I have learned from this is that the right tool, however limited (and sam is far from being universal), is more convenient than a universal state machine.

(My examples may not be the exact same algorithms, since I do not understand (or need) sed concepts, but they do produce the same output.)

[1]: https://9p.io/sys/doc/sam/sam.html