frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

A year of funded FreeBSD development

https://www.daemonology.net/blog/2025-06-06-A-year-of-funded-FreeBSD.html
89•cperciva•2h ago•14 comments

How we decreased GitLab repo backup times from 48 hours to 41 minutes

https://about.gitlab.com/blog/2025/06/05/how-we-decreased-gitlab-repo-backup-times-from-48-hours-to-41-minutes/
272•immortaljoe•6h ago•111 comments

The time bomb in the tax code that's fueling mass tech layoffs

https://qz.com/tech-layoffs-tax-code-trump-section-174-microsoft-meta-1851783502
323•booleanbetrayal•2d ago•220 comments

Sandia turns on brain-like storage-free supercomputer

https://blocksandfiles.com/2025/06/06/sandia-turns-on-brain-like-storage-free-supercomputer/
126•rbanffy•6h ago•41 comments

Odyc.js – A tiny JavaScript library for narrative games

https://odyc.dev
158•achtaitaipai•8h ago•30 comments

United States Digital Service Origins

https://usdigitalserviceorigins.org/
85•ronbenton•2h ago•37 comments

The Illusion of Thinking: Understanding the Limitations of Reasoning LLMs [pdf]

https://ml-site.cdn-apple.com/papers/the-illusion-of-thinking.pdf
38•amrrs•3h ago•4 comments

A masochist's guide to web development

https://sebastiano.tronto.net/blog/2025-06-06-webdev/
149•sebtron•8h ago•17 comments

Onyx (YC W24) – AI Assistants for Work Hiring Founding AE

https://www.ycombinator.com/companies/onyx/jobs/Gm0Hw6L-founding-account-executive
1•yuhongsun•1h ago

Supreme Court Gives Doge Access to Social Security Data

https://www.bloomberg.com/news/articles/2025-06-06/supreme-court-gives-doge-access-to-social-security-data
46•speckx•1h ago•13 comments

Too Many Open Files

https://mattrighetti.com/2025/06/04/too-many-files-open
82•furkansahin•6h ago•63 comments

Meta: Shut down your invasive AI Discover feed

https://www.mozillafoundation.org/en/campaigns/meta-shut-down-your-invasive-ai-discover-feed-now/
401•speckx•6h ago•175 comments

SaaS is just vendor lock-in with better branding

https://rwsdk.com/blog/saas-is-just-vendor-lock-in-with-better-branding
109•pistoriusp•4h ago•61 comments

Series C and Scale

https://www.cursor.com/en/blog/series-c
40•fidotron•4h ago•35 comments

Curate your shell history

https://esham.io/2025/05/shell-history
80•todsacerdoti•8h ago•53 comments

Researchers find a way to make the HIV virus visible within white blood cells

https://www.theguardian.com/global-development/2025/jun/05/breakthrough-in-search-for-hiv-cure-leaves-researchers-overwhelmed
153•colinprince•5h ago•18 comments

Smalltalk, Haskell and Lisp

https://storytotell.org/smalltalk-haskell-and-lisp
8•todsacerdoti•1h ago•1 comments

An Interactive Guide to Rate Limiting

https://blog.sagyamthapa.com.np/interactive-guide-to-rate-limiting
108•sagyam•7h ago•33 comments

Free Gaussian Primitives at Anytime Anywhere for Dynamic Scene Reconstruction

https://zju3dv.github.io/freetimegs/
54•trueduke•6h ago•9 comments

Show HN: AI game animation sprite generator

https://www.godmodeai.cloud/ai-sprite-generator
27•lyogavin•2h ago•16 comments

How many trees are there in the North American boreal forest?

https://nsojournals.onlinelibrary.wiley.com/doi/10.1002/ecog.07677
5•PaulHoule•2h ago•0 comments

A Rippling Townhouse Facade by Alex Chinneck Takes a Seat in a London Square

https://www.thisiscolossal.com/2025/05/alex-chinneck-a-week-at-the-knees/
10•surprisetalk•3h ago•7 comments

What you need to know about EMP weapons

https://www.aardvark.co.nz/daily/2025/0606.shtml
93•flyingkiwi44•11h ago•122 comments

Wendelstein 7-X sets new fusion record

