« first day (860 days earlier)      last day (4081 days later) » 

9:00 PM
72
Q: Why does Neil Butterworth say "please delete me"?

Prasoon SauravWhat happened to Neil Butterworth's account? His about section says "please delete me". I have never seen him saying "please". By the way what happened to his reputation score?

 
I can not use regular pointers to a object, when I use shared_ptr to the same object. — Thorsten 1 min ago
 
@sehe Last time I saw him, he was an obnoxious prick.
 
user142019
@sehe s/)/(/
 
I don't understand where some people get these ideas...
 
user142019
@bamboon lol
 
9:00 PM
@EtiennedeMartel He quit for a reason. He didn't like the system. Yet, he had a lot of value to add. Doesn't that go for many of "us"? I could list a few names...
@Zoidberg :se nomagic :)
 
@sehe Maybe I'm confusing him for someone else, then.
 
Xeo
@EtiennedeMartel No
 
@MooingDuck Common sense. They (correctly) understand that a part of the safety of shared pointers is lost (the lifetime management) when you keep raw pointers. Perhaps they are juniors and their senior said: don't mix raw pointers and smart pointers. It's not that surprising
@EtiennedeMartel No
 
Xeo
Being an obnoxious prick is orthogonal to providing good content.
 
9:02 PM
@EtiennedeMartel Well, perhaps. You could be confusing "him, now" with "him, then". Which is an inaccurate approximation :)
@R.MartinhoFernandes You need a better quotations book. The other one is just as bland... "When I was young, I was told: 'You'll see, when you're fifty.' I am fifty and I haven't seen a thing". Meh
 
I have a serious fascination with serial killers, rapists, sadists, things of that sort. I have no shame in it. I find death beautiful.
Ah, tumblr.
 
user142019
Tumblr is funny.
 
@EtiennedeMartel More like, 4chan
 
user142019
Full of ~~art~~.
 
@sehe That Twitter account allegedly posts stuff from Tumblr.
 
9:06 PM
I do understand. However the topic reminds me more of other sites
 
What is strikethrough again?
 
user142019
---ThePhD sucks at Chatdown---
 
Triple Dashes ?
... Why won't it work in my SO post?
 
Also, thanks that SO Question of the Day guy:
0
Q: Is their a way to have the base class use the verbibols created in the parent class?

Ted pottelI have a base class to handle images to be dragged on the screen. It veribols for the name, and x,y position of each image. Then it has methods to scale them and do other operations. I would like to have 2 of these classes, but the imegs name and x,y postion would be diffrent. I first tried t...

 
user142019
 
9:07 PM
That question still hasn't been fixed to not use that tag.
 
user142019
Or something like that whatever.
 
That's not working either. D:
 
@Zoidberg wtf
 
@Zoidberg It's not evne on the list, lol
 
user142019
Use <strike>foo</strike>.
 
9:08 PM
Well, fuck that then.
 
Xeo
@EtiennedeMartel Wtf is a verbibol?!
 
user142019
 
user142019
^ That first result. :|
 
Xeo
Omg, does he mean variable?!
 
user142019
xD
 
9:11 PM
I came to the same conclusion.
 
Look at me, answering questions!
0
A: Adding a callback to a variadic template class - impossible?

ThePhDBefore I get into the answer, some things you should know: The Microsoft VC++ November 2012 CTP does not play nice with Variadics and Function Pointers / Function Signatures. In almost all cases, it is necessary to expand them manually by hand. It sucks majorly, but you'll have to live with it ...

I'm so proud of myself~
 
user142019
Ask on Stack Overflow: "What is a verbibol?"
 
@Xeo I think it's a variable.
 
Xeo
@ThePhD Oooh, something to downvote!
 
q_q
Why u so meen 2 me? ;~;
 
user142019
9:12 PM
@Xeo I read "download".
 
user142019
Oh wait. :L
 
Oh, wait, that verbibol tag? @Cicada added it. Back in november.
 
Xeo
Why the fuck did I just write "download"... must be my concurrent brain.
I have a race-condition somewhere.
 
How come i keep getting logged off on one of my boxes but not the other? Ever since that outage?
 
user142019
Your brain is written in Erlang.
 
Xeo
9:13 PM
@EtiennedeMartel Troll Mode Ex.
 
user142019
I love the way Erlang programs are written.
 
user142019
Very easy to understand.
 
@Xeo Btw, how come you ran out of the conversation?
 
