Press "Enter" to skip to content

Posts tagged as “Webworks”

Back in Business

centaur 0

20160204_085226.jpg

We are back in business. Apparently it was a temporary database glitch. Time to make sure my backups are up to date. Meanwhile, since I’m waiting to find out where my next meeting is, enjoy a picture of a coffeehouse that I am totally not at right now.

-the Centaur

Weeeird…

centaur 0


dresandown.png

… the Library of Dresan is letting me add posts, but all other operations are squirrelly. Stand by.

-the Centaur

Uh … What the?

centaur 0

uh-what-the.png

So, as you may or may not know, I’m trying to blog every day this year, and just now, taking a brief respite after my red-eye flight, I decided to extend my tracking spreadsheet from just January to cover February. And when I did so … my tracking graphic suddenly turned into … I don’t know … an origami Pac-Man?

I’m not even sure how this particular chart type could make the above graphic, so I’m not sure how to fix it. This probably should get filed under “if you break the assumptions of a piece of software’s inputs, it will break your assumptions about its outputs.” Best thing to do is probably start over with a new graphic.

-the Centaur

Welcome to 2016

centaur 0

20151219_063113.jpg

Hi, I’m Anthony! I love to write books and eat food, activities that I power by fiddling with computers. Welcome to 2016! It’s a year. I hope it’s a good one, but hope is not a strategy, so here’s what I’m going to do to make 2016 better for you.

First, I’m writing books. I’ve got a nearly-complete manuscript of a steampunk novel JEREMIAH WILLSTONE AND THE CLOCKWORK TIME MACHINE which I’m wrangling with the very excellent editor Debra Dixon at Bell Bridge Books. God willing, you’ll see this come out this year. Jeremiah appears in a lot of short stories in the anthologies UnCONventional, 12 HOURS LATER, and 30 DAYS LATER - more on that one in a bit.

I also have completed drafts of the urban fantasy novels SPECTRAL IRON and HEX CODE, starring Dakota Frost and her adopted daughter Cinnamon Frost, respectively. If you like magical tattoos, precocious weretigers, and the trouble they can get into, look for these books coming soon - or check out FROST MOON, BLOOD ROCK and LIQUID FIRE, the first three Dakota books. (They’re all still on sale, by the way).

Second, I’m publishing books. I and some author/artist friends in the Bay Area founded Thinking Ink Press, and we are publishing the steampunk anthology 30 DAYS LATER edited by Belinda Sikes, AJ Sikes and Dover Whitecliff. We’re hoping to also re-release their earlier anthology 12 HOURS LATER; both of these were done for the Clockwork Alchemy conference, and we’re proud to have them.

We’re also publishing a lot more - FlashCards and InstantBooks and SnapBooks and possibly even a reprint of a novel which recently went out of print. Go to Thinking Ink Press for more news; for things I’m an editor/author on I’ll also announce them here.

Third, I’m doing more computing. Cinnamon Frost is supposed to be a mathematical genius, so to simulate her thought process I write computer programs (no joke). I’ve written up some few articles on this for publication on this blog, and hope to do more over the year to come.

Fourth, I’m going to keep doing art. Most of my art is done in preparation for either book frontispieces or for 24-Hour Comics Day, but I’m going to step that up a bit this year - I have to, if I’m going to get (ulp) three frontispieces done over the next year. Must draw faster!

Finally, I’m going to blog more. I’m already doing it, right now, but one way I’m trying to get ahead is to write two blog posts at a time, publishing one and saving one in reserve. This way I can keep getting ahead, but if I fall behind I’ve got some backlog to fall back on. I feel hounded by all the ideas in my head, so I’m going to loose them on all of you.

As for New Year’s Resolutions? Fah. I could say “exercise more, blog every day, and clean up the piles of papers” but we all know New Year’s Resolution’s are a joke, unless your name is Jim Davies, in which case they’re performance art.

SO ANYWAY, 2016. It’s going to be a year. I hope we can make it a great one!

-the Centaur

