blog of neil brian guzman

To content | To menu | To search

Thursday 8 October 2015

Python Imports (from ... import ... vs import ...)

I recently came across a problem when accessing and setting variables across different modules. It turns out from ... import ... behaves differently than import ... (see: Python Imports)

Continue reading...

Thursday 1 October 2015

Combinatorial Explosion in Fault Injection

As mentioned in the previous post, I will be going into more detail regarding the problem of generating cases when building a series of test cases to be used in our fault injection framework.

Continue reading...

Thursday 24 September 2015

Fault Injection Framework

From my previous post, I shortly talked about what my current project is about. This post will go into further detail on what my team and I are trying to do.

Continue reading...

Thursday 17 September 2015

Update on previous projects and new project

From the void between my last post and this current one, I've been through 2 other projects. Although one of these only lasted for a short period.

Continue reading...

Wednesday 28 January 2015

CDOT demo #3

Yesterday's demo #3 was an intro to Cordova by Hosung Hwang. I didn't know it was possible to create an android application using HTML5 and JavaScript. It sounds like a great way for web developers to get into the android market. Speaking about android, our android team members are doing a great job with creating the client applications. The server side also seems to be on track with handling messages received by the client and sending the appropriate messages.

Continue reading...

Thursday 22 January 2015

CDOT demo #2

Demo #2 was actually 2 days ago on the 20th, but here I am.

The demos were interesting and ended up in a cliffhanger (was excited to see the last demo). Our group demoed Gabriel's encoding library in Java and I sort of demoed the current Python server. The current state of the server at that time was that it was able to receive strings through an SSL connection and make the server do various stuff (like assigning the connection a client type and sending messages to the client).

Continue reading...

Tuesday 13 January 2015

CDOT demo #1

Looks like a successful first demo for CDOT (Seneca Centre for Development of Open Technology). Apparently, our team, BRAKERS (main site located here), was closer to being a presentation than a demo.

To recap, our "presentation" reintroduced the BRAKERS team to the rest of CDOT, our progress, and problems we have encountered.

Continue reading...

Wednesday 7 January 2015

trying out PyCharm on Fedora 21

So I just tried out PyCharm for Fedora 21, switched from using VIM so that I have access to PyCharm's autocomplete and debugger. For some unknown reason, starting up PyCharm for a second time gave me a "_weakrefset" missing module import error. I tried yum installing python-virtualenv, as what sites were suggesting, to no success. A simple re-installation of the files managed to fix the problem.

With PyCharm working, I started searching up python network programming to build a python server. I happened to stumble on a site showing different frameworks that would support thousands of concurrent connections using an asynchronous socket programming strategy. I will try to use Tornado (developed by FriendFeed and open-sourced by Facebook) because of how well it performs according to this site that compares some of the popular asynchronous server frameworks out there.