« first day (593 days earlier)      last day (4369 days later) » 

Xeo
6:00 PM
I have a mango.
Just thought I'd throw that in.
 
lol
so now I'm not sure WTF to do about Unicode support
do I try and mangle something together from ICU? Go back to trying the Windows API? hack together something myself?
 
Latter sounds awfully time consuming.
 
sbi
@DeadMG OMG!
@DeadMG Make a sane C++ API around an existing cross-platform lib?
 
Former sounds better because of cross-platformity.
 
@sbi That was my ICU plan. Finding it problematic to even wrap the damn thing, though.
 
sbi
6:02 PM
Did you know that ISO standards are typeset to assume a paper size of 210mm x 11in? Seriously.
 
Middler... dunno much about what the Windows API looks like.
Check out the new C++ standardization public google groups for proposals and discussion! https://groups.google.com/a/isocpp.org/groups/dir
 
sbi
@RMartinhoFernandes So they have fallen victim to google's embrace-everything strategy. Not sure I approve of that. What's wrong with comp.std.c++? You could post there from google, too.
 
Why are ContextMenus so much of a pain to style in WPF?
 
6:06 PM
@DeadMG question: what unicode support do you need? If you're not rendering, you don't need most of it. If you're not manipulating, then all you need is a few translation funcitons for IO.
 
@MooingDuck I am rendering (although my rendering APIs are Unicode-aware and I expect that I don't really have to deal with that), but I am manipulating.
 
that means I really need character iteration, on top of the usual validation/UTF conversion/etc
 
@DeadMG there's a few header only libraries that give a input/output iterator for various encodings, if that's all you need.
 
nope, must also have extended grapheme cluster iteration
gotta admit, when I decided to try and make a game, I did not expect that coding a UI would be so much trouble
maybe I should just lower my standards of quality
 
6:11 PM
Gosh.
@DeadMG Why, btw?
 
@DeadMG ICU then
 
@RMartinhoFernandes Didn't we just have this conversation?
 
I don't remember :(
 
well, if I write a TextBox class, and you navigate to the front and push delete, how many code points do I erase?
 
Gosh, can you assume I never asked?
 
6:13 PM
lol
 
That was just hours ago. What's wrong with me?
I'll have dinner now. Bye.
 
bb
@MooingDuck Their API's aren't very well documented... to say the least.
 
@DeadMG I don't know of any other API that has that capability. All mine does really is store code-points in various encodings.
 
Ell
what does the "p" in NSFWp stand for?
 
@Ell Probably "penis".
 
Ell
6:20 PM
ahh :L
 
@Ell I don't think that's a normal acronym
 
@MooingDuck Me neither.
well, when I get an answer back about the information missing from ICU's documentation, I will probably just hack together a wrapper on that
 
sbi
@EtiennedeMartel What's a "work penis", then, and what's it good for?
 
@sbi I would assume a colon goes in there
 
sbi
@MooingDuck ??
 
6:27 PM
anyone know a website where I can TTS Finnish and save the result?
 
sbi
An eau de cologne?
 
@sbi Not safe for work: penis -> not safe for work due to penis
 
THanks for the link Sam
 
@sbi It's a penis that you use to pay the bills.
 
sbi
@EtiennedeMartel I have never worked under a woman, though. And I'm strictly hetero.
 
6:30 PM
Lol that guy on that proposal list.
 
is there a way to download the audio from google translate's TTS? Doesn't seem to be
 
@ScottW Is that a sequel to the summer surprise hit Not Safe For Work? You know, with the added subtitle?
 
hmm, there's an unanswered SO question asking it: stackoverflow.com/questions/9163988/…
 
@MooingDuck Wut.
The.
Fuck.
Is.
That.
My brain just fell out, give me a second.
 
@CatPlusPlus The one on pointers?
 
6:35 PM
Yeah.
 
Hmm?
Did I miss a funny thing?
 
I didn't see a plain old C channel, can I ask a quick question here?
 
33 mins ago, by R. Martinho Fernandes
I don't approve of this though: https://groups.google.com/a/isocpp.org/forum/?fromgroups#!topic/std-proposals/KsWvGU2pdY4
> Another reason for it is that you're already moving that way with "auto" and lambda functions.
I liked this one.
It's like "Btw, I totally have no idea what I'm talking about so please reconsider my idea."
 
Oh fuck, he's just name dropping C++11 features.
And I love how anyone who opposes his idea is a "hater".
Oh shit, Herb Sutter is commenting on that.
 
> Null pointer dereferencing is even more common. Should we restrict using those, too? What's next? Oh, dangling pointers, let's remove those too. What's next? We've got a new flavor of C#.
 
6:43 PM
Oh, yeah, the slippery slope argument.
 
But this time, in reverse!
Because, well, both null pointer dereferencing and dangling pointers are restricted already.
 
@MooingDuck nevermind, found the problem :)
 
