Share your knowledge with the world.

Image for post
Image for post
Photo by RetroSupply on Unsplash.

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.

Topics

Some topics we like and are interested in that you can write about:

  • Programming: tutorials on any programming language, like Python, JavaScript, Go, Elixir, etc.
  • Electronic: anything related to embedded devices and IoT solutions, like sensors, development boards, network protocols, robotics, etc.
  • Product design: stories that help us how to create a product, from the design to the final release.
  • Future of technology: any topic related to the future of technology…


There are plenty of good options to start.

Image for post
Image for post
Photo by Jorge Ramirez on Unsplash

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.

According to some researches, there’s an estimation of 25 billions IoT devices around the world in 2021, with this number reaching about 64 billions by 2025 (and a market of 11 trillion dollars). …


If Lebron James practices every day, you should too

A woman guiding man doing push-ups in a gym
A woman guiding man doing push-ups in a gym
Photo by Jonathan Borba on Unsplash

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.

Learn From the Masters

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…


Adding meta information to your data.

Image for post
Image for post
Photo by Annie Spratt on Unsplash.

Go is not a pure object oriented programming language. It does not provide classes, but it does provide structs.

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:

  • Explicitly: as in the Person struct above, all the fields are declared in the same struct.
  • Implicitly: as in the User struct, it embeds the fields from the Person struct. It is…


Use the power of Go to improve your web application performance.

Image for post
Image for post
Photo by Halacious on Unsplash

For a long time, JavaScript has been the only programming language the browser understands and it delivers the performance that most web applications needs.

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.

What is WebAssembly?

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…


There’s a dire need to change the way we choose our candidates

Three women at a meeting
Three women at a meeting
Photo by Tim Gouw on Unsplash.

You see a job with a perfect description. You fulfill all the requirements and the company and its location are great. It is like this job was made with you in mind. A perfect match.

You review your CV, create a perfect cover letter, and apply for it. A few days later, you receive an email with a reply. They liked your application and inform you that you have been approved for the next round: a live code interview with the manager.

You panic again. The last one you did was not good. You forgot everything. A huge blank. But…


And how they are used on computer vision.

Image for post
Image for post
Photo by Corinne Kutz on Unsplash.

If you see the image bellow, can you guess what are the card dimensions? Since you may have never seen such an object before, you will probably have difficulties guessing their dimensions. It could be as small as one millimeter or as large as 1 meter.


It is easier than you think.

Image for post
Image for post
Photo by Liam Truong on Unsplash

Recently, I had to program a small routine that would send email messages to a group of contacts as soon as a condition occurred.

Using Go you can easily achieve this.

Note: this tutorial was done using Go version 1.15.8.

Using package smtp

If you don’t want to install any third party package, Go offers you the net/stmp package out of the box.

All you need are two functions:

  • PlainAuth: it provides the plain authentication mechanism using username and password.
  • SendMail: the function that actually sends the mail. …


And create real-time applications.

Image for post
Image for post
Photo by Markus Winkler on Unsplash.

The Hypertext Transfer Protocol (or HTTP) is one the most used protocols on the internet today. It allows a client to fetch a resource, such as HTML pages and images. This article you are reading now was transmitted via HTTP (actually, its secured form, HTTPS).

The client (usually a browser) requests a resource (an image, a CSS file, etc) to the server, and the server responds with the requested data. It is a strictly unidirectional protocol. A server will only send data when requested by a client.


Connect any kind of device using poor networks.

Image for post
Image for post

If you has worked with IoT before, the chances are that you have heard or even worked with MQTT. When we are talking about exchanging messages between remote devices, it is one of the first protocols that comes to mind.

The protocol was invented in 1999 by Andy Stanford-Clark and Arlen Nipper to connect oil pipelines via satellite. Since the bandwidth of remote networks might not be that good (specially those times), a lightweight, minimal overhead protocol was needed.

According to MQTT specification:

MQTT is a Client Server publish/subscribe messaging transport protocol. It is light weight, open, simple, and designed…

Fernando Souza

Enthusiast of programming, electronics, technology and beer, not necessarily in that order. Linkedin: https://www.linkedin.com/in/fernandocleber/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store