Wearing dice on my head since 2008 Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart. Randomly amazed.

roytang.net

last update:

Continuous Learning

| Categories: Opinions | Tags:

During my adult life, I’ve tried to learn or at least expose myself to one new skill or programming language every year. For example, over the past year or so I’ve been studying, dabbling, or trying out the following: game development using Unity, technical analysis of stocks, Spanish, driving a car, and even some simple cooking! I’ve also been regularly practicing to improve my skills in writing and sketching. I probably even forgot a few things I’ve tried to learn.

Some time ago, one of my many intrepid followers pointed out that this blog tested poorly on web page performance according to this Speed Testing Tool. Now, I’m of the opinion that for a personal blog such as this, web performance isn’t really a mission-critical sort of thing, but as a software developer who has often had to work hard to optimize the web applications we delivered to our clients, it kind of became a matter of pride :pUnacceptable!

Ice Candy

| Categories: Just Another Day | Tags: Nostalgia

I read an article recently about how we should encourage entrepreneurial spirit in kids from a very young age. It made think of a time when we were kids and we tried running a business It was a summer from years ago. Perhaps 1988 or 1989, or maybe a year or two earlier, I can’t be sure. I was young, my brother was younger by a few years, my female cousin older by a few years.

Working with Testers

| Categories: Software Development | Tags:

I had my first taste with working with software testers during my first project where I was involved with porting an old system to a new version of the software. My first task involved porting reports which were to be generated by the users then printed out. The task wasn’t too difficult: basically you took the source code of the report (it was some weird binary format recognized only by the particular reporting tool – that was how it was done back in the day) and open it using the newer version of the tool, and the tool did some sort of migration magic to adapt it to the new format, then you just save it back again.

Everyone is Biased

| Categories: Opinions | Tags:

Grammar note: “Biased” is an adjective. “Bias” is a noun. It is not appropriate to say that a person or an entity “is bias”. Unless you are talking to like a prejudice elemental or something (takes note of that for hypothetical hipster RPG) In a (long-winded) discussion during the recent election period, someone told me that I “obviously had a bias” and my answer was “Of course I do! Everyone does!

In the modern era of online services and applications, it is getting more and more common to hear of databases and systems being hacked and user data being exposed. The most dangerous of this data is the user’s password since it may allow access not only to your own service but to other services as well. As an application developer, the below is probably the bare minimum you need to know when handling user passwords:

Password Security for Dummies

| Categories: Tech Life | Tags:

Around the first week of June 2016, Mark Zuckerberg, well-known nerd and founder of Facebook, was hacked. If even the founder of the world’s largest social network can be hacked, anybody can! So it might be a good idea to review how you manage and secure your online passwords     Avoid using short, simple, or commonly-used passwords! These are subject to so-called “brute force” attacks where bad actors just try a whole lot of passwords until they find one that works.

More stories from the early days. Evaluating someone’s programming ability is hard, especially someone fresh out of college. A student’s grades is in no way indicative of how well he can program after all. So most nontrivial programming jobs have some sort of complicated application process involved. I remember going in and taking an exam. Most application processes will have some sort of written exam to filter out people who look good on paper, but can’t actually do anything.

Immortality

| Categories: Opinions | Tags:

“Do you know what’s there, waiting beyond that beach? Immortality! Take it! It’s yours!” – Achilles, Troy Each person has a different view of what their life’s purpose is, but I’ve found more often than not it relates to some form of immortality. Usually that means leaving something behind, some trace of yourself so that the world remembers you, something that says “I was here, I existed.” For many people that means offspring, for others it may mean some other legacy: children taught, people helped, ideas expounded, inventions created, companies founded, and so on

You Are Not Your Code

| Categories: Software Development | Tags:

I once had to advise someone who found himself irritated at receiving lots of comments during code review. I think my response was good enough to quote verbatim: Remember: You are not your code. You are not the hundred or so lines of C or Java or JavaScript or whatever that you wrote today. This problem arises because you are too attached to your code. Your ego is associated with the code you write and you feel that any comments or defects found reflect upon you as a person.

Hearthstone vs MTG

| Categories: Gaming | Tags: ccgs

[][1]Totally different yo I am of course a long-time Magic the Gathering player. Over the past year or so I’ve also been playing Blizzard’s digital CCG Hearthstone (limiting myself to free to play since who has money to spend on two CCGs?) and I’ve been thinking about the design parallels and differences between the two. If you’re a Hearthstone player, you’ve probably read a lot of these things before, since many well-known pros play both MTG and HS.

