#RaspberryPi – 1st setup without monitor: auto connect to WiFi, enable SSH, rename, update and more!

Buy Me A Coffee


Ok, let’s assume you did the tutorial and installed the latest raspbian image in an SD card. If you want to access and control remotely your device you may want to follow this steps.

Configure Wireless connection

In the SD Card, you need to create a file named [wpa_supplicant.conf] in the root of the SD card with the following information:


 ssid=" Your WiFi SSID"
 psk="You amazing password"

The file content is very straight forward to understand. Main values to complete are [ssid] and [psk].

Once you put the SD card in the device and start the device, it will automatically connect to the configured WiFi.

Enable SSH

If you also want to enable SSH, you need to create a blank file named [ssh] to the main partition.

Once you put the SD card in the device and start the device, it will automatically enable the SSH service.

Find the IP address in your network

And that’s it, your Raspberry Pi will be connected to the Wifi and with SSH enabled. At this moment we can use a tool like AngryIp (see references) to detect the new device in the network

My new device IP is:

Access via SSH

I used to like Putty to connect to my device, however during the past months I’ve been using Windows Terminal and Powershell. In order to access the device I need to execute the command

ssh user@deviceaddress

and my data is

  • user: pi
  • ip:
  • password: raspberry

You can now start working with your Raspberry Pi !

Change Password

The default password for the device is “raspberry”, and as usual, it’s recommended to change it. In order to do this, in the ssh terminal, let’s access to the device configuration

sudo raspi-config

This will open the configuration for the device.

Option number 1 will allow us to change the password.

Rename the device

In the same Raspberry configuration tool, we can rename the hostname that our device will use for network operations.

Select the options

  • Network Options
  • Hostname

And define the new name for the Raspberry Pi device.

Expand FileSystem

Another important option in the configuration is to expand the SD disk.In the same configuration screen, select

  • 7. Advanced Options
  • Expand File System

Now we need to reboot and after the reboot the file system should have been expanded to include all available space on your micro-SD card. Reboot with the command

sudo reboot

Update the device

Of course, at this moment you should change your default password and update everything with a command like this one

sudo -- sh -c 'apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y; apt-get autoclean -y'


And that’s it, we have our device updated and running with the latest software versions and we didn’t use a monitor! I’ll update this post frequently to make it relevant with my personal best practices.

Happy coding!


El Bruno


My posts on Raspberry Pi

Dev posts for Raspberry Pi
Tools and Apps for Raspberry Pi
Setup the device

#Humor – Vulnerability severity levels (via @PatchFriday)

Buy Me A Coffee


Happy coding!


El Bruno

#JetBrains – JetBrains Mono, a nice and useful console font. Bonus: @justgetflux

Buy Me A Coffee


I don’t spend as much time as I want in front of any of my Code Editors. And because of work, when I do, is mostly at night. So, I’m usually kind of tired andI really appreciate every help I got there.

I’m already using flux to to make the color of my computer’s display adapt to the time of day, warm at night and like sunlight during the day (see references).

And a few days ago, JetBrains released a new Consola style font which looks amazing after a 1st trial.

JetBrains Mono

Therefore, while working on JetBrains Mono we focused, among other things, on the issues that can cause eye fatigue during long sessions of working with code. We have considered things like the size and shape of letters; the amount of space between them, a balance naturally engineered in monospace fonts; unnecessary details and unclear distinctions between symbols, such as I’s and l’s for example; and programming ligatures when developing our font.
Today, we proudly present JetBrains Mono – a new open-source typeface specifically made for developers. Check out what makes JetBrains Mono unique in the big family of monospaced fonts and try it in your favorite code editor. Have a look at JetBrains Mono, your eyes will thank you for it.

JetBrains blog.

And as every font, is very easy to install in Windows. Just download and extract the package, and right click and install

In Visual Studio 2019, the configuration to use the font is very easy. Before going there, let’s take a look at the default font used in VS2019.

Once the font is installed, we can go to Options / Fonts and Colors and select JetBrains Mono as the default font.

Then, the same code will look lot more amazing.

So, now it’s time to use this font for a while in my different machines and give an honest review after a couple of weeks.

