Programming / Web Development

Programming / Web Development

What’s the Difference Between Sync, Async, Callbacks, and Promises? — Separating “How to Wait” from “How to Receive Results”

Rather than treating synchronous, asynchronous, Callbacks, Promises, async/await, and VBA's DoEvents as the same concept, we organize them by separating "how to wait" from "how to receive results."
Programming / Web Development

Detect Table Data Column Name Changes Before Processing

Compare column names of transferred data before processing.
Programming / Web Development

Fixed-length data is hard to understand as text: Use PowerShell to run a hex dump and inspect boundaries

Convert fixed-length dummy records into byte sequences and apply item boundaries, character encodings, and byte-length limits to business file acceptance checks.
Programming / Web Development

Understanding through Manga! Trying Out a Page-Switching Manga Viewer with Image Data: Landscape 4-Page Version and Smartphone Vertical-Scrolling Version

Using 4 Papanda manga images and JSON, we compare mechanisms by creating a landscape viewer that switches back and forth using JavaScript and a vertical-reading version for smartphones that stacks the same images vertically.
Programming / Web Development

Retrieving a smartphone's current location in the browser and displaying it on a map: Running the Geolocation API + Leaflet

Pass the latitude and longitude obtained via the Geolocation API to Leaflet to display the current position on the map. Observe the division of roles between location acquisition and map rendering.