Category Archives: Computers

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

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

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

Reader Refugees

I’m getting a kick out of reading the stories from the Google Reader competitors reacting to the shutdown announcement. Google’s dwindling number of users appears to be counted in millions, which is a great many for almost any other entity. Feedly and NewsBlur seem to be the dominant destinations for reader refugees.

Feedly reports 500,000 new subscribers in the 48 hours following the announcement, and ordering 10 times their current bandwidth allocation.

NewsBlur, which is a one-man-show, had all kinds of excitement – they blew up their host, their mail provider, and unusually positive interaction from PayPal.

I’m happy enough with TinyTinyRSS, but NewsBlur was distinctly a close second – Newsblur is attractive (in terms of design, model, and UI), open source (Under an MIT licence), and supports self-hosted instances, but is seriously complicated to set up, by the author’s own admission – I tried on a VM, and decided that for now ttrss is a better choice.

They both seem to be excited more than anything, which is consistent with the reaction I’ve been seeing with the TTRSS developer (also a small pet project) and community – the shakeup could well provide some nice selective pressure for the RSS ecosystem.

(Posting here because I’m done with putting up with google’s failings – Plus doesn’t handle multiple links well, and I have no desire to fight with it).

Posted in Computers, DIY, General | Leave a comment

Google is Getting Awfully Evil

TLDR; I no longer consider google trustworthy, Tiny Tiny RSS is a suitable, self hosted, replacement for Reader.

Until this week, Google had managed to convince me their services were trustworthy – more trustworthy than self-hosting – which is quite a feat , since I don’t tend to do well with faith in any context. Killing reader after it drained the rest of the RSS aggregator market took care of that illusion. Kicking the ad blockers out of the play store (on the same day) after Android had become the dominant species, and it no longer mattered that ad blockers are required to make the mobile web experience tolerable, and intentionally breaking Jabber federation later in the week just underscore the point.
Continue reading

Posted in Announcements, Computers, DIY, General | Tagged , , , | 2 Comments

Adventures in 3D Printing

The MakerGear M2 3D printer the KAOS lab ordered arrived last week. I am thoroughly impressed with the machine and how little fussing has been required to get decent prints out of it.

I’ve been pushing annotated pictures of our adventures with the M2 to a G+ album, because the auto-upload from my phone is too good to give up, even if the G+ album manager sucks. Take a look to get a taste of our massive new distraction.

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

Favorite Talks of 29C3

I’ve been watching the talks out of 29c3 as they become available online for the last couple days, and these are my favorites with comments. I’ve never come up with an excuse to actually go, but always find that it is the conference with the most things I am excited about every year, and end up watching more recorded sessions than I could have attended had I been present. The ones I picked below were both topics I found interesting and good presentations – there were a couple I hoped would be good but had talks that made me just give up and read the paper that I won’t mention here.

Continue reading

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

I want my UNIX groups back

The breakage of permissions under recent PolKit/logind is flabbergasting. They have completely subverted UNIX groups/permissions in a difficult-to-unbreak way. And I get cheerful little update messages saying things like “You no longer need to be in the camera group to use cameras” like it’s a fucking feature (and they’re lying; they mean users logged in locally no longer need to be in the camera group – remote users still need it). If I want a user to have access to some hardware on a machine, I’ll give it permissions. If I don’t, I probably don’t for a reason. Let’s talk use cases: perhaps you would like to hide the camera from a kid’s user. Or you would like to check on something with the camera attached to your remote machine. Or work a music player via SSH. Or generally use the resources on the machine you bothered to log into remotely because why the fuck else would you have logged in there? Every one of those is now more complicated to accomplish. Adding a facility to enable/disable permissions for remote or local users might be reasonable, but just fucking breaking groups for a couple use cases no one uses is moronic. (Seriously, Fast User Switching keeps coming up as a rationale for breaking things. Has anyone, ever used fast user switching on one of the platforms that supports it? There are usually more computer-like-devices than people in a household now, it isn’t relevant.)

Can someone please come up with a straightforward way to just noop all the PolKit bullshit so I can have my UNIX box back from the FreeDesktop assholes?

Posted in Computers, General | Tagged , , , | 10 Comments