~/devreads

21 Jul 2007

1 min read

I recently had to deal with an interesting challenge. I had to write a simple interface between a rails app and a Flash application. Nothing hard and if you browse the archives, you’ll find examples and tutorials on how to create a REST interface to communicate between Rails and Flash. The thing was that this time I had to interface…

15 Jul 2007

1 min read

I recently had a discussion with someone(not really familiar with Ruby and its frameworks) and this person didn’t realize the power of IRB and the Rails console. Not, this irb, the Ruby IRB. According to wikipedia IRB is a shell for programming in the object-oriented scripting language Ruby. IRB is run from the command line and allows the programmer to…

13 Jul 2007

1 min read

resftul_authentication is a great plugin, but not always resftful… especially if like me you dropped unit test for RSpec. I have a set of RSpec examples I use all the time on all my projects requiring restful_authentication, obviously I always end up tweaking them because each application has its specific needs. However, I was recently asked what’s the way of…

11 Jul 2007

1 min read

For many Americans, the 4th of July reminds them of their freedom. Since I didn’t grow up in the US, for the 4th of July was a great occasion for a BBQ with friends and enjoying fireworks. However, things changed this year when I decided to leave my full time job as Rails developer to become a consultant and work…

3 Jul 2007

1 min read

If you haven’t check out the Globalite sample app yet, here are some screenshots. Here is the French yml file used for the UI translation/localization: Here is the code to display a select box so the user can choose the publication date: So you know, <code><%= :published_date.l %> </code> is the same as <code><%= :published_date.localize %> </code> Globalite will try…

27 Jun 2007

1 min read

Today I updated Globalite, refactoring the code and fixing some issues. I added a bunch of aliases since I was tired of typing: <code>Globalite.current_language = :fr </code> I shortened it to <code>Globalite.language = :fr </code> But the old method is still available so it won’t break your code ;) The major change with this update is a better support for…

26 Jun 2007

1 min read

The Rails hackfest is a chance for people to be rewarded for contributing source code to Ruby On Rails. The value of their contributions are accumulated and the results charted. I’m honored to be listed as contributor number 4 few days before the end of the month. I know I got lucky with some of my patches getting merged in…

1 min read

Globalite contributor: Marcus Derencius just submitted a Portuguese translation for Rails. Your application can now speak Portuguese thanks to Globalite and Marcus :)

1 min read

Globalite contributor: Marcus Derencius just submitted a Portuguese translation for Rails. Your application can now speak Portuguese thanks to Globalite and Marcus :)

22 Jun 2007

1 min read

Quick note to let you know that I updated mimetype_fu to actually get the mime type of a file using the file command on mac and linux. I still didn’t post an example since I’m planning on writing a patch for attachment_fu.

14 Jun 2007

1 min read

mimetype_fu/ is a new plugin I just wrote. It’s simple and it can be really useful if you need to get the mime type of a file already on your server. During one of my project, I add to migrate old assets from a legacy system to a new Rails app. The new app uses attachment fu and even though…

6 Jun 2007

1 min read

Recently I helped few people moving to Rails Edge and start using RSpec. I realized that I learned few tricks and even if for me everything seemed quite simple, things are not that simple when you recently started with Rails. This would work on Mac and Linux, sorry Windows users, you’ll have to slightly change the code below. Live on…

2 Jun 2007

1 min read

The guys at integrum launched their resources site as promised. — CHECK IT OUT — There’s not much there yet but I would recommend to subscribe to their feed!

26 May 2007

1 min read

I’m quite glad to let you know that my first patch made it to Rails Edge. UPDATE: Ryan Daigle covered the new added features in his blog How cool is that? That’s a great achievement that I owe to josh Knowles and Josh Susser Josh Knowles and Matt Heidemann from Integrum started working on rake_tasks a little while ago. I…

22 May 2007

1 min read

Josh knowles and Matt Heidemann from Integrum and I released few weeks a go a cool plugin called rake_tasks The thing is that the plugin was getting too big when I started hacking the MySQL adapter and adding utf-8 support we figured out it was smarter to split the plugin and create db_tasks and svn_tasks I temporarily hosted db_tasks there:…

15 May 2007

1 min read

