dannyman.toldme.com


Linux, Technical

Linux Uptime Reset

Link: https://dannyman.toldme.com/2006/08/16/linux-uptime-reset/

dman: Anyone ever been on a Unix box and see uptime reset without a reboot?
SmooveB: dman: yes
David: dman: yes
***dman smiles
David: dman: my personal favorate is the rollover or the negative rollover
SmooveB: dman: linux in particular
dman: LINUX, you say?
David: SmooveB: fancy that, that’s where I’ve seen it too

It seems that this issue is near and dear to those involved in “the uptime project” where, I guess, geeks sit around comparing uptime size. Which is kind of juvenile. However, this bug gave me a hearty laugh:

How reproducible:
ALWAYS

Steps to Reproduce:
1. Boot Linux system
2. Go away for 497 days
3. check uptime

That would be a bitch to QA! (more…)

2 Comments


Sundry

Treating Myself

Link: https://dannyman.toldme.com/2006/08/19/consumerist-hedonism/

Given that I recently took a new job at a higher salary, and I am no longer paying a bunch of money for someone else’s tuition, and I’m being exposed to new things, and well, just because, I’ve been on a bit of a spree lately. Fortunately, Amazon Marketplace helps me shop with some thrift. But, things in the mail to me:

1 of: Anthology [Audio CD] A Tribe Called Quest (Author)
1 of: Omnivore’s Dilemma [Hardcover] Michael Pollan
1 of: Late Registration [Explicit Lyrics] [Audio CD] West, Kanye
1 of: The In Sound from Way Out! [Audio CD] Perrey-Kingsley
1 of: The Victorian Internet [Paperback] by Standage, Tom
1 of: Souk System [Import] [Audio CD] Gnawa Diffusion
1 of: We Love Music [Import] [Audio CD] International Pony
1 of: 1999 [Audio CD] Cassius
1 of: Sexual Healing [Live] [Audio CD] Gaye, Marvin
1 of: Ultra-Lounge, Vol. 11: Organs in Orbit [Audio CD] Various Artists
1 of: Dreams To Remember: The Otis Redding Anthology [Audio CD] Redding, Otis
1 of: Absolutely the Best [Audio CD] Eric Burdon (Artist)
1 of: The Ultimate Tony Bennett [Enhanced] [Original recording remastered]
1 of: The Frisco Kid

As well, a Red Roomba with wall charger, and an iMac for the Living Room.

Stern Grove this weekend. (Contact me if you’d like to join, it’s near my house.)

Flying to Chicago next weekend.

Then, Burning Man.

The last three items are “San Francisco” themed media for a future housewarming party.

All the same, that spending is going to taper off quick, I swear! I can’t be this self-indulgent forever. I don’t want to be. But, anyway . . .
Ah, and yesterday I just started reading “The Soul of Capitalism” and it is rocking me thoroughly! Man, having a Muni commute is so fantastical!

3 Comments


Excerpts, Good Reads, Relationship Advice

Ode to the Nice Girls

Link: https://dannyman.toldme.com/2006/08/21/nice-girls/

Anna, thanks for the link.

This ode rocks:

I’ve read the tribute to the nice guys; this is my response.

This is my tribute to the nice girls. To the nice girls who are overlooked, who become friends and nothing more, who spend hours fixating upon their looks and their personalities and their actions because it must be they that are doing something wrong. This is for the girls who don’t give it up on the first date, who don’t want to play mind games, who provide a comforting hug and a supportive audience for a story they’ve heard a thousand times. This is for the girls who understand that they aren’t perfect and that the guys they’re interested in aren’t either, for the girls who flirt and laugh and worry and obsess over the slightest glance, whisper, touch, because somehow they are able to keep alive that hope that maybe… maybe this time he’ll have understood. This is an homage to the girls who laugh loud and often, who are comfortable in skirts and sweats and combat boots, who care more than they should for guys who don’t deserve their attention. This is for those girls who have been in the trenches, who have watched other girls time and time again fake up and make up and fuck up the guys in their lives without saying a word. This is for the girls who have been there from the beginning and have heard the trite words of advice, from “there are plenty of fish in the sea,” to “time heals all wounds.” This is to honor those girls who know that guys are just as scared as they are, who know that they deserve better, who are seeking to find it.

(Read the whole dang thing.)

Reads a bit like “Howl . . .”

I think that one thing that gets a lot of us derailed is the whole consumerism aspect of modern life. It is suspiciously weird when you’re “shopping around” for someone to walk up to you with their heart on their sleeve and be real. At best, its too-good-to-be-true. “What’s the catch?” And, often enough, you’re not that interested, because you’ve gotten used to being attracted to people who are more screwy than this.

