Jamie Ly

Jamie Ly

Developer, student, person

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

javascript

There are 15 posts tagged javascript.

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

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

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

Mobile JS Framework Comparison

I did a quick matrix to compare various mobile JS frameworks in late May. It is probably a little outdated, especially with the recent Sencha merger, and I did not know DashCode could create web applications at the time, but maybe it will help someone. Enjoy! //bit.ly/d6Gsaj

in Libraries | 51 Words

Word Jumble Game: Part 5

I used jQuery for the UI. I am a recent convert to jQuery, having mostly used Prototype + Scriptaculous. The word list is embedded into the page script as a javascript array. On document ready, html is generated, which writes the first and last word to the page, and creates blank input boxes for the […]

in Software | 129 Words

Date Validation in ColdFusion

Someone asked me about Date Validation the other day. Here are two simple approaches for use in your CF apps. Assume that the strDate variable contains your date. On the server-side, you may use IsDate(strDate). On the client side, !isNaN(new Date(strDate)). I don’t know for sure if the client-side code is the best way to […]

in Programming | 225 Words

Bubble Breaker Using Canvas!

I wanted to try out some canvas element functionality, given that I have a feeling it will steal a lot of Flash’s thunder. I whipped up a bubble-breaker game (the mechanic should be very familiar to you) in a few hours. Enjoy the demo! I may do a quick write up at a later point. […]

in Programming, Software | 97 Words

CiteThis! Update 0.17

I modified CiteThis! with the following features this weekend: Added a citation list box, where you can queue all your citations. Removed the custom citation box from the preferences pane (it was not of use anymore) Fixed APA citation format to include last accessed date. Added some handling of author/titles: If title includes the host […]

in Software | 140 Words

CiteThis! Update 0.16

I made an update at the request of someone who e-mailed me.  This post describes this version: Custom citation formatting broken! (Will be addressed in next update.) Added variable citations depending on what fields are specified Added custom date formatting based on datejs Added custom handling of Wikipedia citations https://addons.mozilla.org/en-US/firefox/addon/7972

in Software | 56 Words

Update to CiteThis!

I updated my CiteThis! Firefox Extension with a few of the following features: Several updates including: Created preferences pane to allow selection of different reference styles Provided option for a customized citation string Implement some automatic author discovery for the page Improved performance by avoiding updates when hidden https://addons.mozilla.org/en-US/firefox/addon/7972

in Programming, Software | 55 Words

Sicbo Facebook Application

This is a Facebook application I wrote after the Thirteen application. It improves upon the first Facebook App with a new architecture. Animation uses the Facebook Animation library, and rendering is done via Smarty PHP Template engine. Lots of work went into the architecture, and there is even a localization scheme built in.

in Software | 53 Words

Facebook Thirteen Application

This application was written primarily as an exercise in creating Facebook Applications. It was very instructive! Here is the project blog if you’d like more details //thirteengame.blogspot.com/. It is an adaptation of a web app I originally wrote in 2007. You may play either by logging into Facebook and trying it out, or logging in […]

in Software | 89 Words

Javascript Gaussian/Banker’s Rounding

Here’s a function for Gaussian/Banker’s Rounding in Javascript adapted from code written by Michael Boon at //boonedocks.net/. This can be useful if you’re working with Microsoft languages such as VBScript, which use Banker’s Rounding by default in their Round function. Javascript has no built-in gaussian rounding and, instead, uses Arithmetic rounding. For more information on […]

in Libraries, Programming | 378 Words

JSXGraph

Awesome JS graphics library compatible with JQuery and Prototype. JSXGraph » Examples

in Libraries | 11 Words

CiteThis! Firefox Extension

This extension will add a bar below the status bar that you may use to assist you in citing the web page you are on. There are other extensions which are more full featured, but this is plain and simple for many needs. You can find the Mozilla page for this add-on at https://addons.mozilla.org/en-US/firefox/addon/7972.

in Software | 66 Words

Archives

Independent Publisher empowered by WordPress