Better HN
topnewbestaskshowjobs
Log inSign up

chimeracoder

21,186 karma · joined Oct 12, 2010 (16y ago) · 6,050 submissions

Inveterate builder.

Personal site: http://www.adityamukerjee.net/

My email is pretty easy to guess from my username.

Submissions

comment 11y ago · link · parent

> The insurance company saved money, but did Amazon? I thought the portion of premiums that employers pay is fixed?

Large companies actually underwrite their own plans (this is known as self-insuring[0]). The plan is managed by a known insurance company (e.g. Aetna, Blue Cross), so from the employee's perspective it's the same, but the actual risk is borne by the company. I would be very surprised if Amazon did not do this, given their size (~200K employees) and company age (over 20 years).

As a rule of thumb, the break-even point is about 1000 lives covered. Once a company gets to that point, it starts to be in their best interest to underwrite the insurance plans they provide.

Source: Founded a health-tech company that sold to insurers (which meant selling to companies that self-funded their plans as well, as they were they real risk-bearing entity).

[0] https://en.wikipedia.org/wiki/Self-funded_health_care

comment 11y ago · link · parent

> the fact that you can get across 20 miles of NYC sprawl for $2.50 is an unbeatable deal.

Also, the people who need to travel the furthest in NYC tend to be the ones who can afford it the least[0], which makes the flat price incredibly important.

Let's not forget that one-third of all subway stops in the US are in NYC[1]. Unlimited travel between any two of these costs $116/month. That's an incredible deal indeed!

> Would any private company settle for as thin (or no) margins as any MTA does?

Absolutely not; the MTA itself barely 'settles' for it. They're robbed blind every year by the state legislature, because most of the folks in Albany don't care about public transit in the city. Every year, the MTA is the perennial scapegoat for the state's budget issues, and they end up having to pick up the slack and take the public heat. No private company would ever stand for this, and the MTA only does because it literally has no other choice (being a highly regulated entity).

[0] This is not always true in some other cities, where the people traveling the furthest by public transit tend to be coming from the wealthiest areas and working the highest-paying jobs.

[1] https://en.wikipedia.org/wiki/List_of_metro_systems

comment 11y ago · link · parent

> I know the word lists aren't complete. This was the best I could do given the time constraint, the fact that I don't actually speak 19 languages... And also, after two evenings of googling dirty words, I started feeling like I'm about to acquire Tourette's in some unknown language ;)

Despite all that, I'm impressed by the level of completion for Bengali and Hindi. I tried a few variations of several common Bengali curses and all came up. Thanks for making this, and also for not limiting it to Romance and Germanic languages.

What sources did you use to compile the list of words?

comment 11y ago · link · parent

I'm an i3 Linux user, and it's always sad to see the state of tiling window management on OS X. I use OS X on my work machine, and while I'm able to mimic some of i3's behavior on OS X, it's never quite the same, and I always find it frustrating.

There are a number of tools that provide some subset of the functionality, but they always lack some critical piece (oftentimes FFM, multi-monitor support, or window containers).

comment 11y ago · link · parent

> It shows that modest, swift, carefully metered punishment is a lot more effective than the more traditional slow, but heavy punishment.

I'd be very nervous about extending this beyond drunk driving.

With DUIs, breathalyzers are essentially "proof" of the crime (to the extent that there is ever incontrovertible proof for any crime). And if you refuse a breathalyzer, you've violated the implied consent law, so there's no ambiguity there either. You may be able to get off on a technicality, but it's rather difficult to abuse this, short of a police officer falsifying breathalyzer results outright.

But for most other crimes, there's a lot of ambiguity, which is why we have a separation between LEOs and the court system. I'm already uncomfortable with the level of unchecked power that LEOs (and non-LEOs, like the TSA) have today. I really don't want them to have any more leeway with detention of civilians.

comment 11y ago · link · parent

> push-button cross-compilation? It could be huge! The only language that I'm aware of that does it at all well is C

I'm not familiar with the term 'push-button', but Go also does cross-compilation very well.

