frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Python's pre-declared constants are kinda weird

https://sebsite.pw/w/20260801-pythonconstants.html
54•rbanffy•1h ago

Comments

xg15•48m ago
Isn't "..." then also behaving like True, False and None, i.e. being a lexical token that rewolves to a hardwired value during parsing?
zahlman•18m ago
It is, but Ellipsis is just an ordinary pre-defined constant (with the same value).
zahlman•31m ago
Past: https://news.ycombinator.com/item?id=49284392 (with my comment), https://news.ycombinator.com/item?id=49250370 .

Nice to see it get attention this time.

echelon•31m ago
I used to like Python in the 2010s when it felt like a breath of fresh air relative to PHP and Perl.

Now it feels like a weird PHP itself that is slow, brittle, and dangerous to write code at scale in.

The loose typing, potluck standard library, and horrible package manager (insofar as the community does not know how to package code) all feel so dated.

datakan•25m ago
It is 30+ years old with all the baggage you would expect. It’s very much a product of its time.
9dev•13m ago
It’s not like that cannot be changed. Look at PHP, which managed to evolve brilliantly over the last decade and gets tons of things right now.
KK7NIL•13m ago
Python certainly has some baggage, especially the typing system (which is still not finished, if you're looking at static typing and so is implemented differently by type checkers) and pip's safety, or lack thereof. But comparing it to PHP or Perl is rhetoric leading you one step too far.

Python's pre-declared constants are kinda weird

https://sebsite.pw/w/20260801-pythonconstants.html
61•rbanffy•1h ago•11 comments

FDA authorizes first wearable device that monitors ketone and blood sugar levels

https://www.fda.gov/news-events/press-announcements/fda-authorizes-first-wearable-device-continuo...
185•sunnynagra•3h ago•116 comments

Apple introduces M6 and M5 Ultra

https://www.apple.com/newsroom/2026/08/apple-introduces-m6-and-m5-ultra-for-a-big-leap-in-perform...
879•interpol_p•9h ago•817 comments

OpenAI Jalapeño: Better than Nvidia Blackwell

https://newsletter.semianalysis.com/p/openai-jalapeno-better-than-nvidia
256•bmulholland•8h ago•170 comments

New Mac Studio with M5 Max and M5 Ultra

https://www.apple.com/newsroom/2026/08/apple-introduces-new-mac-studio-with-m5-max-and-m5-ultra/
672•interpol_p•9h ago•411 comments

When str.lower() is a security vulnerability in Python – Seth Larson

https://sethmlarson.dev/when-str-lower-is-a-security-vulnerability
33•rbanffy•2h ago•17 comments

Black hole singularity is a surface not a point

https://arxiv.org/abs/2608.21590
156•raattgift•5h ago•110 comments

C2PA Cameras Do Not Survive Contact with Reality

https://www.da.vidbuchanan.co.uk/blog/android-c2pa.html
48•Retr0id•3h ago•14 comments

Show HN: I made a Raspberry with Qwen my local car AI

https://github.com/ThinkOffApp/CarWatch
77•petruspennanen•7h ago•16 comments

New Mac mini, featuring M6 and M5 Pro

https://www.apple.com/newsroom/2026/08/apple-unveils-a-more-powerful-mac-mini-featuring-the-all-n...
399•runako•9h ago•224 comments

Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM

https://github.com/swimmingbrain/texbrain
7•swimmingbrain•44m ago•2 comments

Nitter project received cease and desist

https://github.com/zedeus/nitter/issues/1442
498•Banditoz•5h ago•338 comments

Run OpenBSD on DigitalOcean for $4/month

https://nil.wallyjones.com/run-openbsd-on-digitalocean-for-4month/
100•speckx•5h ago•40 comments

Bomb fishing is wreaking havoc on Indonesia's coral reefs

https://e360.yale.edu/digest/bomb-fishing-coral-reefs
240•speckx•8h ago•131 comments

Dolly Parton has died

https://www.theguardian.com/music/2026/aug/25/dolly-parton-country-singer-dead
1029•helsinkiandrew•4h ago•156 comments

Building a backyard office, the build and cost breakdown

https://www.imkylelambert.com/articles/building-a-backyard-office-the-build-and-cost-breakdown
231•surprisetalk•8h ago•170 comments

Clara (YC P26) is hiring a growth engineer to bring AI doctors to market

https://www.ycombinator.com/companies/clara-2/jobs/8snci6k-founding-full-stack-growth-engineer
1•gfavvas•5h ago

Show HN: LatticeDB – Like SQLite but for graph databases

https://github.com/jeffhajewski/latticedb
89•smiths1999•6h ago•30 comments

Tooltips need a delay, and then they need to skip it

https://blog.master.dev/tooltips-need-a-delay-and-then-they-need-to-skip-it/
96•ibobev•6h ago•18 comments

XCancel also down, at least for time being

64•orange999•1h ago•4 comments

My Friend Aaron

https://rorz.io/writing/my-friend-aaron
386•sarreph•5h ago•100 comments

Firefox 157 will include JPEG XL by default on all platforms

https://groups.google.com/a/mozilla.org/g/dev-platform/c/3YMV4MS34KA?pli=1
231•yboris•4h ago•47 comments

Don't Wordle

https://dontwordle.com/
285•Hbruz0•11h ago•112 comments

Tracking Costco gas prices

https://www.jack.bio/blog/costco-gas-tracking
61•lafond•1d ago•61 comments

Starbase, LA

https://www.spacex.com/sites/starbase-la
194•bilsbie•6h ago•331 comments

Show HN: I built self-hosted deployment automation tool for Windows and IIS

https://fdeploy.com/
5•dt3ft•15h ago•1 comments

A brief history of federal lift ticket regulation

https://zakpodmore.substack.com/p/a-brief-history-of-federal-lift-ticket
8•CGMthrowaway•3h ago•0 comments

Visualizing Binary Files

https://movq.de/blog/postings/2026-08-05/0/POSTING-en.html
65•zdw•1d ago•14 comments

Behaviorally fingerprinting Ox Alpha's provenance

https://www.ctgt.ai/research/behaviorally-fingerprinting-ox-alphas-provenance
24•cgorlla•7h ago•13 comments

Fuzzing the Gleam Compiler

https://www.kurz.net/posts/fuzzing-gleam-compiler
45•crowdhailer•6h ago•4 comments