dannyman.toldme.com

This page features every post I write, and is dedicated to Andrew Ho.

June 22, 2012
Photo-a-Day, Sundry

Snooze

Link: https://dannyman.toldme.com/2012/06/22/snooze/

A quiet morning with Maggie.

Feedback Welcome

June 22, 2012
Excerpts, Good Reads, News and Reaction, Politics, Relationship Advice, Religion, Testimonials

Prop 8 Guy Decides to Stop Hating

Link: https://dannyman.toldme.com/2012/06/22/prop-8-guy-decides-to-stop-hating/

A Prop 8 champion is having a change of heart:

Marriage says to a child: The man and the woman whose sexual union made you will also be there to love and raise you. In this sense, marriage is a gift that society bestows on its children.

At the level of first principles, gay marriage effaces that gift.

[ . . . ]

But there are more good things under heaven than these beliefs. For me, the most important is the equal dignity of homosexual love. I don’t believe that opposite-sex and same-sex relationships are the same, but I do believe, with growing numbers of Americans, that the time for denigrating or stigmatizing same-sex relationships is over. Whatever one’s definition of marriage, legally recognizing gay and lesbian couples and their children is a victory for basic fairness.

I think that there is more to marriage than children, and that those children who can not be adequately cared for by their birth parents are still entitled to be cared for by whatever competent and loving parents society can find for them. At any rate, I am glad to see a Prop 8 supporter come out of the closet and realize that the way to strengthen marriage is to focus on strengthening marriages, rather than denigrating homosexuals.

The other day they were talking about Aung San Suu Kyi on the radio, that the path she chose to follow was the path laid forth by Mahatma Gandhi and Dr Martin Luther King. The idea is not to seek victory over the enemy, but to identify the universal capacity for virtue, to love the enemy and change the enemy’s heart, to be open to a more enlightened and equitable path. I feel that David Blankenhorn’s evolution here, along with the evolution of many Americans, is evidence that this sort of spiritual warfare is carrying the day in my country.

I love the smell of progress in the morning.

HT: kylev

Feedback Welcome

June 20, 2012
About Me, News and Reaction

THE FIRST TEN YEARS OF BLOGGING ARE THE HARDEST

Link: https://dannyman.toldme.com/2012/06/20/the-first-ten-years-of-blogging-are-the-hardest/

I just saw a link to this article in my Google Reader.

I haven’t read it. I figure it reads something like this:

My God, blogging is sooo hard. Most people give up and start a Tumblr or a Twitter but some folks really have what it takes to stick with the blogging. Bully on them!

I’ll tell you, though, when you’ve been blogging for the better part of 20 years, and they build special blog software to help you do all your blogthings, it gets less difficult to click click click and copy-paste-type-type-type.

I’ve been “blogging” since 1995. I’m like freaking Chaucer. Blogchaucer, anyway.

2 Comments

June 12, 2012
Sundry

Am I British?

Link: https://dannyman.toldme.com/2012/06/12/am-i-british/

I think toast is an underrated pinnacle of gustatory pleasure, and I frequently put different types of food on top of different types of toast. I just figured, hey, that’s just me, but apparently there is an entire nation that thinks this is a great idea:

Imran Ahmad is shocked to discover that Americans do not put food on toast.

From Imran Ahmad’s memoir “The Perfect Gentlemen”

Feedback Welcome

June 10, 2012
Religion, Technology

The End IS Near!!

Link: https://dannyman.toldme.com/2012/06/10/daves-galaxy-reset/

Folks clamoring for the Mayan Apocalypse this year can take some solace in a note I received this morning:

Greetings

I’ve been making some changes to the game that
pretty much require a reset, I apologize for the
inconvenience, I don’t like to disrupt the game
in such an extreme way, but it will make things
much better, I think.

The 2 biggest changes are that I’m adding Nebulae
to the galaxy, and changing the combat system to
work better statistically.

If you have a question or a concern, or wish to
tell me off, send an email to xxxxxx@gmail.com,
I’m always willing to listen to concerns.

The last turn will run the morning of June 23rd,
and the new galaxy will be built on the 24th.

Have Fun!
–Dave

Depending on how you look at this: everybody wins!

Feedback Welcome

June 9, 2012
Linux

Merge Multiple PDF Documents

