66 karma · joined Apr 12, 2013 (13y ago) · 69 submissions
comment 3y ago · link · parent
// ==UserScript==
// @name Underline links
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Underline all the links!
// @author mdaniel
// @match https://*/*
// @match http://*/*
// @grant none
// ==/UserScript==
(() => {
document.querySelectorAll('a[href]').forEach(it => it.style.textDecoration='underline');
})();comment 7y ago · link · parent
That's not really a fault in the tool managing installation and publishing the library, its dependencies or managing the repository, providing the auditing system, script runner frontend and the other things npm does.
You could similarly argue github is hot garbage, because there are so many crappy projects hosted on it.
comment 7y ago · link · parent
Don't fix it if it aint broke should be a motto for more developers. Settling for good enough prevents second system effects and retards immaturity in the form new "trendy" products that over-promise and under-deliver solutions.
Nothing is perfect, but replacing something from scratch because of some mostly irrelevant issues that would be better handled by improving the standard solution usually just causes more issues than it solves.
comment 8y ago · link · parent
comment 8y ago · link · parent
The batteries would be called Nickel-Carbon or something like that rather than Lithium-anything, if they were named by the amounts or costs of materials in them.
comment 8y ago · link · parent
A modern format would no doubt have to be JSON- or YAML-based and have its human-readable content in plain text or markdown, so it'd have to be pretty much readable with a plain text http client, like curl.
So, just let RSS die the slow death it's been going through for good reasons and bring something consistent and straight-forward into its place. Something that you could easily generate and parse from any modern language without specific libraries.
Bringing RSS back is like trying to bring SOAP as a RPC system back; it just won't fly anymore no matter how much hot air you try to pump into it. We know better now and have better ways to do the things.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
Prefer makes that have excellent rust protection and models with relatively low stress configuration engines rather than high performance models. The two latter are usually mechanically the same or mostly the same, but the latter of them receive much larger stresses in use and hence tend to fail earlier.
If you intend to modify the car, prefer older ones, because they have lower regulations, but this depends on the legislative area you are in as well. For instance cars with OBD-II are too new for engine upgrades almost anywhere.
comment 8y ago · link · parent
comment 8y ago · link · parent
My daily driver is a 25 year old car that I'm keeping on preventive maintenance. I got it when it was 16 years old and still in pretty good shape since it was barely used and always kept in a warm garage. I've always had pretty old, but well maintained cars in order to minimize the total cost of ownership of them, and kept them running until something too difficult or expensive breaks. I never value them for what I'd get for selling them, because I've never sold a car nor planned to. To me, the car value is always the utility and TCO value of knowing the state of them via preventive maintenance repairs. Usually the failing part not worth fixing is the body, either due to a collision or rust damage.
In addition to always inspecting an used car from underneath, a thing I learned early was to replace all the cash-cow OEM parts with upgraded parts when possible. If not, at least try to have repaired parts made that are improved at the point of failure to be stronger than OEM parts, so that they don't fail the same way again. Factoring the preventive repair into the price of the used car is required in order to be sure to afford owning the car. After that initial preventive repair, it's about checking the parts stay like new, or it becomes very expensive to keep very quickly once something fails after a part's worn out.
Anyhow, look at farm equipment, mine equipment and such to see what vehicles not engineered to fail are constructed like, and I don't mean the extra robustness of the loadbearing parts for the much larger workloads they're designed for.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
1) Make it work, if that's important and worth the time
2) Make it correct, if that's important and worth the time
3) Make it fast, if that's important and worth the time
Most of the time is spent hunting for what the software is supposed to be. Prototype, prototype and prototype until you get even close to what it's supposed to be. Treat everything as temporary until then, before applying any real importance on any of the above. Even then, you'll rather be rewriting it anyway, focusing on what's important, because your assumptions at the beginning were most likely wrong. You shouldn't hang yourself for those early decisions just because you invested too much time and effort on making them work.
comment 8y ago · link · parent
comment 8y ago · link · parent