Author: francis

Removing some of the pain from Oracle Forms

More than 1 code editing window

(Thanks to Nadia for this one)

Yes, it is possible, when you want another window select the pl/sql object you are interested in editing and press ctrl-shift before you double-click. The new window appears on top of the old one but you can move it. No more navigating to find something out, writing it down (or pasting it into the buffer) and then navigating all the way back. Ah, the joy of getting into the 1980’s, it’s too much.

Adding elements in the middle of a pick list

(Thanks to Ade for this one)

To add an element press ctrl-shift->, remove press ctrl-shift-<

If anyone out there knows how to move elements into a different place, don’t hold back, I’ll add it here.

I’ve never seen either of these tips in the documentation, and yes, I did once go on an Oracle course when I were a lad.

FInally, a use for old loyalty cards! My laptop is a laptop again.

I don’t know if this bugs you.

I use all of my fingers for typing and rest my hands on the wrist rests on the bottom of keyboard when I do so. If you have a laptop that has one of those touch pads and want to type using the laptop’s keyboard you have to put up with your cursor jumping about to some arbitrary place on the screen that depends upon where the mouse pointer is sitting, even if you don’t think you’ve touched the thing. Very annoying. If you have a cheapy laptop like me you can’t switch it off when you’re using a mouse, either. I can’t adjust the sensitivity and there doesn’t seem to be anything in the BIOS.

Finally I had a brain wave. I took an old dry-cleaning loyalty card and cut it to the same shape as the touchpad. I can now sit here typing with the laptop’s keyboard and not have the cursor jump around if I catch the touchpad with my thumb. Weirdly the touchpad still works through the loyalty card. Anybody want the keyboard I bought? (keeping it because it’s much better than the laptop one).

Joy.

Wireless PCMCIA Network Cards

Got a D-Link G650 from ebay because the US Robotics one was acting up since I installed XP service pack 2. Suspect you need to turn off the “let windows manage this connectio” thing. It was working OK until about 2 patches ago. I will EBay the USR one, of course being honest about the SP2 thing. Also move to 802.11g and getting 54 MBPS, probably cooking my poor brain. Works a treat.

Work

Job hunt continues. Lots of interesting work around, but the main reason for looking is financial. I’m quite a way down (20%) from what I had when I was when I lost my job a while back and struggling. I still hate Oracle forms, they’ve done NOTHING with making it easier to get stuff done. If you’ve ever used a modern IDE with method name completion and documentation a right-click or function key away. I won’t cry never to have to use the damn thing again and it is definitely part of my wanting to move on, but not enough on its own. (I won’t mention having to restart Forms every couple of hours because it screws up, either, or the crap library management system that corrupts things or the bug where you can’t navigate between fields with a mouse at certain patch levels). That said, if the market demanded it and offered big bucks it would be churlish to refuse.

Anybody looking for an experienced software designer in the North of England?

Circles of the head

It’s strange how you get into this peculiar head-dance that never seems to want to come to an end. I have a clear memory of my old primary school headmaster whining about how we were wasting paper towels in the toilets. My class teacher said that she only ever used one every time she needed one and we shouldn’t be wasteful and follow her perfect example. Not that interesting, I hear you cry.

Then why, every time I use paper towels at the facilities at work, regardless of number, do I remember this boring incident? Every time if I don’t guard against it. Why? I also use 2 every time as a matter of principle. Why? How much of my day-to-day behaviour is governed by this inconsequential rubbish.

We don’t pay attention enough to what is happening around us. We sleepwalk from one thing to the next. When was the last time you really remembered a long car journey (assuming you have done the journey many times)? I moved off through a red light the other day (thank goodness it was the middle of the night) because my brain decided it has been waiting long enough. How many accidents are caused by this kind of thing? How many life long misunderstandings?

It returns (a little) to a partial theme of my last blog. Selfishness being one of the cardinal and unconscious sins we commit. An uncaring carelessness that hurts others (and damages ourselves) without any awareness. Where does this take you, though? It’s easy to say you need what Buddha called mindfulness, how do you gain it?

As usual, it’s work. You need to learn the calm abiding meditiation with a proper teacher and then learn how to watch your mind and guard it. There is no other route I know of. I need to get back in contact with mine and reestablish my practice. It’s getting late.

Sunday’s ramblings

«Some notes that may turn into the beginning of my next novel, or may stay what they are. They’re addressed to a collection of someones from my teens and twenties, and some members of my family that I’m not speaking to at the moment. It’s all run together like some sort of melted jam. I’ll probably delete this entry in a few weeks in a fit of disgust.»
The Silence of Morrow

