Microsoft derps on Excel ad

Original resolution of Excel ad showing treemap chart

Microsoft’s Facebook ad for new features in Excel highlights the Treemap visualization, but gets it totally wrong.

Ad for Excel visualization features

A treemap is supposed to visualize relative size in a hierarchy. But in the illustration here, the data don’t fit this type of visualization (it’s a time series of one flat variable—without hierarchy).

Original resolution of Excel ad showing treemap chart

But it’s even worse than that. The relative sizes don’t make sense! Why would the 31 MPG box for January be so much larger than the 32 MPG box for May?

This seems like a great illustration of why math/statistical education should be required for everyone—even visual designers and marketers. Or at least, the people selling the product should understand what the software actually does.

CRA PDF form validation frustrations

While trying to file my Canadian taxes as a nonresident, using the “Income Tax and Benefit Return for Non-residents … of Canada” — since I live in the United States and am a tax resident of the United States — I ran into a really frustrating bug in the first 5 form fields.

The form doesn’t accept non-Canadian provinces/territories and postal codes!

Can't put Massachusetts as a state
MA? not allowed.
Can't input a ZIP code
ZIP code? not allowed.

It’s really foolish, because many of the people who would be filing this form are likely residing outside of Canada. That’s why this version of the T1 return has an added Country field in the address block.

This is the kind of situation when PDF forms should just step back and allow free-form, unvalidated input.

Pretty sure the IRS made a typo in Publication 519

There’s a provision that allows aliens in the U.S.[1] to choose to be treated as a U.S. resident for tax purposes even if they would not otherwise qualify as a resident. Income tax rules themselves are already really confusing — and they are even more complicated for foreigners in the U.S. — so a typographic error could really confuse a taxpayer.

I think the IRS made a typographic error, but I’m not even sure how to get in touch with them to fix this.

Motivating example

Suppose you arrive in the U.S. for the very first time on October 1, 2015 to work for the foreseeable future on a TN-1 (NAFTA Professional) visa. Because the period from 2015-10-01 to 2015-12-31 is insufficient to meet the Substantial Presence Test,[2] you would otherwise be a nonresident alien for tax year 2015. This would mean your income in the United States might be subject to taxation in the U.S. as well as in your home country. What if you wanted to be treated as a resident alien starting on October 1, 2015 — despite not satisfying the Substantial Presence Test?

This is the First-Year Choice, and it’s documented in Publication 519 (“U.S. Tax Guide for Aliens”) by the IRS.

The error

I got a little confused when I first read the rule, because it seemed to require an impossibility:

2015 Publication 519 typo on page 7

Let me excerpt that to show why it’s so self-contradictory: “If you do not meet either the [GCT] or the [SPT] for 2014 … but you meet the [SPT] for 2014.”

Huh? Clearly they meant 2016 there. Moreover, if you met the SPT for 2014, the current tax year — 2015 — wouldn’t be your first year in the U.S.

This is confirmed by the bulleted list on the following page:

2015 Publication 519 excerpt from page 8

Motivating example resolved

If you are going to satisfy the Substantial Presence Test in the following tax year — 2016 — you can choose to pretend to be a U.S. resident from 2015-10-01 to 2015-12-31 as well, if you meet all of the requirements in the bulleted list above.

 

Footnotes

Footnotes
1 Foreigners, not extraterrestrials.
2 The Substantial Presence Test (SPT) requires, in its simplest form, at least 183 days of physical presence within the United States in a three-year period.

What’s in that USPS postage barcode?

pbSmartPostage test stamp

I am publishing this post as a hobbyist, because I find barcodes cool (as demonstrated by a prior open source project using 2D barcodes that I worked on). Do not attempt to use this information for any illegitimate purpose. Counterfeiting postage is a federal crime. 18 U.S.C. § 501.

This post ties together some of my favourite things: 2D barcodes, high speed automation, printers, cryptographic signatures (!), postal mail and postage, fraud prevention, and even a little bit about patents!

Continue reading “What’s in that USPS postage barcode?”

A new blog series?

