Archive for October, 2005

Welcome CSS Reboot Visitors!

Monday, October 31st, 2005

Hello and welcome to all who happen to reach Brettia via the CSS Reboot website. I hope you like what you see here, even though my design is rather simple. For those who read this and haven’t yet heard of the CSS Reboot, it is a “community event for web professionals” where hundreds of developers redesign their websites on the same day, focusing on the use of web standards in their stylesheets and markup. I encourage anyone looking for inspiration or who just wants to see some good-looking websites to visit the CSS Reboot website and browse the hundreds of entries there.

I guess I’m supposed to say something about how this design came together, but I worked on it over such a long period of time (about a month and a half) that I can barely remember most of what I did. I probably cheated by unveiling my design back in September, but I don’t get a whole lot of traffic, so for most people, it’ll still be “new” anyway.

The most important element in this design (besides, the content, that is) is the sidebar that you should see on the left. I think I must have been subconsciously inspired by the iPod nano when I determined its dimensions because if I hold mine up to my screen (at 1280×1024 resolution), it fits almost perfectly over the main sidebar. The links in the Navigation section of the sidebar were done using the standard background-image / display: none method, though this is probably not the most accessible way to do it. The rest of the sidebar is pretty straight-forward.

On pages that have to do with my blog, Organon, you’ll see an Organon sidebar as well. This was kind of a quick hack that I threw in so that my archive links would be accessible to the public again; this will probably morph into a calendar / search box later on.

Something that I was unsure about as I created this design was whether the wonderful Myriad typeface was worth using sIFR and lots of replacement images, but I finally decided to just go for it. I’m tired of being limited to the basic web fonts when there are so many other good ones out there - this is just my way of fighting back.

Visitors who read the fine print and never miss a single detail might notice that there is no mention of WordPress or Movable Type on my website. I used to be a happy WordPress user, but I was frustrated with it because I never felt that I could get it to work exactly the way I wanted it to. Sure, WordPress has an excellent plugin system and lots of templates to choose from, but I wanted something that I could call my own. And so, over winter break last year, Langosta (a Spanish word meaning “lobster”) was born. I had been attempting without success for over a year to write my own blogging system / CMS, so I brought together some old code and the experience of many failures and hammered it into my little crustacean. The project died about two months later, and I switched back to WordPress, feeling defeated. But over the summer, an excess of free time allowed me to upgrade Langosta to version 1.0 (meaning that it had all of the features that I had originally set out to code) and then to version 1.1 in August. Langosta still has nowhere near as many features as WordPress, but it does what I need it to do, allowing me to change my focus to adding extras like AJAX, autotagging, and other goodies. You can consider the version of Langosta that is currently installed to be 1.2 (the only outstanding bug is the terrible allergic reaction that my stylesheet has to Internet Explorer 6), with 1.3 being the major release which will include Ajaxy prettiness and other graphical improvements. For more information, visit the Langosta Trac instance.

This post is getting rather long, so I’ll wrap it up. I welcome any feedback you can give me, either on Langosta, the design, or anything else. The comment form should work (watch it break now that I’ve said that), so you can post replies to this post there. Registration is required. I’m sorry to have to require registration, but it’s the easiest way to fight spam for now. You don’t have to wait for a confirmation email or anything like that, and registering will allow you to turn off the Flash-rendered headline text if it is making your browser freak out. However, if you have something to tell me and you just can’t stand registration (or it doesn’t work for some reason), you can email me or file a new ticket at the Langosta Trac instance.

Final Langosta Post

Saturday, October 22nd, 2005

While I will make quick notes about important Langosta changes in later entries, this will be the last one that is dedicated completely to Langosta. TextDrive provides a development application called Trac free of charge, and it seems to be gaining a large number of users these days, so I thought I’d try it out for Langosta. At the Langosta Trac instance, you can file bugs, view my progress by reading the milestone reports or the wiki, and eventually you will be able to browse the Langosta source tree. Currently, this is not open to anonymous users because certain files in the tree contain my database username and password. Trac will eventually support hiding these files so that outsiders can’t view them, but currently it will either show everything to anyone or nothing to no one.

I’ve made a lot of changes to Langosta in the past day or so; you’ll notice some of them immediately after logging in. There is a changelog posted on the Langosta Trac wiki for those who are interested in the details.

