« first day (1017 days earlier)      last day (3928 days later) » 

2:00 PM
@thecoshman that's not the simplest thing that could possibly work, not at all
 
@Ell weather, or metaphor
@BartekBanachewicz ITT I do not blindly follow everything on the internet
 
Ell
Weather :P
 
@Borgleader Or not. I tend to trust upvotes. And upvotes on good FAQ answers are usually 25+
 
@TonyTheLion Eh, it's hard to argue that arguing is a crime
 
@Vishal It's garbarge. Whether or not it is random, is implementation defined :/
 
2:01 PM
@thecoshman sure, you're a new visionary when it comes to programming practices
 
@DeadMG indeed
 
@sehe Yeah I should get familiar with the FAQ, I've never actually read it. Also chris is a regular here so I assumed I was in good hands. I'll try to be less hasty/sloppy in the future.
 
@DeadMG Does that mean we can argue about UB? <3
 
@Borgleader It's ok :)
 
@ThePhD What's to argue about? You are UB.
 
Ell
2:02 PM
Discussing is much preferable to arguing imho
 
ITT silly people throw all common sense out the window, assume extreme opposite positions and pretend that the world is black and white and pretend to not understand anyone who argues for a different point of view
 
@DeadMG That's why everyone should try me: you never know what you might end up with ~~
 
@ThePhD Yeah. Will it be AIDS, herpes, or syphilis?
 
Syphilis isn't so bad.
2
I mean, at least it's curable.
 
2:04 PM
I am not sure if you are curable though
 
@ThePhD It ruined Napoleon's army.
 
@BartekBanachewicz It's all undefined! Let's find out~
@R.MartinhoFernandes Well, yeah, back when Penicillin didn't exist.
 
@ThePhD I second puppy's claims about breaking arms.
 
@ArneRecknagel I've added a version not using Boost in case it helps. See it live on Coliru (counting the lines in it's own main.cpp) — sehe 19 secs ago
^ I should be back to working
 
@ThePhD also, are you openly homosexual now?
 
2:07 PM
@sehe SO > work, everyone knows that :P
 
@ThePhD It is increasing these days and yet penicillin exists.
 
@ThePhD @TonyTheLion: so tony I think you are in the best position to judge whether phd is worth the risk :x
 
@BartekBanachewicz Is that news?
 
@BartekBanachewicz This implies that I was closet homosexual before. D:
@Telkitty猫咪咪 D: Oh come on, I'm only kidding around. ;~;
 
@sehe I don't know, I kinda wasn't sure earlier
@ThePhD my bad
 
2:08 PM
@ThePhD so was I D:
 
Were you?
@Telkitty猫咪咪 WERE YOU?!?!
 
Was I?!?!
 
Maybe, I dunno. It's all ~~undefined~~
 
Telkitty arguing with ThePhd nothing to do here
 
@BartekBanachewicz The point being is that I wasn't homosexual at all.
Or, at least I don't think I am.
Pretty sure. Like, a good 80% sure. Majority rules and all.
 
... Or maybe I'm less sure? Or more sure?~ Ahhh, so many unknowns in the world~~
 
