now browsing by tag
Django Unit Testing with Mocks
Unit tests shouldn’t be treated like lesser code. It should be as clean as possible and don’t ever hesitate when it comes to refactoring the unit test code. It can save you a lot of trouble in the long run.
Working on a django site
Working on a django site at work, it’s not bad, however still working with angularjs code after work and on the weekends.
Why & How I Write Java
Interesting read, somehow I can’t handle too much Java, I always get tripped up by the primitiveness of it (even when using an IDE like Intellij IDEA which I own a license for). Copying JAR files around or making sure that the XML config files are written correctly is somethingRead More
Python SysAdmin script for emails
Here’s some code I wrote maybe over 2 years ago for managing an email account database on my server. And yes, the mysql database password is in there. It’s a good thing the username no longer exists so the password doesn’t work. Oh and the server is offline because IRead More
HowTo: Setup pressureNET Analysis for Local Development
The pressureNET project is an Android app that collects barometric data. You can download it here. The backend server, pressureNET Analysis, is a Django app that stores the data that is collected by the Android app. The project is free/open source and is licensed under the GNU GPL (General PublicRead More
django-registration doesn’t have the best maintenance
I’ve been looking at using the django-registration library at work for one of our projects and initially, I was very very pleased. The project is written by a Django core developer so the code itself is excellent and the documentation is up-to-date and there are many others using it soRead More
First code patch submission in a long time…
UPDATE: It got in, the patch was reviewed, updated and added to the main code base. The developer even added my name to the credits! I submitted an issue to the Django Rest Framework project. There was a bit of a problem with the documentation’s example not reflecting the code.Read More
Mapping Django ideas to Java, Servlets and Struts
It’s been weird to consider the concepts in Java with servlets and the Struts web framework since I’ve been using Django and Python for the last year. http://stackoverflow.com/questions/17264522/how-do-django-concepts-map-to-java-servlets-struts-and-jsp-pages So I posted a question on Stackoverflow with an answer that describes how some Django concepts translate into Java web development concepts.