The Official Status Thread
-
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
extension that maximizes the video
There are TWO buttons that make the video bigger in that screenshot.
Bit not big enough!
One simply makes it wider, but keeps the height the same, which is literally useless because now I have black bars on the sides as well as content I don't really want to see while watching above and below (which makes "theater mode" completely pointless), and the other is just fullscreen, which is annoying when all I want is the video to fit the frame of the visible portion of the page (less aspect ratio, of course).
-
@Tsaukpaetra said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
extension that maximizes the video
There are TWO buttons that make the video bigger in that screenshot.
Bit not big enough!
One simply makes it wider, but keeps the height the same, which is literally useless because now I have black bars on the sides as well as content I don't really want to see while watching above and below (which makes "theater mode" completely pointless), and the other is just fullscreen, which is annoying when all I want is the video to fit the frame of the visible portion of the page (less aspect ratio, of course).ok, here's what you can do:
s/\/watch\?v=/\/embed\/
Boom, done.
-
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
extension that maximizes the video
There are TWO buttons that make the video bigger in that screenshot.
Bit not big enough!
One simply makes it wider, but keeps the height the same, which is literally useless because now I have black bars on the sides as well as content I don't really want to see while watching above and below (which makes "theater mode" completely pointless), and the other is just fullscreen, which is annoying when all I want is the video to fit the frame of the visible portion of the page (less aspect ratio, of course).ok, here's what you can do:
s/\/watch\?v=/\/embed\/
Boom, done.
/v/ requires flash, sadly.
Otherwise it's perfect, being a very short modification to the URL.
-
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
extension that maximizes the video
There are TWO buttons that make the video bigger in that screenshot.
Bit not big enough!
One simply makes it wider, but keeps the height the same, which is literally useless because now I have black bars on the sides as well as content I don't really want to see while watching above and below (which makes "theater mode" completely pointless), and the other is just fullscreen, which is annoying when all I want is the video to fit the frame of the visible portion of the page (less aspect ratio, of course).ok, here's what you can do:
s/\/watch\?v=/\/embed\/
Boom, done.
For EVERY VIDEO?! Are you insane?! Or are you trying to make me insane???
Look, All I want is the option to take this crap:
and turn it into this shit:
(Sorry, HTML hackery isn't all that great)
-
@aliceif said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
extension that maximizes the video
There are TWO buttons that make the video bigger in that screenshot.
Bit not big enough!
One simply makes it wider, but keeps the height the same, which is literally useless because now I have black bars on the sides as well as content I don't really want to see while watching above and below (which makes "theater mode" completely pointless), and the other is just fullscreen, which is annoying when all I want is the video to fit the frame of the visible portion of the page (less aspect ratio, of course).ok, here's what you can do:
s/\/watch\?v=/\/embed\/
Boom, done.
/v/ requires flash, sadly.
Otherwise it's perfect, being a very short modification to the URL./v/
is deprecated. Use/embed/
.
-
@Tsaukpaetra said in The Official Status Thread:
are you trying to make me insane
you caught us there
-
@dkf said in The Official Status Thread:
why stripping comments and changing variable names to have multiple characters in them might not be the best idea after all
Is there any case where this is not a bad idea?
-
@Tsaukpaetra said in The Official Status Thread:
are you trying to make me insane???
I thought that project was already finished and signed off on?
-
Status: Hello @Onyx!
-
-
THOUGHT
Isn't it sad that Obama's legacy might be a small mention in the "Causes" chapter of the "Era of Donald Trump" section in history books?
-
Status: *twitch*
-
-
@remi said in The Official Status Thread:
Status: yearly objectives review. "No, I did not do the stuff we said I'd do, because the other persons I was supposed to work with got fired. I did something else that wasn't planned and is totally unrelated, can I still get my bonus?" Tune in next week to see whether that works...
Updated status it seems to have worked! At least my manager said so (but I do trust him on that), we'll see when the bonus comes in (which is paid end of March, so it's not for now... patience...).
-
@Tsaukpaetra said in The Official Status Thread:
are you trying to make me insane???
Unnecessary.
Edit: , of course, by @Onyx.
-
Status: Why would anyone create a service where you can change the port it is listening on dynamically at runtime? Why, if one was doing this, would you make it also close all connected clients on such a change? Why would you then make it do such a thing whenever one edits the file at all? Answers on a postcard, please…
I truly hate smartass code that isn't smart because of a non-obvious usage scenario, but rather is smartass just because the author couldn't think about Gloves.
-
@Onyx said in The Official Status Thread:
#FucKonami
I didn't know you where starting up a Teledildonics company
-
@dkf said in The Official Status Thread:
how to do log() and exp() in linear time in hardware without divides or multiplies (shifts don't count; they're free the hardware level) ... the journal paper where this is proved correct.
Got a link to that paper? Wouldn't mind perusing that.
-
@flabdablet said in The Official Status Thread:
Got a link to that paper? Wouldn't mind perusing that.
*rummages on colleague's desk*
I misspoke. It was a textbook, “Elementary Functions”, by Jean-Michel Muller.http://www.springer.com/in/book/9780817644086
I grok that the algorithm works. I don't grok how to determine the table of constants that it requires.
-
Status: WOO! FREE GAME!
This game is FREE until February 1, 2:00PM UTC. After that time, it will be available for purchase as normal.
I'll probably never play it, but WOO! FREE GAME!
-
@RaceProUK said in The Official Status Thread:
I'll probably never play it, but WOO! FREE GAME!
Another one
-
@RaceProUK
I see it has that "90s MS-DOS game" charm.
-
@TimeBandit Picked that up yesterday
-
@RaceProUK said in The Official Status Thread:
WOO! FREE GAME!
I didn't previously have a GOG account. Created one with a randomly generated user name. Green checkmark in the user name field. Submit.
User name too long.
Yay, client validation != server validation.
-
Status: completely unmotivated to do any real work
-
Me: calls Help Desk "One of my users' computers has fallen off AD. Is there a way to fix this without going to HQ?"
Help Desk: "Let me log in and take a look." logs in remotely
Me: "Awesome!" accidentally taps phone cord and phone disconnects
Help Desk: logs out without trying to call back
Me: "FFFFFFFUUUUUUUUUUUU--"Me: calls Help Desk again "One of my users' computers has fallen off AD. Is there a way to fix this without going to HQ?"
Help Desk: "No, you're going to have to go to HQ."
Me: "FFFFFFFUUUUUUUUUUUU--"
-
@heterodox said in The Official Status Thread:
One of my users' computers has fallen off AD. Is there a way to fix this without going to HQ?
Do you know a domain administrator username and password?
-
@heterodox said in The Official Status Thread:
One of my users' computers has fallen off AD.
Why are you using Anthony Daniels as a desk?
-
@RaceProUK said in The Official Status Thread:
@heterodox said in The Official Status Thread:
One of my users' computers has fallen off AD.
Why are you using Anthony Daniels as a desk?
Probably because I stood up.
-
Status:
public EnterpriseLibraryLogger(LogWriterFactory logWriterFactory) { Logger.SetLogWriter(logWriterFactory.Create()); }
Logger
is a static class, andSetLogWriter
is a static method. Which fails when aLogWriter
is already set. Except the call is stuffed in an instance constructor of a log wrapper.So it's a singleton, but you won't know that until you actually try to create a second instance, at which point the application crashes.
Oh, and for bonus points,
SetLogWriter
takes an optional flag, true by default. The name of the flag?throwIfSet
. No points for guessing what it does.
-
@Maciejasjmj WHY DO PEOPLE THINK STATIC STATE IS OKAY!? WHY WOULD THEY EVER THINK SINGLETONS MAKE SENSE!? AAAAAAAAAAAAAAGH!
-
@Magus said in The Official Status Thread:
@Maciejasjmj WHY DO PEOPLE THINK STATIC STATE IS OKAY!? WHY WOULD THEY EVER THINK SINGLETONS MAKE SENSE!? AAAAAAAAAAAAAAGH!
Ask Microsoft, in this case.
https://msdn.microsoft.com/en-us/library/microsoft.practices.enterpriselibrary.logging.logger.aspx
To be fair, a static logging facade isn't unheard of - you avoid having to manage the logger objects and disable logging instead of mocking them up. The fault lies squarely with a genius who decided to wrap it in an instantiable class and did it badly...
-
@RaceProUK said in The Official Status Thread:
@heterodox said in The Official Status Thread:
One of my users' computers has fallen off AD.
Why are you using Anthony Daniels as a desk?
Because he already helped Jack off and drank him.
-
@flabdablet said in The Official Status Thread:
Do you know a domain administrator username and password?
If I did, I'd be in a rather phenomenal amount of trouble. Also I wouldn't bother calling the Help Desk. :P
-
@heterodox said in The Official Status Thread:
If I did, I'd be in a rather phenomenal amount of trouble. Also I wouldn't bother calling the Help Desk. :P
Also, turns out they won't rejoin the computer to the domain remotely. The options are:
- Get the laptop re-imaged, or
- Get a new laptop
With preference for the latter as it's faster.
... okay. Rejoining the computer to the domain remotely would be faster still; just saying... I'm guessing they don't have the permissions to do that manually (or just don't know how; if you're getting the impression that this client's IT department is fantastically incompetent, you have much to go on).
-
Every staff member I work with at another client is having a simultaneous attack of stupidity. It's really phenomenal. It's a phenomenon.
-
Status: Ugh, you know it's bad when you dream of coding in your sleep so accurately you sleep in. 😵 whoops.
-
@Tsaukpaetra said in The Official Status Thread:
Status: Ugh, you know it's bad when you dream of coding in your sleep so accurately you sleep in. 😵 whoops.
Depending on your job, you could argue that that was work time. :P
-
statusbolded text****
Anudderone bites the dust.
Second-most-junior dev just gave notice. By junior, I mean junior in experience, not age. Which is relevant.
Dev is technically adequate, but was constantly struggling with things like accuracy, or reading specs, or timelines, or learning the technology he's supposed to know or the system he's working on.
Management team has been patient and helpful, and even came up with a month-long plan of improvement. Included things like "Maybe you should spend some time and actually learn the .net platform-- or basic troubleshooting techniques-- or actually get the Navision developer training you need for this job..."
But since that was for "effort", management instead got a 2-week notice.
So, the company is once again hiring a junior developer. They want someone who can be more customer facing, to help with support when I'm on paternity leave.
I've insisted that anyone who gets past the face-to-face interview MUST do a technical coding interview. Had we done that with this dev (or any of the other less-than-successful hires in the past), well-- let's just say that @cartman82 is right.
-
So how is libelously accusing people of being loggers OK?
-
Status donated 5% of the cost of X-COM to Wikimedia Foundation...
-
@loopback0 Giving them exactly as much money as they deserve.
-
Status:
-
Status:
> grep errorCount logFile errorCount = 2 > grep ERROR logFile >
There are no paths through the code that can increment errorCount without also logging an
ERROR
message — at none that I can find that would also produce the other messages in the file.
-
@Maciejasjmj I agree that it's mostly the fault of someone putting it in an instantiable object, but I feel like there's a giant red flag that everyone should see at the exact moment they consider using a library with the word "enterprise" in it's name. :/
-
@HardwareGeek said in The Official Status Thread:
Status:
> grep errorCount logFile errorCount = 2 > grep ERROR logFile >
There are no paths through the code that can increment errorCount without also logging an
ERROR
message — at none that I can find that would also produce the other messages in the file.Did it start out at 2 then?
I got one today where a struct member that could not possibly be NULL was NULL. Makes me wonder who added the check.
-
@PleegWat said in The Official Status Thread:
Did it start out at 2 then?
Nope.
void doThing(...) { ... unsigned int errorCount=0; ... if (badThing1) { logError("ERROR: Msg..."); errorCount++; } if (badThing2) { logError("ERROR: Msg..."); errorCount++; } if (badThing3) { logError("ERROR: Msg..."); abort();; } ... logInfo("errorCount = %d", errorCount); }
Trying to write code on a phone keyboard sucks.
-
@HardwareGeek said in The Official Status Thread:
Trying to write
codeon a phone keyboard sucks.FTFY
-
Status: (Minor) happy dance! The pass rate of my stuff just broke 90%, and it's no longer the lowest rate on the project.
Bigger dance when it gets to 100%, of course; also when unexplained intermittent failures are not a thing.
-
@HardwareGeek said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
Did it start out at 2 then?
Nope.
void doThing(...) { ... unsigned int errorCount=0; ... if (badThing1) { logError("ERROR: Msg..."); errorCount++; } if (badThing2) { logError("ERROR: Msg..."); errorCount++; } if (badThing3) { logError("ERROR: Msg..."); abort();; } ... logInfo("errorCount = %d", errorCount); }
Trying to write code on a phone keyboard sucks.
Is
logError
broken?