mswebby.com
Journal | Displaying 25 of 81 total posts of mswebby at Blogger.
The Opening Act aka TOA


My college band, The Opening Act, has come back from the dead on SeeqPod, a how-the-hell-is-it-not-illegal music site.




Here's a few posters from our shows:





Original Article.
Flickr API


Flickr opened up their service to the programming world with a publicly accessible API. As usual, I'm way behind the times and I've just discovered this feature.

I started using Flickr a few months back for photo hosting and I've been addicted ever since. So much in fact, that I haven't bothered updating my own pictures page. The solution of course was to create a section on my website that connects to Flickr using their API. The first iteration of this page is located at http://mswebby.com/flickr/sets.php.

Unfortunately, Flickr's API doesn't include any functions for getting Collections of photos, just Sets. So my site is completely disorganized at the moment.

Original Article.
eBay Doesn't Like You


eBay is on the down slope. It is clear through their recent policy changes that they are no longer concerned with maintaining a community-friendly product, but are instead aiming for short-term profits.

1. eBay has lowered the listing prices of fixed priced auctions.

Anybody who frequents eBay on a regular basis knows that only "eBay Spammers" list items at a fixed price. The reason is simple- people that make their living on eBay sales need to make a certain amount of money per listing. This retail approach is much less communal as it removes the auction "pull" from listings. The very heart of eBay is the auctions, and by removing this feature, eBay is no different than any other marketplace.

2. Sellers can no longer leave feedback.

eBay's auction model is based on seller and buyer legitimacy. Ask any European and they'll tell you how bad unregulated eBay is. The one power that users have in maintaining the legitimacy of the community is feedback, the tool for rating sellers and buyers based on their adherence to the common rules and guidelines of the web site.

eBay recently ruled against buyer feedback. eBay clearly wants to attract bidders at any cost, even at the legitimacy of their own community. By driving up the price of items, eBay will make more short-term profits.

3. No regulation of shipping prices.

The most frustrating problem for eBay buyers is the open-ended shipping policy. There is absolutely no regulation of shipping costs. Sellers can charge triple the cost of S&H, which further erodes the already weathered legitimacy of the community. This misleading practice suckers the "newbies" into buying items at a much higher price, which limits the site from growing to its full potential. This policy also enables the "eBay Spammers" who list items at 99 cents and charge twenty dollars for shipping.

eBay needs to take a stand now or they will soon find themselves in the tech landfill with Yahoo Auctions and the rest of the failures.

Original Article.
Setting up a WAMP Development Environment


Windows/Apache/Mysql/PHP (WAMP) as opposed to LAMP (Linux).

0. Intro

There are many tutorials out there and they rarely work for me. I've decided to make my own and document the process here.

This tutorial was written using the following:
- php-5.2.6 (the ZIP file!!)
- Apache/2.2.9
- MySQL 5.0.51b
- Windows XP Professional
- IIS is disabled or not installed.

I. PHP
(1) Download the latest PHP Windows ZIP file from php.net.
(2) Unzip it somewhere on your hard drive (for example, "C:\php-5.2.6-Win32").
(3) Copy [PHP_ROOT]/php.ini-recommended to c:\WINDOWS\php.ini.
(4) Open c:\WINDOWS\php.ini.
(5) Change the extension_dir line to extension_dir = "[PHP_ROOT]\ext" (mine is extension_dir = "C:\php-5.2.6-Win32\ext").
(6) Change the includes_dir line to includes_dir = "[PHP_ROOT]\includes"
(7) Uncomment the line "extension = php_mysql.dll"

II. Apache
(1) Download the latest msi/exe from the Apache HTTP Server website.
(2) Install it as a service on port 80.
(3) Open [APACHE_ROOT]/conf/httpd.conf.
(4) Change Listen 80 to Listen 8080.
(5) Added index.php and index.htm to the DirectoryIndex directive (mine is DirectoryIndex index.php index.htm index.html).
(6) Add the following lines to the bottom of the file. You could also place them near other similar lines.

LoadModule php5_module "[PHP_ROOT]\php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

(7) Uncomment "Include conf/extra/httpd-vhosts.conf"
(8) Save and close [APACHE_ROOT]/conf/httpd.conf.
(9) Open [APACHE_ROOT]/conf/extra/httpd-vhosts.conf.
(10) Add a new virtual host. I like doing this because it provides a template for listening on other ports. You'll probably end up

with many websites that require separate ports to function correctly.

<virtualhost>
  DocumentRoot "[WEB_ROOT]"
  <directory>
    AllowOverride All
    Options None
    Order allow,deny
    Allow from all
  </directory>
</virtualhost>

Later on, you can add new virtual hosts for websites that don't work with nested root directories.
For example:

Listen 8081
<virtualhost>
  DocumentRoot "[WEB_ROOT]/myAwesomeWebsite"
  <directory>
    AllowOverride All
    Options None
    Order allow,deny
    Allow from all
  </directory>
