Home
friends [entries|archive|friends|userinfo]
Edward O'Connor

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| Blog Tumblelog Lifestream ]

links for 2009-07-14 [Jul. 14th, 2009|03:01 am]

crasch
[Tags|]

Original: craschworks - comments

LinkLeave a comment

going to the zoo, what about you? [Jul. 14th, 2009|12:36 am]

zare_k
[Tags|, ]

Last Friday we took [info]valdelane's mom to the night zoo for her birthday. I took a few pictures.

Is this bird's hat not excellent?
LinkLeave a comment

encounters with alphas...from the woman's side. [Jul. 13th, 2009|11:54 pm]

patrissimo
[Tags|]

How is it that us women have the unique ability, (similar to that of a cruise missile) to find, attract and date the only emotionally/physically unavailable man in the entire dating market?
...
We pick men who (deep down we know) are emotionally/physically/in some form unavailable to date or commit to us in any way.

Why do we pick these men? Because they are safe. Because we tell ourselves, "hey I can be totally vulnerable and open with this guy, because it ain't going to go anywhere".

So you flirt, act normal, have no inhibitions and feel completely cool, collected and comfortable. What you are in fact doing; is digging your own grave.

Why? Because you are opening yourself up to a man .. who has the emotionally availability of a toothbrush.

But because you are being so open and vulnerable, it allows for the development of a spark of forbidden undeniable attraction.
From "Why Do You Attract Emotionally Unavaliable Men?" (sic).

Because they are safe? No, it's because their behavior signaled high status in the evolutionary environment.
Link2 comments|Leave a comment

Rattner Hits The Eject Button [Jul. 14th, 2009|12:30 am]

john_j_enright
Car czar resigns.
I'm feeling sorrow.

Now who will design
the car of tomorrow?
LinkLeave a comment

How to create <abbr title="Embedded Open [Jul. 13th, 2009|08:27 pm]
hober_feed

CSS3’s fonts module contains @font-face, an easy-to-use mechanism for using custom fonts on web pages. It’s ready to use in all major browsers, except for their differences in font file format support. Linking directly to OpenType or TrueType fonts in your @font-face rules only works in non-IE browsers. You have to serve Microsoft’s proprietary EOT format to IE.

Microsoft provides a tool called WEFT for creating such files. While WEFT might be sufficient for many users, Windows plays no role in my web development toolchain (with the exception of VMs for IE testing, of course). And, frankly, I’ve found WEFT’s GUI to be confusing and unusable. I need to be able to create EOT files under sensible operating systems like, say, FreeBSD.

If you have TrueType (.ttf) files for your desired font, you can use ttf2eot—a simple command-line tool, whose code was extracted from Google Chrome—to generate EOT files. Kudos to Truex for alerting me to this tool. A simple make in the ttf2eot directory will generate the ttf2eot executable, which can be used like so:

$ ttf2eot < Foo.ttf > Foo.eot

Things are a bit more complicated if you have OpenType (.otf), not TrueType files. You’ll first have to convert them to TrueType. Fortunately, FontForge can do this. On FreeBSD, this is a simple install from ports:

$ cd /usr/ports/print/fontforge ; sudo make install clean

