frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Android May Soon Restrict On-Device ADB

https://kitsumed.github.io/blog/posts/android-may-soon-restrict-on-device-adb/
566•shscs911•8h ago•264 comments

The Silurian Hypothesis (2020)

https://www.theparisreview.org/blog/2020/01/23/the-silurian-hypothesis/
23•andsoitis•1h ago•34 comments

My Images Are Dithered

https://dead.garden/blog/how-my-images-are-dithered.html
88•surprisetalk•3d ago•36 comments

Spatial languages: Writing code in 2D

https://shukla.io/blog/2026-07/cccx.html
37•BinRoo•3d ago•7 comments

Stolen Buttons

https://anatolyzenkov.com/stolen-buttons
23•Gecko4072•5d ago•3 comments

The Fedora 45 Sausage Factory

https://supakeen.com/weblog/the-fedora-45-sausage-factory/
54•6581•4h ago•2 comments

Hannah Fry Wins the Leelavati Prize in 2026 for Mathematics Outreach

https://www.maths.cam.ac.uk/features/professor-hannah-fry-wins-leelavati-prize
425•agnishom•13h ago•68 comments

Claude Opus 5

https://www.anthropic.com/news/claude-opus-5
1693•alvis•22h ago•1117 comments

Building a Tiny 3D Renderer for a Tiny Handheld

https://saffroncr.itch.io/katavatis/devlog/1534514/building-a-tiny-3d-renderer-for-a-tiny-handheld
133•g0xA52A2A•2d ago•12 comments

Bitchat Is Now on Radicle

https://radicle.network/nodes/rosa.radicle.network/rad%3Az2v9tRJz1oknFAqCSY5W5c76nVvm6
10•h1watt•2h ago•1 comments

NYC Apartment Aquaponics

https://erinmurphy.dev/projects/project-2/
125•mm1119•5d ago•49 comments

Charles Ross spent 50 yrs building Star Axis naked-eye observatory in New Mexico

https://www.nytimes.com/2026/07/22/arts/design/charles-ross-star-axis-land-art.html
63•ChrisArchitect•2d ago•8 comments

Kyber (YC W23) Is Hiring a Head of Engineering

https://www.ycombinator.com/companies/kyber/jobs/FGmI8mx-head-of-engineering
1•asontha•3h ago

ARC-AGI Leaderboard

https://arcprize.org/leaderboard
137•rzk•8h ago•113 comments

MouthPad: A Tongue-Controlled Touchpad

https://www.augmental.tech/
70•ZaninAndrea•7h ago•15 comments

GC and Exceptions in Wasmtime

https://bytecodealliance.org/articles/wasmtime-gc
133•phickey•4d ago•21 comments

PyPI Blog: Releases now reject new files after 14 days

https://blog.pypi.org/posts/2026-07-22-releases-now-reject-new-files-after-14-days/
49•miketheman•3d ago•22 comments

UK AISI / Caisi Preliminary Assessment of Kimi K3's Cyber Capabilities

https://www.nist.gov/news-events/news/2026/07/uk-aisi-caisi-preliminary-assessment-kimi-k3s-cyber...
99•walrus01•11h ago•28 comments

Extinct Media Museum Tokyo

https://extinct-media-museum.blog.jp/otemachi/
81•sohkamyung•9h ago•16 comments

Opus 5 is currently #1 on Artificial Analysis Intelligence Leaderboard

https://artificialanalysis.ai/models
350•aarondong•19h ago•204 comments

Postgres LISTEN/NOTIFY actually scales

https://www.dbos.dev/blog/postgres-listen-notify-scalability
347•KraftyOne•20h ago•65 comments

India's first privately-developed rocket reaches orbit on debut launch

https://arstechnica.com/space/2026/07/indias-first-privately-developed-rocket-reaches-orbit-on-dr...
650•sohkamyung•5d ago•190 comments

My security camera shipped a GitHub admin token in its login page

https://hhh.hn/hanwha-github-token/
627•hhh•1d ago•206 comments

An old patent inspired the new "Y-zipper", a three-sided fastener

https://news.mit.edu/2026/three-sided-y-zipper-design-0504
249•crescit_eundo•2d ago•45 comments

The AI jobs apocalypse probably isn't coming anytime soon

https://www.theguardian.com/technology/2026/jul/25/ai-jobs-apocalypse-human-labor
8•beardyw•40m ago•2 comments

Firefox Containers Preview

https://blog.mozilla.org/en/firefox/firefox-containers-preview/
427•twapi•3d ago•119 comments

Show HN: I simulated closing the Strait of Hormuz on real oil trade data

https://globaloilnetwork.staffinganalytics.io/
227•eliotho•2d ago•106 comments

Kimi K3 exploited the latest Redis server

https://twitter.com/fried_rice/status/2080059356322918777
260•Alifatisk•1d ago•81 comments

Designing an Ethernet Switch ASIC

https://essenceia.github.io/projects/ethernet_switch_asic/
226•random__duck•4d ago•52 comments

Book Corners: Community map of neighborhood book exchange spots

https://www.bookcorners.org
45•NaOH•2d ago•32 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.