If you encounter a problem or see something that needs to be improved in Langosta, please, please file a bug. It doesn’t take long and it helps me a lot with catching bugs early. Please post any error messages that you encounter in the bug report along with the expected outcome of whatever you were trying to do.

By the way, I’ve codenamed this release “Vamos a la Playa,” after a really weird, yet funny song that we had to sing in Mrs. Nasr’s Spanish class once.

Loving My ‘Pod

Wednesday, October 19th, 2005

Well, as much as I rant about the dangers of materialism, and the meaninglessness of possessions, I’ve finally bowed to Cupertino’s will and bought a black, 4GB iPod nano. (For grammar sticklers, “nano” is never capitalized in Apple’s marketing media, therefore I won’t capitalize it, either.) I got it Monday, and it truly is an amazing device.

I won’t go into all the specifics, since I’m sure anyone who pays attention to Apple will already know all about the nano, but I will talk about what makes me like it so much. First, the product design quality is excellent. If I unplug my headphones, it pauses automatically. The text on the back is laser-etched. The screen is bright, and the interface is inviting (it resembles MacOS X, kind of). I hate putting it in my pocket because it is just so pleasant to look at. Second, it is easy to use. Being a hacker/geek/whatever, usability isn’t such a big deal for me, but it sure is a nice quality to have anyway. The menus are simple and easy to navigate, the Click Wheel makes sounds when you stroke it, and syncing with iTunes is no problem. And third, it is convenient. I never realized how often I wanted to be able to listen to my music when I was away from my computer, but now I know. I wear it around the house, when I go out to get the mail, on the way home from school - whenever. It’s one of the few products that I can call “kick-ass” without feeling as if I’m overpraising it.

How did I come up with the $250 to buy it? Web design work. It really does pay off. I don’t have time to work every night, but I can usually get in around 10 hours per week if homework doesn’t kill me before I can get to it. My standard rate for freelance work is $15/hour, which isn’t incredibly high compared to what most designers get paid, but then again, I’m not exactly a professional (yet). Besides, it’s way more than what most kids my age would get paid, though my earnings are probably about the same as most other kids who work because they work more hours than I do. And I don’t need the money so badly that I want to start gouging or anything. College needs paying for, but whatever I make in web design work between now and June 2007 is going to be about enough to pay for textbooks and maybe a class or two…scholarships and student loans and federal aid will have to take care of the rest.

I really don’t have the time to be posting right now, so I’ll leave the more personal stuff for the weekend. It’s been ten days now since my last entry, which is just terrible, and I really would like to be more diligent about posting in the future. But I’ll include one of my trademark charts as a way of telling you what I’ll be doing in the next few weeks:

IB History of the Americas Research Paper
My topic is D-Day, which shouldn’t be hard. It has to be between 1500 and 3000 words, which is about the length of many of my blog entries. I just need to get the research done, and finding time for that has been problematic.
IB English Compare and Contrast Paper
This one hasn’t been assigned yet, but it’s basically a compare and contrast essay on a certain element found in any two of the three works that we’ve studied so far this term: Death of a Salesman, by Arthur Miller; Narrative of the Life of an American Slave, by Frederick Douglass; and Cat on a Hot Tin Roof, by Tennessee Williams.
More Freelance Design Work
My employer seems to have all kinds of things for me to do lately. I welcome the paychecks, but finding time for the work has always been difficult.
IB Website
The site is currently available as a live preview. It’s pretty much done, but I’ll have to make minor updates throughout the year. My work on that one site will account for 30 of my 150 hours that I need for the IB Diploma CAS requirement. Yay!
OHS Writing Center Volunteering
I’m still volunteering (along with most of the other diploma candidates) at the OHS Writing Center, where we basically edit younger students’ papers and tell them why they need to use verbs for a group of phrases to be a group of sentences. Last week we had a flood of students, but there have been barely any this week. I’ve only actually edited four papers so far, but I’ve logged around four hours of Writing Center CASsy goodness because the hours are counted for as long as we’re in the room (up to an hour).
OHS Basketball Team Website
This is another freebie similar to the IB website. I’ll get CAS hours out of it, and since I require a link back to Brettia on all my new free sites, I should get some hits/prospective clients out of it if I do a decent job.
Langosta
At this point, I’ll be lucky to have Langosta 1.2 out in time for the CSS Reboot. This should still be doable, but Langosta 1.3 will have to wait since I need to get the design up to scratch before it gets hit with all the visitors that the CSS Reboot will probably drive in my direction.

