12/18/2009

12-18-09 - The ACM

There's a bunch of hubbub lately in the game/graphics community about the anti-scientific actions of the ACM.

I find it all much ado about nothing. Of *course* the ACM is a bunch of cocks that are against scientific progress and dissemination of information. Ooo the group of evil bastards who claim all the rights to the paper that you yourself wrote are being dicks !? Well big fucking surprise. Woop-tee-do.

Everyone should boycott the ACM and the IEEE. Duh. The paper publications have absolutely zero purpose now. The conferences have almost no purpose, it's just a bunch of hob-nobbing and back-slapping. The internet is how real information is conveyed. I'm not quite sure why people are so enamored of conferences. I can get way more information in 10 minutes reading papers on the internet than you can get from a 4 day conference, because I am pulling the information I want at the pace that I want, not having it pushed to me.

Now, peer review and collection of papers does in fact provide a service. You don't just want researchers putting up papers on their own web sites with no organization and no peer review. (for example, Arxiv is great and all, but the lack of organization and peer review makes it weak as a primary publishing location).

If you actually cared about getting away from the evil iron grip of the ACM and IEEE bastards, you should work harder to organize and promote the free online journals, of which there are many, but they haven't caught on because the majority of major researchers are smitten by the prestige of the ACM/IEEE names.

Go to DOAJ , pick a journal, support that. Or you know, start a new one focused on higher performance / realtime computer graphics.

12/17/2009

12-17-09 - Economics

In the spirit of not just railing against "the system" but trying to maximize within it, let's talk about money.

It seems abundantly clear now that nothing substantial is going to be done about health care at all. This is very bad for most Americans (good for the few who were being denied coverage but will now get it). It's mainly good for the health care industry. It appears health care will continue it's super-GDP growth rate. It seems obvious for me that there are two consequences of that we should care about : 1. Health care stocks will outperform the rest of the market, and 2. the US economy in general (& mainly any industry involving labor) will underperform the world.

(BTW I've seen a lot of blame making within the Democrats about who's to blame for the health care failure - Lieberman is certainly a cock, but the blame is absolutely clear : the Republican block who seem to be intent on fucking up this country)

Similarly, it is now clear that absolutely nothing substantial will be done to reform the financial sector. I find it particularly hillarious the way Obama stands up and tries to brow-beat bankers into "doing more for America". LOL. First of all, we saved those banks, we should just make them do whatever the fuck we want them to do if you had any guts. Second of all, pumping money into the economy is not how you fix it, that's how you make a new bubble. Third, of course the public chastisement is not going to create any real change, all it's going to do is create some empty gestures that look good; laws and regulations are how you really change things.

Anyhoo, again we should think about how we can play this. We should be somewhat optimistic on financial stocks. We should be highly concerned that we are moving into another bubble and crash cycle right now. We should be scared of the value of the dollar.

Randomly I was thinking to myself - who do I actually trust/respect on economics? And the one that came to mind was Paul Volcker ; he's the only Fed Chairman I know of to actually be fiscally realistic and responsible. Anyway, some random searching of him confirms that he is in fact saying good things (and by that I mean saying the same thing as me) :

volcker 1
volcker 2
Sitglitz 1
Sitglitz 2
Sitglitz 3

12-17-09 - Spam Stupidity

A friend send me this email a few days ago, and Gmail wisely decided it was Spam :

"You work on a 64 bit PC at Rad, right? Did you have any weird issues with any dev software? Was it a relatively painless switch?"

This is one of the most obvious examples yet that I've gotten which is just completely retarded.

I've written before about how they should clearly have an exclusion for people who I have extensively emailed with in the past. WTF. (one of the most retarded examples that I've mentioned previously was randomly picking a few mails out of an ongoing thread and calling them spam, but not the others in the same thread)

Clearly another one should be : if there are no links in the email, then greatly decrease the spam decision threshold (eg. call fewer things spam). Only spam with links are dangerous, and it's very rare to get spam without links these days anyway.

Also if there's no mention of banks, money, credit, penises, or viagra, it's probably not spam.

Obviously their spam filter is just broken. But even aside from being broken, I'm sure it's missing the concept of cost/benefit. That is, for a given mail, you need to decide how bad it would be to misclassify it as spam when it's not spam, and vice-versa. The thing is, that cost is not a constant. It should be dependent on the content and the sender. There are some simple cases, like if the content is "harmless" - no links, no attachments, no mention of Nigeria - then the cost of letting through spam is not very high. Once you guess the cost of each outcome, then you can have your Bayesian spam system give you a guess of what % chance this is spam, and you evaluate the EV of each classification and make the maximum EV decision.

12/16/2009

12-16-09 - Ride Sharing

These things are inherently obvious to the most casual observer.

When someone with a car gives you a ride somewhere you want to go, you should not offer to pay half the gas, you should offer to pay *all* the gas. They are providing the vehicle usage, the depreciation due to mileage accrued, the pro-rated maintenance costs, the insurance, the registration, etc. Those fees easily match the price of the gas, plus they are doing you a favor since you don't have the car on your own. You should offer to pay all the gas and be happy about it. I don't think I've ever in my life seen other people do this correctly. Often the passenger makes no offer at all because they think "you were going there anyway, I don't add any cost". If they're polite they will offer to split the expenses somehow. No.

Asking someone to drive you to the airport is very rude and completely inappropriate. A taxi is very cheap and convenient, or there are plenty of other means. Getting someone to drive you takes at least an hour of their time, which costs $100-$200 or more. But that's the least of it. It ties them into doing something for you at an exact hour, which has an even greater hidden time cost because they can't do anything that will intersect that time period. Plus, if your flight is delayed or something, then their appointment is delayed, which ties them into all the annoyance and vagaries of your flight. Furthermore, if you fuck up and make yourself late or schedule it wrong or something, they inheret all your stress from that. It's an absolutely massive thing to ask of someone. It's pretty inappropriate even if you're completely broke. If you are broke and need a ride to the airport, the more considerate thing would be to ask a rich friend for cab fare (though the rich friend is probably too damn stupid to realize you're doing them a favor and agree).

