556 karma · joined Mar 5, 2018 (8y ago) · 213 submissions
comment 10mo ago · link · parent
Did being alone underground for months warp his mind...?
Or do you have to be pretty bent to start with to do what every non-warped person doesn't do, because they can foresee it would really suck....
comment 1y ago · link · parent
See clang-tidy and clang analyzer for example.
ps: That's what I like most about the core guidelines, they are trying very hard to stick to guidelines (not rules) that pretty much uncontroversially make things safer _and_ can be checked automatically.
They're explicitly walking away from bikeshed paintings like naming conventions and formatting.
comment 4y ago · link · parent
The South African Rand Note had the words, "I promise to pay the bearer, on demand at Pretoria, one Rand" and had the facsimile of the signature of the Governor of the Reserve Bank at the time.
I don't know of anybody who made the trip to exchange one. But by the time I could read that and understand it... you wouldn't of got much gold!
comment 4y ago · link · parent
Logs are there for observability, so you can get those, "Oh wow! Cool!" moments when you see something that you never knew.
If you never make a mistake, or if you know your external systems and uses perfectly.... Don't log.
If you're a mortal that gets surprises... log.
comment 5y ago · link · parent
If I was more financially secure I'd resign in a heartbeat, so looking around for a remote job.
comment 5y ago · link · parent
"Last month, The Economist and The Atlantic published long features purporting to explore the phenomena of “Left-Wing Illiberalism” and “New Puritanism,” respectively. While both stories display the superficial features of investigative journalism, a deep dive reveals the same motivated reasoning, nonexistent evidence and indefensible editorial standards that misinformed the public about frivolous lawsuits."
comment 5y ago · link · parent
comment 5y ago · link · parent
* If you have a working hypothesis as to what the code is doing, state that hypothesis as a comment.
* If you think you know what it is doing, making that comment executable. ie. put in an assert. Better an assert punches you in the face than you rely on an incorrect analysis.
* If you don't know WTF happening, or not sure, turn that comment into observability, add logging or something.
* Make microcommits using rebase or the like, add observability, add asserts, add unit tests, add refactorings, make behavioural changes.
* Do only one thing per commit, makes review and test much easier.
comment 5y ago · link · parent
Founders aren't banished, they aren't in any gulag. They can carry on. If they produce something better, they are still the drivers.
A commentator below said, "remind me to make my own license with "I take it all down with me if you destroy me" clause....
That is explicitly _not_ and open source license.
The point is no one, neither the founders, nor any that may replace them, "take it all down with me".
You may get a fork, well then, may the best fork win.
A while back gcc was forked. Remember egcs? It was the best fork for awhile.
Then the fork merged again with gcc again.
Yup. It happens.
Life moves on.
comment 5y ago · link · parent
He seems sometimes, if I remember previous years, to forget the point is open source, not linux.
If a better Open Source OS appears tomorrow, I'd abandon linux for it without a backward glance.
If it's closed source, it could be rainbows and ponies and I'd still turn it down.
On the otherhand, I bet an Open Source OS could grow any rainbows and ponies I actually need and want.
comment 5y ago · link · parent
But as a manufacturer, we have to get regulatory compliance for our products from the countries we sell to.
Yes, this is a Big and Expensive deal.
Of course, a grey marketer can physically ship our products from one regulatory regime to another without our permission.
So a countries regulatory authority finds our product for sale in their country and it doesn't comply with the regulations.... what recourse do they have?
The most common one is confiscation from the sellers.
But if the problem is sufficiently widespread, they may choose to put pressure on the manufacturer.... do something about this or we will block the sale of your goods in our country.