« first day (2000 days earlier)      last day (2948 days later) » 

9:00 AM
@Rerito sure. just don't close doors right now. you're still in the market at the moment.
 
Yeah, I just want not to screw up the upcoming interview
 
just don't do market access. it's a trap.
 
Coz the future is a bit fuzzy atm
 
@slaphappy :star:
 
Why? I'ld become a low latency expurrt just like @VeronikaPrüssels
 
9:01 AM
ASCII what you did there!
 
Integer ASCII representation master race
 
how to insert values into map in c++ , where map is declared as a Global Map
 
That sounds like #goodware right there
 
same as where map is declared Local Map
 
9:05 AM
yesterday I discovered a packet which contains 2 numbers stored in the following way:
1 character for the sign, 9 characters for the integer part, 1 character for the "." and 9 characters for the fractional part. so 20 bytes to store a float, essentially, yes. but the best part is that the only allowable values for these two fields are between -1.0 and 1.0
#gooddesign
I'd laugh if it weren't so sad
 
9 bytes just to store 0 then?
lmao
 
why to make_pair and so on ... while inserting values into map
 
8 bytes always unused ya
 
@AndroidDev Coz you're always inserting a pair<Key,Value>
How can it be so bad...
I mean, even my retarded 15yo self wouldn't do that
 
becauuuuuse finance!
 
9:09 AM
Now trying to locate a good gym near Opéra
Overpriced af
 
oklm
my sister works there. awesome food places
 
is she ❏ hot and ❏ single? (check all that apply)
 
☑ hot and ▢ single
also since when are you into chicks
 
Oh, I'm hot and not single too! Perfect match!
 
@slaphappy it's just for the joke you sick fuck
 
9:18 AM
I'm not sick
I'm very healthy and where is the checked version of ❏ anyway
 
when you move to london you will be
(subtle indian pun)
 
I'm not moving to london, I think
 
where is Luc the only person to appreciate my subtlety
 
How often do you guys do your routine medical check ups? Am I the only one that only visit doctors when something is wrong?
 
I get my teeth checked every 10 years
 
9:21 AM
No need, I've a p good health /cc @AndyProwl
 
fuck you
<3
 
Anytime
 
15
Q: How can I promote the use of the Builder pattern in my team?

rathOur codebase is old and new programmers, like myself, quickly learn to do it the way it's done for the sake of uniformity. Thinking that we have to start somewhere, I took it upon myself to refactor a data holder class as such: Removed setter methods and made all fields final (I take "final is...

programmers problems
I call that "programmering"
 
Wow, this guy seems so fond of himself
 
There is no pro-kilogramming, only programming, so very not ambitious ...
 
9:28 AM
really?
he doesn't seem fond of himself
the argument is p neutral
 
I don't get it.
 
@fredoverflow So it's a hipster lawnmower
Interesting :D
 
<- would love to see hipster lawn mower vs long grass
Waited 40 minutes for my general checkup results
 
And?
 
Still waiting ...
Will keep you up to date with the results ...
 
9:35 AM
telkitty.addActionListener(fred);
 
lol :p
 
too much java :)
 
user1804599
@fredoverflow More like our definition of your API: it's shit, does too much, and is too hard to implement.
 
10:20 AM
@Zoidberg beautiful!
 
10:38 AM
1
A: What is the difference between char stringA[LEN] and char* stringB[LEN] in C

fredoverflowLet me give you a visual explanation: As you can see, a is an array of 4 characters, whereas b is an array of 4 character pointers, each pointing to the beginning of a C string. Each one of those strings can have a different length.

Shall I start flooding SO with skorbut screenshots? ;)
 
11:01 AM
meh, every thing is fine on the results, except I have slightly too much iron in my blood and triglycerides is on the higher bound
 
user1804599
@fredoverflow You should release the program.
 
user1804599
@fredoverflow you should make Skorbut highlight const objects differently in the memory view.
 
11:28 AM
@JerryCoffin Thanks, ended up waking up 1hr before my alarm clock, could have been worse.
 
@Zoidberg I haven't bothered implementing const yet ;)
 