Omg omg omg, I received 5 notifications on my Andriod (I sent myself 5 messages from my iPhone to my Android through my own app). But nothing is received on Android (other than the notifications) because my script is broken :(
 
@BartekBanachewicz Hey, no need to alert me.
@ThePhD Not in ~~undefined~~ county
 
@ThePhD either that or you have social self-esteem issues
w/e I'm retarded too, no one is perfect in ~social~ aspects, especially in programming chatroom.
 
2:15 PM
@Xeo I got to play with a prototype. Pretty interesting.
 
oculus is kewl
 
@Xeo Me too :(
 
Xeo
@TonyTheLion oooh
 
The treadmill thingy?
 
ITT Xeo wants a treadmill.
Newsflash: we already have one. It's called work SO!
 
2:16 PM
I want one too
but I wouldn't mind having Oculus alone
 
Xeo
mh
 
> hope you're either single or live with a fucking deaf person otherwise no chance to have this
 
Xeo
Problem with Oculus alone is, that you're still bound to your chair, with a controller in your hand, really. Which limits the amount of experiences you can have with strong immersion.
 
I really couldn't imagine running with an Oculus. I've tried it, and as comfortable as it is sitting and looking around, I would imagine it would bounce quite a bit if you were to engage in anything more than a speedwalk.
 
@Xeo I don't think that "strong immersion" is something I am really after. Proper 3d vision from oculus beats any screen, though
how expensive is oculus alone?
 
Xeo
2:19 PM
mh
 
and can you use it with games already? like with games using Nvidia 3D vision driver?
 
Xeo
@BartekBanachewicz $300 for the DevKit
@BartekBanachewicz Check their homepage
 
@Xeo I'm still hoping for a good Star Wars game with Occulus + surround sound headphones. :3
 
if you want realistic multiplayer game, go play paint ball
 
@ThePhD There was nothing wrong with that message.
 
2:19 PM
@Xeo that's not that much, really
 
@Borgleader Maybe it will be as good as Star Wars Kinect!
 
maybe I will buy one
 
Xeo
@BartekBanachewicz Ya
The treadmill is around 400-500, from the pledges I saw
 
@R.MartinhoFernandes Oh good, don't remind me this thing exists. I still have nightmares of Han Solo dancing...
 
I feel bad for mentioning it.
 
2:20 PM
> Half-Life 2 Officially Supported on Oculus Rift
 
Xeo
> $1,109,351 pledged of $150,000 goal
 
@Xeo From experience, the immersion you get with a screen that close is quite intense.
 
@BartekBanachewicz TF2 does as well doesn't it?
 
2:21 PM
@TonyTheLion ... Is there? D:
 
I felt physically sick after trying to play some demo game because of all the motion.
 
@Xeo bah, I think I'll wait until it gets more stable. I am still waiting for my MYO to ship :F
 
You're making me worry. Are you just pulling my leg? D:
 
Xeo
@TonyTheLion Was it optimized for the Oculus?
 
@Borgleader dunno, am not that deep in the subject
 
2:22 PM
@BartekBanachewicz The line is pretty long.
 
@Xeo That looks so cool just wondering what kind of price that will be at :<
 
@Xeo are the screens curved there?
 
Xeo
@BartekBanachewicz They may have been playing that in the video I linked
 
2 mins ago, by Xeo
The treadmill is around 400-500, from the pledges I saw
 
@ThePhD No. I'm not pulling your leg. It was totally fine, whoever is implying that it was in any way homosexual (ie the rest of this Lounge) has really no idea what they're talking about. I mean, I'm definitely not that way inclined and I don't know why I would take it that way. I took it as a complement.
 
2:22 PM
How do you stop a player from break the machine or the screen in front of him/her violently?
 
@TonyTheLion The fact you are cool and the way he expresses that are orthogonal
 
@Xeo Erm... I can't remember if that one was. Fuck if I remember the name of the game.
 
@TonyTheLion You can totally have had sex with him, no homo.
 
hm I should register for myo developer program
@R.MartinhoFernandes :D
 
ITT Bad gay jokes
 
Ell
2:24 PM
what the fuck is happening ITT
 
LOL derp
 
oh childish kids thinking they're funny making gay jokes
 
I thought they were all past that age, but apparently I'm wrong
 
I went over to the myo homepage
Apparently I really should buy oculus
 
2:25 PM
@TonyTheLion rofl luv to C tony gets all worked up by this gay allegation :D
 
@BartekBanachewicz When its past prototypes and has had some use by users other than me, I may consider getting one. It was quite a fun toy to play with.
@Telkitty猫咪咪 lol
 
@R.MartinhoFernandes yes, next time @ThePhD will be sent your way ;)
 
Xeo
@TonyTheLion And I guess you had the <1080p one
 
0
Q: Is it possible to define a pointer to a varying type that automatically dereferences as a specific type?

acheong87Is it possible to define a pointer to an unknown numeric type, say int or double, that always returns a specific type, say double, on dereferencing? I started doing this, int a = 7; double b = 3.14; void* c = static_cast<void*>(&a); void* d = static_cast<void*>(&b); double e = *(static_cast<...

 
Ell
I can't write bejewelled >.<
 
2:27 PM
@Xeo yea definitely.
It was actually a friend of mine who had the prototype, he just let me play with it for a bit
 
Xeo
mh
 
he got it because he contributed to the original kickstarter thingy
 
Xeo
Yeah, didn't have money at that time
 
> You have successfully applied to the developer progam.
 
@BartekBanachewicz why should you? And surely you will wait till they make them high-res and lighter?
 
2:30 PM
@thecoshman yep
with Myo oculurs could be even nicer
I hope that they will speed up the shipments for developers :3
 
IMHO, Oculus rift can definitely revolutionize gaming
 
@BartekBanachewicz when you can get omni-treadmills at home easy enough, then I will be interested :D
 
among other things
 
ooooh thalmic labs is hiring!
 
@TonyTheLion could do, depends how easy it is for consoles to use IMO
 
2:31 PM
Excellent coding skill in C++
Well-versed in idiomatic C++, including new C++11 features
Experience with one or more of: C#, Java, Python
*.*
 
true, and the prototype had lots of room for improvement
 
I am totally sending my application today.
 
Xeo
> Excellent coding skill in C++
Welp, guess you're out :P
 
Public API design/development experience
Familiarity with Boost C++ library
Experience with Git or other source code management system
@Xeo :F you know it's kinda different in the outside worlds
 
2:33 PM
lol, it says Black Belt C++ Developer in your LinkedIn profile.
 
lol, wtf one of my friends endorsed me on linkedin for shell scripting
 
ohhhh black belt
 
@R.MartinhoFernandes that was an idea after my friend named himself Javascript Development Crusader
 
@Telkitty猫咪咪 I don't understand this endorsing thing. I mean I got endorsted for Qt by someone who probably doesn't even know what it is
 
2:34 PM
Good morning
 
I think it was a joke
 
Afternoon
 
@TonyTheLion People endorse other people for random shit on linked in
 
endorsing me for something so trivial
 
@Borgleader ITT LinkedIn sucks
 
2:35 PM
We should all endorse Bartek for Java or something.
Where do you sign up?
 
Xeo
hrhr
 
I wonder whether people I know read this chat
could be embarrassing :x
 
@TonyTheLion It doesn't suck, but it does suffer from some of the same things as facebook
 
@TonyTheLion well, I just don't think it becoming the next big thing if it is constrained to PC. Also, consider 3D tv, people are not keen to sit with the goggles on, and it a PITA if you want many people to watch. I know it's not the same problem for games, but I'd say similar problems would exist.
@R.MartinhoFernandes Perl, he loves perl
 
@R.MartinhoFernandes if I don't have it in my profile, it won't show up until I accept it
so if you endorse me for Perl or Java, nothing will happen
 
2:36 PM
all social networks suck, says the cave woman :p
 
hmmmm
 
but you're welcome to click C++, C++11, and OpenGL :P
 
ergh... getting really tired of the way I keep typing 'ojbect' and not 'object'
 
@BartekBanachewicz We'll do it so many times you're bound to misclick once.
 
lol
@thecoshman write script to change ojbect to object
do for all common spelling mistakes
profit
 
2:38 PM
@TonyTheLion well, I'd just settle for words auto correct, but yeah.
 
@TonyTheLion you mean auto correct
 
@R.MartinhoFernandes :)
 
@thecoshman i think chrome already does it - well recognizes it; i bet you could modify code to auto change it
 
0
Q: error: has incomplete type|: within a nested class?

user2555139I'm trying to declare an object of type WRAPPED that is within the class WRAPPED and the class WRAPPED is contained within another class called WRAPPER. I'm getting these compiler errors. nested_class_incomplete_type.cpp|56|instantiated from 'WRAPPER<NODE>'| nested_class_incomplete_type.cpp|62|i...

ALL THE CAPITALS
 
2:38 PM
though to be fair, auto-correct is something I do not like that much. I'd rather be told I made a mistake, that way I do not just keep on making the same mistake.
 
@TonyTheLion he's mad
 
@thecoshman erm... evidence suggests otherwise.
 
Hey guys, how do u make sure that the program runs though the entire vector before returning a bool value?
 
Wish really hard.
 
2:39 PM
^ this
 
Wish really hard what?
 
see above
 
@Pawnguy7 that it works
 
@JoelSeah saying 'wtf' everytime you fail helps, sometimes people pray to the Goddess of hacking and good code. But you need to sacrifice some small things for it to work ... do you have a small cat or dog or at least a tiny bird?
 
@BartekBanachewicz the bool vector thing?
 
2:41 PM
@Pawnguy7 yea
 
time to go home and add inner raycasts
:F
 
@TonyTheLion at least I know I am making these mistakes.
@JoelSeah o_0 you know at compile time if you vector is of type bool
 
@thecoshman it sounds like he's doing something with it; not the type
@JoelSeah are you trying to force cast it to a bool or something ???
 
@BartekBanachewicz I read that as "inner racists" :/
 
@Telkitty猫咪咪 Stop talking gibberish -.-ll
 
2:44 PM
@TonyTheLion i liked my comment :P
 
@EiyrioüvonKauyf no im not casting anything to bool
 
I feel I misread @JoelSeah question.
 
Xeo
@JoelSeah That... is amazingly unclear. Good job.
 
@JoelSeah oh, you just want to loop through a vector, then after that return a bool. Yeah, go back to programming 101
 
2:45 PM
@JoelSeah you don't believe in the Goddess of hacking and good code? OMG OMG OMG
 
@Xeo sorry for that. been at it for hours
 
now you are damned to live the rest of your life as a sucky programmer, you will never improve no matter how hard you try ...
 
@R.MartinhoFernandes lol
 
Is this not just declare a bool, loop through and potentially declare it false, then return, or is that not it? I am not quite sure what you are doing.
 
@Pawnguy7 i think he's starting a religion around bools
 
2:47 PM
BTW, if a function is const, can I automatically assume it is thread safe?
 
@JoelSeah Maybe, just maybe ask at a Q&A site?
 
@BartekBanachewicz no lol. well it depends stackoverflow.com/questions/14127379/…
 
@thecoshman yes. i wan to loop through a vector, and then return a bool after comparing values
 
I've heard of that site before
 
@BartekBanachewicz No of course not. But standard library requires classes with const members to adhere to this policy.
 
2:48 PM
Yeah so did I. I asked that question. But some comments not really answering my question.
 
@Eiy thanks for the link
 
@JoelSeah ¬_¬ it's a trivial task to be fair. If you are struggling with this, you need to go back to basics. Start from the beginning, learn to break problems down into their most simple steps. Try to build up to a final solution. For instance, "how do I return a boolean from my program". Just get this first step sorted, do not worry about what is to come.
 
the guy has 97 rep and 1 gold badge ... wtf?
 
@JoelSeah Describe the problem a little more?
 
@Tuntuni Nope. There's a question. I answered it
 
2:50 PM
@Telkitty猫咪咪 I'm getting the Fanatic badge as my first one. :D
@sehe Oh. Alright then. :) linky?
 
