Recent blog entries for dorward

Windows touched my file permissions

A Windows system made a commit to a branch and then I had to merge it. There were +xs everywhere, and guess who got to clean them up?

Perl to the rescue!

    bzr diff | grep properties\ changed | perl -pe”\$_ =~ s/^.*?’//; \$_ =~ s/’.*\$//; \$_ =~ s/ /\\\\ /g” | xargs chmod -x

  

Syndicated 2015-06-09 16:13:10 from Dorward's Ramblings

A self-indulgent rant about software with a happy ending

Last night I volunteered to convert a couple of documents to PDF for a friend.

‘It'll be easy’, I thought, ‘it'll only take a few minutes’.

The phrase "Ha" comes to mind.

Adobe Acrobat can't import DOCX files. This wasn't a huge surprise and I was prepared.

One a quick trip to Pages later and … one document came out blank while the other was so badly misaligned that it was unusable.

‘Never mind’, thought I, ‘there are other options’.

OpenOffice rendered both DOCX files as blank. This was not progress.

‘Fine, fine, let's see what MS Office is like these days’.

There was a free trial of the upcoming Office for Mac available. A 2.5GB download later and I had a file which would, when double clicked, make an icon appear in the dock for about two seconds before quitting.

At this point, I admit I was getting frustrated.

Off to Office 365 I went. I'd even have gone so far as to give Microsoft my £5.95 for a month of access to it, if they'd let me login. I was presented with a blank page after entering my Live credentials.

I got the same result after switching web browser to one that wasn't laden down with the features that make the WWW bearable.

Did Microsoft not want my money?

(The more I deal with DOCX, the less I like it).

By this point, it was past midnight, I was running out of options, and I didn't want to let my friend down.

Then I found the rather wonderful convertonelinefree.com (Gosh, this paragraph looks a bit spammy, it isn't though.) and I had the DOCX files converted a minute later.

So time to talk about Adobe software… in a blog post where I've been ranting about software. Brace yourselves…

I really like Acrobat CC. (Has the sky fallen? No? OK, then. Let us continue.)

I don't know what someone who has used earlier versions a lot will think of the dramatic UI changes, but as an occasional user, it is really rather nice.

It combined my two files without a hitch and did a near perfect job of identifying all the form fields I wanted to be editable.

The step-by-step UI is rather nice and makes it easy to find the various tools to edit the document.

Syndicated 2015-04-29 08:17:05 from Dorward's Ramblings

CCTV and Google Glass

Astro Teller is somewhat missing the point:

"I'm amazed by how sensitively people responded to some of the privacy issues," Teller explains, expressing frustration about the backlash against Glass in public, given the prevalence of mobile video. "When someone walks into a bar wearing Glass... there are video cameras all over that bar recording everything." If it were around a year ago "they'd be Meerkatting," Teller joked.

"Society's issues about privacy are completely legitimate," Teller said. "I'm not making an apology for Google Glass. Google Glass did not move the needle... it was literally a rounding error on the number of cameras in your life."

The problem (from my perspective at least) isn't the number of hard-to-notice cameras around. It is who is wielding them and what they might do with them. CCTV isn't really a problem:

Images of people are covered by the Data Protection Act, and so is information about people which is derived from images – for example, vehicle registration numbers. Most uses of CCTV by organisations or businesses will be covered by the Act, regardless of the number of cameras or how sophisticated the equipment is.

Syndicated 2015-03-22 11:30:16 from Dorward's Ramblings

Cell or Wifi

Future timeline for netinfo API: * API allows distinction between cell/wifi * Authors serve lower quality but smaller content to cell users…

— Jake Archibald (@jaffathecake) March 3, 2014

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!