Click here to Skip to main content
15,887,350 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: Fighting a monster Pin
Matt Bond3-Mar-23 3:54
Matt Bond3-Mar-23 3:54 
GeneralRe: Fighting a monster Pin
Getulio_Domingues3-Mar-23 5:05
Getulio_Domingues3-Mar-23 5:05 
GeneralRe: Fighting a monster Pin
Cezar Lamann3-Mar-23 8:50
professionalCezar Lamann3-Mar-23 8:50 
GeneralRe: Fighting a monster Pin
Cezar Lamann3-Mar-23 8:25
professionalCezar Lamann3-Mar-23 8:25 
GeneralRe: Fighting a monster Pin
destynova3-Mar-23 8:25
destynova3-Mar-23 8:25 
GeneralRe: Fighting a monster Pin
Member 119411313-Mar-23 13:05
Member 119411313-Mar-23 13:05 
GeneralRe: Fighting a monster Pin
jschell6-Mar-23 7:27
jschell6-Mar-23 7:27 
RantPlease don't ever do this. Pin
honey the codewitch2-Mar-23 5:57
mvahoney the codewitch2-Mar-23 5:57 
I wrote an SVG parser today.

I didn't want to.

The one I had already was too "clever" by half.

"I know, I'll just modify the passed in string I'm parsing by inserting null terminators in it and storing pointers to various locations in the string."

Yeah, you think you're slick, but what if that string is coming from a .text segment?

Or what if you have a huge file you don't want to load into a string first?

*headdesk*

If you ever consider doing what that author did, ping me and I'll help you write a *proper* parser.
To err is human. Fortune favors the monsters.

GeneralRe: Please don't ever do this. Pin
jmaida2-Mar-23 17:29
jmaida2-Mar-23 17:29 
GeneralRe: Please don't ever do this. Pin
honey the codewitch2-Mar-23 18:25
mvahoney the codewitch2-Mar-23 18:25 
GeneralRe: Please don't ever do this. Pin
englebart3-Mar-23 3:54
professionalenglebart3-Mar-23 3:54 
JokeAt least I tried Pin
Sander Rossel2-Mar-23 4:40
professionalSander Rossel2-Mar-23 4:40 
GeneralRe: At least I tried Pin
PIEBALDconsult2-Mar-23 4:45
mvePIEBALDconsult2-Mar-23 4:45 
GeneralRe: At least I tried Pin
OriginalGriff2-Mar-23 4:54
mveOriginalGriff2-Mar-23 4:54 
GeneralRe: At least I tried Pin
theoldfool2-Mar-23 7:55
professionaltheoldfool2-Mar-23 7:55 
GeneralRe: At least I tried Pin
trønderen2-Mar-23 9:06
trønderen2-Mar-23 9:06 
GeneralRe: At least I tried Pin
Mike Hankey2-Mar-23 5:42
mveMike Hankey2-Mar-23 5:42 
GeneralRe: At least I tried Pin
yacCarsten2-Mar-23 10:19
yacCarsten2-Mar-23 10:19 
GeneralRe: At least I tried Pin
jmaida2-Mar-23 17:30
jmaida2-Mar-23 17:30 
GeneralThe real reason for Schuberts unfinished symphony Pin
RickZeeland2-Mar-23 3:03
mveRickZeeland2-Mar-23 3:03 
GeneralRe: The real reason for Schuberts unfinished symphony Pin
honey the codewitch2-Mar-23 5:22
mvahoney the codewitch2-Mar-23 5:22 
GeneralRe: The real reason for Schuberts unfinished symphony Pin
Gerry Schmitz2-Mar-23 5:49
mveGerry Schmitz2-Mar-23 5:49 
GeneralRe: The real reason for Schuberts unfinished symphony Pin
jmaida2-Mar-23 17:32
jmaida2-Mar-23 17:32 
GeneralI wonder.... Pin
Slow Eddie2-Mar-23 2:24
professionalSlow Eddie2-Mar-23 2:24 
GeneralRe: I wonder.... Pin
Single Step Debugger2-Mar-23 2:59
Single Step Debugger2-Mar-23 2:59 

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.