When NOT to use Flash

May 10, 2013 by Frederick | 0 comments

I’m calling out The Daily Pennsylvanian for worst uses of Flashever. Flash animations make sense when interactivity is demanded, and only then, in rare cases.

A couple of months ago, this happened: a post lauding the university for winning the 2012 CIO 100 Award for mobile-friendly sites, using Flash as the only content on the page:

The irony.

The irony.

To top it off, guess what the mobile site shows on a phone?

Mobile friendly, my ass.

Mobile friendly, my ass.

Yeah, that’s right. A blank article.

I wouldn’t be so mad if it were a one-time thing. But then this illustration of our commencement speakers was published this week:

You can't think of a way to present this well with a table?

You can’t think of a way to present this well with a table?

Again, a blank article shows on mobile. And it’s not just my phone that does this: development of Flash for mobile was halted nearly 2 years ago, and iOS has clearly not had Flash since the start.

But my gripe isn’t with Flash itself, or even with mobile compatibility — I’m just upset that people are using a medium that doesn’t make sense for things that shouldn’t even be interactive. I get it; college kids like to play around with software, or whatever. But you guys gotta stop this.

This gallery contains 4 photos

December 21, 2012
by Frederick
0 comments

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>

December 14, 2012
by Frederick
0 comments

I am Un-American

Yes, it’s no secret that I find myself refusing to accept unregulated gun ownership. But I’m not going to use this short post to advance that view specifically.

Without speaking to the many rational arguments both supporting and opposing gun rights, specifically in the context of the United States, I wanted to point out the illogicality1 of the modes of argument adopted by some in this debate.

1 Look it up in the Oxford English Dictionary.

un-American

Generally, the label of “un-American” is applied to people and policies that are perceived to be contrary to “American values”—whatever they may be for the speaker who uses this label.

There is no shortage of recent news articles highlighting someone’s usage of this label:

As these examples illustrate, the users of this label are not limited to one party or view. They are often the worst self-evident cases of ad hominem attacks on the person who holds a view rather than the merits of the view.

In another more subtle form, this argument is stated like “gun rights are a part of American identity; refusal to accept that is incompatible with being American”. This comment on a CNN article exemplifies this point of view:

CNN comment: "Feel free to MOVE to another country then... STOP trying to change OUR Country STOP trying to take OUR Constitutional rights away! GO AWAY....PLEASE"

An expression of the un-American attack

The problems with this are in its implications:

  1. Gun rights are unquestionably integral to American values.
    I’ll address this below under the constitutionality argument. Nevertheless, the fact that there is any domestic debate on the issue naturally refutes this.
  2. It’s wrong not to embrace American values.
    There’s two ways to address this. First, there should be no obligation for a non-American (by birth, citizenship, etc) like myself to accept American values, whether I live in the US or not. Second, even American citizens are members of a pluralistic society that should respect differences even if they do not conform to norms.
  3. Dissent is invalid unless it conforms to American values.
    Isn’t dissent and discussion a part of liberty and democracy—actual values that most Americans embrace and share? Why should moral views on specific issues be uniform?

Nothing to learn

Furthermore, the comment above espouses the view that America has nothing to learn from other nations and cultures, a supremely arrogant and unacceptable view for any member of any nation.

If another nation is better at ensuring widespread access, low costs, and high quality of health care, or then there is something for America to learn, even if that system is socialist.

If another nation achieves a lower crime rate without granting unrestricted gun ownership, there is something to learn.

Or I could accept her argument that anyone seeking to make America better in any way by modelling changes on other nations should just leave. In that case, see ya, suckers. Feel free to let your beloved country suffer from all of its problems.

Constitutional ≠ righteous

I don’t care how you interpret the Second Amendment, but either way, a legal document does not, by itself, provide a moral basis. Laws are formed from morals and to uphold morality, but are not themselves sources of morality.

Just to remind you of that, the University of Pennsylvania’s motto:

Leges sine moribus vanae
Laws without morals are in vain

Not the most eloquent motto in English, but 1) I’m sure it loses something in translation, and 2) the actual importance of this statement is deep.

Just because the Constitution can be interpreted to protect the “right to keep and bear arms” doesn’t mean that the amendment should exist. That would be begging the question (that is, asking whether it’s morally right to have firearms by relying to a document which itself relies on a judgement of whether it’s correct to have the right). The very fact that laws are changed over time reflects the fact that laws come from the values of the populace, which can and do change.

November 30, 2012
by Frederick Ding & Kirill Peretoltchine
0 comments

Lowering the bar on education isn’t the answer

The following article was initially drafted with a guest author, Kirill Peretoltchine, at the end of July 2012, but I never finished my part for it. Here it is, nearly half a year later.

In the midst of all our Olympic furor*, it is wise to reflect upon earlier times. A giant statue in the opening ceremony of the Athens Summer Olympics in 2004, onto which laser images of geometrical shapes and scientific concepts were projected, was only one of many powerful reminders of an era past. Ancient Greece was a birthplace of logical thought, education, mathematics, science… and democracy.

The Renaissance, a golden era in history, was marked by an explosion in the diffusion of ideas, and the naissance of the scientific method that has allowed us to explore this world. We should remember, too, that this was the time of Copernicus, Galileo, Michelangelo, and da Vinci — the last of which, far from being just a scientist and artist, was also an engineer and writer: the stunning definition of a Renaissance man.

Let’s not forget that one of the founding fathers of the United States of America, Benjamin Franklin — also the founder of our alma mater, the University of Pennsylvania — was a polymath himself. Politician, scientist, writer… there is a reason we honour and respect figures like da Vinci and Franklin, even if we, enlightened with 21st century practicality, do not expect to educate the entire populace in their image.

Hence, it was shocking to read a genuine proposal by an educator at the City University of New York for the lowering of educational standards and the removal of mathematics from standard curricula.

We agree that there are serious deficits in the North American educational system that are in need of redress. We also concur that it is impractical to teach higher math effectively to every high school and college or university student. But we are firm in our belief that lowering the bar isn’t the answer. Andrew Hacker has a limited view of mathematics that fails to appreciate its value, and his solution of removing math from standards is flawed.

* Remember, this was initially written in July…

Continue Reading →

Campus Backup Service marketing letter

August 5, 2012
by Frederick
1 Comment

Incoming college freshmen: Campus Backup Service is a ripoff

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 →

July 29, 2012
by Frederick
6 Comments

The battle for the truth: my perspectives on free speech

I was so disturbed when I found a Wikipedia article on “AIDS denialism” that I felt the need to share it.

It’s a great example of a divisive issue between those who trust peer-reviewed science (“HIV is the cause of AIDS”), and those who would prefer ‘alternative’ dissenting views (“HIV doesn’t cause AIDS”, or “HIV doesn’t exist”) — even if that dissenting view is backed up with scarce evidence.

Conspiracy theorists assert that they are truth-finders, digging through cover-ups and challenging dogma. Others, particularly politicians untrained in the realm of science, propose, to paraphrase, that there are ‘multiple’ truths.

You can have multiple hypotheses, multiple perspectives, or multiple opinions… but the scientific community is usually able to reach a consensus — a unified voice on a matter such as this.

There’s a lot more after the jump, including parallels to climate change and evolution, as well as my take on free speech.