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 1 of 8).

Post navigation

Tabbed list to HTML in CoffeeScript

A friend asked for a script to converted a tabbed list of data to a nested HTML list. Here it is: //codepen.io/jamiely/pen/AbEjd. Before working on this, I didn’t know CodePen had live CoffeeScript editing. That feature moves it into the favorite spot above jsfiddle for live code editing. Given a sample of text like this: Convert […]

in Programming | 641 Words

Setting up a MonoGame Mac Application with Xamarin Studio

Intro I wanted to try out the MonoGame framework, which allows for creating cross-platform games based on the XNA API. It wasn’t straightforward for me to run a Mac example (on OS X Mountain Lion). There were a number of steps I had to go through to get things working, including combing through forum posts. […]

in Software | 408 Words

Tetris Attack ClojureScript Update – Performance Update

Intro See my previous posts about a Tetris Attack implementation in ClojureScript. The game (as of tag v1.0.3) runs decently on my MacBook Air running Chrome 26. In FireFox 18, the game kind of crawls. Let’s try to figure out the problem. I’ll be looking at project tag v1.0.3. Open Chrome DevTools. Navigate to the […]

in Software | 639 Words

Tetris Attack ClojureScript Update – Garbage Blocks

In this v1.0.3 update to Tetris Attack Clojurescript, I implemented Garbage Blocks. In Tetris Attack, Garbage Blocks are dropped onto your playing field when your opponent makes a match. The dimensions of the block depend on the nature of your opponent’s match, whether it was a combo or a chain match. For now, I’ve implemented […]

in Software | 185 Words

ClojureScript – Tetris Attack

Intro Having completed a simple implementation of the game Breakout in Clojure, I decided my next Clojure project should be doing something with ClojureScript. Not only would it provide an opportunity to continue Clojure practice, but I’d be able to leverage existing knowledge I have about JavaScript (probably the language I am most familiar with), […]

in Software | 699 Words

Updating an old Flash project

In 2004, I wrote an implementation of Tetris in ActionScript 2 using Flash MX. I had thought the source code lost until just a few months ago. Upon finding that source, I immediately uploaded it to Github. Not too long afterwards, I tried to upon the .fla in the most recent version of Flash, without […]

in Software | 514 Words

Simulator Ruby Gem

Intro I’ve been working on this off and on for awhile. Simulator is a Ruby gem which provides functionality for creating discrete time models, and running those models. You can find the Homepage for the Simulator gem on Github. Take the following two examples included with the gem. Ball Drop Let’s say we want to model a […]

in Libraries | 816 Words

iOS App: Bunny Matcher

Introduction I recently finished a game for iOS called Bunny Matcher. This will probably be my last iOS app for awhile, as I want to do more Android development. I’m also ramping up with my new job doing iOS development, so I get plenty of practice with Objective-C every day. Bunny Matcher has the same […]

in Software | 1,570 Words

Clojure Breakout

I have been wanting to write some more Clojure code for awhile. Since I got a (somewhat) playable version of the Haskell Draughts implementation working, that gave me the time to do something short in Clojure. Although I have written some Clojure before for Project Euler, a lot of it was non-idiomatic, and I have […]

in Software | 492 Words

Haskell Draughts

I began this several months after a class I took on functional programming in Haskell. Learning Haskell was a huge eye opener in terms of thinking about programming and seeing what is out there. I’ve been working on it off (mostly off) and on since then, and finished a playable implementation this week. Especially after […]

in Software | 267 Words

Jumbly: A Jumble Game for iOS

I’ve been working on building my mobile development portfolio. While reviewing my repositories on GitHub, I came across a word game I wrote in ColdFusion for a presentation about Regular Expressions. I figured it might make a decent game, so I chose to implement it as my next iOS application. Jumbly is a word jumble-type […]

in Software | 269 Words

Font Awesome Browser

I recently wanted to use one of the glyphs from the Font Awesome font as an icon. I didn’t have a good way to create the icon, as I couldn’t figure out which glyphs corresponded to which keys, with the FontAwesome.ttf file. The fontawesome-webfont.ttf was more straightforward, as the unicode character codes are provided in […]

in Software | 141 Words

Buzzy Bingo

I was chatting with a co-worker the other day about project management, and we mentioned the prevalence of buzzwords. Then, we mentioned Buzzword Bingo, and I decided that to implement a Bingo application as an iOS app. I looked up Buzzword Bingo in the app store and only saw two implementations. I figured I’d write […]

in Software | 141 Words

Connect Four Objective-C Implementation

I’ve been doing more Objective-C development and have been looking into testing frameworks to use with my applications. One of these is called Frank. It allows for functional testing of native iOS apps via cucumber. Another testing framework I wanted to practice with is OCUnit, which is integrated into XCode. I decided to create another […]

in Programming | 98 Words

Detecting a Table Cell Checkmark with Frank Cucumber

Frank allows you to test native iOS applications using Cucumber. I’m pretty comfortable with Cucumber already from work with Rails, so I have been excited to try Frank out. It works by compiling your native application with an HTTP Server that your tests interact with to inspect the state of your application. It includes another […]

in Programming Tools | 304 Words

Post navigation

Archives

Independent Publisher empowered by WordPress