« first day (410 days earlier)      last day (4539 days later) » 

7:00 PM
I suspect my C function won't alter the char*
 
I was merely curious to compare it to genesis, who is 50% less
 
@DeadMG Ha! I have 36.
@sbi has 37.
 
@sbi is over 50, so I wouldn't go there if I were you :D
 
my C function doesn't change the char*, so I guess I can use const_cast?
 
sbi
@DeadMG Your ratio is little above Jon Skeet's (who is hitting the rep cap daily).
 
7:01 PM
@DeadMG He has been mass-deleting his bad answers, to the point that the system auto-flagged him for vandalism.
 
rofl
tis true, I hardly shy away from posting, uh, judgemental answers
 
I have a pretty beastly 17.6 rep / answer, just saying
 
@sbi Yeah, but if you count upvotes/answer (i.e. put the rep cap out of the equation)...
 
sbi
@RMartinhoFernandes Can you even see those on a profile? Goes off looking...
 
7:02 PM
@TonyTheLion That's one of the reasons const_cast exists: to cope with non-const-correct APIs.
 
@TonyTheLion the syntax is func (const_cast <char *> (*vector_iterator)), by the way
 
I just hit 1 kibianswer today :v) (…and 27 rep/answer, but that doesn't count questions…)
 
@TonyTheLion But if the function actually does modify the value pointed to, then the results can be undefined. I'm pretty sure it's only undefined when the original value was declared const, but it may always be...
 
@DavidStone ok thanks
 
it's only UB if it was const originally
 
7:05 PM
right
 
@sbi No, I used a query.
 
int i; const int& ref = i; const_cast<int&>(ref) = 2; // not UB
 
OK, that's what I thought
 
sbi
@RMartinhoFernandes Ah! You sent me off chasing rabbits on this one...
 
my puppy can't run fast enough to catch a rabbit, I doubt that you can :P
 
7:06 PM
How many of you guys are regularly using C++11 now?
 
sbi
@DavidStone I wish I was using C++. :(
 
@DeadMG Ha, your puppy sucks.
 
lol
 
@sbi What are you using? COBOL and IBM Assembler?
 
my dog can catch rabbits
 
7:07 PM
;)
 
are you kidding? my puppy's ridiculously fast
 
My dogs can't catch rabbits too.
 
no, he's using .NET
 
rabbits are just also ridiculously fast
 
Yeah, I know. I used to hunt them.
 
sbi
7:07 PM
@DavidStone C#.
 
my rabbit can catch dogs...
 
lol
 
lol
 
@DavidStone depending what you mean, maybe 1/3 to 2/3 of us, including me
 
my dog would most assuredly kill any rabbit attempting to catch it
 
7:08 PM
haha
surely
 
I'm using Visual Studio 2010, so rvalue references, type inference, and lambda expressions here
 
@DavidStone IBM assembler is teh awesome so don't go comparing it to some silly accountant's language.
 
in fact, I just finished creating a lexer from some expression templates which was made substantially easier by all of the above features
 
@DeadMG And could be even easier with variadic templates, I guess...
 
nope
there's not one use case for variadic templates in here
 
7:09 PM
The biggest C++11 things I've taken advantage of so far is cstdint and constexpr. I've also used some initialization lists. G++ 4.6.2 for me
 
@DeadMG What about those endless lists of or'ed match_equality?
 
that's a parser, not a lexer ^^
 
You could have one big or_everything(T...) function.
 
wouldn't be any better
 
I'm still waiting for clang to support cstdint
 
7:11 PM
You know cstdint has been around since the 80's as stdint.h, in various forms of standardization.
 
Also in boost.
 
I'd just have to have or_everything( match_equality(...) , match_equality(...) ) instead of match_equality(...) || match_equality(...)
I'll take the expression template any day
 
@DeadMG match_equality_everything.
 
lol
it's possible for me to significantly reduce the number of match_equality if I want to
but I chose not to
I don't really think the result would be superior
 
@RMartinhoFernandes Hey, what's happening in Portugal? The economy seems to be pretty bad?
 
7:15 PM
pretty happy with it how it is
 
Nothing new.
 
Are you near the crisis of Greece?
 
Dunno, I'm not an economist, and I don't have the faintest idea of the state of affairs.
This new government from the party that constantly complained about the old government not telling the whole truth, is not telling the whole truth.
You get used to it after a while.
 
of course, that's Politics™
 
sounds like any old govt
 
7:18 PM
But do you have the same crazy-ass laws as in Greece? Retirement at 50? Companies that don't have to pay taxes for their employees, instead the employees will pay it manually? And so on..
 
@ManofOneWay What insane stuff we will have to do is still being decided.
 
I doubt retirement at 50 is in any Greek's plans right now
 
So you don't have to work after 50 either in Portugal? =)
 
can somebody help me with this task - > stackoverflow.com/questions/8331507/…
 
Problem is, every month or so a new hole is found on the budget.
 
7:20 PM
can't find the problem..
 
@ManofOneWay You only work if you want to.
It's up to you to survive with what you have though.
 
But still, you will get pension money after 50?
 
Last time I checked, if you retire before 65, you earn some % less per year you do it earlier.
 
@Oyeme Changing printf() to cout <<, does not C++ code make.
 
If you retire at 52 or before, you lose 100%.
 
7:22 PM
okey
 
At 53 you lose 90something%.
And so on.
 
Well, I really don't feel sorry for Greece
 
well, in my opinion, they borrowed recklessly
so what happens to them is their own fault
 
@Oyeme Also, I find it interesting that you commented on every #include except <conio.h>.
 
they should not have borrowed money during boom years
 
7:24 PM
And they should not have these crazy-ass laws
Retirement at 50, come on.
 
mmm ok.
thanks..
 
@DeadMG exactly
 
but of course, I am a hypocrite
 
Question:I need to found in each proposal max and min text.On the first step it's truncated.How can I avoid it?(Do not truncate after using it) –
 
Government must spend during recession and payback for it during economic boom.
 
7:24 PM
the UK is the most indebted country in the developed world, IIRC
 
What about Italy?
 
Italy has nothing on us
 
They're highly indebted too.
 
their government deficit is 3% of GDP, shrinking by 1.5% over the next two years to 0%
 
7:25 PM
ours is about 7% right now, shrinking at about 1% a year
 
Potatoswatt - yes..I'm doing this task for my friend.
 
that's not debt, that's new borrowing
 
There's some statistics right now
 
our total national borrowing is 500% of GDP
 
Government debt (also known as public debt, national debt) is money (or credit) owed by a central government. In the US, "government debt" may also refer to the debt of a municipal or local government. By contrast, annual "government deficit" refers to the difference between government receipts and spending in a single year, that is, the increase of debt over a particular year. Sovereign debt, specifically, is debt owed by a government that is issued in bonds with a foreign currency. In the 2010 Greek debt crisis, for example, the debt is held by Greece in Euros, and one proposed soluti...
 
7:26 PM
Yeah, talking about deficits misses the overall point
 
^ See teh table.
 
far higher than anyone else
 
@ManofOneWay Yay, colors.
 
but we have about two advantages
 
Debt tells you where you are, deficits generally seem to say how quickly things are getting worse than they already are
 
7:26 PM
one, our central bank buys our debt, and the ECB won't
 
Debt per capita: 1. Japan 2. Singapore 3. Greece 4. Belgium 5. Italy.
 
@StackedCrooked Nasty China!
 
They will take over the world
 
and two, our debt generally isn't due for about thirteen years
 
7:26 PM
about being silly
love this vid
 
whereas Italy's debt is due next year
 
Being a Belgian I have a debt of $ 38,139.
Belgian is among the only 5 countries where debt exceeds 100% of the GDP.
 
What a moronic country I live in.
 
@StackedCrooked At least you don't have a government.
 
7:29 PM
@StackedCrooked How does Iceland not rank? Because their debt is owed more directly by the populace?
 
The European Commission, for example, last week said that the UK's deficit in 2011 would be a stonkingly high 9.4% in 2011, followed by 7.8% in 2012 and 5.8% in 2013, whereas for Spain the progression would be a less troubling 6.6%, 5.9% and 5.3%, and for Italy it would be a seemingly benign 4%, 2.3% and 1.2%.
 
I wonder why Japan has such a huge debt.
 
Ha, those morons never get the predictions for ours right.
:P
We always manage to prove them optimistic, no matter how pessimistic they were.
 
lol
Next year it expects to have to borrow £162bn or 192bn euros to keep the UK afloat, of which just £53bn or 62bn euros represents borrowing to repay existing debts that are falling due for repayment.

By historical standards for the UK, that is a lot of money.

But compare it with Italy - which next year has to borrow 307bn just to repay maturing debt. On top of that, Italy will have to borrow even more to finance the gap (however small this turns out to be) between its revenues and outlays.
It's the number "13.99" which tells you the UK isn't bust and probably won't go bust. That's the average maturity of British government debt, the number of years that we as taxpayers have to pay off what we owe our creditors.
 
Our biggest problem seems to be the fact that we're not able to pay back any debt at all. We barely manage to cover the interest.
 
7:34 PM
We're borrowing new money in order to pay off old loans. And they claim that this is normal.
 
yep, I think that's what the BBC were implying
everyone else has to keep borrowing just to stay on the level
whereas the UK has, relatively, absolutely forever to pay off their debts
 
The money we borrowed is already gone.
 
so even though they're stonking high, we can take our time about it
 
@DeadMG Right, keep thinking like that.
 
lol
 
7:37 PM
Not my problem. If it gets tough then emigrate.
 
hey, it was only a few years ago we paid off our debt to the US over their help during World War 2
 
Dammit, why is every other noob using OpenCV?
 
@DeadMG To be fair, that was a tremendous number, and essentially fudged anyway… lend-lease was just the first phase of US involvement.
 
I just gained a new ignored tag.
 
well, yes, I'd say their main contribution to our war effort was sending all their tanks and men over here to die
 
7:40 PM
@RMartinhoFernandes Clueless professors must give each other advice.
 
@DeadMG Tanks don't die, silly.
 
true
but they are irrevocably destroyed
same for their planes
and while the UK made massive technological contributions to the war in both atomic and computer science projects, it's also true that the US contributed mostly to the atomic bomb which finally ended the war
 
It was not relevant for the war on Europe.
 
well, I thoroughly suspect that if it had become necessary, it would have been
 
If the Pacific front reached Europe, the Axis would already have won…
 
7:45 PM
@RMartinhoFernandes It was relevant for the war in Europe.
I'd say it was mostly to keep our 'ally', the USSR, in line
 
@DavidStone How come? VE day was on 8 May 1945. The bombs were dropped on August.
 
Read up on nuclear diplomacy
 
The world hadn't the faintest idea of their existence before.
 
@DavidStone What did it stop them from doing? They just stole the design straight away.
 
I guess I typed too slow
 
7:47 PM
@DavidStone That was after the war.
 
The "war in Europe" I was referring to there was the beginning of the Cold War
 
Well… to be fair it helped that German scientists fled to both USA and USSR.
 
lol, "fled" to USSR.
 
My claim is that the nuclear bombs in Japan were aimed just as much at sending a message to the Soviet Union as to Japan
 
@RMartinhoFernandes Fled, captured, anyway they escaped immolation.
 
7:48 PM
And the threat of a weapon of unusually destructive power helped keep the Soviet Union from 'liberating' more land
 
Many people really believed in Communism, you know, events in Ukraine etc were very well kept secret.
 
sbi
@DavidStone "Nuclear diplomacy" — now there's a term I'#d do well to remember. Very impressive.
 
@DavidStone Except they still took what they could, including half of Germany, and enough knowledge and talent to catch up quickly early in the Cold War, in bombs and delivery devices.
 
Sorry, looks like the term is "Atomic Diplomacy" actually
That's the name of the book on the subject, anyway
 
sbi
@DavidStone The same bovine excrement, if you ask me.
 
8:15 PM
In Japanese anime European people are almost always Germans.
 
With blond hair.
 
sbi
In America, Germans are almost always Bavarians.
In Hollywood, the villains are often blond, with blue eyes, and a German accent.
 
And stupid. You forgot stupid.
 
sbi
@RMartinhoFernandes Actually, I think that's wrong.
 
Name one counter-example.
 
sbi
8:24 PM
@RMartinhoFernandes Die Hard.
 
any Hollywood film with Hitler as the villain
 
@RMartinhoFernandes Careful with that.
@DeadMG Yeah, they always render him as completely insane
 
@sbi Damn, I watched that a long time ago. I guess he made the "send one henchmen at a time into the hands of the hero" mistake?
 
sbi
@RMartinhoFernandes It's been a long time here, too. It was just the first one that came into my mind. Whatever he was, and despite the fact that Bruce certainly outwitted him, I don't remember him as stupid at all.
 
8:31 PM
oh man, it's nice to go to the gym
some brain dead weight lifting
do you guys exercise?
 
No.
I know I should
 
sbi
@ManofOneWay I exercise my brain. Does that count?
 
I'm about as physically active as a brick dipped in molasses
 
@sbi It does not
 
I regularly walk around the block.
 
8:33 PM
@RMartinhoFernandes Always something!
 
@sbi Ok, McClane being smarter doesn't make Hans stupid. But that's just one example of a smart villain. They're often stupid.
Or should I say "McClane being smarter doesn't make Jack stupid"?
> In the German dub, the names and backgrounds of the German-born terrorists were changed into English forms (mostly into their British equivalents, with the exception of Marco and Franco, who retained their Italian and French nationalities respectively): Hans became Jack, Karl became Charlie, Heinrich turned into Henry.
 
sbi
@RMartinhoFernandes Being a meat bag, I don't remember all those names.
 
@sbi I must say I admire your english skills, you're much better than me and you are german! You guys use dub over there
 
sbi
@RMartinhoFernandes You might have a point there. Really. I'm not watching that many Hollywood movies where the villain resembles an Übermensch.
@ManofOneWay Yeah, everything is dubbed here in Germany. It's quite annoying, really, because the movies lose so much in the process.
 
I really can't stand dubbed movies. I'm glad subtitles is the standard here.
 
8:38 PM
@sbi So, I guess you are reading a lot of books?
 
sbi
Nowadays I usually watch movies at a movie theater where they show them in their original English. If I watch DVDs, I use the original English sound, with English subtitles to help me along.
 
do you read compiler errors in English?
 
I forced my father to teach me to read when I was five because I wanted to actually understand what was going on in movies.
 
:)
Did you manage to read at that age?
 
