Tuesday, December 14, 2010

Found an interesting blog about Scala

http://macstrac.blogspot.com/2009/04/scala-as-long-term-replacement-for.html

Tonight's Java developers meetup fully booked at 166 attendees. And the subject is Groovy on Grails. Groovy is something I never heard of, but the blurp it's an OOP-JVM scripting language. Sounds familiar to Taak.

So I do what I always do with something I don't know, I looked it up on Wikipedia. The code sample looked a lot like Scala, cool. Then there was the first citation on this quote from the author (James Strachan) of Groovy: "I can honestly say if someone had shown me the Programming in Scala book by Martin Odersky, Lex Spoon & Bill Venners back in 2003 I'd probably have never created Groovy."

Wow, I followed the link. Not only is huge proponent of Scala but also there are many great resources he had linked on his post.

Monday, December 6, 2010

Starting on Scala

So my bro just sent me some books and a few tutorial on Scala. It's new to me, so here we go. I'm starting on "Beginning Scala" seems like the best book to start with. Then that leaves "Programming in Scala" , "Programming Scala" from The Pragmatic Programmers and "The Definitive Guide to Lift - A Scala-Based Web Framework."

Let's see how much I can learn in week (by Saturday)!

Sunday, December 5, 2010

Internal Speaker for Compaq CQ56-115DX Notebook

After I stepped on my Vaio mini-laptop, I realized "whooops!" I need another laptop. A blessing in disguise, the Vaio was 3 years old, slow, clogged up with whatever useless junk. And a great chance to dump Windows.

I hopped on my bike and was at Best Buy, licketty-split. "Sir can I help you?" turned in a quick "What's the cheapest laptop here?" I fended off the upsell and got my hands on a mispriced Compaq with a real AMD processor. I didn't want to hear about how this box doesn't work well on Windows 7.

It was mismarked $50 less at $349. Cool. Paid. Done. Back on my bike towards home.

I installed Ubuntu 10.04, everything was smooth except my speakers didn't make any sound. I checked the soundcard settings, it plays sound through the headphone jack. Hmmmm.

Google saved the day. http://ubuntuforums.org/showthread.php?t=1451767

A quick installation of some software and a reboot then my speakers started making music!

sudo apt-get install linux-backports-modules-alsa-lucid-generic



Monday, February 2, 2009

Rudiments

I'm back to playing the drums. I'm surprised after a 4 year hiatus how well I actually play and how much I've actually retained in skills. 

For about a thousand dollars, I picked up a Roland Midi drum kit. This thing is great, I can practice and play wherever I want and at a low volume. Since I don't need to bash these fuckn drums, I moved from 5B drumsticks down to 8A drumsticks. "Use your wrists kid!"

But now, it's back to basics. I found this great website that has all the rudiments I need to practice. Yeah, the ones I never bothered to learn before. I might as well learn them now; starting with the paradiddle!



Thursday, October 9, 2008

One Of These Days I Gonna Get Organized

I think the Buddhist saying go like this: Happiness is the absence of want.

Wednesday, October 8, 2008

Hello Europe Here I Come

Making it to Amsterdam might cost me 40% less by next year. In 4 months the value of the US Dollar has risen from .62 to .74 compared to the Euro. Watch out France and Germany, I'm also headed your way, this time flexing my maybe almost equally valued dollar. Beers and brats, I think I'll be able to afford a few.

Tuesday, October 7, 2008

Last time was close, this time more than close

I've been reliving the 2004 Presidential elections. Four years ago at this time; Bush lead with 264 projected electoral votes, while Kerry trailed closely behind with 253. Michigan and New Hampshire were tied and I predicted with Kerry's strong debate performances that he would win. But early Wednesday morning when Bush barely pulled ahead in Ohio, my heart sunk with the realization that Kerry would lose. That I America would lose, and I that I would lose.

On Wednesday, when I got into the fortified Republican strong-hold, known as my office, I swore off politics. I placed a moratorium on all political news coverage. I was gonna have to find something else to occupy my time. And I thought maybe for the next four years. The war in Iraq was gonna have to go on without my dissenting opinions.  So I enrolled for classes at the local community college.

