« first day (1037 days earlier)      last day (3901 days later) » 

7:04 PM
@nightcracker meh.
46 mins ago, by sehe
@not-rightfold What else? Ah I see. I don't like html either :/
I just followed the first google result and it gave me the info I wanted. Sue me
 
> What's a difference between Reddit and 4chan? They use different IPs.
Hmm.
That's not an anti-joke.
 
wasn't that supposed to be an anti-anti-joke?
 
user1804599
7:22 PM
"a logged in user" or "a logged-in user"?
 
Logged-in.
 
Hmmm. Still doesn't answer it, right. (Also, the question in itself has a value and I don't think that is invalidated by there a possible workaround for any particular case.) — sehe 3 mins ago
@A.H. it doesn't use the environment, so it's probably your PATH
 
Xeo
Also: new X(answer); on the free store. — SAM 1 min ago
 
@sehe yeah , managed to fix it
 
user1804599
@CatPlusPlus Dziękuję!
 
Ell
7:25 PM
Hi
 
user1804599
So Hi.
 
Lo
 
user1804599
Yay interns!
 
Wut
 
user1804599
I'm on vacation so I won't see them for a week. :(
 
7:30 PM
You can see (other) nice people instead
 
user1804599
CHICKS
 
user1804599
I like how you put "other" between parentheses.
 
@not-rightfold bingo
 
user1804599
@sehe Nee, liever geen bejaarden. :(
 
lol
 
7:38 PM
good evening
 
hello
 
anyone with good 1's complement skills?
 
nobody uses 1's complement
 
stackoverflow.com/a/18301884/819272 I nitpicked that -0 is larger than -1 on 1's complement machines
@DeadMG it's just for my curiosity, not a real SO Q
 
7:46 PM
what do I care?
 
> what do I care?
^^ Isn't that a question?
:)
 
lol
 
@Mysticial So is that. .
 
-0 isn't larger. Underlying representation doesn't matter.
 
someone change the room tag: only rhetorical questions
 
Ell
7:49 PM
TIL gays can't donate blood
 
in the US? Russia?
 
no questions
 
@Mysticial lol
 
Ell
In the UK
 
wtf, really?
 
Ell
7:53 PM
Yeah
well.
 
Risk factors
 
Ell
if they have had sex from a certain amount of time
its medical, not a question of rights
 
@DeadMG Apparently, it's not because they're opposed to homosexuals. They're opposed to HIV, though
 
Xeo
(deleted)
 
Shithead factors.
 
7:57 PM
@Xeo I resent that I cannot bin your inanity
 
Xeo
:(
The original plan was to actually delete the move message, but that was foiled by SO.
 
hai
What's been up in this room?
Anybody do anything exciting today?
 
user1804599
Lots of harddrugs.
 
crack cocaine
and some hookers
 
8:02 PM
And blackjack.
 
Sounds like you guys been busy.
 
user1804599
I'm jacking off to Django, Snap and PostgreSQL.
 
Xeo
Wow, Boost 1.54 added quite some stuff to Boost.Asio.
 
fucking hell
why does my brother keep downloading during the day
 
because you let him
 
Ell
8:06 PM
@Tony I donated blood!
 
Hello!
 
@Ell Cool.
 
This was the C++ channel by a chance?
 
user1804599
@AdriánPérez No.
 
@Ell You, sir, have the most complicate way of asserting that you not a (practicing) gay
@AdriánPérez No.
 
8:07 PM
I'm seeing it with c++ tags I supposed it was renamed
 
Nope
It's just not by chance
 
user1804599
Hmm, indeed. We should remove those tags.
 
Ell
:D
 
user1804599
 
Actually making this a Wide room might be a good idea.
 
user1804599
8:09 PM
No more morons!
 
Wut?! Where's the logic
 
Xeo
Yay, unpacking Boost. I'll be able to play around with it in another 4 hours!
 
@Xeo Nah. Not again. Switch OS!!!
 
Xeo
lol
my Boost wasn't broken
But I only had 1.53
5 mins ago, by Xeo
Wow, Boost 1.54 added quite some stuff to Boost.Asio.
 
user1804599
C++ is minder interessant dan een bosje konthaar.
 
Xeo
8:11 PM
"C++ is less interesting than ... ?"
 
@Xeo Huh? Your boost isn't. But apparently your OS is:
Apr 19 at 8:00, by sehe
sehe@desktop:~/custom$ time (echo boost*.bz2 | xargs -trn 1 -P4 tar xC /mnt/TEMP/q -f)
tar xC /mnt/TEMP/q -f boost_1_41_0.tar.bz2
tar xC /mnt/TEMP/q -f boost_1_42_0.tar.bz2
tar xC /mnt/TEMP/q -f boost_1_49_0.tar.bz2
tar xC /mnt/TEMP/q -f boost_1_53_0.tar.bz2

real	0m28.682s
user	0m28.891s
sys	0m3.529s
 
user1804599
@Xeo a tuft of butt hair
 
Xeo
@sehe :s
Bet it would be mighty fast on my SSD!
But it's on my external HDD.
 
Time for more chicken races.
 
@Xeo Absolutely not.
Apr 19 at 8:03, by sehe
However, a single archive measures 7.7s to extract on ext4, which is a far cry from 7 minutes on Win7 and hefty hardware (i7,SSD) /cc @jalf
 
Xeo
8:13 PM
ow
 
Yup
 
Or not, because the game bugged out.
 
it's a sign of the gods
 
Xeo
That's just crazy.
Wtf is Windows doing?
 
@Xeo It's making you pay more
 
8:14 PM
7 minutes to extract boost? whut?
 
Probably syncing at every file
 
Doing anything with Boost is slow.
All those tiny files.
 
@melak47 you try it on your windows! It won't get faster, that's for sure
@CatPlusPlus it's not unless you use windows
 
Xeo
8 minutes flat for me just now.
 
@Xeo Also, that 28s for 4 archives was on external HDD: chat.stackoverflow.com/transcript/message/8941822#8941822 on SSD:
Apr 19 at 7:53, by sehe
sehe@desktop:~/custom$ time (echo boost*.bz2 | xargs -trn 1 -P4 tar xC /tmp/q -f)
tar xC /tmp/q -f boost_1_41_0.tar.bz2
tar xC /tmp/q -f boost_1_42_0.tar.bz2
tar xC /tmp/q -f boost_1_49_0.tar.bz2
tar xC /tmp/q -f boost_1_53_0.tar.bz2

real	0m9.245s
user	0m31.656s
sys	0m2.070s
@Xeo Just teasing :) ^
 
Xeo
8:16 PM
:(
 
Stupid chickens broke.
 
That's amazing, really. 9.2 seconds for 4 versions of boost at the same time, vs. 7 minutes for a single version on Windows
 
I'm extracting now.
 
Chickens?
 
8:18 PM
@melak47 That's a lot better. Does it write the extracted files too :) Or is that not windows?
 
That's Windows
 
:)
 
I used to use the same skin
 
@sehe yes, it writes the files to disk :p
 
Boost could do archives without tests and docs, though.
 
Xeo
8:19 PM
I was unpacking with ~800kbps :(
 
@CatPlusPlus They'd lose credibility. IMO
 
Xeo
Also using 7z
 
Done unpacking.
 
@sehe I'm pretty sure 7zip on windows extracts boost much faster than 7 min, let me try it, on HDD and SSD.
 
lol
tar.bz2 untars even faster
 
8:20 PM
That's 2 minutes with a game running in the background.
 
5 secs
 
Xeo
Meh.
 
And LZMA is quite CPU-heavy so.
 
user1804599
@sehe see twitter.
 
You can disable buffer flushing in the HDD's settings, if you don't mind data loss/corruption in some cases :v
 
8:24 PM
7zip/Windows 7 -> 1m2s on SSD, 1m31s on HDD. I'm thinking on SSD it might have been CPU bound (and I'm running a game so it probably would have been faster)
thats for boost_1_54_0.7z
 
Why did little Timmy drop his ice cream?
 
because he got distracted
 
user1804599
Oh yeah.
 
user1804599
Rosetta Stoned.
 
Because fuck you, that's why.
 
8:25 PM
Being 3 he has not yet developed the motor skills and spacial awareness that adults often take for granted. Dropping objects, especially when excited, is a common occurrence for children his age.
 
@not-rightfold Wut?
 
@nightcracker oh it wasn't some joke.
damn you.
I was expecting a joke
 
it's an anti-joke
 
8:26 PM
meh
 
user1804599
I want to wipe my ass with my high school diploma.
 
what's stopping you?
 
@DeadMG Yeah, Pingers hurt.
 
@not-rightfold It's irrational
 
Xeo
@Borgleader The fuck :(
 
Xeo
Why did it take 8mins for me then.
 
user1804599
@sehe I don't even know what rational means outside of mathematical context.
 
15 mins ago, by sehe
@Xeo It's making you pay more
 
user1804599
rational |ˈraʃ(ə)n(ə)l|
adjective
1 based on or in accordance with reason or logic: I'm sure there's a perfectly rational explanation.
• able to think sensibly or logically: Ursula's upset—she's not being very rational.
• endowed with the capacity to reason: man is a rational being.
 
user1804599
8:29 PM
OIC.
 
@not-rightfold Kudos. It means nothing, autside maths. Irrational, OTOH...
 
user1804599
Why isn't it reasonable? It would make me feel great!
 
That's the irrational part.
 
user1804599
Why?
 
Erm. Are your feelings rational?
 
8:31 PM
High school diplomas aren't purposed to wipe your ass with
 
user1804599
@sehe I don't know.
 
Toilet paper OTOH
 
user1804599
I lack feelings.
 
I'm sure you don't. You just don't revel in them like many
 
user1804599
 
8:32 PM
He could bear it.
 
@TonyTheLion I don't think it's pawsible to bear with that
 
Maybe he could break the ice on pawsibility.
 
@Borgleader takes me 2m on HDD
 
Pawned!
 
8:36 PM
Pawed
 
@not-rightfold when do you see something that scares you, do you get something like "I've seen a spider, and since they are eight legged and black, I have to be scared" do you? ;)
 
user1804599
@AdriánPérez No, wtf.
 
@sehe You linked to TVTropes. You bastard.
 
user1804599
I don't "have to" do anything.
 
8:37 PM
@TonyTheLion My pleasure
 
user1804599
I do whatever the fuck I want to do.
 
@not-rightfold Except, eat and take shits
 
Then feelings are not rational xD
 
Xeo
> Added the asio::use_future special value, which provides first-class support for returning a C++11 std::future from an asynchronous operation's initiating function. For example: future<size_t> n = my_socket.async_read_some(my_buffer, asio::use_future);.
@R.Martinho: Did you see that ^? IIRC, you wanted to write some future/packaged_task based wrapper for Boost.Asio once.
 
@AdriánPérez ...
 
user1804599
8:38 PM
I don't care what is "normal".
 
Join the club
^ so meta
 
Who cares about normal.
 
user1804599
"Normal" is a uniform and I don't like uniforms.
 
Ell
I care about normal.
 
Oh you
You need to learn the ways of the Dark Side and join us!
 
8:39 PM
@not-rightfold However, in graphics, normal is always in another direction in the straightest possible angle. That should alleviate the crisis with normalcy, somwhat
 
I see it, a spelling mistake
lurking
 
Ell
I'm watching a documentary about piper alpha, its so sad :(
Really makes you wonder how people work at sea
 
I love documentaries
So much to learn, so much information.
 
I know, I just saw the part "Are your feelings rational"-"dont know" it seemed funny to me to ask that :)
 
