The Official Status Thread
-
@Tsaukpaetra said in The Official Status Thread:
Status: Trying to catch exceptions in Unity is a fool's errand. Somehow it's catching it before I do, which is annoying because it cancels the whole CoRoutine thing instead of sending the exception to my
catch
and letting me handle it.FFS....
For example, the try-catch I have set up here never fires:
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Nope!
Actually, intentionally throwing in the affected function, even Visual Studio is convinced it's not being handled...
Such baloney.
Maybe I need to read up on how to try-catch a called function?
Quick question,
cb
is a delegate toSetIcon
, yes?If so, do you have a
null
guard onMediaRequest request
inSetIcon
?
-
@GOG said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Status: Trying to catch exceptions in Unity is a fool's errand. Somehow it's catching it before I do, which is annoying because it cancels the whole CoRoutine thing instead of sending the exception to my
catch
and letting me handle it.FFS....
For example, the try-catch I have set up here never fires:
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Nope!
Actually, intentionally throwing in the affected function, even Visual Studio is convinced it's not being handled...
Such baloney.
Maybe I need to read up on how to try-catch a called function?
Quick question,
cb
is a delegate toSetIcon
, yes?If so, do you have a
null
guard onMediaRequest request
inSetIcon
?Yes in this instance it is that delegate.
No, but that wasn't null in this case. What was null was the
ShellData.Instance.RootEvent
, in the original post anyways. Put a null check on that and fixed the immediate problem, but regardless the try-catch never happens.
-
@Tsaukpaetra Okay, next question: since this is, as I understand it, a callback delegate, am I correct in guessing that the calling code and the callback are on different threads?
-
@GOG said in The Official Status Thread:
@Tsaukpaetra Okay, next question: since this is, as I understand it, a callback delegate, am I correct in guessing that the calling code and the callback are on different threads?
They shouldn't be. At the very least, no attempt to thread has been made.
-
@Tsaukpaetra If not, why are you using a callback?
This very much looks like the exception being thrown in one thread (the one where
SetIcon
is), whilst the handling code is on a separate thread that's calling theSetIcon
thread back. That would explain why Unity is catching the exception before it gets to your handling code - it's never going to go to your handler at all.If you're using Unity mechanisms here, do make sure you aren't trying to throw across threads.
-
@Tsaukpaetra said in The Official Status Thread:
the CPU failsafe triggered and it should work again after cooking
As a hardware engineer, it is my professional opinion that cooking your CPU will probably not help. The effect will depend on the cooking method. Boiling or steaming will probably not do any (additional) damage, although they almost certainly will not result in any improvement, either. Microwaving is right out.
Edit: Joking aside, my son had a similar problem. Check that the CPU cooler is properly seated and gooped.
-
@GOG said in The Official Status Thread:
@Tsaukpaetra If not, why are you using a callback?
Not my code, but it's a generic(ish) downloader pump that does many things before eventually (possibly) returning the result in an async-style manner. Why does this necessarily imply threading?
This very much looks like the exception being thrown in one thread (the one where
SetIcon
is), whilst the handling code is on a separate thread that's calling theSetIcon
thread back. That would explain why Unity is catching the exception before it gets to your handling code - it's never going to go to your handler at all.If you're using Unity mechanisms here, do make sure you aren't trying to throw across threads.
I've been assured by many a Unity document that there are no accidental threads. Even coroutines, their hack to get around main thread blocking, does not use threads.
-
@HardwareGeek said in The Official Status Thread:
Check that the CPU cooler is properly seated and gooped.
I would if this machine was more user-serviceable. It's the Zotac z1080 (kinda) mini PC, all in one thing that is not conducive to disassembly. I'm sure I've been scoffed for it before...
-
Status: Goddamn Swedes...
-
@Tsaukpaetra said in The Official Status Thread:
It's the Zotac z1080 (kinda) mini PC, all in one thing that is not conducive to disassembly.
It appears to be assembled with screws, so it doesn't seem like it should be too difficult to disassemble. Almost anything can be disassembled with a sufficiently large hammer.
Also, I love that in a 3-sentence description of that computer, one sentence — 1/3 of the description — is devoted to the computer's programmable internal lighting.
-
@HardwareGeek said in The Official Status Thread:
is devoted to the computer's programmable internal lighting.
A feature I've never gotten to work correctly and wouldn't care anyways since it's inside a cubby behind myself so I can't see it.
@HardwareGeek said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
It's the Zotac z1080 (kinda) mini PC, all in one thing that is not conducive to disassembly.
It appears to be assembled with screws, so it doesn't seem like it should be too difficult to disassemble. Almost anything can be disassembled with a sufficiently large hammer.
Sure, but the goal is to restore functionality, hammers on electronics tend to reduce the probability of success.
And yeah, the screws are hand-mungable, but that only lets you access to the RAM and SSD slot, not anything else without much more screws and tongue twisting.
-
@Tsaukpaetra said in The Official Status Thread:
reduce the probability of success
Did you read the
abbr
text?
-
@HardwareGeek said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
reduce the probability of success
Did you read the
abbr
text?Yes.
-
Status: Holy mother of ${diety} how do you make it through a day without dying on account or forgetting to breathe. I realize fast food registers aren’t often laid out well, especially in the tablet touch screen days. But how can you not find the $6 meal deal burger after six tries? And just stand there like “what did you want?” instead of asking for help.
-
@Tsaukpaetra said in The Official Status Thread:
Unity
$deity damnit. Restarted Unity and all the sudden my breakpoint is hit.
Game engines, man...
-
Status: Dealing with Corsair's support staff for an issue with my current mouse.
Hey, my mouse is randomly missing left-clicks. I tried the "mouse reset" and the clean reinstall of the iCUE software already.
Reinstalling your device firmware may help. Attached is the firmware for your device.
Earlier firmware version for your mouse.
OK, let me install that version and give it a few days, see if the issue persists.
*couple of days later*
If that resolved your issue, please let me know.
OK, it is still happening, but less often.
I downgraded the firmware to what was attached, but it is still missing clicks, just not as often. Also, a previous issue that firmware updates fixed was the mouse is non-responsive after waking from hibernation.
We recommend doing a clean install of iCUE software.
Uh, as I said in my initial ticket, I already tried a clean reinstall and it didn't fix the problem.
OK, we'll start the RMA process since your mouse is still under warranty. Please give us your information, also, here's a firmware to try in the meantime.
Firmware for a different model of mouse.
Here's my address details. Also, the firmware you provided is obviously for a different mouse.
Sorry, please try this firmware instead.
Same firmware they gave me originally.
The file you gave me is the same as the one you gave me originally. Are you going to do a shipping label for this RMA or no?
I don't know how much longer this mail thread will go, considering it's 2 business days between responses from Corsair's support. My fallback mouse (another Corsair) has an issue as well but should hold me over until they replace my under-warranty mouse.
Though, to be fair, at least they're replying, unlike the times I was trying to get support regarding two different snack crates.
-
@ChaosTheEternal said in The Official Status Thread:
I don't know how much longer this mail thread will go, considering it's 2 business days between responses from Corsair's support.
Until the warranty runs out and the issue becomes OBE.
-
@heterodox said in The Official Status Thread:
Until the warranty runs out
Well, they've got a long way to go. It's a 2 year warranty for a mouse purchased on June 8, 2020.
-
@TimeBandit said in The Official Status Thread:
Status: I'm back, bitches
-
Status: Now I have to fight FuckEx. They said they delivered my Mario All Stars game Monday afternoon. Didn't see a FedEx truck all day so that was a lie. Two days later, it still hasn't arrived. What's so difficult about doing your fucking job delivering packages?
-
@Tsaukpaetra said in The Official Status Thread:
status: my primary PC unexpectedly and suddenly shut off, no blue screen or anything, and won't turn on again.
Historically this means the CPU failsafe triggered and it should work again after cooking, but it's been half an hour and no dice. I'll let it rest. If it's not overheat then one of the two power supplies may have just died...
Power supplies seem good.
Tester supply indicates a dead short on the primary port.
Uh oh...
-
@HardwareGeek said in The Official Status Thread:
Almost anything can be disassembled with a sufficiently large hammer.
Jigsaws for Real Men!
-
@izzion said in The Official Status Thread:
Holy mother of ${diety}
I was gonna make a quip about that, but it seems to fit the fast food topic quite well after all.
-
@Zenith said in The Official Status Thread:
Status: Now I have to fight FuckEx. They said they delivered my Mario All Stars game Monday afternoon. Didn't see a FedEx truck all day so that was a lie. Two days later, it still hasn't arrived. What's so difficult about doing your fucking job delivering packages?
And that's why I bought the game on the Nintendo eShop. The choice between limited supply, scalpers and delivery issues vs having the game fully downloaded ahead of release just to press play when the magical time struck made it an easy choice. (Also, physical media in this day and age is just a pointless hassle imo.)
-
Status: Quarantined.
Threat detected: Trojan:Script/Wacatac.B!ml
Oh,
, Tennic. It writes alternate streams to itself and others. Get better signatures or get out of the fucking way, best before I go full :@levicki: on your shit
-
@Atazhaia said in The Official Status Thread:
Also, physical media in this day and age is just a pointless hassle imo
Can you sell the download?
-
@topspin I don't plan on selling my games anyway, so to me that's a moot point.
-
@topspin Better question is what to do when the Switch you downloaded it to craps out. I still have a working NES (and SuperNES and GameCube and...) that I play on occasion.
Edit: If Nintendo could manage to keep the same eShop up over time, it would be different, but they haven't.
-
Status: Had to call FedEx twice. The first time, it did that trick where it "rings" like it's connecting you to another department except the call is as good as dropped because it did everything but close the socket. The second time, I had to talk to somebody from everybody's favorite source of cholera. He did not understand why I wanted to open a claim. "But it says it was delivered at 1:42 PM." And I tell you I was out looking for it within five minutes of this supposed delivery. If I don't have large boxes of toys or electronics stolen, I probably didn't have a tiny padded envelope stolen. It's been three days and nobody's been back to actually deliver something they marked delivered on Monday. Come on, if you're going to cheat with scanning to make your metrics look good, at least make the delivery!
Having the other Super Mario game delivered to my parents' house so hopefully a different driver doesn't fuck that up...
-
@heterodox said in The Official Status Thread:
@ChaosTheEternal said in The Official Status Thread:
I don't know how much longer this mail thread will go, considering it's 2 business days between responses from Corsair's support.
Until the warranty runs out and the issue becomes OBE.
In the meantime, the Corsair people are LOLing "get this, he's trying to fix a mouse! just toss it and buy a new one!"
-
New TV arrives tomorrow. I needed to upgrade for PS5.
-
-
@error said in The Official Status Thread:
New TV arrives tomorrow. I needed to upgrade for PS5.
MFW the link I post to my yet-to-arrive TV shows a price $100 lower than I paid.
-
-
There's no feeling like getting caught in the middle of a murder and convincing everyone the witness did it.
In um. A video game. Yeah, that's it.
-
Of the ways I've injured myself, using my thumbs to play imaginary drums is among the dumbest.
-
Status: Summon Alexander prog*
*Once. With like 2 people alive. But by PF standards it counts.
-
Guy on my team has a task to generate a CSV file. I have a task to transform that CSV file into a proprietary format for the system to consume. He emails me an
xlsx
file. I reply, saying the requirements say to generate acsv
file. He replies with a tutorial on how to export CSV from Excel.
-
@error said in The Official Status Thread:
It's officially taken almost 6 weeks to get rid of
display: none
in a stylesheet.Now it's nowhere to be seen?
-
@error said in The Official Status Thread:
He replies with a tutorial on how to export CSV from Excel.
Yesterday I played around with Open XML SDK to see how to extract data from Excel into a DataTable.
Apparently "it's easier to get an .xlsx than a .csv" from the external data source we will need to integrate with.
Also it's happened enough times that I've had to export a .csv from a .xlsx before writing aone-off
data mangling script†, so it's a good thing to add to my C# toolbelt I guess...
† They are one-off in the sense that the format of the data and the mangling to be done are never exactly the same.
-
@Zecc said in The Official Status Thread:
Yesterday I played around with Open XML SDK to see how to extract data from Excel into a DataTable.
When I had to do something similar, I was glad to use some ready made library from Nuget.
However, I was not so lucky when it came to dealing with Word docs, as there wasn't anything that quite did the needful, so I had to deal with finding
Run
s insideText
insideParagraph
or whatever, and had to be careful when generating the initial template, or else various metadata elements would sneak in there. Things like spellcheck underlines, review comments, the saved position of thecursor, etc.
-
@Zecc said in The Official Status Thread:
Yesterday I played around with Open XML SDK to see how to extract data from Excel into a DataTable.
-
This post is deleted!
-
@Zecc said in The Official Status Thread:
@error said in The Official Status Thread:
He replies with a tutorial on how to export CSV from Excel.
Yesterday I played around with Open XML SDK to see how to extract data from Excel into a DataTable.
Apparently "it's easier to get an .xlsx than a .csv" from the external data source we will need to integrate with.
Also it's happened enough times that I've had to export a .csv from a .xlsx before writing aone-off
data mangling script†, so it's a good thing to add to my C# toolbelt I guess...
† They are one-off in the sense that the format of the data and the mangling to be done are never exactly the same.
Wow, do you work for WTFCorp too?
Also, thank you for reminding me that I can use any tool I want to generate this file. For whatever reason I was thinking I'd have to do it in Java (since the consumer is Java).
-
@Zenith said in The Official Status Thread:
OLE
The API based on launching a hidden instance of the application and passing window messages back and forth to it?
I expect nothing less from you.
-
@error said in The Official Status Thread:
@Zenith said in The Official Status Thread:
OLE
The API based on launching a hidden instance of the application and passing window messages back and forth to it?
I expect nothing less from you.
By all means, spin up a Node.js instance inside your browser with a few leftpad-dependent microservices if that floats your boat.
-
@Zenith said in The Official Status Thread:
@Zecc said in The Official Status Thread:
Yesterday I played around with Open XML SDK to see how to extract data from Excel into a DataTable.
Maybe, but I'm guessing it requires Office to be installed.
-
@Zecc The drivers are available as separate downloads. It might actually work better without Office since it might not jump through the stupid "LOL am I 32-bit or 64-bit I don't know!?" dance that O365 components like to do these days.
Source: I was using it to combine multiple ServiceHow exports into a datatable to eventually export as a single halfway-usable spreadsheet.
Edit: But if you can get the open XML way to work, go ahead and use that. I just like to offer alternatives unlike jackasses on StackOverflow that think jQuery is the end-all-be-all solution to everything.
-
Status: Stalled waiting for my Tech Lead to get out of his interminable meetings and meet with me instead to figure out which of several possible paths forward we should propose to Product to fix a particular issue. The issue is simple. Non-unique file paths for uploaded files make for some very stomped-on files. The fix is one of a few simple things. But which one fits the architecture better is a judgement I'm not qualified to make alone. Especially since it will have knock-on effects for user experience and for the architecture of the rest of the ecosystem.
-
status: you know, I had forgotten that I installed multi-boot on one of my previous phones....
It barely recognizes my face....