« first day (4323 days earlier)      last day (618 days later) » 

7:00 AM
[Squirrel in Training] GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
 
Good morning
 
[Squirrel in Training] I've got the zusage, next step is immatrikulation 😄
 
Nice, congratulations!
Did we actually have the electrical engineering thing during apprenticeship? I don't remember if it was just...made optional or something. That might be smart to check to be ready xD
 
7:21 AM
[Squirrel in Training] I don't think we did xD
[Squirrel in Training] Welp I have to hand in all my documents and then they might sitll say "nooo" but I guess they wont
 
Like, ALL your documents?
That's a ton of documents for someone older than 18
 
7:40 AM
[Squirrel in Training] Iz crazy right?
 
 
2 hours later…
9:15 AM
@Botler herzlichen gluckwunsch
 
9:39 AM
[Squirrel in Training] Sänks nyancat
 
 
3 hours later…
mr5
1:03 PM
 
sketchRequest class handles all sketch file processes. now, the project can also process FigmaRequest. both sketch and figma have some common properties but some different properties and actions. should I go with IDesignRequest or an abstract class DesignRequest ?
 
mr5
but why is the naming convention different?
try "ligma"
 
@mr5 just typo. SO keeps changing figma to sigma lol
 
mr5
use abstract class if they have common behavior/functions
 
they do. but some of my public properties on DesignRequest would need to hidden on Figma/Sketch. I really forgot all the basics
 
mr5
1:15 PM
there is a new feature from C# where you can implement "default" interface though so it's a bit like an abstract class but with gotchas
 
gotchas ? you mean get set
 
mr5
well you can hide it publicly by using abstract class, whereas in interface, you cannot
@Sakthivel no, I mean as a not-so-obvious behavior
 
@mr5 true. could you point me to a article of this feature ?
almost 12 Years in this room and still a noob.
 
mr5
wiet made some recent comments about it:
yesterday, by Wietlol
interface IAmInterface
{
    void Foo()
    {
        Console.WriteLine("Foo");
    }
}

class MyClass : IAmInterface
{}

public static void Main()
{
    var x = new MyClass();
    x.Foo();
    // ERROR: Cannot resolve symbol 'Foo'
    // ERROR: 'MyClass' does not contain a definition for 'Foo' and no accessible extension method 'Foo' accepting a first argument of type 'MyClass' could be found (are you missing a using directive or an assembly reference?)
}
you would need to cast it back to its interface before you can access this "default" implementation
 
but as wiet pointed out, it is already a bad practice to have to upcast to access the implementation though
 
1:37 PM
along with the abstract class i also found this interesting. might as well try. stackoverflow.com/questions/12325637/…
 
what does a request class represent?
is it just data to represent a request to create a sketch or figma design?
 
just to represent data
 
then I would just use an interface to define standard properties, not shared properties, but standard properties
such as a name perhaps
or the author
or when it was created
stuff that is mandatory for a design to have
 
which could be serialized for api requests. which design request has its own implementations such as validations, verifications etc., Figma and Sketch requests share some public properties at app level but they have their own private properties and implementations as well
 
but not stuff that just happens to be present in both implementation
perhaps a type property to specify which type it is (which we usually do with json subtypes)
let each implementation handle their own set of properties regardless of intersection
because both implementations have different sources that define why those properties exist
I would try to avoid adding methods or "actions" to these classes
 
1:53 PM
ah cool. so ill keep the common ones in the interface and the rest in the derived
 
service input models should preferably be immutable anemic domain models
 
@Wietlol in english, just classes.
 
at least according to my guidelines
@Sakthivel classes, without ability to change their state, without any logic in it
data or record classes if you will
 
Records then
 
I am just trying to over engineer this i guess.
 
1:56 PM
but it might be interesting to know one of the more domain specific jargon
for these anemic domain models, you often dont need a parent interface, but when you do, always try to distinguish between the reasons why each property exists and base the interfaces on that
 
now i am starting to think about the serialising\deserialising the derived types wondering if there will be issues.
 
not necessarily
as long as you pick an approach of serializing the type with it
when using json, we just use github.com/manuc66/JsonSubTypes
 
yes ofcourse
interesting. thanks for your time, ill see what i can do
 
 
1 hour later…
3:04 PM
posted on August 17, 2022 by Carolina Uribe-Gosselin

Securing your Visual Studio Live Share session has never been easier. Whether you’re looking to restrict access to only individuals in your organization or to disable read-write terminals, your organization can now configure policies for proper control and compliance. Today, we invite organizations to explore everything Live Share has to offer, The post Live Share: Enterprise Policies are her

 
 
1 hour later…
4:14 PM
[Hector] <@739935030910124042> @squirrelkiller do you guys still play Dota?
[Hector] I may or may not have downloaded it again. If you still play and want to join a nooblet let me know
 
SqiT does, I don't. Too many other games I wanna play couples with not enough time to play them all.
 
[Hector] me too but I'm reviving old times
[Hector] bro <@739935030910124042> how long have you been in training, it's been 8 years, graduating soon?
 
5:01 PM
hey yo guys. Hope you are doing well.

I have an assignment to try an come up with an entry test/assessment for potential developers that will be hired.

I'm just doing some research to try and find a really good assessment. It must be able to test the potential employee skills in the .NET Framework using C# and the use of OOP as well as testing their ability to problem solve.

Any ideas are welcome :)
 
 
4 hours later…
9:19 PM
 

« first day (4323 days earlier)      last day (618 days later) »