« first day (771 days earlier)      last day (4175 days later) » 

4:05 PM
@DeadMG yes
 
awesum
 
when the goal of standardization is to primarily standardize existing practice, and when both msvc and g++ support __FUNCTION__ (at least I think they do!), why did C++11 land on __func__?
 
I'm guessing because the standardized version had something different to at least one vendor.
 
@Cheersandhth.-Alf Presumably, the specification of __func__ is not quite the same as __FUNCTION__ and they had to give it a different name to avoid clashes.
 
sbi
> I just rolled my eyes so hard I can see my brain. — ‏@Schmoodles
 
4:19 PM
@Cheersandhth.-Alf This is just begging the question but FWIW C99 did it first, so C++11 followed on its footsteps.
 
4:34 PM
hmm..I deleted an answer of mine, but it still shows up (though it says "deleted by owner 22 minutes ago")
 
how does md5 hashing handle gifs?
 
> How many Haskell users does it take to change a light bulb? Two, one to change it and one to write a monad tutorial.
lol
 
@Crowz by hashing the whole thing? :)
 
@Crowz MD5 doesn't care about the interpretation of the content at all. It just processes all the bits.
 
But is a gif like, a few pictures put together so to speak? Does it only register the first frame?
 
sbi
4:40 PM
@melak47 When you have enough rep (>10k, I think), you will see that no deleted question or answer ever gets really deleted. It's just that now you can only see your own ones.
 
@sbi but even if I log out, it's still visible on the question
 
I'll process your bits ;)
 
Ell
ooh er ;)
 
sbi
@melak47 Link?
 
4:41 PM
@Crowz md5 usually hashes the entire file, unless you have some sort of "smart" image md5 that skips irrelevant stuff like tags and crap and only looks at the image bits. even then it would still read all the bits of the GIF
 
@Crowz I'm a 1. Wouldn't you much rather process a 0?
 
0
A: In HLSL pixel shader , why is SV_POSITION different to other semantics?

melak47D'oh, the problem is obvious - the screen coordinates are actually in whatever range you specified in the D3D11_VIEWPORT you set, if you don't use a view matrix. Likely something along the lines of: D3D11_VIEWPORT viewport = {0}; viewport.Width = 1280; viewport.Height = 720; So, obviously the ...

 
sbi
@melak47 Ah, that's not on SO, and I don't have rep on gamedev. But, yeah, it's not deleted. Nor does its history hint at you having ever deleted it.
 
but it says "deleted by owned 34 minutes ago" right below it O_o
@sbi sorry I linked the wrong answer
 
sbi
@melak47 Not for me.
@melak47 Derp.
 
4:44 PM
but it's the same question >_>
 
sbi
@melak47 For me, that question only has one answer, the one you linked to. That other link gets me to the question.
 
@FredOverflow I go both ways, babe
 
sbi
So it's as I said: The answer is gone, only you can see your own deleted answers. And 10k+ users see it, too.
 
ok, then I just tricked myself into thinking I logged out, apparently. derp
 
5:18 PM
	namespace detail {
		inline char const* namePartOfFuncSigString( char const* p )
		{
			while( *p ) { ++p; }
			int level = 0;
			do
			{
				--p;
				level += (*p == ')'? +1 : *p == '('? -1 : 0);
			} while( level > 0 );
			while( *p != ' ' ) { --p; }
			return p + 1;
		}
	}  // namespace detail
i was going to say that there's still room for that kind of code
but now i wonder why notepad++ has inserted tabs instead of spaces
 
Can a sig be of the form int(*foo())[3]?
 
guys I found turpentine, you jealous?
 
sbi
@LucDanton In your emailer?
 
@LucDanton thanks for reminding me. i was going to test that but then it crashed. due to an experiment with a static array that was too short for visual c++'s spec of a std::string
g++ just says "std::string"
visual c++ says "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >", to drive the point home that this is really a std::string
BUG!
but not sure what? now looks like
    namespace detail {
        inline char const* namePartOfFuncSigString( char const* p )
        {
            while( *p ) { ++p; }
            int level = 0;
            do
            {
                --p;
                level += (*p == ')'? +1 : *p == '('? -1 : 0);
            } while( level > 0 );
			--p;
            while( *p != ' ' ) { --p; }
            return p + 1;
        }
    }  // namespace detail
