« first day (1439 days earlier)      last day (3507 days later) » 

4:00 PM
There's a number of near misses though
 
Hi @melak!
 
Why is Abyxx so stupid
 
Ell
Std bind works on functors doesn't it?
 
Why not. Yes.
 
Ell
4:18 PM
How do you guys avoid keywords?
I usually do pthis for a parameter called this but I don't really like it
 
@Ell generally I avoid having code that would need to use this as a parameter
 
user1804599
@Ell this_
 
Xeo
@Ell self
 
user1804599
Or use a decent language and do `this` or @this. :D
 
Ell
@Xeo I was thinking of this actually
or I could go vb style and use Me
 
4:22 PM
Synonyms are hard
 
Xeo
zis
 
Ell
zisse
 
user1804599
 
Ell
I would like compile time strings
 
user1804599
"89 seconds" // compile time string
 
Ell
4:29 PM
I would like strings as template arguments :P
 
user1804599
Write a preprocessor that transforms ELL_UNPACK("abc") to 'a', 'b', 'c', '\0'!
 
@AlexM. You're correct The standard requires (§3.9.1/3): "Unsigned integers, declared unsigned, shall obey the laws of arithmetic modulo 2^n where n is the number of bits in the value representation of that particular size of integer."
And (footnote 46): "This implies that unsigned arithmetic does not overflow because a result that cannot be represented by the resulting unsigned integer type is reduced modulo the number that is one greater than the largest value that can be represented by the resulting unsigned integer type."
 
Xeo
Wait. You guys are still on this?
 
Ell
> error: explicit specialization in non-namespace scope class Foo
aww dernit
 
4:34 PM
@Xeo They may have had the sense to stop. I'm just catching back up from the transcript (or were you talking about some other "this"?)
 
Ell
now I'm going to have to do something funky
 
