Software Developer and GNU/Linux specialist

Author Archives: lima

Choice overload

Have you ever gone to a library with no idea what you’re looking for? That’s how I feel when I consider what has happened to the computer industry since I first became aware of it (I was five years old when my dad started teaching me BASIC on a VIC-20 he set up in my […]

Seeing context

I’m standing in a room with a lot of glass and several mirrors at different angles. Looking into a glass pane, I can see my own reflection, but at an unexpected angle. It’s not my straight-on reflection as through a single mirror; it’s very shadowy (it’s glass, after all, and not a mirror) and I […]

Double- versus triple-equals comparators in Javascript

If you’ve never run across the distinction between double-equal and triple-equal comparators, don’t worry. You will sooner or later, because they appear in several languages. Here I’d like to focus on Javascript, because I believe it characterizes a common distinction between the two types. In a nutshell (and who was it who said that anything […]

Angular.js, Select Menus, and User-configurable Option Lists

This isn’t a terribly technical jaunt, but it’s one worth writing down. I had a problem with a select menu in a web app. The problem was that comma-separated input for the options of the select was being incorrectly parsed. For example, suppose I saved a record with the list [“one”, “two”, “three”] (formatted as […]

Toward an Abstraction of the “Facebook Idea”

The phrase “Facebook Idea” has been coined a number of times, most recently (to my knowledge) by me. Others who coined it have defined it in terms of money alone: a Facebook idea is one that will make someone rich. I believe the metaphor has a better use than that, and I want to outline […]

Test Post from UltraBlog

This is just a test post to see what comes out. I just decided to start blogging using ViM, because I keep a lot of technical journal entries here. So now we’ll see if that increases the frequency of my posts. Ciao for nao! Posted via UltraBlog.vim.

Javascript debugging: breakpoints versus print statements

Conventional wisdom holds that print statements are poor practice for debugging code. Proponents of this view, myself included, reason that debugging code should be a nondestructive process. One should not change the code to diagnose it, only to fix it. Under normal deterministic conditions, I see no reason to say otherwise. Print statements are a […]

Smart Little Details

We eat healthy in my home. That’s why my wife and I both like to start our day with a sugary, marshmallow-ridden cereal like Lucky Charms. Today I pulled a new box from above the refrigerator and prepared to open it. The thing is that I hate opening boxes of cereal, because the lid flaps […]