21,186 karma · joined Oct 12, 2010 (16y ago) · 6,050 submissions
Personal site: http://www.adityamukerjee.net/
My email is pretty easy to guess from my username.
comment 11y ago · link · parent
My personal favorite, though, was Katherine Cox-Buday's talk titled "Simplicity in Go"[0]. It's really hard to write a talk that has value for people of all levels of experience (beginner to expert), and this one really stood out to me as an excellent example of one that does.
(Anecdotally, I've been writing Go full-time for 3 years now, and I found the talk valuable, as did a couple of my friends who have been writing Go for only a few months and also attended the conference.)
[0]https://www.youtube.com/watch?v=S6mEo_FHZ5Y&index=5&list=PL2...
comment 11y ago · link · parent
> The index file can be taught with "update-index --untracked-cache" to optionally remember already seen untracked files, in order to speed up "git status" in a working tree with tons of cruft.
There are some companies out there that are using Git at such a scale that `git status` already takes as much as 20 or 30 seconds to complete. I'm not sure if this would speed up that particular issue, but it just goes to show that Git has a large range of use cases. Not all regular git users have the same needs.
comment 11y ago · link · parent
The GPL means that you have a license to do so from the person who owns the rights to the code, but that doesn't mean the government cannot prevent you from exercising that right.
IANAL, but I think it would be reasonably easy for them to get away with this on the grounds that they are "only" preventing activity that is already illegal. (Not to mention that many hardware manufacturers blatantly violate the GPL as it is already).
comment 11y ago · link · parent
OP, in case you haven't thought of this already: CISA is the Columbia Iranian Students Association. They may be able to help you reach out to other Iranian friends and family. Turath is the Arab students association; that may be worth a shot too. Great Neck is right nearby, and there is literally a 100% chance that someone at CISA is from Great Neck and will be able to get the word out to the Persian community there.
You're from LA so I'm going to guess you're either from Beverly Hills or are in touch with the community there, but if not, someone at CISA will definitely be as well.
comment 11y ago · link · parent
I can't remember the last time the Google Voice app received any update at all, and it's definitely been years since it received any non-trival, non-bugfix update. Not that I'm really complaining - it works well enough that I'd be more afraid that any update would break it by forcing me to use Hangouts or Google+ to use my Voice account. But it would be nice to, for example, have the Google Voice notifications support quick actions the way the stock messaging app on Android/CM does, and the way the Gmail app does.
comment 11y ago · link · parent
Do you feel the same way about Python's use of the word 'class'? Because Python also uses prototypical inheritance under-the-hood. The abstraction is clean enough that most people don't know the difference, but it still really is "just" prototypes down there if you peel back the layers.
comment 11y ago · link · parent
And I'm a technical user. I literally don't understand how (or if) non-technical users are expected to be able to understand how these work.
But seriously, this has to take the cake. "Google Photos" is replacing "Google+ Photos", though "Google+" is still around, and you can use Google+ to share photos from "Google Photos" (but not "Google+ Photos", at least not anymore).
[0] Going to drive.google.com and then clicking "New Sheet" will redirect me to docs.google.com, even though Google Sheets was (at least at one point) presented as a "new" product distinct from Google Docs. At least that's how it seemed to me when they launched it.
comment 11y ago · link · parent
I've used both Typescript and Flow. In my experience, Typescript is far superior to Flow.
In terms of the sorts of errors they catch, they're about the same. In practice, Flow caught essentially no real errors that Typescript did not, and vice versa. (This is based on my workflow, YMMV obviously.)
However, Typescript is installable through NPM and runs as a basic Node module that reads files and parses text when you call it. Flow is written in OCaml, which means it's not available through NPM. This means either installing a separate binary (if one exists for your system) or installing an OCaml compiler so you can compile it from source. Afterwards, Flow uses a client-server setup, which makes it really annoying to run in a headless and automated environment. It's also surprisingly slow; it took a full ten seconds to typecheck a small project the first time. Supposedly the server makes it faster to do repeated checks, but honestly, the Typescript compiler is fast enough that this seems like a solution in search of a problem.
Also, Flow would keep getting confused and insisted on typechecking my node_modules. This was a problem because one of my imports had a third-level dependency with syntax error in an unused test, which meant that my entire Flow typecheck would fail. I couldn't add it to the [ignore] section of my ~/.flowconfig, because then Flow would literally pretend the file didn't exist, and then the project wouldn't compile due to missing imports!
All in all, I'm sure there's some way to set up flow without running into any of the above issues, but it definitely was way more work to set up (compared to a simple 'npm install'), and for seemingly no benefit whatsoever.
comment 11y ago · link · parent
Not really. Since VPNs have many different purposes (privacy is only one, and arguably not even the most common one), disabling all IPv6 traffic whenever a v4-only VPN is enabled may be a bad default for other use cases. In fact, I would be rather surprised if they did this (though pleasantly surprised).
comment 11y ago · link · parent
No, but IP-based tracking is even easier than many other methods and can be done passively.
The IP address may not be the only identifying piece of information, but IPv6 includes strictly more information that can be used to track you, and it makes it far easier to take advantage of that information. Supercookies are bad, but it takes even less tech sophistication and effort to track someone by IP address than with a supercookie.
> Many households already have a single member, so IPv4 wasn't providing much cover there.
A lot of people sit behind NAT with many members. Much as I hate NAT, it does provide this benefit, if only by accident. IPv6 makes it far easier to disambiguate two users behind the same NAT without having to look at any other bits of information (cookies, UA strings, etc.).
comment 11y ago · link · parent
We don't have a war on pedophilia. We have a war on "child pornography". I put "child pornography" in scare quotes because it's abundantly clear that many of the laws that aim to target child pornography really only use it as a bogeyman to obscure some other agenda.
Also, as for "safer", whatever we're doing now is clearly putting children at risk. In many countries (including the US), pedophilia is exempt from typical confidentiality laws regarding mental illnesses[0]. This makes pedophiles less likely to seek professional help, and I can only imagine that this means that they are more likely to harm or abuse a child.
[0] https://medium.com/matter/youre-16-youre-a-pedophile-you-don...
comment 11y ago · link · parent
This point is oftentimes overlooked. Also, the word "pedophile" is oftentimes conflated with "child molester", which makes it impossible to distinguish the individuals who are pedophiles but have not (and have no intentions to) act on those desires.
I found this article to be a worthwhile read on the latter situation: https://medium.com/matter/youre-16-youre-a-pedophile-you-don...
comment 11y ago · link · parent
That's fine - I have a degree in economics, so let me take a stab at explaining this!
> why in situations like this, governments tend to intervene? In the long term, wouldn't it actually be better to let the market just naturally figure itself out?
As Keynes said, "In the long run, we're all dead".
The problem is that the "long run" doesn't actually correspond to any specific duration of time or point in the future; it describes the aggregate, idealized behavior over time. There may actually never be any point at which the trading price of $XYZ[0] actually matches the underlying value, as long as the price over time tends to track the fundamental value[1].
On the other hand, an overfocus on optimizing for the short term causes stunted economies that never reach their full potential (in the best case) and a downward spiral with a negative feedback loop (in the worst case).
> That way the end prices reflect the real value.
By the way, there's actually no such thing as the "end price", because nothing happens in a vacuum. Let's say Google launches a new product today. It may take two years to figure out whether or not that product is going to be a success[2]. If they did nothing else in that time, then yes, there would be an "end price" after this event, but the real world is a series of overlapping events that are all playing out simultaneously[3]. So the market never has the chance to converge towards the "end" value after event A, because by that time, events B, C, and D are all having an effect on the system as well. That doesn't mean that A's effect is negligible; it just means that it's never observed directly.
[0] By the fundamental theorem of calculus we would be guaranteed this at one moment, but prices aren't actually continuous so this doesn't apply
[1] The fundamental value, of course, can never be directly observed, as is often the case in statistics.
[2] Or even ten years, if we're talking about self-driving cars.
[3] The word "event" here is a technical one, not a colloquial one: https://en.wikipedia.org/wiki/Event_study
comment 11y ago · link · parent
Vimperator has been the go-to for a long time, with VimFX and Pentadactyl as alternatives. However, none of these support e10s (multiprocess Firefox), and the migration path and timeline is unclear.
I wrote a very slimmed down alternative that does support e10s Firefox, named Electrovim[0]. It has far fewer features than Vimperator, but it includes the minimum subset that my workflow required before I could enable e10s on my own machine.
comment 11y ago · link · parent
We tried that; it was called IRC. As far as I can tell, Slack is still little more than a hosted IRC service with its own web and mobile clients. Virtually none of the functionality they provide couldn't be replicated this way; it's more a matter of branding than anything else that they eschew the label "IRC".
Slack even provides an IRC gateway so you can access it using IRC clients. I don't know if their web and mobile clients are using the IRC protocol, but from what I can tell, they might as well be, which is the whole point.
comment 11y ago · link · parent
The fact that a system is widely used when classifying the impact of UV light on melanoma does not imply that it has relevance in another.
> 6 choices is far better than none.
Actually, no, sometimes the "solution" is worse than the problem. It's quite regressive to bake an outdated conception of the color theory of race into a standard that aims to "educate and engage academic and scientific communities, and the general public" (the stated mission of the Unicode Consortium).
As one of the "billions of people who aren't white" that you refer to in your original comment, I find this approach more problematic than the existing status quo (leaving it up to the font creators).
comment 11y ago · link · parent
> None of what I said is controversial among people who understand economies.
I have a degree in economics, so yes, I understand how sovereign debt works. The point is that even if the market never loses faith in the US's ability to pay back its existing debt, if it stops being the most trustworthy source of newly-issued debt, the US loses a great deal of power.
comment 11y ago · link · parent
> But the billions of people who aren't white might have a problem with it.
I'm not white, and I have a problem with "skin tone" emoji.
Previously, skin tones for emoji were left up to the font creator. In practice, this meant that they were usually lime green, neon blue, or Simpsons yellow, all of which are cartoonish enough not to be evocative of any particular real-life skintone.
I can't really imagine a situation in which drawing attention to the race of an emoji character is desirable or even acceptable. I'm sure some exist, but they're nowhere near important enough to be included in the actual standard itself.
Beyond that, the skin tones used are incredibly reductive. Human skin tones are not as simple as 6 different shades of brown. (I, for one, cannot match my skin tone to any of the examples on the Unicode website). And if we want to get philosophical, there are a number of ways in which race and culture are encoded (literally) into emoji that are far more subtle, yet more significant, than the color used to render the skin of the faces. In a way, it reminds me of the picture-interpretation tests that they used to administer at Ellis Island to "prove" that certain immigrants were not "fit" for life in the US, though that's perhaps a topic for another day.
comment 11y ago · link · parent
That's kind of a straw man, because the Euro is all of the burdens of a centralized fiat currency while lacking almost all of the benefits (or at least the ones most relevant to Greece's current situation).
Having a unified monetary policy among countries with incredibly fragmented and disparate fiscal policies is a recipe for disaster. Even in the US, fiscal policies are relatively unified at the federal level and states are prohibited from backing their own debt the way nation-states (like the US federal government and Eurozone countries) can.
And on that note, look at the USD. It's the strongest fiat currency in the world and the preferred medium of exchange worldwide, even despite all of the outstanding issues with the US economy and the state of the US national debt. Clearly a centralized, fiat currency can be powerful if you don't set it up for failure from day one (as the Euro was).
comment 11y ago · link · parent
You can do this to test your own browser, but it's rather pointless in practice unless you can do it at runtime without crashing the browser or causing it to become unresponsive. Otherwise, you'll have to manually keep track of which (browser, version) combination supports it and which ones don't.
> Wouldn't it be possible for a language to make the stack grow without an arbitrary limit (besides the limit of physical memory)?
Yes, some languages already do this. For example, you'll never get a literal "stack overflow" error in Go[0]. (You'll never get one in Java either - it'll be an OutOfMemoryException or whatever they call it)
[0] http://dave.cheney.net/2013/06/02/why-is-a-goroutines-stack-...
comment 11y ago · link · parent
And the corresponding HN discussion: https://news.ycombinator.com/item?id=9773714
comment 11y ago · link · parent
Because writing a daemon is almost always more work than writing an application that runs in the foreground. And systemd is capable of taking applications that run in the foreground and running them as daemons instead.
Put another way - if something else is doing all of the hard work for you, why would you want to write a daemon yourself, except possibly as a learning exercise?
comment 11y ago · link · parent
Firefox Hello and Pocket are not attempts to "sell user data". In the case of the latter, Mozilla isn't even getting paid by Pocket, as they have said numerous times.
But yes, Mozilla is dependent on money, like all corporations. If you want to ensure that their funding sources are never in conflict with what users want, there's a very easy solution to that: https://sendto.mozilla.org/page/contribute/givenow-seq
(If every Firefox user gave $2, they wouldn't need their partnerships with Yahoo/Google for search integration, which has been their primary funding source for years).
comment 11y ago · link · parent
In the case of Hello, the goal is to provide a fully FOSS video chat client built entirely on top of HTML5 APIs. That's huge! Skype, Hangouts, Facetime, etc. are all proprietary. Firefox Hello doesn't even require anyone to sign up for an account!
With Firefox Hello, I could paste a link in this comment that any reader with a WebRTC-enabled browser could click on and start a video chat with me. They don't even need to be using Firefox - they could be using Chrome on the laptop, or even Firefox for Android[0].
People keep bringing up the Telefonica branding, but that's kind of a red herring. Basically, since not all devices have globally addressable IP addresses (yet), they can't have it be fully P2P (yet), and they need some server that can facilitate the initial connection. Telefonica sponsors these servers, so they get their name listed alongside Hello.
What would "stripping out" Firefox Hello provide? It's built entirely on top of HTML5 APIs (which is why it works in all browsers with WebRTC support), so it doesn't actually increase the browser surface area at all.
[0] Yes, I can use my phone's FOSS web browser to place a video chat using a FOSS web client. If that doesn't sound amazing, I don't know what is!
comment 11y ago · link · parent
Firefox doesn't necessarily know that you're using a VPN, so it's not really contradicting "plain intention". The problem is the way that WebRTC works; it has to have access to this information in order to function.
The real issue is that there should be a prompt guarding this information, the way there is when a website requests your location. Hopefully this can be fixed.
Also, for what it's worth, Firefox lets you disable this, but I don't think Chrome/Chromium let you disable it at all: https://productforums.google.com/forum/#!topic/chrome/gJ8HF-...
comment 11y ago · link · parent
If you have WebRTC enabled, any website can determine both your local IP address (e.g. 192.168.1.1) and your globally-addressable IP address. The combination of these is essentially unique, and can even be better than cookie tracking or browser fingerprinting.
It's possible to disable WebRTC in Firefox, but AFAIK not in Chrome/Chromium[0].
As for Firefox Hello and Pocket integration, you can turn these off if you want, but I'm 99% certain that they don't actually send any data about you unless you actually use them.
[0] https://productforums.google.com/forum/#!topic/chrome/gJ8HF-...