That’s everything I could remember for now. I’m sure there’s plenty that I’m forgetting (like the hellishly difficult IB Physics test tomorrow), but those are the main things. Right now I need to study for a quiz, and two tests, but I want to code something so badly…like that long-awaited “turn off sIFR please” function that I promised the poor Linux users who are having to deal with big white blank spots where my entry headings should be.

Closing In On Langosta 1.2

Sunday, October 9th, 2005

Langosta 1.2, which will be more of a milestone than an actual release, is the next step on the road to Langosta 1.3, which will hopefully be mostly complete by November 1st and will include Ajaxy goodness. I’ve made a lot of changes to Langosta lately in preparation for this milestone:

  • Added the blog sidebar with links to archive pages (finally!)
  • Added Flesch-Kincaid grade level scores to all entries using code by Dave Child
  • Enhanced the statistics page with rough estimates of the number of lines of code in Langosta, the number of files and directories comprising it, and the distribution’s size on disk.
  • Fixed a number of internal bugs
  • Alphabetized lists of labels application-wide
  • Made a logo for Organon / tweaked stylesheet slightly

Langosta 1.1 is now at revision 36 after 90 commits to Subversion. Organon is approaching 72 million seconds of existence and has recently surpassed 200,000 words in length. I have now written the length equivalent of a Harry Potter book.

Utter Exhaustion

Sunday, October 9th, 2005

So much for posting again on Monday. I’ll start with everything that’s happened since my last entry on the Thursday before last, and then I’ll finally post those updates about Langosta that I’ve been meaning to write about for some time now.

Friday was kind of crazy because I arrived at my newspaper class to find that we were nowhere near finished with getting the paper laid out by the deadline on Monday afternoon. My teacher finally decided that, since I had ended up with a copy of InDesign as a side-effect of getting the Adobe Creative Suite last year, I would grab a copy of all the pages from the network after school on Friday, put them on a USB drive, and take them home, where I would finish the final layout polishing over the weekend.

This seemed like a good plan, but it really wasn’t. The network hiccuped somehow, and the files didn’t copy correctly, so I arrived home on Friday with nothing but the Word documents containing all the articles, my layouts of the front and back pages, some photos and advertisements, and a big folder of tracking sheets for each article. Any work that the design editors in the other three newspaper classes had done was still on the school network, and I had no idea how far along they had been at the end of the day Friday. I had all the tools necessary to lay out the newspaper from scratch if I had to, but I was also afraid that my doing so would step on lots of toes because I would be essentially erasing their work and replacing it with my own. I talked at length with my dad about what I should do (I had no phone numbers or email addresses with which to contact my newspaper teacher), and I finally decided that I was going to have to take one for the team and spend every free hour that weekend finishing the paper.

I got about three hours of work in before going to bed at about midnight on Friday, and I was about ready to fall over and die at that point after working for a long time on the awards website that I mentioned in my last entry earlier that evening. I awoke fairly early Saturday morning to go to Six Flags, though I was able to read a bit during the two-hour car ride, which was about as relaxing as sleeping. Six Flags was fun, as usual, and the park near Chicago, Six Flags Great America, had some unique roller coasters. There was one where you stood up, another where you would hang beneath the track sitting down, and another where you started the ride sitting down but would later be rotated into a flying position (this was Superman). There were also several good wooden roller coasters, one of which I got to ride backward. But the fastest and scariest of them all was called Deja Vu, and I was beginning to have second thoughts about riding it by the time I got to the front of the line. Deja Vu is a suspended roller coaster that takes the train about 150 feet high, backward, at the beginning, so that the rider is looking straight down at the ground. Then, you’re dropped, and you free fall for a few seconds straight at the ground before the coaster turns horizontal and zooms through the station at about 80 miles per hour. Once through the station, the train goes straight up again, through a tight loop, a twist, and then another tight loop, ending up on a track parallel to the track that runs through the station, still going incredibly fast. But all that speed is suddenly gone after you pass through that section of track, because then the train goes straight upward again, where it is caught by a chain and pulled even higher up so that it is at about the same height as the first drop. However, now the rider gets to fall backward, and the entire ride is repeated once more in reverse. Deja Vu might have been one of the most intense rides I’ve ever been on, but I’d definitely do it again if I get the chance.

