« first day (3267 days earlier)      last day (1691 days later) » 
02:00 - 12:0012:00 - 22:00

2:50 AM
@mr5 i see you online.
 
mr5
3:05 AM
I see you too @c0dem0nkey
Does anyone know the default serialization ordering of Newtonsoft?
 
Did Dictionary<int[], Object> works?
13
Q: An integer array as a key for Dictionary

william007I wish to have the dictionary which uses an array of integers as keys, and if the integer array has the same value (even different object instance), they will be treated as the same key. How should I do it? The following code does not work as b is different object instances. int[] a = new int[...

 
mr5
it'll be using the default int[].GetHashCode I suppose
 
 
2 hours later…
5:36 AM
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' squirrelerinos!
@mshwf Nothing wrong with that, you declare two variables
 
Hello,
what is the alternative for Microsoft.Xaml.Behaviors.Wpf in WPF Core 3?
 
5:53 AM
Goood moorniiiiing CeeeeSHaaarp!!
 
6:14 AM
tf.. wait for the coffee to kick in first at least
 
*presses the snooze button on @Squirrelkiller*
 
6:30 AM
*throws @Squirrelkiller into the corner of the room where all alarmclocks land*
 
6:43 AM
 
Goood moorniiiiing CeeeeSHaaarp!!
Rise and shine boys
 
It's cooooooold out there today!
 
@Squirrelintraining I will come back to haunt you...tonight!
 
@Squirrelkiller noooooooooooooooooooooooooooooooooooooooooooooooooooo
 
Yessssssssssssss
 
6:50 AM
noooooooooooooooooooooooooooooo~ooooooooooooooo
 
sheesh, are you guys really too young to get a groundhog day reference?
 
@Squirrelkiller did you hear some kind of whispering?
Or was it just the wind?
 
@Neil not young, just dense. Although I did spot the ground hog day reference, I jsut didnt feel like I should do anything about it
@SiT sorry I farted
 
ok, so I'm not too old, just too lame, gotcha ;)
 
Oh don't worry, you're still too old
 
6:55 AM
#owned
 
Morning Avner o/
 
7:14 AM
Morning.
 
Data scientists. *sigh*
Me: I want to integrate this model you've built into a proper data pipeline. Where's the entry point to run it?
Them: Oh, here's a bunch of python files. We're not sure what the dependencies are because we have about 50 dependencies we've just poured in on our dev machine. Just run "Main.py" to train the model. If you've trained and you now want to run it, open the file and change `is_development` to false, and the next time you run it will simply choose the other 200+ line `else` branch and do the other thing.
 
@Neil I actually know that episode
 
@Squirrelintraining oh so you're old too
 
@Neil What did you just call me?!
 
7:25 AM
@AvnerShahar-Kashtan Oh yes that happens :-D
 
All their development is done on their personal laptops and copied to the production from there. They had no idea what dependencies they actually needed. We eventually copied the python to a clean machine and tried running it, iteratively, until we figured out which dependencies are actually in use and which were simply cluttering up the conda environment.
 
Morning!
 
@AvnerShahar-Kashtan "Just copy all the dependencies, I'm sure it'll be fine, and well, if it doesn't, that's your ass not mine"
 
@Neil It rhymes
 
well they're data scientists.. of course it's gotta rhyme
 
7:39 AM
That's something to know, next time I know what to show!
 
Now I'll find, that you rhyme all the time?
 
For now it's a goal for this day, who knows, it might be okay?
 
> Probably he means no harm. He's really very short on charm.
 
ahoy mateys
 
What the fuck
 
7:50 AM
> Are there rocks ahead? If there are, we'll all be dead.
 
One of my applications has randomly started throwing an erroor: Could not load file or assembly '[snip]' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference
 
That sounds about right
 
But the application has been deployed and running since last week on the same machine
 
Anyone updated it?
 
7:51 AM
@CaptainObvious That sounds like trouble, a mighty fine puzzle!
 
has anything else been deployed to that machine?
 
I updated it last week. it was probably the same isntance of the application That I started after updating
Nobody ever turns the PC off
 
running apps on a pc in production
 
@Neil Are these movie references? Or what is your rhyme preference?
 
tsk tsk tsk
 
7:53 AM
It's a user facing app
So literally during runtime the application decided to not want to load one of it's assemblies anymore
 
Maybe the program had enough, the life of a computer certainly is tough.
 
ah, princess bride, a true beauty
 
OOP Devs sigh they take what could be a 200 line if/else in a Python script and scatter it across a 100 files with IOC indirection and mock implementations, who knows what is actually executing at runtime?
 
Checking Why C#8 Default implementations of interface members will report an error? I wonder... Why did they introduce default interface methods? Arent interfaces supposed to declare contracts and leave implementations implement them?
In Microsoft devblogs they do say it is to allow mantainace without breaking existing code, but I would seriously consider creating a new interface instead that implements the previous one.
IMHO it could potentially allow bad code practice (lazy coders coding logic in interfaces)
 
8:06 AM
@Wietlol it's a classic. Shame nobody these days gets the references
 
its a while since I have seen it tho
 
@Neil I remember being horrified of that movie as a kid.
Just like mars attacks
 
I probably only get the "you keep using that word" reference
 
horrified?
 
Yes horrified!
IIRC It has a stinking giant rat in it which is scary AF.
 
8:08 AM
@Wietlol Inconceivable!
 
Or sth down those lines.
 
oh, and that one
 
@Squirrelintraining oh that's true
 
oh, and something about killing someone
"you seem like a decent fellow, I hate to kill you"
"you seem like a decent fellow, I hate to die"
 
8:09 AM
or "I am someone someone, you killed my father, prepare to die"
 
@Neil I mean its oviously a human in a "rat" costume but as kid one just doesn't see that
 
rewatching that, I find it funny that she is literally a helpless princess
the whole thing was funny, because there was this whole buildup to that moment, and the guy says nothing, just runs away and nobody expects that
 
A lot of nice subversions of common fantasy/adventure tropes in that movie.
 
though I suppose in real life if someone said they were about to kill you, you'd probably run away too, not say some sort of diabolical speech
 
The book is great, too.
 
8:15 AM
if they were to do a remake, I would be so much in favor for it
but it could either fail completely or be epic
not sure which yet
 
I wouldn't. I wouldn't mind a sequel, either direct or inspirational. But remakes... don't really add much.
I mean, the movie is what is is. It's still popular today with many youngsters. It hadn't really been visited by the suck fairy and its many siblings. It doesn't rely on outdated special effects or anachronistic acting style. It still works.
 
Cary Elwes could play Prince Humperdinck
 
who would play the giant?
 
he's clearly shown to make a great villain in Stranger Things
 
Which reminds me, I need to put in a slide about the suck fairy for my talk.
 
8:18 AM
 
@AvnerShahar-Kashtan I'm still traumatised by it
which talk?
When and where?
 
@Wietlol I'd say Dwayne Johnson but he doesn't exactly give friendly giant vibes
 
@Squirrelintraining I have a talk in our local upcoming scifi convention. I'm going for an ultra-specific topic which will probably interest only a handful of people, but still.
The only legitimate remake:
Oh, forgot twitter oneboxing is broken.
 
would be interesting to see a muppet version of the princess bride
though I don't know how many people would want to see that
 
@Neil ALL OF THEM
 
8:34 AM
@AvnerShahar-Kashtan Oh yeah, you mentioned that a couple of months ago right?
 
hi
can anyone tell me how to get selected item from static drop down list?
i've tried myDdl.selectedValue and I can't get that value
 
Not without more information and a very brief trip to Google first
 
i can show you the code
 
Show google your code
 
Code your google.
 
8:50 AM
@Squirrelintraining I do it every couple of months. :) Twice a year in the Israeli conventions. This year I had a talk and a couple of panels in the international Worldcon as well, which was in Dublin this year.
 
