Forum Home Forum Home > Topics not related to music > Just for Fun
  New Posts New Posts RSS Feed - SR37: I sorry
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedSR37: I sorry

 Post Reply Post Reply Page  <1 378379380381382 496>
Author
Message
NecronCommander View Drop Down
Special Collaborator
Special Collaborator
Avatar
Prog Metal Team

Joined: September 17 2009
Location: Madison, WI
Status: Offline
Points: 16122
Direct Link To This Post Posted: June 20 2011 at 00:40
thaknfe oyju
Back to Top
The Truth View Drop Down
Collaborator
Collaborator
Avatar
Honorary Collaborator

Joined: April 19 2009
Location: Kansas
Status: Offline
Points: 21795
Direct Link To This Post Posted: June 20 2011 at 00:41
Back to Top
Henry Plainview View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: May 26 2008
Location: Declined
Status: Offline
Points: 16715
Direct Link To This Post Posted: June 20 2011 at 00:44
Interestingly, the version with spaces was half a megabyte smaller than the version without. How strange. 

I wasted far too long removing the punctuation and capitalization and trying to get that to post into PA. I would like to make a thread in which I post every word of that story actually word wrapped so you have to scroll, in alphabetical order. But I can't find anything to sort all the words in a document alphabetically (because it's pointless and stupid), so I would have to write it myself in C++, which would waste even more time. 
if you own a sodastream i hate you
Back to Top
The Truth View Drop Down
Collaborator
Collaborator
Avatar
Honorary Collaborator

Joined: April 19 2009
Location: Kansas
Status: Offline
Points: 21795
Direct Link To This Post Posted: June 20 2011 at 00:56

Back to Top
TheGazzardian View Drop Down
Prog Reviewer
Prog Reviewer
Avatar

Joined: August 11 2009
Location: Canada
Status: Offline
Points: 8815
Direct Link To This Post Posted: June 20 2011 at 01:00
Originally posted by Henry Plainview Henry Plainview wrote:

Interestingly, the version with spaces was half a megabyte smaller than the version without. How strange. 

I wasted far too long removing the punctuation and capitalization and trying to get that to post into PA. I would like to make a thread in which I post every word of that story actually word wrapped so you have to scroll, in alphabetical order. But I can't find anything to sort all the words in a document alphabetically (because it's pointless and stupid), so I would have to write it myself in C++, which would waste even more time. 

You could do it in an hour. LOL

EDIT: Actually, it'd probably take only like 5 minutes in Objective C. And be less than 10 lines. Now I am tempted to try. Geek


Edited by TheGazzardian - June 20 2011 at 01:01
Back to Top
The Truth View Drop Down
Collaborator
Collaborator
Avatar
Honorary Collaborator

Joined: April 19 2009
Location: Kansas
Status: Offline
Points: 21795
Direct Link To This Post Posted: June 20 2011 at 01:01
I will continue to post Simpsons videos maybe the rest of the night:
 
Back to Top
Henry Plainview View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: May 26 2008
Location: Declined
Status: Offline
Points: 16715
Direct Link To This Post Posted: June 20 2011 at 01:02
Not even close, Tanner, and mirrored Youtube videos weird me out. 
Originally posted by TheGazzardian TheGazzardian wrote:

Originally posted by Henry Plainview Henry Plainview wrote:

Interestingly, the version with spaces was half a megabyte smaller than the version without. How strange. 

I wasted far too long removing the punctuation and capitalization and trying to get that to post into PA. I would like to make a thread in which I post every word of that story actually word wrapped so you have to scroll, in alphabetical order. But I can't find anything to sort all the words in a document alphabetically (because it's pointless and stupid), so I would have to write it myself in C++, which would waste even more time. 
 
You could do it in an hour. LOL

1) I'm not very good at C++ 2) It probably would only take an hour or two, but that is another hour or two wasted.
if you own a sodastream i hate you
Back to Top
TheGazzardian View Drop Down
Prog Reviewer
Prog Reviewer
Avatar

Joined: August 11 2009
Location: Canada
Status: Offline
Points: 8815
Direct Link To This Post Posted: June 20 2011 at 01:02
Originally posted by The Truth The Truth wrote:

I will continue to post Simpsons videos maybe the rest of the night:
 

That was awesome.
Back to Top
The Truth View Drop Down
Collaborator
Collaborator
Avatar
Honorary Collaborator

Joined: April 19 2009
Location: Kansas
Status: Offline
Points: 21795
Direct Link To This Post Posted: June 20 2011 at 01:04

Back to Top
The Truth View Drop Down
Collaborator
Collaborator
Avatar
Honorary Collaborator

Joined: April 19 2009
Location: Kansas
Status: Offline
Points: 21795
Direct Link To This Post Posted: June 20 2011 at 01:12
Back to Top
Henry Plainview View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: May 26 2008
Location: Declined
Status: Offline
Points: 16715
Direct Link To This Post Posted: June 20 2011 at 01:12
I can spam too Tanner.

