When you run a Twitter trivia contest…

… I expect the answers to be right.

Namecheap, a domain registrar and web services provider, is currently running a Twitter contest with tech/domain/company trivia, awarding free domain registrations to participants, and top prizes of a Macbook Air and iPads to the top of the leaderboard. To be clear, I am not competing in this contest, and my first involvement with it was with this question. In other words, I’m not posting this because I want anything out of it—I’m posting it just to point out the mistakes.

Inconsistent tenses aside (one… his/her), the most important parts to emphasize are:

  • what record
  • domain propagation

The best answer, although not necessarily the 100% correct answer (see below), as I answered in my tweet, is the Start of Authority (SOA) record. About three other individuals on Twitter agreed with me, facing hundreds with a different answer.

In fact, the Refresh and Minimum TTL data entries in the SOA record are responsible for domain zone propagation, whether to a secondary nameserver or to the broader Internet.

Screenshot of Twitter users giving the "TTL" answer, which should be wrong.
Twitter users giving the “TTL” answer, which should be wrong.

Hundreds of others poured in their answers, most lending their support to the answer that Namecheap ultimately declared correct: Time to Live (TTL).

This is (mostly) wrong. For two reasons:

  1. TTL is not a DNS record. It is a setting within the SOA record, and an attribute attached to other records such as A and AAAA host records. Given the question, this should disqualify it as a potential answer.
  2. TTL whenever applied to non-SOA records affects particular records, not domain propagation (e.g. the lifetime of the ‘www.namecheap.com’ A record, not of all entries in ‘namecheap.com’).

Ultimately, the question posed was a bad one. The traditional understanding of the SOA minimum TTL is that it is the shortest frequency with which other nameservers will check against the authoritative/primary nameserver—at least according to this DNS service provider. While the original specification, RFC 1912, would completely agree with me here in declaring…

Minimum: The default TTL … This is by far the most important timer. Set this as large as is comfortable given how often you update your nameserver.

RFC 2308 changed things so that the minimum TTL in the SOA record affects only negative caching: e.g. you visit ‘doesntexist.namecheap.com’, it doesn’t work, the ISP’s nameserver caches it, and the minimum TTL specifies how long before your ISP’s nameserver fetches that data again. It’s not supposed to be used as a lower bound for update frequency anymore.

That having been said, given the constraints of record and domain propagation, we can be certain that TTL on individual resource records is an incorrect answer that was erroneously, but not maliciously, accepted.

</rant>

Incoming college freshmen: Campus Backup Service is a ripoff

Campus Backup Service marketing letter

If you’re a freshman at Penn or many of the other universities that are raking in revenue from freshmen beyond tuition and fees, you may have received e-mails and letters offering all sorts of wonderful things. The one that caught my attention was something called “Campus Backup Service”.

It’s a cleverly marketed service that tries to leverage the anxiety of freshmen and parents to sell you something you don’t need — or rather, something you need, but not from this company.

Campus Backup Service marketing letter
They use the same scare tactics to market the service that are used by scammers. Don’t fall for it. Scan courtesy of Hannah C.

There’s a disaster scenario — a student without backup suffers a virus infection on her laptop and… “her sleep, her composure, and her GPA all suffered… it was horrible”. There’s an alternate scenario — someone uses this company’s service, and avoids the disaster.

Yes, college students need a convenient and viable form of backup, just as all computer users do, but not from this company. This is almost a scam (but not quite). (Notice how they target “parents of incoming students”, who might be less tech-savvy than college students?)

Vinay Dinesh and I are both Information Technology Advisor Managers (ITA Managers, for short) at the University of Pennsylvania, and we are writing, as individuals, to help you find the right backup solution, whether it’s as simple as copying files to an external hard drive, or syncing files to the cloud. But Campus Backup Service isn’t right. (See our upcoming collaborative post to see how you can back up your files the right way.)

Continue reading “Incoming college freshmen: Campus Backup Service is a ripoff”

Really, Penn?

If IE6 (that ancient browser all web developers hate) works, I’m pretty damn sure Chrome 21 will!

Penn's stupid "invalid browser" message
Penn’s web apps, like certain features in Penn InTouch, give an “invalid browser” message when using Chrome.

It’s time they fixed this. Stop forcing me to launch Firefox!

Day 1: Browsing Wuxi

I have neglected this blog for so long that I owe it to myself to post some more stuff here. Since I’m in China for about two and half weeks, I might as well blog about it — complete with photos*.

* I apologize in advance: most of the pictures are low quality photos from my cell phone.

Purchasing Power Parity and Prices

From what I saw yesterday (let’s call it Day 0), items that are cheap in Canada and/or the United States can be insanely expensive here, while others that are reasonably expensive in Canada are dirt cheap here.

