« first day (3798 days earlier)      last day (1154 days later) » 

5:16 AM
hi @Hans1984 :D
thanks Alex
 
 
2 hours later…
7:28 AM
[Deathspike] Good morning.
 
Anyone else complaining about Unity with .NET Framework?
Is there a solution or Unity is no longer maintained?
any other trending IoC library?
Never seen a question with +250 vote and the top answer has one vote!!

https://stackoverflow.com/questions/4469929/could-not-load-file-or-assembly-or-one-of-its-dependencies?page=2&tab=Votes
 
7:48 AM
@mshwf We use Ninject in .NET Framework.
 
I want to stick to one library in all my projects, (.NET Core, FX, STD...)
is it good and compatible?
 
I wouldn't do that. In .NET Core there's a built-in IoC, so use that.
But there's nothing like that in Framework
 
@mshwf that is because you are skipping the top answers
258
Q: Could not load file or assembly or one of its dependencies

ronagI'm having another of these "Could not load file or assembly or one of its dependencies" problems. Additional information: Could not load file or assembly 'Microsoft.Practices.Unity, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The l...

the top answer has 116 votes
 
8:11 AM
Oh, I was on page 2
 
8:25 AM
anyone familiar with spies in unit testing?
I want to assert that a certain method is called exactly once and compare the input to a set of expected values using Assert calls
 
posted on March 04, 2021 by Scott Hanselman

I've long run a few dozen websites in Azure and while I've long noticed people (frankly) wasting money by having one Azure App Service (a Web Site) per Azure App Service Plan (a VM) I tend to pack them tight. A Basic 1 (B1) Azure App Service running Linux is around $13 a month but has nearly 2 gigs of RAM. Up that to about $26 a month and you've got 3.5 gigs of RAM and 2 Cores AND 10 gigs of

 
no scott, that did not answer my question...
 
mr5
does your employer provide you a laptop or a desktop for a WFH setup?
 
laptop, but we use laptops at the office too
it doesnt really have any drawbacks
 
mr5
In a span of 8 months, I have already 3 different employers. First issued me a mac-mini, next is laptop, and this next one is a friggin desktop :D
with two monitors though
so izz kinda heavy thing
 
8:41 AM
the problem with a desktop is that you cant really move it that easily
with laptops, you can just walk to a meeting room, drive to a different office (maybe third party), bring it home, etc
 
mr5
yeah. I am also planning to relocate to another place.
 
and you dont really lose anything on power or capacity
nowadays, you could even just use your mobile phone
 
mr5
but I haven't really tried to bring a work laptop outside, like some people go to SB to work there.
 
have a working desk, with a keyboard, mouse, monitor and a docking station and you just plug in your work phone
the advantage is that you dont have to bring anything big with you
the disadvantage is that you need a working desk at all places where you want to work
 
mr5
true
have you tried to bring your laptop outside and work from there?
 
8:46 AM
I work from home with my work laptop
but when working at the office, I bring my laptop to the office every day and take it home again
 
mr5
why you bringing home your work laptop though?
 
anyway... anyone knows of a non-depressing mocking framework in C#?
hmm... I think you are not working good enough then
 
mr5
last time I touched a mocking framework was 4 years ago.
 
I am currently using Moq, but it cant really mock everything properly
you have to adjust your code so it is testable
and I cant do that for libraries
 
mr5
how about...
don't test it :D
 
8:59 AM
generally speaking, that is the idea, but I prefer this stuff to be tested
 
mr5
var mock = new Mock<IFoo>();
mock.Setup(foo => foo.DoSomething("ping")).Returns(true);
ohh
now I get it
that's actually kinda helpful
 
true... except...
it should have a strict default behavior
if you didnt setup, it should throw an exception
by default, it returns null
which you can change in the constructor though
also, you cant mock non-virtual members of classes
so if you dont have an interface, you cant mock it
yet, I want to mock the response models with that strict behavior, so I can assert that only a set of properties is used
 
mr5
looks like you're out of option atm
 
