Python For Programmers Part 2; Controls
This is a series on Python and how to correctly use Python when coming from a background in another computer language. Because of this, this will not be a slow intro into programming and it will be assumed you have a preferred text editor and are smart enough to get Python running. You can download installers and packages from their official website found here. Basic knowledge of how to use Git and how to operate a computer is also preferred.
Python For Programmers Part 1
This is a series on Python and how to correctly use Python when coming from a background in another computer language. Because of this, this will not be a slow intro into programming and it will be assumed you have a preferred text editor and are smart enough to get Python running. You can download installers and packages from their official website found here. Basic knowledge of how to use Git and how to operate a computer is also preferred.
Why Discord Bot Development is Flawed.
Before I complain about my experience with Discord bots, let me preamble with this: I enjoy developing the bots. I enjoy making bots that entertain people and that everyone uses for fun and memes. I like my Discord bots, I don’t regret developing them, and I will continue development of them. I do not think Discord’s current system for bot development should be replaced, it is too prevalent and there is too many bots currently using it.
Git Gud. Advanced-ish Git Part 1. Squash!
Intro This article series will be short, simple articles about more advanced Git usage. This will range from squashing your many spelling errors down to one or two commits, to how to host your own Git server using nothing but a basic Linux server.
Squish! Say you’re like me, and you tend to make a lot of spelling errors. I make so many spelling errors, in fact, that I installed a spell checker for my VSCode to make sure I don’t use a misspelled variable many, many times in my code.
How to Host a Flask Server With Gunicorn and HTTPS
In this tutorial, we will be setting up a Flask server using Gunicorn and NGINX on Ubuntu 18.04 LTS.
Requirements Any system running Ubuntu 18.04 LTS with SSH enabled. An SSH client. Installing After connecting via SSH to your server as root, run the following commands to install the required programs:
apt update apt upgrade -y apt install nginx python3 python3-pip python3-venv This will install Python, NGINX, and the virtual environment needed to run the app.
3D Printing Is A Fun yet Rewarding Cruel Mistress.
Ever since I was 8 or 9, the idea of 3D printing seemed amazing. Objects appearing right before your very eyes, with nothing more than a computer file and a roll of plastic. Now the 3D printer that I saw didn’t really exists, as it was a piece of concept art from a book about technology I had bought at a Scholastic book fair, but when I saw it I thought it was science fiction.
Transitioning from Python to Golang and why Python programmers should consider it.
Intro Ever since I started programming, high-level languages, like Python, Ruby, and Lua, have always been my languages of choice for my personal projects. I also dabbled with a VERY slight amount of C and C++, most of which was due to my small collection of Arduino boards. If you have ever used either Python, Ruby, or Lua, you probably heard that these are called interpreted languages. This means that when you install them, you never have to run any sort of compiler.
Make PowerPC Great Again.
Back when Apple didn’t try and screw over anyone with a broken iMac, back before Intel was the standard for Apple hardware, and back before Apple lost its only source of new innovation, that being Steve Jobs, there was the PowerMac, a line of computers running RISC architecture known as PowerPC, co-developed in a partnership between IBM, Apple, and Motorola. As the Power architecture is now fairly uncommon, as x86 and ARM dominate the processor market, it is now mainly used in server applications.
How to Stream Any Game, on Any Console, to Anywhere.
Ever wanted to bring your library of home console games (PC, PS4, or Xbox One) on the go? Ever wanted to play a round or two of Call Of Duty while sitting in the school library studying for a class you never payed attention to? Well, with some basic knowledge of router settings, a half decent laptop or smartphone, and an internet connection that’s not dial-up, you can!
PlayStation 4 The defacto and only way to stream your PS4 out of home are as follows: own a PS Vita/PS TV (not many people do), own a Sony-made Android Phone made within the last few years, or have a Windows/Mac PC.
Llamafile: AI Integration & Deployment Made Easy
Its no secret that I think Llama 2 and its derivatives are the future of AI and ML. Rather than getting bigger and smarter, I think GPT-4 is enough for 99.5% of applications, AI should instead strive to get smaller, cheaper, and faster. If you want to run Llama 2 via llama.cpp, you can check out my guide on how to do that.
However, the problem with llama.cpp is that to get it working you have to have all the dependencies, either download a binary or clone and build the repo, make sure your drivers are working, and then you can finally run it.