i've found a solution thank you guys
 
What did you talk aobut last time?
 
@Riccardo See? The power of negative reinforcement. :)
 
@Neil I am on it
 
@CaptainObvious The different models of canonicity and "truth" of various scifi/fantasy franchies (Stars Wars vs. Doctor Who, Tolkien, Marvel/DC comics) and the interplay between how a franchise's canon is defined and how its fandom organizes itself.
 
8:53 AM
I understood a few words there!
 
ooh, I like different
 
Hey, the programme site is still up. And even with a not quite recent picture of me. eu.grenadine.co/sites/dublin2019programme/en/dublin-2019/…
 
TIL what avner looks like
 
can someone help me with this?
 
And the image will be forever etched into your retinas.
 
8:55 AM
The type initializer for 'Globals' threw an exception.
 
I shall cherish it always @AvnerShahar-Kashtan
 
Well, what I looked like a few years ago. Am a bit older and shaggier now.
 
I found a more recent picture of you
 
Avner is a wizard!!??!?!?!!
 
my beard is almost that long too...
 
8:57 AM
@Harry you've got competition
 
@CaptainSquirrel he is the head wizard
 
Nah, this is the most up to date:
 
Nah avner is an older wizard
 
he can have it
im no wizard
 
9:08 AM
@AvnerShahar-Kashtan Noice
 
