frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Building and Shipping Mac and iOS Apps Without Ever Opening Xcode

https://scottwillsey.com/building-and-shipping-mac-and-ios-apps-without-ever-opening-xcode/
198•speckx•4h ago•87 comments

Apple's new SpeechAnalyzer API, benchmarked against Whisper and its predecessor

https://get-inscribe.com/blog/apple-speech-api-benchmark.html
381•get-inscribe•6h ago•163 comments

Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

https://github.com/Poseidon-fan/linux-0.11-rs
51•arto•2h ago•33 comments

Show HN: YouTube Guitar Tab Parser

https://github.com/marcelpanse/youtube-guitar-tab-parser
40•neogenix•2h ago•26 comments

The real prices of frontier models. Tokens * Price, right?

https://playcode.io/blog/real-price-of-frontier-models
125•ianberdin•4h ago•58 comments

Linux on the Sega 32X. Who needs hardware synchronization primitives anyway?

https://cakehonolulu.github.io/linux-on-32x/
68•cakehonolulu•4h ago•14 comments

Climate.gov was destroyed. Open data saved it

https://werd.io/climate-gov-was-destroyed-open-data-saved-it/
320•benwerd•2h ago•124 comments

The art and engineering of Sega CD Silpheed

https://fabiensanglard.net/silpheed/index.html
191•ibobev•7h ago•37 comments

SalesPatriot (YC W25) Is Hiring Full Stack Engineers (SF)

https://jobs.ashbyhq.com/SalesPatriot/df223727-5781-433e-bc75-2aa5bf8dc8d7
1•maciejSz•1h ago

Telegram's t.me domain has been suspended

https://www.whois.com/whois/t.me
190•Tiberium•2h ago•101 comments

Samsung Health app threatens data deletion if users opt out AI training

https://neow.in/cWsyMTV3
174•bundie•2h ago•51 comments

TFTP Honey Pot Results

https://bruceediger.com/posts/tftp-honeypot-results/
39•speckx•3h ago•13 comments

Show HN: I implemented a neural network in SQL

https://github.com/xqlsystems/xarray-sql/blob/claude/xarray-sql-mnist-demo/benchmarks/nn.py
37•alxmrs•2h ago•8 comments

Show HN: Jacquard, a programming language for AI-written, human-reviewed code

https://github.com/jbwinters/jacquard-lang
19•jbwinters•6h ago•8 comments

Ancient Roman Board Game

https://ludus-coriovalli.web.app/
69•nobody9999•4d ago•31 comments

The Origins of Heikki's Garden of Flowers

https://garden-of-flowers.heikkilotvonen.com/?essay
22•panic•2d ago•2 comments

The 4-Bitter Lesson: Balancing Stability and Performance in NVFP4 RL

https://humansand.ai/blog/nvfp4-rl
15•Areibman•2d ago•0 comments

Show HN: Nobie – an Excel-compatible runtime for agents and humans

https://nobie.com
57•matthewgapp•4h ago•21 comments

The infinite scroll may become endangered if controversial Calif. law passes

https://www.sfgate.com/politics/article/meta-social-media-teenagers-22337724.php
23•Stratoscope•3h ago•41 comments

A voxel Tokyo in real Japan time – ride the Yamanote line and study Japanese

https://jivx.com/densha
322•momentmaker•11h ago•60 comments

Show HN: BillAI Bass, an AI-Powered Big Mouth Billy Bass Using Strands Agents

https://github.com/morganwilliscloud/billai-bass
41•mtw14•4h ago•18 comments

Show HN: Sigwire – a live TUI switchboard for every signal on your Linux box

https://github.com/yeet-src/sigwire
14•zasc•2h ago•5 comments

Benchmarking 15 "E-Waste" GPUs with Modern Workloads

https://esologic.com/benchmarking-tesla-gpus/
95•eso_logic•8h ago•43 comments

Show HN: DOM-docx – HTML to native, editable Word docs (MIT)

https://github.com/floodtide/dom-docx
130•fishbone•10h ago•30 comments

Show HN: OpenClawMachines – Extending OpenClaw to the Enterprise

https://github.com/mathaix/OpenClawMachines
19•mathaix•4h ago•20 comments

Robust Secret Storage in Networks

https://arxiv.org/abs/2606.30261
5•Anon84•5d ago•0 comments

LAPD lets contract with surveillance giant Flock expire

https://techcrunch.com/2026/07/13/lapd-lets-contract-with-surveillance-giant-flock-expire-citing-...
412•forks•7h ago•332 comments

Tune Code Before Your Garbage Collector

http://blog.vanillajava.blog/2026/06/why-you-should-tun-code-before-your.html
36•peter_lawrey•5d ago•28 comments

GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

https://nebusec.ai/research/ionstack-part-2/
386•ranger_danger•5d ago•187 comments

Ask HN: What Are You Working On? (July 2026)

243•david927•1d ago•910 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.