« first day (3404 days earlier)      last day (1530 days later) » 

9:06 AM
@HéctorÁlvarez lol dont you change your avatar back?
 
my avatar is back
(I am Wietlol)
 
Your avatars and names are getting more and more confusing.
 
...
 
I changed my name and avatar to hector's for the joke
 
... I already don't know which squirrel is which.
 
9:07 AM
I changed my avatar back, but name has to wait until march
or a mod has to jump in
...
@Rob ohai :D
 
Congrats, you joked yourself.
 
in fact, I actually knew what would happen...
 
haha naughty
 
I just forgot
someone did the same thing to me once, and then I learned that you cant change your name so often
I remembered he changed to me, but not that he had issues going back
 
This would be confusing if I didn't already find it impossible to distinguish y'all from one another.
 
9:09 AM
(that one was also a joke)
 
For the google it's all just noise and big data on the internet
 
You're all just data points, I tell you. Anonymous data blobs.
 
@AvnerShahar-Kashtan I can change my avatar back to a certain yellow diamond
 
node_modules is big data
 
Fuck node modules, rm -rf'ing my node modules at work needs like 15 minutes alone
Whereas the .NET packages needs like 5 seconds
 
9:13 AM
maybe it's not really deleting it?
 
"compiled" my ass
 
just moving it to bin?
 
nope, I always shift+del this shit
 
letting a background task deal with it later
 
the only problem I have with Maven is that it places the packages in the user folder
%user%/.m2/repository
 
9:13 AM
Hopefully not in roaming
ah I see
 
(same with nuget tho)
 
@Neil Nah, it's just that the average nuget package is 10-12 files, while a node module can be dozens of small files.
 
@HéctorÁlvarez because that's where windows lets you write to safely
 
it should go in AppData imo
 
blame Microsoft for that one
 
9:14 AM
Also, NPM encourages dependency chaining, so it's not unheard of to have several hundred node modules pulled in to your project.
 
but Maven could put it in AppData
 
because this would be better?
 
Sup lads
 
Gradle
 
gradle never seems to work properly in my experience
there's always something..
 
9:16 AM
Wait wiet has changed his name ahhhh
 
gradle never goes wrong for me...
 
same could be said for maven too honestly
 
maven never fails for me tho...
except when it does
 
that's usually when it does fail.. when it does
 
it only fails when I try to deploy weirdly tho
other than that, I dont think I have any issues with it
perhaps the 1.5 java version it takes by default
but Kotlin avoids that
 
9:18 AM
Maybe if java wasn't so shit and didn't compain if you deployed "weirdly"
 
@CaptainObvious Hey, I resent that.. java totally doesn't complain about deploying weirdly
 
mr5
lol
hector the 3rd
we have 3 hectors in the room now
 
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
What a weekend guys
 
mr5
@DKDhilip every time damn time. Gradle is the worst build system that have ever existed.
o/
 
@Squirrelkiller the guck where u doing here on a saturday?
 
9:27 AM
@Squirrelintraining Telling you you're late would be an understatement
 
@Squirrelkiller I've only had time to say hello just now, m'kay?
 
I asked you the same thing on saturday, and some dude jsut deleted my message!
Girlfriend was sick, so I had time to work on our project :D
Blazor wasm now can haz websockets
 
I know, I had it in my notifications but couldn't read in chat.
That would explain allot.
 
Jack, allot
Of course
 
9:29 AM
Poorman's server room
user image
2
 
@DKDhilip I love the cooling.
 
lol
 
Don't let the alot die, it's an internet treasure.
@DKDhilip And all this can be topped by a single Raspberry Pi by now
 
Hey that's like my server room
Except I only have 1 server at home
 
9:30 AM
I still don't understand why you have servers at home.
 
Pihole?
 
@Squirrelkiller RPi can't do shit lol
 
RPi can do shit lol.
 
RPi can do a lot yo.
 
It's my filter for everything exceüt pornhub.
 
9:31 AM
For some reason both of those sentences mean the same
RPi can't do shit.
RPi can do shit.

Same thing.
 
mr5
@DKDhilip awesome cooling system =P
 
@RoelvanUden My R&D machine
 
Bröthërs
I have the sicknëss
Help
 
