WTF Bites
-
I do believe the 40gb one was an outlier
Turn the log level to debug on a production system, and you too can get a 40GB logfile very very rapidly.
-
I do believe the 40gb one was an outlier
Turn the log level to debug on a production system, and you too can get a 40GB logfile very very rapidly.
Bah, the guy that designed the logging system on the stuff I'm working on built it so that it puts the log items in a database table. And there are no log levels, so everything is always logged.
But that's not a problem, because he broke the logging system so horribly that it's pretty much useless outside of one single place in the server, and that is for logging every rest call. So, the only thing that is in the log is a list of rest calls, and for about 1/7th of the rest endpoints, it actually logs the messages that got sent as well, and not just that the service was called.
It's on myshit listfix list so when I get enough room in a sprint I'll rip it all out and rewrite it to be actually useful.
Soon I've removed every trace of that developer in the entire system. Apart from the admin interface. That pile of shit is still entirely done by him, but since it's used by exactly no one, it's at the very bottom of my list of shit to eradicate.
-
I do believe the 40gb one was an outlier
Turn the log level to debug on a production system, and you too can get a 40GB logfile very very rapidly.
Or get Layer 4 DDoS'd. Not that I speak from recent experience or anything....
-
@Tsaukpaetra said in WTF Bites:
Or get Layer 4 DDoS'd.
I once made the mistake of turning up the log level for security-related messages for a production service I was trying to debug. The log blew up so fast (filling the disk and making the service fall over completely) that I had no chance to reset things. There were only 35 simultaneous users, and no outside attack. That was when I learned that the client software for that system was incredibly chatty.
-
@TimeBandit
You couldn't just jam your noodle uh?
-
-
@loopback0 said in WTF Bites:
Teaching assistant snorted his wee for 20 years - and claims he's not had a cold
Suddenly, I feel like having a cold is a good thing
-
Just heard on the
radiointernet music stream:I'm 100% certain that was a field recording of someone snoring, set to music.
-
@HardwareGeek The QooC thread is
-
@TimeBandit But it isn't out of context. Yeah, I could add that it was the announcer who said it, or a description of the music, but I think the fact that it was said about a piece of music is sufficient to disqualify it for "ooC".
-
No, reddit, I don't want to allow notifications. WTF, are you on drugs or something?!
-
No, reddit, I don't want to allow notifications. WTF, are you on drugs or something?!
Does it ask you before or after the GDPR / cookie popups?
-
No, reddit, I don't want to allow notifications. WTF, are you on drugs or something?!
Does it ask you before or after the GDPR / cookie popups?
Don't see those, probably dismissed them already, but I'm guessing "before".
-
From the MATLAB documentation of the function
logspace
, <ins>-emphasis mine:>> help logspace logspace Logarithmically spaced vector. logspace(X1, X2) generates a row vector of 50 logarithmically equally spaced points between decades 10^X1 and 10^X2. If X2 is pi, then the points are between 10^X1 and pi. logspace(X1, X2, N) generates N points.
You've got to be kidding me?
Let's try and see:>> logspace(0, 3.141592, 2) ans = 1 1385.5 >> logspace(0, pi, 2) ans = 1 3.1416
I don't even want to think about what kind of WTFery has lead to such an interface.
-
@TimeBandit said in WTF Bites:
cold is a good thing
-
I don't even want to think about what kind of WTFery has lead to such an interface.
Oh yes you will.
y = logspace(a,pi) generates points between 10^a and pi, >which is useful in digital signal processing for creating logarithmically spaced frequencies in the interval [10^a,pi].
-
@swayde what if, get this, you passed
log(pi)
as the second argument instead.@topspin: a closer value is 3.141593
-
Status: This was apparently broken after the engine upgrade:
(Highlighted is the value I had to change to get it to work).
NFC how it was working before, but IMHO if you tell something "Hey, don't let anyone know you're being overlapped." and then immediately say "Hey, when you're being overlapped, do $thing" you're banking on an impossible situation...
-
Lua binding interface might be simple, but there don't seem to even be C-side functions for accessing the tables.
The C API seems to think that everyone wants to use the Lua value stack. Sure, there's
lua_getfield
but you're still dealing with pushing and popping things.Yup.
And the code I am trying to fix does more than it should. Because instead of simply iterating over the content of the object—which does have C API—it first calls a lua helper that iterates over it and writes the keys in a separate object and then reads that one by numeric index and the original by the index fetched from this one. With added complications that instead of being plain tables these are objects with their own implementation of the metamethods—in plain lua just storing the data in a more complicated layout.
-
When adding value to my Clipper card (public transit in Bay Area)
Thank you for your Clipper order. Here is when you can expect your value to be available:
- If you place your order by 6 p.m., you can usually pick up your value in the next 1 to 2 days.
- If you are picking up your value on a bus or a Muni light-rail vehicle, please allow up to 5 days.
- If you set up Autoload using a bank account as your payment method, please allow an additional 10 days for value to first be available.I think we found our wooden table process. (Oh, and if you load some money but end up not using your card for 6 months? Poof! The money vanishes.)
-
Thank you for your Clipper order. Here is when you can expect your value to be available:
- If you place your order by 6 p.m., you can usually pick up your value in the next 1 to 2 days.
- If you are picking up your value on a bus or a Muni light-rail vehicle, please allow up to 5 days.
- If you set up Autoload using a bank account as your payment method, please allow an additional 10 days for value to first be available.Is the value manually delivered by a blind man?
-
@TimeBandit I think he's the one entering the data: Print order. Place on wooden table. Take picture. Print picture. Hand to blind man. This, of course, has to span 4 continents.
-
has to span 4 continents.
Everybody knows Indian blind are the cheapest combined with Nigerian wooden table
-
Oh $deity. I just tried using our web client.
: Where's <functionality/>?
: It's <here/>
: Um, no.
: Oh, you have to use the new web client.
: Oh. (finds magic switch, enables). "Your browser sucks. Use Chrome." (paraphrased - heavily)Jeez. And this is what our customers have to deal with.
Note: There was much more back/forth before we figured out I was on <old web client>. And "finds magic switch" started with "where is it?".
-
-
"where is it?".
Hidden, because you're not using chrome?
No, it was in a logical place (user icon, which includes 'log out' and 'settings'). I just didn't know where since I never looked for it before.
(But my brain had checked out because of rising frustration level, so I didn't think to look there)
-
Oh $deity. I just tried using our web client.
Web clients are (almost) always a fœtid pile of rancid skunk toenail clippings. The ones I've made were definitely pretty bad, but I openly admitted it and said that if they wanted anything better they should pay for some time from someone who actually knew how to do front-end work… I'll happily(-ish) make the back-end APIs and REST stuff to link it all together, but I simply haven't the patience for hammering shit together out of DOM, CSS and JS…
-
@TimeBandit The only reasonable thing to do if you manage to snatch a subdomain like that is to actually use it to broadcast this news story to all Windows 10 users.
-
There are a few places this could go, but here is probably as good as any.
-
@HardwareGeek That URL slug looks like it was done by Facebook's autocaption bot.
-
No, damn you, Star Trek! This is not the future that we've been promised. We're not going to run fucking newbie-SQL on our warp-capable shuttles.
Filed under: The damn thing is probably powered by JavaScript
-
@cvi That certainly wasn't the worst part, although I've repressed the memory of details. Things like the data itself becoming sentient and attacking the system.
-
Things like the data itself becoming sentient and attacking the system.
Not as crazy as it sounds. After all, who never had to fight against a particularly nasty XML file?
-
User says: "I can't send any emails. It just stays stuck on sending, and I cannot receive any email either."
Diagnosis: Their internet connection is currently down.
This exact same user created a ticket on Friday morning because she could not scan to her computer.
Diagnosis: She uses a laptop, had just come in for the day and had not turned it on yet. That the computer needed to be on to be able to use it as a scan destination had escaped them.
-
@Polygeekery said in WTF Bites:
User says: "I can't send any emails. It just stays stuck on sending, and I cannot receive any email either."
Diagnosis: Their internet connection is currently down.I knew the moment the internet came back up. We received about 6 different emails from users....saying that their email was not working.
That is one that if you were looking to embellish a story for the front page you would never even think of. You can't make shit like that up.
I wait for the day that we get an angry call from someone who wonders why something like that is not fixed and it is the first we have heard of it because they tried to email to report the issue.
-
@Polygeekery I've always enjoyed the occasions when the only way to report a network outage was through the online ticketing system.
-
@HardwareGeek that is why we also have a number to call and someone will create a ticket for you.
We have users who literally can only send an email, and we have users that refuse to and always call. All of them are idiots.
-
-
-
@topspin Oh yes. Yesterday I had to show my father how to set the car's clock so that it used the time provided by the GPS module instead of having to set it manually.
Was a simple: "Go to settings and select 'Use GPS' instead of 'Set Manually'". Of course there's the of why on Earth this wasn't already set in the beginning but, oh well...
Of course he insisted that I show it to him a second time because you never know when you might have to set it again. Or something.
That the whole point of this endeavour was to never having to set the clock again somehow eluded him.
-
@Rhywden he actually asked for instructions and listened. That’s way above par.
-
@Rhywden he actually asked for instructions and listened. That’s way above par.
The trouble usually arises from the way he then proceeds to retain my instructions: By meticulously jotting down every step and every single detail.
Which then usually results in him not getting anywhere as soon as one tiny of those details is either wrong or has moved, however unimportant that detail may be to the overall process.
-
@Rhywden Sounds like (some of) my students. The concept of generalization or experimentation is, sadly, alien to a lot of them.
-
@Benjamin-Hall said in WTF Bites:
@Rhywden Sounds like (some of) my students. The concept of generalization or experimentation is, sadly, alien to a lot of them.
I usually label them "Procedural" versus "pattern-recognition" learners.
-
@topspin Oh yes. Yesterday I had to show my father how to set the car's clock so that it used the time provided by the GPS module instead of having to set it manually.
Was a simple: "Go to settings and select 'Use GPS' instead of 'Set Manually'". Of course there's the of why on Earth this wasn't already set in the beginning but, oh well...
Of course he insisted that I show it to him a second time because you never know when you might have to set it again. Or something.
That the whole point of this endeavour was to never having to set the clock again somehow eluded him.
Didn't you Europs abolish daylight saving time anyway? When would he ever need to reset the clock?
e:
@Rhywden said in WTF Bites:By meticulously jotting down every step and every single detail.
German confirmed
-
-
@topspin Oh yes. Yesterday I had to show my father how to set the car's clock so that it used the time provided by the GPS module instead of having to set it manually.
Was a simple: "Go to settings and select 'Use GPS' instead of 'Set Manually'". Of course there's the of why on Earth this wasn't already set in the beginning but, oh well...
Of course he insisted that I show it to him a second time because you never know when you might have to set it again. Or something.
That the whole point of this endeavour was to never having to set the clock again somehow eluded him.
Didn't you Europs abolish daylight saving time anyway? When would he ever need to reset the clock?
Let's just say that I'm driving a similar brand and the clock skew is noticable over the course of half a year, And getting rid of DST hasn't been fully processed yet.
-
Didn't you Europs abolish daylight saving time anyway? When would he ever need to reset the clock?
That's been postponed by a year. Quite possible that'll happen a few more times.
-
Didn't you Europs abolish daylight saving time anyway? When would he ever need to reset the clock?
That's been postponed by a year. Quite possible that'll happen a few more times.
What good is the EU if it can't accomplish something simple like getting rid of DST or the UK?
-
@Polygeekery said in WTF Bites:
User says: "I can't send any emails. It just stays stuck on sending, and I cannot receive any email either."
Diagnosis: Their internet connection is currently down.
This exact same user created a ticket on Friday morning because she could not scan to her computer.
Diagnosis: She uses a laptop, had just come in for the day and had not turned it on yet. That the computer needed to be on to be able to use it as a scan destination had escaped them.
Taking these in combination, the latter almost makes a sort of sense: if she could send an email and it would wait in the inbox until the computer is able to send it, then why couldn't the scanner scan the document and then hold it until the computer is available to receive it?