« first day (269 days earlier)      last day (4664 days later) » 

6:02 PM
You may only submit a comment vote every 5 seconds....
:(
 
I'm still waiting for a mouse manufactured by SO that only allows one click every 5 seconds... ;)
 
@FredOverflow Are you time travelling again?
We told you it's dangerous.
 
What's the worst that could happen?
 
@MartinhoFernandes Why would you want to be normal?
That's boring.
 
sbi
6:18 PM
@FredOverflow We will explain that to you last week. So be patient.
 
@FredOverflow Oh shit.... my mouse click didn't hit the button..... waiting.... waiting.... waiting
@sbi ... will explain that.... last week. ?????
I shall do it yesterday.... and if I fail.... procrastinate.
 
> Marty, you're not thinking four-dimensionally!
 
sbi
@Xaade We were talking about the dangers of time-traveling.
 
If fail then procrastinate
If procrastinate then fail
 
We will have been talking.
 
6:24 PM
@FredOverflow If procrastinate, throw exception.
 
And now I want to go reread the Restaurant at the End of the Universe...
 
#define procrastinate while (true) sleep(rand());
 
#define procrastinate /* todo */
4
 
LOL, meta-procrastination :)
 
I admit I laughed, too.
 
6:25 PM
@sbi Time-traveling is for weaklings..... I suggest to see time as it truly is.... a collapsed dimension. "Wait, did I meet you yet, or did that happen tomorrow, I can't really see time as a continual line like you anymore?"
 
@LucDanton We usually abbreviate the admittance of laughter with "LOL", it saves time ;)
 
sbi
@FredOverflow It seems we have no SFINAE FAQ entry, and that one seems to be a good candidate.
 
@FredOverflow HAHA to LOL.... shortens by one letter.... it's genious
 
@sbi But the answer is wrong :)
 
@sbi If so, I need to edit/correct the answer (or somebody else needs to write a better one).
 
sbi
6:27 PM
@FredOverflow And the question mentions Python. So? We could fix that.
 
@sbi Monty Python and the holy SFINAE!
SFINAE? seph-in-ay..... ????
 
@Xaade Also, LOL is a palindrome, so you could stick it onto an ambulance and be able to read it without the rear mirror, too!
Although sticking LOL onto an ambulance would probably be mean.
 
@FredOverflow Um..... mirrors don't reverse letter order, mirrors reflect images.....
_|O_|
 
'lol' would work, though.
 
You could use lower-case letters.
lol
 
6:29 PM
BAH HUMBUG
@FredOverflow Still wrong, but close enough for any idiot to get it.
 
I was just searching for that picture :)
 
@CatPlusPlus ...Laugh out loud, and then get bacon.
 
@CatPlusPlus Laugh Out Loud on bacon.
 
I read that as "laughing out loud, then destructing twice".
 
6:30 PM
If you don't have bacon.... call 911
@FredOverflow AHA.... explains "call 911"
Laugh out loud, destruct twice, then call 911.
 
"Help, I just committed double-suicide!"
 
@FredOverflow because I saw someone drowning....
 
And then the police replies "Sorry, we can't help you. Destructing the same object twice yields undefined behavior!"
 
Starred messages get taken out of context.....
 
delete delete this;
 
6:33 PM
@FredOverflow Are you compiled in CIL.... if so, the garbage collector may have not run yet. Make a new reference to yourself quick.
 
@Poik When it comes to where my outsides reside, I'd rather be boringly normal.
 
@MartinhoFernandes I don't get it, what exactly is "your outside"?
 
@MartinhoFernandes Some of my outsides reside inside some other outside.
 
@CatPlusPlus That would probably work on an old version @DeadMG's grammar, if he had delete.
:)
 
@MartinhoFernandes Nope.... there's a ;
simply redefine delete to return null.
 
6:35 PM
Yes, that's the joke. :P
 
He had ; before.
 
@MartinhoFernandes Before I complained about ; being the most obstructive visual character on the keyboard.
 
I see that you don't own a Mac.
 
I can get around a ,
I can slip between a :
But visually a ; makes me go all the way around it.
 
What's wrong with ;?
 
6:36 PM
It's melting :.
 
It's a hybrid.
 
It's not ;
It's me.... My visual cortex is tightly coupled to my anxiety control.
 
@MartinhoFernandes Aren't hybrids environmental friendly or something?
 
I see a ; and I get a little anxious.
I've learned to ignore it in code.
? catch me.... but they have a reason to....
; slow me down needlessly.
! block me for a good reason.
 
@FredOverflow Only after the extremely unenvironmentally batteries are made.
 
