Categories
Web Development

Webpack and Frontend Build-Time Performance Engineering for React

This article explores webpack, focusing on ways to investigate the build-time performance of webpack for your React apps. First, we cover the items that can affect build-time and runtime performance. Next, we’ll explore profiling tools for CPU and memory usage and how to use them. We’ll then delve into webpack bundles and how to analyze […]

Categories
Machine Learning and AI Web Development

Creating a Data Pipeline for Analytics, AI/ML, ChatGPT

Initially, this was going to be an article on how to use specific tools for an AI data pipeline and how to train a particular machine-learning model. However, the concepts of data engineering and the data pipeline are essential. While some of the tools will be used across projects and companies, many will not, so […]

Categories
Web Development

Reactive Programming with JavaScript, Ruby and Python

Reactive programming is a concept that is finally gaining some popularity among programmers. It makes it easier to think in data flows and to manage and work with them. Instead of imperative programming, you’re thinking about code as a series of processes that take place on streams. This is similar to the conceptual shift to […]

Categories
Web Development

Speeding up Ruby on Rails Tests and RSpec

There comes a time in the life of every Ruby on Rails project where you and your team will end up with long running tests. Rails tests can contain factories, fixtures and lots of setup procedures before tests are executed, and all of these can contribute to major slowness in the test runs. I’ve seen […]

Categories
Web Development

GraphQL with MongoDB using Mongoose and Node.js

As part of a prototype/exploratory project in March 2016, I explored how to build a GraphQL server using Node.js and interfacing with a MongoDB database using the Mongoose library. The best reason to use GraphQL is if you have multiple frontend clients that communicate with your backend and they each have differing data needs. For […]

Categories
Web Development

PyCon Canada 2017: “Python as a Philosophy”

I was in Montreal, Canada for the PyCon Canada 2017 conference and presented on the ideas and philosophy that are present within the Python programming language. I covered how the Python language influences your coding style and how that coding style is now in the mainstream and has made its way into other programming languages. […]

Categories
Web Development

JSON C++ Tutorial

If you want to learn how to parse and generate JSON with C++ you have come to the right place. JsonCpp is a good solid C++ library to work with. The code samples below show that you can easily work with C++ and JSON files. What’s interesting about JSONCPP is that Google uses it in […]

Categories
Web Development

Web Development with Smalltalk and Seaside Framework

While taking a part-time computer science class, I built a Smalltalk-based web app using the Seaside.st web framework. The project was a software prototype for a restaurant ordering system. The goal was to design a user interface that allowed a customer in the restaurant to use their iPhone or some other smart phone to quickly […]