Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/'s -6.00002 class - Sleepsort is O(1)

Name: Anonymous 2014-12-06 15:17

Hello my students, today we will talk about Sleepsort.

Consider N lolies!, each one of them holding a paper with a integer on it and all of them standing in a line.
They all look at the clock and at the second that is equal to the integer written on their paper they get into a queue.
When the process finishes you have a ordered, ascending queue of lolies! in O(1).

So that's all, come back to the next lesson.

Name: Anonymous 2014-12-06 15:59

    ∧_∧ ∩ / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
   ( ´∀`)/ < What's the complexity of the get-lolis procedure?
 _ / /   /   \____________
\⊂ノ ̄ ̄ ̄ ̄\
 ||\        \
 ||\|| ̄ ̄ ̄ ̄ ̄||
    .|| ̄ ̄ ̄ ̄ ̄||

Name: Anonymous 2014-12-06 16:06

Could one think of time as a O(n) procedure?
But even then O(n) worst case and O(1) memory seems very good.

Name: Anonymous 2014-12-06 16:52

Name: Anonymous 2014-12-06 21:12

>>4
FWIW, as pointed out here, this is not a reliable algorithm for sorting data.
The is false. The problem was in the implementation, not in the algorithm.

Time complexity ignores issues on real hardware such as cache sizes, memory limits and in this case the limited number of processes and the operation of the scheduler
Who said anything about computers?

Name: Anonymous 2014-12-06 21:19

Lolisort is a neat idea, but very impractical. Were would you get enough lolies to sort even a medium dataset?

It is very cute though.

Name: Anonymous 2014-12-07 3:14

time complexity is shiet, and completely dependent of the platform, very disgusting and only useful for PHP developers

Name: Anonymous 2014-12-07 3:52

>>4
So I followed that SO to reddit, to read the stupid pedantry they post out of misunderstanding and for karma, and I found https://www.reddit.com/r/programming/comments/i0dcx/4chan_sleep_sort/c1zuowh. They seem to think that astrange is MrVacBob-sama-kun-dono. What?

MrVacBob-sama-kun-chan-baka is an active redditor? The whole time I worshipped him and masturbated to him? Is this really true? Why was I not informed? Are the reddits deceiving me?

Name: Anonymous 2014-12-07 3:55

>>8
Really doesn't surprise me.

Name: Anonymous 2014-12-07 4:06

>>8
terrible!

Name: Anonymous 2014-12-07 4:06

Check em.

Name: Not MrVacBob-daitouryou 2014-12-07 4:37

>>8
Looks like it's just a stray textboard poster calling for him because the ``Webserver needs some work''

Name: Anonymous 2014-12-07 5:08

Name: Anonymous 2014-12-07 5:18

Wow Ruud is such a fuckhead

Name: Anonymous 2014-12-07 5:35

>>13
Note. This user has no other contributions besides this "vote". --Lambiam 15:16, 19 June 2011 (UTC)

Name: Anonymous 2014-12-07 5:52

This may be the only mention of wolrd4ch on wikipedia

https://en.wikipedia.org/wiki/4chan
4chan originally hosted discussion boards on a separate domain called "world4ch", but these were later moved to the dis.4chan.org subdomain.[14]

The site has had at least one employee, a programmer whom Poole met via online Tetris.
This must be MrVacBob-sama

Name: Anonymous 2014-12-07 14:10

>>16
This may be the only mention of wolrd4ch on wikipedia
Why didn't you research before saying that?! Fucking faggot.
http://en.wikipedia.org/wiki/Textboard

Name: Anonymous 2014-12-07 14:47

Name: Anonymous 2014-12-07 14:59

>>18
Don't call that bastard a -sama, he can't even research simple stuff.

Name: Anonymous 2014-12-07 15:09

>>8
While spying on astrange's user profile, I found he posts on TumblrInAction, science, anime and programming. I wouldn't be surprised if he posts here often.

Why is it so hard for people not to go on Reddit? It's like you fuckers use textboards as your blow-up sex dolls and go to faster shitholes when it's not enough.

Name: Anonymous 2014-12-07 16:18

>>19
Be nice, you asshole.

Name: Anonymous 2014-12-07 21:19

>>17
dis.4chan.org - formerly "world4ch", the textboard section of 4chan
So there are precisely two mentions of world4ch on wikipedia. If I said that was the only mention of world4ch, I would have been half wrong. But I didn't. I said it may be. I did not say a false statement. You can decapitate both your heads and fuck your exposed windpipe now.

Name: Anonymous 2014-12-07 21:24

Name: Anonymous 2014-12-07 21:29

>>22
Anonymous liked this comment.
Anonymous checked these dubs.

Name: Anonymous 2014-12-07 21:34

>>24
One day, I will find a way to change like to lick on facebook.

Name: Anonymous 2014-12-07 21:52

I was browsing through old 2007 world4ch and came across an amazingly prophetic comment:

This world4ch is worse than the previous world4ch but better than the next.

Name: Anonymous 2014-12-08 3:04

>>26
Is this from The Matrix 2?

Name: Anonymous 2014-12-08 3:31

>>22
There's no such things as "half wrong"; you are either wrong or right. Stop bullshiting, faggot!

Name: Anonymous 2014-12-08 3:42

>>28
A la contrair, my penis can be in your anus, or out of your anus. It can be 50% in your anus, or [math]\frac{\pi}{\pi + 1}[/math] in your anus. The statement, ``my penis is in yoar anus'' has varying degrees of truth, depending on how buried it is in the current moment.

Name: Anonymous 2014-12-08 4:02

>>29
What the hell?!
I'm not a girl, stop talking about penis in anus.

Name: Anonymous 2014-12-08 4:36

>>29
RedCream-kun? Is that you?

Name: Anonymous 2014-12-08 5:24

>>31
FACE THE BATTLEANUS

Noa.

Name: Anonymous 2014-12-08 5:39

>>31
Redcream would have said yoar, not your.

Name: Anonymous 2014-12-08 5:53

>>33
I quoat:
``my penis is in yoar anus''

That's not the only thing that stinks of the cream. The bbcode failure, the french, the math, the ridiculous example. I smell a Macedonian.

Name: Anonymous 2014-12-08 6:02

>>33
Nice dubs!

Name: Anonymous 2014-12-08 6:05

>>34
I quoat too:
my penis can be in your anus, or out of your anus
See the your? Redcream doesn't do such mistakes.

Name: Anonymous 2014-12-08 6:21

>>36
RedCream isn't even a real person.

Name: Anonymous 2014-12-08 7:58

>>37
That's what they say about Rika, but she still visits me in my dreams every couple nights.

Name: Anonymous 2014-12-08 8:13

>>38
I would not like RedCream-kun-sama to visit me in my sleep.

Name: Anonymous 2014-12-08 10:12

>>39
I was wandering through a valley, and came upon a grassy hill. The wind was blowing strong. Suddenly the sun set within seconds and all that was left was moon light. The grey landscape faded to black and I was in a void. Two eyes opened before me and within my mind reverberated FACE THE BATTLEANUS.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List