« first day (3705 days earlier)      last day (1251 days later) » 
01:00 - 13:0013:00 - 00:00

1:31 PM
@Squirrelintraining I think your Result type is quite rare... did you copy it from somewhere or invented it yourself?
I usually see either
- an optional (present with a value or not present); or
- a result (present with a value or not present with an exception)
sometimes built on top of an Either<L, R>
 
!~shiba
 
yours appears to be a Result but not limiting the error value to an exception
 
DOGGO!
 
nooooooo
 
1:34 PM
own invention.
It's baisically the same like an IActionResult for the web --> Ok() BadRequest() etc.
Only API internal
 
I see
I almost never invent anything myself
I just copy what others have made and became successful
 
I made two version of Naomi last night and I can't tell which looks better
 
[Squirrel in Training] the naked one
 
both? both. both! both is good
 
man there was no naked one
 
1:40 PM
 
well you can only see them on disc so whatever
 
My Result actually looks quite similar, just that my static factories are Result.Negative and Result.Positive, both having a generic and a non-generic version because sometimes you want the guy you found and sometimes you just want to know if it worked.
@Freerey Then none of the above.
 
hmm... I am actually missing that in my IOptional and IResult
the non-generic versions
 
I guess botler spazzes out when you put more than one image at a time
 
although... there is always IOptional<Object> which all optionals are
so I guess I dont need them...
 
1:42 PM
I just made a second class in the same file lol, was too lazy to use inheritance or any fancy stuff.
 
wait... class Result<T> : Result ... right?
 
The point of the non-generic version is that it can't hold a payload, just a bool and an optional message.
@Wietlol Good idea, I might implement it like this.
 
that is how... everyone basically does it
because of silly generics
when will C# finally have MyClass<*> ?
 
As I built the generic version first, when I wanted the non-generic version I had to copypaste the whole thing anyway so I was too lazy to link them.
What's <*> supposed to do?
 
wildcard
<?> in java...
it means any generic type will do
like...
IEnumerable<*> x = GetAnything();
when you invoke Current, you get an object
because everything is still an object
IList<*> will mean you can read objects from it, but cant add anything to it as that would break type safety
then ofcourse we also need IList<in T> and IList<out T>
but C# cant really have that kind of power
due to CIL
 
1:47 PM
I love that the discord announcement is still starred
 
it has 9 stars, it will stay for a while
especially considering the amount of newly starred messages lately...
speaking of which
I am an idiot
waits patiently
 
your echo: "You're an idiot"
 
Jack, wietlol
 
6 hours later...
 
Jack's not even online
 
1:55 PM
lol, that took you only 6 hours to realize :D
 
"can you shut the fck up please?"
 
nope
:p
 
btw mr5 was in one of my server's voice chats the other day
said nothing, wanted to hear my voice, and then left the server
 
[Squirrel in Training] why u destrroy m y hopes?
[Squirrel in Training] wly why not chat in discord?
 
be careful this yaer guys
Christmas this year is on a Friday the 13th for the first time since 1953
 
1:58 PM
[Squirrel in Training] killerino still no giff respecc
 
any sk8er bois here?
 
he attacc, he protecc, but most importantly, he does not giff respecc
 
mr5
@Freerey 🤣😂
Was weird. People from internet actually have voices.
 
cyberpunk comes out this week....I'm not ready
 
on unrelated news, Cyberpunk gets delayed this week
 
2:14 PM
we've all seen the rickroll picture
 
mr5
I wonder how outrageous people can get if they announced that there was really no development happening xD
 
I can't wait to rp as my characters in the game as each of the three classes
Augusta's def gonna be the fighter, Naomi the netrunner, and Robert will be the engineer....or whatever they called those classes
 
Cyberpunk devs just wanted a reason to chill with Keanu Reeves
 
mr5
@Wietlol oh fuck. this one got me lol
 
what if my story got a movie and Keanu Reeves played Naomi's dad? 😳
 
2:32 PM
@Freerey but I am !
cant wait
although I dont like washed up movie stars beeing used for games
 
@Freerey ah dang i hoped it would drop cuz of the wronq link
 
only recently I've been feeling nervous that it might not be any good
 
rather spent this money on the game design
 
It's been there for a month :o
 
>Keanu Reeves
>"washed up"
bruh
 
2:33 PM
of course
his high was back with matrix
 
he's probably as relevant now as he was during his matrix days
 
