You are viewing [info]bastard_blog's journal

Writer's Block: Fairest one of all

  • Jul. 4th, 2011 at 10:34 PM

What is something you would never want to change about yourself?

View 1236 Answers

Me


Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.30)

  • Add to Memories
  • Share
  • Link

Writer's Block: Let freedom ring

  • Jul. 4th, 2011 at 10:30 PM

How do you celebrate Independence Day in your country?

View 1006 Answers

Oh My Fucking GOD!

To the idiot yank who posted this question:

July 4th Independence Day is a US holiday celebrating the day that the United States of America became an independent nation (as I understand it). It is celebrated in the US, by US citizens. The rest of the world doesn't care. The rest of the world doesn't celebrate the independence of foreign nations, least of all, yours.

Perhaps I should ask you… How do you celebrate Australia Day? Or Canada Day? How about Iraq Day? Do you celebrate the Iraqi nation's special day?

To answer your question, how does the vast majority of the world celebrate USA's Independence Day? We don't. For most of us it is just another ordinary day. It has no significance whatsoever. A few of us might mourn however.


Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.30)

  • Add to Memories
  • Share
  • Link

Writer's Block: Drawing a blank

  • Jul. 3rd, 2011 at 1:31 PM

Have you ever forgotten to do something really important? What was it?

View 583 Answers

I don't know… I can't remember. Besides, whenever I do remember something that I have forgotten to do, I generally do the thing, and so it is no longer an undone forgotten thing, but a done remembered thing.


Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.30)

  • Add to Memories
  • Share
  • Link
sxelj, lj

New Features nom nom nom

See the log below for the details, but the hot news today is that SXEmacs/LJ can now edit, or even delete, previously posted Livejournal entries.

Understand that this is an initial implementation and it may not be everything that you expect. For instance:

  • You can only edit or delete posts that you have an archive copy of, and was archived from v1.30 or newer SXEmacs/LJ. Archiving now defaults to "on" because of this.
  • You cannot change the date/time of an entry.
  • No care or checks are taken to ensure you are editing the most up to date version of an entry. Whatever you send as the edit will overwrite whatever is currently online.

Rest assured that I will be working on eliminating some (or all) of those restrictions.

Getting The Code

Grab it via git…
git clone http://git.sxemacs.org/slh

The Gory Details

And here is the log…


Edit or delete old posts.

This patchset adds the ability to edit (including delete) Livejournal
entries that have already been posted to Livejournal.

There are three caveats to this:

1) For it to work, `lj-archive-posts' must be t (now the default).

2) You can't edit/delete a post that wasn't originally posted from

SXEmacs/LJ (that has the editing/deletion features)

3) Post date/time cannot be altered. You either get it right when

you post the entry the first time, or you edit the date from the

Livejournal site.

Yes, I know that is a little sucky, but hopefully that won't be the
case for long. I am working on ways to eliminate at least the 2nd
caveat.

* lj.el (lj-post-proc-parser): Save the itemid as well.

* lj.el (lj-item-id): New. Stores the itemid from the just posted

journal entry.

* lj.el (lj-archive-post): Put the itemid and permalink at the top

of the achived post.

* lj.el (lj-stringify-id): New. Turns an itemid into a string.

* lj.el (lj-delete-post-internal): New.

* lj.el (lj-delete-post-proc-parser): New.

* lj.el (lj-header-regexp): Add X-LJ-URL, X-LJ-ItemID

* lj.el (lj-header-itemid): New face.

* lj.el (lj-header-url): New face.

* lj.el (lj-font-lock-keywords): Add X-LJ-URL and X-LJ-ItemID

headers.

* lj.el (lj-goto-x-lj-url): New.

* lj.el (lj-goto-x-lj-itemid): New.

* lj.el (lj-edit-old-post): New.

* lj.el (lj-construct-url): Update to allow for editing old posts.

* lj.el (lj-archive-post): Handle editing old posts.

* lj.el (lj-generate-new-buffer): Lose some whitespace being

injected into the created buffer.

* lj.el (lj-delete-old-post): New.

* lj.el (lj-archive-posts): Change default to t.

* lj.el (lj-version): Bump.


Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.29)

  • Add to Memories
  • Share
  • Link

Writer's Block: Doing the time warp

  • Jun. 29th, 2011 at 10:04 AM

If you could travel through time with someone you know, who would you choose, and why?

First question listed was submitted by [info]andosha21. (Follow-up questions, if any, may have been added by LiveJournal.)

View 708 Answers

Me. Because I think I'm the only person that I could put up with and tolerate for any length of time.


Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.29)

  • Add to Memories
  • Share
  • Link

Writer's Block: Showing your pride

  • Jun. 28th, 2011 at 11:58 AM

What do you so strongly believe in that you would march in the streets to support, and why?

View 935 Answers

I believe in a lot of things, and I'd like to believe that I believe in them all strongly. But would I march in the streets in support of any of them? More than likely not. Not because my beliefs aren't strong enough, but because I couldn't be arsed marching in the streets (or any place) for any reason.


Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.29)

  • Add to Memories
  • Share
  • Link

Writer's Block: Going for the throat

  • Jun. 27th, 2011 at 10:33 AM

Would you rather be a vampire or a vampire hunter, and why?

View 1007 Answers

Hmm, lessee… would I rather be a non-existant made-up beastie, or someone who is so screwed up that they believe that fictional creatures exist enough that they waste their lives hunting them.

That's a tough choice.

I choose reality by not choosing either.

However, if passing on this truly monumental (sic) life choice is not an option, then I'd choose vampire. Why? Because not existing seems like much less work and more fun than chasing shadows.


Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.28)

  • Add to Memories
  • Share
  • Link

SXEmacs/LJ v1.28 is released

  • Jun. 26th, 2011 at 2:19 PM
sxelj, lj

Minor Updates

Just a very quick update here to allow for the possible presence of a signature in the post buffer when we're setting up to answer a Writer's Block question.

Getting The Code

Get it as normal from git…

git clone http://git.sxemacs.org/slh

The Gory Details

And here's the log…


Writer's Block fixes -- allow for signature.

* lj.el (lj-qotd-subject): Don't go to point-max in the post body

as there might be a signature that we should leave at the bottom.

* lj.el (lj-narrow-to-qotd): Recenter the qotd buffer after

selecting a qotd so #'shrink-window-if-larger-than-buffer will

work properly.

Also, insert qotd template at top of post body, not the bottom.

lj.el (lj-qotd-quit): The lj-goto- commands set point, so no

need to set it explicitly.

* lj.el (lj-writers-block): Ditto.

Also, allow for a signature being present and don't delete it if

it is.

* lj.el (lj-version): Bump.


Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.28)

  • Add to Memories
  • Share
  • Link

Writer's Block: Toy box travesties

  • Jun. 25th, 2011 at 11:35 PM

What childhood toy did you desperately want that your parents refused to give you? Do you still think about getting one?

First question listed was submitted by [info]retropopbear. (Follow-up questions, if any, may have been added by LiveJournal.)

View 863 Answers

A teddy bear.

Do I still think about getting one? No. It didn't take too long to discover that there was no need… wives and girlfriends make much better bed companions.

Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.27)

  • Add to Memories
  • Share
  • Link

SXEmacs/LJ v1.27 is released

  • Jun. 25th, 2011 at 9:04 PM
sxelj, lj

Apparently Size DOES matter

So I was lazily flipping through the LJ API docs and I discovered that they impose limits on the maximum size of a post. I had no idea. Not only that, but there are also limits on the size of the subject header and other metadata fields as well.

This update adds code to SXEmacs/LJ that checks for these limits before you post. If you exceed the limits you'll get an error telling you what limit was exceeded, and by how much.

In other news

I had always intended SXEmacs/LJ to have its own abbrev table. I had gone as far as defining the table. I'd just left one thing off… I hadn't bloody turned on abbrev-mode in the LJ-Post buffer. Oops.

That's now fixed, so you can now define and use abbrevs to your heart's content.

Getting the code

Grab it via git…

git clone http://git.sxemacs.org/slh

The Gory Details

And here's the log


commit 7a47792891785ceeedc2676bee9c24ce36ca48a1
Author: Steve Youngs <steve@sxemacs.org>
Date: Sat Jun 25 20:10:07 2011 +1000

Impose size limits as per Livejournal API docs.

This patchset makes sure you don't exceed the limits on size that

Livejournal imposes on entries.

It also fixes a quick little bug to do with abbrevs… I kinda forgot

to turn them on.

* lj.el (lj-check-limits): New. Livejournals puts limits on the

length of posts and the headers etc. This ensures you don't

exceed them.

* lj.el (lj-post): Use it.

* lj.el (lj-mode): Turn on abbrev-mode.

* lj.el (lj-version): Bump.

Signed-off-by: Steve Youngs <steve@sxemacs.org>

Till next time...
Steve


Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.27)

  • Add to Memories
  • Share
  • Link