Archive

Archive for the ‘Review’ Category

Avatar

December 20th, 2009 194 comments

Yesterday my friends and I went to see Avatar (during the day since we’re on winter break from college and the high schooler’s are still in school). I must say that was some of the best CGI I have seen. Though the movie is long (nearly 3 hours) it really comes to life. The alien species are very well portrayed and very believable. They even have their own religion. I would highly recommend seeing this film this weekend (even though we are having one of the biggest snow storms ever in our area) though I do wish they would find a better way to view 3D. Having 20/20 vision really makes the polarized glasses irritating.

Categories: Review Tags: , ,

Review: Zhtml, the Pain

December 6th, 2009 226 comments
mybook-zhtml

Click to Enlarge

I am writing this because I just finished my extremely long Facebook imitation program that was our required project in my introductory CS curse (this was an accidental misspelling but it seems fitting).  Starting this semester I thought the class would be extremely easy, and it is except for one aspect…the zhtml.  I thought zhtml would be simple, just like HTML, which I learned back in eighth grade, but of course it wasn’t.  Zhtml adds an enterprise version of “Ajax” capability to html (that I am sure not many enterprises use) on a special “zk” server.  It also allows you to call java code from java classes in your folder.  However, a lot of tags are added to zhtml and a lot are also removed from traditional html.  Zhtml does not allow much configuration as well.  Overall, I think zhtml is not a very useful language and creates a lot of frustrations.  They shouldn’t be teaching us a language that has no real world use and has many complications as well. Moreover, it gives 500 server errrors that are very difficult to debug.  Having worked with PHP for years, I am used to a web language giving me at least some indication or line number that causes it to fail, but the zk server gives you a message that sometimes helps such as the one below (which means you need to reset the session because your page is not compatible with older versions of the program you wrote before if you added attributes to a user.)

The zhtml changes standard html syntax.  For example, although technically okay, they make it so that there is no <center> tag.  Also they add a attribute to <div>  called visible.  Though typically in the css this now becomes  a normal attribute in the div tag.  This is useful for making certain areas visible based on a boolean return such as:

<div visible=”@{user.isFriend}”>This user is a friend.</div>

The above example checks that the user is a friend by executing the java method isFriend() in the variable user.  This method of course returns a boolean value.  However, this feature really lacks the ability to evaluate statements since this must return a boolean and cannot check for example that the array size of friends is equal

to 0.  They do include the ability to evauluate an if statement by:

<div if=”${user.friends == 0}”></div>

But this always resulted in another server error.

login

The login "window"

Zhtml adds predefined windows and panels and other graphical eye candy, but the capabilities of each and the amount to which you can customize them is very limited.  By default the windows and panels have their own shade of blue, but this blue stays unless you specifically define css to change the color r create your own images to grace the background of the window.  I have tried my hand at Ajax before, and although I say it is difficult, there is no reason why a premade Ajax simplifier has to make customization s difficult.  If they wanted us to use these windows they should have allowed a much more user friendly way to change the appearance.  A s such, when I decided to create my own layout, of course I had to default to blue so that it would blend with the rest of the  default zhtml widgets.  As one girl who saw my page said, “It’s very blue.”  And indeed it is.

Finally I finished this project on Friday night after several nights staying awake until 4:30 am…and now I am hoping I win the extra credit contest

zhtml-servererror

While doing this project I discovered  many useful resources that enabled me to add features previously un-thought of to my application since our teacher had not given us the resources to utilize the full potential of zhtml.  These include the api to zhtml functions and official style guides.  They are linked below:

Links:

Finally my official application is viewable here (for how ever long it stays up):

And my source code including the zhtml page is here:

Review: TubeRadio

December 3rd, 2009 238 comments

Note for people wanting to convert TubeRadio to mp3: Since I have observed in my logs that several people have wanted to convert tuberadio music into mp3s you can, but you will need to go to the video in the corner, put the mouse near the top of the video and click on the link that appears.  This will take you to the main youtube video and then you can use a program such as Dirpy to convert this video into an mp3.  More information can be found here.

A few weeks ago a new application was featured on Lifehacker.com.  As usual I checked the website and wound up on a very useful program called TubeRadio.  Owned by Last.fm, the music website, TubeRadio allows you search for videos/songs on Youtube and play them right there in the browser.  It allows you to search for name of video, but even cooler is its ability to search for and fill a playlist with the whole discography of an artist.

The interface looks similar to iTunes, but unlike iTunes, it plays only youtube videos, but plays them just as a normal desktop mp3 player.    It evens allows you to share playlists like in iTunes.  TubeRadio allows you to repeat tracks, shuffle tracks of a playlist, pause, start, and skip tracks in a playlist.

At the bottom you can view lyrics, bios, and information about the band.  The best part is its free!  Just like with Pandora you can create an account that will save your playlists and preferences.  The only regret I have about TubeRadio is that I can’t figure out how to not display the video at the bottom since that would save my cpu since the flash player eats it up.  Maybe they have a feature to just play the music and not the video, but I don’t know it.

Also, Happy 2 Month Anniversary TubeRadio!  It turned 2 months on November 29, 2009.

Tuberadio allows you to search for a Discography

[Update] After posting this I received an email from the owners of TubeRadio via Twitter.  Here are some points they gave me:

  • “We use the last.fm databse of artists so their terms are that we have to put “powered by last.fm” on the site. Other than that, we have no affiliation with them.”
  • “As much as we’d love to be able to offer an audio only stream, it’s against YouTube terms and conditions to do that, so the video _has_ to be there (it even has to be a certain minimum size!)”

TubeRadio is particiating in the competition for “Best New Startup of 2009.”  They would like you to vote for them at http://bit.ly/3H6XkV
Links:

Tuberadio.fm

Press Release Annoucing TubeRadio

TubeRadio on Facebook

TubeRadio on Twitter

Categories: Review, Web/Internet Tags: , ,