Let’s Build Awesome Things

Issue #45 of Coffee Bytes

Coffee Bytes
Better Programming

--

Illustration by Deon Ashleigh

Hey everyone,

I hope you had a good week. If you’re spending some time doing projects this weekend, we’ve got creative stories to inspire you to play around with code, try new approaches, or solve problems you’re facing.

Without further ado, here are ten projects we loved from the week gone by. Happy doodling!

Build an Alexa- or Siri-Equivalent Bot in Python Using OpenAI

OpenAI recently open sourced Whisper, a speech recognition and transcription system — and the reviews are in, it looks amazing!

So, if you’re looking to integrate the new API and build something simple and straightforward, Andrew Hershy’s recent tutorial is the perfect place to start. I reckon the Whisper API should sufficiently replace AssemblyAI in his AI assistant.

Build a Tic-Tac-Toe Game In the GitHub README.md File

Want to build a game in a markdown file and uniquely identify traffic coming to your GitHub page? This is a clever idea, but it’s harder than it looks as Sridhar quickly figured out. Turns out, there’s no way to create a unique ID due to proxy servers. But this didn’t derail him from creating shared gameplay for the internet — using Go.

Build a Command Line Tool With Rust to Play Guitar Chords

How about a CLI tool that takes in the name of a chord and outputs a diagram of how to play it? Cool, right? Yuchen’s step-by-step guide pretty much guarantees you won’t fail to recall a guitar chord again. Ever.

Create an Emoji Ball-drop Game With Matter.js

Sometimes, a side project is all you need to fuel your learning. Oliver’s built an interactive game with the 2D-physics engine (along with a Twitter version)! Full confession: those hearts are kind of cute.

Automating Stock Market Data Analysis

Tired of copy-pasting data into an Excel sheet every day? Wei’s to the rescue. He’s automated the entire process by creating a serverless data pipeline using Rust and AWS Lambda for his friend who loves analyzing stocks. Talk about a real-world use case. Now the only question remains: has Wei helped birth the next Warren Buffet?

Build Your First Mobile Linux App With React And Tauri

After making a strong case to use Tauri over Electron for desktop apps, Ed is back this week to test out the capabilities of the Rust-powered framework on PinePhone. Linux still has miles to go before app development becomes mainstream there. Hopefully, this serves as a good primer.

Build a Tetris Game Using SwiftUI

Combining math logic and Lazy Grids, Mark Lucking gets the classic game up and running using SwiftUI.

SwiftUI Lists Are Broken And Can’t Be Fixed

While working on his SwiftUI app, Michael ran into a SwiftUI List bug on iOS 16.0. Did you know Lists now use Collection View instead of Table Views under the hood? Michael makes a compelling case for a way to link your applications with the most recent version of SwiftUI framework — and thereby insulating it from changes — a thing that Android’s Jetpack Compose has gotten right. Are you ready to hear his case?

Implementation of Clean Architecture in Swift With Minimal Code Complexities

Manuel Meyer highlights the problems in the current architectural patterns and proposes a new boilerplate-free architecture for iOS development. What could you accomplish with less code bloat?

Expanding Dialog in Jetpack Compose

Katie Barnett shows us how to create animated dialogs and leverage reusable components in Jetpack Compose.

Code and non-code-related advice

If you’re looking for code- and work-related advice, worry not! We’ve got that covered as well:

That wraps up this edition.

Until your next coffee,

Anupam and the Better Programming team

--

--