Days like these – An extract from Byrons Journal

This night got into my new apartments, rented of Lord Althorpe, on a lease of seven years. Spacious, and room for my books and sabres. In the house, too, another advantage. The last few days, or whole week, have been very abstemious, regular in exercise, and yet very unwell.

Yesterday, dined tete-a-tete at the Cocoa with Scrope Davies–sat from six till midnight–drank between us one bottle of champagne and six of claret, neither of which wines ever affect me. Offered to take Scrope home in my carriage; but he was tipsy and pious, and I was obliged to leave him on his knees praying to I know not what purpose or pagod. No headache, nor sickness, that night nor to-day. Got up, if any thing, earlier than usual–sparred with Jackson ad sudorem, and have been much better in health than for many days. I have heard nothing more from Scrope. Yesterday paid him four thousand eight hundred pounds, a debt of some standing, and which I wished to have paid before. My mind is much relieved by the removal of that debit….

cron – always tricky to remember

If you want to knowhow to get cron to inherit your login env then this worked for me….

30 23 * * *    ( . $HOME/.profile; /home/oracle/migtools/export_database > export_log )

Note the . fires the shell and the $HOME/.profile makes sure it fires in the correct location

 

Blog Shmog – Cut and Paste at your peril

The Internet is a great thing but when a top Oracle site posts a method for doing something that ain’t quite right you are going to be able to see a cut and paste job when you see it.  I was speaking with a friend last week who received some expensivly produced documents and with a simple google she found internet cut and paste.  Cut and paste is no substitute for actually knowing what you are doing.

Therefore – to go off at a slight angle and with my own cut and paste but with corrections…

If you want to autostart Oracle on AIX – easy.

1. Create the script /etc/rc/oracle and make it executable… chmod +x /etc/rc.oracle

su – oracle <<EOF
<$ORACLE_HOME>/bin/dbstart
EOF

2. Add the script to the inittab using the mkitab utility.
$ /usr/sbin/mkitab “rcoracle:2:wait:/etc/rc.oracle >/dev/console 2>&1”

All references to <$ORACLE_HOME> should be replaced with the actual Oracle Home directory. Now upon system startup, the dbstart utility is invoked at run level 2.

Check your /etc/oratab and they will have entries like:

In the file the entries will be like :

ORACLE_SID:ORACLE_HOME:AUTOSTART(Y or N)

Eg as below :
MYDBINSTANCE:/u001/app/oracle/10.2.0/db_1:Y

I hope this saves you a bit of time…

 

 

 

The C# @ String Literal

This is why I love C#.  Simple, effective and sensible.

 @”c:\somepath\someotherpath\myapp.exe”

or @”This is a just some text

and on it goes

I love C#

I’m really still into in-line fragments – proper coding.

Citrix and Acrobat and Anonymous Users

Cracking one this…. 

I was trying to get a small app working on Citrix.  Something that allows an ICA session to be launched from a URL.  The URL links back to  a Documentum system.  I decided to set this up as an anonymous user.  No password.  Easy.  But no. Acrobat Reader 8.0 and presumably other previous versions launches some kind of speed launcher – reader_sl.exe.  This stays in memory which is not good for Citrix.  Caused Acrobat to hang.  Anyway – I used AutoRuns from SysInternals – identified the boot sequence and disabled it – spent a couple of days and a few reboots to sort that one out….. anyway it works.

 Anon…

How Long ?

I am worried about Vista.  I’ve got a new Vaio.  I’ve got Vista Home Premium – and I’ve seen more blue screens in the space of 3 months than I’ve seen with XP, 20o0, 3.1 and DOS in the last 20 years.  I do hope SP1 is going to fix things because as they stand – its just not progress.

Anyway – whilst copying a few MP3s from one internal drive to another - Vista popped up with this little message.  Yes that’s 92 years.  I just dont have that long to wait…..  

Linux is better.  XP is better. Re-recording the music with Cakewalk is better than this.

 vista

101 KGB Access

There is only one radio show worth listening to and that’s 101 KGB in San Diego.  Dave Shelley and Chainsaw spot on.

So how does one listen to it ?  Checkout proxy servers its easy.

www.101kgb.com

Aircraft Tech Log

As a pilot this appeals….

 * Pilot: “Left inside main tire almost needs replacement.”
* Engineering: “Almost replaced left inside main tire.”

* Pilot: “Test flight OK, except autoland very rough.”
* Engineering: “Autoland not installed on this aircraft.”

* Pilot: “#2 Propeller seeping prop fluid.”
* Engineering: “#2 Propeller seepage normal.”
* Pilot: “#1, #3, and #4 propellers lack normal seepage.”

* Pilot: “The autopilot doesn’t.”
* Signed off: “IT DOES NOW.”

* Pilot: “Something loose in cockpit.”
* Engineering: “Something tightened in cockpit.”

* Pilot: “Evidence of hydraulic leak on right main landing gear.”
* Engineering: “Evidence removed.”

* Pilot: “DME volume unbelievably loud.”
* Engineering: “Volume set to more believable level.”

* Pilot: “Dead bugs on windshield.”
* Engineering: “Live bugs on order.”

* Pilot: “Autopilot in altitude hold mode produces a 200 fpm descent.”
* Engineering: “Cannot reproduce problem on ground.”

* Pilot: “IFF inoperative.”
* Engineering: “IFF inoperative in OFF mode.”  ( the best one!)

* Pilot: “Friction locks cause throttle levers to stick.”
* Engineering: “That’s what they’re there for.”

* Pilot: “Number three engine missing.”
* Engineering: “Engine found on right wing after brief search.”

More on FTI – How to tell if a doc has been indexed already

1) To check if a document has been indexed, you can access the Instream query page:

http://localhost:15100/

Actually, the host has to be your Index Server host and the port has to be your IndexServer Base Port + 2100.

Type the following in the query box, replacing the object id with the r_object_id of the object you want to test.

dmftmetadata:090000018000190c

And in the results, double check that the r_object_id appears inside the appropriate metadata field (because you could get some hits that are not really the document you are looking for):

<FIELD NAME=”robjectid”>090000018000190c</FIELD>

And in the results, double check that the r_object_id appears inside the appropriate metadata field (because you could get some hits that are not really the document you are looking for):

DAXCAD on Sourceforge

News…. DAXCAD is now an official sourceforge project

 http://sourceforge.net/projects/daxcad

I’ll be uploading binaries soon as.  Just working on a “stable” version so see you when I’m 90