Link: https://dannyman.toldme.com/2012/06/09/e-pdfs-unum/

By the way, let’s say you have to print, sign, scan, and email back a document using the flatbed scanner attached to your Linux workstation. No trouble scanning in each page as an individual PDF document using XSane, but assembling the multipage project into one document proved a modest challenge last time I tried.

Solution? Install pdftk, and then the command goes something like:

pdftk AVID000*.pdf cat output AVID.pdf

That’s will merge all the documents named AVID0001.pdf, AVID0002.pdf, etc into AVID.pdf. Or to put it another way:

pdftk <a bunch of PDF files> cat output <target PDF file>

Cheers!

1 Comment

June 8, 2012
Politics

Objectivism

Link: https://dannyman.toldme.com/2012/06/08/objectivism/

Someone for whom I have a decent respect is winding down his reading of Atlas Shrugged. While I haven’t read Ayn Rand, I basically get that her shtick is that “self-centered material greed is good because it maximizes economic efficiency. If you waver from this conclusion you are a Communist.”

A comment I left on Facebook:

“Rewarding people who work hard to build wealth” is a key argument for those who desire to rationalize ever-greater disparity in the material welfare of the wealthy over the poor.

“Rewarding people who work hard” is a core objective of Communism.

“A regulatory system that provides fair governance and an incentive for economic efficiency through competition in order to realize the greatest material benefit for society as a whole” is pretty much the desired end of free market capitalism. That’s got three parts: fair regulation, competition, and social good.

Objectivism, like Communism, is like saying “I hate it when a stool has three legs. Things would be better off if the stool had only one leg.”

I likes me some free market economics but it seems like many in our nation have this religious devotion to the idea that everything would be better if there were minimal governance and if we stopped fretting over social welfare. Fortunately there seems to be a counter-argument being put forth, at last, which explains that “wealthy people don’t create jobs unless they have so much consumer demand that they have no choice but to hire more folks” and that “wealthy people are wealthy in large part because the government has built an economy in which there is sufficient infrastructure and a sufficiently educated work force for economic activity to be conducted profitably, and a legal and enforcement structure which removes uncertainty over what rules there are how whether they will be followed.”

If you want to be a Libertarian, I would argue that Somalia is a Libertarian Paradise. There is no government! Strictly speaking, its Anarchy, and whenever I’ve tried to get a Libertarian to explain what parts of government are absolutely necessary the answer has always come out to “only those parts I need to get what I think I want.”

Anyway, I think that if the government can reasonably afford to do so, it ought to, among other things, provide a floor of basic material welfare for its people. And in the interests of promoting a vigorous market system, the government should make an effort to educate its citizens, provide clear and rational regulations and enforcement of economic activity, and if we can ever figure it out, get to a state of Keynesian regulation where we put more capital into the economy when it is weak, and replenish government coffers in times of abundance. All of that effort is rarely efficient and there are lots of opportunities for unfairness and injustice. The government isn’t perfect but it is what we’ve got. The nice thing about Democracy is that we put a value on transparency and fixing of government problems . . .

. . . I’ll take a modern welfare state over Somalia any day of the week!

2 Comments

June 5, 2012
Photo-a-Day, Politics, Sundry

Voting Day

Link: https://dannyman.toldme.com/2012/06/05/voting-day/

Voters in Mountain View, CA

I haven’t done any research, but I figured I would put in a vote for the cigarette tax, as well as local school bonds for asbestos removal. At current interest rates, government borrowing just sounds like an obvious thing to do.

I also got to vote for Obama for the Democratic Presidential Primary. His was the only name on my registered-Democrat ballot.

I am also hoping that the Cheeseheads give Governor Walker the boot.

Feedback Welcome

June 2, 2012
About Me, Technology, Testimonials

Dear Companies: Knock it Off, Please!

Link: https://dannyman.toldme.com/2012/06/02/dont-force-tv-commercials-on-captive-audience/

E-mail feedback to esurance:

I flew Delta airlines yesterday. When the planes take off, after the safety video, the captive audience of passengers is subjected to a handful of television commercials. Personally, I take offense at being subjected to television commercials: I avoid gas stations and airlines that subject me to commercials. I don’t subscribe to cable TV, but pay to stream shows commercial-free online.

