frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Friendship Begins at Home

https://3quarksdaily.com/3quarksdaily/2025/10/friendship-begins-at-home.html
71•herbertl•4h ago•25 comments

EQ: A video about all forms of equalizers

https://www.youtube.com/watch?v=CLAt95PrwL4
74•robinhouston•19h ago•18 comments

Chen-Ning Yang, Nobel laureate, dies at 103

https://www.chinadaily.com.cn/a/202510/18/WS68f3170ea310f735438b5bf2.html
199•nhatcher•1d ago•47 comments

How sober should a writer be?

https://yalereview.org/article/crosley-how-sober-should-a-writer-be
28•samclemens•1w ago•19 comments

How does Turbo listen for Turbo Streams

https://ducktypelabs.com/how-does-turbo-listen-for-turbo-streams/
34•sidk_•5d ago•1 comments

Root System Drawings

https://images.wur.nl/digital/collection/coll13/search
316•bookofjoe•16h ago•60 comments

The Accountability Problem

https://www.jamesshore.com/v2/blog/2025/the-accountability-problem
27•FrancoisBosun•3h ago•2 comments

Titan submersible’s $62 SanDisk memory card found undamaged at wreckage site

https://www.tomshardware.com/pc-components/microsd-cards/tragic-oceangate-titan-submersibles-usd6...
269•WithinReason•1d ago•137 comments

How to sequence your DNA for <$2k

https://maxlangenkamp.substack.com/p/how-to-sequence-your-dna-for-2k
138•yichab0d•10h ago•59 comments

The reason GCC is not a library (2000)

https://gcc.gnu.org/legacy-ml/gcc/2000-01/msg00572.html
103•todsacerdoti•6d ago•41 comments

Flowistry: An IDE plugin for Rust that focuses on relevant code

https://github.com/willcrichton/flowistry
190•Bogdanp•15h ago•25 comments

./watch

https://dotslashwatch.com/
336•shrx•20h ago•90 comments

Is Postgres read heavy or write heavy?

https://www.crunchydata.com/blog/is-postgres-read-heavy-or-write-heavy-and-why-should-you-care
139•soheilpro•1d ago•35 comments

When you opened a screen shot of a video in Paint, the video was playing in it

https://devblogs.microsoft.com/oldnewthing/20251014-00/?p=111681
201•birdculture•2d ago•29 comments

Secret diplomatic message deciphered after 350 years

https://www.nationalarchives.gov.uk/explore-the-collection/the-collection-blog/secret-diplomatic-...
131•robin_reala•2d ago•16 comments

GoGoGrandparent (YC S16) Is Hiring Back End and Full-Stack Engineers

1•davidchl•5h ago

Why the open social web matters now

https://werd.io/why-the-open-social-web-matters-now/
126•benwerd•4d ago•67 comments

K8s with 1M nodes

https://bchess.github.io/k8s-1m/
168•denysvitali•2d ago•40 comments

Why do Stanford math professors still use chalk? (2021)

https://stanforddaily.com/2021/10/17/why-do-stanford-math-professors-still-use-chalk/
29•bookofjoe•6d ago•32 comments

Adding Breadcrumbs to a Rails Application

https://avohq.io/blog/breadcrumbs-rails
41•flow-flow•4d ago•2 comments

The Rise and Fall of the Powdered Wig (2020)

https://www.battlefields.org/learn/head-tilting-history/rise-and-fall-powdered-wig
19•andsoitis•1w ago•26 comments

Using Pegs in Janet

https://articles.inqk.net/2020/09/19/how-to-use-pegs-in-janet.html
20•Bogdanp•5h ago•2 comments

Tinnitus Neuromodulator

https://mynoise.net/NoiseMachines/neuromodulationTonesGenerator.php
270•gjvc•13h ago•188 comments

Coral NPU: A full-stack platform for Edge AI

https://research.google/blog/coral-npu-a-full-stack-platform-for-edge-ai/
114•LER0ever•3d ago•17 comments

Who invented deep residual learning?

https://people.idsia.ch/~juergen/who-invented-residual-neural-networks.html
84•timlod•5d ago•28 comments

Most users cannot identify AI bias, even in training data

https://www.psu.edu/news/bellisario-college-communications/story/most-users-cannot-identify-ai-bi...
66•giuliomagnifico•11h ago•30 comments

Satellite images show ancient hunting traps used by South American social groups

https://phys.org/news/2025-10-satellite-images-reveal-ancient-south.html
37•rntn•6d ago•7 comments

Picturing Mathematics

https://mathenchant.wordpress.com/2025/10/18/picturing-mathematics/
71•jamespropp•14h ago•3 comments

Solution to CIA’s Kryptos sculpture is found in Smithsonian vault

https://www.nytimes.com/2025/10/16/science/kryptos-cia-solution-sanborn-auction.html
139•elahieh•2d ago•80 comments

Moonlander.BAS

https://basic-code.bearblog.dev/moonlander/
42•ibobev•6d ago•9 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

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