« first day (1680 days earlier)      last day (3254 days later) » 

12:00 AM
@Rapptz That couldn't happen, evaluation of the string literals per se does not cause them to be printed
 
Alright, my long weekend finally starts...
 
user3010322
@Mysticial You have a long weekend?
 
Ell
Hmm what to eat tomorrow
 
@ThePhD ya
 
user3010322
Kinky.
 
12:02 AM
AFAICT after 2 weeks, (more like 1 since the first week was all HR), I like this new job.
Sad I had to move all the way out here for it.
 
user3010322
I was going to do something with sol... but I forgot...
 
user3010322
OH
 
user3010322
RIGHT
 
user3010322
I was going to write the lua 5.1 compatability wrapper for the C API.
 
user3010322
So we could leverage luajit + sol.
 
12:03 AM
I'm gonna have some milk
 
So I'm on the 42'nd floor, and there's this huge-ass spider sitting outside on the window.
 
Ell
@
 
@Mysticial Woah you're higher than me.
 
user3010322
@Mysticial Dedicated spider. Must really want to crunch pi.
 
Ell
Im on the 1st floor
 
12:04 AM
I bought disgusting milk
 
I live on the 32nd floor.
 
Ell
@AndyProwl sour?
I live on the 1st floor floor
 
no, just not tasty
I live on the ground floor
 
Ell
How? O.o
All milk is the same to me
 
ok there are stairs with like 5 steps
 
Ell
12:05 AM
Well
 
oh you mean the milk
 
Ell
All fresh milk
Well
 
no not all milk is the same, taste varies a lot
 
Ell
Okay I lied
I meant to say all fresh skimmed milk tastes the same to me
 
Ell
12:07 AM
@Mysticial nice
Oh I see the spider
 
I swear that thing is more than an inch long.
7
 
@Mysticial Ooh where is that place.
 
@Nooble Chicago
 
Nice.
 
@Mysticial Thats what he said
 
Ell
12:08 AM
I am on the rural urban fringe
No skyscrapers for me
 
@Mysticial Have you met Harry Dresden?
 
@Mysticial ugly
the buildings in chicago are pretty ugly
 
Ell
@Rapptz where are you?
Ohio
Texas
New jersey
 
@Borgleader Never heard of that name. :)
 
Michigan
 
12:10 AM
Harry Blackstone Copperfield Dresden is a fictional detective and wizard. He was created by Jim Butcher and is the protagonist of the contemporary fantasy series The Dresden Files. The series blends magic and hardboiled detective fiction. In addition to the fifteen The Dresden Files novels, he has appeared in fifteen short stories, as well as a limited series comic and an unlimited series comic. He was also adapted into a character by the same name for the TV series version of the novel series, also called The Dresden Files. == Fictional biography == Harry Dresden is a wizard who works as...
Time to buy some books :)
 
What the fuck is a "book"? Is it a pokemon?
 
Ell
I see green out of my window
Also the motorway
 
@Rapptz The lighting today isn't great. It's better when it's sunny. Though probably not what you would call "good".
 
@Mysticial It's a near-synonym for "make an appointment", like "book a room" or "book a flight".
 
12:13 AM
@Mysticial hard to find a view of any city that looks pretty imo
New York City was cool when I was like 14 but not anymore
 
@AndyProwl Thanks for the answer. I have already tried what you proposed with the 2 cout How would we overload the << so it could print 24? Thanks again, I also made an edit in the original post as well. — Geo Papas 12 mins ago
 
user3010322
@Xeo But then anyone can passkey<X>
 
mrggh OPs changing questions after answer is given, I hate that
 
Xeo
@ThePhD Nope.
Only X can.
@AndyProwl roll back
 
user3010322
Uhh...
 
user3010322
12:16 AM
main can.
 
Xeo
nope
 
@AndyProwl Downvote, closevote, delete, ahahaha
 
Xeo
Or shouldn't, anyways. If it can, I made a mistake in the implementation.
 
> This question appears to be off-topic because the OP is a dick.
 
i want this
 
12:16 AM
@Mysticial lol I can't I answered it already
 
Xeo
hm
 
@Borgleader nice view :)
 
@Borgleader sweet
I wonder how many billion dollars that set up costs
 
Xeo
ah, = default on the default ctor was the culprit
@ThePhD yes, that's the whole point
so only the friended class can create it
 
