-
Create and customize internet radio streams with Pandora
Posted on July 28th, 2011 No commentsI recently upgraded to an internet-ready Sony Blu-ray disc player which I found out after getting it home that it required a NetGear wireless to wired adapter, not included. Total cost: around $170. I don’t have a 3-D ready HDTV, but if you do, you should definitely get a Sony 3D Blu-ray disc player with Wi Fi.
Step two, I created an account at Pandora.com, the leading free online music streaming sites. I really like Pandora’s smooth Flash-based UI, though you may prefer Slacker. Either way, the Sony BD player works with Pandora, Slacker, and a few more online music sites, in addition to video sites Netflix, Hulu and several others, and you can also interact with your account from your smart phone or tablet.
My favorite part about Pandora is the easy way your stream grows in intelligence and becomes better with age. Here’s how it works:
- You add a few artists or albums to “seed” your channel.
- You can like or dislike music streamed on your channel.
- Pandora adds to your original seed artists, other similar artists that other people like, who have the same artists in their channel seeds.
- You can make as many streams as you like, or at least plenty to suit the gamut of musical tastes.
- And, you can easily share your channels.
Here are a few of my Free Internet Radio Stations… created and shared for your streaming enjoyment.
One more point aboutthe Sony Blu-ray player. Their on-screen user interface is good, and the small, lightweight remote allows you to listen to your Pandora station through your home entertainment center in glorious 5.1 surround sound. The quality is amazing! That’s not even to mention streaming movies and tv shows from YouTube, Hulu, Netflix and more straight to your HDTV.
Good stuff.
-
How to see previously viewed ads on Facebook
Posted on July 23rd, 2011 No commentsHere’s the scenario… you were surfing on Facebook, you saw an ad, you clicked on it, saw the coolest site and forgot to bookmark it to check out later, and now you can’t find it again. Searching on Google doesn’t help. So where is the ad you saw before so you can click on it again?
Facebook Advertising is highly targeted to your likes and interests, and millions of really terrific businesses and organizations run ads on Facebook for that reason, so why doesn’t Facebook make it easier to find ads that Facebook thinks you may like?
The Facebook AdBoard actually shows you the ads you have seen before*, ads you liked, and you can see if any of your friends liked them, too. You can also see Facebook Sponsored Stories. What a great way for businesses to get involved with their fans! Too bad they’re so buried in an impossible-to-find link.
There is no information about how to do this that I could find in the Facebook Help files, so I wanted to keep this info posted somewhere I could find it again.
Thanks to this Question and Answer on Yahoo! I found where you can go to see the Facebook Ads that have been shown to you before.
Login to Facebook and then visit Facebook Ads Adboard to see the ads that you may have seen recently.
* You just may not remember having seen it, but it was counted as an impression on the Facebook Advertising platform. Still not finding your previously viewed ads after visiting the AdBoard? You may be able to find the ad by viewing the files in your browser cache too.
-
Cool 404 Pages
Posted on June 23rd, 2011 No comments -
Facebook Facial Recognition Fail
Posted on June 15th, 2011 No commentsFacebook recently upgraded it’s image upload feature to include facial recognition.
The idea is, when you upload pictures that contain your friends, Facebook can help you tag the photos by identifying facial features.
I recently uploaded a gallery of flower photos I shot when my wife and I visited Kula Botanical Gardens in Maui, Hawaii. I laughed when I got this screen and I thought you might enjoy seeing why.
-
Kohana 3.x in 10 Minutes
Posted on June 11th, 2011 No commentsPrerequisites:
This guide assumes you have already completed:
So you have a LAMP/MAMP/XAMPP stack? Great!
Now we’re ready to create our first Kohana project.
- Download the source from www.KohanaFramework.org
- Extract the zip file and move the directory it to your web directory
- On Mac OS X: ~/Sites/* (subsequent references will use Mac notation)
- On Windows (wamp): C:/wamp/www/*
- On Linux (varies): /var/www/*
- Rename the directory to kohanasite.dev
- Remember the full path to this now
- something like /Users/yourname/Sites/kohanasite.dev
- Create an htdocs directory inside this directory
- Your hdtocs will be at the same level as Kohana folders application, modules and system.
- Remember the full path to this now
- something like /Users/yourname/Sites/kohanasite.dev/htdocs
- Drag index.php into the htdocs directory
- Edit 3 lines of index.php
- where it says $application = ‘application’; change it to $application = ‘../application’;
- where it says $modules = ‘modules’; change it to $modules = ‘../modules’;
- where it says $system = ‘system’; change it to $system = ‘../system’;
- save and close
- chmod or chown application/cache and application/logs to be writable by Apache
- open terminal, and cd to your application directory
cd /Users/your-name/Sites/kohanasite.dev/htdocs - chmod the two directories
chmod 0777 cache && chmod 0777 cache - or chown it to apache, wheel, www-data or whoever owns httpd process (ps aux | grep httpd)
- open terminal, and cd to your application directory
- Create a VirtualHost entry in your Apache config.
- Depending on your install, this might be in httpd.conf or…
- on my Mac it’s at /private/etc/apache2/extra/httpd-vhosts.conf
- E.g.
sudo vi /private/etc/apache2/extra/httpd-vhosts.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerName kohanasite.dev
DocumentRoot "/Users/your-username-here/Sites/kohanasite.dev/htdocs"
</VirtualHost>
- save and quit (type :wq and hit enter)
- Edit your hosts file to point to this site locally
- E.g.
sudo vi /etc/hosts
127.0.0.1 kohanasite.dev
- save and quit (:wq)
- E.g.
- Restart Apache
sudo apachectl restart
- Move example.htaccess to htdocs and rename it to .htaccess
- Note, because it’s a “dot file” it will disappear on a Mac, so use terminal:
mv ../example.htaccess .htaccess
- Note, because it’s a “dot file” it will disappear on a Mac, so use terminal:
- Now test your site at http://kohanasite.dev
- It should say Hello World!
Congratulations! You now have Kohana 3.1 running locally.
Finishing up…
Let’s enable some of the modules that come with Kohana 3.x
- Open up application/bootstrap.php
- Scroll down to the modules section
- Enable the following modules by removing the double slash in front of the module name:
- auth
- cache
- codebench
- database
- orm
- userguide
- Save the bootstrap file and refresh your browser to make sure you still get hello world
Next up… How to build a simple CMS using Kohana.
-
Apache, PHP and MySQL in 10 Minutes
Posted on June 11th, 2011 No commentsWhether you want to start developing web applications for the first time, you’re wanting to make better use of your local computer or a virtual machine to streamline development, create a development or staging server, or just checking back as a reference for a new platform, welcome to…
Apache, PHP and MySQL in 10 Minutes
In this guide you will find the resources needed to build a web development environment on the platform of your choice
- Choose Your Platform – Mac, Windows or Linux.
- Mac OS X Instructions
- Easy - Using MAMP
- Intermediate - Using built-in Apple Apache
- Windows Instructions
- Install WampServer
- Install XAMPP
- Linux Instructions
- CPanel
- CPanel comes with Apache & PHP already installed, so here’s how to customize your install
- Note – make sure your config comes with WHM (Web Host Manager)
- Many ISPs call this a Reseller account
- How to use the EasyApache script
- Plesk
- Plesk comes with Apache & PHP already installed, so here’s how to customize your configuration
- Parallels Plesk Apache Configuration Guide
- Mac OS X Instructions
- Install any PHP Extensions you might need
- The one PHP extension that Kohana requires you that doesn’t come by default (See Kohana 3.1 in 5 minutes) is mcrypt:
- How to create a VirtualHost
- Find your Apache Config file
- Find your Apache VirtualHost config file
- Sample VirtualHost container
<VirtualHost *:80>
ServerName website.dev
DocumentRoot "/Users/username/Sites/website.com"
</VirtualHost>- More from the Apache VirtualHost documentation
- How to edit your hosts file
- Start Apache
- Start Apache
- Mac OS X:
- Terminal
sudo apachectl start
- or start Web Sharing in System Preferences
- Terminal
- Windows
- WampServer – start all services using the taskbar tray icon
- Linux
- Debian/Ubuntu
sudo /etc/init.d/apache2 [start | stop | restart ]
- Fedora
service httpd [start | stop | restart]
- ArchLinux
/etc/rc.d/httpd restart
- OpenSUSE
apachectl [start | stop | restart]
- Debian/Ubuntu
- Mac OS X:
- Start Apache
- Test your install
- Go to http://localhost in your browser
- Are you seeing the Apache start page?
- If so, you are done. Congratulations! You just installed a web server.
- Install MySQL
- Mac OS X
- Windows
- Linux
Now that you have a development environment, why not install a fantastic web development framework, such as Kohana.
Ready for round two? Kohana 3.1 in 10 Minutes
- Choose Your Platform – Mac, Windows or Linux.
-
Git Resources for Subversion Users
Posted on June 11th, 2011 No commentsI’ve been using Subversion for years, but lately I’ve been thinking it’s time to get into Git more. Plus, A lot of new GUI tools are out there and some of the older ones are still there, too, so maybe Git has matured enough for production use.
Why would I want to use Git?
Flavio sums it up quite nicely:What’re the advantages?
Since Git is a distributed revision control system (while svn is a centralized one) you can perform commits, branches, merges… on your local working directory without being connected to internet. Next time you’ll be online, you will be able to “push” your changes back to the central svn server.In a tech video from Facebook, one of the things they mention is that their developers us Git on local workstations for managing changes, and Facebook overall uses Subversion for managing the source tree centrally. I thought it was interesting that Facebook, one of the most advanced, largest and high-powered software applications on the planet, uses both Git and Subversion. Here’s an article about Using Git and Subversion Together.
I’ll be posting links to the resources I find here.
Three Part Intro to Git Series
1-2 hours • First, take the Git Crash Course.
2-4 hours • Next, read Git for Subversion Users, Part I and Git for Subversion Users, Part 2. These two articles at IBM.com give you a really good overview of the main differences between Subversion and Git.
4-6 hours • Finally, you should read Pro Git. This is an awesome free online book about Git.
After you complete these you should be a total Git.
-
How to install Memcached Memcache PHP on OS X
Posted on May 9th, 2011 No commentsThis Guide is the best resource I’ve found yet. I had to also look up how to fix pear installation errors.
-
Wolfram|Alpha Implemented My Suggestion
Posted on March 15th, 2011 No commentsWe have received your feedback regarding Wolfram|Alpha.
The issue you reported has been fixed on the site. See http://www.wolframalpha.com/input/?i=%24250+is+75%25+of+what%3F
Thank you for helping us improve Wolfram|Alpha.
Best wishes,
Delores
The Wolfram|Alpha Team
www.wolframalpha.comInput: 50 is 75% of what?
Name: Salient Digital
Country: United States
Occupation: Web Developer
Organization:
Id: 109996
Date Received: 2010-08-03 22:07:45
Message: Can you make it solve this input?`50 is 75% of what?`
‘what’ = var x;
‘of’ = operation ‘*’; // times
50 = x * 0.75
50/.75 = 33.33 -
Adobe Excuse the Interruption, but…
Posted on January 20th, 2011 No commentsOkay, Officially I hate Adobe worse than Microsoft now. Get ready for this, guys…
I just got my computer back from being repaired (1), during which time I had a loaner computer from Fry’s Electronics. I’ve been working from a Time Machine backup on the loaner computer (2) and now have my original restored laptop with a fresh motherboard back again (3).
I launch Photoshop to edit some vacation photos, since I haven’t seen the computer they were on for the last 20 days, and I’m greeted with this:
Bullsh!t. Two other computers? How about my old one, a loaner and my repaired one (new motherboard surely generates a new Gestalt value which Creative Suite thinks is a new computer, which technically it is.) Okay well, I’ll try the “I already have deactivated the other computers” option and see what it does.
Oh come on! What’s ridiculous is that I’ve only ever used this serial number on two computers. I formatted the loaner before returning it and now don’t have possession of it. Oh is some offshore call center person going to get an earful from me.
Welcome to 2011.