Xeo
I love the stackless coroutine stuff in Asio
 
Xeo
Looks so sleek.
 
burn it
 
@Xeo If only I knew what a stackless coroutine was.
ELI5
 
Xeo
@TonyTheLion You know what a coroutine is?
 
Not really.
 
Xeo
8:47 PM
yield stuff
It's a function that can return from any point and then resume at that point when called again
 
so anything with yield in it qualifies?
ohhhh
 
Xeo
"stackless" just means that it doesn't hold on to local variables
That's why it's usually used in function objects
 
ah, so not that there's no callstack
 
Xeo
struct generator : boost::coroutine{
  int _cur = 0;
  int operator()(){
    reenter(this)
      for(;;)
        yield return _cur++;
  }
};
Would be a simple example.
(maybe even overly simple)
The implementation is pretty simple, though
 
8:51 PM
Tricky, but elegantly simple
 
Xeo
It's basically a switch on some state that tells you at which line you left the coro.
 
so that basically will add to _cur each time operator() is called?
 
Xeo
reenter(this) is just switch(this->_coro_state) and yield is basically case __COUNTER__: this->_coro_state = __COUNTER__-1; ...
Something like that
 
Xeo
And then there's Boost.Coroutine for stackful coros.
 
8:55 PM
right
 
Under the modern C and C++ standards, the shifting hack is actually not implementation-defined behavior, but undefined behavior! Shifting a 1 in or out of the sign bit of a signed integer is no longer permissible. — Novelocrat 2 mins ago
^^ Anyone want to help me refute that?
Shifting a 1 into the sign bit is UB. But shifting it out is IB.
 