I’ve been recently slightly annoyed by the lack of simple yet powerful internationalization/localization plugin for Rails. It seems like the only real solution out there is Globalize However, it’s a heavy, bloated, hard to setup plugin. I might seem to complain, but I’m actually glad that someone came up with a decent solution. Globalize is quite powerful but I would…

11 May 2007

1 min read

This morning I couldn’t remember how to get an array with only the unique properties of a Model attribute. For instance, I have a User model, and I want to retrieve the list of all my users' cities. I also don’t want to retrieve all the attributes and only the unique rows. in my model: <code>def self.cities User.find(:all, :select =>…

9 May 2007

1 min read

I’m working on a Rails project and I need to make sure that our code is compatible with PostgreSQL. I never installed/used before and since I’m lazy and rely on other people knowledge, I decided to install Postgresql using MacPort. It was actually simpler than I expected. I simply followed this post and almost everything went ok. <code>sudo port install…

26 Apr 2007

1 min read

DrNic the most famous Australian Rails developer surprisingly doesn’t spend most of his time working on Rails read interview That’s maybe why he recently became so active in the Rails community ( see Magic Multi-Connections, Magic Models, map_by_methods, Gem Generator etc..) Today he released something very helpful for the Rails Community, not another Gem or another cool plugin to extend…

18 Apr 2007

1 min read

I recently realized that a lot of people using RSpec didn’t use the great TextMate bundle designed for them. You might not think you need an extra bundle, or maybe you never used a bundle ever and don’t know why you would try one. I’ll try to change your mind, let’s look at some screenshots first: This is what you…

9 Apr 2007

1 min read

With the recent Buzz around Adobe Apollo I figured out that since I recently switched to Mac and that I didn’t try the latest Flex upgrade, I should try Flex 2.01 for Mac. I really like what Adobe did with Flex, Unit testing, better accessibility, etc… but one thing I regret, it’s getting closer and closer to Java and AS3…

4 Apr 2007

2 Apr 2007

30 Mar 2007

1 min read

I recently started working on migrating an old PHP based application to a new sexy Rails app. The old model was kind of messy, the usual case of bloated, feature creep app written by many people without any standard conventions. Anyway, I have to migrate users and content from many sites using the legacy app. Data Structure Instead of having…

1 min read