12:18 AM
@Borgleader via 9gag, ugh. That was a post from either reddit or imgur, via the guy working on that.
 
user3010322
Uh.
 
user3010322
But I can make a passkey X from the outside.
 
Xeo
40 secs ago, by Xeo
ah, = default on the default ctor was the culprit
 
@Griwes I browse both 9gag and reddit, and I swear theres stuff on 9gag I don't see on reddit. You'll probably claim it came from imgur, but I like to think there's some original content there.
 
Xeo
made it count as aggregate init, which ignores access restriction
 
user3010322
12:19 AM
@Xeo Oh.
 
29
Q: Why are unsigned integers error prone?

meetI was looking at this video. Bjarne Stroustrup says that unsigned ints are error prone and lead to bugs. So, you should only use them when you really need them. I've also read in one of the question on Stack Overflow (but I don't remember which one) that using unsigned ints can lead to security b...

 
Xeo
See fixed version
 
opinion based?
 
Xeo
oops, past 2am
 
all the answers are p. stupid imo
 
Xeo
12:20 AM
time to sleep
 
night
 
Xeo
g'night
 
user3010322
@Xeo Night.
 
and since I have an opinion on the answers being stupid it feels like a red flag that it should be closed as opinion based
good night
 
user3010322
@Xeo That's... ... kinda a shitty rule?
 
12:21 AM
@Borgleader Start browsing imgur. Most of the good 9gag content is not 9gag content at all :D
 
Xeo
= default is "do what the compiler would do" and the compiler would just not generate a ctor and simply allow aggregate init
 
sup bitches
 
user3010322
Hrm.
 
How do modules fix slow C++ compile times?
 
by not having to recompile header files multiple times
 
12:27 AM
Quoting: Modules address this issue by replacing the textual inclusion mechanism (whose processing time is roughly proportional to the amount of code included) by a precompiled module attachment Um, but only a naive compiler would actually do textual inclusion, right?
 
user3010322
Wrong.
 
user3010322
Every compiler textually copy + pastes the code in.
 
user3010322
Because that's the behavior defined by the standard.
 
That's literally what #include means.
It's mandated.
 
user3010322
#include <big_titties>
// Code here
 
12:29 AM
int x[] = {
#include "data.txt"
};
 
Um, but can't the compiler figure out that things are being included multiple times and cache this? Did somebody write the compiler for -O0?
 
user3010322
#define BIG_TITTIES titty_size::small
#include <big_titties>
// Code included may have changed because of the define
 
@Mikhail they're called include guards...
 
user3010322
But include guards don't even cache. They just prevent the code from being pasted twice from a preprocessor perspective.
 
user3010322
They do not cache them between translation units.
 
12:30 AM
yup
 
user3010322
Modules seek to change this by having mostly-precompiled code all bundled up and snug in a thing.
 
#include "stdafx.h" is like cuddling with Bill Gates?
 
user3010322
Templates, IIRC reading the proposals, still have to go through recompilation, as well as other things.
 
@Mikhail precompiled headers have limitations
in particular, its inclusion must be the first line of the TU
 
same compile flags
 
12:33 AM
yeah
 
Okay, I see whats happening. Thanks.
 
@ThePhD That's sad but probably unavoidable
 
Although it should be easier to cache the results of the compilation, as only changes to the module could change the outcome
 
user3010322
@AndyProwl Shrug. It's the nature of C++'s beast.
 
user3010322
I think the most people can hope modules to be is on-steroids precompiled headers + already-compiled code.
 
12:39 AM
I'm out of energy for Qt tutorials
gonna hit the bed
night everyone
 
QBed
 
user3010322
Nightynight.
 
> One-to-One
If we made an ER Diagram showing the relationship between Employee and Spouse, we
would have a one-to-one relationship. “One employee may have, at most, one spouse”.
......says who........
 
@Rapptz the difficulty in this game is so chaotic
 
Ell
Why do templates have to be recompiled?
 
12:52 AM
@AndyProwl Good night.
 
bandits are destroying me atm lol
:/
 
I switched between max - 1 and death march today because at times it seemed too easy and then too hard
 
I've been playing on death march this entire time
 
Ell
The compiler could compile a template to code that is executed at compile time to generate a non template when invoked
 
welcome to the club
 
12:53 AM
the combat music in velen is great
I'm trying to find it online
 
@Ell template sizes are determined at compile-time, however the coder may change the types.
 
Good evening
 
