Category Archives: General

Pionier Button Hacking: Step 1

pionierbutton_sm.jpg

(eventually I’m going to have to hack up a light tent (for the glare) and camera mount(for the jitter) for this kind of thing, but it hardly seems necessary with my little point-and-shoot)
One of the more promising bits of schwag at SC09 was a little USB button thing handed out by Pionier. The basic premise on the button is that after connecting it to a computer via USB, it lights up with enticing shifting colors, and, when pressed, sends the computer to the pionier SC09 website. It does this by announcing itself as a USB HID device, emulating a keyboard, and typing “{control}rhttp://www.pionier.net.pl/webstarter/09scpo6r8q {newline}”, which will have the desired effect… from the desktop on a windows box. After seeing what it did on a laptop on the show floor, I grabbed a few extras thinking they would be fun to hack.

I pulled apart one of the buttons to read off what the chips are, and things look promising. (larger image linked)

pionierbuttonteardown_sm.jpg

The board is based around a MXT8208 USB 2.0 Flash Disk Controller (datasheet). The chip consists of a 80c51 microcontroller with hardware USB 2.0 PHY, I2C, a general purpose UART, some dedicated flash management features, and 28 GPIO pins (mostly overlapped with other functions) in a LQFP48 package. This means it SHOULD be susceptible to much better hacks than simply changing the output string; with a little luck it will be convertible into a darling little intermediary device for attaching projects to a computer via USB by serial or PIO. Since there is no flash chip hooked up, the majority of the GPIO pins are free, making it especially suitable for that kind of repurposing. By far the primary use for this chip is making little USB flash drives (and, based on the information around the ‘net, this one is particularly favored in making “fakes” that misreport their capacity, because it is more programmable than many of it’s competitors), but, assuming I am interpreting the chinglish datasheet correctly, the non-memory USB widget use case here is intended as well. Matching the suggestion in the datasheet, the software for the button behavior is (apparently) on a K24C64 64kbit Two-wire EEPROM (Datasheet) mounted on the other side of the board.

The other components aren’t terribly interesting: a pair of SMT push buttons, a 12Mhz crystal, 6 assorted SMT capacitors, 3 assorted SMT resistors, and a 2-lead RGB color phasing LED(unfortunately, 2 leads means it probably can’t have it’s behavior altered beyond on/off).

Software wise, it reports VID=0×2000, PID=0xbeba, which seems to be a made up ID written to the chip in software. There is a UdTools utility offered up by micov (after a little bit of google translate-foo), but it only seems to be able to tweak the flash-specific functions, not perform general reprogramming. This IS promising, as it implies everything should be writable from a host computer, rather than having to pull the EEPROM and program it separately to alter the behavior, but I haven’t figured out how to do so yet.

Any ideas? Usage wise or tools wise?

Posted in DIY, Electronics, General, Objects, OldBlog | 2 Comments

Nabokov Explains Retro

I’ve been working thorugh The Stories of Vladmir Nabokov for a while “in my copious spare time”(which has become something of a catchprhase in my department), and it is expectedly excellent. One particular passage is prominent enough to perscribe posting: in A Guide to Berlin (One of the many “I am such an amazing author that you’re going to love and find meaning in this mundane vignette” style stories in the collection), Nabokov perfectly explains the retro aesthetic:

The horse-drawn tram has vanished, and so will the trolley, and some eccentric Berlin writer in the twenties of the twenty-first century, wishing to portray our time, will go to a museum of technological history and locate a hundred-year-old streetcar, yellow, uncouth, with old-fashioned curved seats, and in a museum of old costumes dig up a black, shiny-buttoned conductor’s uniform. Then he will go home and compile a description of Berlin streets in bygone days. Everything ,every trifle, will be valuable and meaningful: the conductor’s purse, the advertisement over the window, that peculiar jolting motion which our great-grandchildren will perhaps imagine — everything will be ennobled and justified by its age.
I think that here lies the sense of literary creation: to portray ordinary objects as they will be reflected in the kindly mirrors of future times; to find in the objects around us the fragrant tenderness that only posterity will discern and appreciate in the far-off times when every trifle of our plain everyday life will become exquisite and festive in its own right: the times when a man who might put on the most ordinary jacket of today will be dress up for an elegant masquerade.

