Skip to main content

Posts

Chess: Philidor Defence with Dubious Sacrifices

Recent posts

Chess: King's Gambit Accepted: Muzio Gambit, Wild Muzio Gambit

I played white (offence) here — 3 minutes Super Blitz at Lichess as Anonymous. Indeed, it was wild . Muzio theatre begins. In this, my thought was, Oh, you're defending that f4 pawn of yours? Ah, understandable. Please do take my f3 knight. I'll take your trousers. 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. Muzio Timeline goes as such: The actual line: 1.e4 e5 2.f4 exf4 3.Nf3 g5 4.Bc4 g4 5.O-O gxf3 6.Qxf3 was properly analysed by Giulio Cesare Polerio in the late 1500s. The first recorded game came from Geronimo Cascio , documented in Alessandro Salvio's Il Puttino (1634). Then, centuries later, along came Jacob Sarratt — an English chess writer in the early 1800s, translating Salvio's work. And what did he do? He accidentally attributed the opening to Mutio d'Allesandro ,...

Natrium and Sodium

Did you know Sodium = Natrium? 🤔 In periodic table of elements, Natrium is within Group 1 (Natrium = Group 1 alkali metal). Too from above snapshot, K (Kalium) is called Potassium — it's K , there is no letter K in the word "Potassium". 🫠 Let us dissect the inconsistency. Periodic Table Once upon a time, a Russian alchemist named Dmitri Mendeleev was born. He was born as a baby boy, not directly as an alchemist. He created the periodic table out of his brilliancy . Alchemy is taken from Arabic Al-Kīmiyā' (ٱلْكِيمْيَاء). Al- (ٱلْ), Arabic definite article, means the . Kīmiyā' (كيمياء), the root word, means transmutation or chemistry . Al-kīmiyā' = the art of transformation, or the chemistry. Alchemy is not chemistry. It's chemistry with a soul. A map of matter woven with meaning. Not just what it is, but what it means. Alchemy is symbolic, spiritual, and psychological a...

Infarct and Infract

They almost look alike, but both have different meanings and origins. Infarct This is a noun in English, infarct . It is usually used in medical context. But sometimes, it is used as a verb informally in clinical papers, e.g. "the tissue infarcted". This term entered English in around 19th century. Infract means a small localised area of dead tissue resulting from failure of blood supply. It is taken from Modern Latin infarctus = in + farctus. From Latin infarcīre ➡️ leads to infarctus. In = into. Farcīre = to stuff or to cram. Infarcīre = to stuff into or with. Farctus is past participle of farcīre. It means stuffed , crammed , or filled . Therefore, infarctus means stuffed into , crammed into , or filled with . Infarction This is the predecessor of infarct, also a noun . It means obstruction of the blood supply to an organ or region of tissue, causing local death of the tissue. It is th...

JavaScript: Select Content and Copy to Clipboard (Snippet)

ℹ️ For Any Element Applicable for input and textarea elements. Also general DOM elements: div p blockquote span strong em Et cetera. 🧑‍💻 Snippet /** * Copies the text content of a DOM element to the clipboard using the Clipboard API. * * Supports input, textarea, and general DOM elements (e.g., div, span). * * @param {HTMLElement} elm - The element whose content will be copied. * @throws {Error} If the argument is not an HTML element. * @throws {Error} If the Clipboard API is unavailable. * @returns {Promise<void>} Resolves when content is copied successfully. * * @example * const input = document.querySelector('input'); * await copyToClipboard(input); * * const div = document.getElementById('textContent'); * await copyToClipboard(div); */ async function copyToClipboard(elm) { const isElement = elm instanceof HTMLElement; if (!isElement) { throw new Error(`${elm} is not a DOM element.`); } cons...

Bagatha Bagpipe 🎻

One night at a pub, in a place where the pub is constructed, Tadhg O'MacMick is inside the pub. "One of your finest peanut!", he shouted to the barman. The barman, being 20 cm from Tadhg O'MacMick, ignores him. Aside from the fact that he is precisely 20 centimetre from Tadhg O'MacMick. It's pretty near, mind you. For instance, watching a car muffler from 20 cm distance, pretty near. Or, placing our face 20 cm in front of a fireplace, pretty near. I made a point. Shortly after, he brings a bowl of peanuts to him. The "he" is Tadhg O'MacMick himself. Thus, he did, what we call, a self-service. "Oi, where did you get those peanuts?", barked the barman in front of Tadhg O'MacMick's outward manifestation. (Tadhg O'MacMick) "Feck! You spat on my peanuts! I took them." (Barman) "You brought your own bowl?" (Tadhg O'MacMick) "What bowl?" (Munching peanuts.) The saliva theatre is quite d...

Oedema

Good day. This post is from my own experience and my intense stare at the subject. Because if it were other people's experience or intense stare, I wouldn't know. Etymology Greek ΟΙΔΗΜΑ (OIDĒMA), meaning "swelling" (noun). From ΟΙΔΕΩ (OIDEŌ) = "to swell" (verb). ⬇️ Roman (Classical Latin) ➡️ OEDEMA . Taken directly from Greek. ⬇️ Medieval Latin ➡️ ŒDEMA . Typographic ligature of "oe" emerged (and other "variative pointers"), started from 8th century (manuscripts from the Carolingian period) and more common in printed Latin texts in the 15th–18th century. ⬇️ English (British): oedema . Directly from Latin's term. English (American): edema . ΟΙΔΗΜΑ ➡️ OEDEMA ➡️ oedema (or edema). Medical Definition 💡 Oedema is fluid retention — typically affecting the legs, feet, or hands — resulting in visible swelling. ✅ Common Cause In this era of ...

JavaScript: Recursively Retrieve All Nested DOM Elements (Snippet)

Hi. 🙂 Let's name the function as crawlElements . /** * Recursively collects all nested element nodes from * a given DOM node. * * @param {Node} node - The root DOM node from which * to begin the search. * @returns {Element[]} An array of all descendant * element nodes found beneath * the input node. * * @example * const root = document.getElementById("container"); * const allElements = crawlElements(root); * console.log(allElements); // Array of nested div, span, etc. */ function crawlElements(node) { let elements = []; const isElement = node && node instanceof Element; const hasChildren = isElement && node.hasChildNodes(); if (!hasChildren) return elements; node.childNodes.forEach((child) => { if (child.nodeType === Node.ELEMENT_NODE) { elements.push(child); elements = [...elements, ...crawlElements(child)]; ...

World Domination: The Villain's Handbook (Skeletor)

After watching He-Man for more than 10 episodes, I sensed something awkward. 🤔 Skeletor with his might and schemes, as a fulltime villain, could not defeat He-Man, the freelance superhero — an unbeatable response squad. The less-clothed, tan, deeper and reverb-enhanced voice Prince Adam — is an instant comedy. And! When we apply that to a real life situation, lifting a sword, shouting, becomes almost nude, then doing his duty as He-Man, is... unfathomably brilliant. Did you notice "he" is a pronoun used to refer to a male? Also, "man". So many gems. Let us see from the overall perspective. Suppose Skeletor won and ruled Eternia. He has little-known management and political skills — he has skills, but certainly not those. Therefore, after Skeletor sits on the throne for 1 full day, we should expect chaos and gradual destruction of Eternia. Imagine: Evil-Lyn : ...
Monkey Raptor uses cookies or biscuits 🍪 for analytics, functionality, and advertisements. More info in Privacy Policy