</virtualhost>


III. MySQL
(1) Download the latest MySQL Community Server from the mysql.com downloads section.
(2) Install the MySQL server with all the default options selected (as a development server, 20 concurrent connections, set a root

password you won't forget, etc...).

IV. Restart Apache
(1) Right click on My Computer, and click Manage.
(2) Double click on "Services and Applications" in the right frame.
(3) Select the Apache service, and click the restart link.

V. Test it.
(1) Create a file called index.php in your [WEB_ROOT] and put this inside: <?php phpinfo(); ?>
(2) Open up a browser window and go to http://localhost:8080
(3) If you get an error, something is wrong.
(4) Make sure MySQL has it's own subsection. If it doesn't, something is wrong.


Please leave comments if you had any trouble!

Original Article.
Forest Fire



Forest Fire, originally uploaded by mswebersd.

The fires burning up the Sierra Nevada look pretty spectacular from a plane.



Original Article.
Shamu Air



Shamu Air, originally uploaded by mswebersd.

Hayley and I picked up Fun Cards (season passes) last month and used them for the first time today. It was a great time. A lot of fun with the new lens.



Original Article.
Cardiff Surf Photo


Michael Delanzo took this amazing picture of the surf in Cardiff. It doesn't get more perfect than that.



Original Article.
It's Buddy Time



It's Buddy Time, originally uploaded by mswebersd.

Buddy is just about the coolest rabbit around.



Original Article.
Panda Madness




@ Kobe Swap Meet.

Original Article.
Sunset from Mission Bay Bridge


After surfing, I captured a few shots of the sunset from a bridge over Mission Bay. I never understood the point of extremely high ISO settings until now. Taken at ISO-1600:



Original Article.
Canon EOS Digital Rebel 300d


After losing my underwater camera I was desperate to find a camera to take its place. The Olympus 790SW was really cool for underwater photography, but no-good for anything else. Most of my photography is done from the beach anyway, so I decided to look into bigger cameras with higher-quality lenses. After weeks of research and a Craigslist subscription to Canon, Olympus and Nikon cameras, I arrived at the first budget Digital SLR from Canon, the EOS Digital Rebel 300d.

Check out these first pictures! They were taken with the 18-55mm multi-purpose kit lens.

Our cat, Minnie Winnie,


Spring weeds...


And Timmy the rabbit.


If you're looking for a budget DSLR, I totally recommend it. $250 paid for a large memory card, case, strap, the DSLR body, kit lens, two batteries and an extended Canon battery grip.

Original Article.
Recording internet radio in linux


Have you ever wanted to record internet radio? Do you like a particular show that airs weekly, or do you want to record a station and bring it with you on the road?

If you are familiar with linux and you answered yes to any of the questions above, you should download my Record Radio script from here! Prerequisites are perl, mplayer and lame.

I setup a cronjob to record a weekly show. To do this, put something like this in your /etc/crontab:

min hour * * * user-name /path/to/record_radio.pl -u mms://url-of-stream/ -n /path/to/savefile/`date +\%F_\%I-\%M_\%Z`_Radio-Show-Title -l number-of-minutes-to-record

This create a timestamped mp3 of the recording! If you don't need the timestamp, just remove the stuff between the backticks.

Original Article.
Pipes at lunch


I nearly broke my nose today. Brian and I drove out to Pipes. The first wave I paddled into was probably a little over head high, and super powerful. I dropped in, made one turn then popped out of the wave. It launched me in the air and I grabbed my board. I must have been up pretty high because I couldn't really tell how far down the water was. Then I hit the water unexpectedly and my face went straight into my tuflite epoxy surfboard. My nose started bleeding and I was pretty upset because the surf was so good and I didn't want to paddle in. I was also a little concerned about being in the ocean bleeding... I guess sharks are always in the back of my mind. Within 5 minutes it stopped, and I was good to go! About 10 fantastic waves later, we went back to work. Definitely worth writing about.

Original Article.
The 7th Day


The rain cleared and the ocean went into spring wave-machine mode. Today marked my 7th day in a row surfing. Every day has been shoulder high+.

Here's a picture I took at Pipes yesterday. Click on it to get an 800x600 version (or check the pictures section of my site in a day or two for a full-sized shot).



Original Article.
Oh no!


I lost my underwater camera. I went out last weekend to the bars and left it somewhere. To give you an idea of what I'm feeling, I've related the price of the camera to similarly valued things:
- 50 burritos
- 2 1/2 round trips on Southwest from San Diego to the Bay Area
- 5 Disneyland tickets
- over 425 Tacos at taco bell (assuming they are 70 cents each)
- $300 in cash.

Original Article.
President's Day in Tahoe


I've uploaded the President's Day photos of Tahoe to the Pictures section of my site. Check them out!

Here are some highlights:

We started out at Alpine Meadows.


The next day, we skied Squaw Valley. Towards the end of the day, we traversed over around Olympic Lady from KT-22 all the way to the west facing side of Red Dog. This is one of the chutes we took.


On the second Squaw Valley day, I skied with my sister and her family. This picture is the half-pipe which we did several times.


We also went down the east face of Olympic Lady (off KT-22) twice with my nine year old niece. It was bumped out and totally fun. She loved it.


On the final day, we hiked out the back of Alpine Meadows to the (in-bounds) back country area. I had Ross take this shot of me from above.


Until next year...

Original Article.
Olympus Stylus 790 SW at Georges in Cardiff


I sold all my old electronics on Craigslist to fund this really cool Olympus camera. The Stylus 790 SW is a shockproof, waterproof digital camera with a 3x optical zoom that can store photos up to 7.1 megapixels in resolution. After seeing the photos by Neal Miyake here, I was sold.

My main concern at first was how to hold the thing while paddling around on a surfboard. I've used other bulky, semi-disposable underwater cameras and they typically have a velcro strap that wraps around your wrist. I never really liked this for obvious reasons, and luckily Brian pointed me in a different direction to surfcamera.com. Their camera pouch attaches just below the collarbone on any wetsuit.

I tried the camera out yesterday and it was a blast. Both the pouch and the camera are incredible. It's roughly $325 for both (camera + pouch) and you can't beat the quality and convenience.

Unfortunately, the camera can only store ten seconds of high quality footage, but that's usually enough to get some good surfing footage. Lower quality settings let you record up to thirty seconds.

Here's the footage from Yesterday.


Original Article.
Snow Valley


We went to Snow Valley two weekends ago and it was totally awesome. Jimmy got us free tickets which saved the fact that they only had one lift open and heavy rain the night before.

Jimmy also took some sweet footage of us going off jumps. Here's my two:

1st 360 Attempt - Ouch.


2nd - Not as cool


I'd publish theirs, but I'm not sure if they want me too. If you know how to view my youtube videos you can check them out :)