@EtiennedeMartel It's official proposal group, after all, so it's not that surprising that committee members are participating.
 
but thanks
 
6:45 PM
This guy is either trolling, an idiot, or a trolling idiot. Or both.
(Wrap your head around that)
 
Writing C damages your brain.
 
Plus, I think everyone with a gram of brain would jump in on the idea of somehow having the compiler not-compile code with null pointer dereferences.
 
@ScottW so? There's at least one person in there willing to try to answer questions. Should that person just bump occasionally so people stop coming to the C++ room?
 
I'd be happy with no pointers at all.
Gimme heap references.
 
but pointers are fun :D
 
Xeo
6:47 PM
@RMartinhoFernandes Seriously, is that guy nuts?
 
In the same way vomiting is fun.
 
Xeo
He should just go back to C if he loves fucking around without protection.
 
I usually feel better after vomitting.
 
I think he's a C programmer at heart.
 
Xeo
And even C doesn't go to that extreme
 
6:48 PM
@Xeo But the classes! Or something.
> And as a next step, getting rid of pointer arithmetic entirely is on my personal radar... :)
 
I mean, the example he shows at the start is syntactically correct C.
 
Big points for Herb.
 
I second that.
 
I third that.
 
@EtiennedeMartel He openly admits that.
Does C allow crazy implicit pointer casts, though? I thought it was only void* -> anything and vice versa.
 
6:49 PM
@ScottW I bumped it anyway, in hopes that people will ask there.
 
@CatPlusPlus I think there's still some restriction, yes. I'm not even sure you can do arithmetic with two unrelated pointer types.
 
Oh, he's a game programmer, it seems.
 
Xeo
@CatPlusPlus Yes, only void* can be anything
 
@RMartinhoFernandes Oooh fuck.
 
Xeo
@RMartinhoFernandes When I see those guys, I almost don't want to be one anymore. :(
 
6:50 PM
@RMartinhoFernandes Mystery solved.
 
sbi
@EtiennedeMartel "The guy is either one out of three possibilities or both."
 
Hey, I'm sorta game developer and I'm normal.
 
Cool, there's a new C++ book on my radar.
> I'll do so in my upcoming "Simple C++" book. There is no need for raw pointers anymore, even if Google's C++ guidelines still tell you so to use pointers instead of references as parameter types.
 
Hey, I'm technically a game programmer as well.
Although I work on tools.
 
Tools are cool.
 
Xeo
6:51 PM
@EtiennedeMartel Tools are so friggin important
 
sbi
@CatPlusPlus You're a student.
 
@sbi Are those exclusive?
@TonyTheLion Howdy.
 
what's been going on in here?
 
We're laughing at crazy game developers.
 
6:52 PM
@RMartinhoFernandes where is that from?
 
sbi
@RMartinhoFernandes "A game programmer", used without any further explanation, to me is someone who writes games for a living.
 
I work with a guy who constantly optimizes his stuff prematurely.
 
Thread linked above.
 
@bamboon The thread we're laughing at. It's above in the transcript. Twice.
From one Peter Sommerlad.
 
You work on a game, you're a game developer.
 
6:54 PM
oh game developers
they are some crazy mofo's
lol
should I go say Hello to Herb while I'm in Seattle? :P
 
@sbi And once you have a job, you can't study?
 
