Lessons through Car

I have a 2000 Honda Accord EX 3.0L V6 and I am in love with it. At the moment I am not working so money is tight but I do anything I can in order to make sure the car is in good condition. It's a Honda and so…

Server Hardening using UFW & other mods

UFW or UncomplicatedFirewall is a very simple and as the name suggests a firewall manager. It's great in restricting and allowing traffice. I used this to block certain ports and open other. It's straightforward. You just use the syntax allow and deny like so pronoyc@machine:~$ sudo ufw default deny…

AVR revisited (The basics)

I am revisiting AVR C for various reasons and I have decided to write it down in my notebook (my blog) everything worth remembering. First things first, I don't like working on Windows when I code and I am generally working on my Mac when I am in the zone…

New Look

I got bored with Mutiny and I decided to look for something more. I found KISS and I decided that it was a good look. It has a proper 2 column set which I like. It uses Prism by default which is great. Here's a small test import csv # write…

Django multiple settings files

I remember while working at my previous job as python developer, the question on how to organize Django Settings for multiple users used to come up often. The thing about using a good IDE (yaay pycharm) is that it helps you circumnavigate such trivial issues. But it's good to do…

Experiments with Avahi and Python-Zeroconf

I finally got it working today. So I used Avahi to announce the services I had running on the Beaglebone Black. I had a flask server running just to test it out. Here's the code: from flask import Flask app = Flask(__name__) @app.route('/') def home(): return "Hello…

Spaceship update.

I am not going to be using Unity2D for the project. It's very very ambitious and I don't know enough C# to actually do something about it. So I am going back to the basics and going to attempt it in JS. Phaser.io to be precise. I hope this…

Build me a spaceship

I was planning on making a top down game after my Pong adventure, on Unity2D but then I decided to combine this adventure with my love for spaceships. What I think I'll do is, create a FTL like game with multiple levels, one on top of the other. I can't…

Game Development on Unity2D

I've always held the opinion that a good game can make your career. I also feel it's the true test of a programmer's ability. There are so many aspects that you need to take care of, so it truly requires a lot of thought. I have been trying to create…

[Dev Log] Python Kivy: Part 1

I am trying to get a hang of Kivy, the cross platform Python UI kit. It looks stable and there are some really good examples out there. The good thing about this particular project is that when they say crossplatform, they mean cross platform. That's got me real excited. I…

[Dev Log] Knock : Part 5

Serial on an 8 bit controller is hard to grasp. Especially if you're working in C. I mean you've got to take care of memory etc. So yeah, it's a bit annoying. No wonder Arduino was born. But hey, after much tinkering I finally did crack the code, so to…

[Dev Log] Knock : Part 4

AVR USART So I've been working with AVR USART today and I talked to some of the guys on #avr on freenode. Turns out _BV() is not a good way to do things. It was a hack apparently that was used by people before GCC was fixed. I didn't get…

[Dev Log] Knock : Part 3

So I am lazy and I like working on a linux environment. Don't get me wrong I love the Atmel Studio, it's got a lot of stuff, it's easy to use and it's got a great programming/debugging tool. But command line has its own charm. So here I explore…

[Dev Log] Knock : Part 2

So today I did two things. I set up the local server and I also soldered an ATTiny2313 onto a protoboard. The amazing part is that I got the board working the first time around. I was concerned for a while, how I did that. If it works the first…

[Dev Log] Knock : Part 1

So I got my stuff on a Sunday. UPS really outdid themselves and awesome packaging my Digikey. Now I know who I am going to be ordering my stuff from, all the time. Interestingly Amazon is late. I understand not many people want eval boards for christmas. Anyway time to…

Knock : For the ones with headphones on all the time.

Project Knock is my first personal hardware project after a long time. I haven't actually begun putting together the hardware right now, because it's not arrived yet. Waiting on UPS to deliver stuff that I ordered from Digikey. I am going to be doing it on AVR (no surprise there…

Migrating from Django datastore

I moved to Ghost. Now I have to get the posts that I wrote using Django for my previous deployment. I am going to have to dump data here and then modify it and add markdown. That's going to be fun. Not.…