1,328 karma · joined Jan 27, 2016 (10y ago) · 418 submissions
comment 10y ago · link · parent
Of course what Gawker did was reprehensible, but I don't need a million-dollar lawyer to tell me that. And when suddenly there is a million-dollar lawyer telling me that, I have to guess there's some other endgame here. My guess is that Thiel is building a template for future litigation. And while it happens to be good for justice in this case, I doubt it will always be so. That is definitely a bad thing.
comment 10y ago · link · parent
1. Let's say I do things the way you suggest: I use different versions of your code simultaneously. 3 years in I have 5 versions of your code and I find a bug in my code in an area from the second version. Now I have to know 5 libraries to understand the code and I'm constantly getting tripped up by the subtle differences between versions 2 and 3.
2. So to fix this plan I finally persuade my boss to give me a week to address tech debt. With your search-and-replace plan, except I forget to do it in the library that Bob the contractor kept in a separate repo before we fired him. And then there's the separate problem of when I passed it into a function that took a function pointer and so the name is different and not find-and-replacable as being the same function. And then there's the place where Joe, who is a good programmer but kind of inexperienced, poor kid, he thought he'd simplify things by creating a macro that inserts the number, and this got past code review because I reviewed it right after a meeting with the client from hell. So now nothing is working after the find-replace, it takes us the entire week to figure out why, and we don't get to spend any of our tech debt time fixing the place where Bob the contractor decided it would be a good idea to "optimize" the graph generation functions.
For the record, I'm speaking from experience here. The way you wrote this code is an ideology I've worked with before and it's miserable to consume libraries written in this style. You can argue for the "benefits" all you want but I've eaten this dog food before and I'm not going to eat it again.
comment 10y ago · link · parent
I did have an issue once where a very large power outage that took out a data center. Total downtime was about 50 minutes, which consisted of:
1. Calling the hosting provider and ascertaining the problem.
2. Pulling the latest code onto the fallback server (from a different hosting provider).
3. Restoring the database from the backup server into a newly-created database server.
4. Changing the configs.
2 and 4 were able to happen while 3 was running.
As an aside, this is largely why specialized cloud services like AWS or AppEngine that promote vendor lock-in seem crazy to me. AWS can and does go down, and if your infrastructure is built around their tooling, you can't just provision a new box on a new provider.
comment 10y ago · link · parent
So what?
If your business is built around a system and that system goes down, would you rather that system serve billions of customers and go down for 20 hours, or serve only you and go down for 20 minutes?
comment 10y ago · link · parent
It sounds very much like you're assuming the answer is no.
In my entire 10+ year career I've never had a service I was working on have a 20 hour outage.
So, probably, the answer is yes.
comment 10y ago · link · parent
> The and the ONLY way in which existing code does not have to be revalidated is if it is completely and wholly unchanged.
And when I integrate a new release, how do I verify that you didn't accidentally change one of the older numbered versions of your code? I'm going to have to test either way when I integrate a new version of your code, so I might as well get any performance improvements or whatever you introduced into the implementation. Versioning your interface does not solve the problem you claim it does.
> There's nothing immature about them, and I don't know why you are saying there is. They were written about a year ago and writing them means also writing their test suite, which they pass.
I am saying they're immature because you said they were immature. You said, "The add-onlys were thrown together in a week or so many months ago, just to get those classes of data strutures out there, as writing the full versions of them will take some time."
> I was thinking of processor support, rather than compiler support.
I was also thinking of both processor support--you're the only one who mentioned any compilers. Given this supports only 2 processors and ConcurrencyKit supports 5, your claim that this is "actually as portable as it is possible for a lock-free library to be" is still provably wrong.
comment 10y ago · link · parent
This is what having consistent interfaces is for. Keep your interface consistent, not your implementation.
This is also a strong argument for not releasing code and advertising it on HN if it's not mature.
> The add-onlys were thrown together in a week or so many months ago, just to get those classes of data strutures out there, as writing the full versions of them will take some time. There is in fact for eaxmple a full, balanced binary tree, in the literature. That's on the list!
Which begs the question why you included immature implementations in your library.
> That's a bit unfair. The library is eight years old now. It's not a flash in the pan.
Which doesn't negate the criticism in any way.
> It's actually as portable as it is possible for a lock-free library to be. Only a fairly few platforms provide atomic instrinsics. As far as GCC provides support, they are all suppoted, and I believe GCC supports all of them.
There are working examples (ConcurrencyKit) of lock-free data structures that target more architectures and more compilers, so "It's actually as portable as it is possible for a lock-free library to be." is provably false.
comment 10y ago · link · parent
And having a top comment on HN warning me that the code is pretty bad saves me time, too, because I don't have to read the code or try using it to find that out. So I really appreciate people publicly pointing out that the code is bad.
I'd feel more positive about this code if it had been submitted with a request for code review and feedback rather than being presented as a "a portable, license-free, lock-free data structure library written in C" with a whole website advertising it as being ready for use.
comment 10y ago · link · parent
1. Our highest priority is to satisfy the customer by building a non-linear, proactive, and self adaptive system.
2. We welcome changing scenarios where unexpected events (Black Swans) are the real paradigm shifting entities.
3. We deliver assuring embedded and adaptive fault tolerance.
4. All stakeholders, and the broader environment, lead the antifragile organization.
5. Build antifragile projects around motivated, skilled and open minded people. Give them the environment and support they need, and trust them to get the job done.
6. The most efficient and effective method of building an antifragile organization is building on honest, open and transparent communication.
7. Continuous exposure to faults and automatic fixing is the primary measure.
8. An antifragile organization promotes a context aware environment. The stakeholders should be able to maintain a system indefinitely.
9. Continuous attention to technical excellence, reality, redundancy.
10. Error loving - the art of learning to be antifragile – is essential.
11. Antifragile architectures emerge from self – organizing, context aware teams.
12. At regular intervals, the developing team reflects about the context situation, on how to become more effective, then tunes and adjusts its behavior accordingly.
comment 10y ago · link · parent
Your comment is like discovering the fox has been given the keys to the henhouse and saying "Maybe the fox just wants to hang out with the hens".
comment 10y ago · link · parent
And even if they are bound by Symantec's CPS, they can do a lot of damage before the CPS can be enforced.
comment 10y ago · link · parent
I'm not saying the percentages aren't relevant to the larger discussion, but the membership in a community point is also relevant, and doesn't require the percentages to be a valid point that stands on its own.
comment 10y ago · link · parent
I grew up in a poor neighborhood, and the only reason I'm not poor is my parents were both educated and made sure I was too. But I know a lot of people who were poor and uneducated.
You might be able to take time off between the hours of 9AM and 5PM to apply for programs in person, or have time to fill out a lot of forms, or know what programs are available, or speak/read the language that's on the forms fluently, but a lot of people don't.
comment 10y ago · link · parent
For most people, things are were better for them before required, high-cost health plans. Most people don't get seriously sick in a given year; that's why health insurance works at all.
And for those with required health insurance, it doesn't really help.
Take me as an example: I'm 29 in NY and the healthcare plans I have available to me basically fall into a spectrum ranging from $170ish/mo with a $6000ish deductible to $600ish/mo with no deductible. At the low end of that range, health insurance does nothing to prevent a person making $15K/year from going bankrupt; $6K in medical costs is more than enough to bankrupt such a person and you don't get extra credit for going bankrupt by $6K instead of $50K. And at the other end of the spectrum, $600/mo is enough to drive many people bankrupt in itself. The plans in the middle don't strike a good balance; they just cost enough that a poor person can't build up savings so they'll go bankrupt if something does happen to them.
I'm lucky enough to have a job that pays much more than $15K, and I can actually afford my health insurance with relative ease. But for most, it's better to just take the risk and not pay for health insurance, because it's not going to prevent you from going bankrupt anyway. Except, now you can't.
And yeah, they can vote for Obamacare, but keep in mind that when you're living paycheck-to-paycheck, it's very hard to look at anything other than proximate causes of your problems. You see the tax coming out of your paycheck, you don't see the pointless military equipment it's spent on or the "privatize profits, socialize losses" companies that your taxes could regulate. And all the help the government promises you comes to nothing most of the time. You don't read the newspaper and spend mental energy on that because you're watching junk television to recover from your day, or just plain going directly to bed. You also don't have a ton of education (which doesn't mean you aren't intelligent). So you vote for the guy who promises to take less of your money in taxes and do less that you don't see.
All of this isn't finding ways to rationalize acting against their own self-interest (although that does happen too). It's a rational understanding of what's in your self-interest given the information you have, the time you have to research, and the experience you're allowed.
And when using democracy to improve your life doesn't work for decades, can you blame them for giving up on using democracy to improve their lives?
comment 10y ago · link · parent
If that's the intent, then maybe she shouldn't write it in exactly the absolutely certain voice that she's criticizing, except without the only part of that voice, the rationality, that makes that voice sometimes worthwhile.
> In domains where feeling and intuition are appropriate, there are people pushing academic, rational agendas which kill the subject matter dead. If you haven't experienced this problem I respectfully suggest that you may not be in the target audience of this article.
I've experienced a problem which I think you may be talking about:
A lot of times people reject ideas or decisions that are based in intuition or feeling. They do so because they believe that intuition and feeling aren't rational.
The problem is, that's not rational. Intuition and feeling are based in rationality, especially in domains where it's more important that a decision be quick than accurate, or when extended application of logic or search for evidence isn't likely to yield useful results.
The flipside of that is what I think you're doing now: claiming that rationality kills domains where feeling and intuition are appropriate. Nothing is farther from the truth: killing a domain based in intuition and feeling by applying logic or evidence inappropriately is an irrational behavior. Julia Galef calls this "Straw Vulcanism"[1] and I recommend her talk; she does a better job of explaining it than I can.
comment 10y ago · link · parent
My experience is that people who stay until 9 writing code because they're "passionate" write a lot of code and implement a lot of features for a while, but the quality of the code is low because they're always tired when writing it. And after a year or so, a combination of burnout and the unmaintainability of their code forces them to quit, leaving the next group of programmers with something truly horrible.
If that's your definition of "top developer" you can have all of them.
IMHO, a top developer is someone who can produce a quality product from inception to completion, which requires being well-rested, taking care of their own needs, and having enough social life to be able to make their code decisions in their social context (because every program runs in a social context).
comment 10y ago · link · parent
I think if you showed me an implementation that hinted at some of the complexity lurking in the task, that would be a big point in your favor.
comment 10y ago · link · parent
"When I say “essay,” I mean short nonfiction prose with a meditative subject at its center and a tendency away from certitude."
She follows by prescribing that her definition of the word is the correct one, despite openly admitting that hers is not the common definition of the word:
"Much of the writing encountered today that is labeled as “essay” or “essay-like” is anything but."
And finally, she finishes her definition of "essay" with a profoundly anti-intellectual tirade against attempting to share opinions which are based in facts, evidence, or logic:
"These texts include the kind of writing expected on the SAT, in seminar papers, dissertations, professional criticism or other scholarly writing; politically engaged texts or other forms of peremptory writing that insist upon their theses and leave no room for uncertainty; or other short prose forms in which the author’s subjectivity is purposely erased or disguised. What these texts often have in common is, first, their self-conscious hiding of the “I” under a shroud of objectivity. One has to pretend that one’s opinions or findings have emanated from some office of higher truth where rigor and science are the managers on duty."
Nobody in their right mind believes a writer of an essay to be objective. But that doesn't mean we should just eschew any attempt to base our written opinions in reality. Speculation is fine for generating ideas, but well-formed, informed opinions are both harder to find and more valuable.
Ironically, nowhere in this tirade does the author use the word "I", or admit that this is just her opinion, or allow for any doubt in the certitude of her assertions. Neither does she provide any evidence to back up her claims. It seems that she thinks that the problem with certitude is not really certitude, but "rigor and science", and she has decided to lead by example in removing these from her writing.
comment 10y ago · link · parent
The "Ladder" is an insult to the poor and to your intelligence. Poor people don't need loans at any rate, they need housing assistance, food stamps, and education/training to get better jobs. If you're giving an already poor person short-term income at a greater long-term cost, you aren't helping anyone but yourself. There isn't an ethical way to take money from the poor.
comment 10y ago · link · parent
Even if we accept your myopic list of features that work and believe your statement that "most operations can be performed on bytes", that doesn't make the language usable for internationalized content. Trading having to call encode and decode, which fail with clear, easy-to-fix errors, for a myriad of subtle, silent encoding failures is not a good trade. Which you would be abundantly clear to you if you had internationalized anything ever.