user1804599
Sufficiently simple coroutines can easily be written using mutable lambdas. :P
 
@Mysticial Oh man. I get so tired of that kind of question
 
I do know that the standard says that right-shifting a negative signed integer is IB. But I have no idea where.
 
user1804599
I want to make software.
 
9:04 PM
Make love, not software
2
@Mysticial I have the sad premonition that there'll be a note in an appendix referencing the C standard
So, you're being trolled by a C++ guru and come to SO with the ... homework... :) — sehe 4 secs ago
 
I finally implemented division in my big int class
and I only segfaulted twice
 
Xeo
@not-rightfold Especially when you have generalized lambda captures.
 
@Rapptz You segfaulted twice in the same run? :)
 
user1804599
I once implemented fibonacci sequence generator using mutable lambdas.
 
user1804599
Was pretty easy and readable.
 
Xeo
9:09 PM
did it use std::function?
 
user1804599
No.
 
Xeo
Oh, iterative?
 
@Mysticial Nope! :P
 
user1804599
@Xeo Lemme find it back.
 
@EtiennedeMartel It's less about the fact that they hurt and more about the fact that your only viable tactic is to run away until they forget about you, and then smack them from behind. Without them noticing.
 
Xeo
9:11 PM
NOOOOOOOO
the asio::use_future stuff uses constexpr without guarding for MSVC :<
 
