Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Posts Comments Links Archives Resume About

:: 393 words

royondjango software-development

I actually had some trouble using django-pingback on my custom blog engine; the django-pingback documentation is mostly fine, but there were some caveats that I had to discover myself through a bit of debugging: The URL specified for the XML-RPC endpoint in the HTML head needs to be a full absolute url including domain, i.e. http://roytang.net/xmlrpc/, which gave me trouble when I was trying to test using localhost pinging to an online server.

read more

:: 80 words

software-development

For the past few months, I’ve been encountering the COM Surrogate Has Stopped Working Error in Windows Vista, as described here. Unfortunately, most of the recommended fixes on this page didn’t work for me. (I had neither DivX nor Nero installed, etc.) Eventually, I had to download InstalledCodec and use trial and error disabling of all the codecs in my system to trace the problem. I narrowed it down to the Xvid Codec and ended up having to disable it.

read more

:: 245 words

gaming

I wanted to make a calendar of game release dates in 2009 (so I won’t forget), but apparently details are sparse. The only games that I’m remotely interested in that already have release dates are: 20 Jan 2009: Mana Khemia: Student Alliance (PSP) Star Ocean: Second Evolution (PSP) 17 Feb 2009: Dragon Quest V: Hand of the Heavenly Bride (NDS) Street Fighter IV (PS3) 17 Mar 2009:

read more

:: 81 words

links meta

I came across a website that provided an online Speed Reading Test. Most people I know generally know me to be a fast reader so I decided to take the test. My results: 472 words per minute screen reading, at 82% comprehension, which the website says classifies me as a “good reader”. Apparently the best readers can read at 700wpm at 85% comprehension, sounds tough =/ Try the quiz and post your results here.

read more

:: 70 words

software-development

My current blog app supports syntax highlighting in the blog posts, something I cribbed off Djangosnippet #119 One problem I encountered was that there was no quick visual reference for the styles available with pygments, so I wrote a short demo page here so that I could easily see the appearance of each syntax highlighting class. Of course, I haven’t had a chance to use it in a post yet…

:: 438 words

magic-the-gathering

The last limited tournament of the season, it was last week, December 20 at Robinson’s Galleria. The format was Shards of Alara sealed deck. For once, I opened a pretty good pool. Unfortunately, I failed to make the follow through. Decklist and (short) tournament report follows. Creatures 1 Sigiled Paladin 1 Welkin Guide 1 Viscera Dragger 1 Exuberant Firestoker 1 Predator Dragon 1 Ridge Rannet 1 Rockslide Elemental 1 Cylian Elf 1 Mosstodon 1 Mycoloth 1 Wild Nacatl 1 Bull Cerodon 1 Rip-Clan Crasher 1 Steward of Valeron Spells 2 Oblivion Ring 1 Resounding Silence 1 Dragon Fodder 1 Magma Spray 1 Resounding Thunder 1 Skeletonize 1 Soul's Fire Lands 1 Obelisk of Naya 1 Arcane Sanctum 2 Bant Panorama 3 Plains 6 Mountain 5 Forest Sideboard 2 Angelic Benediction 1 Angelsong 1 Dispeller's Capsule 1 Gustrider Exuberant 1 Sanctum Gargoyle 1 Cloudheath Drake 1 Coma Veil 1 Courier's Capsule 1 Covenant of Minds 1 Dawnray Archer 1 Etherium Sculptor 1 Jhessian Lookout 1 Outrider of Jhess 1 Spell Snip 1 Vectis Silencers 1 Bone Splinters 1 Corpse Connoisseur 1 Dreg Reaver 1 Immortal Coil 1 Infest 2 Shore Snapper 2 Undead Leotau 1 Dragon's Herald 1 Goblin Mountaineer 1 Lightning Talons 1 Viashino Skeleton 1 Ooze Garden 1 Resounding Roar 2 Savage Hunger 1 Soul's Might 1 Carrion Thrash 1 Deft Duelist 1 Fire-Field Ogre 2 Goblin Deathraiders 1 Hindering Light 1 Jhessian Infiltrator 1 Kederekt Creeper 1 Sprouting Thrinax 1 Obelisk of Esper 1 Obelisk of Grixis 1 Esper Panorama (The decklist above only lists 39 cards… not sure what the missing 40th card was )

read more

:: 283 words

royondjango software-development

Frontend: All page templates are valid (X)HTML. However, I choose not to claim valid XHTML (and no doc type declaration) since I can’t guarantee that blog posts I write are compliant! The site uses standard CSS and uses the Blueprint CSS Framework for the grid layout of the page. The site design is entirely original (if not simple and bland – I’m not very good with website design yet!). The site has minor usage of JQuery Javascript library in some parts.

read more

:: 190 words

meta changelog

Previously I hosted two separate WordPress blogs on roytang.net, the old one I’ve had since forever, and a separate one that discussed only magic related articles. It was a bit bothersome to have two WordPress installs though. Now that I’ve migrated to a Django backend, I decided to merge the blogs back into one. The blog now has the following sections/categories: Magic the Gathering – for posts related to MTG Software Development – for posts related to Software Development (hopefully I can write more about this topic) Gaming – originally I didn’t have this category, but looking at previous contents of the blog and my delicious links, this is one of the things I write about the most, so I made it a separate category Weblog – everything else I can think of Each category has a separate RSS feed you can subscribe to – so that if you’re only interested in MTG posts you can subscribe to the MTG category feed, etc.

read more

:: 28 words

meta changelog

Well, it’s a bit early. But if you’re reading this then I’ve successfully migrated the roytang.net website to a new host. See you after the jump! Merry Christmas!

