News for hackers. Stuff that matters.
Re:An IRC bot written in Brainfuck by billiob on Monday January 07, 2013 @04:13AM (#5020156)
I wrote one in brainfuck++ some years ago: 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
Re:An IRC bot written in Brainfuck by phyalow on Monday January 07, 2013 @05:47AM (#5020407)
You sir have inspired me to learn this monstrosity purely so I too can insert art into my code.
Re:An IRC bot written in Brainfuck by bvdbijl on Monday January 07, 2013 @06:03AM (#5020448)
If you like code looking like art, you should look at Piet: http://www.dangermouse.net/esoteric/piet.html

It's art that's code

Re:An IRC bot written in Brainfuck by thwest on Monday January 07, 2013 @11:52AM (#5021858)
In the sample programs there is even a brainfuck interpreter! http://www.dangermouse.net/esoteric/piet/samples.html
Re:An IRC bot written in Brainfuck by shocks on Monday January 07, 2013 @10:08AM (#5021272)
Oh wow, this is really really really cool.

Now I'm thinking of awesome programs to hide in any gfx work I do...

Re:An IRC bot written in Brainfuck by easy_rider on Monday January 07, 2013 @05:53AM (#5020426)
Wait, wat?
Re:An IRC bot written in Brainfuck by seanlinehan on Monday January 07, 2013 @02:53AM (#5019958)
For the love of all that is holy, why would anybody subject themselves to this torment?
Re:An IRC bot written in Brainfuck by exDM69 on Monday January 07, 2013 @03:31AM (#5020070)
Brainfuck 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.

Re:An IRC bot written in Brainfuck by StavrosK on Monday January 07, 2013 @06:59AM (#5020598)
Brainfuck looks like it is a Turing machine, only you increment/decrement states rather than jumping to them right away.
Re:An IRC bot written in Brainfuck by aw3c2 on Monday January 07, 2013 @03:30AM (#5020067)
fun. thinking differently for some days.
Re:An IRC bot written in Brainfuck by rcgs on Monday January 07, 2013 @02:10AM (#5019843)
I realise this is the beginnings of the bot, but I'm surprised at how small it is.
Re:An IRC bot written in Brainfuck by willvarfar on Monday January 07, 2013 @03:15AM (#5020015)
I'm not pointing out a heinous crime, but it doesn't contain the network code
Re:An IRC bot written in Brainfuck by cmccabe on Monday January 07, 2013 @03:15AM (#5020016)
That's because Brainfuck is omakase
Re:An IRC bot written in Brainfuck by igul222 on Monday January 07, 2013 @02:30AM (#5019889)
It 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.
Re:An IRC bot written in Brainfuck by surement on Monday January 07, 2013 @02:43AM (#5019935)
Or just a program that writes bf programs, like the (apparently only) way people write Malbolge programs: http://en.wikipedia.org/wiki/Malbolge#Programming_in_Malbolg...
Re:An IRC bot written in Brainfuck by krichman on Monday January 07, 2013 @03:49AM (#5020105)
It'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.
Re:An IRC bot written in Brainfuck by willvarfar on Monday January 07, 2013 @02:53AM (#5019957)
/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!

Re:An IRC bot written in Brainfuck by jordanb on Monday January 07, 2013 @12:48PM (#5022146)
I 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. :)

Re:An IRC bot written in Brainfuck by tectonic on Monday January 07, 2013 @01:41AM (#5019766)
Oh dear god.
Re:An IRC bot written in Brainfuck by pestaa on Monday January 07, 2013 @01:50AM (#5019794)
Exactly.

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.

Re:An IRC bot written in Brainfuck by jlgreco on Monday January 07, 2013 @02:17AM (#5019856)
If 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. ;)

Re:An IRC bot written in Brainfuck by Sir_Cmpwn on Monday January 07, 2013 @02:30AM (#5019890)
I am that SirCmpwn indeed.

Also, who's the jerk that took "SirCmpwn" as a username :(

Re:An IRC bot written in Brainfuck by mirashii on Monday January 07, 2013 @02:39AM (#5019910)
If 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.
Re:An IRC bot written in Brainfuck by surement on Monday January 07, 2013 @02:39AM (#5019911)
Re:An IRC bot written in Brainfuck by throwaway125 on Monday January 07, 2013 @08:05AM (#5020752)
With all lower case it does exist: http://news.ycombinator.com/user?id=sircmpwn
Re:An IRC bot written in Brainfuck by Sir_Cmpwn on Monday January 07, 2013 @02:39AM (#5019916)
Huh. It wouldn't let me register it.
Re:An IRC bot written in Brainfuck by italics on Monday January 07, 2013 @05:36PM (#5023693)
Jesus 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
Re:An IRC bot written in Brainfuck by fosap on Monday January 07, 2013 @03:20AM (#5020032)
The node.js equivalent for brainfuck.
Re:An IRC bot written in Brainfuck by binarydreams on Monday January 07, 2013 @10:30AM (#5021396)
...