HNHacker News
TopNewBestAskShowJobs

kbr2000

154 karma · joined September 5, 2018

submissionscomments
kbr2000··on Espresso Machine Powered by Tcl/Tk
...While checking the nRF52811 product specification to learn more about this chip, I found out that it contains a Cortex M4 CPU. You can research some of the existing Forths for these processors (myself I find a tethered Forth convenient to work on CPUs like this).
kbr2000··on Espresso Machine Powered by Tcl/Tk
Sounds like you might want to explore Forth a bit. Punyforth on the ESP8266 is a convenient way to try get started hands-on, Jonesforth if you want to learn how you could go about implementing one.

On bigger devices (PC/SBC/...) with an OS, Tcl/Tk is a wonderfully effective programming tool!

kbr2000··on Being Bored Is Good
I can suggest to give Future Shock (1970, Alvin Toffler) a go, it too has some thoughts about the effects of over-stimulation. Good thinking :)
kbr2000··on NASA Insight is on Mars
Actually, it is an X/Motif program, by Bob Deen in 1994 (according to https://www-mipl.jpl.nasa.gov/vicar_os/v1.0/vicar-docs/VICAR...), and remains in use.
kbr2000··on Ask HN: What open source project, in your opinion, has the highest code quality?
Tcl! See https://www.tcl.tk/doc/engManual.pdf to start to understand why. (For code written in Tcl itself there's also some proposed conventions: https://www.tcl.tk/doc/styleGuide.pdf)
kbr2000··on Ask HN: Data diff tool for tabular data?
You could import your daily snapshot in a new SQLite DB everyday, then use the sqldiff utility [https://www.sqlite.org/sqldiff.html].

Another option that might fit would be a sort(1) pass on your TSV files (unless you already ORDER BY on the primary key), then using Awk to detect differences, and immediately print out a list of API commands to update your external DB. Awk conveniently handles tabular data, just set the field-separator (FS) to \t in this case (default it splits on all whitespace).

kbr2000··on PunyForth programming language for the ESP8266
Indeed! Here's two other ones that proved useful and interesting to me:

ARM7/9 types (Cortex like STM32, several NXP LPC, ...): Riscy Pygness - http://pygmy.utoh.org/riscy/

Microchip PIC18/24/30/33 and Atmel Atmega: FlashForth - http://www.flashforth.com/

Enjoy!

kbr2000··on PunyForth programming language for the ESP8266
I was referring to the Forth stack in my question about what was ment with persistence in this particular case.
kbr2000··on PunyForth programming language for the ESP8266
Sure thing, read this: https://github.com/zeroflag/punyforth/wiki/Developing-and-de...
kbr2000··on PunyForth programming language for the ESP8266
Hey, you can access the PunyForth over a TCP session (as implemented here: https://github.com/zeroflag/punyforth/blob/master/arch/esp82...). Not sure what you mean with "persistence", you can write to memory in one session, and read back in another? Or are you talking about the stack here?

EDIT: swapped for correct URL

← PreviousPage 5 of 5