Use JetBrains Mono in Visual Studio Code

In Visual Studio Code in the preferences section, we can search for FONT and change the font to use JetBrains Mono.

And the code will start to look also amazing!

Happy coding!


El Bruno


#Python – How to fix “ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)” on #Windows10 #TensorFlow

Buy Me A Coffee


Ok, I’ll write this down. I face this issue from time to time, and then after some searching and reading, I found the solution (again!) and I realize I’ve been done this before.

So, I’m installing Tensorflow on Windows with the amazing single command

# Requires the latest pip
pip install --upgrade pip
# Current stable release for CPU and GPU
pip install tensorflow

And then I get this error

ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) 
ERROR: No matching distribution found for tensorflow
error installing tensor flow on windows

So, I decided to see what’s happened and I realize that I only have installed Python 3.8. And there is no official TF version for Python 3.8. So, I need to downgrade Python to 3.7.

Time to install earlier Python version

python current version 3.7.6

and then, try to install TensorFlow again. Now, it’s installing

installing tensorflow with current python version

and after installation, test current TF version

tensorflow installed and tested on windows terminal

So, remember: Using the latest Python version, does not warranty to have all the desired packed up to date. Specially with TensorFlow.

Happy coding!


El Bruno


#Ebook – Code the Classics, amazing book for programming games in #Python. From the #RaspberryPi library.

Buy Me A Coffee


My son is a crack and he already passed the Scratch stage. He is part of an amazing Code Ninja programming program and he is asking for some new challenges.

Last month, when I see the release of the Code the Classics – Volume 1 book, I get one for us. And it’s amazing. I mean, he needs to understand Python now, so it’s another challenge. But you know me, any excuse to keep him away from JavaScript!

Code The Classic - Volume 1

By the way, all the code is available in GitHub, and it will take just 5 minutes to set everything up to test the games. And, most important, the book is also available FOR FREE IN EBOOK FORMAT.

So kudos to the publisher, and let’s go with the formal book description.

This stunning 224-page hardback book not only tells the stories of some of the seminal video games of the 1970s and 1980s, but shows you how to create your own games inspired by them using Python and Pygame Zero, following examples programmed by Raspberry Pi founder Eben Upton.

In the first of two volumes, we remake five classic video games – ranging from Pong to Sensible Soccer, each represents a different genre. We interview the games’ original creators and learn from their example, as well as utilise the art and audio engineering skills of two of the 1980s’ most prolific games developers for our recreated versions of the games.

Get game design tips and tricks from the masters

– Explore the code listings and find out how they work

-Download and play game examples by Eben Upton

– Learn how to code your own games with Pygame Zero

– Read interviews with expert graphics and audio creators

Happy coding!


El Bruno


#Event – I will be speaking at @devdotnext #devdotnext2020 this March in Colorado.

Buy Me A Coffee


In a couple of weeks, I’ll be visiting one of the biggest events in Broomfield, Colorado: @devdotnext.


DevDotNext hosts 150+ 75-minutes Presentations, 4 Keynotes/Panels, and 11 All-day Pre-Conference Workshops.

Topics covered include:

  • Languages
  • Design and Architecture Cloud
  • Server-Side
  • Frontend
  • DevOps
  • Microservices
  • Machine Learning
  • Testing
  • Being agile
  • Leadership
  • And more

I’ll be sharing some experiences and insights around Machine Learning, Computer Vision and IoT. Here are my session details.

How a PoC at home can scale to Enterprise Level using Custom Vision APIs (v2!)

It all started with a DIY project to use Computer Vision for security cameras at home. A custom Machine Learning model is the core component used to analyze pictures to detect people, animals and more in a house environment. The AI processing is performed at the edge, in dedicated hardware and the collected information is stored in the cloud.

The same idea can be applied to several CCTV scenarios, like parking lots, train stations, malls and more. However, moving this into enterprise scale brings a set of challenges, which are going to be described and explained in this session.

In this new version of the session, we will start from scratch and create a complete “Parking Garage Open Space Tracker” solution with live devices and live cars (small ones, of course)

Registration and event details