Pictured: The bookshelves of Cafe Intermezzo in the Atlanta airport, one place where I like to write books and eat food.

Soon

centaur 0

20131109_144656.jpg

Soon I will update the Library of Dresan WordPress code. This is in preparation for a site overhaul, but before I get there, I’m trying to radically improve how I do my backups, which involves seriously upgrading the WordPress code.

In preparation for that, I’m backing the site up several different ways, making sure I have the files AND the database securely downloaded and safe. However, something always can go wrong, so keep your fingers crossed.

And if the site mysteriously disappears for a few days, well, you heard why, here, first.

-the Centaur

Word! What are you DOING?

centaur 0

Screenshot 2013-11-03 15.36.00.png

I love Microsoft Word, but when I cut and pasted that excerpt from MAROONED into Ecto and published, I noticed a huge blank gap at the beginning of the quoted passage. When I looked in Ecto's raw text editor to see what was the matter, I found 336 lines of gunk injected by Microsoft Word … a massive amount of non printable goop like this:

<!--[if gte mso 9]><xml>

<o:DocumentProperties>

<o:Revision>0</o:Revision>

<o:TotalTime>0</o:TotalTime>

<o:Pages>1</o:Pages>

<o:Words>246</o:Words>

<o:Characters>1183</o:Characters>

<o:Company>Xivagent Scientific Consulting</o:Company>

<o:Lines>18</o:Lines>

<o:Paragraphs>11</o:Paragraphs>

<o:CharactersWithSpaces>1418</o:CharactersWithSpaces>

<o:Version>14.0</o:Version>

</o:DocumentProperties>

</xml><![endif]-->

<!--[if gte mso 9]><xml>

<w:WordDocument>

...

This is apparently XML text which captures the formatting of the Word document that it came from, somehow pasted into the HTML document. As you may or may not be able to see from the screenshot above, but should definitely be able to see in the bolded parts of what I quoted above, for 1183 bytes of text Word injected 17,961 bytes of formatting. 300+ lines for 200+ words. Oy, vey. All I wanted was an excerpt without having to go manually recreate all my line breaks …

I understand this lets you paste complex formatting between programs, I get that, and actually the problem might be Ecto taking too much rather than Word giving too much. Or perhaps it's just a mismatch of specifications. But I know HTML, Word, Ecto, and many other blogging platforms like Ecto. What is someone who doesn't know all that supposed to do? Just suffer when their application programs get all weird on them and they don't know why?

Sigh. I'm not really complaining here, but it's just amusing, after a fashion.

-Anthony

Back to the Future with the Old Reader

centaur 0

theoldreader.png

As I mentioned in a previous post, Google Reader is going away. If you don't use RSS feeds, this service may be mystifying to you, but think of it this way: imagine, instead of getting a bunch of Facebook, Google+ or Twitter randomized micro-posts, you could get a steady stream of high-quality articles just from the people you like and admire? Yeah. RSS. It's like that.

So anyway, the Reader shutdown. I have a lot of thoughts about that, as do many other people, but the first one is: what the heck do I do? I use Reader on average about seven times a day. I'm certainly not going to hope Google change their minds, and even if they do, my trust is gone. Fortunately, there are a number of alternatives, which people have blogged about here and here.

The one I want to report on today is The Old Reader, the first one I tried. AWESOME. In more detail, this is what I found:

  • It has most, though not all, features of Google Reader. It's got creaky corners that sometimes make it look like features are broken, but as I've dug into it, almost everything is there and works pretty great.
  • It was able to import all my feeds I exported via Google Takeout. Their servers are pretty slow, so it actually took a few days, and they did it two passes. But they sent me an email when it was done, and they got everything.
  • The team is insanely responsive. They're just three guys - but when I found a problem with the Add Subscription button, they fixed it in just a couple of days. Amazing. More responsive than other companies I know.

There are drawbacks, most notably: they don't yet have an equivalent for Google Takeout's OPML export. But, they are only three guys. They just started taking money, which is a good sign that they might stay around. Here's hoping they are able to build a business on this, and that they have the same commitment to openness that Google had.