6:38 PM
That's why more than one ! is unnecessary, and just makes me skip a lot of what you're saying.
 
@FredOverflow AFAIK, they're friendly towards your wallet. Friendly toward the environment I doubt it.
@Poik And the electricity to charge them.
 
HUH????!?!?!?!?!?!?!?
Normal car, 15K
Hybrid 35, 40K
Not sure how that's friendly
 
And even then, there are non-hybrids that are better for the environment.
 
@Xaade No, that's because you're not sane.
 
6:39 PM
@MartinhoFernandes I'm sane.... perfectly sane.
 
Have you looked at gas prices lately?
 
I prefer buses, so I can blame someone else.
 
@MartinhoFernandes If you get one that self charges from a gas engine, that's not a problem.
 
@MartinhoFernandes Yeah... but do the math....
You won't save enough on gas to replace 25k
 
Cars suck.
 
6:40 PM
Cdrs, too.
2
 
40 a week * 52 = 2800 * 5 years avg use for vehicles.....
 
@MartinhoFernandes Absolutely.
 
14k
 
You must also take interest rates in account.
 
So the hybrid must be within 14k the traditional
 
6:41 PM
World ends in October, remember? Who cares about the environment.
 
Now, if you say..... yeah right.... keep the car for more than 5 years.
 
At peak rush hour, 95% of the UK vehicle fleet is parked up.
 
Hybrids have WAY HIGHER REPAIR costs.
 
That's good for the environment right?
 
@CatPlusPlus Will C++0x be released before world termination?
 
6:42 PM
A battery lasts 5 years on avg.
 
@FredOverflow Expected publication date is 20120228.
 
@FredOverflow No, someone will throw in the destructor.
 
What happens at the 5 year mark when all your hybrid or electric car batteries fail.
 
Kaboom.
 
Turns out, -Wl,--incremental-full messes up with exception handling. So I have to choose between slightly faster builds or correct code.
 
6:43 PM
80 per battery for cheap battery * the 20 or so batterys you have.
 
Imagine there was an amusement park ride called "the destructor", and one of the passangers got really sick...
He would throw in the destructor!
 
@LucDanton I'd go for correct code. Buy some swords.
 
throw up;
 
I named my towel destructor.... so I can throw in the destructor when I finish.
 
You can't throw down the stack.
 
6:44 PM
try... catch... finally { throw; }
 
@MartinhoFernandes You know, I am sitting on a rolling chair.
 
@Xaade LOL
 
@LucDanton Who doesn't.
BTW, anyone tried the LTO in g++ 4.6? Does it work, or does it blow up everything?
 
@FredOverflow It's even funnier when you remember that a hitchhiker should always have his destructor on hand. If he has his destructor, one may guess that he has the rest of his code for his class, and let him borrow a copy constructor if he needs it.
 
6:47 PM
@CatPlusPlus Do you have a test suite?
 
@KerrekSB Do I look like I have a test suite? :P
 
@CatPlusPlus I don't really use it that much what with it being incompatible with debug info, but at least it builds.
 
It's in TODO.
I need to replace the build system first, because now g++ ICEs on a precompiled header. I suspect compilation options get mixed up somewhere, but it's nigh untraceable in bjam.
 
@CatPlusPlus Your test suite is in TODO... I wish I had a second residence. In Japan nonetheless.
 
And the test suite runner requires OpenGL, which is not ideal and pretty much fails on the buildslave.
 
6:49 PM
What?
 
@Cat Second residence and an OpenGLock. Well, prepared.
 
I took everything except main, put it in a library and linked with a test runner. Turns out, it doesn't work so well. :P
 
@CatPlusPlus Can't remember if LTO + precompiled headers is supported.
 
Hm, Brian Beckman is a bit hard to stomach.
He is trying so hard not to use any formalism that it becomes tedious and laborious.
 
You were supposed to watch him, not eat him.
 
6:53 PM
Hehe
"Compositionality" is a word he just made up. "Composability"?
 
Compositionality is the level of composition of something.
 
What does that mean?
 
You expected it to mean something?
I have no idea.
Just sounded right somehow.
 
"Composititude" would be a better word. "-ness" for the bool, "-tude" for the measure. "Aptitude vs aptness". "Amplitude" vs "ampleness". Etc.
 
Ability to form composition, I'd say.
 
7:01 PM
"Composability"
 
Could be.
 
It's the cardinality of composition.
 
