




Eatpoo Drawn Symptomatica
Design Meltdown Kirupa thefwa css showcase localhost80










How about a really cool Citroen car commercial? Check out this dancing transformer.


This time on Legovision, catch a glimpse of pre-revolution Iranian TV in the 70's with a clip from a jazz show by American jazz musician Lloyd Miller, or Kurosh Ali Khan, as he was known in Iran. Click here if you're on dialup, or here if you want the higher quality version (10 MB)
New Stuff
I'm in the process of redesigning my site, and have been terribly neglecting this place. I haven't updated my portfolio / photoblog / sketchpad for ages, because I don't want to spend time on something that's going to go away soon.
Here's a few stuff I have been working on since we last spoke:
fotomoto
If you're into photography, and you have a photoblog, chances are you are using (or have at least heard of) fotomoto.com. Fotomoto is a service that lets photographers (and other artists) sell their art-work from their own site. I'm proud to say I've been part of the fotomoto team almost from day 1, and have been doing most of the UI work, including everything you see on the shopping widget itself. I also worked on the layout and animation for the fotomoto demo video, which you can check out on the fotomoto.com homepage.
Women's World in Qajar Iran
This is another fun project I've been involved with. WWQI is a historical archive of cool stuff from the Qajar period (mostly 1800's) that shed light on aspects of women's lives back then. I've designed the front-end, and have worked with some great folks who have developed all the back end. I also designed the WWQI logo.
So what happened to legofish?
In case you're wondering, after 8 years of being legofish, LEGO filed a complaint against the domain name and took it away. So I have changed the name to Mahimoto. I'm in the process of redesigning the entire site, and until then this place will sort of be in limbo.
flash error initializing java runtime environment
If you're trying to launch Flash Builder (or Flex Builder) and you're getting an error "JVM Terminated", and/or you're getting the "error initializing java runtime environment" when opening Flash, and you're on a mac, you have probably messed up with you symlinks in the /System/Library/Frameworks/JavaVM.framework/Versions folder. Specifically, you might have changed the symlink of CurrentJDK from 1.5 to 1.6. That's what happened to me anyway. I had to change it because my Java projects are using 1.6, but my Maven was still trying to use 1.5 and it wouldn't build (I think it's the same thing with Ant).
So, to make Maven work, simply put this in your ~/.bash_profile:
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
And change the symlink of CurrentJDK back to 1.5 by executing this from the shell:
sudo rm CurrentJDK
sudo ln -s 1.5 CurrentJDK
This should take away your Flash/Flex Builder/Flash Builder errors.
There might be better ways of telling Maven which JDK to use than specifying it in your .bash_profile, this thread has some good insight.
installing mysql and ruby gems using macports problems
I've spent the past several hours trying to deal with errors when installing mysql and some ruby gems using macports. There are already a ton of guides out there, but none of the ones I read said anything about the following issues:
- you won't be able to start your mysql database unless you restart your machine after installing mysql via macports
- if you're installing any ruby gems, eg. sudo gem install -y rake and you're getting the following error:
Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: could not find rake locally or in a repository
It's because you forgot to "source ~/.profile"
I hope this helps someone.
Pioneering Personalization
Mass personalization and customization is a trend that's gained considerable momentum in the past few years. From personalizing the web, to personalizing products such as cars, shoes, or even cereal, there are not many things you can't personalize these days.
One of the areas personalization hasn't had a big impact yet is fashion. Sure, there are a lot of websites that let you customize t-shirts and other casual apparel. But try to personalize anything more stylish and you'll hit a dead end. Until now that is!
Modify clothing fills in the gap by applying personalization to women's dresses, with great effectiveness. They only have a single product for now: a black dress. But you can change the look of the dress by changing the "wrap" that gets tied to it. One might think, how can anyone dramatically alter the way a dress looks just by changing a wrap? Well, check out the photos and you'll probably be as surprised as I was.
I think it's a great idea. It makes clothing much more reusable and a lot more fun, not to mention a lot more affordable. I wouldn't be surprised if other fashion houses adopt similar approaches in the future, but for now Modify Clothing is pioneering a great concept.
IE Bugs
I'm just posting this as a record for myself. It has already been documented on the net a zillion times. Here are some of the most common IE/IE6 bugs I've had to deal with in my days:
Margin-doubling Error: IE6 doubles margin-left or margin-right on a floated element. The fix for this (as found here) is to add "display:inline" to the floated element. A question that arises, is that whatever you wanted that element to be a block element? Well, if you still give it a fixed width and/or height, it should still behave the way you expected it to.
Negative Margin Clipping Error : If you have an element wwith a negative margin inside a parent element, The parent element will likely "clip" the child element's background. So the child element will not be visible. A fix for this is to add "position:relative" to the CHILD element, i.e. the element which has the negative margin.
IE shifts elements by their margins when the window resizes : alright this is extremely weird and I spent way too much time than I should have trying to figure it out. It's a bit complicated to explain as well. Basically I had a floating relatively positioned element with a left margin inside a container. Everything was fine when the page loads. But for my application, I had to dynamically resize the container (using jquery animate). As soon as I did that, the floated element would lose its margin ... it would get it back again when I hovered over it. Anyway, adding position:relative to the PARENT seemed to fix it for me ... and I have little idea why.