Ah yes, you know, it can come very slowly. I break bread like a trooper but can’t seem to find that tempting silence we all know and love; the tiny place where business can be discussed and wrought into something new and extraordinary. In the violence of silence I marshall my tiny troops, the arguments for and against, and still I don’t know which way is up.

So, you? Where are you now? I want you to smile at the memory of me; but I expect that it’ll all be bitternes of confusion. Nothing real, we never knew each other properly, just two fools fumbling around in the dark. You know, I wish I could tell you how I felt, the cutting edge of sadness so sharp you can’t feel it until afterwards. Then it burns.

Then all kinds of things were gone out of my life. The years of my late childhood and early teens are just a painful blur. I have been accused of many things by various people. The main thing, is selfishness, that I will agree with. I could not see others’ feelings properly, and when I managed to it cut me even more.

Oh, the delicious scars that run over my hands. I wonder now how many of them still belong there. I’ve been accused of things I find totally abhorrent. Thing is, I can’t remember. Allegedly, under hypnosis, a brick layer can remember a single brick laid many years earlier – but is the brick remembered or reconstructed? Could the reconstruction process construct other things from within itself? Things that others would say didn’t happen? I think so. I remember very clearly looking at a bus and seeing a different number on it because I was convinced it was so, then my attention shifted and it changed to what it really was. If you can do this with something so trivial then what can you do with things that really matter? This is why no-one is ever wrong and no-one is creepy on the inside – does that frighten you?

A brick is real, and can be verified. But our crazy menage, the weeping and gnashing of teeth, the accusations and deep imprinting and learning of misery. Who knows? Thanks Dad. What doesn’t kill us makes us strong – or just weaker than we were before, but that is the counsel of despair. Circumstances do not control your attitude, but they can make you very weary.

I worry that when I stand in judgement over myself at the end of my life I will be unable to do anything other than condemn me for my teenage self, and the many other selfish fools that followed. Maybe then I will remember properly, maybe then I will be able to do something about it. But we get punished, tortured, thrown into a thousand hells of our own devising. For who can properly wreak retribution on us but ourselves? Who can forgive us? Tricky tricky.

I remember when I used to meditate I would imagine karma weaving around me like a web of chance and circumstance, like indentations in a beach between the tides. As the counting beads fell through my fingers I could feel the silk of time flowing through them, Karma and nirvana inextricably linked. The flashes of enlightenment can come at any time – the glorious warm feeling of the Buddha’s love, boundless energy, your own fear making you weep like a baby, but they are as empty as everything else and will not stay. The most fundamental lesson you can learn is that nothing lasts. The fleeting beating of two bodies, the small ecstasies of daily life are more precious for this, but more worthless also.

The harder you hold onto something, the less likely it is you can keep it. If you want enlightenment, you have to work for it. The tiny moments are little rewards for your peristence over the endless times nothing seemed to be happening. They have no significance at all. The Japanese tradition has these moments of satori, where you know what it is to be further along the path than you were. These moments come after years of work and meditation, which is something that Western commentators can’t seem to grasp.

We all want to get rich quick, pour enlightenment out of some stupid bottle and drink it down. It would kill us if we weren’t prepared for it. The pain would be unbearable. Me, I’ve discovered that under the bravura I’m terrified of dying. Suicide is not an option and, if you believe in reincarnation, will make whatever things hurt you now look like a Sunday picnic. If you don’t believe in it think, what if I’m wrong? The place suicides go is far worse than this beautiful blue planet, however you may feel at the moment.

I cannot offer any facsimile of comfort, in my beliefs there is no redeemer but yourself. You have to pick yourself up and start again, with eyes full of bitter tears, howling like a lost and tortured child. You’ve never done this?

You’ve never lived.

Liberals

Comment sent here:

I think that right-thinking people should reclaim the word “liberal”. To me it means allowing people to get on with their lives without too much interference, or at least that’s what it meant originally. I do think that ensuring people have safe places to work and live are reasonable objectives, the problem is where to stop interfering.

I live in the People’s Socialist Republic of Great Britain (it is, honest). My government, alleged “liberals” all, have been part of the biggest attack on my rights since the second world war. You can only be “liberal” if you agree with them, which isn’t my understanding of the word at all. They hate dissent and love giving their friends handouts. The best example of this is the ring-fencing of public-sector pensions (agreed about a week ago) where the rest of us have to go with the market. So, the tax payers are subsidising the tax wasters.

I could say a lot more but need to get back to earning my daily crust, keep up the good work, people need to stand up for common sense and against the dead hand of bureacracy.

Microsoft’s “Vision”