@CaptainSquirrel go die already ♥
 
As long as you don't infect Jack, I'm ok with that.
Speaking of him, WHERE THE HELL IS JACK
 
mr5
9:32 AM
@CaptainSquirrel RIP corona user
 
@Squirrelintraining I'm currently dying
Jack, are you alive?
 
I'm dying too. Just needs a few more decades.
 
@CaptainSquirrel Can you do it any faster?
 
@Squirrelintraining I wish I could
I have called in sick today however
Vomiting will do that
 
mr5
9:33 AM
a lot of kangaroos
 
Looks like bat
 
@CaptainSquirrel Fun fact, [CAUTION GERMAN INCOMING] Ich bin angekotzt von meiner kleinen!!!!11!1!
 
Jack, are you alive now?
 
My little one puked on me last saturday.
 
....Come Again?
 
9:34 AM
Yay
He lives, but also not
 
Jack, xkcd 323
 
I don't understand mate
 
Ok afk again.
 
@Squirrelintraining you are ensared by a little?
Wat
 
9:35 AM
@Squirrelintraining Like, literally?
Jack, learn xkcd <>https://xkcd.com/$0
 
I've learned the command xkcd
 
Jack, xkcd 221
 
Is that even English?
 
I...think it is?
I'd like to report a bug
 
Jack, xkcd
 
9:37 AM
https://.com/$0
2
 
......what t
.Replace() ? facepalm
 
This is not a bug
 
hello
 
Yeah he's a bit poorly at the moment
I will fix soon™
 
9:40 AM
jack, mhmm
 
I don't understand mate
 
!!mhmm
 
"It's a feature!" ™
 
mr5
kek
 
9:45 AM
ㅋㅋㅋ
 
Korean lol
 
you see that spammed in twitch chat all the time
 
mr5
ツツツ
 
Interesting.. if you look at the google trend for searches containing kek, it seems to peak every december or so
 
mr5
I learned kek because of these squirrels
 
9:56 AM
!~youtube ekekek compilation
 
@mr5 Only because of @Squirrelintraining
Not even the dude I know who now plays WoW Classic uses kek anymore
 
how does WoW classic work? is there a separation of servers or do they all play on the same servers?
 
mr5
@Squirrelkiller I think I learn it from Kieran
Keiran?
Can we predict the post-encryption size of AES-128?
 
sounds like an interesting problem
 
10:07 AM
> Players of separate factions are unable to communicate with one-another, as their typed text is run through an in-game translator. For players of the Horde faction, typing the letters "LOL" results in members of the Alliance faction reading "KEK".
that is quite interesting
 
mr5
6
A: Can we calculate AES-CBC-PKCS7 ciphertext length based on the length of the plaintext?

krishna TelgavePKCS7 uses mandatory padding. Even if the length of your data is a multiple of your block size, it will pad. output_size = input_size + (block_size - (input_size % block_size))

This seems to be the equation
where can I find the host file in MacOS?
 
/etc/host?
 
V.7
/etc/null
 
/dev/null
 
o/
 
V.7
10:14 AM
/o
@DKDhilip Saw somewhere an existence of /etc/null too though
 
mr5
does not exist
 
anybody worked on PAIN ISO 20022 msg format ?
 
V.7
It should be a pain to work with it no?
 
@V.7 Never seen something like that before
 
@V.7 Yes
 
10:16 AM
/etc/hosts
 
mr5
@DKDhilip /etc/hosts
oh
u olredi said it. mi bad
 
thanks . I gone thru that site , But i need some guide lines - how to parse PAIN version XML and validate against specific XSD
 
Financial services EDI. Oh fun
 
stackoverflow.com/questions/38576438/… above link also explains but when i convert XSD to c# classes it does not takes validations rules
 
mr5
10:22 AM
@BhushanMuttha that looks like an outdated standard for payment serialization
If I were you, I would structure first the models then proceed into parsing the XML without schema.
 
@mr5 Yes but need to support old methodlogy
 
mr5
Constraints can wait
 
ISO XSD have some standards that need to follow
xsd C:\Users\bhushan.muttha\Downloads\pain.002.001.10\pain.002.001.10.xsd /classes /namespace:Test.Response2_0 /out:C:\Users\bhushan.muttha\Downloads\pain.002.001.10
i used above command for conversion
 