0
A: Iterating through a class vector causing problems

sehefor(vector<AccountInfo>::iterator itr = accInfo.begin(); itr != accInfo.end(); ++itr) { if (username.compare((*itr).username) != 0) return true; } return false; wait with returning false. I also think you might have != 0 reversed: http://en.cppreference.com/w/cpp/string/basic_stri...

@Tuntuni We try to keep the noise out of the chat room, as opposed to vocally telling people off for being newbs at length. /cc everyone else :)
 
Was the first answer invalid?
 
@sehe I wasn't gonna call him a noob :P, but I agree he should ask a question instead.
 
@JoelSeah The answers to your question were pretty clear. I don't think you understand what return does
 
@Borgleader i think he just mixed up compare as sehe said
 
2:54 PM
I am not sure about the "writes" part. If my class has no mutable members, is then const function thread safe?
 
Ell
I was suprised when I realised java had an Iterator type
 
@EiyrioüvonKauyf No the question asks why only the first iteration is done, and if you look in his loop theres an if else with a return statement in each branch.
 
@Borgleader Yeah i agree. But the return value was for only the first item of the vector
 
@BartekBanachewicz Const implies thread safe in C++11, no?
 
@Borgleader darn you're right; sorry about that, i was just looking at sehe's code snippet
 
2:56 PM
Stop looking at my ... snippet
 
