frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

https://nebusec.ai/research/ionstack-part-2/
173•ranger_danger•4d ago•64 comments

Ask HN: Add flag for AI-generated articles

312•levkk•4h ago•174 comments

Cyberpunk Comics, Manga and Graphic Novels

https://shellzine.net/cyberpunk-comics/
133•zdw•6h ago•35 comments

Tiny Emulators

https://floooh.github.io/tiny8bit-preview/index.html
195•naves•9h ago•12 comments

So you want to learn physics (second edition, 2021)

https://www.susanrigetti.com/physics
148•azhenley•5d ago•22 comments

Designing and assembling my first PCB

https://vilkeliskis.com/b/2026/0711.html
79•tadasv•6h ago•32 comments

First look at Quest, the final ship of Antarctic explorer Shackleton

https://www.cbc.ca/news/canada/quest-shipwreck-expedition-images-9.7262229
17•curmudgeon22•4d ago•2 comments

Ask HN: What Are You Working On? (July 2026)

110•david927•8h ago•341 comments

Are you telling me a readonly property is wrecking my performance?

https://shub.club/writings/2026/july/check-your-scrollheight/
8•forthwall•3d ago•4 comments

Kode Dot Programmable pocket device for makers, pentesters and geeks

https://kode.diy
61•iNic•8h ago•17 comments

LARP – Revenue infrastructure for serious founders

https://www.larp.website/
198•BerislavLopac•12h ago•41 comments

Migrating a production AI agent to GPT-5.6: 2.2x faster, 27% cheaper

https://ploy.ai/blog/migrating-a-production-ai-agent-to-gpt-5-6
172•brryant•12h ago•63 comments

Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

https://systima.ai/blog/claude-code-vs-opencode-token-overhead
527•systima•11h ago•293 comments

How we can reduce traffic congestion

https://research.google/blog/the-power-of-collaboration-how-we-can-reduce-traffic-congestion/
110•raahelb•13h ago•136 comments

Count Binface

https://countbinface.com
84•mooreds•1h ago•16 comments

Why write code in 2026

https://softwaredoug.com/blog/2026/07/09/write-code
131•softwaredoug•2d ago•170 comments

I Learned to Read Again

https://substack.magazinenongrata.com/p/how-i-learned-to-read-again
119•georgex7•11h ago•50 comments

Vint Cerf, “father of the Internet”, is retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
294•compiler-guy•3d ago•169 comments

Guy took Jupiter photo with Game Boy Camera, giant telescope, publishes tutorial

https://www.engadget.com/2211886/guy-who-took-photo-of-jupiter-with-a-game-boy-camera-and-giant-t...
10•thunderbong•2d ago•2 comments

Why Vanilla JavaScript

https://guseyn.com/html/posts/why-vanilla-js.html
113•guseyn•6h ago•66 comments

Automation Without Understanding

https://arxiv.org/abs/2607.06377
108•root-parent•12h ago•47 comments

Profiling the "Abundance" housing bottleneck with real data

https://laxmena.com/same-capacity-less-throughput
35•laxmena•7h ago•29 comments

Mechanistic interpretability researchers applying causality theory to LLMs

https://cacm.acm.org/news/can-we-understand-how-large-language-models-reason/
94•adunk•11h ago•67 comments

Flash-MSA: Accelerating Million-Token Training with Sparse Attention Kernels

https://nanduruganesh.github.io/flash-msa/
33•rawsh•8h ago•3 comments

Against Usefulness

https://www.motivenotes.ai/p/against-usefulness
98•supo•11h ago•24 comments

I love LLMs, I hate hype

https://geohot.github.io//blog/jekyll/update/2026/07/12/i-love-llms.html
379•therepanic•10h ago•238 comments

What xAI's Grok build CLI sends to xAI: A wire-level analysis

https://gist.github.com/cereblab/dc9a40bc26120f4540e4e09b75ffb547
435•jhoho•1d ago•164 comments

Calculix: A Free Software Three-Dimensional Structural Finite Element Program

https://www.calculix.de/
13•joebig•3d ago•1 comments

Modernizing Property Tax Assessments in Allegheny County

https://www.prohousingpgh.org/blog/new-report-modernizing-property-tax-assessments-in-allegheny-c...
33•mooreds•3h ago•22 comments

The four horsemen behind Postgres outages

https://malisper.me/the-four-horsemen-behind-thousands-of-postgres-outages/
30•craigkerstiens•3d ago•12 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.