I love Discord. It is not only great for gaming chat, but it's awesome for chat in general, supporting arbitrary numbers of people, channels, and voice channels. It's really remarkable how much Discord can do. Discord, being the awesome application it is, exposes an API for you to develop bots with. These bots can do literally anything a regular user can, so we can make some great things with it. So, why don't we make all the things with it? Let's make a modular bot that has hot swappable components and can span multiple hosts monitoring multiple things. Sounds hard right? It's probably not, but as I'm writing this I haven't touched any code whatsoever.
Random stuff to do with hardware and software that generally comes from salvaged electronics that never really deserved to be salvaged and weird software stuff.
Sunday, July 30, 2017
Sunday, July 16, 2017
Running CoffeeScript and Mustache on Google Apps Script
For a very long time, I thought Google Apps Script was quite useless. Then, one day, I found it useful. It's a nice little tool that's actually more flexible than you might think. I wanted to dive into seeing if I could make CoffeeScript and a templating engine like Moustache just to see if it was possible. I realize CoffeeScript is moving out of fashion, but it's still a nice little tool for making easy to read JavaScript. So, without further ado, let's do it!
Thursday, June 29, 2017
Making a Ukulele Tuner with Javascript
)I just got a ukulele and I love it. I play it nonstop. Because of the temperature changes in my room and how often I play it, the instrument goes out of tune quite often. I wanted to write a simple tuning program that could play a solid sine wave at the frequencies I needed it to. I found it very easy to tune off of a loud sine wave instead of the sound of a ukulele string being plucked over and over again like most ukulele tuners. This one is going to be very short because this program is very simple and to the point.
Saturday, June 17, 2017
What Can You Do With A Free Server In The Cloud?
I apologize for the clickbait title, but it's verbatim the exact question I asked myself when I learned about Google's Always Free tier for their cloud computing. This was a step up from what Amazon offered, because Amazon's free tier for computing only lasts 12 months. Naturally, I was really excited to have a free VM in the cloud that never had to be turned off. In this post, we can test the limits of these servers and see what you can do with them. Hopefully this can apply to developers and non-developers alike.
Wednesday, May 31, 2017
Make Something That Isn't A Computer A Computer - Episode 2
This is a cop out because moving to where I'll be living over the summer took more time than I thought it would. So in this episode of "Make Something That Isn't A Computer A Computer", we'll be making a old router into a computer. I know, I know, it's basically already a computer... but we're going to try and benchmark its performance and see what it's really capable of and we're going to try to do more with this than we did with the drone board because this has far more documentation than that drone board did. I guess you could say it was... undocumented code. B)
Sunday, May 28, 2017
A Practical Guide to pthread And Pretty Fractals
Threads. Many programs need them, and they're important on multiprocessor systems (which, recently, is basically every system). Sometimes, they can be confusing, so I've taken the most most important bits and I've distilled them down into the basics of how to do threads in a basic C program using POSIX Threads (pthreads, for short). Let's get started!
Sunday, April 30, 2017
Canon PowerShot A560 Teardown and Salvage
I recently got my hands on a broken Canon PowerShot A560. It's not a very good camera. It's not a very special camera. It's capable of VGA video at 30fps and 7.1MP pictures. I'm not 100% what's wrong with it (other than a broken battery door), but it won't take full resolution pictures. Videos work just fine, but they're not worth fixing the battery door for. So we're going to take it apart the camera and see what we can salvage from it!
Subscribe to:
Posts (Atom)