« first day (942 days earlier)      last day (3991 days later) » 

Xeo
12:00 PM
I don't like the "rl" you get at the end when pronouncing it :/ But it's not hard, I think.
 
It was a German speaker that said so, but he refused to try it.
 
Xeo
OTOH, I may well be pronouncing it wrong
 
ah I see
Ok, tonight on Mumble
 
@R.MartinhoFernandes I regularly practise that lol.
As long as I remember to voice the hiatus I'm good I think.
 
What hiatus?
 
12:03 PM
Between ein and Eichhoernchen
 
When I forget it it trips me up.
Wrong language?
 
Yes
 
I said "squirrel", not "Eichhörnchen".
 
Xeo
lol
 
12:04 PM
Too tired
 
I suppose Eichhörnchen is harder for non-German speakers.
 
Also I don't practice saying 'a squirrel', that just sounds dumb.
 
Mandelhörnchen > Eichhörnchen
 
Xeo
haha
 
12:05 PM
@LucDanton lol
 
Xeo
I'd like me some Mandelhörnchen right now. :(
 
@FredOverflow You're nuts.
 
@LucDanton Wait, I think almonds are not nuts.
 
12:06 PM
Squirrels are tasty.
 
@R.MartinhoFernandes o_0
 
Meh, Chris Hadfield is back on Earth :( No more awesome pics from space.
 
I'm going to Belgium next weekend, should I drive to the airport and leave my car there for 4 days or should I take a train?
 
12:08 PM
@TonyTheLion why not both?
 
Wait, wut?
 
@TonyTheLion How much do you pay for the parking?
@TonyTheLion Drive the car to the train station and leave it there for 4 days, and then take a train.
 
@R.MartinhoFernandes Parking for 4 days will be about £35 and all train costs will ad up to +£40
 
Xeo
lol
Don't forget fuel costs
 
@R.MartinhoFernandes I have considered that, but I deem that somewhat unsafe
@Xeo 28 miles one way, donno how much fuel that is :/
 
12:09 PM
and don't forget that now you can drive, taking the train would make you a fag :P
 
Xeo
...
 
Not necessarily in the order I gave, i.e., you are allowed to take the train before the 4 days are over.
 
this is his code, and his question was why the file all contains @@@@....
 
@Tiina Ask questions on SO.
 
@Tiina no, read the rules
 
12:10 PM
@R.MartinhoFernandes you're not helping.
 
@Tiina what code? Can't see any. Maybe the newb lazor cannon got it.
 
typedef struct ... stopped reading ... we don't do C.
 
OK
oh yea.. right
 
@thecoshman lol
 
@R.MartinhoFernandes what about "typedef... stopped reading, we don't do MSVS"? :)
 
12:11 PM
using foo = bar;
 
@BartekBanachewicz I remember when you used to like VS.
 
never ever will I automatically wish to bah a hot cosplay girl SFW
 
Now you bash it way more than I do.
 
Have any of you guys seen the pcmatic ads?
 
@R.MartinhoFernandes leave him be, he's just trying to fit in with the cat
 
12:12 PM
@thecoshman haha
Where is the Cat?
 
@thecoshman "to bah" is a verb?
 
I mean did he finally resign on all things programming?!
 
@R.MartinhoFernandes Maybe because I've started to realize that I write much better code than a few months ago, and I don't want to be limited by the shitty compiler? Also, I tried to open up more to new tools and technologies, like QTCreator.
 
@R.MartinhoFernandes s/bah/bash/?
@TonyTheLion What makes you say that?
 
@FredOverflow Erm, the fact that he constantly complains about how much he hates programming
and how he's so tired of it, blah blah
 
12:13 PM
@TonyTheLion There's nothing else he can do.
 
I still use VS, of course, but I am not bonded by it anymore; the time my code compiled under g++, I really stopped caring that much.
 
@TonyTheLion I didn't realize.
 
@R.MartinhoFernandes He can purrr and meow :P
Maybe he should start a Sushi restaurant
seeing how much he likes Sushi
 
