• Skip to primary navigation
  • Skip to main content

Bryan Strawser

  • About Me
  • Academics & Research
  • Work
  • Contact
You are here: Home / Archives for Bryan Strawser

Bryan Strawser

So Who Do We Fight Next?

by Bryan Strawser · Apr 19, 2003

Worth Reading: So Who Do We Fight Next ?.

Very interesting.  Its not clear to me that he’s wrong at all:



Not to jump the gun, so to speak, but our campaign to stabilize the Middle East via forcible regime change is not certain to stop at Baghdad. Instead, we may be on to Damascus, or Tehran, or even Riyadh.

If the United States is fighting a long war against radical Islamism (we are), and if a key to our strategy in that war is to eliminate regimes that we say may support terrorism (it is), and as we have already shown that we’ll fight without United Nations approval, then more fighting seems almost inevitable.  More…

[The FuzzyBlog!]

Filed Under: General

Keeping Your Server From Running

by Bryan Strawser · Apr 19, 2003

Keeping Your Server From Running Out of Disc Space.

Keeping Your Server From Running Out of Disc Space


Not too long ago, I got a panicked IM from someone I know in Blogspace.  “Scott my server won’t let me log in to Movable Type.  Can you help me?”  He shot me a root password and I started reviewing the logs, checking for DB errors, etc.  Then either he or I thought of “does it have free disc space”?  A quick “df -h” told us /dev/hda1/ was at 100%.  That’s bad.  So we cleaned up some stuff and I thought he might benefit from some code I wrote a while back.  What it does is once per day send me a report via email like this:

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3 18G 17G 561M 97% /
/dev/hda1 23M 4.1M 17M 19% /boot
none 250M 0 250M 0% /dev/shm
10.225.183.68:/ 36G 23G 11G 67% /mnt/10.225.183.68


Once a word has been allowed to escape, it cannot be recalled.
— Quintus Horatius Flaccus (Horace)

The key thing here isn’t the code.  That’s pretty damn simple.  The big deal is that I made it interesting by appending the results of the standard Unix tool fortune to it.  Here’s another example:

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3 18G 17G 561M 97% /
/dev/hda1 23M 4.1M 17M 19% /boot
none 250M 0 250M 0% /dev/shm
10.225.183.68:/ 36G 23G 11G 67% /mnt/10.225.183.68


If you would understand your own age, read the works of fiction produced
in it. People in disguise speak freely.

We all get way to many automated things via email and if you at least make them interesting then you might bother to read them. 


Here’s the php code.  There are lots of ways to make it better but I just dashed it off.  Perhaps it will be useful. 


Note: The real lesson here is that more developers need to start taking user psychology into account.  I’ve had boring sysadmin reports before and I used to generally just delete them.  Now I actually read them since I never know what might be in them.  If I had been a little bit smarter, I would have varied the fortune routine to sometimes give 2 fortunes or 5 or maybe insert a random picture from the net. 

[The FuzzyBlog!]

Filed Under: General

More on CNN Obituaries

by Bryan Strawser · Apr 19, 2003

CNN Obituaries Leaked. The Smoking Gun: Leaked Obituaries TSG: “APRIL 16–While all news organizations prepare obituaries in advance of the deaths of famous individuals, the folks at CNN inadvertently gave the Internet-surfing public a chance to preview how the network’s web site would note the demise of Vice President Dick Cheney, Ronald Reagan, and a few other prominent figures. Until earlier this afternoon, a CNN server housed mock-ups of web pages announcing the yet-to-happen deaths. The CNN pages, which were discovered by the intrepid folks at fark.com, were yanked about 20 minutes after being exposed (though TSG was able to grab a few of the pages for posterity’s sake). The premature obituaries, housed in a publicly accessible area of the CNN server and searchable via Google, were apparently the work of Peter Rentz, a senior multimedia designer at CNN. The mock-ups are virtually identical to the obituary design currently used by CNN when a notable person dies (click here to see how CNN covered the Queen Mother’s March 2002 death). In fact, elements of the Queen Mum’s obit template can be seen in the below Cheney design. In addition to Cheney and Reagan, CNN also prepped online farewells to Fidel Castro, Bob Hope, Pope John Paul II, Nelson Mandela, and Gerald Ford. (7 pages)”… [#!/sablog : Shanti Braford’s daily links]

Filed Under: General

Past Behavior…

by Bryan Strawser · Apr 19, 2003

Lest we forget why he left and abandoned his first Presidential Campaign…

Gary Hart: Hits President in Wartime. Former Colorado Senator Gary Hart continues to test the waters for a presidential run. An hour-long recently taped interview of… [TalkLeft: The Politics of Crime]

Filed Under: General

phpStorageSystem

by Bryan Strawser · Apr 19, 2003

One year ago …. phpStorageSystem was almost ready …

Filed Under: General

Perception, often, is reality

by Bryan Strawser · Apr 19, 2003

Thomas Secker. “If you would not step into the harlot’s house, do not go by the harlot’s door.” [Motivational Quotes of the Day]

Filed Under: General

Oh Dear God

by Bryan Strawser · Apr 19, 2003

I was beginning to respect this weblog. Now I have to wonder.

Billy Boy, I Miss Ya..

Am I the only one who misses this guy?

Color me silly, but in reviewing the neurotic/psychotic models of leadership, I’d rather have a fiscally responsible sex addict than a pathological narcissist with an unbearable sense of entitlement in the White House.

maybe it’s just me.
[allied]

Filed Under: General

« Previous Page
Next Page »

Copyright © 2026 · No Sidebar Pro on Genesis Framework · WordPress · Log in