I plan to try other feed readers, as I can't be trapped into one product as I was before, but kudos to The Old Reader team for quickly and painlessly rescuing me from the First Great Internet Apocalypse of 2013. I feel like I'm just using Reader, except now I have a warm fuzzy that my beloved service isn't going to get neglected until it withers away.

-the Centaur

A Ray of Hoops

centaur 0

rayofhope.png

So, after my scare over almost losing 150+ files on Google Drive, I've made some progress on integrating Google Drive and Dropbox using cloudHQ. The reason it wasn't completely seamless is that I use both Google Drive and Dropbox on my primary personal laptop, and cannot afford to have two copies of all files on this one machine. The other half of this problem is that if you only set up partial sync of certain folders, then any new files added to the top folder of Google Drive or Dropbox won't get replicated - and believe it or not, that's already happened to me. So I need a "reliable scheme" I can count on.

The solution? Set up a master folder on Google Drive called "Replicated", in which everything that I want to keep - all my Google Docs, in particular - will get copied to a folder of the same name called "Replicated" in Dropbox. For good measure, set up another replication pair for the Shared folder of Google Drive. The remaining files, all the Pictures I've stored because of Google Drive's great bang for the buck storage deal, don't need to be replicated here.

The reason this works is that if you obey the simple anal-retentive policy of creating all your Google Docs within a named folder, and you put all your named folders under Replicated, then they all automatically get copied to Dropbox as documents. I've even seen it in action, as I edit Google Docs and Dropbox informs me that new copies of documents in Microsoft Word .docx format are appearing in my drive. Success!

At last, I've found a way to reliably use Google Drive cloud. Google doesn't always support the features you want, or the patterns of usage that you want, but they're deeply committed to open APIs, to data liberation, and to the creation of third party applications that enable you to fill the gaps in Google's services so that you aren't locked in to one solution.

Breaking News: Google Reader canceled. G*d dammit, Google…

Next up: after my scare of losing Google Reader, a report on my progress using The Old Reader to rescue my feeds...

-the Centaur

Pictured: A table candle at Cascal's in Mountain View, Ca...

Rescuing Google Drive?

centaur 0

IMG_20121029_235958.jpg

Ok, the above is a rescue cat, but the point remains. In an earlier post I understandably got a bit miffed when moving a folder within Google Drive - an operation I've done before, many times - mysteriously deleted over a hundred and fifty files. I was able to rescue them, but I felt like I couldn't trust Google Drive - a feeling confirmed when the very next time I used it to collect some quick notes, the application crashed.

But I love the workflow of Google Drive - the home page of Google Drive can show you, very very quickly, either your hierarchy of folders, your recently accessed files, or a search of all your files, and once you've found a file it appears far quicker than most normal applications like Microsoft Word, Microsoft Excel, or Photoshop. Word, Excel and Photoshop kick Google Drive's ass on specialized uses, but many documents don't need that, and Google Drive is a great alternative.

But what about files disappearing? A non starter. However, there are ways around that problem.

Google Drive of course has the ability to export files. You can even export an entire directory in this fashion. If you really want to get serious, you can use Google Takeout, a data migration tool by Google which enables you to export all your Google Drive data, part of Google's Data Liberation Front.

But all those rely on one time manual operations. I want something that works automatically, so for my money it's the Google Drive API that really comes to the rescue. That enables developers to create applications like cloudHQ, which syncs between Google Drive, Dropbox and several other services. I've tried out cloudHQ experimentally and it works on a single folder.

Next I'm going to try it on a larger scale, though it will require a little re-sorting of how I've got Dropbox and Google Drive working. Most likely, I'm going to need to either uninstall Google Drive from my primary computer and sync all its files into Dropbox by CloudHQ, or else manually unsyc certain folders so I don't get double-storage on this machine.

Regardless, there is a silver lining. Now let's see if it's also a silver bullet.

-the Centaur

