« first day (1070 days earlier)      last day (3892 days later) » 

3:02 PM
@JerryCoffin You haven't tried to get <1 minute then! There's an art to "inspecting" and look ahead. The real tactical combinations, like in chess, can only be "seen" with excellent spatial tracking. Yes, it's combined with routine, but it's nothing with the visual memory.
I can tell, because it's precisely what's stopping me. I'm pretty certain my dexterity isn't the issue - I'm pretty quick with the fingers!
 
@sehe Is that what she said?
 
Erm. Yeah. That's another topic, though
 
@melak47 Meh, 4.x is what I am missing the most.
 
@R.MartinhoFernandes well edition 6 is about 4.3
 
@BartekBanachewicz Well, I asked everyone.
 
3:07 PM
Wow, iPhone 5S sold-out a little too fast.
 
Consider yourself lucky. Maybe, now you'll be able to afford the next generation with built-in paternity test and central assination function (NSA-operated only)
 
@sehe You're saying I am lucky to not have the 5S?
 
@sehe lol no kidding.
The finger print technology
 
I heard they store your finger print on their cloud servers
Which is ironically powered by Microsoft's Windows Azure. LOL
 
@TemplateRex Oooooh, reading about this now, that sounds like a conjugate, actually. I use this trick all the time, but sometimes I get distracted, forget the R and have to deduce it from the shape that is left at the end of f.
My edge moves are all conjugates.
 
Xeo
3:31 PM
Getting a pinch gesture for zoom to feel right is surprisingly hard.
 
Ell
Hi
 
Lo
 
Ell
Seems like it ought to be okay? Don't you just take the initial distance and use the delta for zoom factor?
Then use the centre oif the line for translation, and the angle delta for rotation?
 
@R.MartinhoFernandes Will try. Might require additional funding though :/
 
what will compile faster - a function template with enable_if and is_integral, or overloads for all integral types?
 
3:38 PM
Yes.
 
@Abyx ^
@Abyx Good luck implementing overloads for all future enums!
 
Enums are not integral.
 
(But the set of integral types is only known for particular implementations so your point still stands, in a way)
@Abyx Fixed.
 
ok... well it seems it's just a case of premature optimization anyways
I'll measure it later when I'll have a lot of LOC to test on.
 
3:46 PM
For example, in GCC std::is_integral<__int128>::value should be true (gcc.gnu.org/onlinedocs/gcc/_005f_005fint128.html).
 
I can add #if defined __GNUC__ if I'll ever need to support such types.
 
or user will add an overload for __int128 when (s)he'll need it.
 
@Abyx Depending on your compiler implementation, enable_if may be faster. Instantiation of a specialized template could be faster than searching a set of existing overloads and performing overload resolution for each one - especially if the expressions in the argument list of the function call are complex.
 
question was "what will compile faster", and not about types like char42_t.
@willj thank you.
 
3:53 PM
if you're that worried about compile times, I would recommend getting rid of all the whitespace in your source files
:P
 
whitespace doesn't affect compile time that much.
but I noticed that stuff like boost.spirit tend to compile for ages, so I thought that templates could be slow.
 
nah, it just has a lot of whitespace
 
just for fun I attended a lecture on c++11 at KTH (the royal institute of tech, stockholm, sweden). damn it I hate teachers who don't know what the fuck they are talking about
 
any optimisation that you make to code that is not problematically slow, is premature
 
"so you can think of tuple as an immutable version of a class"
are you fucking kidding me?
 
Ell
3:59 PM
Wat
 
@refp maybe he wasn't talking about the std::tuple
 
that was in the middle of the lecture, I saw quiet up until that point, disregarding how he explained inheritance and the associated pointer-aritmetics, templates, god knows what, wrong. I raised my hand and pointed out that he was incorrect
@Abyx he was talking aboust std::tuple
 
@refp then run away
 
after the lecture I went up to him to talk about just that thing since I'd like to explain to him so that he could understand for future reference.
 
lol your teacher said that?
 
4:00 PM
he was busy talking to some students and tried to explain move-ctors and move-semantics.. and he got it all wrong
 
did you hit him in the face?
 
