frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Anthropic acquires Bun

https://bun.com/blog/bun-joins-anthropic
1579•ryanvogel•11h ago•764 comments

Japanese game devs face font dilemma as license increases from $380 to $20k

https://www.gamesindustry.biz/japanese-devs-face-font-licensing-dilemma-as-leading-provider-incre...
32•zdw•1h ago•13 comments

IBM CEO says there is 'no way' spending on AI data centers will pay off

https://www.businessinsider.com/ibm-ceo-big-tech-ai-capex-data-center-spending-2025-12
348•nabla9•11h ago•437 comments

Paged Out

https://pagedout.institute
300•varjag•9h ago•33 comments

Understanding ECDSA

https://avidthinker.github.io/2025/11/28/understanding-ecdsa/
13•avidthinker•1h ago•1 comments

AI Agents Break Rules Under Everyday Pressure

https://spectrum.ieee.org/ai-agents-safety
21•pseudolus•5d ago•1 comments

I designed and printed a custom nose guard to help my dog with DLE

https://snoutcover.com/billie-story
459•ragswag•2d ago•55 comments

OpenAI declares 'code red' as Google catches up in AI race

https://www.theverge.com/news/836212/openai-code-red-chatgpt
532•goplayoutside•14h ago•622 comments

Counter Galois Onion: Improved encryption for Tor circuit traffic

https://blog.torproject.org/introducing-cgo/
38•wrayjustin•1w ago•3 comments

Amazon launches Trainium3

https://techcrunch.com/2025/12/02/amazon-releases-an-impressive-new-ai-chip-and-teases-a-nvidia-f...
157•thnaks•10h ago•62 comments

Qwen3-VL can scan two-hour videos and pinpoint nearly every detail

https://the-decoder.com/qwen3-vl-can-scan-two-hour-videos-and-pinpoint-nearly-every-detail/
144•thm•2d ago•45 comments

Learning music with Strudel

https://terryds.notion.site/Learning-Music-with-Strudel-2ac98431b24180deb890cc7de667ea92
427•terryds•1w ago•105 comments

Zig's new plan for asynchronous programs

https://lwn.net/SubscriberLink/1046084/4c048ee008e1c70e/
248•messe•14h ago•194 comments

All about automotive lidar

https://mainstreetautonomy.com/blog/2025-08-29-all-about-automotive-lidar/
127•dllu•1d ago•60 comments

Free static site generator for small restaurants and cafes

https://lite.localcafe.org/
109•fullstacking•9h ago•69 comments

Load ZX Spectrum – first Museum dedicated to our first personal computer

https://loadzx.com/en/
21•elvis70•6d ago•5 comments

School cell phone bans and student achievement

https://www.nber.org/digest/202512/school-cell-phone-bans-and-student-achievement
113•harias•11h ago•113 comments

DOOM could have had PC Speaker Music

https://lenowo.org/viewtopic.php?t=45
61•minki_the_avali•5h ago•43 comments

Ecosia: The greenest AI is here

https://blog.ecosia.org/ecosia-ai/
86•doener•8h ago•50 comments

100k TPS over a billion rows: the unreasonable effectiveness of SQLite

https://andersmurphy.com/2025/12/02/100000-tps-over-a-billion-rows-the-unreasonable-effectiveness...
319•speckx•11h ago•108 comments

Delty (YC X25) Is Hiring

https://www.ycombinator.com/companies/delty/jobs/aPWMaiq-full-stack-software-engineer
1•lalitkundu•8h ago

Kohler Can Access Pictures from "End-to-End Encrypted" Toilet Camera

https://varlogsimon.leaflet.pub/3m6zrw6k2bs2p?interactionDrawer=quotes
111•TimDotC•3h ago•107 comments

Advent of Compiler Optimisations 2025

https://xania.org/202511/advent-of-compiler-optimisation
356•vismit2000•19h ago•61 comments

Practical Intro to Operational Transformation

https://archive.casouri.cc/note/2025/practical-intro-ot/
26•casouri•6d ago•3 comments

YesNotice

https://infinitedigits.co/docs/software/yesnotice/
163•surprisetalk•1w ago•56 comments

Exploring Large HTML Documents on the Web

https://calendar.perfplanet.com/2025/exploring-large-html-documents-on-the-web/
36•zdw•6h ago•2 comments

Python Data Science Handbook

https://jakevdp.github.io/PythonDataScienceHandbook/
241•cl3misch•16h ago•42 comments

Addressing the adding situation

https://xania.org/202512/02-adding-integers
252•messe•17h ago•86 comments

Mistral 3 family of models released

https://mistral.ai/news/mistral-3
698•pember•14h ago•195 comments

Cursed circuits: charge pump voltage halver

https://lcamtuf.substack.com/p/cursed-circuits-charge-pump-voltage
70•surprisetalk•10h ago•21 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

https://serpapi.com/blog/faster-regular-expression-engines-in-ruby/
60•davidsojevic•7mo ago

Comments

yxhuvud•7mo ago
Eww, pretending to support utf8 matchers while not supporting them at all was not pretty to see.
gitroom•7mo ago
Honestly that part bugs me, fake support is worse than no support imo
kayodelycaon•7mo 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•7mo 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•7mo 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•7mo 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.