https://www.heise.de/en/news/Wendelstein-7-X-sets-new-fusion-record-10422955.html
102•doener•3d ago•6 comments

Workhorse LLMs: Why Open Source Models Dominate Closed Source for Batch Tasks

https://sutro.sh/blog/workhorse-llms-why-open-source-models-win-for-batch-tasks
15•cmogni1•3h ago•4 comments

Swift and the Cute 2d game framework: Setting up a project with CMake

https://layer22.com/swift-and-cute-framework-setting-up-a-project-with-cmake
75•pusewicz•11h ago•71 comments

A leaderless NASA faces its biggest-ever cuts

https://www.economist.com/science-and-technology/2025/06/04/a-leaderless-nasa-faces-its-biggest-ever-cuts
12•libraryofbabel•4h ago•3 comments

Supreme Court allows DOGE to access social security data

https://www.nbcnews.com/politics/supreme-court/supreme-court-trump-doge-social-security-data-access-elon-musk-rcna206515
25•anigbrowl•1h ago•8 comments

Weaponizing Dependabot: Pwn Request at its finest

https://boostsecurity.io/blog/weaponizing-dependabot-pwn-request-at-its-finest
70•chha•11h ago•39 comments

Freight rail fueled a new luxury overnight train startup

https://www.freightwaves.com/news/how-freight-rail-fueled-a-new-luxury-overnight-train-startup
53•Ozarkian•13h ago•82 comments
Open in hackernews

Show HN: Lambduck, a Functional Programming Brainfuck

https://imjakingit.github.io/lambduck/
63•jorkingit•22h ago
What if Brainfuck was less like C and more like Scheme?

The interpreter implemetation is pretty bad. It's not very fast, it's not very good, and it's probably not very correct. But maybe there's some vaguely interesting programs you could write with it!

For example, the Y combinator:

  λf. (λx. f (x x)) (λx. f (x x))
is written as:

  \` \`1 `0 0 \`1 `0 0

Comments

90s_dev•21h ago
This is far too clever for me to even begin to understand.

How do you get the hello world working?

I tried pasting ,--('\< into the code and if it walks like a lamb and quacks like a duck into the stdin field.

jorkingit•20h ago
Hello world should be:

  ``\\1`.'h``\\1`.'e``\\1`.'l``\\1`.'l``\\1`.'o``\\1`.' ``\\1`.'w``\\1`.'o``\\1`.'r``\\1`.'l``\\1`.'d`.'!
Groxx•18h ago
I feel like adding a bit more brainfuckery would help obscure stuff. Make people use Church numerals to form ASCII characters - it'll encourage golfing it down to something equally as obtuse as

    ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
jzemeocala•21h ago
Do Malborge next
mmoskal•20h ago
This seems way too readable! I think you should remove the character literals in the name of purity.

Also, this is likely way more compact than Brainfuck, as the lambda calculus is written essentially as usual.

And seriously, very cool!

jorkingit•19h ago
Thanks! I'm torn on having the character literals actually; they're definitely syntactical sugar, but I was struggling to write programs that printed anything without them getting super unwieldy! If someone smarter than me can write a compact-looking enough Hello World program then consider them gone ;-)
fc417fc802•17h ago
Yeah there's something wrong with the idea of brainfuck having character literals. The de bruijn indexing is definitely on point but the lack of continuations feels wrong to me given the stated goal.

Also shouldn't the indexes be expressed as a repeated character? Like "---" would be index 3. Integer literals are decidedly non-brainfuck as well.

jorkingit•17h ago
getchar does take a continuation of sorts (as in continuation passing) which is passed the input. In one my initial drafts, getchar was a special form that would accept input at the point of evaluation, which was really funny and unpredictable.

putchar I feel kind of weird about, it acting as an identity function with a side effect is kind of weird; I'm not sure changing it to take a second argument as a continuation would make it better or worse.

Regarding the de Bruijn indices, I don't think there's a huge distinction between writing 3 vs writing ---: it would still form a single lexical token, so I feel like --- is just more noise.

Perhaps a de Bruijn index register you could move around and dereference? e.g. from index 1, index 3 is >>*, then index 2 from there is <*. But that feels less functional, because you're now imperatively manipulating some hidden state.

