Jamie Ly

Jamie Ly

Developer, student, person

Skip to content
  • Arts/Crafts
  • Programs
  • Writings
  • About

Programming

There are 108 posts filed in Programming (this is page 2 of 8).

Post navigation

Generating offline maps for iOS applications

Introduction Recently, I had to implement an offline mapping solution for an iOS application. Here’s a walkthrough of how to do it. Summary I generated a tile database using TileMill. I used the Route-Me iOS library which provides a map view that supports offline tile sources. TileMill Actually, generation of the tile database was the […]

in Libraries | 1,142 Words

Corona SDK Error: CGImageDestinationFinalize image destination does not have enough images

I am hacking around with Corona SDK. I got the following error when switching scenes to one that already existed. (I was implementing a “Go Back” button.) The symptom was that a button from a previous scene wasn’t removed from the scene when I called storyboard.gotoScene. The problem was that I wasn’t adding the button […]

in Libraries | 208 Words

Connect-four in Coffeescript using Three.js

Piggybacking on my last post about using Coffeescript to write Connect-four, I decided to create a graphically improved version using Three.js. It’s still really simple and can definitely be improved by a cleaner interface that doesn’t require entering keystrokes into an input box, and also adding physics effects, such as actual falling pieces to make […]

in Software | 94 Words

Connect-four in Coffeescript and Scala

I wanted to work on a small project to improve my coffeescript, so I whipped up a quick implementation of Connect Four. Please note the UI is incredibly bare bones. This was mostly an exercise for language proficiency and testing. I used Jasmine BDD for the tests. Here’s a link to the repo: https://github.com/jamiely/connect-four-coffeescript. Then, […]

in Software | 110 Words

Arduino motorized cart project – Recap

I mentioned an Arduino-based motorized cart wirelessly controlled via an Android application in a previous post. This is a video of the cart in operation. This is what the app looks likes. It’s definitely no-frills. Here’s a description of how some of how to test some of the constituent programs, such as the server which […]

in Programming | 94 Words

Commands of the Week 20120521

Using less with colorized output I use the colordiff command-line program to colorize diff output from diff/svn. I ran into a particularly long diff and tried to use less to read it. The less output was missing all the color. Using the -R option fixes that. -R Repaint the screen, discarding any buffered input. Useful […]

in Programming Tools | 302 Words

NPM, Vagrant Weirdness

I have been using Vagrant to configure a nodejs/redis development server. When I setup my application and ran a npm install on the guest machine based on a local package.json file, I’d get weird installation errors such as npm not being able to find node module package.json files. Another error I’d get intermittently is just […]

in Troubleshooting | 628 Words

Android Paint Application

For our embedded systems class, we had to create a touch-based Paint application. I started out by painting circles to the canvas wherever a touch event occurred. This did not work too well because the lines were not smooth. Next, I decided to draw lines to the canvas. I sample every so often during touch […]

in Software | 89 Words

Arduino motorized cart project

For our embedded systems class, our team decided to work on a project using a mobile phone interface to drive an Arduino-based motorized cart. My first night with the Arduino and cart was very productive. I started experimenting with just the Arduino connected via USB to my MacBook Air. I made the light blink and […]

in Programming | 323 Words

Commands of the week

A weekly listing of commands that are new to me or that I’ve had to refresh myself with. Piping and Grep C Programming SVN Issues on OSX I got an error when trying to operate on an SVN repo over samba: svn: Can’t move ‘.svn/tmp/entries’ to ‘.svn/entries’: Operation not permitted Creating empty directories I needed […]

in administration | 350 Words

Code for America: Philly 2012

This past weekend I attended the Code for America event held at Azavea’s offices around 12th and Callowhill. Their office was spacious and well accommodated, but the wireless was slow during the day. I met a coworker, Hector, there and had some coffee and breakfast. We didn’t really get started until at least quarter of ten, […]

in Programming | 558 Words

How to setup recording via HTTP Proxy using JMeter

Here’s a screencast I recorded showing how to setup an HTTP Proxy to record JMeter samples.

in Programming Tools | 24 Words

Contest Fail

Last weekend I had a few hours to spare, so I decided to work on one of the problems from CodeSprint2, InterviewStreet’s contest to find the best programming talent. Since I didn’t have long to work, I decided to try to complete the algorithm problem with the highest value. I chose to work on Count […]

in Programming | 884 Words

Cocos2d iOS Game: Balloon Burst

My employer gives us a week off for the holidays, so I’d been trying to decide what to do with all of the time. Although I originally didn’t want to work on any programming projects, I wound up working on a few. One of them was inspired by a play of the iOS game Train […]

in Libraries | 682 Words

Haskell Poetry Parser

For our final project for CIS552: Advanced Programming, my partner and I implemented a poetry parser. The program identifies a body of text piped from STDIN as one of: haiku, rhyming poem (aba, or aabba), sonnet, or limerick. The project source is located at: https://github.com/jamiely/poetry-parser. The project involved using the CMU Pronouncing Dictionary found here, creating […]

in Programming | 419 Words

Post navigation

Archives

Independent Publisher empowered by WordPress