And I think that’s how we end up with “nice guys” and “nice girls” having such a hard time getting anywhere. Everyone’s after the bling . . .

I, on the other hand, for the time being, get to let go of my love and my anger, such that I can kind of observe from the sidelines and try not to get overly-fixated on this game. Ahhh, delicious abstraction! Hopefully I can keep my consciousness with me as I move along with life. Of course, life itself never gives you a “break” . . . we keep it interesting over here.

2 Comments


Technical

MySQL: Backup User Privileges

Link: https://dannyman.toldme.com/2006/08/22/mysql-backup-grant-privileges/

Q: What privileges must I grant to a MySQL user to allow them to run mysqldump?

A: LOCK TABLES, SELECT seems to do the trick.

Example: GRANT LOCK TABLES, SELECT ON mydatabase.* TO 'backup'@'backuphost' IDENTIFIED BY 'somecoolpassword';

Principle of least-privilege: don’t entrust your backup host with the power to hurt the database if you don’t have to. SELECT allows the user to read data, and LOCK TABLES allows the user to lock the tables while running a “snapshot” . . . and of course, narrow the privileges to a specific user-host-password tuple.

3 Comments


About Me, Free Style

Public Toilets

Link: https://dannyman.toldme.com/2006/08/22/public-toilets/

Some ladies started yammering on the Yelp message boards about what a joy it is to hover over a toilet seat rather than sitting on it, and I . . . I respectfully disagreed:

Jesus Christ, people.

I check out the seat, and if there’s skank on it, I take a bit of toilet paper and wipe that skank off.  Pubes?  A bit of splatter?  Nothing can resist my mastery of toilet paper!

(Well, okay, some toilets are just hopeless, I lose the urge, my genitals pucker up into my body and I hold out for the next opportunity.)

Then, I place my ass DIRECTLY ON THE SEAT.

I’m proud to say, i tend to leave a potty cleaner than I found it.  And I believe that is a way to measure a person’s character.

Personally, I think squat toilets are superior for public venues.  Drop your drawers, poop in the hole, wipe up, wash up and go!  Sitting is a luxury i can save for my apartment, at least until I have kids and we all start fighting over the bathroom.

I have read that with a bit of practice (in the shower) that most women can actually get a handle on the stand-and-pee thing.

I mean, in case you were wondering where I stood, er, sat, on the issue of public toilets.

4 Comments


About Me, Relationship Advice

Recycling “Baggage”

Link: https://dannyman.toldme.com/2006/08/25/recycling-baggage/

Recycling Just after we moved to the new place in Walnut Creek, the marriage started falling apart. Throughout the crisis my attention was focused on that, and a lot of daily life stuff just stopped completely. Here’s the pile of unopened bills, some with yellow forwarding stickers from March. The pile in the foreground is in the recycling, the background pile are keepers.

Since I started the new job, all bills are caught up, and the credit cards are all paid off for the first time in a couple of years. I don’t want to go back and keep my records straight for the last half year, as it would be too painful. I’m giving my financial records a “fresh ‘start over'” in Quicken.

This picture doesn’t make me sad or anything, but kind of glad to be paring things down and moving along. The pile just struck me as symbolic, so I self-indulgently snapped a picture to share.

Feedback Welcome


Relationship Advice

Relationships: The Sharing Paradox

Link: https://dannyman.toldme.com/2006/08/27/sharing-paradox/

When you are just trying to enjoy the moment, and not start a relationship, you are much freer in sharing yourself. This tends to be when you fall in love despite yourself.

When you are trying to pull off a relationship, you are more inhibited. You take some care in how and what you reveal so as not to scare off the other person. Then you do an impaired job of being present in the relationship.

You do best, in my opinion, when you shrug off that inhibition, and share yourself freely, but considerately. The best medium, I think, is when you are broaching some potentially sensitive topic and ask your partner if they are comfortable about it and they can find it in themselves to be comfortable, because they dig you, they are coming to accept you for who you are, and not for who you present yourself to be.

And of course, in order to best be accepting of another person’s sharing, you’ll have to be accepting of what you know about yourself. Love starts in your own heart.

“Be a brilliant soul
Sparkling in the galaxy
While walking on Earth.”

And also, be polite. If you are an interesting cat, there can be a lot to take in. Don’t hold back on the sharing, but leave enough time for listening to appreciate how much sharing your partner can digest in a sitting. That is a good opportunity to shift gears, shut up, and listen. Especially for us guys, listening is a skill that takes a bit of cultivation.

Feedback Welcome


Relationship Advice

Quotidian

Link: https://dannyman.toldme.com/2006/09/01/quotidian/

