Lately I've been trying out Git and I have been very impressed so far. I enjoy how Git doesn't impose any set method on how to do things, instead it lets me write code how I want to and forget about my version control. I did run into one annoying problem with Git on Cygwin though. Apparently, the default install for Git enables _all_ the pre-commit hooks for Git. The Linux version, on the other hand, *disables* all the pre-commit hooks. This kept me running into an annoying problem where Git wouldn't let me commit files because of bad whitespace in a couple files.
Fortunately I found a solution to the problem here. Its a simple 'chmod a-x .git/hooks/pre-commit'.
Now that I have that out of the way, I'm going to try Git some more and compare it to my experiences with Mercurial (which I think is another great version control system).
Monday, April 21, 2008
Saturday, March 15, 2008
Ghosts Film Festival
Trent Reznor and Nine Inch Nails keep the punches rolling with his newest album Ghosts I-IV. From my last post about Ghosts, I talked about how Trent Reznor has an amazing grasp of how to use the internet as an artist in our age of "piracy." After previously feeling "disheartened" about his experience releasing Saul Williams amazing album The Inevitable Rise and Liberation of NiggyTardust, Trent has a renewed faith in us:
He has taken the remix culture and Creative Commons idea one step further and is actively encouraging participation in Nine Inch Nails art.
I'm very happy to see that he has learned from his experiences with Saul Williams and is experimenting with how an artist can make a living in this growing world of music post-RIAA. His call to the community to participate and become involved in the creative process puts Nine Inch Nails in a much more intimate and rewarding environment. Nine Inch Nails is taking fans who were once content on passively watching and putting them into a whole new world of participation with Nine Inch Nails.
Not only is it taking fans from being observers to participants, it is also changing peoples views on music and its worth as art. The current music industry has taken the art of making music and turned it into a cold, mechanical world of commodity. By asking for fan participation it reinforces the value of music as a piece of artwork. When people have personally invested time and creative effort into a piece, it is much more important and valuable to them.
Fans want art, not crap. We want to see real artwork both musically and visually. We also want to see the art treated with respect as Nine Inch Nails has done with the multiple formats Ghosts is available in. When the art is respected, we are more than happy to pay $300 for an amazing boxed set of artwork. Thank you Trent and Nine Inch Nails for opening up this new and exciting world of creativity.
First of all, a sincere THANK YOU for the response to Ghosts. We are all amazed at the reaction for what we assumed would be a quiet curiosity in the NIN catalog. My faith in all of you has been restored - let's all go have coffee somewhere (my treat)!
He has taken the remix culture and Creative Commons idea one step further and is actively encouraging participation in Nine Inch Nails art.
it's meant to be an experiment in collaboration and a chance for us to interact beyond the typical one-way artist-to-fan relationship.
I'm very happy to see that he has learned from his experiences with Saul Williams and is experimenting with how an artist can make a living in this growing world of music post-RIAA. His call to the community to participate and become involved in the creative process puts Nine Inch Nails in a much more intimate and rewarding environment. Nine Inch Nails is taking fans who were once content on passively watching and putting them into a whole new world of participation with Nine Inch Nails.
Not only is it taking fans from being observers to participants, it is also changing peoples views on music and its worth as art. The current music industry has taken the art of making music and turned it into a cold, mechanical world of commodity. By asking for fan participation it reinforces the value of music as a piece of artwork. When people have personally invested time and creative effort into a piece, it is much more important and valuable to them.
Fans want art, not crap. We want to see real artwork both musically and visually. We also want to see the art treated with respect as Nine Inch Nails has done with the multiple formats Ghosts is available in. When the art is respected, we are more than happy to pay $300 for an amazing boxed set of artwork. Thank you Trent and Nine Inch Nails for opening up this new and exciting world of creativity.
Wednesday, March 12, 2008
Google Profiles
While messing with Google Reader today I decided to update my Google profile information and got to thinking. When is Google going to show us the different ways they are going to integrate the Google profile? Right now, your profile information is being used in Google Reader, Google Shared Stuff, and Google Maps. So when are they going to integrate with Blogger and the rest of their applications? I'm interested to see how Google plans on consolidating their applications in a more social way like they are doing in Google Maps.
Currently, there is a very minimal amount of profile information that is actually being shared between Google Reader, Google Shared Stuff, and Google maps. Here is what I get to consolidate between those three apps:
Step it up Google! I want to see what you are planning on doing with the social integration sooner than later! Give me a dedicated profile page that can link all my apps and make it easier to navigate to. No more ?id=12312312 junk in the url. Make it easy like http://www.google.com/profiles/merrell.sam. Hopefully we will soon be seeing the fruits of Googles social labor.
Currently, there is a very minimal amount of profile information that is actually being shared between Google Reader, Google Shared Stuff, and Google maps. Here is what I get to consolidate between those three apps:

