« first day (3854 days earlier)      last day (1077 days later) » 

2:43 AM
when will microsoft fix rdpclip bug? or never
 
mr5
@Wietlol do you know if C# have something like var securityToken = jsonToken as! JwtSecurityToken; where as! means unwrap nullable cast?
 
 
5 hours later…
8:20 AM
I dont know what as! is supposed to do
 
mr5
8:40 AM
it's suppose to safe cast and suppress warning for possible null
 
jsonToken as! JwtSecurityToken
syntax error?
 
mr5
yeah
 
just as
you either cast (JwtSecurityToken) jsonToken or you get null jsonToken as JwtSecurityToken
you dont get null and pretend you dont
 
mr5
lol
why I didn't think about a direct cast
my company finally gave me a laptop. I can go out now I guess during work.
 
company provided laptop usually being abandoned in here
intel core i3 4gb igfx
also, ridiculous battery life, heavy, 720p screen
we always get a better by ourself
at some time company brought few macbook air
staff eventually thrown it to sales team because they found plenty of compatibility issues
 
mr5
8:58 AM
you mean, the company there stops providing laptop, and instead, gave those non portable hardware?
 
no, we buy own laptop
 
mr5
and you reimburse it?
 
no and company cant effort it
they buy some highend gaming laptop or some are surface
 
mr5
that's unfair. they should be the one to gave the equipment shouldn't they
 
what?
company are actively provides equipment
but we dont like it because of low spec
core i3 4gb igfx 720p and 40mins battery life
 
mr5
9:01 AM
ohh\
 
we always get a better equipment by ourself and throw company-provided equipment to others
 
mr5
but did you tell them about your suggestions?
@nyconing lol
gaming laptop is best for Windows development
 
at 2018 (I remember) company finally provide a good hardware, a few macbook air
but still abandoned by rnd and support team
because of plenty of compatibility issues
 
mr5
on gaming laptop
it has 2 instances of VS
 
yeah its awesome
nah you can open many as you like on highend laptop
 
9:05 AM
dont mind me, I am only running 15 instances of IntelliJ
 
mr5
the only thing I'm worried is the temperature
when I open Dota2, temperatures reaches > 90 degrees C
 
our staff dont usually reimburse the gaming laptop or surface they brought , base we know company wont accept it, comapny cant effort it
 
not actually true, 13 IntelliJ, 1 Rider and 1 Datagrip...
 
mr5
ss or you're lying
 
Oof ouch my RAM
I'm running 2 VS, 1 intellij and MS Teams and I'm not planning on opening anything else
 
mr5
9:08 AM
open moar chrome tabs!
 
I don't use chrome
 
mr5
safari?
IE?
 
I do have a few firefox tabs open
Oh and outlook of course. Need something to clog my network.
 
I run both Chrome and Chrome Beta
with a combined 64 tabs
 
fuck chrome it's working hard on un-freeing the internet
 
9:13 AM
meh
 
Go get Firefox instead
Also multi-account container extension
 
Chrome works better though
 
Different account containers in different tabs!
 
what is Chrome doing that is un-freeing the internet?
 
They just make up new standard hoping to see so much adoption that they become actual standards
Newest Latest try being FLoC
 
mr5
9:15 AM
Looking for name suggestion.
As I keep adding VM that's related to INSERT model, what should be the base class name?
 
meh
people are too worried about their privacy
if Google can help me by already knowing what I want before I know it, I would want them to
as long as they dont use my data for criminal purposes, I am fine
 
mr5
hi fine
 
it is not like it is a major security breach in your personal life if Google knows which brand of milk you drink
on the other hand, I do have several ad blockers and privacy badger and idc about cookies extensions running because fu ads
but that is mostly because I dont want to be bothered by the ads more than not being able to make a profile of behavior
 
mr5
me too I'm fine with ads as long as there's an AdBlock :)
only site with which I don't block ads is from SO, because it's job ads
 
@Wietlol Use google search then. Don't have to solve all the problems at once. Baby steps.
 
9:25 AM
I use google search
 
I know and it has absolutely nothing to do with which browser you use
 
and?
chrome still has better support for html/css
chrome still has a more dominant market so focussing support of it for our websites is a must
chrome has integrated support for google business suite thingies, which we use
chrome as an application (everything except for the website that is shown) still is one of the best options
and there is no compelling reason to change... no "Google knows which ads are for me" is not a compelling reason to change browsers
 
mr5
InsertableViewModel
BaseAddViewModel
CreatableViewModel
MakeViewModel
FactoryViewModel

which name should I use?
context: I am creating modal dialogs to build models and insert them into database.
FactoryViewModel seems legit but it's very broad
@mr5 DataFactoryViewModel
 
9:56 AM
ModelDataViewFactory
or Factory<View<Model<Data>>> if you feel brave enough :D
 
mr5
the convention in Prism is that, it must always end with ViewModel suffix
we're a law abiding citizen
 
what does the base view model contain though?
to me, a model should be a model, containing only data that is relevant for their meaning
there exists no such thing as a common property between unrelated models
 
mr5
it contains the common behaviors and properties for all the Add*ViewModel
 
such as?
 
mr5
DoneCommand, CancelCommand << these are buttons
validation service configuration
 
10:10 AM
I see...
 
mr5
and the appropriate time to build the model
1. validate
2. determine if okay
3. build the model
DoneCommand would propagate the result back to the calling page.
since modals are supposed to return data back from parent page.
I think ViewModels in ASP have a quite different definition
ViewModel in Xamarin acts like both ViewModel and a Controller though
 
ye, it doesnt look like a model at all
it looks more like a page object
 
mr5
to add more confusion on ViewModel definition, in native Android it acts like a Presenter (MVP) :D
 
I just dont deal with view models :D
confusionless
 
 
1 hour later…
11:34 AM
Hi all,
Is there a way to resolve IConfiguration without injecting in the constructor?
 
mr5
through dependency locator
 
12:04 PM
can't find this
 
12:52 PM
you can basically have the already setup DI through HttpContext
serviceProvider.GetService(typeof(IConfiguration)) or something like that
 
1:05 PM
serviceProvider.GetRequiredService<IConfiguration>()
 
1:28 PM
@mr5 There is no Controller so to speak in Xamarin, it's Either View First, or ViewModel
 
mr5
well you can always make one
 
That's how Caliburn is modeled, but it's a controller for the ViewModels you call to display data
 
1:44 PM
Medi Madelen Gwosdz on May 05, 2021
A look at how to get started with TypeScript.
 
2:34 PM
Is there a place where i can make a single page website and host quickly ? with some text content and memes ?
 
mr5
heroku
or 000weebhost 000webhost
 
Or gitlab pages
 
2:47 PM
weebhost
 

« first day (3854 days earlier)      last day (1077 days later) »