@R.MartinhoFernandes s/bah/bang/ crap damn it
@TonyTheLion he threw in that towel a while ago I thought
 
@thecoshman Ah. I got the general idea, but I was wondering if this was some form of slang.
 
12:15 PM
clang
 
@TonyTheLion well, sushi is fuckin great
 
@thecoshman oh I don't know. AFAIK he's still got a programming job.
 
Uh, are you really taking his rant seriously?
 
@thecoshman Meh, it's just more or less... ok.
 
@BartekBanachewicz You think he's joking?
 
12:16 PM
@TonyTheLion no, overreacting. Or acting a bit childish, maybe.
Either way, I suspect it to disappear with time.
 
@BartekBanachewicz never said it wasn't any of these things, nevertheless, that doesn't invalidate my point.
 
@TonyTheLion oh yeah... he some how has a job :P
@R.MartinhoFernandes then you're doing it wrong :P
 
I feel ignored :\
 
@BartekBanachewicz Dude, we have known him for what? Two years now?
 
12:17 PM
FWIW, I was the first one to point out his newfound bitterness, around maybe a year ago.
 
I remember that
 
sehe's gone now?
 
yep, somewhat
 
what a shame
 
@LightnessRacesinOrbit Taking a break. See also: not-sehe
 
12:18 PM
there is a not-sehe user
 
My 1 year Lounge anniversary is coming soon too.
 
yesterday, by R. Martinho Fernandes
@not-sehe ha, so it has come to this.
 
How about we all ragequit for a week and then come back at the same time? That way, we won't miss anybody!
 
12:18 PM
@BartekBanachewicz oh cool
 
@FredOverflow you're funny
 
user1182183
hm there is no switch statement for variables ? maybe boost? can anyone suggest something? :P
 
@LightnessRacesinOrbit ohai.
 
being physically in the office for three times the usual duration this week has served as a stark reminder of how much time I spend in this lounge while working from home
 
12:19 PM
@ThePet arbitrary variables with op==?
 
@ThePet Not without a real description of the issue.
 