@DeadMG I heard Microsoft likes to translate them.
@ManofOneWay Not fast enough to read subtitles, unfortunately.
 
8:40 PM
yes, I've also heard that the job they did was exceedingly dubious
@RMartinhoFernandes Wow, that's late. By the time I was five, my parents were talking about suing the school because they had nothing I couldn't read faster than the teachers could
 
@RMartinhoFernandes VC++ error messages in French, hell yeah.
The translation isn't that bad
 
@DeadMG I didn't go to school before I was six.
 
that's late
English kids usually start at 4, and home-schooling before that
 
@DeadMG seriously?
In Sweden we start at age 7
 
sbi
@ManofOneWay I am, and I have mostly read English books for almost a decade. And don't forget that I have been around Usenet since the early 90s. That makes for a lot of practice in reading and writing English. Speaking English, however, I have not a lot of practice in, as I always realize when I have to speak English. (And don't get me started about phoning...)
 
8:42 PM
yeah
we waste most of it on useless shit like Shakespeare
 
It's not that useless.
 
I am trying to predict the future.
 
@sbi Yeah I know what you mean, but I've been getting better at speaking since we have some indian guys in school
 
sbi
@DeadMG I remember when Borland started to translate their error messages. The result was appalling, not the least because the translations certainly mess up stuff (like translating keywords essential to the error message).
Later MS started to also translate error messages in VS. Since then I can only stand the English version of VS.
 
