Playful Programming's Atom Feed

https://playfulprogramming.com

Learning programming from magically majestic words. A place to learn about all sorts of programming topics from entry-level concepts to advanced abstractions

フィード

記事のアイキャッチ画像
Quick Guide to Building a PWA with Next.js
Playful Programming's Atom Feed
Learn how to turn your Next.js app into a Progressive Web App (PWA).
5日前
記事のアイキャッチ画像
Web Fundamentals: Manipulating the DOM with JavaScript
Playful Programming's Atom Feed
The ninth chapter of this series finally goes over the DOM, how to manipulate it, and how to make our components interactive!
6日前
記事のアイキャッチ画像
Web Fundamentals: JavaScript Basics
Playful Programming's Atom Feed
The seventh chapter of this series contains the first look into JavaScript and its basic components.
7日前
記事のアイキャッチ画像
Web Fundamentals: Responsive Design
Playful Programming's Atom Feed
The sixth chapter tackles responsive design, breakpoints, media queries and more!
8日前
記事のアイキャッチ画像
Web Fundamentals: CSS - Inheritance & Hierarchy
Playful Programming's Atom Feed
The third chapter of our series talks about the cascade hierarchy in CSS, including inheritance and specificity.
9日前
記事のアイキャッチ画像
How does Zoneless Angular Work?
Playful Programming's Atom Feed
In the future Angular will not have Zone.js enabled by default and will not need it for change detection. But how will that work in a technical sense?
10日前
記事のアイキャッチ画像
How we built our custom semantic search page
Playful Programming's Atom Feed
Let's learn how we managed to improve our search experience using semantic search, powered by Orama.
12日前
記事のアイキャッチ画像
A forgotten C++ idiom revisited: pass-key
Playful Programming's Atom Feed
So you have a class, and you want to control who can create instancesof it? Easy, make constructors private, and make friends with thosewho can c...
14日前
記事のアイキャッチ画像
What are Signals?
Playful Programming's Atom Feed
Signals are seemingly everywhere today. So here's the question? What are they? Let's build an implementation ourselves to understand them better.
17日前
記事のアイキャッチ画像
Web Fundamentals: Grid
Playful Programming's Atom Feed
In the fifth chapter of our series, we're going to be introduced to CSS grid, a well-known feature to display content, and used in almost every website you visit.
2ヶ月前
記事のアイキャッチ画像
Web Fundamentals: Flexbox
Playful Programming's Atom Feed
In the fourth chapter of our series, we'll look at flexbox, a powerful layout feature that allows you to create responsive designs with ease.
2ヶ月前
記事のアイキャッチ画像
Web Fundamentals: CSS - The Basics
Playful Programming's Atom Feed
The second chapter in our front-end series. Let's delve right into the world of CSS, variables and selectors.
3ヶ月前
記事のアイキャッチ画像
Web Fundamentals: HTML
Playful Programming's Atom Feed
The first chapter of this series offers an introductory dive into the box model, HTML defaults and semantic elements.
3ヶ月前
記事のアイキャッチ画像
Entity Component System: The Perfect Solution to Reusable Code?
Playful Programming's Atom Feed
The ECS pattern is used by many game engines to create stateless, reusable game logic. But how does it work?
3ヶ月前
記事のアイキャッチ画像
Where should you start building your application
Playful Programming's Atom Feed
Talking about where you should start building your full stack application
3ヶ月前
記事のアイキャッチ画像
Why is CSS-in-JS slow?
Playful Programming's Atom Feed
If you've worked with frameworks like React, Angular, or Vue in the past you'll likely have used (or heard of) a CSS-in-JS solution like Styled Com...
3ヶ月前
記事のアイキャッチ画像
It's Time For A Change: Rebranding Our Platform
Playful Programming's Atom Feed
"Unicorn Utterances" is now "Playful Programming". Let's talk about why, what's different, what's the same, and what's next.
4ヶ月前
記事のアイキャッチ画像
A Complete History of Unicorn Utterances
Playful Programming's Atom Feed
Now that "Unicorn Utterances" is called "Playful Programming", let's look at the history of the project.
4ヶ月前
記事のアイキャッチ画像
Set up a React Native Web Project in a Monorepo
Playful Programming's Atom Feed
Setting up a React Native Web project in a monorepo is challenging. Let's do so and see what challenges we run into!
6ヶ月前
記事のアイキャッチ画像
Explaining Promises, Async, and Await in JavaScript
Playful Programming's Atom Feed
Modern JavaScript is built on promises and callbacks. Let's learn what promises are and how we can make their usage easier using async functions.
8ヶ月前
記事のアイキャッチ画像
Framework Comparison Table
Playful Programming's Atom Feed
Let's compare and contrast React, Angular, and Vue's APIs all in one place.
8ヶ月前
記事のアイキャッチ画像
Accessing Children
Playful Programming's Atom Feed
Oftentimes, when passing children to a component, you want a way to programmatically access that passed data. Let's learn how to do that in React, Angular, and Vue.
8ヶ月前
記事のアイキャッチ画像
Directives
Playful Programming's Atom Feed
If components are a way to share JS logic between multiple, composable DOM nodes; directives are a way to assign logic to any single DOM node.
8ヶ月前
記事のアイキャッチ画像
Shared Component Logic
Playful Programming's Atom Feed
Components provide a great way to share layout, styling, and logic between multiple parts of your app. But what about times you only need to share logic in React, Angular, and Vue?
8ヶ月前
記事のアイキャッチ画像
Portals
Playful Programming's Atom Feed
When building an app in React, Angular, or Vue, you'll often find that overlapping components can become a real problem. Rendering order can be confusing; let's fix that with portals.
8ヶ月前
記事のアイキャッチ画像
Dependency Injection
Playful Programming's Atom Feed
Passing around props suck. They're repetitive, get out of sync, and are easy to forget to pass. What if there was a better way to pass data between different parts of your app?
8ヶ月前
記事のアイキャッチ画像
Error Handling
Playful Programming's Atom Feed
Bug are a constant in development. How can we make error handling lead to a nicer user experience when they occur in React, Angular, and Vue?
8ヶ月前
記事のアイキャッチ画像
Component Reference
Playful Programming's Atom Feed
While you usually want to pass data to child components, sometimes you need to access arbitrary data from the child without needing to explicitly pass the data.
8ヶ月前
記事のアイキャッチ画像
Element Reference
Playful Programming's Atom Feed
React, Angular, and Vue provide powerful APIs that let you avoid DOM manipulations most of the time. But sometimes you need to access the underlying DOM. Here's how.
8ヶ月前
記事のアイキャッチ画像
Passing Children
Playful Programming's Atom Feed
Just like HTML nodes have parents and children, so too do framework components. Let's learn how React, Angular, and Vue allow you to pass children to your components.
8ヶ月前
記事のアイキャッチ画像
Transparent Elements
Playful Programming's Atom Feed
There are specific instances where you may want to have a wrapper element in a framework that renders to nothing in the DOM. This is how.
8ヶ月前
記事のアイキャッチ画像
Derived Values
Playful Programming's Atom Feed
Often in application development, you'll want to base one variable's value off of another. There are a few ways of doing this - some easier than others.
8ヶ月前
記事のアイキャッチ画像
Side Effects
Playful Programming's Atom Feed
Some call them "lifecycle methods", others "effect handlers". However you spin it, they both handle side effects in your apps. How can we leverage them better?
8ヶ月前
記事のアイキャッチ画像
Dynamic HTML
Playful Programming's Atom Feed
One of the primary advantages of using a framework is the ability to quickly generate dynamic HTML from JavaScript logic. Let's walk through some examples.
8ヶ月前
記事のアイキャッチ画像
Introduction to Components
Playful Programming's Atom Feed
Components are the core building block in which all applications written with React, Angular, and Vue are built. Let's explore what they are and how to build them.
8ヶ月前
記事のアイキャッチ画像
Preface
Playful Programming's Atom Feed
Learning web development is a vital skill in a software engineer's toolbox. Let's talk about why you should learn it and what this book will cover.
8ヶ月前
記事のアイキャッチ画像
Embedding Interfaces in Go
Playful Programming's Atom Feed
Creating tests can feel tedious, but doing it in Go can be, dare I say, *fun*. Let's take a look at how embedding interfaces clears some of that tedium for us.
8ヶ月前
記事のアイキャッチ画像
Build a Vite 5 Backend Integration with Flask
Playful Programming's Atom Feed
Learn how to build a lightweight backend Vite integration using a Flask Blueprint in ~50 lines of code.
9ヶ月前
記事のアイキャッチ画像
Move manifest.json to the Output Directory's Parent in Vite 5
Playful Programming's Atom Feed
Move Vite's manifest.json file outside of the build directory.
9ヶ月前
記事のアイキャッチ画像
Fuzzing an API with libfuzzer
Playful Programming's Atom Feed
[Edit] I was just told that libFuzzer is deprecated. I think the ideas presented are valid for any fuzzer, but thedetails will differ. When I ment...
10ヶ月前
記事のアイキャッチ画像
Web Framework Quickstart Guide
Playful Programming's Atom Feed
Here's the quickest ways you can get up-and-running with templates for React, Angular, and Vue; using official tools.
10ヶ月前
記事のアイキャッチ画像
Astro Healthcheck
Playful Programming's Atom Feed
Monitoring Your Blog for Issues
1年前
記事のアイキャッチ画像
Angular Dynamic host Property Usage
Playful Programming's Atom Feed
In directives and components alike, it can be a pain to add attributes and bindings to the host element. Instead of using DI to change the host, try this instead.
1年前
記事のアイキャッチ画像
Angular's Templates Don't Work the Way You Think They Do
Playful Programming's Atom Feed
Angular templates are mission-critial for components. But how do they work? Using a compiler, yes, but how do they bind to the DOM itself? Read on to find out.
1年前
記事のアイキャッチ画像
What is React's useActionState and useFormStatus?
Playful Programming's Atom Feed
React Server Actions are an awesome way to pass data to and from your React client and server. Like all functions, they need a way to return data.
1年前
記事のアイキャッチ画像
What are React Server Actions?
Playful Programming's Atom Feed
While React Suspense APIs enable you to load data asynchronously from the server, Server Actions allow you to send data to the server from the client.
1年前
記事のアイキャッチ画像
About time - how to unit test code that depends on time
Playful Programming's Atom Feed
Suppose that the logic of your program depends on time. That is, you need to keep track of when something in the pasthappened, and what time it is...
1年前
記事のアイキャッチ画像
What is React Suspense and Async Rendering?
Playful Programming's Atom Feed
Handling async code in React code has historically been fairly challenging to get right. Let's see how React's official solutions for promises stack up!
1年前
記事のアイキャッチ画像
Explaining React's cache Function
Playful Programming's Atom Feed
React's dipping its toes into data fetching! With this comes a big requirement to cache the results of a given function. Luckily, React's done that. Let's see how.
1年前
記事のアイキャッチ画像
What are React Server Components (RSCs)?
Playful Programming's Atom Feed
React Server Components have been a topic of regular discussion in the WebDev space as-of late. What are they? How do they improve the SSR story for React? Let's take a look.
1年前
記事のアイキャッチ画像
What is Reconciliation and the Virtual DOM (VDOM)?
Playful Programming's Atom Feed
How does React handle update the DOM? The answer? "The Virtual DOM and reconciliation." Let's explore what these are and how you can leverage them the best.
1年前
記事のアイキャッチ画像
What is Reactivity?
Playful Programming's Atom Feed
When researching frontend frameworks, you're likely to hear about "reactivity". But what is it? Why does it matter? Let's explore this and more in this article.
1年前
記事のアイキャッチ画像
When private member function?
Playful Programming's Atom Feed
I've seen this a few times too many recently, and need to get it off my chest. Ponder a class that has a private member function. The function does...
1年前
記事のアイキャッチ画像
Figma to Compose: Line Height & Baseline Grids
Playful Programming's Atom Feed
A detailed guide on how to make text in Jetpack Compose match your mockups, and why baseline grids are not all that they're hyped up to be.
1年前
記事のアイキャッチ画像
How to Build Original Projects
Playful Programming's Atom Feed
People often say that you should build your own projects to grow as a developer, without explaining how. Let's learn how to actually plan and build your own custom projects.
1年前
記事のアイキャッチ画像
Discovering Odd Behavior with Angular Error Handling
Playful Programming's Atom Feed
Angular has fairly consistent error handling behavior... Until it doesn't. Here's one place where it's off and why.
1年前
記事のアイキャッチ画像
Introduction to Hash Tables
Playful Programming's Atom Feed
A high-level overview of how hash tables work behind the scenes.
1年前
記事のアイキャッチ画像
Porting a Next.js Site to Astro Step-by-Step
Playful Programming's Atom Feed
Let's port a site from Next.js to Astro, expanding on the official migration guide.
1年前
記事のアイキャッチ画像
Using JavaScript classes without the `class` keyword
Playful Programming's Atom Feed
Classes are a core feature of JavaScript - but they weren't always that way. How did earlier JS devs write classes? Let's learn how together.
1年前
記事のアイキャッチ画像
How to Setup a React Native Monorepo
Playful Programming's Atom Feed
React Native can be challenging to setup a monorepo for. Let's explore what an optimal monorepo setup looks like for it.
1年前
記事のアイキャッチ画像
Unraveling the Magic of the Virtual DOM
Playful Programming's Atom Feed
The VDOM is the secret sauce that empowers developers to create the captivating, dynamic web applications that we use every day.
1年前
記事のアイキャッチ画像
A Crash Course to Two-Factor Authentication
Playful Programming's Atom Feed
Two-Factor Authentication is a security feature that adds an extra layer of protection to your online accounts.
2年前
記事のアイキャッチ画像
Advice for New Twitch Streamers
Playful Programming's Atom Feed
Twitch streaming can be fun and fulfilling, but has various roadblocks in the way for newcomers. Here's how you can overcome them and grow your Twitch channel.
2年前
記事のアイキャッチ画像
What is Object Mutation in JavaScript?
Playful Programming's Atom Feed
When working with objects, you may hear the term "mutation". What is that? How does it work? How do let and const REALLY differ from each other? This and more:
2年前
記事のアイキャッチ画像
Mastering JavaScript's `this` keyword using `bind`
Playful Programming's Atom Feed
JavaScript's `this` keyword is imperative when dealing with classes in JavaScript, but can introduce some headaches. Let's solve that using the `bind` method
2年前
記事のアイキャッチ画像
Deep Dive: Writing a Twitch Chat Bot in Bash
Playful Programming's Atom Feed
bash? You mean the terminal where I do my git commands?
2年前
記事のアイキャッチ画像
Functions Are Killing Your React App's Performance
Playful Programming's Atom Feed
If you've ever built a production React application, you've likely ran into various performance problems along the way. Here are the most common and how to fix them.
2年前
記事のアイキャッチ画像
Formik Works Great; Here's Why I Wrote My Own
Playful Programming's Atom Feed
Formik works incredibly, but I have some concerns with it. As a result, I ended up writing my own library called "HouseForm" to compete. Here's why.
2年前
記事のアイキャッチ画像
Creating project templates for Android Studio
Playful Programming's Atom Feed
Showing how we can build a Android Studio plugin to provide our own project templates in the Android Studio new project wizard
2年前
記事のアイキャッチ画像
Async pipe is not pure 🤯
Playful Programming's Atom Feed
Learn how angular's async pipe is not pure and how that's not a problem, by building async pipe from scratch.
2年前
記事のアイキャッチ画像
What Happened to UUIDv2?
Playful Programming's Atom Feed
You may have heard that "UUIDv2 is bad". Maybe you've never even heard of them and thought UUIDs went from v1 to v3. Why is that? What did UUIDv2 do wrong?
2年前
記事のアイキャッチ画像
What are UUIDs?
Playful Programming's Atom Feed
When discussing ID generation in software, you may have heard of a UUID. What are they? Are they useful? What are the different versions? Let's explore that.
2年前
記事のアイキャッチ画像
A Linux C++ programmers adventure in improving Windows CI on GitHub actions
Playful Programming's Atom Feed
TL;DR; Ninja is available directly in the windows images Use to set up the MSVC environment for buildingwith Ninja. You need nested quotes for CX...
2年前
記事のアイキャッチ画像
Fun with Types
Playful Programming's Atom Feed
Making hilarious things with no emitted code.
2年前
記事のアイキャッチ画像
Angular Internals: How Reactivity Works with Zone.js
Playful Programming's Atom Feed
Reactivity is core to JavaScript frameworks; changing data should cause a re-render. How does this work in Angular? Let's dive into the Angular source code to see.
2年前
記事のアイキャッチ画像
Why is z-index not working?! - Explaining CSS Stacking Context
Playful Programming's Atom Feed
z-index is a CSS property that helps control the z-axis height of an element, but it often doesn't seem to work. Why is that? How does it REALLY work?
2年前
記事のアイキャッチ画像
How to Share Lifecycle Methods Between Components in Angular
Playful Programming's Atom Feed
Sharing code between components in Angular is TOUGH. Here's one way you can do so by utilizing base components that you extend - and why you shouldn't use them.
2年前
記事のアイキャッチ画像
Minecraft Data Pack Programming: Scoreboard Usage
Playful Programming's Atom Feed
Learn data pack development in Minecraft - using player scoreboards, variables, and operations!
2年前
記事のアイキャッチ画像
Vue Composition API Inspector
Playful Programming's Atom Feed
A peek under the hood of Vue compilation. See how Vue interpretes TypeScript
2年前
記事のアイキャッチ画像
JavaScript Fundamentals: Functions Are Values
Playful Programming's Atom Feed
JavaScript functions are widely used in web development... but do you KNOW them? Let's explore the fundamentals and how they can be used in unorthodox ways
2年前
記事のアイキャッチ画像
Python None
Playful Programming's Atom Feed
Interpreted languages have various footguns. Let's explore one such footgun I ran into recently with Python and how I fixed it.
2年前
記事のアイキャッチ画像
Project Management for Individuals
Playful Programming's Atom Feed
Having the ability to structure your projects (and these don't exclusively have to be programming related) gives you a massive advantage when it comes to being organised, and keeping your life organised.
2年前
記事のアイキャッチ画像
How to ask better questions
Playful Programming's Atom Feed
We all ask questions from time to time, so here are some of my favourite tips when it comes to how to improve the quality of your questions.
2年前
記事のアイキャッチ画像
Mutable vs Immutable Data Types
Playful Programming's Atom Feed
Using mutable data types can be dangerous in multi-threaded applications. To help that we can make sure of thread safer immutable data types
2年前
記事のアイキャッチ画像
What is Primitive obsession and how to fix it
Playful Programming's Atom Feed
Primitive obsession is an extremely common code smell, and when identified and fix, it greatly helps to reduce the amount of bugs that you may find in your code.
2年前
記事のアイキャッチ画像
When to use HashMap instead of Loop
Playful Programming's Atom Feed
Learn to use when to use HashMap instead of Loop
2年前
記事のアイキャッチ画像
Minecraft Data Pack Programming: Command Syntax
Playful Programming's Atom Feed
Learn the beginnings of data pack development in Minecraft - using positions, entity selectors, and conditional logic in commands!
2年前
記事のアイキャッチ画像
Minecraft Data Pack Programming: Introduction
Playful Programming's Atom Feed
Learn the beginnings of data pack development in Minecraft - using commands and functions to add custom behavior from scratch!
2年前
記事のアイキャッチ画像
A Guide to Python's Secret Superpower: Magic Methods
Playful Programming's Atom Feed
Python has a secret superpower with a similarly stupendous name: Magic Methods. These methods can fundamentally change the way you code with Python...
2年前
記事のアイキャッチ画像
Why I prefer Vue over Angular: DOM Pollution
Playful Programming's Atom Feed
Angular differs from Vue in some keys ways, including its "Incremental rendering". This shift introduces something I call "DOM Pollution"; its why I prefer Vue over Angular.
2年前
記事のアイキャッチ画像
Windows Subsystem for Linux
Playful Programming's Atom Feed
Utilize the best of both worlds — Windows and Linux — without having to dual boot. Windows Subset for Linux (WSL) lets you run software designed for Linux in Windows.
2年前
記事のアイキャッチ画像
The Complete Guide to Regular Expressions (Regex)
Playful Programming's Atom Feed
A Regular Expression – or regex for short – is a syntax that allows you to match strings with specific patterns. Think of it as a suped-up text search
3年前
記事のアイキャッチ画像
Rules of React's useEffect
Playful Programming's Atom Feed
useEffect is prolific in React apps. Here are four rules associated with the hook and in-depth explanations of why they're important.
3年前
記事のアイキャッチ画像
Doomsday Rule
Playful Programming's Atom Feed
In this blog I talk about the Doomsday Rule, how it works, how to put it into code then how to make a program that tests you.
3年前
記事のアイキャッチ画像
Why React 18 Broke Your App
Playful Programming's Atom Feed
React 18's internal changes improved a lot, but may have broken your app in the process. Here's why and how you can fix it
3年前
記事のアイキャッチ画像
A Better Way To Code: Documentation Driven Development
Playful Programming's Atom Feed
Test Driven Development is often taught to improve a your workflow; I present Documentation Driven Development as an alternative approach.
3年前
記事のアイキャッチ画像
How to get started with .NET
Playful Programming's Atom Feed
Did you know that 35% of developers are using .NET? This is a great article to read to get started with .NET.
3年前
記事のアイキャッチ画像
How to Upgrade to React 18
Playful Programming's Atom Feed
React 18 introduces some awesome features that I'm sure you can't wait to try! Here's how you can get started with React 18 today!
3年前
記事のアイキャッチ画像
Web Components 101: History
Playful Programming's Atom Feed
Web components have had a long history to get where they are today. Let's look back to see where they came from & their immense growth!
3年前
記事のアイキャッチ画像
Web Components 101: Framework Comparison
Playful Programming's Atom Feed
While web components can be used standalone, they're paired best with a framework. With that in mind, which is the best and why?
3年前
記事のアイキャッチ画像
Docs, Where Can We Do Better?
Playful Programming's Atom Feed
My personal approach to writing docs, mainly aimed at frameworks and the like.
3年前
記事のアイキャッチ画像
Web Components 101: Lit Framework
Playful Programming's Atom Feed
Google pushed for web components, sure, but they didn't stop there. They also went on to make an amazing framework to help build them: Lit!
3年前
記事のアイキャッチ画像
GitHub Copilot is Amazing - It Won't Replace Developers
Playful Programming's Atom Feed
GitHub Copilot is an amazing tool that I think will drastically improve the way that I code. But it won't replace me. Here's why.
3年前
記事のアイキャッチ画像
GitHub Copilot Breaks Bad Interviews
Playful Programming's Atom Feed
GitHub Copilot is a huge step forward for tech. Luckily, it improves our lives. Unfortunately, it will break your interviews. Here's why.
3年前
記事のアイキャッチ画像
Web Components 101: Vanilla JS
Playful Programming's Atom Feed
One of the ways web components differs from a framework is that it works right in the browser. Here's how to build them from scratch.
3年前
記事のアイキャッチ画像
Introduction to Web Accessibility (A11Y)
Playful Programming's Atom Feed
Accessibility allows as many people to use your product as possible. That, in turn, generates more profit. Here's how to improve it on web.
3年前
記事のアイキャッチ画像
How to Interview Frontend Engineers
Playful Programming's Atom Feed
Interviewing for frontend engineering positions can be difficult. Let's walk through some things you should focus on while interviewing.
3年前
記事のアイキャッチ画像
Python List Comprehension - The Comprehensive Guide
Playful Programming's Atom Feed
Python is a language with broad and powerful APIs. One such API is 'List Comprehensions'. Let's learn to use them to improve your code!
4年前
記事のアイキャッチ画像
My Advice to Technical Interviewers
Playful Programming's Atom Feed
Interviewing candidates is tough. It just is. Here are just a few of my tips to make your tech recruiting go smoother.
4年前
記事のアイキャッチ画像
Master React Unidirectional Data Flow
Playful Programming's Atom Feed
Making sure your app's code is structured well is critical. Mastering React Unidirectionality is a huge part of that. Learn how to here.
4年前
記事のアイキャッチ画像
Rust Enums, Matching, & Options API
Playful Programming's Atom Feed
Rust allows you to build super-fast and flexible applications. Let's build one leveraging enums, pattern matching, and the Options API.
4年前
記事のアイキャッチ画像
WebDev 101: How to use npm and Yarn
Playful Programming's Atom Feed
You've heard a lot about Node, NPM, and Yarn - but aren't sure what they are. Let's introduce them in-depth and answer questions about them!
4年前
記事のアイキャッチ画像
Living off the iPad as an Engineer
Playful Programming's Atom Feed
Tips on how to get yourself a proper development environment on the iPad to fully exploit its potential.
4年前
記事のアイキャッチ画像
The accidentally sliced CRTP base
Playful Programming's Atom Feed
Some time ago, I received a bug report that, in short, said "your class does not work with CRTP". I was very confused bythis statement. First a sh...
4年前
記事のアイキャッチ画像
React Refs: The Complete Story
Playful Programming's Atom Feed
React Refs are an immensely powerful, yet often misunderstood API. Let's learn what they're capable of, and how they're usually misused.
4年前
記事のアイキャッチ画像
Package Font Files on NPM for Angular Usage
Playful Programming's Atom Feed
Do you use custom fonts that you want to share with multiple apps? Learn how to distribute those fonts on NPM and consume them in Angular!
4年前
記事のアイキャッチ画像
Adding Cathage Dependencies into React Native
Playful Programming's Atom Feed
CocoaPods is a great dependency manager, but some need Carthage still. Let's walk through how to integrate Carthage with React Native!
4年前
記事のアイキャッチ画像
How Computers Speak: Assembly to AST
Playful Programming's Atom Feed
Have you wondered how programming languages are able to be ran on your hardware? This article explains how your code is processed and ran
4年前
記事のアイキャッチ画像
What do file extensions do?
Playful Programming's Atom Feed
A file extension isn't the only way a file is inditified, so what does it do?
4年前
記事のアイキャッチ画像
Autogenerate Changelogs and Manage Releases using Conventional Commit
Playful Programming's Atom Feed
Whether creating changelogs or just keeping track of git tags, releases matter. Learn how to automate your release process with conventional-commits!
4年前
記事のアイキャッチ画像
Better Angular Form Components with ngModel and formControl Implementation
Playful Programming's Atom Feed
Some components make controlling their state easier with 'formControl' and 'ngModel'. Let's see how we can build our own!
4年前
記事のアイキャッチ画像
Pointers and References in C/C++
Playful Programming's Atom Feed
An overview of how pointers and references function in C/C++
4年前
記事のアイキャッチ画像
Write Simpler Tests - 5 Suggestions for Better Tests
Playful Programming's Atom Feed
Writing tests is a big skill for any engineer, but we often over-complicate them. Let's simplify our tests for better testing overall!
4年前
記事のアイキャッチ画像
Virtual Memory Overview
Playful Programming's Atom Feed
An overview of how operating systems give processes their own address space.
4年前
記事のアイキャッチ画像
Writing better tests for Angular with Angular Testing Library
Playful Programming's Atom Feed
A simple explination of writing better tests for Angular applications and setting up Angular Testing Library
5年前
記事のアイキャッチ画像
Setup Android Studio Emulator for AMD Ryzen CPUs
Playful Programming's Atom Feed
While the Android Emulator isn't confined to Intel CPUs anymore, it can be tricky to setup for AMD Ryzen CPUs. Let's explain how to do so.
5年前
記事のアイキャッチ画像
Chess Knight Problem: a quick and dirty solution in JavaScript
Playful Programming's Atom Feed
I present a quick and dirty solution to a common interview question where the solution is not nearly as complex as it may first appear.
5年前
記事のアイキャッチ画像
Keeping API Keys Secret in React Apps
Playful Programming's Atom Feed
Save yourself money by hiding your API keys from prying eyes and nasty bots.
5年前
記事のアイキャッチ画像
Draw under the Android NavBar Using React Native
Playful Programming's Atom Feed
Android allows you to draw content under the navigation bar. It's a neat effect! Let's add that to our React Native apps.
5年前
記事のアイキャッチ画像
Data Storage Options for React Native
Playful Programming's Atom Feed
React Native contains multiple different ways you can persist data for your application. Let's look at the choices and their pros and cons.
5年前
記事のアイキャッチ画像
The Ultimate Windows Development Environment Guide
Playful Programming's Atom Feed
Many developers like MacOS or Linux for development environments, but don't know that Windows has plenty to offer. Become a Windows pro!
5年前
記事のアイキャッチ画像
Networking 101: UDP & TCP
Playful Programming's Atom Feed
If networking is analogous to physical mail, then let's take a look at the letters being sent themselves. Let's dive into UDP and TCP
5年前
記事のアイキャッチ画像
What is Server Side Rendering (SSR) and Static Site Generation (SSG)?
Playful Programming's Atom Feed
An explanation of what server-side rendering is, what static site generation is, and how you can utilize them in React, Angular, or Vue!
5年前
記事のアイキャッチ画像
Building an Angular Blog With Scully
Playful Programming's Atom Feed
NuxtJS and Gatsby allow you to make SSG-enabled blogs, but Angular doesn't have an equivalent... Until now. Let's build a blog with Scully!
5年前
記事のアイキャッチ画像
Networking 101: A Basic Overview of Packets and OSI
Playful Programming's Atom Feed
You use networking every day - even to read this! Let's dive into explaining how we send data across a network and what the OSI model is.
5年前
記事のアイキャッチ画像
How to Pick Tech Stacks For New Projects
Playful Programming's Atom Feed
I often get asked "How do you pick a tech stack for your projects?". The answer is: outline what questions you should be asking early on.
5年前
記事のアイキャッチ画像
Making a Slack Bot using NodeJS and MongoDB
Playful Programming's Atom Feed
Join us as we teach you how to create a Slack bot from scratch using their Node SDK and MongoDB for persistence
5年前
記事のアイキャッチ画像
Debugging NodeJS Applications Using Chrome
Playful Programming's Atom Feed
Learn how to interactively debug your NodeJS applications using a GUI-based debugger built into Chrome.
5年前
記事のアイキャッチ画像
Integrating Native Android Code in Unity
Playful Programming's Atom Feed
Have you ever wanted to run native Java and Kotlin code from your mobile game written in Unity? Well, you can! Let's see how.
5年前
記事のアイキャッチ画像
Change the Host File of an Android Emulator
Playful Programming's Atom Feed
In order to test web applications with Android properly, you may need to edit the Android Emulator network host file. Here's how to do so.
5年前
記事のアイキャッチ画像
Introduction to HTML, CSS, and JavaScript
Playful Programming's Atom Feed
Introduction to the underlying concepts of HTML, CSS, and JavaScript and how they work together.
5年前
記事のアイキャッチ画像
Web Fundamentals: Understanding the DOM
Playful Programming's Atom Feed
In our eight chapter, we learn how the browser internally handles HTML and CSS to show the user webpages on-screen.
5年前
記事のアイキャッチ画像
How Binary and Hexadecimal Work: An introduction to non-decimal number systems
Playful Programming's Atom Feed
Learn how to convert decimal to binary and hexadecimal, how CSS colors are calculated, and how your computer interprets letters into binary.
5年前
記事のアイキャッチ画像
Introduction to TypeScript — What is TypeScript?
Playful Programming's Atom Feed
An introduction and explanation of what TypeScript is, is not, and what it's used for
5年前
記事のアイキャッチ画像
Hard grids & baselines: How I achieved 1:1 fidelity on Android
Playful Programming's Atom Feed
Testing the limits of `firstBaselineToTopHeight` and `lastBaselineToBottomHeight` to deliver a perfect result.
5年前
記事のアイキャッチ画像
TypeScript Intermediates - Type Generics
Playful Programming's Atom Feed
An introduction to the type generic functionality in TypeScript
5年前
記事のアイキャッチ画像
Introduction to Android: Contexts, Intents, and the Activity lifecycle
Playful Programming's Atom Feed
A basic overview of the main components of an Android app and how they interact with each other and the Android system
5年前
記事のアイキャッチ画像
Joining Freenode IRC: A Guide
Playful Programming's Atom Feed
Basic (but detailed) instructions for setting up a Freenode IRC account through various clients
5年前
記事のアイキャッチ画像
Continuous Integration with Travis CI for Android
Playful Programming's Atom Feed
An in-depth tutorial explaining how to set up Travis CI to deploy signed builds to Google Play. Among other things
5年前
記事のアイキャッチ画像
Angular Templates — From Start to Source
Playful Programming's Atom Feed
Learn how templates work in Angular. From the basics to being able to read Angular source code and write your own structural directives
5年前
記事のアイキャッチ画像
Uttering Hello — The Site's First Post
Playful Programming's Atom Feed
An introduction to Unicorn Utterances, including a mission statement and general roadmap
5年前
記事のアイキャッチ画像
When performance guarantees hurts performance - std::visit
Playful Programming's Atom Feed
The performance of came up in a discussion, andmyfirst thought was that from reading generated assembly code, it's a jump table, so it should be...
6年前
記事のアイキャッチ画像
How to speak at a conference
Playful Programming's Atom Feed
A former colleague of mine recently described the steps to speak at a conference as: Write a proposal and (optionally) a talk outline. Get accepted...
6年前
記事のアイキャッチ画像
DRY multicomparisons
Playful Programming's Atom Feed
Now and then, I find myself writing something like if (x == a || x == b || x == c) ... , and every time the repetitionof x == annoys me. A number ...
6年前
記事のアイキャッチ画像
Angular Route Guards For Authorization In A Web And Mobile Application
Playful Programming's Atom Feed
Learn how to use Angular route guards for authenticating & authorizing access to certain child and parent routes.
6年前
記事のアイキャッチ画像
Performance of flat maps
Playful Programming's Atom Feed
A flat map is a data structure that maps a key to a value, and that stores the data in a compact flat memory structureto get better cache hit rate...
7年前
記事のアイキャッチ画像
constexpr quicksort in C++17
Playful Programming's Atom Feed
So I've written about compile time quick sort twicebefore ( 2011 and 2015 ,) but now when C++17support is becoming available, I thought I'd try i...
7年前
記事のアイキャッチ画像
Higher order functions as an enabler for lazy evaluation
Playful Programming's Atom Feed
Yesterday's post about Generating lambdas for clarity and performance showed how to make use of higher order functions to improve clarity while giv...
8年前
記事のアイキャッチ画像
Generate lambdas for clarity and performance
Playful Programming's Atom Feed
Higher order functions , functions that operate on other functionsor returns functions, are familiar to those who have had some experience with fu...
8年前
記事のアイキャッチ画像
Serializing structs with C++17 structured bindings
Playful Programming's Atom Feed
Serializing data in C++ is a surprisingly difficult problem. There are many libraries for it with varying degrees offinesse, power and ease of use...
8年前
記事のアイキャッチ画像
strings as types with c++17 constexpr lambdas
Playful Programming's Atom Feed
Recently I stumbled upon a question by @arne_mertz of Simplify C++ fame (if you don't read that blog, start now!) about using string literals asty...
8年前
記事のアイキャッチ画像
Succinct and helpful C++ template compilation errors
Playful Programming's Atom Feed
We've all experienced them, the long and unhelpful compilation errors from templates, usually referring to some internalheader you didn't even kno...
9年前
記事のアイキャッチ画像
A flexible lexicographical comparator for C++ structs
Playful Programming's Atom Feed
We've all hand crafted comparison operators for structs with many members, and we've all cursed the tedium. It's allright for equality comparison,...
9年前
記事のアイキャッチ画像
Cache optimizing a priority queue
Playful Programming's Atom Feed
I must begin with saying that if you found this because you have a performance problem, you should almost certainly lookelsewhere. It is highly un...
9年前
記事のアイキャッチ画像
Performance observations on a C++ vector of lambdas
Playful Programming's Atom Feed
Edit 2015-Jun-7: The source code is available on GitHub When writing unit tests, you typically don't care much about execution speed, but compile t...
9年前
記事のアイキャッチ画像
Compile time quicksort in idiomatic modern C++
Playful Programming's Atom Feed
A contender for the most useless program ever written just got a much needed overhaul. In2011 I wrote about compile time quick sort as a challenge...
10年前
記事のアイキャッチ画像
Sequence Control with the Trompeloeil C++ Mocking Framework
Playful Programming's Atom Feed
As previously introduced ,the Trompeloeil C++ framework is a new mocking framework for C++14. If you'renot at all familiar with Trompeloeil , you...
10年前
記事のアイキャッチ画像
Introducing the Trompeloeil C++ Mocking framework
Playful Programming's Atom Feed
Trompeloeil is a new mocking framework for C++, aimed at ease of use withoutsacrificing expressive power. In arts, trompeloeil is intended to mock...
10年前
記事のアイキャッチ画像
Asserting compilation errors in C++
Playful Programming's Atom Feed
Sometimes when crafting an interface, we want to ensure that some illegal constructs leads to compilation errors. Afterall, a good interface is ea...
10年前
記事のアイキャッチ画像
strings as types
Playful Programming's Atom Feed
As odd as it may seem, I have more than once felt the need to express a string literal as a unique type which can beused as a any class. As an exa...
12年前
記事のアイキャッチ画像
Compile time messages in C++
Playful Programming's Atom Feed
At times it's desirable to give a message at compile time. Sounds cheezy, eh? Well read on and find out. As an example of the cheezy kind, the comp...
13年前
記事のアイキャッチ画像
Exploring time keeping in ISO C++ 2011
Playful Programming's Atom Feed
A lot has been written about new features coming in the 2011 revision of ISO C++. One that has received surprisinglylittle attention is the <chron...
13年前
記事のアイキャッチ画像
Compile time quick sort using C++ variadic templates
Playful Programming's Atom Feed
Edit June 4th 2015: This article is very dated. Read this revisiting article for a far better solution C++ is a strange language. In many ways it's...
13年前