Friday, 4 December 2026

App Review: Haunted Merge

Merge games are not really my thing. In the past, I've seen numerous ads for them, many incorporating a story of some kind, along with the mechanic of matching identical-looking objects onscreen to form fancier objects, which will then be "merged" with other identical objects. A simple premise, but potentially addictive. Just not to me, I suppose.


Haunted Merge by WhaleJoy Game Limited, however, got me with their hook - the story behind was a ghost story. Not just any ghost story. An honest-to-goodness Chinese ghost story, complete with calligraphic amulets, long-haired female ghosts and pale faces starting out from the darkness.

The Premise

Zara Shen is a young girl with an animated paper figurine pet. She belongs to a family of ghostbusters, and she is investigating the disappearance of her parents. Her search leads her to a spooky old apartment block, where she uncovers some nefarious criminal activities which have led to several deaths and wandering spirits...

The Aesthetics

The graphics are decent. More than decent, really. Cute and cartoony is a given. The illustrations fit the vibe of the game.



There's been talk that the cards here use AI-generated images. But honestly, it's not that major a part of gameplay, and rendering the images originally is just too much work for too little value. I could totally excuse it.

The Experience

It's a decent story (to me, anyway) and the atmosphere was pretty good. Spooky in places, campy in others.

I'm playing this on a tablet, but honestly I can see myself playing this quite comfortably on a smaller mobile layout.

The Interface

There are basically two interfaces.

In the story interface, you tap on areas of the screen that are marked out through sparking spots or glowing fingers, in order to advance the story. In the latter case, the advancement only happens when you have the requisite amount of stars.


For matching, you mostly see a grid of objects which you will then match by dragging one onto another. Upon matching, they become different objects (hence, "merging") which can, in turn, be merged to other objects. The goal is to obtain the objects displayed in the bars above.



You get Energy (blue lightning bolts) recharged through time (and through playing side games), and usage of object generators drains energy. You get Stars from obtaining larger objects via merging. You get green gems from bonuses unlocked during the game, and these can be used to purchase more Energy or buy Objects outright!

What I liked

This is probably a really tiny thing, but their loading screen kicks ass.


Voice acting. The different actors were great in their roles. I actually turn up the volume when playing the segments. Whoever is voicing Zara Shen is one of the the least annoying voice actress I have ever encountered in a game.



Special mention to Xiaoji the animated talisman/familiar. Not only is it cute, it's a plot device! I don't know how I can find the Microsoft's Clippy so irritating, but this little fella so endearing!

Story. As with almost all of the match-and-merge type games I've seen (admittedly not a lot) there's some mystery that needs to be unravelled. In that sense, this game is not all that original. But I'm enjoying the story anyway. Crime, supernatural, a cute mascot... hard to top that!


Rewind and replay. There's a feature built right into the interface that enables the user to revisit previous stages and refamiliarize themselves with the story so far.

Some of the minigames are pretty fun, and might even have worked as small standalone games.



The scares can be predictable at times... but still loads of fun!

What I didn't

Some of the little side games made no goddamn sense and leaving them out altogether would have been better.


And some of them are just visual variations on the same theme.




Speaking of the side games, it seems like all of them take turns to pop out when I start up the game. Potentially, I have to close up to five windows before I actually get to play. Which is, well, not great.



Some of the story beats are frankly ridiculous and repetitive. Finding a hidden item that helps break a numerical code which in turn opens up a box that produces a key to a locked door? Amusing and even charming. Less so after the fifth time. And that fatigue was established in the Second Act of the story. Considering that there appear to be at least five Acts, I'm a little apprehensive.

Conclusion

Haunted Merge is a neat little game with a lot of smaller side-games, and a nice overarching plot. Doesn't take a lot of bandwidth. You can safely ignore it until you're ready to dive back in. And in a world where there are multiple things calling for your attention, this game is refreshingly less demanding.

My Rating

7 / 10

Haunted Merge is frightfully decent entertainment!
T___T

Monday, 30 November 2026

Spot The Bug: Critical Functions