Over dinner this week, I was revealed as one of those weirdos who actually read the fine print. Yep, once in a while—embarrassingly often—I’ll actually dig right into those long documents that come with the health insurance, the credit card offer, or the website signup.

Forced arbitration clause in Amex Premier Rewards Gold cardmember agreement.
When was the last time you actually read something like this?

Why? Because the purpose of these “Terms and Conditions,” or “Cardmember Agreements,” or whatever else they’re calling these lengthy, prewritten, one-sided contracts, is to modify default legal rules/rights in such a way that benefits the parties that wrote them. So, even if I don’t have any practical choice in whether or not to use Facebook, even if I can’t really negotiate with American Express and rewrite the terms of the extended warranty, at the very least it’s useful to know what my rights are—and what hidden benefits there might be that most people don’t know about.

So a friend thought it might be fun if I just occasionally write about these things. Perhaps a sort of Bad Terms & Conditions section on my blog, or … Digging through the Fine Print

Still working on the name.

I’ll try not to fall into the bad habit of labelling companies “fascists” or something similarly colourful, which other blogs highlighting these issues inevitably find themselves doing. (I mean, literally every company that deserves any business does it, so what’s a conscientious consumer to do?) For what it’s worth, Consumerist already writes about this and does a pretty good job of it.

Continue reading “A new blog series?”

Another startup blatantly steals university trademarks

A friend directed my attention to a startup-y website selling “cheap smartphone [insurance] coverage” for “as little as $3 a month”. Right at the top of the Penn-branded subdomain (penn.getcovered.co) was an iPhone mockup showing the Penn shield:

GetCovered ripping off Penn seal

highly doubt they went through all the trouble of actually licensing the trademark from the university. Penn’s policy on use of its logos by external entities provides (emphasis added):

Outside sponsors of University programs or activities often seek to use University names or insignia in promotional or advertising materials. While the University is pleased to recognize the contributions of sponsors, such recognition must not suggest University endorsement of the sponsor’s activities. Therefore, University names or insignia may not be used in connection with any outside entity’s name or logo without prior approval of the Secretary of the University. In general, the Secretary will approve uses which recognize or acknowledge the sponsor’s contribution to the University program or activity. Uses which, in the Secretary’s judgment, may suggest University endorsement or approval of the sponsor’s goods or services will not be permitted.

The big issue, of course, is the risk of confusion — by consumers, etc — who might think that the service is sponsored or endorsed by the university. There would be a pretty good prima facie case for trademark infringement, especially since the registrant behind the domain name appears to be a Stanford grad with no connection to Penn.

But to top it all off, the site seems to be lying on its face. The Penn page includes a quote from a “Leah B, Philadelphia, PA”:

Leah B, Philadelphia, PA quote

but the exact same quote is used on the non-Penn-branded homepage of GetCovered, this time from “Leah B, Washington, DC”!

Leah B, Washington, DC quote

As an alum, I certainly don’t want the university’s shield to be used in connection with this company. What they’re doing is strangely reminiscent of the Campus Backup service that OCM was marketing a few years ago — which shut down after my blog post overtook their site in search engines.

Update (2015-11-02): a quick Google search of the opening sentence of the quote directed me to the source — a 2012 comment on a Gawker post by a Gawker contributor, no obvious connection to GetCovered.

Renewing date of departure by physical presence in Canada

TL;DR many Canadians in the US have more ways to vote, even under the 5-year limit, than previously thought.

A week ago, I mailed in my special ballot to Elections Canada. I can now say I’ve voted in the 2015 Canadian federal election!

There’s been a lot of discussion among Canadians at HLS, and folks in the Harvard Graduate Student Canadian Club, about the logistics of voting in this election. Notably, while most of them don’t have to deal with having a green card (as I do), some grad students may question how the 5-year limit applies to them.

Letters from Elections Canada, sent to two students who emailed them to inquire about logistics, support two conclusions.

1. Voting physically in Canada still possible

Voters who have been living abroad for 5 consecutive years or more and who are not exempt from the 5 year limit may vote in person at the advance polling station or the regular polling station corresponding to an address for which they have a proof of address (they cannot vote by special ballot).
– Elections Canada, in response to Peter W[1]

