Skip to content
Ryan James
Menu

Writing // 63 articles

Notes, lessons, rants.

Some of this is me figuring out edtech in real time. Some of it is tutorials I wrote for my students. A little of it is me yelling at the internet. Let's dive in.

63 articles

2026

2024

Let's Play AlphaAs a computer science teacher I love teaching algorithms without using code. One of my favorite ways to introduce divide and conquer algorithms is to start with the binary search algorithm. What I like to do is grab a dictionary from the library and challenge the students to how many guesses it will take to find what page number any word in the dictionary is on. A dictionary that may have hundreds of pages gets consolidated down to a small amount of page turns using that algorithm.Projects10 min
Learning with Astro:DBPeople that know me or have read my previous articles know that I typically work in one of those other React frameworks that we will not name here. I skipped the line on learning web development and reached for one of the easiest when I decided to learn JavaScript after using Python for shipping sites. What do I know about using Astro? I would say that I know very little. I have only built a few micro-sites and on the one I spent the most time on, I was building a React component for all the heavy lifting of the site. So I was literally learning as I was building a site to connect with Astro’s new db feature.Blog10 min
Making a Full Stack App with CRUDI’ve been using NextJS for a good bit now building my web applications. For my personal site and other applications I felt really comfortable using the Pages router. With some of the newer features that started in version 13 and now in 14, I figured I need to start getting used to the App router. As a computer science teacher, I think that building an application that uses CRUD (create-read-update-delete), is a great way to understand a lot of programming concepts from arrays, objects, sorting data, filtering data, and mutating data. So, I took it on myself to do this for myself. In this guide, I’ll share what I learned about building a full-stack application using NextJS 14 with a GraphQL CMS.Blog15 min

2023

2022

