Better HN
topnewbestaskshowjobs
Log inSign up

plesner

622 karma · joined Aug 4, 2013 (13y ago) · 120 submissions

Christian Plesner Hansen

Blog: http://h14s.p5r.org

Website: http://c7n.p5r.org

[ my public key: https://keybase.io/p5r; my proof: https://keybase.io/p5r/sigs/nc-O1JGHhVORXxZAziE3DK0gZLCDdNTbt8wfDXYmHR4 ]

Submissions

comment 8y ago · link · parent

Will agriculture go on easily though? If you look at just two effects, increased variability of the weather and loss of arable land because of rising sea levels, how do those alone not lead to lower output and greater insecurity?

32.

Daniel Day-Lewis is not a man, but a work of art(theguardian.com ↗)

2 points · by plesner · 8y ago · discuss

comment 10y ago · link · parent

I've seen first-hand uber employees doing things on behalf of the company that are even more unethical than what's being reported in the press.

comment 10y ago · link · parent

Isn't that basically what you'd expect with a progressive tax system? Paying taxes is not the only way to contribute to society -- almost all the money people earn do to some extent, through taxes, and consumption, and investments, etc. Which contributes more I don't know. That's why I was hoping for a citation.

To your second point, there is evidence that CEO performance is negatively related to their pay: http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1572085. Measuring competence is difficult, wealth is a appealing proxy but maybe not that reliable.

comment 10y ago · link · parent

[citation needed]

comment 10y ago · link · parent

The original comment said it was their fiduciary duty to minimize taxes. It's not - exploiting loopholes is a choice, not a legal obligation.

You're talking about incentives which is a different discussion. There are incentives that go the other way too: evading taxes looks bad, it's bad for business if society crumbles for lack of revenue, morally it's wrong to benefit from infrastructure, education, etc and not contribute back. But that's not the point I was addressing.

comment 10y ago · link · parent

If what you're saying is true then it's easy to provide evidence: just find a case where a company has been successfully sued for not minimizing their taxes sufficiently. I've never heard of such a case and I can't imagine how it could exist and not be mentioned every time a company receives criticism for evading taxes.

comment 10y ago · link · parent

It's a common misapprehension but it's just not correct. There is no such thing as a fiduciary duty to minimize taxes. See https://en.wikipedia.org/wiki/Fiduciary#Fiduciary_duties_und....

comment 10y ago · link · parent

Incorporating old rancid stock is obviously bad. But besides that -- how bad is this if people don't actually care? The danger of saturated fats is being increasingly questioned[1] and evidence for the health benefits of antioxidants is scarce[2]. If it's just a matter of taste and people like the taste just fine then how bad is this really compared to other cost-cutting measures companies use?

[1]: https://www.theguardian.com/society/2016/apr/07/the-sugar-co...

[2]: https://en.wikipedia.org/wiki/Antioxidant#Relation_to_diet

comment 10y ago · link · parent

This looks really impressive. I'm curious what the story is around propagating errors through chains of futures. Traditionally future libraries don't pay much attention to that which can make debugging excruciating, which it doesn't have to be. But then rust does errors differently so maybe it's less of an issue there?

About the naming though, I was a little disappointed. Out of future, deferred, and promise, "promise" is the better term. The two others imply that something will happen later which is misleading because it's fine to have promises stick around long after they're fulfilled.

comment 10y ago · link · parent

> L1. There are gaps out there.

I had a similar experience. At one point I decided that I wanted to understand, step by step, how Ada Lovelace's Bernoulli program works[1]. There was a few steps that didn't seem right to me but I was sure if there were any bugs in there they would be well-known and mentioned somewhere I could find. This being one of the most iconic and historically significant programs ever written. Indeed I found more than one person claiming that the program was known to be correct.

It took a long time before I could believe that it wasn't just me not getting it, there were indeed a few things out of place and apparently there was just no mention of it anywhere on the web or in any of the research into the analytical engine I could get my hands on.

[1]: http://h14s.p5r.org/2012/12/bernoulli.html

comment 10y ago · link · parent

These things keep happening in Denmark but the thing is, very few people actually care here. Avoiding mistakes of this caliber isn't rocket science but it does take a little effort and awareness and as long as nobody cares there is no motivation to make that effort.

In that sense this is just giving people what they're asking for. They're not asking for security so they're not getting it.

comment 10y ago · link · parent

It's possible that it's more a theoretical than a practical problem, I would hope so. But it does seem to me like fundamentally a problematic property of a type system that having more accurate types can break your program. It's the static type equivalent of breaking the Liskov substitution principle.

comment 10y ago · link · parent

In their list of risks there's one missing: it makes changing the return type of a method to a subclass a subtly breaking change. Say some api defines a method,

Collection<String> getNames() { ... }

and in your code you do

var names = getNames(); if (...) names = Collections.emptySet();

Now, if the api later changes getNames() to be

List<String> getNames() { ... }

your code breaks. That's one of the advantages of only allowing this on final variables (besides reusing an existing keyword): it means this can't happen. Of course you already have a problem if the class has subclasses but I would argue that this is more subtle and problematic.

comment 10y ago · link · parent

No question, we're quickly moving away from physical Kroner. There's also political and especially business pressure to get rid of them. However, it's not true that they're obsolete or somehow similar to new yen.

I think it's a point worth emphasizing because going cashless is a huge decision, especially the way we're moving towards in Denmark. There's a discussion to be had around it and if we just accept that it's inevitable or has already happened then that kills that discussion before it's even taken place.

comment 10y ago · link · parent

That's just not true. People pay by cash all the time in Denmark. I happened to read this in line at a Danish supermarket and people were paying with cash as much as with cards while I was paying attention.

comment 10y ago · link · parent

You're making it sound like you're disagreeing with me but it sounds like we're in complete agreement on the main point: it's not impossible to create a cPython JIT. It's a choice whether to do it or not. (And by the way, creating a JIT is a piece of engineering, it's not black magic). It's fair enough if people think that would be the wrong choice, I might even agree actually, but if the cPython developers say, time and time again, that python is inherently unsuitable to be JITted then that's wrong and it prevents that discussion from taking place.

