Watching YouTube and Hulu on your TV

Filed Under (Technology, Troubleshooting) by adam on 26-06-2008

Tagged Under : , , , , , , , ,

NEW YORK - MARCH 23:  Apple's new Apple TV advertisment is displayed  in an Apple store March 23, 2007 in New York City. Apple began shipping the Apple TV set-top device March 21, which wirelessly connects computers to televisions and retails for $299.  (Photo by Mario Tama/Getty Images)

Image by Getty Images via Daylife

I got this question from a friend the other day:

do you know if you can transmit the internet signal in a wireless network to your tv?  now we attach our laptop directly to the tv with a VGA adapter.  I want to avoid doing this and maybe buy and attach  some type of transciever to the television to access  the internet while sitting on the couch in our living room.

I am looking for a good answer to this also  I used to use my Xbox to stream recorded TV from a PC upstairs, but the video was always choppy over the wireless connection, and now it just plain doesn’t work because of some setup issue.

I found a few questionable products. I really doubt the video quality - in home wifi doesn’t have enough bandwidth to transmit HD video in realtime, it has to be cached on the set top box.

The only established products that I know of are AppleTV and Roku Netflix. But both of those lock you in to either Netflix or iTunes. ZeeVee looks promising (but wired and expensive).

Anyone out there know of other alternatives?

UPDATE: looks like there are some new developments with a Google Media Server Desktop Gadget. I’m also interested in the DLNA stuff. Not sure how it all works, still sounds hard to set up.

Stormtroopers vs. London cops

Filed Under (music) by adam on 23-06-2008

Tagged Under :

Link (via BoingBoing and Wonderland)

Finally a tag cloud I like

Filed Under (Fun, Uncategorized) by adam on 23-06-2008

Tagged Under : , ,

Usually I find tag clouds overwhelming + useless, but this one is more fun. This was  generated from my tags on delicious. Discovered via Paddy3118.

Translating c# to Ruby, Python, Java and Javascript

Filed Under (Programming) by adam on 21-06-2008

Tagged Under : , , ,

I created a Google spreadsheet to help me learn common phrases in Ruby and Python. This is an overly-ambitious project that I’ll probably never finish (I’ll have the function names learned faster than I update the spreadsheet). Anyone out there want to help? Add a comment below and I’ll ad you as a contributor to the spreadsheet.

Getting started with Python on Mac OS X Tiger

Filed Under (Programming) by adam on 19-06-2008

Tagged Under : ,

I upgraded Python 2.3 to Python 2.5 on my Macbook, and changed some symbolic links so that 2.5 is the default version when run from the command line. In backwards order, here is what I did.

Python is pre-installed on Mac OS X Tiger, but what version am I running and where is it?

Open a terminal window (bash command shell) and type “python”

$ python
Python 2.5.2 (r252:60911, Jun  1 2008, 16:53:35)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin

I’m running 2.5 now, but I wasn’t earlier. Ok, where is Python installed?

$ which python
/usr/bin/python

Is that the real location? No, it is a symbolic link.

$ ls -l /usr/bin/python*
lrwxr-xr-x   1 root  wheel      9 Jun 19 13:13 /usr/bin/python -> python2.5
lrwxr-xr-x   1 root  wheel     72 Oct 14  2006 /usr/bin/python2.3 -> ../../System/Library/Frameworks/Python.framework/Versions/2.3/bin/python
lrwxr-xr-x   1 root  wheel     82 Jun 19 13:15 /usr/bin/python2.5 -> /opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/bin/python2.5

As you can see, I changed “python” to point to python2.5. Previously it pointed to python2.3.

Where can I get Python 2.5 for Mac OS X Tiger? I used macports.

$ port install python25

this will put it in /opt/local/var/macports

$ port location python25
Port python25 2.5.2_2+darwin_8 is installed as an image in:
/opt/local/var/macports/software/python25/2.5.2_2+darwin_8

Python Path and Module Basics

Filed Under (Programming) by adam on 19-06-2008

Tagged Under : , ,

I’m getting started with Python and Google App Engine. One of the first things I had to figure out was how Python handles paths and module names.
You can see what paths python is looking on with this command sequence:

 

