frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GPT-5.6

https://openai.com/index/gpt-5-6/
1372•logickkk1•19h ago•946 comments

In Emacs, Everything Looks Like a Service

http://yummymelon.com/devnull/in-emacs-everything-looks-like-a-service.html
64•kickingvegas•4h ago•18 comments

Show HN: Getting GLM 5.2 running on my slow computer

https://github.com/JustVugg/colibri
741•vforno•1d ago•180 comments

EU Parliament greenlights Chat Control 1.0

https://www.patrick-breyer.de/en/eu-parliament-greenlights-chat-control-1-0-breyer-our-children-l...
1466•rapnie•1d ago•718 comments

The mathematical secrets of Barcelona's Sagrada Familia

https://mappingignorance.org/2026/06/30/sagrada-familia/
15•Gedxx•1w ago•0 comments

EU Commission: addictive design Instagram and Facebook in breach of the DSA

https://ec.europa.eu/commission/presscorner/home/en
55•jeroenhd•1h ago•30 comments

Laylo (YC S20) Is Hiring a Head of Finance

https://www.ycombinator.com/companies/laylo/jobs/qce41D2-head-of-finance
1•amellin794•36m ago

Java 27: What's New?

https://www.loicmathieu.fr/wordpress/informatique/java-27-whats-new/
12•loicmathieu•2h ago•3 comments

Train sim created by just one person is being called the best ever made

https://kotaku.com/a-train-sim-created-by-just-one-person-is-being-called-the-best-ever-made-2000...
676•oumua_don17•5d ago•253 comments

Good Tools Are Invisible

https://www.gingerbill.org/article/2026/07/10/good-tools-are-invisible/
17•theanonymousone•2h ago•0 comments

Show HN: 18 Words

https://18words.com/
1031•pompomsheep•23h ago•331 comments

Postgres rewritten in Rust, now passing 100% of the Postgres regression tests

https://github.com/malisper/pgrust
728•SweetSoftPillow•1d ago•609 comments

Apple Silicon Exec Explains Mac Mini AI Demand and On-Device Future

https://www.macrumors.com/2026/07/06/apple-silicon-exec-explains-mac-mini-ai-demand/
100•tosh•3d ago•143 comments

AI-generated videos to maximally drive a target brain region

https://nevo-project.epfl.ch/
112•smusamashah•4h ago•99 comments

Hy3

https://hy.tencent.com/research/hy3
506•andai•21h ago•104 comments

Interview with Mitchell Hashimoto about Ghostty and Zig

https://alexalejandre.com/programming/interview-with-mitchell-hashimoto/
280•veqq•19h ago•138 comments

Ditching Vagrant: VMs with KVM and Virsh on Debian

https://benjamintoll.com/2026/06/29/on-ditching-vagrant/
26•fanf2•3d ago•13 comments

The glass backbone: Why the Army's logistics will break in the next war

https://mwi.westpoint.edu/the-glass-backbone-why-the-armys-logistics-will-break-in-the-next-war/
397•baud147258•23h ago•520 comments

A road to Lisp: Why Lisp

https://scotto.me/blog/2026-07-09-why-lisp/
258•silcoon•23h ago•207 comments

No leap second will be introduced at the end of December 2026

https://datacenter.iers.org/data/latestVersion/bulletinC.txt
293•ChrisArchitect•22h ago•230 comments

Parental device use and the adolescent-caregiver attachment bond

https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2026.1766665/full
144•hbcondo714•12h ago•121 comments

Common prefix skipping, adaptive sort

http://smalldatum.blogspot.com/2026/01/common-prefix-skipping-adaptive-sort.html
30•theanonymousone•3d ago•3 comments

Building a real-time AI tutor for 5-year-olds

https://www.ello.com/blog/teaching-a-child-in-1000-ms
98•catalinvoss•15h ago•195 comments

A possible future for Damn Interesting

https://www.damninteresting.com/a-possible-future/
292•mzur•21h ago•40 comments

Muse Spark 1.1

https://ai.meta.com/blog/introducing-muse-spark-meta-model-api/
388•ot•22h ago•192 comments

Launch HN: Context.dev (YC S26) – API to get structured data from any website

https://www.context.dev
100•TheYahiaBakour•21h ago•70 comments

Life with Hazard Ratios

https://dynomight.net/hazard-ratios/
52•surprisetalk•3d ago•19 comments

Girls just wanna have fast MPMC queues with bounded waiting

https://nahla.dev/blog/waitfree_queue/
183•EvgeniyZh•3d ago•34 comments

My Story of 3D Realms / Apogee Part I (2020)

https://joesiegler.blog/2020/11/my-story-of-apogee-3dr/
81•Michelangelo11•1w ago•6 comments

Why American ambulance rides are so expensive

https://davidoks.blog/p/why-american-ambulance-rides-are
245•jyunwai•14h ago•346 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.