« first day (3831 days earlier)      last day (1340 days later) » 
05:00 - 11:0011:00 - 23:00

11:02
Unless can be a dangerous word, as Ruby recently taught me
@Squirrelkiller unless you use it right
Indeed
Has very nice use cases too, unless you've been trying to form queries in a positive manner for some time because it's usually easer to read
mr5
mr5
Http : Tcp
Ws : Tcp
This correct right?
or composition but still same concept.
composition
encapsulation more
composition often still exposes the other service
iirc, HTTP demands HTTP and wont allow generic TCP usage
11:12
often used in a concrete context seems completely useless for me
either it does or it doesnt
but yes, iirc, WS is over TCP
mr5
mr5
dfuq
composition: I want to use HTTP and TCP
encapsullation: I want to use HTTP which uses TCP
inheritance: I want to use HTTP which is TCP
shit: I want to use HTTP without TCP
mr5
mr5
I told my colleagues they are both abstracted friggin "TLS" ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ
What I mean is TCP ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ
encapsulation is not valid UML
@mr5 lol
11:15
UML is not valid encapsulation either
inheritance is an "is" relation, composition a "has" relation. Encapsulation is not a relationship between two entities.
mr5
mr5
Then TLS would be an interface in this regard right?
Http encapsulate Tcp implements Tls
if you want to be technically correct, it would be "encapsulated composition"
which is still composition
true
11:17
well or aggregation tbh
aggregation would probably be a better fit for an example where proper encapsulation is important
but in general, you speak of composition when you want to expose both services
so:
class HTTP {
    public TCP Tcp { get; }
}
...really?
Cuz I speak of composition when it's a part of the whole but the whole can still exist without the part
if you have encapsulated members, such as:
class HTTP {
    private TCP Tcp { get; }
}
has nothing to do with whether or not anything is exposed
then you just speak of encapsulated implementation details
11:19
I'm not speaking of encapsulation at all
mr5
mr5
@Wietlol C#: "treat abbreviations as word"
In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, operations (or methods), and the relationships among objects. The class diagram is the main building block of object-oriented modeling. It is used for general conceptual modeling of the structure of the application, and for detailed modeling translating the models into programming code. Class diagrams can also be used for data modeling. The classes in a class diagram represent both the main...
@mr5 I have to admit, that is not my best piece of code :D
TCP Tcp
There is zero encapsulation on that page
--consistency++
mr5
mr5
11:20
๐Ÿคฎ
@Wietlol Looks exactly like our codebase though
although, sometimes, you just dont have control of the class name
but you do have control of your own property names
@Squirrelkiller I think on that Class diagram page, it might be the "dependency"
HTTP depends on TCP
but you are not supposed to use the TCP (connection) that the HTTP is trying to use
but it cant work without tcp
Well tbh I'm not good at deciding these
4 mins ago, by mr5
๐Ÿคฎ
what the hell
mr5
mr5
Can't make it emphasize enough
11:46
huehue
just remembered: I might actually be leaving the Bionicle fandom for good soon :D
if you don't know what that is: it's a lego line that got canceled over 11 years ago and attracted a fanbase of religious zealots and transtrenders who got way too close and ruined the magic of the series c:
isnt he just memeing
24/7
mr5
mr5
Yeah for most of his videos but it's more like an entertaining way to tell hidden facts
"Do crazy shit in your 20s while not making any permanent damage in your physical being"
This one is fulfilled but I'm not satisfied yet.
@mr5 sounds like what Iv'e been doing ๐Ÿ˜‚
its mostly "just travel bro"
mr5
mr5
I have been travelling a lot lately in the past months /s
12:18
in and out of the kitchen?
mr5
mr5
ha! wth is kitchen?
most of my food are ordered outside xD
can't cook and I'm proud of it.
I'd rather spend all those wasted time in gaming
56 secs ago, by mr5
can't cook and I'm proud of it.
I will likely regret this someday
I watched a lot of kitchen nightmares and it made me learn to cook
mr5
mr5
most of my relatives are into cooking and I am not sure why I am so disinterested in that thing.
private PdfDoc doc = null!; source: stackoverflow.com/a/60812813/2304737
Is the equivalent of lateinit in Kotlin
12:34
I know how to cook; I'm just not in the house often enough
I kinda know how to cook - learned a few actual recipes, then slowly learned how to work from there by sometimes not having something and using something else instead lol.
But sometimes I still get the feeling I'm cheating by just making the same food all the time
Tbf during lecture times when I also have to work 20h/week, I make many frozen or ready meals
12:50
I feel intimidated by grilling chicken, but I also can't seem to find cooking weights for them...which is how I used to do it
oh, and another reason I don't like cooking in the house: the smoke alarm can go fk itself
That's why we don't have smoke alarms installed in kitchens lol
If the smoke alarm in another room goes off, that's the moment it's a bit too well done, whatever it is
the smoke alarms are just outside the kitchen and they still pick shit up -_-
13:20
@mr5 once more, a flaw of the nullable references that C# cannot solve now that it is an accepted answer on SO
C# is the only language that has a bang operator that doesnt do bang
what are you talking about?
null!
mr5
mr5
13:32
@Wietlol and also the nullable unwrapping seems kinda strange in C#
13:58
Medi Madelen Gwosdz on April 12, 2021
Badges have been around since the beginning of Stack Overflow. They are our way of recognizing our contributors for engaging with the community in meaningful ways. They are a little bit of motivational fun that helped us create the largest place for programming knowledge with over 20M+ questions. But what badges do we have, andโ€ฆ
 
4 hours later…
18:06
I'm trying to build a library of error messages to return from an API. There are functions built into ControllerBase (BadRequest, NotFound) that the error messages need to be run through, and I'm trying to create a system where the error handler will know which ControllerBase function each error needs to be passed through.
I created an extension method for ControllerBase so each controller will have access to it.
The return objects all inherit from ObjectResult.
 
1 hour later…
mr5
mr5
19:26
holy fuck. This can't be real. Philippines is not that big lol
Once you stop seeing humans, land masses are fucking huge
mr5
mr5
can't wrap my head how to scale that first image.
Notice the completely different perspective
mr5
mr5
maybe it's because the first image curve cropping is fake?
@mr5 what the fuck is this the earth is supposed to be flat
also yea malay is huge philipines are tiny
mr5
mr5
19:34
ikr
another photoshop
fish eye lens or photoshop
 
3 hours later…
22:37
05:00 - 11:0011:00 - 23:00

« first day (3831 days earlier)      last day (1340 days later) »