« first day (3387 days earlier)      last day (1544 days later) » 
02:00 - 15:0015:00 - 23:00

mr5
2:26 AM
Do you guys have an idea why some of my comments in SO are being deleted?
 
it's the government
 
mr5
One example of my deleted comment was just to update one commenter in my answer. The sentence goes something like "I have updated my answer which includes the thing that you've asked. Thanks!"
 
it no longer applies
 
mr5
I have observed some mod hates "redundancy" so I think my comment falls in that category.
anyway, you forgot your greeting "yo yo yo"
 
yeah, I've had this problem on my main site
it seems some mods are trigger happy
yo yo yo
 
mr5
2:33 AM
mods have access to your site?
 
no law.SE
0
Q: How to deal with comments?

Dale MWithout rehashing How long is an "Extended discussion" or Should Moderators be able to use their privileges to benefit their own posts, I am polling the community to establish a norm on this community for dealing with comments on questions and answers. How do comments work? The comment privileg...

we had a community war over comments
one of our new mods was deleting comments all over the place
stackoverflow probably has the same problem right now with new mods
 
mr5
I'd argue that deleting comments is beneficial to the site. If they're going to delete comments, they should delete the entire discussion or else one of them may appear "snobby" or "rude".
 
I forgot my username is different on that site
I should fix that but I'm too lazy
 
mr5
It seems to me that they're encouraging users to be logical all the time and remove the emotional aspect.
 
applying the rules strictly turns people off
 
mr5
2:42 AM
And the fact that there's a META.SE is contrary to that if my assumption is correct.
 
there's really not anything we can do about bad mods, we had a war with one of our mods and he still does the same things
 
mr5
SJW
 
mr5
The mods
I mean, some of them, not all.
 
no he deletes comments on his answers and remove alot of comments all other the site
but life goes on
 
mr5
2:47 AM
Do they get salary from being a mod?
 
no
every mod does it for free
 
mr5
3:17 AM
@HéctorÁlvarez congrats. now, you've been congratulated here more than in your job for 4 months.
 
3:52 AM
Is it possible to redirect all exception catches to a single method for loggin
I mean, in catch we call a method to log exception, but I want to log exception with calling method in catch block
 
mr5
try-catch(ex) { singleton.log(ex) }
you mean, something like that? @Speedy
 
this i don't want - singleton.log(ex)
like if i have 1000 catch then in every catch I will need to write - singleton.log(ex)
instead ex should internally redirect to a method and it should be logged
e.g
try
{
1/0
}
catch(Exception ex)
{
singleton.log(ex) // do not want to write this
}
the ex should be redirected/ passed to a method automatically and get log
 
4:22 AM
what's the logic with .Contains()?
is it strict with the upper/lower case?
is it strict with the word?
 
Contains is case sensitive
 
would Task and Taskable return true?
 
Yes
 
which one would not return true?
but is case sensitive?
 
task and Taskable would return false
 
4:26 AM
... u said yes
but it's no
 
i mean "Taskable".Contains("Task") would return true
 
then what would return false?
has to be Task only, no Task1, Taskk
like, .MatchExactly
 
mr5
4:51 AM
27
A: Can I create a global exception handler in C# that lets the code continue running afterward?

SamuelAppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); If you bind yourself to this event when the application starts, you should be able to catch any Unhandled Exception your application throws, and save it to a file. (Use the Except...

 
5:01 AM
yo yo yo
@Adan what they're saying is "Taskable".Contains("Task") would be true but "Taskable".Contains("task") would return false
 
mr5
A simple Google search:
2651
A: Case insensitive 'Contains(string)'

JaredParYou could use the String.IndexOf Method and pass StringComparison.OrdinalIgnoreCase as the type of search to use: string title = "STRING"; bool contains = title.IndexOf("string", StringComparison.OrdinalIgnoreCase) >= 0; Even better is defining a new extension method for string: public static...

 
 
2 hours later…
7:11 AM
sup
 
Buen' di'
 
mr5
Why do you think binary is called octet stream in HTTP?
Is it called octet stream because you're streaming a bit in octet group?
 
because 8 bits make a byte
It's just another way of saying binary I suppose
 
mr5
why not just binary then?
 
Perhaps once upon a time there were competing terms for saying the same thing
but nobody calls it octet anymore
 
7:24 AM
maybe because it's a stream of explicit data structures
it implies the width of the stream
 
it's literally a binary stream..
 
Good morning ladies.
 
Good morning gentlemen, and @RoelvanUden. :)
 
