collapse collapse

* Recent News

Fifth Matrix Film Announced! by Lithium
[January 29, 2025, 03:37:07 pm]


Meta Connect 2024 by Tbone
[September 25, 2024, 01:37:22 pm]


Quest Headsets Will No Longer Require Facebook Account by Tbone
[July 07, 2022, 03:17:21 pm]


New Matrix Online? "Matrix Awakens" UE5 Demo by Tbone
[December 28, 2021, 01:05:59 pm]

* Recent Posts

randomness by Lithium
[March 05, 2025, 01:40:53 pm]


Fifth Matrix Film Announced! by Lithium
[January 29, 2025, 03:37:07 pm]


Holiday Fun by Jeyk
[January 03, 2025, 11:41:50 am]


FA in DC? by Subb
[November 01, 2024, 03:55:27 pm]


Meta Connect 2024 by Tbone
[September 25, 2024, 01:37:22 pm]


2024: New PC for VR! by Tbone
[April 06, 2024, 12:22:30 pm]


MOVED: Fifth Matrix Film Announced! by Tbone
[April 06, 2024, 12:18:27 pm]


Quest 2 Link Best Settings (Finally Better Than Rift S) by Tbone
[November 27, 2023, 04:57:46 pm]

Author Topic: Useless Posts  (Read 1289 times)

Anonymous

  • Guest
Useless Posts
« on: May 18, 2005, 12:49:03 am »
Java and boredom are a bad combination:

public class UselessTopic extends Topic
{
   public static void main(String args[])
   {
      private int posts = 1000000;
      System.out.print("Let's see how many useless posts we can make:");
      
      for ( int postCount=0; postCount < posts; postCount++ )
      {
         System.out.println( postCount + "useless posts so far.");
         System.out.println( "Let's go for more!" );
      }
      
   }
}


(Note: This version doesn't actually compile...Unless you write a superclass for it and change the variable declarations).

Anonymous

  • Guest
Useless Posts
« Reply #1 on: May 18, 2005, 12:49:50 am »
Okay, here's a version that compiles.
Just throw it into your favorite Java compiler and watch it go!

public class UselessTopic
{
   public static void main(String args[])
   {
      int posts = 1000000;
      System.out.println("Let's see how many useless posts we can make:");
      
      for ( int postCount=0; postCount < posts; postCount++ )
      {
         System.out.println( postCount + " useless posts so far.");
         System.out.println( "Let's go for more!" );
      }
      
   }
}


(Edited for Kosila's nitpicky neatfreakyness)

Offline Kosila

  • Angelic Wrath
  • *****
  • Join Date: Nov 2004
  • Posts: 974
    • View Profile
    • http://thefuriousangels.com
Useless Posts
« Reply #2 on: May 18, 2005, 01:01:23 am »
Make the first out.print into a out.println ... also make it " useless posts so far." ... otherwise it will print like this:

Code: [Select]
Let's see how many useless posts we can make:0useless posts so far.
Let's go for more!
1useless posts so far.
Let's go for more!
...


:P I'm obsessed with how good the results looks. I've lost marks before for wasting my time on making it look good.

Offline Fuse

  • VETERAN ANGEL
  • *******
  • Join Date: Jan 2005
  • Posts: 3902
    • View Profile
    • http://www.lostlocalhost.com
Useless Posts
« Reply #3 on: May 18, 2005, 01:05:58 am »
<---does it old fasio way

postCount++;

Anonymous

  • Guest
Useless Posts
« Reply #4 on: May 18, 2005, 01:13:53 am »
damn midnight, if you're actually taking the time to type all of that out in the forums, u must be bored out of your mind............DAMN

at least when im bored, i grab a pillow, get comfortable on a couch, and go to sleep....   :p

Anonymous

  • Guest
Useless Posts
« Reply #5 on: May 18, 2005, 03:33:46 am »
<useless>

Man, you guys got my hopes up with a topic like useless posts. I thought someone was on to me. Turns out this is a friggin coder's workshop. Well, I got my useless post in here anyway didn't I. YAY me!!

</useless>

Offline Ketamininja

  • VETERAN ANGEL
  • *******
  • Join Date: Jul 2004
  • Posts: 1755
    • View Profile
Useless Posts
« Reply #6 on: May 18, 2005, 04:02:05 am »
Code: [Select]

$posts = 1000000;
echo "Let's see how many useless posts we can make:<br>";
for($i=1;$i<$posts;$i++){echo $i." useless posts so far.<br>Let's go for more!<br><br>";}

pwned.

I'm a total frickin rock star from mars.
C'mon bro, I got tiger blood.

Anonymous

  • Guest
Useless Posts
« Reply #7 on: May 18, 2005, 04:31:11 am »
<------ says it all.

over 1000 completely useless posts

about 100 of which made sense to more than 3 people

and about 10 of which held any sort of significance :)

.... oops ... .shouldn't have said that .... please don't don me with the spam forums award!!! i'm not THAT bad!!! i've just been here for a year!! lol :)

Anonymous

  • Guest
Useless Posts
« Reply #8 on: May 18, 2005, 06:55:32 pm »
Quote from: "Ketamininja"
Code: [Select]

$posts = 1000000;
echo "Let's see how many useless posts we can make:<br>";
for($I=1;$I<$posts;$I++){echo $I." useless posts so far.<br>Let's go for more!<br><br>";}

pwned.

Aw hell naw. PHP?

 

 

* Discord

Calendar

April 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 [22] 23 24 25 26
27 28 29 30

  • - Holidays -
  • holiday Earth Day

* Who's Online

  • Dot Guests: 159
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Social