So, fixed:
        inline char const* namePartOfFuncSigString( char const* p )
        {
            while( *p ) { ++p; }
            while( *p != ')' ) { --p; }
            int level = 1;
            do
            {
                --p;
                level += (*p == ')'? +1 : *p == '('? -1 : 0);
            } while( level > 0 );
            --p;
            while( *p != ' ' ) { --p; }
            return p + 1;
        }
    }  // namespace detail
why did i not think of that, and why did @luc see it at once?
 
5:44 PM
when I try to do if(symb != NULL) it says:

error: no match for 'operator!=' in 'symb != 0'
 
is that a std::string perhaps
then it can't be NULL
 
@Cheersandhth.-Alf no it`s an object of the type SY::Symbol
 
well then check out the operators defined for that class
 
@Cheersandhth.-Alf I havent defined any operators for that class. It's a class I created. So how can I check if the object is not NULL?
 
sbi
@rogcg And how are we supposed to know that, or what SY::Symbol is, or what operators it overloads, or for what other types, when they are binary?
@rogcg Oh. What was your previous programming language, Java or C#?
 
5:47 PM
he he good question yes that may be it
 
hmm.. java
I know the reason of that question.
 
sbi
@rogcg Objects are just that: objects in C++. They are not references. How do you check whether a double is NULL? Exactly. It's the same with objects in C++.
What book are you learning C++ from?
 
a book called internet. heheheh
I`m not following any book
So.. if the object is not initialized, it will be what?
 
An object with indeterminate values
 
There's no way to check if it's uninitialized
 
sbi
5:50 PM
@rogcg This likely won't work. You have next to no chance. C++ is too complex to pick it up on the go. Have a look here and make your pick.
 
Some other people here and I learned C++ using the internet, it's not very hard if you hang out in the lounge and SO.
 
sbi
@rogcg If you create a class, there will always be constructors, whether you write them or the compiler fills in for you. When you create an object, one of those constructors will be called. If they are compiler-created, and your class only contains POD types, then the result will be, as Alf said, undetermined. Otherwise it is.
 
got it
 
sbi
@Pubby I heard of two people learning C++ without a book which I believe to not to write bullshit, and both are high-rep users here. I have seen, however, hundreds of programmers who write bullshit code despite reading books. So your ability might be laudable, but it's definitely not representative.
 
IIRC Johannes started with C++ in 24 hours or something.
 
sbi
5:55 PM
@rogcg So you think. If you only knew how much I left out in that short message. Class constructors and their invocation is one big subject in C++. You can easily fill a book's chapter with this, and, in fact, good C++ books (few and far between) do exactly this.
 
@sbi That sounds about right.
@StackedCrooked He started before he knew how to walk
 
sbi
@StackedCrooked And then he went straight to reading the C++ Standard, I suppose?
Well, OK, then make that three high-rep SO C++ users. My point still stands, though.
 
Apr 21 '11 at 17:38, by Johannes Schaub - litb
i read my first c++ book ("c++ in 21 days") around 5 pages a day before going to sleep. i remember how I sweated when reading because reading books in bed I find awkward. reading books anywhere is kinda awkward IMO
Lol
 
I wonder if there will ever be internet tutorials good enough to be included on that definitive book list.
 
DeadMG has written a few.
 
sbi
6:00 PM
@Pubby So do I. So far, it looks bad.
 
what the fuck
Razer made one of my suggestions
 
6:19 PM
@sbi Yeah, it's sad that you absolutely have to pay to get decent C++ learning material.
 
@EtiennedeMartel By 'pay' do you mean, download shittons of stuff?
 
@ThePhD I meant books.
 
Ah.
 
Payracy.
 
Most books are only good for certain sections.
 
6:20 PM
All those kids out there who want to "learn to program", and to it by looking up "C++ tutorial" on Google, are not going to learn how to good, proper, modern C++.
 
sbi
@EtiennedeMartel The problem is that so many kiddies nowadays do not even read books. They want their stuff to be available on the Internet. If it isn't there, there's nothing for them.
 
Is one of those kids.
Maybe that's why I'm such a scrub. D:
 
