frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: AI game animation sprite generator

https://www.godmodeai.cloud/ai-sprite-generator
106•lyogavin•19h ago•81 comments

Show HN: Air Lab – A portable and open air quality measuring device

https://networkedartifacts.com/airlab/simulator
459•256dpi•2d ago•182 comments

Show HN: Cpdown – Copy any webpage/YouTube subtitle as clean Markdown(LLM-ready)

https://github.com/ysm-dev/cpdown
6•ysm0622•12h ago•1 comments

Show HN: Ask-human-mcp – zero-config human-in-loop hatch to stop hallucinations

https://masonyarbrough.com/blog/ask-human
117•echollama•1d ago•53 comments

Show HN: Lambduck, a Functional Programming Brainfuck

https://imjakingit.github.io/lambduck/
65•jorkingit•1d ago•26 comments

Show HN: Claude Composer

https://github.com/possibilities/claude-composer
151•mikebannister•1d ago•85 comments

Show HN: Mustardwatch: Detect what files a program uses, rerun when they change

https://github.com/shachaf/mustardwatch
10•shachaf•16h ago•0 comments

Show HN: iOS Screen Time from a REST API

https://www.thescreentimenetwork.com/api/
101•anteloper•1d ago•50 comments

Show HN: GPT image editing, but for 3D models

https://www.adamcad.com/
179•zachdive•2d ago•85 comments

Show HN: Container Use for Agents

https://github.com/dagger/container-use
73•aluzzardi•1d ago•17 comments

Show HN: ClickStack – Open-source Datadog alternative by ClickHouse and HyperDX

https://github.com/hyperdxio/hyperdx
234•mikeshi42•1d ago•68 comments

Show HN: SQLAlchemy just the core – a better way

https://github.com/sayanarijit/sqla-fancy-core
4•sayanarijit•15h ago•0 comments

Show HN: I made a 3D SVG Renderer that projects textures without rasterization

https://seve.blog/p/i-made-a-3d-svg-renderer-that-projects
206•seveibar•2d ago•70 comments

Show HN: Bridgit – In-Person-First Networking

https://www.bridgitsocial.com/
3•amfooladgar•15h ago•3 comments

Show HN: Televyze, Your IPTV OS

https://televyze.com
4•1mbsite•17h ago•0 comments

Show HN: String Flux – Simplify everyday string transformations for developers

https://stringflux.io
16•eaglepeak•1d ago•7 comments

Show HN: Asteroid Impact Probability Tool

https://b612foundation.org/asteroid-institute-launch-of-adamimpact-probability-demo-to-analyze-and-visualize-future-impact-risk/
2•dremy•18h ago•0 comments

Show HN: Arxivlens – Save Hours Researching Scientific Literature on ArXiv

https://arxivlens.com/
3•Ava234•19h ago•0 comments

Show HN: Grab a Random ArXiv Paper

https://jepedersen.dk/arxiv.html
13•jegp•1d ago•2 comments

Show HN: Kan.bn – An open-source alterative to Trello

https://github.com/kanbn/kan
505•henryball•5d ago•218 comments

Show HN: Kobuddy – Send Articles to Your Kobo E-Reader

https://kobuddy.app/
2•No-Arugula5818•20h ago•1 comments

Show HN: CensorIt – Remove vocals or music from uploaded audio files

https://censorit.org/signin
4•mr_aaron•20h ago•0 comments

Show HN: I build one absurd web project every month

https://absurd.website
290•absurdwebsite•4d ago•67 comments

Show HN: I wrote a Java decompiler in pure C language

https://github.com/neocanable/garlic
168•neocanable•4d ago•94 comments

Show HN: EndBOX – A toy-like retro computer for EndBASIC

https://www.endbasic.dev/2025/06/unveiling-the-endbox.html
5•jmmv•21h ago•0 comments

Show HN: Solomon's Agent - a CLI to simplify the web

https://github.com/jadbox/solomonagent
3•jadbox•21h ago•1 comments

Show HN: App.build, an open-source AI agent that builds full-stack apps

https://www.app.build/
89•davidgomes•2d ago•13 comments

Show HN: Lightweight Durable Workflows Built on Postgres

https://github.com/dbos-inc/dbos-transact-python
5•qianli_cs•22h ago•0 comments

Show HN: Tape/Z – a toolkit for analysing z/OS assembler (HLASM) code

https://github.com/avishek-sen-gupta/tape-z
2•armorer•22h ago•0 comments

Show HN: Posture Correction Using AirPods Motion Sensors

https://github.com/wizenheimer/workwell
7•tinylm•1d ago•1 comments
Open in hackernews

Show HN: Lambduck, a Functional Programming Brainfuck

https://imjakingit.github.io/lambduck/
65•jorkingit•1d 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•1d 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•1d 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•1d 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•1d ago
Do Malborge next
mmoskal•1d 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•1d 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•1d 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•1d 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•1d 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•1d 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•1d 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•1d 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•1d 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•1d 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•1d ago
Shouldn't it be called "Fuckbrain" then?
tromp•1d 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•1d 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•1d ago
I’m too stupid to even recognize how esoteric this is.
sph•1d 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•1d ago
https://github.com/imjakingit/lambduck
somat•1d 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•1d 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•21h 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•1d 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•1d 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•21h 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 ;-)