Origin Story

| Categories: Software Development | Tags:

A while back I answered a question over on Quora about how I got started down the path of programming. It’s not a particularly interesting story, but I still thought I’d record it here for posterity. Sometime when I was much younger, maybe somewhere between twelve to fourteen years old, I remember having some sort of QBasic programming learning book at home. I forget how we got it, I think my uncle brought it home for me sometime for some reason.

Debating On The Internet

| Categories: Opinions | Tags:

Relevant XKCD: Sometimes I have this inexplicable urge to argue with people. With recent events I’ve found myself getting into more discussions, debates and otherwise friendly arguments online. The quality of these interactions hasn’t always been the best, and many times I feel like I should have stopped engaging sooner or maybe not participated at all. I’ve considered some points to help me decide in the future whether to bother engaging other people online.

"Everyone knows the third movie is always the worst" -- Jean still too much focus on Jennifer Lawrence/Mystique some great soundtrack choices Quicksilver scene maybe just a tiny bit too long. Tradition of defying the rules of physics continues (I hope someone does the math on how fast he was probably moving) nice 80s wardrobe lol not particularly faithful to the source material plot is all over the place, a lot of WTF moments here and there.

Stellaris (Review)

| Categories: Gaming | Tags:

Or “How Did A Ceramic Pot End Up In Stellar Orbit”? Stellaris is a 4x space strategy game available on Steam. The game is created by Paradox, well-known for a number of other grand strategy games mostly with a historical basis such as Crusader Kings. I’ve owned Crusader Kings II for a while now but never got into it too deeply because (a) it’s just a bit too overwhelming; and (b) I find the combat way too obtruse.

We shouldn’t have to keep telling people that Ferdinand Marcos was a terrible president and that the Martial Law he imposed was terrible for the country. Imagine if a significant percentage of German citizens kept insisting that Hitler was a great man and the more sensible Germans had to keep trying to educate them on why that wasn’t true and why World War II was a terrible idea and that they wanted to elect Hitler’s descendant to a position of national prominence.

Elections 2016 -- My Ballot

| Categories: Philippines | Tags:

This has been one of the most divisive and shenanigan-filled election campaign seasons ever, and politics is normally crazy in this country so that’s saying something. There’s a strong use of social media this time around, and it’s led to the internet being a hotbed of opinions and propaganda and memes and lies and half-truths and threats of violence. I was hoping greater citizen involvement via social media and the debates would mean citizens have more information and thus would get to be more discerning, but it seems that things have only gotten worse.

Sketching Daily

| Categories: Just Another Day | Tags:

I’ve had a bit more free time recently, and I’ve been filling that time by starting up some hobbies (some old, some new). One of them has been sketching. I’ve been drawing things for as long as I remember – I have elementary and high school notebooks with more doodles and x-men drawings than there are notes. And even at work, I often find other meeting participants checking out the random sketches I had been absently doing while other people were speaking.

  (Originally posted on Facebook) Heaven knows we are in need of some serious income tax reform, and the government needs to work a lot on efficient utilization of the revenue they do earn, so of course when I first saw the image below like any middle-class Filipino I found it a bit enraging. But then I thought to myself: if Singapore has such low taxes, where does the government get their operating budget from?

Travel anxiety

| Categories: Travels | Tags:

As I write this I am at the airport, trying to kill time. As per usual, I am more than an hour early before the check-in time for my flight. It’s a thing I do, no matter where I’m travelling, that I put in lots of buffer time so I will more often than not arrive way too early and need to wait. It’s not just for flights either – I have a tendency to arrive early for any sort of time sensitive appointment.

I was sent to London for work for a few months, which meant an opportunity to play a third GP for the year after Manila back in January and Singapore back in June. This will be the most GP events I’ve played in a one year period. I didn’t have time to practice, so I went with an updated version of the Jeskai tempo deck I was playing at the start of Khans rotation.

Thirty-Seven

| Categories: Just Another Day | Tags:

I like to be optimistic, or at least to try to. And to believe the best of people, or at least try to. It’s not always easy. Sometimes people disappoint you. Sometimes you feel lost. Or stressed. Or stuck in a rut. And you don’t know what to do. You have to be able to look within yourself to find your own drive, to find the ability to move forward in spite of the tough times.