@Borgleader not my teacher, a teacher at a uni here in stockholm, I attended the lecture for fun
 
oh i see
 
@Abyx verbally, yes. I started explaining move-semantics to the students and he stood there in silence
 
Ell
Poor guy
 
4:01 PM
@refp did you get upvoted?
 
I also showed him some examples of how std::tuple isn't immutable, and he stood there confused
then I realized that one reason for him thinking it's immutable is probably the constexpr ctor as in std::tuple<int,int> t {const-expression, const-expression}
 
He probably saw tuple in C++ and assumed it worked like tuple in an other language where it is immutable
 
so I showed that to him and he says; "see, I told you std::tuple was immutable"
 
posted on September 20, 2013 by Herb Sutter

Bjarne Stroustrup and I are giving back-to-back talks on Tuesday night in Chicago, while we’re both in town for the standards meeting next week. Admission is free. Register by email here (and ignore the “it’s full / sold out” note on the page — see below.) Note that my talk will be 80% new material followed […]

 
iirc, pythons tuples are immutable, so are haskell's (dont quote me on that)
 
4:03 PM
fuck no, std::tuple has a constexpr ctor which will make the instance immutable, but std::tuple as a whole isn't immutable AND it wasn't introduced "to pass around const objects".
@Borgleader they are in haskell for sure, and they probably are in python too
but this is c++, not haskell/python/whatever
 
i know i know
im just saying thats probably where he got it from
doesnt excuse his lack of research
 
well, this is just the tip of the iceberg to be honest
 
@refp It won't make anything immutable.
 
@R.MartinhoFernandes if you invoke the constexpr ctor you cannot use std::get<N> (t) to alter the value.
 
@refp Yes, you can.
 
4:07 PM
@refp wrong
 
oh shit what the fuck am I saying?
this stupid thing has infected my brain
 
@R.MartinhoFernandes I don't even need to look at that example, I guess I know what it contains
 
@R.MartinhoFernandes yes, conjugate is the right term
 
I spent two hours sitting through his bloody lecture seeing the students processing it all and taking it as fact
 
4:11 PM
one does not simply learn programming from professors
 
@khajvah true that
 
You can, if they don't suck. (inb4 cat saying they all suck)
 
aaanyhow.. seems like I will be throwing my own lectures with the same contents as his, but correct
 
mine werent nearly as bad
 
what language are openoffice or libreoffice written in?
 
4:12 PM
@Borgleader most of them suck, but I thought it would be much better at uni-level... but I was wrong
 
I have learned more in 3 months of internship than a yaer in college
 
@khajvah Java, I think.
 
I mean in the eyes of the public a professor would be chosen most of the time if the question was; "who's better at writing software, a 14-year-old boy or a professor?". unless they figure out that it's a trick question
the answer is; neither are any good (unless the 14-year-old is asexual), a professor is.. well, a professor, and the boy jerks off far too much
 
A professor in a local university was teaching students to use variables with one-letter names like "a, b, c, d"
 
OH SHIT, I ALMOST FORGOT
I'm not making this up; "if you are going to write tests for your vector implementation you could do #define private public so that your test code has access to the internals of the vector for inspection"
 
4:16 PM
@khajvah math professor? :D
 
I literally made a face-palm, and how often do you really do that?
 
@melak47 I really wish it was math professor :D
 
I was real close to saying "but what about protected, don't you need another define in there?" hoping he would say; "ah yeah, that's right.. #define protected public as well, of course!!. but I didn't.
 
:D
 
4:22 PM
yet another reflection type proposal?
 
Xeo
If only it was be a proposal at all!
 
Hell, I could probably shit something better...
@Xeo There are compile time reflection proposals already, right?
 
user1804599
4:39 PM
Boo.
 
Is manjora linux with xfce?
by default
 
Anyone know of a good introduction to ranges?
 
damn....
@StackedCrooked Luc Danton ;)
 
@Borgleader how much have they sent?
 
I think luc plonked me.
 
user1804599
4:51 PM
WEEKEND
 
How exactly does compile-time reflection work?
 
user1804599
0
Q: C++ code buggy, needs fixing

