Last week, I started to explore seekable files in ColdFusion. A seekable file allows us to jump to an arbitrary offset within the file contents (which I believe can be done without having to read the entire file into memory). I've recently been dealing with consuming...
JavaScript
Using Labeled Loops In JavaScript
Earlier this week, I looked at using labeled loops in ColdFusion. Labeled loops allow you to break and continue an outer loop from within the context of an inner loop by explicitly naming your loop statements. I had never used this functionality in ColdFusion before;...
Using Labeled Loops In ColdFusion
The other day, I was watching a tutorial on the Svelte JavaScript framework and I saw that they used the $: notation to denote reactive values. I believe that this is just an old JavaScript feature for labeling parts of the code (which Svelte is then overloading)....
Working Code Podcast – Episode 141: Building Stuff So You Can Build Stuff
Inspired by an article from Dimitri Glazkov: Build a thing to build the thing, we talk about the importance of consuming of our own products. Often referred to as "Dog Fooding", this means that we must try and build something in the same way that our customers would...
Working Code Podcast – Episode 140: Fraud, What Is It Good For?
If a property is exposed on the internet, people will try to take advantage of it. This might be in the form of sending spam through a communications portal, scamming cellular providers via SMS tolling, or using payment forms to validate stolen credit cards. And...
Using Overflow Scrolling On CSS Flexbox Panels
I'm a huge fan of CSS Flexbox. As someone who had (?has?) to support IE11 up until the very end, CSS Flexbox became my go-to for complex layouts. However, even with years of Flexbox experience under my belt, I'm not always confident that I understand exactly how it...
My ColdFusion “Controller” Layer Is Just A Bunch Of Switch Statements And CFIncludes
The more experience I get, the more I appreciate using an appropriate amount of complexity when solving a problem. This is a big part of why I love ColdFusion so much: it allows one to easily scale-up in complexity if and when the requirements grow to warrant it. When...
MySQL 8.0.13 Can Use An Existing Column As The DEFAULT Value For A New Column
In my Dig Deep Fitness app, I need to start differentiating between the date on which a record was created in the system and the date that said record represents for the user. For example, when back-filling workout data, an "exercise performance" from "3 years ago"...
Working Code Podcast – Episode 136: Do Words Matter?
Words aren't just the tools that we use to describe the world around us - they are rich layers of abstraction that carry our cultural histories, our education, and our social norms on their shoulders. When we have a shared understanding of a what a word or...
Dynamically Swapping Input / Keyboard InputMode On iOS
In Dig Deep Fitness, my ColdFusion fitness tracker, exercise weights and reps (repetitions) are stored as text. This provides greater real-world flexibility and allows users to enter text values like "BW" (Body Weight) and "Red Band" and "Large Sand Bag". That said,...
Working Code Podcast – Episode 133: The Final Stretch
Starting a new project is always exciting: there's so much potential, so many visions of grandeur. Completing a project — on the other hand — is always a challenge. In the engineering world, we often joke that the last 90% of a project takes just as much time as the...
Working Code Podcast – Episode 132: Virtual Reality
After watching the release event for Apple's new Vision Pro headset, Tim wants to talk to us about both Virtual Reality (VR) and Augmented Reality (AR); and, get our general take on where this all fits into the future of computing. We each have a different level of...