@sbi That also.
 
Well, actually. I bought a lot of books too.
 
sbi
@EtiennedeMartel Well, you said that pretty much 10secs before I hit the send button...
 
6:21 PM
But I never actually read them all through.
It was more like "I need to do this. Maybe they have a section on it here..."
".... I dont' understand anything they're writing. Guess I need to go back a few chapters."
".... Wait. Did I just read 4 chapters? The fuck is this!"
 
Still, I don't think it's a bad thing. Books require trees, after all.
 
The Book Tree.
.... It sounds like a weird game title.
 
well I don't think it's a bad thing that people look to the internet for information but it is absolutely a ba dthing that the quality of most tutorials is just so goddamn low
 
hey guys... any chance you could help me with a question I'm stumped on? stackoverflow.com/questions/12290639/…
 
You posted that yesterday
 
6:34 PM
that is true
 
6:48 PM
Oh, gawd, that Arthur Tchaikovsky crazy quoted me to make one of his crazy arguments.
I feel dirty.
 
linky?
 
whatever he did catch, it is advisable to fix your answer rather than doing so in a comment. — Johannes Schaub - litb 40 secs ago
i consider downvoting the answer
 
sbi
@R.MartinhoFernandes BTW, I took the time to actually read this article today. Quite interesting. Technically, I mean. (Of course, it's also interesting that this woman openly speaks about using a vibrator.) Also, this is way over my head. Technically, I mean. Finally, I am not really part of the targeted audience. Technically...
And, of course, the article's title is hilarious.
 
@DeadMG It's in the silly CADRe thread...
@sbi Well, hmm, yeah. Ok.
 
Ell
ahh I'm such a disgrace I gave up after like 2 minutes :P
 
7:01 PM
@sbi The article actually interested the crap out of me (I like tinkering with stuff). I would have never thought to tinker with something like a vibrator. Or anything sex-related, really.
 
@Ell Gave up what?
 
hey guys one quick question
 
English, I need to learn it.
 
sbi
@ThePhD Also, you wouldn't have a use for a vibrator. I suppose.
 
Ell
@R.MartinhoFernandes I was going to write a little javascript/html animation which showed dividing polynomials, but I got to expression parsing and just went "mehh I cba"
 
7:03 PM
if I have an unrestriced union like union foo { string str_ foo() {new(&str_) string();} };
 
Ell
I thought she was gonna hook the vibrator to her heart & brain and make it know when she is going to orgasm or something
 
@sbi That too. But now I have all these intriguing technical questions in my head, but I kind've don't want to pursue them because of their dirty applications.
 
sbi
@BeyondSora Non non-PODs in unions.
 
Do I need to call the destructor of str_ later?
 
@sbi Stop saying nonsense, you outdated ape :P
 
7:04 PM
@sbi oh i meant the unrestricted union in c++11, so you can use POD
just have to do this placement new thingy
 
@BeyondSora I am having trouble parsing the whole thing, actually.
 
sbi
@R.MartinhoFernandes Ooops. Soory, @BeyondSora, I am an old fart and not up to date.
 
But yes, you are responsible for manually constructing and manually destructing it.
 
@R.MartinhoFernandes I'm wondering if I have a non-POD type in my union and use placement new to initialize it, say this non-POD type has a bunch of pointers to other resources, do I need to manually call the ~destructor to destroy it?
 
7:06 PM
@R.MartinhoFernandes but no need to call ::operator delete(&addressOfNonPOD), right? Since the memory is allocated when constructing the union and should die along with the union?
 
Exactly, only the destructor.
 
@R.MartinhoFernandes Thanks! :-)
 
sbi
@ThePhD What the hell is wrong with you guys? Sex isn't something "dirty" is it? I mean, you all do have parents, don't you? (well, except for the robot, of course, who has manufacturers instead.) How do you think they came to have you?
 
@sbi ummm according to chinese legends, this huge bird always deliver babies to people's doors...
 
@sbi Sex can be dirty. Use your imagination.
 
Ell
7:08 PM
@sbi sex isn't as fun if it's not dirty
 
sbi
@BeyondSora It's storks in Germany.
@R.MartinhoFernandes The keyphrase here is that it "can" be dirty.
@Ell What do you even know about sex? Aren't you 16 or something like it?
 
