sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: June 2011
http://sweemengs-tech-world.blogspot.com/2011_06_01_archive.html
This is a place where i put my thought of technology and things that i do. Wednesday, June 22, 2011. I am writing a validation function to check for objects instance, in this case, it is a django models. The object is mostly the same, except there is a extra field that need to be checked, that field exist only in certain object, but not all object. Https:/ gist.github.com/1039978. So we can do thing like check a item like 'test val' in c. dict. To check for a existence of a attribute. The big catch is of...
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: January 2011
http://sweemengs-tech-world.blogspot.com/2011_01_01_archive.html
This is a place where i put my thought of technology and things that i do. Saturday, January 29, 2011. So I got like a few folders with different version source code, erm text files which I am comparing in my work. Either way, thanks to unix tools like diff and patch, things is some what easier. Though it is better to use version control, which I stupid enough not to. To compare files with diff, it is just a matter of. Diff -w original new. Since I have a directory, so i would run. And applying it with.
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: December 2010
http://sweemengs-tech-world.blogspot.com/2010_12_01_archive.html
This is a place where i put my thought of technology and things that i do. Friday, December 31, 2010. One year closer to 2012. So happy new year everyone! I got a feeling this will be a interesting year. For everyone. Links to this post. Wednesday, December 29, 2010. A little misadventure with django and database. This could be long*. So the way they do things is obviously very different, and this with Django's ORM, not a pretty sight. They really did that? Especially the target table is huge. Also, as w...
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: Long Lost Musical Instrument
http://sweemengs-tech-world.blogspot.com/2012/01/long-lost-musical-instrument.html
This is a place where i put my thought of technology and things that i do. Friday, January 20, 2012. Long Lost Musical Instrument. Not quite tech related, but this is stone age technology, believed to be used in hunting and herding during that time. Which later evolved into a musical instrument. This is Xun, though this I bought from souvenir shop in China long time ago. Still I think it is pretty cool. Http:/ en.wikipedia.org/wiki/Xun (instrument). Subscribe to: Post Comments (Atom).
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: January 2012
http://sweemengs-tech-world.blogspot.com/2012_01_01_archive.html
This is a place where i put my thought of technology and things that i do. Sunday, January 29, 2012. FInally moved the blog. Alrighty folks, I finally moved to a wordpress blog. Which itself made me learn alot. You can find it here. While the content have been migrated to the new blog, I will just leave all the content here. Hopefully someone can find the information here useful. On the other hand, just glad I finally have a place for me to post source code in a blog properly. Links to this post. I just ...
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: March 2011
http://sweemengs-tech-world.blogspot.com/2011_03_01_archive.html
This is a place where i put my thought of technology and things that i do. Wednesday, March 16, 2011. Let Android read my SMS. Another I tried on SL4A is to play with their SMS function. So, with the resulting code below:. As usual import library, and create the Android() object. And from the Android object call smsGetMessages, with a required parameter for unread message, True for unread only, false for other wise. Droid = android.Android(). Result = droid.smsGetMessages(True). U' id': u'59',. One cool ...
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: August 2011
http://sweemengs-tech-world.blogspot.com/2011_08_01_archive.html
This is a place where i put my thought of technology and things that i do. Wednesday, August 31, 2011. Many Ways To Grep File Content. So not too long ago I have posted on twitter. This spin to a few other way to do grep. A few have suggested on IRC and facebook, the i parameter is to make keyword not case sensitive. Grep -iR keyword directory. Another suggestion on IRC. Grep -iR - exclude=file-to-ignore keyword directory. Another tweet i have receive is,. And again, -i make case insensitive search.
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: RFID On Arduino
http://sweemengs-tech-world.blogspot.com/2012/01/rfid-on-arduino.html
This is a place where i put my thought of technology and things that i do. Tuesday, January 17, 2012. So I got myself an Arduino powered Android Accessory Development Kit, not long ago. The kit have quite a lot of sensor, one of them, an 125kHz RFID reader. Which is cool except, the kit doesn't comes with the tag necessary. So I finally got the tag(s) which is compatible. The reader. From seeestudio have 2 ways to interface with the arduino, one is via Wiegand. The other via UART, i.e Serial. This reader...
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: 2011 in review: The Year It Get Too Close For Comfort
http://sweemengs-tech-world.blogspot.com/2011/12/2011-in-review-year-it-get-too-close.html
This is a place where i put my thought of technology and things that i do. Saturday, December 31, 2011. 2011 in review: The Year It Get Too Close For Comfort. For a long time geeks like me tend to hide behind the scene when it comes to politics, unlike the US there is no law like the DMCA in Malaysia. We Malaysian don't see often see a law pass that directly affect IT industry here. Until this year, suddenly we have Computing Professional Board bill. Subscribe to: Post Comments (Atom). A little adventure...
sweemengs-tech-world.blogspot.com
sweemeng's tech adventure: Bill Watcher Update
http://sweemengs-tech-world.blogspot.com/2012/01/bill-watcher-update.html
This is a place where i put my thought of technology and things that i do. Monday, January 09, 2012. Just a little update, since the last post. The project is pretty much finalized, just sorting out the infrastructure, we got a server, but need a little setup. Since last post, have switch from 960gs to twitter bootstrap. A few extra page. Many UI stuff is done, though need to add social media button and disqus. Subscribe to: Post Comments (Atom). A code monkey working with python. View my complete profile.