Educators: Use the Jamstack Part 2Next.js is a library for the React JavaScript framework. It simplifies a lot of things for people that are new to building sites in JavaScript. Probably the thing I like about it the most is how quick you can get a multi-page site up and running. Depending on the logic, data fetching, and page count, you can sometimes get a proof of concept up and running in under a day. This seems absurd. Alright, so let's get into it. In this article, we are going to build a site with dynamic routing. Dynamic routing is something that Next.js can do for you. It allows you to create pages on the fly - you don't have to build out a separate page for each route. We are going to build a site for choosing hex colors. You can see the site working here and if you want the final code, I have a GitHub repo for you. The site builds a new page for each color that is entered, dynamically. These pages don't exist until a user navigates to them.Blog20 min
Ramblings, Musings and UpdatesI feel like I've been so busy lately, it's been hard to really sit down and get to creating content. As the Technology Coordinator for a school (well actually like 4 schools) my day gets away from me pretty easily. The school I work in is split into 4 divisions where each one is in a different building - so there's lots of walking and lots of questions asked. I've found the best way to get work done is to stay in my office. But, things are starting to calm down a bit and I'm getting back to writing code again. I even had time to answer the Interview Question for @cassidoo's newsletter this week. In addition I've started playing around with a new framework.Blog5 min
Rethinking Binary and HexadecimalWe're winding down the summer at my school and teachers report back on Monday. This will be my first school year working in the tech department and I'm thrilled. I still have one class to teach and that's AP Computer Science Principles. Part of the summer I decided to work on some of my web apps/widgets for that class and I'm ready to talk about them. Teaching numbers in CS to teenagers can be really difficult. It's abstract, mathy, and doesn't have the glitz and glamor of changing code outputs or updating CSS for a new color.Blog10 min
Hey, I Work in Tech NowYep, I guess I can now say that I'm not a teacher anymore. I'm still teaching 1 class this next year and will be teaching adults a lot of new things about tech. With all that, I think it's time that I embrace my new role in tech. My official title, if those even mean anything, is Technology Coordinator and Digital Facilitator. I've done 2 full weeks in the role and it has felt like drinking from a fire hose. In those 2 weeks I've been handed the God permissions for all the accounts where I work and login credentials for the servers that we run everything on. On top of that, we're getting new devices ready for teachers and students. It's pretty wild.Blog5 min
Pair ProgrammingFor teachers new to CS or even veteran teachers, pair programming is a way of having students work in teams of two to work on a program. I've heard of teachers setting up pair programming in one of two ways. The first method is to assign a programming problem to a pair of students and ask them to work the problem. Generally there is little structure to this type of pair programming and requires the students to organize themselves and work together efficiently. The second method, which is preferred is to only allow the students to use one computer to work on the problem. The student that is using the computer is not supposed to make decisions, but do what the second student instructs them. I think of this almost like a tutorial where the student not typing is teaching the student at the computer. Unless you're an expert in this kind of teaching, then you should continue reading.Blog5 min
Learning a New StackI've been dabbling in web development off and on for the past 3-5 years. I started off with HTML and CSS and using tools like GitHub Pages to serve the static content. Once I got more comfortable with OOP in Python, I learned how to build applications with a server using Python and SQL as my backend serving template pages. This was hard to keep track of sessions and creating a complex schema with relations, but it worked. Now I'm on a new iteration of building for the web. I drank the Kool-Aid and I'm doing Jamstack for a while now. I had to really buckle down and get back to the basics of JavaScript which is something I needed to do for a while. I'm not an expert on Jamstack or even the tools I'm using, but I'm having so much fun learning a new stack and playing with new tools. I've been quiet on the programming front for the past 2 years, but this has really invigorated me to get back to it. Let's dive in to this and see what you can do with this.Blog10 min
Working With Scripts - The SequelOk, so every school has these awkward conversations about students, and I never want to be included in them. When I hear negative comments about a student, it gives me a bias towards that student. I know other teachers are with me. It's hard to hear bad things about someone and then treat them fairly along with the rest of the class. So when we have these conversations at my school about discussing students of concern, I rather wish I wasn't there. How can we use technology to help us not be included in these conversations? Enter Google Apps. As I stated in a previous post, we can write our own code to run in the background of our Google Apps.Blog10 min
Working With ScriptsAs an educator, I hate busy work...and with teaching, there is a lot of busy work. I rather not grade papers, I rather not look over multiple choice answers, and I rather not write emails or reports that use data that can be extracted from other sources. It's really redundant and I can think of 100 other things that would be a better use of my time. Now that I've been working at a school that is 100 percent on board with Google products, how can I use those tools to help me out?Blog10 min
Writing CurriculumI tend to do things the hard way, maybe it's just the way I'm wired. Whenever I take on a new class, I always want to design the course myself rather than taking from a textbook or curriculum that has already been written. Now, I don't always recommend this, but it has opened up doors for me throughout my career. I've been very fortunate to work with some great mentors and teachers on curriculum teams over the years. I just wrapped up another curriculum writing contract and since it's on my mind, I thought I'd share some of the lessons I've learned.Blog5 min

2021

2020

2019

2018

Nice to C You Old FriendIn one of my new classes that I’m teaching this year, Computer Systems, the students build a computer from scratch and also write the operating system for the computer. The students have spent the first few weeks of school doing research to optimize the computer for the budget that I put them under. So while we wait for the remaining parts to come in the mail, I thought it’d be a good time to give them a crash course on programming in C since we’ll be using that to build their own version of Linux. Lucky for me that all of the students in the class either took AP CS A last year or are currently taking it.Blog3 min
Summer 2018What a summer it has been so far! I don't even know where to begin this year. I'll just start at the beginning. The first week was filled with attending tech workshops at my school and that got me really excited as we are getting access to some new Microsoft tools that we were not able to use last year. If your school doesn't use Microsoft yet, I would definitely try to make the change. I'm excited about using Teams with some of my classes next year and I already use Planner to help keep myself organized.Blog5 min

Browse by topic