Pages Menu
TwitterRssFacebook
Categories Menu

Blog

Designing a Notes iPhone web app

Posted by on 11:17 in Technology | 0 comments

Designing a Notes iPhone web app

“A pedagogical decision hides behind every design decision” -Dan Meyer For the last few weekends, I’ve been coding in the early mornings while my wife sleeps beside me, working on a replacement for the broken built-in Notes app on her iPhone. My replacement is usable and stable at this point, and I’m just putting the final polish on the code to remove duplication, improve comments, delete orphan code, etc. The tools I used to design this are the same as the diet tracker app I wrote for her to track her protein and...

read more

Emulating iPhone rotating buttons with HTML5 canvases

Posted by on 13:31 in Technology | 0 comments

Emulating iPhone rotating buttons with HTML5 canvases

This is a quick proof of concept tested with Chrome and Safari (which might also work in Firefox… testers?). I’m using timeouts and HTML5 canvas operations to spin buttons, and some DOM tomfoolery to add and remove rows to the document’s body. The end result is an approximation of some iPhone settings screens that make you unlock delete buttons before you can remove items. Enjoy!

read more

HTML5 Web Databases in Chrome, round 1

Posted by on 13:15 in Technology | 0 comments

HTML5 Web Databases in Chrome, round 1

New fact of life: To keep up with modern web programming, you need to get your head around asynchronous callbacks. To illustrate, here is a quick script I wrote to experiment with Chrome’s JavaScript calls into it’s SQLite implementation: var output = null; function onSuccess(transaction, result) { output = result.rows.item(0).sql; console.log(‘onSuccess completed’); } function getDB(dbName) { var fm = 5*1024*1024; // Five Megs var db = openDatabase(dbName, ’1.0′, dbName,...

read more

Rage against the Pitocin-Cesarean Complex

Posted by on 11:13 in Technology | 0 comments

(and how I wrote my first iPhone web app) “So I got me a pen and a paper and I made up my own little sign. I said thank you Lord for thinking about me, I’m alive and doing fine.” – Five Man Electrical Band Before rambling about my latest tinkerings, I have a small announcement: My wife and I decided to have a baby. She asked me not to make a big deal about it online, not post a broadcast “guess what?!?!” message on Facebook, and in the spirit of that I won’t make flowery pronouncements here about the...

read more

Success through embracing mistakes

Posted by on 23:57 in Technology | 0 comments

“The dogmas of the quiet past, are inadequate to the stormy present. The occasion is piled high with difficulty, and we must rise — with the occasion. As our case is new, so we must think anew, and act anew. We must disenthrall ourselves, and then we shall save our country.” – Abraham Lincoln “I hate math, dad” my daughter said to me a few days ago. It wasn’t really a shock to hear it, rather it was the final nail in the coffin, which I’d seen coming for the last few years. The middle school...

read more

4,046

Posted by on 13:31 in Technology | 0 comments

I’ve disabled this blog’s Google Analytics feed. The feed assures me that there were 4,046 visits here over the past year, most of which occurred after a swell of visits in August ’10 when I started posting about various coding experiments I was working on. From that time forward, there were over 100 visits per week to the site, most of which turned out not to be loyal fans, but rather one time visits referred here by search engines. It turns out that Google was ranking me fairly high on some search terms, and when I noticed...

read more

OSU Math Placement B-test, 1 of ???

Posted by on 10:42 in General | 0 comments

A little experiment with Google Docs, Wikipedia’s TeX engine for rendering math equations, and trying to help my wife pass her college math requirements. Where’s that Check 21 2 of 2 I promised for yesterday? Still coming, I just need to get my inspiration back after a few, um, let’s call them “challenging” weeks at my day job. Anyway, enjoy!

read more

Adventures in Barretting

Posted by on 17:13 in Technology | 0 comments

In an attempt to be funny, I made up the term “Barretting” to describe the act of driving to Tennessee to see my friend Chris Barrett. My wife, Liberty, and I had some fun throughout the week using the term whenever it would fit. “Well, we don’t need to stop at the store on Friday, we can get to that when we’re back from Barretting.” Chris introduced us to the “Flying Saucer” pub last year, which has a giant wall full of taps (possibly 20 or 30), as well as friendly wait-staff, not too intolerable prices, and a 100-beer tour...

read more

Check 21 Java app – 1 of 2

Posted by on 13:14 in Technology | 0 comments

Extracting data and images from Image Cash Letter files Background There are many terms relating to Image Cash Letter files: Check 21, DSTU X9.37, X9.100-187, and check truncation, to name a few. “Check 21″ refers to an act passed in 2003. From Wikipedia’s “Check 21 Act” article: The Check Clearing for the 21st Century Act (or Check 21 Act) is a United States federal law, Pub.L. 108-100 … The law allows the recipient of the original paper check to create a digital version of the original check—called a...

read more

Java greyscale conversion

Posted by on 14:31 in Technology | 0 comments

Using Java, how do you convert a color image to greyscale? The most straightforward answer I’ve found was on Code Beach, and is as follows: BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_BYTE_GRAY); Graphics g = image.getGraphics(); g.drawImage(colorImage, 0, 0, null); g.dispose(); Create a BufferedImage of type TYPE_BYTE_GRAY, and grab its Graphics object. Draw the color image onto it. Fin. The described method uses a small amount of client code for a fast, good quality greyscale conversion, but a lot...