thats 15 years ago
oO
well if you say so
i dont watch a lot US movies these days to be honest
 
[Squirrel in Training] yall washed up
 
I think it's mostly the John Wick series that skyrocketed him back into popularity
 
[Squirrel in Training] NOW STFU AND LET ME WORK
 
2:34 PM
shut up rodent
take your pills...uh I mean nuts
Is your pc ready though ? @Freerey
 
[Squirrel in Training] mhh nuts 😋
[Squirrel in Training] i actually got salted peanuts here
 
ahh
and i dont
:(
but it got some LEBKUCHEN
yum yum
 
@Hans1984 I'm sure it'll be fine, though I'm not sure about ray-tracing
 
2:36 PM
@Freerey ok
 
it was able to run cod:MW and Jedi: Fallen Order last year just fine, though
 
mr5
Imagine, you've been assigned a task to do a social media login integration (fb/google/apple) with an initial estimate of 1hour.
 
lol 1hour
just enough to start up the pc and check emails
at best
 
what are you talkin about?
 
2:50 PM
well if you pay me per task I'll work fast
pay me per hour I'll work as slow as possible
!~shiba
 
Im thinking about buying a bird
as a pet
 
mr5
Assume that everything is already at place and your next move is to type the code, are you able to accomplish those? Setting up the fb developer account would take me ~30minutes to do and the same for other social media. No code involve!
 
I never had a bird
only had a vogel
but only SiT will understand that one
 
[Squirrel in Training] and killerino
[Squirrel in Training] and that other german dude
 
2:58 PM
true
 
[mr5] Whole body of me reveal.
 
forgot about those because they barely talk
instead they work
can you imagine that !
 
mr5
who didn't talk?
 
not you
 
3:02 PM
:p
 
3:15 PM
Who doesn't talk?
 
3:46 PM
@Squirrelkiller there are so many more Java jobs in Germany than C#
 
Indeed, guess you gotta choose between the easy to find job and the better language.
 
roachy roachy
sup
 
fuck java
24
 
mr5
@BlackPanther convince them to switch to C#
 
fuck roaches
 
3:55 PM
[Squirrel in Training] All they good for is our lunch!
 
@Squirrelkiller I would say there are even more C++ jobs in Germany than C#, which is crazy to think about when C++ is used mainly in embedded.
 
[Squirrel in Training] and in automation like factories
[Squirrel in Training] like hauni in bergedorf
 
@Squirrelkiller I'm guessing you've used both? What makes you say that C# is better than Java, just curious. For me, LINQ is beautiful, properties are great, Entity Framework is fantastic. Those are my reasons for liking C# more.
@mr5 that's the quickest way to fail an interview :D
@Squirrelintraining maybe Germany has a bigger industry than ___, and that's why languages like C++ are so popular there.
 
@Botler Hauni is looking for WPF devs with more experience than me when I tried to apply lol
@BlackPanther The base library and framework in general: Windows brings it out of the box, has a great many APIs for everything and its grandmother, usually works on most Windows PCs, and has a great IDE.
And now also cross platform of course
Being able to package its own framework is awesome. No more installing java everywhere.
After working here for 2 years, just last week I had to install java for a project in my bachelors course lol, but before that never touched it on this machine.
 
4:29 PM
Those are good reasons. At the moment I develop mostly on Linux so I guess I can't experience that great IDE or some of those frameworks since they are Windows only.
Is ASP.NET better than Java's equivalent though, which I think is Spring or Spring boot?
 
Wait I thought spring is the desktop frontend lib or something?
It's been a long time...
 
@Squirrelkiller I haven't installed Java in a while but I think all you had to do was JAVAHOME and add Java to your path. Is that what you had to do when you installed Java?
@Squirrelkiller I think Spring is for building web apps. Where as JavaFX and Swing are for building Java desktop GUI apps
 
Actually just had to install java, that was it. Then had to realise the jar file I got from the prof was the wrong one: He has two, 1) normal jar file 2) java 8 jar file, and I didn't notice java 8 was actually the new one and tried running the old one
Ah right Swing
 
99% of jobs I've found in Germany that require only English are in Berlin. Does the rest of Germany not use English?
@Squirrelkiller The Java Archive file is something I've never quite understood. Is that how you package a Java program?
 
@BlackPanther It is indeed. Execution goes java -jar MyApplication.jar for some reason. There's also something similar but different, I just don't remember. But there is also a way to package this into an executable.
 