@Harry You're a wizard, 'arry!
 
yaay. I have seen Avner possibly fake picture for the first time
 
@Neil A nother one of your outdated-moive-that-no-one-ever-cared-about reference?
 
harry potter is outdated now?
 
@HectorAlv we call you
 
9:10 AM
come on arry, we're going down the pub!
 
I'm actually quite easy to spot online. Pictures. Recorded talks. Guest appearances in music videos.
 
...music videos?
How did that happen?
Also that's an epic beard
 
he was looking for the toilet and walked into shot by mistake
 
He's a word artist, so he's bound to be in some sort of epic RAP SCIFI jig
 
Random pictures of people I don't know showing up on Google Images under my name because they grab random images from LinkedIn profile pages.
 
9:15 AM
encrypted-tbn0.gstatic.com/… this is waht i got whnen I searched for Avner Shahar
 
TIL avner is a gurl
 
Cue everyone going to linkedin suddenly
 
ur hawt
 
9:29 AM
@Squirrelintraining I bet she can't help with my C# architecture problems...
8 years at the same company...
unimaginable
 
o/
 
I would not think of it that way
how I approach this is, there are many concepts in programming, and sometimes, multiple concepts use the same language feature
for example, type contracts would represent what an instance of this type could do
you would use an interface to implement this
but a behavior module, which would contain a small piece of code that you want to reuse in several classes, could also be implemented with an interface
in C#, a class definitely wont do
an enum would even be worse
and static functions need a lot of binding to make it work
 
it effectively makes interfaces traits potentially
 
traits would be much better, yes
and in C# 8, interfaces look a bit more like traits
the point that was made in the blog is also interesting, but imho, a secondary feature
you cant always make a new interface just because you missed out on some functionality
take for example LINQ
 
Much to my surprise, the Android HttpClient doesn't work properly in Xamarin forms, but the Managed implementation works fine
I was expecting the other way around
 
9:43 AM
imagine if LINQ was implemented using default methods in the IEnumerable interface, each implementation could override it to have a much better implementation based on the type of your instance
this would make LINQ polymorphic and much more powerful
 
Since starting to build an android app using Kotlin, I miss the simple use of by Lazy{...}. It's a really nice feature in Kotlin.
 
