frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Do You Know How `or` and `and` Work in Python?

https://www.thepythoncodingstack.com/p/do-you-really-know-how-or-and-and-work-in-python
2•rbanffy•10h ago

Comments

wredcoll•10h ago
I don't know how you would test this, but I feel like far more programmers have grown up in a world where `x or y` evaluates to x if it's truthy.

How many people expect some abstract boolean only system?

_wire_•7h ago
You forgot the spaces between Fish and And and And and Chips... and Chips and Or and Or and Slaw.

The scaling of ands in the first part is "given by an easy formula for generating the length of a string from the previous one: it's a_(n+1) = 2a_n + (2a_n + 1) = 4a_n + 1, which WolframAlpha converts to the explicit sequence a_n = (4n-1)/3"

Source

https://www.reddit.com/r/math/comments/1021az/how_many_conse...

The scaling of ands in the second part is decided using an ancient mystical and arcane curse based on tail-end recursion applied to the first part to find the mean reciprocal of the target of the second, then add 3.

HTH!

I'll be here all week... Try the veal!

BobbyTables2•5h ago
True or False

Verify Identities During Self-Service Registration

https://fusionauth.io/blog/identity-verification-before-registration
1•mooreds•3m ago•0 comments

Fast and cheap bulk storage: using LVM to cache HDDs on SSDs

https://quantum5.ca/2025/05/11/fast-cheap-bulk-storage-using-lvm-to-cache-hdds-on-ssds/
2•todsacerdoti•3m ago•0 comments

Measuring Engineering

https://fffej.substack.com/p/measuring-engineering
1•mooreds•3m ago•0 comments

The Electron E1 Processor

https://www.efficient.computer/announcing-electron-e1-processor
1•bane•4m ago•0 comments

Smallest particulate matter sensor revolutionizes air quality measurement

https://www.bosch-sensortec.com/news/worlds-smallest-particulate-matter-sensor-bmv080.html
1•Liftyee•6m ago•0 comments

An Interview with Alex Ward

https://ciamweekly.substack.com/p/an-interview-with-alex-ward
1•mooreds•7m ago•0 comments

eSports for Engineers: course syllabus bridging gaming and STEM education [pdf]

https://github.com/sim-museum/esports-for-engineers/blob/master/files/syllabusFor_eSportsForEngineers.pdf
1•fifteenth•8m ago•0 comments

Voice AI for medical/premed students

https://www.codyliu.com/blog/rt-anki-voice-flashcards
1•codexliu•30m ago•0 comments

The Sputnik vs. Deep Seek Moment: The Answers

https://marginalrevolution.com/marginalrevolution/2025/07/the-sputnik-vs-deep-seek-moment-the-answers.html
1•ksec•33m ago•0 comments

Yixiang 16kWh Battery for $1,899? What in the world [video]

https://www.youtube.com/watch?v=7bShGUPU3TQ
2•xbmcuser•38m ago•1 comments

Chat Test Reporter – Google Chat Alerts for Test Runs in CI

https://chat-test-reporter.vercel.app/
1•jjuliobit•39m ago•1 comments

Show HN: Open-source "God mode killer" IGA in Keycloak

https://github.com/tide-foundation/keycloak-IGA
2•SaltNHash•41m ago•3 comments

Exosphere: A simple centralized patch management and reporting tool for Unix sy

https://github.com/mrdaemon/exosphere
1•todsacerdoti•49m ago•0 comments

Thinking of an Animal: the classic guessing game

https://thepottshouse.org/paul/portfolio/Thinking_of_an_Animal.html
1•vitalnodo•53m ago•0 comments

Show HN: Claude Sub Agents with powerful orchestration

https://github.com/vijaythecoder/awesome-claude-agents
1•vijaytupakula•54m ago•1 comments

Doge uses AI tool aiming to cut 50% of federal regulations under Trump

https://www.washingtonpost.com/business/2025/07/26/doge-ai-tool-cut-regulations-trump/
2•trauco•55m ago•0 comments

New AI architecture is 100x faster in reasoning with just 1k training examples

https://venturebeat.com/ai/new-ai-architecture-delivers-100x-faster-reasoning-than-llms-with-just-1000-training-examples/
1•handfuloflight•57m ago•0 comments

Show HN: The Aria Programming Language

https://github.com/egranata/aria
2•egranata_aria•58m ago•2 comments

Shelter VR Club

https://www.twitch.tv/sheltervrclub
1•hnuser123456•1h ago•1 comments

Exploiting Zapier's Gmail auto-reply agent for data exfiltration

https://repello.ai/blog/exploiting-zapier-s-gmail-auto-reply-agent-for-data-exfiltration
1•birdculture•1h ago•0 comments

Hunyan World 1.0 – The First Open-Source 3D World Generation Model

https://3d-models.hunyuan.tencent.com/world/
2•hnhn34•1h ago•0 comments

Radxa Launches M.2 AI Accelerator with Axera AX8850 and 24 Tops NPU

https://linuxgizmos.com/radxa-launches-m-2-ai-accelerator-with-axera-ax8850-and-24-tops-npu/
3•xxkimirkn•1h ago•0 comments

Anti-obesity medications can normalize testosterone levels in men

https://medicalxpress.com/news/2025-07-anti-obesity-medications-testosterone-men.html
3•PaulHoule•1h ago•0 comments

Gulls are intelligent, vital birds that deserve our protection, not scorn (2024)

https://www.salon.com/2024/10/20/gulls-are-intelligent-vital-birds-that-deserve-our-protection-not-scorn/
3•pseudolus•1h ago•0 comments

A Python dict that can report which keys you did not use

https://www.peterbe.com/plog/a-python-dict-that-can-report-which-keys-you-did-not-use
2•gilad•1h ago•0 comments

rqlite – Highly-Available, Distributed Relational Database Built on SQLite

https://rqlite.io/
2•gilad•1h ago•0 comments

Meta AI needs login from now on

1•nothrowaways•1h ago•0 comments

Show HN: LunaSVG – C++ Library for Rendering and Manipulating SVG Documents

https://github.com/sammycage/lunasvg/releases/tag/v3.4.0
2•sammycage•1h ago•0 comments

Migadu Email

https://migadu.com/about/
3•mjshashank•1h ago•0 comments

Canada's outdated elevator rules are adding to the housing crisis

https://www.theglobeandmail.com/opinion/article-canadas-outdated-elevator-rules-are-adding-to-the-housing-crisis/
6•voisin•1h ago•0 comments