Vacatronics is a publication to share content and knowledge about programming, electronic, and technology in general. We’re always looking for great content that make us grow as a community.
Some topics we like and are interested in that you can write about:
The Internet of Things, or IoT, is already a reality. You are probably using one (or more) IoT device right now, or at least, have been benefited by one. And this market tends only to grow.
Generally speaking, the internet of things is a network of physical objects that enables these objects to create and exchange data.
In a culture based on productivity, most of the time, practice is left aside. It is sometimes considered a waste of time, especially for those with more years of experience.
I’m not talking about just playing or doing something. I’m talking about deliberately practicing an activity. About the fundamentals. The basics of your profession.
For high-performing athletes, this is taken seriously. They understand the importance of practicing the most basic fundamentals of their sports — especially those ones who are on the top.
Steph Curry, the best shooter in NBA history, practice up to 500 shots a day. Muhammad Ali, one of the best boxers of all time, dedicated 20 minutes to jumping rope. Roger Federer, the best tennis player of all time, practices his balance volleying in a trampoline. …
As stated in the language specification:
Struct is a sequence of named elements, called fields, each of which has a name and a type.
A struct is used when you want to define a schema for your data, made of different properties (fields).
A field can be identified:
Personstruct above, all the fields are declared in the same struct.
Userstruct, it embeds the fields from the
Personstruct. It is also known as embedded fields. …
But it can have some performance issues when we are talking about more intensive use, like 3D games, computer vision, and image editing.
WebAssembly is meant to solve this problem.
As put by the official website:
WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable compilation target for programming languages, enabling deployment on the web for client and server applications.
But what does it mean?
It means you can compile a code written in C or Rust, for example, and execute it on the browser, at near-native speed. …
Exchanging data has always been a challenge for the industry, with different options from devices (HMI, PLC) to protocols (Profibus, Modbus). If you wanted to connect various machines, you would either have to use the same manufacturer (therefore, the same protocol) or invest a lot of time to implement all the different protocols by yourself.
In the 1990s, a first attempt was made to create a standard, and the OPC (OLE for Process Control) was born. Known today as OPC Classic, it consists of three main specifications:
A Rasberry Pi (RPi) is a low cost mini computer and has the size of a credit card. It is a great solution for hobby and home projects (and some commercial, too) because it has various input/output pins, video, camera, sound interfaces and many good OSes to install.
In this tutorial we are going to connect a RPi with a LCD display using SPI communication.
The Serial Protocol Interface (SPI) is a synchronous serial communication interface used for short distance communication, especially in embedded systems. …
Go is an amazing language that you can use to build almost any kind of program. Developed in 2007, it has the ease of an interpreted language while also being fast and efficient as a compiled language. It was also built thinking about concurrency and getting advantage of the multicore machines. You can even write programs to embedded devices.
With only the standard packages from Go you already can build a nice application.
Fortunately, Go has a vibrant community that creates and shares a lot of libraries that you can use to improve your development. …
The world has never been more connected than now. You can have access to news from the other side of the globe in a matter of seconds. With more than 190 countries in the world, more than 7000 languages are spoken today. Even if we only count the top 20, it is still a lot.
Each of these languages can have their own way of representing an information, from numbers to the direction of the text. Developing your app to fulfill all these different languages can be very cumbersome.
Globalization (g11n) is a strategic approach to anyone who wants to make a product available for more people around the world. It consists of two steps: internationalization (i18n) and localization (l10n). …
Assembly language (or asm) is the closest way to a machine code as you can get without having to write the instructions in binary code. With the help of a assembler (or compiler), you can translate a human readable language into machine code directly. …