frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Exercise intensity is associated with cardiometabolic health

https://www.cell.com/cell-reports-medicine/fulltext/S2666-3791(26)00405-2
44•qclibre22•1h ago•20 comments

Shopify is moving from React Native back to Swift and Kotlin

https://shopify.engineering/back-to-native
924•fnthawar2•15h ago•624 comments

Don't let anyone take away your big box of cables

https://blog.jim-nielsen.com/2026/hands-off-my-cables/
412•Brajeshwar•14h ago•289 comments

OpenAI Agents API

https://developers.openai.com/api/docs/guides/agents-api/overview
199•aquir•9h ago•120 comments

Cognition launches new SWE-2 model, Rivaling Fable 5.1 and GPT-Astra

https://cognition.com/blog/swe-2
388•seelos•14h ago•164 comments

Nine coding harnesses vs. your laptop

https://nasutton.notion.site/Nine-coding-harnesses-vs-your-laptop-3d139990182b80d59fa3cf500f0450b...
25•nasutton12•6h ago•0 comments

The little holes in your bread are telling you something

https://edconway.substack.com/p/the-little-holes-in-your-bread-are
11•baud147258•2d ago•1 comments

Technique for Manipulating Satellite Photos Now Reveals Ancient Images (2025)

https://spinoff.nasa.gov/Manipulating_Satellite_Photos_Now_Reveals_Ancient_Images
300•gumby•14h ago•46 comments

The Deathray: A simple way for an untrusted site to freeze a Mac

https://auberon.xyz/blog/posts/deathray/
125•auberonedu•9h ago•80 comments

Google will buy half the electricity from one of Finland's nuclear power plants

https://www.bbc.com/news/articles/c8r6y4me2g6o
161•lukaspetersson•4h ago•125 comments

NTSB issues investigative update on B-767 runway excursion accident in Miami

https://www.ntsb.gov:443/news/press-releases/Pages/NR20260909.aspx
80•mckn1ght•7h ago•131 comments

Thelio Mira AI Linux Workstation: 192 GB GPU Memory

https://system76.com/workstations/thelio-mira-ai
70•jonifico•6h ago•46 comments

YuE2 · Frontier Music with Symbolic Planning

https://map-yue2.github.io/
71•sexy_seedbox•4h ago•63 comments

Mexican student creates an acoustic fire extinguisher to put out fire in seconds

https://www.upsocl.com/en/16-year-old-mexican-student-creates-an-acoustic-fire-extinguisher-that-...
115•rguiscard•4h ago•43 comments

Music Theory for the 21st-Century Classroom

https://musictheory.pugetsound.edu/mt21c/MusicTheory.html
191•aanet•12h ago•85 comments

More questions about whether researchers can trust OpenAI with unpublished math

https://mathstodon.xyz/@andreasthom/117240535270608201
765•pred_•22h ago•699 comments

Proof of Capture: Apple Reference Image, but open source and using steganography

https://merybenavente.me/blog/proof-of-capture
84•merybenavente•9h ago•52 comments

Neki – Sharded Postgres

https://planetscale.com/blog/introducing-neki
220•simon_weber•13h ago•121 comments

iPhone Duo

https://www.apple.com/iphone-duo/
1425•thecosmicfrog•1d ago•2459 comments

Forgejo <=16.0.3 Critical RCE

https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/16.0.4.md
162•weierstass•13h ago•59 comments

Herdr Studio

https://powerfooI.github.io/herdr-studio/
21•throwaway888abc•4h ago•12 comments

Rust is tier-1 language at Microsoft

https://rustfoundation.org/media/guest-post-rust-is-tier-1-language-at-microsoft/
638•mmastrac•15h ago•367 comments

Douglas Hofstadter: Analogy as the Core of Cognition [video]

https://www.youtube.com/watch?v=n8m7lFQ3njk
162•tosh•4d ago•76 comments

Detecting and countering misuse of AI: September 2026

https://www.anthropic.com/threat-intelligence-report-september-2026
107•garo-pro•12h ago•178 comments

Customizing my Compaq MX-11800 keyboard

https://blog.webb.page/WM-102
21•NetOpWibby•3d ago•4 comments

Hitachi launches CO2 heat pump water heaters with solar-friendly tariff controls

https://www.pv-magazine.com/2026/09/07/hitachi-launches-co2-heat-pump-water-heaters-with-solar-fr...
296•thelastgallon•1d ago•246 comments

JEP 544: Ahead-of-Time Code Compilation

https://openjdk.org/jeps/544
85•Skinney•11h ago•30 comments

Recursion into madness

https://blog.coredump.cx/p/recursion-into-madness
53•surprisetalk•3d ago•14 comments

What happens when a GPU writes memory

https://blog.doubleword.ai/what-happens-when-a-gpu-writes-memory
58•ibobev•2d ago•1 comments

Show HN: Vertumnus – printable posters of farmers' market produce seasonality

https://vertumnus.fyi
35•perspectivezoom•3d ago•15 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.