frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Paul Atkins Misreads Adam Smith and the American Founding

https://sites.duke.edu/thefinregblog/2026/08/03/paul-atkins-misreads-adam-smith-and-the-american-...
34•zaik•1h ago•0 comments

Kobo can run apps now

https://bandarlabs.github.io/Cobalt/
401•thepoet•8h ago•138 comments

Felony Bench

https://www.felonybench.com/
489•colinprince•9h ago•221 comments

Felony charges for citizen deleting phone data at US Border

https://www.nytimes.com/2026/08/21/us/politics/samuel-tunick-deleted-phone-felony.html
514•floathub•12h ago•702 comments

Electric shock gloves in use by police departments in Bellevue, Omaha

https://nebraskapublicmedia.org/en/news/news-articles/electric-shock-gloves-already-in-use-by-pol...
19•rendx•1h ago•21 comments

Scientists release biggest 2D map of the universe

https://newscenter.lbl.gov/2026/08/10/scientists-release-biggest-2d-map-of-the-universe/
137•NKosmatos•5h ago•44 comments

Kagi added a setting for removing paywalled links from search results

https://kagi.com/changelog#11296
986•speckx•10h ago•333 comments

AI boosted homework scores, then exam scores dropped: study

https://www.economist.com/graphic-detail/2026/08/18/does-ai-stop-children-from-learning
222•dash2•2d ago•282 comments

I accidentally logged hundreds of thousands of phone calls to military bases

https://lina.sh/blog/hijacking-e164-arpa
420•gavide•11h ago•46 comments

Show HN: OzBrain, a shared brain for knowledge between agents and your team

https://ozbrain.com
20•dariusmonsef•1h ago•8 comments

Three important steps in my maturation process

https://thomasdullien.github.io/posts/2026-08-21-three-important-steps-in-my-maturation-process/
20•tdullien•2h ago•7 comments

DeepSeek-v4-flash-vision-exp

https://api-docs.deepseek.com/guides/vision/
450•dares2573•14h ago•142 comments

SalesPatriot (YC W25) Is Hiring Forward Deployed Engineers

https://www.ycombinator.com/companies/salespatriot/jobs/M46X6YX-forward-deployed-engineer
1•maciejSz•3h ago

How we made a text-to-speech model respond in sub-50 ms

https://nari-labs.com/blog/qwen3-tts-speed-cost-frontier/
97•toebee•8h ago•24 comments

I ran Photoshop on a £0.60 computer chip

https://pointinthecloud.com/2026-08-19-144600.html
115•colinprince•9h ago•27 comments

A look under our trunk: what's in our compute

https://waymo.com/blog/2026/08/look-under-our-trunk/
88•ra7•1d ago•44 comments

People of ACM – Russ Cox

https://www.acm.org/articles/people-of-acm/2026/russ-cox
82•signa11•4d ago•10 comments

Claudette: Make Claude stop talking like a BuzzFeed article

https://github.com/adnanakil/nobuzz/blob/main/README.md
187•aakil•10h ago•132 comments

Tumble Forth – from assembly to OS with C compiler

https://tumbleforth.hardcoded.net/
51•vicek22•5h ago•4 comments

What happens when a GPU reads memory

https://blog.doubleword.ai/what-happens-when-a-gpu-reads-memory
97•ibobev•8h ago•16 comments

I'm becoming AI-blind

https://cymerys.com/w/im-becoming-ai-blind
253•rcymerys•12h ago•261 comments

The coolest anti-surveillance tools at Defcon [video]

https://www.youtube.com/watch?v=-2uAsJ5EPAw
147•neom•3d ago•8 comments

AI companies destroy physical books – let's scan rare books before it's too late

https://annas-archive.gl/blog/physical-destruction.html
517•Cider9986•21h ago•833 comments

'Ghost Job' Ads Are Getting So Bad That Lawmakers Want to Ban Them

https://www.wsj.com/lifestyle/careers/ghost-job-ads-are-getting-so-bad-that-lawmakers-want-to-ban...
53•bcaulfield•2h ago•26 comments

Remotely Unlocking Electric Scooters

https://henriemategui.com/post/remotely-unlocking-electric-scooters
18•henriemategui•3h ago•2 comments

Using an old Android phone as a music player

https://monocyte.blog/using-an-old-android-phone-as-a-music-player/
34•surprisetalk•4d ago•18 comments

Building an (almost) fully self-hosted, sandboxed, agentic software factory

https://blog.jakesaunders.dev/building-an-almost-fully-self-hosted-sandboxed-agentic-software-fac...
77•jakelsaunders94•8h ago•48 comments

Rust Glancer

https://matklad.github.io/2026/08/21/rust-glancer.html
27•surprisetalk•5h ago•3 comments

Pentagon dismisses Stars and Stripes leadership after opposition to interference

https://apnews.com/article/stars-stripes-pentagon-censorship-media-d42affb0c17fef31c6089645c8dbbe70
28•petethomas•1h ago•0 comments

Kodak's "pre-invented" lunar orbiter camera; or, the fate of SAMOS readout

https://invertingvision.com/2026/08/10/kodaks-pre-invented-lunar-orbiter-camera-or-the-fate-of-sa...
51•cainxinth•10h ago•2 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.