Oops. 
if you own a sodastream i hate you
Back to Top
TheGazzardian View Drop Down
Prog Reviewer
Prog Reviewer
Avatar

Joined: August 11 2009
Location: Canada
Status: Offline
Points: 8815
Direct Link To This Post Posted: June 20 2011 at 01:21
Originally posted by TheGazzardian TheGazzardian wrote:

Originally posted by Henry Plainview Henry Plainview wrote:

Interestingly, the version with spaces was half a megabyte smaller than the version without. How strange. 

I wasted far too long removing the punctuation and capitalization and trying to get that to post into PA. I would like to make a thread in which I post every word of that story actually word wrapped so you have to scroll, in alphabetical order. But I can't find anything to sort all the words in a document alphabetically (because it's pointless and stupid), so I would have to write it myself in C++, which would waste even more time. 

You could do it in an hour. LOL

EDIT: Actually, it'd probably take only like 5 minutes in Objective C. And be less than 10 lines. Now I am tempted to try. Geek

Okay 20 lines of code.

 NSString *str = [textView.text stringByReplacingOccurrencesOfString:@"\n" withString:@" "];
    str = [str lowercaseString];
    NSArray *grammar = [NSArray arrayWithObjects:@".", @",", @":", @";", @"/", @"?", @"!", @"(", @")", @"-", nil];
    
    for(NSString *grammarStr in grammar)
    {
        str = [str stringByReplacingOccurrencesOfString:grammarStr withString:@""];
    }
    
    NSArray *arr = [str componentsSeparatedByString:@" "];
    arr = [arr sortedArrayUsingSelector:@selector(compare:)];
    
    NSMutableString *result = [NSMutableString string];
    
    for(NSString *oldString in arr)
    {
        [result appendString:oldString];
    }
    
    NSLog(@"Result: %@", result);

Henry should I PM you the story? XD



Edited by TheGazzardian - June 20 2011 at 01:23
Back to Top
Henry Plainview View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: May 26 2008
Location: Declined
Status: Offline
Points: 16715
Direct Link To This Post Posted: June 20 2011 at 01:32
I don't have Obj C, just C++ :( 

I'm surprised you actually did it. 
 
if you own a sodastream i hate you
Back to Top
TheGazzardian View Drop Down
Prog Reviewer
Prog Reviewer
Avatar

Joined: August 11 2009
Location: Canada
Status: Offline
Points: 8815
Direct Link To This Post Posted: June 20 2011 at 01:33
Originally posted by Henry Plainview Henry Plainview wrote:

I don't have Obj C, just C++ :( 

I'm surprised you actually did it. 
 

Henry, I am bored and don't know why I'm not in bed but don't even feel sleepy. LOL

(It probably would have been easier in C# but I don't have that installed right now and haven't used it in a couple of years so it probably would have taken me longer anyways XD)

Anyways your silly story is in chapters, not one giant text block, and I don't feel like getting it all. So I'll PM you the first chapter just for fun. 
Back to Top
TheGazzardian View Drop Down
Prog Reviewer
Prog Reviewer
Avatar

Joined: August 11 2009
Location: Canada
Status: Offline
Points: 8815
Direct Link To This Post Posted: June 20 2011 at 01:56
Well Shred I am getting tired so I think I shall retire now. 
Back to Top
irrelevant View Drop Down
Collaborator
Collaborator
Avatar
Honorary Collaborator

Joined: March 07 2010
Location: Australia
Status: Offline
Points: 13382
Direct Link To This Post Posted: June 20 2011 at 02:13
It's windy. 
Back to Top
irrelevant View Drop Down
Collaborator
Collaborator
Avatar
Honorary Collaborator

Joined: March 07 2010
Location: Australia
Status: Offline
Points: 13382
Direct Link To This Post Posted: June 20 2011 at 02:16
Originally posted by Henry Plainview Henry Plainview wrote:



I can't believe I never heard this before. It's like Behold the Arctopus composed a Genesis soundtrack while drunk. 

Awesome. LOL
 


Back to Top
Henry Plainview View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: May 26 2008
Location: Declined
Status: Offline
Points: 16715
Direct Link To This Post Posted: June 20 2011 at 05:18
*facepalm*
if you own a sodastream i hate you
Back to Top
colorofmoney91 View Drop Down
Prog Reviewer
Prog Reviewer


Joined: March 16 2008
Location: Biosphere
Status: Offline
Points: 22774
Direct Link To This Post Posted: June 20 2011 at 05:22
I'm assuming that everyone is gone now.

If not, then good morning.
Back to Top
Icarium View Drop Down
Forum Senior Member
Forum Senior Member
Avatar
VIP Member

Joined: March 21 2008
Location: Tigerstaden
Status: Offline
Points: 34083
Direct Link To This Post Posted: June 20 2011 at 05:28
http://upload.wikimedia.org/wikipedia/en/8/83/Honey_Smacks.jpg
Back to Top
 Post Reply Post Reply Page  <1 378379380381382 496>

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.525 seconds.
Donate monthly and keep PA fast-loading and ad-free forever.