frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

google.com/goto: Google's anti-scraping update

https://www.autom.dev/blog/google-search-goto-links
335•1e1a•4h ago•196 comments

Navier-Stokes Announcement

https://www.claymath.org/news/navier-stokes-announcement/
96•rvz•3h ago•47 comments

A misalignment of AI in mathematics

https://mathandai.org/
842•meredydd•13h ago•829 comments

Usenet rewind archive search engine

https://www.usenet-rewind.com/
42•cstadler1869•3h ago•6 comments

I spent $220 on Google app ads and 60% of the installs were robots

https://dayzlegame.com/blog/google-ads-bot-farm/
463•nickabe•13h ago•244 comments

Great Lakes sturgeon may be 400 years old:Scientists rethinking how to save them

https://www.cbc.ca/news/canada/ontario-great-lakes-sturgeon-lifespan-study-9.7329250
51•bookofjoe•2d ago•2 comments

A Design Space Exploration of Async/Await

https://cel.cs.brown.edu/blog/design-space-async-await/
247•wcrichton•2d ago•57 comments

Designing for Dual Screen and Foldable Devices with CSS (2023)

https://blog.stephaniestimac.com/posts/2023/05/design-foldable-devices/
24•mooreds•1d ago•3 comments

Show HN: Bodily Oddities

https://vester.si/bodily-oddities/
214•vesterde•1d ago•152 comments

OpenAI agents carried out an undisclosed attack on RubyGems

https://www.rubyhack.ai/
617•chao-•8h ago•352 comments

Logo Programming

https://el.media.mit.edu/logo-foundation/what_is_logo/logo_programming.html
268•azhenley•3d ago•110 comments

WeWorm: Zero-Click WeChat Worm

https://calif.io/research/weworm
8•BlackEarth•1h ago•0 comments

Project Blinkenlights

https://blinkenlights.de/en/
79•doener•9h ago•30 comments

GrapheneOS' rewritten Messages app is released

https://github.com/GrapheneOS/Messaging/releases/tag/13
262•microtonal•12h ago•178 comments

Litelm: LiteLLM Without the Bloat

https://github.com/kennethwolters/litelm
124•kennethwolters•13h ago•40 comments

Mind-altering drugs played key role in rise of Andean civilization

https://www.science.org/content/article/mind-altering-drugs-played-key-role-rise-andean-civilization
144•geneticdrifts•14h ago•100 comments

I've operated petabyte-scale ClickHouse clusters for 5 years

https://www.tinybird.co/blog/what-i-learned-operating-clickhouse
205•adastral•4d ago•78 comments

Show HN: ResolveHQ – A Helpdesk Built on Cloudflare Workers, D1, R2 and Queues

https://github.com/mirza-rizvi/ResolveHQ
55•mirza_rizvi•9h ago•17 comments

Inverse Kinematics and Foot Locking

https://theorangeduck.com/page/inverse-kinematics-foot-locking
8•airhangerf15•4d ago•0 comments

Λ Snap – An inviting programming language for kids and adults for CS study

https://snap.berkeley.edu/
138•dr_kiszonka•13h ago•76 comments

AlphaGenome maps 9B DNA variants

https://spectrum.ieee.org/alphagenome-atlas
82•ltononro•2d ago•7 comments

Rune is now open source

https://rune.build/blog/rune-is-now-open-source
174•ernestrc•15h ago•57 comments

The EPA is planning to scrap public review rules for data center pollution

https://capitalbnews.org/data-centers-permit-rules-epa/
446•doener•13h ago•309 comments

Testing Race Conditions

https://projectzero.google/2026/09/maccconc-race-condition.html
41•alpaylan•2d ago•0 comments

Claude is only available to people over 18 years

https://support.claude.com/en/articles/15171100-age-assurance-on-claude
626•Muhammad523•20h ago•625 comments

How we rebuilt complex permissions without migrating to Zanzibar

https://infisical.com/blog/folder-based-rbac
46•FinnLobsien•2d ago•11 comments

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

https://www.bbc.com/news/articles/c8r6y4me2g6o
337•lukaspetersson•1d ago•305 comments

Starlink Signal Leakage Threatens Radio Astronomy's Most Critical Frequencies

https://www.gadgetreview.com/starlinks-signal-leakage-is-threatening-radio-astronomys-most-critic...
103•upofadown•6h ago•56 comments

RTK reports token savings, but our cost benchmarks disagree

https://quesma.com/blog/does-rtk-make-ai-coding-cheaper/
155•michalwarda•20h ago•78 comments

How the Chorleywood Bread Process transformed British bread

https://edconway.substack.com/p/the-little-holes-in-your-bread-are
110•baud147258•3d ago•111 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.