News aggregator
Weird mood
I don't know what's up. It feels like a good portion of my brain is currently not available for my conscious use. It started yesterday. I would like to know what those bits of my brain that aren't around for me to use are doing. I suppose I shall find out eventually. :-)
Fast Extensions
Old TV spot with a modern relevant message
This TV documentary type spot from 1987 is a really excellent review of various aspects of how our government has come to function. It has a lot of things that are very relevant today, and it's really interesting to see the evolution of our government over the past 20 years, and it's also interesting to see some current politicians (like John Kerry) saying interesting things 20 years ago.
I must say that 20 years ago, I remember it being on. I did not fully appreciate it then. I was 16 at the time this was aired, and had been raised Republican. I had a strong selection bias going then, a bias I am now missing.
On an even more personal note, one of the people in my life who I greatly appreciate is svairini. I feel that she frequently disagrees with my opinions, especially some of my more libertarian inspired ones. But, she never overtly expresses that disagreement unless she gives me a real, worthwhile and thoughtful question to consider.
When talking to others, I try hard to emulate this. People, no matter what their opinions, are people, not sheep or fundies, or Ayn Randians or whatever other pejorative you might choose to label them with today. Making them the 'other' is never helpful.
The willingness of Obama to get up and make a speech in which he avoids this labeling, even for people who clearly hold racist opinions, formed a significant basis for my respect for him as a leader.
The effects of authority gone wrong
merchanta recently came back from Canada and has interesting (though not public) reports of just how bad the border crossing actually is. She references two interesting stories:
- Citizens' U.S. Border Crossings Tracked - basically the US government is tracking anything and everything it can about every single person crossing the border, US citizen or not, and freely sharing that data with random entities even for such purposes as mundane as that entity making a hiring decision.
- Ill and in Pain, Detainee Dies in U.S. Hands - Because of a combination of bad legal advice and a stupid bureaucratic foulup, a 34 yr old Chinese immigrant, a US citizen by marriage is detained for several months, denied medical treatment for various serious complaints and eventually dies of cancer and a fractured spine.
- And then merchanta talks about a critical massive bicyclist who is assaulted by a police officer who then lies about it. A video of the event accompanies her post.
Totally broken. Authority out of control. Will you do something about it? Do you have any ideas for what can be done?
Dot-Matrix Teletype Simulator Update and Request for Teletype Info
So, now on to the next best thing: a teletype simulator. Enter the two free dot-matrix printers that found their way to my office earlier this week. One of them even works. I bicycled to the awesome local office supplies store (about 11 miles away) to buy a ribbon for it. This is the place that's been there since the 1890s. They still stock dot matrix ribbons, typewriter ribbons, and even fanfold paper.
On the project. Linux has its heritage in Unix, which was used with these devices. It can be made to work with them even now. But there's a trick: teletypes used a bidirectional serial link. Dot matrix printers have no keyboard. So we have to take input from a different device than we send output to.
A simple trick will do for that:
TERM=escpterm telnet localhost > /dev/lp0
Now, here's the next problem. Dot-matrix printers have a line buffer. They don't start printing the line at all until they see CR or LF. Makes it annoying for interactive use. So I wrote a quick tool to insert into that pipeline. After a certain timeout after the input stops, it will force the printer to flush its buffer. Took a little while to figure out how to do that, too; turns out there's a command ESC J that takes an increment for vertical spacing in 1/216 inch, and accepts 0. So I can send \x1BJ\x00 to flush the buffer. I can run it like this:
TERM=escpterm telnet localhost | escpbuf > /dev/lp0
That leaves another problem, though: the printhead is right over the text. (Even though it moves to the right of the printing position, and then moves back left for the next character to print.) I modified the program to roll the paper out a bit, and then reverse feed it to continue printing the line. But that is slow and, I suspect, tough on the stepper motor.
Also, I have crafted a terminfo file for the Epson-compatible dot-matrix printers (which are almost all of them), which can also be found at the above link.
So here's the question, for anyone that has used a real teletype:
Did the printhead obscure the text there too, or could you see the entire current line at all times?
Another small milestone in PersonalJournal project
Now my PersonalJournal project allows people to register. It automatically brings them to a registration page if they log in with an unknown OpenID. It also uses the OpenID SReg (Simple Registration) extension to try to fetch registration information for a new OpenID to auto-fill in many of the form fields when registering them.
I think I'm going to work on a simple posting interface now. I'm going to allow a given PersonalJournal instance to host posts by multiple users, but I'm going to require that they be given permission to post by a site administrator.
One interesting case is mentioning someone in a post using their OpenID when the OpenID's owner hasn't registered at the site yet. I think I will give that OpenID a stub registration that the owner can change if the OpenID owner registers with that OpenID.
Another interesting case is when a posting user believes that several different OpenIDs refer to the same owner. That's tricky. Right now I allow several different OpenIDs to be tied to the same 'user'. And then all access control is on the basis of 'user', ot OpenID.
I think that what I will do is only allow the owner of an OpenID to tie that OpenID to any others. And the user can 'take over' an OpenID from a different user if they can prove they are the id's owner. This will only work if the OpenID being taken over is associate with a 'user' that has one and only one OpenID associated with it. Then the user will be deleted and all other references to the taken over user will be changed to refer to the taking over user.
It is tempting to only allow automatically created user's who have never registered and turned into 'real' users to be taken over, but someone might log in and register using one of their alternate OpenIDs once without realizing what they're doing and then need to suck that OpenID into the main user they are reigistered under. It would be nice to be able to do that without admin intervention.
Improving a Puzzle Ring Design
____________ ___ _________ ______
\ / \ / \ /
\ / /
___ ___ / \ / \ ___ / \ ___
\ / \ / \ / \ / \ / \ /
\ \ / / \ \
___/ \ / \___/ \ / \ / \___/ \___
\ / \ / \ /
/ / \
______/ \_________/ \___/ \____________At first glance this design appears to have some unnecessary crossings, but refactoring those out makes the braid pattern so tight that it can't be taken apart. This design is a simple tweak of the simplest puzzle ring of this kind to make it actually work as a puzzle. I'm quite fond of it.
Weirdness level meme
This thing has atrocious HTML. It's not hard to write well formed XML, and if you're righting a program that produces it you should have a clear idea how to do it. I don't understand why all these quiz and LJ-meme sites, especially more intelligent ones like this one, have such badly formed XML/HTML.
So, omnifarious, your LiveJournal reveals...
You are... 1% unique and 18% herdlike (partly because you, like everyone else, enjoy women). When it comes to friends you are a total whore. In terms of the way you relate to people, you are keen to please. Your writing style (based on a recent public entry) is conventional.
Your overall weirdness is: 31
(The average level of weirdness is: 27.
You are weirder than 70% of other LJers.)
Find out what your weirdness level is!
Small milestone in PersonalJournal project
I managed to put together a TurboGears application that allows logging in via OpenID. Well, OK, not completely, but the hard part of setting up the two step process of verifying an OpenID someone enters is done.
This was one of the small hurdles to putting together my PersonalJournal project.
Some parts of this like the oid_store and a few other components should be split out into a general package so other people can make TurboGears programs that support OpenID as a client. I would like to know how to make TurboGears extensions that can be used when you're starting a TurboGears application to add new model classes, like the identity extension. OpenID needs some model classes for the OpenID store.
I also stuck in a framework for putting mini-sessions around certain tasks within a session. This is so that my site will be resistant to cross-site scripting attacks based on POSTing to a random URL. I intend to make most POST URLs include a sub-session identifier as part of the URL or a required part of the data posted.
I also added secret data to the session object in the database. This is because I needed to have an HMAC key. I wanted to hand the client some data and wanted to make sure that when it handed it back to me that it was exactly the data I gave it. So the data includes an HMAC of itself using the secret as a key. I imagine this secret data will be more widely useful in other parts of the system.
A better name than 'PersonalJournal' might be in order. The WSJ appears to have used this in the past (or possibly even currently) for some feature of theirs. I'm actually OK with colliding with that though.
From Dell, a Uniquely Terrible Experience
I have, for over a year now, been on a crusade trying to get them to stop sending me their Dell Home and Home Office catalog to my mailbox. It has been a bundle of fun, let me tell you.
They have a nice-sounding privacy policy. It says you can opt out of all their mailings by filling out a form online. Yeah, good luck with that. First of all, there are different forms for different departments at Dell. I've filled out them all, multiple times. They do nothing whatsoever. Perhaps they use them as lists of known-good addresses to send new advertisements to, rather than lists of people to remove. Oh well.
Now, unfortunately I feel compelled to bore you with the saga so far, involving telephone hang-ups, broken privacy policies, and the like. But there is a silver lining at the end, in which I submitted a request to the postal service asking them to block Dell from sending me any more mail, and it appears that they are very likely to violate Federal Law any day now.
I have called them about it. Dealt with the old "let me transfer you to the correct department" then hang up on me ploy. Spoken to people that have promised up and down that I'll be off their list in 30-60 days. It's always 30-60 days, isn't it? Very convenient that I can't tell for 2 months whether or not they've processed my request.
I've tried their online chat. One of my attempts went like this:
Session Started with Agent (Sneha Ranga)
Agent (Sneha Ranga): "Due to circumstances that have affected Dell Communications I am temporarily unable to pull up any information. The down time is temporary. We apologize for the inconvenience, as we value your time as a customer. Please contact us back after an hour."
Session Ended
Ah Dell, only you could reach such a pinnacle of customer service. /kicking someone out of a chat room before they have a chance to say a word.
Finally, last fall, I blogged about the situation (that's the link above). Debbie from Dell red the post and emailed me. Great, I thought. She asked for my address information and catalog information and sent me a removal confirmation:
From: Debbie@Dell.com
Date: Thu, 18 Oct 2007 13:08:18 -0500
To: jgoerzen@complete.org
Subject: RE: Dell mailing list
Thank you, Mr. Goerzen, your request to have the below address
information removed from our marketing lists has been received:
[ my address here ]
We will process your request promptly. However, it may take several
weeks for some changes to take effect. If you are still receiving
catalogs after thirty (30) days feel free to email me. Sorry for any
inconvenience you may have experienced.
Thank you,
Debbie
So that was October. In December, I replied to that message, saying: "I received another mailing today, and it's been nearly 2 months since your initial message. If there's anything further you can do, I'd appreciate it." Debbie said, "I am very sorry Mr. Goerzen, I will resubmit your request." Guess how successful that was.
So in February, I manage to figure out a way to send in a support ticket without having a Dell system serial number. I wrote:
I keep getting your Dell Home and Home Office catalog. I have tried for months to get off your mailing list. I have called in, talked to people in multiple departments, who have promised to remove me from the list. I have contacted you online. NOTHING IS HELPING. This has gone on for MONTHS.
PLEASE NEVER SEND ME MAIL AGAIN, EVER, AND DO NOT RENT OR SHARE MY NAME.
My address is above.
The code on the mailing I received is: [ snipped ]
The form letter I got back said:
If you are currently receiving our catalog or mailings and would like to be removed, please visit the following web page and select the appropriate link under the "Opt-out of direct mail, phone or fax communications" heading: http://www.dell.com/OptOut
I replied, saying that form didn't work. Guess what I got back?
Thank you for signing up for Dell Email Subscriptions. Please save this email for your records.
Yes, that's right. Asking them to take me off their postal mailing lists got them to PUT ME ON their email lists. ARGH.
So they eventually manage to correctly take me off the email list, and of course promise to do the same with the postal list. This back in February.
I contacted them again in March and July, only to have a similar stupidity-laced run-in with clueless form-answer-laden Dell support reps. Each one claimed to have now, finally, and permanently removed me from the list. It never happened, and none of them lifted a finger to find out way, and no amount of begging could make them.
So, here's the good part.
Junkbusters has spent years educating people on how to get rid of unwanted mail, and documents getting a prohibitory order against the sender. It was originally designed for people that didn't want to receive obscene advertising mailings, but thanks to the happy fact that one non-adult-mailer challenged a prohibitory order all the way to the Supreme Court, you can now get prohibitory order against anyone. Yes, even Dell. (The supreme court's ruling even gave an example: you can prohibit a clothing catalog if you want.)
And last month, that's exactly what I did. The USPS sent me back a copy of the letter they sent to Dell, as well as a second page with instructions on reporting violations. Here's the letter they sent to Dell:
Somehow I get a chuckle over some Dell mail clerk trying to figure out how an 11-pound laptop is sexually provocative.
From August 25 on, it is a federal offense for Dell to send me another Home and Home Office catalog. This is a branch of criminal law, not civil law. That is, it's the maybe-go-to-jail branch of law.
How disappointed I was to receive yet another catalog from them today. If only they had waited 5 more days, I could have turned them in now.
Oh well. There's always next month's catalog. Let's just hope the clerk that received the USPS letter removed my name with a better system than everyone else at Dell uses, eh?
Bizarre failure mode for my Mac
Today my Mac exhibited a very strange failure mode. It refused to talk on it's Ethernet port and almost completely refused to listen. It was the strangest thing. After I rebooted, it went away. And the wireless connection worked just fine.
This mattered because at home I set things up so almost no networking works except over an encrypted ssh tunnel when I'm wireless. So I generally prefer to be connected with a wire if I can.
Concept Distro
More on curse words
The irony is that the name of the group was originally an acronym, and it stood for Association of Retarded Children, because back then retarded was considered an extremely politically correct term for the mentally inferior.
People really need to grow up.
I Want Something eBay Doesn't Have
Now, at this point, I am compelled to take a small diversion and explain just what a teletype is -- for those of you, like me, who are too young to remember them. (I will graciously omit comment on those of you too old to remember them!) Teletypes have been around since about the 1930s or so, but the ones I have in mind are the ones that were used to interact with computers in the 1960s and 1970s. Instead of a keyboard and monitor, you'd have a keyboard and printer. Believe it or not, surplus teletypes were the interface of choice for teletypes even in the later years because they were so much cheaper than video terminals.
So anyhow, back to the plot. Teletypes operated at speeds ranging from about 40bps to 110bps, but it seems that the most common protocol was Baudot-coded 50cps 5N2 serial format -- that is, 5 data bits, 2 stop bits. Amazingly, the serial UART in modern PCs is still capable of communicating with these devices (though it may take some circuitry to tweak the voltages), and at least one person has made it work with Linux.
So I zip on over to eBay to look for teletypes. What do I find? NOT A ONE! A few manuals, and apparently there is a GPS named the teletype. And some company that has something they think *might* be compatible with a teletype, but they don't know.
eBay has sorely let me down. An antique geeky item should be right up their alley, and zilch. They can sell everything from cars to advertisements on some guy's bald head, but not a teletype? C'mon!
So anyhow, I am afraid I will have to improvise. Perhaps I can find a dot-matrix printer with a serial port (or, I guess, a parallel port would do too) and an unbuffered printing mode. Then the trick would be getting keyboard input. Perhaps I could rig up a pty to do this, input from /dev/console, output to /dev/ttyS0. It would still be old, but not quite the real deal.
So if any of you have a working teletype you'd like to get rid of, do please let me know. I'll send you a photo of the printout of me getting lost in Colossal Cave.
Oh, and for those keeping track at home, I guess you can add this to the list of old technologies I'm interested in: Gopher, typewriters, teletypes... they're all alike, right?
Voting machine security - Exactly!!!
This xkcd cartoon has the perfect analogy!
Asus violating GPL again?
Recently I bought an Eee 901. Asus has modified the kernel's ACPI driver. They released the source code to that on an 8G surf model, but the 901 has additional hardware features in the ACPI space (bluetooth radio power toggle, for instance) that are not in the source they released back then. There are no sources released at all under the 901 section of their website.
Anyone know whom to contact at Asus about this?
Nintendo's next portable should be around soon
The Nintendo DS came out in 2004; the GBA, in 2001; the GBC, in 98. See a pattern? The next Nintendo portable should be around any time. My guess is, it probably was already designed by late last year, and they aborted the whole process, to incorporate what they learned from the Wii, and hopefully the iPhone.
Here is what I predict it will look like, in no particular order — I'm privately calling it the “Nintendo DT”.
- Two screens, like the DS, but both multi-touch, either 512x320 (more likely — that's “computer widescreen”, 16x10) or 512x288 (“true” widescreen, 16x9, might be chosen in order to make the device just that little bit narrower).
- No physical buttons, except for power, and possibly L/R. All controls are via touchscreen (and accelerometers). Or maybe it's too early for that, since haptic tactition emulation isn't usable yet; in that case it may keep controls similar to the DS Lite, making the bottom screen smaller (4x3 — 384x288). Possibly an analog nub. Two, if they really really feel like one-upping Sony.
- Video codecs and player built-in so you can watch your movies on the go (a must with the widescreen).
- Camera either built-in or sold as an add-on.
- Probably no stylus at all.
- Definitely no GBA compatibility. (But the homebrew scene will have an emulator — VBA probably — up in weeks.)
- Better Wi-Fi; at least 802.11n. And Bluetooth.
- Browser built-in.
- More built-in storage, maybe an SSD or even HD (hope not); WiiWare is making a lot of money, and for watching movies you'll need space too. Maybe an SD or MicroSD slot?
- Maybe music player software built-in as well. (Can anyone say MarioPod? Or is it PokéPod?)
- I wouldn't be too surprised if it uses Cortex CPUs.
- “Slave mode” where it basically becomes a souped-up controller (with extra display area) for the Wii. Hacked in two or three months to become a “slave” to a Linux machine; practical application for the hack doesn't arrive for a long time, if ever.
Oh, and I'll probably buy one, install some Free Software, and use it as my “netbook”. Sounds great for media and writing on the go ;-) Unless, of course, the Pandora arrives first...
Upsetting conversation
I became really angry over some things ladyt37 said today. She criticized my friends in a way that was sort of fair, but also not, and rather exceedingly rude in my opinion. I have my theories about what's going on here, but those aren't for public consumption. Aside from that, I would like to talk about what she said.
Her specific criticism was that my friends complain bitterly about our society being a classist one while enjoying the benefits of such and/or not doing anything about it but complain. She then named a few specific exceptions among people I know.
I pick my friends very carefully. One of my biggest criteria, often not so consciously applied, is that my friends are a net positive to the world around them. I do feel that money is in general a mediocre to poor measure of this. But I pick friends who do not at base treat life as a negative or zero sum game.
I am frequently frustrated by the specific complaint ladyt37 voiced. I deal with it by trying to always be willing to talk about things and convince people and trying to show people actions they can take, like insisting on using Open Source software. Though, on a bit of reflection, I believe that ladyt37 also has a mistaken perception colored by her personal background.
A lot of her friends are from the world of high finance. I tend to not have a lot of respect for these people as a whole. I feel that they tend to either be 0-sum people, or people who create a net benefit for themselves and either a net negative or break even for everybody else.
Most importantly, I feel they are wedded to a system that is flawed (as any system is) and currently creates unjustifiable concentrations of wealth and political power. They are so wedded that they see everything through the filter of that system and can't step outside it to see that it's just today's agreement for a game we've all agreed to play and instead see it as somehow being so fundamental that it represents the true nature of reality.
At their most myopic, these people can begin to believe that all ways of measuring value can be reduced to the symbols in the system they know how to manipulate so well.
But that doesn't mean that I don't think there's some fundamental truth wandering around in there somewhere. I like pointing people at Linked: The New Science of Networks because it shows a glimpse of this fundamental truth. And it says that there will always be concentrations of both economic and political power, no matter what system is in place.
I've refined my idea of what a good system is based on that book. And in my mind, steep power law curves are worse than shallow ones as they imply that things are much more concentrated at the top and there's much more of a monopoly situation. Secondly, systems in which nodes with little power can become nodes with a lot of power relatively quickly and painlessly when they demonstrate a greater ability to generate value are also very important.
I think what we have in the US (and what much of the rest of the world has because of our dominance) has been slowly degenerating in both of these respects. But I don't really think the people deeply involved in the current economic system can really see that, or if they can, can't see how it might be changed since they see the current economic system as somehow inviolate and unchangeable.
In that sense, they are no better than the friends I have who complain and don't do anything to try to change things. In fact, I think that publicly complaining about a problem is often an important component of fixing it, so I feel that recognizing and saying something about the problem is better than not.
