The Official Status Thread
-
Status: Trivia that just came up in conversation: I'm Capricorn ♑ I guess.
-
@magus I was under the impression this was normal practice.
-
Annoyed but unsurprised that this Firefox bug reported 3 years ago still hasn't been fixed.
Edit: Also, half the images on this forum aren't loading. Not a good night for Web browsing, it seems.
-
@heterodox said in The Official Status Thread:
Annoyed but unsurprised that this Firefox bug reported 3 years ago still hasn't been fixed.
The only thing that surprises me is that you think 3 years is a long time for Mozilla to ignore a bug.
-
@lorne-kates said in The Official Status Thread:
The only thing that surprises me is that you think 3 years is a long time for Mozilla to ignore a bug.
Well, I'm surprised that when faced with a "Remember this decision" checkbox that doesn't REMEMBER THE DECISION they didn't just remove the checkbox. Checkboxes are just confusing to users and are a to Grumpy Cat.
-
-
@hardwaregeek said in The Official Status Thread:
@blakeyrat said in The Official Status Thread:
@jazzyjosh Yes and most versions of it aren't called "Vegas" anymore, either. AND YET everybody still calls it "Sony Vegas", because fuck all y'all.
If he had posted about MAGIX Movie Studio Platinum, it's likely nobody know would know what the hell he was talking about.
I wonder if that's the one MAGIX keeps bugging me to upgrade to. I bought a retail version of Magix Something-or-other — I dunno — maybe 15 years ago, or something, haven't touched it in 14, and they're still bugging me to upgrade to the latest version.
No, they're bugging me to upgrade to Movie Edit Pro 2018 Plus and Video Pro X9, not Studio Platinum. And it turns out it was only a little over 9 years ago. For the last several years, they've been sending junk mail a couple times a year. Since December, they've been spamming me every few days — twice in one day last week.
-
@magus said in The Official Status Thread:
if you removed NYC, Chicago, and... I dunno, maybe LA from the country,
Didn't you just remove half of the population or something? If I remove half of I can make all our statistics look good too. According to the Flemish nationalist movement that is exactly what should be done anyway.
-
@luhmann said in The Official Status Thread:
Didn't you just remove half of the population or something?
Not even close; just under 5%. NYC+Chicago+LA = 15.219 million (numbers from Google; I assume this is just the cities, not the metro areas, but the result didn't specify, and I didn't bother with more than the search result page). USA = 323.1 million.
Edit: I looked up the metro area numbers: The numbers are less precise — somewhat more than 52 million‚ which is a bit over 16% — still nowhere near half.
-
@hardwaregeek said in The Official Status Thread:
The numbers are less precise
Measuring the size of metro areas is hard because they don't really correspond too well with administrative areas (i.e., what the census collects).
I think it'd probably be best to split the figures between deaths relating to inter-gang warfare, “domestic incidents” and suicides, and all other killings. They have quite different characteristics from each other and it is the last group which one particularly hopes is low (yeah, the other two aren't great either, but they need different approaches to reduce). Of course, the official figures probably aren't split that way so there's lots of speculation involved…
-
Status: I found a new error message.
New to me, anyway.
-
Status: Dammit C#, why can't I
where T : Enum
There's a work-around but it's pretty nasty.
-
@heterodox said in The Official Status Thread:
when faced with a "Remember this decision" checkbox that doesn't REMEMBER THE DECISION
One of my biggest pet peeves is all the "Keep Me Logged In" checkboxes on the Internet that don't freaking work. Lately, it's been Amazon and I have to log in 2 - 3 times while making a purchase. Yet somehow the site remembers how to keep the "Keep Me Logged In" checkbox checked.
-
@ben_lubar said in The Official Status Thread:
Cool, you found a new symmetry violation! https://en.wikipedia.org/wiki/Symmetry_(physics)
-
@mott555 It's not a symmetry violation, it just means a light year is roughly 5.8 million miles
-
@jaloopa Which means that light can be overtaken by sound, which can do approximately 6.4 million miles per year in air (or could without dispersion)…
-
@heterodox Only three years?
Tell me, will Firefox still fail to bubble mousedown/mouseup events on disabled buttons or inputs? I watched that bug for something like 10 years before giving up on keeping track of it.
-
Status: I just keep loving Inbox more and more.
I sent an email to an account with a human name, and didn't get a response, so five days later it pins it and reminds me that I might want to follow up. Skynet, but a good skynet.
-
Status: Found in our code…
mapping_inputs = dict() if extra_mapping_inputs is not None: mapping_inputs.update(mapping_inputs)
Because adding the contents of an empty dictionary to itself is such a useful thing to do…
-
@anotherusername said in The Official Status Thread:
Status: I found a new error message.
New to me, anyway.
I get that trying to debug UE4 all the time. You need to recompile under the "Debug" configuration if you don't want that sweet sweet motivation. Not even going to fix that, thanks autocorrect.
-
@luhmann Sorry, I don't live in a tiny country where everyone just lives in the capital.
-
@lorne-kates said in The Official Status Thread:
"If you just remove the entire population, then we look pretty good."
I'm a Detroit native now living near Dallas. The bad neighborhoods here are safer than the average Detroit neighborhood. The houses don't even have bars on the doors and windows.
-
Went to Not Always Right to try and relieve some of the morning boredom at work before I had to start analyzing tickets and whatnot...when the hell did this "This is page #X you have viewed ads-free this week" shit start showing up?
-
@blakeyrat said in The Official Status Thread:
@heterodox Only three years?
Tell me, will Firefox still fail to bubble mousedown/mouseup events on disabled buttons or inputs? I watched that bug for something like 10 years before giving up on keeping track of it.
E_NOTABUG
It's possibly a case of undefined behavior, or could be argued that it's what the spec actually says. Disabled elements prevent click events from being dispatched on the element:
If you read about event dispatch, it means the event being created and initially fired -- so, something that prevents an event from being dispatched would occur before the event has a chance to bubble:
You could argue that it should skip the disabled element and instead dispatch the event on its parent (the spec doesn't say not to do this), but this is not ordinary behavior when firing an event. However, there is a simple, correct way to make the browser skip an element and dispatch click events on its parent instead:
pointer-events: none
.input[disabled] { pointer-events: none; }
tl;dr: problem + ^^ css = solution
Note, however, that the event's
target
won't be the disabled element, because disabled inputs are explicitly forbidden from receiving mouse events.
-
@tsaukpaetra said in The Official Status Thread:
@anotherusername said in The Official Status Thread:
Status: I found a new error message.
New to me, anyway.
I get that trying to debug UE4 all the time. You need to recompile under the "Debug" configuration if you don't want that sweet sweet motivation. Not even going to fix that, thanks autocorrect.
It was in the browser console, when trying to access a variable that I could see in the Scope panel while debugging.
-
Status: apparently my login info for the water heater (accessible only through "the cloud" in this case EcoNet) was cached by my Chrome Mobile from a year ago. Either that or they assume ownership based on IP now. Which would be more horrifying?
-
@anotherusername said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
@anotherusername said in The Official Status Thread:
Status: I found a new error message.
New to me, anyway.
I get that trying to debug UE4 all the time. You need to recompile under the "Debug" configuration if you don't want that sweet sweet motivation. Not even going to fix that, thanks autocorrect.
It was in the browser console, when trying to access a variable that I could see in the Scope panel while debugging.
Oh. Well, that's unique....
-
@tsaukpaetra said in The Official Status Thread:
Which would be more horrifying?
The most horrifying part is that you can log into your water heater.
-
@cursorkeys You can't use generics with enums in C#?
FAKEEDIT: Also you can't add methods to an enum in C#?
-
@jazzyjosh said in The Official Status Thread:
you can't add methods to an enum in C#?
If you could, in what way would they be different to classes?
-
@mott555 said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
Which would be more horrifying?
The most horrifying part is that you can log into your water heater.
Yeah, every now and then it starts to stop heating up to the right temperature of 125 degrees, so I have to turn it down to 110 and then back up again (there
iswas no "off" setting).It beats having to brave the wilderness that is "the shop" in order to do so manually.
-
@jaloopa In what way are they currently different from a single-field struct with explicit cast operators? Enums remain the only thing that Java did better.
-
@tsaukpaetra said in The Official Status Thread:
Yeah, every now and then it starts to stop heating up to the right temperature of 125 degrees, so I have to turn it down to 110 and then back up again (there iswas no "off" setting).
It beats having to brave the wilderness that is "the shop" in order to do so manually.If it wasn't an IoT piece of shit, you probably wouldn't need to do that
-
@jaloopa They have static Objects that are instances of the enum.
-> private constructor is enforced and it implicitly extends Enum<[Class name] extends Enum<[ClassName]>
-
This post is deleted!
-
A bigger of course is that new MyEnum() is syntactically valid C#
-
@dkf said in The Official Status Thread:
Measuring the size of metro areas is hard because they don't really correspond too well with administrative areas (i.e., what the census collects).
The census precisely defines metro areas based (I think) on the populous nearby counties. You are correct that whether the precise definition accurately reflects the actual population distribution (e.g., a town is included in the metro area because it's in a county that forms part of the region, but there is a sparsely populated area between it and the rest of the densely populated area) is an issue.
However, what I really meant is that the numbers I got from a quick glance at Wikipedia were vague: The X metro area has more than Y million people. Thus the "somewhat more than" wording in my post.
-
@jazzyjosh said in The Official Status Thread:
@cursorkeys You can't use generics with enums in C#?
You can, but you can't constrain the accepted type to Enum without tricks.
For some reason Microsoft have decided this is a WONTFIX
-
@antiquarian said in The Official Status Thread:
I'm a Detroit native now living near Dallas.
I'm so, so sorry.
-
@jazzyjosh Oddly, no. I mean, you can, but you can't write assemblies that produce methods of that sort in C#. Well, you can, but you have to install a syntax analyzer that disables the error. Since .NET supports it. But, for some reason the people who designed the language didn't want them in generics. No one knows why.
-
@anotherusername said in The Official Status Thread:
isabled elements prevent click events from being dispatched on the element:
Great; but
mousedown
andmouseup
events are notclick
events.In DOM-speke, the word "click" means "activate this control". For example, touching a button with a light pen is a "click". Tabbing to a radio and hitting Enter is a "click". Firefox already correctly does not dispatch (and bubble) click events on the element.
The bug is that it doesn't dispatch or bubble any mouse events on the element. This also means if an element is inside a disabled element, the event bubbling on it (for mouse events) will stop unexpectedly.
@anotherusername said in The Official Status Thread:
You could argue that it should skip the disabled element and instead dispatch the event on its parent (the spec doesn't say not to do this), but this is not ordinary behavior when firing an event.
The bigger issue is that you're conflating
mousedown
andmouseup
withclick
. They are entirely different events that have entirely different purposes.click
is just named awfully (natch; the W3C named it); it's not even a mouse event like the others. It's a form event.@anotherusername said in The Official Status Thread:
However, there is a simple, correct way to make the browser skip an element and dispatch click events on its parent instead: pointer-events: none.
Most of the time this bug was pissing me off, I had no control over the client's page. I was only able to install our heatmapping JS file. Which didn't work in Firefox, because it had all these random bald spots over disabled elements. Because of the fucking bug.
@anotherusername said in The Official Status Thread:
because disabled inputs are explicitly forbidden from receiving mouse events.
That's not true. They're explicitly forbidden from receiving
click
events, which as I've shown are not mouse events. (Yes, once more, whoever named the "activate a control" event "click" is a stupid retard who should be shot. You'll just have to cope with the terrible naming.)
-
@cursorkeys Yeah, what I meant to say is "You can't refer to enum as a generic type"
-
@jazzyjosh said in The Official Status Thread:
FAKEEDIT: Also you can't add methods to an enum in C#?
You can add extension methods to them, and really what other kind of method would make sense in that context?
-
@blakeyrat But not encapsulated in the enum itself. They have to be scoped (at least) one level higher.
-
@jazzyjosh Well ok. Again: what else would make sense?
If you don't actually want an enum, write a class with some static data in it.
-
@blakeyrat said in The Official Status Thread:
what else would make sense?
Methods contained within the enum?
-
@blakeyrat Nothing else, but I'm arguing that the method should be encapsulated inside the enum, not separate from its scope. Of course, good practice would be defining it in the same file, but that's still higher scope than it should be.
-
@jazzyjosh I disagree. In C#, a conscious decision was made to have enums be a dumb set of values and nothing else. Extension methods applying to them is just a side effect of extension methods working on things in general. Dumb values don't need methods. It doesn't make any sense at all for them to have any.
-
@magus Yes, but that just stems from the stupid assumption that enums should be a dumb set of integer values.
-
@hardwaregeek said in The Official Status Thread:
I'm so, so sorry.