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

I thought that was weird too. But there is no single-page version, and the first page doesn't really have much content on there (just a basic walkthrough of modular division).

comment 13y ago · link · parent

> Java only allows 'final' or immutable variables to be passed into closures. This prevents the value from changing and ensures that the compiler catches the problem if you try to pass a changing value into a closure.

"Final" in Java does not make objects immutable. The object itself can have mutator methods that change instance variables/attributes of the object, even though the identifier is declared as final.

IIRC, the only reason Java requires variables in closures to be final is for garbage collection. "final" allows the runtime to know that the identifier itself isn't going to be rebound to a different object, which is different from knowing that the object that it is being bound to won't change internally.

(Disclaimer: It's been a while since I used Java proper, so I'm probably missing some subtlety with the explanation of the rationale, but I'm pretty sure it's something along these lines).

comment 13y ago · link · parent

> Low level cruise employees like the cleaning crew, cabin stewards, waiters, cooks, etc. are paid ridiculously low wages, because cruise ships are registered to countries like Panama and the companies do not need to adhere to U.S. standards.

On most major lines, the cleaning, etc. staff get reprimanded if they receive reviews from their passengers that are less than 5 stars. Even if it's only 4/5 (or the equivalent), they are expected to keep "perfect" ratings and are punished if they don't.

Cruises end up being a convenient way for my family to take vacations for a number of reasons (not the least being that my grandmother has limited mobility and cannot enjoy other vacation destinations as easily), but I always feel very guilty every time I go, because I see firsthand how badly the staff are exploited.

(Also, if you never want to go on a cruise line again, read the chapter in Tina Fey's "Bossypants" about her experience the one and only time she took a cruise.)

As for the (lack of) connectivity, I actually like this feature. When I go on a vacation, I enjoy being completely disconnected from the "real world". I find that, after a week of this, I wind up completely refreshed and come back to work more productive than if my attention had been split. But YMMV.

comment 13y ago · link · parent

Soon!

We've finished the program itself - it works, all the tests pass, etc. We just haven't had time to actually write an explanation of our process yet. We were meaning to do that this week, but we both have major deadlines for school today (speaking of which, I need to get back to work).

I don't want to promise any particular date, but hopefully we can get to this soon - we'll be sure to post it here once we've written it.

If you want, I can send you an email when it's done if you give me your contact info. :)

comment 13y ago · link · parent

This is incredibly, incredibly exciting for me.

A friend and I actually just finished writing a program that simulates the process of cracking a Geheimschreiber[0] (one of the successors to the Enigma machine), which was cracked at Bletchley Park.

There are several ways to break the encryption today, especially given the available computing power. However, we happened to discover a technique that requires no probabilistic guessing or brute forcing (this is unusual for crypto cracking - usually at least a bit[1] of guessing is required). The technique works as long as a sufficient number of ciphertexts are observed, and this threshold is a very small number.

For me, it'll be exciting to see if there is any more information on the technique that they used. (From digging around so far, I've been able to find a small bit of information about the device itself from a modern perspective, but none about what they actually did at the time).

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

[1] No pun intended

comment 13y ago · link · parent

> The worst that happens in reality is you have to wait a couple extra months for someone to release a new build of something you depend on (or heaven forbid, clone the source and build it yourself).

