Better HN
topnewbestaskshowjobs
Log inSign up

devishard

1,328 karma · joined Jan 27, 2016 (10y ago) · 418 submissions

Submissions

comment 10y ago · link · parent

Turnover rate is one of the best indicators of whether a place is a good place to work. You can game most indicators without significantly impacting people's quality of life. But ultimately if people don't like working at your company they'll leave. You can delay that a bit by having equity take a while to vest but that doesn't prevent some people from leaving and when it does, it really only delays the turnover by the vestment period, doesn't change the rate.

comment 10y ago · link · parent

So don't do that!

comment 10y ago · link · parent

> You cannot evaluate the "correctness" of arguments about many things in the political space.

Of course you can. How do you vote, just pick the guy who you'd like to have a beer with? Give me a break.

Again, you're starting off by rejecting rationality as an approach, so I really don't need to prove that you're irrational here.

> How do you arrive at a situation where both Bob and Charlie agree with each other?

We don't. Bob and Charlie's agreement is entirely unnecessary. Why is this even your goal?

> which path would actually yield better results is impossible to simulate or predict accurately.

This is rarely true in practice for major voting issues.

> That doesn't mean Bob or Charlie have discarded rationality, it just means that pure application of logic cannot solve most of the problems on which politics dwells.

Nobody is claiming that Bob and Charlie have discarded rationality, but I'm claiming that you're discarding rationality. You've again state this fact for me.

If logic can't solve your problem, it can't be solved.

> The Guardian argues that companies should feel a moral obligation to pay more tax.

That's not The Guardian's argument as far as I know, so let's stop right there. I doubt anyone with The Guardian's caliber would bother with the idea that companies should feel.

comment 10y ago · link · parent

> so tell me any theory that tries to validate the existence of non-material consciousness.

A great deal of the context around quantum mechanical study has been to validate the existence of free will; whether consciousness can be ascribed to deterministic processes or not.

> Giving loads of names of scientists won't help in establishing what modern science says about consciousness.

It would be a great starting point if you decided to bother to inform yourself on what these people have said about consciousness.

> As per scientists consciousness behaves to be more than the sum total of neurons in the brain.

Some scientists take this few. Many don't.

> It's impossible so far to articulate consciousness in The law of thermodynamic,

That's because the law of thermodynamics deal with heat and entropy. If you're expecting laws about heat and entropy to apply to consciousness I'm not sure where your thought process has gone so horribly wrong, so I can't really help you.

comment 10y ago · link · parent

I'd rather give $100 billion to 2 million people and have 1 million of them do nothing than give $100 billion to 1 person and have 1 million people starve.

Social assistance programs are so meager and inexpensive compared to the cut we give to the finance industry. It's ridiculous to begrudge social assistance to people who need it just because some people who receive it don't.

Frankly, I'm just not offended that some people don't work. There aren't useful things for a lot of people to do. I'm much more offended that some people are rewarded incomprehensible amounts of money which no human can possibly be worth, often for activities that are actively harmful.

comment 10y ago · link · parent

Geez, albedo is a topic I didn't know existed until just now, but which is clearly a complex enough topic for hundreds of people to spend their entire lives studying it. Super cool.

comment 10y ago · link · parent

> Sounds good for upper middle class population. If your wages were $50,000/yr (aka US median wage) then you would think twice or may be thrice about anything that has word "subscription" in it.

Garbage content is not an improvement over no content, no matter what your demographic. I'm also skeptical that there's a very large demographic for whom even $10/mo in subscription fees would break the bank.

> If all internet websites enforced subscriptions then you won't be browsing around so often.

Sounds great to me. Most of the time I spend on the internet is spent looking for decent content, and most of that time is spent sifting through garbage.

> Finally, anyone who had been in media business for long enough knows that subscription is terrible business model.

Excellent. I really hope the Buzzfeeds of the world go out of business.

Advertisers and the garbage they fund make the world a worse place. They prop up businesses that provide negative value. They drain resources from businesses that provide value but have to advertise to the level of their competition's advertising. They introduce insecurity and complexity to our infrastructures. They waste the talents of thousands of brilliant minds who could be solving real problems. They sell people things they don't need or want, for prices they can't afford. Worst of all, they poison the collective consciousness with ignorance and outright lies. They deserve to go out of business.

