roytang.net Posts Photos Archives About

Subscribe: RSS JSON

2008 April

2008 March

  • Never give out any of your confidential usernames and passwords to programs or services that you do not trust completely. This may be a bit obvious to the more tech-savvy, but everybody has to watch out. Luckily, there are even some programmers who are able to catch the work of evil programmers. Coding Horror has this story about an evil programmer who sold a GMail backup solution that steals your username and password. The offending account was reported to Google, but I hope someone brings legal measures against the company who made and/or distributed the evil software.

2008 February

  • I had been planning to do this for a while: it's my first WordPress Plugin! Over at Roy on Magic, I often have to write out decklists and such, so I wanted to have an autocard feature similar to the one used at MTGSalvation. After a quick five-minute search I couldn't figure out how they did it, so I just wrote the plugin myself. Actual effort was around 3.5 hours, most of it struggling with PHP and Regular Expressions. :p Details and download are at http://roytang.pbworks.com/w/page/7977432/MTG-Autocard-WP. Hopefully someone else will find it useful. Update Jan 2021: Since the wiki link

    read more (371 words)

2008 January

  • No, I'm not job hunting. But other people are, apparently. I got a comment on an old post I made about my job hunting days. Not only that, but the guy IM'd me asking to talk (I put my yahoo id on this site somewhere me). It's a bit strange, but I figured, why not? What I got from listening to him was that he was just extremely frustrated at how difficult it is to find a good job, so he was looking for people who had gone through similar experiences. He'd been unemployed for almost two months after quitting

    read more (691 words)

2007 October

  • One of the qualities that I think make a really good software developer is the ability to solve difficult technical problems. Unless you're the sort of software developer who just sells the same piece of software over and over again, at some point in time you'll to need to find out how to implement some feature you've never tried before. Or you'll hit a problem that's not documented in any official docs and you need that critical functionality. Typically, there are two approaches: Research and Experimentation. Today I'll talk about Research. Research means the internet of course, but what part

    read more (771 words)

2007 August

  • I couldn't sleep, so obviously, I had to start a new personal project. PyMTG I was inspired after forum-browsing lead me to look at existing MTG open-source software. I've been thinking of starting a true-blue personal software project for a while now, and the idea of PyMTG appeals to me for several reasons: (a) It's related to one of my current hobbies (b) Allows me to become familiar with a new language (Python) (c) It's moderately to insanely difficult (depending on how well I set my targets), i.e. it's of a scale large enough to be challenging. The wiki page

    read more (438 words)

2007 July

2007 February

2006 June

2006 May

2006 April

2006 February

2006 January

2005 December

  • So, my brother needed to present 20 java programs for school. He didn't have to make them himself, he said. Just to print them out and submit them. (What kind of ridiculous compsci teacher asks for hardcopies of source instead of softcopies?) Anyway, I said, sure. I'll make some, it'll be easy. After all, trivial programs shouldn't take me more than 5 minutes each right? It was true, each one didn't take long. But I spent quite some time thinking about what I would actually code. The usual suspects are there -- Hello World, prime factors, factorial, simple arithmetic, palindromes.

    read more (158 words)

2005 September

  • Sorry about the title. I couldn't find any succinct way to put it. Anyway, yeah. I'm supposed to be trying to get a phone. People have been harassing me for years about the fact that I don't have a phone. Since my vacation is already half-wasted already, I figure I'd go online and get some info on what phone I'd buy. Now, bear with me a bit, I'm really stupid when it comes to phones, since I've practically never owned one. If there's any better way or better place to look for the info than the way I describe here,

    read more (454 words)