« first day (795 days earlier)      last day (4379 days later) » 

16:00
@DeadMG lol
user142019
Let's test this shit. Probably I'll get a lot of UB and segfaults and whatnot.
What, your kernel?
You don't get segfaults unless you implement them first.
user142019
@R.MartinhoFernandes No an SQLite wrapper in C++.
WTF: std::string Y U NO WORK.
user142019
16:07
Woohoo no segfault on table creation.
Is Jalf some sort of M$ evangelist? I mean, I like VS in general, but it has things that can be improved. Was it too much or wat? I nvm the offence, I just want to know if it's really me or have I just chosen the wrong subject?
FFS, now it's std::set that holds bad ptrs... WTF is going on.
@R.MartinhoFernandes Hm?
@EtiennedeMartel UB somewhere, obviously.
Obviously.
16:10
@Zoidberg'-- Are you going to find UB by testing? -.^
@BartekBanachewicz No, he was completely right. You were just rehashing tired, old MS bashing, with no purpose, evidence, or benefit to anybody.
Also you unironically use "M$"
Using the childish "M$" does not help either.
:cripes:
@DeadMG The funny part is that I didn't say Microsoft did anything bad. I just said they put to little (in my opinion) effort to support C++ on par with C#. Whatever, rly.
user142019
16:14
Fuck.
Writing C++ tools is a pain in the ass
@jalf To be fair, there's SlimDX.
oh shit. It's been used so widely I was pretty sure it lost its pejorative meaning; it gained unique meaning
user142019
error: explicit specialization of 'get' in class scope
It means "I like to spew outdated memes all day long"
16:15
Here its unique meaning is not good for the speaker.
user142019
Is that illegal?!
@BartekBanachewicz It's unique meaning is "The user is a fucking moron."
It just makes you look ridiculous and invalidates anything you might want to say
Now that's something new
user142019
class row {
public:
    template<typename T>
    T get(unsigned index) const;