When cars "let someone in" who's trying to merge or turn in or something, they think they're being so nice, they feel all fucking considerate and superior. Not so, it highly depends on the situation. In general by doing that you are making a decision whether to inconvenience the person who wants to get in, or the person behind you. First of all it's pretty fucking egotistical to decide that you are the person who gets to decide whether the person behind you or the person trying to merge gets your favor. Secondly, more often than not, you should favor the person behind you. For example, if you are on a major arterial and there are lots of cars behind you and some guy is trying to pull in, you should NOT let him in, because doing so severely slows the flow for many people behind you. The utility of each action is multiplied by the number of people affected. Obviously there are cases where you should let someone in, like if they've done a dumb thing and got themselves stuck where they're blocking traffic going the other way; in that case not letting them in is a huge dick move. Like most things in life, the correct action is dictated by consideration of the alternatives and how they affect various people, which is what people never do.

On a related note, this is somewhat more interesting of a topic, I think it's a bad idea to help the traffic flow of people who choose to take a very high congestion route. Let's say there's a certain commute pattern in a city that has very high congestion. In order to reduce it, the city makes it easier for those people to fan out onto alternate routes to commute (by providing travel time information for detours, or doing a little bit of through street connection). This reduces their commute time and most people are happy. I contend that this is a bad thing. You have hurt the traffic flow of the people who were on those alternate routes and avoiding the bad commute path. I contend that you actually want the bad pattern to be very painful, because it encourages people to not do it. Similarly you want the good patterns to be as pleasant as possible, because those people should be rewarded for avoiding the bad pattern. Traffic has a sort of self-regulating property where if you reduce it, more people drive and it gets back to equal badness again. I contend you generally don't want to do anything for it, and especially you don't want to spread it out onto alternate routes. The thing I'd like to see more is bypasses and better local routes so that people who are avoiding the bad traffic paths aren't affected by them.

12-16-09 - Belle de Jour

I've been somewhat amused by the Belle de Jour story at The Daily Mail or Times Online

A few things strike me. One is that pretty, intelligent girls seem to be very stupid about using their body for money. First of all, it's clear that these girls have no problem using their body for money, that's what they're doing. So, how should you do that to maximize money with minimal risk and bad consequences? There are many better ways than being a prostitute, which has a large number of negative consequences (risk of murder/abuse, risk of disease, risk of reputation destruction, risk of ruining relationships current & future, risk of messing yourself up psychologically, risk of stalkers / pimps that won't let you quit, etc. etc.). Probably the best way is just to marry rich. Barring that, even just dating rich can be very lucrative. You can make massive amounts of money just cocktail waitressing in the right place, and even more stripping. One problem for Belle of course is that she's not actually very attractive, so she can't get the top stripper dollars that you get in places like Vegas. Of course with a little savvy you can still make decent money on the internet, especially if you have some personality and create a character that people want to follow and you're not just a body; then you can make money from premium cam subscriptions, but perhaps even more so from merchandising and advertising connections.

It always kind of amazes me how little money these girls are willing to do things for. It's such a negative potentially life-damaging move, that you should only accept that if the reward was life changing money, like at least $10k (or more if your life prospects are good). But it's not even close, it's less than $100 for most girls (apparently Belle got a few hundo).

Most disappointingly, the actual blog is just really boring. It's mostly high-fallutin' self-indulgent "observations" and gossip. Not nearly enough real gritty factual story telling of encounters. And the stories of her personal relationships seem to indicate she's just very selfish and manipulative and not nice to men, which makes it all much less interesting.

I think maybe I wrote this before (?) but I had an idea a long time ago to start a Hot Chick Hedge Fund. It's really tragic (from an economic point of view) that there are really hot chicks in places like eastern europe that are not using their hotness for maximum profit. They're doing things like turning tricks for $10 or doing small-market porn. Now, they aren't money machines as is, they aren't ready for the US market. But you could take them, teach them better english, and more importantly teach them a bit of class, how to dress, hot to put on make up, how to flirt and talk to men, etc. Now they're money making machines, they could cocktail in vegas, strip, or just try to marry rich. The Hot Chick Hedge Fund spends a few thousand on each girl and in exchange gets 10% of earning for 10 years or something. It's win-win. Hot chicks are just a physical resource exactly like oil or gold, financial utility is made by transporting them to the market that has the highest prices. This is really basic capitalism.

11-29-09 - 7 Habits of Highly Retarded People

1. Being annoyed when you say something they "already know". Smart/effective people don't care when you say something they already know. They understand that you're just trying to establish the agreed basis to make the next step. Logical/effective people discuss and learn by establishing firm agreed upon tenets and then going through a series of logical conclusions. Retarded people get all annoyed when you say something obvious cuz they think you're calling them dumb.

2. Saying they "get it" when they don't. This is a huge annoyance that I struggled with when I was a teacher. Smart people will listen and then tell you "hmm I don't get that, how does this follow from this?". Retarded people are really eager to show how smart they are so they want to say "ok, I get it" as quickly as possible, but they'll say it in a really uncertain way that's obvious they don't get it. And then if you ask what part they don't get, they'll say "all of it".