Xeo
@RMartinhoFernandes IMO, programming is studying. You're always learning something new.
 
I know a guy who did an internship at Microsoft last summer. He came back with a signed copy of Exceptional C++.
 
sbi
@RMartinhoFernandes Yeah, look at me, I haven't learned anything new since I finished studying >15 years ago.
 
Lucky bastard.
@sbi You can't teach an old ape new tricks.
5
 
6:57 PM
Zing.
 
@EtiennedeMartel You can't teach an old ape any tricks.
 
sbi
@EtiennedeMartel I have a signed copy of a special edition (different cover photo) of Effective C++. :b
 
ohhh, I have nothing :P
 
sbi
@EtiennedeMartel Nice one! (First star by me.)
 
@sbi Go tell that to him.
 
sbi
6:59 PM
@EtiennedeMartel Whom?
 
So, cake is awesome. Who would have had thunk?
 
@RMartinhoFernandes everyone
 
Speaking of games.
 
@Xeo is there anything gameish you can show off?
 
7:01 PM
Reminds me of Minecraft. No idea why.
 
I've reached How do I do it, studying for the physics final tommoz :P (Yup, pro uni is pro, we need physics for CS ppl.) :)
 
I have a written English exam tomorrow.
Stupid time wasters.
 
Space Minecraft?
With guns?
 
And rubber trees!
 
@CatPlusPlus should be fairly easy, no? You write English all the time
 
7:04 PM
It's not about being easy, it's about it being a colossal waste of time :)
 
Of course it'll be easy.
 
@RMartinhoFernandes Robot has been talking to GLaDoS?
 
But I have to go there and waste at least an hour in the process.
It's B2, I could pull it off with closed eyes and tied hands.
 
You can write with your tongue?
 
Not tongue ;)
 
7:05 PM
Totally jumping to the wrong conclusions here.
 
^^
Don't judge, you never know what obscure skill you might find useful one day ^^
 
Also, new Humble Bundle, go buy it. At least for Bastion and Psychonauts.
 
Already have Bastion.
 
how can I detect when/if the server accept()s a tcp connection?
 
When you call accept?
 
7:07 PM
connect returns.
 
on the client's side :p
 
@CatPlusPlus Was so stoked when I saw that in my email... but already have Bastion and Psychonauts.
 
afaik connect() only waits for the handshake to complete, not the accept() call
 
Bastion is mindblowing.
 
7:08 PM
@SamDeHaan Lesson learned: never buy cool games.
 
Not to mention the soundtrack is le awsum.
 
3 mins ago, by R. Martinho Fernandes
Totally jumping to the wrong conclusions here.
 
Connection is usable when connect returns without error.
There's nothing more to do.
 
@RMartinhoFernandes If only Skyrim and Diablo 3 ended up on a choose what you pay bundle.
 
@CatPlusPlus so I guess I have to send something from the server to the client, to let it know the connection has been accepted?
 
7:10 PM
If you really want that.
 
@melak47 The accept call completes the handshake.
 
Choose what you pay is risky, there's many scumbags around :)
 
@ScarletAmaranth It's been working so far. Maybe there are more decent people than scumbags.
Plus, Real Scumbags™ will actually pirate the games, not buy them for a cent.
 
@RMartinhoFernandes It's been working for indie titles for the community that is interested in indie titles is usually interested in the gaming industry as well. I don't think it could possibly work for the massive triple A titles.
 
Decent people will pirate the game instead of incurring more costs than profit for HIB by paying a cent.
 
7:13 PM
Or that.
 
Real Scumbags (TM) buy HIBs for a cent and then resell for 10$.
 
Given the averages I doubt many people pay a cent.
 
I think they might have disabled that some time ago.
 
I like how you can "agree" to the Steam terms of service before they even load.
 
They don't give a fuck whether you read them or not.
 
7:15 PM
It's not like users give a fuck to actually read them.
 
If you violate it and get banned, they'll just say "should have read TOS, idiot" and g'bye.
 
That's the whole point of it being there :P
Buy a game -> Go return it a day later because you don't agree with the terms of use.
 
Anyone have a secret trick to make this person I have to collaborate with respond faster than every twenty minutes?
 