user2775243Hey guys I've got this piece of code, posted below. I've added the while loop to make sure that only numeric input is used, but when I use it, it requires me to input the number twice, or press enter and then input the number. Output would be: Input number : 1 1 then it would it would print the...

 
user1804599
lol @ the title
 
What am I doing in front of computer on friday
 
@Borgleader damn indeed.
 
4:52 PM
@StackedCrooked lol, you too?
C++ non-descriptive title, needs fixing. — Borgleader 6 secs ago
 
Ell
@StackedCrooked lol really?
 
Luc's plonk list is about as long as your mom's shopping list. </gratuitous-starbait-insult>
 
Xeo
Why does everybody think that Luc plonked them?
 
Probably because he did :P
I'm actually really curious to see his plonk list
Here's an example oh why I'm pretty sure I'm on the list
s/oh/of/
 
Xeo
5:11 PM
Yeah, that seems pretty convincing
Whee, rep cap from a single answer~ Whatever drove people to actually vote that much on it.
 
eh...
i dont recall ever repcapping on a single answer
 
user1804599
 
Ell
5:30 PM
 
Seems decent at first try.
 
5:52 PM
Did SO timeout for anyone else just now?
 
@Borgleader talk about overhyped
 
Xeo
@StackedCrooked The best introduction is trying to find out what ranges are to you.
But you can probably also ask the robot
 
So deep.
 
@Rapptz Huh?
 
GTAV is the most overhyped game of gaming
 
5:58 PM
@R.MartinhoFernandes I rather meant about particular issues, not the book itself, but w/e :)
 
Xeo
@StackedCrooked No, really. Everybody seems to have a different opinion on what ranges are / should be
 
@Mysticial it didn't for me
 
@Xeo I guess that's why I asked for an introduction :)
I guess ranges would allow me something like for (auto x : keys(my_map))
Perhaps with a different syntax.
 
Xeo
imo, ranges should allow you to easily write such a mapping function.
 
I made something like for(auto&& line : by_line(stream)) yesterday
 
Xeo
6:01 PM
You can write keys with C++ containers/iterators nowadays, but it gets ugly fast.
 
though atm I have an extra line at the end hmm..
 
Xeo
(btw, keys is basically map(cont, select_1st())/map(cont, [].first))
 
user1804599
foreach my $x (keys %my_map) :P
 
Xeo
that's what?
 
So everyone is talking about ranges while the term isn't even defined yet..
 
