frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Amazon Ergo: A fast, cost-effective open-weights model

https://www.aboutamazon.com/amazon-ergo
1370•mtw14•14h ago•552 comments

TinyGo 0.45.0 Released

https://github.com/tinygo-org/tinygo/releases/tag/v0.45.0
108•iaaan•4h ago•13 comments

Code-driven AI illustrations are more useful than images from image models

https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/
146•gmays•6h ago•87 comments

OpenMono: The open-source mono font

https://openmono.com/
123•hn-aarvin•5h ago•37 comments

Advent of Code 2026

https://adventofcode.com/
503•saisundar•1d ago•564 comments

Paprika Powers This Village in Serbia

https://www.nytimes.com/interactive/2026/11/28/dining/paprika-pepper-serbia.html
16•mooreds•2d ago•0 comments

Bacteria linked to inflammatory bowel disease identified with help from gamers

https://today.ucsd.edu/story/bacteria-linked-to-inflammatory-bowel-disease-identified-with-help-f...
237•gmays•11h ago•81 comments

Ty 1.0: Fast Python type checker and language server

https://astral.sh/blog/ty-1.0
562•burntsushi•15h ago•131 comments

Michael Levin's "Platonic Space Hypothesis" aims to explain emergent behavior

https://www.quantamagazine.org/does-behavior-emerge-from-beyond-the-physical-world-20261130/
176•ivell•13h ago•108 comments

ATProto's private data protocol is now in beta

https://atproto.com/blog/the-spaces-public-beta-is-now-live
310•pfraze•12h ago•135 comments

Cognitive Surrender – Addyosmani.com

https://addyosmani.com/blog/cognitive-surrender/
83•JohnBerryman•3h ago•55 comments

Microcontrôland: A fictional country simulated by 7 ESP32 microcontrollers

https://www.microcontroland.org/en/projet.html
46•dverlaeckt80•10h ago•9 comments

Repository Is Maintained by the New Official Heretic Community

https://github.com/Vinay-Umrethe/heretic
130•jacquesm•5h ago•13 comments

Cryptopocalypse

https://www.argmin.net/p/cryptopocalypse
582•_delirium•16h ago•308 comments

Finding your ISP router's credentials

https://xetera.dev/article/finding-your-isp-routers-credentials
87•8organicbits•7h ago•30 comments

Caveling-2-Mini (post-trained/fine-tuned Inkling-2-Mini)

https://caveman.so/news/introducing-caveling-2-mini
121•cobychapple•10h ago•15 comments

Can we stop with the vulnerability fear, uncertainty and doubt, please

https://shubs.io/can-we-stop-with-the-vulnerability-fear-uncertainty-and-doubt-please/
239•infosecau•7h ago•163 comments

Show HN: Gully Cricket

https://varun.ca/gully-cricket/
79•winkerVSbecks•2d ago•19 comments

CellGemma: Predicting cell responses to help accelerate cancer research

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/cellgemma/
231•carlesonielfa•14h ago•69 comments

Warren Buffett has died

https://www.cnbc.com/2026/12/01/warren-buffett-dies-at-age-96.html
1686•United857•8h ago•633 comments

Micromorts – visualizing your chances of dying doing everyday activities

https://hugo0.com/micromorts
349•montenegrohugo•17h ago•180 comments

The cost of a story, and how it’s gone since we removed the paywall

https://www.sltrib.com/annual-report-2026/
111•danso•10h ago•36 comments

TCP/IP over the air with LinHT

https://m17project.org/2026/11/27/tcp-ip-over-the-air-with-linht/
155•otto-mate•2d ago•21 comments

Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pauses

https://www.requesty.ai/blog/claude-5-minute-prompt-cache
380•danvdb•15h ago•171 comments

Cyclospora Forever?

https://ambrook.com/offrange/crops/cyclospora-forever
17•surprisetalk•1d ago•1 comments

Amazon S3 now supports reading parts of multipart uploads in progress

https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-s3-supports-reading-parts-multipart-upl...
197•dabinat•2d ago•45 comments

Show HN: Learn Japanese kanji by understanding their parts

https://p.migdal.pl/kanly/
66•stared•2d ago•26 comments

So you just bought a $450M Leonardo da Vinci painting. Now what? (2017)

https://news.artnet.com/market/so-you-just-bought-a-450-million-da-vinci-now-what-1156268
75•NaOH•2d ago•40 comments

Unnatural Maths

https://www.lrb.co.uk/blog/2026/december/unnatural-maths
112•themgt•10h ago•50 comments

Z2RAM Claims SRAM Memory Speeds at Much Greater Density

https://spectrum.ieee.org/sram-memory-z2ram
108•hasheddan•11h ago•35 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.