Original Article.
San Diego Homeless Statistics


I was researching homelessness in San Diego and I found an interesting journal entry that revealed some very unsettling statistics. The article, written in 2005, states that the "average age of a homeless person in the United States is 9 years old" and that "as many as 25-40 percent of homeless people work full-time or part-time, but cannot afford to pay rent." I'm guessing that the latest housing crisis has not helped the situation as people cannot get loans and others are defaulting on theirs. Hopefully this will drive rental prices down... but I'm not really sure what's happening there.

So when someone says "why doesn't that guy get a job," you should reply "there's a good chance he already has one." The monotony of life is draining and I think people are not seeing the big picture. Thousands of people are without homes and starving. Many of these people are children. Not every homeless person is a crazy veteran and many are just like you and I.

PS - And yes I'm aware that the following post is about a trip to Hawaii. I'm aware that this may be hypocritical. We are getting married and the honeymoon is something we'll remember forever.

Original Article.
Hawaii in July


We've decided to honeymoon to Maui in July. We're looking at condos around the south coast, and have found a number of awesome locations on fantastic white sand beaches. We've already booked our flights. The flight is non-refundable so the dates are set! So excited.

Original Article.
Tired


I've surfed 8 days in a row, ending Wednesday. The winter consistency finally arrived. Not a day went by without head high waves and I'm exhausted. My whole body feels like I've been through a car accident. My arms and legs hurt, I get constant headaches and my digestive system is off. It's really a good thing the last two days were flat because I needed the break. The surf comes in "waves" though... the next week straight is not supposed to pick up much. "Bummer"

Original Article.
dpkg broken package fix


Last resort fix for broken packages in the dpkg system that fail on the invoke-rc.d stop command:
- Find the .prerm file for your program in var/lib/dpkg/info/
- Edit the line that says "invoke-rc.d [prog_name] stop || exit $?" to "/bin/true || exit $?"
- Try again. Done.

Original Article.
Cars at work


There are some really cool cars around the parking lot at work. I think it's odd that people spend so much on their car, then park it in this crappy lot with the smallest spots I've ever seen. Accidents are unavoidable in this lot. This one is my favorite, also notice the Viper behind it:



Original Article.
New Song: Normal, Illinois



I'm not very familiar with Normal, Illinois. Judging by the picture, it has vast rolling plains with a skyline that stretches for a distance rivaling the ocean. Other pictures I've seen show a more urban aspect of Normal, but that was not my mood when writing this song. Easy listening: Normal, Illinois.

Original Article.
Surfing in Ballito Revisited


I paddled out on the north end of main beach in Ballito, South Africa last Spring. The water was so nice, probably 20 degrees warmer than San Diego. Dolphins circled me a few times, then I took this close out:



Eh... the board was a rental anyway!

Luckily we got out a few days before this happenned:


Original Article.
This page looks good in Firefox.
Copyright MSW 2008