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 9y ago · link · parent

> One of the reasons the Chrome browser uses one process per tab

Chrome does not use a process per tab. It uses a process per domain (mostly), unless you middle click a link in which case it always shares the same process as the original tab.

comment 9y ago · link · parent

To add to what you said, this could be used for more than just propaganda campaigns and targeted attacks. For example:

> In Illinois, investigators found evidence that cyber intruders tried to delete or alter voter data

Which implies that voter registration lists may have been affected.

During the primary elections, there were reports in certain states of people who found their names missing from the voter lists and had to cast provisional ballots. (Anecdotally, I know at least one person who votes regularly and found their name missing, despite not having moved or changed their registration information since the previous election, only a few months before).

From the article, we can't say if those are related, but it's clear tampering with voter registration information was the intention, whether or not they actually succeeded:

> In fact, the Obama administration believed that the Russians were possibly preparing to delete voter registration information or slow vote tallying in order to undermine confidence in the election. That effort went far beyond the carefully timed release of private communications by individuals and parties

comment 9y ago · link · parent

> "Kosher" is no longer a set of objective standards.

While it's true that there are different interpretations of what constitutes kosher food, it's not really relevant here, as none consider pork to be kosher.

comment 9y ago · link · parent

> Correlation not causation. For-profit prisons are a byproduct of America's fascination with incarceration

Nothing that OP mentioned is specific to for-profit prisons.

The prison-industrial complex is perfectly capable of existing and generating incredibly lucrative profits for the industry even if the prisons themselves are ostensibly either state entities or structured as non-profits. The "for-profit/private" vs. "public/state-run" distinction only changes how the money gets accounted for on paper; ultimately, the same entities are capable of making the same amount of money on either form of incarceration.

comment 9y ago · link · parent

> Triple price and 1/3 quantity directly follows the linear demand curves they teach in Economics 101.. not sure what else you were expecting.

It doesn't follow a linear demand curve, because we only have two data points (any two points can define a line, so we'd need at least one more to estimate the second derivative).

Furthermore, linear demand curve doesn't mean that the price elasticity of demand is 1 - and in fact, unit elasticity would be quite surprising, and it would generally not be desirable for Tesla[0].

But finally, Economics 101 classes don't teach linear demand curves. Every introductory economics textbook I've seen draws them this way because it's easier and it doesn't change the math at the introductory level, but every single one also introduces the concept with an indicator that it's drawn this way for convenience, not because they are teaching linear models.

[0] You can come up with somewhat exogenous reasons for wanting to operate in the unit-elastic or inelastic portions of the demand curve, based on the venture model of optimizing for brand penetration, but it's not the place that they'd financially be able to or want to operate in the long run.

comment 9y ago · link · parent

> Correct me if I'm wrong; what you're saying is that merchant account providers have terms that dictate to merchants how they should price their products i.e. as a merchant you cannot pass the fee?

They are not allowed to charge customers more for paying via credit card that for paying via cash. This is the law in some states, and in addition many merchant contracts stipulate it as well.

Sometimes you'll see merchants offer a "cash discount", which is technically prohibited too, but small merchants can sometimes fly under the radar if it's not too blatant.

comment 9y ago · link · parent

> It's not actually illegal in the US to pass the processing fee to the customer, it's just against the contract you have to sign to get a merchant account.

Depends on the state. It's no longer illegal federally, but many states, including the four largest states[0], still prohibit it. And if they pass the fees on, they have to pass it on for all credit cards, due to the specifics of a court settlement a few years back.

In addition, any merchant that accepts American Express is also prohibited from passing on fees for any credit card, because Amex prohibits passing on fees, and you can't pass fees for Visa/Mastercard and not Amex (see above).

So, very few merchants actually do.

[0] California, Colorado, Connecticut, Florida, Kansas, Maine, Massachusetts, New York, Oklahoma and Texas

comment 9y ago · link · parent

> Would really appreciate if you can point one check post that is 200 miles inland from border?

The overwhelming majority of the country lives within 200 miles of a border (since ocean borders count as borders). 66% of the country lives within only 100 miles of the border.