3. Believing they are "too dumb" to do something. Maybe they are dumb, but that's almost never actually the problem. It's almost always laziness. Being dumb doesn't make most things impossible, it just makes them harder. This usually comes after you try to explain something for a while and then they get frustrated and give up and say "ugh, I'm just too dumb for this" (which is also an annoying plea to be told "no you're not too dumb"). In reality they are too lazy and not willing to put in the hard mental work to do it. Smart people know that some things are hard and don't come easily and you have to work at it for a while, and if you aren't getting it, it's usually because you aren't working enough, not because you're too dumb.

4. Thinking they're doing a bad job because they're "too good" for their current position. Every McDonalds cashier thinks they could be head of corporate marketing if someone would just give them a chance. Yes, they suck as a cashier and are totally irresponsible and don't come to work on time and don't take any initiative, but that's just because they're "too good" to be a good cashier. Of course this is just fantasy and self-sabotage.

5. Believing that "the system" is somehow to blame for their lack of success. Most of the underemployed believe that there are phantom hands somehow holding them down, or that society should somehow be different in a way that would benefit them. The reality of the world will always be that a minority get the spoils, and you can either earn your way into that minority or not.

6. Believing there will actually be 7 items when the title says so.

12/15/2009

12-15-09 - Gifts

I've always struggled with buying gifts for people, and particularly for girls. Obviously buying gifts for little kids is easy and fun, because they have no money and aren't picky, and also because their parents buy them all the essentials in life, so you can buy them just frivolous things. Also I love that little kids don't get all the pressure and obligations of adult gift giving, and I despise it when the parents force them on the kid. I love it when you see a little kid gets a sweater for christmas or something and the kid is like "aww I wanted power rangers" and the mom is like "now say thank you". Fuck that, don't say thank you, it's a shitty gift for a kid, be honest.

I love getting gifts myself, but I almost never actually like the *object* that the gift is. I don't like decorative objects cluttering my spaces, I don't like electronics or gadgets, I don't like unnecessary kitchen tools. 99% of the time if I actually wanted some item, I would have bought it for myself already. But I still love gifts that show the intent of the gift-giver, something that shows time and thought. I can cherish the gift and then immediately throw the object in the trash, that doesn't diminish the value of the gift.

The thing that makes me feel so awkward giving gifts is the impression that the actual object has to be treasured. I hate it when you buy someone something, and then they feel like they have to use it all the time when you're around to show how much they appreciate it. Fuck that, just do what you want, the usefulness of the object is not the point.

In the past I've generally bought major items for girls that they need, functional objects, often very valuable ones, but functional objects like bicycles, laptops, cameras, furniture, etc. are not what they really want, especially not from their lover, they're disappointed, and it's a missed opportunity for wooing. They want stereotypical girly gifts like jewelry, dresses, all that shit, but I just can't bring myself to buy that shit because A) my taste in it sucks so I'm sure to buy bad things, and B) it's just such an overpriced ripoff that I'm opposed to that entire market segment and don't want to support it. Back when I was young I used to buy girls expensive jewelry and dresses and whatnot, and they would wear them for me even though they sucked, and I just felt mortified, so embarassed for the both of us.

While I'm on the topic, gift certificates are absolutely disgusting. You embarass yourself and everyone involved when you buy a gift certificate. For one thing, it shows you really don't care about the person at all, it's such an obligatory gift. In fact it's often just a punishment to the person because it forces them to go out to some store they didn't really want to go to. It's also just offensive in a capitalistic market sense because they are a pure destruction of utility. They take money and turn it into something less valuable. You don't just give cash to someone because it's crass and thoughtless, but really a gift certificate is much more crass and much more thoughtless.

You can't ever buy anyone clothes, even if you have great taste clothing is all about the fit on the person. Back when I was young, I bought girls lingerie; that's a big mistake too. It sounds like a good idea, it sounds sexy and romantic, you buy them lingerie, they put it on for you, and then it fits weird and you both feel awkard and embarassed, you're trying to pretend that they look great but you can't stop thinking about how the fabric is pinching or bunching all wrong.

12/11/2009

12-11-09 - Egged

My house was egged last night. Or I should say my front door was egged as that appears to be the only spot hit.

It's perplexing because it feels like it was a targetted strike, not random kids being hooligans. I did a little walk around the neighborhood and I didn't see any other egged houses; if it was random kids I would have expected to see a whole dozen eggs used up in a spree down the street.

Also my house has a big fence in front of it with a gate you have to open. There's no way you could hit the front door over the fence, somebody specifically opened the gate and came in and threw the egg. That's not the kind of thing random kids on a spree do, they go for the easiest targets.

So now I'm trying to puzzle out who has a grudge against me that would do this (and knows my address). All I can think of is Old Lady Who Ran Into Me. Maybe that's how you settled scores back in the 50's.

The funny thing is this is exactly the kind of thing I often think about doing to people who have wronged me (like landlords, neighbors, and so on). I wish the person had left a note.

12/10/2009

12-10-09 - Hate mail

Gmail spam woes continue :

Gmail classifies my own outgoing mail that gets a failure notice as spam. Urg.

Gmail classifies mails that are autogenerated by Google Groups as spam (signups / failures /etc). Good job.

A hate letter :

Dear Toyota Avalon rental car,

I hate you. I hate you when you beep when I unlock the doors, when you beep when I don't put on my seat belt. I hate your automatic headlights and automatic dash lights, that adjust too late and then stay on too long every time I drive through a tunnel. I hate that you're huge and slow and floaty, I hate that you feel like an old American car. I hate that even though you have no acceleration, you will happily spin the front tires, making it even harder to pull out into traffic. I hate that you have fucking push button up/down for temperature and such, which forces me to look at a digital screen to tell what I'm doing; god knows I don't need my eyes on the road. I hate that your volume knob is one of those fake digital knobs that just spins and gives me no tactile feedback on position.

12/09/2009

