frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Crimes with Python's Pattern Matching (2022)

https://www.hillelwayne.com/post/python-abc/
32•agluszak•1h ago

Comments

quotemstr•47m ago
I've never understood why Python's pattern-matching isn't more general.

First, "case foo.bar" is a value match, but "case foo" is a name capture. Python could have defined "case .foo" to mean "look up foo as a variable the normal way" with zero ambiguity, but chose not to.

Second, there's no need to special-case some builtin types as matching whole values. You can write "case float(m): print(m)" and print the float that matched, but you can't write "case MyObject(obj): print(obj)" and print your object. Python could allow "..." or "None" or something in __match_args__ to mean "the whole object", but didn't.

AI can write your app, but not center a div

https://www.nuanced.dev/blog/how-centering-a-div-made-me-question-the-future-of-ai-coding
1•John_Marira•44s ago•0 comments

China cut itself off from the global internet for an hour on Wednesday

https://www.theregister.com/2025/08/21/china_port_443_block_outage/
1•Bender•1m ago•0 comments

Spurious correlations (correlation is not causation)

https://www.tylervigen.com/spurious-correlations
1•samber•1m ago•0 comments

One of the Best Solar Eruptions in Years Is Caught on Camera

https://petapixel.com/2025/08/21/one-of-the-best-solar-eruptions-in-years-is-caught-on-camera/
1•NKosmatos•2m ago•0 comments

Libre-Chip Awarded NLnet Grant to Prototype a CPU Isn't Vulnerable to Spectre

https://www.phoronix.com/news/Libre-Chip-NLnet-Grant
1•Bender•2m ago•0 comments

Agent Inference – A user-agent / browser quiz

https://ai.174070135.xyz/
2•todsacerdoti•4m ago•0 comments

A Man Accidentally Bought 10,400 Greg Briley Rookie Cards

https://defector.com/heres-how-a-man-accidentally-bought-10400-greg-briley-rookie-cards
1•pavel_lishin•4m ago•0 comments

Case Study: Migrating a Rush.js Monorepo to Node Type Stripping

https://blog.calm.com/engineering/how-we-migrated-our-rushjs-monorepo-to-node-type-stripping
1•sdotson•4m ago•1 comments

California resident tests positive for plague, health official say

https://fox40.com/news/local-news/el-dorado-county/south-lake-tahoe/south-lake-tahoe-resident-tested-positive-for-plague-health-official-say/
1•Bender•6m ago•0 comments

Video games became a way to connect to a father who struggled to express himself

https://www.crossplay.news/p/connecting-with-my-father-through-video-games
1•thinkalone•7m ago•0 comments

How is it possible to run Wordpad by just typing its name? (2011)

https://devblogs.microsoft.com/oldnewthing/20110725-00/?p=10073
1•bariumbitmap•9m ago•0 comments

Show HN: Splice – CAD for Cable Harnesses and Electrical Assemblies

https://splice-cad.com
1•djsdjs•9m ago•0 comments

I Have No Mut and I Must Borrow

https://old.reddit.com/r/rust/comments/1mwmei6/media_i_have_no_mut_and_i_must_borrow/
2•btown•10m ago•0 comments

MCP Gateway: Self-hostable routing proxy for AI agent traffic to MCP servers

https://github.com/oliverye7/mcp-gateway
1•isomierism•10m ago•1 comments

Popular cities people are moving to this summer

https://qz.com/popular-cities-people-moving-summer-2025
1•josephjrobison•11m ago•0 comments

Five neural net vocal AI running 100% local on a single M1

https://twitter.com/joshwhiton/status/1957534570540356046
1•aspirant•11m ago•0 comments

The Mindset is an Intel 80186-based MS-DOS personal computer

https://en.wikipedia.org/wiki/Mindset_(computer)
1•doener•12m ago•0 comments

OpenAI Is Poised to Become the Most Valuable Startup Ever. Should It Be?

https://www.wired.com/story/openai-valuation-500-billion-skepticism/
1•josephjrobison•12m ago•0 comments

The Pursuit of Life Where It Seems Unimaginable

https://www.quantamagazine.org/the-pursuit-of-life-where-it-seems-unimaginable-20250820/
1•rbanffy•13m ago•0 comments

A simple AI Swiss knife CLI tool

https://github.com/elboza/lai-chat-cli
1•elboza•13m ago•0 comments

Wired and Business Insider remove articles by AI-generated 'freelancer'

https://www.theguardian.com/us-news/2025/aug/21/ai-author-articles-wired-business-insider
1•cmsefton•13m ago•0 comments

Executive Order Establishing US Chief Design Officer

https://www.whitehouse.gov/presidential-actions/2025/08/improving-our-nation-through-better-design/
2•bsimpson•13m ago•1 comments

Hackers who exposed North Korean government hacker explain why they did it

https://techcrunch.com/2025/08/21/hackers-who-exposed-north-korean-government-hacker-explain-why-they-did-it/
2•rbanffy•14m ago•0 comments

Tesla is slow in reporting crashes and the feds have launched an investigation

https://apnews.com/article/tesla-crashes-self-driving-robotaxis-regulators-musk-nhtsa-9946e73dbeca2ff4619a3a7240591f6c
2•voxadam•16m ago•0 comments

The addictive trap of AI-assisted writing

https://bowendwelle.substack.com/p/ai-writing-addictive
2•elgrantomate•18m ago•1 comments

Apple Destroyed Steve Jobs' Vision of the iPad. Good

https://www.wired.com/story/apple-finally-destroyed-steve-jobss-vision-of-the-ipad-good/
2•rbanffy•19m ago•0 comments

Guide: Running GPT-OSS with Llama.cpp

https://github.com/ggml-org/llama.cpp/discussions/15396
1•homarp•25m ago•0 comments

Open Source Maintenance Fee business model example from WiX Toolset

https://github.com/wixtoolset
1•nilsbunger•25m ago•1 comments

The Oldest Unopened Bottle of Wine in the World (C. 350 AD) [2017/2025]

https://www.openculture.com/2025/08/the-oldest-unopened-bottle-of-wine-in-the-world.html
4•bookofjoe•25m ago•0 comments

Show HN: GitArsenal – One-click setup for any GitHub repository

https://www.gitarsenal.dev/cli
5•rs545837•26m ago•1 comments