There’s a supermarket / department store chain called Carrefour that has everything imaginable, from imported milk to cell phones to oranges to suitcases. Asian ice cream bars can cost as little as $2 CAD for a package of multiple bars, while I saw a knife priced over ¥1500 and woks up to ¥809.

Expensive wok in China -- ¥809
Really expensive wok in China -- ¥809. I guess some Westerners might be willing to pay the equivalent amount in USD for their pans, but this is still really high.

Aside: there’s an abundance of Engrish products, like “Woman Honey” and “Cuboid Sausage”.

Yet cab rides in Wuxi are dirt cheap. ¥15 brought four people from one side of town to the other — and I would probably estimate a bill of $15-20 USD (+tip) for the equivalent ride in Philadelphia. (I sometimes wonder how that money can possibly be enough to cover the insurance needed for such risky driving.) I’m told that public transit is even cheaper — something like ¥1 fares, not to mention seniors ride free.

The problem with the high prices here (inconsistent with purchasing power parity, which suggests that the price of a good here should be roughly the price of a good in Canada, for example, times the exchange rate) is that incomes are also lower in comparison. When nominal wages are low and prices are high, we come to the uncomfortable conclusion that real wages remain incredibly depressed for most citizens, and the inevitable result that the ordinary standard of living here still falls behind Canada and the US.

But food can be cheap

A bowl of wontons for breakfast

Restaurants can be pretty cheap. For breakfast today on Day 1, I went somewhere that is held in high regard for this particular type of breakfast/dim sum. ¥8 for a bowl of wonton, or for four meat buns (小笼包).

Steamed meat buns from Wuxi
Delicious meat buns, with a unique Wuxi recipe.

Aside: to eat 小笼包:

  1. Pick up carefully with chopsticks from the tray seen above.
  2. Bite a small piece, preferably in the lower half, on the side.
  3. Without letting go, suck out the juices inside. (Caution: may be hot!) There’s a lot of it, and it tastes so good — it would be wasted if you ate the bun normally and let it leak out.
  4. Bite and chew rest of the bun as you might ordinarily do.

Aside: I thought this was tea — but it’s actually vinegar.

In essence, a delicious breakfast meal can be had for $3-4 USD — under the price of a Starbucks mocha in North America.

Road rage is normal

I’m a little afraid to be on the road here.

  • As a pedestrian accustomed to drivers yielding the way, I’m likely to get injured, because here, people have to yield to cars, for the simple reason that the cars drive aggressively.
  • As a rider in cabs, I’m afraid every time the taxi makes a turn, because it always feels like we’ll hit a bike or a pedestrian. Every lane change is practically cutting someone off. And on at least one occasion, the driver has gone onto the opposite side of the road to bypass really slow cars.
  • There is no f’ing way I would drive here, or even survive trying.

Also, there are mopeds everywhere.

Mopeds parked

Some people on a moped

China’s learning the good and the bad from American capitalism

On the bright side, Chinese people seem to have learned that there’s money to be made from taking risks and launching small businesses. There are lots of little shops of all kinds, many of them fashion or textile shops (people love to browse them but not buy from them). Some of these stores occupy the first floor of an otherwise decrepit building — but the shops themselves are nicely renovated and decorated.

A textile and fabrics store in Wuxi
A textile and fabrics store in Wuxi

On the opposite side, the income disparity seems to be increasing rapidly. Some alleys have people labouring to survive (e.g. cleaning shoes, fixing bike tires) while nearby streets boast Louis Vuitton stores and Häagen-Dazs ice cream.

Louis Vuitton store in Wuxi
Luxury stores are all around

Interestingly, rich and poor seem to coexist in the same spaces in Wuxi. Unlike the sharp divisions between good and bad neighbourhoods in some American cities (*cough* Philadelphia), it’s hard to find lower-income citizens in a place of their own.

Alleyway of labourers in Wuxi
Alleyway of labourers

I walked by an alleyway where construction workers probably lived. There was a cluster of people around something that resembled an outdoor food cart, but it wasn’t open to the general public — it was set up so that the community of laborers could eat affordably.

Labourers getting food for brunch in Wuxi
Labourers getting food for brunch

Historic gardens (preview)

I’m going to post more photos from this venue in Part 2 of Day 1. We took somewhere between 250 and 300 photos of this historic site, where ancient architecture and estates from earlier eras, trees hundreds of years old, and an intricate system of stone wells that collect mountain water, have been preserved. I’m going to need some time to sort through the photos.

(My uncle, who teaches martial arts, served as a tour guide and explained the historical/cultural significance of many of the sights.)

Scene from preserved building

I also saw beautiful slabs of stone with engraved calligraphy, from different eras hundreds of years past. Even hundreds of years ago, the basis for the modern written Chinese language had already been set.

Slabs of engraved calligraphy
Slabs of engraved calligraphy

Anyways, all that and more will come — in Part 2.