I think a lot of people reading this (who haven't used Scala, and are used to e.g Ruby and Python) may be confusing the implications of source incompatibility with binary incompatibility.

Python 2 -> Python 3 had (has) source incompatibility, which is a nightmare to deal with, especially because the changes are of a nature that make it difficult to port code automatically and reliability. (Contrast with Go pre-1.0 -> Go 1.0, which had source incompatibility but an automated code transformation tool which, unlike Python's, guaranteed correct code for all the breaking changes introduced).

The issues with Scala's incompatibility are largely along the lines of binary incompatibility, which affects package management (and build tools), but doesn't have as much of an impact on breaking compilation of existing source code, which are the nightmares that people are used to thinking about in the Ruby/Python world.

(Edit: updated in response to dbaupp's comment to clarify the differences between "2to3" and "go fix")

comment 13y ago · link · parent

If I remember correctly, it has to do with disclosure requirements.

Corporate-IR (or whoever runs that domain) meets the criteria/is authorized for disclosure of information to investors.

Other companies use them too, for example NVIDIA: http://phx.corporate-ir.net/phoenix.zhtml?c=116466&p=irol-ir...

comment 13y ago · link · parent

> he made it immediately clear that he didn’t call to ask me to take down the post – “Linkedin isn’t that kind of company”.

I'm very glad to hear this.

Disappointed (in general) that this even needs to be noted, but glad to hear it. Unfortunately, this is not something that can be taken for granted.

comment 13y ago · link · parent

> If you're running the default app launcher today, I don't know who you thought wrote "GoogleHome.apk"

Well, that statement was in the case in which the third party launchers are no longer available (or simply a layer on top of the Google launcher, in which case Google still would collect the data either way).

If Google's launcher is fully replaceable, then that's not an issue, as long as it stays that way.

comment 13y ago · link · parent

Does this mean that third-party launchers won't work, even on custom ROMs?

If they do, will they simply sit "on top of" Google's launcher now?

If so, I don't like the idea of Google having that much level of access to data about my homescreen. Even if they're not accessing this data now, it seems that they're setting the stages for that a few versions from now.

comment 13y ago · link · parent

> If really wanted to work in Berlin or elsewhere, you'd do it, and it wouldn't be a big deal.

This is simply getting at the notion of the premium - how much I value working abroad.

A more formal way of asking this question, assuming for simplicity a $100K/year salary:

"How attractive (measured in dollars) is the idea of working in Berlin?"

If it's worth $30,000/year, you'll do it as long as you can make 70% of your US salary or more. Otherwise, it's not worth it.

It's not a matter of "not wanting to do something" - it's a matter of the opportunity cost. In this case, the opportunity cost of working abroad for US citizens is high (see philiphogden's comments), so the only people who will do it are the people who can rationalize taking a financial hit.

So yes, the answer is "you want it, just not enough". But the following question is, "how much should someone have to want to work abroad in order to do it?"

comment 13y ago · link · parent

> Disclaimer: I am an international tax lawyer.

Alright, I'll take your word for it then.

> You will, however, pay two metric shit-tonnes in professional fees getting your U.S. tax returns prepared because the international tax rules are so ridiculous

So, instead of getting shafted by paying Uncle Sam, I'll get shafted by paying a tax attorney. :)

Either way, there is a financial disincentive to working abroad, and that's not taking into account the fact that this is a disincentive to look for jobs abroad (speaking for myself, I'd want to figure out the financial implications before seeking employment abroad, and this creates yet one more hurdle).

comment 13y ago · link · parent

Visas deter US-based startups from hiring foreign talent, but on the flip side, US taxation laws deter US-based talent from leaving the country.

I would love the idea of working for a startup in Berlin, but to make financially comparable, I'd have to be paid about 30% more[0] just to offset the cost of paying double taxes (both to the US, and to Germany). I'm ignoring factors like COLA, other expenses, etc., but for a US citizen this is a major deterrent to living abroad, even temporarily.

I guess a cynic would say that this is just the system "working as intended", though that just raises the question of whose intentions it's working for.

I would love to live in a foreign country for a few years in my 20s (the easiest time to do it), and assuming I eventually move back, the US will already get a cut of any foreign income I made via sales tax (when I spend it), capital gains (when I invest it), and (eventually) the estate tax.

[0] Edit: Apparently this figure is off - see discussion below. The tax/financial implications still do appear to be a hurdle, it's just (unsurprisingly) even more complicated than I realized.

comment 13y ago · link · parent

> A screen has to put out enough photons that a pupil two millimeters wide can capture enough light from it half a meter away. That fundamental principle isn't going to change anytime soon, and since that's the largest piece of energy consumption in phones these days, power requirements aren't going to drop significantly in the foreseeable future

The technology isn't there yet, but I would love to see the day when we can make laptop screens (and the like) out of e-ink-like displays.

I don't like staring at backlit screens all day. A computer screen has about the same luminous intensity as a 40W bulb[0], which is not a pleasant thing to stare at all day.

If only we could figure out a way to make e-ink remotely usable with high refresh rates, etc[1]., we could rely on external lighting (which is usually available) and get dramatically better battery life out of our laptops and/or phones.

It could even fall back on "frontlighting" (what the Kindle Paperwhite does) for nighttime usage.

[0] Preempting any physicists' objections: yes, I know that watts do not measure luminous intensity (that would be the candela), but a 40W bulb is a familiar reference point, and this comparison is roughly in the right ballpark.

[1] Which is a big hurdle, and why I admit that the technology isn't there yet.

comment 13y ago · link · parent

> i've seen you on IRC or IRL before, right?

Yes, at several meetups - Lisp, Haskell.... most recently, you came to my "Go for Statistical Programming" talk to heckle me - though not about generics, as I was expecting. ;)

> (are you coming to the haskell computer music meetup this wednesday?

Damn. That's right up my alley, too. But I can't. :/

comment 13y ago · link · parent

> Tech here has always been about financial services and just doesn't gel with the kind of startups you see in SF. I got tired of seeing demos of stuff that had already been done (and better) on the other coast

It sounds like you haven't seen the full extent of what the NYC tech community has to offer, because I that view doesn't resonate with what I see at all. I'll admit that discover-ability is a problem in any community in any city, not just tech and not just in NYC (this is one problem that Meetup[0] aims to solve).

If you're still in NYC, drop me a line (my email is easy to guess from my username), and I'd be happy to get together in person and give you a map of the New York tech community the way that I see it.

> VCs that just didn't understand software unless it was financial services-oriented.

Again, I think you've had the misfortune of meeting the wrong VCs. I'm an engineer, but I used to work for a venture firm until very recently, and of the ~40 companies in our portfolio, only one was financial in nature.

And, ironically, that one company is based on the West Coast!

The only statement that I might say about NYC startups versus west coast ones is that NYC startups often seem to interact with the other industries we have in NYC, instead of being "just" tech companies or B2C consumer products[1]. But that's just a general feeling, with no hard data to back it up. Certainly there's no dearth of either kind of startup[2] on either coast.

(There's also definitely some sampling bias there, because those types of companies happened to be the investment focus of the company I worked for).

[0] which, incidentally, is an NYC startup that has nothing to do with finance! [1] ie, [2] Tumblr and Mongodb are examples of successful "tech" and B2C companies in NYC, for example, and there are plenty of industry-targeted companies in SF too.

comment 13y ago · link · parent

As I typed that, I thought, "I wonder how long it will be before Carter corrects me on the Haskell comment". :)

comment 13y ago · link · parent

> I'd guess more people get a nice 9-5 job with a good salary vs a startup job with a lot of pressure.

NYC financial jobs are not 9-5 or without a lot of pressure.

For any job that you're likely to get in your 20s, NYC finance jobs pay worse, have far longer hours, and are much more high-pressure.

Beyond your 20s, it varies greatly by level of seniority, so it gets tougher to compare, but the high-paying jobs still require very long hours.

comment 13y ago · link · parent

> The Meetups are of high quality (in general) because there are so many people, but most of the people at <Cool Technology X> meetups don't get to use X in their day jobs.

Clearly you had the misfortune of going to the wrong meetups. I haven't felt that way about any of the Meetups I attend, except for very obscure or emerging technologies (such as Haskell or Go - which I think is true almost everywhere).

> The VC-funded startups are thick on quantity but dogshit (on average) for quality. Most of the talented people move to finance (or leave NYC) after 30 because the startup scene is so awful: most of the founders are well-connected wankbaskets, not real technologists.

I'm sorry you feel that way. That has not been my experience in the slightest. Perhaps you were in NYC at the wrong time? Things have changed dramatically (for the better) since 2009/2010 or so.

comment 13y ago · link · parent

You really should emphasize this more prominently. It's a huge selling point, both for practicality and privacy.

comment 13y ago · link · parent

> "I think data scientist is a sexed-up term for a statistician."

As a statistician-and-engineer who is currently on the job market (my graduate program finishes this spring), I feel this pain.

I've been referred to as a "data scientist" multiple times (that's even been my official title at work before), though I do still cringe sometimes when I hear the word, for this exact reason.

That said, I don't usually present myself as a statistician, even though my degree is a statistics degree. Most people who hold statistics degrees are fairly lousy engineers[0], and I don't know of any other term that (concisely) expresses that I'm equally competent as a statistician and a (backend) engineer[1].

Of course, this is because many of these programs haven't yet caught up to the fact that computers exist and are still teaching statistics as if we're in a pre-computation era. The perfect solution is to fix this, and thereby fix the connotation of the word "statistician".

It's the same reason I dislike the term "growth hacker" - really, that's just the way marketing should be done (ie, based on numbers and verifiable statistics). In a perfect world, all (competent) marketers would be "growth hackers". But many marketers aren't, and so we have to make up another cringe-worthy term for it.

Unfortunately, that's a problem that's beyond my means to solve. So I bite my tongue and add the word "data scientist" to my resume anyway.

[0] Usually self-proclaimed, too [1] ie, "I could work as a backend engineer if I wanted to/needed to, but I'm looking for work involving both skillsets"

comment 13y ago · link · parent

> What I mean when I say "lisp has no syntax" is that you effectively write out the AST

Agreed. This is a very common misunderstanding of the statement, but understanding the meaning of the statement correctly demonstrates the single reason that Lisp is so powerful: its homoiconicity, and everything that implies.

comment 13y ago · link · parent

There are two problems I've found that prevent me from using fish more:

1. <strike>Fish syntax breaks virtualenv</strike> (Edit: Okay, apparently this isn't actually a problem).

2. Fish does not have the equivalent of 'disown' in bash. This is fine if you exit the parent shell normally, but not if you send SIGKILL, which my window manager (wmii and i3) does.

comment 13y ago · link · parent

> Like I mentioned in another comment, both the Moto X and the LG G2 are great upgrades on Verizon from the Galaxy Nexus.

Part of it is that I don't want to drop any more money on a phone that has a locked bootloader - partly for convenience, and partly because I don't want to support that.

> Make sure you take T-Mo for a test drive first, to make sure you actually get reception everywhere you frequent.

I've actually been doing that for the last month with a Nexus 4, and the signal is way better. (Part of that is the toro's awful reception issues). The speed is actually oftentimes better on the Nexus 4 on T-Mobile too - a portion of that is due to Verizon's NYC 4G networks getting overcrowded recently.

> Also, I've heard you can sell your unlimited data plan online for several hundred dollars.

Is there a marketplace for this? I'd love to cash out on that.

comment 13y ago · link · parent

> Is there any hope it will be available on Verizon?

Almost none.

Verizon has all but stated they're not interested in carrying another Nexus phone, since it's "incompatible with their business strategy" (ie, they can't control updates on it and install bloatware on it).

As for the Nexus 5 itself, the leaked FCC diagrams show that it doesn't even have the correct radios to work on Verizon's network.

> If it's not.... it's gonna have to be a super great phone to convince me not to get a different comparable phone on Verizon.

I haven't found any other phone on Verizon compelling enough to make me consider upgrading to a Verizon phone from my Galaxy Nexus. When the next Nexus comes out, I'm probably ditching them for T-Mobile, even though I still have unlimited 4G data on Verizon.

I'm just completely fed up with Verizon's inane moves to keep all phones on their network locked down (they even forced the HTC One bootloader to be locked). No more.

comment 13y ago · link · parent

I came here specifically hoping that someone had already mentioned the song "Heroin". I got chills the first time I heard it, and I still do.

I think my favorite Velvet Underground song would have to be "Here She Comes Now", because I get the same feeling from Kurt Cobain's cover of it[0].

> Over time it grew into one of my favorite songs in that I learned to find beauty in the clash of consonance and dissonance.

Do you listen to the Jesus and Mary Chain, by any chance?

[0] Perhaps blasphemous to mention a cover on a thread about Lou Reed's death, but hey, if it were't for VU, the cover would never have existed.

comment 13y ago · link · parent

> "I choose to reserve judgement, but have a gut feeling that it will be shown to be more harmful than cigarettes"

Please don't put words in my mouth. I never said anything like that - certainly never that I felt that they would be shown to be more harmful than cigarettes.

> Excuse me for not accepting the pseudo-science weasel word "toxic".

I don't know why you think that a medical term is a "pseudo-science weasel word".

> If you do not bring in more specifics, then what you are saying is meaningless.

It's a lot less meaningless than the original statement "e-cigarettes are harmless", which is backed not by rigorous scientific research on e-cigarettes themselves, but rather (at best) on fairly questionable reasoning based on a misunderstanding of drug toxicology.

comment 13y ago · link · parent

> Most medicens have easily measurable LD50's

Well, most medicines could be considered medically toxic. It's just a matter of dosing and whether their desired effect outweighs any risk (whether negligible or non-negligible) of adverse reactions[0].

LD50 is only one of many ways to express toxicity; water can be considered toxic under some circumstances as well. It all depends on the context in which we're discussing the usage.

We don't say that Advil is "harmless", or aspirin, or caffeine, or any other substance, even in normal dosage. We simply say that any risk of harm is sufficiently small as to fall within tolerable limits, given the expected benefit of using that substance. But we can't say that about e-cigarettes - at least not yet.

In short, the medical impacts of drugs are difficult to predict, and oftentimes counter-intuitive. I'm just rather tired of the refrain that "e-cigarettes are harmless", because frankly,

(A) we don't have sufficient evidence-based research either to support or to reject that claim, and

(B) extrapolating based on existing evidence-based research and fundamental medical principles suggests that e-cigarettes are not "harmless".

Whether they are less harmful than cigarettes is a separate question, as is whether they are harmful enough to recommend avoiding usage (or regulation, or what have you) is a separate question.

I don't object to any logical arguments surrounding either of those two questions; I just object to fallacious interpretations of medical research to support illogical arguments.

[0] Unlike the word "toxic", I do not use the word "adverse" in the medical sense, which also has a very precise definition - I use it in the colloquial sense.

1
156157158
202