While on the topic of retro aesthetic, check out Jake Von Slatt’s 2009 Steampunk Gift Guide. David Gingery books and Buffy DVDs, Power Tools and Prissy Bags (although personally I would go for a Torrente if I were to pay too much for a Marcopoloni bag; I just like vertical messengers), truly a man after my own heart.

Posted in Entertainment, General, Literature, OldBlog | Leave a comment

SC09 Schwag Review

schwag_sm.jpg
(Larger image linked)
Now that the end-of semester panic is over, time to get to other important* things. Like sorting out my schwag haul from SC09. The food products were previously removed and consumed and/or disposed of, based on how likely they were to poison me. Some superlatives:
* Best T-Shirt: Silicon Mechanics (this one was close, Cisco has better fabric, Platform Computing has a clever slogan, and Green500.org is a XXXL made of the most garish jersey fabric I’ve ever seen)
* Best Tool-Thing: Juniper Networks screwdriver/light/level thing
– Runner up: CHREC lighted eyeglass screwdriver
– Runner up: Arctic Region Supercomputing Center rechargeable chemical hand warmer
* Best Toy: NCHC Solar Powered Car
* Best Bag: SC09 Conference bag (nice padded laptop affair)
– Runner up: Giant LexisNexis tote (that I should probably put in the microwave to get rid of the tracking devices in…)
* Best Electronic Gadget: ??? (possibly Sure Star computer) powered USB Hub/Cardreader (seriously, this thing is nicer than the one I’ve been using.)
– Runner up: YMI 2GB flash drive
* Most Hackable Schwag: PIONIER button (button with a USB cable; emulates a keyboard and types their URL when pressed. Want to hack and replace the action.)
* Best Lanyard: Cray (this thing is seriously slick, all the other lanyards sucked)
* Best Pun: OpenGear Aluminum bottle opener
* Best Pen – BlueArc blue LED pen(was going to go to FusionIO with it’s light-up gel grip, but it broke the first time I fiddled with it)
* Best LED Object – Instrumental conductivity-sensitive LED “Ice” Cube
– Runner up: NASA flashing LED badge

I wasn’t really actively schwag collecting; these are just what I got making a loose circuit of the show floor.
*This is totally unimportant.

Posted in General, Objects, OldBlog | Leave a comment

Done! (ish)

I just submitted my last project/paper/assignment for the semester, and it feels great. In talking to instructors and fellow students, it sounds like the principle of least-fuckup has asserted itself again, so my grades should be fine even though several of the things turned in in the last few days aren’t as good as I would have liked. Now I just have to attend class tomorrow, and remember to go to my one final next Friday, and all will be well.

Posted in Announcements, General, OldBlog, School | Leave a comment

Panic Time!

Through a couple of poor time management decisions, and the usual end of semester crunch, my last two weeks of this semester are going to be an adventure. I’m pretty sure I can pull through with something resembling grace (ie. alive and with acceptable grades), although it will be unpleasant, and likely only via a principle I’ve never managed to teach myself to have faith in (despite many, many reliable repetitions); that everyone else is going to fuck up at least as badly as I have. Head down, shoulders back, reduced posting until I get through.

Posted in Announcements, General, Navel Gazing, OldBlog, School | Leave a comment

Makers

I recently finished Cory Doctrow’s new novel, Makers, which I really didn’t have time to read, but between geek book club and starting it on the plane to portland I was compelled. Like his last novel, Little Brother (which is YA fiction, but everyone should read anyway), I read it as an eBook on my n810, which is a bit of an odd reading experience, but one that is growing on me (No additional mass/volume per book! Searchable! Ever-Present! Until the damn battery runs out or it breaks!)
It is a pretty fun read, but I must say I liked the first two “lighter” sections better than the third. Some observations:

* Kettlewell seems to be largely borrowed, without the transparently symbolic name, from Willam Gibson’s character Hubertus Bigend

* Suzanne Church strikes me as a sort of composite of the notable female Internet-People, particularly Ana Marie Cox but Xeni Jardin also come to mind. I also wonder if the name isn’t a slight homage to Susan Kare, who is responsible for a starting portion of the art for early iconic computer interface elements (this is a stretch, but only a little). A little googling shows there is also a fairly appropriate real Suzanne Church, which must be a little confusing right now.

* The tech in the story is not embarrassingly wrong; its all plausible and sound except for some fanciful detours near the end. This does not normally happen when engineers read fiction, so good job Cory.

* Cory has clever ideas to try, and the hackers are damn well going to implement them. I suspect many of the things that seem clever in the book (RFID tagging all your crap to make it searchable, for example) won’t actually pan out if implemented, but I’m onboard with other things, especially the mechanical-computers-as-art hobby one of the main characters engages in.

Overall, a fun light read, worth the couple hours it takes to get through. Surprisingly, I think someone who isn’t well-versed in the workings of electronics could read the whole thing without missing much, which is remarkable considering how much fun can be had by those of us who are by working out the minutia of how the nifty plot device gadgets would actually work.

Posted in DIY, Entertainment, General, Literature, OldBlog | Tagged , | Leave a comment

The Missing Modifier Key

My usage patterns of late have lead me to the conclusion that something critical has been omitted with modifier keys. Modifier keys are those keys that alter the meaning of keypresses, things like Shift, Alt, Ctrl, Windows, Apple, Option, Command, Function… (I think that covers most common modern keyboards, there have been others). The omission is that no environment I’m aware of reserves a key for the system; applications are always able to intercept the key-presses and do inconsistent things with them (I’m looking at YOU old fashioned text editors). A key reserved for the system (or, actually, the window manager in most stacks) would be useful in a variety of ways, all derived from implementing truly uniform behaviors system-wide. I’ll call this magical key “Sys” (for System Key, its a surprisingly little-used phrase).
Modifier keys have always contentious (and well-storied) things; see oldschool cokebottle jokes and this story about the early Macintosh (near the bottom, that isn’t the one about the symbol, but it may as well be here too). As such, I’ll provide two motivating examples for the addition (or forceful re-purposing) of a modifier:
* I’ve lately found myself hitting Ctrl+T and starting typing a query, expecting a fresh firefox tab preloaded to a google search box. Unfortunately, this doesn’t work so well something other than firefox has focus. I would like to be able to set Sys+T to “Bring the most recent Firefox window to the foreground (or launch it if there isn’t one), and pass it the command to open a new tab.” This should be easily possible with normal NetWM (or even ICCCM) capable window managers, as far as I understand the specs. There just isn’t a good interface for it (AFIK).

* Switching between Ctrl+C/Ctrl+V and Ctrl+Shift+C/Ctrl+Shift+V for copy/paste when switching between applications that have the luxury of following modern conventions and a terminal emulator is distracting and error prone. “Break” and “Background” are useful and have precedence, so I don’t begrudge the behavior, but the “correct” solution would be to have Sys+C and Sys+V manipulate the clipboard (which is (usually, mostly) managed above the application level anyway) in a context-insensitive way.

I know there are ways to approximate this behavior; many media players allow you to set global shortcuts to control them (which may conflict and are usually flaky); most environments have conventions which are theoretically consistent across applications (which are often disobeyed, particularly by still-useful applications written before the standard was established). This isn’t what I’m talking about. The “system only” nature of the key shouldn’t be optional. The window manager should trap anything between press and release of the sys key, including the presses themselves (press and release are separate signals for most keys on every keyboard design I know of), and handle the event, leaving applications completely unaware.
I’ll probably try to adapt XFCE (which seems to have pretty good facilities for this in place already) to as much of my desired behavior as is easily possible, using the windows key as my Sys, when I next have time for a little project like this (ha…). It may even be possible simply by abusing the keyboard preferences, which would be another victory for good old flexible Linux.

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