12-09-09 - Possessions

I take very good care of my possessions. I used to be quite destructive of things because I don't like constraints, but I quickly learned that if you're not careful, your shit is in bad shape all the time and doesn't work as well. There's often actually a very big difference between the function of something that's cared for and something that's not. So I make sure my chef's knives never go in the dishwasher or touch other metal or ceramic, I clean and dry my camelback and water bottles every time after use so they never gets funky flavors, I never let any clothing or sponge or towel sit and be wet because that odor never washes out, I rotate my tires and get my oil changes. I lube and clean my bikes and never leave them out in the rain. The amount of labor time and love put into these items far exceeds their value in most cases.

That's all well and good, but someone external can come along and nullify years of work in an instant. It could be an old lady smashing up your well maintained car, or it could be a friend who comes over and chops on a plate with your knife. I enjoy taking care of my things, but it does put me in a bit of a quandary with guests. I find that almost everyone else in the world is so ignorant and/or careless about treating things well that I certainly can't trust them to not mess things up. So I can either be a dick and forbid them use, or I can be a dick and give them a bunch of instructions for how to use it right, or I can be a dick and not say anything but hover over them and wince. This always causes a lot of problems in my relationships.

Anyway it looks like the Prelude might be "totalled" which would be the best possible outcome I guess. I've started glancing at new cars again. I thought maybe I could get a 370Z used now for a decent price. WTF, people are listing the used cars for more than I know I could get a new car for. (for those that don't know, Nissan has standardized "VPP" (vehicle purchase program) pricing that's very low, about $2000 below MSRP, with no negotiation bullshit). I'm seeing used cars for 2000 - 5000 miles listed at right around MSRP. That's *used* for MSRP. WTF, does anybody pay these prices!?

12/07/2009

12-07-09 - Out of Commission

I got in a car accident on Saturday. N and I were driving to buy board games and look at the Olympics from the shore when Old Lady ran a red light and smashed into the passenger side of the car full speed.

We were stopped at a red light at an intersection, our light went green. The other car in the lane to the left of me took off, and then I more slowly went into the intersection. Just then I noticed a car to my right coming down the street at me awfully fast. This was the worst moment of the whole thing - for about one whole second there I realized that the car coming at us was not stopping, and there was nothing I could do about it. I think I said "whoah" or something which N heard. I had enough time to think "should I brake or accelerate?" and then *BAM* it smacked into us, right into the side of N's door.

We were pushed sideways into the car in the left lane, which smashed in the left side of me a bit. It seems neither N nor I are hurt, so it's no big deal. (please refrain from all "are you ok?" or "I'm glad you're ok" emails). It is a pain in the ass because the Prelude is a bit too damaged to be driveable, so now I have to get it fixed or maybe get it totalled, blah blah fucking life is such a hassle.

Picture of Smashed Prelude

One thing I realized after the fact was that the accident was so quiet. There was no squealing of brakes, no swerving out of the way. Old Lady didn't slow down at all. Normally in an accident like that you expect a last minute braking, some tire tracks, all that. Nothing. When we got out of the cars to talk after the accident she was in shock of course, I was trying to get her to say what she was thinking and she mentioned how the light was green for her. That's scary, she just completely didn't see the world for many seconds there.

A few things trouble me intellectually about the whole situation.

1. the insurance will not come close to restoring the value lost of my car. Even if they fix it "completely" it has another accident on its record which greatly reduces resale value, and god knows if the frame is slightly bent they never really fix that right. I believe technically that insurance is supposed to compensate you for lost resale value, but they never do. So even when insurance is paying out, they screw you. Also, since Old Lady is completely at fault, the compensation should be way beyond just fixing the car, there should be a penalty for all my distress and lost time.

2. I've become hyper aware of how vulnerable I am and how you have to trust the other cars. Walking across streets since the accident I keep looking at the cars coming at me thinking "he has a red light, but who knows if he's actually going to stop? he might be old, or on a cell phone, or getting a blow job, and just run right through the red and smack into me". It's terrifying.

3. Old Lady and her complete unfitness to drive is very disturbing. Our roads are plagued by old folks and other unfit drivers who should absolutely have their licenses taken away, but both the state and their families are too fucking pussy to do it. My own family and myself have failed to stop our grandparents from driving even though they are horrible dangers to themselves and others. Basically just because we're afraid of the big scene where they get mad at us. It's very sad to confront your parents about their failing abilities in their old age, but you have to do it.

4. My neck is in rather a lot of pain since the accident, I'm sure I have some kind of minor whiplash. I almost certainly won't do anything about it to get compensation, but it occurs to me that other people might. By not doing anything about it, I'm basically just costing myself money, because there's some random chance that I hit someone some day and they do claim medical damages from me. It means my net EV for collisions is negative, not neutral.

5. I have to decide whether to file through my insurance or Old Lady's insurance. Under my insurance I'm limitted by the restrictions of my policy (which is a super-minimal policy because I despise insurance). On the other hand, if I file through her insurance I'm sure they'll try to fuck me as much as possible.

6. Thank god that Old Lady was driving a Honda Civic. Because of that, her total momentum was reasonably low, even at 35 mph with no braking, and perhaps most importantly, her bumper was at the right height for the Prelude's impact absorption pillars, and her front end crumples. If she had been driving a Suburban or something like that, my girlfriend might be dead right now.

12-07-09 - eBay

eBay is such a fucking scam. I recently sold a bike for $1280. eBay takes a total fee of $22.35 ; PayPal (also eBay) takes a fee of $37.42 ; UPS charges $125 ($80 shipping plus the fucking +$45 large item surchage scam).

The net result is that people pass items back and forth, and eBay and UPS get rich.

