Is the Gold Bubble Ready To Pop?

August 30, 2011

For the past few years, I’ve noticed an increasing interest in people buying gold. Advertisements on television, radio, endless banners proclaiming cash for gold around town as you drive around. The price of gold has soared in recent memory. But what about now? The tune has started to change. Now, the tide is slowly turning the other way. More and more, you see signs proclaiming that you should buy gold. Today on the radio, I even heard an advert for a gold backed IRA. The kicker was that they will give you an extra $150 for buying into the gold fund.
What does it mean? Well, instead of buying up your gold, investors/speculators are trying to offload it. What better way to do that then proclaim how it’s gone up so much in value. Originally, you heard about selling gold, now they’re looking for suckers to buy it while the price is still high.

Remember, gold is a commodity, just like everything else. It has value, but it has price fluctuations like everything else. It can be overvalued, it can be undervalued. You could possibly trade with it, but it still needs to be converted into money. While it can store value, but it’s not an investment. It cannot generate returns on it’s own.

You heard it here first, folks.
Gold is currently at USD $1830.79


Thoughts on Apple and Steve Jobs

August 25, 2011

The news came out after-hours last night that Steve Jobs is stepping down as CEO of Apple effective immediately. This was the day that I think most shareholders have dreaded for quite some time. I don’t think that there will be any noticeable change in the near-term. Products are already being developed, and the company seems to have a roadmap in place for the next few years that, if history is any indication, will leave competitors struggling to keep up. Out past that, I think that it may be more uncertain. Steve Jobs has a great talent. He has been able to see into the future and create beautiful products that people want. The question of if that will continue is what will be answered but not for a few years. Fundamentally, Steve Jobs has taken the old computer retailer and created a new company that packages technology in a simple, elegant, easy and intuitive package for people to use. Basically, it trades on the power of ideas. Anyone can sell computers, but selling ideas is harder, and almost impossible to copy. A company can sell ideas forever, long after computers have become obsolete. Whether it can continue to innovate after the main wellspring has gone is the question.

Shares are down $7 (1.86%) at the opening of the market to $369


What a time to go on vacation

August 21, 2011

I’ve been gone the last two weeks, but it’s been a busy time in the world. We finally got a budget deal that averted the federal government’s default (yay), S&P downgraded the credit of the United States government (ugh), Michele Bachmann won the Iowa straw poll and Rick Perry entered the presidential race the same day, the Euro is currently under the stress of Italian and now French debt (ugh), the stock market is imploding (double ugh), Google is buying Motorola Mobility, HP is closing shop on WebOS and exiting the consumer market, there was rioting in London of all places, a more assertive crackdown in Syria of protesters, and upheaval in San Francisco over the decision by BART to shutdown wireless access in the underground stations with protests leading to stoppage of service during rush hour and sites being hacked by Anonymous (please don’t hack me).

There are lots of angry people in the world out there, perhaps justifiably.


US Debt Talks

July 29, 2011

It is now almost 10am eastern time on Friday July 29th. Yesterday, the planned House vote on a package to cut spending and to raising the federal government debt ceiling has been delayed. The US treasury has projected that it will be unable to pay all of the government obligations after August 2nd, which is now just a couple days away. The fact that the American government, our government, has been unable to come to any agreement on this is a saddening show of what we have come to. I would have thought, perhaps naively, that for something so serious, politics could have been put aside and the well being of the nation taken into account. For all of the talk about how a default would be unthinkable, and a travesty, and that the US could not default on our obligations, the fact that there has been no agreement yet speaks volumes about what has happened to our government. Washington has been engrossed, on both sides, by the idea that all politics is a zero-sum game. Both the Democrats and Republicans have become completely unable to come to any agreement lest it is seen as a victory for the other party. Perhaps, you can say that we only get the government that we deserve. Hopefully, that is not the case.


Drought still going on…

July 19, 2011

20110719-105304.jpg


Carmageddon

July 15, 2011

This clip reminds me of living in California. Whoever did this is hilarious.

“Carmageddon does not care about your Prius….”