Yesterday one of the television commercials that was forced upon me was from esurance. Hey! I PAID for this insult! My desire to use esurance as my auto insurance provider was greatly diminished upon being forced to watch a television commercial.

As people continue to leave the commercial television system, cultural tolerance for commercial interruptions will decrease. This complaint is the tip of an iceberg that is growing before you. Please reconsider this practice of forcing your television commercials upon captive audiences before you alienate even more customers.

Thanks,
-danny

Feedback Welcome

May 24, 2012
Linux, Technical, Technology, Testimonials

Dear Ubuntu: Stop Asking me for my Password!

Link: https://dannyman.toldme.com/2012/05/24/ubuntu-password-prompt/

I like Ubuntu. Or at least I liked it a few years back when you got a very nice functional desktop out of the box … but that is a different gripe.

I really like an OS that updates the software for me. Really, downloading and installing updates is for chumps! Way to go, Ubuntu!

But here’s a feature that has been bugging me for years: the system pops up a window saying “hey, I’m going to update the system software for you.”

And I’m like “sure, go ahead, be my guest!”

Then it’s like “okay, please give me the administrator password.”

And I’m like “well, okay . . . but . . .”

Each time the computer pops up a window unbidden offering to do me a favor in exchange for my password, I am wondering when some bastard will get around to writing a bit of malware that offers to do something nice for me in exchange for my password. Maybe a web site can launch a convincing-looking software-update window and prompt me for a password. It is going to be epic just how many users can be convinced to type their system passwords into a malware site.

If you are a part of the system that has access to do heavy lifting, please do not approach the user asking for a password. It teaches the user that “hey, its normal for your computer to pop up some window and ask for a password and when that happens you should totally humor the computer and give it your password.” You want to update my software? Great! You want to check with the person using the computer to make sure its a good time? Great, ask away, tell them your plans. But when they say yes, just fricking do it, and don’t ask them for their password.

1 Comment

May 22, 2012
Sundry, Technology, Testimonials

Way to go, Facebook!

Link: https://dannyman.toldme.com/2012/05/22/fb-got-it-right/

I am skeptical of Facebook’s long-term prospects, but as a guy who has worked at his share of Silicon Valley startups, and as a guy who has taken a modest loss on FB by betting on an opening-day bounce, I have got to give them credit: their IPO “flop” means they got it right, and hopefully made the stock market a slightly better place:

1) By setting their price at, or in this case, above what the market will pay, the company’s investors make the most money off their stock. If there’s an opening-day bump, that means they left money on the table for the underwriting bankers to profit from.

2) By being such a “dud” hopefully they dampen future expectations that a hot IPO should “pop” on the opening day. The true value of the stock market is as a mediator of investment. Speculative trading is just white collar gambling.

And unless the company totally implodes before their lock out period, I am not worried about the rank-and-file employees either. In pre-IPO companies employees are typically awarded options at a very modest fraction of the stock’s future public price. Most Facebook employees are probably looking forward to some windfall in the near future; Some will become rich, many others will be able to afford a house on the peninsula, and more still will be able to zero out credit card debt, student or car loans.

Valley companies that want to succeed look out for their employees. Even at an old public company like Cisco, we get to purchase our public stock at a 15% discount, which means the employees get some nice equity action even in a down market. I won’t be crying a river for Facebook employees any time soon.

Feedback Welcome

May 10, 2012
FreeBSD, JIRA, Linux, Mac OS X, Technical

Strip Non-Ascii From a File

Link: https://dannyman.toldme.com/2012/05/10/mysql-not-configured-for-utf8/

I have had bad luck trying to coax this out of Google, so here’s a Perl one-liner:

perl -pi -e 's/[\x80-\xEF]//g' file.txt

Where file.txt is a file you want to clean up.

Why this comes up is because we have a web application that was set up to hit a MySQL database, which is incorrectly configured to store text as ASCII instead of UTF-8. The application assumes that all text is Unicode and that the database is correctly configured, and every week or two someone asks me why they are getting this weird gnarly error. Typically they are pasting in some weird UTF-8 whitespace character sent to us from Ukraine.

Eventually the database will be reloaded as UTF-8 and the problem will be solved. Until then, I can tell folks to use the Perl command above. It just looks for anything with the high bit set and strips it out.

Feedback Welcome

« Newer Stuff . . . Older Stuff »
Site Archive