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

Post navigation

OSX Lion Rubygame Install

I tried setting up Rubygame on Snow Leopard this time last year. I had many difficulties setting up SDL. I had some time to kill so I tried to set it up again, this time on my new MacBook Air running Lion. This old blog post from 2005 helped me this time around: //inquirylabs.com/blog2005/?p=21 to […]

in Libraries | 315 Words

Pattern Matching in Haskell

I’ve only been taking one class this semester. It’s an advanced programming course focusing on the functional language Haskell. While I was familiar with some functional concepts such as map, fold, and currying from using Javascript, and lazy-evaluation from dabbling with Clojure, this class has introduced a number of new, intriguing concepts. Not necessarily a […]

in Programming | 250 Words

Sandwich Roulette

Over the weekend I had the idea to create an app which creates a random sandwich for you to get at Wawa. The result is the Sandwich Roulette! Here’s the source on Github.

in Software | 33 Words

Pathfinding – Hide and Seek Game

Intro For the last assignment for CIS564, we created a simple tag/hide-and-seek game using path-finding, and the behavioral steering from the last assignment. A* A* (A-star) is a path-finding algorithm which finds an optimal path between two nodes given a cost function which yields the distance from the start and a good heuristic estimating the […]

in School, Software | 832 Words

Behavioral Animation Project

My most recent assignment for the Game Design class I’m taking is to implement some behavioral animation steering behaviors. The task was to implement steering behaviors such as: seek, flee, separation, avoid, follow the leader, and flocking. We were provided a framework featuring Lenguin characters and a menu like this: and entry points to call […]

in Software | 344 Words

Space Invaders Using Unity

I don’t have much time for a post, so I just wanted to post an assignment I completed for CIS 564 – Game Design, which was to implement a classic game using the Unity Game Engine. Source is available upon request, and here’s a link to the a web version (Unity Player is required). It […]

in Programming Tools | 120 Words

VMWare IIS7 Woes

I spent the last hour trying to setup an IIS7 website running from a VMware Fusion shared folder. Specs: VMware Fusion 3.1.2 MacBook Pro OSX 10.6 Host Win7 Guest IIS 7.0 something I want to edit the website from OSX, so I added the directory as a shared folder. I tried various things to get […]

in Troubleshooting | 200 Words

SQL Server Stem Words

We needed to find related words using the SQL Server FORMSOF function. Although it is used mainly to find related words in bodies of text, we wanted to use it to find related words in a table of just words. Initial approaches focused on finding a SQL Function or table that contained the database of […]

in Troubleshooting | 132 Words

Regex Challenge

A friend asked for a regex that matches a paragraph that contains only upper-case text inside a nested hierarchy of tags. Some examples: Matches: Fail: I came up with the following expression: It doesn’t handle tags interspersed with text or nested paragraph tags. Here’s a sample on Rubular.

in Troubleshooting | 212 Words

Dominos-Style Game

My wife loves PopCap’s game Alchemy. It’s a dominoes-like game, where you match up alchemic symbols and various colors. The object of the game is to turn each board-square from lead to gold. I have been wanting to try out the limejs game library, which is based on Google’s Closure compiler, so I decided to […]

in Libraries | 172 Words

Adding comments to spreadsheets with POI

I was just recently working on a project using NPOI, the .NET equivalent of POI, which is a great library for writing Microsoft Office documents. I was using HSSF, it’s spreadsheet library (Horrible Spreadsheet Format according to Google), and attempting to add Comments to cells. At first I thought it wasn’t working at all. Then […]

in Troubleshooting | 198 Words

Weird Sammy + jQuery on IE error

Here’s a post that might help problems with Sammy routes, callbacks, and event handlers using jQuery, especially the “live” function. I have an input form with submit buttons like: This didn’t play well with Sammy, as it doesn’t load the value of what into it’s params hash. So, I did a work around like: I’m […]

in Troubleshooting | 197 Words

Innovation Tournament

This week I was in San Francisco participating in a Wharton class about innovation. We had a week to sort through various ideas for web products and create a prototype. I worked on two projects. One is a lottery site, with a simple demo available. I got to use the Youtube API for playing a […]

in Software | 134 Words

WP Latex Plugin

I’m been brushing up on my LaTex since I’ve been using a lot more math in class, so I installed the WP Latex plugin. Check out this formula for Thin-Plate spline.

in Programming | 56 Words

WordPress Plugin Patch: Subscribe2

I’m working with a network-enabled site, with admin behind SSL. I created a patch for the subscribe2 plugin (Version 6.0) to improve how it worked with the setup. For example, internal links it created were directed to non-https admin pages, which would cause a redirection. Also, assets such as css were not linked via https, […]

in Programming | 2,695 Words

Post navigation

Archives

Independent Publisher empowered by WordPress