Monday, August 30, 2010

words

Here are some words I would like to remember. They will be very useful in my everyday conversation, I'm sure

Ouroboros:
[Wikipedia]

Epiplectic: punishing, chastising, shaming
fantods: [from the slang dictionary:]

screaming fantods definition


and (howling) fantods
n.
extreme anxiety; nervous hysteria. (Old. One might call this vintage literary mock colloquial, since it survives in the works of well-known writers and occasional literary use. The origin is unknown, but the Oxford English Dictionary lists Fantad with the same meaning, and cautiously suggests that is related to fantasy and similar words containing fan.)
[Edward Gorey House Store]

Monday, April 26, 2010

not much to see here

i like that the phrase "fair and balanced" can only be used sarcastically now. that is all.

doctorbs (the b is for brainz, not bargain)

There's an article in the NYTM written by a psychiatrist about his transition from asking a checklist of questions and then prescribing the drug most likely to work to sometimes talking to his patients some: Mind Over Meds. He frames this as combining psychotherapy with psychiatry, as if the therapeutic talking is the main advantage. In fact, his anecdote points to what I, in my personal experience, have felt is the main problem with psychiatric treatment. Many non-severe mental illnesses are vague and nebulous, and I think there are more flavors of things like depression than psychiatrists have acknowledged. The questions one is asked when diagnosing depression -- how often are you depressed, how depressed are you (scale of 1 to 5, please), are you ever depressed for weeks at a time, do you ever have suicidal thoughts -- are hard to answer honestly and accurately. I don't know how to quantify exactly how depressed I was on an hourly basis over the past year. I do know that I feel inconsolably bad sometimes and I want to not feel that way, and I also know the answers to the checklist of questions that will result in the classification of depressed enough to warrant medication but not so depressed as to require hospitalization. I do not know that I want medication, but I do want some treatment, and medication is a treatment and maybe it will work. I don't know how non-me people feel, or would feel in my environment, so how can I tell if my mood is above or below average, and exactly how many standard deviations from average it is? This is a long-winded way of me saying that I think the problem with psychiatry is that (a) we don't know what is going on with the brain and (b) the checklist of questions is a total oversimplification of the diagnosis process. So I agree with the author, the psychiatrist should talk to his patients, in order to diagnose their problems better than a look-up table of answers to ambiguous questions. I've been to therapists as well as psychiatrists, and I've found the advice of therapists rather useless. The whole trying to rethink things does not work, as far as I can tell. I think my problem with it is that this type of therapy is suggesting that I consciously decide to perceive the world or whatever in a different way. I can conceive of other ways to perceive the world all on my own, but I can't perceive things differently. That's some kind of double-think thing they want me to do, and I don't appear to be capable of double-think yet. Perhaps I need a visit to Room 101. Anyways, therapy does not seem to work for me. But, it would have been nice to have a psychiatrist really try to figure out what my symptoms are.


[Image credit: Paleofuture]

Saturday, April 24, 2010

High Violet by The National Streaming on the NYTM

The NYT Magazine is streaming The National's new album High Violet here. Don't read the comments, though. They make me feel like this guy.

getting root access to your ubuntu machine

 

so somehow i have managed to mess up sudo twice on my ubuntu desktop when trying to fix other problems, and i don't have the root password. here are instructions for gaining root access to your ubuntu machine (tailored to karmic, which works slightly differently than previous releases). these instructions of course require physical access to the machine so that you can do things like view the grub menu.
  1. Reboot the machine. 
  2. Hold down SHIFT during boot to see the boot menu (this is new in single-boot karmic). 
  3. Press ESC at the grub prompt. 
  4. Press e for edit. 
  5. To the line that begins "linux ..." add:
        rw init=/bin/bash
  6. Press Enter. 
  7. Press b to boot. 
  8. System will boot to a passwordless root shell. 
  9. Do what you need to do as root. 
  10. Reboot.

Sunday, March 14, 2010

Heavy-tailed vs long-tailed


Fernanda Viégas and Martin Wattenberg’s “Flickr Flow”

The other day (and I really mean like the other day cuz it was quite some time ago (does the more you emphasize the other day make the other day farther back in time?)) Kyle corrected me on my probability jargon -- I said that ... something ... was a heavy-tailed distribution and he corrected me that it was in fact a long-tailed distribution. Oh, I remember what it was. We watched (most) of Anvil: The Story of Anvil and were discussing how they could make money selling CDs/mp3s on the internet but probably not have big tours, cuzza the heavy/long-tailed distribution of musical tastes. Anyways, yeah, so the "it takes all kinds" idea -- is that heavy-tailed or long-tailed?