6:03 PM
@Rapptz It got good reviews, people like it, it sold well. How is that overhyped? seems justified to me (although I haven't played it, and most likely neither have you)
 
@Borgleader I actually have (spoiler: when I bash a game I actually play it)
 
user1804599
@Xeo Perl. \o/
 
Xeo
@StackedCrooked The Ranges study group is trying to define exactly that
 
Ok so you did play it... ya didnt like it and so its overhyped? regardless of all the reviews and all the people who did?
 
@Borgleader GTAIV sold well, got good (paid) reviews, and people (presumably) liked it. Does it make it a good game? I don't think so.
@Borgleader Rockstar is known for paying reviewers, how come you put so much faith in shitty game reviews anyway?
 
Xeo
6:05 PM
@Borgleader don't trust reviews.
 
I don't automatically assume reviewers are corrupt. Fuck me right?
 
Well they are, look up all the people who got fired for rating down a Rockstar game
Rockstar is made up of a bunch of assholes
 
@MarcClaesen Hmm... I can't imagine Google having connectivity problems... But my pings to SO are really high or are timing out.
 
Ell
I have no idea how the dom works :3
 
is SO lagging for you right now @Mysticial?
that said, google has been lagging for me today
 
ugh I found another chinese kid better than I'll ever be on guitar
 
user1804599
Guitar level: Asian.
 
There will always be an asian kid out there that can do what you do but massively better.
 
@not-rightfold here
anyway, one simple conclusion: time to play piano instead :D
 
user1804599
@BartekBanachewicz sehe pwns you.
 
6:25 PM
@not-rightfold no shit.
 
Ell
@BartekBanachewicz what are you playing?
 
@Borgleader that reminds me of the joke: "30 years ago, parents would say: eat your dinner, there's millions of Chinese ready to eat it. Now they say: do your homework, there's millions of Chinese ready to take your job if you don't"
 
lel I forgot I have a violin here too
too bad I can't play that one for shit.
@Ell tiersen!
FTR I suck on piano
3
 
@BartekBanachewicz You make your piano hard
 
@Borgleader ...
 
Ell
6:28 PM
@BartekBanachewicz Ahh tiersen! This is a nice song: youtube.com/watch?v=H2-1u8xvk54
 
@MarcClaesen yes
 
Ell
And isn't too hard either
I forgot how to play though o.O
 
user1804599
What a wonderful, wonderful day.
 
Ell
@not-rightfold ?
 
@Mysticial it's fine for me, 90ms ping
 
user1804599
6:31 PM
Gonna play snooker tonight.
 
FFS fucking ASIO
 
Ell
@BartekBanachewicz boost asio?
what's up?
 
@Ell no, ASIO sound drivers
 
Ell
ohh right
 
y'know, I don't have an analog piano here
 
Ell
6:35 PM
I just have a keyboard :3
but I don't need to plug it in to my computer o.O
 
user1804599
I have an electrical piano with built-in speakers.
 
@Ell I'd say the PC software synths are decent
 
wow, my old cpu has kept its value rather well - now sells for 80% of what I bought it for almost 4 years ago
 
user1804599
It's not sbi, so it's not old.
 
Ell
also my opengl camera sucks :( coliru.stacked-crooked.com/a/605eac3d1e3eef91
 
6:38 PM
@Ell there's no such thing as "OpenGL camera" :/
 
fuck, I am unbelievably sick
 
user1804599
We know. You tell us every day.
 
user1804599
We’re also getting sick of it.
 
Ell
@BartekBanachewicz well, I mean my "camera" sucks. I'm using opengl & glm.
 
weather is terrible today
@Ell that's more correct :P
 
user1804599
6:39 PM
@BartekBanachewicz Rather nice here.
 
user1804599
 
Ell
@BartekBanachewicz could you take a quick look at the code pl0x? :) only 15 lines. If you don't see something immediately wrong then it's okay
 
@Ell glm::normalize(eye) what
 
Ell
@BartekBanachewicz I want to scale the direction properly
 
what this camera is supposed to do?
@Ell what
 
Ell
6:42 PM
@BartekBanachewicz idk >.< I want to move it forward by 1 unit vector in it's current direction (when I press Key::Up)
I thought that was how
 
naaaaah
eye += normalize(eye-target) * speed
that, typed up hastily, seems to make more sense, though obviously I haven't checked
 
Ell
eye-target? is that eye minus target?
 
gods buying flats is so expensive and complicated
 
also speed should be a scalar, dunno why are you making a vec3
 
user1804599
6:44 PM
Why are you buying a flat.
 
Ell
@BartekBanachewicz it didn't compile or something
 
Ell
I thought that too.
 
maybe there's v.mult(3.0) of sorts
 
Because apparently 30-year-long mortgage is what cool people do nowadays.
 
Ell
6:45 PM
Maybe I should start again xD All I want is a camera I can strafe with and move forward and backward with using the arrow keys and rotate using wasd!
 
@CatPlusPlus can you afford it already?
 
@CatPlusPlus now you are thinking
 
I don't know yet.
I have to go ask around banks.
 
@Ell now there's Fly mode and Walk mode of this
 
Ell
@CatPlusPlus isn't that what people have always done?
 
6:46 PM
@CatPlusPlus I'm jelly.
 
Ell
@BartekBanachewicz I want the fly mode (I'm pretty sure)
 
But I've been thinking about it for a day and I'm already getting a headache and :effort:
Maybe it's a stupid idea.
 
@Ell I'd keep it as two rotations then
 
@BartekBanachewicz Of what?
 
@CatPlusPlus being able to buy own place
 
6:52 PM
I don't even know if I can get the stupid credit.
 
user1804599
What the hell do you want to do with a flat?
 
@not-rightfold live inside?
 
user1804599
You don't need an entire flat to do that. :|
 
Paint it black and pretend it's space
 
Ell
@BartekBanachewicz I don't even know how to do that :(
I don't understand why these vectors aren't giving the correct movement
It does something unusual
 
user1804599
6:58 PM
Oh God I love this.
 
I'm hav
 
user1804599
ing a wonderful time?
 
Fuck cellphone interface. ..
 
@not-rightfold That guy is funny. I like AntiJokeCat as well.
 
If a class has a default move/copy constructor it's still an aggregate right?
 
Xeo
7:10 PM
ya
 
@Rapptz By default do you mean compiler-generated, or one that doesn't require a parameter?
 
Xeo
it's an aggregate as long as it has no user-defined constructors
 
@JerryCoffin Just stuff() noexcept = default
 
Xeo
@JerryCoffin a move / copy ctor without a parameter would be a bit strange :)
@Rapptz Oh, explicitly defaulted. Not sure about that one.
 
@Xeo Oops -- so it would.
 
7:11 PM
Defaulted constructors are fine
It's the move/copy that I'm iffy on but I assume it's okay since the constructor is
 
Xeo
yea
 
I think explicitly defaulted is the same as implicitly defaulted (though if you've done anything that requires the explicitly defaulted ctor, chances are that other thing stops it from being an aggregate).
 
I just wanted to explicitly mark things noexcept.
Which you can do! But I'm not sure if that means it's no longer an aggregate
I could leave it out though and it'll work
 
So, for anybody who cares, my excitement for today is sitting at the San Francisco airport pretty much all day. Was originally scheduled for a flight at 11:25, but it was delayed, and I wouldn't have been able to make the connection. They moved me to a 10:15 flight, but that got cancelled. Then it was a 15:40 flight -- also delayed to miss connection. Now on flight scheduled for 19:00, predicted delay 'til 20:00 (but non-stop flight, so no connection to miss).
Was originally scheduled into Denver at 16:40, now scheduled for 23:35...
@Rapptz I'd have to look to be sure, but I think it should still be an aggregate.
 
@Ell you should use a piece of paper and maths before coding
 
Ell
7:22 PM
@BartekBanachewicz I did. I used lots. I don't understand why the maths doesn't work :/
 
Xeo
@JerryCoffin Fun
@JerryCoffin Clang at least believes it is
 
Ell
@JerryCoffin oh my
 
@JerryCoffin sounds like fun
 
@Ell your maths is bad :P
 
come on guys is it so difficult problem ? — Win Coder 1 min ago
I know I shouldn't get pissed off, but Jesus!
 
7:31 PM
I wonder if this skipfish run will finish this weekend.
HTTP requests: 1808195 (128.3/s) :v
600MB in, 500MB out
 
@A.H. Oh yeah! Well, at least I have my laptop and a plug in handy (though I think after a few hours, the restaurant I'm sitting in my being to appreciate my moving along).
@BartekBanachewicz All math is bad.
 
you didn't order anything ?
 
The more I think about that flat the stupider it seems.
 
@A.H. I did. I'm figuring that gives me a few hours or so, but probably not all day...
 
Maybe I should put aside half of paycheck every month for like 5 years and then go from there.
 
7:34 PM
@Rapptz I think that the noexcept is inferred for you from the data members. Not sure, though.
 
YOU ARE NOT HELPFUL AT ALL
 
neither are you
 
I love Cat's soliloquies.
@Borgleader what are those symbols on the 3 buttons
?
 
how would i know :P ask gabe newell!
 
7:41 PM
Steam, SteamBox, Steam Sharing?
 
@DeadMG I, however, am helpful. In fact, I generally help myself to anything that isn't bolted down (and maybe even then, if it has only a few bolts).
 
feel free to help yourself to the contents of my gallbladder
 
@ÓlafurWaage Considering this page is talking about announcements (new ones) and theses have been known for a while, I don't think this is it.
 
@DeadMG That's definitely out of reach, so to speak.
@Borgleader It's always fun to see a mostly-abandoned web site with bright "new" banners next to links that haven't been updated in 10 years or so...
 
Mostly abandoned website? Huh?
 

« first day (1070 days earlier)      last day (3892 days later) »