mr5
oh
is that a command for validation?
 
no its for conversion
 
10:25 AM
@mr5 you had it right the first time 🙂
 
@mr5 Outdated? It's so new major markets/entities (like the Federal Reserve in the US) haven't even implemented it yet
 
mr5
Ahm, but Stripe uses JSON format though?
 
10:47 AM
It must be fun to be called "Hayter" in an english speaking country
So I need some EFCore help here. With entities.tokens.FindAsync(), I put in the PK and get the entity with that key? How can this call crash when awaited?
I just get a "Task was canceled" after no time, with no helpful stacktrace except "somewhere deep inside".
 
mr5
if the FindAsync returns null instead of Task maybe?
 
Should probably throw an NRE then, but I'll try and pull it apart
(Also the entity I'm searching is indeed there, I jsut double checked)
 
mr5
try to store the FindAsync before awaiting to it. Maybe you'll get more info
 
@mr5 That will probably just be a Task, though. Not very useful.
 
@Squirrelkiller what is the exception? (plus stacktrace)
 
10:56 AM
It returns a ValueTask. I'm scared ebcause I don't know how to handle that.
 
AVNER HAS RETURNED
!!!!!
 
oh yes, AVNER!!!
@Squirrelkiller that should just be a task with a value type instead of a reference type
 
where is the exception?
 
On the mentioned line 64, I await the task
System.Threading.Tasks.TaskCanceledException: 'A task was canceled.'
 
11:00 AM
Shouldn't have cancelled it
 
Ah of course
 
That's a lot of async tasks piled inside each other
 
Like an async task centipede
Well it was task 46
 
@nyconing mi black cat does that aswell
 
11:01 AM
ABsolutely. Controller->Service->DAL->EF-Entities
 
@Squirrelkiller Yes
 
I'm really not sure how to find out what this exception wants from me
@Squirrelintraining ew
Tell her not to
 
can you reproduce?
 
I cannot NOT reproduce
IMO this a normal call to EFCore entities
 
can you reproduce in minimal?
 
11:03 AM
@HéctorÁlvarez O HAI
I'm really not sure right now if you're Hector or Wietlol.
 
@AvnerShahar-Kashtan just both
we merged
 
@Squirrelkiller just await it. It's just like a task, except without allocating an object on the heap.
 
ok let me circumvent all the abstracting and do it directly, jsut a moment..
@AvnerShahar-Kashtan That's what I do, and this happened. The nI tried with .AsTask() and it still happened.
 
11:05 AM
I assume connection closed or something
perhaps dbcontext got disposed
or interwebz is rip
or whatever
 
@Squirrelkiller Tried, didn't help.
 
@HéctorÁlvarez Yeah, that might be it. You started the task, then disposed the DbContext or something before it finished.
 
Direct call same problem:
trying sync...
 
where is entities?
 
11:09 AM
it's the dbcontext
inject with DI
Using .AddDbContextPool
oh FFS
 
well... there it is
 
In sync the whole thing works
 
ye, then your DI scope is wrong
I rarely use scoped objects
 
Pretty sure dbcontext is always transient
 
just singletons or transient most of the time
 
11:12 AM
 
@Squirrelkiller that should be really bad afaik
 
dbcontext as singleton will fuck up your application
AFAIK you should always use a new one
 
we use DbContext singleton
but we solved all of our problems in a different way
so for you... that might indeed not be a nice case
still, transient services are still scoped
when they fall out of scope (as determined by DI) they will be disposed
 
for dbcontext, guidelines say to let DI handle the disposing and stuff though
 
AddDbContext is transient
 
11:15 AM
SO i don't do any of that
 
0 messages/s
0 messages/s
175103 messages/s
506401 messages/s
504453 messages/s
514122 messages/s
411457 messages/s
517496 messages/s
896404 messages/s
1080509 messages/s
1128067 messages/s
1066184 messages/s
1054396 messages/s
1056371 messages/s
1105994 messages/s
Finally...
 
your DI doesnt respect async scopes
 
That's a lot of messages
 
I see this in a lot of execute-around patterns in C# nowadays
 
Small UDP messages
 
11:18 AM
public static Out Wrap<In, Out>(Function<In, Out> body, In input)
{
	using (var dbContext = pool.GetFreeContext())
	{
		return body(input);
	}
}
this would be similar to how I expect things to be behind the scenes
in "sync", your code executes, saves the changes, then comes back in this wrap function to dispose the context
in "async", your code returns as soon as it awaits, then this wrap function disposes the context, after which the processor is freed and can continue with your callback after the await
 
Oh shit. Yes, that was basically it.
Wow.
 
I would assume that the MS DI would respect async code tho
except perhaps if your function is async void
 
It does, except...
When you use async void and tell the runtime "this is 100% fire-and-forget" so DI goes "ah that scope is now dead, lets dispose the shit inside".
 
11:22 AM
I guess I will jsut never use async void
Way easier to not fuck up stuff like that
 
that might be best
also, I would not consider such a task a "fire-and-forget"
you still want error handling there for example
I actually think we dont use any fire-and-forget actions in our entire codebase
 
at least... not in Task based way
 
I like logout actions as fire-and-forget
At least to the user
If internally something breaks, I can still fix it later
But the client should assume to be logged out and needs to login again to function
As long as the login works, I can still cleanup the db after some time
 
but if logout fails, the user is already logged on
 
11:25 AM
If logout fails, he's already logged out
So to the user it's all the same
 
Either the token is found, then it gets logged out
 
if logout fails, the user is still logged on
 
Or it isn't found, then he's already logged out
 
or interwebz is rip
(#1 reason of all your code are belong to errors)
 
11:26 AM
Or it fails spectacularly yes, then the client may assume it's logged out so it can continue being a fresh instance to newly login, and I cna handle the error on my end
 
or it fails because of async void
 
Well that would be a simply reproducable error, and that is what testing is for, right?
 
oh sure
so, I assume you wrote a unit test to avoid making this error in the future
 
Absolutely not
 
and a comment (perhaps in the summary) that your function should not be async void (to be fire-and-forget) because of scoping issues with DI
 
11:29 AM
More like, that's gonna be one of my principles for developing form now on.
 
but do you still know the reason in 1 year?
 
Just like "If something stops working on a line with .Result, just make that part async/await"
 
I hate JS... but I dont know why any more
and I am too afraid to find out
and too happy not knowing why
 
Because without types, you can't find out where a fucking value got changed
 
nah, its worse than that
I think
oh shit... I remember why
in JS, you have to do 5 things to achieve one
because of "browsers"
 
11:35 AM
You just lost The Game.
 
and you have 20 node libraries that solve that
and every useful library uses a different one of those solutions
so, you better have all of them
 
iDunno just paste a polyfill in there
 
and then there is npm
and then there is dYnAmIc
where every library has its own api
and they are always trash
except when they dont... then it is just JS that is trash
 
JS is that trash anyway
 
there are too many ways how to handle dates
there are too many ways to do event listening
(and all are trash)
there are too many ways how to make a class
and... all are trash
oh, and then there is this.
 
11:39 AM
A...class?
 
I am still sad C# also forces this. in some cases
 
Oh but Kotlin mastered the this
 
it actually did
wait... it didnt
 
this@A
this@B
this
 
kotlin mastered the this, but not (this@A, this@B)
which is like 3 levels higher than what any code base should look like... but still
this@ is only necessary on ambiguity in nested "this"-scoped contexts
 
11:54 AM
and what, praytell, would be this@A and this@B?
 
Like if you start a Task and call this inside, this might be the object that started the task or the task/func (well, the Kotlin equivalent) itself.
 
fuck kotlin
thank you for listening to my TED talk
 
I'd rather not. Wiet might though.
 
wiet <3 kotlin
 
Oh wait that's where Wietlang comes from
 
11:57 AM
long live java!
indeed
 
wiet <3 pain
 
seems rather confusing usage of this
 
Jack, votekick Hans
 
....Come Again?
 
YOUR BOT IS SHIT KIERAN
 
11:57 AM
No, that's the point
 
I liked how groovy did it. You could attach context to script that wouldn't make sense otherwise
 
Goddamit Kieran
Jack, sandbox
 
|| hmm
 
\o/ freedom
 

« first day (3404 days earlier)      last day (1530 days later) »