[What we're into right now]: Musical Update Edition

June 26, 2011

Going back, this is a list of albums that have spent a long time being dumped out to the iPod and in the CD players.

The Black Keys - BrothersThe Black Keys – Brothers: Wonderful Bluesy Deliciousness

PJ Harvey - Let England ShakePJ Harvey – Let England Shake: Explorations of England and the First World War

LCD Soundsystem - This Is HappeningLCD Soundsystem – This Is Happening: An exhibit to flaunt a knowledge of musical history


[What we're into right now]: Arcade Fire

June 26, 2011

Arcade Fire - The SuburbsIt’s been a while since we’ve written anything in these series of posts, but we’ll try to keep them going.

I had resisted the Arcade Fire for a very long time now. If fact, I began to do it stubbornly so simply maintaining that I did not care for them and leaving it at that. However the album The Suburbs had come into my house and I had spent some time hearing it as it was played here and there. Eventually, I had sat down to listen to it in it’s entirety and it has since grown on me. In fact, this may have been one of the best albums to come out last year.

Arcade Fire has surrounded this album with suburbs of it’s own giving it a monumental scale. This album is meant to be a statement. From the website to a short film directed by Spike Jonze that premiered at SXSW this year. There is even HTML5 interactive web site where you can type in your childhood address and it creates a film using Google Earth to the song “We Used To Wait”. Of course, any album called The Suburbs is going to ignite emotions from almost anyone. Suburbia in America has become a barometer of sorts for so many social/economic/political views. The most prominent of which is the urbanite looking down on the manicured lawns as a sign of emptyness and soul-crushing sameness, so often something akin to the militant ex-smoker.

The album opens with the song “The Suburbs” where the levity of the music and tempo mask the lyrics over it, and the songs that are still to come. It builds slowly until becomes momentous arena-rock. So much of this album is infused with the feeling of disillusionment and the nostalgia for the escapement and innocence of your childhood. Of course, as a child the boredom seemed insufferable in the suburbs, and you would daydream of the time for you to escape to someplace more exciting. Now looking back, by the time that it’s your time to have children, you realize that perhaps you haven’t changed that much from your parents. Personally, much of the feeling of the album is wrapped up in the lyric “But do you think your righteousness could pay the interest on your debt? I have my doubts about it.” from “City With No Children”. Perhaps you yourself are caught in the same trap as your parents where you worry about the circumstances of your life, but see that you cannot necessarily change it without giving up everything.


[Hacking Mac]: iPhoto Structure – Revisit

June 19, 2011


See here for more information regarding iPhoto database

Looks like I didn’t have the proper understanding of the structure of the iPhoto library package. iPhoto appears to use the internal structure even if the photos are imported by reference. In the directory iPhoto Library/Originals/ an alias to the original photo is still stored where the image would have been imported. This alias file also needs to be updated for iPhoto to properly reference the new file location instead of just updating the iPhoto database with the new file location.
This alias location can be queried from either applescript, or the SQL database. From applescript you can get the filename with the following:
repeat with i_photo in (get every photo of (get album s_album))
get original path of i_photo
end repeat

From the database, the location can be queried from the column aliasPath in the SqFileInfo table using:
select SqFileInfo.primaryKey,SqFileInfo.aliasPath from SqFileInfo,SqFileImage where SqFileImage.sqFileInfo=SqFileInfo.primaryKey and SqFileImage.photoKey=ID
You will need the primaryKey later if you want to update the image location. For using the SQL database query, the photoKey ID can be queried via applescript as
get id of i_photo as unsigned integer
The Id for the photo needs be be converted to unsigned integer from what is normally returned by applescript as it’s going to appear as a floating point number due to the number of bits used.

Both of these return the full path to either the original file that was imported, or the reference to the original file if it’s imported by reference. In the case of importing by reference, iPhoto will store a file at that location
-rw-r--r--@ 1 user staff 168340 May 26 12:38 DSC_0001.JPG
That file is basically a mac alias to where the image is actually stored.

sidenote: This is different than a hard or symbolic link in UNIX. You can see that it doesn’t dereference to the target location as a normal symlink would. It’s differentiated with the “@” after the list of UNIX file attributes. This alias appears to be a holdover from OS9. You can view the attributes that are associated with it using the xattr command like:
attr -vrx DSC_0001.JPG
DSC_0001.JPG: com.apple.FinderInfo
DSC_0001.JPG: com.apple.ResourceFork

The ResourceFork attribute contains the target information for the alias. Using applescript you can get the target also with
if kind of fp_alias is "Alias" then
get original item of fp_alias as alias)

The location of the original referenced file can be updated by correcting the location of the file in the database, and the alias file that iPhoto uses. This would involve correcting the datebase entry such as:

update SqFileInfo set relativePath=UPDATED_PATH where primaryKey=ID

The UPDATED_PATH would be where the image is being moved to, and the id ID would be returned as the primaryKey from the appropriate entry in the table returned by the database query above.

One the database is updated, the alias file that iPhoto uses would have to also be updated to reflect the new location. This could be done in applescript by creating a new alias such as:

set fp_newAlias to make new alias file at fp_dir to targetName with properties {name:s_name}

For good measure you can also update the timestamp of the database with:

update SqGlobals set modificationDate=(julianday(\"now\") - julianday(\"2001-01-01 00:00:00\")) * 60 * 60 * 24 ;


Stil No Ring For LeBron

June 13, 2011

Cleveland Plain Dealer Front Page 6-13-2011


Follow

Get every new post delivered to your Inbox.