« first day (1945 days earlier)      last day (2996 days later) » 

3:00 PM
That is a kokk blokk I think
yes, true story
 
@Rerito things are not simple
 
Ven
not for zanarkan.
 
@KhaledKhnifer Is it administratively difficult to get out?
 
Is there some kind of law of physics that says that the socket plug must always be on the side of the laptop where it's annoying
 
Ven
@HubertApplebaum obviously.
 
3:05 PM
@Rerito I'm not that keen on leaving the country now
 
good morning Guys! This morning I saw 2 sun in the sky ^^
*3 .. 1 real one, and 2 images by reflect ( I guess )
 
Morning!
 
@ThePhD It seems that your wish has been granted.
 
Ven
@Morwenn amaze :3
 
3:09 PM
neat
 
thats what I saw :P left, middle and right sun :P
 
@Jean-philippeEmond photoshopped as fuck
 
Menu > Filters > Lens flare > Radius 35 px
 
It's dangerous to go alone, take this:
 
3:09 PM
It's quite obvious
And you applied some distortion effect to try to make it more "realistic"
4/10 for effort made me reply
 
Ven
@HubertApplebaum noscope
 
@HubertApplebaum, wait. I'll found you the name of that
 
you know skeet's accent is pretty great up until he gets to talk about lambda expressions
and all you can hear is lambder expressions
actually that should be a word
 
@Jean-philippeEmond no need it's called photoshop CS6
 
"your code needs to be lambder"
i.e. you need more lambdas in it
 
3:13 PM
@Hubert I found a workaround, I can upload stuff via chat
 
@HubertApplebaum :P I don't have photoshop cs6 in my eye..
 
@AlexM. Better still, show it to George Lucas as he was making the first Star Wars.
 
@Morwenn I asked about the structured binding to Bjarne.
 
@Morwenn yay, music
 
He said that std::ignore for it would be clumsy and useless.
 
3:15 PM
"like you"
 
@Jean-philippeEmond Classic Sun Dog
Sun dogs (or sundogs), mock suns or phantom suns, scientific name parhelia (singular parhelion), are an atmospheric phenomenon that consists of a pair of bright spots on either side on the Sun, often co-occurring with a luminous ring known as a 22° halo. Sun dogs are a member of a large family of halos, created by light interacting with ice crystals in the atmosphere. Sun dogs typically appear as two subtly colored patches of light to the left and right of the Sun, approximately 22° distant and at the same elevation above the horizon as the Sun. They can be seen anywhere in the world during any...
 
I'm not surprised.
 
@JerryCoffin TIL star wars is not based on books
 
@thecoshman Yeah, it's so rare that I post music x)
 
He said it's flimsy and might block things like elegant pattern matching.
 
Ven
3:16 PM
@HubertApplebaum do you like me too?
 
@Morwenn you've done it before?
 
@thecoshman Almost everyday I think.
 
@Morwenn well facny that
 
I wish std::kill_dependency could be used to remove dependencies from a code base.
 
3:17 PM
@JerryCoffin I think is that. I have the french words but yes thats I saw :P thanks
 
@JerryCoffin wait what. why is it named a sun dog? it's not a dog
 
Ven
@Morwenn you do it p often. especially recently
@StackedCrooked that's harsh, mang.
 
@Ven I already shared music here in 2013.
 
> The exact etymology of sun dog largely remains a mystery. The Oxford English Dictionary states it as being "of obscure origin".
[From previously linked article]
 
Ven
@Morwenn excuse me, mister "im-older-than-hubert's-lawn"
 
3:19 PM
@Ven Miss, not mister. And I'm the one who's older than dirt.
 
@Ven :D
 
I'll be 78 in october
 
Ven
I got here early 2014, I think?
 
@HubertApplebaum, I think we shouldn't understand the names found by scientist
But I agree with you that you can produce this with CS6 :P
 
see, admission of guilt
 
3:25 PM
Zzzzz when are we gonna start reading the standard.
 
what standard?
 
Ven
the C++ one.
 
@HubertApplebaum I probably said the same thing as you in this circumstance
:P
Need to go but Come back soon :P
 
