doopen@lemmy.world to Mildly Infuriating@lemmy.worldEnglish · 2 years agoI just want to set a timer for MY FOOD WINDOWS WHY?lemmy.worldimagemessage-square311fedilinkarrow-up11.3Karrow-down130file-text
arrow-up11.27Karrow-down1imageI just want to set a timer for MY FOOD WINDOWS WHY?lemmy.worlddoopen@lemmy.world to Mildly Infuriating@lemmy.worldEnglish · 2 years agomessage-square311fedilinkfile-text
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up18·2 years agodownloadUpdate(); sleep(10000); // 10 seconds should be enough time for the buffer cache to finish writing to disk even on the slowest system.
minus-squarelurch (he/him)@sh.itjust.workslinkfedilinkEnglisharrow-up11·2 years agodeleted by creator
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up5arrow-down1·2 years agoYour formatting convention is… terrifying.
minus-squareTopRamenBinLaden@sh.itjust.workslinkfedilinkEnglisharrow-up3·edit-22 years agoEh I’ve seen much worse. At least it’s not: if (condition) { doTheThing() } else { doNotDoTheThing() } For some reason I hate the brackets taking up a whole line it just looks terrible.
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up2arrow-down1·2 years agoI wasn’t talking about the braces, but about the spacing around operators.
minus-squareTopRamenBinLaden@sh.itjust.workslinkfedilinkEnglisharrow-up1·2 years agoOh yea that’s bad too, but to be fair, it’s a comment which is kind of a pain in the butt to format.
downloadUpdate(); sleep(10000); // 10 seconds should be enough time for the buffer cache to finish writing to disk even on the slowest system.
deleted by creator
Your formatting convention is… terrifying.
Eh I’ve seen much worse. At least it’s not:
if (condition) { doTheThing() } else { doNotDoTheThing() }
For some reason I hate the brackets taking up a whole line it just looks terrible.
I wasn’t talking about the braces, but about the spacing around operators.
Oh yea that’s bad too, but to be fair, it’s a comment which is kind of a pain in the butt to format.