Category Archives: General

Udisks2 Misfeature Fix

Apparently David Zeuthen committed a patch back in February (appears in udisks2 >= 2.0.91, afik) that lets you single-point (or selectively) switch Udisks2 back to the nice, sane, predictable “Removable drives mount to /media” behavior instead of the asinine “Drives are owned by some user who happens to be logged in at a local session at the time they are plugged, mounted to /run/media/$USER/$LABEL, and ACL’d to that user” nonsense that has been a near-constant source of inconvenience lately. I’m surprised it took me this long to find it.

Following these instructions, all you have to do is create a Udev rule (ie. /etc/udev/rules.d/99-correct-media-mount-point.rules) with the line ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1", and storage mounts to /media/$LABEL (You may want to leave out crypto, it actually makes sense for encrypted volumes to be obscured from other users like that) with no funky ACLs by default.

No more tedious user,noauto,nofail fstab entries on all my machines, for all my frequently-used discs to prevent that behavior! Hurrah!

Posted in Computers, DIY, General | Tagged , | 3 Comments

The Best Science Fiction and Fantasy of The Year Vol. 7

While I’m writing up things I’ve done recently, I finished this year’s edition of the Jonathan Strahan edited The Best Science Fiction and Fantasy of the Year collection. As in previous years I’ll mention the high points.
Continue reading

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

Singer 201-2 Restoration

My 1947 Singer 201-2, S/N AH040755

I wrote about this machine once before a few years ago, but only brought it down to Lexington to work on it at the beginning of July. I’ve had a delightful time cleaning restoring it over the last couple weeks, and just wanted to post some pictures and musings. I did have it correctly identified before – it is a 1947 Singer 201-2, in good mechanical and OK cosmetic condition. The machine’s story from the family has settled on it being my great grandmother’s machine down the matrilineal line, but I don’t know if they were the original owner, or what exactly has happened to it over the last couple decades. My grandmother noted that she remembered her mother doing upholstery work on it, and my mother remembers using it as a child, and it was in my grandmother’s basement three years ago. Descriptions follow pictures below.
Continue reading

Posted in DIY, General, Objects | Tagged , , , | 21 Comments

N109 Thinkpad AC Adapters

N109-6

Since I’ve been documenting failure modes in electronics, another tale of electronic woe regarding N109 type knockoff Lenovo 90W AC adapters. I have a couple T series ThinkPads, which conveniently all use the same 20V 90W supplies with the same connector. I noticed that the stress relief on one of my AC adapters was wearing, so, having had a streak of good luck buying various direct-from-China products, I bought a knockoff replacement adapter that way.
I would suggest that you don’t want do that.
Continue reading

Posted in Computers, DIY, Electronics, General, Objects | Tagged , , | Leave a comment

Thrunite T10 Repair

T10Bodymd

The Thrunite T10 light I’ve been carrying failed to come on when I reached for it the other day. It wasn’t a dead battery, and, yesterday, I determined that the 24mo warranty offers free repair contingent on you paying for shipping to and from Shenzhen, China, which comes out similar to the purchase price. I like my little T10, so this evening, I decided to fix it myself.

tl;dr: If you have a T10 die on you, it is likely to be the negative contact spring in the bottom of the body corroding/moving. Try cleaning and/or re-seating it.
Continue reading

Posted in DIY, Electronics, General, Objects | Tagged , | 3 Comments

I got into another discussion about Linux init systems. Since I still get a lot of hits about that, I figure I should put a link, as the long two-part post is a reasonably clean and complete explanation of my … Continue reading

Posted on by pappp | Leave a comment

Attempts at Embedding News Discussion

Following up my previous post, I’ve tried a couple configurations for replacing the news discussion features that Google has been slowly making worse for years, and am less than satisfied with all of them. The two most promising so far are:

TTRSS Published feed through FeedWordPress
TTRSSFWP
This generates individual posts from the items in the published feed, in whatever form the interaction between the feed and the WP template generates. It gets all the desired content up, and in principle it provides a local comment scheme.