@Ell The meaning of a template depends on the context both at the point at which the template is defined, and on the context where it's instantiated. Something could change meaning considerably based on instantiation context, so it has to be recompiled to take that into account.
 
i.e. he may use a vector<int> in one instance of compilation, then switch to <double>
did that answer ur Q?
 
the lay lay lay one?
 
yeah that's the lay lay lay one
 
there are many lay lays in the game :<
 
lmao
 
see Lazare
 
Ell
@JerryCoffin how does it depend on the instantiation context?
 
12:55 AM
you can easily mistake it for the song above
I think they're part of each other somehow
 
user3010322
Shit.
 
user3010322
The Sims had some nice music.
 
the bandits keep ganging up on me
 
user3010322
I remember why I liked playing it now.
 
I don't know how to handle them
 
12:56 AM
but from what I see Lazare's name is ...Steel for Humans (Lazare)
 
user3010322
Because the music was so nice when buying shit.
 
inb4 igni
 
@Rapptz just parry :p
 
parry is awful when someone is behind you
 
I spammed igni like crazy in my first encounter with the wild hunt
 
12:56 AM
they literally gang up in circles
 
I have no trouble parrying 360°
 
how
 
and I didn't even upgrade anything related to parrying :/
 
@Ell later instantiations may have access to overloads/specializations that were declared a prior instantiation.
 
I just hold right mouse :\
 
12:56 AM
@Ell also templates are pre-compiled to make it faster at runtime
 
untouchable
 
@melak47 lol
 
you suck
 
@Rapptz have you done the baron's quest yet
 
I'm doing it atm
I have ~8 unused points
 
12:57 AM
I really hate how the save system works there
 
don't know what to put it on
 
@Ell Here's the gcc discussion about it: gcc.gnu.org/onlinedocs/gcc/Name-lookup.html
 
@AlexM. I save out of habit now
 
get the deflect arrows, and you should be invincible with parrying :v
 
autosave is fucking unreliable.
 
12:57 AM
there's like this 3-step battle that you must go through near the end
and you cannot save between them
so if you die anywhere you go back and have to redo the same thing which takes you 2 minutes or so
of skipping cutscenes and eventually fighting 1+ steps again
 
lol, I would not rely on autosave
 
yes I died around 25 times there already
it was annoying
not to mention there's this annoying bug which causes all particles to become invisible every now and then on a new load
so I can't see yrdens, ignis etc.
 
Ell
@JerryCoffin thanks, I'll read this
 
user3010322
for (int i = 0; i < 1; ++i )
 
Ell
@MooingDuck hmm yeah
 
12:59 AM
@JerryCoffin thanks Jer-bear
 
there's a respec potion right?
 
yes
 
user3010322
This can be easily seen at compile-time to have only 1 iteration
 
user3010322
And so will be unrolled
 
user3010322
therefore,
 
Ell
1:00 AM
I think I'll read that tomorrow
Time to sleep
Night loungers :)
 
user3010322
I will use it to define a scope enum.
 
user3010322
To satisfy my OCD.
 
@Ell It's really easy to understand
 
@DonLarynx Wasp, not bear.
 
1:01 AM
@JerryCoffin Correction: Thanks Jer-wasp
 
I went hunting for a goat btw
/cc @LightnessRacesinOrbit
 
@Ell Surely.
 
@Rapptz how did you like the ciri sequence?
warping instead of dodging was nice
 
I thought it was cool
but I sucked as Ciri lol
 
yeah ciri is pretty badass
I think it's canon that she can kick geralt's ass
 
1:04 AM
I don't know about that
don't think so though
1000 crowns for respec
I like
seriously parry sucks at being surrounded
what the hell
you block the attack in front but then you have jesus in the back smacking you with an axe and you die
 
@Ell Good night
 
I think only halberds have given me any trouble
 
are you playing on Death March too?
bandits actually give me the hardest time of all mobs
you have some guy shooting arrows in the back, an annoying leader with a shield and then a bunch of goons waiting to gang up on you
 
btw you can use signs and stuff and retreat to catch each bandit one at a time
also go for the archer first usually he's easy to kill in a few hits
sprint all the time etc.
 
usually yeah but not this group
they're all the same level
 
1:15 AM
Can indentation like this uses possibly be intentional?
0
Q: Dealing with pointers causing a segmentation fault in C++