Step it up Google! I want to see what you are planning on doing with the social integration sooner than later! Give me a dedicated profile page that can link all my apps and make it easier to navigate to. No more ?id=12312312 junk in the url. Make it easy like http://www.google.com/profiles/merrell.sam. Hopefully we will soon be seeing the fruits of Googles social labor.
Monday, March 03, 2008
Nine Inch Nails Carries the Radiohead Torch to New Heights
This Sunday, Trent Reznor and crew quietly released Nine Inch Nail's newest album (actually a 4 volume set, so far) Ghosts I - IV. Trent Reznor's growing grasp of the Internet and how to harness the large Nine Inch Nails community continues to astound me. Nine Inch Nails relevance in the music world continues to become more and more important as he is pioneering new ways for artists to distribute their music independently and use the internet to their advantage.
Not only has Trent Reznor released Ghosts as a free download, it is also licensed under the Creative Commons Attribution Non-Commercial Share Alike license! This is probably one of the best moves I have seen in the music industry. Trent Reznor has been cultivating a remix society around his work through his Remix portion of nin.com, and it was only a matter of time before he took the final leap and released his creative works into the wild for us to enjoy and be inspired by.
I salute you Trent Reznor, please keep up the amazing work you are doing and stay in inspiration for all musicians out there. Hopefully more will follow in your footsteps.
Not only has Trent Reznor released Ghosts as a free download, it is also licensed under the Creative Commons Attribution Non-Commercial Share Alike license! This is probably one of the best moves I have seen in the music industry. Trent Reznor has been cultivating a remix society around his work through his Remix portion of nin.com, and it was only a matter of time before he took the final leap and released his creative works into the wild for us to enjoy and be inspired by.
I salute you Trent Reznor, please keep up the amazing work you are doing and stay in inspiration for all musicians out there. Hopefully more will follow in your footsteps.
Sunday, March 02, 2008
Yes, I know. I'm not one of the early adopters or "alpha geeks" that adopted Twitter as soon as it came out, but I just recently signed up for Twitter mainly to maintain my online reputation as Lifehacker suggested and I actually find that Twitter could come in handy in many different ways.
Wednesday, February 27, 2008
My Top 15 Commands
After some searching I found the command to list your top 10 (or any other number you wanted) commands in the terminal. So here is the command:
history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail -n 15 | sort -nr
and here are my top 15 commands:
85 ls
36 vim
34 hg
32 find
30 cd
16 java
14 pd
14 hist
10 stat
8 zip
8 rm
7 screen
7 scp
6 history
6 echo
and here are my top 15 commands:
85 ls
36 vim
34 hg
32 find
30 cd
16 java
14 pd
14 hist
10 stat
8 zip
8 rm
7 screen
7 scp
6 history
6 echo
Saturday, February 23, 2008
Writing Commitments
It has been a long time since my last actual post here and I have been on and off with my blogs since I started. Today I've decided I want to renew my commitment to writing and improving my skills as a writer. One problem I had imposed upon myself with this blog was that of a format. Being a programmer, I had decided that this blog's format was going to be focused on programming and related thoughts. Obviously, this hasn't been working out so well since I haven't had the time/energy/willpower to write a good technology related post.
So, I have decided that I'm going to remove my self-imposed format and write about whatever I feel is worth writing about. Since this is a new/mostly inactive blog I don't have anyone to upset with this so that won't be a problem. And as I improve my writing skills and learn what I like to write about, I imagine that my posts will become more focused over time.
So with that, I hope to start writing at least weekly about whatever comes to my mind. Hopefully anyone who comes across my writing will find some value out of it and I'll find plenty of value in simply writing anything.
So, I have decided that I'm going to remove my self-imposed format and write about whatever I feel is worth writing about. Since this is a new/mostly inactive blog I don't have anyone to upset with this so that won't be a problem. And as I improve my writing skills and learn what I like to write about, I imagine that my posts will become more focused over time.
So with that, I hope to start writing at least weekly about whatever comes to my mind. Hopefully anyone who comes across my writing will find some value out of it and I'll find plenty of value in simply writing anything.
What's in your PS1?
Saturday, December 08, 2007
I Love Libraries
I think one of my favorite things about going to work for IBM is my access to the library we have here in Austin. I love to read (online and off line) about technology and I'm always trying to hone my skills and pick up new skills and tricks. So far, I've read Practices of an Agile Developer, which is great by the way, and I'm reading Practical Development Environments right now. Before I started working, I had to scrounge whatever books I could find, but now I have more access and I can't wait to read more. I already have about eight other books I plan on reading as well as another seven or so useful references such as the awesome Bash Cookbook from O'Reilly. It has been incredibly helpful in helping me improve my skills with Bash. Once I get further along in reading Practical Development Environments, I'll put up my thoughts on the book. So far it has been a very interesting and fun read.
Friday, December 07, 2007
Fun with javap
I finally was able to try out javap for the first time today. I needed to know what version of Java a class file was compiled in and javap came to the rescue! To determine the version simply run javap on the class.
javap -verbose my/compiled/class
This will dump a bunch of information about your class file. The only thing you are looking for is the major version up at the top. It should look something like this.
Java 6 50
Java 5 49
Java 1.4.2 48
Java 1.3.1 47
etc ...
javap -verbose my/compiled/class
This will dump a bunch of information about your class file. The only thing you are looking for is the major version up at the top. It should look something like this.
$ javap -verbose aTest/service/EJBHelloServiceThe versions of Java go like this:
Compiled from "EJBHelloService.java"
public class aTest.service.EJBHelloService extends javax.xml.ws.Service
SourceFile: "EJBHelloService.java"
RuntimeVisibleAnnotations: length = 0x15
00 01 00 24 00 03 00 1C 73 00 25 00 26 73 00 27
00 28 73 00 29
minor version: 0
major version: 50
Constant pool:
const #1 = Method #16.#42; // javax/xml/ws/Service."":(Ljava/net/URL;Ljavax/xml/namespace/QName;)V
const #2 = Field #15.#43; // aTest/service/EJBHelloService.EJBHELLOSERVICE_WSDL_LOCATION:Ljava/net/URL;
const #3 = class #44; // javax/xml/namespace/QName
const #4 = String #39; // http://service.aTest/
...
Java 6 50
Java 5 49
Java 1.4.2 48
Java 1.3.1 47
etc ...
Subscribe to:
Posts (Atom)