Freestyle Rap is like a Guitar Solo

2 #

I just had the epiphany that freestyle rap is kind of like a guitar solo except played by the mouth. You trade off musical complexity for lyrical complexity.

Tags: | |

Two Sets and Research Meeting Tomorrow

0 #

T’will be an insane day today. I have two sets due and a research meeting with my mentor tomorrow. So I have to finish the sets as quickly as possible so that I can prepare for the meeting!

Forego Commercial Hosting?

0 #

My Dreamhost account will soon be up for a year’s renewal at roughly $10/month so I’ve been figurin’…..figuring that since I have a bunch of servers here at Caltech that I can use, that I could just move my sites there and go without a commercial hosting account.

So I’ve been making some plans on how to make this transition as smoothly as possible while retaining the “reliability” (it’s not always reliable) that commercial hosts have. This move will probably occur within 2-3 weeks.

Tags: | |

Firefox, Internet Explorer CSS Woes

2 #

Usually every week, my only day to do “non-Caltech” stuff is Friday night. At Caltech, we don’t have weekends. We just do work all the time.

I’ve been seriously mulling over developing a new theme for my blog since last month, but since I only have about 4 partial days (Friday nights) each month to actually work on my own projects, the theme never got completed until recently.

I spent the first “free” day formulating a plan of attack on how to make a Tumblr minimalist-like theme by reviewing existing solutions. The three most popular ones are: T1, Tumble-hybrid, and Tumblejack. Both T1 and Tumble-hybrid are based off of the excellent Sandbox theme for Wordpress which allows amazing control over the presentation of the page using only CSS.

I decided to settle on modifying the CSS to T1 to make it look like the Tumblr minimalist theme. No sweat right? I could do this in a night.

Well, things don’t usually work out as well as you initially planned. The T1 css code, to me, wasn’t very well written (a lot of redundancies) and organized (including bad style) so I had to spend a lot of time deciphering it.

Time ran out and so I had to wait until the next Friday to continue work. Luckily, this was a weekend holiday thing so I was able to extend my CSS hacking into Saturday as well. I made fantastic progress those two days, figuring out some clever CSS tricks to have things be positioned correctly. I also did this cool trick by using jQuery to rewrite the HTML of conversations on the fly so that I could transform them into a list format (so that they could be presented like Tumblr conversations). I was feeling pretty good until I opened up the theme in Internet Explorer 7. Then all hell broke loose.

Well, it wasn’t that bad. The sidebar didn’t float right and the display of some items were off. But the general “look and feel” was there. At this point, I ran out of time so I left the “hacking CSS to make it work in IE” part to next time.

When the next Friday came around, I was all geared up for finishing this theme. I’ve dealt with making CSS work with IE before, and it usually involves adjusting some margins, padding, and other small things. It turns out that none of this was really applicable to the problems this theme encountered. IE just inherently interprets CSS different than FF in some cases. I couldn’t find a way, using floats, to make the theme work in both IE and FF. My enthusiasm dropped, and I commented to a house/dorm neighbor that it was impossible to fix this problem. It just couldn’t be done.

During the week leading up to the next Friday, this problem was stuck in the back of my brain nagging at me. I just spent all that time working on this theme, and if I couldn’t get it to work, I wouldn’t be satisfied posting to my blog. I want microblogging, dammit! As it turns out, I was taking a shower one night, and I thought of a way of using relative CSS positioning to replace the method of floating divs. It would work, I thought!

So on Friday night, I sat down to implement this relative divs method, and in Firefox, it worked perfectly. In IE, it worked, but then messed up the rest of the content of the page. I fiddled around the the CSS a lot, but couldn’t fix this problem. Time ran out.

Well, I kind of broke my Friday night rule, but yesterday night, I was determined to fix this problem, so I tore down all existing CSS code and rebuilt it line by line all while monitoring both FF and IE to make sure they looked the same at both stages. Surprisingly, I learned a lot from this since it was actually some poorly written CSS code that contributed to IE messing up the layout. FF is more forgiving when interpreting ambiguous CSS. I tracked down some offending lines and cleaned up the CSS code. And thus, I finally put it in production-beta use where I can fix things on the fly.

Well, if you encounter any problems with the theme. Leave a comment or email me!

Warren Buffet on People Value

0 #

“If you have a 500 HP engine and only get 50 HP out of it, you’ll be beat by someone else that has a 300 HP engine but gets 250 HP output. The difference between potential and output comes from human qualities.” –Warren Buffet on Valuing People

Theme Work in Progress

0 #

This theme is currently a work in progress. I will improve it on the fly, and when I feel that it is fairly decent, I’ll release it to the public.

Tags: |

What’s going on here?

0 #

What’s going on here? I’ve been working on a Tumblr minimalist theme clone (for Wordpress) with some of my own modifications. Essentially, I’m trying to move to a more “microblogging” format so that I can post early and often without worrying about the need to write groundbreaking and substantial posts.

Superbowl

3 #

The Superbowl this year was amazing. I don’t really have to say much more, you all know what I mean. Also, the reason why I haven’t been posting much (besides the fact that I’m busy) is that I’m getting ready to revamp my blog to fit a microblogging format. Once that occurs, you can expect to see more posts from me!