Skip to content

{ Author Archives }

Minor update to flexcal

Updated flexcal to 1.2.1; nothing major, just changed the Hebrew numbers to use the technically correct Unicode code points HEBREW PUNCTUATION GERESH (׳ ׳) and HEBREW PUNCTUATION GERSHAYIM (״ ״) rather than single and double quotes. Also similarly updated the Hebrew keyboard.

Creative Commons Ketubah and Tenaim Texts

This doesn't belong in a programming blog, but I wanted this out there on the web. I recently had a need for the Hebrew text of the traditional marriage documents, the ketubah and tenaim, and was very surprised that they are nowhere to be found, at least with my Google-fu. So I transcribed them and [...]

flexcal package

There's been some interest in putting flexcal and all its dependencies into a single file (that would be jquery.ui.subclass.js, jquery.textpopup.js, jquery.flexcal.js, and flexcal.html). The problem with putting it all into a ZIP file is keeping it updated; I don't have an automated make-like system and there's no way I'm going to remember to keep the [...]

The New Amazon Advertising API

I use Ulrich Mierendorff's aws_signed_request to create my Amazon Wishlist Widget. But Amazon just changed the terms of their API (which they do with frightening regularity). Luckily, it's a small change: each request now requires an Associate Tag in addition to the AWS key and encryption with the AWS secret key. But if you want [...]

A flexcal Example

I've had some questions about extending flexcal so I created one that combines filtering, output formatting and drop-down menus. The filtering will only allow dates going back 17 years, and the calendar will start on that date. The formatting will use European dates (d/m/y). The drop-down menus will be the ones from the original post, [...]

Updated flexcal and textpopup, again

In a major burst of middle-of-the-night hacking, I've updated flexcal to better handle changing options after instantiation and added a current option, representing the currently highlighted date. I also updated textpopup with a new option, box that allows you to set the popup's container, useful for inline widgets. The flexcal API examples use it for [...]

The flexcal API and an inline flexcal

My flexcal plugin exposes a few useful methods, which I have not documented elsewhere. They are called, like all jQuery UI widget methods, by creating the widget: cal = $('input.date').flexcal() then invoking the method: cal.flexcal('setDate', '10/25/2011').

Weird bug with chili and Firefox

Update: I haven't figured it out, but I did get a workaround. The bug is that any unmatched end of text leads to deleted characters in the middle of the text, so I added a line $.chili.recipes[recipeName]._main.endoftext = {_match: /$/}; to the downloadRecipe method, and now the bug doesn't show up. I'm running Firefox 7.0.1 [...]

Updated flexcal

For those following flexcal, my jQuery UI date picker, I've just released version 1.3. It fixes a bug in the setDate routine that would cause it to fail if called before the calendar was shown, and added date filtering. See the original post (now updated) for details.

Fractions and Units in PHP

For the bililite webservices, I kept all the data in what I would call "standard" American medical units, centimeters for height, kilograms for weight, mmHg for blood pressure, mg/dl for bilirubin. But lots of doctors use pounds and inches, and it would be nice to allow those as well. I could have separate data entry [...]