Explore >> Select a destination


You are here

schinckel.net
| | hackaday.io
12.2 parsecs away

Travel
| | I've posted the scripts used to generate the anti-aliased text used in the User Interface. The first is a Photoshop script,CreateFontData.jsx. This makes a set of PNG files, one for each character. The second isConvertText.py, a Python script that takes the output of CreateFontData and generates C code for display the characters on the Epson LCD used in the project. Note these scripts have some hard-coded pathnames in them (to the development folder) but this is pretty easy to find and modify.
| | blog.oddbit.com
13.1 parsecs away

Travel
| | I recently acquired both a Raspberry Pi and a PiFace IO board. I had a rough time finding examples of how to read the input ports via interrupts (rather than periodically polling for values), especially for the newer versions of the PiFace python libraries. After a little research, here's some simple code that will print out pin names as you press the input buttons. Button 3 will cause the code to exit: #!/usr/bin/python import pifacecommon.core import pifacecommon.interrupts import os import time quit =...
| | www.morelightmorelight.com
12.3 parsecs away

Travel
| |
| | www.morling.dev
78.6 parsecs away

Travel
| One of the ultimate strengths of Java is its strong notion of backwards compatibility: Java applications and libraries built many years ago oftentimes run without problems on current JVMs, and the compiler of current JDKs can produce byte code, that is executable with earlier Java versions. For instance, JDK 16 supports byte code levels going back as far as to Java 1.7; But: hic sunt dracones. The emitted byte code level is just one part of the story. It's equally important to consider which APIs of the ...