#16 Take It Away

The old library sat unused, the new one sat next door. The old library was the site of many a hot debate by impassioned undergraduates inspired to succeed as they were the first to attend college in their family, the first to be able to sit around all day and think as opposed to work. The first to be given that sort of freedom. The new library’s claim to fame was that it sported a coffee bar, and lots of big plush chairs near power outlets.

The old car sits on the used car lot, abandoned by it’s owner. They had been through good and bad, and many jury-rigged fixes in place of regular maintenance. He had driven it down to fumes numerous times, praying that it could make it just a bit farther to the next gas station. It had been where he got his first traffic ticket, and made out with his future-wife. Now the new car sat in the garage,  and he felt he’d earned it through years of hard work. But it never felt the same.

The old computer waits for the child to play with it. It’s the location of the first article she wrote, and where she slaved over her resume that she used to get the position she loved. It’s the computer that held the games which she used to relax after a long day studying. It’s the computer that traveled the 2 hour commute during her first years of working here. Now the new computer purrs and moves about quickly, she seldom thinks of the old clunker.

The old lover feels the sting of the rejection, and sits lonely with the old friends, and the forgotten family. They wonder aloud why they were abandoned, why they were cast aside as useless by the person they once knew. The replacements never see their predecessors, they are too busy enjoying the time with their new friend.

It’s fine and well to take away the old and replace with the new when progress demands. But one should carefully consider the consequences, directly proportional to the sentience of the object being replaced.

[SSDay]

#2 Freezing

“Watch tonight, I’ll be freezing”, said the lady as she walked into the cafe. She was just starting her shift, doomed to repeat an eight to ten hour cycle that she had done countless times before. She would prepare the same things, for the same people, for nearly the same price, and receive the same lack of respect for her position behind the counter, taking orders from the big shots and unimpressed, as they stared at her over their iPhones and Macbooks.

“It’s warm now, but it’ll cool off”, the lady continued as she observed her co-worker, Rob, rap to himself as he pushed the broom across the floor. She was speaking to no one in particular, for no reason. She found herself doing that more and more as of late, as she slipped into the midlife minutia she seemed destined to stay in for her entire existence. She’d be working this job today, tomorrow, and forever until either she won the lottery (there was always hope), the store closed (there was always fear), or the man of her dreams swept her off her feet and out of this life (there was always the impossible). For now she consoled herself as she went about her work – 8 more hours, 7.5 more hours, 6 more hours, 5 more hours.

“I told you it was going to turn colder” she said to Rob, as the snow began to fall outside the windows of the cafe. She’d be walking home in it, the five blocks to her apartment in the Bronx, on this cold February night. She’d lived there for 10 years, in the same small apartment as her sister had lived in, until her sister passed. She had only a few friends who might come visit, and none of them were the type to volunteer to walk home with her tonight in the impending chill. 3 more hours… 2 more hours.

“Did it stop? No, it’s still going” she said in a sad, resigned voice. Her entire life could be summed up on the walk tonight, she thought as she ate her free meal. Aside from the meals she got while working at the cafe, she rarely ate. This was by choice. Eating without anyone to share it was somewhat boring and only reminded her that she lived much of her existence alone. But in an hour she’d be walking, and in a little over an hour she’d be home. She would make it through tonight, just as she had every other night.

“The handle is cold!” she exclaimed as she locked the door to the cafe. Most employees weren’t trusted with the keys, but when you’re stuck in a job for 15 years, and will likely be there 30 more, they start to believe in your honesty, to an extent. Rob wandered off to the subway as she began walking toward home. True to her thoughts earlier in the day, she felt the cold on her skin, her breath emanating in front of her. It was about 3 blocks from the cafe that she saw the eyes watching her. She heard the rustle from the alley, and turned just in time to see him approach.

“No….” she managed to squeak as he inched toward her, tall and imposing, cloaked in tattered clothes and coats. She turned to run, but slipped on the icy sidewalk. She was laying there, helpless as he approached. She couldn’t say a word, the chill of the weather and her fear kept her silent. As he stood over her, he brought up his gnarled, dirty hand.

“It’s cold”, he said, as he opened his palm to help her up. He righted her, and looked into her eyes. “Hungry” he said, as he backed away and held out his hand.

In that moment she thought about her life, her sorrows, and her worries. Her day of problems, her moments of fear, her self-loathing, all washed away as she considered the man in front of her. As she stood there, wondering what her next move should be, she found herself overcome. As he watched, tonight, she was freezing.

[SSDay]

Mandate Update & Unreleased Tidbits!

Since most of my public updates on Mandate, my novel, have come in the form of quick Twitter posts and status updates, I figured I’d actually write down some more than 140 characters to let everyone know where I’m at. And while I’m at it, I’m going to let slip a few things that no one knows yet about the novel as it reaches it’s halfway point.

First of all, Mandate’s first draft is officially halfway finished as of now. It’s been just over 2 months since I started writing, and my plan as of now is to have the first draft written by Labor Day. Revisions will then begin, and if all goes according to plan (who knows if it will), I’ll have it ready to go by mid-October. You guys will obviously know more than others, since you’ve been following since the beginning.

