Last updated: Friday, 1 August 2008 11:49 -0400
Printer-friendly version Printer-friendly version
Newest entries at the top.

Don't use these for linking! Use the '#', day, or calendar links instead.

Friday, 1 August 2008

[Permalink] You WILL update this
'Nuff said.

Categories: Cube Life Peeves

Can't render embedded SVG object

When my company laptop is connected to the company network, the latter continually examines the former for various things. (Like whether Bittorrent is installed.) And, if there's a dictum out that Something Should Be Installed, it gets, well, installed.

One consequence is that it seems barely a day goes by without a little window popping up in the corner saying that something is being automatically installed. Unfortunately, sometimes those auto-installations end with an auto-reboot, catching the user — me — by surprise. Usually, though, the window just pops up, the disk gets flogged for a while, and things quiet down.

Another consequence is the amount of crap that happens without my knowledge or permission. For example, looking at 'Add/Remove Programmes' I see no fewer than 105 updates and hotfixes applied by this behind-the-scenes process. Or perhaps that should be behind-the-seens. Big Brother is not only watching, he's munging your software.

Better Living Through Involuntary Updates, I guess.

Technorati tags: Windows  BigCo  Big+Brother 


Wednesday, 30 July 2008

[Permalink] When I grow up..
The never-ending question

Categories: Conferences Open Software Personal Technology Travel

People keep asking me, "Well, what do you want to do?" And every time I have to rethink it, even though the answer is pretty much the same every time:

So, somewhat like Diogenes with his celebrated search for an honest man, I'm always looking for a job that will support my hacking, my conference activities, my OSI work, and the rest. (For example, for years I've only been able to attend conferences if I was a speaker, and then only if the conference was paying my way. I haven't been to a conference in order to just learn stuff for donkey's years. Never been to a YAPC, for instance. It'd be nice to occasionally be able to go as an attendee.) In return I'm happy to provide education, consulting, good press abroad, and connexions to people and places within the open communities.

Unfortunately, I've found that quite a few companies have concluded that they understand all about this open-software thing, and can write their findings into their policies and procedures and put 'em on the shelf. Also unfortunately — for them, that is — it's a moving target. What's happening in open software now is different from what was happening a decade ago. And a decade from now it'll be even more different. Remember, it evolves in Internet time, and large corporate structures sometimes have trouble advancing their CPU speed past 'dinosaur.'

I want to keep up. More, I want to keep 'way up, instead of lagging behind. And still more, I want someone to employ me to keep up.

So now you know. Too much to hope for, d'you think?

Warning: Contents under pressure. Manufacturer reserves the right to change any aspect of the product without notice. Your mileage may vary. For external use only. Offer subject to local laws and regulations. Professional hacker on open course. With a soft 'c'. Do not attempt at home, only at a neighbour's house.

Technorati tags: career  free+software  open+source  open+software  hacking  teaching  conferences 


Saturday, 26 July 2008

[Permalink] Idle hack closer to Web display of APLish text
Hacking sideways. Sort of.

Categories: Hacking Web WebLogging

I previously bemoaned the difficulty of presenting APL code online. The other night, overdosed on caffeine (thank you, SourceForge!), I started whacking at it using XSLT and the macro functionality I built into my blog software.

The result is that I can represent the funky APL characters using custom XML tags I defined, and the blog software uses XSLT to transform it into the appropriate character entities.

So, for example, the following should show up properly — at least funky character-wise — but may not render properly on your screen if you're reading this through something that strips out the CSS style attributes.



      ▽z←polyangle arg;rt;n;av;⎕io
[1]   ⎕io←1   ⍝ set index origin to a known value
[2]   n←1↑arg
[3]   rt←1↑1↓arg
[4]   av←rt+(○2÷n)ׯ1+⍳n
[5]   z←av-○2×~(○2)av
      ▽

      ▽z←rect
[1]   z←3 4⍴⍳12
      ▽

The actual markup for this looks like:

      <apl:del/>z<apl:gets/>polyangle arg;rt;n;av;<apl:quad/>io
[1]   <apl:quad/>io<apl:gets/>1   <apl:upshoe-jot/> set index origin to a known value
[2]   n<apl:gets/>1<apl:uparrow/>arg
[3]   rt<apl:gets/>1<apl:up/>1<apl:down/>arg
[4]   av<apl:gets/>rt+(<apl:circle/>2<apl:divided-by/>n)<apl:times/><apl:macron/>1+<apl:iota/>n
[5]   z<apl:gets/>av-<apl:circle/>2<apl:times/>~(<apl:circle/>2)<apl:gt/>av
      <apl:del/>

      <apl:del/>z<apl:gets/>rect
