Stupid things about Javascript

There are many reasons one can hate a programming language. But for Javascript one can never find enough reasons. They keep coming out of nowhere. Javascript blew up too fast which meant that there never was enough time to correct its mistakes as they become part of the standard.
Now let’s discuss a few weird stuff it includes.
Continue reading Stupid things about Javascript

C# 7: What are discards and how to use them

Let’s assume that you wish to call a method that has a return value and also accepts an out variable, but you do not wish to use the contents of the out variable that will be returned.
So far we were creating a dummy variable that will later not be used, or discarded.
With C# 7 you can now use Discards

Continue reading C# 7: What are discards and how to use them

Husband 1.0

4612434_f260FROM: Jane
TO: Tech Support

Last year I upgraded from Boyfriend 5.0 to Husband 1.0 and noticed that the new program began making unexpected changes to the accounting software; severely limiting access to wardrobe, flower and jewelry applications that operated flawlessly under Boyfriend 5.0. No mention of this phenomenon was included in the product brochure. In addition, Husband 1.0 un-installs many other valuable programs such as Dinner Dancing 7.5, Cruise Ship 2.3, and Opera Night 6.1. It also installs new, undesirable programs such as Poker Night 1.3, Saturday Football 5.0, Golf 2.4 and Clutter Everywhere 4.5. Conversation 8.0 no longer runs. When I click on it, the system crashes. Under no circumstances will it run Diaper Changing 14.1 or House Cleaning 2.6.

I’ve tried running Nagging 5.3 to fix Husband 1.0, but this all purpose utility is of limited effectiveness. Can you help, please!!!!

Continue reading Husband 1.0

RPi Car Computer Part 6: GPS Setup

Raspberry Pi LogoWhat good Car computer does not have a GPS and maps? Definitely not one worth it’s money. So in our project we will add a gps receiver and program it so we can get a location from it.

There are quite a few ways to connect the Raspberry Pi with a GPS receiver:

  1. Using a bluetooth GPS and the bluetooth dongle we already setup
  2. Using a GPSHat from Adafruit (or something similar)
  3. Using a USB GPS and permanently occupy one of your USB ports.

Continue reading RPi Car Computer Part 6: GPS Setup

RPi Car Computer Part 5: Bluetooth Setup

Raspberry Pi LogoOur next stop will be to setup bluetooth for our Pi. We will need bluetooth for many bluetooth enabled services. We will discuss in future posts what we will do with bluetooth. For now assume we need it 🙂

If you are using RPi 2 you are going to need a bluetooth dongle. I used the following but in no way I am endorsing or selling it. Just pointing out what I used and how it might help, since I have heard many cases in which people bought bluetooth dongles that did not work with Raspberry Pi.



Continue reading RPi Car Computer Part 5: Bluetooth Setup

RPi Car Computer Part 4: How to give your Raspberry Pi a Static IP Address

Raspberry Pi LogoIn this part of the tutorial we will focus on how to give your Raspberry Pi a static IP address in your network. We set up remote access to our Pi, now we will set up a static IP address so whenever we turn it on and it connects to our network it will always obtain the same IP address so we will always know what IP we want to connect to via remote desktop.


Continue reading RPi Car Computer Part 4: How to give your Raspberry Pi a Static IP Address