My schedule has actually deviated a few times, and it’s taught me some valuable things about writing fiction (as opposed to the non-fiction I normally write for work). Namely, inspiration is everything. Case and point? I was on a Chapter a week schedule until mid-June when I took a week to travel to Salt Lake to see my friend Steve. While in Salt Lake I had absolutely no desire to write, and so I didn’t (Felt a little guilty about that). Upon coming back, I had another heavy week and found myself 2 weeks behind schedule. On June 27, I should have been working on Chapter 7. In reality I was working on the beginning of Chapter 5. Ugh.

This week, the week according to my goals set in mid-may should have seen me working on Chapter 9, actually saw me finishing chapter 6 on Monday. But then for whatever reason, I got inspired. Chapter 7 was pounded out in just 3 days, and I am now about 20% through Chapter 8. By mid-week next week I’ll probably be on Chapter 9.

One might wonder why I’m tracking my progress in this way. After all, a novel is a creative exercise, why burden myself with chapter deadlines of my own whim? When it’s done it’s done, why keep a stringent regiment of writing for an hour each day? And why even have a chapter outline forcing myself to put certain plot elements in at certain times. That doesn’t sound very creative, expressive, or spontaneous now does it?

Damn right it doesn’t sound that way – because if I did just sorta “go with the flow”, there is a great chance that this thing would never be done. We’ve all probably seen the following Family Guy clip, but it’s worth watching:

When I originally watched that, years ago, I thought it was funny. Now it gives me what some would call the “douche chills“. I don’t know how other fiction writers with 1 book under their belt feel, but as a writer in other contexts I know that if I don’t have some sort of structure to my own work, I could easily become like Brian in the clip above. Incidentally in a recent episode Brian finishes his book, after many years. I don’t want to take that chance, I want this damn thing to be done at some point! So in order to do that, I’m keeping on a schedule, and posting regular updates.

Second of all, I’ve decided to let you guys in on a few pieces of info regarding the book. Why? Well to keep you interested damnit! I realize my “only tell you the title” thing is a bit annoying. Originally this was because I was going to incorporate reader ideas into the book and didn’t want you to try to answer in a way that would change the plot. Not that I think it would have occurred – but I figured I’d keep it vague to encourage spontaneous responses from you guys.

Well for the most part, asking questions flopped. I have a few good ones which I’m saving and will probably put in during revisions of the book, but in general I stopped asking when people stopped responding. Some even thought I abandoned the project all together, which thankfully I did not.

So what tidbits am I going to tell you? Well I’m going to answer a few questions on here that others have asked me before.

Question: So you’re writing a Science Fiction novel right? you’re a computer geek yourself, and a Sci Fi fan, so that’s what it’s about right? I bet it’s set far in the future!
OK, this one amazed me since more than one person asked it. I’m sad to say this to all you sci fi hopefuls, but the book is not Science Fiction. It does feature a highly improbable plot (Of course if it featured a probable plot it would be pretty damn boring right?), and it IS set in the future. How far in the future you ask? About 2 years. Sorry, not much has changed in my 2 years in the future history.

Question: Is it about you?
So the story is written in the first-person, which means through the eyes of my main character. While he shares a few things in common with me (for example, at the start of the book his job involves some of the things I’ve done in the past to make a living), he isn’t me. For one thing, he’s older. They say you should write what you know, so in that sense many of the characters have aspects to their personality that are like me, but I wouldn’t say anyone in the book is patterned off of me or anyone I know. That being said, I do have one character engage in some rather odd behavior I once witnessed a friend do. Why? Because it was funny to watch at the time and thus funny to write about from a slightly different perspective.

Question: When will I get to read it?!?
Ah, you want to actually read the book so you can validate all those feelings of mediocrity I feel by telling me it’s “OK”. Sure, we can do that. Once the first draft is done, and the prologue and first chapter are revised, I’ll be making them available for free. You’ll find information on that when it’s time, hopefully toward the end of September.

Third of all, and last, Why the hell am I doing this?

This is a question I’ve gotten and I think it really deserves more than just a paragraph to explain.

So I’m a part-time computer geek and full-time psychologist (Some times I use the fancy term “Behavioral Economist” when I’m actually studying financial decisions, but mostly I’ll just say I’m a researcher or psychologist). On my wall hangs various degrees that look very nice, and buried away I have awards and certificates related to my writing for Windows Phone Thoughts and my enthusiasm for Microsoft products. I also have dozens of odd-ball websites and videos out there. But I don’t have any background in fiction, have never taken a creative writing class, and have never shown any interest in novel writing before. So why now? Good question.

I’m writing this book for 3 reasons:

1. I’ve always wanted to write something substantial (yes, as someone pointed out to me, I suppose I’m not counting my dissertation) and interesting to read. I just never had a good idea before. The author note in the book will lay out how I got this idea, and tortured half-started writing projects on my hard drive and testify that I’ve started projects in the past that have never gotten even 1/20th as far as Mandate has. Call it my “Bucket List” or whatever you want, but at some point I want to be able to say I wrote a novel. It just sounds cool.