    template<>
    int get<int>(unsigned index) { ... }
    // error: explicit specialization of 'get' in class scope
};
16:16
You can believe me or not, but my only intention was to make MS abbrev. unambiguos
It's been old and tired 10 years ago, just drop it
user142019
Why is that not allowed?
Why would you want to do that
Because it is not.
user142019
@CatPlusPlus Because I want different return types depending on the template argument.
16:17
@BartekBanachewicz The fact that you use a $ instead of S might make you a bit biased. I figured you'd understand the third time someone tells you that.
This is not UB.
std::string is messing with me.
:6785783 He was talking about that snippet you silly
@EtiennedeMartel I've said many times that I love Microsoft products (Lync, for example). And I could as well use "M$" there, too.
user142019
lol
@CatPlusPlus Yup -- already realized. But thanks for the heads-up.
16:18
@BartekBanachewicz That's like saying "I'm not racist, one of my friends is black".
What is Lync?
@EtiennedeMartel That's like saying "I didn't know porchmonkey is a racial offence"
@R.MartinhoFernandes "Unified communication server" (or something like that).
@R.MartinhoFernandes Microsoft enterprise IM
16:19
@R.MartinhoFernandes Turns out it's the new name of Communicator.
Oh, it's Communicator renamed.
"Enterprise IM" sounds horrible
@CatPlusPlus MSN with Exchange integration.
Crap on top of crap.
16:20
@R.MartinhoFernandes After all, you wouldn't want a product's name to reflect anything about what it really does, would you?
@CatPlusPlus It's really nice. Especially because it shows you the photos. When working in a large corporation, it helps a lot.
@JerryCoffin No. You want it to sound hip and shit.
You do realise that most IMs nowadays support avatars
@BartekBanachewicz Yeah, used it a bit while as I was at Ubi. Too bad it costs such a fucking lot.
@JerryCoffin It's lyncs people together, I guess :)
16:21
They support avatars because they are so needy
@CatPlusPlus But it integrates with Outlook, too.
I know
those fuckers with those avatars
I don't have, want, or use avatars
Are you counting Outlook as a good thing
@CatPlusPlus Not if you're a sysadmin working for multiple (pointyhaired) ranks of bosses.
user142019
An explicit specialization shall be declared in the namespace of which the template is a member, or, for member templates, in the namespace of which the enclosing class or enclosing class template is a member.
user142019
16:21
Clang y u no compliant.
@Zoidberg'-- Have you figured out yet that you can write specializations OUTSIDE of class scope?
@CatPlusPlus It's usable.
@CatPlusPlus Hey, it's better than a spear through the face.
@EtiennedeMartel I don't know
char s[1000];
get_language_name(s, 1000);
assert(strcmp(s, "de_DE_2006") == 0);
std::string str(s);
// looks up in debugger: str has size 15, capacity 553495072, and data is <Bad Ptr>
16:22
Hard choice
@EtiennedeMartel I think that needs to be tested before it can be said with any certainty.
@CatPlusPlus At least Outlook doesn't try to kill you.
user142019
@AndreiTita yes, but that's ugly. And I want to know why clang rejects my code.
Fuck this shit.
user142019
Let's try G++.
16:22
@AndreiTita Wut
@Zoidberg'-- Because you cannot specialize in class.
@R.MartinhoFernandes Does it behave properly?
@R.MartinhoFernandes Checked for improper NULL termination?
user142019
@R.MartinhoFernandes oh. Silly.
@DeadMG The assertion does.
@CatPlusPlus No.
16:23
thought so
Because I remember seeing garbled data on string internals pretty much always
@JerryCoffin Indeed, that requires experimentation. TO THE LAB!
Let me try outputting this.
Also I probably failed two courses by waking up two hours late :V
@CatPlusPlus Bad luck follows you like little girls follow Justin Bieber.
16:24
Oh bummer.
user142019
Awesome it works.
Turns out it is correct, because I can print it just fine.
lol
It's debugger being bad
@EtiennedeMartel I think he wants bad luck.
16:25
So, I'm going to file this as one more reason to consider the VS debugger great.
I don't think I've ever seen correct data on string internals
I have no idea how you screw that up but hey
@TonyTheLion Probably.
C++ tools
So I can get rid of that stupid static buffer.
Maybe it's good luck
Maybe this shit will end sooner
:v
16:26
hmmm
I'm really not moved by it
submit proposal to Committee.. must put on real name.
@CatPlusPlus OH, really?
16:27
@CatPlusPlus Mayan?
@sehe That would take another 100ish years.
My desk is just a fucking mess.
Darn. Not even I have that much patient. Don't we have something nuclear lying about to speed it up?
@EtiennedeMartel A fucking mess. That would be a rather undisciplined battalion of sorts
16:29
Fucking hell.
There we go.
OOT: Does any of you have any experience with Ikea chairs? Because I'm going to buy one today
@BartekBanachewicz Just follow the instructions.
Desk chairs or kitchen chairs?
@EtiennedeMartel :) I mean, durability and comfort n'stuff
@AndreiTita Desk chair.
@BartekBanachewicz yup
Not desk chairs, actually
afk
16:31
@BartekBanachewicz Don't. The Herman Miller is worth the price.
@BartekBanachewicz I've seen at least a couple I've liked, including one I own but I don't remember what they were called and availability seems to depend on the country so... go there and sit on them?
Woah... Good Question badge?
This escalated quickly.
26
Q: Why does adding assembly comments cause such radical change in generated code?

R. Martinho FernandesSo, I had this code: constexpr unsigned N = 1000; void f1(char* sum, char* a, char* b) { for(int i = 0; i < N; ++i) { sum[i] = a[i] + b[i]; } } void f2(char* sum, char* a, char* b) { char* end = sum + N; while(sum != end) { *sum++ = *a++ + *b++; } } I wa...