Ven
Yo lounge
@Nican WHY MUST YOU DO THIS TO ME
@fredoverflow yes :D
 
11:44 AM
> MATTHEWS: How about Europe? We won’t use it in Europe?
TRUMP: I … I’m not going to take it off the table.
MATTHEWS: You might use it in Europe?
TRUMP: No, I don’t think so. But I’m not taking …
MATTHEWS: Well, just say it: “I will never use a nuclear weapon in Europe.”
TRUMP: I am not — I am not taking cards off the table.
Ok, Trump's not funny anymore.
> Europe is a big place. I'm not going to take cards off the table.
 
I know it's all drama. But everytime I see something like this I worry more. #thenuclear https://t.co/hhXUwn9emv
The devastation is so important to him, you see!
It was never funny to begin with.
@BartekBanachewicz A. common sense :)
 
He just doesn't get nukes.
 
do you think Americans are retarded enough to elect Trump?
 
He's constantly touching all the spots people are truly upset about.
Sanders is too, in a different way. It seems to be working much better for Trump than for Sanders.
 
Ven
aaaaand I have to validate some openssl public key with their modulus and exponents and..
 
11:53 AM
true that Italians elected Berlusconi for >15 years but Trump seems on an even higher level of wtf
 
Also Wizard's First Rule.
> People are stupid; given proper motivation, almost anyone will believe almost anything. Because people are stupid, they will believe a lie because they want to believe it's true, or because they are afraid it might be true. People's heads are full of knowledge, facts, and beliefs, and most of it is false, yet they think it all true. People are stupid; they can only rarely tell the difference between a lie and the truth, and yet they are confident they can, and so are all the easier to fool.
 
Ven
@AndyProwl yeah but maybe Trump won't lower sexual consent age to 13 :P
 
I dunno
like, yeah Berlusconi's affairs were a pretty disgusting thing but I am not surprised many Italians even liked him for that
 
@sehe Yeah, sadly people think nukes are about the devastation, and they're quite the opposite. The time when you could drop a nuke on someone and everyone would just surrender ended in August 29, 1949.
 
but this guy, how do they even find him carismatic
he's just an arrogant idiot
 
11:58 AM
@AndyProwl That's all he is.
 
is he?
 
@AndyProwl "He says what he thinks."
That brings him close to the people.
 
because most of the people are idiots too?
 
@AndyProwl did you not see the john oliver show about trump? that's all trump is, smoke and mirrors
 
Like, he doesn't fool around playing word games and running around the questions.
 
11:59 AM
I saw the show yes
but the wall thing, really? I will build a great wall throughout America because I am the best at building or something like that
 
also because when you play the game on an emotional level, reasons and logic don't really matter any more
 
He answers (what at least appears to be) straight, which, omg is horrible, but people like him for that.
 
that's what hitler and fatass mao did
 
The problem with his straight answers is theyre lies, or contradictary, or plains stupid or all of the previous, but people don't realize that they just say "oh hey he says it like it is"
but he doesnt, because most of what he says isnt true
 
Ven
ofc he doesn't.
he straight out lies instead of dodging questions :P
people enjoy that!
 
12:02 PM
@Borgleader plain stupid yes
 
@R.MartinhoFernandes Although what I heard from Sanders seemed to make sense at least.
 
Yeah, but you're Canadian. Essentially communist.
 
people fell for hitler and fatass mao, they could easily fell for any other dip shit for the same reason
why is everyone so surprised?
 
@Borgleader And remember that just like Commie Europe, Canada is a big place.
 
12:06 PM
I'm not sure what you,re getting at unless it's the nuke thing from earlier.
 
@R.MartinhoFernandes and yet everytime we elect a liberal here in the states the conservatives swear they'll move to canada
 