A few cool quotes Grandma forwarded to me. This I’d say “lost . . . and found:”

It’s true that we don’t know what we’ve got until we lose it,
But it’s also true that we don’t know
What we’ve been missing until it arrives.

I have felt both ways about my wife, and now I’m looking forward to discovering what else I have been missing.

I recall the scene from “Dances With Wolves” where the one guy tells Dunbar that he was good friends with Stands With a Fist’s deceased husband, and he at first resented Dunbar, but now he thinks that maybe his friend “left” because he knew Dunbar would come along.

Then, “If you want to be happy for the rest of your life . . .”

Don’t go for looks; they can deceive.
Don’t go for wealth; even that fades away.
Go for someone who makes you smile
Because it takes only a smile to make a dark day seem bright.
Find the one that makes your heart smile.

And then, ask a optimist:

The happiest of people
Don’t necessarily have the best of everything;
They just make the most of everything that comes along their way.

There have been times when I was maybe more bi-polar, and people would ask, “why are you so happy all the time?” And I would answer “Because it beats being sad!”

Feedback Welcome


Excerpts, Good Reads, Technology

How to Make Money

Link: https://dannyman.toldme.com/2006/09/05/popularity-pays/

Says Paul Graham:

Of course you have to have a business model eventually. But experience so far suggests that figuring out how to make money from something popular is a lot easier than making something popular.

I get a lot of criticism for telling founders to focus first on making something great, instead of worrying about how to make money. And yet that is exactly what Google did. And Apple, for that matter. You’d think examples like that would be enough to convince people.

Is this another Bubble? I don’t think so, not so far. There may be a lot of lame startups being started, but that’s not the definition of a bubble. A bubble is when a lot of money is being invested in lame startups, and that’s not happening yet. The reason so many new startups are getting started is that the cost has gone down, not that funding has gone up.

This is one reason I’m optimistic about my present employer: we’ve got something that is proving to be very popular. We’ve got a good thing going such that we can become hugely popular, and if we can capitalize on that even a little bit, we should be doing alright.

As to whether this is the mentality that brought us the Bubble, I think the thing to watch out for is Irrational Exuberence, and over-reaching. Popular or not, VC-backed or not, I haven’t heard any of that since the bust. I’d like to think that we of the Silicon Valley have Gotten Over Ourselves a bit–our experiments, called “startups”–have some sense of scope, and few companies outside of Microsoft or Google have barrels of F-U money to throw around. We’re no longer surrounded by IPO-funded Mercedeses and BMWs, and nobody I know is paying $2,000/mo rent. I hope we retain this sense of sensibility.

Feedback Welcome


Linux, Technical, Technology

Serial Console Woes

Link: https://dannyman.toldme.com/2006/09/06/serial-console-woes/

So, I’m setting up a box. I need to test different filesystem configurations, which will involve a lot of boot-configure-install-post-install-benchmark cycles. We have a nice network boot infrastructure, but getting serial booting to work is always fun. Today I found that the vendor has set up BIOS “remote access” to COM2. Funny thing, the box only has one serial port! So, I set that to COM1, and configure console redirection only up to the boot loader, tell the bootloader that I want text console=ttyS0 and we’re in business!

But man, if SuSE’s YaST aint a bloody mess when it downgrades to text on a serial port:

yast

What you don’t see here is the constant slow screen-redraw, constant pressing control-L. This is what it looks like at a good moment!

I think I understand why. I mean, I would think that Linux developers would take serial consoles and text mode to heart. After all, that’s the whole point, right? But that’s how I think, because I manage dozens of servers at a time, remote, and all my boxes are rack-mount jobbies with lots o’ fans and nobody wants to be in the same room.

But the developers who hack on Linux probably aren’t hard-core SysAdmins. Their dev system is some beat-up old hardware sitting near their desk, wired up to a spare VGA monitor, so yeah, text mode is kind of an afterthought. Especially given the pain in the butt that setting up serial consoles can be!

2 Comments


Relationship Advice

Divorce and Taxes

Link: https://dannyman.toldme.com/2006/09/09/divorce-and-taxes/

One interesting thing about getting divorced in California is that you have to wait six months after filing for a Joint Petition for Summary Dissolution of Marriage, before you can petition for final judgement. Yup, it takes six months to get a divorce. “You’d think they’d make you wait six months before getting married,” was Grandma’s response.

This leaves open questions as to what constitutes Community Property, and filing taxes. Answers I have not easily found online. A bit of “friendly advice” I got from someone is that Community Property ends at separation. As far as filing taxes, I found another bit of advice:

You are considered unmarried if you were legally separated on December 31 or if your spouse did not live in your home for the last six months of the year.

