I ran into a description of harmonic drives earlier. I hadn’t seen anything quite like them before, and they are just so cool – flexible driven gear for high torque, high fraction engagement, and inherently loaded for zero-backlash. Even though there is a little marketing in it, this description is really better than wikipedia’s. I love it when neat things just appear in my field of awareness.

Posted on by pappp | Leave a comment

Window Manager Musings

A while ago I installed KDE 4.6 on one of my machines, just to see what the bulky extreme of desktops looked like these days. Mostly, it was obscenely bulky (KDE alone is, seriously, larger than the sum of the software I have on my workstation on campus) and cluttered (what is the deal with that fucking cashew). However, there are a lot of improvements over the last time I fiddled with KDE, and a few features I really, really like.

Some of the little nice things: The control panels are all integrated and aware of each other. The GUI wrappers around randr are genuinely nice (display attachment behavior as good as Windows 7’s – which is frankly the best I’ve ever seen), and the fact that it customizes nicely to CDE-style right-click-the-desktop menus (sans this bug when I first tried) is promising.

The most important (The nomenclature alone for this behavior is nonstandard) is “Desktop Gluing” – Permanently fixing particular windows (or applications, or whatever) to particular virtual desktops. In KDE, a huge array of window behaviors can be set from “Advanced Window Settings” or “Advanced Application Settings” panels obtained by right-clicking the title bar of a window. It’s a good design – unobtrusive until you go looking for it, and obvious once you do. I always keep my “Communication and Identity” stuff (Email, Chat clients, a browser with whatever social things I feel like tending to, etc.) on my second workspace, and this makes it much easier to respond to message alerts without pulling those windows to other workspaces.
Any EWMH compliant environment SHOULD be able to do this, (and apparently E17 has behavior similar to KDE, but E17 has improved from “Broken” to “Useless” over the last few times I’ve played with it, so that isn’t terribly helpful). I can’t find a way to replicate this behavior with XFCE. The native settings don’t have anything, and Devil’s Pie and wmctrl can both cause windows to OPEN on a specified desktop, but they are both extra, somewhat fussy, programs that need to run in the background, and neither can force a window to STAY on a particular desktop.

When looking into the feature, I did make the excellent discovery that XFCE has had a setting for the last several releases that takes care of one of the problems window gluing solves. Based on this Bug Report, one can switch the obnoxious “Pull window to active workspace when activated” behavior to either move focus to the workspace the window is on (My desired behavior), or just alert in the task bar.

Always nice to find little ways to improve the workflow, and see what the other desktop environments are doing, especially with so much of the UI “Innovation” of late being disappointing (see iOS, and Unity).

Posted in Computers, General | Tagged , , | Leave a comment

Humble Indie Bundle #3

There is another Humble Indie Bundle name-your-own price/donate to charity sale going on. Like last time, the average Linux user is paying about twice what the average Mac user does, which is in turn about 1.5x what the average Windows user offers. Who says we’re cheap?
I put $15 into the last one, and even though I didn’t end up liking half the games in the set, it was totally a good deal. Did it again this time even though I won’t have time to play them in the near future.

Posted in Computers, Entertainment, General, Objects | Tagged | Leave a comment

Annual Cadbury Creme Egg: Consumed. Successfully reminded that they are disgusting. The analogous peep was taken care of earlier in the week, so my spring confectionery tradition is complete.

Posted on by pappp | Leave a comment

I don’t give a flying fuck about UK athletics, but Lexington is gearing up for one hell of a riot. Be safe everybody.

Posted on by pappp | Leave a comment

Why are there no recycling containers in the fancy new “green” building? I just wanted to get rid of some plastic packaging, but nooo…

Posted on by pappp | Leave a comment

Epic Archlinux/Debian/Gentoo/Grml/OpenSUSE April Fools Joke is epic. The Canterbury Distribution indeed.

Posted on by pappp | Leave a comment

Cluster GPU Thermal Monitoring

The research group has been writing some simple monitoring scripts for handling the clusters. The focus is mostly on montitoring NAK (page in serious need of update), which has always had thermal irregularities with it’s GPUs. Some of the (poorly designed) GPU coolers have recently finished cooking their fans, and the “repair” has been to remove the cowling and mount an 80mm fan in the case to blow across the heatsink — this produces comparable temperatures to the vendor solution, whch is pathetic. This thermal instability requires that the system temperatures be periodically checked, and we have written variety of colorful scripts both for users and for the displays in the front of the machine room. The one I wrote for my own use is a simple combination of bash and AWK, which produces nice colorized one-line summaires for each machine when run with something like “mpirun –hostfile ~/nakhosts ./pstatc.sh | sort” where nakhosts is a standard MPI-friedly list of hosts, and ~/bin/ has nvidia-smi (a little tool for handling nivida GPUs from the command line) exported to the nodes. Script attached here for perusal (and so I can find it later). Possibly the best part is that it made me referesh my memory on using ANSI Color Escapes, which has been on my list of skills to touch up for a while – That foray also lead to souping up the script Hank was working on to use background colored spaces for ghetto bargraphs to keep the displays in the windows of the machine room interesting until we are set up to drive them with something else. One of these days I really should learn to use ncurses, or at least get better with one of the GUI libraries…