@JerryCoffin Umm.. maybe I'll just buy an IKEA one and a car :P
The two most important things for a programmer are: a keyboard, and a chair. Don't leave such an important thing to IKEA.
3
Yeah, their keyboards are crap.
16:33
@AndreiTita Oh, you know what I meant.
...you think?
The problem is, I'm kind of short on money. And I have $1k chair here anyway, it's just for my home office
Wait, $1k chair?
@EtiennedeMartel This man speaks the truth.
Keyboards full of splinters is bad idea
16:36
Does it give massages? Handjobs, perhaps?
Just jobs
@R.MartinhoFernandes Herman Millers are worth the price, but...the price is kind of steep.
No chair is worth 1K. o_O
@R.MartinhoFernandes No -- it keeps you comfortable enough you don't need those.
I'd rather buy a bed and lounge on it.
16:37
I wouldn't pay $1k for a chair even with handjobs. It would have to do a lot more.
@ThePhD Apparently mine was.
@JerryCoffin Well played.
@ThePhD That's like saying no low end laptop is worth 2k. Hello, Apple!
My chair is worth like 40€
@AndreiTita Neither am I going to. I just want a decent one.
16:37
@EtiennedeMartel And their high-end is like 3K. :3c I actually had a friend recently who just literally raged out of APple development.
I wonder why
@ThePhD literally raged out of APple development. I like the phrase
He programmed a really awesome game for iPhone, it was ready to release and everything, but they decided to wait for the new OS and SDK as well after Apple gave them some trouble releasing.
When he tried the new SDK, they deprecated half of his drawing functions, changed the coordinate system that iPhone uses natively, and invalidated half of the math functions he had been using.
@R.MartinhoFernandes -.-
16:39
Deprecation are not that bad
It's worse when your UI fails completely when you build with new SDK :v
(You can use old SDK just fine)
It is bad if you are bashing Apple.
Apple is bad at programming
So now all of his game renders is a pile of slag and poo, and he quite literally just fucking flipped his shit and said "Fuck it, back to Windows dev."
@R.MartinhoFernandes Cat is bashing everyone and everything :P I got it, allrighty?
@BartekBanachewicz Let him be. He's kinda depressed.
16:41
I bash things that deserve bashing
Like bash
Everyone does.
@R.MartinhoFernandes I was too after jalf tried to ignore me.
To be honest, I'm pretty happy he blew the whole thing up.
I've got a bus to catch. I'll verify ikea opionions.
So fuck yeah, std::string actually works and now this whole deal works. Woot.
Next up is writing a GUI for this.
:(
16:42
Haw
It was with a dark yet enjoyed satisfaction that I invited him back into the Windows fold.
I checked in a bug
@TonyTheLion oh geez... this guy's been spamming questions like that for the whole day - probably in a lame attempt to get the hats.
Try gtkmm
@R.MartinhoFernandes Wait, std::String actually does work with anything?
16:43
@CatPlusPlus No idea what you mean.
It looks not completely terrible
@R.MartinhoFernandes In C++?
@CatPlusPlus This is for running inside InDesign so I will probably use that Adobe thingy.
Oh god, is that this Adam/Eve thing
Oooh, you're using std::string for a plugin inside InDesign. Ah.
16:44
@CatPlusPlus Dunno. I'll have to ask the folks around here. Tomorrow.
Adobe makes great software but horrendous SDKs.
It's absolutely horrible
Have fun!
lol
Have fun with your Androids and iOSes.
@EtiennedeMartel Except for Acrobat :v
(Was that too low?)
16:45
Actually I've been doing Unity mostly lately
@EtiennedeMartel This SDK kinda shows its age, but most of its complexity stems from the domain itself, not the APIs.
Apple even accepted the game
Success
@CatPlusPlus Yeah, that's essentially their mutant child.
@CatPlusPlus I think we have some nice wrapper around whatever is used.
@CatPlusPlus How is Unity?
16:46
It's... I don't know, workable
Other people did most of this game, I'm just fixing and changing things
You squatter.
Hmm, I really don't want to start on the GUI today, but there's still an hour left...
What should I do?
@EtiennedeMartel I think Adobe is fairly aware of their problems though -- it's hard to guess how long it'll take for results to show up in their SDKs, but they seem to be putting serious effort into research (though they did lose Alexander Stepanov to Amazon/A9.com).
@JerryCoffin That's weird. A software developer who actualy cares? Hm.
16:50
Um... is anyone else getting a unusually high # of residuals today - possibly due to the hats?
I just woke up - repcapped.
0
Q: C++ Exception - One per library or custom ones

shergillI'm trying to figure out what is the right way to do this. Lets say you are making a new C++ Library called Foo. Should you just have a single exception for all errors from your library (FooException) or do people actually have custom ones: FooLoginFailedException, FooServerDownException, FooSome...

@JerryCoffin So yes, I got my "Just Jesting!" hat. :)
@EtiennedeMartel sure, but is that accessible to WinRT apps? I suspect not. Also, it has nothing to do with Microsoft, so its existence proves little about Microsoft's evil agendas :)
@Mysticial Not sure about the reason (I figured it was just my being brilliant!) but I repcapped in ~4 hours.
@jalf Oh, I thought we were talking about C#. You know, .NET? That thing that's different from WinRT?
@R.MartinhoFernandes Chat
Gettin' paid to poop
@Mysticial Congrats!
@EtiennedeMartel There was some Windows Phone involved. Windows Phone runs WinRT, not Win8.
@R.MartinhoFernandes Still, it appears they're working on it.
16:53
I still don't know what's the point of WinRT but hey
@CatPlusPlus Windows on ARM?
My guess, though, is that they only wanted to copy Apple's business model.
@EtiennedeMartel What about it?
@CatPlusPlus I don't think there's any technical reason.
It all sounds like politics.
Yeah
"Look we don't just care about dot net here is totally native API that's entirely COM calls"
@EtiennedeMartel Which (in both cases) seems to me like admitting that they can't actually write decent software any more, so they want a cut of all the revenues from everybody else's software.
16:56
"And also a new language"
"No effort wasted anywhere"
They better not cut .NET
That thing is great.
@EtiennedeMartel When was the last time you noticed actual merit controlling their actions?
I think they're trying really hard to be a "young" company, but they're really a huge corporation with no disruptive potential. So they run around, trying to innovate when what they're actually doing is jumping on every bandwagon there is.
Hmm, the Copacabana hat fits my gravatar rather neatly.
@R.MartinhoFernandes It's like your head is made of fruit.
Also, isn't that a Brazilian thing? And Brazil, Portugal, same thing amirite?
@EtiennedeMartel Now I am part plastic, part biological.
You like raw fruit?
@EtiennedeMartel cough
@CatPlusPlus They taste greeeeaaat.
17:00
@EtiennedeMartel I mean like "whoa"
@EtiennedeMartel Something like that, yeah. At least in my opinion, they do still have real disruptive potential -- but they're (where "they" = "Steve Ballmer") stifling it completely.
You think Ballmer is not doing a great job?
You must be crazy.
Ballmer is da best.
@R.MartinhoFernandes Thank you for your input Captain Ironic.
Oh hey a sale on gog
@JerryCoffin He's now made of fruit.
17:02
Speaking of input.
Today in trademark law: "The distinction between COCKSUCKER and COCK SUCKER is a distinction without a difference." http://www.cafc.uscourts.gov/images/stories/opinions-orders/12-1212.pdf
I'm not up-and-up on the whole Ballmer deal. What's he doing that's running Microsoft into the dirt @JerryCoffin ?
FTL 50% off, Witcher 2 75% off
What about selling things I don't own.
Some other stuff
@R.MartinhoFernandes You have too many games.
17:04
Bullfrog games 75% off
@EtiennedeMartel :/
Hah, ArmA 2
on GOG
and 50% off
You have to slow down, get a SNES emulator, play EarthBound, and then book an appointment with a neurologist because your head is gonna be blown after that.
@EtiennedeMartel Steams says 200+. But that's bollocks. It counts hat DLCs and whatnot.
@ThePhD One thing is insisting on "grading on the curve" -- no matter how good your team is, it's pre-ordained that some percentage must be given poor evaluations (and likewise, only a small percentage can be given "excellent" evaluations).
17:06
@EtiennedeMartel And Tales of Phantasia (with Hilarious English patch) and Seiken Densetsu 3.
@EtiennedeMartel Sorry, I have too many games on my queue to play. :P
@R.MartinhoFernandes Yeah, according to Steam I own 115 games.
@JerryCoffin Sounds like business jargon for "Somebody is going to get fired eventually."
At least 10 of them are Magicka DLCs
You buy one GOTY and BAM! 30 new "games".
17:07
Games (332)
Turns out it's one game plus 29 DLCs with dresses for your main character or whatever.
@ThePhD It's worse than that. Many are good enough they don't wait to get fired, so they've been losing good engineers for years now (and not just a few of them either).
@CatPlusPlus That's you?
Yup
266 on the list
@R.MartinhoFernandes "GOTY"? So has Herb finally admitted that "GOTW" wasn't happening weekly, and changed it to "Guru of the Year"?
17:09
@JerryCoffin Ouch. Where do they go, though? Their own startups? Google? Amazon?
Including couple DLCs
@JerryCoffin lol
See @EtiennedeMartel I don't have too many games. The cat has more.
@ThePhD All of the above, plus Facebook, Adobe, Apple, ...
Ouch, losing good engineers to Apple? That's a slap on the face... :c
I think there are only like three games that I did not buy with 66% or more off.
17:10
Why don't you guys only buy games you actually plan on playing?
@EtiennedeMartel I do.
@EtiennedeMartel Box art, yo.
And don't give me that "but there was a sale!" bullshit.
Either I plan on playing them, or I have played them before cough.
@EtiennedeMartel Can I invite you to have a little talk with my wife?
17:11
@JerryCoffin Do you really think a programmer can hold up to the fury of a woman buying things on sale?
@ThePhD No, of course not.
@JerryCoffin Sure. Although it would be hard to compete with the armada of the US marketing industry.
She'll cut him down in a wide swath of words, and then summarily do the same with a wide swath of purchases to your and her collective wallet.
Still, fun fact: no matter how much they take off, it will always be more expensive than not buying it
@EtiennedeMartel But but... I'm saving so much money!
17:15
You would save more by not buying it.
I see so many people who wouldn't buy stuff if it wasn't on sale, which says a lot about how badly they need it.
BUT IT'S ON SALE
There are things that I might buy if they get cheaper, but won't otherwise. As an example Dawnguard is too short for me to shell out $30, but I might buy it if it gets two thirds off.
@EtiennedeMartel Isn't that poll the one that is ALWAYS rigged by 4chan?
@DeadMG I don't think so.
17:31
I doubt 4chan would rig it for Obama.
Would it ever make sense to disallow non-optimized moves by invoking a linker error if the move constructor is called? Example.
Megan Fox Was Convinced She Was Having A Vampire Baby
What's non-optimised move
17:47
A SQL Query walks into a bar, approaches two tables and asks 'Can I join you?'
Also probably no
@TonyTheLion Can I join this thread of conversation?
Invoking linker errors on purpose is never good
They can be pain in the ass to trace
@StackedCrooked lol
@CatPlusPlus Never? :(
17:49
@CatPlusPlus Eh.
@StackedCrooked I can't think of any justified use case
Yours is weird and I'm not sure what the purpose would be
Other than annoying people

« first day (795 days earlier)      last day (4379 days later) »