yeah
I've been thinking of not translating any error messages for WideC
 
8:45 PM
My English teacher said I spoke English really well. Last year I had to play translator for my uncle that was doing business with some Englishman, and he said I spoke it better than some natives.
 
nah, the natives just changed the definition because they're lazy
 
I think he was just being nice.
 
In text it might as well be true, since we have to think about the grammar a lot more in school than the natives.
Even though my grammar is no good
 
I learned English by playing StarCraft.
 
"SCV, ready to go sir"
 
8:48 PM
even Koreans are starting to speak English
 
sbi
For many programs I prefer to use the English localization. I even use an English FF. Sometimes I wonder whether I should install an English OS, rather than a German localized one. The one thing this doesn't work well with, however, is text processing. Since I have to write texts in German, I need to install a German text processor. I wonder if there's a quirk hidden in dong this on top of an English OS.
 
@ManofOneWay I played on Europe despite the fact that US East was much closer to my location, and most of the anglophones I met were Swedish.
 
use virtualization?
 
@sbi Any decent text processor will work fine. Using Word for Portuguese works nicely on an English OS.
 
@EtiennedeMartel anglophones, I had to look that up, why didn't you just say "english speaking"? ;)
 
8:52 PM
@ManofOneWay Because English is not my first language.
 
I translated it as a typo for "anglophobes"
 