Pictured: Me holding Loki, our outdoor rescue cat. He's large marge, let me tell you.

The End for Google Drive

centaur 0

Screen Shot 2013-03-03 at 1.13.54 PM.png

Recently I was doing some task and needed to track down some information. I couldn't find the document I wanted at first in my Google Drive, but once I did, I realized I had several documents, all on the same topic, so I did with Google Drive the same thing I'd done before on Google Drive: I went to the Google Drive folder and reorganized the files.

Big mistake.

Quickly red "x's" started appearing in my folders. More and more "unsyncable" files started showing up in the Google Drive status list. And then a status message popped up: "The files you have deleted are now in Google Drive's Trash."

Uh-oh.

Understand: I had deleted no files or folders. I simply moved them around - and I've done this before. A lot. On Google Drive, not just Dropbox. But something apparently happened in the sync, and Google Drive thought I'd deleted the folders.

So it trashed all those files.

Understand, Google Drive "documents" on your hard drive aren't "documents"; they're little text files with pointers to a location in Google Drive, like this (where UNREADABLE_IDENTIFIER is a string of alphanumeric gobbledegook):

{"url": "https://docs.google.com/document/d/UNREADABLE_IDENTIFIER/edit", "resource_id": "document:UNREADABLE_IDENTIFIER"}

This pathetic little bit of nonsense is all I would have had left of a 200 word start to an essay - if I hadn't acted quickly. I started to look online, and found this alarming bit of information:

https://support.google.com/drive/bin/answer.py?hl=en&answer=2375102

Declutter your Google Drive by removing unwanted and outdated files, folders, and Google Docs from your Google Drive. Anything that you own and remove from Google Drive will be in the trash until you permanently delete or restore them.

Moving Google Docs files out of your Google Drive folder will cause their counterpart files on the web to be moved to the trash. If you then purge the trash, those files will become permanently inaccessible. Because the Docs files in your Drive folder are essentially links to files that exist online, moving these files back into your Drive folder after purging the trash online will not restore the files, as their online counterparts will have been deleted.

OMG! The contents of my documents may be lost forever if I purge the trash. But it gets worse...

http://support.google.com/drive/bin/answer.py?hl=en&answer=2494934

If something in Google Drive is moved to the trash, you'll see a warning and you may lose access to it at any time. Read one of the following sections to learn how to restore it to your Google Drive from the trash. When you restore something, it'll be recovered in Google Drive on the web, to the Google Drive folder on your computer, and to your mobile devices.

If the item is in a folder, you’ll need to restore the entire folder to recover any individual items inside of it.

So I quickly returned to Google Drive. Everything you see above with a little red X was gone, all those files and 150 more. I hunted down the Trash (which was harder than you might think, as there was some persistent search in my Google Drive window that was removing the Trash folder from my view) and restored EVERYTHING that I had never deleted in the first place.

Now, this shouldn't have been a surprise. I always knew this could happen, ever since I gladly installed Google Drive on on my Mac in the hope that it would data liberate the Google Documents I had, only to find in my horror that Google Drive wasn't a syncing system, like Dropbox, but a cloud system, which is useless.

In case anyone misses the point: If you use Google Drive to store documents and also have the Google Drive client stored on a machine, Google Drive can get tricked into thinking you've deleted files, at which point it will move them to the Trash, at which point, unlike things you've deliberately trashed, it can delete them at any time - and you'll never get them back.

After some thought, I'm calling a hard stop on all use of Google Documents, except those I'm using to collaborate with others, where the collaboration features of the Google Doc outweigh the potential of risk. I can always save those files to a hard backup of a Word document or an Excel spreadsheet.

But I work for a living as a writer. And I can't work with a system that can arbitrarily trash hundreds of files and thousands upon thousands of words of documents with no hope of recovery just because I moved a folder … correctly.

Like Ecto, I have to rethink my use of these online tools - rethink them in a way that ensures that for every significant thing that I use in some convenient online system, I have a saved copy in an archivable backup.

More updates as I develop a new system.

-the Centaur