2. Here’s the goal that appeals to my computer side. I’m really curious how one goes about self-publishing a book in both physical and electronic form. Is it really possible for Joe Schmo (or Jon Westfall) to wake up one day and start writing, and months later have their product available in respectable book sellers or at least in a form that looks like a real book. If it’s promoted, does it really have a chance of becoming even slightly successful (by the way, my definition of success would be to sell it to 3 people whom I haven’t met – that would be cool). So in order to find out how the whole self-publishing thing works in 2010, I need to have something to self-publish.

3. Here’s the goal that appeals to my psych side: This project gets me writing on a regular schedule and used to sitting down and creating something. After writing fiction, which is completely made up, taking theories I already have developed and tested and getting them written down should be easier. After all, I already know the entire plot of a research paper, whereas Mandate has been developing in a rather looser fashion (In Week 1 of writing I knew the rough plot, but details don’t get filled in until much later, and I’m still not completely sure the details of how the protagonist overcomes the actions of the antagonist). In short, this summer writing project is fun and hopefully helpful. If reason 3 doesn’t work out though, it was still fun.

So that’s why I’m writing.  So to Recap this long post: You now know a bit more about the book than just the title. It’s called Mandate, it’s not science fiction, it’s set 2 years in the future, and I’m not in it (Although I’m seriously considering giving myself a cameo as “guy on the train” or something like that). I’m writing it because I want to, and I want to learn more (Sorta like why I bought a bunch of VoIP hardware a few years ago to teach myself about VoIP technology). Lastly, If you’ve made it through this post so far, you’ll also be richly rewarded for your time spent by getting sneak previews and more tidbits in the future. How so? Well, because you’ll know about the Newsletter I’m starting to blast out Mandate Updates. So Sign up now, and get the inside scoop as a weirdo psychologist geek works on the second-half of his first novel.

Backup & Restore Android Apps Using ADB

Android is an interesting platform for a number of reasons, one of which is it’s openness to developer and debugging tools, and the fact that it runs a modified form of Linux as an operating system. If you’re like me and quite fond of jumping around from ROM to ROM on your Android devices, a quick and easy way to backup your program files (and even settings) is quite desirable. Here’s my solution, hopefully it will help you. I know there are easier ways, but for a diehard geek who has the setup ready, this is the fastest way.

First step: Install Android Debug Bridge (adb)

adb is a tool found in the Android SDK, which you can download here. Once you unzip the SDK, add the directory to your path so you can call adb.exe from the command line (or just always run it from it’s tools directory). Once the SDK is installed, you can connect your device to your computer and make sure you SKIP the driver detection Windows automatically starts. If you don’t, Windows will install a generic USB device driver and adb won’t work. If you accidentally do this, follow the steps outlined here to fix the problem. You may want to use pstools to run Registry Editor as System to fully delete out the entries that the fix tells you to delete, otherwise it’s a long process of taking ownership of directories, giving yourself permission, and finally deleting the directory. Repeat 15 times. Sounds like fun right?

So how do you know you have adb installed and working? Well if you plug in your device and run the following command:

adb devices

and you get back something that looks like this:

List of devices attached

HT845GZ67642 device

then it’s working. If you get a message saying that no devices were found, then it isn’t!

Second step: Backup the applications (and settings)

Now that you have adb working, open a command line and make a new directory. To backup the apk files (The package files that store the program’s executables and libraries), run the following command:

adb pull /data/app ./

and you should see a long list of apk files being downloaded to your computer. UPDATE: if you’re using a ROM that places your applications on the SD card for speed and backup purposes, the above command won’t work. Instead use the following command:

adb pull /system/sd/app ./

Settings are a slightly different beast. They’re stored under /data/data on the device, and you may have to hunt around a bit to find what you’re looking for. running the following command will let you access your phone in the same way you’d SSH into a unix/linux machine, or work at the Mac command prompt:

adb shell

Some examples are below of often-backed-up files you may want to grab off your device:

MMS/SMS data: /data/data/com.android.providers.telephony/databases/mmssms.db

Browser settings: /data/data/com.android/browser

System WiFi Settings: /data/misc/wifi

Once you have everything you want backed up, it’s time to restore!

Third step: Restoring data

Assuming you want to restore APK files, and you have all of those in 1 directory, you can run the following command on a mac to install all those apk files:

find ./ –exec adb install {} \;

If you’re on a Windows machine, your command is a bit longer, and this assuems your apk files are in c:\backupapps

for %%f in (“C:\BackupApps\*.apk”) do adb install “%%f”

Alternatively, from a command line window in the directory you have your backed up apps, you can run the following on a Windows machine:

adb install *.apk

After the applications, you can restore whatever data files and settings you backed up. Oh, and for you apps2SD users that may have a really bloated extended partition and want to wipe clean, try the following to clear the EXT partition on your SD card so you can move new apps over (useful for those who are doing completely clean installs on SD cards that were previously used with apps2SD). You should do this from the Recovery image, not the actual live running version (e.g. reboot and hold Home to get to recovery image.)

mount /system/sd
rm -rf /system/sd/*

Hopefully this little walk-through was somewhat helpful for you! If so, leave a comment!