:: 564 words

gaming

I purchased a PS3 last week! As is typically with me making large purchases, a was wishy-washy about it for a whole two weeks (although Alvin had been egging me to buy one for months). To show how indecisive we are, here’s the conversation we had at the store: _ Saleslady: Sir, anong kulay ang gusto nyo? Black, silver or white? Me: Alvin, ano gusto mo? Alvin: Kahit ano, silver na lang siguro.

read more

:: 223 words

magic-the-gathering

I’m on vacation, so it means I actually have time to hit FNM. I sleeved up the Kithkin deck (no more Blightning for me!) and headed over to Robinson’s Galleria (Getting robbed along the way fyi). Nothing surprising, I managed to make 3-1, good enough for fourth place and four packs with crap rares inside. My loss was to the mirror match, most probably due to my lower card quality, as I had only 1 planeswalker in my deck.

read more

:: 510 words

I wish there was more to the story, but the true story is rather short: I had a moment of carelessness as I hurriedly tried to disemabark from the crowded MRT, and by the time I was getting on an FX at Megamall I noticed that the front pocket of my bag was open and my phone was missing. The PSP which was in the same pocket was still there so I guess the thief was in a hurry.

read more

:: 712 words

magic-the-gathering

I actually initially thought that there would be a PTQ this weekend. When I found out there would just be a normal Standard tournament the night before, I assembled a deck quickly. I went with Blightning Beatdown:

Unfortunately, things did not go well for our hero. Tournament report follows.

read more

:: 11 words

links

HOWTO: Be more productive (Aaron Swartz's Raw Thought) (tags: lifehacks productivity)

:: 435 words

royondjango software-development

I played around with the built-in comments app today, trying to clean it up. Some findings: Some of the moderation views, such as flagging a post or deleting a post, accept a next parameter that determines where the view will redirect to after the operation. However, the way the url’s are set up, there’s no easy way to pass this parameter normally, even through query strings. THis lovely bug is documented in http://code.

read more

:: 15 words

links

Fictitious Nonsense » Overriding a Widget in the Django Admin Site (tags: programming django widget)
I’ve been busy at work so fell a bit behind with Django. Last night I worked on a WordPress importer, so that I could migrate posts from my current blog(s) into the Django-powered blog that I’m coding. I’m using BeautifulSoup to parse the WordPress export file and insert them as Django objects. Since I was running the script repeatedly, I had to figure out how to easily run it from the command line, without having to run it from inside manage.

read more

:: 914 words

magic-the-gathering

The PTQ was last Sunday, November 17 at Robinson’s Galleria. As per usual, I opened and registered a pretty good pool with 2 [Battlegrace Angel][1] and [Tezzeret the Seeker][2] . The pool I got passed to me and the deck I built below: Lands 1 Grixis Panorama 1 Naya Panorama 1 Plains 3 Swamp 5 Mountain 4 Forest Creatures 1 Skeletal Kathari 1 Viscera Dragger 1 Hell's Thunder 2 Hissing Iguanar 1 Jund Battlemage 1 Algae Gharial 1 Cavern Thoctar 1 Jungle Weaver 1 Manaplasm 1 Rhox Charger 1 Blood Cultist 1 Carrion Thrash 2 Goblin Deathraiders 1 Kresh the Bloodbraided 1 Rip-Clan Crasher Spells 1 Oblivion Ring 1 Resounding Silence 1 Skeletonize 1 Soul's Fire 1 Branching Bolt 1 Jund Charm 1 Obelisk of Grixis 1 Arcane Sanctum Sideboard 1 Angel's Herald 1 Ethersworn Canonist 1 Excommunicate 2 Knight of the Skyward Eye 1 Marble Chalice 1 Soul's Grace 1 Welkin Guide 1 Call to Heel 2 Cancel 1 Cloudheath Drake 2 Coma Veil 1 Jhessian Lookout 1 Outrider of Jhess 1 Resounding Wave 1 Sphinx's Herald 1 Vectis Silencers 1 Banewasp Affliction 2 Deathgreeter 1 Immortal Coil 1 Resounding Scream 1 Scavenger Drake 1 Shadowfeed 1 Shore Snapper 1 Bloodthorn Taunter 1 Exuberant Firestoker 1 Goblin Mountaineer 1 Incurable Ogre 1 Viashino Skeleton 1 Volcanic Submersion 1 Lush Growth 1 Resounding Roar 1 Soul's Might 1 Topan Ascetic 1 Carrion Thrash 1 Fire-Field Ogre 1 Kederekt Creeper 1 Kiss of the Amesha 1 Qasali Ambusher 1 Rakeclaw Gargantuan 1 Sigil Blessing 1 Waveskimmer Aven 1 Obelisk of Bant The pool had decent removal, but no big game-winning bombs.

read more

:: 640 words

magic-the-gathering

Just kidding. I don’t have a draft cap or anything. I went drafting with our would-be GP Taipei contingent last November 12 (Wednesday). I actually almost never play sanctioned matches outside of the weekend tournaments, but I was a bit tired from work and wanted to blow off steam, so I went ahead to Robinson’s Galleria and waited a couple of hours for the 8-man draft to fill up. I opened with Cruel Ultimatum as my first pick, then got a couple of white weenies (Akrasan Squire and Sigiled Paladin) before getting a 4th-pick Agony Warp.

read more

Roy Tang is a:

roytang.net is a personal site; I post about a random assortment of topics that interest me including software development, Magic the Gathering, pop culture, gaming, and tech life. This site is perpetually under renovation.