Ell
Hi guys
 
Xeo
@LucDanton Brain-scheduler put it to sleep. Brb, resuming.
 
9:14 PM
I want a Fuckitol tag :) (relevant: youtube.com/watch?v=XBb5v1sJhuU)
 
Ah well, I suppose I shouldn't feel so bad about pinging you 'plz respond'-type things then.
 
Xeo
Nope, please do.
I'm quite easily distracted, I have to admit.
 
Huh, my answer hasn't been downvoted yet.
 
user142019
 
Aha, it's good enough to stand on its own!
 
user142019
9:16 PM
Gimme.
 
Xeo
@Zoidberg I once tried their fried-chicken-salad. It was a fucking scam. :| From the outside, the box size looked decent, but the bottom was actually raised by like 5cm. :|
 
@LightnessRacesinOrbit u so beauty :P
 
Ell
@Zoidberg I had one yesterday :3
 
user142019
@Xeo xD
 
@EtiennedeMartel is there a.. what?
 
user142019
9:17 PM
@Ell Gimme ur stomach.
 
Ell
actually, I had £7 pounds worth xD
 
@BartekBanachewicz thanks :D you ugly fucker
 
Ell
it was goooood but expensive
 
@LightnessRacesinOrbit am I ugly? :<
 
Xeo
@LucDanton So, to get back on track: I still don't get the problem in the C++ version, I'm afraid.
 
user142019
9:18 PM
I should go to a restaurant and tell them I want eggs.
 
@BartekBanachewicz only on the inside
 
user142019
They'd ask how I'd want my eggs.
 
user142019
And I'd say "fertilized."
 
@LightnessRacesinOrbit now I don't know if it was a compliment or not
 
@Zoidberg And you'd look like a retard...
@BartekBanachewicz I'm kidding
 
9:18 PM
@LightnessRacesinOrbit Appearances are sometimes quite accurate
 
@Xeo _b is a valid C++ expression as it is the name of a variable, provided by Phoenix. _b is not a valid Phoenix fragment, because it's unbound. It should typically be used as e.g. let(_b = 4)[ 8 + _b ].
 
@LightnessRacesinOrbit A variable.
 
@EtiennedeMartel hahaha. verbibol.
 
Xeo
@LucDanton Ah, so it complains at runtime or... ?
 
LOL @ @Cicada's old edit
she can have a tomalak point for that
(inb4 "no i dont want it" TOUGH)
 
9:20 PM
@Xeo Compile-time, but cryptic, possibly long, and a pain to implement yourself. The question is not about using Phoenix, it's about having that feature for yourself.
 
