« first day (1720 days earlier)      last day (3221 days later) » 

12:00 AM
@StackedCrooked Note that the feed is dedicated to answering random a narrow selection of SO questions. In this case you're saying debris from
1
A: How to calculate distance from point o filled/unfilled rectangle

seheIndeed you're right line-string is required because Box implies a filled shape. Same thing for polygons, actually, in my quick test. You could of course create a fake "holey" polygon that has an edge of some small width. But that's cheating and certainly less efficient Indeed, you can use l...

 
you link with cutie core
 
@StackedCrooked It's funny that you don't question the faux INI file displayed on the right
@StackedCrooked yes. I just explained where that came from.
 
upgrade to boost 1.58 is in progress
 
why does boost even have a polygon library
what could this be useful for
 
for polygon stuff
 
12:17 AM
And standard library has std::get_money - guess what? For money stuff!
 
@Domecraft That'll be $15, please.
 
@Domecraft soooooooooooooooooooooo
what's the question?
I DON'T SEE A (?)!!!!!!
??? -_- (╯°□°)╯︵ ┻━┻
 
:P
Which one is best and fastest? put_money or money_put?
Urgent pls ehpl.
 
12:33 AM
Perhaps implementation-defined behavior?
 
@StackedCrooked I'm not an ehplful person, sorry.
 
this room is so arrogant. i'm leaving
12
 
12:46 AM
@StackedCrooked Confusing Ignorance with Arrogance seems to be a modern disease.
In be 4 there soo many confusions from ingnored/declined questions regarding simple and basic stuff (poorly researched).
 
1:14 AM
@StackedCrooked probably the same; what could be significant differences in the implementation?
 
cppreference is making a claim that I can't find in the standard about std::bind http://en.cppreference.com/w/cpp/utility/functional/bind

> If some of the arguments that are supplied in the call to g() are not matched by any placeholders stored in g, the unused arguments are evaluated and discarded.
meaninig I could have
int f();
auto b = std::bind(f);
b(1, 2, 3, "lalalala");
that's at least how libc++ and libstdc++ are handling it too
 
1:50 AM
That would be a good question for SO.
 
I need some triangulation equipment, theres a retard near my house using firecrackers or some shit
 
I'm searching in order to expand on the answer here stackoverflow.com/questions/31172921
 
@Borgleader I'll bring the triangle!
My favorite instrument.
 
@RyanHaining Found it!
 
@buttifulbuttefly where?
 
1:57 AM
Commented on your answer
 
I was looking right at that too, I guess it works since it doesn't say that it delivers all the arguments
 
2:11 AM
What's the accepted way to read a line of integers from stdin into a variable, with the line terminating in '\n'?
I'm currently trying while (std::cin >> data) treat(data);
The problem with that is that the loop doesn't terminate on '\n' but with an invalid character (non-number)
 
@Borgleader More like National Moving Day. I helped a friend move to a new appartment today.
 
I've also tried std::getline in combination with std::stringstream, but that's very convoluted
 
Why is that convoluted?
 
@EtiennedeMartel Yeah I should get a new place as well... I've been looking at these but its going slowly because I hate looking for a place to live :(
 
Anything using streams is convoluted, and weird. Also reading integers doesn't make sense unless they are delimited or you have 1 integer per line.
 
2:17 AM
@buttifulbuttefly I think having to pull in 2 additional headers (string and sstream) to read into integers is convoluted
 
@Borgleader Those places look so nice.
 
the location is also good
 
@LemonPi lol
 
Oooh Montreal is fairly close to NY.
@LemonPi Why? I mean it's in the standard library, I see nothing wrong with it.
 
