To determine your local phone carrier:
Dial 00

To determine your long distance carrier:
Dial 1-700-555-4141

Ingredients

  • 1 1/2 lbs ground beef
  • 1 onion chopped
  • 2 Tsp sugar
  • 3/4 Tsp black pepper
  • 1/2 cup chopped green bell pepper
  • 1/2 cup chopped red bell pepper
  • 4 Tlb chili powder
  • 2 Tsp garlic powder
  • 1 15oz diced tomato with green chiles
  • 1 15oz can crushed tomatoes
  • 5 15oz can chili beans
  • 1 package chili mix

 Directions

Cook ground beef with onions, peppers, garlic powder, pepper and season salt (mystery ingredient?).

Drain and add dash of chili powder.

Add chili mix with beans and warm on low heat.  Add sugar and pepper.  Cook 10 minutes.

I began typing “Can satellites map underwater” in the Google search window.  Google auto-suggests searches based on popularity, and by the time I got to “can sat” the number one suggested search was “can satan read our thoughts.”  Why the hell would you expect Google to know that?

Can Satan read our thoughts?

Dumping ground for future items for William Shatner poetry readings:

After Kernel upgrade CALL_FUNCTION error

After a few hours, you will see that your name will fade away and be replaced by the word guest …  You will see the same happening to “barry brown”…. You can then continue your conversation and cheating the points system in Guestland

=====

Charter phone sales online:

TTM Bryan : I am not the website. You can place an order through the website and everything can be done for.

=====

Firmware release note for Zebra printer:
“The Head Cold warning is now disabled by default.”

Try saying that 5 times quickly.

#!/usr/bin/perl -T
# RFC 1035 3.3.13
# http://www.faqs.org/rfcs/rfc1035.html
# The rname of a DNS SOA response gives "domain-name which specifies \
#       the mailbox of the person responsible for this zone"

use strict;
use warnings;
#use Email::Valid; if you wish

# example - "noc.example.com" is "noc@example.com"
# replace first non-escaped period with an @ symbol
&mailstrip("noc.example.com");

# and remove escapes
#&mailstrip('some\.user.example.com');

sub mailstrip {
 my $emailaddress = shift;

 # replace first non-escaped period with an @ symbol
 # my $brain->hurts();
 $emailaddress =~ s/(?<!\\)(?=\.)/\@/;
 $emailaddress =~ s/\@\./\@/;
 $emailaddress =~ s/\\(.)/$1/g;

 print "$emailaddress\n";
}

Quick note: if you want a Postfix->HylaFAX email-to-fax gateway with an incoming format like aaabbbcccc@<hostname>, use regexes to allow the recipient, and also to route to a different transport.

main.cf:
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $fax_recipients
fax_recipients = regexp:/etc/postfix/fax_recipients
fax_destination_recipient_limit = 1

fax_recipients:
/[0-9]{10}@.*/  OK

transport.regex:
/[0-9]{10}@.*/  fax:localhost

master.cf:
fax     unix    -       n       n       -       1       pipe
    flags= user=uucp argv=/usr/bin/faxmail -d -n ${user}
main.cf:
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $fax_recipients
fax_recipients = regexp:/etc/postfix/fax_recipients
fax_destination_recipient_limit = 1

fax_recipients:
/[0-9]{10}@.*/  OK

transport.regex:
/[0-9]{10}@.*/  fax:localhost

master.cf:
fax     unix    -       n       n       -       1       pipe
flags= user=uucp argv=/usr/bin/faxmail -d -n ${user}

A fortune cookie’s message has no impact on your life.  At all.  It’s a stupid superstition, people.  If the fortune cookie says you’re going to inherit a lot of money, your chances of inheriting money don’t change at all.  No impact.

However, if you eat the cookie but don’t read your fortune at all, you’ll be dead within three days.

See Perl::Critic.

SAP actually has good facilities for lint’ing your ABAP code, built-in.  From the code editor (say by starting SE38), choose Program -> Check -> Extended Check.  Couldn’t be much easier.  To get a more thorough review, use Code Inspector to also pinpoint data access problems, like SQL queries where a WHERE term isn’t indexed, and the like.

SAP lint

SAP extended program check

SAP extended code check

What a pleasant surprise to find a talk by AJ Jacobs — “My Year of Living Biblically” — over in the TED archive.  Jacobs, of course, is the author of one of the most humorous magazine articles ever, on outsourcing.

Problem

Windows 2003 terminal servers wouldn’t allow audio redirection over RDP.

Client: Windows XP SP3 w/ RDP 6.1 client (6.0.6001).

Servers:  Windows 2003 Standard R2 (32-bit) , SP2, all current patches.

Servers are in “Terminal Services” OU that sets group policy “Allow audio redirection = Enabled.”  Viewing in RSOP MMC confirms that the setting is applied.

gpresult /v:

GPO: Terminal Server Test
KeyName:     SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\fDisableCam
Value:       0, 0, 0, 0
State:       Enabled

HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\fDisableCam == 0

Connect via RDP.  Open Control Panel -> Sounds and Audio Devices.  Uncheck “Mute” and click “Apply.”  “Mute” is checked again.

Clicking “Advanced” under “Speaker Settings” results in error “DirectSound settings not available.”

Similar

http://social.technet.microsoft.com/Forums/en-US/winserverTS/thread/42930f70-a68a-4397-8c61-7d2017a4988b/

