darkoshi: (Default)
When I have something to add in regards to a post I've made previously (a few hours ago, or a few days, or even months), I'm not sure what's the best approach.

Often I simply update the old post, adding an "Update" section to it. That way if anyone finds the post from a websearch, they'll have all the details right there.

Sometimes I create a new post, and put my update there. That way, anyone on my list who read my original post will get the update on their reading page. I don't usually bother to update the old post to link to the new one... so unfortunately, anyone who finds the original post via a search won't get the whole story.

If the post was either very recent (such that maybe no one else read it yet), or a long time ago, I'm more likely to simply update the original post. If it was in-between but had no comments, I'm also likely to take this approach, as I suppose that none of my readers are very interested in the topic and wouldn't be interested in the update anyway.

If the post had comments/discussion, I may choose either option, but if I update the old post, I am more likely to at least mention and link to the update in a new post.

I've been making a lot of updates to recent posts lately.

What approach do the rest of you take?
darkoshi: (Default)
One thing that seems not to have been brought over during the times when I imported entries to my DW account from my LJ account, are the "memorable entries" or "memories". Ie., an indication of which entries I had flagged as memorable. On LJ, I had 5 posts tagged as memorable, but my DW profile shows 0 memories. So for anyone who is doing imports, I suggest you double-check that afterwards.

Last weekend, I deleted all my old entries from LJ using LJ-Sec. I wasn't able to delete them all at once - when I first tried, it gave an error about exceeding the posting limit for the hour. Then I used a work-around to do the deletes in smaller chunks. Even that way had issues, which I now realize may have been due to the LJ servers being overloaded, from all the other people who were using DW's importer at the same time.