$ python
['', '/opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/lib/python25.zip', '/opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/lib/python2.5', '/opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/lib/python2.5/plat-darwin', '/opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/lib/python2.5/plat-mac', '/opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/lib/python2.5/plat-mac/lib-scriptpackages', '/opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/lib/python2.5/lib-tk', '/opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/lib/python2.5/lib-dynload', '/opt/local/var/macports/software/python25/2.5.2_2+darwin_8/opt/local/lib/python2.5/site-packages']
Python 2.5.2 (r252:60911, Jun  1 2008, 16:53:35)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
>>> exit()

 

Inside a python script Modules are included with this syntax:
from google.appengine.ext.bulkload import constants
All that means is that python is going to look on the paths above for /google/appengine/ext/bulkload/constants.py
In my case, the script I was trying to run sets up the paths for a secondary main script with some code like this:

 

EXTRA_PATHS = [
DIR_PATH,
os.path.join(GOOGLE_PATH, 'lib', 'django'),
os.path.join(GOOGLE_PATH, 'lib', 'webob'),
os.path.join(GOOGLE_PATH, 'lib', 'yaml', 'lib'),
]
if __name__ == '__main__':
sys.path = EXTRA_PATHS + sys.path
script_path = os.path.join(DIR_PATH, BULKLOAD_CLIENT_PATH)
execfile(script_path, globals())

 

So, you can see here that sys.path is assignable and retained when calling other scripts.
I also learned that you can set the $PYTHONPATH environment variable to a list of paths, just like the normal $PATH variable. However, unlike Windows, you have “export” the environment variable.

 

$ PYTHONPATH=$PYTHONPATH:/include/this:/and/this
export $PYTHONPATH

 

The export command takes the local shell variable and makes it visible as a global variable (in this case to Python).

Trading Bandwagons

Filed Under (Technology) by adam on 19-06-2008

Tagged Under : , ,

photo from rulmartins.net Up until 2007, I had resigned to being on the  Microsoft bandwagon. Working with Microsoft technologies during the day paid my salary, and Windows XP delivered my TV at night. Being a Seattle native (and lover) - it seemed like a safe choice. In the last year, I’ve switched to a new faster moving bandwagon - Apple and Google.

The jumping off point for me was Windows Vista. Technology (particularly the internet tech that I pay attention to) has been moving so quickly - by the time Vista was done, it was a big disappointment. It just felt like the same old stuff in a shiny new package. The funny thing is, I can remember thinking “wow, how will I ever extract myself” from Microsoft if I decide to do so? It actually has been really easy.

I had tried Vista at work, and was not impressed - so when it came time to by a new lap top, I went for a MacBook Pro. Macs now run on the same Intel chips as most PCs, and there is great virtualization software (I happen to use Parallels) that lets you run Windows XP or Vista on your Mac quite easily. This was perfect way to learn the UNIX based Mac operating system through immersion, while still safely being able to do the Windows stuff I need. Now, I mostly just fire up Vista to maintain some code I’ve written, and access a couple Excel spreadsheets.

Getting stuff done seems faster and easier on the Mac. This is mostly because it comes with much less bundled software than your typical Windows laptop. Also, installing and uninstalling software is a much cleaner process. Because there is no registry, and applications are more tightly constrained to their own folders on your hard disk, you don’t get the sense that your computer is getting slower with every app you install.

Impressed by Macbook, I also took the leap to an iPhone. I’m not going to enumerate how freaking revolutionary the iPhone is - I just love it. Apple doesn’t deliver my TV yet, but it won’t be long.

The next major switch was going from Hotmail to GMail. I had used Hotmail for around 10 years. The last 5 or so it gave me an icky unprofessional feeling to use it as my primary address, but I stuck with it. The reason I finally switched was because you have to pay Microsoft for POP access to your mailbox. So even if you dutifully try to use Outlook, you can’t use it for Hotmail unless you pay. I’m not crazy about the much touted GMail AJAX interface. It gets the job done a bit faster, and with quicker search capability. IMAP or POP (free and lots of storage) work great with Apple Mail or Outlook - for free.