read more

Blog

Designing a Notes iPhone web app

Posted by on 11:17 in Technology | 0 comments

Designing a Notes iPhone web app

“A pedagogical decision hides behind every design decision” -Dan Meyer For the last few weekends, I’ve been coding in the early mornings while my wife sleeps beside me, working on a replacement for the broken built-in Notes app on her iPhone. My replacement is usable and stable at this point, and I’m just putting the final polish on the code to remove duplication, improve comments, delete orphan code, etc. The tools I used to design this are the same as the diet tracker app I wrote for her to track her protein and...

read more

Emulating iPhone rotating buttons with HTML5 canvases

Posted by on 13:31 in Technology | 0 comments

Emulating iPhone rotating buttons with HTML5 canvases

This is a quick proof of concept tested with Chrome and Safari (which might also work in Firefox… testers?). I’m using timeouts and HTML5 canvas operations to spin buttons, and some DOM tomfoolery to add and remove rows to the document’s body. The end result is an approximation of some iPhone settings screens that make you unlock delete buttons before you can remove items. Enjoy!

read more

HTML5 Web Databases in Chrome, round 1

Posted by on 13:15 in Technology | 0 comments

HTML5 Web Databases in Chrome, round 1

New fact of life: To keep up with modern web programming, you need to get your head around asynchronous callbacks. To illustrate, here is a quick script I wrote to experiment with Chrome’s JavaScript calls into it’s SQLite implementation: var output = null; function onSuccess(transaction, result) { output = result.rows.item(0).sql; console.log(‘onSuccess completed’); } function getDB(dbName) { var fm = 5*1024*1024; // Five Megs var db = openDatabase(dbName, ’1.0′, dbName,...

read more

Rage against the Pitocin-Cesarean Complex

Posted by on 11:13 in Technology | 0 comments

(and how I wrote my first iPhone web app) “So I got me a pen and a paper and I made up my own little sign. I said thank you Lord for thinking about me, I’m alive and doing fine.” – Five Man Electrical Band Before rambling about my latest tinkerings, I have a small announcement: My wife and I decided to have a baby. She asked me not to make a big deal about it online, not post a broadcast “guess what?!?!” message on Facebook, and in the spirit of that I won’t make flowery pronouncements here about the...

read more

Success through embracing mistakes

Posted by on 23:57 in Technology | 0 comments

“The dogmas of the quiet past, are inadequate to the stormy present. The occasion is piled high with difficulty, and we must rise — with the occasion. As our case is new, so we must think anew, and act anew. We must disenthrall ourselves, and then we shall save our country.” – Abraham Lincoln “I hate math, dad” my daughter said to me a few days ago. It wasn’t really a shock to hear it, rather it was the final nail in the coffin, which I’d seen coming for the last few years. The middle school...

read more

4,046

Posted by on 13:31 in Technology | 0 comments

I’ve disabled this blog’s Google Analytics feed. The feed assures me that there were 4,046 visits here over the past year, most of which occurred after a swell of visits in August ’10 when I started posting about various coding experiments I was working on. From that time forward, there were over 100 visits per week to the site, most of which turned out not to be loyal fans, but rather one time visits referred here by search engines. It turns out that Google was ranking me fairly high on some search terms, and when I noticed...

read more

OSU Math Placement B-test, 1 of ???

Posted by on 10:42 in General | 0 comments

A little experiment with Google Docs, Wikipedia’s TeX engine for rendering math equations, and trying to help my wife pass her college math requirements. Where’s that Check 21 2 of 2 I promised for yesterday? Still coming, I just need to get my inspiration back after a few, um, let’s call them “challenging” weeks at my day job. Anyway, enjoy!

read more

Adventures in Barretting

Posted by on 17:13 in Technology | 0 comments

In an attempt to be funny, I made up the term “Barretting” to describe the act of driving to Tennessee to see my friend Chris Barrett. My wife, Liberty, and I had some fun throughout the week using the term whenever it would fit. “Well, we don’t need to stop at the store on Friday, we can get to that when we’re back from Barretting.” Chris introduced us to the “Flying Saucer” pub last year, which has a giant wall full of taps (possibly 20 or 30), as well as friendly wait-staff, not too intolerable prices, and a 100-beer tour...

read more

Check 21 Java app – 1 of 2

Posted by on 13:14 in Technology | 0 comments

Extracting data and images from Image Cash Letter files Background There are many terms relating to Image Cash Letter files: Check 21, DSTU X9.37, X9.100-187, and check truncation, to name a few. “Check 21″ refers to an act passed in 2003. From Wikipedia’s “Check 21 Act” article: The Check Clearing for the 21st Century Act (or Check 21 Act) is a United States federal law, Pub.L. 108-100 … The law allows the recipient of the original paper check to create a digital version of the original check—called a...

read more

Java greyscale conversion

Posted by on 14:31 in Technology | 0 comments

Using Java, how do you convert a color image to greyscale? The most straightforward answer I’ve found was on Code Beach, and is as follows: BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_BYTE_GRAY); Graphics g = image.getGraphics(); g.drawImage(colorImage, 0, 0, null); g.dispose(); Create a BufferedImage of type TYPE_BYTE_GRAY, and grab its Graphics object. Draw the color image onto it. Fin. The described method uses a small amount of client code for a fast, good quality greyscale conversion, but a lot...

read more