People are willing to pay for what they actually want, and people want good content, so creators of good content will be okay. The creators of garbage who need ads to legitimate their sorry existence, on the other hand, can burn.

comment 10y ago · link · parent

> Modern science hasn't even started to appreciate the existence of consciousness let alone validating which is the better method.

Wow, you sure don't know what you're talking about.

David Nutt, Albert Hoffman, Jon Kabat-Zinn, Albert Einstein, Richard Feynman, Charles Darwin... every single one of these scientists has both made statements about the nature of consciousness and done research which has significantly furthered our understanding of consciousness. And I'm not even bringing up the field of psychology in that list because arguably the entire field of psychology is about consciousness, so I wouldn't know what scientists to pick from that field.

What you said was both ignorant and insulting to a lot of people's hard work.

comment 10y ago · link · parent

Ugh, this is not how you do crypto. Crypto algorithms have to be understood with regards to what guarantees they provide and in what context. Your approach here is basically ZOMG COLLISIONS ARE BAD when in fact collision-resistance was never a property of this hash function and a collision doesn't provide an attacker with any power they didn't already have.

If an attacker has the power to create a non-CP file that has the same hash as a CP file and plant it without detection, they have the power to plant a CP file without detection. Why would they go to the effort to create a collision with a non-CP file? It's wasted effort.

comment 10y ago · link · parent

I totally agree, in fact, I'd say "it's way more important to be correct than to be fast" is almost always true in cryptography. Incorrect crypto is useless no matter how fast it is.

comment 10y ago · link · parent

> The reason people tend to pay less attention to arguments by hypocrites is that arguments are often about tradeoffs that cannot be scientifically computed or discovered purely through rational debate,

Wow, you've just chosen to discard rationality right at the beginning? I guess that's one way to go about it but I sure don't feel like I need to say much to prove that assuming hypocrites are wrong is irrational.

> actions speak louder than words.

This is a great rule of thumb when applied to judging a person's character, but completely irrelevant to evaluating the correctness of an argument.

> If someone is arguing for tradeoff A, and relying on moral/emotional/somewhat vague arguments for it, whilst simultaneously their actions suggest they actually prefer tradeoff B, then that suggests their proposed weighting of the tradeoffs is actually wrong and thus that their words are not worth very much.

Sure, moral/emotional/somewhat vague arguments are poor arguments. Actions still have nothing to do with it.

> In this case, the Guardian loves to argue that tax avoidance is wrong, using arguments that are vague and emotional at their core (e.g. fairness),

So attack their arguments. If their arguments are invalid they can be proven invalid without attacking The Guardian. The Guardian's hypocrisy remains irrelevant to this conversation.

> Given that actions speak louder than words, that suggests that their proposed tradeoff is perhaps not the right one.

No, it doesn't suggest anything of the sort. Even if we could consider the Guardian to be a single entity--which is isn't: as another poster pointed out, the writing staff are not the same people as the finance department--but even if we could consider the Guardian to be a single entity that was condemning behaviors while engaging in them, that would only prove that The Guardian is kind of an asshole. It doesn't prove that they're wrong.

comment 10y ago · link · parent

> Why was 1% chosen and not 10% or 0.01% for that matter?

Because it's a simple number to write.

Lay-people using this term have no idea that the 1% includes doctors and lawyers, they just assume it's ultra-rich bankers, executives, and hedge fund managers. Yes, that means that if you're incapable of understanding context it might sound like they're talking down on doctors and lawyers. But I assure you they're not.

> And "railing against" != confusion. If enough people believe something, certain people in that group can do some pretty messed up shit without exactly "railing" first.

What are you even saying?

comment 10y ago · link · parent

> That summary jumps seamlessly from a literal use of "the richest 1%" to "A global network of tax havens" without any indication that they've suddenly begun talking about a much smaller set of people.

Hint: It's because they haven't suddenly begun talking about a much smaller set of people.

None of the links you posted are talking about the literal 1% as the problem. They'll reference statistics about the literal 1%, but only because the literal 1% includes the figurative 1%.

