

Maybe they should ban trowing away your trash instead.
Maybe they should ban trowing away your trash instead.
Capitalist perfection: you are paid for cycling, don’t do anything else!
One example for self documenting code is typing. If you use a language which enforces (or at least allows, as in Python 3.8+) strong typing and you use types pro actively, this is better than documentation, because it can be read and worked with by the compiler or interpreter. In contrast to documenting types, the compiler (or interpreter) will enforce that code meaning and type specification will not diverge. This includes explicitly marking parameters/arguments and return types as optional if they are.
I think no reasonable software developer should work without enforced type safety unless working with pure assembler languages. Any (higher) language which does not allow enforcing strong typing is terrible.
I have worked on larger older projects. The more comments you have, the larger the chance that code and comment diverge. Often, code is being changed/adapted/fixed, but the comments are not. If you read the comments then, your understanding of what the code does or should do gets wrong, leading you on a wrong path. This is why I prefer to have rather less comments. Most of the code is self a explanatory, if you properly name your variables, functions and whatever else you are working with.
Correction, 50% of VOTING Americans are VOTING fascist. Doesn’t necessarily mean they are fascist themselves.
Same question on reddit a while ago
As suggested there, I recommend to use a multimeter to identify the power socket pins. Roughly half of them should be ground. Most or all of them should correspond and be connected to the SATA power connector pins on the other side.
+1 on that. The User’s guide of a similar device (source) mentions a 10-pin CPLD connector Reserved for IBM use
Maybe scrcpy is the tool for you then.
There is scrcpy for that and you can launch arbitrary commands from KDE Connect too.
Wow, that’s an impressive list of amateur tanks. Do they also sell real cars in the US? (Rhetorical question)
Syncthing on Android has an option to only sync when on AC battery. The PC client might have a similar option. If not, you could probably configure something similar via systemd or udev under Linux.
I don’t think syncthing has proper means to synchronize contacts or anything else that’s not file-based though.
I use syncthing and prefer it for synchronizing files between my devices.
Does the add-on work the same way in Chrome? Or does Google break it in a way similar to uBlock Origin with the WebExtensions v3 update?
Is this all true for addons available from Mozilla’s add-on site?
PS: Mozilla had to limit installing addons because lots of companies installed malicious addons into browsers of their users, often without knowledge or informed consent of their users.
Once again, it’s mostly about the money
Do you have evidence or is this pure speculation?
How and why should Mozilla get money from Russia? Isn’t it more plausible if Russia were blackmailing Mozilla?
I think we should not expect a volunteer (or small group of volunteers) to keep up with a billion dollar company
Yeah, that’s a very useful exception.
Operator overloading is adding complexity, making code subtly harder to read. The most important lesson for code is: It should primarily be written to be easy to read by humans because if code is not trash, it will be read way more often than written.
Mostly minor improvement, such as the fossify phone app grouping by date in the call history
Has anyone heard about the andro-switch ring before? It is supposed to work without taking any pills and be free of side effects (except for carrying a silicone ring around the testicles). https://www.medscape.com/viewarticle/986261
Are you sure? Doesn’t the “smart edison bulb” design make it harder to dissipate heat to the casing, therefore making the LEDs get hotter compared to PCBs with LEDs surface mounted on them?
Anyway, if you want your
light bulbsany technology to last long, don’t buy the “smart” variant. “Smart” usually means more components and/or more dependencies on interfaces, and more complexity, so a higher chance to fail.