What does that mean?
(I know what "cardinality" means. I'm asking about the meaning of your definition.)
 
Grr, you'd think Bethesda programmers would know how to centre the damn window on the screen. But no. Not Fallout 3, not Oblivion. Fallout: NV also, but that's by someone else on the same engine, I think. Anyway.
 
Hmm, I've got to use more smileys. I'm not trying to make sense, sorry ;)
@CatPlusPlus What window? Isn't it a fullscreen application?
 
7:05 PM
It has a windowed mode, as every game should.
 
Ah, yes, I can agree to the humour in making up new quasi-categorical words :-)
 
But say, if I compose A with B, and B composes with C, the A-C relationship has a compositionality of 2.
 
What's the "A-C relationship"?
 
What if C also composes with D, and D also composes with C?
 
I doubt that any of this is well-defined. I.e. there are many ways to write the same thing
 
7:09 PM
Depends on the field.
 
A-id-B-id-C = A-B-C
 
But the compositionality is not the same.
It doesn't seem like a very useful concept, because... it isn't.
 
Try a basic test case: Does the definition make sense for the symmetric group?
 
@FredOverflow Hmm, recursive compositionality.
 
The point is that it would be an A-C-D-C relationship.
 
7:11 PM
It crashed on the intro. Good start.
 
Hehehe
 
7:22 PM
@FredOverflow I come back from dinner and this is what I read?
 
hello all
talking to @Alan about "qualified-id"
 
hi
 
7:41 PM
'ello
 
Dammit, if you're making a text editor that automatically closes brackets, make so that if I type f(x); I don't end up with f(x);).
 
sbi
@MartinhoFernandes I think VAX doesn't run into that problem.
But, yeah, I am with you on that. Either make it really smart, or really dumb. Nothing worse than half-intelligence.
 
Is VAX a text editor? The VAX I know is an old computer architecture.
 
sbi
@MartinhoFernandes Visual Assist from wholetomato.com, a plugin for VS.
 
7:48 PM
Ah, I heard of that, but VAX didn't strike a chord.
Anyway, I'm on Linux now.
 
sbi
@MartinhoFernandes WINE. :)
 
go VM
 
s,WINE,MILK,
 
I still have to try out that VsVim you told me about a while ago.
 
sbi
@MartinhoFernandes By JaredPar? Did I tell you? If so, I forgot. But yeah, I see him talking about it on Twitter.
 
7:51 PM
Yes, that.
 
sbi
@JohannesSchaublitb Really, I do like milk, but sitting on this terrace in the mild evening sun, looking at the Atlantic a bit further down, the 1000m vertical crater rim cliff seemingly right behind the house, I much prefer this local red wine that i have in my glass.
Besides, they don't have real natural milk here (and how could they; there's not enough pastures for keeping enough cows), so I barely drink milk here anyway.
 
You keep describing those views just to make us jealous, right?
 
sbi
@MartinhoFernandes No. If I tell about this, I, too, appreciate it much more than when I just silently consume it. :)
 
i was in europa park at weekend!
 
grrrr.... I hate downvoters that just randomly go downvote something without giving a reason
I just got downvoted on two answers, that were fairly old, and no explanation given
ugh
 
8:03 PM
downvoters gonna downvote
 
Revenge?
 
bastards
haters gonna hate
 
I nearly always dowvote without commenting
 
you! Why?
 
@TonyTheTiger i don'T know. it's easier that way
people won't know it's me
but I only don't comment if the downvote is for obvious reasons
i.e if the accepted answer says something different than the one I downvoted and is agree'ed upon.
or when another guy already gave the reason etc
 
8:17 PM
oh ok, that's fine then, in that case
 
When the fix is obvious, I sometimes just comment and fix it myself instead of downvoting.
 
Hello everyone
 
yes, i finished the featured i needed to add in that dreadful basic code
oh my god.
 
You kept your soul?
 
yes, not my hair tho' :P
I hate BASIC more than I hate regex
 
8:22 PM
Well, could have been worse.
I think
 
It is worse. Now that my boss knows I can handle that code, I will probably be adding more stuff soon.
 
Damn. I forgot that "surviving the fix" means "owning the code".
2
 
Indeed :(
 
That's what you get for being capable.
Next time, procrastinate ;)
 
Like a champ.
 
8:26 PM
hey
it's job security
 
Yeah, I mean, the reason there's so many bugs in code is because someone has to go and fix them.
 
Lots of helpful tips for job security.
 
Creates jobs
Good for the economy.
 
I don't know. Seems like too many jobs hurt the Portuguese economy.
We're firing people to sustain it.
I think what is good for the economy is work done, not jobs.
 
sbi
@JohannesSchaublitb I envy you.
 
8:29 PM
lol
 
Man, I love inline editing.
And I hate my flaky Internet connection.
 
