frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Detonating a pile of lead azide

https://www.science.org/content/blog-post/detonating-huge-pile-lead-azide-really
334•beginning_end•4h ago•213 comments

Lean verification of the Riemann Hypothesis

https://leanprover-community.github.io/blog/posts/riemann-hypothesis/
437•g-b-r•3h ago•341 comments

Brazil's tax authority open-sources its tax calculator on GitHub under MIT

https://www.gov.br/receitafederal/pt-br/assuntos/noticias/2026/novembro/receita-federal-publica-p...
477•dvaplima•4d ago•156 comments

PostgreSQL Extensions in Go

https://jespino.github.io/gopgext/
30•valyala•1h ago•0 comments

My monitor was cutting my download speed by 75%

https://blog.tymscar.com/posts/studiodisplayethernet/
284•soheilpro•7h ago•136 comments

Hurried Announcement: Alessandro Masullo GRH

https://math216.wordpress.com/2026/11/20/hurried-announcement-alessandro-masullo-grh/
2319•jasondavies•23h ago•1106 comments

Show HN: Zero C#, Power of C# without any GC

https://onurgumus.github.io/zero-csharp/index.html
50•reverseblade2•2h ago•36 comments

Levent Alpöge claims proof of the Generalized Riemann Hypothesis [pdf]

https://alpo.ge/remark.pdf
2818•iamronaldo•1d ago•1980 comments

I'm quite pleased by the tech architecture of my art website

https://klauria.tech/klauria-art/
66•evakhoury•1d ago•11 comments

Inkling 2 Mini

https://thinkingmachines.ai/news/inkling-2-mini/
1242•jasondavies•22h ago•248 comments

RCE in Gnupg

https://lists.gnupg.org/pipermail/gnupg-announce/2026q4/000517.html
173•gdgghhhhh•9h ago•53 comments

Verification files for the Lean proof of the Riemann Hypothesis

https://math.mit.edu/~drew/grh/
12•Bluestein•2h ago•0 comments

Deterministic Simulation Testing Is for Everyone

https://outdata.net/blog/261120
38•pgraug•1d ago•4 comments

The Soviet Elektronika BK-0010 home computer built on a clone of the PDP-11 CPU

https://8bitarchitect.net/machines/elektronika-bk-0010/
23•andrewstuart•4d ago•6 comments

Ask HN: I have been unemployed for 2y. 15 years of experience, US. What to do?

454•LetThingsBeDiff•18h ago•494 comments

Astra 6.2 and Sol 6.2 flop at Simple Bench

https://simple-bench.com/
122•algoth1•4h ago•104 comments

We promoted developers into architects without informing them

https://manidoraisamy.com/developer-to-architect.html
541•QueensGambit•23h ago•296 comments

LLMs can read and write executables byte by byte from a hex dump

https://sgiannopoulos.github.io/blog/machine-code-programming/
101•fortran77•3d ago•76 comments

Unforced Navier-Stokes Singularity and the Generalized Riemann Hypothesis

https://terrytao.wordpress.com/2026/11/20/unforced-euler-singularity-unforced-navier-stokes-singu...
513•archon1410•1d ago•219 comments

Show HN: An ASCII cell aquarium for your terminal

https://github.com/kborer/cells/
21•kborer•3d ago•10 comments

How I made a custom game engine for Satelital

https://spectralorbit.com/blog/satelital_game_engine
4•todsacerdoti•2d ago•0 comments

ClawDOS – An AI coding agent for DOS

http://ricapar.net/ClawDOS/
137•Ricapar•12h ago•42 comments

Clojure will affect the way you think about programming (2017)

https://eli.thegreenplace.net/2017/clojure-the-perfect-language-to-expand-your-brain/
172•sammatilda•15h ago•78 comments

NINLIVE: The Nine Inch Nails live archive

https://ninlive.com/
328•CharlesW•19h ago•89 comments

Language Models Can Rewrite Their Own Weights

https://arxiv.org/abs/2611.21885
464•lwhsiao•1d ago•140 comments

Slopstrap – Make your site look hastily vibecoded

https://slopstrap.mikelacher.com/
531•mlacher•1d ago•98 comments

Surprisingly Adorable Insect Portraits

https://amateurphotographer.com/latest/these-astonishing-insect-portraits-reveal-a-hidden-world-y...
119•NordStreamYacht•11h ago•26 comments

Nasdaq erases all 2026 gains as AI sell-off dampens Anthropic’s second day

https://www.theguardian.com/business/2026/nov/20/global-stock-markets-slump-anthropic-ipo-ai-sell...
451•cdrnsf•1d ago•794 comments

Sir Brian May adds new dimension to Hera asteroid

https://www.esa.int/articles/about-us/directorates/operations/space-safety/hera/sir-brian-may-add...
147•mooreds•18h ago•37 comments

Defcon 5's California Caravan Program/Zine

https://netninja.com/2026/06/08/defcon-5s-california-caravan-program-zine/
26•speckx•3d ago•2 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

yxhuvud•1y ago
Eww, pretending to support utf8 matchers while not supporting them at all was not pretty to see.
gitroom•1y ago
Honestly that part bugs me, fake support is worse than no support imo
kayodelycaon•1y 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•1y 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•1y 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•1y 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.