SciGuyHere is the function in question: void* initiallyNorthernly (void* vPtr) { Train* id = ((Train*)vPtr); for (int i = 0; i < NUM_LOOPS; i++) { northBoundPlatform.arrive(id); northBoundPlatform.leave(); pause(); southBoundPlatform.arrive(id); southBoundPlatform.leave(...

For example:
  void      arrive  (Train* newTrainPtr
            )
  {
 
only group of bandits I could find on such short notice: dl.dropboxusercontent.com/u/247271563/parry2.mp4
 
I was wondering. Assuming you have a bunch of object files in a huge C++03 project.
 
I just leveled fast attack to 5
 
Can you like, take 1 source file at a time, and start refactoring the implementation of some functions with C++11 stuff, recompile only those source files (while maintaining the interface that other "modules" use) and have it work out of the box?
 
@Jefffrey Okay, my assumption circuits are running full steam. What now?
@Jefffrey Pretty fair chance of it, yeah.
 
1:18 AM
Nice
 
@Jefffrey yes, and Visual Studio does that by default.
 
@Jefffrey if these modules don't interact
 
@Jefffrey that's also one of the reasons "make" exists is to do that
 
@melak47 that bandit AI is so stupid
I've never seen a group of bandits be that dumb yet
 
@Rapptz you're not thinking hard enough
 
1:19 AM
maybe I accidentally set it to pansy difficulty?
what's normal?
 
I see
 
@Jefffrey what they do is check the 'last modified' time stamp of the cpp and h files and compare them to the object files. If any inputs are newer, they recompile the object files. Then it compares all the object files to the final binary, if any object files are newer, it relinks the binary.
and when everything fails for no apparently reason, you use "clean" or "rebuild" to force it to build the whole thing from scratch
 
@melak47 whenever I parry you have guy #1 attack you and then right behind you is #2 ready to attack you between the delay of the parry
how do I get stuck in these situations
 
tried the same bunch on death march now
just as dumb, just do more damage
 
don't think it's difficulty
 
1:25 AM
also, holding parry still 360 noscopes all attacks
before I figured our Ciri can teledodge, I just parried with packs of 7-8 wolves, never got hit :p
 
since when does parry work on non-humans lol
sounds like a bug
 
ezmode bug ._.
only thing I can't parry is arrows (but there's an app skill for that) and maybe halberds
 
user3010322
I need a templated boolean parameter for this lambda, but I can't have it...
 
@MooingDuck right
 
@ThePhD hint: lambdas are 100% syntax sugar
 
1:29 AM
@ThePhD capture as static const bool? :S
 
user3010322
If you think I want to manually create this lambda by hand
 
user3010322
and by-reference capture this entire function's scope
 
user3010322
you're out of your mind. ;~;
 
@ThePhD it's usually pretty trivial... how many things are you capturing???
 
user3010322
void operator() ( string_view source, std::vector<token>& tokens ) {
			typedef decltype(source.cbegin()) iterator;

			auto begin = source.cbegin();
			auto end = source.cend();
			if (begin == end) {
				return;
			}

			std::array<character_information, 2> look = {};
			std::array<iterator, 2> lookit = {
				begin,
				begin,
			};
			std::array<bool, 2> lookitvalid = { };
			lookitvalid.fill(true);

			// Our incrementation function for the loop
			auto increment = [&]( intz lastbreak ) {
 
user3010322
1:30 AM
All of that.
 
@MooingDuck That is no longer true (hint: generic lambdas).
(You can't have function-local templates.)
 
@Griwes I'm pretty sure it's still true (hint: template member functions)
 
@JerryCoffin: So in these two examples, the former will never recompile, but the latter will? (Because the latter can have type T i, and the former will always be an int)
template <typename T> struct Base {int i;};
template <typename T> struct Derived : public Base<T> {int get_i() { return i; }};
 
> September 1999 saw conflict in Jerusalem of an unusual nature, or so the Darwin Awards claim. Israel’s government switched from daylight savings time a year early to accommodate pre-sunrise prayers, while the Palestinian Authority refused to live on “Zionist time”.

A group of Palestinians attempted to synchronise the detonation of two car bombs in the city. But the timers had been set on Palestinian time while the drivers were running on Israeli time. The bombs exploded an hour early, killing both.
 
1:32 AM
@Griwes ooooooh, just move it outside the function then
 
@MooingDuck :D
But then it changes scopes. :P
 
@ThePhD I count three things that need capturing
@Griwes whoop-de-do
 
@DonLarynx It'll probably re-compile regardless. The main (only?--can't remember) problems come from dependent names though.
 
@Rapptz here's me parrying wolves with an axe. not even touching my quen shield... dl.dropboxusercontent.com/u/247271563/parry_wolves_small.mp4
 
lmao
I just died by the dumbest fucking way
I didn't even know it was possible.
I kept auto-sheathing my sword back and forth
while the guy attacking me was literally RIGHT in front of me
 
1:37 AM
and you cut yourself?
 
"buy a fog machine and run it in the datacenter so when you open the door fog spills out and you can be like WELCOME TO THE CLOUD"
@Mysticial Why did you not do this at Google!?!? Its GENIUS!
 
user3010322
@Borgleader Totally doing that.
 
user3010322
Ugh.
 
user3010322
This lookahead stuff is driving me nuts.
 
wow, this indentation, and those ends....
 
1:45 AM
ugh
._. wtf
 
user3010322
wat.
 
pitchforks
 
Hmm, did a linkedin job search for entry level engineering jobs in my area. 1564/3477 are Microsoft. A third of what's left is Amazon :(
 
why entry level?
 
didnt the duck get fired?
 
1:52 AM
@marc @milleniumbug Ideone runs, VC++ emits an error so YMMV. I swear I read on SO (and compiled myself) that int a = a + 1; cout << a; returns "1". wtf...
 
or was that bartek?
 
"Entry Level", "Associate" "Internship" or "NA" in truth
 
did i hallucinate?
 
user3010322
After tomorrow I'll be done with exams.
 
user3010322
And then I'll be TheD.
 
1:52 AM
@Borgleader wow strong coindicende
 
yeah, got fired. I only have a few years experience, and with few technologies. Basically I just know C++ :(
 
coincidence
@MooingDuck where do u live
 
user3010322
Why in the world were you of all people fired? :c
 
"Must be expert in SLDR" "Expertise in Alchemy Catalyst a must" I've never even heard of any of these
 
@MooingDuck u have to have a mage lvl of 95
 
1:53 AM
@ThePhD Company downsized 20% and I didn't have a critical role
 
spring cleaning?
 
@DonLarynx Greater Seattle area
 
@JerryCoffin dependent names?
 
@DonLarynx anything that depends on the template type
 
Well, then in this case, there's really no problem here. Except that i may or may not depend on T, thus it needs to be re-compiled.
 
2:04 AM
So, I really like MGR.
I'm even liking the story.
 
2:26 AM
whats an mgr?
merger --> merge on the road, bitches
 
metal gear rising
 
3:16 AM
Morning
> What programming language is used to create TCP/IP packets
okay no
 
yo guys
what the fuck
is the point of a static ptr?
outside of a class
 
Global access to a resource
 
thanks butt.
 
3:31 AM
Agh I want it!
 
@DonLarynx static globals can't be used from outside the .cpp file, allows for optimization opportunities.
 
First pics of the R9-390X Water Cooled Edition /cc @Ell
 
guys
please
tell this guy he's wrong
or i'm wrong
in NSChat, 38 secs ago, by Gudiya
It won't be executed because it's already existing.
one of the two plz
i'm going insane as fuk
 
You're wrong.
 
never mind.
 
3:43 AM
What are you trying to do?
 
@buttifulbuttefly chat.stackoverflow.com/transcript/message/23468279#23468279 from here on down. I'm assuming that objective-c and c++ are similar with regards to ptrs.
i was wrong about it being static within the enclosing scope. its static for the lifetime of the app.
 
I don't know Obj-C and I don't want to read all that
So if you have a question, state it :w
 
Fucking Intel doesn't provide a statically linked version of Cilk Plus.
Goddammit...
 
@Mysticial Because of the static OpenMP debacle
 
3:52 AM
Which I'm fully aware of and I know what I'm doing.
They basically said "FUCK YOU" to everyone who knows what they are trying to do.
That said, I'm almost as pissed off at GCC's broken support for AVX512 intrinsics.
 
Intel...is turning to Java.
 
Well you can probably get around it with some effort anyway
 
just declare a static field and set it equal to cilk plus. ??? profit
 
4:25 AM
@MooingDuck Oh... 86's all round:( Join teh Braket.
 
@MartinJames There's what? Three or four in this room?
 

« first day (1680 days earlier)      last day (3254 days later) »