I miss Java :(
 
mr5
I'm going to move to Java next week
+ C# + C++
 
9:07 AM
ew, non-interoperable multi-tech stack
 
mr5
but it does though
 
not true interop though
only fake stuff with weird setups
 
 
4 hours later…
12:46 PM
oh hey !@Shad
:D
long time no see
 
12:57 PM
long time no /fatcat
 
/fatcat
:(
 
Jack, kys
DO AS I COMMAND
 
STUPID ROBOT
DO AS YOUR MASTERS SAY !
 
>walking around Coeurbane
>see a busty woman passing by
>she beckons to you "hey c'mere"
>you hesitantly go in her direction
>she pulls an unactivated glowstick out of her cleavage
>she winks and says "come to the rave"
 
mr5
1:28 PM
uh wut?
she pulls out glowing dildo out of her cleavage and invites you to a rave party? that doesn't make sense. xD
 
rave rape party
that makes even more sense
!~shiba
 
@mr5 well jesus it iddn't have to be a dildo but OKAY
 
mr5
everything is a dildo, if the girl is brave enough
 
just lately I been thinking of putting raves in Autorise….I already had plans to have underground parties, but raves just make way too much sense
 
mr5
1:36 PM
wdym by rave doh?
isn't party == rave?
xcuse my vocab
 
maybe in Europe and Asia, but nah usually party in America means some people listen to hiphop or rock in someone's small house
 
Rave:
> talk incoherently, as if one were delirious or mad.
 
to me a rave is where people are in a big open area listening to trance or some other europop beat...they don't speak any words to each other and it's the kind of party where nobody talks about it, like fight club
 
US version:
> talk.
looks like "rave" means the same in the US as other regions
 
mr5
wut
 
1:39 PM
a rave party is not about talking 😔
 
mr5
haha
 
> a lively party involving dancing and drinking.
does the lack of mention of "talking" mean that talking is not included in the rave?
 
that's better...kind of
no, you don't talk at rave parties
don't strike a conversation, you just go there and dance..and also don't tell anyone about the party on social media
 
if so, the lack of mentions of "clothing", "safety" and "floor" are more disturbing to me
 
mr5
what if somebody talks about it secretly? does it break the "raveness" of it?
 
1:41 PM
if you're telling someone by word-of-mouth in secret, it's fine
 
mr5
also, y tf google chooses to make this as raster instead of vector:
 
they usually wanna keep the police out of these
 
> While raving about a movie means to talk it up, being a raving lunatic means you are engaging in a lot of crazy talk.
 
here's a visual
I also didn't mention: lots of flashing, bright lights, firework effects, and people bringing glowsticks
 
we call that a music festival
 
mr5
1:43 PM
oh
EDM festival right?
 
kinda
rave music is basically EDM
 
mr5
like that from TomorrowLand. I wish we also have that thing here.
 
wish I had clubs like that at home....the only thing I've found is some... "adult fun" place
 
mr5
adultswim
 
the idea of going to a strip club honestly disgusts me
 
1:48 PM
yeah waste of money
all looking and no action
 
mr5
you have more something to talk about with your friends while drinking
"what if that pole breaks"
 
2:24 PM
"what if" -> "how about when"
 
someone remixed Darude's Sandstorm 😔
 
mr5
2:48 PM
 
mr5
3:05 PM
In SMTP, how come Delivered-To and To is different? Now I am not sure if the email is actually for me.
This happened in GMail
 
wanna guess which tech company I wanted to work for when I started college, before I realized how full of shit they were? 😃
@mr5 delivered-to is past-tense? 🤔
 
mr5
I'm not sure how SMTP actually works. Maybe it's a modified header.
 
@Freerey Microsoft?
 
3:20 PM
Amazon
 
 
1 hour later…
4:22 PM
Teresa Dietrich on March 10, 2021
Teresa Dietrich leads Product, Community, and Engineering at Stack Overflow. She will be posting quarterly updates laying out key accomplishments and future goals.
 
I have a question relate to .net core, is there any one to help?
 
shure
 
4:39 PM
@Freerey I read an article about featureManagement Library, it says "Feature flags build on top of the .NET Core configuration system" what does it mean it has been built on .NET Core configuration system?
 
that sounds like it would be affecting a VS .ini file 🤔
 
5:14 PM
@FullStack take a look in the MVC room
Got your answer there
in ASP.NET MVC, 2 mins ago, by Alex
As Microsoft.FeatureManagement is built on top of the configuration system, it can be controlled by any of the various configuration providers available. That means you can control features from an appsettings.json file, from environment variables, from a database, or from any number of other providers. Enabling and disabling features simply requires changing values in one of your configuration providers.
More details in the other chat
2
Though not trying to pilfer users from here :D
Article in question is this, I think
Really detailed. Remember hearing about "features" at a devops conference
 

« first day (3798 days earlier)      last day (1154 days later) »