Page 1 of 3

Re: Steam Chats

Posted: Mon May 12, 2008 9:14 pm
by Azrael
I don't know who that Azrael guy is, but he sounds really awesome.

Re: Steam Chats

Posted: Mon May 12, 2008 10:17 pm
by Johnimus Prime
Johnimus: So how was the Dam Jase?

Jased10s: HACK COUGH SPLUTTER COUGH SPIT SPLUTTER HACK COUGH WRETCH

Re: Steam Chats

Posted: Mon May 12, 2008 10:39 pm
by heavy_the_hobbit
That same thing happened yesterday xD

Re: Steam Chats

Posted: Mon May 12, 2008 11:28 pm
by Supernova
cat > /dev/null
> Votick

Re: Steam Chats

Posted: Tue May 13, 2008 7:25 am
by Azrael
Supernova wrote:cat > /dev/null
> Votick
What? You're sending the output of cat (which will default to STDIN unless I'm mistaken) to a black hole in your computer - and then sending that to Votick? I think you meant to leave out the first >, which would make it `cat /dev/null > Votick`, which, depending on where the newline is would either send null to Votick's ramblings file, or tell you that '> Votick' is the contents of /dev/null. Of course, `tail -c 1k /dev/random > Votick` would be much better.

Re: Steam Chats

Posted: Tue May 13, 2008 8:32 am
by Supernova
the > was simply indicating the first line of input -_-
ie Votick
if you're reading from stdin then it doesn't matter where your newlines are, it just reades every line at a time - but you already know that :P

Re: Steam Chats

Posted: Tue May 13, 2008 9:11 am
by Johnimus Prime
OMG YOU GEEKS!!!!!!

<1> Print "You'r a pair of geeks"
<2> Goto <1>

Re: Steam Chats

Posted: Tue May 13, 2008 10:43 am
by Azrael

Code: Select all

#include <stdio>
using namespace std;

int main() {
  while(true) {
    cout << "You're a pair of geeks!";
  }
  return 0; // will never be called, but needed for the code to compile correctly :/
}
Oh, Super, you were sending Votick to /dev/null. Of course. I'm an idiot. But why not just `echo Votick > /dev/null`?

Re: Steam Chats

Posted: Tue May 13, 2008 11:15 am
by Del
Christ

Re: Steam Chats

Posted: Tue May 13, 2008 1:44 pm
by Jonnywhy
Man I don't play this game to read code, I've had enough of that at Uni! Hopefully will never have 2 see it agen aftr my 1st year!