And anglophones is much more cooler.
(French are used to saying Francophones, right?)
 
Yes, but without the accent on the o.
 
Damn.
It's been a while since I wrote French.
 
sbi
@RMartinhoFernandes I know that it works in principle, but often the devil is in little details we tend to not to anticipate. For example, I use an English browser mainly because I want the original, English version of translated websites. Who would think about that when deciding whether to use a localized version of a program?
 
8:54 PM
French can be incredibly annoying to write.
 
"élève". Did I get that one right?
Silly language that allows more than one accent per word.
 
What's the difference between ´ and ` ?
 
sbi
@ManofOneWay One looks to the left, one looks to the right. Oh, and one can be used for code on SO, and one cannot.
 
@sbi You can get that with the localized version of Firefox. It's a configurable option, it just happens that the localized version ship with that set to the local language by default.
 
8:56 PM
@ManofOneWay The sound it makes.
 
@sbi So they are both looking at l in this case
;)
 
@ManofOneWay French "è" reads like "é" in Portuguese. French "é" reads like "ê" in Portuguese. Does that help?
:P
 
sbi
@RMartinhoFernandes See, it's even more complicated than I thought. You're making my point while trying to invalidate it. :)
 
@RMartinhoFernandes That makes perfect sense
 
sbi
@RMartinhoFernandes What silly languages that require accents for almost all words. :)
 
8:58 PM
In german, do you use å, ä, ö ? I've forgot
@sbi It's the feminine ones
 
sbi
@ManofOneWay We use ä, ö, ü, and ß.
 
@sbi Shut up, I heard you have the worst grammar in the world.
 
@sbi das Doppel s ja
 

« first day (410 days earlier)      last day (4539 days later) »