I thought the UPS home pickup was pretty sweet. For those who aren't aware, you can request a home pickup for free any time; because they do residential in the evening usually, you can request a pickup even after 3 PM and still get it the same day. You print your own label and out goes your box.

I was not aware of the large item scam. UPS apparently automatically remeasures your box in transit. This is sort of a scam because if they smash the box and it gets bigger, they will remeasure it and charge you. The large item scam is this sudden extra charge that they tack on in a weird way. If the


Length + 2 * ( Width + Height ) >= 130 inches

A standard size bike box is 54 x 8 x 30 , so you're at 54 + 2 * ( 8 + 30 ) = 130 exactly. If they remeasure it and the box is bulging at all, like if the width is now 8.5 inches, boom you get the +$45 charge.

Hey fuck you, we have a monopoly, what are you gonna do about it? Not use UPS? LOL. What can brown do for you? We shit directly in the customer's mouth and they come back for more.

12-07-09 - Food

We've made some exceptional food recently; some reminder notes for myself on how to reproduce things :

Lamb burger with Za'atar, fried egg, caramelized onions, and curried chickpeas. (plate also contains kale, coucous, and favas).

IMG_0090

The key thing is the spicing of the lamb burger; put ground lamb in bowl and add lots of crushed garlic and za'atar, maybe a tiny bit of barbecue sauce (*). (never add shit like eggs or bread or onions to burger - this is a burger not a meat loaf, that shit all adds too much water). Stir with your fingers thoroughly, form patties, sear, cook a bit more than you would a beef burger, medium - medium/rare instead of rare - medium/rare. (* = bbq sauce and garlic will caramelize much faster than meat would, so beware of burning the surface, and don't use too much, maybe 1 tsp per pound). Dress with mayo and hot sauce. The curry and onions and fried egg were just about perfect toppings; all the greasy parts and egg yolk and mayo and curry run together and form the most delicious sauce known to man.

Oxtail Chinese/Taiwanese soup bastardization :

IMG_0102

also contains soy sauce egg (*) (which is the wrong culture, I know, and then I added thai basil and sriracha flavoring on the table which is another no-no, but delicious), kabocha squash, pickled vegetable.

I did the "Chinese/Hawaiian" thing to do with oxtails, which is to blanche them first in boiling water, rinse them off thoroughly, then brown them in a hot pan, then deglaze and make your soup from there. Supposedly this initial blanche and rinse removes "impurities" and makes the soup have a cleaner beefier taste without some of the more funky flavors you can get from blood and such. I have no idea if that holds any water, but it turned out damn good.

Oxtails take 3-4 hours simmering on low or braising. You basically start the soup just like any other braise - brown the meat thoroughly, add some onion, garlic & ginger, brown it a bit, then deglaze with rice wine or sherry, add some spices (star anice, clove, fennel seed, etc), add water to just barely not cover the meats. Simmer very low or in a 300 degree oven.

When the meat is about to fall off the bone, remove all the oxtails and set aside; once it cools, then take the good meat morsels off the bones. While waiting, pour off the soup and strain it to remove all the solid aromatics. Return the broth to the heat and cook the kabocha chunks (10-15 mins) or whatever else you want at this point (turnips, carrots, bok/ung/pok choy, what have you). Once kabocha is nearly cooked, remove it so it stops cooking, don't leave things in the broth.

Boil noodles and assemble soup bowls on demand from separated parts like they do in asian restuarants.

One thing I would do differently next time is trim some of the fat off the oxtails before cooking. It's too hard to skim out of the soup, and it was just a bit too greasy.

(*) the soy sauce egg was a real joy on its own. A few weeks ago when we went to Vancouver we had some amazing ramen at Benkei, which looks like this : 1 or 2 . They serve a superb soy-sauce egg that's hard boiled with just the perfect glassy gelatinous yolk, then soaked in soy which gives it a salty funky depth. I used roughly this technique to reproduce it.

Boil egg for about 7 minutes. Remove, run cold water on it for a minute or so, then plunge in ice bath. Put ice bath in fridge and let cool completely (about 30 minutes). Once fully cool, peel egg and place in soy marinade (*). Let soak 3-5 hours. Yum. (* = I used just soy sauce and a bit of water for the marinade, but that was a bit too strong; I'm not sure what Benkei uses, but I'm guessing it's got some Dashi in it or something, maybe a bit of sherry would be good too, a little something to balance and cut the soy). I think my egg was in 3 hours and you can see it's only just browned; to get the super brown egg you see in other pictures I guess requires more like 8 hours; so do the prep in the morning to have it for dinner. I think the vinegar in the ice bath is a total red herring.

12-07-09 - Balancing Ranges

When you go to the bathroom, you should always turn on the fan. If you only turn on the fan when you're doing something stinky, you are creating a strong correlation between the external observable (fan on/off) and the internal hidden state (stinky). You can't hide the fan on/off state, so your goal is remove the correlation. You do this just by always turning on the fan.

In poker this is called "balancing your ranges". Basically it means making sure that when you do any given externally observable act, you do that same act with multiple different hands, so that the external observable is not highly correlated to a specific hidden state (your hole cards). For example, say you only ever raise under the gun with AA/KK - we would say your "range is not balanced". One way to fix this is to raise some bluff hands as well. Another way to fix it would be to limp your AA/KK (assuming you limp enough other hands to have balance). If you do limp some hands UTG but then you only reraise with AA/KK , you're unbalanced again, so if you are limping AA UTG then you also need to limp-reraise bluff from UTG sometimes to balance your range.

12/04/2009

12-04-09 - You all suck

Maurice Clemmons apparently killed a few cops up here. On Nov 30, he was a suspect with a manhunt on to find him. There were no witnesses, only weak circumstancial evidence that he was the killer. He was pulled over in a traffic stop and was shot and killed by an officer who saw no gun. It's hard to say whether or not the shooting was justified or not, but it's definitely questionable. For one thing, the officer only identified the person he shot by visually seeing that he "matched the description" of Clemmons - this was in the middle of the night in darkness. Without knowing that the person was in fact Clemmons, or that Clemmons definitely was the cop killer, and without seeing a gun, the cop killed this man. Luckily the man shot actually was Clemmons and he was in fact the cop killer. However, I made the mistake of reading the comments on the news story :

seattle times or seattle weekly

Here's a semi-random sampling of the comments :


Good job, coppers!

kiro7 twitter says he's dead. I'm glad this saga is over and we don't
have to see him in court. 

Now lets hope they shot Clemmons just like the other recent police
officer killer; paralysis for life. Only Morfort was paralyzed from the
waist down. In an indeal world this S.O.B. would be a quadraplegic. 

The perfect ending for a cop killer: capital punishment by cop.

Well, best way to get him. I don't want to pay tax after any of the
criminal just to have theire "house, food and amusement" in jail. Good
job officer :)