@LightnessRacesinOrbit shopping time :(
 
darn it
 
@Xeo vOv there has to be something to be pedantic over
 
Ell
4:44 PM
Is it possible to delete non specialized template member functions? ie only allow calling specialized templates
 
def user_field(user, field, *args):
    if field and hasattr(user, field):
        if args:
            # Setter
            v = args[0]
            if v:
                User = get_user_model()
                v = v[0:User._meta.get_field(field).max_length]
            setattr(user, field, v)
        else:
            # Getter
            return getattr(user, field)
why *args
 
Ell
@Sofffia no idea
 
It's vararg syntax
 
yes, but why
 
To have varargs? How should I know
 
Ell
4:50 PM
@Sofffia there is no reason
it's abuse
 
def user_field(user, field, setter = None):
    if field and hasattr(user, field):
        if setter is not None:
            User = get_user_model()
            max_length = User._meta.get_field(field).max_length
            setattr(user, field, setter[0:max_length])
        else:
            return getattr(user, field)
exactly the same
apart from the fact that that function violates me
it also violates the SRP
 
user784668
def user_field(*args, **kwargs): raise Exception('fuck programming')
 
lol
def safe_set_user_field(user, field, setter):
    if field and hasattr(user, field):
        User = get_user_model()
        max_length = User._meta.get_field(field).max_length
        setattr(user, field, setter[0:max_length])

def safe_get_user_field(user, field):
    if field and hasattr(user, field):
        return getattr(user, field)
here hth
 
lol safe
 
what now
 
user784668
4:55 PM
@CatPlusPlus there's no Heartbleed in it, so it's $100% safe
 
Ell
hmm. I need a key based on signature & name. Should I go with std::unordered_map<std::pair<std::string, std::string>, J::Method>?
 
> $100%
 
Ell
or std::unordered_map<std::string, std::unordered_map<std::string, J::Method>>?
 
you owe me now
 
user1804599
@Sofffia make return None explicit in the getter.
 
user1804599
And rename the functions to something sensible.
 
@rightfold inb4 set_user_field_or_bail
 
user1804599
Also what the fuck are these functions used for?
 
Ell
Oh dern. I can't do what I want to do
 
user1804599
Oh Django, lol.
 
user784668
@rightfold functioning
 
not, it's not django
it's a library for django
 
allauth is crap
 
user1804599
Never said it was Django.
 
5:00 PM
it works v0v
 
PHP also works
2
 
Ell
I need a heterogeneous map I think. For storing functions in
 
user1804599
The only thing that doesn't work is foreigners.
 
aw, i was gonna say something about PHP too
the whole problem is that php doesn't work
see unicode
 
user1804599
@Ell What do you want to do?
 
5:01 PM
see loltypesystem
 
user1804599
At a high level.
 
Critical emergency
 
user1804599
PHP is better at Unicode than most other languages are.
 
I ran out of desserts
Not sure how that could happen
/!\
 
5:01 PM
@rightfold it simply forgets about it?
@dolan are those three "legs"?
 
user1804599
Anyway, time to implement conditionals.
 
I said multiple times that "it works" is a shitty unhelpful and ultimately irrelevant quality metric (because if it doesn't work then there's no quality to assess)
 
user1804599
And for that I need basic blocks!
 
@CatPlusPlus sorry, i meant "it works well enough for me"
it's all about lowering your expectations
 
It's why this industry and most of the code produced is utter shit
 
Ell
5:03 PM
@rightfold I'm wrapping JNI. I want to be able to store instances of my Method class in a map to save creating a new one everytime a method needs to be called
 
@CatPlusPlus i agree
but reimplementing all this shit costs
much more
 
Ell
My method has a signature like template <class ReturnT, class... ArgsT> class Method;
 
and i'm only talking about the pure auth part (not social auth)
because i had that working already
 
Fuck. Left my wallet at work.
 
email verification tokens, password resets, multiple accounts associations, set password, change password, multiple email + verification per each
it's very costly
 
5:05 PM
Yeah not really
 
user3010322
Question.
 
Most of these things are already in contrib.auth
 
lol
not really
 
user3010322
Is there a network protocol that does everything TCP does without the "and the packets have to come in the right order" bit?
 
the only thing contrib.auth provides is password management
 
5:06 PM
Email verification is trivial
 
everything is trivial in that list, if you take it alone
also fuck maintaining all this logic
 
It's trivial
 
i'd rather push fixes to something that everybody uses
so that i can reuse it over and over again
no point in reinventing this shit
 
Nobody uses that crap
Literally only tricky part is OAuth stuff and python-social-auth does that better
 
yeah, that's why it has 1000 stars, 20 verified sites using that and 100+ "collaborators"
nobody uses it
 
5:08 PM
lol 20 sites oh my god
 
it's actually more used than python social auth
@CatPlusPlus verified sites
 
PSA is better
 
it doesn't deal with multiple email association
and verification
 
Which is the trivial part
 
still code to mantain
 
user784668
5:09 PM
PSA: PSA is better
 
@Fanael I was typing that
 
the less code i write, the happier i am
 
here lemme add a comma to make it look good in the starboard
lol
 
The less code you write the happier I am too
 
5:11 PM
:c
 
You already are the embodiment of happiness
 
also i'll try my best to make allauth less crappy
i promise
 
ALLAUTH U AKBAR
2
 
or maybe i could write my own application that does that
and share it with the world
inb4 xkcd about standards
one that is built on top of PSA
i'm panicking
that's why i'm talking this much
calm the fuck down sofia
touch your special spot
oww... this... is... relaxing
 
Oh hey another girl on this channel! Glad to see I'm not alone
 
Ell
5:17 PM
wtf
 
oh....
yes...
 
Ell
I'm lol'ing
 
OMG FUCK ME HARD
ow shit
i'm all wet
 
user784668
@dolan sorry to disappoint you, but this room is 186% sexist assholes, or at least that's my experience
 
Ell
stfu djedefre
 
5:18 PM
need to change clothing, bbl
 
Oh nevermind it's Jefffrey
Sneaky you
 
user784668
@dolan yes
 
guise - cat, I need help
 
user3010322
Mmm.
 
i need to make a huge decision
 
user784668
5:20 PM
@Sofffia tac | rev
 
user3010322
Some researcher wrote a UTCP protocol
 
@ThePhD What's that. Micro TCP?
 
user3010322
But that wasn't exactly a standard thing...
 
user3010322
@dolan Unordered TCP.
 
i trust cat's judgment... maybe, but this library seems cool and it saves me time and code
 
user3010322
5:21 PM
E.g., guaranteed delivery but unordered receive.
 
What about it
 
user3010322
I want it.
 
I'm afraid that he is right.
And I'm going to realize that in the future.
 
@ThePhD UDP with acks and resending (also why)
 
and this is super sirius bsness, so i'm scared i'll fuck this up
what should i do?
i can't make decisions
 
5:23 PM
what cat said
 
fuck
 
you'll get flagged by @darkness
 
user3010322
@CatPlusPlus Ordering can block a whole message from getting through. But, truth be told in the area I'm working in, a later packet arriving first means I can just throw out the older one and do an interpolation if necessary.
 
user3010322
Essentially: the order isn't necessary for the data to be intact.
 
If you throw out the old one why do you need guaranteed delivery?
 
5:26 PM
Why don't you use RUDP instead of UTCP
You know, Reliable UDP over Unordered TCP
:grin:
 
Guuuys ;-;
I'm participating in a national programming contest on Saturday! ;_;
 
user784668
So?
 
What's the difference between ;-; and ;_;?
 
I'm happy, okay? ;-;
 
Sounds like fun.
I had fun when I did the same.
 
5:27 PM
;-; is cuter than ;_;
 
user1804599
Fuck.
 
I also organised one in my school.
Twas fun too.
 
@MohammadAliBaydoun What are those about?
 
user3010322
@R.MartinhoFernandes You know, that's a good point.
 
@Sofffia I'm a perpetual crier ;-;
 
user3010322
5:29 PM
I guess it's full UDP then, but... if there's no guarantee of delivery, I can receive... well, nothing at all.
 
@ThePhD Are you doing delta transmission or something? This has been a solved problem for decades
 
@MohammadAliBaydoun I mean, what will the contest be about?
inb4 programming
 
user3010322
Perhaps the guaranteed part is more just paranoia.
 
You have 10 programming problems and 5 hours.
 
@MohammadAliBaydoun pleonasm
 
5:29 PM
There are no solved problems in PhDLand
5
 
Team who solves the most or finishes them all first wins.
 
user3010322
:c
 
It's not like UDP makes an effort to lose your packets.
 
user784668
@MohammadAliBaydoun I'd rather have 0 programming problems and 5 beers.
 
@Fanael Me too!
 
5:30 PM
@R.MartinhoFernandes Maybe when it goes through the french backbone it does
 
@Fanael But why limit yourself to a fixed number of beers?
 
@MohammadAliBaydoun Cool
 
Xeo
@Fanael I'd rather have 0 programming problems and 0 beer!
 
Why would you rather not have the beer?
You can always sell it.
 
Xeo
Because beer is yucky.
burn it all
 
5:32 PM
You can always burn it, then .
If you won't do it, who will?
 
user784668
@R.MartinhoFernandes Not enough ethanol to be a good fuel.
 
Not my problem.
 
@Fanael Not with that attitude
 
@Mohammad does this national competition qualify you to the IOI or something?
 
user784668
@R.MartinhoFernandes Idiots of Idiots?
 
5:35 PM
@R.MartinhoFernandes It does lead to a competition among winners in the Middle East, and that leads to an international, but I didn't do my research beyond that~
@R.MartinhoFernandes It's apparently this en.wikipedia.org/wiki/…
 
Ell
> too many errors emitted, stopping now
 
It was about to test your program to see if I could replicate your problem. Fortunately I noticed that system("PAUSE"); before I ran it. The PAUSE command on my computer pauses the cooling system for my nuclear reactor. You almost caused a meltdown with your gratuitously non-portable code. — David Schwartz 7 mins ago
 
Ell
:(
 
user784668
@dolan cool story
 
Ell
I'm in include hell
 
user3010322
5:51 PM
Serves you right.
 
user784668
@Ell Send Ritchie my regards.
 
8PM and it's dark
rip summer
 
user784668
That's Tusk's fault
 
Ffs
I went back to get my wallet and left my backpack.
Just shoot me already.
 
Good job
Now all you have to do is go back for you backpack and leave the wallet again
 
5:59 PM
I'll never get home again
 
Ell
@R.MartinhoFernandes haha that sucks
but it's pretty funny
 
I love it when autumn comes and it's cold
I have to wear a blouse on top of the tshirt which means I never have to iron my tshirts
 
user784668
I don't
 
user784668
Cold sucks
 
6:04 PM
also, today was an unusually productive day
everything I did was good so I gained momentum from one task to the other
towards the end I was chaining them like crazy
 
user784668
And when it's cold I usually get a cold.
 
@AlexM. gg
 
user1804599
Hurray.
 
@Fanael I usually get a cold when it's hot outside
 
user1804599
I can now compile let id = fn x => x in id 42!
 
6:06 PM
in the last month at my previous workplace I spent all of my time in front of an AC
and I'd get to work all sweaty because of how hot it was outside
 
user784668
@AlexM. Myself, I prefer direct current.
 
@AlexM. best way to get sick
 
it was the most horrible month of my life
 
user784668
Why is mains alternating, anyway?
 
the HQ was this re-purposed 2-story + attic house
 
6:08 PM
My god ranger is so broken nerf pls
 
and the programmers had to sit in the attic
which was getting so hot
they had to run the ACs all the time
problem was, the place was so tiny it was almost impossible not to feel the cold air in your face
or worse, your back
 
@dolan lol
 
yeah, always cover you back
 
hello folks
 
I am driving home by metro. One guy is sitting near me. He is watching porn.
 
6:18 PM
do you guys receive pay-tv (legally of course) like sky?
 
IDGI, is she driving the metro or what?
@JohannesSchaub-litb I have Sky.
 
I don't like any of this.
 
@Sofffia do you think paying 40 euros per month for tv+Sky is too expensive?
 
I pay 35 euros per month for Sky.
 
planning to order just the national football league channels and championsleague channels of sky
 
6:19 PM
It's Sky + Sky Cinema.
No sports, nor documentaries.
 
Sky includes stuff like MTV blabla, Fox Crime, Fox, etc...
 
The C++ education at my University is absolutely horrible
 
user784668
@MohammadAliBaydoun C++ education is absolutely horrible everywhere.
 
inb4 everywhere it's horrible
so close
 
6:21 PM
ok first that movie where two naked people hug, and now a movie where people just talk at a table, "porn" is getting awfully broad nowadays
 
Yeah, but this is absolutely mediocre
Rubbish
 
@Sofffia do you have the HD option?
 
yeah HD
 
Not in the pedantic way that we always assert, but in a really grotesque way
 
@Sofffia ah i see. 10 euros extra here
 
6:22 PM
here too probably
 
so 35 euros is very good for what you get there
 
i remember i payed 22/24 at some point
then we bought an HD tv and now it's 35
 
@Sofffia does sky cinema include many other stuff in addition to sky?
 
we are happy with what we have got here
 
Going home, round 3 :(
 
6:24 PM
@JohannesSchaub-litb something like 20 24/7 cinema channels + 20 more premium channels for the super latest releases
no ads during movies
only in between movies
english subtitles and audio
oh and I have the decoder that can also record stuff in any channel and store it in a 120GB hard disk
and you can also pause and resume channels
 
time for beans + sausage + pickles
best combination ever
 
and finally i have "Sky Go" which allows me to see few movies/tv series on any device I connect the account to
such as mobile, ipad, computer etc...
the 120GB hard disk thingy and Sky Go was an offer IIRC
I would have never payed for them tbh.
 
user1804599
@dolan YOU RACIST
 
@Sofffia o_0 I thought you were UK
 
@R.MartinhoFernandes hi
 
user784668
6:30 PM
@rightfold Can confirm, @dolan won last F1 GP
 
I wish.
 
if Jefffrey were from the UK, he wouldn't be getting so angry at my pizza eating habits
 
So that I could simply take a train to get to the hog roast.
 
@Sofffia ah. but playing the movies on a normal PC without the smartcard is impossible right?
i mean, the recorded movies
 
yeah
 
6:33 PM
@dolan you'd come for a spit roast right?
 
when they first added this thing it was
 
@thecoshman a what
 
it has been almost a year since i've last tried
but to signin you had to use the key on the card or something related to your card, of course
 
@dolan ... -_- no... no typos...
 
@thecoshman lol
 
6:40 PM
@TonyTheLion over her head
 
@rightfold French people are racist, so I'm not surprised there.
 
user1804599
Why can there be only one implicit parameter list? ;_;
 
@EtiennedeMartel but... eh... erm... well...
 
*ominous voice* Displaying a level of xenophobia rivaled only by the Japanese!
 
> The nerd bait is the female character who essentially fulfills the wishes of most 13-year-old male gamers: she will not just be a brilliant fighter, but she’ll also be sexy as hell (not a crime in of itself), and typically do battle in the most impractical, revealing outfits possible.
found a name for that!
 
6:46 PM
@EtiennedeMartel /hold mirror
 
apparently bayonetta is nerd bait
 
@thecoshman You should look upward. Perhaps you'll see the joke.
 
@EtiennedeMartel NEVER
 
@EtiennedeMartel The Japanese just don't like Koreans and the Chinese.
 
31 secs ago, by Etienne de Martel
@thecoshman You should look upward. Perhaps you'll see the joke.
 
6:48 PM
They're okay with other foreigners.
Eh. I don't consider it a joke when people actually say it seriously.
 
user1804599
let id = fn x => x in id id id id id i
 
@thecoshman I don't get it
 
user1804599
It werks!
 
@Rapptz Putting words in my mouth now eh?
 
No?
 
6:49 PM
@dolan hint: NSFW three person activity
 
user1804599
thecoshman being cryptic again?
 
google it dick butts
 
@Rapptz Or rather, I don't really see how you can know better than me if I was being serious or not.
 
Since when does 'people' mean 'Etienne specifically'?
 
@EtiennedeMartel fyi even if you say it in jest, you still said.
 
6:51 PM
@Rapptz Oh, so you weren't replying to me. You were just throwing that out there.
Apologies, then.
 
I meant that other people say things like that a lot.
I mean, there's some truth to it.
 
@thecoshman Still not
 
But I think it's overblown.
 
I know a few people who went often to Japan. They all said they really felt like strangers. Like people were just tolerating them.
 
@dolan ¬_¬ the lady servicing with both ends.
 
6:52 PM
Yeah I get that. I lived there for 2 years.
It depends where you are mostly.
But if you're e.g. Korean or Chinese there's no saving you.
They really hate the Korean and Chinese.
 
@EtiennedeMartel maybe you just know assholes?
 
Probably not.
 
@EtiennedeMartel I only know 1 person who went to Japan and he said everybody was awfully nice to him.
 
@thecoshman ...
 
@dolan oooh, fyi, pun
 
6:55 PM
Like running under the rain to give him an umbrella and go home without, themselves, kind of nice.
I've read somewhere Japan is the safest country to be in.
Very low criminality and stuff.
 
probably because 99.8% of the people who end up in court for crimes also end up in jail
I wouldn't want to commit crimes there
 
user784668
Capital punishment for jaywalking
 
@AlexM. That's not a very nice statistic.
 

« first day (1439 days earlier)      last day (3507 days later) »