user1182183
std::map<std::string,Button*> Buttons;
void OnButtonClicked(Button* button)
{
	if(Buttons["bluetooth"] == button)
	{

	}
	if( .....
}
 
of course that's not to say that I've missed any of you
 
@ThePet are you fucking comparing pointers?
 
Why would sehe make an obvious username with obvious tags? :(
 
Xeo
12:19 PM
boost::bimap
 
user1182183
@BartekBanachewicz ye, they don't change lol
 
ITT: Pointers don't change.
 
@ThePet (a) the naming is a bit confusing -- give Buttons lowercasing! (b) Don't store pointers!
 
yesterday, by R. Martinho Fernandes
haha, bastard!
 
ITT Pointers point
 
12:20 PM
no, really
 
@BartekBanachewicz They don't if it's hard coded (which it usually is in mods/hacks/et al)
 
user1182183
ah man I just spent the whole night designing and refining my menu class and button class ;f
 
but I mean, he's doing it wrong
 
@BartekBanachewicz char const* ptr = "hi"; ptr++; // oh shi-
 
He's doing it okay.
 
12:20 PM
no.
It's a job for unordered_map
possibly with std::function callbacks
 
I like how you guys all act like you even know what the job is.
 
@ThePet Feel free to store a shared_ptr or unique_ptr, if your program semantics desire it
 
@R.MartinhoFernandes I know they're hard coded.
100% actually.
 
Hello?
 
Hi
 
12:21 PM
@Rapptz Oh, didn't mean you.
 
@R.MartinhoFernandes Looking at what he showed, I more or less have the idea
 
"Button" implies a GUI element that you probably don't want to go around copying, so that probably makes sense
 
I have a question.
 
@Pawnguy7 yeah, no one saw those, that should be apparent
 
Have any of you see the pcmatic ads?
 
12:22 PM
How come C has modules but C++ doesn't? (in Clang) :(
 
look up.
 
@Pawnguy7 Yeah, you already asked it. Unfortunately, "hello?" doesn't really make sense as a question, so I have failed to determine how to answer it. Better luck next time, I guess...
 
@Rapptz Easier?
 
@Pawnguy7 You asked that already
 
12:22 PM
C only has to export functions and structs
 
Is it really?
 
Nobody answered :\
 
Objective-C has it too
 
@Pawnguy7 Don't take it as people ignoring you. It probably means no one saw them (in my case, it does)
@Rapptz Well, Apple-based prioritization, then.
 
12:23 PM
@LightnessRacesinOrbit I think it's more of a "Hello, did you hear read my message?" type thing
 
user1182183
Well, if anyone wants to look... DirectX_gui.h, if someone has any suggestion on what to change, they're welcome :d
 
11 mins ago, by Pawnguy7
Have any of you guys seen the pcmatic ads?
 
@Rapptz C++ is amongs the hardest languages to process
 
I particularly enjoyed:
6 mins ago, by Pawnguy7
I feel ignored :\
 
@ThePet Can I suggest not using DX? :3
 
12:23 PM
Oh. Well, I just am skeptical. It seems like a scam, but... well, I have never yet seen something like this (say a registry cleaner) advertised on TV.
 
user1182183
@BartekBanachewicz I don't have any font library for opengl, while for DirectX I do :x
 
Not that I am using it, I just feel bad for those that might.
 
@TonyTheLion ty
 
@Pawnguy7 A registry cleaner? Ha, scam.
 
12:24 PM
Exactly. I just feel this is too.
 
@ThePet std::function<void(Button*)> should be void(void)
 
Meat can't make registries. Erm, what? Snap out of it, brain! I mean, registries don't need cleaning.
 
user1182183
@BartekBanachewicz hm okay
 
@R.MartinhoFernandes CCleaner is a scam?
 
@ThePet also functions named Height and Width must be changed
 
12:25 PM
If you want to take a look, it can be found here. It just seems wrong...
 
If you pay for it. (Do you?)
 
No (I don't even use it)
 
Well, CCleaner removes cookies and temp files too, I think.
 
user1182183
@BartekBanachewicz what's wrong with those names?
 
12:25 PM
It does general cleaning stuff
 
@ThePet not verbs.
 
@Rapptz Oh, I meant "you" as "one".
 
I want to keep my cookies, for when I'm hungry
 
user1182183
@BartekBanachewicz ah soo
 
also wtf is ButtonColor
how is that different from any other Color
 
12:26 PM
This is my 2nd "stay awake all day" thing this week
I seriously have issues
 
@ThePet also you store raw pointer to std::function :S
 
@Rapptz what motivates you to do it?
 
vague
 
user1182183
@BartekBanachewicz well from my experience those std::*pointer thing always have to complain about something :/
 
12:27 PM
@TonyTheLion I just can't sleep.
 
@ThePet do you mean you can't use smart pointers?
well then fuck yes they will complain
 
@BartekBanachewicz noobs
 
I'm also working in an hour.
 
also there shouldn't be a pointer whatsoever
just store a goddamn function
 
12:28 PM
@Rapptz At the hospital?
 
I'm working right now. Erm...
 
Ya
 
user1182183
okay
 
Isn't that dangerous?
 
gawd, how do you even stay sane?
 
12:29 PM
            if(OnButtonClicked_)
                    delete OnButtonClicked_;
 
user1182183
ehm, but then I can't check if the functions is set..
 
I'm used to it by now.
 
that would kill me
 
@Rapptz That doesn't make me feel better :(
 
reminds me of Domagoj
 
12:29 PM
also nullptr
 
who used to stay up for days, so he would be tired enough to not have nightmares while sleeping
 
Plus I'm not really performing surgery and my death count is still zero!
 
also oh come on this code should be rewritten
 
@ThePet std::function can be empty.
@BartekBanachewicz Erm, please, no.
 
@Rapptz you're a surgeon?
 
12:30 PM
No.
 
@Rapptz No. CCleaner is legitimate.
 
user1182183
@R.MartinhoFernandes just a check against == NULL ?
 
@R.MartinhoFernandes Not everything commercial is a scam!
 
@R.MartinhoFernandes right.
 
12:30 PM
I help people with cancer.
 
@LightnessRacesinOrbit Registry cleaners are.
 
@LightnessRacesinOrbit if (my_function)
 
user1182183
or some member like .empty ?
 
@Rapptz oh, that must be interesting.
 
@ThePet don't use NULL ever
 
12:30 PM
@ThePet explicit operator bool()
 
user1182183
@BartekBanachewicz O_O okay
 
The majority of standalone ones, sure. CCleaner is not simply a registry cleaner, though, and the guys that make it do not promote it using flashing banner ads, or banner ads faking Windows 95 dialog boxes
 
if(myfunc) { ... }
 
Yay, we've gone functional !
 
12:31 PM
@ThePet use explicit operator bool and nullptr for pointers
 
Let's talk about list comprehension and void function chains <33
 
13 hours ago, by Luc Danton
It's like when people ask me why I'm going to bed at 2 in the afternoon. If you don't sleep, you die :v
 
Anyway, it's free software that's the scam. Its users are scamming the developers. "Sorry, I can't pay you for your work, and you shouldn't ask me for money, because freedom." "Hmm, well, okay... >.<"
 
@Rapptz Be careful and sleep from time to time. While not on the job.
 
12:32 PM
@R.MartinhoFernandes Amongst many other things, yes.
 
I don't crash until 40 hours awake
 
@ThePhD void function chains???
 
@TonyTheLion <3
 
@ThePhD Real functional, not silly stuff like that. You know, hardcore function juggling.
 
Function juggling?
 
12:32 PM
@R.MartinhoFernandes apart from the fact it's stupid (I forgot about that, sorry, my bad, I suck) It would work all right, right?
 
@ThePhD wtf are they?
do I even want to know?
 
@TonyTheLion no
 
It's xeo's code not his
 
thought so
 
@TonyTheLion Just when you chain together functions that return void.
 
12:33 PM
@BartekBanachewicz Yes, but it gets weird semantics. (same reasons optional<bool> is crap, and tribool is better)
 
from what I know anyway
 
@R.MartinhoFernandes please elaborate, link or search keyword
 
@ThePhD huh, there's no return type, so what is the point?
 
@Rapptz Hey, I worked hard to learn how to work that void in there.
@TonyTheLion Sequential execution.
 
Don't optionalize types that have empty states. (of course, happening in generic code is fine)
 
12:33 PM
DeadMG fixed it for you in < 5 minutes!
Which I found arguably impressive.
 
@R.MartinhoFernandes empty meaning bool-checkable?
 
@Rapptz Yeah, but I spent like 2 hours getting it to the point where all he needed to due was add a decltype to what I had already worked out. D:
I did hard work!
 
Xeo
@Rapptz ?
 
@Xeo function chaining thing
 
Xeo
Ah
 
12:34 PM
@BartekBanachewicz Consider o = nullopt; if(o) ... and o = false; if(o).
 
Xeo
The void BS is his, though
 
@BartekBanachewicz Yeah.
 
@Xeo I thought so
 
@Xeo It's not BS it's just being consiiideraate. D:
 
I see. Righty right, thanks.
 
12:35 PM
q_q nobody likes void in the chains.
 
He tried fixing it but DeadMG did the fixing
 
@Rapptz I was on the right track!
I almost did exactly what DeadMG did, he was just faster.
 
I am now wondering about external or internal optionals
 
user1182183
shouldd it really be void(void) instead of void(Button*) ? I can't pass my button now to the function xd
 
and had no errors!
 
12:35 PM
for example.
 
Well!
Reasons.
 
optional<Image> vs class Image { optional<data> }
@ThePet you shouldn't pass the button to the damn function
 
Xeo
Can your image just not have data?
 
user142019
@BartekBanachewicz Former.
 
user142019
A dataless image makes no sense.
 
12:36 PM
btw in the discussion of a tribool
 
@Xeo that's called an empty or nonloaded image.
 
user1182183
@BartekBanachewicz then how am I going to detect in the function which button was pushed?
 
would if(mytribool) only trigger if it's true?
 
Xeo
Also, what's data?
 
@rightfold so I should throw in constructor, right?
 
12:37 PM
or would it have weird semantics if it was a noopt
 
@BartekBanachewicz Or just construct an empty data.
 
@Xeo some generic image data, that was only an example
 
@Rapptz Yes.
 
HI ladies&gents!
 
@ThePhD That's what we're arguing uh.
 
12:37 PM
And !mytribool is only true if the value is false.
 
Ah sounds cool.
 
Soo... wait
 
indeterminate gives x = false and !x = false.
 
@ThePet dude. Stop for two minutes and think about it.
 
tribool == optional<bool> ?
 
12:37 PM
So code usually goes like...
 
if(some_tribool) do_true();
else if(!some_tribool) do_false();
else do_indeterminate();
 
=[
 
5 mins ago, by R. Martinho Fernandes
@BartekBanachewicz Yes, but it gets weird semantics. (same reasons optional<bool> is crap, and tribool is better)
 
I'm sorry.
 
12:38 PM
@ThePhD No we are discussing how tribool > optional<bool>
 
@R.MartinhoFernandes haha, way to show'em pesky C coders
 
4 mins ago, by R. Martinho Fernandes
@BartekBanachewicz Consider o = nullopt; if(o) ... and o = false; if(o).
 
Well, you can create tribool by wrappping optional<bool>, I guess.
 
I think tribool would be easier
 
@ThePhD uh.
 
12:39 PM
return tribool.present() && tribool.get(), I think
 
Anyway, @rightfold (and whoever interested) it boils down to the fact of how sensible is to have a dataless, yet constructed thingy.
 
that's pretty lame
If I could -1 chat comments I would
 
@ThePhD That makes assert(!indeterminate).
 
=[
 
for image, intuitively empty image looks nonsense, so it shouldn't even construct with empty data
that's something to think of WRT API design
 
12:41 PM
Well, it always returns false if it's not present, so that makes it indeterminate
if it is present, it defaults to whatever's inside of the optional.
 
@ThePhD The point is, !x for indeterminate should be false.
 
Yeah, that does that, I think.
 
I'm reading this article and found this out
 
... I think.
 
@ThePhD Well, bool(x) for indeterminate should be false as well.
 
12:42 PM
> As you all are probably aware, MWO is built on CryEngine. CryEngine uses the very popular Scaleform flash library for all of its UI, and additionally has replaced the default windows implementation of the standard template library with a third-party implementation called STLPort.
I didn't know people actually used STLPort in production code
let alone in games lol
 
STLPort is legit
like, really.
 
slow day
 
void fuck() seems legit
 
it's a bug catching story thing
 
12:44 PM
anyway CryEngine has terrible code inside
After I saw a few files I've ceased to want to work with any part of it ever.
 
lol at the tl;dr
 
@Tony: And has a well established code basis ;)
 
> tl;dr: The HUD bugs were a result of undefined behaviour in CryEngines scaleform wrapper library, which took considerable effort for us to track down and fix.
 
Actually the only rather decent engine I saw ever is Marmalade
 
@Rapptz ha
How surprising.
 
12:45 PM
isn't Scaleform based on Flash?
 
Yes
 
'nuff said.
 
Ask @Xeo about it.
 
From what Xeo says about Flash most of it is negative, no?
 
Xeo
Fuck Flash
 
12:46 PM
Flash has nice functionality. But it;s language is not that wonderful.
 
...and he delivers.
 
I really like the drawing API, though.
That's well-done.
 
Flash is a pain in the rear.
 
You only say that because it probably lets you chain void-returning functions.
 
Everytime I see "drawing API" I want to run away immediately.
 
12:47 PM
There's a name for that, btw. It's the semicolon.
semicolon(f, g, h)
 
@R.MartinhoFernandes pwn3d/
oh, I thought you mean f(); g(); h();
 
But until MS finally commits herself to HTML flash is imo without alternatives.
 
Sadly semicolons are not overloadable in C++.
 
@Solkar what.
 
Piece of crap language.
 
12:48 PM
@R.MartinhoFernandes but you can overload comma!
 
Microsoft is a female?
 
; is the most powerful operator to overload.
 
for ist domain only, of course.
 
Xeo
@R.MartinhoFernandes haha
 
user1182183
hm, how could I make a separate callback for each initialized instance of a class..
 
12:48 PM
@ThePhD you should totally overload comma operator
 
@Rapptz Nope
 
@ThePet what.
@Solkar you wrote "herself"
 
But I try to make is sound more chaming that way
 
A nice explanation of this exploit
interesting how they get from kernel to userland
 
user1182183
@BartekBanachewicz ah I'm thinking probbly wrong again, some magic code which allows a separate function (to handle the clicks) for each button var;
 
12:49 PM
@R.MartinhoFernandes I don't think Flash has any functor chaining at all...
 
Wondering if I should validate the flag for his own good.
 
@BartekBanachewicz Already have.
But it's predence was too low to use, so I couldn't get Haskell-like list comprehension in C++
 
@ThePet every button has function<void(void)> callback. Now when it's clicked, call it.
 
@Xeo It is a bit annoying that most language designers refuse to see that :(
 
@R.MartinhoFernandes which flag? :)
 
12:51 PM
Something about being on the chat talking instead of studying for an exam.
 
@R.MartinhoFernandes You were serious? :(
 
@Rapptz Yes, I was.
 
Xeo
@R.MartinhoFernandes But... doesn't that require that each statement is automatically converted to a function?
 
Talking about flash - anyone exp with haxe?
 
I don't believe it!
 
Xeo
12:51 PM
Or that ; takes AST nodes? :P
 
user142019
lol Haxe
 
It's too awful of an idea to be true :(
 
@Xeo s/function/expression/;
 
@Xeo Maybe. It's the designer's task to fix it.
 
Xeo
lol
 
12:52 PM
> Today, Black Hat, the world's leading family of information security events, announced that General Keith Alexander — Commander, U.S. Cyber Command/Director, National Security Agency/Chief, Central Security Service (NSA/CSS) — will present the Day One keynote address at Black Hat USA 2013. source
wish I could go
 
@right Why lol?
 
@Rapptz I have used it in Haskell and F# and it is awesome :P
 
Do statements end in ; in those languages?
 
Of course, if C++ had that, it would be some weirdly twisted messed up form of it.
 
I know it doesn't in Haskell..
 
12:53 PM
@Rapptz It's optional.
 
Never used it
:D
 
do { x <- readLine; putStrLn x }
Or getLine or whatever that thing is called.
 
Xeo
Basically, ; = >>=
 
user1182183
I'm nearly there...
 
Oh the module thing I said came from here
> Re modules: Yes, we had a session on those too to review and approve the direction of the active work. The Clang folks, led by Doug Gregor, have implemented modules for C and Objective-C, and are now actively designing and implementing modules for C++. Once they finish their design and implementation, there will be a paper and the intent is to issue a Modules technical specification as soon as it's ready.
 
12:56 PM
F# actually goes a bit further and makes constructs like for and while overloadable.
 
Your own syntactic sugar kit?
 
Pretty much.
 
user1182183
wat.. void function must return a value?
 
@R.MartinhoFernandes I see what you mean about tribool
 
no
 
Xeo
12:57 PM
@ThePet no
 
tri && tri.get() failed for the indeterminate cause because it was calling the bool operator and then just reversing that
So I instead overrode operator!
 
Not sure about the overemphasis on the semicolon. I mostly care for the indentation.
 
I think that covers all of tribool's cases
 
user1182183
class button
{
public:
	typedef std::function<void(void)> callback;//thinking....
}
button::callback button::OnClick()
{
	MessageBoxA(ghWnd,"Some button clicke ohohooo","Click clock clack",0);
	return;
}
 
user1182183
..
 
12:58 PM
@LucDanton lol
 
@ThePet this is most certainly wrong lol
 
@ThePet no
 
user1182183
declaration is this: callback OnClick();
 
@ThePet no
 
user1182183
12:59 PM
so, just normal function? without std::function
 

« first day (942 days earlier)      last day (3991 days later) »