frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Cybersecurity looks like proof of work now

https://www.dbreunig.com/2026/04/14/cybersecurity-is-proof-of-work-now.html
218•dbreunig•1d ago•84 comments

I made a terminal pager

https://theleo.zone/posts/pager/
53•speckx•2h ago•8 comments

YouTube now lets you turn off Shorts

https://www.theverge.com/streaming/912898/youtube-shorts-feed-limit-zero-minutes
117•pentagrama•1h ago•52 comments

Ohio prison inmates 'built computers and hid them in ceiling (2017)

https://www.bbc.com/news/technology-39576394
53•harambae•3h ago•38 comments

Google broke its promise to me – now ICE has my data

https://www.eff.org/deeplinks/2026/04/google-broke-its-promise-me-now-ice-has-my-data
1075•Brajeshwar•7h ago•467 comments

Cal.com is going closed source

https://cal.com/blog/cal-com-goes-closed-source-why
201•Benjamin_Dobell•9h ago•153 comments

PiCore - Raspberry Pi Port of Tiny Core Linux

http://tinycorelinux.net/5.x/armv6/releases/README
78•gregsadetsky•5h ago•6 comments

God sleeps in the minerals

https://wchambliss.wordpress.com/2026/03/03/god-sleeps-in-the-minerals/
447•speckx•12h ago•95 comments

Retrofitting JIT Compilers into C Interpreters

https://tratt.net/laurie/blog/2026/retrofitting_jit_compilers_into_c_interpreters.html
32•ltratt•13h ago•9 comments

Live Nation illegally monopolized ticketing market, jury finds

https://www.bloomberg.com/news/articles/2026-04-15/live-nation-illegally-monopolized-ticketing-ma...
380•Alex_Bond•6h ago•114 comments

Want to write a compiler? Just read these two papers (2008)

https://prog21.dadgum.com/30.html
464•downbad_•15h ago•139 comments

Hacker News CLI

https://pythonhosted.org/hackernews-cli/commands.html
30•rolph•3h ago•11 comments

Good sleep, good learning, good life (2012)

https://super-memory.com/articles/sleep.htm
369•downbad_•16h ago•185 comments

Anna's Archive loses $322M Spotify piracy case without a fight

https://torrentfreak.com/annas-archive-loses-322-million-spotify-piracy-case-without-a-fight/
326•askl•17h ago•354 comments

PBS Nova: Terror in Space (1998)

https://www.pbs.org/wgbh/nova/mir/
17•opengrass•4d ago•6 comments

Ask HN: Who is using OpenClaw?

200•misterchocolat•5h ago•241 comments

The Gemini app is now on Mac

https://blog.google/innovation-and-ai/products/gemini-app/gemini-app-now-on-mac-os/
75•thm•7h ago•38 comments

Monsters in the Archives by Caroline Bicks – The Writing Secrets of Stephen King

https://www.theguardian.com/books/2026/mar/30/monsters-in-the-archives-by-caroline-bicks-review-t...
5•lermontov•4d ago•0 comments

Do you even need a database?

https://www.dbpro.app/blog/do-you-even-need-a-database
199•upmostly•12h ago•242 comments

CRISPR takes important step toward silencing Down syndrome’s extra chromosome

https://medicalxpress.com/news/2026-04-crispr-bold-silencing-syndrome-extra.html
75•amichail•8h ago•52 comments

Fixing a monitor that goes black, off or blinks due to static electricity (2023)

https://aalonso.dev/blog/2023/how-to-fix-monitor-that-goes-black-off-due-to-static-electricity-in...
111•cyclopeanutopia•3d ago•64 comments

The buns in McDonald's Japan's burger photos are all slightly askew

https://www.mcdonalds.co.jp/en/menu/burger/
203•bckygldstn•3h ago•123 comments

Adaptional (YC S25) is hiring AI engineers

https://www.ycombinator.com/companies/adaptional/jobs/k7W6ge9-founding-engineer
1•acesohc•8h ago

How can I keep from singing?

https://blog.danieljanus.pl/singing/
43•nathell•1d ago•8 comments

Forcing an inversion of control on the SaaS stack

https://www.100x.bot/a/client-side-injection-inversion-of-control-saas
73•shardullavekar•5d ago•43 comments

Golden eagles' return to English skies

https://www.bbc.co.uk/news/articles/cje4zlxqkqdo
41•techterrier•3d ago•20 comments

Does Gas Town 'steal' usage from users' LLM credits to improve itself?

https://github.com/gastownhall/gastown/issues/3649
206•rektomatic•4h ago•100 comments

The Universal Constraint Engine: Neuromorphic Computing Without Neural Networks

https://zenodo.org/records/19600206
6•skinney_uce•1h ago•1 comments

One interface, every protocol

https://openbindings.com/blog/one-interface-every-protocol
37•clevengermatt•5h ago•3 comments

Costasiella kuroshimae

https://en.wikipedia.org/wiki/Costasiella_kuroshimae
142•vinnyglennon•3d ago•52 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

https://serpapi.com/blog/faster-regular-expression-engines-in-ruby/
60•davidsojevic•11mo ago

Comments

yxhuvud•11mo ago
Eww, pretending to support utf8 matchers while not supporting them at all was not pretty to see.
gitroom•11mo ago
Honestly that part bugs me, fake support is worse than no support imo
kayodelycaon•11mo ago
> Another nuance was found in ruby, which cannot scan the haystack with invalid UTF-8 byte sequences.

This is extremely basic ruby: UTF-8 encoded strings must be valid UTF-8. This is not unique to ruby. If I recall correctly, python 3 does the same thing.

    2.7.1 :001 > haystack = "\xfc\xa1\xa1\xa1\xa1\xa1abc"
    2.7.1 :003 > haystack.force_encoding "ASCII-8BIT"
    => "\xFC\xA1\xA1\xA1\xA1\xA1abc" 
    2.7.1 :004 > haystack.scan(/.+/)
    => ["\xFC\xA1\xA1\xA1\xA1\xA1abc"]
This person is a senior engineer on their Team page. All they had to do was google "ArgumentError: invalid byte sequence in UTF-8". Or ask a coworker... the company has Ruby on Rails applications. headdesk
burntsushi•11mo ago
The nuance is specifically relevant here because neither of the other two regex engines benchmarked have this requirement. It's doubly relevant because that means running a regex search doesn't require a UTF-8 validation step, and is therefore likely beneficial from a perf perspective, dependening on the workload.
kayodelycaon•11mo ago
That’s a good point. I hadn’t considered it because I’ve hit the validation error long before getting to search. It is possible to avoid string operations with careful coding prior to the search.

Edit: After a little testing, the strings can be read from and written to files without triggering validation. Presumably this applies to sockets as well.

DmitryOlshansky•11mo ago
I wonder how std.regex of dlang would fare in such test. Sadly due to a tiny bit of D’s GC use it’s hard to provide as a library for other languages. If there is an interest I might take it through the tests.