I just posted a new video tutorial explaing how to use USB Console on NuttX:
Month: May 2017
How to index files inside your computer
Do you have tons of pdfs in your computer? Me too!
We are used to search in the web to file about the subject we are willing to know. But sometimes it is better to search in the PDFs files we already gathered.
In the past I used to use docFetcher (http://docfetcher.sourceforge.net/en/index.html) to index my files, but this program is heavy, slow (java) and crashes often.
Then today while looking for alternatives I found a program called “recoll”. It is a native program with Qt GUI. And I can install it with a single command:
$ sudo apt-get install recoll
How to highlight lines with more than 80 columns in the Vim
I was looking for a way to see lines longer than 80 columns in VIM and found it.
Just insert it in your ~/.vimrc :
highlight OverLength ctermbg=red ctermfg=white guibg=#592929 match OverLength /\%81v.\+/
Duktape (http://duktape.org/) – A small footprint, easily embeddable Ecmascript E5/E5.1 engine.
Espruino (http://www.espruino.com/) – A very small footprint interpreter specifically for microcontrollers. Can run in less than 8 kB of RAM by executing from source (rather than bytecode).
JerryScript (https://github.com/jerryscript-project/jerryscript) – A very small interpreter developed by Samsung for IoT application.
Kameleon (https://kameleon.io) – This is a fork of JerryScript with a nice web IDE.
MuJS (https://mujs.com/) – A lightweight ECMAScript interpreter library, designed for embedding in other software to extend them with scripting capabilities. Originally developed for MuPDF.
QuickJS (https://bellard.org/quickjs/) – a small JS VM developed by Fabrice Bellard from QEMU fame.
Throwback (https://github.com/getfilament/throwback) – The smallest JS engine for microcontroller, still in early stage of development
So, we have at least 12 JS engine options to use with microcontrollers. From this listing I think JerryScript is a step ahead, but Kameleon is evolving to be a real alternative for embedded systems.