Ven
Those who say there was a time before the C++ standard will be slained.
 
oh yes, that reminds me. I once saw some functions I didn't understand what they are
 
3:28 PM
@Ven what's going on here
@ThePhD Bjarne reading from the standard, live? :D
 
Ven
@melak47 some bot that's supposedly keeping my deps up
 
@Ven what's the problem, too many pull requests? :p
 
Ven
@melak47 yes.
 
justjsthings
 
Ven
:\ tbh, I havn't touched this project in a while, when I look at my issues. they're from 2014
even though most of my projects are "old" and I still touch them once in a while
 
3:33 PM
> error C3313: 'x': variable cannot have the type 'void'
 
@melak47 .tumblr.com
 
@ThePhD C++ strikes again!
 
> variable has a complicated typename
I think VC++ is literally just giving up.
 
> error C4555: I did what I could
 
@AlexM. JFC a 145MB GIF?
 
Ven
3:38 PM
@ThePhD hey, I know some proposed that
 
@ThePhD is that an actual error?
 
@KhaledKhnifer that's...uh good to know
 
@melak47 maybe I should ask Hubert. :D
 
@melak47 145? it loaded fast for me
 
well, it was loading forever for me so I tried downloading it directly....145MB...
 
3:43 PM
first it's pronounced jiff
 
thanks :p
 
second, its new name is anjry shoe
 
user1804599
git rebase is so awesome.
 
user1804599
I used it to add issue IDs to commit messages!
 
user1804599
3:51 PM
Also I found that YouTrack agile board swimlanes can be based on subsystems, not just feature issues.
 
user1804599
SO AWESOME
 
4:08 PM
I can't stay awake.
 
@HubertApplebaum kek
 
4:25 PM
@ScarletAmaranth :no_bicycles:
 
4:37 PM
 
> .jpg
> Right-click to play Adobe Flash Player
Wot
 
Xeo
Cr1itikal <3
 
I keep trying to raise my hand in class
and he just looks at me and then ignores me.
 
Xeo
lol
 
And he's already taken a few other student's questions.
Have I already pissed him off? .-.
 
Xeo
4:51 PM
gg
 
I haven't said anything in class though!
Bwuh...
 
user406009
@ThePhD Does he get a lot of dumb questions?
 
I mean, some people don't understand what array_view/array_span are supposed to do, and some people ask questions related to changing interfaces...
 
Off-topic, but is it not possible in LaTeX to make the section font size the same as the rest of the text?
 
Just... set it to be the same...?
 
4:57 PM
Don't know the syntax.
I've looked at SO answers, but they don't seem to be making any difference.
And it definitely looks slightly bigger than the rest of the text.
 
that doesn't help.
 
neither do you
 
umm k?
 
Jan 30 '15 at 2:30, by Borgleader
"Hi I have a question about my retirement fund"
"Sir this is a convenience store..."
"I know but it's the only thing open at this hour"
 
5:00 PM
Except, that example doesn't work here most people here are already well aware (and in some cases, well-versed) of LaTeX.
 
this doesn't change shit
you may as well start asking random people in the store because you've seen them elsewhere
 
I don't think you were here some time ago when this room was giving out relationship advice, among other things
 
*comes up to a random person on the street*
"Ay mate, d'yeh know that latex thing, how'd I make section font size bigger there, mate?"
 
"By not asking me"
 
@DemCodeLines Ha, exactly. So go away
 
5:23 PM
Hmm...beside C++ standard library, what are the differences between C++11 and C++14?
 
sigh, you can choose not to answer. That's what that means big guy
 
Never mind, Wikipedia has an article for C++14.
 
Basically: more constepxr, generic lambdas and variable templates. I think those are the main features.
 
Yeh.
 
Most relevant: polymorphic lambdas, std::make_unique, transparent comparators
 
Xeo
5:25 PM
generalised lambda inits!
 
Oh right, I always forget that one. I probably never used lambda init.
 
Oh, dear.
 
The C++14 feature I used the most is probably std::integer_sequence.
Or maybe the new std::less<> actually.
 
