Archive for February, 2006

All posts written in February, 2006.

google maps + sopranos = sopranos maps.

Posted by: Jen | No Comments »

Categorized: General

Fifteen months ago, when I knew I had to wait sixteen months to see the next season of Sopranos I was not sure I could wait…but with only a little over a week left before the first episode of season six, I am pumped.

HBO has added Sopranos Maps to the Sopranos HBO web site which is really impressive (a little slow, but still impressive). Sopranos Maps are a cobmination of Google maps and storyline/video from the previous season. Click on a pre-defined hot spot on the map and up comes video from last season along with background information about the video. Good job HBO!

[tags]google maps, sopranos[/tags]

video blogs.

Posted by: Jen | No Comments »

Categorized: General

Yeah, I am late to post about video blogs, but hopefully this will be news for some ;) . I have been watching Rocketboom for a little over a month now and love it (today it went high def!). Not only do I watch it…my TiVo downloads it and has it ready for me every night I get home from work. Yeah…that is slick.

Rocketboom a lot because I get introduced to goodies like wikiCalc which almost gets me excited at the thought of using a spreadsheet. For all the other video blogs I watch on a regular basis, I use FireAnt, and highly recommend it.

Not watching video blogs yet? Download FireAnt now that you know what it is and tune in!
[tags]video blogs, Rocketboom, wikiCalc, FireAnt[/tags]

print out certain line numbers with sed.

Posted by: Jen | No Comments »

Categorized: General, Hints, HOWTOs, UNIX

It has been a year now since I completed my UNIX/Linux certification training and every once and awhile I think about my friend Perl, but I really enjoy helping others with some simple needs. Ben (yeah, I got him using WordPress too ;) ) aked me a great recently:

Question: If i have a huge log text fie and i want to pull a range of lines out of the middle, how can I easily do this?

Answer: sed -n '3,6 p' /var/log/httpd/error_log

Answer broken down:

  • sed is the UNIX tool I chose for this.
  • -n is used so that sed does not print out more than what I need.
  • '3,6 p'indicates that I want lines 3-6 of the log file to print out (in the command line) and the p is used for: “If the substitution was made, then print the new pattern space.”
  • /var/log/httpd/error_log specifies the log file that I need to extract data from

Hope this comes in handy!
[tags] sed [/tags]

real artists ship.

Posted by: Jen | No Comments »

Categorized: General

The perfectionist in me wants to wait to introduce a new design, etc until everything is perfectly in place. But recently, I was reminded that “real artists ship“.

I am starting to get more consulting business and I was unhappy with my business web site design. It was dark, uninviting, and just felt heavy. I needed something lighter, brighter, and in typical Jen factor…minimal. Enter the latest design: SDAC Inc. I still have a lot to do…a lot of rewriting of text, adding more graphics to bring more interest in, and to convert my Photoshoped header into bits and pieces controlled completely by CSS, but I had to take a good look at my priorities.

Usually when people procrastinate, they surf the web, clean, etc, but me…when I get really busy, I redesign. When I have a big design project coming up, I instantly look at my web sites and look to see what I can redo. Once I got several hours into this redesign, I realized I had to cut back on some of the things I wanted to implement because it was more important that I get a new design out there than have the same design with 4x the time put in to make everything perfect.

When I go out, I go all out. Not only did I redo the entire design, I also moved my site from XOOPS to WordPress. XOOPS was overkill, and let’s face it…I love WordPress.

I learned a good lesson from this whole experience…put something out there, then improve on it later instead of holding out for days/weeks.
[tags]real artists ship, SDAC Inc, XOOPS, WordPress[/tags]

yum, tivo updates!

Posted by: Jen | No Comments »

Categorized: General

After turning on my TiVo this afternoon I noticed some awesome changes. I now have access to Yahoo! Photos, Yahoo! Weather, Yahoo! Traffic, Live 365 Radio Network, Fandango, Podcasts, and games. I am excited to try out the scrabble ;)
Nice work TiVo. If nothing else, I am excited about the traffic and weather options.
[tags]TiVo[/tags]

Tagged: ,

safari bookshelf's rough cuts.

Posted by: Jen | No Comments »

Categorized: General, HOWTOs

I know this has been available for awhile, but I wanted to highlight it for anyone who has not heard of it. We all know and love O’Reilly books. I have several. I also have a subscription to Safari Bookshelf in case I have free time and want to read a good technical book. O’Reilly recently began offering Rough Cuts – a preview into some books on cutting edge technology incase you cannot wait until it is published…and they are free to look at. Want to pick up some AJAX skills? There are some AJAX books waiting for you! Enjoy.
[tags]O’Reilly, Sarari Bookshelf, Rough Cuts, AJAX[/tags]

css basics.

Posted by: Jen | No Comments »

Categorized: CSS, General, HOWTOs