Ell
if something is more taboo, it's fun
@sbi 17 now :D
 
sbi
@Ell I think that's well covered by my phrasing.
 
Ell
sorry :P
 
sbi
@Ell Sex never was taboo where I come from, and I did have a lot of fun with it nevertheless.
 
Ell
7:11 PM
@sbi it was never taboo? not even when you were young? to be fair it's not taboo for our age anymore. I just generally have it in my head that if something is dirty/illegal/etc. it is more fun
well, I don't feel that way, but a lot of people do I think
 
@sbi Well, it's just the stigma associated with it. I can't go to my Electrical Engineering professor and be like "Hey, wanna look over these sex toy prototypes with me?"
 
sbi
@Ell Hey, I was a teen in the 80s, not in the 60s!
 
@sbi try talking about sex with my parents... :-p The look on their faces never fail to amaze
 
Ell
@sbi but still - was it not a big thing when the first girl lost their virginity at the age of 13?
whereas sex at the age of 16/17 is no biggy
which shows that when something isn't so common or is taboo or whatever, it's more interesting IMHO
 
sbi
@Ell There was a 15yo pregnant in my class. The other 14 girls seem to have heeded the advice they got.
 
Ell
7:15 PM
@sbi and wasn't it an interesting topic of conversation when said 15 yo got pregnant?
 
sbi
@BeyondSora Actually, one of my daughters had her first boyfriend when she was 15, and I set her up to be safe when before I invited him to stay with us over X-mas and New Year, last year. I also called up his mother and talked this through with her, so she'd know my girl is prepared. (She picked a woman, though, to go to the gyn, rather than me, which i was fine with.)
 
Ell
@sbi I think you are an exception when it comes to sex tbf
 
@sbi TIL @sbi is an awesome parent!
 
@sbi You are vastly the exception. Heads would roll in other contexts.
 
sbi
@ThePhD Yeah, that's sad, isn't it. The thing is, your sex life is (rightly, so) also something intimate, that people do not want to disclose theirs. If your EE prof was female (haha!), maybe she wouldn't want to disclose that she's used to those thingies. through with them.
But have you thought this through? In the end for any gadget to reach the stores, engineers have to invent, design, and produce it. And their have to be women among those engineers for vibrators, and they do have to have testers, and have to talk this through with them.
So there have to be people who openly, at work, talk about vibrators, they application, their design, their usability. Across the sexes.
@BeyondSora Because I didn't pout when she preferred a woman to go to the gyn with? At least she didn't pick her mother.
 
Ell
7:21 PM
"What do you want to be when you grow up, Jimmy?"
"I want to be a vibrator designer daddy!"
 
@Ell I'd be scared at that point, roflmao.
 
sbi
@ThePhD What context are you living in? Are you a Merkin?
 
@R.MartinhoFernandes That thread is exceptionally silly.
 
sbi
@Ell "Oh, like in those smartphones, huh?" "No, like in mum."
 
sex is not taboo in german
 
Ell
7:23 PM
haha
 
sbi
@JohannesSchaub-litb Well, to be fair, you will have to make differences between a small Bavarian village and a big city like Berlin.
 
Ell
and I think it's a shame how girls parents are so "no no no!" about sex
although I am male so I guess I might be biased? idk.
 
@sbi Well, disregarding my vastly broken family situation, my Mother is a Christian. Used to be catholic. Needless to say she can talk about sex and such, but she views it as a more intimate thin between Man and Woman, and things like sex toys are borderline-evil. I don't have any sex toys myself (I haven't even had a significant other), but I got interested in the idea of perhaps creating a vibrator that does exactly what that Hacking My Vagina engineer did.
To tell my Mother - or even my Professor or a 'friend' - that, would earn me the eye-laser scorn of doom and death, and more than one weird stare. These are mostly catholic/christians, with a disposition for being exceptionally prudish on the topic of sex. That and, in America, sex is an exceptionally uncomfortable topic unless you're in a very small group of the best of friends. Not because it has to be, but because it's made that way.
 
sbi
@Ell Well, there is good reasons to be afraid for a parent. usually it isn't you, after all, who's stuck with a baby while she's trying to go through her examen. It's them. Of course, educating your child is a way better approach at preventing this from happening. But I do understand them being afraid of the consequences.
 
