Thursday, January 6, 2011

TV Box Update

I was trying to decide if I should get a set top box or make my own home theater PC.  Here's the list of things I want to do, in decreasing priority order:
  • browse and stream videos and music I've downloaded onto a computer on my TV
  • browse and stream videos from a networked file share on my TV
  • watch Netflix Instant and Hulu
  • watch the occasional youtube video
  • use a remote-like interface to do this, not a keyboard and mouse
I don't care about TV capture or DVR capabilities, and I don't really want to browse the internet much on my TV.   I have been evaluating all the options out there but not paying a lot of attention to little technical details like what inputs/outputs are available or how much processing power a box has.  Mostly just features.

I settled on getting a dedicated HTPC and running Boxee, and like an idiot, I tried to save money doing it.  I am going to describe my experience so you can avoid my pain.

The pros of a set top box, like Roku, Boxee, Popcorn Hour, WDTV, or Google TV are that they're fairly easy to set up, and they do what they're supposed to do pretty well.  If you just want to watch Netflix Instant on your TV instead of your laptop, I'd go with Roku.  If you are already a gamer, then the PS3 and Xbox come with a lot of nice features as well.

The biggest limitation is flexibility.  The streamers (like Roku) tout a variety of "apps" which basically means arcane forms of web content you probably don't want to waste your time on.  The major ones people care about are Netflix Instant, Hulu, and Amazon VOD.  These get you pretty far, but don't get you everything.  The streamers are not designed to play content off your local network (aka files you've ripped or bittorrented), and though some of them have hacked in ways to do so, I don't want to deal with that.  There are issues with codecs and installing software on your computer which contains the content which sound annoying.  Things like WDTV only play content off local drives, and do it well, but do nothing to solve the problem of moving internet-TV to your TV.

Unfortunately, I don't know what GoogleTV really does.  The features page doesn't say anything about local content.

Apple TV, obviously, locks you into Apple's world, and it's underpowered.  You can theoretically play any local content, but only if you go through the hassle of converting it (using something like Handbrake).  If you mostly live in Apple's world, this is absolutely the choice I'd recommend.  It's $99, Youtube and Netflix Instant work.  If you use iPhones and iPads there will be nice integration.  And who knows, maybe Apple will reach an agreement with Hulu in the future, since there is an app for Hulu Plus in the app store.  Don't hold your breath on Amazon VOD, but of course you have the iTunes store.

The Boxee box sounds like the closest thing to what I'd want to use, but based on the CrunchGear and Engadget reviews,  it's still rough around the edges, and I'd have to have faith that they'd iron out the issues.  Also, I couldn't justify buying the box when I could get an actual fully powered machine which can do anything for a similar price and just run Boxee on that (oh, how naive I was).  In addition, I worry about Boxee cutting off content.  They have to reach agreements with Netflix and Hulu in order to show that content in their software, and because they control the box, I'm subject to that.  With my own system, I can just run a web browser and do it outside of the media software.  Agreements could be reached or cancelled on a whim.  They're unreliable.

There are downsides to getting an HTPC, and interestingly enough many of them are psychological.  There's a lot of choices to be made, and just having options causes me stress.  I have to evaluate all the specs and decide which features I want.  I have to evaluate, buy, and connect my own remote.  There's a lot of temptation to buy a TV tuner card and an antenna, set up Mythbuntu or other DVR software, and cut out my cable provider entirely, even though this is something I'm pretty sure would cause me a lot of headaches.  Probably the cheapest way to get an HTPC is to buy the parts and assemble it yourself, which gives a combinatorial explosion of choices.

So, I went the route that involved purchasing the least amount of stuff.  I found an abandoned case and parts around the lab, put them together, and installed Ubuntu, Boxee, Hulu Desktop, and Rhythmbox.  I haven't done the work to see if I can make Netflix Instant work (it might with Wine or Moonlight).  Boxee has this really cool feature where you can hook up twitter and facebook accounts, and it shows you a feed of all the videos your friends are sharing on those networks.  I really really like this, because usually when I'm browsing twitter or fb I'm on my phone or I don't feel like watching videos, so I miss a lot of content.  It also has a bookmarklet you can use in your browser to bookmark videos which get queued up in Boxee for when you're back in front of it later.

Lifehacker has great guides on how to set up an HTPC using hardware that costs < $250, with either Boxee or XBMC.  Lifehacker also has some guides on automatically getting shows (for XBMC, but it should work for Boxee) for what isn't available through the usual Boxee interface.

Ok, so I have managed to successfully create a box without spending any money. Instead I spent like a month of my time.  Go warped Indian value system.

This might save someone pain -- Google keywords here -- nvidia boxee can't play local video choppy video fullscreen full screen hulu flash ubuntu maverick osx remote desktop.  End keywords.

First off, I had an on-board video card.  Boxee was slow.  Really slow.  And I couldn't really watch videos full screen.  Hulu desktop and watching stuff in Chrome, however, was fine.  I have concluded that Boxee uses a shit ton of CPU for its fancy application graphics.

Also, flash was warped.  I downloaded Flash Square 10.2 (64bit) and copied that over to the appropriate Boxee directory.  That fixed flash, and I could watch Comedy Central.  I still can't watch ABC Family (what?  leave me alone.  there are some good shows) but Fancast works too, and now even Hulu if you follow these instructions to fake your user agent.  That keeps you in Boxee's world, but Hulu Desktop is quite nice too.  NBC seems ok but freezes a lot.

I also installed a new video card.  That involved adding a whole bunch of drivers, as well --

sudo apt-cache search nvidia

and see what's what.  I think I added jockey-gtk and nvidia-current

There were a bunch of tricky things where I couldn't play local .avi files unless I turned off weird things like Media->Advanced->Enable hardware assisted decoding when possible and set Render Method to Software.  Then I installed libvdpau1, and reverted those settings.  search for that too.

You have to restart to let the drivers take over hardware support, and let nvidia write an xorg.conf file.  Once I did that, Boxee got *much* snappier, probably because there was CPU left over for it to waste rendering its pretty buttons.

What is really nice is playing all my music through this server, and by extension, through my fancy speakers.  Boxee has a few android apps for a remote, which I haven't used too much, but I found that someone wrote a server for Rhythmbox so that you can use the android banshee remote app.  It is annoying, however, because you have to manually sync a db file of your music metadata to your phone in order to do more than play, pause, next, previous.  Anyway I don't even know why I'm using Rhythmbox.  I need a decent music app for Ubuntu.

In Ubuntu, I enabled remote desktop and turned off the password to login.  I use ChickenVNC on my mac laptop to VNC into display :0 and control the mouse and keyboard.  All of this took a lot of futzing, and I don't even remember all the details.  But now I actually feel comfortable killing my Comcast cable.

Thursday, October 21, 2010

updates

I have been horribly delinquent on this blog but in order to push some of the other posts down I am doing this random list of thoughts:


  1. MySQL is way faster when you take out the MySQL part.  And you can use it both ways.  So all you NoSQL people let it go.
  2. I completed my master's thesis at the beginning of September (a system called Dixie), and submitted a paper to Eurosys which probably won't get in, but that's ok!
  3. Despite that, I am not quitting grad school, so everyone stop asking me when I'm leaving.
  4. I have seen the following artists recently:  Sinden, Rusko, Crystal Castles, Holy Fuck (twice), Caribou, the Drums, Sleigh Bells, LCD Soundsystem (twice), Four Tet (twice),  Miike Snow, El Ten Eleven, !!!, Die Antwoord, Deadmau5, and Connector (friends' band).
  5. After months of auditioning, I bought a pair of kickass new speakers, a new amplifier and a DAC which probably deserves its own post.  I am officially an audiophile.  My soundsystem is amazing and I love it.
  6. I just got back from a week long trip to SF and it was fantastic.  I stayed with Niniane which was awesome (slumber party!) and realized that I could live there again.  There are so many things I love and hate about San Francisco.  Hard decisions in my future!
  7. I'm going to India for three weeks in November.  New Delhi for most of the time, Goa, and then either Rajasthan or Mumbai.  Advice on SIM cards and internet connectivity would be greatly appreciated!
  8. I am trying to figure out what new computers to buy.  I want a very lightweight laptop, and am thinking one of the new Macbook Airs pending reviews.  But then I also want some kind of home server/media center, and I'm not sure if I should buy one of those little boxes or get a massively powerful linux server or what.

Saturday, May 1, 2010

finally learning how to cook indian food

So I made one of my favorites, baingan bharta. Or as I like to call it, bangin' berta.
Onions, garlic, jalapeno, and tomatoes. The base for any indian sabji.

roasted eggplant.  I baked it in the toaster oven for 45 minutes at 450 degrees.  I think it could've gone a little longer.

the mush

done! By the way, this is the first time i have EVER COOKED INDIAN FOOD by myself.  I only had to call my parents from the grocery store and beforehand to get the recipe :).  Not bad.
Posted by Picasa

Edit:  Here's the requested recipe.

1.  Bake 1 large or 2 medium sized eggplants in the oven at 450 for 45 minutes to an hour.  Poke holes in them first to vent, and line the tray with aluminum foil because they will leak a lot.  My dad wanted me to roast them over an open stove flame for 30 minutes but I used the toaster oven which was way easier.  When it's done remove the skin and mush/chop it all up.

2.  Chop up 2 onions (I did 1.5), 2 tomatoes, 3 cloves of garlic, and 1 jalapeno pepper

3.  Add a few tablespoons of oil to a pot, brown the onions.  At the halfway point add the garlic and continue browning.

4.  Add the tomatoes and jalapeno, stir and cook for a few minutes

5.  Add (this is really rough) salt to taste (half a teaspoon?), half a teaspoon of tumeric, and however much red pepper you want

6.  Add the eggplant.  Cook for a little while longer, stirring frequently.  Add some garam masala at the end and garnish with cilantro if you have it.  Done!  Serve with naan, roti, pitas, or rice.

Tuesday, January 19, 2010

fat robot

I am going to rename this blog "crazy shit my family says"

Megan: my friend has an android next to their name
  ODES THAT MEAN THEY ARE GCHATTING FROM THE NEXUS
 me: or an android like yours
 Megan: DO I GET AN ANDROID
  WHEN I AM GHATTING FROM THERE
9:47 PM me: yes
 Megan: OMG
  OMG
 me: oh dear.
 Megan: I DO
 me: well try it now
 Megan: why didn't you tell me
  ok
  i signed in
  but i'm also online on my comp
  which does it choose
  HAVE YOU SEEN AN ANDROID NEXT TO ME
 me: sign off your comp
  no.
9:48 PM Megan: it won't sign me in
  for some reason
  something is wrong :(
 me: well fix it.
 Megan: omg i want an android
  next to my name
  he is so CUTE
  do you see any
 me: no.
9:49 PM oh, any?
  yes
 Megan: oh
 me: i see 2
  currently.
 Megan: there is an option to show mobile indicator to friends
  perhaps that is it
9:51 PM me: well?
  did you do it?
 Megan: no
  phone is unhappy
 me: no android for you.
  there is an android on the back of my nexus
  waving a flag
 Megan: i know
  i have one too
  he is fat
 me: with a FLAG?
 Megan: ok now i'm on
  NOW I"M ON
  WHAT DOES IT SAY
 me: and a qcode
  you are a fat robot.
9:52 PM Megan: I AM
  I AM
  !!!!!!!!!!!!
  !!!!!!!!
  AM I REALLY
  don't lie
 me: yes.
 Megan: sawweeeeeeeeeeeet
 me: how do i take a screen shot on a mac?
 Megan: i dunno
  oh man
  this is awesome
  how come i'm not a fat robot on my screen

Thursday, January 7, 2010

kind of disturbed

My dad:

my car
2 messages


Neha Narula
Thu, Jan 7, 2010 at 2:55 PM

To: anarulamd

is on its way!!!

also, i lost my MIT id a few weeks ago and had to get another one, and i just found the old one.  do you want it?


neha


arun narula
Thu, Jan 7, 2010 at 2:58 PM

To: Neha Narula

YESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Quoted text hidden]
--
Arun Narula