RSSAmplifier

Blog

Fabio Kung

software, programming, computers, technology

fabiokung.comRSS feed ↗10 posts

Latest posts

Holograms and Data Science

This will be a quick and different post, recording one of these A-HA moments we sometimes have, before I forget it. It is a random thought that s got more than 140 characters. A tweet would not do it. I just finished reading The Black Hole War, by Leonard Susskind (one of the most important physicists [ ]

My DockerCon 2014 talk: Thoughts on interoperable containers

Recently, I finally had a chance to read Presentation Zen: Simple Ideas on Presentation Design and Delivery, by Garr Reynolds. I wish I had done if before, after so many years of giving less-than-ideal talks and ignoring recommendations from presenters I admire, who give presentations I highly respect. It is usual to post your slides [ ]

Memory inside Linux containers

Or why don t free and top work in a Linux container? Lately at Heroku, we have been trying to find the best way to expose memory usage and limits inside Linux containers. It would be easy to do it in a vendor-specific way: most container specific metrics are available at the cgroup filesystem via /path/to/cgroup/memory.stat, [ ]

Software Development Guidelines

From Merrian-Webster: guide·line (noun): an indication or outline of policy or conduct U.S. Dept. of Veterans Affairs: A guideline is a statement by which to determine a course of action. A guideline aims to streamline particular processes according to a set routine or sound practice. By definition, following a guideline is never mandatory. Guidelines are [ ]

Running Java Web Applications on Heroku Cedar Stack

Update: Heroku now does support Java. Heroku does not officially support Java applications yet (yes, it does). However, the most recently launched stack comes with support for Clojure. Well, if Heroku does run Clojure code, it is certainly running a JVM. Then why can we not deploy regular Java code on top of it? I was [ ]

DSLs: one interface, multiple implementations

One interface, multiple implementations is one of these design concepts I like most. It s basically polymorphism in its pure form! Coding a little bit a while ago, I realized how DSLs could reinforce this idea. My example here is a simple implementation for queue consumers, as a simple Ruby internal DSL: And to enqueue a [ ]

Ruby and dependency injection in a dynamic world

It s been many years I ve been teaching Java and advocating dependency injection. It makes me design more loosely coupled modules/classes and generally leads to more extensible code. But, while programming in Ruby and other dynamic languages, the different mindset always intrigued me. Why the reasons that made me love dependency injection in Java and C# [ ]

Ruby indentation for access modifiers and their sections

Ruby programmers are very flexible (and permissive) when talking about Ruby code indentation. Most of rubyists I know prefer to indent with two spaces instead of tabs (soft tabs in some editors). There are even some style guides and code conventions published for the language, but none of them is official and they talk too [ ]

Soda is cheaper than Water

(at least here in Brazil) These prices were taken from http://www.paodeacucar.com.br, Sao Paulo, in the date of this post. Compare them: Soda (Brazilian Guarana): Versus standard natural Water: The soda has approximately a R$ 0,92 price/liter ratio, versus R$ 1,25 price/liter of the natural water bottle. Some years ago, I would never imagine soda being [ ]

Status report: new job, new life

I m sorry my last post was about three months ago. But, I have a good excuse: I m just married! (and I took a nice and fast honeymoon vacation) Besides that, after three happy years, full time at Caelum, here is the shocking news: I m now part of the Locaweb team! This was (and is still [ ]