dannyman.toldme.com


Excerpts, Good Reads, Testimonials

Depression

Link: https://dannyman.toldme.com/2008/06/16/depression/

And one more excerpt from Mister Pip which so aptly describes depression:

The only thing I could think to do was to get into bed. And there I stayed.

For six days I didn’t get up except to make a cup of tea, or fry an egg, or lie in the skinny bath gazing at a cracked ceiling. The days punished me with their slowness, piling up the hours on me, spreading their joylessness about the room.

I listened to the buses change down gear outside the boardinghouse. I listened to the hiss of tires on the wet road. I lay in bed listening to the woman downstairs get ready for work. I listened to her run the shower and the shrill whistle on her kettle. I waited for her footsteps on the path below my window, and as that brief contact with the world departed I shut my eyes and begged the walls to let me go back to sleep.

A doctor would have said I was suffering from depression. Everything I have read since suggests this was the case. But when you are in the grip of something like that it doesn’t usually announce itself. No. What happens is you sit in a dark, dark cave, and you wait. If you are lucky there is a pinprick of light, and if you are especially lucky that pinprick will grow larger and larger, until one day the cave appears to slip behind, and just like that you find yourself in daylight and free. This is how it happened for me.

Lloyd Jones
Mister Pip

1 Comment


About Me, doodles, Free Style

Self Portrait

Link: https://dannyman.toldme.com/2008/06/19/self-portrait/

Done in Thailand. I don’t recall if this was before or after I got sunburned. Pretty colorful for a white guy!

Feedback Welcome


doodles

Sketches

Link: https://dannyman.toldme.com/2008/06/26/sketches/

Feedback Welcome


Featured, News and Reaction, Politics, Technology

California to Manufacture Electric Cars!

Link: https://dannyman.toldme.com/2008/07/01/tesla-san-carlos/

Ed tipped me off that the North American factory for the new electric sports car, the Tesla Model S, will be in the San Francisco Bay Area. San Carlos is about half way between San Francisco and San Jose. It was thought the factory would be opened in Mexico, which offered government incentives. California offered its own incentives, and The Governator owns a Tesla Roadster. (And a Hummer.)

Gay marriage and electric sports cars! What awesome new stuff will we embrace next?

Feedback Welcome


doodles

Slick

Link: https://dannyman.toldme.com/2008/07/03/slick/

Yeah!

Feedback Welcome


About Me, Featured, Politics, Religion, Testimonials

One Nation, Indivisible

Link: https://dannyman.toldme.com/2008/07/04/one-nation-indivisible/

“I pledge allegiance, to the flag, of the United States of America. And to the Republic, for which it stands, one nation, indivisible, with Liberty and Justice for All.”

IMG_0940

Notice anything missing?

Some time in grammar school I figured there was something wrong with an Atheist pledging allegiance “under God” and after some time I came to pause when we would recite those two words. “one nation . . . indivisible.”

Paul Burd asks “do you remember the words to the Pledge of Allegiance?”

I am overly aware of the words. I responded:

I can recite the Pledge of Allegiance no problem. But as a devout Atheist and an honest patriot I skip the Joseph McCarthy “under God” feature because it is sacrilegious to make false professions, and dangerously reckless to claim holy sanction for the State.

So, here’s to Independence from Tyranny and state-sanctioned religion!!

Feedback Welcome


Featured, FreeBSD, Linux, Mac OS X, Technical

HOWTO: Random Number in Shell Script

Link: https://dannyman.toldme.com/2008/07/04/shell-sh-bash-random-splay/

The other day I was working on a shell script to be run on several hundred machines at the same time. Since the script was going to download a file from a central server, and I did not want to overwhelm the central server with hundreds of simultaneous requests, I decided that I wanted to add a random wait time. But how do you conjure a random number within a specific range in a shell script?

Updated: Due to much feedback, I now know of three ways to do this . . .

1) On BSD systems, you can use jot(1):
sleep `jot -r 1 1 900`

2) If you are scripting with bash, you can use $RANDOM:
sleep `echo $RANDOM%900 | bc`

3) For portability, you can resort to my first solution:
# Sleep up to fifteen minutes
sleep `echo $$%900 | bc`

$$ is the process ID (PID), or “random seed” which on most systems is a value between 1 and 65,535. Fifteen minutes is 900 seconds. % is modulo, which is like division but it gives you the remainder. Thus, $$ % 900 will give you a result between 0 and 899. With bash, $RANDOM provides the same utility, except it is a different value whenever you reference it.

Updated yet again . . . says a friend:
nah it’s using `echo .. | bc` that bugs me, 2 fork+execs, let your shell do the math, it knows how
so $(( $$ % 900 )) should work in bsd sh

For efficiency, you could rewrite the latter two solutions:
2.1) sleep $(( $RANDOM % 900 ))
3.1) sleep $(( $$ % 900 ))

The revised solution will work in sh-derived shells: sh, bash, ksh. My original “portable” solution will also work if you’re scripting in csh or tcsh.

2 Comments


doodles

Violet Guy

Link: https://dannyman.toldme.com/2008/07/10/violet-guy/

