Tag: Technical

  • Hebrew Date v1.0.1

    Based on an idea I “borrowed” from Jacob Fresco, I’ve added the ability to insert the current Hebrew Date (with sunset correction!) anywhere in a theme. Simply add <?php if (function_exists(‘hebrewDateCurrent’)) { hebrewDateCurrent();} ?> to a theme. The code can be downloaded Hebrew Dates release page under the Software section. The code needs some major […]

  • Hebrew Date 1.0.0 Released

    As you may have seen earlier, I’d picked up development of the Hebrew Date plugin from KosherJava. Today, I’m officially releasing version 1.0.0. Much of the logic is rewritten, but most of the credit goes to KosherJava! To install, download the plugin (from here),activate, and enjoy! There are lots of fun config options under the […]

  • Serial Port Data Logging

    I recently needed an application to save data from a serial port to a text file. Although most terminal emulators like ProComm can handle this, it’s quite a lot of overhead for such a simple task. I came up with the following solution, which works for Windows only (b/c 90% of the interesting code is […]

  • Identifying Big Endian or Little Endian Progmatically

    Most (99%+) of microprocessors available to the consumer and/or embedded market are either Big Endian or Little Endian; this almost never actually matters. However, sometimes one needs to write endian specific code. Here’s how to have code identify if it’s running on a big endian or little endian machine:

  • Duff’s Device

    No C programmer can call himself (or herself) a real programmer without having seen (and been amazed by) Duff’s Device. It was invented as a more efficient alternative to regular loop unrolling used in copying bytes from memory to a register (each byte went to the same address in memory), by handling the case when […]