On Mac OS X, you can install it from MacPorts like so (or at least you will be able to, when bug #20085 is fixed):

$ sudo port install fontforge

Once you’ve got FontForge installed, create the following script (happily borrowed from the FontForge Scripting Tutorial). Call it convert.pe, make it executable, and drop it in your PATH somewhere.

#!/usr/bin/env fontforge
Open($1)
Generate($1:r + ".ttf")

Now, to create Foo.ttf, you should be able to run the following command:

$ convert.pe Foo.otf

You can automate all of the above steps with GNU Make like so:

%.eot: %.ttf
	ttf2eot < $< > $@

%.ttf: %.otf
	convert.pe $<

You’re now equipped to use any font (whose license permits embedding with @font-face) on your website, in an automated fashion, in all major browsers.

Well, that’s slightly overstating it. There’s a catch. Actually, there are two catches. As describd in beautiful fonts with @font-face, Internet Explorer only recognizes the font-family and src descriptors within @font-face rules, so each family can only contain a single face. So you won’t be able to simultaneously use the regular, bold, and italic variants of the same face on the same page, like you can with WEFT. Also, you can’t just put a url(foo.eot) rule in your existing src setting. It doesn’t understand format() hints and will ignore any @font-face rule containing these hints. (Emphasis mine.) You have to use a separate @font-face rule for IE. At the end of the day, your CSS will look something like this:

/* For IE */

@font-face {
  font-family: "Foo";
  src: url(Foo.eot);
}

/* Other browsers */

@font-face {
  font-family: "Foo";
  src: local('Foo'),
       url(Foo.otf) format("opentype");
}

@font-face {
  font-family: "Foo";
  src: local('Foo Bold'),
       url(FooBold.otf) format("opentype");
  font-weight: bold;
}

@font-face {
  font-family: "Foo";
  src: local('Foo Italic'),
       url(FooItalic.otf) format("opentype");
  font-style: italic;
}

@font-face {
  font-family: "Foo";
  src: local('Foo Bold Italic'),
       url(FooBoldItalic.otf) format("opentype");
  font-weight: bold;
  font-style: italic;
}
LinkLeave a comment

For poker players: Charity Poker Tournament Poll [Jul. 13th, 2009|08:29 pm]

patrissimo
[Tags|, , ]

This poll is for a charity poker tournament we may put on at as part of an Ephemerisle fundraiser next month. Please answer it based on how you'd feel about any charity poker tournament for a non-profit cause you were interested in, whether or not you care about Ephemerisle. If you would never play a charity poker tournament, don't answer. Note that unlike last weekend's event, there will be no Playboy Playmates present.

Poll #1429464 Charity Poker Tournament
Open to: All, detailed results viewable to: All

What entry fee would you pay to play in a charity poker tournament for a cause you like?

View Answers

$10
1 (6.2%)

$25
3 (18.8%)

$50
2 (12.5%)

$100
7 (43.8%)

$200 or more
3 (18.8%)

How much of the prize pool would you expect to be returned in prizes?

View Answers

Nothing - just max props for winning and a trophy
2 (11.8%)

10% - one decent prize for the winner
3 (17.6%)

25% - decent prizes for top few places
9 (52.9%)

50% - closer to a normal payout structure, although of course less places and smaller prizes
3 (17.6%)


Thanks!
Link3 comments|Leave a comment

Whole Foods [Jul. 13th, 2009|08:18 pm]

patrissimo
[Tags|]

yesterday we went to Whole Foods, I'd been there a few times before, usually shopping for lunch rather than groceries, but after seeing John Mackey at FreedomFest, and being more committed to a healthy diet, it was a very interesting experience. It seems like Whole Foods basically optimizes for healthy, natural, yummy, and convenient, at the expense of, well, expense.

Stuff like: pre-chopped veggies for cooking, pre-made salads, smoked salmon, organic berries, prosciutto, all kinds of really yummy looking, conveniently packaged food that fits great into my diet...at costs like $9 for 300 calories of salmon jerky or prosciutto, $4 for a small box of berries. Together they'd make a great afternoon snack...for $13. I sat on the plane with Eldon (who plays at Colma), and he said he sometimes pays $100 for the ingredients for a home-cooked meal for 3 there.

I felt like it was sort of a confidence scheme, like "It seems strange to pay this much for food, but everyone else in here is doing it..."

Anyway, it's nice to have something in this space for when my priorities align with their optimization, but it's a bit expensive to be the bulk of one's diet. And if I think that, then I'm surprised they have so many customers. Maybe part of it is that grains/starches are much cheaper than fruits/veggies/meats, and most people get the bulk of their calories from grains, and so getting more expensive fruits/veggies/meats has less impact on their overall spending.
Link15 comments|Leave a comment

Tweet [Jul. 13th, 2009|07:54 pm]

patrissimo
patrissimo: "Non-profit Executive Director: All the stress, responsibility, and hours of a CEO without the pay, stock, or jet."

Maybe I'm just grumpy from last week - getting nowhere in the WSOP, and then putting in long hours at FreedomFest and feeling like it didn't result in much benefit. Also, after 5 days of lots of talking, my jaw is quite sore. On painkillers now. Tomorrow should be a lot less talking.
LinkLeave a comment

The Chinese Propaganda Drinking Game [Jul. 13th, 2009|08:29 pm]

kraorh
[Feeling |busy]
[Listening |Placebo - Battle for the Sun]

The idea here is that when you are reading anything from Xinhua or other Chinese media, or the comments area on a western newspaper article that was probably targeted by the Golden Shield Project, you should take a swig whenever any of these things happen.

1. Someone is accused of trying to split China.
2. Someone is berated for intruding on internal Chinese affairs.
3. Drink twice if #2 is followed up by a call for other countries to recognize the Uyghur/Tibetan threat.
4. It is claimed that an act or statement from someone in the west has offended all 1.3 billion Chinese people.
5. Anti-government activity, whether violent or non-violent, is equated with terrorism.
6. The claim that China's government is oppressive in some way answered by saying other people do it too, so why can't we?
7. The Chinese government is portrayed in a positive light.
8. Opposing groups and ideologies are lumped together as unified forces out to hurt China, e.g. Rebiya Kadeer and the ETLM.
9. Groups and individuals outside of China are blamed for a problem in China.
10. John and Jane Doe's on the street are quoted approving of the government's policies. [Twice if the individuals are minorities or foreigners.]
11. The government is credited for creating prosperity.
12. Xinjiang, Tibet, Taiwan, the Spratley Islands, et al, have ALWAYS been inseparable and inalienable parts of China, or at least since the Triassic Era.
13. Uyghurs, Tibetans, and others are portrayed as ungrateful.
14. International human rights organizations who investigate China are guilty of "meddling" in internal affairs, even if they only gather information.
15. Other countries, including the US, are jealous of China's growth, prosperity and harmony.
16. Euphemisms for state executions are used, e.g., "severe punishment."
17. There are three united evil forces - separatism, terrorism and extremism - and that must be combated.
18. Foreigners who are critical of the PRC government are said to be racists and/or imperialists.
19. Internet censorship exists only to protect children from porn, and otherwise promote morality.
20. The Chinese media and/or government lacks an appreciation of humor.
21. The Chinese people are said to be unified.
22. Someone who said something not fitting the official government narrative is called a "liar."
23. One of the following propositions is implied: Freedom is slavery, War is peace, and/or Ignorance is strength.
LinkLeave a comment

(no subject) [Jul. 14th, 2009|03:10 am]

maradydd
Okay, [info]tdj, I may be going to bed angry, but I got a great belly laugh in from the following, linked from one of the comments in the post about Dembski:



And now I sleep.
Link3 comments|Leave a comment

(no subject) [Jul. 14th, 2009|02:22 am]

maradydd
[Tags|, , ]

By way of Pharyngula, apparently the creationists are starting to abuse information theory, not just physics, in their tortured attempts to justify their doctrine.

Of course, you understand, this means war.

ETA: /me reads the comments. Oh. Apparently creationists reject Claude Shannon's work on information theory. Infidels. They shall be first against the wall when the revolution comes.

One thing that I will never understand is why creationists believe that an omniscient God is bad at math.
Link17 comments|Leave a comment

Learn Emacs in Ten Years [Jul. 13th, 2009|06:42 pm]
hober_feed

Somebody emailed me the other day, asking about how to go about learning Emacs. This is my (edited and rearranged) reply.

I know you’re something of an emacs wizard, so I thought I might as well ask you: how should I learn emacs? … I’ve used emacs for several years now but have not added very much emacs skill to my repertoire.

Well, the short answer is, you should learn Emacs by using it for about a decade. That’s a pretty lame non-answer, so let me try to elaborate.

I started using Emacs in the fall of 1997, as a freshman in college. For at least the first year or so of using Emacs, my Emacs repertoire probably consisted of tens of key bindings (not counting the myriad bindings of self-insert-command, of course), and only a handfull of major modes (c-mode, java-mode, makefile-mode, that might be about it). So basically, for at least a year, my use of Emacs didn’t differ substantially from the average user of, say, Notepad.

I distinctly remember a moment during my sophomore year, while in a professor’s office talking about some assignment or some such, being amazed by some crazy magic he worked in an Emacs buffer, making seemingly very complex edits in a dizzyingly short amount of time. I remember asking what the hell he had just done. He had a good laugh—at this point, I was known among other students as “the Emacs guy,” and yet I didn’t even know how to record or use keyboard macros. This was pretty embarrassing.

I’ve continued to use Emacs this whole time, and it turns out that I’ve learned a lot about it since then. I continue to learn about it every day. The thing is, this isn’t even about Emacs specifically. It takes about ten years of such practice to learn anything well. From Norvig (emphasis his):

Researchers (Bloom (1985), Bryan & Harter (1899), Hayes (1989), Simmon & Chase (1973)) have shown it takes about ten years to develop expertise in any of a wide variety of areas, including chess playing, music composition, telegraph operation, painting, piano playing, swimming, tennis, and research in neuropsychology and topology. The key is deliberative practice: not just doing it again and again, but challenging yourself with a task that is just beyond your current ability, trying it, analyzing your performance while and after doing it, and correcting any mistakes. Then repeat. And repeat again. There appear to be no real shortcuts: even Mozart, who was a musical prodigy at age 4, took 13 more years before he began to produce world-class music. In another genre, the Beatles seemed to burst onto the scene with a string of #1 hits and an appearance on the Ed Sullivan show in 1964. But they had been playing small clubs in Liverpool and Hamburg since 1957, and while they had mass appeal early on, their first great critical success, Sgt. Peppers, was released in 1967.

So how do you get from where you are to using Emacs so much you spend your spare time hacking on various Emacs libraries for fun? Mostly by making a point of using Emacs for all of your editing needs, and allowing Emacs to slowly take over your other computings tasks as well.

For instance, the big application that people typically expand their Emacs-fu with is using Emacs to read mail (see also Zawinski’s Law of Software Envelopment). I recommend trying Gnus. The several weeks you waste trying to figure out how to point Gnus at your mail server more than pays for itself by the amount you learn while driving yourself mad.

Emacs is called “the extensible, customizable, self-documenting real-time display editor.” I want to draw your attention to the self-documenting part. Perhaps the most critical Emacs skills to develop early on is how to navigate and interrogate Emacs’ help features, which are extensive. Type C-h C-h to get started down that path.

(related: what is the best tutorial/book on emacs lisp?)

IIRC I learned elisp via a combination of bumbling, Usenet, and Glickstein but, honestly, I think the elisp manual & tutorial (combined with the Emacs manual itself) are much better than muddling through like I did. (Though, if you’d like, you can borrow my ancient and increasingly-inaccurate copy of Glickstein.)

  • You can get to the elisp tutorial within emacs by typing the following: C-h i d m emacs lisp intro RET
  • You can get to the elisp manual within Emacs by typing the following: C-h i d m elisp RET
  • You can get to the Emacs manual within Emacs by typing the following: C-h i d m emacs RET

Here’s a breakdown of the above commands so you know what each part is about:

C-h i
brings up the Emacs interface to Info, the GNU documentation system
d
goes to the Info root menu (in case you were already somewhere else in Info)
m emacs RET
opens the Info menu item named emacs

For real-time help from friendly experts, try the #emacs IRC channel on Freenode. Eventually, you might try IRCing from within Emacs; there are several IRC clients, including two which ship with Emacs itself.

LinkLeave a comment

Enemies of Bliss [Jul. 13th, 2009|05:26 pm]

john_j_enright
The enemies of bliss
love to boo and hiss
at love itself - annoyed
by living forms of joy.
Link4 comments|Leave a comment

How to Bust an Irony Meter in Chinese, Part II [Jul. 13th, 2009|04:47 pm]

kraorh
[Feeling |amused]
[Listening |Pia Fraus - After Summer]

Am I wrong to think there's something a little odd about this combination of headlines in Xinhua?

China urges int'l community for united stance on terrorism
BEIJING, July 9(Xinhua) -- Chinese Foreign Ministry spokesman Qin Gang Thursday urged the international community to abide by a single standard in dealing with terrorism. Qin was speaking at a ministry press conference about the deadly riot in Urumqi, capital of northwest China's Xinjiang Uygur Autonomous Region, on Sunday, which left at least 156 people dead and more than 1,000 injured. Full story
China opposes Turkey's call for UN talks on Xinjiang
BEIJING, July 9 (Xinhua) -- China on Thursday dismissed Turkey's proposal of discussing Xinjiang's riots in the United Nations Security Council, saying the incident was a domestic issue. "The Chinese government has taken decisive measures according to the law. This is purely China's internal affair and doesn't demand a UN Security Council discussion," Foreign Ministry spokesman Qin Gang told the regular briefing. Full story


Okay... So we need to see terrorism, especially of the kind that created the Xinjiang riots, as an international issue. But the UN shouldn't talk about it, because it's purely an internal, domestic affair. Pardon me if I'm a little confused.

In other news, the drinking game is almost finished, and I should have that posted here momentarily.
LinkLeave a comment

Link salad [Jul. 13th, 2009|04:54 pm]

rezendi
Highlights from my twitterings of late, for those of you who don't follow me there:


Oh,yeah, and the Nature Conservancy made this old Bay Trail shot of mine their Photo of the Day last week:
bay-postcard

Virtually all of the pictures I have ever taken which have been republished by someone else have been taken in mid-step, from the back of a bike, and/or while contorted into some awkward position. This one is no exception.
Link1 comment|Leave a comment

Provigil Rules [Jul. 13th, 2009|01:34 pm]

choiceful
[Tags|]

I feel so much better today.

[info]spoonless was talking about it having different effects with different types of ADHD. Mine is the ADD space cadet version. Daydreaming and doodling. So this stuff seems to be perfect for me. Other stimulants not so much: if I drink caffeine it does have a big effect on me, but mostly just in making me want to run around in circles very quickly. I learned how to contact juggle when hyped up on caffeine and sugar with the intent of studying for finals in college.
LinkLeave a comment

How to Bust an Irony Meter in Chinese [Jul. 13th, 2009|02:30 pm]

kraorh
[Feeling |amused]
[Listening |Windy & Carl - Songs for the Broken Hearted]

Quoth Qin Feng, in the Chinese government-controlled media outlet, Xinhua:

Media reports need to be objective and balanced. As reporters we should tell the truth instead of being driven by prejudice or sympathizing with those who sabotage social order.

Of course. Mr. Qin would probably know a thing or two about objectivity and balance. This explains why people the Chinese government hates are interviewed and asked for quotations so frequently in Chinese media. Coming soon - a Chinese media drinking game.
LinkLeave a comment

Worldviews of the Web [Jul. 13th, 2009|02:41 pm]
hober_feed

In his latest blog post, Shane McCarron managed to illustrate the disconnect about what the Web is and isn't better than I've ever been able to (emphasis his, importance mine):

What's the problem? The organization with the primary responsibility for taking the web forward has two competing sets of activities. There's the browser-centric work - this includes HTML5, CSS, and the Rich Web Client Activity (HTML DOM stuff, Widgets, XMLHTTPRequest etc.). Then there's the web-centric work - this includes XML, XPath, Xinclude, XML Schema, RDF, OWL, etc. And while these sets of activities could be designed to dovetail together, the browser-centric work seems to be ignoring the rest of the work.

The worldview that allows Shane to paint XML, XPath, Xinclude, XML Schema, RDF, OWL, etc. as web-centric work whilst claiming HTML5, CSS, … HTML DOM stuff, Widgets, XMLHTTPRequest etc. to be merely browser-centric—that, right there, in plain language, is the gap between the imaginary Web of some people's fancy and the actual Web that is used every day by millions of people.

LinkLeave a comment

Wells Fargo Legally Required to Sue Itself, but Defends Itself Anyway [Jul. 13th, 2009|03:05 pm]

radtea
It may be that under Florida law Wells Fargo is legally required to notify all subordinate lien holders that it intends to assert some of its rights as first mortgage holder and it may be that the optimal way of doing that is to file a lawsuit. The article doesn't actually say what the aim of the suit is.

But it is certainly not a legal requirement for the bank to hire a lawyer to defend itself against its own suit.

This is not a result of the size of the company, but the stupidity of the people involved. If I worked for a company as a manager and had paper cross my desk saying the company was being sued by the company, I'd pick up the phone, figure out the source of the suit, and see if we could deal with the mess internally, thus saving the company legal fees all around.

Only a complete idiot would hire another law firm to defend the company from a lawsuit against itself.

But then, we have ample evidence that complete idiots are the only people who've worked for American banks for a long, long time.
LinkLeave a comment

The Mystery of the Missing Casino [Jul. 13th, 2009|11:22 am]

boffo
This was a comment I made in response to someone else's post, but I thought ye might find it interesting.

I drive from LA to Las Vegas approximately 3 times a year. There's a town about 25 miles outside of Vegas called Jean, that as far as I can tell consists of two big hotel/casinos and nothing else. (Not to be confused with Primm, the town right at the border, which consists of three hotel/casinos, an outlet mall, a lone store on the California side selling lotto tickets, and nothing else.)

Except two Vegas trips ago, I suddenly realized that Jean now consists of *one* hotel/casino. The other one had disappeared.

They had torn down the enormous building, hauled away all the rubble, poured dirt over the remains and parking lot, and planted trees and desert plants. The only way we knew there used to be anything there was our memories, and the one electronic sign (turned off) that they left by the side of the freeway.

I wasn't that shocked that one of the two casinos had closed down. But it was a bit weird they had erased all trace of it. I guess they thought leaving a hulking ruin would attract vagrants and liability issues. Or maybe they were following a mandate from the Nevada or Federal EPA. Or perhaps the casino on the other side of the freeway thought a hulking ruin across the way would hurt their profits and paid for the clean-up. (It's reasonably likely the two casinos had the same owner, so that would make sense.)

Wikipedia says the plan was to build a master plan community on the site. But given the real estate crash, I doubt that will happen. (And Wikipedia confirms both casinos were owned by MGM Mirage, which owns a whole bunch of Vegas casinos.)

Anyway, I thought that was interesting.
Link6 comments|Leave a comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]

Advertisement