Yay, 400 internet points.
 
user1804599
5:41 PM
 
user1804599
talk about meddling
 
@Morwenn Small changes like this are undoubtedly the quickest and easiest to incorporate. At least for me, it's easy to get so accustomed to it so quickly that when/if I use an older compiler it takes me a while to figure out what's wrong with it and why it's failing to accept code that's obviously perfectly fine...
Bigger changes (anything that requires me to change how I think about things, not just how I type the code) take quite a bit longer...
 
Yeah, now that we have them we can only wonder why we didn't have them before.
 
@Morwenn Certainly true with some things like std::vector<int> x = {1, 2, 3};. How (and why?) did we live without this for so long?
 
user406009
@JerryCoffin It's because C++ users are all dead inside anyways.
 
user406009
5:53 PM
Heh, the behavioral research lab on campus has started to try to use psychological tricks to get more volunteers.
 
user406009
Their latest attempt is to hand out "tickets" which allow the participants to "EARN ONE ADDITIONAL DOLLAR WITH THIS TICKET".
 
user406009
(The trick is that people love "deals", so they will go for it. They probably just lowered their standard reimbursement by a dollar and then decided to make the tickets.)
 
user1804599
Hello, world!
 
user406009
@MadameElyse Are you testing out a bot?
 
user1804599
No.
 
user1804599
5:56 PM
Are you?
 
Bug report made 2 hours ago
solved it in 10 minutes, gave fix and turned things around.
 
user406009
@MadameElyse Usually the first thing people do with a bot is have it say "hello world"
 
user1804599
Ok.
 
Man, I need promise/future implementation that I could use inside Cygwin internals. Something that would be using their internal mutexes.
 
user406009
6:00 PM
@wilx You can't just use pthread based promises/futures?
 
@Lalaland I suspect the build system will not allow me to. I do not think they even link with libstdc++ for cygwin1.dll.
Let me check if including <mutex> and defining std::mutex foo; links...
Either way, I am pretty sure exceptions are forbidden completely. They even compile with -fno-exceptions.
 
user406009
@wilx I was thinking boost thread which probably relies on pthreads.
 
Yay my new monitor is awesome
 
user406009
@Columbo What resolution?
 
@Lalaland It's plain full HD, but I never had a full HD monitor to work with before, so
 
user406009
6:05 PM
@Columbo 1080p?
 
@Lalaland y
Now I have my laptop's 1600x900 and this one, multiple monitors fucking rock
 
user406009
I actually find that it's quite difficult to multimonitor with a laptop and external.
 
user406009
The problem is the angles.
 
Wow
MSVC is broken as fuck.
 
...unsurprisingly
 
6:07 PM
@ThePhD You only use it for Visual Studio, do you not
Just switch to Clang.
 
user406009
GCC also has problems though.
 
user406009
As far as I can tell, profile guided optimization is somewhat broken in the latest build.
 
GCC has less egregious problems, even if the compile times are a hefty chunk slower.
 
user406009
Arg, DAGs are annoying. I guess I'll have to use shared_ptr.
 
"How to variable." - VC++
 
6:11 PM
Does int have a negative zero state in C++?
 
@ThePhD The downside is that the related tools are even more useless.
@StackedCrooked I don't believe it's permitted.
also did I mention that I've got next week off work?
it's Maximum Slacking for puppy
 
@StackedCrooked can't see why not
 
What?
Why slacking?
It's time to go HAM on Wide!
 
@StackedCrooked No.
 
for example, it's explicitly permitted in C99, not sure about C++
 
6:12 PM
@milleniumbug That would be ludicrous. Point me to the spec, please.
 
@ThePhD I probably will, a little.
@Columbo Why would it be ludicrous?
this just in: different languages have different specs
 
@Puppy That zero is negative? Yeah that's fine actually
 
@Columbo Having negative zero and having the only zero be negative are two different things.
the existence of negative zero is an undesirable but not uncommon side effect of various binary encodings
 
@Puppy Ohhhh....... nevermind.
 
floats have negative zero.
 
user406009
6:14 PM
Yeah, but floats have a lot of junk.
 