lol
That's actually really weird
Wouldn't there be a BOOST_CONSTEXPR macro or something?
 
Xeo
Nope
constexpr use_future_t<> use_future;
constexpr use_future_t()
 
seems poorly throught out
 
Xeo
And there's not even a need for constexpr here, AFAICT
 
the author probably just didn't realize that VS2012 doesn't support it.
 
Xeo
9:13 PM
let's just comment that out...
 
but I hate it when people use constexpr when it's unnecessary.
 
Xeo
@DeadMG It's not guarded in any way, not even for 2010
 
@Xeo file a bug report?
 
@DeadMG yeah but the config.hpp header for boost has a bunch of macros to help with compiler versions, so it's weird that he couldn't use one that was there
First one on the table lol
 
Xeo
And Asio relies on compiler-generated move constructors :(
Also, I'm apparently copying some asio::streambuf object somewhere - but MSVC doesn't tell me where.
AAARRRGH
 
9:15 PM
MSVC. Not even once.
 
Xeo
Oh, wait, I know where.
I need to use std::unique_ptr<socket/streambuf> members because of that bullshit :|
 
What are you working on that requires boost::asio?
 
Xeo
Oh, auto return
cheater :P
 
user1804599
Could just return std::function<int()> instead, no difference. :V
 
Xeo
9:18 PM
@Borgleader Welp, our boss is going to rewrite the baselib's networking code (which is nearly 5 or 6 years old now and pretty crappy), and since he played around with Node.js, he took a liking to the async approach. He's now testing out libuv, and I wanted to write a Boost.Asio version of his code for comparision.
 
@not-rightfold pretty neat
 
Xeo
@not-rightfold Yeah, I know.
 
user1804599
A Tour of Go has this function as an exercise.
 
Xeo
Fuck. I want to learn my Kanji today, but if I start now, I won't be done until after midnight, at which point I should go to sleep. :<
and I wanna play around with Asio some more
 
choices
 
Xeo
9:21 PM
Guess sleep's getting the short stick today.
Not like I didn't wake up at 9am after 4 hours of sleep because of birthday calls. Ugh.
 
Ell
I haven't played with any coroutine stuff in asio
Or anywhere
 
night
 
do you guys know any good movies to watch?
 
Superbad
 
9:31 PM
no
 
Ell
Any genre in particular?
 
nop
 
this may give you ideas
 
Why would I watch a 40 minute video to pick a movie to watch :(
 
You could also google for 40 min but i find videos are more enjoyable
 
Ell
9:35 PM
watch dodgeball
 
@Rapptz tl;dw;
 
Xeo
ahaha, Full Metal Jacket
 
I decided I'm going to watch American Beauty.
 
@Rapptz Kick-Ass.
 
I've seen most of the movies you guys recommended :P
but yeah those were all good movies
 
Xeo
9:42 PM
Watch an anime.
 
@Rapptz Have you seen "I Am Sam"?
 
Yes
I just noticed git status sounds like get status.
 
git real
 
Ell
Man. There is this one girl I just really struggle to make conversation with, and I don't know why :E
 
9:57 PM
Maybe she's boring?
 
@Ell Don't be thatguywhocouldn'ttalktothegirl
 
Ell
Maybe.
@borgleader its just one girl in particular though
 
yes exactly
if you have a crush on her that'd explain a few things
 
Ell
I do. Sort of.
but I can talk to girls I have crushes on :3
Its not a nerves thing. Just struggle a lot keeping the flow of conversation going
 
user1804599
 
user1804599
9:59 PM
This song is hilarious.
 

« first day (1037 days earlier)      last day (3901 days later) »