snippet snompet
 
@Ell I was surprised to find that Java still exists.
 
@TonyTheLion not for long; Java 8 isn't really java :3
 
KILL IT
 
Ell
@EiyrioüvonKauyf how so?
 
3:02 PM
@Tuntuni The standard library works under that assumption. That is all.
 
ePub books suck. :(
 
eBooks suck in general.
 
PDFs are okay.
 
I prefer pdf for 500+ pages books
Paperbacks does not handle well when reading in bed
 
Ell
3:05 PM
^
 
shift+ctrl+h autoscrolls in Acrobat, useful imo. Adjust speed with arrow up/down
 
@Rapptz I tried the C++:CiA .epub the other day and goddammit that thing is worthless.
Code snippets are all a jumbled mess.
 
I was reading an ePub book and the author was referring to the style used in his code snippet, warning and notes. They all looked the same.
 
@Rapptz Yeah, because PDF was meant to always look the same. epub was meant to suck make everyone happy.
In the end it's just a bunch of HTML in a zip.
 
Yeah I found out I could use some CSS to customise it.. Fuck that man.
I just wanted to read this book sanely.
 
3:11 PM
oh CSS, eek
 
@Rapptz Reasonable design.
 
Graves of a Catholic woman and her Protestant husband, who were not allowed to be buried together. Roermond, NL, 1888 http://t.co/cF9mCAnjGN
So cool.
 
3:20 PM
I made the font a little bit smaller and now the code snippets are even more fucked up.
0
Q: Making "cout << obj1 + obj2 << endl;" work

Soham PalSo, I have gotten intra-class operator overloading working for obj1 + obj2: fraction operator+ (fraction op); Similarly, cout << obj is working by overloading operator overloading ostream: ostream& operator<< (ostream& os, fraction& frac); However, if I try to combine the two, all hell brea...

 
Is css3 still crap? (I never used any css)
 
It's okay.
 
It is not often I read good things about css
 
@JohanLarsson It's still CSS, if that's what you mean.
 
I don't know what I mean, just polling I guess
 
3:24 PM
It's still a PITA to write.
 
because everything is stringtyped?
 
@Rapptz Oh boy *new
 
lol, pretty bad.
 
Xeo
Crap. already 5:30pm. So much for my plan on leaving right now.
 
What's wrong?
 
3:27 PM
If you leave right this second it could still count as "right now" :P
 
*new is the memory leak operator.
18
 
As for "Just do like most people": I don't know of anyone who makes operator+ a member. Most of the time, you just inherit from something like ArithmeticOperators<fraction>, and get it for free. If not, it's usually a free function using += in its implementation. (But of course, your version is perfectly fine too, and for a class this simple, maybe preferable.) — James Kanze 36 secs ago
huh.
First time I've heard of someone inheriting for operators like that.
 
same
 
See Boost.Operators.
 
Seems silly.
 
3:29 PM
It's called the Barton-Nackman trick, IIRC.
 
I imagine you have to define a few things for this to work
like an member operator +
 
Never done it.
 
Just op+=.
 
btw
does anyone, ever, define x->y to be anything other than (*x).y?
 
Not I.
 
3:32 PM
I hope not.
 
2
A: How do I use the "Barton–Nackman trick" to implement trival methods?

Luc DantonWhen using CRTP, you have to take care when designing the base, i.e. impl_get_set in this case. When the derived class instantiates the base specialization, e.g. as done with A: public impl_get_set<A>, the A class is still incomplete. However the definition of impl_get_set uses typename T::stora...

 
If they do they deserve to be shot
 
I miss @LucD.
 
well, in Wide I already defined x != y as !(x == y) and x->y as (*x).y.
 
Yeah where's Luc at?
 
3:33 PM
@R.MartinhoFernandes hehe, that guy has me plonked :P
 
so I was thinking about doing something similar for arithmetic operators
 
Xeo
Noone knows. :(
 
define + in terms of += by default
 
@Borgleader Really?
 
pretty sure he does. I asked him a few times about some project he was working on, never got an answer, and since he was chatting at the time i asked i assume he has me plonked
 
3:34 PM
He plonked a lot of people.
 
@R.MartinhoFernandes All the ones that don't talk about C++?
 
lol no wonder he's gone for good
maybe he ended up plonking everyone
 
he couldn't plonk me <3
 
I would have expected a caltech student to be able to answer this question on their own. — John Dibling 21 secs ago
 
3:40 PM
then he realised there was no activity on this chat anymore
 
@Borgleader ouch. i agree though. but i've seen stupider sadly. on a top 3 CS schools i saw from a cs student "should i get an apple or linux ipad" ....
 
nobody cares.
 
@learntocode No.
 
Bye.
 
3:41 PM
@EiyrioüvonKauyf yikes
 
@Borgleader as my friend says, you need to fill up the class after you take the smart people. anyway the people i know at caltech are awesome so I consider this guy the exception :3
 
@DeadMG Good job. :)
 
thanks
by the way, you did see ThePhD's pinned message about how much he adores you, right?
 
@DeadMG Yes I did.
 
good
didn't want to let a good opportunity to go to waste
 
3:44 PM
lol
 
Yaaay
 
lol
 
I'm back at work. :D
 
@DeadMG What is that supposed to mean?
 
Welcome back.
 
3:44 PM
@TonyTheLion Read the conversation surrounding the message :P
 
@DeadMG I read that too.
 
well then, it was a good opportunity to embarrass him by publicly airing his unyielding love for you
 
IMHO, those reactions were childish at best.
 
frankly, when he wrote "Don't tell Tony this" I was immediately like "MUST PIN"
aw c'mon, it was just a joke
 
Its not like I was going to be offended
@DeadMG Yes a joke I expect from 12 year olds
 
3:45 PM
OW
 
I'm really liking work because this one lady here is teaching me Japanese
 
I see.
 
We're exchanging e-mails and talking all the time in Mixed-Mode Japanese and English
 
I joke I have been subjected to more times than I care to remember and I don't find it particularly funny.
 
3:46 PM
@ThePhD cool :)
 