http://www.virtualpcfaq.com/Virtual_Server_2005/rn-738-15532_DirectSound_settings_not_available.aspx

Solution

RDPCLIP.EXE wasn’t running.

It's always a checkbox....

I didn’t realize that rdpclip.exe was needed for audio redirection and must have unloaded it when trimming startup programs to lower cpu/memory.  I had already disabled clipboard redirection to speed things up, so I figured there was no need to run rdpclip.exe, which, as the name implies, was originally a Windows 2000 resource kit utility to allow copying and pasting files between client and server.  My kingdom for an architecture diagram….

The cheap way to automate Fortinet firewall backups is:

  1. Enable SSH on the firewall.
  2. Enable SCP (System -> Admin -> Settings -> Enable SCP)
  3. Create a ‘backup’ admin user with read_only profile.
  4. Run a script to scp the configs.

Uses Net::SCP::Expect

#!/usr/bin/perl -w

use warnings;
use Net::SCP::Expect;

@firewallips = ('192.168.1.1',
 '192.168.2.1',
 '192.168.3.1',
 '192.168.4.1',
 '192.168.5.1',
 '192.168.6.1'
);

foreach $ip (@firewallips) {
 print "$ip\n";

 my $scpe = Net::SCP::Expect->new(auto_yes=>1);
 $scpe->login('backup', 'SUPERSECRET');
 $scpe->scp("$ip:sys_config","/home/fortinetbackups/fortinet-$ip\.conf");

}

Or you could do it this way.

Got into a discussion with someone about the effectiveness of cash-back credit cards vs. cash.  If a credit card company is going to give you 3% back on a purchase, isn’t that better than buying with cash and getting 0% cash back?  Not at all.

You’re far more likely to spend more when using a credit card, so you’re not saving any money at all.  Look at what happens when  you spend 12-18% (Dun and Bradstreet report I can’t find primary source for) more when paying with credit card than cash:

CASH: $10 purchase.  No “cash-back”. [Completely ignoring situations where cash gets you better deals...]

CREDIT CARD: $11.20 (lowballing the 12% number).  Instead of getting water and lemon with your lunch, you went ahead and got the Pepsi.  Why not?  You’ve got credit…  Minus 3% “cash-back”.  $10.86

Now how is $10.86 cheaper than $10.00?  It’s not.  And that doesn’t include the risk inherent in cards (credit card companies jacking your rate up, “losing” your payment, dropping carryovers, etc.,).

What I found most interesting is that people are marginally more inclined to buy more when being exposed to credit card logos, even when paying with cash.

Dave Ramsey says that there is no responsible way to use a credit card, and answers “Can You Get Rich Off Credit Cards?”

Get Rich Slowly (about 50% useful) “Research Reveals Credit Cards Encourage Spending

Monopoly Money: The Effect of Payment Coupling and Form on Spending Behavior”
(PDF) Priya Raghubir and Joydeep Srivastava.  “Journal of Experimental Psychology: Applied” 2008, Vol. 14, No. 3, 213–225

The Realities of Spending” (PDF) (2003). Greg Davies. Argent, 2 (6), 22-27.

Always Leave Home Without It: A Further Investigation of the Credit-Card Effect on Willingness to Pay” Marketing Letters 12:1, 5±12, 2001.  DRAZEN PRELEC1 AND DUNCAN SIMESTER

Debian’ Lintian automatically checks for rule violations (e.g., “‘bashism’” in /bin/sh”).  Nice.

And we used to be afraid of these guys ……

Beware!

Just about the stupidest thing I’ve ever heard of:  W Hotel (Atlanta) apparently claims a trademark on “WET”.  What is “WET?”  A pool surrounded by trees.

“Bangkok 8″ – John Burdett
“Bangkok Haunts” – John Burdett
“Bangkok Tattoo” – John Burdett
“Atlas Shrugged” – Ayn Rand
“Replay” – Ken Grimwood
“Lucifer’s Hammer” – Larry Niven and Jerry Pournelle
“Orthodoxy” – G.K. Chesterson
“The Intruders” – Michael Marshall
“By the Time You Read This” – Giles Blunt
“Cuckoo’s Egg” – Clifford Stoll
“Surely You’re Joking, Mr. Feynman” – Richard P. Feynman
“Tropic of Night” – Michael Gruber
“Valley of Bones”  – Michael Gruber
“Night of the Jaguar” – Michael Gruber

The Bangkok series was really different.  Liked it a lot.

I’ve read a lot more than this, but I can’t think of them offhand.  Asked the county librarian to get a printout of my checkout history, and she said, “Oh, there’s no way the system could store all that.”  Well, there is a way — buy more hard drive space.  It’s cheap now. Oh, bother…..

Here’s a Get Rich Slowly blog entry recommending Hulu and kin, including a link to an extensive list of online video content source (bookmark that one).  Don’t forget your local library as a source of DVD’s — you helped pay for ‘em.

When using bginfo, have ReconnAct run this on every login and reconnect:

bginfo.exe terminals.bgi /timer:0 /NOLICPROMPT
Where the terminals.bgi includes:

<Full Name> = WMI query:
SELECT FullName FROM Win32_NetworkLoginProfile WHERE FullName is not NULL

login:<User Name>
server:<Host Name>
Default Printer:

<Default Printer> = WMI query:
SELECT Caption FROM Win32_Printer where Default = True

Please call the IT Department
if you need assistance.