yeeah kill that sucker I am glad he is dead, do not let this monster live just kill it

It's pretty amazing how completely retarded you all are. There's absolutely no concept of the rule of law or the function of courts, there seems to be no concept of the idea that cops assasinating suspects might be a bad thing. I'm just disgusted.

I see the same thing with the Republican comments about Guantanamo. They seem to think it's perfectly reasonable to torture *suspects* and give them no access to courts, no human rights. Now, it's one thing to debate torturing someone who you *know* is a terrorist, but these people are suspects and we know for a fact that over half of them are completely innocent. We've seen many cases of people who have zero connection to any terrorist cell being apprehended and extradited, and you still think it's perfectly reasonable !?

I listen to NPR on my commute and it almost always makes me furious. (for one thing the fucking Steve Scher who does the call in show here is such a dull moron, I just want PRI and Pacifica and BBC please). He had a guy on the other day talking about what Mike McGinn might do to make Seattle a better place for bicycles (which was a big part of McGinn's campaign). The guest was actually really smart, he made some excellent points that I hadn't really thought of before. One is that the difficult and dangerous bike routing that we currently have in Seattle causes a population selection - only young, bold, fearless, dedicated people will ride; the older more reasonable safe people won't ride because it's too dangerous and the bike routing sucks too much. What that means is the biker population is biased towards kids who antagonize cars and it creates a vicious cycle. In cities like Copenhagen or Portland where you have lots of good bike routing, that encourages a wider spectrum of the population to get out, which makes the average cyclist more calm and considerate, and gets more people interested in supporting good bike routes, which is a nice positive feedback cycle.

Anyhoo, I'm feeling happy listening to this smart guy and then they start taking calls. Every single call is "the real problem is the cyclists don't obey the laws". The call in guy is like "okay, do you have any comment on public policy?". Next caller is "I drive and all the time I see cyclists just cruising through stop signs". Okay, do you have anything useful to say? Do you really think that if the cyclists stop at the stop signs they are going to create such wonderful goodwill that the city will shower them with money for better bike lanes? Are you fucking retarded? Can you vent your spleen on your blog and not the fucking radio?

Today I'm listening and they have Obama on talking about the economy. He says jobs only declined slightly last month. Big applause. He says he is encouraging the banks to lend more to main street. Big applause. Seriously? Are you so seduced by his serpent's tongue? He has done *nothing* for jobs, and *nothing* to reform the banks. He's absolutely in their pocket. His team seems to buy the ridiculous macro-economic mumbo-jumbo that increasing GDP is all that matters, even if that GDP is nothing but financial industry profit.

12-04-09 - Sexual Bullshit

I'm so sick of reading the liberal codescending media about embracing "kinks" and the idea that any sexual behavior is okay if you're open about it with your partner. Bullshit.

First of all, all sorts of weird sex acts with your partner are wonderful. Go nuts. That's basically never what "kink" is about. Kink is really not about sex at all. It's about creating weird little role plays and fixed scenarios that satisfy some emotional defect in your fucked up little brain. People in S&M think they are "a top". No you're not. You're a fucking loser in real life who was maybe beaten as a child or some shit and you feel out of control in the real world, so you want to create a phoney scenario where you can be in charge and dominate someone else. It's not a "healthy kink" it's a fucking mental derangement. Granted it's a pretty harmless derangement, unlike molesting children or voting Republican, but it's not a healthy alternative behavior. Similarly with "furries" , etc. etc. - being a furry is not a healthy alternative sexual lifestyle, it's fucking deranged and clearly indicates serious psychological issues that should really be worked on, not accepted. (in this discussion there's a big distinction between people who just *play* at being a top/bottom/furry/scatologist/necrophiliac/whatever vs. identifying that way as a major part of their personality and/or only being able to have sex in that character). (you could say similar things about Japanese guys who are into Bukkake or rape simulations ; no that's not a "deviant" or "alternative" sexual taste, it's fucking sick and reflective of distortions in society which is making their minds so broken).

Similarly with "polyamory" ; the modern permissives like Dan Savage like to spout this bullshit about how having many simultaneous long term sex partners is perfectly fine as long as you're honest with your partners. Yes, it's certainly better than cheating, but let's not kid ourselves. Someone who identifies as long-term polyamorous is a fucking sicko (if you've actually met any, you know they are always *creepy*, like they have those googly eyes and they stand way too close and touch too much), and it's generally manipulative and abusive of their partners. The partners don't want their lover to be polyamorous, they feel like they have to agree to it or lose them; someone in a long term relationship will develop emotional ties and hopes. It's indulging in personal pleasure at other's expense, which is reprehensible. Dan and others perpetuate this liberal claptrap that the other person should "just say so" if they don't like it. That's ridiculous, just because someone doesn't speak up doesn't mean the abuse is okay.