> It's a rare political term that actually has a pretty clear meaning. It's a bit vague in that it could refer to income or net worth, and nationally or worldwide, but it's way better than stuff like "liberal" or "conservative" or "terrorist." Using such a precise term as a lazy synonym for "the ultra rich" is ridiculous.

I totally agree with you, and personally I try not to use the term because I think using it shows poor communication skills: I think it's exemplary of everything that made the occupy movement largely unsuccessful. But it also shows poor communication skills to derail a discussion just to enforce the usage of your terminology, even if your terminology is more accurate.

There is no movement to overthrow doctors. Stop defending people who aren't under attack.

comment 10y ago · link · parent

Who exactly is confused by this term? Can you point out the group that's railing against mid-career doctors and their offshore tax havens?

comment 10y ago · link · parent

Which is why bringing up the Guardian's hypocrisy is counterproductive to a reasoned discussion.

comment 10y ago · link · parent

> I do think it is important that those who read the Guardians moralising stance on tax are fully aware of it.

Why? Maybe it's important in some general sense, but it's certainly not important to this discussion. If, as you admit, it doesn't prove their stance wrong or right, then it really is just an ad hominem attack which has no bearing on this discussion.

comment 10y ago · link · parent

Can we just admit that we all know what the term 1% is intended to mean in context and not have this silly semantic argument again? There are real, important issues here and being pedantic distracts from the discussion.

comment 10y ago · link · parent

One of the most valuable realizations I had in my mid-20s was that just because someone is a hypocrite doesn't mean they're wrong.

comment 10y ago · link · parent

I'm somewhat surprised: this is written in Python.

I wonder what the motivation is here. I've long believed that a lot of security issues could be avoided simply by using higher-level languages, but I haven't seen many major security undertaking done in higher-level languages.

comment 10y ago · link · parent

This is why I asked, "Which library are you having a problem with?"

You've claimed that third party libraries and your colleague's functions will mutate the data structures you pass them, but this has very rarely been my experience.

comment 10y ago · link · parent

It might be complicated to tax that money, but if we simplified tax code there would be fewer complicated ways in which people can legally get the money offshore in the first place. Tax simplification is a prevention, not a cure.

comment 10y ago · link · parent

> Where did you get immutable data structures from in Python

Here's my favored source (in the Standard Library) https://docs.python.org/2/library/collections.html#collectio...

> and what do you do when every third party library you interact with uses mutable ones?

