frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

93% of paint splatters are valid Perl programs (2019)

https://www.mcmillen.dev/sigbovik/
250•zenincognito•5h ago•36 comments

Tim Peters has died

https://discuss.python.org/t/in-memoriam-tim-peters-1952-2026/110028
977•ayhanfuat•21h ago•106 comments

AWS emulator

https://github.com/aws/aws-emulator
746•super_linear•10h ago•227 comments

Critical RCE Vulnerability in Apache HTTP Server

https://www.wiz.io/blog/cve-2026-119618-rce-apache-http-server-vulnerability
45•soheilpro•2h ago•22 comments

Nvidia is preparing to oust Jensen Huang

https://www.wsj.com/business/nvidia-is-preparing-to-oust-nvidia-ceo-jensen-huang-30f421ad
706•jbredeche•5h ago•981 comments

Lock Your GitHub Actions

https://hugovk.dev/blog/2026/lock-github-actions/
175•gslin•6h ago•33 comments

United Airlines bans AI agents from booking flights on behalf of travelers

https://www.cbsnews.com/news/united-airlines-bans-ai-agents-booking-flights/
462•herpderperator•7h ago•444 comments

A false smoke alarm almost drowned Jane Street's only NYC datacenter

https://michael.bacarella.com/2026/11/10/false-smoke-alarm-jane-street-datacenter/
442•mbac32768•11h ago•225 comments

Gemini Decisions API

https://blog.google/innovation-and-ai/technology/developers-tools/gemini-decisions-api/
321•iamdelirium•9h ago•100 comments

Did Life Begin in an RNA World?

https://www.quantamagazine.org/did-life-begin-in-an-rna-world-20261109/
26•acossta•2d ago•6 comments

A general purpose Apple Silicon layer for x86-64 PCs

https://github.com/tylertms/Stela
78•iceboundrock•5h ago•31 comments

Emacs in the Age of Magic

https://commandlinesystems.com/magic.txt
168•ggcr•8h ago•60 comments

The Utah Teapot

https://graphics.cs.utah.edu/teapot/
101•cobbal•8h ago•24 comments

Lean Grimoire

https://terrytao.wordpress.com/2026/11/11/lean-grimoire/
12•smilelamp•1h ago•2 comments

Stingray Fish Laser

https://www.stingray.no/en/technology/
11•tptacek•2d ago•9 comments

How to make a CNC plasma cutter with high-frequency start

https://incoherency.co.uk/blog/stories/cnc-plasma-cutter.html
21•edward•3d ago•5 comments

Show HN: I recreated Papers Please but you're deciding which YC startups to fund

https://termsheetplease.com/
198•bolau•9h ago•78 comments

The Learjet Repo Man (2009)

https://www.salon.com/2009/06/06/lear_jet_repo_man/
31•HR01•3d ago•9 comments

My AI agents found an unmapped Maya site?

https://pietromiotti.com/latest/maya-site
949•eyvindn•16h ago•344 comments

Hyper-Realistic Sand with WebGL2

https://av.github.io/safe-sand/
336•everlier•14h ago•66 comments

Faster Retrieval for Better, More Efficient RAG

https://machinelearning.apple.com/research/faster-retrieval
174•zerop•11h ago•32 comments

Show HN: Yogurt – Free, private, open-source alternative to Granola

https://github.com/FrigadeHQ/yogurt
203•brownrout•12h ago•90 comments

Jensen Huang said to have had relationship with executive who reports to him

https://www.nytimes.com/2026/11/11/technology/jensen-huang-nvidia-affair.html
299•louiereederson•6h ago•339 comments

Huawei releases MACaQ, its internal quantizer for local inference

https://github.com/huawei-csl/MACaQ
72•thefox96•8h ago•23 comments

Can a Linear Program Do Weight-Space Programming?

https://nathan.rs/posts/weight-space-lp/
257•emschwartz•15h ago•38 comments

A Brief History of Sierra Online (2017)

https://retrofreakreviews.com/2017/01/30/sierra-retrospective/
35•freshtake•2d ago•15 comments

Flying on Green: Why Farmers Are Turning to Drones for Cover Crop Seeding

https://www.agweb.com/news/machinery/flying-green-why-farmers-are-turning-drones-cover-crop-seeding
53•rmason•2d ago•25 comments

Atuin Threads: All your agent sessions on every machine

https://blog.atuin.sh/threads-agent-sessions/
199•linsomniac•14h ago•77 comments

Using voltage glitching to unleash the A100 in my mining card

https://blog.kate.land/posts/using-voltage-glitching-to-unlock-the-a100/
277•lae•17h ago•112 comments

Launch HN: Pomerado (YC F26) – Turn any website into an MCP for agents

51•alanjm23•11h ago•40 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.