That's not to say that I think these things are horrible. We're all human and have our flaws and weaknesses. If you have a derangement and you can channel it into a behavior that satisfies your insanity and doesn't hurt others, good job, that's better than a lot of "normal" behavior like the guys who go out and get drunk and pick fights in bars, or the girls who go out and get drunk and fuck a random guy, or the parents who repress and yell at their kids, all of which are standard good american bible belt practices and are much more destructive than being a cross dresser or whatever west coast "kink". But let's call a spade a spade - it's weird.

12-04-09 - Bike Optimization

I mentioned before about how saving money on cheap inner tubes is dumb. So there's this amusing site Weight Weenies with lists of lots of bike components and weight.

As soon as I saw it I immediately thought "MMO". It's just like the list of gear for kitting out your character. Should I get the ring of +1 str or the bracers of +5 HP ?

It's funny to me that people seem to love doing that sort of optimization in games, but not in real life. People love MMO's with lots of gear, they love to sit and think about the best way to kit out their character and how to maximize his stats and all that. It's a very detailed cost/benefit analysis, and lots of people do it. But those same people either suck at it miserably in real life, or even just refuse to do it, saying something like "I don't want to live that way" ( "that way" being rationally and logically ). So you don't want to think about maximizing benefit/cost in real life, but you enjoy it so much that you choose to spend your leisure time doing that activity, hmm. Maybe if you would think about benefit/cost in real life a bit you would decide not to spend your time playing an MMO. Anyhoo...

Weight Weenies obviously presents the idea of computing the weight of each part of a bike and its cost and finding the optimal weight reduction strategy for a given budget.

A lot of people would approach this with the "greedy strategy". That is, first find the one item that has the very best (benefit/cost) slope and buy that upgrade. Repeat until you are out of money.

This is obviously wrong for various reasons. For one thing, the upgrades are not additive, an upgrade to the same "slot" (eg. the "ring" in an MMO character, or the "seat post" on a bike) replaces the previous item in that slot. That means you only ever want to buy one item for each slot, and the greedy algorithm does not guarantee that you buy the best item for a given slot. The greedy algorithm also doesn't deal with using the finite budget well, it could leave you with left over money that isn't used well.

The obvious solution is a kind of dynamic programming like the LZSS optimal parse. Consider all prices to be in integer dollars. You have a budget of N dollars, think of that as the "X" axis on the time line. You are trying to walk from X=0 ($0 spent) to X=N (full budget spent) and get the maximum step on the Y axis (benefit).

So you can make this a graph. At (X=0,Y=0) you have the initial node with all M upgrade paths coming out of it; each path has an X length equal to its cost and Y length equal to its benefit. After you take a path, all upgrades on the same slot are excluded, so the next node has a reduced set of paths. Note that the graph does *not* branch exponentially, because the nodes come back together. That is, an upgrade like {ring,bracer} is the same as {bracer,ring} so they go to the same node. If you had infinite budget, the paths would wind up all ending in points with no exit paths (there would be many of them, equal to the number of possible ways to do a full-slot kit-out).

You can phrase this another way to make the dynamic programming aspect obvious. (dynamic program just means caching shared bits of a computation). If you have D dollars remaining and you have the set S of upgrade slots unused, the item you choose next is I(D,S). I(0,S) is null. I(1,S) is the best item in the set S that you can get for 1 dollar. Then :


I(D,S) = arg_max(i) {  Benefit(i) + Benefit( I( D - cost(i) , S - type(i) ) ) }

i = an item with type(i) in the set S and cost(i) <= D

arg_max = return the iterator which maximizes the enclosed expression

One way to solve it is the LZSS way which avoids any recursion : you start at the "end" of your spending, when budget remaining is zero, and you walk backwards doing the above computation for each D, until you reach D = N (your initial budget), and then I(N,all) is the first item you should buy (and you follow the paths back forward to get the full list of items to buy).

The other way involves heavy recursion. You just ask for I(N,all) , which will call I() on lots of sub choices, which calls I() some more until you have your answer.

I think that's optimal;

12/03/2009

12-03-09 - Web

Jeebus the new Google fade in is fucking retarded. Seriously fucking quit it. What kind of fucking ridiculous stupid fucking retard thought of that.

"I know, let's hide all the buttons that users want to click, people will love that".

"You know what would make this page great? If it took longer to load and offered no more features."

You're fired.

It's really annoying the way I can't "own" the web. I can't freeze web pages at versions that I like. People keep changing shit under me just when I get it worked out nice. My banks and credit cards and such keep making their pages worse and worse, adding more Flash and fucking animations and gizmos and shit that just make it so much harder to find things. The fucking Chase pages have some kind of adaptive menu system where they never show you all the sub-pages in one place so you have to navigate a literal labrynth of links to find the page you want (ala Zork). Even that would be okay if it just stayed the same because I could memorize the steps, but every few months they change it so I have to go hunting again.

12-03-09 - Following

The modern emo metrosexual dorky man is often afraid to take charge and lead his lover. He's afraid of stepping on her toes, making her do something she doesn't want to, afraid of suggesting something that doesn't turn out well and then getting the blame for it. It turns every discussion about what to do into this huge sissy yielding back and forth, like "what do you want to do?" "oh I don't know, what do you want?" "well I'm flexible" "well I could maybe watch a movie" "yeah you want that? I could do that" , ugh it's revolting.

He'll claim that he's "sweet" or "considerate". Really it's nothing but cowardice and weakness. He doesn't want to just boldly lead where he wants to go, because he's afraid of rejection, afraid of the blowup if he does the wrong thing. The woman wants you to lead - so yielding and refusing to lead is not doing her any favors.