That's situational; which library are you having a problem with? I haven't really had that problem (okay, sometimes the tooling around web frameworks do stupid things, but that's not common).

Note that just because something is mutable doesn't mean you have to mutate it. Yes, Python doesn't as widely enforce non-mutation as Haskell, OCaml, etc., but that doesn't mean that suddenly all the Python programmers lost their minds and started mutating all the things. We're not savages.

comment 10y ago · link · parent

I tried to gently inform you that you had misinterpreted what I said. That was your opportunity to pause and think, and realize that I did not say what you thought I said, but you missed it.

> The point is, the idea that it's somehow "unprofessional" to write a recursive function is an absurd assertion.

...which is why I didn't say that. What I said was, "[E]ven in Scheme, most times where you would write a recursive function, you should be writing something with one of the higher-order functions. 99.9% of recursive functions contain a buggy hand-rolled implementation of map, reduce, or filter."

There are certainly cases where writing a recursive function is cleaner, and I would never say it's "unprofessional" to write a recursive function. However, I've debugged enough Scheme to know that if you're writing a recursive function you're probably reimplementing one of the core higher-order functions, and in doing so you're increasing your chance of bugs. You're also making your code less composable. If you're not experience enough with Scheme to have recognized this fact yet, you're probably not experienced enough to recognize exceptions to the rule.

> Many, many functional languages beyond just "academic" ones use recursion as a standard idiom, and using that to dismiss Scheme is itself an inflammatory statement especially on a site that is literally running on top of a Scheme derivative.

Scheme is my favored language for personal projects. I write more Python because there's more work available for Python, but when it has been my choice I've chosen Scheme. The reason I've written so much Python in a functional style was because I learned that style from Scheme. So if you think I'm dismissing Scheme, you're hilariously wrong. My statement isn't inflammatory; you became inflamed all on your own.

> I realize it is these days considered "un-Pythonic" to consider there to be more than one way to do something, but that is in fact one of the reasons why I no longer use Python. The attitude of its creator and its community have shifted against creative solutions and I have no use for that attitude in a technology field.

Cool. I thought I was the one being inflammatory.

It seems that you saw me say, "Scheme is a more academic language" and decided to take offense to that. Well, news flash, Scheme was designed at the MIT AI Lab. It's an academic language. That doesn't mean it's a "toy language" or that it's only an academic language; I didn't say either of those things. It's also ridiculous that you needed to bring Erlang into the conversation to defend Scheme: Scheme has plenty of history of professional use at both HP and Sun and is perfectly well respected in its own right.

Please try to learn something from this experience.

comment 10y ago · link · parent

> Yes, Erlang is such a toy language[1], it's never used for "professional development" at all[2].

From your sarcastic tone it seems like you take issue with something you think I've said, but since your post is unrelated to anything I actually said, I can only guess that you've inferred some meaning that isn't there.

comment 10y ago · link · parent

The problem here isn't that jobs don't provide job security, it's that they lie about it. How many times has someone called your company a "family"? Why is talking about a future in which you don't work for your company taboo? I'd have no problem working for a company that I knew wouldn't hesitate to fire me, except that there's no way to judge when that might happen. I'd appreciate hearing, "If we don't get this next round of funding, we might have to let you go," but instead the funding talks are done in secrecy while we go out for drinks and talk about how the company is such a family and how you're doing a good job, until suddenly someone is getting laid off.

The flipside of this is that if you do have job stability, it's usually not worth it to stay anyway. I've always worked for companies who needed me more than I needed them, so I've never really had to worry about job security. Over the past decade I've switched jobs 7 times, each time getting a 10-20% increase in income. In 5 of those cases I wanted to stay at my employer, but when I asked for a 10%-ish raise and explained that I could get more than that by leaving, they came back with 4-5% answers. In two cases they noted that 3% was "standard" (which was true for them--I talk to my coworkers about pay). In many cases, never giving significant raises works for companies: I still know people working year after year at my previous employers and accepting their annual 3% raise.

The underlying problem in both cases is that companies simply don't care about your goals. You're an equation to them, which can be tipped in their favor either by treating you like a liquid asset and firing you at their convenience, or by not paying you what you're worth. It's not an "alliance": that implies shared goals. It's companies using their workers for the company's goals, no matter what that entails, even if it means pretending that it's a family or an alliance when it's not.

comment 10y ago · link · parent

That's because job security isn't the only factor, obviously.

comment 10y ago · link · parent

This is silly. You're pointing out some historical reasons why some functional features have been removed, nerfed, or moved out of __builtins__, but none of this is a discussion of problems you've come across with actually writing Python in a functional style.

I've written tens of thousands of lines of code in a functional style in Python, and while it's different from Scheme and takes a little getting used to, Python is a very capable programming language for functional programming.

It does lack tail call optimization, but I think you'd find that even in Scheme, most times where you would write a recursive function, you should be writing something with one of the higher-order functions. 99.9% of recursive functions contain a buggy hand-rolled implementation of map, reduce, or filter. Scheme is a more academic language, so it makes sense for them to include this feature, which gives language users the same power as the language creators. But Python is intended for professional development and as such, it makes sense to force users into a better style.

comment 10y ago · link · parent

Not everyone is a computer scientist or computer engineer.

comment 10y ago · link · parent

The author seems to not quite have figured out what he wants to say here: clearly he knows that JS purity is undecidable,

Might I suggest looking into a subsets of JavaScript where purity is decidable? It seems like the author is intuiting that purity is decidable for some nontrivial subset of JS (this is my intuition as well).

I think that we can determine cost variables assigned to a primitive value to be pure. From there we can build up that const functions which only contain pure expressions are pure. Note that this does not include fields on objects of any kind: a.b and a[b] are not necessarily pure even if both a and b are. In this way, I think we can determine that a subset of JS is pure. We can't, however, prove that any subset is not pure. Nevertheless, even proving a small subset to be pure might have implications for optimization.

1
1011121314