According to Wikipedia, that definitive source, a long-tailed distribution is a special case of a heavy-tailed distribution. A heavy-tailed distribution is any distribution whose tail(s) are not exponentially bounded, or
That is, we look really far to the side of a distribution (x ∞), and consider the probability that we will see a value even more extreme than this value for this distribution and for the exponential distribution. The distribution is heavy-tailed if the probability of an extreme event is much larger for this distribution than for the exponential distribution (the ratio is ∞ as x ∞).

For long-tailed distributions, the requirement is more extreme:
for all t > 0. That is, for large x, the if you're going to see something bigger than x, then you're going to see something much bigger than x.

So the commonly discussed "long-tail" distribution is the power law distribution,
with tail distribution
for α > 1.
So does the long-tailed condition hold? Well,
which indeed has a limit of 1 as x → ∞. So, indeed, the power law distribution is long-tailed.

Now, there is the question of whether Kyle was right/more exact than me. If all we're talking about is power-law distributions, then I suppose he is. Let me just emphasize that we are both technically correct, but he is more exact. According to Wikipedia (All hail Wikipedia!) there are distributions which are heavy-tailed and not long-tailed. I suppose the question is whether people in pop science are referring to these, and I suppose the answer is probably no.

“Fury said to
        a mouse, That
          he met in the
            house, Let
              us both go
                to law: I
                  will prose—
                    cute you.—
                  Come I’ll
                take no
              denial: We
            must have
          the trial;
        For really
      this morning
    I’ve
  nothing
  to do.
   Said the
    mouse to
     the cur,
      ’Such a
        trial, dear
          sir. With
            no jury
             or judge,
              would
             be wasting
            our
          breath.’
       ’I’ll be
      judge,
     I’ll be
    jury,’
   said
  cunning
   old
    Fury:
     ’I’ll
        try
          the
            whole
              cause,
                and
               condemn
             you to
          death.’”
Alice in Wonderland, Lewis Carroll

Thursday, March 4, 2010

Wednesday, February 17, 2010

sand bubbler crabs



These things were all over the beaches in Ko Samet: Sand Bubbler Crabs. They are tiny little white crabs that peak in and out of burrows in the sand. At low tide, they are constantly rolling little balls of sand. I could not figure out what they were doing. At first we thought they were the by-products of digging their burrows, but then I saw that they were rolling many balls in a row while on the sand, not throwing them out from the burrow. Then, I thought that they must be like putting eggs in the balls or something, like maybe using the sand as a deterrent for other animals eating their eggs. It looked to me like they were excreting something and then the balls would form. Turns out that in fact they are sifting through the sand to find food, and this ends up with them making these balls (watch the video linked here). Anyways, the little balls make weird patterns on the beach. At night, it looked to me like the balls had been gathered together to form little igloos above the burrows, but I couldn't be sure. It was rather dark.


Photo credit: Stewf

while everyone is upset about google and privacy ...

I've been having issues with Google Chat for years. My issue is that I see people I don't want to see in Google Chat, and I'm pretty sure that people I don't want to see me can see me. Here are the settings I have for Chat:

Notice that I have checked "Only allow people that I've explicitly approved to chat with me and see when I'm online".

For each contact, the options for the "Show in Chat List" feature are "Auto", "Always", "Never", or "Block". For the contact "XXXXXXXXXXXX" below, I have selected "Never", and yet this person always shows up in my chat list anyways:

I get the same results with "Block" as well. Google Help tells me that the people who can see whether I'm online are those I can see, so I assume this means that random people I have exchanged emails with can see when I'm online?

Saturday, January 23, 2010

xword faxtx: toadfish

Today, my crossword puzzle taught me that there is such a thing as a TOADFISH. All I know about them is that they are "grunting, slimy-skinned swimmer[s]" and they are uuuhuuuhhuuuggggly:


Wikipedia


Encyclopedia Brittanica



Science Friday

Friday, January 22, 2010

rain

