Yes, it's an accident - the power button is just a touch sensitive spot on the printer - but they do like to play witn paper, so this would invariably lead to more shenanigans.
displaced_city_mouse
I just spit out my coffee reading that, and I wasn't drinking coffee at the time...
Which is why I don't mind if they break it - it would let me justify getting a decent laser jet printer.
W. T. F.
I will repeat my earlier statement: I hate printers.
I appreciate the info, but I wasn't looking for a solution - I just wanted to vent a little...
Meh.
I'll agree, docstrings are better for documenting a function than just a comment.
However, the author seems to jump through hoops in the next example to break one function into four, just to avoid some single line comments. Unless those code blocks make sense as functions (they're used/duplicated elsewhere), you're just making work for yourself. Why not turn it into 12 functions? One for each line of code?
I'm reminded of the admonition that there are only two hard problems^*^ in computer science -- cache invalidation, and naming things. The more functions you have, the more things you have to name.
The rest of it -- name your magic numbers, use tuple unpacking, comment "why" instead of "what" -- is good practice. I'm just not a fan of making functions just to avoid writing a comment.
^*^ And off by one errors.
Like a eucharist lunchable
Don't give the Catholic church another idea how to get kids in the door.
the idea that these webs of laws or these models of “how things should work” mean anything tho the people with power are complete nonsense.
Kinda ironic that you are discussing the nonsense of "how things should work" on a federated service where you control the intermediaries you work with and through, which is, IMO, the way things should work.
I tried KMail and Organizer for a few weeks, but they kept losing connection with Gmail. My calendar would get out of sync, and they only way to fix it was to reset the connection and redo all the appointments.
I'm sure it was user error, since I couldn't figure it out after spending a couple hours on it, so I just dropped back to webmail and not leaving the mail tab open all day.
I like Antenna Pod for this - my BT connections let me use the Forward 30 Seconds feature when m driving or running. Since most ads are 30 seconds long, I can cruise through them easily.
Me too - I'll use Konsole if I need to have the results up all the time, but Yakuake is my main terminal.
Meh, if that happens I'll just replace the cheap commodity printer... I'm not fixing anything, except the cats.