« first day (418 days earlier)      last day (4531 days later) » 

11:00 PM
It seems my wife thinks it's my night to make dinner, that's some bullshit
 
I also don't understand why they completely ignored the stall warnings. They should have at least checked its validity.
The warning is useless if you're going to ignore it anyway.
 
-Wall -Werror
 
sbi
Yeah, @OghmaOsiris, try not to lose @keith, because he will be the only one left once us European slackers went to bed. (It's midnight here, and 11pm at Europe's western-most fringes.)
 
@sbi: I had a German vacuum cleaner (Miele brand)... it cost me an arm and a leg and the bags for it cost me my vacuuming arm and hopping leg
 
And I'm really trying to understand. But when everyone tells me I suck at something I get defensive and just want to give up.
 
11:02 PM
Nah I'm kidding it was actually reasonably priced and was the only one with a 3 year warranty
 
sbi
@OghmaOsiris So you suck at taking the truth that you suck at something? That sucks big time! :D
 
There's too much suck in that sentence.
 
Play nice.
 
@OghmaOsiris: First of all... sucking at programming is what most programmers do best, so don't feel bad about it
 
And Tribes crashed. Great.
 
11:02 PM
@OghmaOsiris: Do you have a copy constructor somewhere?
 
What's with stuff crashing on me today.
 
@CatPlusPlus Admit it, this is not your day.
 
Wow, it's 1998 all over again.
 
@OghmaOsiris: Second, it's really important to learn the tools. Compiler, debugger, profiler, etc.
2
 
sbi
@RMartinhoFernandes Can't be, it's past midnight there.
 
11:04 PM
@sbi You silly easterners.
 
sbi
@dreamlax I have a Miele one (it's almost ten years old, I think), too, but I buy some other brand of bags for it.
 
We decide when the day ends.
In about an hour.
 
10 AM here.
 
also good to remember that not everyone likes to do other peoples' homework for them
 
@RMartinhoFernandes So, let me know by 11 when the end of the day is.
 
11:05 PM
Now.
 
sbi
@RMartinhoFernandes Actually, I'm a middle European. It's just past midnight here, so it should be 1am for the @Cat.
 
@sbi No, it's 00:05.
 
Poland is on CET.
 
@CatPlusPlus No, it's 2011.
 
It's 12:05 pm, Friday the 9th of December where I am
 
11:05 PM
@OghmaOsiris:DerivedQueues print function will be undefined behavior if the class is empty, because the file failed to load for some reason
 
sbi
@RMartinhoFernandes Ah, sorry, I blew it.
 
And other Europeans are all easterners to me, remember.
 
Xeo
I just realized that @Cat might not live as far away from me and @sbi as would make us feel safe.
 
We are the westernest.
 
What?
 
11:06 PM
That's not a word, is it?
 
What about UK?
 
Anyone else South of the equator?
 
I should be working but it's Friday so no matter how hard I try, no work will get done
 
revenge for @cat
 
Also, my spinfusor skill sucks.
 
11:07 PM
@StackedCrooked They're north westerner.
But they're not mainstream mainland.
 
sbi
When i was a kid, we went to Poland for a day trip, and I was amazed that we had to adjust our clocks. But back then Poland was on summer time, and we didn't do daylight saving. But it still makes me think they're an hour ahead of us, despite the fact that I ran into this so many times before.
 
Friday morning here; boss thinks that 'agile' means 'make programmers do testing all day' - so I'll be doing a lot of "research"
 
Looking at the map Lisboa is as much in the west as Ireland is.
 
Of course it is.
Not.
 
@dreamlax I know Xcode pretty well, I think.
 
11:08 PM
@rvalue "agile" means run away quickly when you see him coming
 
@StackedCrooked You're just being fooled by the projection.
 
@mooningduck I do have a copy constructor it's defined in the parent class.
 
@keithlayne Or hotkey-ing a full-screen screencap of the IDE mid-debug
....
so setting that as my wallpaper
 
sbi
@Xeo You know, I was in Charlottenburg (far to the west in Berlin), when the @Cat and you started to complain today about your Internet connection failing, and I wondered if that's a problem east of me. Now I'm in Pankow (NE), and if my assumption was true, then the terminator is east of Pankow and west of Friedrichshagen. :)
 
@rvalue I bow before your sham-fu
 
11:10 PM
@OghmaOsiris: Knowing what buttons do when you push them isn't nearly as important as knowing when to push them. Similarly, knowing how to use a debugger effectively is more important than knowing what a debugger does.
 