shut up, cat. I'm trying you be right while speaking about something I've no idea and you are not letting me with your valid arguments...
 
I'm glad you're thinking of the Apache Helicopters.
 
mr5
7:26 AM
I think they are also considering for another group of bits which is unlikely to happen
 
@HéctorÁlvarez not like I really know myself
 
Oh so you are a man of culture as well
 
mr5
I thought Neil is a Koala?
 
the price of a stamp will go up 2 cents.
 
Nope. A mouse on top of a cat
 
mr5
7:28 AM
But it looks like a Koala from afar
 
That's a bigger version
 
yo yo yo
 
mr5
 
I suppose they're similar
 
posted on January 22, 2020 by Scott Hanselman

At the start of a new decade and over 700 episodes of my tech podcast, I did something weird. I had myself on the show. Egotistical, perhaps, given the show literally has my name in it, but the way it happened was interesting. This episode wasn't supposed to be an episode! I was invited by Jeff Fritz of Twitch fame to talk to his community team of Live Coders on Discord. They recorded it, and

 
7:34 AM
@HéctorÁlvarez taxation is theft cough cough sorry I meant hello how are you?
 
let the price of stamps go up. Reliability on stamps should be discouraged anyway
if it were up to me, there should be a government-issued e-mail address for every citizen with an online e-mail client to read it
with a possibility of forwarding the e-mail to another address if needbe
 
I have a business logic with all static methods, i keep on calling a method
which hits an API with some request data & returns response. will the objects created when i hit the API will be killed once i get the response or do i need to do something to get the objects killed
 
oh, government email... no one is going to read your emails
 
@Hariprasadkasavajjala objects will be deallocated when they exit the scope, unless you keep a reference to it somewhere else
 
wait, why do I care, they watch everything anyways.
 
7:39 AM
beh, you're also free to use your own
but it would be nice to have an "official" e-mail address
 
meh
 
@Neil Will they be deallocated even for static methods?
 
In Spain we have a government official inbox
 
@Hariprasadkasavajjala yes, assuming they're local variables, they'll deallocate at the end of the method call
 
We don't have an official email, but there are usually services to deal with most transactions. You receive notifications and can answer them online
 
7:41 AM
Technically in Italy we have that too
 
@Neil Okay thankyou
 
is MVVM pattern still industry standard?
 
@CupOfJava Depends on the industry.
It's still widely used in WPF for example.
 
In italy, you're automatically given an e-mail address per business entity (which can be a business or an individual who has opened their own company of one)
Unlike other e-mail, you can be held liable for the e-mail written to or from said address by law
 
7:44 AM
is there anything that's more recommended?
MVP?
nvm I like MVVM better from what I'm reading
 
@CupOfJava What tech stack are you working with?
 
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' squirrelerinos!
 
well I switched from framework to core and I can't find Caliburn.micro for core
 
mr5
@CupOfJava procedural
Dude
try Prism
 
don't you have to buy that?
 
mr5
7:48 AM
No
It's free
At least in Xamarin
I'm not sure in other platform
 
I'll look into it
 
mr5
Welp, Xamarin is cross platform so ¯\_(ツ)_/¯
 
@RoelvanUden WINS
 
@CupOfJava I don't know what that's supposed to be.
 
Windows server, internet information services, .Net, Sql
 
mr5
7:58 AM
In computing, a solution stack or software stack is a set of software subsystems or components needed to create a complete platform such that no additional software is needed to support applications. Applications are said to "run on" or "run on top of" the resulting platform. For example, to develop a web application the architect defines the stack as the target operating system, web server, database, and programming language. Another version of a software stack is operating system, middleware, database, and applications. Regularly, the components of a software stack are developed by different...
 
@CupOfJava ... That says absolutely nothing about how you're building a UI.
 
Funny Jaba
"content not allowed in prolog" because there was an error with an XML transformation
now go guess the reason
 
