« first day (1076 days earlier)      last day (3890 days later) » 

10:00 AM
@borgleader well DirectX has a noticeable overhead, but until I see benchmarks comparing OGL and Mantle, it's just a marketing BS
 
> another standard
> only for a specific GPU manufacturer
 
Sounds great.
 
that's Mantle for you
 
Maybe NVidia will make their own too.
 
Why couldn't they stick with OGL? I don't get it
Oh and just like AMD's history, it doesn't even support Linux.
Or well, I don't see an implication or explicit statement saying it does. Finally found it
 
10:04 AM
Hah. Html escaping fail in Ideone output pane: ideone.com/QFBPJK
 
lol
It's all strings, and then that happens.
flavoured_string<struct escaped> would do wonders.
27 mins ago, by R. Martinho Fernandes
@A.H. No one knows how to program.
 
@Rapptz I thought it stated "cross platform"
 
user1804599
@sehe s/O/o/
 
And then we change HTTP to marshal C++ standard library classes natively
 
@BartekBanachewicz Yeah I found it.
 
10:05 AM
@not-rightfold o.O
 
Coliru seems bad with it too. "Using xfrm: aba in rábano == false"
 
@sehe What? You can use .data() from a flavoured string just normally.
@Rapptz It is interpreting UTF-8 as Latin-1/Windows-1252.
 
Yeah, I was jabbing at HTTP being all text anyway
 
@sehe Well, HTTP is not the problem at all.
 
I noes, actually. I still don't like it
 
10:07 AM
The type error occurs in the server.
 
@R.MartinhoFernandes For ideone, yes. For coliru, I suppose some meta tags/content encoding header needs to be set.
 
@R.MartinhoFernandes Might be a Chrome thing.
 
Chrome sucks?
 
works fine in chrome here 8-)
 
10:08 AM
Well I used the "Copy to Clipboard" thing ideone has.
So it's either that or Chrome.
 
@Rapptz Windows codepage. Kinda implies windows client?
 
user1804599
@Rapptz Works fine in Chrome.
 
@Rapptz Ah, then it's the Flash thing that is broken.
 
@R.MartinhoFernandes Yeah it's the "Copy to Clipboard" thing. When I copy paste manually it works okay but if I do it through ideone it messes it up.
 
@Rapptz Hrrmrm? Ideone has a "Copy to Clipboard" thing on Coliru? Confused
4 mins ago, by Rapptz
Coliru seems bad with it too. "Using xfrm: aba in rábano == false"
 
10:11 AM
@sehe He copied the source from ideone. The copy corrupted it.
 
@R.MartinhoFernandes Except for ... the comparison not doing what the OP expects then. I'm not up to speed with Spanish collations, so I don't know what to expect (could be missing locale?)
@R.MartinhoFernandes Ahaha. We're comparing input and outputs now. That wasn't confusing.
 
The OP is expects wrong.
Wait, not the OP.
Collation is for sorting, not comparisons.
Well, the OP.
 
@R.MartinhoFernandes Really. I extrapolated that from
> Transforms the null-terminated byte string pointed to by src into the implementation-defined form such that comparing two transformed strings with std::strcmp gives the same result as comparing the original strings with std::strcoll, in the current C locale
 
> but according to the current locale's rules.
This is the wrong part.
 
Xeo
@R.MartinhoFernandes Hm, can't get it to work
 
10:16 AM
Should be "but ignoring accents".
 
Of course, that's likely wrong, as they say that strcmp then behaves like strcoll which may or may _not) be suited for equality comparisons
 
Xeo
parse stuff `catchError` return (), where parse returns Either ParseError (My ())
guess I'd need to be inside the error monad, eh
 
Apparently, collation does not define equality, but only a total ordering. So you're really after a diacritics-neutral comparison — sehe 5 secs ago
^ does that work? (edited now)
 
I want a real LoK game :<
 
10:21 AM
@sehe You can be a downright prick sometimes, but you're a great teacher [->][stackoverflow.com/questions/5815448/how-to-just-undo-a-git-pull/… Thanks for the answer to the question. :)
@CatPlusPlus Legend of Korra?
 