I was procastinating just fine btw
I got like 2k rep in SO
but sometimes you have to do someting, rite? :P
 
sbi
Mar 4 at 20:31, by sbi
@jalf Procrastinate now! Don't put it off!
 
heh
 
If rep was commonly seen as a measure of procrastination, I wouldn't use my real name.
 
8:41 PM
man im reading that link @MartinhoFernandes posted, funny stuff... some wisdom there tho'
 
sbi
@MartinhoFernandes Why do you think I don't use my real name? :)
 
my real name is hexa
 
My real name is Martim Fernando.
At least that's what people think when I first tell them.
Annoying.
 
(my real name is not hexa btw)
 
Hi all
What is meant by mangling in programming point of view ?
 
8:47 PM
I noticed that the C++ SO community votes more than the C# community.
That is, without counting votes for Jon Skeet.
 
@Mahesh Are you familiar with nm?
 
@LucDanton - What is that ?
k
Will look into it.
 
Here I'm using it to list the symbols of main.o.
There are three symbols -- one for each function that I defined.
Compare the name of the symbols to the functions -- that is name mangling in action.
 
@LucDanton What does the numbers before it signify ?
 
They are offsets
 
8:51 PM
T ?
Is it something that states return type ?
 
More precisely, the number is the value of the symbol, and the letter after that is the kind.
T/t means 'text' symbol, uppercase means it's global.
 
Return types do not get mangled, am I right?
 
@MartinhoFernandes I'm not that familiar with the Itanium ABI.
$ c++filt _Z1fPi
f(int*)
I guess not.
 
I thought they didn't, because you can't overload on return type in C++.
Hmm, didn't know about c++filt. Nice.
 
9:04 PM
I can't find where to buy Accelerated C++ here in Brazil
some bookstores have it in their list but it is marked as out of stock
 
amazon?
 
I pay 40 USD minimum for the shipping
 
yeah, it's the price of the book
 
I get free shipping from amazon.co.uk if I order more than 25 pounds.
 
9:06 PM
Lucky you
 
Is there no such thing available there?
Sucks.
 
there is no amazon.com.br
There are other stores, but none have the book
I guess I'll just find a dodgy pdf somewhere
 
yeah ;)
 
Hello
 
9:13 PM
hi
 
After I read "C++ Begginers Guide by Herb Schildt" it's a good idea a reed "Programming Principles and Practice using C++ by Bjarne Stroustrup" or I read "Effective C++"?
 
Read all the books in the FAQ. It is the only safe way.
 
Effective C++ is usually recommended
 
But my first book it's the Herb Schildt...
 
For real?
 
9:15 PM
Some peoples say it's bad...
 
If you read whatever book, any of those seems fine, and you do a lot of side coding with what you learned, you will know what book you need to read next.
 
Hmm, searching inside that Schildt's book for "raii" or "resource acquisition" gives exactly 0 results.
 
Going home, later
 
"using namespace std" however, gives 237 results.
 
@hexa What is this link?
 
9:19 PM
@MartinhoFernandes That's underhanded!
 
Hmm, looking at the contents, it seems to teach some C first, and then little C++. It mentions strcat, strlen, etc on chapter 4, and std::string seems to be nowhere.
"vector" is not mentioned even once.
 
are you sure that searches inside the code samples?
 
Even if not, the accompanying text should have the word "vector" at least once, no?
 
probably
 
It has my stamp of approval as a Bad C++ Book™.
6 mins ago, by Martinho Fernandes
"using namespace std" however, gives 237 results.
I think it searches inside code.
 
9:25 PM
ok, that's bad
 
"using namespace std" is even one of the sample searches Amazon suggests for this book.
This Search Inside feature is very nice.
 
lol
ok, here's a question
since comments can appear anywhere, how do I insert them into my grammar?
 
I like to ditch them in the lexer.
 
yeah, but they still have to be tokenized and parsed
 
Yes, in the lexer.
 
9:31 PM
right
so not in the grammar, then?
 
Yes, not in the grammar.
That would make it terribly complicated.
 
right
so if I write a tokenizer, then it doesn't actually tokenize according to the grammar, because it will ignore comments and those aren't specified in the grammar
 
That's what I've done in the past.
Just treat them like whitespace.
 
ok, I can grok that, my grammar doesn't define whitespace either
 
@hexa: do you by chance, have an .edu email address?
Amazon has a student program with free shipping for some items, if you have one of those.
 
9:37 PM
I don't think hexa is here...
 
He will get my message anyway.
@hexa Nah, forget that. Stupid small print. Only covers the US.
 

« first day (269 days earlier)      last day (4664 days later) »