Anyway, I had a great time at Six Flags, especially because the lines were about one-third the normal length because it was a Kohl’s-sponsored family day where only Kohl’s employees and their families were allowed into the park. That made a huge difference - we only waited about 20 minutes maximum on all the roller coasters. But once the day was over and we were on our way home, I remembered the newspaper that awaited me once I got back. I was reluctant to work on it, but I did so anyway, getting in another four hours of work from 8:00 to midnight on Saturday. By then, I’d finished everything except the very back page (which was ironically one of the two pages that I was supposed to be working on to begin with), so I decided to call it quits and finish the rest on Monday.

Sunday was the highlight of my week/month: I was finally going to see an NFL game at Arrowhead Stadium. Amazingly enough, though my parents have been to dozens of games over the years, I had never been, except for one in San Diego that I can barely remember (I was too young then to care about watching it at that point, anyway). So I could barely contain my excitement as I read a magazine (Wired) on the plane after having run about a mile so that we would make our flight. The flight was short by my standards - only about an hour and a half. After that, we got a rental car and drove down to Truman Sports Complex, stopping only once along the way so that I could get a Chiefs hat to complement my Priest Holmes jersey.

My dad had heard that one of his friends from high school would be at the game too, so we tailgated with them for about four hours. We hadn’t planned on having to wait so long before the game, but it had been rescheduled from 12:00 to 3:15, and that kind of screwed up our plans (damn you, Fox!). Anyway, we went to our seats at about 2:30, sang the modified national anthem (it ends with “and the home of the CHIEFS!!!”), and watched a great first half, with Dante Hall executing one of his trademark touchdown runs after a kickoff and touchdowns from Priest Holmes and Larry Johnson. By about the middle of the second quarter, the score was 24 to 6, with the Chiefs killing the Eagles. The feeling in the stadium was amazing - Arrowhead is the loudest in the NFL, and seeing 80,000 fans screaming themselves hoarse for their team was almost enough to bring tears to my eyes. Almost.

But then came the second half, and it was at that point that my elation morphed slowly into frustration and then into anger as the Chiefs fell apart, going from an 18-point lead to being behind by ten by the fourth quarter. The Eagles demonstrated how a true Super Bowl contender could recover from a deficit, completing pass after pass in the face of the Chiefs’ struggling pass defense. Even though the Chiefs are my team, the Eagles are definitely my favorite in the NFC, and they proved their worth that Sunday. The final score, which my dad and I heard as we went back to the airport after leaving at the beginning of the fourth quarter to make our flight, was 37-31, Eagles.

Even though the Chiefs lost, it was still worth going to the game. But after the plane landed at about 8:45 Sunday night, my dad and I still faced the long drive home. (We’ve since decided that flying through Chicago Midway isn’t worth the cheapness of flying Southwest - we’ll be using Milwaukee’s airport from now on.) After getting a quick dinner at Burger King, getting stuck in a traffic jam, and making some wrong turns on Chicago’s complex freeway system, we pulled into the driveway at about 11:30. I was exhausted (for the third night in a row), so I went straight to bed without even trying to work on the newspaper.

While my dad and I were at the game, my younger brother was at a friend’s house because my mom was in Seattle with some friends. Being the smart little boy that he is, he managed to break his collarbone on a bike jump that they had built in his friend’s driveway. Even though he wasn’t wearing a helmet or any other padding, he luckily only had a minor concussion, so now he just has to deal with having his arm in a sling all the time. I can’t say that I feel that sorry for him, but I was beginning to worry about my own safety after both my dad and my brother had been in major accidents in the same weekend. Sure, breaking a collarbone is something that just happens and isn’t a huge deal, but this was the first bone that he had ever broken, and I had just been thinking about how neither of us had ever broken anything before when the phone call from mom came explaining to us what had happened. Luckily, it’s been a week now and I remain in one piece, so I guess that little period of bad luck for my family has passed. Or maybe the Chiefs’ loss was supposed to count for my injury, in which case I think I was feeling pain far worse after the game than my brother did after his injury :].

