9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 2y ago · link · parent
I think that at least open source community should move to "never break things" concept. So that you can write and test code once and never touch it anymore. Refactoring your code because kernel/library has changed its interface is just a waste of time which gives nothing in return, often time of unpaid volunteers who could do something useful instead.
This should apply to libraries, applications, programming languages, browser extensions. Take upgrading your Python 2 code to Python 3 as an example. You need to put a lot of efforts while gaining nothing. This is not how software should work. You should write a code once and it should work forever without any maintainance.
comment 2y ago · link · parent
comment 2y ago · link · parent
It means that 30% people will get market-determined terms and other 70% will have no choice but to accept RealPage pricing. Because they need to live somewhere.
comment 2y ago · link · parent
Quoting the spec [1]:
> Then, if the element is one of the void elements, or if the element is a foreign element, then there may be a single U+002F SOLIDUS character (/), which on foreign elements marks the start tag as self-closing. On void elements, it does not mark the start tag as self-closing but instead is unnecessary and has no effect of any kind. For such void elements, it should be used only with caution — especially since, if directly preceded by an unquoted attribute value, it becomes part of the attribute value rather than being discarded by the parser.
comment 2y ago · link · parent
<link rel="stylesheet" href="base.css" />
I often see such code and it seems that people simply don't know HTML and copy random garbage they found on the Internet. In the example above, the slash is simply ignored, but in this example the code will be parsed not as intended: <div/>
This is why you should read proper documentation or specification instead of blindly copying garbage code from Internet.MDN link: https://developer.mozilla.org/en-US/docs/Glossary/Void_eleme...
comment 2y ago · link · parent
If you write something like Linux kernel, write doc comments.
comment 2y ago · link · parent
Also why don't we see similar things in modern times, why don't wee see poor undeveloped nations successfully invading large developed countries?
comment 2y ago · link · parent
What saddens me is that open-source OSes do not want to provide a common set of APIs so that the developer only has to write and test the code once and it works everywhere. There is flatpak, but as I understand, it doesn't provide a set of APIs, it simply packs a Linux distribution into a virtual machine without any specifications or documentation. So ugly, and no compatibility for smaller non-Linux OSes.
comment 2y ago · link · parent
Also if people posting on Reddit can cause serious losses to greedy capitalists then it is fun.