Roy Tang

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

Blog Photos Links Archives About

Archive for September 2016

Posts (10) :: Photos (61)

Posts

Type Interfaces Matter


… especially for strongly-typed languages. In one of¬†the bigger Java projects that I¬†took over, I was often annoyed to find some devs had written method signatures like public void doTheThing(HashMapparams) Which is silly – not because of the naming, that’s obviously not a real-world function name. The silly part is requiring a particular implementation (HashMap) instead of the generic interface (Map). It unnecessarily restricts your API and makes it less flexible.

read more (162 words)

Posted by under post at / Software Development / Syndicated: / 0 / 162 words

Lying and Salesmanship


A recent post on Wait But Why had me thinking about lying. Some people will scoff if I say I don’t lie. They’re not wrong. I once spun a tall tale¬†about a¬†childhood rival I had visited in the province who challenged me to a swimming contest to explain¬†why I had lost my glasses to the sea. The lie was so good, I got a follow-up question about it a year later and was so surprised I just blurted out that my rival died in accident before finally admitting to the fib

read more (426 words)

Posted by under post at / Opinions / Syndicated: / 0 / 426 words

Investigating the Drug Killings


It’s no secret that many are unhappy with the way the congressional investigations into the so-called “drug war” and related killings here in the Philippines. If I were in charge of these investigations, these are the some of the questions I’d want answered: (Disclaimers: I’m not a lawyer or any kind of expert. Understandably, the resource persons may be reluctant to answer some of these in open session, in which case an executive session could be done.

read more (1348 words)

Posted by under post at / Philippines / Syndicated: / 0 / 1348 words
Overhead scale up rapidly as project team size increases. Every time you add a new person to the team, he comes with a lot of overhead such as the need to learn the project details, responsibilities of other team members,¬†who to consult when there’s trouble, custom project procedures, and so on It’s a reinforcing cycle too. As overhead increases,¬†the team imposes more processes and restrictions to make sure everyone is doing the right thing and there are no screw-ups.

read more (314 words)

Posted by under post at / Software Development / Syndicated: / 0 / 314 words

Speak Up


Asians, and maybe Filipinos more specifically, have this cultural bias towards trying to avoid conflict. So often there will be people who don’t like to speak up when they think something is wrong, either just tolerating it or hoping someone else will take it up. A software dev in another company once told me that he felt like he was complaining so much that he was looking like a bad guy

read more (323 words)

Posted by under post at / Opinions / Syndicated: / 0 / 323 words

Overtime


Overtime in software development projects seems to be a given. Sure, there are projects and companies that don’t need it,¬†but those feel like the exception rather than the norm Overtime in software development is a natural consequence of schedule pressure and the fact that estimation is hard, which is why it’s understandably common, but that doesn’t mean we shouldn’t try to avoid it More than once I’ve been in a situation where the team stays overnight to try to get a build or release ready for the next day only to run out of time and have to delay the deployment anyway.

read more (368 words)

Posted by under post at / Software Development / Syndicated: / 0 / 368 words

Pain


Almost six years ago, I had to undergo minor surgery and had to endure the pain of being administered spinal anesthesia. I was reminded of this recently because a loved one with an even lower pain tolerance than I did recently had to undergo a similar procedure I have a pretty low tolerance for pain myself. I tried to spin it a bit positively in the blog post linked above, but there’s no question many times during the procedure I felt miserable and in lots of pain.

read more (419 words)

Posted by under post at / Nostalgia / Syndicated: / 0 / 419 words

Will AI replace all our jobs?


A while back, news came out that an AI was able to perform a diagnosis¬†after the human doctors were stumped. Having just finished binge-watching the entire run of Star Trek Voyager, I immediately thought that was the sort of AI advancement that could lead to such things as Voyager’s Emergency Medical Hologram, an AI which could replace a human doctor. Of course,¬†it is still very unlikely¬†for this to happen anytime soon, medicine is a very complex field and new things are still being discovered all the time.

read more (491 words)

Posted by under post at / Software Development / Syndicated: / 0 / 491 words

Random Thoughts on Time


I remember having a discussion with a friend a few years back where I made the following list to emphasize a point: 8-9 hours at work (possibly more) 7-8 hours of sleep 3-4 hours commuting in Metro Manila 2 hours for meals That leaves you between 1-4 hours for all forms of recreation including exercise, sports, TV, derping around on the internet, hanging out with friends, and so on.

read more (635 words)

Posted by under post at / Opinions / Syndicated: / 0 / 635 words
Without a doubt, the number one problem in software development projects is schedule pressure, that is, the pressure to meet unreasonable deadlines and targets Almost all other problems can be overcome if there were no schedule pressure: weaker developers could be mentored to become better, more productive, and commit less faults less faults overall will be committed anyway if there were no schedule pressure poor requirements could be threshed out in more detail difficult clients can be argued, worn-down, and eventually reasoned with problematic team members can be counseled, or replaced with new blood and so on But of course, the reality is that we live in a world with deadlines and targets, many of them set by people who have no idea about the complexities of software development.

read more (398 words)

Posted by under post at / Software Development / Syndicated: / 0 / 398 words

Photos

Posted on r/Philippines: Current events
Current events #sketchdaily
Leonardo #sketchdaily
Undefeated streak at Pop quiz continues!
Windmill #sketchdaily
Pwede pa ko bumalik!
Pwede pa ko bumalik!
Life’s a glitch #sketchdaily
Street bubble guy #sketchdaily
Posted on r/Philippines: Some comics I drew today (warning: Politics)
Posted on r/Philippines: Some comics I drew today (warning: Politics)
Presidential spokesperson #sketchdaily #philippines (one more because i had fun)
Senator Boxer #sketchdaily #philippines
Pumpkin spies #sketchdaily
Campfire #sketchdaily
Karlvin King Listana is this true?
I’m tempted to never earn any more Steam achievements https://t.co/kawD5hIo1b
Lion-O #sketchdaily #thundercats
RT @HecklerForever: “I want you to #burn. Burn for me baby…“ūüĒ• https://t.co/zPMnDJYSuk
I wonder if people who think like this have always thought like this and are just being emboldened by the current environemnt
Juzam djinn #sketchdaily #mtg
Use your imagination #sketchdaily
Reigun! #sketchdaily #yuyuhakusho
An excerpt from a study about sim card registration (http://www.gsma.com/publicpolicy/wp-content/uploads/2013/11/GSMA_White-Paper_Mandatory-Registration-of-Prepaid-SIM-Users_32pgWEBv3.pdf)
“Runaway train never coming back~” #MTGKLD https://t.co/O20Wp4ph5z
The Killing Joke #sketchdaily
Going Merry #sketchdaily #onepiece I might add the crew at a later date
Empty orchestra #sketchdaily
Woohoo I took a gym #pokemongo #filthycasual https://t.co/6vQmwL75pC
Black Widow #sketchdaily #marvel (superhero landing!)
Just a boat #sketchdaily
are you able to see all 12 black dots at the same time?
Why dont we have local headlines like these?
Rejected Beast Wars characters: CowScream #sketchdaily #transformers
RT @SciencePorn: This…….. is the best headline https://t.co/yug61zXdeV
One of my biggest fears is that the propaganda, indoctrination, and cult of personality around our dear leader reaches North Korea levels, and the rest of the world will be unable or unwilling to dig us out of whatever quagmire we voluntarily chose to walk into
Inappropriate places to catch pokemon #sketchdaily
Skywarp! #transformers
Imagine Dragons #sketchdaily
Hay naku Pilipinas, nakakastress ka
Magneto gets grumpy if he hasnt had coffee yet #sketchdaily
I tried out the iPad Pro’s multitask feature for today’s #sketchdaily. Pretty neat!
Quick Worf doodle #sketchdaily #startrek50th
Japanese speaking friends, go wild
Uh, okay http://time.com/4343767/job-personality-work/
Bought a couple of Foxtrot books on sale last week, I think it took less than an hour to read the first one haha
Resplendent Quetzal #sketchdaily
Woo, we’re dominating r/worldnews this morning! #PinoyPride http://i.imgur.com/BxXCggi.png
Some sort of city #sketchdaily the colors here are weird I know
TIL about the term “surrender cobra” (google it!) #sketchdaily
Demon toilet #sketchdaily (such a nice thing to doodle on Sunday morning)
It’s a science experiment! #BackToTheFuture https://t.co/HADSZoO8vI
Supergirl #sketchdaily Not too happy with this one but I ran out of time
Remember:
So, yesterday I found out my keyboard had been infested by ants (yes, we’re terrible, we shouldn’t be eating too much near the keyboard, etc). There’s some pictures here if you want (warning: ANTS!) I ended up having to take apart the keyboard (twice), rinse it, rinse the keycaps and the rubber contacts separately, then letting it dry overnight. I had already tried putting it back together last night, but it led to some weird problems like the R key rebooting the computer, or the 0 key randomly getting pressed continuously.
So, yesterday I found out my keyboard had been infested by ants (yes, we’re terrible, we shouldn’t be eating too much near the keyboard, etc). There’s some pictures here if you want (warning: ANTS!) I ended up having to take apart the keyboard (twice), rinse it, rinse the keycaps and the rubber contacts separately, then letting it dry overnight. I had already tried putting it back together last night, but it led to some weird problems like the R key rebooting the computer, or the 0 key randomly getting pressed continuously.
So, yesterday I found out my keyboard had been infested by ants (yes, we’re terrible, we shouldn’t be eating too much near the keyboard, etc). There’s some pictures here if you want (warning: ANTS!) I ended up having to take apart the keyboard (twice), rinse it, rinse the keycaps and the rubber contacts separately, then letting it dry overnight. I had already tried putting it back together last night, but it led to some weird problems like the R key rebooting the computer, or the 0 key randomly getting pressed continuously.
BMX-men #sketchdaily

Roy Tang is a:

roytang.net is a personal site, an E/N site, and kind of a commonplace book; 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.