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".
https://bugzilla.mozilla.org/show_bug.cgi?id=336207
https://bugzilla.mozilla.org/show_bug.cgi?id=286499

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.
darkoshi: (Default)
I'm reading Terra Aluvis, volume 2 (pre-release), in German.

In a couple of places, it uses "seine" to refer to "das Mädchen". For example, "Das Mädchen blickte auf seine Hände". (And she's looking at her own hand, not someone else's). That sounds totally wrong to me. "Seine" is what you use for males. But "ihre" is what you use for females. Even if Mädchen is a neuter word as indicated by the "Das", "seine" still sounds totally wrong for it.

So I looked it up.
heisst es "das Mädchen und sein Bruder" oder "das Mädchen und ihr Bruder"

Based on the answers, "seine" is grammatically correct. But several of the replies (and they sound like native German speakers) reflect my own gut feeling, that it should be "ihr", ganz klar, NATÜRLICH.

And now I realize that German doesn't have a separate pronoun for "its". The same word "sein" is used for both "his" and "its". Yet I generally translate it as "his". So "Das Mädchen blickte auf seine Hände" sounds to me not like "The girl looked at its hands" (which is bad enough), but rather "The girl looked at his hands" which makes no sense, unless I imagine her as a gender-bending girl.

.

Another thing that has confused me is the use of Ihr/Euch/Eurer for 2nd person singular pronouns. Normally you use "Du" for friends/family, or "Sie" for strangers/politeness/formal situations. Ihr/Euch is the informal 2nd person plural, not singular. But in the book some of the characters are royalty or nobility, so this usage seems to correspond to the English royal we/majestic plural. Looking at the book again, now I see that it is always capitalized in the royal sense, but lower case in the 2nd person plural sense.
.

erbarmen - to arouse someone's pity; to take pity on; to have mercy on.

Erbarmen - mercy/pity

erbarmenswert - pitiable, wretched, pitiful

erbarmungslos - pitiless, merciless

erbarmungsvoll - compassionate, full of pity

erbärmlich - pitiful, wretched, terrible

Erbärmlichkeit - wretchedness, misery, awfulness, terribleness

barmherzig - compassionate

Barmherzigkeit - compassion, mercy

.

leiden - to suffer

Leiden - suffering, tribulation

Leidenschaft - passion

leidenschaftlich - passionate

leidenschaftslos - dispassionate

Leid - sorrow, grief; misfortune, harm.

leid tun - to be sorry

leidlich - reasonable, fair; more or less, so-so.

.

hervorragend, herausragend - outstanding

sagenhaft - incredible

zaghaft - timid

.

Umgehung (accent on 2nd syllable) - avoidance, circumvention, bypass

umgehen (transitive verb)(accent on 2nd syllable) - to avoid.

umgehen (intransitive verb)(accent on 1st syllable) - to walk around; to treat/handle something; ...

umgehend (accent on 1st syllable) - immediate; immediately. Etymology explained here
darkoshi: (Default)
I'm configuring my "new" laptop. 13 months after getting it, I've finally moved my files over to it, and started using it as my main computer. I realized I might never finish doing all those other things I wanted to do before moving the files, so finally just went ahead and did the move.

Now, I kept being logged out of LiveJournal, even though I was selecting the checkbox to stay logged in.

My Firefox configuration is set to delete cookies when I close the browser, but I had added an exception for http://livejournal.com. I added another exception for http://www.livejournal.com, but still kept being logged out. Looking at the cookies after logging in showed that they were still set to expire at the end of the session.

Finally, I tried adding an exception for https://livejournal.com. That did the trick. So even though the LiveJournal login page shows "http" in the URL bar, it must be using https behind the scenes.

I didn't have the same trouble with Dreamwidth, as I had added its exception using "https" to begin with, thinking that the Dreamwidth pages used https by default. But now I see that the Dreamwidth pages show "http" in the URL bar too. I must have configured my old laptop to redirect to https for Dreamwidth. Still need to do that here.

I don't see anything on Firefox's Cookies page to indicate whether a cookie was added via HTTP vs HTTPS. I wonder if there is any way to know which version of the URL you need to add as an exception, other than trial and error.
darkoshi: (Default)
Sunday evening I pulled out my old Sanyo clock radio/cassette player (model M1950F - like the one in this video except for my AM/FM switch being on the side instead of on the back). The LCD clock display was blank. The button battery had gone bad, leaked, and corroded the battery terminal. I hope to clean it up and get it working again. It - how does one say? - holds memories.