So, let us say your spouse seperates from you in April, files in July, and you are still legally married until January.  As best I can tell, you file separately, and the assets your acquire later in the year are yours.

Of course, I am neither a lawyer nor an accountant.

Feedback Welcome


About Me, Excerpts, Movies, Relationship Advice

Love After Love: Romancing Myself

Link: https://dannyman.toldme.com/2006/09/10/romancing-myself/

At Church, this morning, was read the following poem, which resonated with current life activity:

Love After Love
Derek Walcott

The time will come
when, with elation
you will greet yourself arriving
at your own door, in your own mirror
and each will smile at the other’s welcome,

and say, sit here. Eat.
You will love again the stranger who was your self.
Give wine. Give bread. Give back your heart
to itself, to the stranger who has loved you

all your life, whom you ignored
for another, who knows you by heart.
Take down the love letters from the bookshelf,

the photographs, the desperate notes,
peel your own image from the mirror.
Sit. Feast on your life.

On Labor Day I took myself out on a date: we went to Peet’s, then had some pizza, and then popcorn and soda while watching the new Woody Allen movie at the local theater. “I was born in the Hebrew faith, but when I got older I converted to Narcissism,” said Woody. (more…)

Feedback Welcome


Excerpts, Good Reads

The Big Idea

Link: https://dannyman.toldme.com/2006/09/11/the-big-idea/

Stolen from gapingvoid, which has some delicious perspective on creative endeavour:

Every creative person is looking for “The Big Idea”. You know, the one that is going to catapult them out from the murky depths of obscurity and on to the highest planes of incandescent ludicity.

The one that’s all love-at-first-sight with the Zeitgeist.

The one that’s going to get them invited to all the right parties, metaphorical or otherwise.

So naturally you ask yourself, if and when you finally come up with The Big Idea, after years of toil, struggle and doubt, how do you know whether or not it is “The One”?

Answer: You don’t.

There’s no glorious swelling of existential triumph.

That’s not what happens.

All you get is this rather kvetchy voice inside you that seems to say, “This is totally stupid.This is utterly moronic. This is a complete waste of time. I’m going to do it anyway.”

And you go do it anyway.

Second-rate ideas like glorious swellings far more. Keeps them alive longer.

Mainly, I like “don’t quit your day job” . . . gives you something to do on the long commute to work. I’d take from that: have a long commute to work that leaves your arms free, if you can swing it. One thing I am completely loving about San Francisco is that I can stumble out of my house when I am good and ready, catch the next Muni that happens by, and repeat the process at the end of the day. People pay good money to drive cars, but the $45 monthly Muni pass . . . . . . at the current rate, I may part with my wheels. I spend more time driving the car around from one street cleaning zone to the next than I do actually driving anywhere!

(Still reading the darn thing. ’tis a delicious fountain of philosophy that most any of my friends should find somewhat gratifying. :)

1 Comment


Excerpts, Technology

Wired: 9/11 Begat the Blog

Link: https://dannyman.toldme.com/2006/09/11/wired-911-begat-the-blog/

Curse your RSS Feeds, Gmail, for linking me to this spastic hyperbole:

When the world changed on Sept. 11, 2001, the web changed with it.

While phone networks and big news sites struggled to cope with heavy traffic, many survivors and spectators turned to online journals to share feelings, get information or detail their whereabouts. It was raw, emotional and new — and many commentators now remember it as a key moment in the birth of the blog.

“If Americans learned anything from the surprise mass-murder perpetrated on 9/11, it was that they could express their feelings honestly on the Internet.”

I try not to be a cynical, jaded, old man, but please . . . its schlocky writing like that that makes me want to invade foreign countries, just so we can bring back the draft so that instead of talking about the contribution that Muhamed Atta made to the blogosphere, a few talentless hacks might be torn from their comfort zone and have some life to share with us.

Don’t mind me, I’m just venting my spleen.  After all, blogging about September 11 is “raw, emotional and new.”  You’re witnessing a re-enactment of Internet History!

2 Comments


Technical

Locutus of CODE

Link: https://dannyman.toldme.com/2006/09/13/sleep/

japolo: haha, danny quotes locutus of borg in his code
anna: locutus was cool
dman: hrmmm.
dman: that sounds familiar … care to paste a bit, sir?
japolo: # “Sleep.” –Locutus
japolo: sleep($sleep);

I used to love Star Trek: The Next Generation.  But that was pretty damn lame when the Borg got blown up just when they were about to destroy Earth because someone told them to sleep.  Now, it just makes me grin.

There are three lights!

5 Comments

« Older Stuff . . . Newer Stuff »
Arrr! . . . Avast!
Site Archive