|
Seriously: I roll each cable (well, most of them) in a round circle and tie it with a zip tie. That helps prevent cable tangles and makes it easier to search for a specific one.
Get me coffee and no one gets hurt!
|
|
|
|
|
Cp-Coder wrote: I roll each cable (well, most of them) in a round circle and tie it with a zip tie. That helps prevent cable tangles and makes it easier to search for a specific one.
You know those plastic spindles that packs of blank CDs/DVDs come in? I roll cables in those.
Being clear plastic, you can have stacks of those and you can still see the content.
|
|
|
|
|
I use velcro cable ties combined with plastic labels on which I write what the cable is usually attached to.
They all fit neatly in a box.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I use the stick system. I have a large drawer full of cables and I take a stick and stir around in there until I find what I need.
Actually have a cheap plastic set of drawers, 3 large, 4 small. Large drawer for network, large drawer for USB stuff, another for Raspberry pi stuff and so on. Too many times I throw stuff in whatever drawer is open and have to sort as a result.
One small drawer is for my K&E Log Log Duplex Decitrig slide rule, with leather case and manual. My first computer, back in the day.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
That sounds a bit too organised. I just chuck everything on an unused desk behind me. Stuff that falls on the floor is periodically moved to the bin, and when that's full, moved to the outdoor bin.
The exception is separate plugs / sockets / adapters (i.e. cable stuff without actual cables). They all go in a single ziplock bag. It's been full for some years, so when I get some new widget that I don't want to throw away but needs to go in the bag, I rummage in the bag with eyes averted, pull out one thing and chuck it (without looking!) to make space for the new thing.
This system generally works well. 99% of the stuff you think you'll need, you never actually need. The other 1% you will have thrown out as of no possible use, regardless of what system you have. I save more time by not spending time "filing" stuff than I waste searching for the stuff I rarely need, so I reckon I earn an extra 20 minutes' coffee / CCC OTD time each week on average.
|
|
|
|
|
TBH with my longer cables I hang them from the coat rack in one of the closets.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: I hang them from the coat rack This of course begs the question: where do you hang your coats?
(It's turtles all the way down)
Software Zen: delete this;
|
|
|
|
|
Life is too short for coats.
Real programmers use butterflies
|
|
|
|
|
My wife has a range of medical issues, which means a significant number of prescription medications. The pill bottles come in a range of sizes, and the pharmacy labels detach readily.
I've found that the recycled bottles work really well for storing USB cables, adapters, Flash drives, microSD cards, and the like. They take labels well if you like, and are often transparent enough to identify what's inside if you don't.
They don't work well for CAT-5/6 network cables, but that's why God invented WiFi anyway .
Software Zen: delete this;
|
|
|
|
|
Small coat hanger hooks on the inside of closet doors.
|
|
|
|
|
I need to figure out how to turn this off in Visual Studio. Slightly useful, mostly useless.
One of the amusing things is:
if (foo) {
}
complains about an empty block.
if (foo) {
}
doesn't.
|
|
|
|
|
|
Try:
if (foo) {
goto NoFoo;
}
NoFoo:
...
|
|
|
|
|
More complete is
var foo = true;
Foo: if (foo) {
goto Foo;
} My first C# program! On the PDP-10, it was far more concise: jrst@.
modified 6-Apr-21 6:37am.
|
|
|
|
|
It is only empty if you look at it.
|
|
|
|
|
MISRA (and other quality standards) rules, they require either a comment or an empty statement in all the execution paths. Helps finding missing implementations or typing / copy-pasting errors before releasing.
If you don't mind you can simply write
if (foo)
{
;
}
Ohterwise Disabling ESLint rules[^] will help.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Thankfully I don't have to follow MISRA. Some of it is the worst a*al retentive dross I've seen, and all responsible should be looking for jobs in boys' choirs.
modified 6-Apr-21 9:13am.
|
|
|
|
|
Believe me, there is worse than MISRA.
Core MISRA makes sense, as in "wrap every condition in its own parenthesis", "explicitly define the behavior of every execution path" and so on. There are several quality measurements that are totally bonkers, as in "function X is called more than 5 times in its module, it is WRONG". No reason at all, just PITA.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Yes, but the comment may let the linter infer that the programmer recognizes that the block is empty and said something useful about it in the comment.
When the linter starts making snarky remarks about what's in the comments, I'll retire .
Software Zen: delete this;
|
|
|
|
|
Please, for the love of all things good in this world
Stop using mm/dd/yyyy for the numerical date format
Only the US, US jurisdictions, and Swahili in Kenya use this format, so 6/7/2021 means two completely different things to someone in the US and someone in the UK. Or NZ, Or Oz. Or, well, anywhere else really.
Please: make dates unambiguous. Use month abbreviations like 6-Jul. Use yyyy-mm-dd if you have to. Or go crazy and sniff a user's preferences but that doesn't actually work because everyone in the US seems to think Canada uses the US format. Canada doesn't use the US format: It merely understands the US format which I find astounding. Show a Canadian 6/7 and they'll tell you the correct interpretation without context. It's a skill akin to national mind reading and I do not understand how they do it.
cheers
Chris Maunder
|
|
|
|
|
context?
Also, I agree if the app/site will never be used outside the United States (i.e. internal business apps and sites).
|
|
|
|
|
Slacker007 wrote: context?
Probably he saw a date like 4/7 and was unsure if it was tomorrow, or 3 months from now.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
Whether it's mm/dd or dd/mm, I start looking for numbers higher than 12 to be sure of what the hell is intended.
|
|
|
|
|
ISO 8601 has existed for a coupla decades now. It is the _only_ Atandard.
|
|
|
|
|
most people do not write in ISO-8601. Most people want to see their dates in a familiar format; a format they write in.
I know you don't give an elephant's turd, but I had to say it none the less.
|
|
|
|