Skip to main content

Posts

Google buses Good

I've been seeing a lot of bad press for the google buses that ferry people out of San Francisco into the Mountain View Google campus. While I think using the public bus stops might be a problem for other reasons. I think the buses are good overall. Check this comment from Slashdot : "The Director of Sustainability for New York's MTA is calling out Google, Apple, and Yahoo for 'deliberately' building their campuses away from public amenities like restaurants, and public transportation. 'With very few honorable exceptions like Tony Hsieh, the CEO of Zappos, who recently moved his company headquarters from suburban Henderson to downtown Las Vegas, tech companies seem not to have gotten the memo that suburbs are old and bad news,' he writes. Instead of launching their own bus services to ferry people from the city to their campuses, as the tech companies have done, the Googles and Apples of the world should 'locate themselves in existing urban communitie...

Installing R language on Mac with Homebrew

First you need to install homebrew a command line package manager. Then you install gfortran if you don’t have fortran on your computer (this is a dependency of R). brew install gfortran brew install gcc Then to install R you need to tap the homebrew/science repository with this: brew tap homebrew/science Then you can install R with: brew install R This R will work with R-studio btw. Note: Homebrew seems to have removed gfortran from it's list as it's now provided by gcc. GNU Fortran is now provided as part of GCC, and can be installed with:   brew install gcc

The idiocy of fools

Why Apple made a mistake releasing two phones. Well let’s see… Apple releases two new phones and I’m pissed that I didn’t order the Nexus 4 yesterday and now it’s out of stock. I feel like a dumb ass. I wanted that phone. I’m rather tired of the iPhone. Why? well it’s slow as molasses these days. Every progressive iOS update seems to leave the phone slower and slower and the apps buggier and buggier. And Android has caught up with the iOS features and now it seems de-coupled from Android updates. You see the bane of Android is fragmentation of the platform. Huge amount of screen sizes, processor, etc. But the Nexus devices and the maturity of the Android market has made that less of an issue. This was Apple’s greatest strength: a unified platform. Because on hardware (features), they were already the same. Apple’s last true innovation in the iPhone line was the retina screen. That’s the iPhone 4 (the one I have btw) and it was fantastic. We are three models in after that. Th...

Tim Ferriss Birthday Celebration.

I went to school with Tim Ferriss, but I only met him my last semester. Which sucked because we had tons in common. If you've been under a rock and don't know who Tim is he's a potato-headed guy with a few best-sellers under his belt but much more importantly he's a teacher. Well teacher doesn't describe him and I don't want to call him a master (which he is) but let's say one of the things we both had and have in common is a love of Bruce Lee's philosophy of life. For Bruce, all knowledge was self-knowledge because real knowledge reveals yourself and really life then becomes an honest expression of yourself. So he's a master in that sense. Today is his birthday. He has invited us to do something extraordinary by joining him in providing potable waters to communities without any. Check him out at his site: http://my.charitywater.org/timferriss And here is my quote on education he required then got blocked from posting on his site so here: To ...

Commuting in Los Angeles vs. Commuting in San Juan

LA is a driving city. It's huge, it's got lots of cars massive avenues and many places aren't even reachable via the metro at all. Cities within cities like Beverly Hills strictly opposed the metro from going through it and the design of the metro doesn't make it any faster than driving. So many times when you're going too far for a bike driving is the only option. I spent a lot of time in the car in LA. A LOT. But it is completely different from Puerto Rico. In both places I like to minimize commuting but in LA it was for a completely different reason. The prime disadvantage of commuting in LA is time. It takes a lot of time to commute because you have to cover great distances. I became an NPR nut in LA, driving and listening to the radio, or putting in a book on CD from the library was also cool. But in Puerto Rico this options aren't really viable. The prime disadvantage of commuting in PR is you are risking your life and your car every-time you commute. ...

Testing with Cucumber, Sinatra and Capybara

Everything you need to know There are many elements you need to simultaneously learn to do effective testing of your code. Because some of these elements are very simple a lot of explanations just jump over what you need to know and give them up as obvious. Let’s start with a list of the things you need to learn: Gherkin (the language of Cucumber) ——> super easy Capybara (the DSL that controls the browser tests) Rspec (the DSL in which the actual pass/fail tests are written.) None of these are hard. But having to learn all at the same time can seem daunting. But it’s not! It’s easy peasy but takes time. :-/ It took me three days to get a handle on this. And I hope by reading this you’ll get a handle on it much much quicker. Let’s start with Cucumber first. Cucumber Five things you need to know about Cucumber: Cucumber tests are located on a features folder that have plain text files with a .feature extension and written in Gherkin . The .feature files contain t...

"That's just the way things are." and other cultural traps.

My college buddy just cancelled hanging out with me because it was going to be after 8pm and he didn't want to go out that late because he was worried about crime. He didn't excuse himself for feeling this way, or explain why being worried about crime would be an issue, he just texted me: Ok. Puerto Rico. Crime. A reality. I'd rather reschedule. Sorry to be an old man 8( And we're the same age! (By the way, as a close friend I understand what he means. He's got a young daughter and would rather stay at home with her than leave her alone.) I've been encountering this over and over. "That's just the way things are here." Or the much worse: "It's like that everywhere. " (The Japanese got "shikata ga nai", "it's no use.")   I'm still not sure why people don't see the huge trap going around like that is. Let me make a parallel. This morning I was watching a TED video from Lisa Bu , who talks about ...