mr5
I guess there was an error with an XML transformation?
 
I'm a little confused on what's being asked. Xaml....?
 
8:15 AM
posted on January 24, 2020 by ericlippert

While watching the first episode of the new Star Trek series just now I noticed a nice little Easter egg: Admiral Picard (retired) apparently has the same 1982 science fiction book club edition of The Complete Robot handy on his … Continue reading →

 
@mr5 Nope, just a bad URL
There was no file to use, basically.
But the error message is as cryptic as it is generic
 
mr5
The library you're using doesn't check the http response and just reads whatever the URL returned.
 
Jaba I sed
 
8:29 AM
I still don't quite understand why the transformation is correct, but it's missing the styling that clearly exists in the XSL
 
8:57 AM
Good morning gents o/
 
9:09 AM
gentlemen*
 
and ladies*
 
Good morning almost-hairless-apes O/
 
@BlackSquirrel Shiny monkeys.
 
mr5
9:21 AM
shaved ape :D
 
I think that about covers it
 
ever seen a shaved bear?
they look horrifying
 
Cue Hans with an image uri….
 
I guess @Hans1984 is asleep
 
Or shaving...
 
9:28 AM
hahahaa
 
9:51 AM
o/
 
ahoy mateys o/
 
Say that I have retrieved an object that describes its type from a database, this object XY is of interface X, but only certain types of this interface have a property that I need
So I would cast the objet based on the description it has
But casting an object based on a string seems like a bad idea
 
well do you have a choice?
obviously it's better that the interface has everything you need
 
You're missing an interface for the property you're interested in.
 
but if you can't do otherwise, then you're sort of stuck
 
9:57 AM
I am missing an interface property, yes. Can't change this part (yet)
 
You can add a new interface for just that property
 
You mean an interface that implements that interface-with-lacking-property and add extra property to this new interface?
 
or you could just modify the interface in question
do some objects which implement it not have this property?
 
yes
The object I am speaking of is an ElementInfo property, some elements have a Uid property, some do not
 
then yeah, do it like that. Make a new interface which extends the other
 
10:00 AM
Hmm ok
 
public interface IExistingInterface { … blah …}
public interface INewInterface { int SpecialProp …}
public class SpecialClass : IExistingINterface, INewInterface { blah...}
 
then configure it so you receive this new interface and not the old
if you're having to cast it to the new interface, it's almost as bad as casting it to the implementation
 
But I am working in a framework with tons of others, changing this might mess up things on the other side
But I guess it is the right way to go
 
well you'll have to make the changes on both sides
 
Thanks
 
10:05 AM
Windows updates are the best
i love them so much
esp when I don't choose to have them
and microsoft decide, you know what person who uses windows, we don't care what you think
you are getting this update weather you like it or not
so you must sit there for 3 hours
 
@Neil it's an abstract class I just see
Adding the extra property builds it, doesn't point where exactly it's missing this property on the classes implementing it :/
 
@CaptainSquirrel yea and then try to explain to management why u are late 3h on all your tasks
 
Been there
 
Got questions about why i've spent a good chunk of the past 3 days doing windows updates to the same fucking vm
Like i'm not choosing to do these
and i can't work on that client until they are done
 
10:08 AM
:S life sucks
 
And i can't work on any other client until it's done, because if i shut it down half way through, that's another thing stopping me from working
 
@Squirrelkiller what's your teams name?
 
So, I've been quite confused with ASP.NET Core ActionFilterAttribute, I remember back then OnActionExecuting would execute BEFORE Model Validation
ATM, it only executes if model is valid!
it doesn't fire otherwise.
I will make a thread soon, but been finding it awkward, it didn't use to be like this.
public class TestAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext context)
{
if (!context.ModelState.IsValid)
{
// ...
}
}
}

Although, this is only called if ModelState.IsValid!
Found it.
7
A: Validate ModelState.IsValid globally for all controllers

Jason LaAs a followup to this: in ASP.NET Core 2.1, there is a controller attribute called [ApiController]. If you include that attribute, it automatically uses a built-in ActionFilter called ModelStateInvalidFilter, meaning any custom action filter that checks ModelState will never be reached since the ...

 
Why would you be checking if your model state is valid via OnActionExecuting instead of on the method you are posting to?
 