(In fact, on Go, technically all compilations are cross-compilations; it just happens that the target platform and architecture may match the platform and architecture of the current machine.)

I'm not sure if that's still the case in 1.5 onwards, since I know they changed some stuff to make it even easier to target other platforms and architectures, but it was the case previously.

comment 11y ago · link · parent

> If you're trying to raise a few million dollars and you're not a PowerPoint jockey it feels like money well spent to me.

The problem is that pitch decks are (or should be) continuously updated, so it's not exactly a one-time cost. (That, or you have to learn enough PowerPoint skills to update it yourself).

While the stories of "here's how I raised my series A in 7 days!" make good stories, the reality is that most fundraising cycles are not like this. They're longer than people expect, and they're an iterative process.

comment 11y ago · link · parent

> IMO, the Android echosystem is a clusterfuck and Google needs to get a hold of it. I would buy a Windows phone before I would buy an Android device.

This is nowhere near as bad as the situation with Windows XP 10 years ago.

The difference is that Android has the majority marketshare worldwide and Windows phone does not, making Android the more attractive target both for researchers and malicious actors.

Security by obscurity is not entirely without value, but it's not particularly strong as a defense either.

comment 11y ago · link · parent

Let me preface this by saying that I am a full-time Linux user and have been for several years. I run Debian on my laptop and Arch Linux on my home machine. Both use i3 (no DE), and I do all my work at the command line or in applications that I launch from the command line[0]. I love the Linux terminal. I don't even own a non-Linux machine, not counting the various OS X devices I've used at work when one is required.

> I think it's a myth that Linux users aren't interested in GUI tools.

It's definitely a myth, and a very dangerous and self-fulfilling one. I would strongly appreciate a GUI option for many common command-line tools. I like the command-line, and do most of my work there. But sometimes GUI tools are nice to have. The problem is that most GUI tools on Linux really suck, and most Linux tools don't even have a GUI at all[1]. Contrary to popular belief, it's not due to the inadequacy of GUI toolkits on Linux, but simply due to a lack of time actually spent developing these tools.

This ends up being self-fulfilling, because it raises the barrier to getting started on Linux, which keeps out people who would be otherwise very comfortable on Linux as an OS, but simply dislike being forced to use the command-line exclusively.

[0] Never bothered with dmenu, never really felt the need to set it up.

[1] I'm not counting ncurses-based interfaces as GUIs for these purposes.

comment 11y ago · link · parent

> People around here have lost their minds -- they all want to crowd into the same 20-ish blocks of trendy real estate

It would help if more than ~20 blocks of San Francisco were conveniently accessible by subway. BART, MUNI, and Caltrain are woefully inadequate.

comment 11y ago · link · parent

> (2) Build more housing units in the city. Eliminate zoning restrictions. Stop worrying about protecting the existing homeowners and pay more attention to everyone else.

These three things are not synonymous - or at least, they need not be.

