Blog - Arthur Dick

The Symphony of Code

Saturday, February 17th, 2024

Lines of code, like notes on a staff, hold the potential for beautiful symphonies or jarring cacophonies. Writing code isn't just about functionality; it's about crafting instructions that are not only effective, but also elegant, sustainable, and a joy to work with. This is the essence of the philosophy of code: the pursuit of clean, maintainable, and efficient programming.

Read More...

Tags: coding tipsclean codepoetry

Future-Proof Your Code

Saturday, February 10th, 2024

In the ever-evolving landscape of web development, the pressure to constantly adopt new frameworks and libraries is immense. While they offer quick solutions and enticing features, an overreliance on them can create a ticking time bomb for your code's longevity. Let's explore how reducing dependencies and focusing on core language fundamentals can future-proof your code.

Read More...

Tags: coding tipsfuture-proofing

Timer

Tuesday, August 2nd, 2022

Since the Google timer is gone, I have implemented my own. Specify the desired hours, minutes, and seconds, then click start. The timer counts down, and sounds an audible alarm when the time reaches zero.

Read More...

Tags: mini projecttimer

Texas Hold 'em Simulator

Wednesday, May 11th, 2022

This mini project, built with completion engine assistance, is a Texas Hold'em poker match simulator. Choose the number of players, and press "Play" to deal a hand. The hand ranks and winner(s) are declared automatically.

It uses Unicode characters for the card representations, which your OS must support for the cards to be displayed. Try it out below!

Read More...

Tags: mini projectpoker

Card Matching

Sunday, March 6th, 2022

With AI completion engine assistance I created this fourth mini project, a memory game. I think this is starting to push what's possible with these natural language engines, as I had to finish parts of this manually. It's still largely constructed with pieces from the completion engine.

It's easy for the code to become a mess when trying to generate things piecemeal like this, and it can be frustrating when the engine doesn't understand your prompt. I'm feeling inspired to create my own interface to the completion engine.

The timer starts when you flip the first card. How long will it take to match all the cards?

Read More...

Tags: mini projectmemory