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 12y ago · link · parent
I feel this pain.
Shameless plug: I wrote an open-source version of Boomerang/Followup.cc that is designed to be self-hosted, specifically because of this concern: https://github.com/ChimeraCoder/go-yo
(For the record: I like script in the original submission script, but for me, I rarely use the Gmail web interface, so I had to make something that works over IMAP).
It's still a WIP, but I've been using it myself for the "bounce-back" feature for the last several months.
comment 12y ago · link · parent
It's written in Go; there's no external dependency except a service that downloads emails to a Mailbox-type directory (I recommend offlineimap).
I've been dogfooding it myself for the last few months - I haven't actually "released" it officially yet, but if anybody is interested in beta testing it, I'd love some feedback.
comment 12y ago · link · parent
Looking at vendor.yml, I'm actually not sure why this is happening. The repository I linked to above only has two files that end in .js: bootstrap.js and bootstrap.min.js[0], and only one that ends in .css (bootstrap.css). Unless I'm misreading the regex in vendor.yml, it seems like they should be excluded[1] but they aren't, and this isn't the only project of mine for which this is happening.
I'm fairly certain it's picking up those files and not miscategorizing the Go files for some reason, because when I delete those files and instead serve the CSS/Javascript from a public cache, it categorizes the repository correctly, as is the case with this project (based off of go-server-bootstrap): https://github.com/ChimeraCoder/pluto
[0] https://github.com/ChimeraCoder/go-server-bootstrap/tree/mas...
[1]https://github.com/github/linguist/blob/master/lib/linguist/...
comment 12y ago · link · parent
For example: I have a number of small Go projects that are incorrectly categorized as CSS or Javascript. One such example is a project explicitly designed to be a Go webserver that you can just "go get" (or git clone) and run immediately, with no extra setup, sort of like Twitter Bootstrap, but for the backend: https://github.com/ChimeraCoder/go-server-bootstrap
Because it self-hosts the Bootstrap files, and because the lines of Go code required are relatively small, less than 5% of this project is detected as being written in Go, even though I didn't write a single line of Javascript or CSS myself for the entire project.
(Yes, I know I could pull in the Bootstrap, etc. from a CDN, but this is just to illustrate the limitations of an automatic language detection model that the developer has zero control over).
comment 12y ago · link · parent
I fully support this. STIs are one of the biggest public costs of prostitution.
(Yes, this is a public cost. Every time a new person is infected with (e.g.) HIV, from an epidemiological perspective, that increases the chances of some copy of the virus in some person mutating into a virulent - even airborne - version. This is why you should care about HIV infection rates, even if you practice safe sex and don't use IV drugs, etc.[0])
> On other side many people lost unemployment support, because they refused to work in brothel as cleaners or maintenance personnel.
How is that any different from refusing to work in a hotel or a hospital as a janitor (or even as a nurse[1])?
They may not like the line of work, but that's no different from disliking taking a job at Halliburton. While I sympathize with the goal of choosing a job ethically, in the US (not sure about Germany), unemployment benefits and requirements aren't designed with that in mind.
[0] Even "curable" STIs are a public health problem We are already on the verge of creating - if we haven't already created - strains of gonorrhea that are resistant to all antibiotic treatments.
[1] You wouldn't believe some of the stuff nurses in hospitals have to put up with on a daily basis.
comment 12y ago · link · parent
Also, GP is conflating the issues of (1) fetching dependencies, (2) building a project, (3) installing the project. Makefiles aren't inherently evidence against "go get"; there is no reason that "go get" couldn't call "make" instead of "go build" (which it does).
The main reason that (almost) no pure Go projects have Makefiles anymore[0] is because they're frankly not needed. The standard Go build tools[1] are more than sufficient.
Don't take my word for it, though. Hop on #go-nuts on freenode and ask the guys there (many of whom are core contributors) what they think of Makefiles. They'll tell you the same thing that they told me over a year ago when I tried to advocate the use of Makefiles in pure Go projects.
[0] For what it's worth, before Go 1.0 came out, projects had Makefiles. The fact that Makefiles were a part of the standard build process and later removed should be a hint as to what the idiomatic Go approach is considered to be.
[1] "go get" isn't exactly a build tool in this sense; it's a convenience wrapper for cloning using git/hg/etc., followed by "go build" and "go install"
comment 12y ago · link · parent
(As pointed out elsewhere, there are style issues, but the lack of installability prevents me from even playing around with it).
EDIT: Just submitted a pull request - here's what I'm talking about: https://github.com/ChimeraCoder/bm
comment 12y ago · link · parent
Exactly. As a wise man once said, "Good artists copy, and great artists steal".
If only I could remember who....
comment 12y ago · link · parent
I'll feel obnoxious if I pay $1, but on the other hand, I don't know if it's worth $5. Or, maybe it's phenomenal, in which case I'd be happy to pay $20 for it.
That said, this looks interesting; I've bookmarked it for later, and will probably end up paying for it at some reasonable price.
comment 12y ago · link · parent
The submitter of yesterday's post joked,
> I guess I should have written a paragraph's worth of inane blog spam to get my submission title used? I was trying to make this exact point in my original title. The title my submission was assigned is not the real title of the PDF either... seems very arbitrary.[0]
I completely understand the desire not to editorialize discussions. That said, this is an interesting case study of how the title of the submission very strongly affects the actual discussion that unfolds. After the title was changed, more of the comments revolved around the actual bomb threat itself, rather than the security benefits (and caveats) of Tor.
comment 12y ago · link · parent
At least for prestigious schools (like Harvard), this is completely true, even outside engineering disciplines.
A friend of mine who went to Columbia got a D on one of her language classes. At Columbia, a D isn't even a passing grade - you don't receive credit for the course, and have to retake it.
That didn't stop her from receiving the highly-competitive Fulbright scholarship[0] to study at the graduate level in that very language.
If she had done badly in three or four of those language classes, that'd have been a problem. But students almost always overestimate the importance of a single course grade as opposed to a pattern of grades. (And even the latter can be accounted for otherwise, though it is admittedly an uphill battle).
I wholeheartedly agree that everyone should fail a class or two at some point in their lives. It teaches you a very good lesson: don't sweat the small stuff, even when that small stuff seems like really big stuff.
comment 12y ago · link · parent
Where I used to work, in Chelsea, I used to see a trio of policemen frisking and/or questioning a different young, black man or woman at the entrance to the subway three out of the five days in the week.
Chelsea is a fairly wealthy (and white) neighborhood. Go out to East New York, and you'll see much worse.
comment 12y ago · link · parent
Put another way, unless there's a huge spike of interest in the weather in 2013 compared to other years, "weather" won't be included.
[0] https://en.wikipedia.org/wiki/Latent_dirichlet_allocation
comment 12y ago · link · parent
> There is no net change to how hard it is to verify whether an address is a valid GMail address - that's already possible by simply talking to a Google mail server.
Thank you.
I read through an unhealthy number of comments on the various threads about this (my train was delayed, and I'd finished the book I brought). Very few people actually seemed to get the key takeaways (your last two paragraphs) correct.
comment 12y ago · link · parent
Sure it is. You received a discount on the phone on the condition that you sign a separate contract which obligates you to pay the carrier a certain amount of money for the next 2 years, but that's a separate matter.
If you've bought a phone, you can do what you want with it. Separately, you may have to pay a penalty for breaking a contract (and that penalty would include the cost of the discount that you initially received), but that doesn't mean that the phone isn't yours.
comment 12y ago · link · parent
This functions as a read receipt (like the tracking pixels).
The image might be cached later, but since it is initially loaded the first time an email with it is is opened, this means that implementing read receipts on all outgoing emails is as simple as making the URL for each image unique to the user.
Thus, the marketer knows:
1) That the email was opened 2) When the email was opened
along with whatever information they already have about the user.
This is a HUGE privacy implication. Even if "no [further] PII gets disclosed", it discloses a lot of information that is both sensitive and easy for marketers to join with existing identifying information.
comment 12y ago · link · parent
Preface: What we're talking about is probably biochemically impossible (truly no bad side effects, no tolerance, etc.). So, everything that follows is a fun thought experiment, and should be taken as nothing more.
Let's say someone produces a true wonder drug that is relatively easy to produce and produces extreme happiness 100% of the time, with no side-effects, and no diminishing returns due to drug tolerance. This drug produces more happiness than any other activity that we could be pursuing with our time. As a result, all anybody wants to do is take this drug all day.
The author presumes that this is a bad thing, but let's question that assumption.
If everyone is completely happy 100% of the time, and - more importantly - happier than they would be if they were doing whatever it is they would be doing with that extra ambition, why should we assume that this is a bad thing?
Of course, somebody would need to maintain production of the drug. This means that people either would take it only part of the time, to maintain enough ambition, etc. to produce the drug on their own, or (more likely) we would have some lucky people who take it all the time and are always happy, and a few people who are tasked with producing all the joy for the rest of the world.
This exact premise (the second version) has already been explored, in short story form. http://en.wikipedia.org/wiki/The_Ones_Who_Walk_Away_from_Ome...
(I agree that this situation sounds bad - most people would have a negative emotional reaction to it, but it's fun to explore why we have an aversion to the thought of pure, unmoderated happiness.)
comment 12y ago · link · parent
"Tolerated", yes (that's the official Dutch word). But definitively not legal.
comment 12y ago · link · parent
It was not legal. They practice gedoogbeleid ("tolerance"). They agree that it is illegal but prosecutors rarely enforce the law, because they prioritize other crimes instead.
In that sense, marijuana has been "legal" in Oakland's Measure Z clubs for a long time: https://en.wikipedia.org/wiki/Oaksterdam,_Oakland#Measure_Z_...
In both cases, sale to customers is tolerated, but sale to the coffeeshops (and growth/production) is illegal.
Because wholesale growth and production are illegal, this setup lacks a key benefit of legalization: cutting off a major source of cash to organized crime syndicates and drug cartels. (This is the exact reason that the former president of Mexico, Vincente Fox, now supports legalization).
Furthermore, in the Netherlands, coffeeshops have been dwindling in number in recent years, due to crackdowns, zoning regulations (oftentimes targeted at coffeeshops specifically), and other laws/policies that restrict the degree of "safe harbor" that such coffeshops have. (There was recently a proposal to ban sale to tourists; I believe it was due to go into effect recently, though it may have been delayed or reversed).
As long as these businesses are forced to operate in a legal grey area (whether in the Netherlands or in the US), they cannot demonstrate the true potential of legalization.
comment 12y ago · link · parent
Other jurisdictions have decriminalized marijuana, but most of us haven't seen the legal sale of recreational marijuana in our lifetimes (in the US, it was all-but-illegal since 1937, and truly illegal since 1970 - there were only 6 months in 1969 during which there were technically no laws prohibiting its sale).
These are exciting times we live in.
[0] Technically these haven't gone into effect yet, but I'm still counting them.
[1] Surprising, but (as far as we can tell) true. Less surprising when you consider that exports of drugs that need to be engineered (like methamphetamine) are one of North Korea's biggest sources of foreign currency.
comment 12y ago · link · parent
While using older versions of Go is not recommended, it's not going to cause you any problems unless you're relying on (e.g.) 1.2-specific syntax like the three-argument slice syntax introduced in 1.2. If you are doing that, then older versions of the compiler will fail to parse the code, which would hopefully motivate the developer to upgrade their system-wide Go installation[0]. That way, they still only have one version of the compiler installed, and it will work for all programs they need to compile.
The only people who need to have multiple different versions of the gc compiler installed on their system are people who know what they're doing and handle this themselves manually (ie, the core contributors to Go).
One of the explicit design goals of Go is to simplify the build process. A side-effect of this is that the build process and best practices are different for Go than for most other languages.
I appreciate the effort that you've put into trying to make this easy to deploy, but using Makefiles and local versions of the compiler in this way is generally bad practice for experienced Go programmers, and encourages bad habits for inexperienced Go programmers.
[0] Ubuntu's repositories are hilariously behind the times on this. That's a separate matter of discussion, but it's why it's not encouraged to install Go through the main Ubuntu repositories.
comment 12y ago · link · parent
Please don't do this! It's attempting to solve a problem that doesn't exist.
As I mentioned above, Go does not have compatibility issues with different version of the compiler. This is a huge strength of Go, and spreading the idea that using the same version of Go is somehow beneficial creates misunderstanding for new developers.
I challenge anyone to find an example of Go 1.x code in which using the most recent version of the compiler will build an incorrect binary. Seriously, if you find one, please let me (or better yet, the Go mailing list) know, because the Go team has made a dedicated effort to make sure that this doesn't happen. (Such cases exist, but I am fairly certain without even looking that this program doesn't run into any, whereas it's clear (below) that the Makefile for this project doesn't handle cases that the standard build tools do.)
I didn't understand this when I started using Go over a year ago - at the time, I also used Makefiles over Go's built-in build tools, and did a number of other non-idiomatic things surrounding the build process. More experienced Go programmers told me I was wrong, and I didn't listen at first. In the end, I finally realized that they were right: it added complexity for literally zero value. Please don't make the same mistakes that I did.
comment 12y ago · link · parent
Huh? There are no version compatibility issues with Go. Just use the most recent version of the compiler to compiler your code.
Anything written since Go 1.0 is compatible with all the 1.x compilers. Anything written before that (which is truly ancient code at this point) can be updated automatically with the 'go fix' command.
comment 12y ago · link · parent
Remember that the cables that they use were paid for with public tax money. The private companies are selling back to us the infrastructure that we already paid to build.
This is one issue on which neither progressives (who tend to favor government utilities/services) nor libertarians (who tend to favor the free market) are happy, because we have the worst of both worlds: a government-sanctioned, unregulated monopoly, using infrastructure built with public tax dollars, and re-sold to the original payers (the public) at monopolistic prices.
Unfortunately, recent efforts in this direction have completely failed. A North Carolina town dissatisfied with Time Warner banded together to create a municipal ISP, and Time Warner sued, on the basis that they "couldn't compete[0]" with the superior speeds and lower prices that the municipal ISP provided. In the end, Time Warner won[1].
I, like 80% of people in the US, have no choice as to my broadband provider. I don't have a landline. I don't have cable TV. All I need is Internet access, and for that, my only option is paying Time Warner Cable, at whatever price they decide to charge, for whatever service they decide to give me[2].
[0] read: "didn't want to compete" == "it's cheaper for us to sue you than to lower our prices to market rate"
[1] http://arstechnica.com/tech-policy/2010/11/the-price-of-muni...
[2] Pro-tip: If you're stuck with TWC as well, don't pay for the higher speed levels. That's just the maximum possible speed, and they don't guarantee you anything close to that, for any portion of your monthly service. If you live in a congested area, you're likely to get the same speed regardless of which tier you purchase, so just pick the cheapest one.