fc417fc802•17h ago
Entirely agreed that it's nothing but more noise, but isn't that exactly how BF is? Why ----- instead of 5-? Well, because BF of course. The point of the exercise (IMO) is having the bare minimum in parsed characters to achieve the turing tarpit.

I quite like the movable register idea but as you say that's no longer a "BF except lambda calculus" it's some other esolang at that point.

I think my objection about the lack of continuations was misplaced given that appears to be a BF take on the lambda calculus rather than a BF take on scheme.

jorkingit•17h ago
You can always write it in continuation-passing style if you really want continuations! It's not pleasant but none of this is supposed to be ;-)

Agreed on having too many characters though, I don't like that having numerical indices makes the syntax whitespace-sensitive, too.

And once I figure out how to write hello world, those character literals are gone!

fc417fc802•16h ago
Maybe my brain just isn't functioning right now but I don't think writing in CPS is the same as having access to first class continuations? But as previously noted I think that was a misplaced request on my part to begin with.
jorkingit•15h ago
It should be! e.g. if every function takes a continuation as its final argument, then:

  call/cc& = \f. \k. f k k
Then in f you can invoke the continuation k as many times as you want, but that does involve a whole program transformation to CPS.
fc417fc802•14h ago
My line of thought had been that doing so doesn't restore execution context. But it dawns on me that without the ability to mutate variables that doesn't have the same relevance.

Still, doesn't it throw the de bruijn indexes off? Or am I wrong about that as well?

Lambda calculus makes my head hurt.

catlifeonmars•10h ago
So here’s my question: is the interpreter more or less compact than a brainfuck interpreter? Which interpreter would have a lower Kolmogorov complexity, or could they be equivalent?
2d8a875f-39a2-4•15h ago
Shouldn't it be called "Fuckbrain" then?
tromp•13h ago
How is a program like

    ``f`,\0`,\0
where f is applied to two arguments, each of which is the next input byte as a Church numeral, evaluated? Does it depend on order of evaluation?

Note that it's also possible to do I/O without additional primitives, as demonstrated in [1].

[1] https://www.ioccc.org/2012/tromp/

jorkingit•13h ago
I saw this the other day! I salute you, it's so much more evil :-)

And yup, the order of evaluation is leftmost innermost.

  ``\\0`,.`,.
with stdin "hi" will print "hi".
naikrovek•10h ago
I’m too stupid to even recognize how esoteric this is.
sph•10h ago
Genius, great work and well done, though I might not be smart enough to do anything with it.

Please share the interpreter’s code, however bad you feel it is.

Also, definition of de Bruijn index for those of us without formal education: https://en.m.wikipedia.org/wiki/De_Bruijn_index

jorkingit•8h ago
https://github.com/imjakingit/lambduck
somat•8h ago
but bf is nothing like c, bf is a stack language, I would say it's closest real language analog is forth.

Anyhow, This is far too clear and straightforward, the bf analog to scheme would probably be unlambda, an implementation of the lambda calculus without lambda forms.

http://www.madore.org/~david/programs/unlambda/

stronglikedan•8h ago
> but bf is nothing like c, bf is a stack language, I would say it's closest real language analog is forth.

I could guess the age of the author based on this. Seems like history gets rolled up to generalizations after a while.

jorkingit•4h ago
I did take some inspiration from Unlambda: the prefix application syntax is cool! I/O in Unlambda is super weird though! You get a read character instruction that puts it into a character register where the only thing you can do is compare it or print it out again; I don't think you can actually do any arithmetic on it.

I'm not sure if I would characterize Brainfuck as a stack language, but I suppose if you considered all the operators to be unary stack operations I could see it!

reverendsteveii•8h ago
from the least cute name for a programming language instantly to the most cute name for a programming language. Let's go LambDuck!
reuben364•7h ago
Since the de Bruijn indices are limited (and presumably still Turing complete), I wonder how limited you can make them and still be Turing complete.
jorkingit•4h ago
I suspect the answer is 3: SKI combinator calculus is Turing complete and you need 3 de Bruijn indices to define S.

Good call! I got rid of all numbers above 2, I can't count that high anyway ;-)