« first day (3381 days earlier)      last day (1550 days later) » 

mr5
1:22 AM
oh boi
I'm supposed to pack up things but decided to slack for 5 hours...and continuing
 
 
1 hour later…
3:26 AM
Yesterday was Thursday. Today, it is Friday.
 
mr5
3:53 AM
 
 
4 hours later…
7:43 AM
posted on January 15, 2020 by Scott Hanselman

Hey! Did you know I have a podcast? A few actually but Hanselminutes has been doing for over 700 episodes over 13 years and it's pretty good if I may say so myself. It's a 30 min show meant for your commute. It offers fresh faces and a fresh perspective on lots of topics. While it's often tech and programming-focused, I do often have guests on to talk about less techie things like relationship

 
Sadly, .NET Core doesn't support LambdaExpression.CompileToMethod
 
8:00 AM
yo yo yo
 
 
6 hours later…
2:22 PM
I am using X.PagedList nuget package. It is giving pageCount = 1 when I use ToPagedList method. Does the library not fetch the count?
 
 
4 hours later…
6:14 PM
@YousufHossain it looks like the library is doing what it's meant to do
what do you want it to do?
 
7:00 PM
@CupOfJava I was passing wrong IQueryable which was the reason of the wrong results I was getting
 
 
2 hours later…
8:53 PM
@YousufHossain I'm glad you figured it out. You get a gold star
 
9:17 PM
Do I get a new Hub instance wiht every SingalR client connecting? Or is it one Hub managing all of them? I'm trying to get basically a singleton on the server to broadcast messages on certain events, but I'm really not sure if I can just inject my Hub to my domain service, or if I have to find a way around thath.
Hi Roel, nothing to do on a saturday evening either?
 
yo yo yo
 
a hub question, huh.
this will require some thought
 
Yeah, I've been trying to learn this realtime communication thing for a week now
Also combining it with http requests
Also tryign to figure out where to put SignalR on the hexagonal architecture model
 
hexagonal? wym?
 
9:26 PM
Left side is active adapter: Controllers basically
In this case probably also SignalR
mid is the core, containing only logic and no dependencies as far as possible.
right side has passive adapter: basically datalayer and stuff.
Core knows only logic. Everything knows Core. Core is boss, everything implements interfaces defined by core, DI plugs stuff into each other.
There are better pictures, this one is a simple one I made to explain my application before.
 
interesting, I use a combo of MVVM and MVP put together when working with api's.
 
I don't have a view, so those don't really apply
 
ah
 
Basically I'm building an Api so I can later build both a Blazor Site and an Android app on top
And my friend has a WPF app connecting to it too
 
what for?
 
9:31 PM
Managing teams basically.
 
interesting
 
DotA 2 battlecup planner might be a more precise name, but it's called "TeamBuilder"
 
what do you plan to do with it?
 
I plan on not having 50+ messages in our whatsapp group trying to figure out who is gonna play with whom
Instead you go on the website, maybe create a team, and everyone can just join and leave teams as they please
This, of course, needs realtime communication
Turns out WebSockets don't work so easily in Blazor yet
Also everyone keeps telling me SignalR is way simpler, so...I'm learning SignalR now.
 
the answer is yes
SignalR creates a new instance of your Hub class each time it needs to handle a Hub operation such as when a client connects, disconnects, or makes a method call to the server.
look at hub object lifetime
 
9:37 PM
Damn. Gotta figure out how to signal all clients when my controller gets an http request.
 
@Squirrelkiller this seems like you're hammering a nail with an anvil XD
 
I like my anvil, it's very sturdy.
 
lol, I'm tired of messages. I think I'll build a whole new app; website; desktop app.
 
Also I needed an excuse to use BLazor
 
I get it 50% of the programs I run on my desktop are ones I've made it's better that way.
I've heard of blazor but haven't looked into it.
what does it do?
 
9:43 PM
Same as Angular, but in wasm
Well, in C#
no javascript
What was Razor before is now "Blazor Server", and what was originally the experiment called Blazor is now "Blazor Client" or blazor wasm
 
there's so much I need to catch up on. I just switched from winforms to .net core
I wish i could still use charts :,(
 
Well... coreFx now supports WinForms on Windows too
Although I have to say: Better use WPF, it's prettier!
 
yeah, you really can't do a SDI in winforms
 
Either way I suggest to drop Java
 
WHAT!
I program android in java
 
9:48 PM
Go go gadget Kotlin!
It had the whole nullable references thing before Microsoft even started talking about it
 
the idea of Kotlin bothers me
 
Also primary constructors and data classes, things Microsoft is talking about for C# 9
IMO the idea is "fuck oracle" probably
 
I don't think java is going away anytime soon
 
Definitely not, but one can dream :)
 
lol
where did you learn about the hexagonal architecture?
 
9:56 PM
Work
If you build your app thike that, it's quite nice to refactor and stuff
you make different projects, so you can easily control what references what
 
interesting
 
Anyway, my thoughts start venturing towards dangerously extensive refactorings, time to go to sleep. See you around o/
 
10:29 PM
anyone ever used webhooks?
hello :)
 

« first day (3381 days earlier)      last day (1550 days later) »