Wouldn't it be better for std::cin to stop on '\n'?
(I suppose there's no alternative, so the only discussion is on why the standard has std::cin not stop on '\n' when streaming into an integer)
 
2:22 AM
What
 
std::getline
 
@Mikhail std::getline can only modify strings, needing stringstream later to stream into other types though
 
Why are you so picky about using stringstream? It is the correct way to solve your problem.
 
I see
 
Not wanting to pull a few headers in is ridiculous
 
2:25 AM
What's the accepted idiom for clearing a stringstream (or not) for loading additional lines?
 
Just construct a new stringstream at each iteration
 
Assuming the contents of the stringstream has been streamed out after getting the line
 
@buttifulbuttefly or call clear?
 
I thought clear was for the stream's flags rather than contents
 
2:26 AM
oh wait
 
I'm feeling bored so let me google stuff for you
 
Ah I see, so ss.clear() and ss.str(line)
Or is it ss.clear() and ss << line;
 
ah nvm, not clear
T_T
its ignore but really, @buttifulbuttefly's suggestion is probably simplest/best
 
Thanks, ss.clear() followed by ss.str(line) works
 
Here is a good one, guy wants to parse CSV threatens to use Boost::Spirit stackoverflow.com/questions/1120140/…
 
2:32 AM
lol some people saying spirit is overkill because compile times
what a load of crap
anyway, bed time
 
@Xeo Remember this? I decided to track it, finding interesting stuff… except that the proposed resolution (which has yet to be accepted) would mean we have xvalue temporary expressions that can be candidates to lifetime-extension.
tl;dr: wtf
 
Yeah ... I am getting a free car wash! After spending $419 on a compulsory routine 9 months service </sarcasm>
 
hi
Livestream starting in 80 minutes
 
2:55 AM
heyyyyy
 
3:47 AM
so uhh
Is anyone still interested?
 
4:26 AM
Ok. Thanks Obama for tropics roster. I'm already stepping on my bike. This is a first
@Mikhail ah. Well maybe later. Getting to work. ..
 
4:41 AM
@Mikhail Threatens. :D
 
HI LOUNGE I'M ON STREAM
 
@VermillionAzure Yes, start coding again.
 
@jaggedSpire I'm here if you want
 
@VermillionAzure I am going to bed in 10, though.
 
@jaggedSpire I'm at the latter half of the stream
watch at your peril
i
i'm off right now for now
but i'm chatting :(
 
4:52 AM
@VermillionAzure coooode
nah, do what you want.
Dammit, man, I don't have a livecoding account.
All right. For those few (none) of you that follow my every move with rapt attention, I'm off to bed. Have a nice eighteen hours.
 
@jaggedSpire night
 
5:54 AM
meh
done
OH MY GOD
IT WAS SILENT FOR HALF THE STREAM BY ACCIDENT
 
I reckoned you were shy
 
OH MY GOD SOMEONE SHOULD'VE TOLD ME
watch 1.1 if you want to hear me voice
so dissapointing
 
what is?
You had 9 viewers last I checked. Not bad?
 
@sehe it was okay
did you actually hear me voice?
 
no
 
6:03 AM
meh
i heard yours lol
 
Towards semantic version control http://codicesoftware.blogspot.com/2015/07/towards-semantic-version-control.html
/cc @BartekBanachewicz ^ that's one for you
 
6:16 AM
Nice
 
alteredimagesbdc.org/#/bbc-news Wow. That's... bad (via firstlook.org/theintercept/2015/07/01/… there's more interesting stuff there)
 
6:37 AM
@sehe That’s super duper cool beans.
 
good morning
 
@LucDanton Good morning to you too
 
@sehe gaaa
 
> We're always looking for new talented, rock-star style, awesome team members
> rock-star style
@R.MartinhoFernandes not much really
neither, as mentioned, I do own a gun and plan to in a foreseeable future
 
6:50 AM
C+ programming language (no, I didn't forget a plus sign)
 
I think it should be possible for people to own guns, but then again it's not a very strong discussion topic for me, like, I don't care about it personally
C-- (pronounced "see minus minus") is a C-like programming language. Its creators, functional programming researchers Simon Peyton Jones and Norman Ramsey, designed it to be generated mainly by compilers for very high-level languages rather than written by human programmers. Unlike many other intermediate languages, its representation is plain ASCII text, not bytecode or another binary format. == Design == C-- is a "portable assembly language", designed to ease the task of implementing a compiler which produces high quality machine code. This is done by having the compiler generate C-- co...
@fredoverflow I was tempted for a second to write a language that compiles to C++ templates
oh FFS I just spoiled myself a TV show accidentally
 
@BartekBanachewicz Which 1
> The Dahl-Nygaard Prize is the world’s most prestigious prize in the field of object-orientation.
Now there are prizes for object orientation?
 
@Jefffrey Pretty Little Liars
 
I consider myself pretty object oriented, nonetheless I haven't been given any prize yet
 
morning
 
7:01 AM
I even use Java.. and that stuff creates thousands of objects for anything more complex than a hello world
 
> Javascripters: We have a problem with promises
no shit
 
I've been up since 7 am and I haven't even had coffee
 
@TonyTheLion design patterns nightmares?
 
also florian has a message with 65 stars on it o.O
 
@MarcoA. thank god no
 
7:05 AM
god, I am having one of the worst hangovers in my life right now
 
lol ASDFmovie is so great
> I can't wait to eat this bagel
> Yes you can
> ooh. I guess you're right.
 
@khajvah water, drink lots of water
 
you have to dress like shit (part II) in order to get into PHP programming
 
PHP*
@TonyTheLion all I can do is wait
 
7:14 AM
I have learnt from my earlier Internet days - to never say that I quit XXX online, because if you do, the next time you come back, people would say 'you come back!', you will be like 'no, I just drop in to have a look'. Next thing you know, you are back everyday, 3 months in a row...
 
Everybody does that sooner or later.
 
@MarcoA. Didn't you post this one a few days ago
 
@sehe no, it was for a python position
also badly dressed
 
Ok.
 
now it's PHP
 
7:18 AM
It's a hipster thing
 
they feel original
 
Do you know why they're advertising jobs this way?
 
@chmod711telkitty Yeah, we hate that too.
 
BTW @thecoshman
 
@MarcoA. I think it's advertising nerd culture?
 
7:19 AM
at least the google localized version I'm using
wtf... from "Badly dressed Python developer" to "Senior Java Backend Developer"
 
@MarcoA. "changed a little"?
> Senior Java Backend Developer
 
the ad is entirely the same
 
?!
 
what the..??
 
It's a badly dressed ad
 
7:21 AM
@BartekBanachewicz ok...
 
user1804599
@MarcoA. lol, can't make a build in one step.
 
user1804599
i.e. boring repetitive work
 
what's up with nerds and CRT monitors?
 
sbi
Good morning.
 
are they better in anything?
 
7:23 AM
there must be a cool compilation pipeline, the usual php -> javascript -> vbscript -> winzip -> x86 asm -> llvm -> prolog -> brainfuck -> jquery
 
@BartekBanachewicz is there any more to that video than pointing out that 'lars' guy is talking shite?
any way, time for work :(
 
@MarcoA. I believe I qualify for the "badly dressed" part of "Python developer"
 
sbi
@buttifulbuttefly You say this as if it would be a valid argument against mine.
 
Is it normal to hate your job? yes right?
 
I am going to be late to pick up the car, I am literally next to the car dealer, but I am on a train & can not jump off.
5 mins until they close
 
7:27 AM
@sbi No, I wanted to put the emphasis on this
 
& the f*cking train stopped at the track for a few minutes ... Right next to the car dealer
 
user1804599
> Everyone does as many checkins as possible before lunch. When they come back, the build is done.
 
user1804599
-1 builds that take longer than a second
 
sbi
Anyone here knows a bit regex? I need to fine all instances of #define, except, of course, the million include guards. Something like #define <identifier>, where <identifier> must not contain `_HPP´.
 
user1804599
7:32 AM
eh
 
user1804599
which of the 10000 regex languages?
 
sbi
I'd rather do this in Eclipse (can click on the results), but I have grep in MinGW as well.
 
user1804599
#define\s*((?!_HPP).)* in Perl.
 
@rightfold man I wish our builds took a lunchtime :(
 
inb4 compiling xkcd
 
user1804599
7:36 AM
@sbi grep '#define' | grep -v '_HPP'
 
sbi
@rightfold Haha!
 
user1804599
-v inverts, so it first finds all instances of #define, then filters by "does not match _HPP".
 
user1804599
Use -n if you want to include line numbers and filenames: grep -nr '#define' . | grep -v '_HPP'
 
sbi
Yeah, I know that much about grep.
 
Xeo
mornin
 
7:42 AM
Or you could use negative lookahead
 
sbi
Yeah, it's just that I was never fond of regex, so lack the experience, and on top of that am fighting with the syntax in eclipse.
 
user1804599
Regular expression languages are the most underrated DSLs.
 
sbi
@rightfold It seems Eclipse can deal with this syntax. But it finds all instances of define, even though it only matches the part until _HPP. :(
 
user1804599
^#define\s*((?!_HPP).)*$
 
@sbi Good morning
@khajvah designers use CRT for good colour calibration
 
sbi
7:49 AM
@sehe Good morning, Lars!
 
should be pluses
 
@sbi This will keep my head churning for a while. Should I ping you if the resolving the query times out?
 
sbi
The Little Polar Bear (German: Der kleine Eisbär) is a franchise about a Polar Bear cub named Lars who first starred in a number of books written by Dutch author, Hans de Beer. It later became an animated TV series for BBC TV, Lars, der Kleine Eisbär, in the 1990s. The show proved to be popular in Germany, but its English-dubbed version has also gained a cult following with UK viewers. The show was later revived between 2001 and 2003. For its first film, subtitled Der Kinofilm, Warner Bros. and animation studio Rothkirch Cartoon Film bought the rights to adapt the children's books into a feature...
 
o.O that wasn't too obvious
@Mikhail oh - old question. Do you reckon I should add one of my existing Spirit CSV parser answers?
Maybe I can dupe-hammer it :)
 
8:03 AM
I was looking up something abou CEST (the time) and I have noticed this on the page:
Antarctica
Locations in Antarctica using CEST in the winter and GMT in the summer

**Troll Station**
So that is where trolls come from!
 
that being said
wiki sites about tv shows should freaking hide spoilers
 
user1804599
I don't really like YouTrack all that much. It's very limited.
 
user1804599
What bug tracker do you use?
 
user1804599
I can't find any others that have both an uncluttered UI (i.e. not JIRA) and an agile board.
 
8:14 AM
@khajvah it sucks
 
@Griwes well, even I don't get the image
 
user1804599
maybe FogBugz
 
user1804599
but it's not free
 
user1804599
what's funny about it?
 
user1804599
8:21 AM
pooping is an important activity
 
and php greatly improves peristaltic waves
 
@MarcoA. except in the wrong direction :S
 
@BartekBanachewicz That's hardly... possible in any way.
 
@khajvah wth
 
8:28 AM
Have anyone ever noticed different time from a python script than a C program at the same time ?
My python time is ~1 or 2 seconds in future
 
@Nooble mumble.loungecpp.net
 
uhm, I'm having problems parsing this: stackoverflow.com/a/31125846/1938163
 
@sehe shitty app
 
can somebody shed some light? I'm getting confused by the wording
 
@Griwes spoiler tag
semantically mark content as "appears in season x"
 
8:30 AM
Wiki about TV show is entirely a spoiler
 
prompt the user for which season he is in
 
user1804599
@NeelBasu nice avatar.
 
Or you could just not go there
 
hide data that shouldn't be available
 
I send the data from a python script and print time on each send. and then receive in my C program. on each receive I print time. I see rcv time is 1 or 2 seconds in past than sent.
all is done in same laptop
 
8:31 AM
there are 2 rightfolds?
 
@rightfold Thanks.
 
user1804599
@NeelBasu SSCCE
 
user1804599
maybe one of the two uses a higher resolution clock
 
@rightfold Whats this ?
 
user1804599
 
8:32 AM
Just what we needed, a second rightfold
 
But C program clock is >1 seconds slower
all in same machine
 
user1804599
If we don't know which APIs you use and how you use them, we can't help.
 
user1804599
Hence an SSCCE is a good start.
 
logger.info("{0}:{1}:{2}".format(counter, str(datetime.now()), data))
Thats how I print time in python
 
@BartekBanachewicz Story details are usually presented with an "<Episode title>" header.
 
user1804599
8:35 AM
And in C?
 
user1804599
And how is the data sent?
 
data sent accross socket
read_log.info((boost::format("%1%,%2%") % origin % boost::posix_time::microsec_clock::local_time()).str());
 
@NeelBasu ugly
 
@FlorianMargaine Yes thats a dummy python script. I have to measure performance
 
user1804599
Just make an SSCCE.
 
user1804599
8:37 AM
Not making an SSCCE is a waste of time.
 
@Griwes they weren't. It was a freaking sidebar
 
@sbi get your regex sorted?
 
24221748 Hmm for that I need to write two programs ?
 
sbi
@thecoshman Yeah. I got it down from >250 to <50, and those I can handle manually.
 
something like "things the character did - "bla bla bla uncovered that the identity of the main nemesis is... bla bla"
 
8:39 AM
@rightfold I've to write two programs one in C++ and another one in python. talking over socket
 
Why couldn't they just write "uncovered the identity of X"
 
just to write an example
 
why did they have to write who it was
fuckers
 
sbi
Oh. I didn't know @rightfold had a twin. Or is he changing names so fast now, they overlap and appear here concurrently?
 
user1804599
That's not an SSCCE.
 
user1804599
8:39 AM
That's a vague English description of your program.
 
might just be a coincidence
or dunno badfold stealing avatars
 
user1804599
It's purely coincidental.
 
user1804599
Also, the avatars are distinct.
 
user1804599
Mine isn't transparent.
 
Hey Hey ? your avatar ?
I just noticed
You are stealing
 
sbi
8:42 AM
@rightfold You are very transparent.
 
user1804599
better call the cops
 
user1804599
good thing the avatar is in the public domain
 
user1804599
@sbi Yes, but that's irrelevant since I was talking about my avatar, not about me.
 
user1804599
rolling back is like backtracking
 
8:54 AM
Oo, the people who did the service on the car were really nice - I was 10 minutes late and they waited for me.
 
user1804599
 

« first day (1720 days earlier)      last day (3221 days later) »