comment 10y ago · link · parent

Sure there were C-based extensions for JavaScript, that's how it integrates with the DOM. It makes it a little trickier but not a whole lot.

comment 10y ago · link · parent

By "bold" I'm also referring to your use of the words "freaking" and "ridiculous".

1. This was also said about JS before people just went ahead and wrote JITs for it. Are you sure what they're saying isn't "we can't make a JIT for python" rather than "nobody can make one"? Because that's how it turned out with JS.

2. If given the choice, do you think the community would turn down a JIT to avoid making the reference implementation more complex? To whose benefit is that requirement? I've never heard people complain about other languages that they didn't have an easy-to-read reference implementation.

3. I've not heard this reported as a problem in practice for languages that have a JIT. It's usually toy programs where the JIT overhead is significant and they're so small and short-running that neither slowdown or extra memory is usually an issue.

4. Not everything that runs on cPython runs on PyPy so that's not a choice I'm necessarily able to make.

I'm not saying there aren't reasons to not have a JIT in cPython. But it's a choice not a natural law. And it's not ridiculous to suggest that they could make a different choice if they wanted, as JS eventually did.

comment 10y ago · link · parent

> If you see only print, you are missing the point.

The top thing, sometimes the only thing, that makes my scripts written for 2 not work in 3 is the change to print. Adding a print function is fine, I'm all on board with that; removing the statement though seems like pain for no reason. Bringing that up is not missing the point, it's hitting the nail right on the head.

comment 10y ago · link · parent

> Adding a freaking JIT to CPython is a ridiculous suggestion that will never happen for a whole load of reasons.

That's a bold statement. Can you elaborate on what those reasons are?

comment 10y ago · link · parent

I agree that Denmark tends to dance to the US's tune but not as spinelessly as you make it sound. If what you're saying was true wouldn't there be US missile on Greenland?

comment 10y ago · link · parent

Here's a video of him leading a search quality meeting in 2012: https://www.youtube.com/watch?v=JtRJXnXgE-A.

54.

Fiduciary duties under Delaware corporate law(en.wikipedia.org ↗)

1 points · by plesner · 10y ago · discuss

comment 10y ago · link · parent

Why would that be illegal? There is nothing illegal about having other priorities than maximizing shareholder value. See https://en.wikipedia.org/wiki/Fiduciary#Fiduciary_duties_und....

comment 10y ago · link · parent

Caveat emptor. The license only gives you permission to use the code, not any patents covering it. So while you can read the code, to use it you need to either get a separate patent license or convince yourself that MS holds no patents on the code. I'm not going to do a patent search, nor do I want to know, but I would be surprised if they haven't patented aggressively.

comment 10y ago · link · parent

Not my comment but I think of it in exactly the same terms. You abstract the details of the company away and reduce it to some key numbers, the company viewed at a high level of abstraction.

The company gets to abstract away information that might cast them in a bad light, like bad working conditions, environmental impact, bad financials, etc., and maybe lets them screw over investors. But what makes it really "evil" (thought I don't think evil is a helpful concept to invoke) is that it can also help investors by giving them plausible deniability, they can invest without being bothered by unpalatable "implementation details". It can be used to make it easier to externalize the cost of doing business for both company and investors, to the detriment of the public.

Not necessarily what the original comment meant but it's why I think of it in those terms.

comment 10y ago · link · parent

Really like the idea. Unfortunately name might work against them in Scandinavia and other places where kloak means sewer (it has the same origin as "cloaca" in English).

comment 10y ago · link · parent

No you're totally right, it's not a pyramid scheme. I still don't think it's a Ponzi scheme though because I don't think a sticker and return postage constitutes an investment. It's just a normal, if unsustainable, trade.

For now. It would be totally consistent with how Ponzi schemes work in real life to start with something legit that turns out to not be sustainable, and then turning it into something fraudulent. Say once people have started sending in stickers they should choose to offer a service where they hang on to your stickers to save you the trouble of mailing back and forth, and doubling your holding every 10 days. Then a sticker would be an investment and it would be a Ponzi scheme.

I can only hope they'll do something like that. It'd be totally in the spirit of Ponzi.

1234