The Official Status Thread
-
I've been reading the specification for the ELF format and it's just a mess.
-
@anonymous234 I've once tried to read the USB specification.
-
Status: Was at a dentist today, having made the appointment two months ago, and for nothing. I had such unrelenting dry retch they couldn't even try the lidocaine spray. As if that spectacle wasn't enough, I then made a mess of the liquid sedative they gave me. They said it's all neurosis, fear of the chair, anxiety, cancelled my hygienist appointment and recommended I see my GP about it. I'm not convinced there isn't some unholy stupid complication that has appeared (at the most inopportune moment, of course) to torment me.
Fucking hell... goddamn this weak and feeble walking bag of shit and bones
-
@Gąska said in The Official Status Thread:
@anonymous234 I've once tried to read the USB specification.
Imagine having to implement it.
I really don't miss that period of my life.
-
Status: 503-line stack trace from a "passing" test. Four of the lines identify the function the execution was in (e.g.,
<64-bit address> in wait() from /lib64/libc.so.6
). Three contain mangled or obfuscated function names. 496 consist entirely of<64-bit address> in ??()
.
-
Status: The cafeteria and a couple of other places around campus use an app to crowdsource their DJing. Request songs and upboat songs you want to hear. Does the app validate email addresses? It does not. Fifty upboats later I am listening to the music I want to listen to.
e: And this bypasses your stupid microtransactions too. Get fucked.
-
Status: I am feeling evil today. I turned this:
if (StartingSlot == 0) { UpdatePageUpVisibility(ESlateVisibility::Hidden); } else { UpdatePageUpVisibility(ESlateVisibility::Visible); } if (StartingSlot + Entries.Num() >= ItemCount) { UpdatePageDownVisibility(ESlateVisibility::Hidden); } else { UpdatePageDownVisibility(ESlateVisibility::Visible); }
into this:
UpdateInventoryScrollbuttonVisibility(StartingSlot == 0 ? ESlateVisibility::Hidden : ESlateVisibility::Visible , StartingSlot + Entries.Num() >= ItemCount ? ESlateVisibility::Hidden : ESlateVisibility::Visible );
Is this evil or simply naughty?
-
@Tsaukpaetra Do you have a sausage grinder nearby?
-
@Gribnit said in The Official Status Thread:
@Tsaukpaetra Do you have a sausage grinder nearby?
...... no?
I'm not that hungry yet anyways, try me again in an hour...
-
Status: Was getting annoyed at the random occasional Windows' "Device inserted" chime that happens on occasion for no apparent reason. So I've been running USBLogView to see what it is.
WTF is a "MSP430 USB HID Bootstrap Loader"? Apparently it's a programmable thingy. http://www.ti.com/lit/an/slaa452c/slaa452c.pdf
No, what is it, really?
Well that's dandy.
I can only assume it's the fancy power button LED controller that doesn't work if the graphics driver is installed....
-
@Tsaukpaetra: one of your devices can have its firmware upgraded thru USB, and for some reason, it's switching to upgrade mode. Either it has a physical switch that's being toggled somehow, it is sensitive to static electricity (does it happen when you roll your chair or stand up/sit down?), or it's a plain old bug.
"MSP430" won't help you ; it's a generic microcontroller, plenty of devices may use that internally.
-
@Zerosquare said in The Official Status Thread:
it's a plain old bug.
I'm willing to bet that the firmware is corrupted. Nothing of import is happening, though there's definitely a ground loop failure somewhere in the audio circuits for the front panel jacks that I think is the reason for some of the rather loud pops... Er, unrelated.
-
@pie_flavor I really want to figure out how to automate this so it immediately switches to my playlist when I go to lunch and auto-confirms songs.
-
@pie_flavor said in The Official Status Thread:
how to automate this
It is using simple Ajax requests or something more esoteric? Should be easy enough to splat a
batchPowerShell script with a bunch ofwgetInvoke-WebRequest commands...
-
@Tsaukpaetra if only I actually was able to wireshark a phone. There was an app that used to work, but the certificate it injects has since expired.
-
Status: spider on my desk; spider on my keyboard. Spider probes my finger but walks around to the underside of the table.
I should get a snake or lizards or something.
-
@kazitor snakes are cute, and easy to take care of (feed them once a week), and it is very relaxing to have one around your neck.
-
Status:
Fatal error: UNKNOWN_POWER_ERROR
That's a new one. Like telekinesis? Or just that the debug lead is failing, again.
-
@kazitor said in The Official Status Thread:
I should get a snake or lizards or something.
Or a cat, they love spiders too. Mine pats them until all the legs fall off, then he eats them with every sign of enjoyment
-
@Cursorkeys No, the spider doesn't bother me. The way it probed my finger just reminded me that I should get a pet of some sort. And snakes are, as @pie_flavor said, rather cute indeed.
-
@pie_flavor said in The Official Status Thread:
@pie_flavor I really want to figure out how to automate this so it immediately switches to my playlist when I go to lunch and auto-confirms songs.
The upboating part? Sounds like you've already automated that.
Or the "start this when I walk in part"? The required GPS fencing etc. might be fun, but considering you save one click it probably doesn't pass the threshold.
-
@pie_flavor said in The Official Status Thread:
if only I actually was able to wireshark a phone
Easy enough. Set up your capture machine in hosted AP mode to act as the middleman, connect your phone to it and the laptop to whatever.
But is this thing really only accessible via mobile App?
-
Status: holy shit! My work computer has been logged into my personal Microsoft account, probably for months. Where I keep all my personal stuff in my OneDrive. This could have been very embarrassing.
WTF was my past self thinking?
-
-
@anonymous234 said in The Official Status Thread:
Status: holy shit! My work computer has been logged into my personal Microsoft account, probably for months. Where I keep all my personal stuff in my OneDrive. This could have been very embarrassing.
WTF was my past self thinking?
I had an incident last week where I was logged into my WORK google drive account with someone looking over my shoulder and my brain entered slow motion panic mode as I read the name of a spreadsheet.
"BDSM..." Shit, I'd been editing a spreadsheet called that last night, but I made extra sure it was in my personal account shitshit wtf ctrl-f5
Upon closer examination later, it was actually a WtfCorp acronym that is 4 letters, starts with B and ends with M.
-
@Weng said in The Official Status Thread:
Upon closer examination later, it was actually a WtfCorp acronym that is 4 letters, starts with B and ends with M.
BSDM?
-
@Weng said in The Official Status Thread:
"BDSM..." Shit, I'd been editing a spreadsheet called that last night
I know Excel is used for a lot of things, but I would have never tought someone would use it for that
-
@pie_flavor said in The Official Status Thread:
@kazitor snakes are cute, and easy to take care of (feed them once a week), and it is very relaxing to have one around your neck.
-
@TimeBandit said in The Official Status Thread:
I would have never tought someone would use it for that
oh innocent one, you have not truly seen excel then
-
@Luhmann BDXLSM?
-
-
@topspin said in The Official Status Thread:
going with the full stack of leaning-tower-of-JS- by using it in combination with Atom
Fuck Electron.
-
Status: How in all balls does:
mov.w w4, [w0]
Cause an address error
Edit: Oh, of course. Nothing prevents W0 from holding an invalid address. This doesn't exactly help though.
-
Damn. Apparently the work firewall did indeed get updated to block Discord, since this is several days in a row now I can't access it while in the office.
-
@e4tmyl33t said in The Official Status Thread:
he work firewall did indeed get updated to block Discord
VPN or SSH-portforward is your friend
-
@Cursorkeys said in The Official Status Thread:
Status: How in all balls does:
mov.w w4, [w0]
Cause an address error
Edit: Oh, of course. Nothing prevents W0 from holding an invalid address. This doesn't exactly help though.
This doesn't make any sense at all, this explodes when
sscanf
finds a hit:uint8_t context_status; sscanf(response, "#SGACT: %*d,%hhu", &context_status);
This does not:
unsigned int context_status; sscanf(response, "#SGACT: %*d,%d", &context_status);
AFAICT,
%hhu
is the correct format specifier for an unsigned 8-bit wide result. The compiler certainly doesn't complain.unsigned int
it is I guess, even though the result is only 0 to 8;
-
@Cursorkeys Your sscanf expects three arguments (
int, int*, char*
andint, int*, int*
respectively) but you are only passing one argument in both cases.
-
@PleegWat said in The Official Status Thread:
@Cursorkeys Your sscanf expects three arguments (
int, int*, char*
andint, int*, int*
respectively) but you are only passing one argument in both cases.Sorry if I'm being dense, but do you mean for the variadic part?
The format statement
"#SGACT: %*d,%hhu"
only has two possible result assignments and one has the assignment-suppression operator in it, so it should only be expecting one argument for the result?
-
@Cursorkeys Hm, I don't ever use scanf. Are you saying
*
does something completely different in scanf than in printf?
-
@PleegWat said in The Official Status Thread:
@Cursorkeys Hm, I don't ever use scanf. Are you saying
*
does something completely different in scanf than in printf?My documentation says:
%[*][width][modifier]type
* indicates assignment suppression. This will cause the specific input field format-specifier to be skipped and no assignment made.I don't know if that's a normal feature, this is a very platform.
-
@Cursorkeys Nah, it's in my linux manpage too.
In printf,
*
indicates an extra variadic argument indicating field width, which may make sense in scanf to communicate buffer sizes. But (at least in my manpage) there's no such thing for scanf; you need to put the buffer size in the string directly or use them
flag to have scanf allocate dynamic buffers.
-
@Cursorkeys said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
@Cursorkeys Hm, I don't ever use scanf. Are you saying
*
does something completely different in scanf than in printf?I don't know if that's a normal feature, this is a very platform.
Did you check if it also supports that
hhu
nonsense?
I mean, even if you like micro-optimizations, those extra 3 bytes you save for a local variable you pay for in the format string.
-
@pie_flavor if that's the show adapted from those books I read last year, I can see why you'd want to. Though it's the characters more than the plot that made that story something I'd rather not remember.
-
@topspin said in The Official Status Thread:
@Cursorkeys said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
@Cursorkeys Hm, I don't ever use scanf. Are you saying
*
does something completely different in scanf than in printf?
I don't know if that's a normal feature, this is a very platform.Did you check if it also supports that
hhu
nonsense?
I mean, even if you like micro-optimizations, those extra 3 bytes you save for a local variable you pay for in the format string.It's a listed option, but maybe it just doesn't work.
I've run out of memory on this part, so I am having to give things a squeeze. But as it's local and the stack is already sized for the largest function you're right, it should make no difference.
It actually seems to use a tad more program memory than just the extra bytes in the format string:unsigned int
uint8_t
-
@Cursorkeys said in The Official Status Thread:
@topspin said in The Official Status Thread:
@Cursorkeys said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
@Cursorkeys Hm, I don't ever use scanf. Are you saying
*
does something completely different in scanf than in printf?
I don't know if that's a normal feature, this is a very platform.Did you check if it also supports that
hhu
nonsense?
I mean, even if you like micro-optimizations, those extra 3 bytes you save for a local variable you pay for in the format string.It's a listed option, but maybe it just doesn't work.
It seems to be C89 vintage (if I read the man page correctly), but you said it’s a system, so who knows.
-
@TimeBandit said in The Official Status Thread:
@e4tmyl33t said in The Official Status Thread:
he work firewall did indeed get updated to block Discord
VPN or SSH-portforward is your friend
At school I'm supposed to maintain some websites. As those reside on a server outside the school I rather want SSH access to said servers. We have two networks: One semi-public one (anyone with a school account can login through a captive portal) and an internal one I have access to due to said maintenance role. The semi-public one is locked down tight and really only allows HTTP(S) to the outside, doesn't allow clients to connect to each other and similar. The internal one is a bit more relaxed.
Both have to go through the firewall, however. So I asked our IT-team to allow me to SSH to the outside. A week later I get the email: "SSH works now!"
Well, it doesn't for me. Hmmh. Wait...
Long story short: They opened SSH for the semi-public network, not the internal one.
-
@TimeBandit said in The Official Status Thread:
@Weng said in The Official Status Thread:
"BDSM..." Shit, I'd been editing a spreadsheet called that last night
I know Excel is used for a lot of things, but I would have never tought someone would use it for that
Think "inventory of interests".
And "inventory of equipment".
-
@Cursorkeys said in The Official Status Thread:
I've run out of memory on this part, so I am having to give things a squeeze.
Write your own integer-parsing function. It will certainly be smaller than whatever code is in the Microchip libc implementation, and as a bonus, it may actually work fine.
-
Very funny Google. Very funny.
Yes, that is technically correct.
It's not as though if I wanted one specific subgroup of theropod dinosaurs I would have searched for it explicitly. It's not like there are any non-avian theropods we have reasonable age data on. (Nineteen birds and T. rex, that I could appreciate.)
-
@topspin said in The Official Status Thread:
@pie_flavor said in The Official Status Thread:
@pie_flavor I really want to figure out how to automate this so it immediately switches to my playlist when I go to lunch and auto-confirms songs.
The upboating part? Sounds like you've already automated that.
Or the "start this when I walk in part"? The required GPS fencing etc. might be fun, but considering you save one click it probably doesn't pass the threshold.I have not. I go to each app clone and upboat the song manually.