Posted in Computers, DIY, General, School | Tagged , , | Leave a comment

RIP N810

My N810 finally bit it yesterday – The touchscreen gave out earlier in the week, and after re-seating the ribbon connector (again), it rebooted with serious video artifacts/flicker/discoloration. When I opened it back up to try again, the connector literally fell off the end of the ribbon, taking out the display as well as touch. Ribbons are not solderable, and replacement screen modules are not available, so it has been rendered pretty much useless.

I was looking at replacement options as soon as the touchscreen went out again, and the field is grim. What I want is a modern handheld-size *nix (preferably Linux) box with a qwerty keyboard, a “reasonable” (800×480 or better) screen of around 4″, an audio out compatible with normal 3.5mm connections, WiFi, and enough battery to make it through the day. Apparently I am alone in this desire. Searching kept bringing me to the list at pocketables, which has the majority of potentially suitable devices.
Continue reading

Posted in Computers, General, Objects | Tagged , | 2 Comments

Package Manager Security

(The following is long, rather technical, and somewhat esoteric. Sorry, it’s what I do.)
I try to keep reasonably abreast of developments in Arch Linux, since it has been my favorite distribution for about seven years now, and the OS on my primary-use computer for five of them. Someone (almost entirely a single very loud someone as it turns out) has been making noise about package signing in pacman, the package manger used by and written for Arch, and said noise propagated up to an article on LWN, so I took some time out tonight to read up on the matter.

The short version is that the description of events on pacman developer Dan McGee’s blog seems to be essentially correct, and the “Arrogant and dismissive” accusations were the result of someone new showing up and making long-winded demands on the mailing list in regard to a topic which has been under (occasionally contentious) discussion for years. The Arch community can certainly be a little blunt, but it has never struck me as unfriendly or inappropriately autocratic (there is quite a bit of the “Those people actually doing things get to decide how they are done” mentality: as far as I am concerned this is exactly right for community projects).

The two primary things I learned in reading are that package manager security is indeed a hard problem, and that most of the possible attacks would be extremely difficult to carry out, regardless of package signing. The typical least concern matter of security: if production machines anywhere that matters are having their DNS (& etc.) spoofed on the required scale, there is a much bigger problem than trying to slip compromised packages into systems during updates. I’ve also discovered that generally, people don’t seem to care: for example, as best I can make out, gentoo has had discussions on package/repository signing since 2002, support since 2004… and it isn’t generally used today. The Arch Wiki has a nifty article about how various distributions handle package security in the context of designing a system for Arch – it is somewhat incomplete, but the only comparison of existing systems I found. Note that the page was started and largely populated in July of 2009.

One thing I don’t quite understand is why there isn’t a movement toward, at least optionally, performing updates over secured connections: simply using ssl (which has it’s own problems) for mirror-to-mirror and user-to-mirror communication would (aside from making the CPU load involved in running a mirror much higher and considerably slowing update downloads…) convey many of the befits of signed packages/repositories with less hassle. More importantly, it would close many of the holes in package management systems which do support signing for those individuals and organizations with sufficiently critical systems and/or paranoid administrators to be willing to swallow the overhead.

With all that in mind, I find myself agreeing with the pacman developer’s ambivalence on the issue – a security scheme for pacman is not so much a “critical feature” as a”nice to have”, largely for future proofing. Likewise, a broken scheme, or one so obtrusive it goes unused is probably worse than none at all. The obtrusive issue is honestly probably the most important to me – one of my favorite things about pacman is that the makepkg process is incredibly easy. I can often go from a source tarball or CMS checkout to a easily handled package as fast as I can (safely) build and install by hand. Contrast this with, say, Debian, where packaging and installing even simple software is often a painful multi-hour affair even with things like debhelper, and simple packages tend to (in my experience) do unhelpful things like fail to uninstall cleanly. I want making my own packages, and building or modifying packages with scripts written by others to remain easy and transparent much more than I want to be protected from improbable attacks.

Forcing the issue (it looks like security features will appear in the next few pacman release cycles as a result of the noise, mostly handled by existing developers) was probably not the right thing – the security scheme should have been done slowly, carefully, and correctly by someone who is actually interested in the matter – the last point both so that it really is done right, and because Arch and Pacman are community maintained projects, where everything should be done by someone who cares, as Linus himself puts it, just for fun.

Posted in Computers, DIY | Tagged , , | Leave a comment