Welcome back, noble bug-hunters!

For this episode of Spot The Bug, we have a tale of imperfect inputs, followed by even more imperfect handling.

Have a blessed
bug-free day.

Here's the context. I had a stream of feedback input from a database, and to be blunt, it was a terrible design. All it had were text strings, and there wasn't even a classification field. There were two types of feedback - compliments and criticism. Compliments were the default, unless the string contained the substring "_ctiticism_".

Here's a sample.
[
  "_criticism_Loads really slowly.",
  "_criticism_Font too small.",
  "Great color scheme!",
  "There was a lot of thought put into this, and it shows.",
  "_criticism_The information could be better placed.",
  "_criticism_The navigation is confusing.",
  "I really like the overall layout.",
  "_criticism_The buttons don't look clickable enough.",
  "This is surprisingly easy to use.",
  "_criticism_There is too much information on the screen at once.",
  "_criticism_The search function could be improved.",
  "The interface feels clean and modern.",
  "_criticism_It takes too many clicks to get where I want to go.",
  "_criticism_The headings don't stand out enough.",
  "Everything seems to work exactly as expected.",
  "_criticism_The mobile layout needs some work.",
  "I like how the important information is easy to find.",
  "_criticism_Some of the wording is unnecessarily complicated.",
  "_criticism_The page feels a little cluttered.",
  "The attention to detail is impressive.",
  "_criticism_It isn't immediately obvious what I'm supposed to do next.",
  "_criticism_The contrast between some elements is too low.",
  "The overall experience is very intuitive.",
  "_criticism_The help text isn't particularly helpful."
];


I know, I know, this was shit. But I made do with what I was given. If I had my way, this would at least be a properly-formatted JSON string. Oh well. The point of this was to have a page which would receive the array, and render compliments and criticisms differently.

Here was the CSS....
<style>
body
{
  font-size: 16px;
  font-family: georgia;
}

.feedback
{
  width: 80%;
  padding: 1em;
  border-radius: 20px;
  margin-bottom: 1em;
}

.compliment
{
  border: 5px solid rgb(200, 200, 255);
}

.criticism
{
  border: 5px solid rgb(255, 200, 200);
}

.feedback.compliment::before
{
  content: "\2713";
  color: rgb(200, 200, 255);
  margin-right: 1em;
}

.feedback.criticism::before
{
  content: "\2717";
  color: rgb(255, 200, 200);
  margin-right: 1em;
}
</style>


...and this was the JavaScript. Nothing fancy.
<script>
function isNotCompliment(text)
{
  if (text.indexOf("_criticism_") != -1) return true;
  return false;
}

function addFeedback(feedback)
{
  for (var i = 0; i < feedback.length; i++)
  {
    var div = document.createElement("div");
    div.className = "feedback " + (isNotCompliment(feedback[i]) ? "criticism" : "compliment");
    div.innerHTML = feedback[i].replaceAll("_criticism_", "");
    document.body.appendChild(div);
  }
}
</script>


Looks OK so far.


Later on, though, I decided to refactor. Because isNotCompliment() was simply a stupid name. Making functions based on a negative clause just adds unnecessary complexity to things.
<script>
function isCompliment(text)
{
  if (text.indexOf("_criticism_") >= -1) return true;
  return false;
}

function addFeedback(feedback)
{
  for (var i = 0; i < feedback.length; i++)
  {
    var div = document.createElement("div");
    div.className = "feedback " + (isCompliment(feedback[i]) ? "compliment" : "criticism");
    div.innerHTML = feedback[i].replaceAll("_criticism_", "");
    document.body.appendChild(div);
  }
}
</script>


What Went Wrong

Everything registered as a compliment now! Which was really affirming, but wrong.


Why It Went Wrong

For some fucked-up reason, I was trying to say, text is a compliment if "_criticism_" is not found. Whereas before, I was trying to say text is not a compliment if "_criticism_" is found.
function isCompliment(text)
{
  if (text.indexOf("_criticism_") >= -1) return true;
  return false;
}