So even if you're talking about something that "only" applies to the 200 mile region, you're still talking about something that applies to the vast majority of people actually living here.

comment 9y ago · link · parent

> Which shareholders exactly, though? Asset managers like vanguard, blackrock and others control a large block of shares in many large companies, and don't really have skin in the game in the same way small investors do.

If you want to make the argument that investors don't have leverage over Fortune 500 companies, Yahoo is a pretty bad example to argue that case. Yahoo has succumbed more than once to pressure from investors during Mayer's tenure - look at the Alibaba spinoff, for example. (That was halted, but only because the IRS changed the tax treatment, making it no longer financially viable for investors).

As for Vanguard and the like, that's a red herring. Vanguard has as much of a skin in the game as its individual shareholders do. If they don't see a problem with the way a company is operating, then that's pretty much all there is to say. If the operations end up affecting the bottom line, they'll put pressure on the company, put pressure on the board, or they'll divest - and we've seen all three of those happen with Yahoo and many other large companies in recent years.

comment 9y ago · link · parent

> The one is paying you a salary for certain work done. The other is to (potentially) help you to negotiate better working conditions

That's like saying that the role of elected officials is to represent their constituents and serve their interests, treating them all with full equality under the law.

It's a nice statement, but it's completely idealistic and doesn't accurately describe what actually happens in practice.

comment 9y ago · link · parent

> Without the labour movement we'd have Triangle Shirtwaist fires and Ludlow massacres every week

It's a little disingenuous to conflate the labor movement with NLRA-regulated unions, especially in the context of the Triangle Shirtwaist Factory fire and the response to it. They're not one and the same, although modern unions have done their best to erase that distinction from the historical narrative.

You might also want to consider the other things unions of the time were involved with. Early 20th century unions passed bylaws excluding non-white members from their ranks, and then (successfully) lobbied for federal laws excluding them from the country altogether.

Without the AFL, we may not have had the Chinese Exclusion Act, and we might not have stripped Americans of Chinese and Indian descent of their naturalized citizenship, seized the homes they legally bought with the money they earned, and then given the land to white Americans.

comment 9y ago · link · parent

> Call it the Amazon effect - who wants to go to SOHO to buy clothes when you can do it online! :)

That's not the effect that's happening here. In fact, a number of brands that have built their reputations online have recently (in the last few years) opened up brick-and-mortar stores in SoHo, and done quite well. Warby Parker and Birchbox are two examples.

The problem, as the sibling comment notes, isn't that people don't want to go to brick-and-mortar stores when they can buy clothing online. The problem is rather specific to New York (and particularly Manhattan) real estate, which is why we have the paradox that brick-and-mortar stores along some streets are closing and staying vacant, while their competitors are opening up new (successful) stores literally two blocks away.

comment 9y ago · link · parent

> They've done pretty well at decoupling from reliance upon oil wealth in to the country by turning Dubai into a sort of playground-sanctuary for the super-wealthy. Only ~30% of their GDP is oil/gas.

Way less. 30% is for the entire UAE. Only 2-3% of Dubai's GDP comes from oil and gas.

comment 9y ago · link · parent

> But then again, these Sheiks, Emirs and their cronies will only remain in power through the most draconian measures once the oil wealth dries up

Unlike its neighbors, Dubai is not primarily an oil-driven economy. Only 2-3% of its GDP comes from oil and natural gas.

The devaluation of oil would impact Dubai, as the other Emirates and nearby countries are much more dependent on oil, but Dubai's economy has never really been based on oil, because Dubai had very little oil in the first place, and it was discovered very late.

comment 9y ago · link · parent

> Most of the "proceeds" from a conference come from an abundance of sponsorship for that year. For the community-organised, non-profit conferences I've been involved in, the per-attendee cost is often much more than what we charge for tickets. (This also depends on the overall sentiment within the organising team. Personally, I'm for charging as high as reasonably possible and offering scholarships and discounts where needed.)