(They're actually about the same size, and so are the US)
@Mgetz Where else would they move to? Mexico?
 
in Tavern on the Meta on Meta Stack Exchange Chat, Apr 2 at 21:10, by 404
Fun fact: @stackoverflow has now two employees that have developed a Z80 simulator in C#. https://sklivvz.com/posts/z80 vs https://bitbucket.org/konamiman/z80dotnet
 
@R.MartinhoFernandes Russia seems to fit the bill IMHO
although mexico is similarly unregulated
 
@Mgetz Moving overseas is essentially treason, man.
@Borgleader Yep.
@Mgetz Although Putin has the right idea about Obama; he doesn't even want to meet him.
 
12:11 PM
@Mgetz Americans say they'll move to Canada for all sorts of shitty reasons, like when that time gay marriage was legalized despite that we did that a decade before the US.
 
@Borgleader what that should tell us is that they really want to be as liberal as canada, but they are too afraid to be!
 
user1804599
Fapfap
 
user1804599
@fredoverflow How about volatile?
 
gaah
I'm so used to every "if" having an else
and my ide yells at me for adding else continue;
 
user1804599
else;
 
12:18 PM
else continue; is bad.
It requires extra care if you add anything after it in the loop.
 
It's a maintainability minus, and doesn't really give a big benefit.
 
libsdl is great :)
 
user1804599
else goto x;x:;
 
I wouldn't do it, but if you really must have an else, make it else {}
if(foo)
    f();
else;
    g();
 
12:20 PM
I thought else was discouraged by functional programmers?
 
I wouldn't use the semicolon because of this.
 
user1804599
if (foo)
    f();
else
    ;
 
user1804599
:P:P:P
 
@edition ever used anything else?
 
@slaphappy yes.
 
12:25 PM
please explain
 
user1804599
@edition ever used anything else?
 
Ven
i have a digest, a signature, a modulus, an exponent, and I need to check those. inside of a xmldsig
 
@Zoidberg return
 
Ven
fuck openssl. no documentation, terrible naming everywhere, everything looks awful, and stackoverflow answers are shit
 
@Ven what are you trying to accomplish?
 
Ven
12:26 PM
@edition validate some key
 
@Ven ...also have fun deinitializing it.
 
aww
 
Especially if you use it from multiple threads.
 
Ven
I'm lucky enough not to have to :P
...wait, I actually am.
 
I've been trying to clean a test binary that uses actual openssl of memory leaks. Eventually gave up and just hard ignored all the leaks from that stupid library.
 
user1804599
12:30 PM
@edition Functional programming is typically understood as programming without side-effects. Without side-effects, the only statement that would make sense would be return (and thus functional programming languages typically lack statements completely). And so you need conditional expressions (?: in C++). Since these must always have a result, you can't do without else.
 
@Zoidberg thanks for the clarification. I guess my lack of mental capacity caused by sleep deprivation is the reason behind my short answers.
 
declaration statements would also make sense no?
 
user1804599
Yeah.
 
user1804599
You'd have a bunch of declaration statements followed by a return statement.
 
right
 
user1804599
12:33 PM
let x = 1;
let y = 2;
let z = 3;
return x + y + z;
 
user1804599
In Haskell:
 
user1804599
let x = 1
    y = 2
    z = 3
 in x + y + z
 
user1804599
Expression statements wouldn't make sense.
 
That page helped explain the basics of functional programming.
 
user1804599
Functional programming ain't rocket science.
 
user1804599
12:39 PM
It's like, imperative programming but without mutations and side-effects.
 
maybe I need to get a CS degree at University.
eh, nevermind
@Zoidberg um, what's with your profile picture?
The dreaded silence continues...
 
Ven
@Griwes :(
 
@edition its the same one as it has been for months?
 
@Ven and ass-backwards approach to interfaces (pit of despair API <- FUCKING SHIT)
also they use uninitialized variables because "it hurts nobody because we mix up entropy".
Well, you get some bits of entropy, but risk 10000 bugs with new version of compilers, you annoy the users of Valgrind, you annoy everyone
 
@edition people are just doing something else, don't read too much into it
 
user1804599
12:52 PM
@edition ?
 
@milleniumbug lol
They don't understand entropy.
 
@Zoidberg what is the girl thinking about?
 
user1804599
C++ code.
 
Lol @slaphappy, interview just got canceled
 
@milleniumbug Uninitialized variables don't have that much entropy, and can be exploited.
 
12:53 PM
Rescheduled tomorrow evening
 
erm
not a big deal weather is shit anyways
 
Yeah, but I don't have my sportswear with me :(
And no way I skip squat day
 
what... does this have to do with anything :o)
 
