With Carrot you have Expressiveness
Carrot gives you systematic expressiveness in the form of diversity, modularity, and individuality. Technically the expressiveness relies on controlled monadic growth. Global variables, file descriptors or object oriented methods and attributes are the most common monads in mainstream computer programs. But they're considered wild. Carrot provides a systematic approach to control their cultivation through providers. It leads to an extended understanding of Object Orientation, among other things. The practical value are innovative applications like the Mica Environment.
Right now only an implementation in Perl 5 is available. Actually Carrot uses a subset of Perl 5. Code and documentation are plain English and should be straighforward to read.
Continue with Carrot for Perl...
Monitor AC and battery state on the Pcduino v3(B)
The Pcduino has a lipo battery interface. But there are a serious caveats. The Pcduino silently assumes that charging is done immediately after discharging. But one can easily think of use cases, where a Pcduino based robot vehicle is lost in the wild for two days. Or a Pcduino based media center with no AC supply over the weekend. In such cases the Pcduino drains the lipo battery empty. Even if the chip or the system are shut down. That's a nasty feature, because once empty (below 3 volts), the lipo battery connected to the Pcduino is not only damaged. It might even catch fire. While this is a worst case scenario, it's also one you don't want to risk just for a toy.
In order to convince the developers to improve the lipo battery handling of the Pcduino, the shell script axp209_monitor.sh was written by me. The script can display, record and evaluate the power related data in the AXP209 chip.
What a contrast to Carrot. Something very practical. So I though I should publish it in the download section.
Information about outdated stuff
Content of this site was between 10 and 20 years old. I felt it was no longer relevant. Most files have been removed from this website recently. Some deep links continue to work, but I'm no longer promoting the material.