Oct 20
Category: Architecture, C#, work

During this week, was working on the usage of local database for caching of values. Using C#, we decided to use System.Data.SQLite found here. Using a relationship oriented database, i had trouble with some concurrency issues. The database file would be locked when the it is being utilized. Basically, SQLite allows for multiple reads but single writes. To play safe, and due to the use case, i decided to segregate the writes and reads, simulating it like the Dining Philosophers Problem. I created a controller class to act as a waiter, wrappers for read and write. On creation / query, the wrapper will ask permission from the controller class. Thereafter, once it completes, a closing event will invoke and un block any queue.
Still require some addition checks and some minor tweaks. Hopefully this works out fine. ;)

VN:F [1.9.6_1107]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.6_1107]
Rating: 0 (from 0 votes)
DiggTwitterTechnorati FavoritesRedditNewsVineFacebookShare
Sep 18
Category: Thoughts

Hmm. Tweaked the blog abit. Changed the header image. and changed the main url to a new one. The old one is still accessible though. Cheers. ;)

VN:F [1.9.6_1107]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.6_1107]
Rating: 0 (from 0 votes)
DiggTwitterTechnorati FavoritesRedditNewsVineFacebookShare
May 22
Category: Games

Cheers. ;)



<br />

VN:F [1.9.6_1107]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.6_1107]
Rating: 0 (from 0 votes)
DiggTwitterTechnorati FavoritesRedditNewsVineFacebookShare
Apr 27
Category: Django, mysql

Been busy with lots of stuff – especially with work. Thus, unable to update as frequently as I would like. Sorry ya.

Anyway, been catching up with some backlogs. I did a simple conversion of part of my FYP into python (django). And have hosted in here: http://analytics.weeyoung.com/sa/analysis.

Well, what it does is you submit some words and it breaks them up and see the overall sentiment of your words.

Still lots of parts not done. lots of breakages. still figuring out which is better – drawing with matplotlib or jquery. Analysis of the words are still immature (e.g. no spelling checks)

But its a start! Looking into consolidating with rss feed. Found this site useful and will try it out.

All in all. If there’s anything u like to see, or any ideas. Feel free to let me know @ weiyang13@gmail.com..

Cheers. ;)

VN:F [1.9.6_1107]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.6_1107]
Rating: +1 (from 1 vote)
DiggTwitterTechnorati FavoritesRedditNewsVineFacebookShare
Jan 30
Category: Books, Thoughts

No amount of observations of white swan can allow the inference that all swans are white, but the observation of a single black swan can refute that conclusion. – David Hume (1711-76)

Was reading “What the Dog Saw” by Malcolm Gladwell and came across this quote which I found pretty enlightening.

From my perspective, things are unpredictable, especially human nature. Its also similar in a certain sense to the quote on “What will go wrong will go wrong”. I guess I am the type that will prepare for the existence of the black swan than continue hoping that all swans remain white.

Cheers.

VN:F [1.9.6_1107]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.6_1107]
Rating: 0 (from 0 votes)
DiggTwitterTechnorati FavoritesRedditNewsVineFacebookShare
Get Adobe Flash playerPlugin by wpburn.com wordpress themes