Ell
@sbi yes I agree with being afraid of the consequences, but I think trying to prevent the child isn't the way to solve it
 
7:28 PM
I guess what I'm saying si, if I'm gonna do this, I'm gonna need to find some exceptional people who aren't gonna be jerks about it.
Or just do it by myself. ... Except I don't have a vagina, but hey. I can at least do the best I can with pure research.
 
sbi
@ThePhD Yeah, the US are incredibly prudish from my POV. And I only have been to the north east and the west coast, South Dakota and LA being the closest I got to the bible belt...
 
@sbi I was once in the thick of it, having gone as far as North Carolina and Georgia.
Although Atlanta is associated with 'The Dirty South', there was more God-stick waving than I could care to stomach. :|
 
sbi
@Ell Yes, of course. This is backed up statistically, BTW. Prudish contexts have a way higher percentage of teenage pregnancies than open societies. But, of course, scientific facts are not going to convince those who act out of belief, rather than rational reasoning.
 
Ell
yeah
 
s/ratio/reason
 
sbi
7:32 PM
@DeadMG Thx.
 
reasonnal reasoning.
 
reasonable reasoning
 
As opposed to outrageous reasoning.
 
sbi
@ThePhD I remember my (very distant, but nevertheless also very welcoming) relatives in NJ being a bit disturbed when I arrived there with my girlfriend. But they did put us into the same room/bed, and never lost a word about it. (My girlfriend back then wasn't 21 yet.) Later, a friend who grew up in PA told us that her parents would never ever have allowed that.
 
@JohannesSchaub-litb No it doesn't, just compiled it and it gave me the desired results. — Antonie Blom 1 min ago
i downvoted
 
7:39 PM
@sbi Yeah, the states are uptight like that. Nevertheless you start talking about sex-toys, then you're just this devious pervert.
... How did we end up in this conversation? And why do I still have the desire to see if I can get a haptic feedback loop in a vibrator? D:
 
@Mysticial hey, why don't you get a couple of these: alternate.de/html/product/Kingston_ValueRAM/…?
 
sbi
@ThePhD We ended up in this conversation because @R.Martinho posted a link to a woman hacking her vagina. :)
 
.... Ah, the Robot. Seeding dissent, confusion, and fleshy problems amongst the humans. It's how he's going to take us down. D:
 
Ell
I was expecting some kind of robot vagina
 
sbi
BTW, anyone know hat happened to @Tony? We're talking sex here, and he didn't show up. I hope he isn't sick.
 
7:42 PM
@JohannesSchaub-litb "hey, it works on MY machine!"
 
Ell
inside a woman
 
WTF is going on?
Also, what's a "wintergarten"?
 
@sbi you have to mention women
 
sbi
@R.MartinhoFernandes A kind of a balcony/veranda enclosed in glass.
 
7:43 PM
@R.MartinhoFernandes Buffer overflows in vaginas.
 
@sbi Ah. Thanks.
 
Ell
@DeadMG nice.
 
