Bit on Bytes

Nitty-Gritty Programming

Integrating Http with Python using Requests

Python is one of the most robust languages in modern computing. Though it may not result in the fastest computational time, I find that the enumerable packages its community provides make solving specialized problems quicker to solve.  One package I recently discovered is Requests. This powerful package allows python to access and download any resource over https in just a few lines of code. By following this guide, you will gain basic understanding on this module and how to install it.

Add a comment

Continue Reading

Getting Started with an Arduino Nano in Ubuntu 16.04 LTS

Hey everyone, today we’re going through the initial setup of an Arduino Nano that I had received as a gift from a friend. This is a simple tutorial where we’ll be loading up a script (built into the software) in Ubuntu in order to make an LED light fade in and out. I’m basically writing this because there was an annoying little user privileges hiccup I hit as well as realizing that the install script on the Arduino website (as of April 2017) seemed to contain an error and I wanted to have the updated code here as well for you.

Add a comment

Continue Reading

HTC One M9 to Lineage OS 14.1 (Android 7.1.2)

Image Credits: HTC Corporation, Lineage OS

I have a HTC One M9 here at the office we have been using for Android development. It was a trade for a bunch of my older computer hardware, otherwise I probably would have bought a Nexus. It is a great phone, but I have never been a fan of HTC Sense. Additionaly, having a custom UI/UX on the phone makes it harder to judge if an app's appearance is consistant with the current Android UI/UX.

Add a comment

Continue Reading

Using Node Webkit to Build Executable Applications Using HTML, CSS and JS

Node Webkit Introduction

 


Node Webkit, now known as NW.js, is a fascinating technology that Black Brick Software recently discovered. By using this, we are able to create entire executable applications using nothing but HTML, JavaScript, and CSS. By following this tutorial, you too will be able to make applications that run efficiently on every platform. Node Webkit even supports running chrome apps natively. With all the benefits using NW.js, what's not to like?

Add a comment

Continue Reading

RetroPie Setup on the Raspberry Pi Zero v1.3

The purpose of this article is to get you started with the initial setup of RetroPie on the Raspberry Pi Zero. What's awesome about this project is that anybody can jump right in and do it since there's literally no previous coding knowledge necessary. The setup was a lot easier on the Raspberry Pi 3 (and RetroPie does run faster on it) but I wanted to write a quick tutorial for the Zero since there were a few more steps in setting it up due to the limited USB ports. I'm assuming you already know this but these boards are hard to find although I was able to snag one from Adafruit's website. Be sure to checkout RetroPie's official website and GitHub site.

Add a comment

Continue Reading

php 500 error with no log entry!?!?!?

Every so often I run across an a 500 error on a production system that has no apparent cause. The application logs, nor the server logs, nor the php specific logs will have any clue to the cause. It is incredibly frustrating.

Every time I start combing through code that I suspect of causing this issue, and every time I come up empty. After flailing around for what seem forever and reading everything I can Duck Duck Go or Google, I have an idea... maybe it ran out of memory. It never fails, this has been the case and yet I seem to forget this lesson. (Note: I have gotten an over memory limit entry in the log once or twice after trying the same action many times, but it is rare.)

Add a comment

Continue Reading

Using Aliases to Increase Productivity

Alias Overview 

The Bourne Again Shell (also known as BASH) is one of the most useful tools in computing. Though command line interfaces may appear scary at first, they become vital to get things done. However bash does have some flaws. Advanced commands can quickly become terse and unreadable. If a task requires specific parameters, it can be quite tiresome to remember five necessary flags (Looking at you, Grep!)  

Add a comment

Continue Reading

Contact Us To Setup A Meeting

Feel free to call or email anytime to setup a meeting. We would love to discuss your project to see if we can help!

contact us