This time around, Obama is leading McCain 349 to 174, with Ohio, Missouri, Virginia, and Florida in his projected win column. These are states Bush won four years ago. My source, then and now, is http://www.electoral-vote.com. If reliable as they were four years ago, Tuesday night should be a good night for me and I won't have to think about enrolling in school Wednesday morning. But after the win, is there that much to be happy about?

Saturday, July 26, 2008

Mindfulness

I thought I'd give it a try. Here's the wiki link: http://en.wikipedia.org/wiki/Mindfulness_(psychology)

I saw an interview with Jon Kabat-Zinn and it peaked my interest. I have Mindlessness down pat so I know have something back to.

Tuesday, June 17, 2008

Who needs sleep?

Well, I finally accepted it was me! This Sunday, I watched a "60 Minutes" report on the effects of sleep deprivation. Even on the first day, it affects your health and your level of leptin. Which the report said "increase your hunger" and "places your body into a pre-diabetic state." The program linked sleep deprivation as a factor for American obesity and decline in elderly health.

On the another program I've watched recently on PBS about mind/body health. The speaker contributed the two greatest factors to mental health conditioning were sleep and exercise. I agree. I've started the exercise, now let's get the eight hours of sleep. It was noted in the "60 Minutes" show, that there are three different levels of sleep and the quantity of "deep sleep" was a substantial factor.

Since I get up at 6am, I'm gonna have to hit the hay at 10pm. There's only television that I'm missing, but with a DVR, I can just watch "Charlie Rose" the next day. I think I've finally learn to appreciate sleep.

Thursday, June 5, 2008

One mandatory tool for Linux

Arghhh!! Dos files on my Linux box, the dreaded ^M. And yet again I am on another version of Linux. So far Mandrake to RedHat to CentOS to Unbuntu and now to Debian. Each one with it's own different way to install my much needed "dos2unix" app. So here's the latest for Debian:
apt-get install tofrodos
In case you may need it.

Tuesday, May 20, 2008

A walk downtown

I had to run an errand today; trying to find a FedEx Kinko's that had a Notary. Being away for almost 4 years, I made the wrong turn on Sacramento to find Kearny. When I found myself down by the Embarcadero Center, I turned around and it was a quick walk back to Kearny. I passed by a few of memorable restaurants, like Alfred's. From there it was a quick walk back to Union Square then back to work.

From my office on 2nd and Bryant, I can walk to anywhere downtown for lunch. I can see myself realizing more of this city's potential. Restaurants, bars, cafes, bookstores or just a walk to get some sun.

Monday, March 3, 2008

Nothing Like A Sharp Knief

I recently bought the Furi Diamondfinger Sharpner. This turned out to be one of the best things I've bought in a long time. Having a good sharp knife makes cooking easier and much more enjoyable. Chopping, dicing and slicing has been made quicker and more effortless.

Monday, February 4, 2008

Super Bowl Winners

Wow, what an exciting Super Bowl! High drama, teams playing for history, Boston vs New York, the classic American underdog, best offense vs stout defense; these are the ingredients for a great game. And if that wasn't enough, there were turn-overs, sacks and critical fumbles!

The real winners of this Super Bowl are the fans. We got a great game and a great anticipation for another great season upcoming. The defeat of the Patriots turned out a better story than the favored "perfect season" storyline. This game proved how hard it is to attain the "perfect season" or other "perfections" like Joe Montana or the 70's Steelers winning 4 Super Bowls.

The way the Giants executed their win, left no doubt that their's was a not a lucky win. And even though the Patriots came up short, there's every expectation that they will seek a "perfect season" next year. This is drama in the salary cap era.

Here are the other winners:
Terrell Owens - He gets to keep claiming he's better than Randy Moss.
Joe Montana - Tom Brady couldn't pull of "The Drive" to win the Super Bowl and this should squelch talk about the Best QB ever.
Archie Manning - How much more fatherly pride can a man have.
Boston Red Sox - Bruins not a chance and the Celtics won't make it, leaving the Sox the kings of New England.

And here is the biggest loser:
Tiki Barber - What's the Emmy version of the Lombardi trophy?