Hurry up, regular registration ends soon.
Register at https://www.devdotnext.com/register

Happy coding!


El Bruno

#AI – Use Microsoft Math Solver to get free Wifi

Buy Me A Coffee


Huge off-topic today, you know, is Friday.

So, I was in a coffee, where they share Wifi, but with this tricky “Password”

Even with all the Machine Learning stuff I’ve been doing, my math is kind of rust. And, add to this that is Friday and I’m tired. So, let’s use AI to solve this.

A few weeks ago, Microsoft released an app to help us with this: Microsoft Math Solver.

Microsoft Math solver app provides help with a variety of problems including arithmetic, algebra, trigonometry, calculus, statistics, and other topics using an advanced AI powered math solver. Simply write a math problem on screen or use the camera to snap a math photo. Microsoft Math problem solver instantly recognizes the problem and helps you to solve it with step-by-step explanation, interactive graphs, similar problems from the web and online video lectures. Quickly look up related math concepts. Get help with your homework problems and gain confidence in mastering the techniques 💯 with Microsoft Math. ⚡It is absolutely FREE!⚡

A video is always useful

And, you can draw your math problems or you can scan a photo for this. Let’s test plan B. Take a photo, select the area with the Math Formula

microsoft math solver analyze photo

And that’s it! We got the math problem analyzed and solved!

microsoft math solver formula analyzed.jpg

And, as the description offers, we also have step-by-step explanation, interactive graphs, similar problems from the web and online video lectures

microsoft math solver formula analyzed.jpg

microsoft math solver formula analyzed extra information.jpg

And, you know what? I’m posting this using “Free Wifi”

Happy coding!


El Bruno


#RaspberryPi – Where is my Add/Remove programs? let's use Synaptic

Buy Me A Coffee


When I wrote about the latest version of Visual Studio Code working on the Raspberry Pi, I realize that I used a couple of commands to find an installed application.

The following command will list all the installed apps

sudo apt list --installed

Which is great, but hard to read in bash mode. So that’s why I use grep to filter for the app I want.

sudo apt list --installed | grep -i code-oss

So far, so good. The command did the trick, and I got my result: app name, version and details. However, as a long time Windows user, I was wondering if Linux users have a visual interface for this. And then I found: Synaptic.

The command to install Synaptic is maybe the last command we will use to install or uninstall an app

sudo apt install synaptic -y

And then we can launch the app using this command, and it’s need to be with sudo permissions (learned in the hard way)

sudo synaptic

At this moment, I can browse in the all list of apps. And I can quickly perform a search for my installed Visual Studio Code.

I get the result, with details, version and more.

And if you are wondering what’s the main difference with the bash command? So, I didn’t need to search and learn a command, the universal visual clue of the magnifier, or the search button were good enough for me.

Playing around with the app, I found I can display much more information for each installed app. Which is great, because I start to understand the idea and concepts of dependencies, where Linux install software, etc.

Happy coding!


El Bruno

My posts on Raspberry Pi

Dev posts for Raspberry Pi
Tools and Apps for Raspberry Pi
Setup the device

#RaspberryPi – Visual Studio Code blank screen is fixed on version 1.42. Thanks @headmelted! @code

Buy Me A Coffee


When I wrote about how to install Visual Studio Code on a Raspberry Pi, there was an error on the app running on the device: the tool opened and display a black window.

We needed to manually go back to version 1.29 to avoid this problem. And we also forgot to apply any updates, each new version still have the black window error.

I was following the issue on GitHub, and I was happy when a few days ago, it was solved by headmelted (link https://github.com/headmelted/codebuilds/issues/67#issuecomment-563335451).

I’ve updated the app to the latest version (1.42.0), and it was working fine.

raspberry pi 4 visual studio code version 1.42 running fine

If we check the apt list, we can find a specific detail of the running version with the command

sudo apt list --installed | grep -i code-oss
raspberry pi 4 apt list for code -oss return 1.42

So, please go and thank headmelted by the amazing work he is doing!

Happy coding!


El Bruno

My posts on Raspberry Pi

Dev posts for Raspberry Pi
Tools and Apps for Raspberry Pi
Setup the device