Roy Tang

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

Blog Notes Photos Links Archives About

Archive for September 2016

Posts (10) :: Photos (58)

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(HashMap<K, V> params) 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 (164 words)

    Posted by under post at #Software Development
    Also on: tumblr twitter / 0 / 164 words
  • Lying and Salesmanship

    A recent post on Wait But Why had me thinking about lying. (Click to view full-size) 27 Sep 2016 1:30amClose 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.

    read more (434 words)

    Posted by under post at #Opinions
    Also on: tumblr twitter / 0 / 434 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
    Also on: tumblr twitter / 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
    Also on: tumblr twitter / 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
    Also on: tumblr twitter / 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
    Also on: tumblr twitter / 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 (418 words)

    Posted by under post at #Nostalgia
    Also on: tumblr twitter / 0 / 418 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
    Also on: tumblr twitter / 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
    Also on: tumblr twitter / 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 (396 words)

    Posted by under post at #Software Development
    Also on: tumblr twitter / 0 / 396 words

Photos

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
Lion-O #sketchdaily #thundercats
RT @HecklerForever: “I want you to #burn. Burn for me baby…“🔥
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
(from MTG. Original artwork by Mark Tedin)
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
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
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
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
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
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