frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Old Bitly Links Are Being Hijacked

https://ransomnews.com/burger-king-tweet-bitly-link-hijack-2026/
36•hspeiser•50m ago•20 comments

A short explainer on how El Niño works [video]

https://www.youtube.com/watch?v=7_JF3etiAv8
134•nharada•4h ago•41 comments

Your Agent Will Pick the Hackable One

https://geoffstearns.com/blog/your-agent-will-pick-the-hackable-one/
51•tensafefrogs•1h ago•33 comments

Protomaps: Self-hosting map tiles has gotten cheap and easy

https://bruceroettgers.eu/blog/protomaps/
75•bcye•3h ago•16 comments

'Birdbrain' Is a Misnomer. Crows Make Decisions Faster Than We Can

https://www.nytimes.com/2026/11/15/science/birdbrain-crows-birds-research-decision.html
122•gumby•5h ago•91 comments

The MacBook Pro's OLED PWM problem

https://macanorak.com/the-macbook-pros-oled-pwm-problem-when-a-better-display-becomes-worse-to-use/
376•MacAnorak•9h ago•203 comments

Handwriting, as a Font

https://ductus.sorenblank.com
50•coinfused•3h ago•9 comments

WebGL Flight Simulator with seed generated terrain

https://baron.by.dai.studio/
34•ranger_danger•2h ago•8 comments

Claude Code and Codex reverse engineered my 1994 Jeep's ECU over a $3 Arduino [video]

https://www.youtube.com/watch?v=WPj3aQ-xxpI
285•envoked•3d ago•149 comments

Eclipse Mosquitto – An open source MQTT broker

https://github.com/eclipse-mosquitto/mosquitto
52•gregsadetsky•4h ago•19 comments

Microsoft 365 outage leads to chlorine gas poisoning of 15 hotel guests

https://www1.wdr.de/nrw/rheinland/rhein-erft-kreis/technischer-defekt-chlor-phantasialand-100.html
281•DeepLogin•4h ago•148 comments

Things That Turbo Pascal Is Smaller Than (2011)

https://prog21.dadgum.com/116.html
180•ksec•9h ago•89 comments

Emacs Is My Browser

https://joshblais.com/blog/emacs-as-my-browser/
163•nyc111•7h ago•83 comments

Understanding Positional Embeddings in Modern LLMs

https://magazine.sebastianraschka.com/p/understanding-positional-embeddings
186•vismit2000•10h ago•24 comments

Clice v1.0 Released: Welcome to Modern C++

https://ykiko.me/en/articles/2105384023094834022/
71•molenzwiebel•5h ago•43 comments

Keylogger Detection and Containment [pdf]

https://www.cs.vu.nl/~ast/Theses/ortolani-thesis.pdf
5•movsx•1d ago•1 comments

Vulcan rocket fails during return-to-flight launch, 40 Amazon satellites lost

https://www.space.com/space-exploration/launches-spacecraft/ula-vulcan-centaur-return-to-flight-a...
65•jonbaer•2h ago•27 comments

Notes on Mathematics for Engineers (1959) [pdf]

https://websites.umich.edu/~ners311/CourseLibrary/MathNotes.pdf
60•the-mitr•4d ago•15 comments

Eval Awareness vs. Eval Paranoia

https://www.lesswrong.com/posts/mepsi7JNKYejq9wry/eval-awareness-vs-eval-paranoia
39•ezrasu•3d ago•17 comments

Boeing-Lockheed rocket fails mid-flight, destroys payload of Amazon satellites

https://www.reuters.com/business/aerospace-defense/us-rocket-fails-after-launch-payload-amazon-in...
25•rexbee•1h ago•12 comments

Aspidistra: A British wartime radio transmitter used for MitM attacks

https://en.wikipedia.org/wiki/Aspidistra_(transmitter)
10•BoxOfRain•3d ago•1 comments

All AI-generated code should be Open Source

https://jakub.jankiewicz.org/blog/ai-code-open-source/
1020•jcubic•8h ago•565 comments

Why did some Apollo missions carry a grenade launcher? (2019)

https://space.stackexchange.com/questions/37775
213•Skyfall106•13h ago•142 comments

Bullet Dodged

https://idiotking.org/archives/2026/10/bullet-dodged-3/
35•surprisetalk•3d ago•29 comments

Ask HN: Stripe closed us after one $1,500 invoice and never asked for evidence

43•snirgbs•3h ago•10 comments

A NES emulator written in Odin

https://lucypero.com/lucynes.html
98•frostbyte7•10h ago•35 comments

SpaceX catches the Starship to end Flight 15

https://www.spacex.com/launches/starship-flight-15
1619•ls612•1d ago•1191 comments

20 Years of Pyrolog

https://pypy.org/posts/2026/11/20-years-of-pyrolog.html
66•lumpa•3d ago•4 comments

What thousands of conversations look like inside a language model

https://operator0x.com/field-notes/qwen-conversation-state-space/
106•josip208•2d ago•29 comments

Your room can be as bright as the outdoors (2019)

https://www.benkuhn.net/lux/
64•mday404•2d ago•45 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.