4:45 PM
@Squirrelkiller Thanks. So the JAR file isn't an executable. What's the point of packing a Java program as a JAR file, is it to use it as a shared library?
 
@BlackPanther maybe
 
@BlackPanther Yes, but I think it's the same for .NET applications: They're stored as a .dll file and run as dotnet run MyApplication.dll but can be packaged as an executable too.
Not sure why, as developers, we are told to send and open java files as jars and .NET test programs are directly provided as exe though. Maybe something about MS just making it an exe file when it's not explicitly a library project?
 
mr5
.jar is both a dll and exe in .NET world
 
You can't execute a .jar file with a double click tho
 
mr5
yeah because it needs a JVM
 
4:55 PM
Therefore not an .exe
 
mr5
what I mean is it can be both executable and library
 
Hey it's obviously "an exe file", but is it "an .exe file" or "a .exe file"? Do you pronounce the dot?
 
an exey
people that pronounce the dots are like people that dont use dark mode on their IDEs
sociopaths
 
@mr5 Ah I see what you mean. Yeah you're right, just goes beside the point that you can execute an exe file while you can't execute a jar file^^
 
mr5
how do you pronounce .gitignore?
 
4:57 PM
Usually "gitignore" but this might aswell mean the concept
 
mr5
I always pronounce it with the (dot) while on other file types, I don't xD
 
dotfiles have the dot in the beginning not because the whole name is a file extension but to show they're config files
 
mr5
or hidden files
 
Haha specifically this? It's a long name already, the dot would be too long for me. A whole extra syllable!
 
mr5
yeah. just got used to it idk
 
5:00 PM
[Squirrel in Training] @BlackPanther, why not comeinto the discord?
[Squirrel in Training] Also EF isn't great if you really want to use it heavely, it's great for quickstarts but horrible for high-performance-crud
[Squirrel in Training] Also Properties are so much nicer than the methods in java
 
5:19 PM
[Captain Obvious] EF is fast
[Captain Obvious] As long as it's not ef core ❤️
[Squirrel in Training] no ef isn't fast.
[Squirrel in Training] Ef is super sloiw.
[Squirrel in Training] Its quick to set up but very heavy during usage if you don't pay attention.
[mr5] Maybe for very complicated queries?
[Squirrel in Training] not only for that, also for readonly
[Captain Obvious] Nah is fast
ok try this:
var entityNamesById = context.Entities.ToDictionary(e => e.Id, e => e.Name);
var name = entityNamesById[wantedNameId];
vs.
var entityNamesById = context.Entities.AsNoTracking.ToDictionary(e => e.Id, e => e.Name); // result ~half the time it takes
var name = entityNamesById[wantedNameId];
vs.
var entityNamesById = context.Entities.Select(a => new { a.Name, a.Id }).ToDictionary(e => e.Id, e => e.Name); // result ~instant
var name = entityNamesById[wantedNameId];
[Squirrel in Training] calll me back when u tried this ^
[Squirrel in Training] Then tell me again it's fast
[Squirrel in Training] You have to work so that it goes fast
[mr5] Well, tbf that last one have filter
[Captain Obvious] It's still fast when I use it
 
5:47 PM
Ryan Donovan on December 07, 2020
Defining and measuring programmer productivity is one of the most difficult parts of an engineering manager or CTO’s job description. When everything you do is intangible, how should you measure it? Can it be measured at all?
 
 
2 hours later…
7:46 PM
Hello :) Can some one tell me if we can start using .NET MAUI now for simple app that will run on both windows and mac os?
 
[Squirrel in Training] fast pc doesn't make optimized caude
[Squirrel in Training] the point is, all of them should have a filter implicitly, because of we only need 2 props
[Squirrel in Training] sorry fred dont know .net MAUI
[Squirrel in Training] only know .net core
[Squirrel in Training] and that should
 
8:03 PM
ok thank you :)
 
 
3 hours later…
10:46 PM
[Hozuki Ferrari] Theoretically... yes, fred. But MAUI is at least a year away.
[Hozuki Ferrari] November 2021 IIRC.
[Hozuki Ferrari] I'd recommend Blazor, actually. Make a UI with web tech because why the hell not.
 
11:05 PM
 
[Captain Obvious] Friendly reminder that it's just Xamarin forms with a new namr
[Captain Obvious] Also no stop making UIs for desktop with web tech
 
01:00 - 13:0013:00 - 00:00

« first day (3705 days earlier)      last day (1251 days later) »