frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Is it significant that token length of source is close to e?

1•keepamovin•1h ago
What's the relationship between Shannon entropy of the distribution, and token length? For example, English is quoted as having a token length of ~4 characters, but source code (that I've tested) seems to be closer to 2.7. Is this significant that it's close to e (i.e., the base of the natural logarithm)? Is source code a more efficient and natural representation of structure/knowledge/information than English? Any thoughts? Any connection with how log appears in thermodynamic entropy?

Comments

uberman•1h ago
My guess is that you are not naming your variables correctly.
keepamovin•11m ago
*Based on file size / token count (as reported by Claude).

Doing a Number on Falwell: A Computer Hack Ties Up Evangelist's Phones (1985)

https://www.washingtonpost.com/archive/lifestyle/1986/01/05/doing-a-number-on-falwell/17fa554d-9d...
1•wishfish•1m ago•0 comments

My Backyard Office Studio (568 sq/ft Full Tour) [video]

https://www.youtube.com/watch?v=cXDQ33cex-g
1•lordleft•3m ago•0 comments

Lightpanda: The first browser for machines, not humans

https://lightpanda.io
1•maxloh•3m ago•0 comments

Show HN: Alzheimer's conversational AI agent (ElevenLabs 3 hours hackathon)

https://github.com/gyoridavid/relief-alzheimer-conversational-agent
1•gyoridavid•3m ago•0 comments

Show HN: File converter with SHA-256 audit trails and downloadable

https://converter-lmxu.onrender.com
1•reman--•4m ago•0 comments

Postgres 18 New Default for Data Checksums and How to Deal with Upgrades

https://www.crunchydata.com/blog/postgres-18-new-default-for-data-checksums-and-how-to-deal-with-...
1•enz•5m ago•1 comments

Gang rape and sexual slavery widely employed by government and rebels in the DRC

https://www.reuters.com/investigates/special-report/congo-security-rapes
1•hashim•6m ago•0 comments

Alivenet

https://vvesh.de
1•pryncevv•6m ago•0 comments

Vote for the web features you want to see

https://web.dev/blog/upvote-features
1•xnx•8m ago•0 comments

Show HN: Git-Scope – A Fast TUI Dashboard for Managing Multiple Git Repos

https://bharath-code.github.io/git-scope/
1•iam_pbk•9m ago•0 comments

Time After Time

https://thinkhuman.com/time-after-time/
1•jamesgill•9m ago•0 comments

The risk of developing cancer and frequency of alcohol consumption behaviors

https://www.sciencedirect.com/science/article/abs/pii/S1877782125002164
2•bikenaga•10m ago•0 comments

Queries

https://www.futilitycloset.com/2025/11/29/queries/
1•surprisetalk•11m ago•0 comments

Benevolent Dictator for Now

https://roc-lang.org/bdfn
1•surprisetalk•11m ago•0 comments

Pop _OS 24.04 LTS has been released

https://system76.com/pop/download/
1•bitbasher•11m ago•0 comments

Days since last GitHub incident

https://github-incidents.pages.dev/
3•AquiGorka•11m ago•0 comments

Notes on Sorted Data

https://amit.prasad.me/blog/sorted-data
1•surprisetalk•12m ago•0 comments

The Triumph of Logical English

https://worksinprogress.co/issue/the-logical-triumph-of-english/
1•surprisetalk•12m ago•0 comments

Show HN: I made a cozy showcase to find the best game jam games of the month

https://indiehunt.xyz
1•adamgusky•12m ago•0 comments

Show HN: AI Copilot for LibreOffice Writer

https://librethinker.com/
1•mmarian•13m ago•0 comments

Waterfox release 6.6.6 – Privacy hardening

https://www.waterfox.com/releases/6.6.6/
1•tmtvl•14m ago•0 comments

The Plan Is to Make the Internet Worse. Forever [video]

https://www.youtube.com/watch?v=7wE8G-d7SnY
1•tempfile•15m ago•0 comments

The Deadweight Loss of Entertainment

https://moultano.wordpress.com/2025/12/09/the-dead-weight-loss-of-entertainment/
1•moultano•15m ago•0 comments

Show HN: AgentDepot – open-source directory of Cursor rules, Claude, Replit, MCP

https://agentdepot.dev
1•beeruot•16m ago•0 comments

AI Hackers Are Coming Close to Beating Humans

https://www.wsj.com/tech/ai/ai-hackers-are-coming-dangerously-close-to-beating-humans-4afc3ad6
1•julienchastang•17m ago•0 comments

Bob Iger: Disney's OpenAI Deal "Does Not in Any Way" Threaten Creatives

https://www.hollywoodreporter.com/business/business-news/bob-iger-openai-deal-paramount-netflix-w...
1•geox•17m ago•0 comments

Show HN: MemCloud Security Deep Dive – How Devices Safely Share RAM over LAN

https://github.com/vibhanshu2001/memcloud
1•vibhanshugarg•17m ago•0 comments

10 Years Ago Today: Introducing OpenAI

https://openai.com/index/introducing-openai/
1•capitalatrisk•17m ago•0 comments

Disney is investing $1B in OpenAI and licensing its characters for Sora

https://www.cnn.com/2025/12/11/tech/disney-openai-sora-google
1•petethomas•19m ago•0 comments

Polymorphism, but for Your Database

https://typedb.com/blog/the-case-for-a-polymorphic-database
3•calhem•22m ago•1 comments