The provisions of the Canada Elections Act that prohibit registering to vote by mail from abroad after five years only apply to the special ballot. If you are a Canadian who has been a nonresident for more than five years, apparently you can still vote in person. (Canadian news has reported instances of people successfully using this “loophole.”) Advance voting days are October 9–12, conveniently during Canadian Thanksgiving and Columbus Day in the US.

2. Fluid definition of residency—unlike taxation and immigration

Thank you for your email … in which you requested information for students who have been living outside for more than five years. There is no differentiation between student voters abroad and non-student voters abroad; the five-year rule remains the same.

I would like to take this opportunity to clarify that there is no minimum period of time that an elector must have been in Canada in order to be considered as having resided there. It is based on where you consider your home address to be and the date of departure is based on the last day you consider yourself having lived in Canada.
– Elections Canada, in response to Peter W[2]

“Residing” has been interpreted here in the most liberal way possible by Elections Canada. It’s as though they are trying to preserve the broadest scope of voting rights possible in light of the Court of Appeal for Ontario ruling. (Good for them!)

The paragraphs quoted provide the basis for this interpretation:

Any instance of physical presence in Canada can be enough to renew your date of departure if you considered yourself to have lived in Canada during that stay.[3]

Elections Canada is not asserting an objective test of residency. They are not inquiring into whether the U.S. Department of Homeland Security treats you as a resident alien. They do not care when you became a nonresident for tax purposes on the CRA’s books.

So, in my interpretation, the following example set of facts satisfies their criteria and entitles the citizen to register to vote by special ballot (critical facts highlighted):

  1. Alice is a Canadian citizen.
  2. Alice is 23 years old.
  3. Alice ordinarily lives in a rented apartment in Cambridge, MA.
  4. Alice attends HLS on an F-1 student visa.
  5. Alice started studying in the U.S. on an F-1 visa 6 years ago, since August 2009.
  6. Alice intends to return to live and work in Canada after graduation.
  7. Alice last lived in the Trinity-Spadina riding in Toronto, ON, before becoming a student in the U.S.
  8. Alice last visited her parents on September 1, 2015, at that same residence in Toronto, for one day. She left on September 2.
  9. Alice does not consider any other place to be her permanent place of abode.
  10. Alice considered herself to have lived in Canada during that day. (remember, “no minimum period of time” is necessary)
  11. Alice is a temporary resident outside Canada for fewer than five years, and may register to vote by special ballot with a departure date of September 2, 2015.

For an alternative hypothetical, see footnote 4.[4] Remember that these are only predictions of eligibility.

TL;DR many Canadians in the US have more ways to vote, even under the 5-year limit, than previously thought.

Again, just a reminder: I’m not a lawyer (yet). Don’t take this as legal advice. Do take it as the opinion of someone who believes the right to vote is constitutionally guaranteed to all Canadian citizens, and who wouldn’t mind seeing this tested in a legal challenge.

Footnotes

Footnotes
1 Posted on Facebook in the HLS Canadians 2015–2016 group.
2 Second paragraph is substantially identical in a separate response to Jacob Q.
3 There is a textualist reading of the statute that supports this interpretation, based on the term “consecutive,” which would be interrupted by stays in Canada. See Canada Elections Act, S.C. 2000, c 9, § 222(1)(b) (applying the five-year limit to those “residing outside Canada for less than five consecutive years”).
4 Bob is a 22-year-old Canadian citizen, who works in New York City on post-completion OPT on an F-1 visa after graduating from a 4-year undergraduate in the U.S. Prior to his undergrad, Bob lived with his parents in Markham and considers this to be his home address in Canada. He has been in his F-1 status for 62 months, and is considered a US resident alien for tax purposes. Bob visited his girlfriend in downtown Toronto for a week during the summer, living at her apartment there. Bob intends to return to Canada upon the expiration of his F-1 visa. Bob may register to vote by special ballot in the Markham—Unionville riding, using the departure date following his stay during the summer.