[1]   z<apl:gets/>3 4<apl:rho/><apl:iota/>12
      <apl:del/>

Ugly, perhaps, but less so than the original rendering I did.

Enough fun, back to serious shit..

Technorati tags: APL  XSLT  Unicode 


Thursday, 24 July 2008

[Permalink] Silence and eternal vigilance
Or at least eternal wakefulness

Categories: Linux Technology

No, this post isn't any philosophiosociopolitical rant; it's what it says it is: about my laptop which won't beep and won't go to sleep, either. One better than a baby, I hear. :-)

I've tracked down the disabling of the plugged/unplugged power feeper to something in the startup of udev. Unfortunately, twiddling the obvious entries — commenting out the pcspkr and alsa bits singly and together — has made no difference. It must be something less obvious.

And while pm-suspend has never worked for me, at least pm-hibernate did — until some recent update which caused the latter to fail in the same manner as the former. Namely, it goes mostly to sleep, and the little crescent moon lights up momentarily.. and then the bugger goes straight into the wakeup sequence. Crap.

So I'm having to actually shut down when I'm carrying the thing around, or else have it running continuously with the concomitant use of the battery and danger to the disk. At least it boots quickly..

And, by the way, I seriously dislike the lexical scoping of ECMAscript. I'll probably become accustomed to it at some point, but for now it's just a not-insignificant pain in my not-inconsiderable arse.

Technorati tags: Linux  Fedora  FC8  sound  power  ECMAscript  Javascript 


Wednesday, 23 July 2008

[Permalink] I'm starting to remember why I don't like Westn hotels
They're unfriendly, for one

Categories: Peeves Travel

I'm staying at the Westin hotel in Portland, Oregon for OSCON this year. When I made the reservation something tickled the back of my mind about the chain, but I couldn't remember what it was. Now that I'm here, I'm starting to remember..

Right now the thing that's popping my corn is how they handle network access. There's free wifi in the lounge area, allegedly, but the rooms only have hardline access. Which is not free; it's US$12.95 per 24 hours. And it needs to be renewed every day. And it's charged per IPA assigned. Since I habitually use two laptops, that means they want to (and did, the first night) charge me US$25.90 just to get online from my room for a day.

In this day and age, there are so many aspects of that which are patently ridiculous. For instance:

  1. Charging for network access? Wake up, Starwood! Many of your competitors have realised that this is a commodity, not a luxury, and free — or at least cheap — net access is a selling point.
  2. Having to renew every day? Admittedly I've only been to a few hotels that had a 'for the duration of your stay' option, but, by methyl cellulose, more should!
  3. Charging per IPA? Come on! I'm one guest, you're already making me pay for access.. give me all the access I need!

On the [scant] positive side, they don't futz around with filtering SSH or SSL or SMTP, which is a welcome rarity.

But that's not enough for me to want to ever stay at a Westin again. And Chris DiBona tells me most of the Starwood hotels are the same..

Technorati tags: Westin  hotel  travel  wifi 


Sunday, 13 July 2008

[Permalink] Radius turning tools
Which to make?

Categories: Gadgets Personal

I've got making a radius cutter on my fun things to do list, but I'm not sure what style to make. So far I've found three basic styles:

StyleProsCons
  • Can mount in tool post
  • Tool not well supported; chatter potential
  • Precise radius setting awkward
  • Moderately complicated to make
  • Can't cut concave curves
  • Tool well-supported; low chatter potential
  • Simple design; relatively easy to make
  • Can cut concave curves (by advancing tool past centre of rotation)
  • Precise radius setting awkward
  • Can't use tool post; requires removing compound slide
  • Can mount in tool post
  • Precise radius adjustment
  • Can cut concave curves (by adjusting tool height)
  • Tool not well supported; chatter potential
  • Quite complex to make

I like the sturdiness of the slide-mounted style, but I really don't like the idea of having to dismount and remount the compound slide just to use this tool.

Since I've never seen any of these in use, I'm not sure how the tool is advanced to close in on the final radius. It looks as though either the finishing cuts are made by setting the radius and advancing the cross slide, or else the cross slide is stationary and tool is nudged forward to reduce the radius. The Y-axis style clearly advances the tool and the slide is stationary. But it looks as though it's intended only for quite small radii.