ElementType elementType = mouseClickElement.GetType();
ElementInfo<elementType> elementInfo = mouseClickElement.DataObject as ElementInfo<MenuItemInfo>;
"element is a variable, but used like a type"
But elementType is a type object
 
10:21 AM
@CaptainSquirrel it's not the problem, since this is a legacy-but-new application, the devs made an Authentication Attribute themselves, and the application would verify the validation/deserialization BEFORE the authentication
and ASP.NET does this outside the method by default, so it would give the error of an invalid model state before reaching the authentication
 
You cant save yourself from the damage of c# ^_^
 
Sjeesh. Android is being weird. I'm requesting a single highaccuracy location and what returns is utter crap.
 
Ok no I can't make it work
ElementInfo<T> I can't put variables in the <T> so I am at a loss
 
mr5
crap. handling local notification tap in iOS is a pain in the ass
 
10:34 AM
@mr5 It is? Why?
 
mr5
@RoelvanUden there's no built-in event for it. you need to aggregate various states and event to somehow determine a notification tap event.
 
@mr5 There is an event.
 
mr5
link?
 
mr5
oh
 
10:42 AM
@RoelvanUden Not gonna click becci today good sir.
 
mr5
does it work in local notification as well?
Crap. Take a look at the description @RoelvanUden developer.apple.com/…
 
@mr5 yes
 
11:05 AM
hi
 
You must construct additional rum barrels
 
so.... anyone knows a nice way how to list dns records?
the solution I have now works... except for...
if (Environment.OSVersion.Platform != PlatformID.Win32NT)
{
    throw new NotSupportedException();
}
it wont work in production
it uses the dnsapi
if I remove that code, I get a dll not found exception
I want to get the list of records like "v=spf1 include:spf.company.com include:spf.email.company.com mx ip4:123.123.123.123 ip4:123.123.123.123 -all"
 
11:28 AM
Havea nice weekend guys!
 
You too
 
11:43 AM
I just fixed all the stuff I had for this week, and the next 3 days...
Been told to chill for the rest of the day
I love my life
 
yeah shaved bears look terrible
\o
 
nightmare fuel
 
Have a nice weekend
 
@Squirrelintraining Cya later, prepare to lose biatch
 
@HéctorÁlvarez fancy doing my work for me? lmao
 
12:07 PM
take care
 
:D
 
Jack, black
 
12:20 PM
I love that mr5's comment has more stars than any visible atm
 
a masterplan
first he stared useless stuff himself
then he asked who is staring useless stuff
 
to get stared himself
;)
 
I can't stop listening to the Sonic Unleashed OST help
 
12:46 PM
@Hans1984 ಠ_ಠ
 
shocking huh?
 
ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ
when I was in a hs business class, we had a former university academic advisor come in to tell us about how we should prepare for our careers, and told us a story about a short kid he knew in school

he aske this kid what he wanted to do after college, and he said "I wanna be a movie star," but the univ guy was like "but you don't have any film experience whatsoever..." but still the kid said he wanted to be a movie star

that same kid became Howard the Duck
 
@Hans1984 you're just talking about getting stared at
so I thought I'd oblige
 
whatever
 
Did he do anything after Howard the Duck?
seems like that wouldn't really be impressive on your resume
 
12:54 PM
yeah he did a lot of TV work
looking at his IMDb, he also was in Family Matters and 3rd Rock from the Sun
I could've sworn he was the same guy who played R2D2, but nah
 
damn my last gum
i need to buy new chewing gum
:(
Jack, get me some chewing gum dummy !
 
....Come Again?
 
soo is there any new movie worth watching ?
oh btw I've finished disco elysium
the ending was nice
 
how it feels to chew 5 gum:
*cough cough* oh no I think I swallowed my gum! *couhghhhhh*
 
casa de papel if you have netflix
 
1:03 PM
@AlRey lol
@littlemisscomputerscientist unfortunately I don't
but I might get it some day
I need to watch the irishmen since im a huge pacino fan
I got myself "pillars of eternity" yesterday
for 2.30€
what a steal!
its from the same devs as "the outher worlds"
obsidian. They make great games ;)
 
