Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
endor435977dNever underestimate the power of a semicolon!
stop445677dSemicolon, the inverted "where is waldo" of IT
syntax error NEAR line 1. Might be on line one but could be somewhere else. Usually a missed semi colon.
not getting any output from a function that should return.
The last line returns a value if it doesn't have a semi colon it, if it does it returns void.
Semi colons hate us all when we both include them and exclude them.
Well, it didn’t take you too long.
What’s annoying is these noobs who are lacking common sense and (allegedly) spend hours trying to find a missing semicolon.
Read the fucking error message. RTFEM.
Linux4442977dI fucking hate nginx because of this
xalys207977dAlways config test and echo $? in production
Gorlami18477dReally, a rant about missing semicolon? 😆
Luckily nginx usually tells you the error before doing a backflip and crashing, I usually use the nginx -s reload for it though
BurnoutDV116677di made it a habit to always run an "nginx -t" before restarting anything when making changing in config, you never know when some stupid shit breaks the thing.
xewl525476dconfigtest ftw :v
Perhaps nginx should get a linter / prettier
Edit: Nevermind it exists
nginx -t, always.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job