UPDATE: Aslak Hellesoy just mentioned in a comment that the trunk version of RSpec bundle for TextMate ( svn://rubyforge.org/var/svn/rspec/trunk ) doesn’t require the RSpec Gem installed anymore. To install the bundle: <code> cd ~/Library/Application\ Support/TextMate/Bundles/ svn co svn://rubyforge.org/var/svn/rspec/branches/0.9-dev/RSpec.tmbundle </code> I recently discovered RSpec, well, not really, but I finally got to start using RSpec. For those who don’t know RSpec…

25 Feb 2007

15 Feb 2007

11 Feb 2007

1 min read

I’m taking 6.170 Lab in Software Engineering this semester. The course sucks in various ways, but one of the most egregious, in my opinion, is that they force you to use CVS for your version control. Problem sets are distributed by the TAs importing them into your repository, and are then checked out later to be graded. Well, CVS sucks,…

7 Jan 2007

7 Nov 2006

24 Oct 2006

16 Sept 2006

1 min read

A grape-fully delicious journey through French wine grapes.

30 Jun 2006

1 min read

I went to a talk about food and wine pairing, it was surprsingly interesting

15 May 2006

13 May 2006

9 May 2006

10 Apr 2006

31 Mar 2006

26 Mar 2006

19 Mar 2006

12 Mar 2006

11 Mar 2006

8 Mar 2006

18 Feb 2006

16 Feb 2006

15 Feb 2006

1 Feb 2006

9 min read

Archived from an unknown source. Possibly Gravitron? In regards for history: Chapter #1 (Around) December 1995 is when it all started. Rod Humble wished to create something like Air Warrior but online, he approached Virgin Interactive Entertainment with the idea and they replied with something along the lines of "here's the cash, good luck". Rod called Jeff Petersen and asked…

2 Jan 2006

1 Jan 2006

1 min read

Awake, alert, and ready to tackle the day - a blog post on staying sharp during continuous operations

29 Nov 2005

1 min read

Uncovering Java Project Dependencies: A Powerful Python Tool.

13 Nov 2005

1 min read

"Embracing Contradictions: The Key to Unleashing Creativity"

9 Nov 2005

7 Nov 2005

30 Oct 2005

23 Oct 2005

1 min read

The Enduring Importance of Sea Power: Controlling Access, Enabling Global Trade.

1 min read

Blending technology, tactics, and doctrine: The evolution of land warfare.

1 min read

Derivatives: Unlocking financial flexibility through swaps, futures, and options.

1 min read

Definitions and details of the financial world, with no guarantee of accuracy.

1 min read

Designing intuitive user interfaces for effortless experiences.

1 min read

Streamlining productivity: a system inspired by "Getting Things Done".

1 min read

Wear sunscreen and take life's advice with a grain of salt.

20 Oct 2005

15 Dec 2003

0xADADA 15 min read

This paper documents the creation and testing of a game playing artificial intelligence (AI) agent program. The agent is designed to play a game of Connect Four by Milton-Bradley. The game is played by dropping pieces into a game board consisting of a grid of 6x7 slots. The object is to make a vertical, horizontal or diagonal line of four…

projectsartificial intelligencesoftware engineering

14 Dec 2003

0xADADA 23 min read

A Literature Review The purpose of this paper is to provide an overview of the existing literature concerning speech segmentation, categorical perception, and some other issues concerning bilinguals of English and Japanese. It will touch on some of the differences in the two languages and how they affect learning the L2. The paper will start by providing background information about…

essaysjapanesesociology

1 Jan 2003

0xADADA 15 min read

Introduction Hikikomori (Jap. 引きこもり) and otaku (Jap. おたく) are considered today’s most prominent social problems. Hikikomori refers to the recent state of middle and high school students who drop out of school, and withdraw completely from society. Otaku are the deeply obsessed fans of a particular subject who commit their free time (and sometimes lives) to the complete memorization of…

essayshikikomoriotakuburakuminsociology

1 Jan 2001

1 min read

My long-term goal is to become a full-time open-sourcerer. If you like my work, consider donating, gifting a book or buying my apps. Thanks a ton 💙 Buy my apps GoReleaser Pro Donations GitHub Sponsors PayPal Bitcoin (BTC): bc1qpqpfxqs20ntktmfmaqf4290tc84cdmdaedwd06 Nominate me as a GitHub Star This costs you nothing, and will still be greatly appreciated! 🫶 You can nominate me…

1 min read

I create, maintain, and operate software. I currently work at GitHub and maintain GoReleaser. I also have my own silly little software company. When not working, I may just be out there being a dad, reading books, getting beat up at Jiu-Jitsu1, lifting (rather heavy) weights2, or just generally touching grass. I’m interested in programming languages, Zeichenorientierte Benutzerschnittstellen3, containers, distributed…

1 min read

More-or-less updated list of stars on some repositories I work on: goreleaser Repository Stars goreleaser/goreleaser 15854 goreleaser/nfpm 2570 goreleaser/goreleaser-action 1010 goreleaser/chglog 284 goreleaser/goreleaser-cross 190 goreleaser/example-zig-cgo 130 goreleaser/fileglob 70 goreleaser/goreleaser-pro 70 goreleaser/example-supply-chain 60 (40 other repositories with <50 stars) 225 - 20463 caarlos0 Repository Stars caarlos0/env 6216 caarlos0/starcharts 1420 caarlos0/svu 837 caarlos0/time

1 min read

Apps libredesk ★ 2554 Go Open source, self-hosted omnichannel customer support desk. Live chat, email, and more in a single binary. GNU Affero General Public License v3.0 Last updated on June 6, 2026 flowctl ★ 316 Go An open source self-service workflow execution platform Apache License 2.0 Last updated on June 6, 2026 whatomate ★ 1257 Go Whatomate is an…

1 min read

Languages Go Python Java JavaScript Dart Databases PostgreSQL ClickHouse Redis SSDB ScyllaDB DuckDB MySQL Webservers and proxies Nginx HAProxy Kong Streams & Queues NATS Kafka Redpanda Console UI Benthos Observability & Monitoring Vector Grafana VictoriaMetrics Alertmanager Sentry DevOps & CI/CD Rundeck GitLab Airflow Salt Stack GLPI Nomad Fastlane Gitlab Runner Web & Mobile frameworks VueJS Django Frappe Flask Flutter E-mailing…

31 Dec 1979