sbi
@Cheersandhth.-Alf We were talking vaginas. (It's not like Tony is after the whole thing.)
 
speaking of which
shouldn't he be here
 
sbi
7:44 PM
@R.MartinhoFernandes Yeah, saw the typo already. Fixed now.
 
@sbi ohai
 
sbi
2 mins ago, by sbi
BTW, anyone know hat happened to @Tony? We're talking sex here, and he didn't show up. I hope he isn't sick.
 
here I am, complying to your expectations of me :P
 
@TonyTheLion Good boy! Here, have a treat.
 
but only because you plinked me @sbi
else I would not have noticed.
 
sbi
7:45 PM
@TonyTheLion Hey, you Ok? Shouldn't you see a doctor? Don't you need medical attention? Someone there who can take you to a hospital?
 
No I'm ok
I've been playing Call of Duty Black Ops II and watching F1
 
sbi
@TonyTheLion Do not deny it! What would this room be if you hurt yourself?!
 
now I'm just catching up with some email
@sbi I'm sure this room would be just fine, even if I wasn't here.
 
sbi
@TonyTheLion What's there to watch in F1? They're going round and round and in the end some German or another is world champion.
 
7:47 PM
You guys can surely manage without me.
 
^ Example of a woman.
 
Tony is a woman?
 
@sbi I quite enjoy watching F1.
 
@Cheersandhth.-Alf I know what a women looks like.
 
7:48 PM
oh
 
sbi
@Cheersandhth.-Alf You know, this room might be full of geeks, but I don't think any of us here needs a reminder of what women look like.
 
Is... that a real rifle? I can't tell.
 
It's a semi-automatic shotgun.
 
It's almost too big to be a regular airsoft or bead-shooting gu- Oh, well then.
Don't want to get on her bad side.
 
sbi
@ThePhD Ow c'mon, don't give us such crap. Just half an hour ago you admitted to having lived in the south!
 
7:49 PM
@Cheersandhth.-Alf I don't really like her jeans.
 
Maybe Alf has a picture without them.
 
her car could also use some work :p
 
@sbi Hey, when I saw a girl I steered far clear, because I didn't want to deal with any sort of weapon the Father would invariably sling my way.
 
sbi
@ThePhD Looking at her face she doesn't seem overly intelligent, so I am afraid there is no other side to her.
@R.MartinhoFernandes LOL!
@melak47 It's a carriage, silly!
 
Why doesn't she seem intelligent?
 
7:51 PM
@R.MartinhoFernandes only the full-size Lenna
 
sbi
@R.MartinhoFernandes Probably something to do with her upbringing.
@Cheersandhth.-Alf No! Please DON'T! We have seen enough of her.
 
@sbi She could be just modelling or something.
The fact that the finger is on the trigger makes me itch, though.
 
sbi
@R.MartinhoFernandes Oh, you are supporting my point then?
 
Ell
models aren't necessarily unintelligent.
Oh haha, I do make myself laugh :')
 
sbi
7:53 PM
@Ell That's very well put, really.
 
At least she doesn't look anorexic.
 
I think I'm going to sleep early today.
 
sbi
@R.MartinhoFernandes I will leave here now and start to bake cookies. I meant to do that hours ago, but I got lost on Amazon...
 
Ell
yeah, I don't find slim girls attractive
well I do
but not as much as regular looking girls
 
sbi
Well, bye bye!
 
7:57 PM
@sbi Oh. How can you get lost on the Amazon? Just let yourself go downstream and you will eventually reach the Pará.
 
Martinho the Punbot.
 
TIL the width of the mouth of the Amazon is larger than the length of the Thames.
 
Well, the Amazon is pretty big.
 
So is yo mama.
 
@R.MartinhoFernandes just ignoring the fact that you won't survive the piranhas
 
8:01 PM
@StackedCrooked They could use yo momma to dam the Amazon.
 
^ Example of woman without long pants
 
It's a mudslut?
 
Ell
eughh she looks entirely unintelligent.
 
8:02 PM
They look like nice people.
 
Ell
What's the difference between a local and a remote endpoint? o.O How can a socket's endpoint be different from the server's point of view?
 
it's the norwegian OR british flag on the hat
not sure
 
Ell
norwegian
 
Hullo folks.
 
Hello friend
 
8:03 PM
@Ell Local and remote are relative terms.
 
@Ell It's a different socket?
 
I finished the first assignment, I'm onto the second one.
 
There is a socket at each endpoint.
 
I know I'm overcomplicating it, but I just wrote some cool code which I'd like some opinions on.
 
Ell
whuttt? :O I thought an endpoint was an address & a port?
 
8:04 PM
The assignment is to read in some prices and then a bunch of one line records.
 
Ell
and a socket had 2 endpoints (start & finish), but from the servers point of view, it can only see the finish
 
Whats with all the pictures of redneck chicks? -.-;
 
@Ell An endpoint is a point at one end.
 
Then process them.
 
Ell
idk, ignore me >.<
 
8:04 PM
But first there's some prices.
I wrote code to parse the prices from a string into an array of doubles.
Crude, but it works.
 
@Ell There is a socket at each end of a connection: one on the server, and one on the client.
 
@melak47 I'd love to put a couple of those in my laptop... But they won't fit. Nor can I afford them. :(
 
:(
did you pick up the new laptop?
 
@Mysticial How was your delayed flight
 
8:08 PM
@melak47 yeah
 
Ell
hmm, I remember there being a reason for not being able to put a boost::asio::ip::tcp::socket in an std::unique_ptr but can't remember it.
 
@Borgleader not much I would've had to wait at the airport for 7 hours for my bus anyway.
 
Ouch...
 
now I have to set all my stuff backup
and to see how much of that dead 1.5TB I can/need to recover.
This town sucks...
It takes longer to go home -> school, than home -> Hong Kong.
 
wut
 
8:12 PM
Home -> Hong Kong: 15 hour direct flight
Home -> school: 4 hour flight + 6 hour average wait for bus + 4 hour bus ride
It's still slightly less, but unlike a direct flight, I can't sleep through those 14 hours.
 
why do you go to school so far away?
 
And I just found out that the CPU fan on my sandbox died while I was gone...
That explains why it auto-shutdown...
okay...
another thing to fix...
@melak47 Not by choice.
 
:c
 
Ell
ahh that's it - std::bind needs copyable stuff doesn't it?
 
yeah
but you can pass by ref, in which case you have to pay attention on lifetime issues
 
8:16 PM
@Ell or u can wrap ur thing with std::ref
 
Hm.
I need a new password.
 
Ell
@BeyondSora but that wont destruct the inner object will it?
 
I've been thinking about doing an all-number password for a really long time now.
 
Ell
@ThePhD glisteningDokeyForest415
 
@ThePhD 12345
 
8:17 PM
@melak47 Gotta be at least 15 characters, if I want it to last.
 
@Ell ya you ll need to manage the lifetime of resource by yourself, like @bamboon said.
 
@ThePhD 12345432123454321
 
Ell
@BeyondSora in that case, I may as well just pass a pointer
 
Lol
 
Ell
@ThePhD 1123581321
 
8:20 PM
holy shit, I can see why that fan doesn't want to run...
 
Ell
@Mysticial dead cat wedged in it?
 
Barrings are dead.
 
Oh, right. Github requires you to pay to keep a Repo private...
 
too much dust build up...
 
@Mysticial Bearings?
 
8:21 PM
yeah, that's what I meant
 
@Mysticial Dat airspray can!
Or dat Vacuum.
I don't know what those compressed air cans are officially called.
Though, TBH vacuums usually suck at getting the job done.
 
the fan is dead, the dust has soaked up all the lubricant.
Now that the machine is already on the floor, I'm gonna take it in the hallway and dust it out.
Hope they won't mind too much...
 
What're they gonna do? Complain about the dustbunnies you left behind?
 
@ThePhD yes. however, you can download githubs git client thingy, make a repo on your computer, and never sync it with github. private repo! and to keep it backe dup, move it into your dropbox. :p
 
@melak47 Sneaky.... ... I like it
 
8:25 PM
be warned though, the github git client comes with the MetroSexual™ interface :/
 
Hey
0
Q: Passing QLabel as parameter Qt C++

RochesterFoxI have a little gif which is animated on a QLabel with a QMovie, and i want that when the annimation of the Gif is end, remove the Qlabel, i tried this, but it dosen't work : QMovie *movie = new QMovie("countdown.gif"); QLabel *processLabel = new QLabel(this); processLabel->setMovie(movie); m...

 
just use tortoisegit or something
 
@melak47 Metrosexual?
 
@Homer6 hi
 
@ThePhD or whatever MS calls it now :)
 
8:28 PM
haha, hallway's a cloud of dust...
 
Ghost town much?
 
was busy playing Starcraft 2
 
Ell
how do I use make unique? I can't do this: std::unique_ptr<ClientHandle> new_handle = make_unique(sock); can I?
 
but socks come in pairs!
 
Ell
:P
 
Xeo
8:44 PM
@Ell auto handle = make_unique<ClientHandle>(sock);
The purpose of make_unique is partly to not repear yourself.
 
Ell
right okay
 
I wanna try net coding sometime in C++.
Being able to send sockets and stuff.
Send data over sockets*
Or something. I don't know what I'm talking about.
 
perhaps remedying that would be the point, no? :P
 
Rofl, yeah.
 

« first day (771 days earlier)      last day (4175 days later) »