(Or maybe LJ-SEC is just glitchy. While in the process of deleting my entries, I noticed that many protected posts were still there, even though I *thought* I had successfully deleted them all last month. That is similar to the issues I had last week - even when LJ-SEC didn't give errors, it wasn't deleting all of the selected entries. I had to delete LJ-SEC's User Data folder and refresh the entries, and try again multiple times until everything was finally gone.)

Based on the DW Stats page, there have been (holey-moley!) over 250,000 new DW accounts created between 2017-04-04 and 2017-04-14 (look at the "newbyday" values). There are now over 3 million DW accounts (look at the "size" values), although only about 1 in 20 of them (154,000) have been "active" in the last month (ergo, simply creating a new account isn't enough for it to be considered active).

Update, 2017/04/16: (See more info in comments.) It turns out those account numbers include OpenID ones automatically created when importing comments, so the actually number of personal accounts is much less. This other DW stats page lists the total number of personal accounts now at 726,000, of which 164,000 have been active in the last month. I didn't find anything showing how many new personal accounts have been created in the last 2 weeks.


After doing the deletes, my LJ profile still showed 5 memories, along with broken links. I had to do a separate step to delete the broken links. It didn't occur to me to take notes on which entries those had been. But I do still have a clue, based on what I had tagged them by, as that is one thing I had saved to my notes. So I can probably find them again if I want to.

Edited to Add:
I just realized why memories may not be automatically brought over as part of an import. I see now that you can also mark other people's posts as memorable, not only your own. Obviously, an import deals with your own posts, not other people's posts, so even if there was functionality for copying memories, it would need to be limited to your own posts. Or it would need to support pointing to external URLs, which could be a problem.
darkoshi: (Default)
I got my taxes done.

I made a pie with a chocolate filling. It's somewhat gooey, not what I was expecting from the photo on the box. But it's actually good, even though it also tastes oddly like it contains grape syrup mixed in with the chocolate. Based on the ingredients list, I can't imagine why. It contains alkalized cocoa, and the link I posted before indicates that the non-alkalized sort is the kind that's more likely to taste "fruity".

I also made some Waldmeister Goetterspeise which is a German jello with a unique flavor not found in the U.S. My aunt used to make it for me as a kid (with vanilla sauce on top!), and I still like it. The flavor isn't as intense as I remembered though.

I trimmed my hair a bit. It was tickling the back of my neck too much a few days ago. My torso gets itchy sometimes. When I scratch, the skin gets pinkish red, and small itchy bumps, widely scattered, appear. When I stop scratching, it goes away. I haven't figured out a cause. It's been happening for a few years now. (Of course, having written "torso" there, now a few spots on my arms and legs started itching.)

I'm over my cold, but still have a lot of phlegm. That always used to be the one of the worst parts of a cold, the weeks and weeks of snot that would only slowly diminish back to normal levels. So I did neti today for the first time in possibly 5 years. I stopped using neti around then, after reading warnings against doing neti with unsterile tap water. Well, I used tap water today, like I used to. Anything else is too much trouble. But after reading the warnings again, I may forgo the whole thing for another 5 years.

I used LJSec to delete my old protected posts from LJ, as that was something that had been on my to-do list for a while. There may not be much point in having done it, but at least it is off my list now. First, I did another import of all entries & comments from LJ over to DW, as well as a few backups of both my LJ and DW (with LJArchive), to make sure I wouldn't lose anything. The only problem with LJArchive is that imported comments don't show up with the user's LJ name like it does on the Dreamwidth pages, but rather with a generic ext_#### ID. If I have time someday, I'd like to see if I can update the utility to fix that.

A few weeks ago, I cancelled my Netflix subscription, as I was using it so rarely. Qiao has another Netflix account anyway, which I can use when I want to. He also has an Amazon Prime account for watching videos.

Last week at work, I was able to find the cause of another problem, and fix it. Well, I probably fixed more than one problem, but the last one is the one I remember. It gives me such a rush, a good feeling, being able to discover what obscure thing is making the code not work right and how to fix it, when I still don't even understand what half of the rest of the code is meant to do. I was thinking, I've been working on this same general code base, though it has undergone many transfigurations, for the past 22 years. I could spend my whole *life* working on it, and I still wouldn't understand it all, especially because it is constantly being changed. That made me think for a moment that maybe I should leave this job, just so that *whole life* part wouldn't come true. Eh. But whatever, this code or some other code, what difference. Hmm. Coming up on the end of the quarter. Wonder if they will have layoffs.
darkoshi: (Default)
My main journal is at darkoshi.dreamwidth.org. I switched from LiveJournal to Dreamwidth in 2011, but still cross-post to LJ. As of 2017, I no longer cross-post protected entries here; those are now only available on DW (so if you want access to that kind of stuff, try friending me there). I've also disabled comments on my LiveJournal cross-posts, so that all comments will be in one place.

If you don't have a Dreamwidth account and don't want to create one, you can still leave comments. The crosspost footer at the bottom of each post links to the corresponding DW page, where comments can be left.

Anonymous comments are allowed (but unless you really want to be anonymous, please include a name/nick in the comment so I'll know who it is from). In case I start getting spam, I may screen anonymous comments, but so far haven't had to do that.

You can also use the OpenID option to post comments on DW with your LJ user ID. You can even get email notifications when someone replies to your OpenID comments. For that, you have to actually "login" to DW one time with your LJ URL via the OpenID login option - from there, you'll be able to set your email address. You won't get the option for setting an email address, simply by posting a comment with OpenID.

From the DW OpenID FAQ:
When you log into Dreamwidth using your OpenID identity, LiveJournal will ask you if it can "pass your credentials" to Dreamwidth. Saying yes will not give Dreamwidth any access to your LiveJournal account. It will only let LiveJournal confirm to Dreamwidth that you do control the address you entered. This is why you need to be logged into LiveJournal to log into Dreamwidth with your OpenID identity: LiveJournal handles the authentication, and then tells Dreamwidth whether it succeeded or failed.

The first time you log into Dreamwidth using your identity from another site, you'll need to set and confirm your email address for use on the Dreamwidth site in order to be able to comment everywhere that allows OpenID comments and in order to receive emailed notifications of replies to your comments.

From the LJ OpenID FAQ:
Every LiveJournal account can be used as an OpenID identity. When the other site asks for your OpenID URL, use http://[your LJ URL].livejournal.com. You will then be redirected to LiveJournal, where you will be asked whether LiveJournal should identify you to the other site. You will also be asked to choose whether this identification should be given once only, or automatically.

The LJ FAQ also mentions a possible issue using OpenID, if your journal uses a custom style, and how to fix it.


Ever since I started crossposting from DW to LJ, my crosspost footer has always requested that comments be left on the DW page, but I didn't disable the LJ comments till now. Very few, if any, LJ users ever did comment on DW. I'm not sure if people don't bother reading the footer, or if they specifically don't want to comment on DW. But because of that, I know there's a good possibility that I may no longer get any comments from any LJ users. I will regret that, but let's see how it goes.
darkoshi: (Default)
(info originally via someone else)

There's a flood of new Dreamwidth accounts being created:

Which is likely due to the LiveJournal servers having been moved from California to Russia during the last week:

Meaning that Russian authorities now have much easier access to user data, and are blocking many accounts:



I've also had problems loading certain LJ pages, especially ones that use the default style. For example, the comments don't display, the drop-down list by my username at the top-right part of the page doesn't work, and on Profile pages, the Bio & Interest sections are blank. Oddly, this is only happening to me when logged in. When I log out, those same pages display ok. So I'm not sure if that is due to server issues or something else.

I am seriously considering no longer cross-posting protected entries to LJ. If you are currently only on my LJ Friends-list, and if you create a Dreamwidth account, let me know and I'll give it access.

By the way, if you use Firefox and want an add-on for translating selected text and/or full web pages (including Russian), I recommend this one - it works pretty good for me:
darkoshi: (Default)
Yesterday while trying to get my LJ login to persist, I accidentally deleted all cookies. And now today it was Dreamwidth that kept logging me out! Even though I didn't change my Dreamwidth exception, which was working before.

Obviously I didn't completely understand how the cookie exceptions work, so I read up on them, and did some more testing.

Cookie settings - from http://blog.teamtreehouse.com/how-to-create-totally-secure-cookies :

Path: The default value of “/” means every request will get the cookie, while “/forums/” would limit the cookie to just that path.

Domain: Setting “www.example.com” will mean only the exact domain “www.example.com” will be matched, while “.example.com” will also match again any subdomain (forums.example.com, blog.example.com).

Secure: tells the browser (or other http clients) to only send the cookie over SSL connections.

HttpOnly: tells the browser that it should not allow JavaScript to access the contents of the cookie. This is primarily a defense against cross site scripting.

(so apparently "HttpOnly" has nothing to do with HTTP vs HTTPS, but "Secure" does.)

The DW cookies have Path = "/", Domain = ".dreamwidth.org", HttpOnly = true, Send for = "any type of connection" (which must mean Secure=false). So the cookies are sent from the browser to the DW server when any DW page on any subdomain is opened, and for both http and https.

But the Exceptions are what control how long the cookies are stored.

Based on the following pages, you don't have to enter subdomains (and you shouldn't use wildcards) in the URLs for Exceptions - all subdomains are included by default. Ie. "yahoo.com" includes "mail.yahoo.com".

Based on my testing, HTTP and HTTPS exceptions are mutually exclusive. Adding an "http://" exception will only work on pages using HTTP. Adding an "https://" exception will only work on pages using HTTPS. So if you've set your cookies to be deleted when closing the browser, but you want your "ljloggedin" cookie to persist whether you've logging in from an HTTP *or* an HTTPS dreamwidth page, you need to have "Allow" exceptions for both "http://dreamwidth.org" and "https://dreamwidth.org". Whereas if you are careful to only login from the HTTPS pages, you should only need the latter.

subs and comments

Thursday, January 7th, 2016 02:22 am
darkoshi: (Default)
I'm not sure what to make of this account: [personal profile] noamziko. They subscribed to me in March 2014, and at the time I thought was a spam account and ignored it. The posts are all in Hebrew.

At first I thought the account had only 3 posts total, but now I see that it has 34 visible posts going back to May 2013, even though it only shows 3 posts per page. When I translate the posts, they sound real, and not like spam.

But the account has only 3 subscriptions, no subscribers, and no comments that I can see. Why would someone from Israel who writes in Hebrew and has never commented on my journal, have subscribed to me?

What would any of you make of it?

Noamziko, if you are really reading this, hello and feel free to post a comment in any language.


In other news, I used the Import Journal function to import my LJ comments to my DW entries. It appears to have worked fine. Now I will use LJArchive again, to save a copy of my journal including both the DW and LJ comments.

data security things

Tuesday, July 28th, 2015 10:37 pm
darkoshi: (Default)
I've generally felt that access-locked posts on DW and LJ were fairly secure. But it occurred to me recently that unless you use https to submit your post, it is still sent unencrypted over the internet. Whenever someone in your access list reads it, unless they are using https, it is also sent unencrypted. Therefore, anyone sniffing traffic could potentially capture the text and read it. I should check whether DW and LJ fully support https now; the last times I checked it, it was only partially supported.

I suppose posts are also stored unencrypted on the servers, so that they might be vulnerable to hacking. This DW news post from 2010 seems to indicate so. I guess it would be hard to encrypt posts, considering that they need to be visible not only to the author, but also to anyone the author gives access to.


Because Thunderbird always prompts me for a password when I bring it up, I've had a vague feeling that my email was secure. That's silly, as I know that when I cancel the password prompt a few times, I can read mail that's already been downloaded; only new mail won't be downloaded. I was also under the mistaken impression that the mail was at least stored in encrypted form on my hard drive (though obviously, there's no point in that, as one can simply open Thunderbird and read it from there).


I hadn't realized that the original TrueCrypt project had shut down last year, until reading about it on the above linked Thunderbird page. The circumstances around the shut down sound quite suspicious (even though they might not be). It makes me start thinking of all kinds of possible subterfuge and conspiracies. Even regarding the audit that was done on the code, which as pointed out by one of the comments on that page, was limited in scope.

I never did get around to installing and using TrueCrypt myself. It's been one of those things I'd always wanted to do, sort of, if I had more time.
darkoshi: (Default)
It just occurred to me to wonder, where does the name "dreamwidth" come from, and what does it mean? The width of a dream - what is that? Dreams don't have sizes. Or is that actually what it refers to... since dreams are sizeless, the width of a dream is boundless? Boundless dreams?

embed issues

Sunday, October 5th, 2014 01:18 pm
darkoshi: (Default)
Note to Self:

When embedding content (such as a YouTube video) in a post, remember to also include the direct URL to the content (such as the video URL) in the post.

Otherwise, when I save or export my entries, the direct URL does not get saved; only an embed id gets saved.


In the past, I've had problems where the embeds got messed up - old posts were showing the wrong videos. That may have happened when I copied my entries from LJ to DW, or maybe it was later on. I went back and fixed them all. Having the direct URLs in the posts would have made the process easier.

Today I have another problem with the embeds. I back up my journal in a few different ways. One way is with LJArchive - LJArchive doesn't display anything for embeds. Another way is by simply saving the HTML pages every once in a while. Today when opening those previously-saved HTML pages, I found that they no longer display right. Instead of displaying the entries with the embeds included, they show nothing but a single embed, in giant size, so that I can't even easily tell which post it is from.

If I edit the HTML to change all "iframe" to "iframex", then I can at least see the other posts correctly again.

In Dreamwidth, when I click to edit a post, it still shows the direct URL to the embedded content. I wish that part would be included when saving the HTML page, and when doing an export via LJArchive.

I suppose rather than using the "HTML only" option when saving the pages, I should start using the "Web page, complete" option. That will hopefully avoid the problem in the future even if Dreamwidth changes how their embeds are handled again.
darkoshi: (Default)
While checking my browser cookies, I noticed some curious ones named __utma, __utmb, __utmv, etc., from a few LiveJournal and Dreamwidth domains. It turns out they are a part of Google Analytics, which can be used to track visitor traffic to your websites.

Apparently, blocking cookies from google.com doesn't block these cookies, as they belong to your website, not to google's website. I wonder whether blocking Javascript from the Google-Analytics website (which I've had NoScript set to do) disables the tracking information from being collected, or not. In my browser, I generally don't enable Javascript from that site.

Both Dreamwidth and LiveJournal support the use of Google Analytics.

So I figured I'd set up a Google Analytics account to use with my journals, to see what kind of info it generates. But it's likely I won't be checking it very often, because...

This reminded me that I hadn't checked the boingdragon counter info for my website in a very long time (a year and a half, it turns out). So today I checked it.

The Curses page remains my most popular one. A year and a half ago, it was getting around 10 hits a day. Now it's getting more than 40 a day.
darkoshi: (Default)
This explains why my HTML and CSS tags weren't working right on the Dreamwidth profile page.

To maximize cross-browser compatibility and make the site more accessible for people with disabilities, we use CSS (Cascading Style Sheets) to strip all browser default styling from many HTML tags on site-skinned pages.

The default CSS used on the page seems to override any non-CSS formatting attributes which you might include, and if you include any CSS "style" attributes, they get stripped out.

That said, if you include an "img" tag with class="profile", it will use these CSS settings:

.profile {
float: left;
margin-right: 70px;

thereby letting your text float to the right of the image, with a padding of 70 pixels between them.

On a rather unrelated note, here are some interesting floating staircases.

test post

Saturday, January 7th, 2012 11:35 pm
darkoshi: (Default)
Testing a new Crosspost footer.
This is only a test. You may continue with your regular activities.


Sunday, February 6th, 2011 05:29 pm
darkoshi: (Default)
I'm planning to switch over to using Dreamwidth as my main journal. I'll still be crossposting entries to LiveJournal. Entry comments can be left on either site. If you have a Dreamwidth account, feel free to add me.

I'll see how it goes.
darkoshi: (Default)
Just to remind me...

From Dreamwidth memo:
The big improvement this week that people should notice: the crossposter
will now recognize custom friend groups on the remote site. Previously, if
you posted an entry filtered to a custom access group, it would post as a
private entry on the remote site; now, if you post to a custom access group
on Dreamwidth, it will post to the custom friend group on the remote site.
The two groups need to have exactly the same name for this to work; if the
names don't match exactly, the post will still default to private on the
remote site.

Dreamwidth Import

Thursday, May 1st, 2003 06:42 pm
darkoshi: (Default)
The subsequent entries between May 8, 2003 and Feb 6, 2011, were originally posted to my LiveJournal account.

As of Feb 6, 2011, I've been posting all new entries to this Dreamwidth account, although I've still been crossposting them to LiveJournal.

As of June 23, 2011, I've imported all my old LiveJournal entries, tags, and comments to this Dreamwidth account, so that both my old and new posts are now available on Dreamwidth.