@DeadMG It's not unyielding love. It's just respect and BRO-ship.
Bro in all capitals, to emphasize the strength and depth of respect.
 
well, never mind
I am gonna go feed the dog.
 
Gawd. Can we go back to weird sexual practices and laughing at Java?
2
 
Going Native 2013 doesn't look as interesting as last year's. isocpp.org/blog/2013/07/goingnative-day-1-and-2-talks-announced
 
> This presentation will also demonstrate the horrible things that happen when programmers think they can do tasks that are better left to compilers.
A presentation dedicated to @Mysticial ?
 
3:51 PM
I'd actually put my money on Mysticial :P
 
@TonyTheLion come on
@DeadMG meh puppy, it wasn't inappropriate to pin this since he posted it in public chat anyway
 
@Rapptz I'll take a look at that in a bit.
 
@R.MartinhoFernandes I hope there will be vods for "Writing Quick Code in C++, Quickly (Andrei Alexandrescu, Facebook)"
 
@Mysticial There's nothing to look at. It's just a summary.
 
@Mysticial Yeah it's a summary for September 4th-5th.
 
3:53 PM
@Borgleader There was live streaming last year. (And shortly after the videos were on c9)
 
cool!
 
why is there no std::parallel_for :F
now I have to write it myself like a fucking savage
 
OpenMP lol
 
@Mysticial hm
 
c++ amp :P hue hue hue hue
 
3:55 PM
I am kinda getting lost in all that OpenMP and OpenCL and whatnot
@Borgleader IPP :P
 
@R.MartinhoFernandes Is there a link to the video for that section?
Or have I already seen it?
Anyways, off to work.
 
@BartekBanachewicz It's not in std, but TBB has it.
 
@Mysticial There's no video yet. It's in the future.
 
ah
 
@JerryCoffin wait TBB is free?
ugh GPL
 
3:57 PM
Argh, this refactoring will take forever.
 
@R.MartinhoFernandes are you refactoring ogonek or something at work?
okey so this openmp
 

« first day (1017 days earlier)      last day (3928 days later) »