« first day (600 days earlier)      last day (4574 days later) » 

11:00
Is this a shameless self promotion?
@Cicada If it looks like, smells like and talks like something, it is.
Flagged for great justice
@Cicada Oh, way ahead of you.
@Cicada Move zig!
Validated for great justice.
(Too busy to link to tropes. Google it)
11:06
0
A: Find all single elements in an array

FredOverflowimport Data.Map (fromListWith, toList) count xs = toList (fromListWith (+) [(x, 1) | x <- xs]) outputSinglePair xs = [fst x | x <- count xs, odd (snd x)]

Haskell beats Java :)
May 24 at 11:50, by sehe
@sbi Told ya so. So @RMartinhoFernandes does it compensate for my inability to grasp a broken ranking algorithm, when I know more about room owner's capabilities then the resident dinosaur?
@RMartinhoFernandes Hey, you might want to use std::iterator_traits in that recent answer of yours. That RandomAccessIterator could be a pointer.
Good point.
I always forget that...
sbi
sbi
@RMartinhoFernandes For that reasoning you'd certainly have to pay with a pair of votes, right?
@sehe That confuses me only more. :(
@Cicada Um.
11:10
Is there a language that works purely in continuation-passing style
@sbi You appear to be easily confused. Perhaps it might be because you failed to go back to take context into account. But it isn't very exciting anyways (evident from the fact that I'm spending my energy not-explaining)
sbi
sbi
@KonradRudolph Mhmm. Why not milk him well and then flag the account for it?
The buyer
@RMartinhoFernandes Cows, obviously.
11:11
@Cicada COMEFROM might be close
COMEFROM is not a language.
FWIW, goats, snakes and other critters can be milked.
Jokes, too, but only figuratively
sbi
sbi
@sehe I did actually follow back the reference to see what you were going on about.
@sbi Well. That's hopeless then :) Really, it was nothing (you said something about the robot always explaining something, when in fact I think it was me doing that on occasion)
sbi
sbi
Um, I might be outing me as a dumb wit here, but what is "continuation-passing style"?
11:13
@sbi Ok, I'm explaining everything. The thing @sehe quoted was at the end of a conversation involving this:
It's gross
May 24 at 11:46, by sbi
Oops. I can see the deleted message's history. It's tricky, but it works. I didn't know that.
sbi
sbi
@sehe Ah, now I get it. Mhmm. Was that really you?
@sbi No, I'm a bot
@sbi It the real funky shit with lisps
@sbi It's an intermediate form of code used by some compilers.
11:14
@RMartinhoFernandes That's one area of application
It's uh, a "way" of thinking in which functions never return
Some nutters "like" to write it by themselves, but others also like to eat raw vegetables, so...
They continue to a particular branch of flow
I don't really know how to explain
But basically there is no "return" statement
Ell
Ell
hmmm
@sehe What else is there in the realm of the sane?
11:15
@Cicada What does that win you?
@RMartinhoFernandes Functional language wankery?
@sehe "realm of the sane".
sbi
sbi
May 24 at 11:48, by sbi
@RMartinhoFernandes Yeah, it occurred to me that most likely I had known at some time, and then forgot about it again. I am not a robot, you know.
FWIW, when using the continuation monad in Haskell you don't write CPS.
@awoodland I don't really know. The only thing it does is consider the control flow itself as an object
Which from an abstract standpoint is great
Idk any practical applications except for the await keyword of C# 5
11:17
@sbi The C# 5 compiler uses it to translate code with async/await.
sbi
sbi
@RMartinhoFernandes Yeah, that certainly explains everything to me. Sigh.
Exam in 10 minutes, have a nice afternoon
Wankery is something people might consider as contributing to their sanity.
Just saying
sbi
sbi
@Cicada I think there's no return statement in German. It's not a programming language, though.
@RMartinhoFernandes Thanks. Now it starts to make sense.
> CPS is a style of programming in which there are no “subroutines” per se and no “returns”. Instead, the last thing that the current function does is call the next function, passing the result of the current function to the next function. Since no function ever "returns" or does work after it calls the next function, there’s no need to keep track of where you’ve been.
11:21
45 mins ago, by Neil
In the beginning of t4e interwebz, God said, let there be porn. And it was good.
Then, He got stuck on 4chan indefinitely. Explains the current state of affairs
@sehe s/reddit/4chan/
sbi
sbi
@sehe Tell us more about His affairs, please.
@sbi Shhh
I tend to think of CPS as code where call stack manipulation is the norm and, unlike other situations where e.g. a function might overwrite the return address for a stack frame, the call stack is just like a datastructure, really. You can, in a sense, just say to a function: execute on this stack instead of the current.
That is a 'funny' description, but it seems to cover the basics, AFAIR
He'd have to kill me.
Oh wait, he has arranged for that, anyway.
user784668
lol, "Buying a SO Account" again.
11:34
@ScottW oooooohhh aaaoooh, oooh ooh, ooh ooh
Took me forever to learn what those words actually were
Please don't spam.
user784668
Move the dup'd message to bin anyone?
sbi
sbi
1 message moved to bin
user784668
11:36
lol
sbi
sbi
Moving it to the iPhone/iPad room? Wow. Just. Wow.
@sbi Their FAQ seems to encourage asking questions there, and says to "just ask the questions".
@sbi Well they were responses to a conversation there
I've moved PHP questions from the Haskell room to the PHP room before, and they thanked me.
in bin, 2 mins ago, by user804817
i want quick answer please
in bin, 1 min ago, by ircmaxell
6 messages moved from PHP
lol
He's just going all over the place.
11:39
OM(f)G
user784668
in iPhone / iPad, 24 secs ago, by sree charan
@sehe Thanks for moving here
sbi
sbi
@RMartinhoFernandes Is he? Which are those six messages?
That's mod flag material, really
@sbi Oh, that's the question and the responses it generated. The PHP room owners decided to just nuke the whole thing.
sbi
sbi
@sehe If he did this — which I haven't seen yet — I'd definitely flag for the mods.
11:40
@sehe I flagged the dupe.
Some of the people dont even know the appropriate place, where should they ask there question, Desperated :)
Thanks guys, you are doing great job
@sbi He posted it four times at least.
Five.
Repeatedly spamming your question will not get you a faster answer. Instead, it will drive people away from even looking at it.
No one is getting paid here. You have to rely on people's goodwill.
sbi
sbi
I just flagged a mod to have a look at you, @user804817. No matter how urgent your need is, it's not urgent enough to keep spamming the whole chat with unrelated stuff.
We're pretty vengeful actually
Spamming doesn't get you goodwill credits.
sbi
sbi
11:43
5 messages moved to bin
user784668
@sbi And so did I.
@RMartinhoFernandes Why dont you guys frame FAQ for your room also for the guys like this
May 30 at 1:54, by Xeo
If you are new here, please read the newbie hints and keep the acronym list under your pillow. Thank you.
@sreecharan They're in the newbie hints
I still haven't figured out that architecture issue. The one with the intradependent container.
And the project is due tomorrow. xD
11:45
Oh! cool
@Maxpm What the hell does that mean :)
He's referring to a previous conversation. You guys can't remember anything, can you?
@sehe I want to have a container of objects, some of which have the ability to point to another element of the same container.
This is pissing me off.
@RMartinhoFernandes Well, that much I can infer. Still, the amount of gibberish packed in a single message was... astounding
11:49
And I don't want to do it by index, because then insertions and deletions could corrupt elements.
@Maxpm So, reference_wrapper of weak_ptr to the rescue
@RMartinhoFernandes Mod flag... Edit WHAT!? He did this repeatedly? I'm flagging now
I also don't want to let elements depend on elements from another instance of the container, since that doesn't really make sense in my case.
Oh, it's his own question. Well, maybe I'll let it slide, but if it were my edit (or it wasn't his post), I'd have flagged
And I'm not sure how to handle a request to remove an element that is depended on. Throw an exception? Fail silently? Remove it and corrupt state? Remove it and all its dependents, potentially uprooting the whole structure?
An exception would probably be the least astonishing, right?
@RMartinho is that @Fanael?
user784668
11:52
@RadekdaknokSlupik I only rolled back to @RMartinhoFernandes's version.
@Maxpm Well, if it isn't specified in the assignment, you just decide. Indecisiveness yields less programs than anything else
Right.
Oh wait never mind.
Hey guys I'm just awake. I can't help it.
@sehe @RMartinhoFernandes In iPhone/iPad room he has asked it 12 times :(
user784668
11:55
For fuck's sake.
user784668
-2
Q: Buying a SO Account

user1441982I will pay via PayPal.com, I want an account with 1k+ rep. The more rep, the more I pay. Email me at: [email protected]. Email me and we can work something out. Appreciate it very much. I want to buy one to start good with the community. <!DOCTYPE html> <html> <body> &...

3
@Maxpm A real man would move all the dependents of an element when it is moved.
@sreecharan Ow.
I'll find a better forum for my questions and avoid the expression nazi's here on SO. — freefallr 30 secs ago
lol
the guy has 1700 rep and is bitching about his post being edited for M$ crappery.
11:58
@rubenvb Have fun at experts exchange
user784668
> This question was voluntarily removed by its author.
I would sell him my account and hack it back.
user784668
lol

« first day (600 days earlier)      last day (4574 days later) »