Another pain point for me was maintaining a calendar. The calendar attached to hotmail was unusable (why I kept trying to use Outlook). However, Google Calendar has been fantastic. Unlike GMail, the AJAX interface for Google Calendar has impressed me. My favorite feature is the “quick add” text box. You simply type “Meet TA for coffee at 9AM friday” and it creates an appointment at the right time.

I prefer Google bookmarks to delicious or Lookmarks because of their close integration with Google search and Web history (though I’m still waiting for a sharing feature). I bought Pages for the Mac, but for the technical writing I do - I reach for Google Documents more often because they are so easily shareable. I take research notes to prepare blog posts in Google Notebook. I’m sure I spend more time in Google Reader than probably any other app or Web site because I wanted a server based place to organize all my feeds.

The Apple and Google bandwagons aren’t linked in any significant way. Switching to Google tools just made the switch to Apple easier (as it would to Linux). I still live in Seattle and suspect I will continue to do work (directly or indirectly) for Microsoft. It won’t be long until entire businesses can switch the way I have. I hope for, but don’t bet on, Microsoft keeping their bandwagon in the race.

Are you thinking of making the switch? Add a comment below!

UPDATE: Here is a good argument for sticking with Windows XP (read to the bottom)

LED Throwies

Filed Under (Fun) by adam on 18-06-2008

Tagged Under : ,

Via MyBlogLog “hot in my community” list. Great. Luckily my house has asbestos (not metal) siding. Anyone selling kits or pre-made “throwies”?

photo by Instructables

LED Throwies are an inexpensive way to add color to any ferromagnetic surface in your neighborhood. A Throwie consists of a lithium battery, a 10mm diffused LED and a rare-earth magnet taped together. Throw it up high and in quantity to impress your friends and city officials.

Graffiti Research Lab » LED Throwies

Photo by Instructables

Tagging - silent but deadly for Google?

Filed Under (Technology) by adam on 17-06-2008

Tagged Under : , ,

I’ve been daydreaming a lot lately about re-doing Lookmarks (my bookmark tagging Web site). Also, I’ve been following a friend’s success with TagCow (automated photo tagging). I was inspired to see this quote on Mashable today about tagging:

Tagging is quietly but massively disruptive. The fact that thousands of webmasters and bloggers tag their content so that they can be found by Google is Google’s secret weapon. But it could get turned against them. A small incentive to be found by other search engines will change tagging behavior. This is likely to play out in lots of vertical niches, where a small change in tagging behavior can make a huge difference in findability and that can make a big difference to both buyers and sellers. Whether people use RDF or Microformats or some other defacto vertical standard will continue to be the subject of much debate, but the format itself is not the issue. The human drive to tag (to order one’s world) is deep and strong and has financial motivations as well.

11 Search Trends That May Disrupt Google - ReadWriteWeb

I know from my experience with Lookmarks that Web site owners are ambitious taggers. I’ve got some ideas around harnessing and enabling this desire - but you’ll have to wait until Lookmarks 3.0 to see them.

Technology Predictions for 2007 (a bit late)

Filed Under (Technology) by adam on 14-06-2008

Tagged Under : , , , , , , , ,

MacBook Pro 15

On 16 December 2006, I started writing a post with my predictions for 2007.

I thought 2007 would bring…

  • An internet set top box
  • Rich Client Interfaces (WPF/E vs Flash and WPF vs. Apollo)
  • More Mashups & just maybe the Semantic Web (microformats would win)
  • And just maybe some cool robots

Those things didn’t really happen in 2007. We got Apple TV, but it was a closed system. WPF never materialized because Vista adoption was slow. The semantic Web didn’t arrive, but the Facebook platform sure did. Flying robots, well we’re getting closer.

There were some pretty significant technological shifts in my life in 2007.

Last year, I…

  • Switched from Microsoft Windows Vista to Apple OS X
  • Switched from Hotmail to Gmail
  • Spent a ton of time writing Facebook Apps
  • Coveted the iPhone
  • Watched You Tube Videos on Christmas eve with family (on a computer, not a set top box)

Here’s one more cool robot for you.

Zemanta Pixie