Skip to main content

Posts

JavaScript: Formatting ISO 8601 Complete Date-Time to a Readable One

Recent posts

Rogue Blitz: Italian Game: Blackburne-Kostić Gambit

I Played White Hi, there! 👋 This is the opening position of the gambit: The 3...Nd4 , that Black's knight move to d4 . Very PROVOCATIVE. Anyway, though looks free, we shouldn't take the e5 pawn. It's quite poisonous. 💀 Let the amusement begin! You can use your left and right arrows on your keyboard or use the mouse scroll to see the moves back and forth on the chessboard. But first, click the board. Blackburne-Kostić and the Gambit Righto, here's the brief history on the pair of them. Joseph Henry Blackburne 1841 to 1924. Blackburne was an English chess player, one of the strongest in the world during the latter half of the 19th century. He picked up the game relatively late, in his late teens, after reportedly being inspired by news of Paul Morphy's exploits, and went on to become a fearsome attacking player and a legendary blindfold specialist . Sometimes taking on dozens of opponents simultaneously ...

Chess: King's Pawn Game: Leonardis Variation — Not So Passive After All

I Played the Aggressor The white pieces. 🙂‍↕️ This is the "Leonardis Variation" opening position: This opening is rather passive for White. But! Let's have a sly look. 👀 👀 👀 You can use your left and right arrows on your keyboard or use the mouse scroll to see the moves back and forth on the chessboard. But first, click the board. Anyway, I have a post about the Leonardis Variation bit within my other post about Bird Opening . Calm Opening I usually do an aggressive opening. Or simply a melon of an opening. Back then — in that dawn of Windows 7 era — when playing White, I mostly did "the Whale" against the Chess Titans . Chess Titans, bundled with Windows 7 and Vista. Remember that chess game? Smashing graphics. Maximum level, mate! Level 10? The Whale is: 1. e4 e5 2. c4 ⬇️ The Whale opening is rather an offbeat one. Leonardis Variation, on the other hand, passive and solid. Very calm. It gives me a breathing space to obs...

How Thousands Rogue Bots Accidentally Forced Me to Rewrite My Front-End Search Engine

Hi, everybody. 👋 This stems from my curiosity over my statistics on Cloudflare. As I've observed from the dashboard — specifically on the Analytics ➡️ HTTP Traffic — the listed countries wildly varied each day. And also, very odd number of requests. Thus, I pulled the data from Cloudflare's GraphQL API — available for Free Tier, capped at 10k per 24h — to analyse it with a user interface (UI). I've been observing outside Cloudflare dashboard since March 2026. Built the UI from scratch. But in these few days, there's a more peculiar pattern. Well, not "more". "Peculiar" is indeed already with its own uniqueness — so perhaps, "different peculiarity". Well. Turned out, those were mostly rogue bots. I'd noticed the bombardments were more active since about 1-2 weeks ago. On my domain and subdomains. Those php , .env , credentials , and so forth scanning eggplants. You know, akin to those that just plonked their hindqua...

HTML Input Types List

Hi! 👋 This is the list of HTML input types. The reference is from MDN's <input> HTML input element . Currently, 22 valid ones + 1 obsolete. button checkbox color date datetime-local email file hidden image month number password radio range reset search submit tel text time url week datetime — obsolete The Demonstration — Interface I've made an interface to visualise and describe each of the types below. I do not stylise the shown input element so you can observe its original form. The input element is within a form element, as such: <form> <input> </form> Give it a bash, mate. ⬇️ Please enable JavaScript Please pick one button (control) checkbox (control) color (control) ...

JavaScript: Number Formatting

Hello. Let's do a bit of JavaScript. "Number Formatting" I mean in the title is as such: 100 is formatted to 100 1000 is formatted to 1,000 10000 is formatted to 10,000 123456 is formatted to 123,456 9876543210 is formatted to 9,876,543,210 1123.58 is formatted to 1,123.58 By adding a comma separator every three digits. We can achieve that through: A loop. Using for — backwards loop. BUT! Before that, we need to separate — the negative sign — if exists, the digits part — this part is the subject of the formatting, and the decimals part. Then lump everything together as the final result. Power of regular expression. 💊👚 💊 Let us begin. Loop Method As I've mentioned above, this has separation stages, then the loop. You can read the comments in the code to understand the flow. function formatNumberWithLo...
Monkey Raptor uses cookies for analytics, advertisements, and functionality. Privacy Policy