5 ms·
An IRC bot written in Brainfuck
- tectonic 14y agoOh dear god.
- pestaa 14y agoExactly. This `netfuck' code is well documented, though. I'm not even sure which questions I'd want to ask first about the author's relationship with programming.
- jlgreco 14y agoIf this is the same SirCmpwn that I am aware of, then I believe his background is in Zilog z80 programming. Getting started with assembly can do strange things to a man. ;)
- Sir_Cmpwn 14y agoI am that SirCmpwn indeed. Also, who's the jerk that took "SirCmpwn" as a username :(
- mirashii 14y agoIf you're anything like me, it was you three years ago and you can't remember the password and don't use the associated e-mail address anymore.
- surement 14y agoNo such user http://news.ycombinator.com/user?id=SirCmpwn http://news.ycombinator.com/user?id=SirCmpwn
- Sir_Cmpwn 14y agoHuh. It wouldn't let me register it.
- throwaway125 14y agoWith all lower case it does exist: http://news.ycombinator.com/user?id=sircmpwn http://news.ycombinator.com/user?id=sircmpwn
- deleted 14y ago[deleted]
- rcgs 14y agoI realise this is the beginnings of the bot, but I'm surprised at how small it is.
- willvarfar 14y agoI'm not pointing out a heinous crime, but it doesn't contain the network code
- cmccabe 14y agoThat's because Brainfuck is omakase
- igul222 14y agoIt would be really cool to make some slightly more usable programming language that compiles to Brainfuck so that mortals could write non-trivial programs in it and impress their friends.
- surement 14y agoOr just a program that writes bf programs, like the (apparently only) way people write Malbolge programs: http://en.wikipedia.org/wiki/Malbolge#Programming_in_Malbolge http://en.wikipedia.org/wiki/Malbolge#Programming_in_Malbolg...
- deleted 14y ago[deleted]
- krichman 14y agoIt's not impressive, though. It's not surprising that someone is able to create a program using a Turing-complete language. It's just surprising that they decided to waste their time with an unreadable one. It's far more impressive to do basically anything else related to programming.
- willvarfar 14y ago/me imagines a IOCCC contest entry that is a non-obfuscated C BF VM. And when run on its own source-code it exposes a message; obfuscation and steganography being much the same thing. And it uses every single BF symbol in the source significantly (no hopping over to a payload thats in a comment or something simple)... I expect someone has already done it!
- seanlinehan 14y agoFor the love of all that is holy, why would anybody subject themselves to this torment?
- aw3c2 14y agofun. thinking differently for some days.
- exDM69 14y agoBrainfuck is to Turing machines what Lisp is to Lambda calculus or Prolog is to predicate logic. There's enough syntactic sugar to make it a practical programming language that is based on a mathematical theory. Learning it will, arguably, make you a better programmer. This seems to be like a conveniently sized practice project, a little I/O with the real world with a simple computational task that's fun to write.
- StavrosK 14y agoBrainfuck looks like it is a Turing machine, only you increment/decrement states rather than jumping to them right away.
- fosap 14y agoThe node.js equivalent for brainfuck.
- billiob 14y agoI wrote one in brainfuck++ some years ago: https://github.com/billiob/bfb https://github.com/billiob/bfb Brainfuck++ adds opening/closing/reading/writing to files/sockets with 6 new operators. The whole code in a single file is there: https://github.com/billiob/bfb/blob/master/code.bfpp https://github.com/billiob/bfb/blob/master/code.bfpp
- phyalow 14y agoYou sir have inspired me to learn this monstrosity purely so I too can insert art into my code.
- bvdbijl 14y agoIf you like code looking like art, you should look at Piet: http://www.dangermouse.net/esoteric/piet.html http://www.dangermouse.net/esoteric/piet.html It's art that's code
- shocks 14y agoOh wow, this is really really really cool. Now I'm thinking of awesome programs to hide in any gfx work I do...
- thwest 14y agoIn the sample programs there is even a brainfuck interpreter! http://www.dangermouse.net/esoteric/piet/samples.html http://www.dangermouse.net/esoteric/piet/samples.html
- easy_rider 14y agoWait, wat?
- binarydreams 14y ago...
- deleted 14y ago[deleted]
- jordanb 14y agoI had an idea once to make a brainfuck web framework as an April fool's day joke along the lines of Cobol on Cogs. The trick, I figured, would be to make a simple basic-like language, and actually write the framework in that, and then make a compiler that translated it to brainfuck. I wonder if that's what this guy did. :)
- italics 14y agoJesus christ. O.o;; This is the first I've seen the language... I think if I wrote stuff at work in brainfuck they would think I was just wasting time. XD