GP Singapore 2015

| Categories: Magic the Gathering | Tags:

GP Singapore 2015 would be my first Modern GP and maybe only my 3rd or 4th Modern event altogether. Modern is a difficult format to prepare for; there are many decks to prepare for and it’s almost impossible to master all the matchups. For this reason, I felt much less prepared for this event than for GP Manila back in January. I put together Grixis Twin for this event. It’s a bit difficult to pilot, but I felt it had a reasonable matchup across the board and there’s always a chance of comboing out when you’re falling behind.

Previously: Overview | Barcelona Part 1 | Barcelona Part 2 | Rome and Vatican City | Rome Part 2 and Paris Part 1 This series of posts has taken longer than I thought it would, and I grow weary on it. We’ll cover things a bit faster from here, less of the daily stuff and we’ll stick to the highlights. This will be the final entry! Sunday March 15th This Sunday we took a long walk to visit the famous Louvre museum (why go to Paris and not see the Louvre).

Europe 2015: Rome Part 2 and Paris Part 1

| Categories: Travels | Tags:

Previously: Overview | Barcelona Part 1 | Barcelona Part 2 | Rome and Vatican City Friday March 13th This was our last day in Rome and we were planning to visit the Colosseum and the nearby Palatino Hill. It was a long walk and we passed by a few palaces and the usual open plazas, many of the landmarks identified by Egpytian obelisks placed there by the Roman emperors. Rome is chock-full of cobblestone roads and plazas lined with souvenir shops and pizzerias and buildings fronted by 12-foot-high steel doors with large lion-head knockers and churches liberally sprinkled every other block.

Europe 2015: Rome and Vatican City

| Categories: Travels | Tags:

Previously: Overview | Barcelona Part 1 | Barcelona Part 2 Wednesday March 11th It’s early in the morning when the shuttle picks us up to take us to the airport for our flight to Rome. When we first planned the trip a few months back, only Spain and France were on the itinerary. But due to a last-minute change in circumstances, we decided to add Italy to the trip. We had also acquired a railpass and were planning to travel by train between Spain and France, but given the change of plans we decided to refund the railpass (up to 85% of the cost can be refunded) and we literally booked inter-Europe flights during our layover in Singapore at the start of the trip.

Europe 2015: Barcelona Part 2

| Categories: Travels | Tags:

Previously: I went to Europe, decided I should tell you more about it and started talking about Barcelona Monday March 9th For today, we had decided to visit Park Güell, a Barcelona tourist spot created by this old-timey big shot to display the works of well-known Catalanion architect Antoni Gaudi. I say “well-known” but I’ll be the first to admit that my culturally-ignorant self had not heard of him before, but he’s kind of a big deal in Barcelona with many souvenir shops sporting some thing reminiscent of his works.

Europe 2015: Barcelona Part 1

| Categories: Travels | Tags:

My previous post only skimmed my trip to Europe. I did not want to write too much, partly because I was uncertain at how many would be interested to hear the sordid details and partly because while I was writing the post, the words did not flow as freely as I would have wanted. Despite this, I have received good feedback and more than one person had asked for more details.

Europe Trip 2015

| Categories: Travels | Tags:

My friends know how stingy I am with money, and my family knows I’m not much of a tourist, so some might have been surprised that I took the better part of two and a half weeks off from work to travel around Europe with a couple of friends. It was my first trip outside of Southeast Asia and the first time I took a long haul flight. Other than my concerns regarding the possibility of my luggage getting lost, the trip was relatively smooth and the Singapore Airlines plane had relatively decent food, service and in-flight entertainment.

One of my many, many loyal blog readers pointed out to me that I had yet to post about Grand Prix Manila, which took place in the first week of this year. I’ve been meaning to post about it, but it got lost in my backlog. So here we are. Yes indeed, I still play Magic, “on and off”, as it happens with most Magic players with busy lives and/or multiple other hobbies.

Globe’s Spam Reports Policy A few days ago I got dragged into a debate over Twitter regarding Globe’s policy on handling reports sent in via Twitter about spam/scam text messages. When you send in reports of text spams via Twitter, one of Globe’s representatives will ask you to agree that in case the spammer disputes the allegation, they would have to disclose your mobile number to them. For me, the policy seems completely reasonable: if you accuse someone of a crime, they should have a right to know what exactly they are accused of and who exactly the victim was.