Also @EtiennedeMartel I watched some ponies and it is so fucking cheesy I cannot believe anyone is serious about this
 
@GamesBrainiac Wokay. Thanks, I guess :/
 
@GamesBrainiac Legacy of Kain, heathen.
 
@CatPlusPlus Lol, its great to see you too heretic.
 
@CatPlusPlus ikr
 
10:23 AM
@CatPlusPlus Wait, you actually watched ponies?
And yaaaay! I knew @EtiennedeMartel would change the name of the topic as soon as he came in. It was getting too boring anyways.
 
@CatPlusPlus No wonder you don't get any compiler warnings ;)
 
wp
 
@sehe I learn from the best ;)
 
@GamesBrainiac Fun fact, you can't riff on things without watching them first.
But seriously, I still don't know what the fuck is with all these people going on about how great it is.
It's a show for kids. It's cheesy as fuck.
I WAS PROMISED GREAT PLOT AND LEFT DISAPPOINTED
Even Q was cheesy.
 
10:28 AM
Its supposed to be. Hey, you never know, now its ponies, maybe next time it'll be synthetic wool filled purple dinos :P
 
Xeo
@CatPlusPlus How much pony did you watch?
 
0.467321
 
@Xeo From what I heard the first episode is enough to get you hooked.
(It isn't)
 
@R.MartinhoFernandes Et tu? And I thought @not-rightfold was the crazy one.
 
I watched few first and the Q ones.
 
Xeo
10:29 AM
I also watched the first episode 2 years ago
with a few classmates at the GA
we just wanted something random for the evening
 
Holy shit, you're all fucked.
Wait, I already knew that.
Carry on :P
 
@GamesBrainiac Erm, what?
 
OH GOD YOU WATCHED A CARTOON
 
@CatPlusPlus AND DIDN'T LIKE IT!
 
BUT YOU'RE STILL CRAZY
 
10:31 AM
QED
 
@R.MartinhoFernandes Awww, its arrite. You can watch Barney....
 
What's "Barney"?
 
I mean, the show's good for what it is I guess, but I have no idea what's up with bronies and shit.
 
@R.MartinhoFernandes The force will guide you to it :P
 
It's more cheesy than Doctor Who and that's an achievement
 
10:33 AM
What?
 
Xeo
Robot, halp.
 
Why is GCC mocking me?
 
Hell++ incarnate
 
Because it knows
@kbok I reported that account for spam, I reckon that's what you retwote it for?
 
@R.MartinhoFernandes Well, you do occasionally spin on your chair and get your wires messed up.
I need some ice cream
goes to get some ice cream
 
10:35 AM
types about going to get some ice cream instead
 
nobody cares
 
I'm awesome
 
@CatPlusPlus If you ddnt care you'd probably write something in ALL CAPS
@R.MartinhoFernandes For a robot.
 
Okay, Brainiac. You're on a roll. It's actually quite entertaining. But it's getting a bit much. (Your friendly advance warning system. Maintenance in 1741km)
 
@sehe Want some ice-cream?
Nah, never mind. I gotta get back to work.
 
10:40 AM
@GamesBrainiac In the mean time I made lunch and coffee. Win
 
@sehe That was fast.
 
Xeo
meh, I can't get catchError to work. I'll just leave it as explicit case-matching, I guess
 
@GamesBrainiac in my own kitchen, I don't need to type the root password to make myself a sandwich
 
@sehe Wait, so you have the chartoom open in your kitchen?
Damn, why ddnt I think of that?
 
No I don't. Allthough I misplaced the tablet there. So, in a way I might have
 
10:43 AM
@Xeo Sorry, sorta busy with this GCC nonsense.
Also, hungry.
 
Eat the code.
 
I feel like beating NetHack again.
 
Xeo
@R.MartinhoFernandes Nevermind, I think the problem lies with ParseError not being an instance of Error >_>
 
@Xeo Hmm, I'd have expected the errors to make that obvious.
 
It's only obvious if you consume the error message
 
user1804599
10:49 AM
@R.MartinhoFernandes Eat a nipple salad. :|
 
@R.MartinhoFernandes Now you're just bragging.
 
@not-rightfold I think Cat's advice was better.
 
I'm bad at roguelikes :(
 
user1804599
I’m eating overprices Subway crap today.
 
@CatPlusPlus I'm only good at that one.
 
10:51 AM
I eel bad today.
 
Try salmon.
 
user1804599
Ugh. Stupid Magento.
 
I just love python decorators.
 
user1804599
Uses radio buttons as checkboxes so you can't uncheck them.
 
user1804599
Wonderful idea.
 
10:52 AM
Ahahah what
 
user1804599
@GamesBrainiac Me too.
 
user1804599
 
user1804599
:v
 
I really need to get back to learning some C++, then I can actually help people every now and then.
 
Tough choice
 
10:54 AM
Also did you know Cookie Clicker was updated
 
user1804599
@CatPlusPlus Yes.
 
> Do you want your possessions identified?
That was quick.
 
user1804599
The update was updated too, with a new item to buy. Something with dark matter.
 
I still can't get over about the fact that there's a 100-page thread about this game
 
10:55 AM
@sehe They should make genital sanitizer so you can touch them freely.
 
> Antimatter condenser
 
user1804599
Oh right that.
 
user1804599
I want 10kg antimatter bomb.
 
@not-rightfold Rightfold, the dead terrorist.
 
user1804599
@GamesBrainiac do it!
 
10:56 AM
Hell yeah. Would totally replace "High five" with "Low poke"!
Erm...
 
user1804599
I'm going to use Perl to generate C++ code.
 
THERE ARE UPGRADES
AND ACHIEVEMENTS
 
@not-rightfold what the hell happened to your site?
 
user1804599
@GamesBrainiac I deleted it.
 
user1804599
I'm going to make something cooler.
 
user1804599
10:57 AM
I already have something in mind.
 
This is what you tell your customers too? "I deleted it. It's what I do."
 
user1804599
WTF MAGENTO I WANT TO UNCHECK THIS
 
user1804599
You leave me with no other option but F12.
 
@not-rightfold I read that as "I'm going to delete something cooler"
 
@not-rightfold I have an idea. How about we help each other make our websites, and we can learn a new framework in the process. How does pyramid sound?
 
user1804599
11:00 AM
It sounds Egyptian.
 
@not-rightfold Hmm, but its more complicated than the other python frameworks, so I thought it would be something interesting to learn.
@TonyTheLion Tonnnnnnnnnnnyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
How you been bro?
 
I've a bool conversion operator overload as well as == and != operator overloads
Now when I compare using != sometimes it calls != operator overload but sometimes it converts to bool and the do regular comparison with bool
Is it possible to make it call operator!= always ?
 
Don't have a bool conversion operator.
 
I need, its an old code
like should I use if(operator!=(a, b)) instead of using if(a != b) ?
 
Yay, OOP-course's final test passed.
Now let's focus on something actually useful for my future.
 
11:07 AM
Cython is kinda cool, but it does have its quirks.
 
@NeelBasu Fix it.
 
user1804599
@Jefffrey Now you know how to encapsulate data by providing public getters and setters for your private fields!
 
lol
 
@NeelBasu explicit operator bool or artima.com/cppsource/safebool.html.
 
@not-rightfold ...aaand Qt.
 
user1804599
11:09 AM
Not Swing? Ahhh now you can still not make enterprise software.
 
Which might actually be useful for freelance jobs.
 
Its a kind of optional. like boost::optional
so lot of checks are there isnside if()
if its all if(!a)
I can overload ! operator
otherwise its a problem
BUt whats the problem in using operator!=
 
Do not make an implicit conversion to bool.
You can assume it's wrong, always, no exceptions.
 
Hmm for that I may need to refactor
if it makes a call like if(a)
to rewrite them as if(!a)
 
user1804599
unless(a) :D
 
unless a, is good too.
 
(Or explicit operator bool if your compilers support it)
 
@not-rightfold Actually that's not possible if your IDE doesn't have that wizard :{
 
user1804599
11:32 AM
I should take output iterators by value, right?
 
Xeo
yes
 
11:58 AM
@not-rightfold Usually do, and often return the "new" output iterator by value.
But wait! It can be even less helpful:
 
user1804599
Meh.
 
user1804599
Why can’t I do $@args in string interpolation.
 
Huh. You can "@*" (assuming you're not sleeping with the devil again)
 
user1804599
I want to take the length of the array and put it in a string.
 
user1804599
I could do my $n = @args; push @args, "char op$n";, but that's fugly.
 
12:06 PM
Isn't that "My array has $#args entries"?
 
user1804599
That returns -1 is the array is empty.
 
@not-rightfold Useful. I believe there's something like $\{$#args<0 ? 0 : $#args} then but I don't remember perl syntax anymore.
I've purged it. Some of it is still not reused, but the blocks have been returned to the free store
I think you misspelled 'why' in the question title — sehe 5 secs ago
 
12:20 PM
There are school lunch programs and food-policing in public schools in the name of reducing the population of fat people.
 
@CatPlusPlus hehe. So, they use arsenic in targeted dosages to reduce that population?
 
@sehe lol, you still have to know how to use it in the command-line, but you get a fancy GUI.
 
> "fancy"
 
@not-rightfold lol I can only laugh at the unbelievable stupidity of that.
Seriously, there's no excuse. Whoever designed that is a moron.
 
It's Perl. Duh.
 
12:25 PM
It probably makes sense if you dig into the TYPEGLOB table
 
user1804599
@R.MartinhoFernandes Well, it returns the index of the last element. What should it return if the array is empty?
 
user1804599
It could raise an error but Perl doesn't do that anywhere else either.
 
Oh, in that case, just +1 (I thought it returned length)
 
Nothing
 
user1804599
@sehe length - 1 :P
 
12:27 PM
> @sehetw OMG. Like, totally not cool. Ew. klmr on September 26, 2013 at 12:26 PM
lol
 
But index of the last element is always -1
 
Pythonistas, take the other exit
 
Someone mention a pythonista?
What does :3 mean?
I'm downloading Pycharm 3 ^_^
 
12:42 PM
@GamesBrainiac Goto line 1,2 or 3 of the current buffer (depending on the number of lines actually in the buffer)
@GamesBrainiac I already did, this morning. Bit of a let down: doesn't find python2 or python3 (just, nothing) and the main window can not be resized (sits at ~40% of my screen area). I gave up
 
@sehe What are you talkin about? Its supports python2, python3, pypy, cython, jython, ipython, just about everything
 
JBL
@sehe Yeah, you must specify the path manually (but for the window I don't understand, I totally could...)
 
@GamesBrainiac I'm not talking about promises. I said exactly what happened.
Sigh
0
Q: how to derive abstract source tree in terms of boost::spririt?

DukalesWhat additional data structures should be organized in order to take the first derivative of an abstract source tree (for string math expression)? Let's say, we have a tree for the string expression, which was built using boost::spirit. I.e each node have appropriate BOOST_FUSION_ADAPT_STRUCT/BOO...

 
sbi
> C++ "friends" should be "lovers" because they can access the private parts. And too many lovers spread diseases. — Alec Cawley
 
After two weeks of total silence, ^ this is what you get... :(
 
12:53 PM
I saw @DeadMG making some comments on the ISO meeting in Chicago, does anyone have a link to tweets/updates?
 
Stephanus du Toit regularly tweets about it.
@sdutoit, IIRC
 
sbi
@stefanusdutoit, Kitchener-Waterloo
Life long programmer with an entrepreneur/compilers/graphics/languages background. South African, German, lived all over. Currently in Canada.
1.5k tweets, 911 followers, following 305 users
 
> 911 followers
Either it's a terrorist organization, or it's a permanent state of emergency :/
 
sbi
I thought he's an Intel representative. ICBWT.
 
And the chair to the committee/editor, don't remember which
 
sbi
12:56 PM
@JerryCoffin I think so, too.
 
Because your comments are so juvenile? Nah. Can't be it :)
 
Xeo
@sehe editor
Herb is still chair
 
Scott is the wall
Bjarne is the janitor
(and Andrei will be in the curtains, looking out the window)
Hmm unlikely that Andrei has anything to do with the committee these days, but I just wanted him in the picture
 
sbi
> We need to think of Sisyphus as a happy guy who tries to closes his tabs. — Miriam Seyffarth
 
1:01 PM
@sbi tnx browsing it now.
yay! rand() possibly deprecated
 
sbi
@DeadMG And does it do that good? (Do you enjoy it?)
 
I have 4 tabs open.
 
view from the ISO meeting room :-)
 
sbi
@StackedCrooked ...when he finds the time. :-/
@R.MartinhoFernandes Wimp!
 
why on earth would you make a flash comic browser if clicking "Next" refreshes the whole page?!!@!@!@$FSDAFDGASFGH
 
1:06 PM
Because you're stupid.
 
Xeo
Flash sucks.
 
@R.MartinhoFernandes and to think I've lost my scraped collection :/
 
deprecating async()...
 
@TemplateRex thanks, slowpoke
 
sbi
@BartekBanachewicz Actually, that's the wrong question. The right question would be "why on earth would you make a flash comic browser".
Anyway, back to work...
 
1:08 PM
@BartekBanachewicz they're still deprecating it, he'll let you know when it's done
 
@sehe he could've at least output percentage
 
@TemplateRex That one still baffles me.
Not the deprecation, but the fact that was in in that state.
 
@BartekBanachewicz duh, this isn't a Microsoft OS
 
In other news, I want this
 
@R.MartinhoFernandes haven't used it much, can't comment on it
 
1:09 PM
@R.MartinhoFernandes Yeah, Mr. Scissorhands had a righteous comment about that, too
 
If I have template <typename T> void f(foo<T>&) and class bar : foo<int> { ... };, I can pass a bar and get T deducted, can't I?
 
@TemplateRex Oh, sure you can: { auto fut_simple = std::async([]{}); /* passé simple! */ }
 
single quote ' as digit separator
 
Xeo
@R.MartinhoFernandes Yes?
Remember indices?
 
@TemplateRex we have twitter
 
1:10 PM
GCC still bananas, then.
 
Xeo
which GCC are you even using
 
the green one
 
Apr 19 at 15:54, by R. Martinho Fernandes
std::async(std::launch::async, f);
std::async(std::launch::async, g);
// still runs sequentially
// WELL DONE
 
@sehe I wonder what would happen if they would put the votes on SO, and let us vote on proposals :-)
 
JBL
@TemplateRex Terrible things
 
Xeo
1:12 PM
^
 
^^
best-case scenario, the buttons would have largely the same effect as those on connect.microsoft.com
 
static if ---> bzzz, needs " demonstrate a minimal understanding of the problem being solved. "
 
Woot. Someone used the BjarneHammer on that!
 
JBL
@TemplateRex In some cases, not many people would be able (or at least would be credible) to use that flag.
 
@sehe Bjarnir
10
 
1:15 PM
@JBL require some minimum rep in c++ tag
 
JBL
@sehe What's this ? (Google doesn't give me meaningful results)
 
That's bound to be [some scandinavian language] take on Burninate
 
JBL
@TemplateRex Uh, oh, not necessarily relevant (though I'd say more than in other language tags).
 
@JBL see here
Feb 7 '12 at 23:23, by sehe
@DeadMG So... you banhammered banhammering from your language. Meh
It's kinda old now
 
JBL
Oh, banhammer.
 
1:16 PM
In Norse mythology, Mjölnir ( or ; also Mjǫlnir, Mjollnir, Mjölner or Mjølner) is the hammer of Thor, the Norse god of thunder. Mjölnir is depicted in Norse mythology as one of the most fearsome weapons, capable of leveling mountains. In his account of Norse mythology Snorri Sturluson relates how the hammer was made by the dwarven brothers Sindri and Brokkr, and how its characteristically short handle was due to a mishap during its manufacture. Name Mjölnir is usually interpreted as meaning "That which smashes", derived from the verb mölva "To smash" (cognate with English meal, mi...
 
JBL
With some Bjarne sauce.
Ok !
 
@R.MartinhoFernandes I was able to guess. Thanks though
 
I learned that one thanks to NetHack.
 
JBL
Meh, a jvm.dll crash. In my program. I feel bad.
 
Why are you embedding the JVM in your python code
 
1:23 PM
jython?
 
JBL
I write C++.
And my code communicates with a piece of hardware which driver is written in Java...
 
user image
4
This is awesome.
 
It's awesome. Whatever the fuck it represents
 
It sure misses numerous SW ships, but it's still awesome.
 
@Griwes supa cool
 
1:33 PM
@EtiennedeMartel Fuck! I can't remove that song from my head. D'you have others to suggest me?
 
where is the mothership from homeworld?
 
@Griwes SW vs Eve Online? Nice
 
@Borgleader No.
SW, EVE, WH40K, SG, ST, old and new BSG, ...
 
Oh damn...
 
:D
 
Xeo
1:34 PM
@Griwes And Hollywood still got the longest.
 
well The Deathstar was bigger than this whole image
 
The Death Stars were space stations.
 
okay.
anyway, I love all the nerdy possibilities
 
Note the absence of DS9 or B5 themselves.
 
All the SW Destroyers different classes are extremely different
 
1:38 PM
@Griwes It would appear that it's heavily stacked toward TV/movie sci-fi. There seems to be little or no content for those of us who actually know how to read.
 
@JerryCoffin s/heavily/exclusively/
Well, TV/movie/games
 
@JerryCoffin dat elitism
 
@R.MartinhoFernandes I figured that, but hadn't gone through every one to be absolutely certain.
 
I'd guess that most of book-only starships aren't really commonly recognized by pictures of them, even in case where the pictures exist.
Except for, you know, some of those SW ships that only appear in comics and books. Meh.
 
If the Ringworld was depicted, that entire picture would not fill a pixel.
 
1:40 PM
:D
 
And <spoiler>it does count as a ship now</spoiler>.
 
Halo 4 spoiler? I haven't finished it :(
 
@Griwes Not sure about recognized by, but just for one example, (virtually?) all the Honor Harrington books have drawings of the ships.
 
what, as in, Terry Pratchett's Ringworld?
 
@Borgleader Sigh.
@Borgleader Those things are called Halos, no?
 
1:43 PM
Ring world is a synonym
 
Halos are super small.
 
I've never, ever, heard of them referred to that way.
oh, wait, Terry Pratchett's world isn't Ringworld, it's Discworld, isn't it?
 
Yes.
Ringworld is a 1970 science fiction novel by Larry Niven, set in his Known Space universe and considered a classic of science fiction literature. It is followed by three sequels and four prequels, and ties into numerous other books set in Known Space. Ringworld won the Nebula Award in 1970, as well as both the Hugo Award and Locus Award in 1971. Plot summary The novel opens in A.D. 2850 on Earth. Louis Gridley Wu is celebrating his 200th birthday. Despite his age, Louis is in perfect physical condition (because of a regimen of boosterspice) but is bored. He has experienced life thorough...
The Ringworld is the size of Earth's orbit.
 
good book?
 
One of my favourites.
 
1:47 PM
ah, I never heard of that before.
 
start with that one or the prequels?
 
That one.
The prequels have spoilers for the spoilers in that one.
 
Hmm, also, that page is outdated.
 
JBL
Oh I think I'll try this one.
After going through Asimov's books, I didn't have any Sci-fi book ideas...
 
1:50 PM
There's a recent sequel that ties all the sequels and prequels together and (hopefully, still reading it) ties all the loose threads.
 
Just had fried chicken :) mmmmmmm.....
 
ewwww chicken
 
@DeadMG Good evening to you too Dead! :)
 
afternoon
it's 3pm here and I just got up, basically.
 
@DeadMG Well then, top of the mornin' to ya gov'
 

« first day (1076 days earlier)      last day (3890 days later) »