@LightnessRacesinOrbit she's not there :((
:((
 
Xeo
@LucDanton Huh, I wonder how it can complain about that at compile time. How should it know that you didn't let it be first?
 
Moar types!
 
Xeo
Ooooh, let(...) returns a type, and its operator[] has some checking... yeah, I see now.
 
I've briefly thought how I'd implement that myself and I'd let the return type of let store an environment. That would suck so bad.
 
9:22 PM
Fuck this. I keep dying on Torgue's arena.
 
Xeo
Whatcha playin?
 
@Xeo torgue's arena, obviously
i want to play with you
what can we play alltogether?
 
@Xeo Borderlands 2.
 
Xeo
I can't play with 64kbit down and who knows how little up.
 
I'm holding up for a sale. It's not that I can't afford the full price, it's that I can't afford the time.
 
9:23 PM
I need to respec my character.
2
 
user142019
Then do so.
 
so we not playing together.
 
said the joker to the thief
 
whatever
 
user142019
9:24 PM
wow
 
@LightnessRacesinOrbit All Along The Watchtowers - BSG Season3 OST?
 
Is this legal: typedef void type; <---------- ?
 
Xeo
Sure
Know what else is legal? Casting to void. :3
 
@Borgleader well, sure. that and the INCREDIBLY FAMOUS two actual songs that preceded nuBSG by decades
 
@LightnessRacesinOrbit Which I did not listen to because I probably wasn't born :P
 
9:27 PM
It's just for my function_traits class, really.
 
@Borgleader You've never listened to any music created before you were born?
That's .. sad.
 
Why was that starred?
 
Yeah, but not all of it.
Hell not most of it
 
Xeo
@R.MartinhoFernandes I have no idea.
 
@R.MartinhoFernandes I thought it was funny considering you're a robot. Your character could be you :P
 
9:28 PM
Out of respec.
 
Xeo
"Respec my authorithy!"
 
@R.MartinhoFernandes It was funny. I feel that many people in this lounge need to "respec their character".
see, it's a pun on "character".. sigh
 
WOO!
ANSWER ACCEPTED!
I feel so good now~
 
Xeo
Let's nuke it.
 
@Borgleader Oh.
 
9:32 PM
Time to downvote!
 
I bet this is how Cat feels with millions of answers, except times one billion~
 
user142019
 
user142019
Great album.
 
Ell
I'm playing MvM <3
 
Hmm, when I sort by active, I'm not certain why it lets us jump to the last page.
1
Q: Mixed C++/CLI TypeLoadException Internal limitation: too many fields

Ali ParrOn a quest to migrate some new UI into Managed/C# land, I have recently turned on Common Language Runtime Support (/clr) on a large legacy project, which uses MFC in a Shared DLL and relies on about a dozen other projects within our overall solution. This project is the core of our application, a...

^ that btw for the tag
 
user142019
9:34 PM
@Ell wuts dat
 
Xeo
I should stop playing around with this knife. I'm eventually going to cut myself accidentally.
 
Ell
@Zoidberg team fortress 2, mann versus machine
 
user142019
oh xD
 
user142019
@Xeo If you're emo and you know it, cut yourself!
 
@Xeo Especially if you're typing at the same time.....
 
Xeo
9:37 PM
WHY CAN'T I TAKE MY HANDS OFF THIS KNIFE?! I have a feeling I want to cut something with it.
 
Cut into your keyboard so that we don't have to listen to you go on about it
2
 
I have a nice library idea
 
@BartekBanachewicz Give it to Zoidberg, so that it never gets fully implemented.
 
Xeo
@R.MartinhoFernandes Wrong layout? :)
 
9:40 PM
It would be called gl-basicfonts, and consist of one header with fonts hardcoded as char arrays
 
@BartekBanachewicz A building with lots of book-filled shelves?
 
const char* L  = {
"#...."
"#...."
"#...."
"#####" };

^ that's L
 
user142019
That was a bunch of preprocessor directives.
 
user142019
Pro-tip: R"( and )";.
 
@Zoidberg hm?
But continuing, the library would be for OGL devs who just need a font, whatever
 
user142019
9:42 PM
std::string L(R"(
#....
#....
#....
#####)");
 
lol
okey, forgot about that
 
@Zoidberg Solving which problem?
 
still, what'cha think?
Makes sense or binary hardcoding is better?
 
user142019
@LightnessRacesinOrbit less ugly.
 
Xeo
@LucDanton Btw, what does the original example in the do-notation question desugarise into? I thought do-notation was just SomeMonad >>= (\x -> ...) >>= (\y -> ...) >>= ..., but how does that work if you have, say a <- stuffA, b <- stuffB?
 
9:43 PM
@BartekBanachewicz Not bad. Probably been done.
@Zoidberg No, not really.
 
user142019
@BartekBanachewicz I'd load from a file instead.
 
user142019
@LightnessRacesinOrbit Yes, really.
 
@Zoidberg NOT loading from file is the point -.-
 
@Zoidberg No, not really. I'm older than you, so you're wrong and I'm right.
 
user142019
@BartekBanachewicz why.
 
9:43 PM
@Xeo must end with a non-bind thing.
 
If you can load from file, you can use freetype or some other shit
1 min ago, by Bartek Banachewicz
But continuing, the library would be for OGL devs who just need a font, whatever
 
user142019
@LightnessRacesinOrbit that statement shows how young you are mentally.
 
without any ado
 
@Zoidberg You are 0% correct.
 
user142019
Indeed, you are 0% correct.
 
@Xeo A lambda expression inherits the outer scope, so you get access to the variable anwhere further down. Add some parens around binds if 'further down' isn't clear.
 
"no you are"? really? that statement shows how young you are mentally, emotionally, physically and, yes, sexually
 
@Zoidberg Code for using it is more ugly (think about the \n crap you just added)
 
like the travelling wilberries.. of pain.
 
@R.MartinhoFernandes ah, it can't have that '\n' s inside, obviously
 
9:45 PM
@Xeo It's SomeMonad >>= (\x -> ... >>= (\y -> ... >>= ...)) (notice paren positions)
 
Though I could strip them
 
user142019
Oh right.
 
user142019
But why don't you want to read from file.
 
user142019
Hardcoding is terrible.
 
it has a specialized use case sigh
 
Xeo
9:46 PM
@LucDanton Uhm... Monad >>= ((\x -> ...) >>= ((\y -> ...) >>= ...))?
 
sometimes you don't want to read from file
sometimes you just want to display some glyphs
 
Xeo
@R.MartinhoFernandes Wait, is the bind part of the lamba, or is the lambda passed to the bind?
 
and it's as easy as calling include
and fucking_fonts::draw("shit");
 
Xeo
Wait, I guess it doesn't matter in the end.
 
@Xeo It does.
If the bind is not inside the lambda, x is not in scope after that.
 
Xeo
9:47 PM
Because of scoping?
Ah, I see.
 
Right. x is scoped by the lambda.
 
user142019
(m1 >>=
    (\x -> m2 >>=
        (\y -> m3 >>=
            (\z -> return $ x + y + z))))
 
This discussion substantiates the usual argument to not introduce syntax sugar first I guess.
 
@LightnessRacesinOrbit You are arguing about taste and want to use it as an indication of your maturity? Hmmm
 
The parentheses are optional, btw.
 
9:48 PM
@sehe he is (mentally) 8yo, just like me
 
user142019
@R.MartinhoFernandes yes but I think this makes it more clear. :P
 
I'm just mental, no age restrictions :)
 
Xeo
Okay, I think I get it, thanks.
 
@Zoidberg Looks... a bit like perl (I know it's haskell, but still)
 
Xeo
For rechecking, can you give me some do-block for manual desugarisation?
 
user142019
9:49 PM
@sehe Perlisp!
 
user142019
@Xeo sure:
 
@Zoidberg why not zoidlang?
 
user142019
do
    x <- m1
    y <- m2
    z <- m3
    return $ x + y + z
 
hmm
 
9:50 PM
Did I mention that I:Scintilla rocks?
 
Xeo
@Zoidberg ...
 
LLVM insists that the type of std::cout is not the same as the type of ... std::cout.
 
Guise
... Wait, nevermind.
 
Xeo
Some error on your part, probably.
 
@ThePhD lol
 
user142019
9:50 PM
@Xeo ohh I misunderstood the question. xD
 
Xeo
@R.MartinhoFernandes He already gave the answer to that one. :P
 
@Xeo No, rly? :P
 
Xeo
Btw, how does return know which monad to create?
 
9:52 PM
Type inference.
 
user142019
fdg
 
oh my, coming up to my three year aniversey on SO
 
@Xeo In Zoidberg's example, the types of m1, m2, and m3 are enough to infer it.
 
is there something like boost::non_instantiable?
 
user142019
auth username password = do
    dbHandle <- ask
    user <- liftIO $ getUserFromDB dbHandle username
    if authenticateUser username password
        then return $ Just user
        else return Nothing
 
9:55 PM
@Xeo In general though it doesn't have to know anything. The result is polymorphic.
 
user142019
@Xeo ^ what about this one?
 
Xeo
@R.MartinhoFernandes Eh, I can imagine do-notation cheating for that, but how does that work out for the desugarised version? I mean, the function passed to bind can return any kind of new monad, right?
 
Nope.
 
user142019
No.
 
@Xeo No, it doesn't cheat. The desugarised version is enough.
 
Xeo
9:55 PM
Oh. Nvm then.
 
user142019
That would make it possible to perform I/O anywhere.
 
@Xeo It can't because bind never leaves the same monad.
 
Xeo
Then it makes sense that it's inferable.
 
user142019
(>>=) :: Monad m => m a -> (a -> m b) -> m b
 
user142019
See? Must be the same monad (m).
 
9:56 PM
Otherwise the type would need to be e.g. (Monad m, Monad n) => m a -> (a -> n b) -> n b
 
Xeo
room topic changed to Lounge<C++>: Lounge<Haskell> [c++] [c++11] [c++-faq] [no-helpdesk]
 
user142019
Fuck the example I gave is wrong. Change username to user in the if condition. :P
 
¬_¬ stupid dishes needing to be washed. Being an adult really sucks some times
 
Being an adult is not about washing dishes. Exhibit A: dishwashers are not adults.
 
user142019
 
user142019
9:59 PM
Problem solved.
 
i have to wash mine too ;/
 
Xeo
@Zoidberg Can I just use if in the lambda?
 

« first day (860 days earlier)      last day (4081 days later) »