We recently discovered that we would very sporadically get a segmentation fault when running the whole test suite of the VAST Platform (VA Smalltalk) on Linux. During our initial investigation, we realized this was not something new, but that the problem had existed for many years. It happens only on Linux (not Windows), and with … More Segfaults: GDB Scripts to the Rescue
Delegating tasks from high-level languages like the VAST Platform (VA Smalltalk) to languages like C, C++, Rust via some kind of FFI (Foreign Function Interface) is becoming more and more common. Ideally, you would like to have everything implemented in your preferred high-level language, but I believe in using the appropriate tool for each problem. … More “DLL Hell”: Tips & Tricks to Avoid it in VAST
If you are a programmer, I am sure you have found yourself many many times “debugging” a system by writing strings to the console / stdout / file. Those messages were usually something like “passed here!”, “false branch”, “now about to enter loop” and maybe even some “fuc..” or “WTF” too. If you were “lucky” … More It’s 2019: stop reading text and start debugging!
In this post, I will be showing a simple example of object recognition in images using the TensorFlow library from Smalltalk. Doing Machine Learning without Python? With Smalltalk? Seriously? Whenever you start entering the world of AI and Machine Learning you will notice immediately that Python has been widely accepted as the “default” programming language … More Recognizing objects in images with TensorFlow and Smalltalk
Let’s suppose a typical IoT / Edge Computing developer/deployment stack: One (maybe low-level) language with its own syntax and IDE to read/write data from sensors or anything GPIO-related. Another (likely high-level) language / IDE that applies business logic at increasing complexity into the collected data. A database. It’s likely that language 1) and 2) are … More Sensor, process and transparently persist your IoT data with an end-to-end object-oriented system
As I commented in an earlier post, one of the great features VASmalltalk has in the context of IoT, is a wrapper of the C library pigpio which allows us to manage GPIOs as well as their associated protocols like 1-Wire, I2C, etc. In this post we will see the basic setup for getting this … More Beginners guide to GPIO in VASmalltalk
In the previous post, I described why I personally believe that Smalltalk is a good fit for IoT. When we talk about IoT, there are millions of topics we can touch: single board computers, sensors, security, protocols, edge computing, GPIOs, AI, and so on… But one device in particular that changed the world is the … More Getting started with VASmalltalk, Raspberry Pi and other devices
I was gonna start a series of posts about Smalltalk, IoT, Edge Computing, Raspberry Pi, etc. But before that, I would like to answer a question that I am asked each time I present something related with these topics. Why is Smalltalk a good fit for IoT and edge computing? Does it have unique features … More Why is Smalltalk a good fit for IoT and edge computing?
Previously… In the previous post we saw an introduction to Docker and Linux containers and one possible usage for Smalltalk. We saw how to create the Dockerfile for a Seaside web application developed and running within VASmalltalk , build a Docker image, and finally run a container with it. However, one of the conclusions from … More Now, single-node Docker Swarm and Smalltalk
What is Docker and Linux Containers? Linux containers are a way of virtualization that has been around since quite some time already. Compared to the classical “Virtual Machine” like VMWare, VirtualBox etc that are bulky and heavy to run, containers are lightweight, much smaller and they share the host’s kernel. That is, X number of … More Getting started with Docker and Smalltalk!