Click here to Skip to main content
15,888,454 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Oi Griff !!! Pin
Randor 19-Jun-22 23:36
professional Randor 19-Jun-22 23:36 
GeneralI am a suspected spammer Pin
pkfox19-Jun-22 22:36
professionalpkfox19-Jun-22 22:36 
GeneralRe: I am a suspected spammer Pin
Richard Deeming19-Jun-22 22:39
mveRichard Deeming19-Jun-22 22:39 
GeneralRe: I am a suspected spammer Pin
Kornfeld Eliyahu Peter19-Jun-22 22:48
professionalKornfeld Eliyahu Peter19-Jun-22 22:48 
GeneralRe: I am a suspected spammer Pin
pkfox19-Jun-22 22:59
professionalpkfox19-Jun-22 22:59 
GeneralRe: I am a suspected spammer Pin
Kornfeld Eliyahu Peter19-Jun-22 23:07
professionalKornfeld Eliyahu Peter19-Jun-22 23:07 
GeneralRe: I am a suspected spammer Pin
Cp-Coder20-Jun-22 4:34
Cp-Coder20-Jun-22 4:34 
GeneralDecisions, decisions ... Pin
OriginalGriff19-Jun-22 21:05
mveOriginalGriff19-Jun-22 21:05 
I've spent an hour this morning on an odd bug report - full data wasn't being entered to the DB, and the log just showed an "out of memory" exception.

Turns out the problem was that some goon was storing RIFF data in a JPG file extension ... Windows works it out fine, Paint doesn't mind it, but PaintShop Pro just says "no" - and GDI+ throws an unhelpful memory exception which my app logs and decides it can't do anything useful with.
To make it even more fun, this is done in a background worker thread so the UI isn't interrupted by thumbnail generation, and though it's technically part of the presentation layer it's not really a good place to be trying to communicate directly to the user ...

And this is a ten year old app, and a brand new "problem" that I should handle rather better than I do currently. Which is effectively "ignore it" and hope I sort it all out from the logs later ...
So ... what do I do about it? Fix it properly, which is going to involve some major changes to large chunks of software to get error reporting up to the right layer; bodge round it to get some reporting that at least the DB doesn't get some-but-not-all data added; or ignore it because it's not really my fault and I can blame some unknown idiot?

I'd love to go with the last one, but ... if it happened this time, it'll happen again ... Sigh | :sigh:
Sod it. I hate this ...

Mind you, I just thought of another option: hunt down the moron who thought "RIFF and JPG are the same thing really" and exterminate him with extreme prejudice. Tempting, tempting ... Big Grin | :-D
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Decisions, decisions ... Pin
Kornfeld Eliyahu Peter19-Jun-22 21:30
professionalKornfeld Eliyahu Peter19-Jun-22 21:30 
GeneralRe: Decisions, decisions ... Pin
OriginalGriff19-Jun-22 21:42
mveOriginalGriff19-Jun-22 21:42 
GeneralRe: Decisions, decisions ... Pin
pkfox19-Jun-22 21:36
professionalpkfox19-Jun-22 21:36 
GeneralRe: Decisions, decisions ... Pin
OriginalGriff19-Jun-22 21:44
mveOriginalGriff19-Jun-22 21:44 
JokeRe: Decisions, decisions ... Pin
Daniel Pfeffer19-Jun-22 22:28
professionalDaniel Pfeffer19-Jun-22 22:28 
GeneralRe: Decisions, decisions ... Pin
DerekT-P19-Jun-22 23:24
professionalDerekT-P19-Jun-22 23:24 
GeneralRe: Decisions, decisions ... Pin
OriginalGriff19-Jun-22 23:32
mveOriginalGriff19-Jun-22 23:32 
GeneralRe: Decisions, decisions ... Pin
DerekT-P19-Jun-22 23:55
professionalDerekT-P19-Jun-22 23:55 
GeneralRe: Decisions, decisions ... Pin
OriginalGriff20-Jun-22 0:10
mveOriginalGriff20-Jun-22 0:10 
GeneralRe: Decisions, decisions ... Pin
Gary R. Wheeler21-Jun-22 10:37
Gary R. Wheeler21-Jun-22 10:37 
GeneralSo this is a thing that happened Pin
honey the codewitch19-Jun-22 15:51
mvahoney the codewitch19-Jun-22 15:51 
GeneralRe: So this is a thing that happened Pin
jmaida19-Jun-22 17:25
jmaida19-Jun-22 17:25 
GeneralWordle 366 Pin
Amarnath S19-Jun-22 14:46
professionalAmarnath S19-Jun-22 14:46 
GeneralRe: Wordle 366 Pin
Peter_in_278019-Jun-22 15:24
professionalPeter_in_278019-Jun-22 15:24 
GeneralRe: Wordle 366 Pin
OriginalGriff19-Jun-22 18:49
mveOriginalGriff19-Jun-22 18:49 
GeneralRe: Wordle 366 Pin
pkfox19-Jun-22 20:29
professionalpkfox19-Jun-22 20:29 
GeneralRe: Wordle 366 Pin
ChandraRam19-Jun-22 20:40
ChandraRam19-Jun-22 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.