Archive For December 31, 2021
Have not posted here for a while. Been busy for the last month or so. Can’t let this go by without writing an advanced Happy New Year post 😝. So the Year 2021 is almost over. Soon. In a few hours. It has been a hell of a year. Here’s to hoping the next one…
Had a day of relaxation at the beach last weekend – Sunday, November 21. This was at a beach resort at one of the southern tips of Batangas. It’s in the title by the way. About a two and a half hour drive from Metro Manila. Make that three with short stops in between. Was…
What is this outdated notification? The quick answer is that it is a warning text shown somewhere on the web page that says the article was written on – insert old date here – and the information in the content may be out of date. This may be kind of redundant when your article has…
How indeed? By simply attending Amazon Web Services (AWS) events. That’s it? Yes! No hacks. No scams. Nothing shady. 100% legit. Once I completed the event and a few requirements, AWS gave me credits. These AWS Credits can then be redeemed and used for their products and services. For my needs it pretty much takes…
And this is for Linux only. There is no short way to do this. It is not supported directly through the AWS Console where I can just push buttons and click away. It took SSH-ing to my Linux server. Typing in some terminal commands. Starting/stopping my EC2 instance a couple of times. However, it is…
Consider a List of Color objects with attributes of index, name and group. This object is defined as, Group is simply an Enum of, My list of colors are the following, Now, I want to divide these colors into their own sub-lists of color grouping based on the value of the object’s Group attribute. Traditionally,…
It is not uncommon for a Java application to have a number of properties that needs to be defined for it to to run smoothly at start. While these configurable parameters that are required by the app can be set in the code, placing those outside is a more logical and cleaner approach. Things like…
It Stutters Yes, it does. Badly. The lag is very noticeable and happens a lot of times. I cannot even just turn a blind eye on it and pretend there is no stutter. Because it does. Granted there are moments where everything goes smoothly. Not buttery smooth still. Yet, when I’ve gone on a string…
Say I have these numbers in an array, for example: I want to do something with that set of numbers, such as taking out null values, and extracting only the odd ones. Too take it further, maybe I want an even number or two mixed in the processed list as well. So I have this…
Did a simple, customized SQL query builder that’s only specific for UPDATE statements some time early last year. Thought I’d just write it down here. It was a smaller part of a bigger application. It wasn’t required for all update cases, but a number of them did. I’ve mostly re-written it from memory. It should…
I recently started on the path on building content on the fly that gets sent out as soon as possible, using a template engine, but from a back-end perspective. If that makes sense? This is for an event-driven application that sits there and listens for incoming messages. A simple one. Consume the message as soon…
From time to time I get some of this odd API response from requesting information for a specific something. I expect the response data to be a simple JSON object. Instead I am looking at a JSON array. I suppose that is still simple enough and it’s not so odd. This kind of response happens…
Books Love to read books. When I was still in Primary and Secondary I must’ve read every one of the Hardy Boys and Nancy Drew series that the school libraries had on its shelves. Later I would go on to read titles from big authors like Tom Clancy, Michael Crichton, John Grisham, and Dan Brown…
Somebody asked me recently why their POJO validator was not working as expected. They had already followed the “code I wrote” down to a T. Emphasis on the quotes, because trust me that block of code for bean validation they used as reference from an older project I did, was pretty much a very trivial…