sbi
@RMartinhoFernandes I think my father lives further west, still.
@rvalue Where are you living?
 
@sbi In Africa.
 
Xeo
@sbi Luckily, my failing connection had nothing to do with my internet connection in general, but with my crappy router
 
Just because those islands are Spanish, doesn't make them European.
 
@dreamlax I think you are the smartest panda I have ever met.
 
sbi
11:11 PM
@RMartinhoFernandes No, it's Europe, and they are in your TZ.
 
@sbi That's not Europe!
The Canary Islands (; , ), also known as the Canaries (, Berber: Taknara), is a Spanish archipelago located just off the northwest coast of mainland Africa, 100 km west of the border between Morocco and the Western Sahara. The Canaries are a Spanish autonomous community and an [[Special Member State territories and the European Union#Outermost
> Geographically it is a part of the African Continent.
 
archipelago is a fun word
 
@OghmaOsiris: your code defines functions for stackType, then main uses an instance of DerivedStack, which is wierd.
 
sbi
@RMartinhoFernandes You just can't stand not being the western-most! :b
 
@OghmaOsiris: and when I make minor changes so it compiles, it also runs flawlessly. ideone.com/w2Ca3
 
11:16 PM
I can't use Emacs without going through the UI menus.
It's Word all over again.
 
just without slime
 
Emacs is horrible
 
@sbi Australia
 
How does that quote go? "Emacs is really powerful, it just lacks a decent editor" ?
 
"Emacs is a nice operating system, but it lacks a decent editor."
Or something like that.
 
11:20 PM
No. It's not that.
It's "Emacs sucks."
 
@rvalue: Who's PM now? I moved back across the ditch when Julia Gillard was still PM... it was kind of embarrasing when our PM John Key went to visit and Julia was doing introductions and said (in her heavy accent) "We're good friends with the kayways" or something and John said something equally awkward/cringeworthy in his heavy "kayway" accent
 
Yeah, JG still
@RMartinhoFernandes Emacs may suck, but it sucks less than any other editor I know.
 
@dreamlax is the world cup still going on?
 
@rvalue The reason should be obvious: you don't know vim. :P
 
@RMartinhoFernandes I know vim. Modes are stupid.
 
11:24 PM
does vim have games?
 
Does it have a psychiatrist?
 
It could also be because your judgment is not clear :P
 
@keithlayne: Nah, it's all over now... NZ won, French came second, Aussie came 3rd.
 
french? wow. go all blacks, I guess. No surprise there.
 
sbi
11:25 PM
@rvalue I don't think I had seen an Aussie here before. Very welcome!
 
Emacs is nice, if your fingers are made of rubber.
 
sbi
(And did you read the newbie hints?)
 
Australia = spiders.
 
@keithlayne: it was a close final game actually, NZ won by only one point, mostly because our main kicker was sidelined with injury and our backup kicker buckles under pressure.
 
11:27 PM
And dropbears.
I suck at Tribes.
 
Didn't it crash?
 
Emacs is nice, if the year is 1976
 
sbi
@CatPlusPlus Cats eat spiders.
 
Things don't crash permanently, you know.
 
@CatPlusPlus: Spiders and other creepy crawlies are one of the reasons I shifted back to my sheltered life in NZ... the only venomous creature we have here is endangered.
 
11:29 PM
@sbi Don't scare the shit out of him!
 
And most bites from a katipo (en.wikipedia.org/wiki/Katipo) aren't even fatal
 
"katipo". That's a funny name.
 
@dreamlax If it's only "endangered", then you're doing it wrong.
 
katipo is Maori for "night stinger"
 
sbi
11:30 PM
@RMartinhoFernandes Is he an arachnophobe? I didn't know.
 
Maori is NZ nativespeak?
 
Places not to go to, ever: New Zealand.
 
@sbi You didn't? We had an episode a few weeks ago. I think you were here.
 
@RMartinhoFernandes: Sort of... everyone speaks English but Maori is an official language also, spoken only by about 10 or 20 percent I think
 
sbi
@RMartinhoFernandes So lemme correct: I might have known, but if so, I had forgotten. I'm just a meek meatbag, after all.
 
1
Q: Is Storm production ready?

danielsAnybody using Storm? Is is stable enough to be used in production?

 
NZ has the least corrupt government and one of the lest corrupt police forces... I feel better here than I did in Australia
 
I thought it's going to be about the botnet.
 
but Australia was awesome too... just a bit too hot and humid and every moving thing is venomous
 
sbi
@RMartinhoFernandes See, I already said back then that cats eat spiders! So it must be true!!!!11
 
11:34 PM
I can see how that's awesome.
 
anyway, time for a traditional New Zealand lunch
Chinese takeout
bbs
 
sbi
I buy things at ebay. Mostly stuff for the model train one of my son has, and for the 4.5V Lego train from the 70s which I passed on to the kids. Many months ago, when I bought some Lego at ebay, I messed up payments and ended overpaying this one guy. I wrote him about it and he said he'd just put it into the package. Well, I received the package, checked it's content, but had forgotten about the overpayment. Now, months later, while sorting xmas gifts, I find €0.87 attached to the stuffing.
Suddenly I'm rich! Good thing I hadn't thrown away the stuffing back then.
 
good night
 
Ho ho ho! Merry Christmas, mutherfuckers
 
@sbi Last I checked, the Euro didn't spike overnight. 80 cents can barely get you a coffee.
 
sbi
11:38 PM
@RMartinhoFernandes But it's 87!
 
@RM I heard it would buy a house in Portugal
something about the economy
 
Wut?
(Btw, you need three letters to ping me)
 
@keithlayne Stop reminding me.
 
Xeo
@sbi The question is, how much did you overpay originally? :P
 
11:39 PM
who said I wanted to plink you?
 
My completely made up term is catching on!
 
What's plink?
(Just playing Tony for a while.)
 
We demand boobs, then.
 
@RMa it's a polite way of saying, "hey buddy. this is a message for you. what? too busy talking about stupid shit to talk to me? okay, it's cool man. ttfn."
 
sbi
@Xeo I dunno, and I'm too lazy to dig it out. I remember thinking that it wouldn't mind even if he wouldn't pay it back. It was a good deal.
 
Xeo
11:41 PM
@CatPlusPlus ( . Y . )
 
sbi
Plinking needs three letters at least, IIRC, @ke.
 
Xeo
@sbi Good thing two-letter names aren't allowed on SO
 
sbi
@Xeo Now. They used to be, I think.
 
@sbi pay attention!
 
sbi
11:42 PM
@keithlayne Why? What's gonna happen that I shouldn't miss?
 
3 mins ago, by R. Martinho Fernandes
(Btw, you need three letters to ping me)
 
Hey, that's my task.
 
reading the newbie hints finally pays off...
 
sbi
@RMartinhoFernandes Depends on what the motivation is needed for.
For example, it would take a lot more than a pair of sturdy udders to convince me to sire another child.
 
11:44 PM
is there something like make_range() so I can use the new for loop with a pair of iterators?
 
Why do you have to call them "udders"?
 
@wilhelmtell In Boost.Range maybe?
 
That makes it sounds like they're on a cow or something.
 
he's trying to take the fun out of it for everyone else
 
Xeo
@wilhelmtell Sadly, no, you'll need to write that yourself.
But it's not that hard
 
sbi
11:45 PM
@keithlayne Really. I told you not to tell that!
 
hmm. i'm surprised.
so i suppose std::for_each() is here to stay.
 
Xeo
@wilhelmtell The standard doesn't think in terms of ranges yet
 
sbi
@Xeo BTW, I was surprised when I saw the Haskel room's tagline today. It seems the meta police fails at identifying ASCII porn.
 
Xeo
Oh, are partial specializations finally allowed in std with C++11?
 
@sbi It's a valid expression!
 
11:46 PM
well it'd just be a mock movable container. that's all the new for loop would need! would be so nice.
 
sbi
@Xeo I didn't know the Holy Standard is sentient!
 
@sbi It's been like that since ever.
 
sbi
@CatPlusPlus I never doubted that.
 
It's actually valid, working code.
 
but maybe i'm oversimplifying it, maybere there's a reason why it's not there.
 
11:46 PM
I said that already!
 
Not the working part!
 
sbi
@RMartinhoFernandes Yeah, ISTR you guys discussing it here, and I think you setup the room with that tagline back then.
 
@wilhelmtell don't you think though that for_each with a lambda is almost as good?
 
sbi
@Xeo Haven't they always been?
 
60 days.
 
11:47 PM
@sbi huh? even I know that
 
Xeo
It was more like a question if they are finally allowed
 
It's been up for 60 days.
 
Xeo
@sbi And no, only full specializations are allowed in C++03
 
@keithlayne yeah that's what i said, that std::for_each() is here to stay. but the new for is more succinct, and less code is a good thing. it's sugary, but good.
 
in Haskell, Nov 17 at 8:27, by R. Martinho Fernandes
Prelude> (((.).(.).(.).(.).(.).(.).(.).(.)) show (,,,,,,,)) 1 2 3 4 5 6 7 8
"(1,2,3,4,5,6,7,8)"
 
sbi
11:48 PM
@Xeo Oh. Now I should need to hunt down that comment I made today and correct myself. Looks around the living room. Maybe not yet...
 
Xeo
Atleast that's what I thought
 
Took me forever to find this one.
Silly chat search.
Lots of boobs there.
 
@Xeo what's the penalty for breaking that law? It's not specified, right?
 
Xeo
Undefined behaviour
 
It's like Total Recall all over again.
 
sbi
11:49 PM
@keithlayne That's not boobs, that's a sow's belly!
 
What's a sow?
 
sbi
@RMartinhoFernandes Female pig.
 
Ah, interesting.
 
Xeo
Because, you know, if partial specs are allowed, make_range becomes a simple make_pair with partial spec'd begin and end in std for pair<It,It>.
 
@sbi that was when you were "going back to get some work done" and I thought I might answer a question, but nooooooooo, some grumpy gorilla was slacking and answering questions.
 
sbi
11:50 PM
@Xeo I thought only overloading, which is partial specialization for function templates, is forbidden?
 
@Xeo That's not a partially specialization. That's overloading.
 
Xeo
@RMartinhoFernandes Overloading is forbidden, that's why partial spec
 
sbi
@keithlayne Yeah, I answered questions today. That was work, too!
 
@Xeo But it's not a partial specialization.
You cannot partially specialize function templates.
 
Xeo
Still not in C++11? Dang
 
11:52 PM
I answered a question today for the first time in like two months
 
Xeo
I could swear I remember reading that you can
 
You can't.
 
sbi
@keithlayne Oh, you're even worse than I am.
 
Xeo
opens the FDIS
 
but not before @RMa had to plink me to tell me the OP wanted me to answer it. Busybody.
 
sbi
11:53 PM
@Xeo It was discussed years ago, but didn't make it into the standard. I don't know why.
 
come to think of it, yes, i can see why the for loop doesn't work with a pair of iterators. std::for_each() does it better, and lo, more succinctly.
 
Why better?
 
because it's more expressive.
which is because it's more succinct
 
Xeo
@wilhelmtell Eh?
 
More succint?
 
Xeo
11:54 PM
I don't think so
 
for(auto x : range(begin, end)) {
    blah();
}
 
how does the new for work? can it be used with user-defined types?
 
Xeo
@keithlayne so long you define begin and end member functions
 
thanks
 
std::for_each(begin, end, [](whatever_is_the_type t) {
    blah();
}));
 
11:55 PM
for( auto dir_ent : range(directory_iterator(dir), directory_iterator) )
copare that with
 
Or free-standing begin and end.
It's looked up with ADL AFAIK.
 
struct range<T> : private pair<T,T>
 
std::for_each(directory_iterator(dir), directory_iter
 
@wilhelmtell And the code?
Did you try writing the lambda?
 
the code follows
 
11:56 PM
You can't use auto for the lambda parameter.
 
it's the same
 
You need to write out the name of the type in full.
 
oh true, if you use a lambda i suppose that bites of the conciseness
 
Xeo
template<class It>
struct range{
  It first, last;
  It begin() const{ return first; }
  It end() const{ return last; }
};

template<class It>
range<It> make_range(It first, It last){ return {first, last}; }
Not that much work
 
@wilhelmtell Of course, the direct equivalent must be a lambda. In the new for loop you write loop the code right there, not outside.
 
user406009
11:57 PM
@Xeo The question is, can you store ranges from several different structures in the same array?
 
I was thinking earlier...is the ranged for const-aware?
 
for doesn't work with std::make_pair() right?
 
Xeo
nope
because begin and end in std aren't overloaded for pair
 
Add a begin and end for pairs in the global namespace.
 
specialize for integral types too
 
11:58 PM
@keithlayne What do you mean?
 
that's not already included, right?
 
Xeo
D'oh
 
how does the for know the type of the element?
 
Deduces if you use auto.
 
how?
 
11:59 PM
iterator::value_type.
 
Xeo
@wilhelmtell decltype(*begin(range))
 
for (int const& n : container_of_ints)....
 
More precisely the result of operator*.
 
would that access with a const iterator?
 
Xeo
11:59 PM
@keithlayne If container_of_ints is const
 

« first day (418 days earlier)      last day (4531 days later) »