Monday evening after getting home, I found that the cable modem was dead. A couple months ago, while researching my slow internet speed, I had disconnected the coax cable from the UPS and connected the modem directly to the wall-plug. That didn't make a difference, but the speed issues eventually went away, and I forgot about the cable. There was a storm Monday, and a lightning strike must have caused a surge through the coax. All the power cords were plugged into the UPS, and the UPS was even turned off, so the surge couldn't have come in that way.

Luckily, I had already bought a replacement modem when I was having the other issues. So I hooked it up, and called my ISP to activate it. But its internet connection didn't work. Later I found out there was an outage in the area, likely from the same lightning strike.

Tuesday evening, I tried the modem again. The outage had been fixed, and the modem worked, including the internet. But when I hooked it up to the router, the router's internet didn't work. The router must have been damaged too, even though it was still partially working.

Wednesday, Qiao bought a new router and hooked it up. Then we discovered that the printer wouldn't even turn on. It had been connected by an ethernet cable to the router.

So the surge must have come in through the coax into the modem, out through the ethernet cable from the modem to the router, out through the ethernet cable from the router to the printer, and damaged all 3 of them.

Moral of the story: Always keep *all* the cables protected, not only the power cords.

Also this week, my work laptop's battery, which had been "nearing the end of its usable life", finally reached the end.
darkoshi: (Default)
Medicare Provider Utilization and Payment Data - a government site. It has spreadsheets which let you compare the amounts that hospitals charged for various procedures.

I downloaded the inpatient & outpatient spreadsheets, and used the Excel filter options to show data for 3 hospitals in my area - Palmetto Richland, Palmetto Baptist, and Providence.

The inpatient data is surprising to me. In nearly all cases where there is data for all 3 hospitals, Providence shows the lowest charges (Average Covered Charges - this is the amount an uninsured person would have to pay). Their charges are generally way less; in many cases less than half that charged by the other hospitals.

The outpatient data shows more variance - in some cases, Providence has higher charges (Average Estimated Submitted Charges), in some cases lower.

As for hospital ratings/quality of care, these pages provide some comparisons:
Medicare Hospital Compare
LeapFrogGroup Hospital Ratings

In general, Providence has good ratings, though in some cases, Palmetto Richland has better ratings.

I wonder why Providence is able to have lower inpatient charges. Palmetto Richland is the largest one, by number of beds. Maybe fewer uninsured people use Providence, compared to the others? Based on the below articles, that doesn't sound like the case, although it could change as the hospital was just sold this year (which I hadn't heard about til now).

Providence to be sold to for-profit hospital company
Providence will maintain its ties to the Catholic church through the bishop in Charleston and uphold church ethics and religious directives, including its ban on abortions, said Sister Judith Ann Karam, a congregational leader.

Trends, finances drove Providence Hospital sale

creeping clowns

Thursday, September 1st, 2016 10:34 pm
darkoshi: (Default)
This is the weirdest news story I've heard in quite a while.

Investigation continues in multi-county clown sightings

Multiple law enforcement agencies are investigating a rash of incidents involving clown sightings at apartment complexes and other areas of Greenville and Spartanburg counties. ...

According to an officer speaking on the news clip on that page (@ 3:40), there's even a state law that prohibits people over the age of 16 from dressing in clown outfits. "We will charge you. We really don't want to, but we will... We want to encourage people who may be inclined to dress in clown outfits not to do it." ...
"The clowning around needs to stop. It's illegal. It's dangerous. It's inappropriate."

At 9:25 he mentions it might be related to a movie release (what movie?).
darkoshi: (Default)
This is the LJ link for editing entries:
http://www.livejournal.com/editjournal.bml

I need to use that page occasionally, as edit links no longer show up for me by my LJ entries on the regular pages. It's probably due to my journal style being old or no longer supported, but it doesn't bother me enough to make me want to change the style because of it. Dreamwidth, where I post and edit most of my entries, doesn't have the problem. But due to spambots posting a lot of spam on some of the older entries on LiveJournal, I've been having to edit them to lock or disable the comments.

just another reason