I miss that too :(
private Lazy<MyThing> LazyMyThing = new Lazy<MyThing>(() => InitializeMyThing());
public MyThing MyThing => LazyMyThing.Value;
vs
public MyThing MyThing = Lazy(() => InitializeMyThing())
or in kotlin ( val myThing: MyThing by lazy { initializeMyThing() } )
@Squirrelkiller still, kotlin's lazy is only contextual lazy
because it is a decorator on the property or local variable
not a decorator on the object
 
What do you mean contextual?
 
Hazelnuts
 
I took it for syntac sugar that basically makes
        public string MyStuff
        {
            get
            {
                if (this.myStuff == null) this.myStuff = "Stuffingers";
                return this.myStuff;
            }
        }
        private string myStuff;
 
9:57 AM
@Wietlol Point taken, I do agree
 
build a pool on the boat
 
pool ? boat ?
I'm not that rich
 
technically every sunken boat has a pool in the boat
 
my boat and it has a pool in it !
 
this guy gets it
 
10:01 AM
o/\o @Neil
I guess we had the same idea
 
@Squirrelkiller it means that when you access the property, it will be evaluated
 
@Hans1984 brofist
 
@Squirrelkiller it is basically that, yes, but Lazy should have a bit more logic on concurrent access
 
o--o
 
( _)=mm=(^_^ )
 
10:05 AM
hehe
 
you must> ( ^_^)=mm=(_ )
 
( ^_^)=mm=(_ )
alright
 
( ^_^)=88=(^_^ )
 
)=8
8=(
:D
 
(ಠ_ಠ)m=(^_^ )
 
10:20 AM
@Hans1984 noice
 
got it for a discount
 
01:23 [gregothefirst] _@_/"
01:24 [Petrácska22] get your ugly snail from here
01:24 [gregothefirst] "\_@_
 
@CaptainObvious Both worked fine for me, but I ended up using the Managed client because it supported a newer TLS version than the lowest version of Android I wanted to use.
@Wietlol That's... actually what happens. There's a base implementation for IEnumerable, but overridden implementations for List.
If you implemented your own IEnumerable, you can write your own extension methods, and the resolver would prefer the specific over the abstract.
 
@Hans1984 Ebay Kleinanzeigen "An Bastler"?
 
Hmm. No, not actually that easy. Arrays/lists are special cased, because C# won't do dynamic dispatch over interface variables, I think.
 
10:31 AM
@Squirrelkiller hehe
 
Yeah, that would be a good use for type classes.
Or default interface implementations. But bygones are bygones.
 
@AvnerShahar-Kashtan no, there isnt, there is an overload, not an overridden implementation
either your static type must be IList or the IEnumerable implementation must do an instance of check (it is IList) and then delegate to the list implementation
which are both horrific "versions" of polymorphism
what do you mean with "interface variables" ?
 
debugging... bp hit.... stepover... BAANG!!
 
TIL generics and statics don't like eachother to much.
 
What why not
 
10:41 AM
@Squirrelintraining Nope. My<int> and My<string> are, at runtime, different types, in memory. A static field in one won't be shared with the one in the other.
 
@Hans1984 how i explain my job to my friends
 
:D
 
@Harry I usually go like "you know those apps you're always using on your phones? The games you play? The websites you buy things on? I don't do any of those. I write code you'll never see for industries you don't care about".
 
11:03 AM
@AvnerShahar-Kashtan thats my first attempt, then when they look at me with their eyes glazed over i resort to the beep boop
 
I usually explain in brief what I do, and then explain "You know check24 (big comparison website for everything from internet to gas and insurance)? Well under the hood they use our software for insurance."
 
i told an engineer once that im like a computer version of him
 
"engineer" is pretty vague you know
 
You told a software engineer you are the computer version of him?
 
we were pissed drunk and in the line to get into a nightclub, i wasnt that interested in him
 
11:11 AM
We're totally softwar engineers
 
no, an ACTUAL engineer
 
mechanical engineer?
industial engineer?
 
idk wtf he was
just an engineer that wasnt software
 
social engineer?
 
@Squirrelkiller maybe
 
11:12 AM
cuz industrial engineer will never touch a machine ever
 
tbh lads
 
Flood engineer?
 
id had about half a bottle of vodka
 
Civil Engineer?
Car Engineer?
 
i wasnt really listening to him
 
11:13 AM
Sound Engineer?
Data Center Engineer?
 
fuck this im going to the shop
 
@CaptainSquirrel CENTRE YOU ARE NOT A YANK
 
@Harry ACCORDING TO CHROME CENTER IS WHAT IS SPELT RIGHT OK
AM DOING A TRUST WITH THE COMPUTER
 
BECAUSE CHROME IS AMERICAN
lads
actual technical question
if i just stage and commit changes to my branch locally without synching with the server, will my changes stay local only?
im assuming yes but want to double check
 
11:17 AM
git?
 
yes
 
bare git yes
 
thank you
well is the VS git
 
Git stores a local version history. Until you push to a remote repository, everything happens locally.
 
11:18 AM
the built in stuff
 
@Harry Git is git.
 
thanks :D
 
Git gud scrub
 
right, i forgot
 
11:22 AM
@Hans1984 Or git rekt.
 
@MadaraUchiha true
 
lunchtime
bye
 
bye
 
@AvnerShahar-Kashtan Thats what I ment, I've learnt that the hard way
 
11:29 AM
Context switch whiplash. From scala, let's move over to deciphering python module import errors.
 
won't you try F#? It's much like Scala
 
Why don't you try brick? Much like fire!
 
@AvnerShahar-Kashtan Turns out my implementation was shit
2
 
ember is much like fire...
 
I was using HttpWebRequest which was buggy as all arse, btu I've rewritten it to use HttpClient and it's fine
 
11:32 AM
Ember is still going?
damn
 
deviantart.com/dean-scotty/art/… made a thing last night xD
 
@ntohl I'm using scala because it runs on Spark. F# doesn't.
 
tried copying the image link, but stupid thing won't let me
I blame ms
 
And python because I'm adapting some models our data science team wrote. And relearning all the stupid tricks I've forgotten about python module imports.
 
poor Spark. It should learn new stuff
 
11:34 AM
I've a folder full of python files, and they import each other, which is fine. I've tried to package the whole folder as a wheel package. Now I import the package, but when I try to import one of the modules in it, it fails to find one of the modules in the same package.
 
I remember Project Spark. SOmebody made a game where you could be Ironman :D
 
And it's probably something very simple but very stupid about how you're supposed to bundle up python.
@Squirrelkiller That's Stark. Tony Stark.
 
@AvnerShahar-Kashtan Just make a small script that writes all the files into a single file
 
@Squirrelkiller noyeahno.
 
OK then...transpile the thing to C#
 
11:35 AM
You're... not actually trying to help are you?
 
Absolutely not
I don't know enough about python to actually help, I can just let your focus find new paths.
 
sorry. Back in the days we were not using any kind of bundling when using Python
 
Yeah, the data scientists don't either. :)
 
yeah the good old days
 
2011
 
11:40 AM
back when Party Rock Anthem was the song everyone listened to....sighhhh
 
1 695 655 745 watch
 
Excuse me?!
!!Alexa play Party Rock Anthem please
 
@Squirrelkiller That didn't make much sense. Use the !!/help command to learn more.
 
her name is caprica
 
LMFAO ft. Lauren Bennett, GoonRock - Party Rock Anthem (Official Video) 1 695 655 745 watch
 
aaaaand I got myself listening to it again
 
you remember?
 
ICH HAB STYLE UND DAS GELD
 
Everybody in the house toniiiight -- everybody just have a good time~
 
Oh yeah
 
11:42 AM
!!Caprica turn the disco lights on
 
@Squirrelkiller xD
 
my headset borke. My left ear is deaf
 
oh these old commands
 
:(
 
11:42 AM
!!forget caprica
 
@Hans1984 Command caprica forgotten.
 
new icon xD
 
I created half of her commands i can only remember a few :(
well maybe 30 percent
 
newb
 
11:45 AM
n00b
 
I can pwn you
free stuff pl0x
 
h@x0r
 
that cat looks like it has a raccoon tail
 
yeah it does
this head looks huge
 
maybe it's a kitten?
 
11:56 AM
kittens shouldnt drink coffee
 
that kitten from Garfield drinks coffee, hence he's gonna be tiny forever ;)
the sad thing is I'm not joking
 
02:00 - 12:0012:00 - 22:00

« first day (3267 days earlier)      last day (1691 days later) »