Inspired by a guy in Hat Yai, Thailand, but all mixed up, Picasso-style.

Feedback Welcome


doodles

Woman

Link: https://dannyman.toldme.com/2008/07/17/woman/

My other favorite. She kind of came out of nowhere, and for me evoked Jordan while doodling in Thailand.

Feedback Welcome


doodles

Woman Sketch

Link: https://dannyman.toldme.com/2008/07/24/woman-sketch/

компютри

She’s not as pretty as last week. Next week is my first attempt at publishing a cartoon.

Feedback Welcome


doodles, Sundry

Mr Iconoclast

Link: https://dannyman.toldme.com/2008/07/31/mr-iconoclast/

This is the first contemporary “doodle” that I’m posting. I hope there will be more. I have long had a crush on the word “iconoclast” which basically means non-conformist, someone who marches to their own drumbeat, conventions be damned. I like it because it kind of sounds like “ironclad”. The “ironclad iconoclast” chugging along the seas blowing up wooden preconceptions!

Yeah, anyway, that crazy guy with the mug is me. Seriously, I can drink coffee from a paper cup if I have to but why should I have to? So, if I’m headed to a cafe I pack my own mug. Of course, Starbucks will still hand me my pastry in a bag, like I’m some sort of cretin.

I don’t actually talk as much as “Mr Iconoclast” but I have smiled and answered “MUG SIZE!”

Also, that overly-wide middle line could be considered a bug, which I could have fixed on the computer, but have chosen to preserve for posterity. Nyah!

1 Comment


Featured, News and Reaction, Politics, Testimonials

China’s Cute Little Girls

Link: https://dannyman.toldme.com/2008/08/12/chinas-cute-little-girls/

I’m 32 years old, and so I try to behave like a grownup and not get excited over all the injustices of the world. And I try to have a reasoned, diplomatically nuanced outlook on world affairs. When it comes to Chinese politics I understand the tensions between regional independence and national cohesion, the tension between personal freedoms and the scary business of managing a rapidly industrializing nation of 1.2 billion people and limited natural resources . . . I care about what happens in China but I uhm, try to be a properly diplomatic adult and defer to them doing it their way.

But this latest story from the BBC, about something trifling, just makes me wanna smack somebody with a stick. (more…)

Feedback Welcome


About Me, Technical, Technology

Systems Administrators Salary Survey

Link: https://dannyman.toldme.com/2008/08/17/systems-administrators-salary-survey/

SysAdmin Book Shelf

When people ask me what I do I answer either “computer stuff” or “Unix systems administration” and when asked what that means I answer that I keep the servers up and running. If you happen to be curious about my technical background you can review an old copy of my resumé online.

SAGE members and survey participants now have access to the 2007 System Administrator’s Salary Survey at http://www.sage.org/salsurv/. It is nice to check in an see how well one’s compensation aligns with that of one’s peers. I like the summary:

“A technically challenging profession that pays its entry people as much as US$50,000/year is an interesting one. System administration appears to be a fine way to make a living. Experience, education, and enhanced skillsets seem to be the growth path of choice.”

My current employer is known for its generous compensation, and the current survey is an affirmation of that. More importantly I’m enjoying my experience of my present employer and with any luck may actually hold this job for a few years.

I still hope to eventually return to Chicago to work. The San Francisco Bay Area has the highest average salaries, though Chicago averages not much less. The catch is that most Chicago jobs are in the financial services industry, and that is a less enjoyable work environment than the Silicon Valley culture.

Feedback Welcome


Letters to The Man, News and Reaction

HOWTO: Call Ikea USA

Link: https://dannyman.toldme.com/2008/08/18/ikea-us-telephone-number/


A fire drill at Dallas IKEA? (Thanks, shesbitter)

Ahhh, Ikea! Our favorite one-stop shop to kill an entire Saturday stocking up on inexpensive husgeråd. The checkout process can be exhausting, but I tend to find the post-unloading furniture assembly to be relaxing.

And while Ikea has nice products at modest prices, sometimes things don’t go perfectly, and you need some customer service. This is where you experience the dark side of Ikea: getting customer service, especially from your local Ikea store, can be a nightmare.

But, fret not, as I had done, for after my whining, Paul posted the number for Ikea US Corporate Headquarters, and I have since heard from others that calling this number indeed connects you to friendly human beings who can resolve problems for you:

(610)834-0180

If you find that this does or does not bring you satisfaction, please let me know. Cheers!

7 Comments


doodles

Cartoon Guys

Link: https://dannyman.toldme.com/2008/08/21/cartoon-guys/

The deal is I’m trying to set some image published each Thursday. I missed last week for sure. Today is a double-header from around 2006: practice sketching cartoon characters based on a book I purchased on impulse on how to draw cartoons:


The first page is just practice drawing a simple character from repeated elements: nose, eyes, chin, ear, hair, smile. Then he gets a trapezoidal boy, simple arms, easy legs . . . . then we try posing him. On the next page we try to bring in some action.

A healthy reminder as to how you can achieve a great deal with simplicity, and that I should practice.

Feedback Welcome

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