• Open Source,  Ubuntu,  Uncategorized

    Ubuntu Hour San Diego 1/24/2011

    If you live in the San Diego metropolitan area, and love Ubuntu and Open Source, (or if you just need a Saturday morning caffeine fix), I’m organizing an Ubuntu Hour on behalf of the Ubuntu California Loco at a Starbuck’s in Point Loma. We’ll be talking about Ubuntu in general, and some ideas about how we can promote Ubuntu and Open Source in San Diego County. Please RVSP here! Space is a bit limited Event details: Jan 22nd, 2010 11am-12pm Starbucks (Point Loma) 1221 Rosecrans, San Diego, CA 92106

  • Coding,  Hardware,  Open Source,  Random,  Ubuntu

    Crash Course on Mixing C and Assembly on Linux/x86

    Editor’s Note: This article is designed to get you thinking a bit about assembly on i386 machines, and to provide an example of x86 convention function calling. Its not really comprehensive enough to serve as a thorough tutorial. Look here, or here for a bit more comprehensive introduction. Tinkering with assembly code is a great way to learn about how code compiles and runs, and provides great insight into writing better code. Its probably easier and [frankly] more useful, to insert some carefully crafted assembly code into a C program at just the right place. However, you learn more about the machine, and the way your code is stitched together…

  • Coding,  Open Source,  Ubuntu

    How To Make A Kernel Sandbox using QEMU

    Last post, I described a few reasons why a kernel sandbox might boost your ability to tinker with the kernel. Now I’m going to describe how you can do this! I use a debian virtual disk image, along with QEMU for the virtualization. Why QEMU? Its open source (always a plus), free, and has been used pseudo-extensively by a lot of kernel developers. Furthermore, its controlled by the command line, which makes it easier for the type of development we’re doing. First, we have to make the virtual machine’s system disk image by allocating a hunk of disk space in a big amorphous file. You can do this easily using…

  • Coding,  Open Source,  Ubuntu

    Graphing, Gtk, and Clutter

    A day or two ago, I was doing some calculations and plots in octave the other day, and took a break to check my blog stats. It occurred to me that the animated flash chart that appears on my blog was heads-and-shoulders prettier than the simplistic 2d plotting done with gnuplot. Gnuplot is not antialiased, not animated, and doesn’t support alpha blending, whereas my blog stats do. Like any good open source coder, I decided that I could change that. I made a custom Gtk widget that uses clutter and cairo to produce animated 2d plots. The entire thing is an embeddable clutter scene with its actors rendered by cairo,…

  • Ubuntu

    Irssi hacks

    So I’ve been breaking my pidgin IRC habit lately with irssi, and its going pretty well. I’ve been using it for about a week now, and there are a few settings and mods that have been pretty helpful in making it my client of choice. The Hilight Window So I’ll be honest, I’m not all that great at scrolling back through the logs that pile up when I’m away, and more specifically, oftentimes I don’t care about what was said, unless its addressed to me, or something that I’m concerned about. This is where the “hilight window comes in handy. Grab this perl script (highlightwin.pl) and put it in your…

  • Random,  Ubuntu

    Annnnd, I’m back!

    Where I’ve been: Some of you may have noticed, I haven’t posted in over 2 months. due to being swamped with very time consuming and pointless school projects, like an automated physical pinball machine, and a ridiculous multithreaded fileserver. The former was actually pretty fun for a school project, and helped to spark interest in hardware design. The latter was an exercise in frustration and futility. But all that is over now though, and I’ll be starting the summer soon! Some news!: Summer of Code! I’m very happy to say that I’ve been accepted into the Google Summer of Code for the FFMPEG project. I will be working with them…