frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

1-Bit Hokusai's "The Great Wave" (2023)

https://www.hypertalking.com/2023/05/08/1-bit-pixel-art-of-hokusais-the-great-wave-off-kanagawa/
182•stephen-hill•3d ago•25 comments

New 10 GbE USB adapters are cooler, smaller, cheaper

https://www.jeffgeerling.com/blog/2026/new-10-gbe-usb-adapters-cooler-smaller-cheaper/
367•calcifer•9h ago•210 comments

Martin Galway's music source files from 1980's Commodore 64 games

https://github.com/MartinGalway/C64_music
61•ingve•4h ago•10 comments

Google plans to invest up to $40B in Anthropic

https://www.bloomberg.com/news/articles/2026-04-24/google-plans-to-invest-up-to-40-billion-in-ant...
689•elffjs•23h ago•683 comments

Lambda Calculus Benchmark for AI

https://victortaelin.github.io/lambench/
57•marvinborner•3h ago•19 comments

Commenting and Approving Pull Requests

https://www.jakeworth.com/posts/on-commenting-and-approving-pull-requests/
17•jwworth•2d ago•11 comments

A web-based RDP client built with Go WebAssembly and grdp

https://github.com/nakagami/grdpwasm
41•mariuz•4h ago•15 comments

Panipat: The Rise of the Mughals

https://www.historytoday.com/archive/feature/panipat-rise-mughals
30•Thevet•3d ago•20 comments

How to Implement an FPS Counter

https://vplesko.com/posts/how_to_implement_an_fps_counter.html
87•vplesko•3d ago•16 comments

Plain text has been around for decades and it’s here to stay

https://unsung.aresluna.org/plain-text-has-been-around-for-decades-and-its-here-to-stay/
185•rbanffy•14h ago•81 comments

A 3D Body from Eight Questions – No Photo, No GPU

https://clad.you/blog/posts/questionnaire-mlp/
111•arkadiuss•3d ago•20 comments

Only One Side Will Be the True Successor to MS-DOS – Windows 2.x

https://blisscast.wordpress.com/2026/04/21/windows-2-gui-wonderland-12a/
22•keepamovin•4h ago•21 comments

A Man Who Invented the Future

https://hedgehogreview.com/web-features/thr/posts/the-man-who-invented-the-future
43•apollinaire•3d ago•13 comments

Paraloid B-72

https://en.wikipedia.org/wiki/Paraloid_B-72
241•Ariarule•3d ago•45 comments

Sabotaging projects by overthinking, scope creep, and structural diffing

https://kevinlynagh.com/newsletter/2026_04_overthinking/
479•alcazar•1d ago•117 comments

Replace IBM Quantum back end with /dev/urandom

https://github.com/yuvadm/quantumslop/blob/25ad2e76ae58baa96f6219742459407db9dd17f5/URANDOM_DEMO.md
240•pigeons•14h ago•36 comments

Show HN: A Karpathy-style LLM wiki your agents maintain (Markdown and Git)

https://github.com/nex-crm/wuphf
148•najmuzzaman•6h ago•74 comments

Humpback whales are forming super-groups

https://www.bbc.com/future/article/20260416-the-humpback-super-groups-swarming-the-seas
162•andsoitis•3d ago•80 comments

My audio interface has SSH enabled by default

https://hhh.hn/rodecaster-duo-fw/
282•hhh•19h ago•84 comments

The mail sent to a video game publisher

https://www.gamefile.news/p/panic-mail-arco-despelote-time-flies-thank-goodness-teeth
86•colinprince•4d ago•1 comments

Iliad fragment found in Roman-era mummy

https://www.thehistoryblog.com/archives/75877
218•wise_blood•3d ago•71 comments

Insights into firewood use by early Middle Pleistocene hominins

https://www.sciencedirect.com/science/article/pii/S0277379126001824
3•wslh•2d ago•0 comments

PCR is a surprisingly near-optimal technology

https://nikomc.com/2026/04/22/pcr/
67•mailyk•2d ago•10 comments

Open source memory layer so any AI agent can do what Claude.ai and ChatGPT do

https://alash3al.github.io/stash?_v01
107•alash3al•13h ago•54 comments

Jumping into cold water can stop your heart

https://jorgenmelau.substack.com/p/the-first-sixty-seconds
11•fanf2•30m ago•1 comments

HEALPix

https://en.wikipedia.org/wiki/HEALPix
5•hyperific•2h ago•0 comments

There Will Be a Scientific Theory of Deep Learning

https://arxiv.org/abs/2604.21691
302•jamie-simon•21h ago•130 comments

Education must go beyond the mere production of words

https://www.ncregister.com/commentaries/schnell-repairing-the-ruins
98•signor_bosco•15h ago•50 comments

Discret 11, the French TV encryption of the 80s

https://fabiensanglard.net/discret11/
7•adunk•4h ago•1 comments

Cosmology with Geometry Nodes

https://www.blender.org/user-stories/cosmology-with-geometry-nodes/
90•shankysingh•14h ago•4 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

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