For example, New York is building a lot of units. (A lot of them happen to be luxury units which often sit vacant since they are used purely as investment vehicles by foreign entities, but that's a separate problem.) The real issue is that Manhattan is an island, and there's only so much you can cram into 33 square miles (though they're working on squeezing every last cubic inch out of that). They're also, of course, building at an absolutely unbelievable pace in Brooklyn, Queens, and even the Bronx[0].

San Francisco, on the other hand, has been incredibly slow to build more inventory (and also build upwards), compared to the amount that the demand has increased. This may be partly due to zoning issues, but not entirely, and the situation that San Francisco is in is not typical of most cities.

Houston is famous for having no zoning code, but New York has a very extensive zoning code[1]. In fact, the market for air rights in New York is quite complicated and fascinating[2]. You can build more housing without scaling back zoning restrictions or removing them entirely; there's just not always enough will to do so in every city.

[0] not sure about Staten Island, but... well, let's not talk about that.

[1] http://www.nyc.gov/html/dcp/html/subcats/zoning.shtml

[2] https://en.wikipedia.org/wiki/Air_rights

comment 11y ago · link · parent

It's debated whether the US has made money off of the purchase of Alaska from Russia or not[0].

The question of whether the US has made a return is not exactly the same as whether Russia profited off of the transaction (the costs to the US of governing the property may not be representative of what Russia would have paid), but they are related.

[0] https://en.wikipedia.org/wiki/Alaska_Purchase

comment 11y ago · link · parent

Yes, Alan Kay was very clear that he does not believe inheritance to be a key part of object-oriented programming.

> OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk and in LISP. There are possibly other systems in which this is possible, but I’m not aware of them.

For context, he said this in 2003, at the height of Java's popularity.

comment 11y ago · link · parent

> Their Android application still didn't support federated contacts even when it was based on XMPP

If I remember correctly, it did, and then they removed the feature.

They claim it was due to spam, but really, there are a number of ways to solve that problem without removing the feature entirely (ranging from better spam-prevention heuristics to requiring an explicit opt-in).

Hangouts is in all ways inferior to Google Talk. It's really a shame.

comment 11y ago · link · parent

I'm confused by how that works. I've never seen IP addresses expressed in decimal form before (which is what I'm assuming that is).

comment 11y ago · link · parent

> How does gofmt replace the Visitor pattern (just to pick one at random from the GoF)?

This would not be the first time that we have had a discussion on HN about this exact design pattern in Go, so it's hardly a random choice. And given past precedent, I think it's best if I end my half of the conversation here and propose to agree to disagree. To quote my previous post,

> I'm really not interested in starting another flamewar about why Go lacks $X and therefore $Y is better, because we have had enough of those on HN, don't you think?

comment 11y ago · link · parent

> gofmt is about code formatting. Design patterns are about abstraction and expressiveness.

First, gofmt can do more than code formatting, such as applying simplifying code transformations that are semantically equivalent. Second, code formatting and design patterns are indeed related, because the way code is laid out in text is the way that design patterns are expressed. The layout of code affects how abstractions are presented, which affects which abstractions are easy to reason about and work with.

Finally, I picked gofmt because it's a pretty uncontroversial tool, and one that is so successful that even languages like Rust have adopted or are working something similar. I'm really not interested in starting another flamewar about why Go lacks $FEATURE and therefore $OTHER_LANG is better, because we have had enough of those on HN, don't you think?

comment 11y ago · link · parent

> design patterns--and we should be reminded that design patterns exist to address defects in tooling

This is a really important point, and I think it's why a number of best-practices in Go are actually not best practices in other languages, and vice versa.

One of the explicit, top-level design goals of Go was to focus on creating top-notch tooling as part of the language. While it is not the only language that has tried to do this from the get-go, it's one of a very small number[0].

Because the tooling was a first-class design goal, a number of the problems that traditional design patterns were created to address are less problematic in Go code[1].

[0] Case-in-point: gofmt, which other languages are now adopting due to its success.

[1] Again, gofmt: there are a number of design patterns and style bikesheds around code format, but really, the most important thing is that there exist a uniform standard. gofmt provides that reliably and a way to enforce that as a pre-commit hook, which has done wonders for eliminating minor style variations that IMHO cause more problems than they solve.

comment 11y ago · link · parent

> we can go very far with very little funding, so why sell shares when we can get a 50k grant in exchange for some (admittedly tedious) paperwork?

To be entirely frank, it depends on the field, but I imagine it's easier in many ways to get VC funding than a grant for many projects. Grants are a pain to apply for (there's a reason that full-time grant-writers exist) and the feedback loop is very slow. Compare that to the VC world, where you can quite easily raise a small amount of seed/pre-seed capital quickly, and even when you're rejected, you're likely to hear back quickly[0].

This will be a challenge for YC, because it inherently creates an adverse selection problem. The companies that YC (and all venture funds) want to attract the most are the ones who could win a grant if they applied, not the ones who are seeking venture funding simply because they can't actually survive the grant process[1]. The grant application process is terrible for a lot of reasons, but it does have the side-effect of filtering out a lot of people who simply aren't that serious or invested in their work. For YC, it means a lot more companies to sift through to identify the gems.

There are certainly some billion-dollar companies that could not survive the grant process (or simply would prefer not to go through it), but if we're looking strictly at the ratios, it's going to be a lot more challenging for any venture fund to find these 'needles', because the 'haystack' is simply much larger (relatively speaking).

[0] If you never hear back from a VC, that means you're probably either rejected or being punted on ("not now, but maybe later"). But that's a good thing - at least you know! If you don't hear back from a grant application after 2 months, that doesn't actually mean anything other than your application may not have been reviewed yet.

[1] Possible reasons for failing to win grants: project/business model is simply not valuable, project is not well fleshed-out, company does not have the runway to survive the drawn-out application cycle, etc. All of these apply to the venture world as well, but the cycle there is much faster.

comment 11y ago · link · parent

> Furthermore, I installed uBlock in Firefox for Android because ads were getting so bad that it was essentially impossible to view some sites.

This in itself is enough of a reason for me to use Firefox on Android and recommend it to everyone who uses Android.

There are a lot of other great things about it, but the fact that it allows installation of extensions (and therefore allows adblocking for non-rooted devices) is huge.

comment 11y ago · link · parent

> But my question back is always: until they do find a new business model, if they can survive by blocking people who use adblock, why shouldn't they?

In this day and age, Adblock is a necessity for nontechnical users. I installed it on my parents' machines to protect them against drive-by-downloads, malware, etc.

Someone may say, "I know my ad networks would never do anything of the sort". But the fact is, ad networks get compromised, and even ad networks that have strict policies for acceptable ads sometimes have bad actors slip through. Even if it's not often, it's enough of a risk that it's simply not worth it.

FWIW, Reddit may be in a different situation, since I believe Reddit's ads are self-hosted. In that sense, I'd view it more as analogous to sponsored user-generated content, which I have other philosophical issues with, but don't suffer from this problem.

comment 11y ago · link · parent

> only that 'const' in C-family languages has significant drawbacks

AFAIK this is pretty much limited to C and C++. Many (and I am willing to venture most, or at least the most-used) C-family languages that aren't C/C++ don't suffer this issue. Go and Javascript, for example, both use "const" in a way that doesn't modify the type of the underlying object.

comment 11y ago · link · parent

> The oil doesnt' really make that much difference in Norway. They tend to keep most of the money in a state reserve to not create too much inflation.

It absolutely does make a difference to have the world's largest sovereign wealth fund[0], as well as the economic status that allows you to leave it untouched. Simply having guaranteed future access to that kind of wealth changes your political and economic options today.

> Subsitute Norway for non-oil Sweden, a country with huge immigration

Sweden is also comparably small (same size as NYC proper), and much of the "huge immigration" comes from other Scandinavian countries or EU member states. Sweden refuses to publish data on ethnic backgrounds[0], but by all accounts it is overwhelmingly white[1]. Of the top ten countries of origin for Swedish immigrants, 6 are predominantly-white European countries, and the rest are countries with majority Muslim population[2]. Muslim immigrants in Sweden have on average a dramatically lower quality-of-life than the general Swedish population and compared to what is being discussed here. On top of that, they face incredible racism and xenophobia.

So if anything, this supports the point that allowing free migration (as all US cities do) brings average quality-of-life down, not up. (Or to put it another way, it's very easy to maintain a high quality-of-life when you have the freedom to exercise strict control over your borders).

[0] http://www.bbc.com/news/world-europe-24049876

[1] Manhattan, by contrast, was majority non-white for most of the 20th century, and only just surpassed 50% white in ~2011.

[2] https://en.wikipedia.org/wiki/Demographics_of_Sweden#Populat...

comment 11y ago · link · parent

> And they all are known as tax havens except for Norway which has half a million dollars of oil reserves per citizen :).

> But I do think the article is right in pointing out a lack of options in the U.S. if you want to live a lifestyle that doesn't center around work.

This is the "option" of being both a very small and very rich state, which is simply not feasible.

To put this into perspective, Norway is just over half the population of New York City. If New York City had half a million dollars of oil reserves per citizen (as you point out) and started to mint its own currency, and established immigration and trade barriers[0], yes, we would see a massive quality-of-life improvement compared to the status quo.

But that's simply not an option, because (a) we can't produce massive oil riches out of thin air, and (b) NYC is not a sovereign state.

[0] Norway is not part of the EU, but even if it were, EU member states are able to restrict trade and immigration within themselves to a far greater degree than a city or even state in the US can.

comment 11y ago · link · parent

> Your reasoning is just as strong when used against you, as when you employ it. It fails by parity of reasoning.

So what neutral term would you suggest we use instead that is acceptable to everyone being described?

> Your opponents are of a similar mind.

Please don't make assumptions about my views on abortion or who my "opponents" are, especially since I've very explicitly tried to refrain from opining on the matter.

comment 11y ago · link · parent

> Please refrain from using epithets to caricature opposing views. This includes calling another group 'anti-choice', 'anti-life', 'pro-coercion', or 'pro-death'.

I don't really like the term 'anti-choice', but 'pro-life' is also an epithet that many pro-choice people dislike (because it implies that pro-choice people somehow oppose life). 'pro/anti-abortion' are problematic for similar reasons.

So while I'd like to use an uncontended term, I really don't know of one.

comment 11y ago · link · parent

> I had an argument recently with someone who is anti-abortion and his opinion is that life starts when sperm and egg meet. Anything preventing implantation of an egg is essentially killing of a baby

This is a pretty common opinion among anti-choice people. One of the many divides in views on abortion is between people who believe life begins at birth vs. before birth, with a significant number of the latter believing life begins at conception.

EDIT: Obviously views on abortion are complicated and vary widely. All I'm saying is that it's really not hard to find people who will tell you life begins at conception (and by that logic, believe that killing a fertilized egg is equivalent to killing a baby).

comment 11y ago · link · parent

> I wonder if there are any estimates on how close to the original performance they think they can get. Do they expect to reach parity by, say, 1.6 or will it always be slower?

I imagine that's just a side-effect of rewriting the entire compiler; I'd expect the next versions to improve on the speed.

Though in the meantime, if compilation time is an issue, you can always try gccgo. On my larger projects, it's slightly faster than gc 1.5. YMMV, obviously.

comment 11y ago · link · parent

> Quite significant that Bell Labs Unix alums don't want to put up with C any more and actively purge it from their tree?

Go is quite literally written by the people who invented C, wrote C, and made it what it is today. (Ken Thompson wrote one of the first commits to the language).

The reason for purging C from the Go toolchain is that it makes it harder for Go developers to contribute. Go developers already all know Go (by definition) - why make them use a language that they may not know as well in order to contribute back to the project?

Furthermore, mixing C code with Go code can cause performance issues if not done right. While you can expect the official project to "do it right", this still raises the bar for people who know Go and want to contribute, but don't know C as well.

And frankly, I don't think it's that significant to say that they don't want to write C anymore. C was a great language for its time, and it still is a great language in many ways. But it's almost half a century old; it would be more surprising if after almost 50 years they couldn't write a language that they prefer even more!

comment 11y ago · link · parent

> Now all Amazon needs to do is make Aurora HIPAA compliant/offer to sign a BAA and the dump trucks full of money will be backing up in no time. Can I dream?

Amazon already signs BAAs that cover EC2 dedicated instances and S3. Or do you mean BAAs that cover Aurora specifically?

FWIW, unless you're already a rather large company with excess capacity in both the engineering and legal teams, I'd recommend skipping AWS entirely and using a company like Aptible (YC S'14) to handle hosting and compliance[0]. It's more or less like using Heroku, except you have all of the compliance requirements (including legal documentation) managed for you. Having tried both approaches myself, I can testify that the latter is by far the preferable alternative (and honestly cheaper in the long run).

[0] Like Heroku, Aptible uses AWS under the hood, so it's not really "skipping" AWS, but you never have to deal with it directly (and that's a good thing).

1
121122123
202