In response to this:

I don’t quite get what you mean by the .Net “visio”. As a techie using J2EE at the time all I could see was that they needed something to meet that challenge. 95% of the ideas (e.g. common runtime, remoting etc. etc.) were already there in the J2EE stack. They couldn’t let the Java people steal their business and have enough R&D budget to steal their clothes, so they did.

I believe .Net is easier to develop with if you can afford the MS IDE, because you can put special annotations into the code that allow you to easily create web service end points (etc.). There are a number of OSS tools (e.g. XDoclet) that allowed you to do this, but you have to:

a) know they exist
b) know how to use them

The MS tools do all this for you, that’s where they win – usability and getting productive quickly. Of course, once you have got your head around the OSS development stack, I don’t think these early productivity gains persist. And it’s free! As are the IDE’s.

So, in my opinion, they didn’t have a “visio” they just had a need to protect their markets from innovators who understood the web properly. This is what they are doing again with their “live” software offering, and will do again when the next wave comes. They are a dinosaur lumbering after whatever the new prey is. They did come up with SOAP, but it’s such a boringly obvious thing to do with XML and web servers I’m not sure that proves anything.

be careful what you type in URL’s

In response to this:

So if I, in my igorance, type in the string from your article ../../.. I can end up with my career in ruins?

What?

Mind you, as being a techie Frenchman using a mobile phone in a heavy coat can get you an arrest record then why should we be surprised?

And they want to be able to hold people for 90 days!

Birthday Message

Let me be the eye of the storm
the quiet place where all is at rest
and movement ceases

Let me pour gold on the needy
love on the friendless
help on the helpless

The hand is empty
that will give you all you need
look at it now

Say:
I am the one who can change things
the one who makes things real
I am the one who will give you back your heart

Only you can set you free
But I will be there

Utopians and dreamers

In response to this

Maybe I’m tired but I couldn’t get what you were trying to say, you seemed to wander from point to point and take a long time to do it. Not your usual fare. Demolish the dhds with your usual 3 paras.

It’s easy to mock the utopians but they are a necessary evil in that they try to make things work when others might give up. Personally I like dreamers because they think things can get better and try to make it happen. I agree with you about the dangers of authoritarian streak we keep seeing – but wtf are these nobodies anyway? No-one will use there stuff if they make it too painful to use, and that’ll be very amusing.

Who the hell is the guy giving you the finger and why should I care about him? In the wild world out there I’m more worried about all the things that might kill my kids if we don’t change our behaviour. One nobody waving his finger is neither here nor there.

I’m picky as well: criterion is singular but the guy gave you a list of points so you used the plural form of the verb. The quote later had it wrong as well but I suppose if it’s a quote then …

Java Business Componets Developer Certification

Going back to do more certification.

I was going to go straight for the Sun Certified Java Systems Architect (or whatever it is). When I read the syllabus I realised that you may as well get the Business Components and Web Services certs on the way because you cover the ground anyway. So, now reading up on EJB’s and EJB/J2EE design patterns.

To get started there’s a very good J2EE tutorial on the sun website, I’ve been using this to get back into it quickly.

Also, if you download the 1.4 JDK (get everything) you’ll get an example J2EE server that this tutorial uses. You can get the tutorial and related code as well. I’ll let you find them yourself, dear reader. Just make sure you’ve got the bin directory of the J2EE server in your path so that their version of ant will work from the command line.

Register with the server side, if you do you can get free PDF’s of the first two books in my list below, plus a ruck of other things. Very good site. I still prefer paper though.

Recommending:

Mastering Enterprise Java Beans – Roman/Ambler/Jewell – Wiley

The classic work on this topic. Accessible style, check lists of “how to” get things done. Get the 3rd edition.

EJB Design Patterns – Marinescu – Wiley

Another classic. States the obvious a bit, but you need to give the obvious a name so you don’t have to keep describing it.

Core J2EE Patterns – Alur/Crupi/Malks – Prentice Hall

Very dry, academic style. Have to work at understanding convoluted english. But the overview sections pretty good.

Enterprise Java Beans – Monson-Haefel – O’Reilly

Useful with the Roman book because it has a different take on things and helps you get them in your head.

Java Enterprise in a Nutshell – Flanagan/Farley/Crawford/Magnusson – O’Reilly

My copy’s a bit out of date now but if you want some simple code examples for JDBC/JNDI/ etc. then it’s all there. My edition stops at EJB 1.1. I think there’s a new one.

Finally: Go here for a list of topics and a brief description of what they contain. Mikalai Zaikin has done a great service for the rest of us and should be thanked.