roytang.net Posts Photos Archives About

Subscribe: RSS JSON

2021 April

2020 December

2020 November

2020 September

  • This post is just quite a few thoughts on mobile apps and mobile app development, all mishmashed together. I don't claim to be a mobile app specialist, at best I've dabbled in them, but enough to form some opinions I guess? A Bit of History My first exposure to mobile app development when I got pulled to help my then-company's then-fledgling mobile team with cleaning up the codebase for their iOS app. This was back in maybe 2011? It was one of those projects where some devs built a quick proof-of-concept demo using new technology, then management liked it and

    read more (1693 words)

2020 August

  • Mozilla made the tech news recently for laying off a whole lot of people. (Official statement). People were alarmed and worried about the future of what is the last major independent browser and the open web, bit it looks like it isn't that bleak. Most of the layoffs were to teams other than those working on Firefox, things like the experimental browser engine Servo, devtools, and MDN. The core Gecko team seems to be unaffected. Not that these things aren't important. MDN, if you're not familiar, is a set of documentation of web standards and browser support, available online, that

    read more (904 words)

2020 July

2020 June

  • I had been meaning to quit Facebook for more than a year maybe, but I kept putting it off. The main reason being that I like having backups of my own digital data (still very much a pack rat), and Facebook's social media export is less than ideal, for me at least. Less than ideal why? It doesn't include a lot of content I would like backed up, including: comments on my posts (there have been some good conversations with friends over the years I would prefer to preserve) things I've reposted from other people content of certain groups I'm

    read more (586 words)

2020 April

  • I've had the good fortune to be on the interviewer side of technical interviews much more often than I've been the interviewee. I've been doing a few more of these over the past couple of years and made some notes, so I thought I'd talk about technical interviews for a bit. Caveat: these are largely based on my own experiences, in the local environment here in the PH. Technical Exam / Screening Many companies will ask applicants to undertake a technical exam before letting them advance to further stages of the recruitment process. This kind of screening is most useful

    read more (1825 words)

  • Unless you’re working at a small shop that only serves local clients, software development these days is often an international endeavor. That means the aspiring software developer needs to be able to work with and get along with people of different cultures. In the company I worked with, most projects back in the day we would have a person from the foreign office in charge. Their roles were either as project manager (PM) or system analyst (SA). They were the ones who would be interacting directly with the clients so they get to decide which things need to be done

    read more (1063 words)

  • Just last month, I wrote a method of implementing element toggles using a pure CSS approach. While that post was educational for me, it turns out there was an even simpler way of doing things. I found out about it when I read this post by Jamie Tanna. Apparently the details and summary tags already support HTML toggles, so we can do this with neither CSS or JS! I've updated the spoiler tags on this site to use this new method. I also used this method for the Table of Contents on certain posts (currently only the Covid19 diary). Sample

    read more (226 words)

  • A while back one of the biggest leaks of personal information in history was made by hackers accessing the Commission on Elections database here in the Philippines. More than 50 million voter registration records, including information such as full names, date of birth, address, among others. A small percentage of the data leaked also included email addresses and even passport numbers. The hack exposed more than half of the country’s population to the possibility of social engineering and other exploits. It was certainly a national embarrassment, especially for those of us working in software development. But the truth of the

    read more (1352 words)

  • For most of my time working on software projects, it has always been for bespoke projects. Bespoke basically means a software program or package tailor-made for a specific client. The client provides all the requirements, the team fleshes out more details and specifications, some prototyping may or may not ensure, and implementation proceeds thusly. It’s relatively straightforward compared to product development. I only started getting involved with “product”-like projects over the in the latter half of my career as a software developer. A "product" is a more general use software program or package, perhaps sold to the mass market or

    read more (1094 words)

2020 March

  • Drew Devault wrote a great post/rant about the reckless limitless scope of modern web browsers: I conclude that it is impossible to build a new web browser. The complexity of the web is obscene. The creation of a new web browser would be comparable in effort to the Apollo program or the Manhattan project. For the past year or so, I've been thinking about contributing to an open source project. Haven't gotten around to it yet, but I have looked at a few projects of interest. Preferably it's something I use on an every day basis, so Firefox was one

    read more (815 words)

  • Edit 2020/04/17: A month and a half later, I found a better way to do this! I previously had some post that had some content hidden via spoiler tags, using a custom Hugo shortcode. Since I'm an old-school developer I was previously doing this using some Javascript run on load: let elements = document.querySelectorAll(".spoiler_header"); Array.prototype.forEach.call(elements, function(el, i) { el.addEventListener( 'click', function( event ) { let nextEl = el.nextElementSibling; let display = getComputedStyle(nextEl)['display']; if (display == 'none') { nextEl.style.display = 'block'; } else { nextEl.style.display = 'none'; } }, false); }); This is the modern age however. We should really be

    read more (316 words)

2020 February

2020 January