Monthly Archives: July 2013

Replacing End of Line

I copied the lines of a script a coworker noted in our wiki into Notepad++. The needed changes were made for the school I want to run this against. The content was pasted into Notepad (not ++) on the server (through RDC). One of the “needed changes” was adjusting the line formatting so the commands for each server are separated by a two lines not one. I used \n to add new lines.

The new lines appeared fine in Notepad++ but not Notepad.

I tried playing with the EOL conversion (Windows to Unix) but that removed all the lines.

Then it dawned on me. The \n is what one uses for Unix. I needed to use \n\r for Windows.

Obviously I have been out of Windows too long.

from Rants, Raves, and Rhetoric v4Rants, Raves, and Rhetoric v4 »

Posting To Your WP From Foreign Sites

(This assumes a WordPress.org site not one on Wordress.com hosting.)

Placing your username and password in the database of third party sites is not very good. If the account provided is the WordPress administrator account, then that means credentials for the most important account are potentially exposed. The password is going to be kept in the clear or in a form decryption is easy so it can be used to post to WordPress.

Better instead is to create a limited user with the Author role for this purpose. These accounts are so easy to create that I make one for every site I use to post to this blog. If any of these sites are hacked or the credentials otherwise given to others, then the potential damage is just the posts belonging to that user.

One stumbling block for this is WordPress.org installs want a unique email address for each account. A workaround I use is either generating email accounts via my hosting provider or the +anything for Gmail.

Also, it makes easy identifying the posts which came from the foreign source. My Goodreads posts are an example where that site is setup to post for an account I specially created for that purpose.

from Rants, Raves, and Rhetoric v4Rants, Raves, and Rhetoric v4 »

Extending Gmail Addresses

Surprised I have not posted prior about this. Gmail allows one to use username+anything@gmail.com and have it delivered to username@gmail.com. Use it to sign up for web sites or things and filter later. Should this address be compromised, you can create a filter to delete anything sent through just that address.

Keep in mind…

    1. Though I would expect pretty good spammers or hackers to remove the +anything. 
    2. Some web sites use algorithms that consider these addresses not real.

So your results may vary.

from Rants, Raves, and Rhetoric v4Rants, Raves, and Rhetoric v4 »

Review: The American: A Special Edition of A Very Private Gentleman

The American: A Special Edition of A Very Private Gentleman
The American: A Special Edition of A Very Private Gentleman by Martin Booth
My rating: 4 of 5 stars

As a fairly private person, I identified pretty well with this quote on page 16. Not so much in a truly dangerous sense but in a I am not very good with people sense. Pretty sure I am going to ruin anything approaching friendship.

I have no truly close friends: such friends can be dangerous. They know too much, become too involved in one’s well-being, take too much interest in how one is, where one is going. They are like wives without the suspicion: still, they are curious, and curiosity I can do without. I cannot afford the risk. Instead, I have acquaintances. Some are closer than others and I allow them to look over the outer ramparts of my existence, yet none are what are generally termed close friends.

There are some other interesting quotes on love being dangerous and risky that I enjoyed as well.

The pace builds both suspense and sympathy for the big reveal. Like [The Girl With The Dragon Tattoo], it has an older male trying not to fall for a girl in her early 20s. In this case though she’s not very central to the story and really the accusation of Lisbeth. The guy is the one doing the cool stuff.

I understand the movie is very different, but I should finally watch it.

View all my reviews

from Rants, Raves, and Rhetoric v4Rants, Raves, and Rhetoric v4 »

Review: Seven Viking Romances

Seven Viking Romances
Seven Viking Romances by Hermann Pálsson
My rating: 4 of 5 stars

A couple girls gave me funny looks and asked about “Romance” in the title. So I explained this is romance as in heroic sagas of mighty warriors committing supernatural deeds. (Okay, so I glossed over these same warriors impregnating every woman in their path.) Not muscular men seducing women.

Until it was. Somewhere around 200 pages in one of the heroes uses an obvious euphemism for what is between his legs to seduce a girl. And then another euphemism on another girl. I could not believe it. Scandinavian romance novel in both senses.

The stories were amusing and fast. But then I like stuff about Odysseus, Beowulf, and Gilgamesh. And the fictional Conan.

P.S. It seems like everyone is related to someone named “Grim” though. Is that the John of Scandinavia?

View all my reviews

from Rants, Raves, and Rhetoric v4Rants, Raves, and Rhetoric v4 »

RIP Google Reader

Working @ Home Today is the day Google kills off my favorite product: Google Reader.

I’ve gone cold turkey for over month and still have withdrawal symptoms. My mistake probably is the continual thinking, “This would be so much easier in GReader.”

After reading a dozen articles on possible replacements and trying out them all, I was very disappointed. Even heroic new comers like Digg Reader fail to impress. I guess feedly is my replacement. Least worst is not comforting.

Before the announcement, I spent on average about 15 hours a week reading and following up on new posts. Reaching everything read felt like an accomplishment. Now, I maybe spend 5 using feedly and have spiraled out of control in the number unread content. It is time to cull my feeds because it is obvious I am not going to read RSS as much anymore.

Ugh.

Maybe feedly will improve into being more usable. After all, Google Reader did. I was on Bloglines. In fact, here is the post on RIP Bloglines way back in 2005.

from Rants, Raves, and Rhetoric v4Rants, Raves, and Rhetoric v4 »