Hardcore.
 
@SamDeHaan Yes. Threaten to kick him in the balls if male.
 
7:20 PM
@RMartinhoFernandes You know, a kick in the crotch is also incredibly painful for a woman.
 
@RMartinhoFernandes I won't be able to enact that threat until we're on the related job site together, in two weeks.
 
@EtiennedeMartel That's sexual harassment, though.
 
@EtiennedeMartel You were waiting for the moment to post a trope link ^^
 
@ScarletAmaranth I sneak them while some people are not looking.
 
@EtiennedeMartel urgh, painful
 
7:22 PM
@EtiennedeMartel I could see your eyes shining as you realized that this would indeed be a good time to post it.
 
What? Are you watching me?
 
@EtiennedeMartel Yup, you forgot to close the window at your work on the fifth floor indeed.
 
I'm at work.
On the fifth floor.
 
You don't have windows at work?
OMG, you're being exploited.
 
I do have windows.
But if he's looking through them, he fucking deserves to watch me.
 
7:26 PM
Interesting. I had no idea there were so many different toilet designs.
 
That's the next question for a micro$oft interview. "Design a toilet."
 
link seems broken
 
He said "micro$oft", ban him.
 
@TonyTheLion Works fine here.
 
There's one toilet design there.
 
7:31 PM
@CatPlusPlus Yes, but it's different than the one I'm used to. And I've found another some months ago.
I heard they have that thing in Poland too. Is it true?
 
We don't have one national toilet design.
There's this one, there are others.
 
Okay, we don't have THAT one.
 
Xeo
@RMartinhoFernandes It's not just Austria, Germany seems like those aswell
 
Well, maybe in portable toilets.
I don't remember, I don't want to remember.
 
7:33 PM
lol
 
0
Q: a pure comparison function in c++

user1330810I want to created a generic sorted linked list. Thus I have an abstract class Data, with a pure operator< (in order to easily sort the list. I believe it is called a comperator.) Now I have a class Job which derives from Data and implements the operator. The problem rises when I try to create ...

Oh gods, virtual operators.
 
> How can I solve the problem without using downcasting? Thanks! Edit: and without templates.
What are you writing C++ for, anyway.
 
Virtual operators just don't work.
At least, not without multiple dispatch.
 
Why do I keep closing SO tab and then reopening it.
 
7:44 PM
You're a close whore.
When you don't close questions, you close tabs.
I'm pretty sure you love closing doors.
 
sbi
> Today, Windows 8 Release Preview is available for download in 14 languages. — Steven Sinofsky
 
@EtiennedeMartel I do. :(
> but we've been instructed to create the list using inheritance and not templates
 
sbi
Anyway, I am going home now. See you tomorrow!
 
7:47 PM
I just reinstalled and now everything seems weird
 
Lol.
Why the crusade against trope links? Someone got trapped?
 
@EtiennedeMartel he caught you :S
 
CatPlusPlus seems especially wierd
 
That happens when you do drugs.
 
7:48 PM
nano sucks for writing Haskell
 
I sat on the most fancy toilet you could ever sit on in LA, it even cleaned your ass for you
lol
 
@TonyTheLion standard in japan
 
@Pubby Use vim with ghcmod.
 
sbi
Jan 8 at 21:45, by Tony The Lion
I think TVTropes just killed this room
 
@RMartinhoFernandes Your warning is not big enough.
 
7:51 PM
"subzero"
Your code quality is sub-zero.
 
@CatPlusPlus I need to move all my Vim files over before I can use it. I'm just trying to configure XMonad.
 
@RMartinhoFernandes Fuck.
 
@bamboon oh wow, high tech country
 
@Pubby Xmonad FTW.
They have robots there.
You're surprised they have automatic toilets?
 
Never used it before, thought I'd try it out this time.
 
7:54 PM
@sbi That's a lie. And it happened 6 moths ago.
 
sbi
@CatPlusPlus "mouthes"
 
And yes, I've noticed the typo and decided to leave it.
 
OMG, it's been five months since January.
4
 

« first day (593 days earlier)      last day (4369 days later) »