in fact zero is a bit of a special case, since all other integers have both positive and negative states.
 
I understood "zero state" as the state you get in int()... wait, that could be negative zero in signed magnitude..
 
@Columbo C99 6.2.6.2
 
Of course it's fine in C++, too, I believe you'll find it in §3.9.1
 
If the sign bit is one, the value shall be
modified in one of the following ways:
— the corresponding value with sign bit 0 is negated (sign and magnitude);
— the sign bit has the value −(2 N ) (two’s complement);
— the sign bit has the value −(2 N − 1) (ones’ complement ).
Which of these applies is implementation-defined, as is whether the value with sign bit 1
and all value bits zero (for the first two), or with sign bit and all value bits 1 (for ones’
complement), is a trap representation or a normal value. In the case of sign and
 
6:16 PM
@ThePhD optimized out?
 
@Borgleader No, just not computed at all.
 
@Puppy So do negative integer zero and "nonnegative" zero compare equal? Surely, as they do for floating points?
 
I can do struct {} _ = distinct_list{}; and VC++ wouldn't bat an eyelash.
 
In that case, it's weird to call it negative, as it wouldn't compare less than zero itself.
 
It literally selectively chops out that bit of the code.
It's top kek.
 
user406009
6:18 PM
@Columbo IIRC, one reason why negative zero is needed for floating point numbers is because numbers between 0 and the negative smallest in magnitude float need to get rounded to 0.
 
@StackedCrooked You may find implementations with signed magnitude or ones' complement, but why do you want to know, anywayß
 
Just, ..for science.
 
@Lalaland How does that require a negative zero
 
user406009
@Columbo Because it implies that a 0 is not always actually a zero.
 
@StackedCrooked I smell XY
 
user406009
6:19 PM
It might just be a number very, very close to zero that cannot be represented accurately with floating point.
 
The real answer is that I wondered if ~0 will always result in 0xFFFFFFFF (assuming int is 32-bit).
 
Just static_assert on this
 
@Columbo I've seen a case where they didn't (but it predates C++ and widespread use of C as well). It involved a mix of Pascal and Fortran on a machine that used ones complement. Pascal always normalized results so you never got a negative zero. Fortran allowed negative zero, and checked for it when you compared. If you called Fortran from Pascal, then compared the result, a -0 and +0 compared not equal. The cure was to always add 0 to every result returned from Fortran code.
 
@StackedCrooked Nope.
 
I tend to use uint32_t(-1) since I know that it works and it's short.
numeric_limits is such a chore to type :)
 
user406009
6:22 PM
> The notation "−0" may be used informally to denote a small negative number that has been rounded to zero.
 
user406009
-Wikipedia: Signed Zero
 
Man.
VC++ really breaking my back here.
 