but The Outer Worlds was laaameee
though yea usually Obsidian does great work
 
no,it wasnt
 
outer worlds left me wondering "why didn't you guys just make a Fallout game?" but the obvious reason is that they don't own the license
 
;)
 
the world just felt uninspired to me, which makes no sense cause it's a literal alien world
 
1:11 PM
@AlRey its very much like fallout indeed
not a lot of innovation
but i enjoyed it a lot
 
I will say the gunplay is a helluva lot better and it does try to build its world, but it doesn't really take itself seriously enough for my taste
 
but then im old and I loved those games back then..
 
it feels more like a Futurama episode than anything else
 
so a big nostalgia factor for me
 
I liked the first Fallout, man -- but this just didn't do it for me
 
1:12 PM
did you play disco elysium?
 
speaking of: I found out why I quit fallout 1 when I did: I couldn't figure out how to complete any of the quests I was on without getting kicked out of the brotherhood or whatnot
no, but that's pretty new
for some reason I always think it's a visual novel
and the first thing I see here is "Disco Elysium gets a hardcore mode for fans who want a challenge"
and I'm still here trying to beat Spyro 2
 
right now all half life games are free on steam
till march
so that means hl1&hl2 and all addons
just letting you guys know ;)
 
I still need to get that lambda achievement in hl2
and the damn progress resets every time you install the game -- and I've done a lot of reinstallations in my time
 
@RoelvanUden Log Horizon season 3 in october!!
Confirmed
 
1:36 PM
@CaptainSquirrel Nice. One cour or two cour?
 
ELI5 cour
oh, lemme check
No mention of it 😒 @RoelvanUden
Just says that it'll be back in october
so wait and see i guess
 
Mmm. I hope they'll go back to the first studio. The second season studio was meh.
Then I'll have to go back and re-watch because I totally forgot everything in S2.
Something about gold.
And a man with an armor.
THat's about all I remember.
 
Studio DEEN??
 
@CaptainSquirrel Yeah, Studio Deen is pretty mediocre in their quality.
At least, for Log Horizon. They have good series too... but... I feel like they have an A team and a B team.
 
1:42 PM
Yeah that'd make sense
I just want more to the story
so many questions left unanswered
so many
 
Yeah. Like many manga adaptations, I'm just surprised we get a continuation :-P
Most series it doesn't happen at all.
 
also S2 IIRC
something something moon
something something aliens
something something way out
 
2:27 PM
aaand half the icons are gone, including mien
 
Jack, tumbleweed
 
Ryan Donovan on January 24, 2020

Welcome to ISSUE #9 of The Overflow, a newsletter by developers, for developers, written and curated by the Stack Overflow team and Cassidy Williams of React Training. You can read more about it here. This week, we get a peek into the future of Stack Overflow, discover the longest possible free ride, and check out a mobile OS made from React Native.

What is Rust and why is it so popular? stackoverflow.blog Rust has been Stack Overflow’s most loved language for four years in a row, indicating that many of those who have had the opportunity to use Rust have fallen …

 
@Hans1984 haha
reminds me of an old colleague
 
what happened to the turtle rhombus?
Google stole his soul?
 
2:46 PM
WOO I just got a free 24-pack diet coke box xD
 
now you have something to clean the wc with
 
I'm wondering if I should get more involved in pol stuff again...like actually in my community ughhh
I'm politically-oriented, but the stuff that happens on the news is a clusterfuck and I know I'll just go insane if I get too involved and buy into the hysteria, but man..I've been sitting on my ass this past year
the last time I tried to get involved in a political conversation online, a guy I knew got pissed that I said left and right can be equally as insane and told me to kill myself
*convo that dealt with a recent event
 
you are free to cause yourself nervousness however you like.
 
@AlRey Well, online, what did you expect?
 
2:57 PM
I expected better cause I actually knew this guy
and that was also the night I got stood up by my crush, so to go to bed waiting and then getting nothing was the most **** stain that's ever been **** onto me in the span of 24 hours
 
02:00 - 15:0015:00 - 23:00

« first day (3387 days earlier)      last day (1544 days later) »