While I'm sympathetic to that, I'll note that the one conference I'm aware of that does do this, on a matter of principle, is also the most generous with scholarships and assistance, and also the most diverse in both speaker lineup and conference attendees.

It's not easy, but definitely possible to run a conference this way; the main problem is that very few actually try.

comment 9y ago · link · parent

> Keynote speakers with a big reputation can get paid a lot of money for ~ 1 hours work.

They might only be speaking for an hour, but I can assure you that giving a talk worthy of that slot and money takes a lot more than a single hour to prepare, even for the most experienced public speakers. You may be able to get away with that once or twice, but it's unlikely you'd be invited back to speak for any paying slot after that.

By itself, conference speaking is not going to be a good source of income for anyone at any level of experience. When you factor in the preparation time, it's always going to come out to far less than you'd be able to charge for hourly contracting (or even salaried work). The value in speaking at conferences comes from the ability to use the platform to deliver a message and to build your reputation (yours and your company's).

comment 9y ago · link · parent

> Usually the employer sponsors everything (time, flight and hotel)

If you're lucky. When I speak at conferences, there are always some speakers who are there entirely on their own time and money (aside from whatever portion of travel expenses the conference picks up).

comment 9y ago · link · parent

It depends on the conference. I've spoken at a lot of conferences. This is my experience, both from my own presentations and from chatting with other speakers:

Very few conferences pay speakers - even keynote speakers. The exceptions seem to be conferences explicitly organized around a particular proprietary technology, and sponsored fully by the company that makes that technology. Most community-organized conferences or conferences around a particular language or piece of software do not. I only know of one exception to that rule.

Some will, however, cover your hotel and airfare. You may have to ask for this, and they may only cover it if your company does not already. (Airfare may be capped, or may be limited to people traveling from the same country/continent).

As for whether work sponsors your or not, it depends entirely on your company and their relationship with speaking. I've been pretty lucky - even though I'm not in a role that explicitly requires speaking as part of my responsibilities[0], I don't have to use my vacation time when speaking at conferences. Not all companies take this same approach, though.

> How do you keep earning money when giving talks all the time ?

This is the main reason why I feel that all conferences should pay speakers, even a small amount. Preparing properly for a talk takes a lot of time, and providing speakers some share of the proceeds from a conference is a way of offsetting the amount of time it takes to prepare and give a good talk.

If more conferences paid speakers, the quality of talks would go up dramatically. However, I only know of one community-organized conference that pays speakers a share of the proceeds.

[0] ie, "Developer Advocate"

comment 9y ago · link · parent

> But it's probably not easy to block it; the fingerprint is only detectable after the page has been downloaded. So it's not very useful for censorship

Well, it's detectable after the request has been made and Wikipedia sends the response. Assuming that a government has the capabilities to block delivery of that response (which they do), they can still implement censorship at this level, before the page reaches the end user.

comment 9y ago · link · parent

> My assumption is that because wikipedia has a known plaintext and a known link graph it's plausible to identify pages with some accuracy

At least in theory, the latest versions of TLS should not be vulnerable to a known plaintext attack. TLS also is capable of length-padding, which would reduce the attack surface here as well for an eavesdropper.

My understanding is that HTTP/2 makes it even more difficult to construct an attack on this basis, because HTTP/2 means multiple requests can get rolled into one.

Of course, all this is assuming an eavesdropper without the ability to intercept and modify traffic. In practice, governments will probably just MITM the connection - we have precedent for governments abusing CAs like this in the past - and unless Wikipedia uses HPKP and we trust the initial connection and we trust that the HPKP reporting endpoint isn't blocked, then it's still possible to censor pages, without anybody else knowing[0].

[0] ie, the government censors will know, and the person who attempted to access the page will know, but neither Wikipedia nor the browser vendor would be able to detect the censorship automatically.

comment 9y ago · link · parent

> The problem is we're moving extremely fast to a chrome only world. If it wasn't for corporate sites and the success of the iPhone chrome would probably be dominating the way IE used to. I definitely run into sites that only work on chrome and not in any other browser.

This hasn't happened to me in a while, except for occasionally government or bank sites which require "IE or Chrome". In many cases, spoofing the user agent works just fine for those. I agree it's bad, though.

The one exception I've noticed is Yubikey (U2F) support for Google services. Firefox has an add-on that provides Yubikey support, but last I checked, Google blocked access to those (I believe even if you spoof the user-agent).

comment 9y ago · link · parent

> You can't strike without a union

This is absolutely, completely false. Both legally and practically.

comment 9y ago · link · parent

> To me it is encouraging that Go has its own conference Gophercon and not riding on Google I/O

That's correct - GopherCon is a community effort. It originated when a community member expressed surprised that there wasn't already a Go conference, and then, upon encouragement from others, decided to organize one themselves. They remain the organizers of the event, and they do not work for Google.

Google has been a diamond-level sponsor for the last three "main" GopherCon conferences[0], but no different from any other sponsor of the conference in that regard. And that's by design - the Go project aims to be a community effort, not solely the work of Google employees, although Google does hire a small number of people who work on it full-time.

This isn't inherently better or worse than the model that (for example) Oracle uses with Java. It's just a different philosophy - and in the case of Go specifically, one that everyone involved seems to be happy with. The Go project contributors (including those employed by Google) want it to be a community-driven project, and the Go community members are by and large happy carrying the mantle themselves as well.

[0] GopherCon happens every year in Denver, but there are tons of other conferences around the world that carry the GopherCon name - for example, GopherCon Singapore is happening a week from today[1]

[1] And, similarly, traces its origins to a single tweet from a community member expressing interest in a conference.

2664.

Don't Read Your Logs(medium.com ↗)

3 points · by chimeracoder · 9y ago · discuss

comment 9y ago · link · parent

> IMO, the movies and games industries have much better, more objective rating systems.

Honestly, the music industry is way better than the movie industry. The MPAA rating system is a literal censorship board, complete with an actual member of the clergy serving in an advisory role on all appeals. But if you don't get your film rated, it's almost impossible to distribute it to anyone but the very small independent movie theaters.

The MPAA results in an immensely chilling effect, which influences the movies people produce in the first place.

Contrast that with music, where the distribution mechanisms are much more varied than for film, and there's nothing preventing people from releasing music with incredibly explicit lyrics, as long as they don't expect the uncensored versions to be played on the radio - a medium which, while still popular, is by no means thr primary distribution channel anymore.

comment 9y ago · link · parent

> You can't pin that on spy agencies. Criminals would have exploited the same holes eventually.

Officially, the NSA's role is not to sit on zero-day exploits. If it discovers zero-day exploits (either by accident or through active research), then it should follow industry practices for disclosing and patching it[0].

[0] There are discussions of what constitututes "industry best practices", but I think we can all agree that "telling nobody, including the software vendors, with the hopes of being able to exploit it later" does not qualify.

comment 9y ago · link · parent

> Unfortunately this would mean such services are segregated by race, religion, culture, and location.

These services are already segregated by race, religion, culture, and location - yes, even in Western European countries - both explicitly and implicitly.

In fact, pretending that these problems don't exist and that the government effectively supports and protects all citizens equally is exactly how systemic racism, sexism, and bigotry persist and propagate.

comment 9y ago · link · parent

> also look up the 1965 boycott of california grapes (and in general the worker's strike and organizing efforts by cesar chavez and dolores huerta).

On the other hand, not all of Chavez's boycotts were successful. That includes his final effort, a hunger strike which ultimately killed him (aside from his own death, it was not a particularly successful boycott otherwise either).

comment 9y ago · link · parent

> I never put a password on my phone before the fingerprint reader. The apps that I care about protecting have password functionality built-in.

What email client and web browser do you use that protect access via a password?

comment 9y ago · link · parent

> I mean Mongo has very bad associations for me in terms of childhood taunts and Blazing Saddles...but now the name really relates more to the product than to the original meaning.

The difference is that the word "mongo" is an issue of the same word having different meanings in different dialects. Whereas, with "cockroach", it's the same intended meaning, but with different connotations.

1
888990
202