Login | Register

Nerd Paradise

~ Since 0 Ineo 0:0 ~
The Forum > Technology > Rube Goldberg Programs
Page: 1 2 Next >
Something I thought would be fun.

I believe you know what this is: turning an easy command into something complex.

First, list the command you want to do.
Then, post the code for it to do that.

Here's my example:

a+b=?

a=int(input("a"))
b=int(input("b"))
for c in range(1, b+1):
    a=a+1
print(a)



Ok, so that wasn't very good. But I think you get what I mean.
[Quote] [Link]
The problem is, you don't get to see what it's doing when you actually run the program. Half the fun of Rube Goldberg machines is just watching them do stuff.
[Quote] [Link]
XD
Then make 'em show you stuff.
[Quote] [Link]
@Ethliel: Use comments.
[Quote] [Link]
I suppose that would be somewhat interesting. But I'm not quite to the point where I find fun in reading through other people's code.
[Quote] [Link]
Any sufficiently large codebase could be construed as a Rube Goldberg machine. The codebase I work on at work is 1,043,000 million lines of code. A million coincidental miracles occurring in perfect harmony to achieve one (mostly) robust end effect.
[Quote] [Link]
...Which is to make coffee or toast or something, right?
[Quote] [Link]
Omelettes of 12 varieties.
[Quote] [Link]
Not bad, not bad.
[Quote] [Link]
I want to take a byte out of those!
...
...
...
That was pretty bad.
[Quote] [Link]
^
We are no longer friends. >.>
[Quote] [Link]
beary605 said:
I want to take a byte out of those!
...
...
...
That was pretty bad.


You pig! Only take a bit.
[Quote] [Link]
A group of four bits is a nibble.
[Quote] [Link]
In most C implementations, a char takes up 8 bits (1 byte). A group of four bytes is called a 'word.'

When dealing with computers, we only speak in four-letter words. :P
[Quote] [Link]
http://en.wikipedia.org/wiki/Three-letter_acronym

Running out of them is a bit like running out of IPv4 addresses. Sure it's possible to go on, but it's different and strange and requires effort in ways that nobody is used to.
[Quote] [Link]
vcordie said:
^
We are no longer friends. >.>

I don't believe we were ever friends, so fine with me.
[Quote] [Link]
Oh. :( So harsh...
[Quote] [Link]
Fwip said:
When dealing with computers, we only speak in four-letter words. :P

hence "bit," "computer," "Linux," "C," "C++," "Python," "Browser," "Operating System," etc.
[Quote] [Link]
Bit, Comp, Lin(Or DSB), C, C++, Py, IE(Or Fire, Or Goog), OS, etc.
[Quote] [Link]
vcordie said:
... Lin ... DSB ... Fire ... Goog ...

You are making these up.
[Quote] [Link]
Well, GOOG is their stock symbol.
But the rest are fictitious I think.
[Quote] [Link]
Guys. Guys!

The joke is that "four-letter words" are swear words. And getting computers to do what you want can be frustrating. So you swear a lot.
[Quote] [Link]
But computers always do what I tell them to do.
[Quote] [Link]
That's the problem. They don't say "Oh, this is wrong."
[Quote] [Link]
Page: 1 2 Next >
The Forum > Technology > Rube Goldberg Programs
Current Date: 13 Ineo 9:5Current Time: 19.76.31Join us in IRC...
Server: irc.esper.net
Channel: #nerdparadise
Your IP: 54.235.20.17Browser: UnknownBrowser Version: 0