teaching machines

A C Interpreter

My programming languages class this semester will begin with a few lectures on shell scripting. As an exercise for myself, I thought I’d write a little C “interpreter” so that I can “directly” run my C source code. The first thing we’ll need is a C source file. Here’s one: Now, I need to indicate […]

Taming jQuery

In our AphasiaWeb project, I’ve run into a few problems that deserve some mention. jQuery.load and Caching We have several places in our code where we retrieve content from the server with a jQuery.load() call: I was finding that after adding posts, new content failed to show up. It appeared that load() wasn’t being called. […]

Visual Studio, CMake, and OpenGL

I am not familiar with the Windows development environment (and I don’t feel like I need to be). For this reason, I do not enjoy developing software on Windows. However, Windows is what we have available to us in Phillips 115. In this post I will describe how I get around having to know Windows […]

Generating utterance WAVs

I’m going to ask my students to write some C code to create an audio pronunciation of a number. For instance, 137 is pronounced “one hundred thirty-seven.” As input, I will give them WAV files containing the separated pronunciations of all the number words that are needed. They’ll need to read these files in, concatenate […]

A texture renderer on the Raspberry Pi

A collaborator is working on using a cluster of Raspberry Pis to build a multi-monitor display wall. We’re using textures in OpenGL to blit each frame across the display. For his benefit, I pieced together a simple texture renderer, where the texture is procedurally generated by XORing the texel indices. XOR textures are interesting: The […]

Blender 3-D View Pivot Point

Rotating the 3-D view in Blender sometimes behaves strangely. The pivot point seems to lie somewhere between me and the screen, making it very difficult to manipulate the view. The fix is to change the pivot point. Options include: Numpad . to pivot around the selection’s center. Shift C to pivot around the 3-D cursor.

Lab 5 Projects

John, Alex, and Michael Adam, David, and Ryan (not on the web; paste the link address into Windows Explorer) Cody, Matthew, and Thomas Cody, Corey, and Hannah Anna, Jason, and Joel

[HNRS 304.503] Lecture ? – Game plan

Agenda I asked in lab if we wanted to spend today’s lecture thinking about next semester’s project, which you will complete with your original groups. More yesses were heard than nos. So, today, plan to meet with your group. In the last ten minutes of class, I will ask each group to share the description […]

SIGITE 2012

In October I had the good pleasure to visit Calgary, just east of the Canadian Rockies. The purpose of my visit was to present a paper on Paul Wagner’s MOBILE project. We wrote this paper not certain where to publish it. In our literature readings, we noticed much related work came from SIGITE. It was […]

CS 491 Lecture 22 – Using GPS

Before class A Before we meet: Watch http://youtu.be/C7IQ9tV2FAI. Skim http://developer.android.com/reference/android/app/PendingIntent.html. Skim http://developer.android.com/guide/topics/ui/notifiers/notifications.html. B Before we meet: Watch http://youtu.be/OPFCxdD-SeA. Read http://developer.android.com/guide/topics/location/strategies.html. In class Write an Are We There Yet? app. Keep these in mind: Create a Google APIs AVD. Register a location as a destination. You choose the mechanism for performing this registration. Geocoding would be awesome. Listen for location updates. […]

1 172 173 174 175 176 204