Saturday, August 27th, 2016 11:54 am
darkoshi: (Default)
I suppose this "Facebook" tag is turning out to be a list of reasons why I don't like Facebook, and why I much prefer Dreamwidth and Livejournal.

From what I've read, your News feed doesn't necessary show all the things your friends have posted, nor necessarily in the order they posted them in. Facebook decides, based on its own algorithms, which posts by which people it thinks you'll be interested in, and shows you them.

From what I read, a way around that is to create custom friends lists, and to view those lists instead. Which had been working for me. But now it seems that whenever I look at my lists, it only shows posts for a short time period (one day apparently), and then shows "There are no more posts to show right now. Go to News Feed".

So if I want to catch up on everyone's posts, I have to go to each of their pages individually. What a hassle.

myao love

Saturday, August 27th, 2016 02:55 am
darkoshi: (Default)
For the music, not only for the cat:



Video title: Lilly nimmt ein Sonnenbad
Posted by: chocolat654
URL: https://www.youtube.com/watch?v=YptBDUlIgiM


This is a nice gentle song. I'm surprised the singer Amy Stroup doesn't have a Wikipedia page yet.



Video title: Amy Stroup "Hold Onto Hope Love"
Posted by: Music City Roots
URL: https://www.youtube.com/watch?v=ICYpXRPElfA


Here's the offical music video version.
darkoshi: (Default)
Why does Facebook sometimes email me when a friend has posted a comment on a non-friend's post, but it sometimes/often doesn't email me when a friend has posted an entry on their own timeline? I don't think there is a way of turning off the one type of notifications without turning them all off; am I right? But I may as well turn them all off as they aren't reliable anyway, due to the latter.

German words

Saturday, August 20th, 2016 02:07 pm
darkoshi: (Default)
Zweifel = doubt
bezweifelt = doubtful
verzweifelt = despairing, desperate, frantic

bedrückt = depressed (drucken = to press!)

schlummernd = slumbering
dösen = to doze (dösten = dozed)

Zwielicht = twilight
zwielichtig = shady (as in character)

innehalten (hielt inne) = to pause

gering = low, small, slight
geringer = less, lesser, smaller
geringerer = (komparativ. See: declensions)

schlicht = simple
schlichtweg = simply
darkoshi: (Default)
No More 404s! Resurrect dead web pages with new Firefox add-on

If you use NoScript or some other JavaScript blocker, you have to allow JavaScript for the archive.org website, for the above add-on to work.
darkoshi: (Default)
Just FYI. As of Firefox 48.0, for security reasons, add-ons will no longer work unless they've been verified/signed by Mozilla. This is done automatically for ones hosted on the Mozilla site, but for ones hosted on other sites, must be done manually by the developer. This is actually not a new thing - it has been the case since Firefox 43.0. But until now, users could override it by setting the "xpinstall.signatures.required" preference to false on the about:config page. Now, that preference is no longer supported - to avoid malware from being able to change the preference without the user's knowledge.

From what I understand, a side effect of this is that any add-on which as part of its functionality, changes the contents of its own folders, won't work either.
For example, the Change Profile's Window Icons add-on allowed the user to select a custom icon for Firefox browser windows, and copied the selected icon file to a subfolder, which allowed it to override the default Firefox icon. This allowed you to use different icons for different browser profiles. Now this add-on no longer works, although it can still be installed from the Mozilla site. The problem with this add-on doesn't happen after selecting a new icon, as I expected it would... The buttons in the add-on's options window don't even work anymore (probably due to some other issue), so you can't even select any icons.

As the above add-on no longer works, I created these 2 add-ons with static replacement icons, for me to use instead:
BrowserIconsBlue
BrowserIconsPink

omg, yum

Friday, August 12th, 2016 07:48 pm
darkoshi: (Default)
Goody Good Stuff - they have vegan cola-flavored gummies! Yes!!! (The "Cola Breeze" ones). I found them in a Winn Dixie store.

Destin, Florida

Friday, August 12th, 2016 03:48 pm
darkoshi: (Default)
Well, who would have thought that I'd be cold in Florida? It's cloudy weather in the 80s, with frequent interruptions of dark clouds and rainshowers. And some people like to keep the A/C way low. I had a nice stroll slosh run along the beach yesterday.

I wasn't sure if the Gulf of Mexico would have as big waves as other shores. It does, at least in this weather.