It is, however, extremely noisy compared to the other content I put up, without clearly delineating itself from original content. WordPress can be configured with alternate post types, and per-type display , but that is a level fucking about with PHP and CSS that I’m not willing to engage in unless I absolutely have to. Part of the noise problem is that it doesn’t behave terribly well with snippeting: FeedWordPress faithfully reposts all of whatever came down the feed, and what I would really like is the full note, followed by the link and a short description. While the tools are present to filter and massage the feed, it would take a nontrivial bit of parsing around inside the feed content to produce full notes and limited-length blurbs. Google Plus’s “unbecoming addiction to abbreviation,” as a friend put it, as well as the inflammatory, misleading headline issues at HN and Reddit have made me aware that clumsy truncation is not really acceptable.

A substantially larger problem is that, despite setting all the appropriate options for local comments, FeedWordPress stubbornly refuses to do anything other than pass the comment link through to the original source. Since borrowing WP’s comment system is the primary reason the news-as-posts model seemed appealing, this is not acceptable. There is a four-month-old unanswered bug report (admittedly, a crappy bug report in broken English) about the issue, but that was all I came up with.

This was the one I was most hopeful for being a drop-in solution, but it clearly would take a substantial amount of the sort of web front-end work I don’t enjoy to make it work well

TTRSS Published feed through HungryFEED
TTRSSHF

This just gives an unobtrusive feed of notes and headlines in any container your WP theme supports. Pretty nice as a “Look at these interesting things” sort of mechanism, and makes a nice way of advertising that you have a news feed available, but has absolutely no facility for local discussion. It delineates the content better, but lacks the discussion and history features I would like.

If I decide I need to get off of Google’s services, either because the services become too unsuitable or the parent company does something too horrible, I’ll look around again. Setting up a custom post type (easy), with custom display properties (straightforward but unpleasant), a segregable output feed (trivial), and working comments (??) to auto-post TTRSS’s Published feed into using a mechanism like the FeedWordPress solution above would not be horrible, and would support all the desired functionality, but isn’t something I’m currently willing to do “just because.”

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

Replicating Reader Sharing with TTRSS and WordPress

I was shit-talking Google Plus’ utility as a replacement for Reader’s social features, and realized I think I actually can do at least as well with my existing infrastructure. I’m not immediately planning to switch, because Plus offers convenience and discovery for others, but I wanted to try it, so there will likely be some spurious posts appearing [and disappearing] shortly. I suspect most of my readership consumes their internet through a feed reader, so this post exists as documentation.

For the interested: TTRSS has a publish mechanism, which creates a custom RSS feed of any article you mark published, along with whatever note you have attached to it with the built in annotation system. It even allows for non-feed content to be shared. There are various WordPress plugins that can embed an RSS feed (HungryFeed,EmbedRSS) or import an RSS feed as a post type (FeedWordPress).
Embedding as custom posts gives both distinction and a comment system, and it is a universal interfaces (can read from web, subscribe via RSS ,etc.). There is even social discovery support built in should such a thing take off.

If this experiment works really well, I might even talk myself into using it before Google gives me another reason.

Posted in Announcements, Computers, DIY, Meta, News | Tagged , , , | Leave a comment

Shapeoko: Part 6

SH7-8

I’ve been working on my Shapeoko in little fits and spurts that individually haven’t been terribly documentation worthy, but in aggregate are pretty interesting. Continuing from where I left off in Shapeoko: Part 5, I’ve iterated a bit on belt tensioners, switched to a commercial breakout board, put the spindle under computer control, attached the spindle to the machine, made some tentative test cuts, and added hall-effect endstop/homing switches to the X and Y axes.
Continue reading

Posted in DIY, Electronics, Entertainment, General, Objects | Leave a comment

Spring 2013 Semester Retrospective

I lost this draft right after the semester ended, but spotted it while preparing to write up another project, and am now polishing and posting to continue my habit of posting before/after documentation for my semesters. I spent more of the semester than I probably should have on a variety of enriching distractions (like a 3D Printer), but still did very well at all my course obligations, and the distractions were enriching.
Continue reading

Posted in General, Navel Gazing, School | 1 Comment