« first day (1444 days earlier)      last day (3494 days later) » 

12:00 AM
i enjoyed RoS but after reaching lvl 130 or so it was enough for me
 
I solved 9 Project Eulers in the last 2.5 hours
And about 20 since the beginning of the day
;_;
 
user3010322
I need to make this implementation more compact and more succint.
 
user3010322
I feel I'm not using C++11's templates to their maximum power here. :(
 
user3010322
But at least it's compiling again.
 
@LightnessRacesinOrbit I didn't.
 
12:04 AM
@LightnessRacesinOrbit Sometimes people have bad days.
@LightnessRacesinOrbit Not here.
The only person in my ignore list is Bartek.
3
 
user3010322
template <typename TArith>
type<std::enable_if<std::is_arithmetic<TArith>::value, RVector<T, n>&>>
operator+= ( TArith right ) {
 
Yay, playing Diplomacy next weekend.
 
user3010322
ANd that covers it.
 
user3010322
Though, maybe I should make that a Universal Reference,
 
user3010322
and then use unqualified_t<TArith> too...
 
user3010322
12:06 AM
... >_>
 
user3010322
Nah.
 
Why not operator+= ( RVector<T, n>::element_type right )?
 
user3010322
I did that before, and it made me pull my hair out
 
user3010322
because v += 2 was a non-starter
 
Well, missing typename, but.
 
user3010322
12:07 AM
because 2 is an int. :(
 
@ThePhD Why?
@ThePhD So?
 
user3010322
That's fruuuustrating!
 
user3010322
Because I don't want to run around sticking .0f on everything?
 
Er.
Last I checked, ints convert to floats just fine.
 
user3010322
12:08 AM
It complained for me. Everytime.
 
Tell it to shut up.
 
user3010322
The thing used to look like operator+= ( T right )
 
user3010322
Where T came from the RVector<T, n>
 
Wait, and it doesn't complain in the implementation?
 
user3010322
Er, I don't follow?
 
user3010322
12:09 AM
It complained when I did Vector<float, 2> v{ 2, 2 }; and then did v += 1;
 
As you have now, if TArith = int, there will be some sort of this->x += that_int in the implementation.
Why doesn't that one complain?
 
user3010322
Internally I slapped a static_cast before the final assignment into the vector.
 
Er.
So, you clearly don't care about the warning, then.
There's an easier way to deal with that :P
 
user3010322
But it wasn't a warning before, it was an errrooor!
 
What.
Did you have warnings as errors?
 
12:11 AM
@Rapptz Absolutely!
 
Because I don't believe you otherwise.
 
@Rapptz That was a callback to an earlier hilarious sequence of jokes ;p
 
user3010322
dhwjdawdh I don't want to change things back to repro. ;~;
 
user3010322
Maybe I can make a minimal thingy...
 
@Rapptz lol
@R.MartinhoFernandes #nevah
 
12:15 AM
@sehe indeed he was
 
we all like bartek
 
We put up with bartek, you mean =p
 
user3010322
@R.MartinhoFernandes puu.sh/bRZdS/c0eebbc373.png
 
user3010322
And that's when the implementation looks like...
 
12:24 AM
I'd keep the error, then.
 
user3010322
But.... but but... ;~;
 
Urghh.. I feel like cat.
 
Meow
 
user3010322
Well, I removed the static_cast
 
user3010322
So it will still error if I do something like use a long long with a float
 
12:33 AM
@MartinJames steamed or stir fried?
 
user3010322
But I kept the TArith work, so it would work with ints and stuff properly.
 
user3010322
THE BEST OF BOTH WORLDS \o/
 
user3010322
Still, I need to make a generic math library.
 
user3010322
Or rather, I need to integrate with eigen properly
 
user3010322
And just use their stuff.
 
12:36 AM
@chmod711telkitty He was pretty steamed last night:)
lol I've had to resort to paracetamol. I don't like resorting to drugs to treat a drug overdose, but this time it's bad. I suspect I had at least seven pints of Directors, and now I'm paying for it.
 
user3010322
CONVERSION FROM INT TO FLOAT, POSSIBLE LOSS OF DATA
 
user3010322
I hate you, C++. It's 0. You can see it's 0. IT FITS.
 
hahahaha
I always get paranoid and put 0.0f. Still, compilers being smart as they are, it should be able to work this kinda thing out
 
I don't see why tbh
 
Oh - initializer list. Yeah, that is annoying.
 
12:42 AM
speaking of which I never had cats before ... tried dog & snake
but hey I have pet chickens so ...
did I tell you my chickens love cheese, bacon & even eat pizza?
 
user3010322
I really need my Colors declaration to be Color<T>::Black/White/PirateBeard
 
@OMGtechy it's not that much about being paranoid as it is about your program not compiling because of that warning-turned-into-error
that is if you treat warnings as errors
 
I do indeed, but even if I didn't.
 
@chmod711telkitty you mean future dinners
 
user1646075
@chmod711telkitty Chickens will eat chickens. In fact, they'll eat your fingers before you stand up if you fall over in the pen. Or is that pigs?
 
12:48 AM
pigs
it's in their DNA to eat everything and anything
 
@Mgetz nope, they are walking soft huggable toys who run away from me whenever I try to catch them
 
my grandparents would always raise pigs to have meat ready in the winter
 
@aclarke I suspect a lot of animals would eat a dead human, chickens & pigs included
 
user1646075
kinda like humans <== well that was disappointingly late. Is anyone else getting retries, or is if just my borked work network?
 
also I'm beginning to hate boost::spirit
shit compiles on msvc... but not on gcc
 
12:50 AM
I can confirm that even 2 or 3-week old pigs would start randomly chewing at my laces and trousers if allowed to
I pray that pigs don't start growing too big or too many
those shits can eat anything
 
user1646075
@AlexM. oh, I do. Prepare the smoker!
 
opportunistic ...
 
pigs are surprisingly independent of their human caretakers btw, which is probably why they're so ready to eat anything on their own
take one pig out of the pen and he'll have no trouble adapting to the environment and starting to search for food
 
@Borgleader Why is it green???
Good morning.
 
@MarkGarcia what?
 
12:53 AM
that's why they are penned ...
chickens can be free range, they always return to their coop in the evenings
& us caretakers are the 'head chickens' in their eyes, highest in pecking order
so they follow us around
 
It's still green even if I copy it on text boxes on FF.
 
eh.. black here
 
its just you =/
 
how do fonts even do that
i had no idea fonts contained colour information
maybe your browser has a special plugin to handle ticked checkbox symbols differently
 
@MarkGarcia this is pretty cool
 
12:56 AM
@ThePhD ugh I couldn't work in that
 
user3010322
@LightnessRacesinOrbit How would you have it?
 
@ThePhD Does nymph have a Fuck method?
 
@LightnessRacesinOrbit I don't know. Though I've seen the same character (maybe different Unicode char though) on reddit threads but they aren't colored.
That is so weird...
 
user3010322
@Borgleader Not yet. :D
 
user3010322
@MarkGarcia It's that stupid colored Emoji thing.
 
12:58 AM
@MarkGarcia ☒ is this red for you?
 
@Borgleader WTF YES!
 
@ThePhD different
 
O.O
 
@MarkGarcia loool
browser deets plz
 
Hi. I am new to working on big projects in C++ (Visual Studio). Can someone tell me how can I find the entry point to a project in Visual Studio?
 
user3010322
12:59 AM
Wait
 
user3010322
@MarkGarcia You using Windows 8.1 ?
 
@ThePhD Yup.
 
@MukulGupta uh... what
 
@MukulGupta You don't "find it"; you write it.
 
user1646075
@MukulGupta sorry, we all use gcc on linux
 
1:00 AM
 
speak for yourself
I use Solaris
 
OK that's the last image spam for the day.
 
user3010322
 
1 min ago, by Lightness Races in Orbit
browser deets plz
 
@MarkGarcia thats actually kinda cool. im really curious as to whats doing that
 
user3010322
1:00 AM
Windows 8.1, as part of the Windows Runtime, upgraded its text handling to include coloring text if possible.
 
that's horrific
 
user3010322
They did this for Emoji.
 
Maybe because DirectWrite.
 
it's black for me on W8.1 btw
 
user3010322
1:01 AM
It's probably propagating through the base library up to Firefox.
 
user1646075
@ThePhD ewwwwwwwwwwwwwwwww
 
user3010322
@AlexM. Heathen.
 
yeah let's ruin text rendering for everybody to serve the needs of a bunch of prepubescent girls on instagram
for fuck's sake
 
user3010322
Maybe we just have the right fonts installed?
 
I'll try it on chrome with the new DirectWrite support.
 
1:01 AM
@ThePhD fonts don't describe colour
 
it's black in IE too, not just Chrome
 
user3010322
 
not TTF anyway
 
user3010322
Black on cHrome
 
user3010322
Maybe Firefox is just a jerk?
 
1:02 AM
@LightnessRacesinOrbit Uptil now, I have worked only with programs with 1 file and having a main(). I have started working on an existing project and I am not able to debug it. I want to know where does one define the entry point of a project in Visual Studio
 
Not on Chrome Canary... WTF.
 
@MukulGupta main is the entrypoint.
 
@ThePhD no, im on FF and its black
 
user3010322
Hm.
 
@MukulGupta so by big project you meant more than one file?
 
1:03 AM
@LightnessRacesinOrbit FF "mainstream". 32.0.3.
 
@Borgleader inb4 2 files
 
@ThePhD That page is so hard to read due to being rendered in 90,000pt
 
user3010322
@AlexM. Go to Windows Update and update your goddamn OS.
 
the world is going to hell
 
user3010322
1:03 AM
You'll get the colored things too.
 
Win 8.1 Update 2 here.
 
didn't update in a while, maybe I should
I want green checkboxes
 
user3010322
Do it, and step into the glorious world of colored checkboxes.
 
> For D2D, the new D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT flag will enable drawing color emoji on Windows 8.1.
lol
 
user1646075
bring back scrolling marquee
 
1:04 AM
i can't take any more derp from the world
 
wait, it's set to autoupdate
 
night bitches
 
it's up-to-date
 
@Borgleader No. The project spreads across many *.sln files.
 
a project cannot spread across many solutions
 
1:05 AM
@LightnessRacesinOrbit lol. Those DX guys!
 
@MukulGupta I think you mean many vcproj in the same sln
 
@LightnessRacesinOrbit 'night
 
@Borgleader I suspect he doesn't and that that is the problem
 
@LightnessRacesinOrbit yikes, nothingtodohere.png
 
I'm thinking boost::spirit is probably overkill for my use case
 
1:08 AM
that's the spirit
 
eh was just trying to be lazy and parse directly into a structure
but RFC2812 has a very simple overall grammar
 
id say boost spirit should only be used for relatively simple things
otherwise the compilation times alone become a problem
im not kidding
 
in this case I don't need backtracking
which is what boost spirit would make easy
I can implement a quick forward only parser using standard C++ functionality
 
1:24 AM
Is it cheating if I look at math.stackexchange.com/questions/389675/… when I'm computing problem 3 on Project Euler (not the code)
 
do function local statics transcend different TUs?
like
// test.hpp
int test();

// test.cpp
int test() {
    static big_thing thing;
    return thing.integer();
}
would big_thing still only be initialised once if I include test.hpp in two separate TUs?
 
@Rapptz Hm. That made me wonder how compilers handle statics inside inline functions.
@Rapptz Yes of course. That's crucial for Meyer's singleton pattern, IIRC.
 
I'll take your word for it :p
 
I'm 99% upside-down 180 deg rotation sure. :P
Though I'm sure I've done it many times and had no problems whatsoever.
 
@Rapptz With no proof or arguments, I'm gonna go with my gut and say it has to.
 
1:30 AM
my gut says yeah too
but the static keyword has fucked me over so many times
so I'm worried
 
Proof of Microsoft sabotaging the Chromium projects. "Doesn't work in MSVS2013." "Doesn't work in MSVS2013." "Doesn't work in MSVS2013."
 
@MarkGarcia no that's just MSVC sabotaging C++11/14
it's not specific to chrome
 
MSVC is evil.
I'm happy Google is opening up on modern C++ code. Except for the move semantics part, their don't use list is quite reasonable. Because MSVC.
And the ban std libraries part.
 
really? they are putting a kabosh on move semantics... wtf
 
they don't understand C++ features
they're afraid of them so they don't use them :v
 
1:35 AM
they don't understand c++
 
It's really an insult to their programmers as they are treated like they can't know a thing on C++. Though maybe they really can't...
 
I love how they are using C headers
and ban the C++ versions
 
Because std.
 
you have to use <stdint.h> instead of <cstdint>
why is std a problem?
 
> All C++11 Standard Library features are currently banned, because they are not supported on all of our toolchains yet. In particular, chromium/android is currently using STLport, and chromium/mac is currently using libstdc++4.2, which predate C++11.
Because laziness.
 
user1646075
1:39 AM
@Mgetz i was taught that it can be horribly itchy, and can leave you infertile and even insane
 
lol
 
@MarkGarcia Chandler does... he works for google right?
 
@MarkGarcia le sigh
 
@aclarke You also need to refer it to some who have experienced it to check if you're in the safe.
@Borgleader Um, I dunno. Either Apple or Google. Guy uses a Mac.
 
> Chandler Carruth
Software Engineer at Google and Open Source Software Developer
 
1:42 AM
I'll start calling him "C Handler".
 
dat reference
 
user1646075
fuck.,
 
user1646075
 
user1646075
1:57 AM
i think my keyboard is dyindfgnkfgsdfnakl
 
2:14 AM
-1
Q: How would I go to the beggining of the code in C?

ImminentI need a way to go too the beginning after I've reached the end of the code: For example: #include <studio.h> #include <string.h> int main() { printf("Hi.); } ///Make the person press space. ///Whatever thing that makes it it go to the top goes here. Also, I want it so that it doesn't just lo...

> #include <studio.h>
lol studio
 
> int main() { printf("Hi.); } ///Make the person press space.
Wow.
 
lol
 
> makes it it go to the top
 
user1646075
 
I'm tempted to tell him to add a top: label and use goto
 
user1646075
2:19 AM
@AlexM. do do!
 
or maybe the_top:
 
user1646075
"The for and while loops I can't understand fully yet" - and therein lies the rub.
 
user1646075
/channel granpaw Bert/ "what's wrong with the young folks today? They never heard of Books? They're made of PAPER and you can CARRY them!"
 
user1646075
damn - SO removes leading "Hi, " on answers? Dammit I was trying to be cheerful.
 
user1646075
@AlexM. are you Coolguy or did you just get trumped
 
2:29 AM
> I'm Just a COOL programmer. I like StackOverflow because it helps me to learn a lot...even when I'm not asking questions!
nah, I'm not cool
he was faster
 
user1646075
2:43 AM
I got a downvote? bitches!
 
user1646075
do i get my points back if I delete?
 
@aclarke After a while, yes.
 
user1646075
thanks. Some people need a humour transplant.
 
3:08 AM
if you could transplant the brain, who would the new person be? transferer or transferee?
 
3:22 AM
@AlexM. Wasn't Cool the codename for C#?
 
@EtiennedeMartel The real code name rhymed with Cool, but started with "Dr" instead. :-)
And yes, of course I'm kidding, but I seemed too cool drool to pass up.
 
Maybe it was mispelled and is meant to be COBOL.
 
@aclarke Heh - you post was on the verge of not being an answer, but I would not downvote any reply to that 'question'. Fuck me 'I want to learn how to drive a car - what do the wheels do?'.
 
3:40 AM
@MarkGarcia Go wash your mouth out young man. We do not allow language like that around here!
 
user1646075
@MartinJames I'm guessing Jordan is one of those feverish point-whores. A downvote gives you a point or 2, doesn't it?
 
@aclarke No. On an answer, it costs one.
 
user1646075
@MartinJames ehhhxellent
 
!!!
 
@aclarke NO NEED FOR THAT!
 
user1646075
3:42 AM
ABEND! ABEND!
 
2 messages moved to bin
All right, enough of that already!
 
user1646075
Mark, we need to go wash our mouths out with soap and cement powder.
 
Oh, and yes, that was undoubtedly a flagrant abuse of power (but kind of funny, right?)
 
And with MySQL's ACID.
 
I think I'll use coffee and a ham salad buttie instead.
 
user1646075
3:47 AM
@JerryCoffin sure - get's my
 
user1646075
 
wow
XPath is terrible
 
@Rapptz In that age-old excuse: not as back as XQuery.
 
user1646075
@Rapptz OH - and THIS language is asseptable? Naughty Corner!
 
I thought I'd give it a shot
but it's awful
 
3:48 AM
@Rapptz Seems like everything that has "XP" in their name becomes terrible at some point.
 
@MarkGarcia I can't really think of any examples of that. Windows XP doesn't strike me as terrible, and most of the others didn't become terrible at some point--they started out terrible.
 
user1646075
Xtreme Programming?
 
user1646075
XP got non-shit after - was is SP1 or 2
 
user1646075
at least it wasn't ME
 
@aclarke eXcellently Prime eXamPle!
 
3:57 AM
@aclarke So, what if it was YOU?
:P
 
user1646075
what does the world think of the Athlon XP chips?
 
@aclarke I hardly used Me enough to notice. On desktops I completely switched to the NT line by NT 3.51. On laptops, I skipped straight from Win98 SE to XP.
 
user1646075
@MarkGarcia "I helped introduce the new millenium. Too bad I was clumsy and defective."
 
user1646075
 
@aclarke They were really quite cool (for their time).
 
user1646075
3:59 AM
@JerryCoffin then we'll call them the exception that proves the rule.
 
@aclarke Proves what rule?
 
user1646075
that all things labelled XP are crap
 
@aclarke Ah, fair enough.
Guess that shows my crappy my memory is--I'd already lost track of the rule we were discussing all of...45 seconds ago.
 
Eventually they'll all be named XPired.
 
user1646075
and this, 'cos it's an aussie-built Ford: en.wikipedia.org/wiki/Ford_Falcon_%28XP%29
 
Ell
4:11 AM
Finally home
What a horrendous journey
3 hours delay to a 3 hour journey
 
@Ell That doesn't sound like fun. Did you at least have a laptop (or something) along to distract you during the delay?
 
user1646075
welcome back. Been to the gates of hell?
 
user1646075
Ell was collecting XP
 
Ell
@jerry I had my phone at least :) it just sucked because it was supposed to be super quick!
Ah well. At least everyone is home safe :)
I need to sleep now, god knows how late I'll be up till tomorrow! Night guys :)
 
user1646075
sweat dreams
 
4:16 AM
g'night.
 
Ell
@aclarke actually "gates of hell" is a pretty good name for UK passport control
Okay I'm going for real this time :)
 
Sleep well.
 
 
2 hours later…
5:55 AM
@chmod711telkitty lol, nice.
 

« first day (1444 days earlier)      last day (3494 days later) »