There are frogs and other critters here, making sounds at night which I'm not used to hearing by the seashore.

Driving through Georgia, we crossed a stream called "Ichawaynochaway Creek". How cool is that name?!

I suppose I should go shopping or something. Not just sit here on the couch watching season 2 of The Katering Show. I'll probably go to the ocean later again. I suppose if I don't feel like getting all wet, and possibly cold, and possibly sucked under by the waves, I could just sit in my beach chair and watch the ocean. (oh man, it sounds so useless, so pointless)

vegan frankfurters

Sunday, August 7th, 2016 06:31 pm
darkoshi: (Default)
These vegan Field Roast Frankfurters taste very good. They are very salty*, though. I think they'd work well cooked on a grill for a vegan cook-out, or sauteed, even though so far I've only had them microwaved.

The packaging is annoying. Each sausage is individually encased in a plastic film that you have to cut and peel off. So much work for a hot dog! I took the time to unpeel them all to begin with, and put them in a ziploc bag in the freezer, so that I could simply take them out whenever I wanted without all the work.

*If it weren't for that and the packaging, they'd be my new favorite. As it is, I suppose they're a tie with my other favorite, Yves hot dogs. For a while, I liked Tofurky Kielbasa the best, but over time I lost my taste for them, largely in part to them being so salty too. Which is odd, because in comparing them, the Kielbasa ones have the least percentage salt of the 3. My least favorite vegan dogs are the Lightlife ones; they seem bland to me.

Firefox Heartbeat

Sunday, August 7th, 2016 12:47 pm
darkoshi: (Default)
I'm getting a banner across the top of all my Firefox pages today: "Want to try something new in Firefox?" with a "Get it now" button, a "Learn More" link, and an "x" to close the banner.

The Learn More link states:
Heartbeat is User Voice in Firefox.

Heartbeat provides real-time understanding of our existing Desktop user population, allowing us to pivot more quickly based on the needs and desires of our users. Heartbeat ties user perception to technical information so we can take your feedback and feed that into future Firefox releases.


The Goals of the project are listed as including:
Reduce user frustration by increasing our visibility into pre-release versions of Firefox so we catch and fix bugs earlier

Respect users time and effort by doing minimally intrusive questioning. Small samples, long rest periods, and simple interactions. We want to collect Just Enough data to be useful.


So I started thinking, Great! You mean they might ask my opinion on new features, and use my response to improve the product?

But then I scrolled down, and it appears that all it does is let you provide an overall rating of Firefox, from 0 to 5 stars. WTF? And once you enter a rating, you get a set of fairly useless links. WTF? How is that supposed to reduce user frustration? How is that supposed to catch and fix bugs? Where is the "questioning" mentioned in the goals?

I suppose if they are getting average ratings of 4 one day, and after releasing a new version of the browser, the rating goes down to 3, that may give them a general indication that users are displeased with something. But still, that seems rather useless. Does that mean that if I'm suddenly displeased with something new, that I should give them 0 stars that day, just to impress upon them that I'm displeased? Otherwise, unless they've passed the tipping point to where I'd actually prefer another browser over Firefox, my overall rating would still have to be high, as otherwise I'd actually be using a different browser.

I guess I'll click "Get it now" just to see if it really only includes what that page shows, or if maybe there's more to it.

..

Update: I found a page where you can leave positive or negative feedback on Firefox - this may be more useful (or may at least *feel* more satisfying) than giving a star rating:
https://input.mozilla.org/en-US/feedback

Update 2: Well, it looks like there's more to it than star ratings.
A Smarter Firefox
Firefox Guide Study 1
darkoshi: (Default)
Frog song in thunderstorm. A lightning strike 37 seconds in, repeated in slow motion at the end of video.



Video title: Frogs, thunder and lightning
Posted by: Darkoshi
URL: https://www.youtube.com/watch?v=77r6Gzx332I

sunshine

Friday, July 29th, 2016 01:41 am
darkoshi: (Default)
Even in this 100+ degree weather, the dogs sometimes lay out in the sun as if it feels good.

Today Zorro did it again. At first I was going to tell her to go in the shade or come back inside with me. But then I thought, why not? and tried it myself for a few minutes. The sun was so bright, I had to shade my eyes with my arm. But it was very nice. Nice warm sun on my skin. Pretty green leaves rustling in the tree. Blue sky, white clouds.