WTF Bites
-
@Mason_Wheeler said in WTF Bites:
@Benjamin-Hall said in WTF Bites:
"modern" windows development in C#
the program's bundleI think he's talking about AppX? Maybe?
-
-
@Tsaukpaetra said in WTF Bites:
@Benjamin-Hall said in WTF Bites:
powershell
Say it with me: PowerShell is not C#.
But (naively, probably), I would expect that whatever PowerShell accepts as a valid absolute path string, C# would also accept. Or is it more than I imagine? And I didn't want to write the code to actually try it straight in C#. But either way, I certainly got a path separator after the
C:
(that others were saying they didn't.
-
@Benjamin-Hall said in WTF Bites:
But either way, I certainly got a path separator after the
C:
(that others were saying they didn't.Exactly. 'cuz it's not real C#.
-
Browsershots
Apparently we're an adult or gambling site:
@error_bot !roulette $50 black
-
@error_bot !roulette $50 black
If @error_bot had DB write access, we could gamble our internetpointzzz.
-
@error_bot !roulette $50 black
If @error_bot had DB write access, we could gamble our internetpointzzz.
No need, it could track its own internetzpoint$ apart from the forum's.
Give a point for every correct (or at least, non-wrong) guess in Hangman, for example.
-
@Tsaukpaetra said in WTF Bites:
@error_bot !roulette $50 black
If @error_bot had DB write access, we could gamble our internetpointzzz.
No need, it could track its own internetzpoint$ apart from the forum's.
But that'd be less fun if you can't gamble your Tsaukpaetra upvotes / Mason downvotes on it for more.
-
@Tsaukpaetra said in WTF Bites:
@error_bot !roulette $50 black
If @error_bot had DB write access, we could gamble our internetpointzzz.
No need, it could track its own internetzpoint$ apart from the forum's.
But that'd be less fun if you can't gamble your Tsaukpaetra upvotes / Mason downvotes on it for more.
Aren't notifications about that sent over the websocket? Granted, you would have to fudge things not received before starting to listen, but it could work...
-
-
-
@levicki The question is really: Can you get a perfectly calibrated chair and DP cable such that it blanks the screens whenever one reaches or exceeds a predefined weight? Kinda like a early-warning system for when one's weight is on the increase (again).
-
@levicki said in WTF Bites:
@r10pez10 How heavy a chair user has to be to generate this EM spike?!?
Not very. Enough for perhaps half an inch of piston reflex I'd propose.
-
@levicki The question is really: Can you get a perfectly calibrated chair and DP cable such that it blanks the screens whenever one reaches or exceeds a predefined weight? Kinda like a early-warning system for when one's weight is on the increase (again).
Kickfarter ideas thread is
-
@Tsaukpaetra no, that code was straight c#. I then put the path (hand typing it) into PS to test. But the output with the \ was from the c# (net core 3) code I ran in VS2019.
-
I have the same issue. Except instead of the screen, it occurs on a USB device (it disconnects then reconnects, with associated Windows sounds).
-
The police national computer error, revealed in the minutes of a meeting at the criminal records office, went undetected for five years, during which one in three alerts on offenders – potentially including murderers and rapists – were not sent to EU member states.
Authorities in EU countries were not informed of the crimes committed, the sentences given to their nationals by UK courts or the risk the convicted criminals posed to the public.
Such is the scale of the scandal that the Home Office initially chose to conceal the embarrassing failure from EU partners.
Minutes of an ACRO criminal records meeting last May – deleted from the ACRO website after the Guardian story was first published – state: “There is a nervousness from Home Office around sending the historical notifications out dating back to 2012 due to the reputational impact this could have.”
Waiting for the "We believe that a small amount of data may have been processed incorrectly during a short period of time" PR statement...
-
@levicki that's all I can think. And for actually testing it on net framework.
-
Well, Garmin pulled a stupid. It wants to upgrade from 6.19.3 to 6.19.4. That fails. I go and look in the logs (
%TEMP%
).[3614:35D8][2020-01-15T07:34:05]i301: Applying execute package: vc_redist.x86.exe, action: Install, path: C:\ProgramData\Package Cache\AA56B7FE64E957FBA2A6BDC65ABBAA47438EC620\vc_redist.x86.exe, arguments: '"C:\ProgramData\Package Cache\AA56B7FE64E957FBA2A6BDC65ABBAA47438EC620\vc_redist.x86.exe" /install /quiet /norestart' [3614:35D8][2020-01-15T07:34:05]e000: Error 0x80070666: Process returned error: 0x666 ... [1854:0F98][2020-01-15T07:34:05]i000: Message: Garmin Express could not be installed on this computer. Try installing again.
What is 0x666? "Another version of this product is already installed." Yes, the version on my machine is newer than that they're trying to install.
edit: We'll see what they have to say... I submitted an email via their contact-us page...
-
@levicki said in WTF Bites:
0x666
The real question is -- does the Devil know HEX?
I rather like that error code for that error! Seems very appropriate.
-
Um, actually that would be 0x29A.
-
More VMware WTFs, who'd've thought
This time it's copy pasting from guest to host. If I copy some trivially small piece of text, like the letter "f", it pastes in the host just fine. If I copy the result of a query in a database and paste it into Excel, that works too. But for some reason, if I copy ~250k lines of text from a log file (which used to work several versions ago), it doesn't work. Maybe there's some setting that used to have a sensible default but now doesn't?
-
-
-
@hungrier Maybe some weird size limit? (I stopped using VMware. Just using Hyper-V since it doesn't cost me anything additional. Well, except sanity. But that ship has sailed...)
-
Maybe some weird size limit?
I think it must be that, but I also think that the Excel example I was talking about could easily be larger than the log file contents I was trying to copy. I'll see if there's some VM setting or something like that.
-
Maybe some weird size limit?
I think it must be that, but I also think that the Excel example I was talking about could easily be larger than the log file contents I was trying to copy. I'll see if there's some VM setting or something like that.
Another thing to check - did it actually copy (in the VM)? Maybe that failed - hence the host had nothing.
-
@dcon It did, I made sure to paste it back in the guest. And it also overwrote the previous thing that I pasted in the host, so it's clear that it's doing something
-
It seems the limit is ~52000 lines, variable length, from this log file, which works out to about 4 MB. If that's the limit then it's way lower than whatever it was in previous versions, where I could paste arbitrarily large text
-
@hungrier :welp:
Copying and pasting plain text and formatted text (including the formatting) is restricted to amounts less than 4MB.
-
Excel
Excel. Destroying data (and lives) in the name of "being helpful" since 1985.
-
We'll see what they have to say... I submitted an email via their contact-us page...
Wow. A quick response! (well, "we need all this additional info...")
-
-
@Zerosquare yeah saw that this morning and..... confidence inspiring that is not..... not at all....
private equity buying .org with debt? that's exactly what happened to toys-r-us, and hundreds of other companies before.
bought with debt, immediately had the debt transferred into their name from the private equity firm, run into the ground trying to service the debt they were in no way set up to handle while also having the private equity firm suck as much cash from the company as possible, until the dried and desiccated corpse of the company collapses into bankruptcy and is sold off at a massive loss by the private equity firm (claiming the loss as a tax break)
..... and now it's happening to one of our TLDs....... yay?
-
This may explain the random restarts I get on my home monitors from time to time
-
-
@Zerosquare said in WTF Bites:
I have the same issue. Except instead of the screen, it occurs on a USB device (it disconnects then reconnects, with associated Windows sounds).
My screen does that sometimes when I turn on the electric heater.
I just tried it a few times. The screen didn't turn off, but the mouse somehow does, every time. And the optical sensor light stays off for a whole 4 seconds before it reconnects.
-
I just had a really unfun experience. My primary monitor is 1080p 100% scaling, secondary monitor is 4k 200% scaling. If you have a maximized window on the secondary monitor, and you also maximize MS Paint above it, and you move your mouse to the very top right corner of the screen to close MS Paint, well, MS Paint isn't designed with DPI scaling in mind even when maximized, so your click will go right through the one-pixel gap on the right side and close the window behind it instead and absolutely infuriate you. You even get a flash of the window you closed for a brief moment before it's just gone. Well, it infuriated me. So much so that after I had restored said window, I went to go angrily close MS Paint finally. And it happened again. I HATE THIS.
-
I went to go angrily close MS Paint finally. And it happened again.
ALT-F4 is your friend
-
@TimeBandit said in WTF Bites:
I went to go angrily close MS Paint finally. And it happened again.
ALT-F4 is your friend
But touch targets!
-
@TimeBandit said in WTF Bites:
I went to go angrily close MS Paint finally. And it happened again.
ALT-F4 is your friend
But not when the window isn't in focus. My options are either slowly alt-tabbing and making sure I focus the right window (not always clear with multiple monitors) and then using the alt-F4 shortcut, or I can quickly flick my mouse and guarantee the window closes whether it's focused or not. The latter has proven more efficient in my experience.
-
Just spent 2+ hours trying to figure out why the whole screen would turn blue in Mobile Chrome whenever I made a move in my Reversi game.
It turns out it's a vendor-specific CSS bullshit "feature" that you have to opt-out of, that's automatically engaged whenever an element has a
cursor: pointer
style.So, my game put cursor: pointer, but only a mousemove event over a valid square. Why's that firing on a mobile browser? Apparently, it just fires whenever you touch the screen. But, the next time you move your mouse, that move isn't valid any more, so it should revert to pointer: default. Except, after the touch, the move event doesn't fire again, so it thinks you're still hovering, forever, in the same place, and it doesn't make the isValid check again.
What the fuck? I couldn't even figure out the right keywords to Google for this fucking bizarre, non-standard behavior, until futzing around with the remote debugger I randomly (i.e., by systematically trying literally EVERYTHING) toggled off the
cursor
style and noticed that it "fixed" the "bug." Only once I had discovered that unintuitive correlation could I craft the right Google query.
-
@levicki said in WTF Bites:
0x666
The real question is -- does the Devil know HEX?
The error code of the beast!
-
bought with debt, immediately had the debt transferred into their name from the private equity firm, run into the ground trying to service the debt they were in no way set up to handle while also having the private equity firm suck as much cash from the company as possible, until the dried and desiccated corpse of the company collapses into bankruptcy and is sold off at a massive loss by the private equity firm (claiming the loss as a tax break)
The modern way to do money laundering!
-
Seen near the start of one of our build scripts…
if [ "$3" = "" ]; then cd ../../../.. fi
The optional argument 3 is some file, and if it does not exist it will change directory from one random place to another where it will be looking for it. Great thing if you need to find why the build broke and run the step manually.
-
@levicki
-
I started another take on this joke, but I beheld what my creation was becoming and I figured I'd just stop.
Filed under: the horror
-
@Zecc
needs more pixalation
-
@TimeBandit said in WTF Bites:
I went to go angrily close MS Paint finally. And it happened again.
ALT-F4 is your friend
But not when the window isn't in focus. My options are either slowly alt-tabbing and making sure I focus the right window (not always clear with multiple monitors) and then using the alt-F4 shortcut, or I can quickly flick my mouse and guarantee the window closes whether it's focused or not. The latter has proven more efficient in my experience.
I often right click on a program's entry on the task bar and use the context menu to close it. Especially when, for instance, I've got a zillion things open and I don't need those file managers any more.
-
Only once I had discovered that unintuitive correlation could I craft the right Google query.
The old joke about the mechanic: $500 for knowing which bolt to tighten.