frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Perplexity and Intelligence

https://openai.com/index/perplexity-and-intelligence/
188•acossta•2h ago•134 comments

Toyota, Nissan, and Honda to standardize parts to lower costs

https://www.caranddriver.com/news/a74490092/toyota-nissan-honda-standardize-parts-lower-costs/
1024•zdw•15h ago•612 comments

Open Social Web Alliance

https://osw-alliance.net/en/
151•doener•3h ago•148 comments

Show HN: I built a game where you are an LLM's subagent

https://github.com/gulivan/worker755
172•ivantgam•5h ago•44 comments

I joined the NTP Pool, but not with my Stratum 1 Pi

https://www.jeffgeerling.com/blog/2026/i-joined-the-ntp-pool/
55•fortran77•3h ago•14 comments

Pill to treat pancreatic cancer hailed as 'biggest breakthrough in decades'

https://www.theguardian.com/society/2026/nov/20/pill-pancreatic-cancer-breakthrough-daraxonrasib
1284•rafaelc•1d ago•274 comments

A Better Vocabulary for Testing

https://alperenkeles.com/posts/vocab-for-testing/
60•alpaylan•20h ago•16 comments

Inside PyPy: First Contact with RPython

https://bernsteinbear.com/blog/inside-pypy-first-contact-with-rpython/
23•lumpa•3d ago•3 comments

Ask HN: Tips for transitioning from web development to embedded/firmware?

62•llmblockchain•3d ago•40 comments

Lean verification of the Riemann Hypothesis

https://leanprover-community.github.io/blog/posts/riemann-hypothesis/
1184•g-b-r•1d ago•979 comments

The Transvoxel Algorithm

https://transvoxel.org/
17•klaussilveira•3d ago•1 comments

Sandwich Simulator

https://stulle.app/
484•subdomain•19h ago•167 comments

Self-hosted library branch over public web OPDS

https://joinmayberry.com/
92•philips•2d ago•28 comments

Testing Terraform with AWS Emulator

https://notes.hatedabamboo.me/terraform-tests-with-aws-emulator/
22•meysamazad•6h ago•3 comments

Europe weakens chemical rules as science links them to 'lifestyle diseases'

https://www.lemonde.fr/en/opinion/article/2026/11/22/as-science-increasingly-shows-the-role-chemi...
107•atmosx•3h ago•91 comments

87% of the Anthropic power will come from gas and 11% from coal in 2028

https://betterdatacenterproject.com/2026/11/16/how-ai-is-powered-a-breakdown-of-byop-and-grid-power/
617•happosai•10h ago•693 comments

Backblaze customers worried of personal data sale/sharing after policy update

https://www.neowin.net/news/backblaze-customers-worried-of-personal-data-salesharing-after-policy...
78•cube00•3h ago•38 comments

Inkling-2-Mini in 5.4 GB Memory

https://github.com/ShinMegamiBoson/lookatmyquant
550•k__•1d ago•131 comments

Detonating a pile of lead azide

https://www.science.org/content/blog-post/detonating-huge-pile-lead-azide-really
686•beginning_end•1d ago•418 comments

What Makes UltraSMR Different?

https://blog.westerndigital.com/what-is-ultrasmr-technology/
16•bluedino•2d ago•19 comments

Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator

https://simonwillison.net/2026/Nov/21/muru/
54•joshcsimmons•9h ago•9 comments

Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow

https://github.com/EL4CTEO/fast-anything
152•BaselAshraf81•15h ago•112 comments

Data Processing Incidents on Inference Providers

https://openrouter.ai/blog/announcements/data-processing-incidents-on-inference-providers/
257•sdko•16h ago•88 comments

Notes on the discrete Fourier transform (DFT)

https://eli.thegreenplace.net/2026/notes-on-the-discrete-fourier-transform-dft/
83•kouosi•12h ago•11 comments

Getting the mind to steer the body to steer you

https://notnottalmud.substack.com/p/getting-the-mind-to-steer-the-body
379•jger15•1d ago•146 comments

My monitor was cutting my download speed by 75%

https://blog.tymscar.com/posts/studiodisplayethernet/
673•soheilpro•1d ago•310 comments

The Where's Waldo of the 1500s

https://blog.alexbeals.com/posts/il-civetta
54•speckx•3d ago•9 comments

Field Mice on Drugs

https://ambrook.com/offrange/livestock/field-mice-on-drugs
26•surprisetalk•2d ago•9 comments

PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors

https://github.com/sebaandrada-cell/PcapAnalyzer
157•sebaandrada•21h ago•20 comments

The Mythology of Conscious AI

https://www.noemamag.com/the-mythology-of-conscious-ai/
140•Anon84•17h ago•393 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.