I had promised Doug I would have an upcoming post “that would change his life.”
Well, since I am busy with a few projects, I have not had time to devote to this post. Of course this life changing post will finally convert Doug from using tables to CSS for page layout. In the meantime, I thought I would get things rolling by explaining some of the basics.

Syntax: There are three parts to CSS syntax.

So, a generic example of CSS syntax: selector {property: value;}

Classes and IDs
Classes are defined by a “.” then class name. Ex: .class_name {font-weight: bold;} Classes give you the opportunity to have an HTML element have multiple looks with CSS. For example, classes are used a lot with paragraph elements to make certain paragraphs look different. In my latest design, I have two columns. The paragraphs in the left column have different line height, and different font properties than the right column so I created two separate paragraph classes: p.main {line-height: 1.5em; font-size: 1.25em;} and then p.side { line-height: 1.25em; font-size: 1em;} Note: when creating your own classes, you only need to use a class name like .jappler {property: value;}. When using just a custom selector (no HTML element), the style can be used for all elements. When you create classes for HTML elements, you will need to use the HTML element name then the class you want to use: h2.side {font-size:90%}. Also, remember that when using HTML elements with classes, that the “.” is placed between the HTML element and the class name, not before.

IDs are defined by a “#” then the ID name. Ex. #id_name {font-weight: bold;} The W3C defines class ID as “a unique identifier to an element.” IDs are mostly used for layout since you are should reference an ID once per page. Naturally, there are in most cases, one header, one footer, one menu, etc.

I am still confused, which do I use: Classes or IDs?

You should use IDs when there is only one occurence of it per page. (Ex. #header {background: #fff; height: 86px;} Use classes when there are one or more occurrences per page. (Ex. .center {text-align:center;}

Span Class v. Div Class
When first learning CSS, I was also confused about when to use span class="something"> vs. div class="something" . I soon learned that you should use span class where I used to use the font tag. I use a div class where I have other inline elements that I want to fall under the div.

So, for the beginners out there. Do not get too frustrated, just start out by finding a layout you like, and begin modifying it. If you are not sure what something does, look at W3 Schools. Once you know the basics, you can shed the cumbersome WYSIWYG editors for the text editor and web browser approach to design like I use.

Further Resources
Classes vs. IDs
W3 Schools
[tags]CSS, Divs v. IDs, span classes[/tags]

home ownership fun.

Posted by: Jen | No Comments »

Categorized: Serenity Now!

Fun times. Nothing says fun like finding weird things that the previous home owner thought was a good idea. Today’s fun thing: sump pump drainage into the driveway. Water flowing down the driveway + extremely cold temperatures = skating rink. I have spent the last 2 hours chipping ice, salting, chipping ice, and trying to figure out how to stop this…all while working in the bitter below 0 cold weather. Amy and I jumped into the Volvo (which always like the challenge of a cold start) and went to Home Depot to get more salt (the industrial strength kind that works below 0) and a collapsable hose to extend the sump pump drainage accross the driveway into the side yard. Of course I did not measure it and when we got home, it was too short. Off to Home Depot again. Yeah, and the sump pump keeps putting out more water. I decided to dump some sandbox sand I had left over in front of it to stop it for now. Ahh fun times. Not to mention our mail carrier slipped on a small patch of ice (pre sump pump problem) and has showed both of our dog walkers the bruise she has. After showing the bruise to both of our dog walkers, she is threatening to sue. Funny how she walks right across our yard whenever I see her deliver the mail. Like my mother told me…”watch where you walk. If you step on ice, you might fall.”

best designs are results of accidents/mistakes.

Posted by: Jen | No Comments »

Categorized: General

I have found over the last eight or so years that my best designs actually result from mistakes or accidents when working in Photoshop. Give me a few minutes in PhotoShop and I can whip up a good design or grpahic. Give me a few hours and I am willing to bet I will choose the wrong filter, accidentally change the opacity of something and bingo…there is the finishing touch to the design/graphic I needed. This is much of the case with the new design I am working on. So when in doubt, open Photoshop and start playing around.
[tags]Photoshop, design[/tags]

my other valentine: css.

Posted by: Jen | No Comments »

Categorized: CSS, General

Yeah, A has nothing to worry about, but I will not lie…I spent a good portion of this evening (while A was not here) with my other valentine: CSS. Why? CSS finally, after all these years showed me some love today. I have been cooking up a new CSS layout and the first check/browser check (6 browsers to start off with) not only validated but everything also looked perfect and worked in IE 6 for Windows and IE 5 for Mac. (Time to download IE 7 beta) I am not sure when I will have the layout/design ready for prime time as this is something I am doing “for fun” in between a few other projects. If things work out, I could have something ready by tomorrow or at the latest by next week. Time to spend sometime with A and the Olympics.
[tags]CSS, Olympics[/tags]

Tagged: , ,