frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GitLost: We Tricked GitHub's AI Agent into Leaking Private Repos

https://noma.security/blog/gitlost-how-we-tricked-githubs-ai-agent-into-leaking-private-repos/
172•ColinEberhardt•4h ago•63 comments

How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

https://neil.computer/notes/how-to-setup-minimal-zfs-nas-without-truenas/
190•4diii•5h ago•110 comments

Decoding the obfuscated bash script on a Uniqlo t-shirt

https://tris.sherliker.net/blog/obfuscated-self-evaluating-bash-script-by-cdn-akamai-being-suppli...
28•speerer•52m ago•5 comments

Tenda firmware (multiple versions) contains hidden authentication backdoor

https://kb.cert.org/vuls/id/213560
208•miniBill•9h ago•64 comments

Copy That Floppy – Cambridge guide for preserving data from fragile floppy disks

https://www.digipres.org/the-floppy-guide/
73•whiteblossom•6h ago•18 comments

Structure and Interpretation of Computer Programs Video Lectures (1986)

https://ocw.mit.edu/courses/6-001-structure-and-interpretation-of-computer-programs-spring-2005/v...
172•gjvc•9h ago•16 comments

GAO: DOE Is Prematurely Excluding Less Expensive Options for Nuclear Cleanup

https://www.gao.gov/products/gao-26-108193
201•Jimmc414•11h ago•96 comments

Chat Control 1.0 and 2.0 Explained

https://fightchatcontrol.eu/chat-control-overview
649•gasull•19h ago•240 comments

Canada's only watchmaking school still ticking after 80 years

https://www.cbc.ca/news/canada/montreal/canada-s-only-watchmaking-school-9.7254211
140•throw0101a•3d ago•68 comments

Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

https://ariya.io/2026/03/local-cpu-friendly-high-quality-tts-text-to-speech-with-kokoro/
405•speckx•15h ago•79 comments

The difference between "today's task" and "accretive work"

https://pluralistic.net/2026/07/02/canonization/
47•hn_acker•5d ago•25 comments

LineageOS Statistics

https://stats.lineageos.org
89•pentagrama•8h ago•45 comments

30papers.com – Ilya's 30 essential ML papers, in a beginner friendly format

https://30papers.com/
511•notmcrowley•17h ago•77 comments

Home made GPU escalated quickly [video]

https://www.youtube.com/watch?v=qMR3IXF2sWw
34•erichocean•2d ago•5 comments

Show HN: Davit, a Apple Containers UI

https://davit.app
308•xinit•14h ago•70 comments

Herdr: One terminal to rule them all

https://herdr.dev/
280•handfuloflight•6d ago•126 comments

Ants: Who looks after the injured in a colony?

https://www.uni-wuerzburg.de/en/news-and-events/news/detail/news/ameisen-kolonie-verletzte-pflegt/
11•hhs•4d ago•2 comments

Show HN: Rowboat – Open-source, local-first alternative to Claude Desktop

https://github.com/rowboatlabs/rowboat
158•segmenta•17h ago•48 comments

l: A new runtime for k and q

https://lv1.sh/
142•skruger•15h ago•87 comments

IEEE Rolls Out Large Language Models Training Course

https://spectrum.ieee.org/large-language-models-ieee-course
72•JeanKage•1w ago•10 comments

Scheme Is a Hoot

https://gracefulliberty.com/notes/scheme-is-a-hoot/
75•signa11•2d ago•13 comments

Show HN: Chiptune Radio

https://chiptune-radio.alephvoid.com/
47•bootbloopers•8h ago•12 comments

Every new car sold in the European Union must include a driver monitoring camera

https://allaboutcookies.org/eu-mandatory-distracted-driver-system
634•nickslaughter02•12h ago•801 comments

The space bit of SpaceX is worth $8 a share, says Morgan Stanley

https://www.ft.com/content/09a62ed4-16af-433c-adb7-c877d1975388
27•iamflimflam1•2h ago•19 comments

Jim's TrueType QR Code Font

https://github.com/jimparis/qr-font
179•arantius•17h ago•22 comments

Why we built yet another Postgres connection pooler

https://pgdog.dev/blog/why-yet-another-connection-pooler
187•levkk•18h ago•44 comments

Show HN: Neil the Seal Game

https://neiltheseal.app/
56•dalemhurley•2d ago•43 comments

StreetComplete: Fixing OpenStreetMap, one tiny quest at a time

https://streetcomplete.app/
763•kls0e•20h ago•183 comments

Notes on Software Quality

https://anthonyhobday.com/blog/20260410
127•speckx•15h ago•53 comments

We're extending access to Fable 5 on all paid plans through July 12

https://twitter.com/claudeai/status/2074548242386178258
186•minimaxir•15h ago•197 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.