user1804599
Mar 23 '13 at 14:43, by StackedCrooked
I remember reading about a program that used uninitialized variable as one of the sources of entropy for creating SSL keys. The optimizer decided that this made the sum of all entropy sources undefined as well, so it skipped the calculation.
 
@R.MartinhoFernandes Well, even if they had some entropy, the decision to use them fails cost-benefit analysis. And it fails horribly.
 
12:55 PM
@slaphappy sorry, I made that up.
 
I skipped my daily workout and have to skip tomorrow's one as well to get to that meeting
 
For instance if you have a u32, bit 31 is highly unlikely to be set, and bit 0 is highly likely to be set, since low values are much more common in program variables.
 
error: no viable conversion from 'typename remove_reference<foo &>::type' (aka 'foo') to 'int'
            _invoker(T value) : _value{ std::move(value) }
...where _value is literally T _value; ;_;
 
No way I skip twice in the same week
 
Seems that Clang 3.6 is too primitive at the most primitive things to compile some of my code :/
 
12:56 PM
T _value; ;_;
 
...
 
why can't I return a value from a templated function?
 
that's not a thing
a function template?
 
@slaphappy yes.
 
of course you can return a value from a function template
 
12:58 PM
SSCCE or GTFO
 
yes, yes.
 
 
eh? um, no it does work. Must've been looking at... actually, what?
please ignore what I said before.
@sehe have you written games?
 
Ven
@milleniumbug LOL
 
@edition Coliru
 
1:11 PM
@Rerito that's the thing: the function template was in code that's gone. I could've had a mental error instead.
 
Huh
 
I probably need to see a psychologist soon.
 
user1804599
export function compose<C, E, F>(l: Lens<C, E>, m: Lens<E, F>): Lens<C, F> {
    return {
        get: c => m.get(l.get(c)),
        set: (c, e) => l.set(c, m.set(l.get(c), e)),
    };
}
 
user1804599
@Ven halp
 
user1804599
Pretty interesting: lpaste.net/1962589957356781568
 
user1804599
1:22 PM
I could generate that code.
 
Ven
...
yay
I now have 0 questions.
 
...
 
Ven
y fait beau à talence?
 
@sehe I'm not sure I get it =/
 
mary poppins
 
1:31 PM
"Supercalifragilisticexpialidocious" /ˌsuːpərˌkælᵻˌfrædʒᵻˌlɪstɪkˌɛkspiːˌælᵻˈdoʊʃəs/ is a song from the 1964 Disney musical film Mary Poppins. The song was written by the Sherman Brothers, and sung by Julie Andrews and Dick Van Dyke. It also appears in the stage show version. Because Mary Poppins was a period piece set in 1910, songs that sounded similar to songs of the period were wanted. The movie version finished at #36 in AFI's 100 Years...100 Songs survey of top tunes in American cinema. == Origin and meaning == The Oxford English Dictionary estimates that the word "supercalifragilist...
 
@edition @sehe ABORT ABORT
 
@BartekBanachewicz That's what I'd've done to @edition had I the chance
 
this is petty.
yay! hollow threats and big egos!
 
user1804599
1:52 PM
what is mary poppins
 
Whos hyped?
<-- is hyped
@R.MartinhoFernandes Oh god, I never would have found that.
 
@набиячлэвэлиь do you know that fancy derivative/integral calculator online that doesn't solve it for you but just gives you steps?
i remember there was a thing like that
had a green background and 90s vibe
 
no, that just solves it
 
Also provides the intermediate steps
 
1:53 PM
what I remember required you to manually put in steps
 
1 month free iirc
 
I don't want them provided
I want to be able to choose the steps myself
 
and there was one specific page that did that
@набиячлэвэлиь i'm not trying to solve an integral, i want to find that one tool
 
kidding
 

« first day (2000 days earlier)      last day (2948 days later) »