Thirty-Six

| Categories: Just Another Day | Tags:

Thirty-six is a semiperfect number, meaning it is the sum of some subsets of its natural divisors.   Like thirty-six, life isn’t perfect either. But there’s still much to be thankful for. I am grateful that I have a roof over my head and am able to eat at least three square meals a day (if I so choose). I am grateful that I have wonderful parents and siblings who are always ready to support me no matter what shenanigans I get into.

Well, I haven’t written anything in a while, so I figured I’d write some words on the new Spider-Man movie. Spoilers abound! Action-packed! The web-swinging is fun and looks and feels just like Spidey from the comic books. Spider-man moves and fights and banters pretty faithfully to the comic book version of our favorite wall-crawler, so that’s a definite plus. Peter’s Spider-sense is portrayed as a slow-motion bullet-time kind of deal which allows him to react quickly and save all the people while dodging everything.

2013 -- Books and Games

| Categories: Gaming | Tags:

It’s the end of the year, so it feels like a good time to look back at the books and games I’ve gone through in 2013. I guess it’s my lack of focus really but my reading rate has really gone down over the past few years, I guess in favor of TV, comics and games. (I guess comics count as reading too, but I’m talking about full-length novels. For 2013 as far as I can tell I only finished reading the following novels:

Movie Review: Man of Steel (Spoilers!)

| Categories: Opinions | Tags:

Few people are really Superman fans, because let’s face it, Superman is boring compared to say, Batman. I wouldn’t claim to be a fan either, though I follow the history because of being generally a comic book guy (I got less than 50% of the answers in a recent Superman round in one of the local quiz nights =/) That being said, I did re-watch the first 2 Donner Superman movies and re-read All-Star Superman and Superman: For Tomorrow ahead of watching the movie.

I wrote some stuff about Vita vs 3DS in a Reddit post, I thought I’d expand on it here. I have access to both a first-generation 3DS with ambassador status (this is actually my brother’s but he doesn’t use it much) and a PS Vita which is only a couple of months old. I use the Vita a lot more because reasons: The screen is very very nice, especially compared to the 3DS screens.

Resources The content of this post is regarding my own opinion and who I plan to vote for. If you want to do your own research (I highly recommend it), here are some links to get you started: Movement for Good Governance briefers on Senatorial candidates Rappler Senatorial profiles I would also Google “rappler [candidate name] interview” for the interview article for each candidate (too many to list here) Here’s a link to a Google doc of my own notes on each candidate, which I used as basis for recommendations below.

It’s easy to blame the poor, the masses for voting into power devious politicians, the corrupt, those with no track record, political dynasties based on money, survey results, name recognition or who has the most giveaways. But take a look at the number of decisions that have to be made when you go vote in an election (let’s say it’s also a presidential election so that we have a complete view):

People who follow me on Facebook or Twitter know that I’ve been recently made a number of anti-Nancy Binay posts. For a while now I’ve been wanting to write a blog post about that and several other election-related thoughts. I’ve decided to present these thoughts it as a fictional chat between made-up characters. Totally fictional characters. Any resemblance to actual people living or dead = pure coincidence. (Although if you must try to imagine these characters, you can imagine jaeger as a dashing idealist, in-in as a cynical pragmatist, ORYLY as a carefree vagabond and Scrappy coco as someone who just wandered into the wrong room.

Scenes from a Quiz Night

| Categories: Just Another Day | Tags:

Wednesday, March 20, 7:56pm We were four of us walking down the barely lit passage on the side of the building. The guard had lazily pointed us to a large open door near the back of the building. The interior was a studio-type area and there was a group of three women dressed in white who had arrived ahead of us and we followed them up a narrow set of stairs to an elevated lounge area with chairs and tables.

“Sir, baka pwedeng lipat na lang kayo ng taxi,” the driver said to me apologetically. “Hindi na po kasi ako aabot sa garage sa Sta. Mesa.” He offered to drop the flag-down fee from the fare so I just agreed. I got off and looked around. One of the reasons I agreed to let him off despite the late hour was that I knew the place where we were passing by – a well lit area where I could easily get another taxi or take an alternative form of transportation if needed – it was the neighborhood I grew up in.

Writing regularly is something I’ve always wanted to be able to do but like most things I have trouble with, it’s the lack of discipline that gets me. Take this blog for instance. I randomly think of things to write about while I’m idling or commuting or waiting in line or any of the dozen or so other opportunities during the day when my mind wanders, but because of laziness and/or lack of discipline, these ideas never get very far.

Cheetergarmi

| Categories: Just Another Day | Tags: Nostalgia

When I was growing up, our mom would make this sandwich spread concoction that was a mix of cheese, butter, sugar and milk. I loved it, and when my mom told young me what the ingredients are I quickly gave it the name “Cheetergarmi” (I’m sure you can figure it out). She still occasionally makes some for us to this day, just had some for a midnight snack! Also, I pretty much wrote this post so that I could have a Google search term that returns a single hit to a blog post of mine.

The last two entries (here and here) took too long to write, and there’s a helluva lot of other titles to go through. And many of them don’t deserve much comments, so I’ll just go through the rest quickly or I might never finish. Action Comics – the younger Superman stories are interesting, but occasionally Morrison goes off on one of his weird tangent stories. Superman’s early years are largely re-written, and that’s understandable, he’s never had particularly interesting events in his history anyway

Last weekend was Grand Prix Manila 2012, held at the SMX at Mall of Asia. I don’t really consider myself a “regular” Magic player anymore so I’m not going to give a full tournament report, though I will record some details for posterity. Let’s start with the deck. I played some version of Naya Pod, limited by what cards were available as usual: A Pile of Naya [Creatures] 4 Birds of Paradise 3 Avacyn Pilgrim 1 Ulvenwald Tracker 4 Strangeleroot Geist 2 Thalia, Guardian of Thraben 1 Daybreak Ranger 2 Borderland Ranger 2 Blade Splicer 2 Fiend Hunter 2 Wolfir Avenger 1 Phyrexian Metamorph 2 Hero of Bladehold 2 Huntmaster of the Fells 3 Restoration Angel 1 Oxida Scrapmelter 1 Acidic Slime [Spells] 2 Birthing Pod 1 Bonfire of the Damned [Lands] 4 Copperline Gorge 4 Razorverge Thicket 3 Sunpetal Grove 2 Rootbound Crag 2 Gavony Township 1 Slayer Stronghold 2 Cavern of Souls 4 Forest 1 Mountain 1 Plains [Sideboard] 1 Ancient Grudge 2 Ray of Revelation 1 Zealous Conscripts 2 Garruk Relentless 2 Celestial Purge 3 Thunderbolt 2 Arc Trail 1 Surgical Extraction 1 Oblivion Ring

This is part 2 of my DC New 52 Review. Part is here. Hopefully I finish this series before the reviews become too out of date. Batman I decided to read every book of the New 52 to widen my horizons regarding my comic book reading, and one of the greatest advantages has been exposure to Scott Snyder’s work. I have a tendency not to remember writers and artists of comics I read, except for the very famous ones, so I wasn’t aware that I had read his work before during the Black Mirror arc in Detective Comics pre-New 52.

CJ Corona Impeached

| Categories: Opinions Philippines | Tags:

Time for some Monday morning quarterbacking! Disclaimer: I Am Not A Lawyer. I’m just a guy with opinions. And you know what they say about opinions… Today, the Philippine Senate has impeached the Chief Justice of the Supreme Court by a vote of 20 to 3. I’ve generally kept silent about the CJ trial, mainly because I know people who are rabidly pro-Corona and I don’t feel like getting into an argument with someone who’s obviously biased (I’m sorry my friends, we are going to have to agree to disagree now).

The DC New 52 Review (Part 1)

| Categories: Pop Culture | Tags: Comics

If you’re reading this, that means I’ve done it: I’ve read the first eight issues of every DC New 52 book. I’ve always been a Marvel fan more than DC, my previous DC reading having been restricted to JLA and the Batman books, so I figured exposure to the New 52 would widen my appreciation of the DC stable of heroes. Here are my reviews: Justice League While the art is Jim Lee-fantastic, the first story arc left much to be desired.

2011 in Review. Sort of. I guess.

| Categories: Just Another Day | Tags:

Somehow the years seem to fly by more quickly nowadays. They all seem to blend in together too, at least in my memory. When I was thinking of what to write for this post I thought that this was the year I had taken my break from working. That was actually last year. I don’t think it’s a sign that I’m growing old. Maybe more of a sign of the fact that I’ve settled in to some sort of routine that makes it difficult to tell the days or even years apart.