How to Use CSS aspect-ratio
Learn how to use the CSS aspect-ratio property, with practical examples, alternatives for older browsers, and other useful things to know. Continue reading How to Use CSS aspect-ratio on SitePoint.
Read moreWhy Tailwind CSS Became So Popular: A Developer’s Guide
Exploring the rise of the utility-first CSS framework that’s changed the gameContinue reading on Better Programming »
Read moreHow To Use Texture Arrays in WebGL
Creating texture arrays in JavaScript and WebGL for tilemaps and animationsContinue reading on Better Programming »
Read moreTrying NLP on Middle English
It’s not fair to evaluate NLP software on a language it wasn’t designed to process, but I wanted to try it anyway. The models in the spaCy software library were trained on modern English text and not on Middle English. Nevertheless, spaCy does a pretty good job of parsing Chaucer’s
Read moreGotchas in Per-App Language Preferences and Android Locale
These are not the droids you are looking forAndroid has a curious way of handling locale.With the introduction of per-app language preferences, things have gotten even more complicated.This article won’t go deep into explaining the nooks and crannies of localization. Better blog posts (and the actual Android documentation) exist for that.Theory is boring
Read moreStubborn vs. Strategic: Navigating Problem Solving in Software Development
Image generated by MidjourneyTwo captivating figures often emerge in software development: the Stubborn Stumper and the Strategic Solver. Picture the Stubborn Stumper, a seasoned developer with grit in his eyes, fervently hammering at the keyboard as if it were an anvil, relentlessly seeking the elusive solution. We’ll call him Benjamin.“There’s
Read moreClean Code Is Slow, but You Need It Anyway…
Beware! Clean Code can clean anything. All images from UnsplashIn case you haven’t heard, something really interesting is happening in the programming/software development scene on Twitter. It started from one of Casey Muratori’s videos on Performance Aware Programming. It is aptly titled: “Clean Code, Horrible Performance.” It stemmed from Casey’s own
Read moreComplete Guide on React Error Boundary
Write your own error boundary or use react-error-boundaryContinue reading on Better Programming »
Read moreExtending harmonic numbers
For a positive integer n, the nth harmonic number is defined to be the sum of the reciprocals of the first n positive integers: How might we extend this definition so that n does not have to be a positive integer? First approach One way to extend harmonic numbers is
Read moreHow to Execute Your Own Code With Large Language Models (LLMs)
The next evolution of Azure OpenAI GPT models: A guide to executing functionsAt this stage, LLMs are basically computer sorcerers… (Image generated using NightCafe)The torrent of new large language model developments is seemingly never-ending.One moment we’re creating cyberpunk tales in the style of Shakespeare, (“In the neon-glowing twilight of the
Read more