One possibility would be to come up with my own design, maybe combining the Z-axis circular rotor with the boring bar-style precision tool advance. But that's back to having to remove the compound slide again. Combining the C-style with the precision advance keeps the compound slide, but introduces the potential for chatter and loses the ability to cut concave curves. And the Y-axis method puts the cutting edge at the top of the work and facing away from the operator. Sigh.

There's too much I don't know and too many assumptions. More research needed..

Technorati tags: mini-lathe  radius+cutter  radius+turning+tool   


[Permalink] The sound of silence
Unintentional and undesired

Categories: Hacking Hardware Linux Open Software Peeves Technology

Can't render embedded SVG object

Ever since I installed Fedora 8.0 on my latest Thinkpad, I've had trouble with the sound. I kept getting messages about something called PULSEAUDIO, of which I'd never heard before, and things that tried to play sounds (e.g., aplay, mplayer, xplaycd) would get errors (and silence) unless I took measures to work around it (where possible), like by telling them 'talk directly to the device.'

One of the problems, which has been particularly irksome, is that the Thinkpad no longer feeps when it's plugged in or unplugged. Which is particularly annoying when I come to use it in the morning and it's completely dead. This has happened a couple of times in the last fortnight, so it's become more than a minor inconvenience.

I got the PulseAudio problem fixed by starting it in the system xinitrc. (Curious that it isn't already there, and that the condition OOB is to have broken sound..) The power feep is still not happening, though. I've verified that it's working; I've made the appropriate changes to the BIOS, and popped the plug in and out during the bootstrap sequence, and it works fine right up to somewhere around the time the console says 'setting hostname.' So it's definitely something in Linux that's doing it, and not the hardware, and not X.

However, I can't find any mention online of anyone else having this problem. I guess I need to walk through the startup sequence and find out what the hell is going on — and then make it stop.

Technorati tags: Linux  Fedora  Thinkpad  unplugged  beep 


Thursday, 10 July 2008

[Permalink] Largely a lost medical day
Some good, some bad

Categories: Personal

What a messy day. It started off with a chiropractic appointment, which went well. Then I had to go pick up a prescription from one of my doctors (he can't call it in to the pharmacy because it's a C2 controlled substance), and then take it to the pharmacy to be filled. That was going to take a while, so I went home and did some work, then went back to pick up the Ρχ.

Except.. the medication wasn't what I thought it was going to be, based on my last discussion with the sawbones. I made a call to him to get it sorted out, but he was at lunch. When he returned my call he explained and we made a fix, then I had to go to his office again to pick up the new prescription, then to the pharmacy again to a) fill the new Ρχ and b) try to get a refund on the earlier one. (Which I was able to do, but they weren't happy about it — they have to destroy the pills, which means they get to eat nearly a thousand dollars.)

A goodly amount of driving, and a lot of waiting around. And nowhere near as much Java done as I hoped. But at least I've got my drugs!

Technorati tags: Rx  prescriptions  pharmacy  chiropractic 


[Permalink] Free (beer, not speech) drafting tool
Rockin'!

Categories: Gadgets Software Technology

I've been wanting a drafting application for a long time, but have been too cheap to buy one. Someone on one of the machining groups I've begun frequenting posted a pointer to Solid Edge 2D by Siemens. I wasn't able to install it, though, because it requires Windoze XP and I didn't have anything running that.

I've got a system running WXP now, though, and I installed the package. News flash: It totally ROCKS! I haven't used a CAD tool in donkey's years, but on my first evening using it I was able to draft up plans for three different parts I've had in the back of my mind. Sweet!

Technorati tags: Solid+Edge+2D  Siemens  drafting  CAD 


Tuesday, 8 July 2008

[Permalink] Randomness
Unrelated bits of cruft

Categories: Humour Raleigh Restaurants WebLogging

Technorati tags: mini-lathe  onion  XSLT  JAXP  acrylic  cornstarch  green 




| | | | | | | 1 | | 2 | 3 | 4 | 5 | 6 | 7 | 8 | | 9 | 10 | 11 | 12 | 13 | 14 | 15 | | 16 | 17 | 18 | 19 | 20 | 21 | 22 | | 23 | 24 | 25 | 26 | 27 | 28 | 29 | | 30 | 31 | | | | | |