frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Blood cells from 80-year-old donor become stem cells with molecular age under 20

https://doi.org/10.1111/acel.70751
67•arunc•1h ago•21 comments

GPT-6 Astra Helped Me Jailbreak My Kindle

https://nirajrajgor.com/blog/kindle-photo-frame-with-ai
58•nirajrajgor•1h ago•29 comments

GLM-Legal

https://z.ai/blog/glm-legal
417•ilreb•8h ago•239 comments

Who Is Vfmaddrnd231pd?

https://purplesyringa.moe/blog/who-is-vfmaddrnd231pd/
102•pngmangi•3h ago•8 comments

A Modern Web App in C

https://prophitt.me/writing/a-modern-web-app-in-c
374•prophittcorey•8h ago•159 comments

The baffling intelligence of a single cell (2024)

https://jsomers.net/e-coli-chemotaxis/
22•jsomers•1d ago•1 comments

Intel D270 GPU AI Accelerator–Up to 480 GB LPDDR5X

https://www.intel.com/content/www/us/en/products/details/discrete-gpus/data-center-gpu/d-series.html
39•hurricanepootis•3h ago•14 comments

Hackers activate automatic defrosting in supermarket fridges across Europe

https://www.tomshardware.com/tech-industry/cyber-security/unprecedented-cyberattack-cripples-supe...
421•Zeekaas•12h ago•640 comments

Phreak.ing – Internet Phone Switch

https://phreak.ing/
60•rickcarlino•3h ago•18 comments

Making big downloads resumable in Firefox

https://lunarwatcher.codeberg.page/til/firefox/resumable-big-downloads.html
78•speckx•5h ago•30 comments

Writing a Demoscene Intro for the ZX Spectrum

https://www.markround.com/blog/2026/zx-spectrum-intro
71•zdw•5h ago•6 comments

Launch HN: Agent37 (YC F26) – Low-cost agent sandboxes for running agents

96•vishnukool•8h ago•67 comments

Janas: Run LLMs larger than RAM by streaming experts from SSD

https://github.com/prabanta-dev/janas
18•khalidkhair•2h ago•6 comments

Turn a WiFi 7 Router into a 320Msps Software Defined Radio Receiver

https://github.com/h0m3us3r/w1700k-sdr
254•djfergus•12h ago•64 comments

Citroen revives the 2CV for an electric age

https://www.bbc.com/news/articles/c620r33plgppo
258•scrlk•12h ago•315 comments

Codex CLI installs a persistent, self-updating background daemon by default

https://github.com/openai/codex/issues/48195
445•whimblepop•6h ago•229 comments

Show HN: An experimental pattern-first DAW that supports MCP

https://github.com/andrewfader/blokkily
8•androsynth89•1h ago•3 comments

Auto Research: Integer multiplication below n log n

https://app.getsupers.com/auto-research
3•swesnow•1d ago•1 comments

AI is a tool and using it well takes skill

https://yyhh.org/blog/2026/10/ai-is-a-tool/
206•layer8•3h ago•187 comments

Breaking Bad star RJ Mitte dies aged 34

https://news.sky.com/story/breaking-bad-star-rj-mitte-dies-aged-34-13598332
116•austinallegro•2h ago•35 comments

Secret of Orange Cats Revealed After 60-Year Search

https://www.sciencealert.com/secret-of-orange-cats-finally-revealed-after-60-year-search
222•bookofjoe•2d ago•172 comments

Kevin Kelly's 2016 AI Predictions, 10 Years Later

https://taylor.town/kk-ai-2026
134•surprisetalk•9h ago•40 comments

The Making Of Super Mario 64 – full Giles Goddard interview (2001)

https://pixelatron.com/blog/the-making-of-super-mario-64-full-giles-goddard-interview-ngc/
216•gregsadetsky•2d ago•84 comments

Solar panels that plug into your wall

https://www.nationalgeographic.com/environment/article/balcony-plug-in-solar-panels-renewable-energy
104•speckx•10h ago•97 comments

Muse Wonder

https://research.meta.ai/blog/muse-wonder
515•meetpateltech•8h ago•283 comments

'AI' Is Not a Tool by Rich Hickey

https://www.linkedin.com/pulse/ai-tool-rich-hickey-kjl8e
204•svieira•6h ago•96 comments

Show HN: Brickbrag – A multiplayer brick-building world in the browser

https://brickbrag.com/
24•neuling•3h ago•9 comments

Show HN: PS2 games statically recompiled to WebAssembly

https://github.com/snuri00/ps2-web-recomp
266•deadxwarrior•18h ago•141 comments

Thinking will become a hobby

https://www.spinellis.gr/blog/20261008/?li261008
220•pranitha_m•8h ago•284 comments

Show HN: Atticus – Hold-to-talk voice assistant for macOS that runs on Claude -p

https://github.com/SaarthurR/atticus-mac
63•SaarthRanka•1d 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•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.