Rain is still a somewhat foreign concept to me, as I live in southern California (for another week, anyways!). I did live in Boston for a few years as a semi-adult, but I seem to have blocked those years out rather successfully. Anyways, it is raining here! Rain! For like a week! Can you imagine it? I've basically had enough of the rain, but it is still kind of interesting. Here are some things I can tell you about rain.
  • It makes a nice sound when it falls on your umbrella.
  • When you walk under trees, there is both more and less of this nice sound -- less drops, but the drops that fall are big and startling. The bottoms of tree trunks don't get very wet.
  • Umbrellas work when it is not too windy! They are ineffective in Boston.
  • Rain makes the slight curves and slants of everything super-evident. There will be torrential rivers in some places. You do not want to walk in these places. Sometimes these places are hard to see in the dark. Especially when you are almost to your destination and not paying as good attention.
  • Boots are a pain to wear, but it is nice not to have wet feet. The best solution is to carry a pair of flip-flops in your bag, wear the boots while walking outside, and then change into the flip-flops when you get inside. You would think that wearing flip-flops in the rain would be okay, but the problem is that the cuffs of your pants will get wet, and this is extremely unpleasant.
  • Wet pant cuffs and wet shoes and wet socks are the worst.
  • The only part of your body that cannot be protected from the rain is the upper part of your legs. These are called your thighs, I suppose. Chickens also have thighs.
  • Things that should not get wet in your backpack (like your laptop) should be put inside a plastic bag inside your backpack. Your backpack provides only a thin layer of protection.
  • It is often cold when it rains. It would be nicer if it was warmer.
  • Walking to school is an adventure in the rain.
  • I hope it stops raining before I have to move. I bet it would suck to move in the rain.

Friday, January 15, 2010

use gunzip to uncompress a file to a different location


Here is how:

gunzip -c myfile.gz > newdir/mynewfile

More info:

If you use gunzip to uncompress a file, it will by default replace the old .gz file with a new uncompressed version of the original file name. If you want to rename or move the file, this may be an issue. For me, I wanted to uncompress a file that is on an external hard drive and store the uncompressed version on a different external hard drive. The -c option sends output to stdout and does not remove the original .gz file. Then, the uncompressed data is piped to file with the > part of the command.
[Image by Hayv Kahraman, from A Journey Round My Skull]

Tuesday, January 12, 2010

why aren't my videos playing in powerpoint?


New Powerpoint-video-embedding tip: I've just figured out why some of my videos were refusing to play in Powerpoint. Here are the original symptoms. The videos were encoded with Xvid (using VirtualDub). Other videos encoded in exactly the same way were playing. If I uncompressed the videos (i.e. converted to uncompressed BGR format or whatever it is called), the videos would play in Powerpoint. Here was the problem: apparently Powerpoint didn't like the names of the videos. They were too long or something. Of course, the names were the same for the uncompressed versions, so apparently the names were too long to use the Xvid codec with Powerpoint? I don't know.

[Picture by Alexander Alexeieff, from A Journey Around My Skull]

Thursday, January 7, 2010

hot stuff coming thru ... 2010!

Here are some stuffs that I have liked recently.
  • 70-minute review of why the Phantom Menace is so bad.

    I have seen most of this review at least twice while various members of my family watched it at my recommendation. It is very correct.

  • Some guy pretends to be a 1920's reporter named Scoops Callahan and asks professional athletes silly questions at press conferences.

    I think only Eli comes off looking stupid.

  • Lots of goats in a tree. More goats than I expected (before seeing this video, I would have expected to always see zero goats in a tree).


  • Hipster Runoff: The Most Authentic/Relevant/Successful Artists of the Decade (The Best Albums/MP3s/Songs/Artists/Bands/Humans of the Decade). This is quite the stream of consciousness on what we like and why we like it and why we think we like it and what we like we like and why we like to tell others what is hot stuff with a hatpin. For the aughts. Yeah.


Wednesday, January 6, 2010

Xvid encoding restrictions

I spent some time just now trying to figure out why I couldn't get VirtualDub to compress a video using the Xvid codec. The issue apparently was that the frame width and height had to be a multiple of 4 (maybe only 2, I just tried 4). This is not listed in the video format restrictions, and I feel like this used to not be the case, but also that at some point it was the case, or maybe that was just for Divx. Who knows? Anyways, if you are trying to compress a video with VirtualDub and are getting the error:
VirtualDub cannot start video compression:
An unknown error occurred (may be corrupt data)
(error code -100)
try resizing your video to be multiples of 4.

Tuesday, January 5, 2010

milkcicle

Here is a milk-cicle that formed in my fridge because our milk container came with a tiny hole somewhere in the bottom.

Saturday, January 2, 2010

segways

I am thankful that we don't live in a world in which Segways are popular.

Friday, January 1, 2010

What is the opposite of a miracle?

Do you know a word that means the direct opposite of a miracle? Like a divinely inspired terrible thing? A plague? A curse? Not quite, right? Anyways, we need that word.