But instead, I ended up saying, text is a compliment whether or not "_criticism_" is found. Which was pretty dumb.

How I Fixed It

Replaced the ">" operator in the If block with another "=". Problem solved.
function isCompliment(text)
{
  if (text.indexOf("_criticism_") == -1) return true;
  return false;
}


A simple fix to a problem that should never have been. That was one helluva brain fart.

Moral of the Story

First lesson - avoid negative clauses if a positive clause can be used. This simplifies things. Second, well, don't be a moron and avoid being too permissive in your If blocks.

My _compliments_,
T___T

Tuesday, 24 November 2026

Jensen Huang's Wang Is Da Latest Thang, Yo

The Internet has been awash with, ironically, AI-generated video clip memes of Jensen Huang and his recent sex scandal. It's getting a little annoying. Jensen Huang has since resigned as CEO of Nvidia. (As of just now, it appears that he's been reinstated in what must be the fastest reverse revolving door in the history of sex scandals).

Let me begin by saying that this did not hit with any astonishment whatsoever. I know men who have a hundredth of Huang's money and power, and still can't keep it in their pants. If there's a man with both the motivation and the means (and let's be real, Huang's means are astronomical) the question shouldn't really be about whether or not that man has strayed, but how many times he's done it. At this point, there have been reports about another possible scandal with an Nvidia executive named Kimberly Powell, and possibly others.

Ouch.

What's more interesting is the news that Nvidia's stock fell when this news was disclosed. I mean, why? Rich (or poor) men failing to exercise dick discipline isn't exactly a novel concept, if you know what I mean. Why would this affect stock price? It's not like Nvidia's chip-making abilities are hotwired to Huang's testicles.

The Who

Now the real reason for the stock price plummeting, might be down to the who rather than the what. As in, who Huang was getting cosy with. A certain Alice Huang who was a decision-maker at Megaspeed, a Singapore-based corporation.

That's really why the story interests me; because this ties in to Singapore. As a Singaporean, I naturally consider our position first.

It's been alleged that Megaspeed was diverting chips that Nvidia sold them, to China. Megaspeed has, to absolutely nobody's surprise, denied this. So has Nvidia.

In principle, I don't think it's right that the USA wants to prevent a certain class of Nvidia chips from going to China. However, it's undeniably their right to do so, and Singapore being seen as party to the facilitation of subverting that right, is concerning. Singapore's reputation as a business hub is at stake. Singapore thrives because of her predictability, reliability and respect for the legal rights of all parties. Without that, what are we, really?

Honey trap!

USA's concern that Alice Huang was some kind of made-in-China honeypot is undeniably interesting... but it's yet to be proven. It should probably go without saying, but allegations made, even by the US Government, should not be automatically taken as fact.

People say that Huang should have known better. A guy in his position would be bound to attract attention like this. And it's not like he's some hunk, though some women will say he looks pretty good in that sleek leather jacket. That's not the point, either. He could be ugly as sin, and his ridiculous wealth would still make him pretty attractive to an ungodly number of people even if they're not China spies.

The irony is that while Huang is probably smarter than the average guy, he's still just a guy in a position of considerable power. He's a human being with psychological and physiological needs, the means to meet those needs, and perhaps the sense of entitlement that seems to come naturally to those in his position. And that makes him more vulnerable, not less. Because there will be more attempts in his direction, and one is bound to get through at some point. Kind of like how Microsoft's website has more security features than mine, but the number of hackers attacking them is perhaps a thousand times greater.

My friends have noted that I have a China wife, and jokingly questioned if she's a spy. Mrs TeochewThunder's response has been to point out that I have absolutely nothing of interest to a spy. Ouch. Brutal. But true.

Another who

Kimberly Powell was mentioned earlier. This one is yet to be confirmed, but if true, could also go a long way to explaining the stock price. Powell was a direct report to Huang.