Lady GaGa: Transhumanist Icon?

gagaprogression_sm.jpg
Looking at an amazing BoingBoing post comparing a recording of Stefani Germanotta (Lady GaGa before she became Lady GaGa) playing at a NYU talent show in 2005 and the official video for Bad Romance that recently became available really shows the degree to which one can radically, radically alter themselves with the help of modern technology.
Go watch and have your mind blown.
I suggest reading some of the comments as well, some of the thoughts there are interesting.
Basically, the question is how one goes from the stereotypical “Cute little brunette girl and a piano” performance (most people are comparing to Norah Jones, that recording in particular strikes me as more similar to Sara Bareilles, but listening to Red and Blue definitely brings out the Norah Jones sound), to the absolutely over-the-top haute fashion/burlesque/modern art look and electropop sound everyone knows in less than four years. I happen to be in the tiny demographic that enjoys both, which makes it great fun to look at the connections.

In the 2005 video, she has a normal, albeit impressively powerful and well trained, human voice. In the 2009 video her voice is autotuned, layered, sampled, and distorted into things no human could produce directly. In the 2005 video the instrumentation is easily recognizable piano work. In the 2009 video, most of the instrumentation doesn’t even strongly suggest what sort of physical instrument it might be modeled after. Likewise, in the 2005 video, she looks like a cute little Italian girl in a green dress. In the 2009 video, she changes hair colors, hair textures, (apparent) skin tones, and bizarre illusion-inducing makeup jobs, and runs through a collection of costumes that look like they belong in a creepy scifi movie (5th element-esque strappy outfit? – check. Translucent medical gown – check. Flamethrower bra – WTF? – check.). All this stuff is really pretty cool technical accomplishments, from the DSP wizardry that goes into producing pleasing, but entirely unnatural, sounds, to the bizarre chemical manipulations (or just wigs, who knows if she has any hair left after all that) for the hair, to the exotic materials that go into the bizarre outfits (go browse some press pictures, it gets way worse. bubble dress for fuck’s sake), to the careful psychology to make the illusions happen (huge-eye makeup, low sloped ceilings, carefully controlled perspectives, and bunches of little head-trips I’m not even sure how happen). You can call it un-genuine, but this is expressing yourself with the full capabilities afforded by modern technology, irregardless of the fact that it deeply erodes one’s ability to perceive her as human.

Posted in Entertainment, General, Music, OldBlog | Tagged | Leave a comment

Marrakesh Moroccan Restaurant

Marrakesh
Portland has a reputation for good food, and, despite the fact we ate a lot of conference provided food and nasty (but reliably non-poisonous) chain restaurant fare, I got a couple notably good meals in while there. I had nice pho one day for lunch with a friend who now lives in Portland which was good, but not worthy of transcontinental lust. Dinner on the last day however, is fully worthy. On the recommendation of one of my advisor’s former students who lives in the area, we went to Marrakesh. Marrakesh has great ambiance, with low tables and cushions, low lights, rugs, no utensils, and belly dancers roaming the floor. They also have the best Moroccan food I’ve ever had, and I’m quite found of food from the former Persian empire. 5 courses (Lentil Soup, salads, B’stilla, an entrée, and dessert with Moroccan tea)for under $20 a head. Just spectacular, and perfect for putting us all in a comfortable coma for the less than comfortable (full flight + frontal weather = suck) red-eye back across the country. Highly recommended for anyone who gets the chance.

Posted in FoodBlogging, General, OldBlog | Tagged | Leave a comment

SC09 Retrospective

I failed to blog interesting things from SC09 in real time, so here’s a dump of the things that should have gone up in pieces from the show floor. Some of these are just quick shout-outs for particularly good or bad exhibits, some actually have thinking behind them:

*The dominant message from supercomputing this year is “Everyone wants GPUs. No one knows why.” Even the ISVs are pretty honest about this phenomena, but the feeling seems to be that at around 10% of node cost (according to two different vendors), organizations who are buying really big pieces of hardware feel like the expenditure is a worthy experiment even if they are nigh impossible to utilize now.

* The Hank v. Nvidia rep “discussion” (which is apparently becoming an annual phenomenon) was good enough to draw a small audience.
4123038291_3f58b0bffd.jpg
This year’s opener was an attempt to get the MOG stuff published on a new nvidia-sponsored content aggregator (like gpgpu.org, but without the neutral perspective), so they can claim to be involved if/when it takes off, even though they have been entirely unhelpful with the research. As you may imagine, this didn’t go over well. On the upshot, they DO seem much more willing to admit their programming model is crap, and seem to be sniffing around for alternatives (which included shooting job offers for toolchain developers into our booth).

* The award for shittiest booth goes to the Windows HPC Consortium.
4123803340_5c3e73e253.jpg
Microsoft themselves had the largest booth on the show floor, replete with blue carpet, vacuous cloud-motif hangings, a flight simulator, booth babes (and dudes) dressed up in pilot outfits, aviator shade schwag, and almost no technical content. Their users got a booth that looks like it was assembled by a deficient kindergarten teacher with a budget that wouldn’t cover lunch. Way to show contempt for your users, Microsoft.

* Green Revolution Cooling have an idea which is either brilliant, or absolutely moronic. They have extended and refined the old tweaker trick of sticking a whole system into a vat of mineral oil up to whole NEMA racks. The current arrangement has all the visual appeal of an industrial size deep fryer, with which it probably shares a lot of lineage:
4123806150_514c247a23.jpg
Come on guys, some LEDs and translucent plastic to hide the ugly would go a long, long way. IF they can get around the issues of mess (even with low vapor pressure, between evaporation and splashes the oil will get EVERYWHERE), capillary wicking (a perennial favorite in DIY liquid immersion cooling solutions), service issues (most vendors won’t be real happy about an RMA box dripping with mineral oil, and getting it off will involve a hell of a lot of solvents to have in a computer), the benefits should be great. Quieter, lower power cooling (no fans or blowers), no condensation concerns, easy to reclaim heat, and the opportunity for denser, cooler systems (thanks to the vastly higher heat capacity of oil). There is actually a little bit of consideration about trying a small installation in the new Marksbury Building, since it will fit nicely with the blustery green BS surrounding the building (and hopefully attract vendor testing hardware.)

* The Cray CX1 and SGI Octane III are both adorable little desk-side supers. At a base price near $10k for each, they better kiss your toes while they’re down there though. The Cray is definitely cuter in person, the SGI box just looks like a miniature NEMA rack. There were plenty of examples of each tucked around the show floor…which is probably the only place on earth that can claim that.

* FPGAs are still floating around in the margins. Pico Computing (one of our neighbors on the exhibit floor) is making some some really attractive little FPGA boards, at surprisingly reasonable prices (entry cost ~$400). Most of the FPGA vendors on the floor were at least one and usually two orders of magnitude higher. Digilent (who made both the little Spartan 3 board I have, and the Vertex2 board being used to prototype LARs ) used to be pretty much the only show in town at the entry level. Digilent still seems cheaper per gate, but Pico’s form factors and interfaces look better for computing applications (and are just plain cuter). Some of the other FPGA products on the floor were just monstrous(That thing probably costs more than my entire college education). I’m a little dubious about FPGA-based accelerators (Convey, has the only convincing boards that actually do computation I am aware of; some other vendors have FPGAs doing useful work in the network mesh), but they sure are cool prototyping platforms. As a side note, one of the handful of good technical conversations I had was with a compilers guy from Convey.

I threw up some of my pictures from the trip in a flickr stream for those who are interested.

Posted in Computers, General, OldBlog | Tagged , | 1 Comment