WebKit Transitions and the Return of Visibility

Recently, I’ve had the pleasure of building the UI for a client program using Webkit. Access to all the CSS3 features has been great as well as completely liberating from the constraints of IE compatibility.

WebKit offers another great feature: the -webkit-transition property to animate transitions between different style declarations. One obvious application is fading an element in and out which requires a CSS property which I’ve long since relegated to the pile of “nice, but not so applicable” properties: “visibility.”

here’s an example:
.module {
visibility: hidden;
opacity: 0;
-webkit-transition: opacity 0.2s ease-in;
}
.module.display {
visibility: visible;
opacity: 1;
}

Why not just use the display property? Because even if display is “none”, an absolutely positioned <div> will block click and other mouse events from being detected by elements below (in terms of z-index) the hidden <div>.

Chicken Kitchen seduction

I used to work at the Chicken Kitchen in Miami (I think it later became Starr’s Chicken Grill or something). Most of the staff were Haitian or Guyanese immigrants. I was studying French in school at the time and my Haitian co-workers spoke creole. One co-worker, Franz, seemed to have a knack to seduce women. Hoping to pick his brain for secrets on how to sweet-talk a girl, I asked him for a sample of his persuasive prose. He produced the following for me on a scrap of notepaper:

C’est avec un coeur recuplis de joie et d’allegresse et que je propite aujourd’hui de vous dire quelque chose,

je t’aime mon amour,

et je t’adore,

parce que hier je t’aime aujourd’hui je t’adore demain se sera pour toujours pour toujours;

si je pourrais dis l’amour que j’avais dans mon coeur pour vous,

cette journee ne sera pas suffisante.

Using Google as a tool for social reflection, Part 1 “Why are…”

Thanks to Elie who commented on a previous post, I was introduced to Gdumb.com which uses the auto-suggest feature in the search bar as an indicator of some of the most ridiculous search queries you could imagine. Elie’s own post about it explores three partial queries: “Why is Israel…”, “Why are Jews…”, and “Aliyah is… .”  The results are very interesting and a transparent* indicator of the attitudes and questions that people have.

* As transparent as Google is.

This being a site about mixed identity, the next obvious extension was to try plugging in queries containing racial identifiers. Read more

Tango violin techniques

I’ve been playing violin in a Piazzolla cover band, Tango Negro (myspace, 無名小站), for just over 2 years now and have had to learn a whole set of new (and unusual) techniques for the violin. For those not familiar with Piazzolla’s music, the violin and other instruments have been assigned to provide atmospheric sound effects and percussion. It is difficult to find English-language literature or resources on these techniques, but some do exist as listed below.

Read more

WordPress 2.9.1, beware of encoding issues

I’ve just spent an hour and a half upgrading to WordPress 2.9.1. Why did it take that long? Well, their database upgrade assigned the wrong collation to the fields in the database, rendering all the double-byte characters in my posts as ???. Very annoying and a pretty major oversite for such a widely adopted piece of software.

Read more

“都可以啦只是…” or Observations on group decision-making in Taiwan

Working in a Taiwanese company has provided me with great insight into how things work here. I get to witness and participate in group decisions on a daily basis. On one hand it can be particularly frustrating because people are not forthcoming with their thoughts, or when they do say something, they try to say it in a way without rocking the boat. On the other hand, one can witness the deeply rooted attempts to maintain harmony at work: the principle of “不好意思” (bùhǎoyìsi). One example occurs daily at lunchtime, the question being “where should we eat lunch?”. Read more

International Fail: Taoyuan Airport

If I was to pick one thing that really hurts the image that Taiwan projects to foreign visitors, the one thing that sticks out above the lack of standardized romanization of Chinese, the relative lack of English and the general lack of organization and consistency, it would be the airport. In particular, the customs line for incoming foreign nationals. Read more

Guide to Weddings in Taipei

Being here for a few years, I’ve just attended what has to be at least my tenth wedding here in Taipei. Though each wedding has its nuances, just about every wedding I’ve attended save one has followed a simple formula. I’m writing this guide as a record for myself and also as a tip sheet for others who are less familiar with weddings here in Taipei.

Read more

Taiwanese Cock-block Technique #1: The Brokeback Attack

While in Kending during the last weekend of the Lunar New Year, I witnessed the boldest manifestation yet of that crudest and most-desperate species of the Taiwanese cock-block family: the Brokeback Attack.

Read more

Versions App and Site5 SVN

Well, I signed up for the Versions app beta and finally got it about a bit over a month ago. I installed it and then minutes later, I clicked it off, fired off an email to their feedback address and removed it from my dock, expecting never to use it again. You see, the problem was I couldn’t get it to work with my Site5 SVN setup. I received an email back from the beta team and now it’s working and back in my dock.

Read more