Skip to main content

Posts

Fad-Friendly Culture and Group Think

How do you know what restaurant is good? As I was walking through the food kiosks at Luquillo, a beach town in Puerto Rico. I realized that you look for the crowded one, because if the locals frequent it, then it most be at least decent, right? At least that's how the thinking goes. While food-poisoning looks imminent in that lonely restaurant with nobody in it. This is a type of group think. You crowd-source your restaurant decision because you don't have time to check each restaurant for cleanliness and audit their food, you go where others have gone to eat and trust in the wisdom of the crowds. Now sometimes you go off exploring too, and go check out that restaurant you haven't tried or that new place that opened. But when you're in a hurry, in an unfamiliar place, need to eat quick the lonely food kiosk just feels sketchy even if it's totally fine and the crowded one is just good. Why is this important? It isn't but it's a cool way of thinking about ...

On the Island I was born...

For the past two months I've been in Puerto Rico, the island I was born in. I frankly feel conflicted about Puerto Rico. In a weird way every time I've come back since I left for college, it's felt like a different country, and I've suffered reverse-culture shock every time. Even now. Now however I'm seeing a Puerto Rico that is in a worrisome state. NPR has been doing a 4 part series that's worth checking out here  called "Disenchanted island." Puerto Rico is called "la isla del encanto" or the "island of enchantment" so the title is a play on words. It's worth a listen. Like children you don't see grow up because you see them everyday, the people that live in Puerto Rico become essentially blind to the changes that happen in the island. While I who feel at times like a strange uncle that comes to visits sees them starkly. So much so that I get a push back. It's very strange to see consistent responses from people t...

How to pass a Rails or Sinatra variable into JQuery.

A few days back I got a code challenge for a cool job position. For whatever reason the test was very light on Rails very heavy on JQuery, which I didn't know much about frankly. So in less than 24 hours I had to not only learn enough of it but also make it work into a modal window widget. I got it done, but it wasn't elegant at all. I clobbered it even if it worked. The first challenge was to get information into webpage from a Rails application, I chose JSON and thought it'd be easy-peasy, but transferring a JSON object is a cross-domain script violation and most browsers won't let it pass. So I learned about JSONp which wraps the JSON object in a JQuery call-back. Lacking the easy Ruby ways of determining what things are, at first I'd no idea what the JSONP object was and just had my Rails app send JSON. Once I figured what it was, it was trivial to get Rails to do it. All I had to do was add: :callback => params[:callback]  to the format property in the con...

A Clockwork Orange

A milk bar. It left me confused. I imaged a bar, like as a night club, where under-aged kids would do drugs and drink milk. I remember hollering with glee when I saw a milk bar in Australia and suddenly got the book A Clockwork Orange in it's entirety, years after I'd read it, a bored week I spent in Princeton before shipping out to Japan. [A milk bar is what in America is called a convenience store! A place to buy milk, not a crazy night club.] The whole confusion on the book arose from having watched or partially watched the film of the same name. In the film it's all about the 'horror-show' which is literally a visual tour of violence. Where a pack of young men meet out ultra-violence made cool, made strangely attractive, glorified not for it's meaning like wars, but for it's act, like art. The book is different, thought. Upon realizing what a milk bar was, I got what the story is about. It's not about violence but about boredom. The kids ...

Solo Travel Pt.1

"And if you can't find a loyal companion,   travel alone..." I slept in late. I didn't want to get up. I couldn't stay there any longer and as if to confirm it my aunt started the conversation with "I don't want to kick you out, but when --" But I cut her off. "I'm leaving today." All the stuff was packed in the car. After a year of sleeping on the floor on an air mattress, having my car stolen, recovered and broken into again, learning photography and co-directing a documentary, the time had finally come to leave. The next day, after staying one final night in Florida at my friend's apartment in Tampa, the inherent adventure of solo travel would take me over, I would wake up early the next day, ready to travel across the country, ready for a journey with an uncertain destinations. I was uncertain and ready. I put on my Princeton T-shirt to remind myself of what I had accomplished and gassed up the car and set off. The dri...

Kindle Paperwhite 3G, a crippled device

In my quest to find a good e-reader that beats my iPhone, I've tried a Nexus 7 , a Kindle 3G Keyboard and a now a Kindle Paperwhite 3G . By far the most useless device is the last. I could write a long review but there is no need. A Kindle Paperwhite 3G is the same machine as the Kindle Paperwhite WiFi, except $60 more expensive. The 3G is limited only to amazon.com and your own books. It's miniscule 2GB storage means you have to be connected to a network if you have a lot of files. The Paperwhite also removes features the previous Kindle had, like an MP3 player, a headphone slot or the ability to read text to you (if allowed by the publisher/author). The storage is reduced from a previous 4GB to now 2GB. Though that would be plenty for most people. It also lacks speakers but that's a feature I don't miss, since the speakers weren't great to begin with. The device is much much sharper and brighter than the Kindle 3G Keyboard, but it is comparable to the Nook Gl...

Advantages of Different Ruby Implementations

Some one asked me what where the advantages of JRuby lately. I had to think and that got me to this post. JRuby - Runs on Android - Can be uses to pre-comple code to Java Byte code for speed and code obscurity. :thumbs up: - Runs on a Java-Virtual-Machine server. - Runs on any computer w/ Java (whether it has Xcode or not) MacRuby - Scottish. - GUI apps that use native cocoa frame work. - iPhone apps through Ruby Motion. mRuby This is 'embedded ruby' and it hasn't been released yet but from what I know: - Very light, requires little memory and space to install. - Gives you Ruby expressiveness where a program language like Lua could only go before. IronRuby Sadly semi-abandoned. This Ruby's goal was to compile on Microsoft's .Net framework. - All those poor .Net developers doomed to MS's C++++ (C#) would be able to taste salvation in Ruby. Rubinius Ruby that is mostly written in Ruby. Apparently this is good for thread-safe running of multi...