Blog Posts

Feeling excited about django-affiliations

Well, a while ago I wrote an application for Django web framework application. Today I’m visiting the repository and I see it has been able to gain a lot of attention up to 64 downloads only in the last month and 5 just yesterday. Makes me excited to contribute more to the open source community. So open source community bring it on :D. here are the specs as of today:   Downloads (All Versions): 5 downloads in the last day 20

Continue Reading

Display Donors List For Charitable WordPress Plugin

Today, I decided to use this great donation WordPress plugin for our non-profit website (iraniansptgh.com). We are doing a fundraising to attend the Pittsburgh’s Bicentennial Anniversary Parade and since I’m maintaining the website I decided to quickly look into the existing WordPress plugins that I could find for donations and create a webpage for our fundraising.   I decided to finally use Charitable fundraising plugin, about which I have to say it is a GREAT plugin. Even the free version gives you tons of

Continue Reading

What my students wanted to know about me

  Well this may be a little late to post 😀 but at the first class I asked my students to fill a survey mainly asking about their expectations for a good TA. In the last question I said they can ask me any question that they want and it was an anonymous survey. Here I’m sharing them with you. Answers may/are a little different from what I gave in the class but I tried to be close.   How long have you been

Continue Reading

Introduction To Git With a Little Taste of HTML and CSS

I know there are many tutorials on Git out there and it may not seems a great use of time to write a new one. However, I’m writing this for my recitation hoping it would benefit everyone. Therefore, I will not spend too much time writing same things over and over. Instead I will link to other tutorials and pages.  Also I will include few tips to keep your code well organized and modular when your writing HTML, CSS and later one when

Continue Reading

Joint login and signup Django-allauth view

As a very short introduction for those who are not familiar with Django, its a powerful Python web application framework. It provides a well defined MVC structure for web applications in Python and support many things that you need. From Djnago’s website: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without

Continue Reading

Why I had to find an alternative for Google Appengine

Recently, I developed a peer review project on Google APP Engine for a course that I’m the Teacher Assistant for at University of Pittsburgh. And don’t get me wrong this was a significant and nice experience. Google App Engine is really a nice tool and great. It provides many useful features and it provides them in a really simple way reducing the learning over head. As a matter of fact you can learn everything about Google App Engine in one day at most of

Continue Reading

What is Shellshock

Shellshock is a security vulnerability found is UNIX based systems including all Linux distributions, Mac OS and etc. If you are not familiar with Bash, bash is the default command line shell for UNIX based systems. Using this newly found exploit hackers can take control of a system and execute bash commands on a server as they desire. The severity of the bug is ranked 10 out of 10 by Cybersecurity agency due to its simplicity and high risk. There are

Continue Reading

Save D3.js data models into files

I needed to be able to save the workspace of a project of mine into file so I can load it later. To do so, I needed to save D3 data models into a text file. Here, I’ll explain how one can save a D3 data model into a file. But, before that, I’ll have to explain a number of concepts.   JSON JSON or Javascript Object Notion is a open standard format that uses plain text to transmit JS object

Continue Reading

My Smart Home Project

Yeap, I finally traveled back to Iran and yes it was fun. But, I was programming almost a third of my time. Yes, it may sound funny but I started a new hubby project. Everything started as I noticed that my mom and dad (one of the most passionate movie lovers I’ve ever known ) hadn’t seen a single movie at home since I had left Iran. Its even more shocking to know that they had lost all their family pictures as our housed was robbed a

Continue Reading

Multi-class Performance Measures

when we want to evaluate a set of predicted labels or performance of ML models we use different performance measures. Accuracy, Precision, Recall, F-beta(usually people use F-1) or etc. But none of the aforementioned methods except Accuracy work for Multi-class data where class labels tend to have more than two (binary) different values.   Why not Accuracy? Well, Accuracy is calculated as the portion of true labeled instances to total number of instances. The questions is what is wrong wit accuracy that we need

Continue Reading

Site Footer