@StackedCrooked Why are you using signed integers for bit twiddling stuff in the first place?
No: See footnote 51 corresponding to the definition of a valid integer representation scheme (The representations of integral types
shall define values by use of a pure binary numeration system.)
> A positional representation for integers that uses the binary digits 0 and 1, in which the values represented by successive bits are additive, begin with 1, and are multiplied by successive integral power of 2, except perhaps for the bit with the highest position. (Adapted from the American National Dictionary for Information Processing
The MSB may be one, even for the value of the literal 0.
 
@ThePhD rip you
 
At least on GCC.
@Columbo I'm not doing that. I'm just asking a question.
 
user406009
6:27 PM
Isn't that UB? Signed integer overflow?
 
@Lalaland Yes.
 
@Columbo Well, I was doing it in the example I posted above :P
 
@Lalaland So what? The implementation can define the behavior nonetheless. (Also, it's only UB if std::numeric_limits<int>::is_modulo is false.)
 
user406009
@Columbo Cool. Didn't know about that constant.
 
user406009
Next time, I want to overflow signed numbers, I'll add a static assert on that.
 
6:29 PM
@Lalaland NB: There was a bug in libstdc++, it was inadvertently set to true.
 
max_int + 1 becomes min_int. I don't understand why that's undefined.
Oh.
> Nowadays, all processors use two's complement representation, but signed arithmetic overflow remains undefined and compiler makers want it to remain undefined because they use this undefinedness to help with optimization.
Interesting.
 
@Lalaland Bad idea, since that will fail on the vast majority of implementations. Signed integer overflows are a rarely used thing but enable some optimization.
@StackedCrooked Optimization.
 
user406009
@StackedCrooked Supposedly you can do some cool loop optimization techniques due to that.
 
user406009
Like you can prove that loop must terminate in certain cases due to that rule.
 
@Lalaland Ah, that makes sense.
 
user406009
6:32 PM
I still remember the debates of people hating this behavior.
 
@StackedCrooked I'd have to check the wording to be sure, but it might be defined for int32_t, even though it's not for int (since int32_t guarantees not only exactly 32 bits, but also 2's complement representation).
 
AFAIR there was an SO question on this subject; apparently it's still undefined
 
user1804599
There's shitloads of magma underneath you.
 
@Lalaland With DJB it's hard to tell how much is really "I hate X", and how much is: "I love to argue."
 
user406009
6:38 PM
@JerryCoffin Nope. int32_t still causes fail.
 
@MadameElyse ...under high pressure, trying to escape.
 
user406009
 
user1804599
42µs
 
@Lalaland I don't doubt its failing with gcc. The question in my mind is whether the standard actually allows that. I'm not at all sure there's a clear answer to that though.
 
6:46 PM
oh my god I'll make carmack a rich man
 
I feel like buying some gothic clothes but they're either XXL or too damn expensive.
 
Hmm...well, at least for C, I think I could make a fair argument that overflow `int32_t` does give defined results (or at least is intended to). The description of atomic_fetch_add says: "For signed integer types, arithmetic is defined to use two’s
complement representation with silent wrap-around on overflow; there are no undefined results." This is followed by a note: "The operation of the atomic_fetch and modify generic functions are nearly equivalent to the operation of the corresponding op= compound assignment operators. The only differences are that the compound assignment operators a
 
just make sure not to wear them at work or at interviews and you're golden
 
Some gothic kilts look awesome.
 
@Morwenn Rather a strange situation. During actual Gothic times, quite a few people starved, and many more were close to it--the number who could eat well enough to get even close to XXL clothing size was probably minuscule.
 
Xeo
6:57 PM
@AlexM. Screw places that won't accept me in my favourite clothing!
 
hey, just saying
 
@Xeo I knew I'd be a good fit in my current job when the first guy to interview me was wearing a T-shirt with a dragon on it.
 
if you've been at your job for a while sure
unless you're doing really crazy stuff that changes people's minds
 
user406009
@Xeo Cue references to shirtgate:
 
user406009
 
6:59 PM
but if you're just looking for a job or starting off
you gotta remember that you're not a special snoflek
and your future depends on other people's view of you
so it's better to stay neutral
it's a bit unfair but that's how being employed works
 
user406009
@AlexM. What about people getting fired for saying things off work hours?
 
user406009
On Twitter, on GitHub, or gasp on snackchat?
 
I don't know/I don't care
 
@Lalaland Really depends on what they said. But there's definitely a much higher barrier
 
@Lalaland I think I need to dream up some ridiculous (but marginally believable) grounds for claiming I have serious problems with any clothes with, say, stripes.
 
7:07 PM
Hey guys, have you ever seen this syntax before? static struct data{float stuff} dataObj = {5.0}; ?? Like as part of the struct?
 
@JerryCoffin You work in compilers? :P
 
@marsh No.
 
cant figure out wtf its doing
 
well good luck with that
 
thanks anyway
I know you can like initialize members that way
but You can name it?
 
7:10 PM
you seem to have missed the point
let me be more explicit
and by the point I mean my boot
 
Ah sorry about that.
Wont happen again.
Hopefully this question wont get me banned again: where exactly is the rules? I must be blind sorry.
 
its on the starboard
 
starboard....
gotcha
 
Xeo
I just noticed... the starboard is on the right side.
 
yer darn landlubber
 
Xeo
7:23 PM
However that connection escaped me until now
 
idgi
 
user1804599
@Morwenn git fad
 
@AlexM. star board, starboard (bow)
 
> Port and starboard are nautical terms for left and right
 
> Definition of starboard bow. : the starboard surface of a ship's hull that curves inward to the stem —distinguished from port bow.
 
7:35 PM
holy fuck that's obscure
 
jesus christ you're such nerds
next you'll tell me that you write haskell
 
@AlexM. i did... once
 
user1804599
Is it weird to use your nickname (rightfold) in an AUTHORS file?
 
7:53 PM
@Borgleader what made you stop, found a girlfriend?
ayyy
I'm on a roll today
 
I use Morwenn in whichever document that I don't explicitly intend to use for something somewhat official.
 
@AlexM. rolling downhill, yeah you are
 
you suck
 
@AlexM. I got bored of reading code examples that used custom operators to shove as much code onto one fucking line. "oh look this would take 30 lines in c++, ive done it in 2" thats not a good thing
 
hmm I wish people I know stopped doing 30 lines for everything
you gotta strike a balance somewhere
haskell does tend to take it a bit too far but that's prolly a side effect of it being dank
nerds do that
 
7:58 PM
obscure?
your face is obscure
 
ok, I removed that part
 
@AlexM. also fuck function names with no vowels
fst, snd
what is this 1960?
 
imagine I never said it
 
user1804599
@Morwenn I see.
 
yea when I write long names for everything it clashes with all the haskell I see everywhere lol
both with the standard lib thingies
and with the code I see on the web
it kinda messed up everything
I have half of my codebase written with long descriptive names right now
and half with shortened stuff because in that environment it seemed to break consistency with the rest of the libs I used
a mess
it's sorta like C or sth as far as naming goes
overall kinda
I wish I chose F# for this project
especially if shit is going to go down and I have to optimize it later on from what I've read
 
8:02 PM
If i am using dynamic memory allocation and i need to create an array with up to 1 billion int, how can i do it without my program crashing?
 
I mean it's not like speed is ultra important but I'd like to be able to demo a game at school when it's done
not just some basic shit
 
Clarification: I am trying to use "Sieve Of Eratosthenes" to find prime numbers lower then "n". This particular implementation is ULTRA fast and my program crashes when I get to 200,000,000 elements. I am supposed to be timing the algorithm
 
user1804599
@FeaRCODE Get a 64-bit computer and a lot of RAM.
 
what's 1 billion ints in megabytes
 
std::integral_constant<int(*)(int), &std::abs> abs_wrapper;
int foo = abs_wrapper()(-9);
 
8:05 PM
@MadameElyse I do have 16GB of RAM
 
Haha, that's aweful.
 
user1804599
Do you compile as a 64-bit program?
 
x86
 
user1804599
Try x86-64 (aka x64 aka AMD64).
 
user1804599
A billion integers is only 4GB assuming 32-bit integers (which is usual for int).
 
8:07 PM
I hope my professor grades on a 64Bit computer lmao
He would have to? Knowing that this algorithm is very fast.
 
user1804599
lol these guys crowdfunded 15k EUR in a day
 
user1804599
To help a victim of brutal antisemitism.
 
@Morwenn wow that's terrible
 
@Morwenn but why
 
@slaphappy I was wondering how I could easily transform a function pointer into a type to give it to templates that need a function object.
And it occurred to me that the result would be close to std::integral_constant.
 
8:44 PM
@AlexM. is F# less anti-vowel?
 
@Borgleader nah but with F# I would've been able to make more straightforward optimizations if I wanted later on
as far as mutable state goes
and I would've been able to avoid the mental overhead of thinking in layers of monads man I find this the hardest to deal with
always what context I am in can I lift operations to where I am how far do I want to take this etc
@Borgleader and yea F# is generally more towards cleaner names
since it interacts all the time with the .NET framework
people would go mad if the naming was off eventually and it clashed with the .NET libs
and yea I know F# is an open source thing that is not tied to microsoft and what microsoft does is Visual F# but yea you get it
.net is probably the biggest difference between F# and OCaml but I'm not well versed in this area
 

« first day (1945 days earlier)      last day (2996 days later) »