One way to get over this is of course just to not care, aka "be an asshole". BTW this is why it often seems like girls are attracted to dicks and assholes - because in many ways they have positive traits that the sensitive man lacks. They don't actually want an asshole, and guys who say "women like jerks" are being foolish and defeatest. Obviously they want someone nice and considerate, but considerate does not mean pansy. It means thinking about the affect on them when you lead.

A crucial point is that the art of Following is just as important as the Leading. It's like ballroom dance. The follower needs to subtly direct the leader, and follow smoothly, taking the cues and then moving on their own.

Perhaps the most important thing is that the follower needs to speak up immediately when the leader takes them in a direction they don't agree with. This gives the leader confidence to know that he can lead and not have to worry about "is this okay? is this okay?" all the time - he knows the follower will speak up if something is wrong. Often when I'm a guest in somebody else's house, I find myself really uncomfortable, and a large part of it is because I feel like they're afraid to just say something when I do something they don't like. This makes me hesitant about every action because I don't know what will displease them. If I knew they would just say "hey don't put your feet on the coffee table" , then I could be at ease and just do whatever.

Also, the follower needs to reward the leader when he does a good job, with enthusiasm and good spirits. If you take someone on some fun adventure and they don't go along with it and don't appreciate it, you won't want to do it again.


Almost everything in human perception is "relative to recent average". That means when you improve your situation, you rapidly acclimatize to it, and find all new things to complain about.

It's also something important to be aware of if you are trying to maximize how other people perceive your value.

If you are just nice to people all the time, they won't think of it as being nice. For example, say you just do the dishes every time your wife asks. She won't think of it as you doing something really nice for her, she'll just think "my husband does the dishes for me, that's the way life is". Instead, if you refuse and moan about it usually, but *ocassionally* do the dishes, when you do it she will think "what a sweetie".

Similarly, at work if you just put in solid hours and do good work all the time, you will become invisible to your boss. Instead, if you generally screw around and chit-chat a lot, but *occasionally* you really crunch and do some amazing work, your boss will think "oh, that guy really gave his all for the team there" and you'll get big bonuses.

I think there's a very fine moral line between "manipulation" and just being aware of how people perceive your actions.

If you find yourself being too consistently good, you should intentionally fuck up. Like say you've really sexed up your lady really nicely a few times in a row - you better do a terrible job on your next go, or it's going to become the "norm". Once it becomes the norm, then any deviation downward is seen as bad, and continued good jobs are not perceived as good, just as normal. You need to fuck up often enough that the norm is perceived to be low enough that you can beat it.


When you do something nice for someone, you're usually doing it to be *perceived* as doing something nice, not actually doing something nice. When you bake cookies and give them to someone, it's not because you think they really need a cookie and you're helping them out, it's because you want them to think "oh how nice".

Acknowledging this, when you do something nice, it should be the thing that creates the maximum perception of nice while costing you the minimum.

For example, when I do something for someone that takes an hour of my time, that costs me $200 or whatever my hourly time value is. They certainly do not appreciate that for its fair value. On the other hand, I can do something trivial like buy someone flowers and it's perceived as very nice.

Often I will choose to do the things that are "actually nice" as in actually helpful to the person, even if they don't particularly perceive it as very nice, and I refuse to do the the easy things that have high niceness perception because they're "cheating" or "too easy". Really I'm just being stupid.

In the world, we can see our choices, and we can see the results they will produce. There's no omniscient judge who is watching your choices and giving you gold stars for being "good". There are only the real world results. You should make the choice that provides the best real world results. That means buying flowers, cheating on your taxes, bribing restaurant hosts, making smalltalk, treating women like dogs, driving in the carpool lane, etc. I can't quite make myself do these things, but I also don't understand what exactly is holding me back.

12/02/2009

12-02-09 - Board Gaming Ethics

0. Be ready to move on your turn and keep the moves fast. Don't chit-chat during your turn, and use the time when it's not your turn to plan your actions. Go to the bathroom or whatever immediately after your turn. In general don't make people wait for you. Play fast.

1. Don't quit when you're losing. Don't say "this is stupid" or complain about your "bad luck" all the time. Hey guess what, board games are probabilistic and have high variance. Usually when you win or lose it's luck, the skill shows up in how often you win or lose. Don't pout and make it obvious you can't wait for it to be over, stay interested in what the other people are doing.

2. Don't drag out runaways when you're winning. When it's obvious you will win and the loser has no hope, it's polite to offer them resignation rather than dragging it out.

3. Always be trying to win. Be competitive. Games are no fun for your partner if you're not trying. Also, it's no fun for everyone if you play your own "meta game" and make up your own goal (like defeating some other particular player in a multiplayer game, or getting the lowest score possible, etc.).

4. Don't make deals or alliances outside the spirit of the game. Also deals and alliances should only be made that are in your best interest, not to intentionally screw someone else (unless that someone else is winning and it's in your best interest to screw them).

5. Don't exploit badly broken rule systems or loop-holes. Try to play within the spirit of the game. It's polite to say "I think I could do this move, but it's totally not fair and breaks the game, so I'm not going to". If you're aware of a rule that others aren't, don't keep it secret and spring it on them, warn them about it. If someone is obviously making a move because they don't know the rules well enough, tell them about it. In general, do not treat knowledge of the minutia of the rules as an aspect of skill and a way to win.

6. Tally your own accounting. Be aware of when you need to pay or collect resources and speak up and do it yourself. Don't rely on others to see it for you. It's good ethics to alert someone a few times, but after that you are under no obligation to do so and should just keep playing fast if they consistently fail to pay attention.

old rants