This isn't exactly an original concept either; bosses have been banging secretaries even before peanut butter was a thing. But once an affair like that becomes public, it usually results in a resignation. After all, that's an obvious conflict of interest. It undermines professional trust in an organization, nevermind moral implications. Uncomfortable questions arise from this kind of thing. Even if it was consensual, how much professional pressure was the woman under? Did she receive any undue rewards from the affair? Was her influence increased as a result? These are reasonable concerns.

Private business.

Some will also say that Huang's sex life is his own private business. I agree completely that nobody needs to ever contemplate him in the act of copulation. The very thought is actually kind of off-putting, to be honest, and I'm gonna have to sandblast my brain just to get rid of that image. Probably why I'm making so many sex jokes; it's my coping mechanism.

The fact, however, is that this is a situation that goes far beyond Huang and whatever Viagra he's using. And Nvidia's falling share prices are increasingly suggestive of that by the day.

Consequences and a conclusion

I've also heard fanboys clamouring that this is a witch hunt and that Huang is indispensable to AI. They couldn't have chosen anything worse than a frail flesh and blood human being as the indispensable thing to the industry, just saying. Huang's no spring chicken. He could plausibly drop dead tomorrow. What then?

Huang being targeted?

Brilliant he may well be, but the fact is that he was having an affair and got caught. As far as I'm concerned, Huang's a big boy in a big boy world dealing with big boy repercussions. Losing his job was always par for the course. Tough titty, cry me a river. What do they expect, a medal? Grow up.

People like to say that there are no consequences for rich people. Or that consequences are different for rich people. I beg to differ. They're largely the same consequences. They just hit differently.

There's speculation, for example, about the amount of money Huang could lose from this entire debacle. To the average guy, this is a life changing number. To Huang, he could go take a piss, and he'd have recovered a quarter of that by the time he's done.

Even if not, it's just a matter of a few boats and private jets. I could be alone in my assessment, but I highly doubt any of that is needed to live a comfortable life, especially when you're in your sixties. On the other hand, Huang's wealth isn't so much a fixed number, but tied to Nvidia's stock prices. So... oh well.

Huang in there, Jensen!
T___T

Wednesday, 18 November 2026

The PHP security vulnerabilities that put the internet on notice

As of October this year, a couple of newly discovered PHP vulnerabilities threatened to rattle the Internet. The PHP2Shell vulnerability was found to have existed for the past decade, undisclosed until recently. Any PHP that's 5.4 and above is vulnerable.

For this particular vulnerability, the problem is not with insecure code. It's with PHP itself. In layperson-speak: We've been installing perfectly respectable locks on the doors, only to discover that the hinges were compromised.

Good lock, bad hinges.

Despite its flaws, PHP still runs more than seventy percent of the world's websites. That's just websites we're talking about - not interfaces such as system panels and software applications.

The bug was recently found with the help of AI, but there have been reports that even before the reported discovery, there have been signs that this vulnerability was already being probed. Which is... not a comforting thought. This bug had not been officially disclosed for the past ten years. Does that mean that seventy percent of the internet has been vulnerable for the past ten years? Damn.

My own PHP use

I have fond memories of PHP. It's what I cut my teeth on after ASP, and what sparked my career revival in the 2010s. Still, I've never been blind to its faults. I've just been extremely tolerant. Kind of like Mrs TeochewThunder - I have a soft spot for her, but boy does she annoy me sometimes.

I haven't used PHP at work in a while. These days it's JavaScript, and sometimes Python.

My personal site still runs on PHP. Recently I jacked it up from 5.6 straight to 8.5.12. Daring of me, until you consider that most of my code was future-proofed to begin with (PDO instead of MySQLi, careful array declarations, etc) and had no fancy features that would require concern on my part.

And just as I upgraded, this happened. 8.5.12 just happens to be one of the releases of PHP that have been patched. Why aren't I this lucky with the lottery?

Patched!

My hosting provider is taking care of the security patches. Hey, I'm paying for the privilege. What, you think this blog is free? I'm a cheap bastard, but not that cheap. The alternative is to get my site off my provider and host it myself and provide my own patches... did I mention I'm lazy in addition to cheap?

Conclusion

