The Official Status Thread
-
Status: Windows 10's multi-desktop feature is kinda nice. Kinda wish I could name them though...
-
@Tsaukpaetra what stops you? They stay in the same order, you can call the left one Mark and the right one Judy.
-
@Gąska said in The Official Status Thread:
@Tsaukpaetra what stops you? They stay in the same order, you can call the left one Mark and the right one Judy.
I am a forgetful and terrestrial FastDisk point useful refreshment internal. Single think of will with behaviour to match the backs that kids with such a task?
But overall I'm just lazy.
-
Status: some arsehole keeps crossing days off the whiteboard calendar before they're over. As in, the moment the day has started.
I've taken to some slight vigilantism: meticulously erasing the mark with my finger while avoiding running over whatever lays underneath. Yet just the other day, I'd done that and came back later to find someone had put the cross back, while the thing written there had clearly not yet happened.
-
@Tsaukpaetra said in The Official Status Thread:
@Gąska said in The Official Status Thread:
@Tsaukpaetra what stops you? They stay in the same order, you can call the left one Mark and the right one Judy.
I am a forgetful and terrestrial FastDisk point useful refreshment internal. Single think of will with behaviour to match the backs that kids with such a task?
@Gribnit is that you?
-
@Gąska said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Gąska said in The Official Status Thread:
@Tsaukpaetra what stops you? They stay in the same order, you can call the left one Mark and the right one Judy.
I am a forgetful and terrestrial FastDisk point useful refreshment internal. Single think of will with behaviour to match the backs that kids with such a task?
@Gribnit is that you?
Sorry sorry having throttles listen the autocorrect. Conditionality will be restored eminently.
In the meantime! How about a nice whoops stuck for the mealtimes?
-
@kazitor said in The Official Status Thread:
Status: some arsehole keeps crossing days off the whiteboard calendar before they're over. As in, the moment the day has started.
AFAIK in some cultures, days are crossed off when the day starts - maybe they're just not aware that they're doing something wrong, and a simple talk/post-it note will be enough.
Alternatively, you might want to stop crossing out days at all and instead invest in a huge ass calendar cursor - something like this, but bigger:
-
So apparently, some guy in our Bitbucket organization had an amazing idea to register under username "Param". I don't feel sorry for accidentally pinging him when writing some Javadoc tags in PR comment.
-
@Tsaukpaetra said in The Official Status Thread:
overall I'm just lazy
I was going to post that in the QOOC thread… but it's in context for everywhere here that @boomzilla clones are to be found…
-
-
@dkf said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
overall I'm just lazy
I was going to post that in the QOOC thread… but
it's in context for everywhere here that @boomzilla clones are to be found…I'm just lazy
-
Status: It's so cute! But probably too noisy to leave in the
bedroomserver room...
-
@Tsaukpaetra
But is it delivered bug-installed?
-
@Luhmann said in The Official Status Thread:
@Tsaukpaetra
But is it delivered bug-installed?Probably. The fan noise is there to cover up the transmissions.
-
Status: Just take the high bits and stick them up your ass! </tenacious_d>
byte Checksum; Checksum += 36; Checksum += 10061;
Cannot be converted to 'byte'
Fair enough, I'll let you know I'm cool with truncation
byte Checksum; Checksum += 36; Checksum += (byte)10061;
Cannot be converted to 'byte', use 'unchecked' syntax to override
FFS...
byte Checksum; Checksum += 36; Checksum += unchecked((byte)10061);
And then, because
unchecked
sounds scary, I just went with:Checksum += (10061 & 0xFF);
Everything always seems to truncate when you don't want it, but the second you do...
-
@Tsaukpaetra said in The Official Status Thread:
I am a forgetful and terrestrial FastDisk point useful refreshment internal. Single think of will with behaviour to match the backs that kids with such a task?
Interior crocodile alligator, I drive a Chevrolet movie theater.
-
@Cursorkeys said in The Official Status Thread:
Cannot be converted to 'byte', use 'unchecked' syntax to override
But only for literals and constants, so you could:
int Lolcat = 10061; Checksum += (byte)Lolcat;
-
Status: In line at the post office. The guy before me is sending a package to "Gaza, Palestine". I'm now wondering how packages even get there. Does the Israeli postal service drop them off at the "border"?
Please don't let this be the start of a political flamewar. I'm just honestly curious.
-
@dfdub postal rockets
-
Status: Parts for new gaming PC ordered. Managed to order everything via Amazon and thus get free Prime shipping on all of it, which probably saved me $50 or so, and will make everything get here on Monday.
Soooooon....
-
@e4tmyl33t: if you're using a free Prime trial, cancel the auto-renewal before forgetting about it.
-
@Zerosquare Nah, I've had Prime for the last 2 or so years. I manage to order enough to make it worth the savings on the shipping costs, and I get to use Prime Video as part of it.
I mostly use it to order cat food, kitchen stuff, and the occasional holiday gift or other thing for myself. (I have a book preordered currently that should be coming out near the end of next month or so)
-
Status: just spent 20 minutes searching for something that was in my pocket
-
@error: was it a banana, or are you happy to see us?
-
Status: What an intense battle that was. MSQ:
-
@e4tmyl33t said in The Official Status Thread:
Status: Parts for new gaming PC ordered. Managed to order everything via Amazon and thus get free Prime shipping on all of it, which probably saved me $50 or so, and will make everything get here on Monday.
Soooooon....
I HAVE FUCKED UP NAO.
Forgot to take into account that for my current dual-monitor setup, one is connected via HDMI, and the other via an HDMI-to-DVI converter.
New graphics card does not have DVI. Ok, says my brain, go back to Amazon, order a 3-pack of HDMI cables. Problem solved, and I'll have spares, right?
This was also wrong, since I neglected to remember that the card I ordered only has 1 HDMI port. It DOES have 3 DisplayPorts on it, so I just placed ANOTHER order for a DisplayPort-to-HDMI cable (since the monitors, of course, don't have DP on them natively).
-
@Benjamin-Hall said in The Official Status Thread:
Status: What an intense battle that was. MSQ:
And good timing too, because now the server isn't letting me on anymore. Data center not even responding.
New message:
:This World is currently full. Players in queue: 2,452.
-
Status: I was wondering why a variable wasn't toggling.
if (ConfirmAction && !hasConfirmed) { UpdateDisplayText("Are you Sure?"); hasConfirmed; }
-
@dfdub said in The Official Status Thread:
Status: In line at the post office. The guy before me is sending a package to "Gaza, Palestine". I'm now wondering how packages even get there. Does the Israeli postal service drop them off at the "border"?
Please don't let this be the start of a political flamewar. I'm just honestly curious.
Palestine actually has it's own operational Postal Service that is a member of the Universal Postal Union (which is the bit of the UN that makes all the postal services able to interoperate seamlessly), meaning they have published interchanges with the rest of the planet.
Here's all the information you could ever conceivably need to know about it:
-
@Tsaukpaetra said in The Official Status Thread:
Status: I was wondering why a variable wasn't toggling.
if (ConfirmAction && !hasConfirmed) { UpdateDisplayText("Are you Sure?"); hasConfirmed; }
what language are you using that that isn't a compile-time error?
-
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Status: I was wondering why a variable wasn't toggling.
if (ConfirmAction && !hasConfirmed) { UpdateDisplayText("Are you Sure?"); hasConfirmed; }
what language are you using that that isn't a compile-time error?
C++. I don't know why it wasn't a compile error either.(it normally is)
-
@Tsaukpaetra said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Status: I was wondering why a variable wasn't toggling.
if (ConfirmAction && !hasConfirmed) { UpdateDisplayText("Are you Sure?"); hasConfirmed; }
what language are you using that that isn't a compile-time error?
C++. I don't know why it wasn't a compile error either.(it normally is)
Ah, C++ is a very complicated gun with most of the barrels pointing directly towards your foot and like 30 randomly located triggers.
-
Status: Fuckin' bitch! Get your ass out of my face, I'm trying to watch a video!
-
@Benjamin-Hall said in The Official Status Thread:
Status: What an intense battle that was. MS
mQ:It shouldn't be a battle to use a message queue
-
@Jaloopa said in The Official Status Thread:
@Benjamin-Hall said in The Official Status Thread:
Status: What an intense battle that was. MS
mQ:It shouldn't be a battle to use a message queue
One would think that...
-
The concert is over but my ears are still ringing.
-
@Weng said in The Official Status Thread:
Universal Postal Union
Pfff ... they still don't deliver to Mars
-
@Tsaukpaetra said in The Official Status Thread:
C++. I don't know why it wasn't a compile error either.(it normally is)
Unless you enabled "treat warnings as errors", it's not considered an error, as far as I remember. It's not in C, at least.
-
@Zerosquare I'd ask for the rationale behind allowing such useless statements (
nop
/ alignment?), but I'm afraid the answer is more arcane and abstruse than I can imagine.
-
@ben_lubar said in The Official Status Thread:
Ah, C++ is a very complicated gun with most of the barrels pointing directly towards your foot and like 30 randomly located triggers.
Some of the barrels have special reflectors in them so they can actually point at your feet despite apparently pointing elsewhere.
-
@Applied-Mediocrity: not allowing them would require the compiler to do extra work to determine whether there are sides effects or not. I guess it could also prevent some nifty macro tricks.
-
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Status: I was wondering why a variable wasn't toggling.
if (ConfirmAction && !hasConfirmed) { UpdateDisplayText("Are you Sure?"); hasConfirmed; }
what language are you using that that isn't a compile-time error?
Why should ignoring a result of an expression be a compile-time error?
-
@Gąska said in The Official Status Thread:
Why should ignoring a result of an expression be a compile-time error?
Ignoring the result of a simple expression should be a warning (because it's clearly a dumb bit of code and you probably didn't mean that) but that should only become an error when you explicitly ask for all warnings to be treated as errors.
-
The thing is, lots of expressions have a value in C. Even a simple assignment like
a = 5;
has the value5
, for example. So you need the compiler to be smart about it, otherwise you'd get swamped by useless warnings/errors.On the other hand, I did write something like this once:
(void)hardware_register;
when I needed the side-effect associated with reading a hardware register, but didn't actually care about the value read. The(void)
part is not actually necessary, but it makes the intent clearer.(And of course, unlike GCC, Microchip's broken compiler optimized it out. So I had to resort to
volatile uint8_t dont_care = hardware_register;
after all.)
-
Status: Damn. Code works fine on my machine, but breaks (with unexpected timeouts, and no useful information about why they happened) when on our integration test infrastructure.
-
@dcon said in The Official Status Thread:
@dcon said in The Official Status Thread:
@dcon said in The Official Status Thread:
status Error HRESULT E_FAIL has been returned from a call to a COM component.
Fuck you VS2017. Project works on other machines. It used to work here. Now some projects simply won't build. VS2019 works fine. Either 2019 screwed my 2017 install, or 2017 is trying to tell me 'move on, old man!'. Trying a Repair first...
Well fuck.
1>------ Rebuild All started: Project: PROJECTNAME, Configuration: Debug x64 ------ 1>Error HRESULT E_FAIL has been returned from a call to a COM component. 1>Error: Error HRESULT E_FAIL has been returned from a call to a COM component.
Edit: Weirdly, between the different targets (x86/x64), it fails on different projects.
x64: all lib/dll builds fail (exe builds, but fails because of missing libs)
x86: dll build fails
debug/release variants fail on the same projects. These are all statically linking.The configuration that uses dynamic linking works. Which includes the dll build which is still statically linked (custom action dll for installer)
And to compound things, my build machine (VS2017 only) also fails. But only on a single project and only on the debug version. Guess this is a '
Windows 10!' thing now.
Ha! Finally found a reference to this from googling... Somethingsomething bad path in .suo something...
rd /s/q .vs
All is happy now.
-
@Zerosquare The best part would be if the compiler promptly checks if you're actually using the declared variable and, due to non-use, optimizes it out again.
-
Fortunately, it wasn't clever enough to do that.
-
volatile
is what disables reordering/removal optimizations, yes?Well, at least in C# it does. I'm sure in C++ it additionally indicates the footgun is particularly volatile.
-
ptr.read_volatile();