« first day (4069 days earlier)      last day (862 days later) » 

mr5
7:00 AM
My mxmasterrace 3 mouse has just arrived 🎉
||tumbleweed
 
mr5
@kesarlingHe-Him I would actually advise you to have a "util" class/library that deals with input sanitation of this kind. This kind of code would easily hurt maintainability on the long run.
 
7:18 AM
\[**[Kesarling He-Him](https://discord.gg/PNMq3pBSUe)**] What is the use of `IDbContextFactory`?
Also, if we use that, do we still need to add the `DbContext` as service in the `Startup` file?
 
7:59 AM
[Squirrel in Training] GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
 
 
5 hours later…
1:26 PM
why does C# hate me?
what have I ever done to C# to deserve this?
3
 
create your own language, thus making c# feel as if you dumped it?
 
class A : B
void Foo(A a) {
    B b = a; //Cannot convert initializer type 'B' to target type 'A'
}
 
@Wietlol I mean
Nov 26 at 15:37, by Wietlol
@mr5 ironically, "async/await" in C# are also not async
Nov 17 at 14:24, by Wietlol
if your class does not fit on your screen, yell at C# for being bad... or make a smaller class
Nov 17 at 13:19, by Wietlol
the duplication of data classes in C# is simply due to how C# thinks you should put effort in
Nov 16 at 11:32, by Wietlol
the problem is, C# doesnt like any common sense, so they just name it whatever
Nov 16 at 11:19, by Wietlol
luckily for C#, consistency is so high, all of the above use a completely different syntax
Nov 16 at 11:16, by Wietlol
but in that case, a switch expression would be much... oh yea, not allowed because C# is stoopid
Nov 10 at 15:44, by Wietlol
the consistency in C# is hardly a concept at all
Nov 10 at 12:51, by Wietlol
trying to figure out how in the world logic is supposed to work in C#
Nov 10 at 12:50, by Wietlol
ok, C# is actually trash
And that's just like, the last month or something
So that is what you did to deserve it
 
Obviously
 
1:42 PM
on the other hand, this time it might not be C#'s fault
the library owner just moved types to a different namespace
so, A is actually multiple types
 
Damn
Only needs to be a whole different nuget package now to make it perfect
Lib.Core
Lib.Interface
Lib.Models
 
someone apparently didnt pay attention to backwards compatibility
it would probably be fine with being in different packages...
although, then it might break in the runtime
 
2:14 PM
tried out some c++ on codecademy...was a breeze and I've barely touched c++ up to this point
codecademy doesn't seem to like importing the std library
 
2:44 PM
Look at Rust, it feels like somebody was annoyed by having to free the memory all the time so they removed that and boom you got Rust
 
yeah I heard Rust was super popular, and I can see why
but hol up I just heard Zelda OoT was just decompiled and released ongithub
you just need the orignal ROM to verify assets
 
 
2 hours later…
 
3 hours later…
7:00 PM
Hi all
is using Base64 instead of byte array reduce the size of the image when transporting through the network?
 
lol legit I was talking ot a guy about this just last week
the conclusion we came to was that yeah it should reduce the size, but it's so negligible it shouldn't even matter
I didn't notice any difference
 
@mshwf no
base64 would increase the size
as binary is the raw data and base64 is a string representation of that data in a larger format
generally speaking, you would have 33% more data that needs to be transferred
 
6 mins ago, by Freerey
the conclusion we came to was that yeah it should reduce the size, but it's so negligible it shouldn't even matter
right nvm, it was the other way around
we ahd it in b64 at first and then changd it to just a bytearray,w hich made things run barely fast enough to matter
 
I was thinking that to move data through the network, it eventually needs to be in bytes, so base64 would be converted back to byte array, but how networks deal with string rep. is I don't know
@Freerey how do you test?
 
are you trying to do a binarywrite?
@mshwf we just opened the network tab on loadup and compared the load time with b64 vs without b64
 
7:15 PM
@Freerey No, just REST api
 

« first day (4069 days earlier)      last day (862 days later) »