I wouldn't read too much into this development. For NodeJS, there's the Node2Shell vulnerability. In 2021, there was Java's Log4Shell. This just happened to be PHP's turn. 

EDITOR'S NOTE: These issues aren't equivalent. I picked them because of the similar "shell" naming convention.

PHP haters will crow that this is just another reason to avoid PHP, but if we're being honest, PHP is hardly unique in this regard. 


Shell-om, my friends!
T___T

Saturday, 14 November 2026

Enough of trying to be enough!

Language can be contradictory. I had the occasion to encounter one such contradiction when an ex-classmate tried to sell me insurance. He said "No matter how much insurance you buy, it's never enough." He probably meant it sincerely, but it struck me as a profoundly ineffective sales pitch - if it'll never be enough, that makes me less eager to buy insurance, not more. After all, if I'll never achieve a goal, why put pressure on myself to achieve it?

Enough, already.

That brings me to a point that several life coaches I've heard on YouTube and the Clubhouse app, like to say - "you are enough". Which, ironically, while meaning the complete opposite of "you'll never be enough", achieves the same result. If you are enough, why do more?

Being enough

Back in the day, I never told myself I was enough. That would have been a big fat lie. I knew I wasn't enough. I constantly strived to learn more, hone my craft, do better, as a web developer. But at the same time, with the way tech was advancing, it was clear as day that I would never be enough. Therein lies the contradiction; why then, did I keep going?

Late into the night.

Another friend asked, "to what end?" Why did I keep signing up for Specialist Diplomas, or spend countless nights on code? My friend felt that I needed to have an end goal in mind. In effect, he was asking, "when will it be enough?"

The answer was "never". It will never be enough, because I will never be enough. And if I'm being honest, it's part of the fun.

Because being enough wasn't a goal I was trying to achieve by working on my skills. I wasn't putting up with an unpleasant task (like buying insurance, and I apologize in advance to the psychos who actually enjoy buying insurance) to reach a destination. I genuinely enjoyed working on my skills. Not having an end in sight did not bother me. In fact, since there was no end in sight, I could just enjoy the journey instead of fussing about the destination.... because there was no destination.

Basically, I was saying to that bright-eyed bushy-tailed kid in the mirror, "you are not enough, and you don't need to be."

Career skills

To illustrate, I have never learned Kubernetes even though doing so would make me an undeniably more complete developer. Kubernetes sounds oppressively boring. It sounds like the kind of thing people pick up out of professional obligation (and yes, I apologize in advance to the psychos who actually enjoy dealing with Kubernetes). The tech field is wide and varied enough that I could easily find something way more fun to get good at.

For example, I'm sure my employer would rather I get cybersecurity certification rather than a front-end one... but it's my time I'm using, my money I'm spending, my sweat that gets expended, thus ultimately this is about my happiness, not his. In fact, I would unsympathetically say that if any employer wants a developer with a cybersecurity cert, they should hire a developer with a cybersecurity cert. Instead of hiring a developer with a whole host of certs other than a cybersecurity one, and then gambling that this dev feels an inclination to get a cybersecurity cert. I understand cost savings, but it seems like a stupid hiring practice.

Transform, dammit!

It's like purchasing a Freightliner truck and then pitching a hissy fit because it doesn't transform into Optimus Prime, or even make an effort to.

Few employers will ever think you bring enough value for what you're paid, or admit that out loud even if they do. But that's for another time, another day.

Conclusion

I'm not saying this from a position of privilege. I don't earn six figures a year unless you count CPF (who does, really?), I earn enough to get by. Though I will concede that a guy whose main love is slinging code in the wee hours of the morning needs far less than someone who's consistently hitting the nightspots. No judgement there; you contribute more to Singapore's economy than I do, thank you for your service.

This isn't career advice. You don't always have to love your job. It's not humanly possible to always love your job. But I do love what I do, and it helps when my job, my colleagues, my employers, or some unholy combination of all of them at the same time, annoy me. It certainly makes the task of striving to be better, a lot less onerous than it could otherwise be.


Enough said,
T___T