React Router v6: A Beginner’s Guide
Learn how to navigate through a React application with multiple views with React Router, the de facto standard routing library for React. Continue reading React Router v6: A Beginner’s Guide on SitePoint.
Read moreChris’ Corner: Buttons, Modes, and a Couple of Layout Situations That Are Still a Bit Tricky
If you ever need some inspiration for buttons, definitely check out Lucas Bonomi’s buttons.cool. This is a better-than-it-needs-to-be one-off site just for beautiful buttons: But it’s not just a design gallery, it’s made for front-end developers in that you can see the code, see them being live-rendered right on the
Read moreEarth mover’s distance
There are many ways to describe the distance between two probability distributions. The previous two posts looked at using the p-norm to measure the difference between the PDFs and using Kullbach-Leibler divergence. Earth mover’s distance (EMD) is yet another approach. Imagine a probability distribution on ℝ² as a pile of
Read moreThe product approach to open source communities
A business wouldn’t take its product development for granted, so why would you neglect the OSS community that’s fundamental to the project’s very existence?
Read moreKL divergence from normal to normal
The previous post looked at the best approximation to a normal density by normal density with a different mean. Dan Piponi suggested in the comments that it would be good to look at the Kullback-Leibler (KL) divergence. The previous post looked at the difference from between two densities from an
Read more4 Strategies to Give Effective Feedback to a Difficult Person
Respect is like air. As long as it’s present, nobody thinks about it. But if you take it away, it’s all that people can think about.Continue reading on Better Programming »
Read moreHow I Used Amazon Bedrock to Write, Schedule, and Post My Tweets
Finding the time to create and post on social media takes time and expertise I don’t have. So I asked AI to do it for me.I’m a lazy person. Beyond being lazy, I’m also forgetful. That’s a killer combo when it comes to repetitive tasks that I have to do week
Read moreServer-side Swift? Why not?
Let's build a real-time chatroom with Vapor and WebSocketsContinue reading on Better Programming »
Read morePracticing Data Engineering with a Kaggle Competition
This year I've been quite deep into the topic of generative AI, especially in terms of large language models. At some point, I felt like I needed to step back and return to more practical AI applications.So I took part in a natural language processing Kaggle competition. My final score
Read moreUnderstanding React Error Boundary
React Error Boundary is a crucial concept to understand. This article introduces error boundaries and how to effectively implement them. Continue reading Understanding React Error Boundary on SitePoint.
Read more