Quantcast
Channel: idle thoughts » Uncategorized
Browsing all 19 articles
Browse latest View live

Tesla GPU not showing up for cudaDeviceCount/getDevice

I spent a few hours today debugging this — GPU programming is its own special form of hell. It turns out I had to disable ECC and reset the GPU: nvidia-smi -i 1 -e 0 nvidia-smi -i 1 -r Naturally, there...

View Article



Image may be NSFW.
Clik here to view.

a bit of fall

Since it’s still ugly out, how about some pretty leaves that I found on my cellphone camera…

View Article

Fiber to the people

My home internet sucks, relatively speaking. Anytime something shows up as “HD”, I know that it’s not going to work out for me. This is not at all surprising, given that I only have one choice (Time...

View Article

Big Gummy Bears

Normally, when confronted with (inevitably weird and annoying) YouTube commercials, I’m hovering over the “Skip Ad” link, waiting for it to be enabled. But today, I saw an advertisement so odd, that I...

View Article

kde desktop magic

Something miraculous that I just realized: middle clicking (aka pasting the X buffer) on the KDE desktop creates a “post-it” note with the contents of the clipboard. Whether I will ever make use of...

View Article


Image may be NSFW.
Clik here to view.

vim

I’m a frequent (some might say avid) user of the Vim text editor. I’ve been using it off and on for the past 15 years, and it’s frequently saved me quite a bit of time with the handy macro system. Now,...

View Article

ah, latex

I thought I wanted to customize the layout of my document a little bit, so I started looking at the various styles that are available. Then I came upon the memoir package (which is supposed to help...

View Article

Swig+Directors = Subclassing from Python!

Swig is a fabulous tool — I generally rely on it to extricate myself from the holes I’ve managed to dig myself into using C++.  Swig parses C++ code and generates wrappers for a whole bunch of target...

View Article


thread profiling in Python

Python has accumulated a lot of… character over the years.  We’ve got no less then 3 profiling libraries for single threaded execution and a multi-threaded profiler with an incompatible interface...

View Article


a simple watchdog for subprocesses

A problem I often encounter when writing code that deals with subprocesses is the issue of orphans. These are perfectly useful in many situations, such as keeping program running via `disown`. They’re...

View Article

scidb performance

We searched around trying to find any reasonable comparison of Scidb performance to existing systems (specifically, we’re looking at doing straightforward bulk-parallel operations like logistic...

View Article

Making a JIT interpreter with LuaJIT

(N.B. The code for all of these experiments is on Github). I recently read this post by François Perrad regarding interpreters, where he compared interpreter loops written in Lua, LuaJit and Pypy.  (I...

View Article

Image may be NSFW.
Clik here to view.

Citibike: Bike Flow

I’m a big fan of the Citibike bike share program that started here recently.  One common issue I and others seem to suffer from is the lack of bikes (when starting a trip) or docks (when ending a...

View Article


a blast from the past

While reading some EE articles, I happened across a link to a Webring site. Remember Webrings? Probably not. They were the rage back in the 90′s. Not so popular anymore, as all content gets swallowed...

View Article

the Onion

We used to have the Onion (America’s Finest News Source) available for free here in New York, in those little weekly newspaper boxes you see lying around. After the hurricane last year, the supply...

View Article


statically linking shared libraries with libtool

I run a lot of experiments on our local cluster.  Unfortunately, over time, the library versions on the cluster tend to diverge from those on my local machine. As a result, I’ve gotten used to seeing...

View Article

Image may be NSFW.
Clik here to view.

Creating fancy images with Matplotlib

I have to give a short presentation at SOSP next week, and for it, I needed to have some nice pictures representing a distributed array. After trying out several tools for trying to create these, I...

View Article


Transaction Chain Visualization

We had a paper at the last SOSP on transaction chains.  Our original analysis of chains was done by hand, which is quite a silly way to do it.  We then wrote a simple script to do the graph analysis,...

View Article

Image may be NSFW.
Clik here to view.

On distractions

I just purchased a new phone.  I’m convinced, that given I’m frantically working towards finishing my thesis and preparing for my defense, this was not a brilliant time to introduce a great source of...

View Article
Browsing all 19 articles
Browse latest View live




Latest Images