frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

De Bruijn Numerals

https://text.marvinborner.de/2023-08-22-22.html
28•marvinborner•2h ago

Comments

tromp•1h ago
> Christopher Wadsworth analyzed different properties of numeral systems and the requirements they have to fulfill to be useful for arithmetic.

> Specifically, he calls a numeral system adequate if it allows for a successor (succ) function, predecessor (pred) function, and a zero? function yielding a true (false) encoding when a number is zero (or not).

A numeral system is adequate iff it can be converted to and from Church numerals. Converting from Church numerals requires functions N0 and Nsucc so that

    Church2Num c = c Nsucc N0
while converting to Church numerals requires functions Nzero? and Npred so that

    Num2Church n = Nzero? n C0 (Csucc (Num2Church (Npred n)))
with an implicit use of the fixpoint combinator.

An interesting adequate numeral system is what i call the tuple numerals [1], which are simply iterates of the 1-tuple function T = λxλy.y x

So N0 = id, Nsucc = λnλx.n (T x), Npred = λnλx.n x id, and Nzero? = λnλtλf. n (K t) (K f).

These tuple numerals are useful in proving lower bounds on a functional busy beaver [2].

[1] https://github.com/tromp/AIT/blob/master/numerals/tuple_nume...

[2] https://oeis.org/A333479 (see bms.lam link)

emptybits•47m ago
If you’re “into” de Bruijn numerals or Project Euler then you might be familiar with this little treat:

https://projecteuler.net/problem=941

Otherwise, have a go and don’t spoil it! (I have failed thus far.)

Show HN: Harada Planner (Harada.app)

https://harada.app
1•devsatish•1m ago•0 comments

Siren Suit

https://en.wikipedia.org/wiki/Siren_suit
1•tosh•2m ago•0 comments

I finally understand Cloudflare Zero Trust tunnels

https://david.coffee/cloudflare-zero-trust-tunnels
1•eustoria•5m ago•0 comments

Researchers say our solar system is moving impossibly fast

https://thedebrief.org/our-current-models-are-being-put-to-the-test-researchers-say-our-solar-sys...
1•geox•6m ago•0 comments

Practical Data Privacy (Book)

https://practicaldataprivacybook.com/
1•eustoria•8m ago•0 comments

How LimeWire ended the Napster music revolution

https://www.theverge.com/podcast/820818/limewire-music-piracy-version-history
2•el_duderino•11m ago•0 comments

Scraping Hacker News job posts and filtering them for remote roles

https://vimeo.com/manage/videos/1137439887
1•sebestindragos•12m ago•1 comments

Ask HN: What works to learn mathematical problem solving?

1•tiu•13m ago•0 comments

Show HN: A desktop app to manage Claude Code config

https://github.com/djyde/ccmate
1•djyde•18m ago•0 comments

Stronger Adaptive Attacks Bypass Defenses Against LLM Jailbreaks

https://arxiv.org/abs/2510.09023
1•baxtr•19m ago•0 comments

Shouting at seagulls could stop them stealing your food

https://news.exeter.ac.uk/faculty-of-environment-science-and-economy/shouting-at-seagulls-could-s...
1•gnabgib•20m ago•0 comments

Ask HN: Cloud providers are losing in favor of bare-metal?

2•clostao•20m ago•0 comments

'No point making a high-spec Steam Machine,' Larian publishing boss says

https://www.pcgamer.com/hardware/no-point-making-a-high-spec-steam-machine-larian-publishing-boss...
1•thunderbong•22m ago•0 comments

Owning a Cat Could Double Your Risk of Schizophrenia, Research Suggests

https://www.sciencealert.com/owning-a-cat-could-double-your-risk-of-schizophrenia-research-suggests
3•amichail•24m ago•0 comments

War with the Anglo-Saxons: How Britain became Russia's enemy number one

https://nestcentre.org/war-with-the-anglo-saxons/
1•prmph•25m ago•0 comments

Data centre in the shed reduces energy bills to £40

https://www.bbc.com/news/articles/c0rpy7envr5o
1•planetjones•26m ago•0 comments

Apply to Ampersand U

https://andys.blog/apply/
1•andytratt•30m ago•0 comments

ICLR review with 40 weaknesses and 40 additional questions

https://openreview.net/forum?id=kDhAiaGzrn&noteId=XzScUnmDGs
1•deepdarkforest•33m ago•1 comments

Show HN: PolyAgora – A natural-language multi-agent OS built with GPT-5.1

https://github.com/Takeshi-Sakamoto5/PolyAgora
1•takeshi_sakamo•33m ago•1 comments

The Best General View of Yosemite

https://worldhistory.substack.com/p/the-best-general-view-of-yosemite
2•crescit_eundo•37m ago•1 comments

Is Neon's price drop just coming from moving to Databricks AWS account?

https://www.vantage.sh/blog/neon-acquisition-new-pricing
4•jmarbach•39m ago•1 comments

Breaking the Humanoid Robot Delusion

https://www.computerworld.com/article/4082113/breaking-the-humanoid-robot-delusion.html
1•ohjeez•41m ago•0 comments

'Not in our name': Afrikaners push back against Trump's genocide claims

https://www.france24.com/en/africa/20251116-not-in-our-name-afrikaners-push-back-trump-false-whit...
2•prmph•43m ago•0 comments

Meridian: A Design Framework for Malleable Overview-Detail Interfaces

https://dl.acm.org/doi/10.1145/3746059.3747654
1•andsoitis•44m ago•0 comments

Show HN: AI Hub – Android all in one app for AIs

https://github.com/SilentCoderHere/AI-hub
1•SilentCoderHere•45m ago•0 comments

DoorDash to pay $18M to settle City Hall lawsuit

https://chicago.suntimes.com/city-hall/2025/11/14/doordash-18-million-settle-city-hall-lawsuit
2•ludicrousdispla•46m ago•1 comments

Foundation Interface Lab

https://hci.ucsd.edu/
2•jerlendds•46m ago•0 comments

Only three kinds of AI products work

https://www.seangoedecke.com/ai-products/
12•emschwartz•48m ago•8 comments

The Laffer curve for high incomes (2017)

https://www.econstor.eu/handle/10419/197646/
1•throw0101a•49m ago•0 comments

Electricity bills in states with the most data centers are surging

https://www.cnbc.com/2025/11/14/data-centers-are-concentrated-in-these-states-heres-whats-happeni...
3•speckx•49m ago•1 comments