On Monday, my day of reckoning for the newspaper, I brought in what I had early in the morning and showed it to the teacher. Though he was disappointed that the copy had failed, he seemed impressed that I had put so much effort into getting it done, and he was also impressed by my design abilities (I told him that it came from doing websites, so it was second-nature to me at this point). I ended up continuing to work on the newspaper during my newspaper period (45 minutes), during lunch (30 minutes), during my pre-calculus class (1 hour), and during the after-school activity period (30 minutes). Since I had already spent a total of almost eleven hours on the stupid paper, I decided to go ahead and leave at 2:45 on Monday, letting my fellow design editors finish the back page and link the document so that it could be sent to the printer.

I had a lot of homework that night and two tests to study for, so I was just as tired on Tuesday as I had been on Monday morning. I had now been up until at least midnight on five consecutive nights, meaning that I was running on about 75% of the sleep that I should have been getting. My Tuesday physics test was a reflection of that: I scored an 85%, keeping my grade right around a B+. That class has been frustrating from the start, first because the teacher doesn’t explain things well enough for me to understand the first or second time around, and second because about half the kids in the class are seniors. Normally I don’t mind seniors, but these seniors are all jocks who goof around a lot but still manage to get a better grade than me because they’ve taken calculus and because they have the added advantage of years of Wisconsin-level science classes as opposed to the crappy science classes that were taught in Arizona. I hadn’t even lit a Bunsen burner until last year, but my brother has been doing experiments with them already, and he’s only in seventh grade. Suffice to say, I’m way, way behind in my scientific education compared to most students here.

Somehow, knowing that I did terrible on that test made me do better on my next one that day: a ten-problem, 35-point “quiz” that I aced. By Tuesday night I was really beginning to feel the effects of my sleep deprivation - I was in a terrible mood, feeling depressed in a way that I hadn’t been since February. But I got a bit more sleep on Wednesday, and by Thursday, when I spent most of the evening relaxing with a game of Rome Total War in which I pwned the Numidians, Spaniards, Gauls, and Egyptions with my Carthaginian mercenary hordes, I was feeling much better.

That pretty much brings me to now, since there hasn’t been anything particularly amazing happening in the last few days (yay!). Here’s what will be taking up my time in the next few weeks:

Langosta 1.2
I’m hoping to have this finished in the next week so that I can begin working on Langosta 1.3, which will have Ajaxy goodness and will hopefully be done by November 1st, in time for the CSS Reboot
A new website for an unknown client of my employer
I have no idea what’s happening with this, but it’s going to take up a lot of my time.
A website for my school’s basketball team
The coach of my school’s basketball team is the newspaper teacher, so I guess all my work on the paper wasn’t for nothing (I’ll get IB service hours for this). (This is similar to the reward that I got for working so hard on my old school’s website: five semesters of honors credits and a job doing websites for my current employer.)
Major papers for English and History of the Americas
The English paper has to do with analyzing a literary element found in Death of a Salesman, which I had to read over the summer. The history one is on D-Day, which shouldn’t be too hard.
Finishing the IB website for my school
I got the honor of doing the IB website because I was the only one with any experience in creating them, and it looks like this one site will give me about a third of all the hours that I need for this year, so I’m going to be sitting pretty once it’s finished.
Working in the OHS Writing Center
The Writing Center is an after-school thing where IB and AP students tutor struggling students from other classes, often by revising their reports and helping them structure their ideas. It’s not my favorite thing to do in the world, but I’ll get some extra service hours for it.
Desperately trying to get an A- in IB Physics
An A- in IB Physics would cancel out my A+ in pre-calculus, so it’ll be like I had As in both classes. Hopefully I’ll survive it.
Diagnosing and treating Kenny’s “random-reboot-when-scrolling” problem
For some reason, Kenny, the office computer that I built, likes to crash when the user is scrolling a window, either with a mouse wheel or the scroll bar. I don’t know why this is happening, but I think it must be a problem with the Nvidia driver because this card was in Crampy and worked fine. Also, I’ve tried both Gentoo and SuSE on Kenny with no luck in fixing the problem, and I’ve even tried switching from Gnome to KDE with no result. I’m starting to wonder if Linux is really ready for the mainstream, if hardware support from even a “good” vendor like Nvidia is still this crappy.

Wow, that list became a lot longer than I thought it would be. The updates about Langosta will be in my next entry.