Palindrome is an English word. I am NOT resourceful when it come to English vocabulary. I thought this word is worth talking about.
I am an IT guy and most of my knowledge , including written and spoken languages, is tightly coupled to the IT domain (Tightly coupled is one example, where people talk about Tightly Coupled Multi-processor system).
Naturally, then, Palindrome, must have something to do with IT.
I was looking for a way to speed up retrieval of names from an Oracle database system based on some knowledge about the suffix of the name (letters at the end of the word). Normal indexing wont work since indexing is based on the prefix of the name (Like when you look up the phone no of a person using a phone book, you search by the leading part of the name and not the trailing part).
I wanted to try an old SYNTAX that i still remeber which is the Reverse Key index , in which, index entries are indexed by the trailing part. While this approach is not intended for my purpose and has its own usage, but to properly use such indexing method, I also need to reverse my search variable, for example
the original query is
SELECT * FROM EMP where ENAME like '%AMMAR'
it should become
SELECT * FROM EMP where ENAME like ' RAMMA%'
To make is easier for the programmers, i thought that it would be good to introduce a REVRSE function so the the second query would look like
SELECT * FROM EMP where ENAME like REVERSE '%AMMAR'
The REVERSE function takes care of resequencing the name.
So what does Palindrome have to do with this?
IF REVERSE (X) = X then X is a Palindrome
IF X reads the same backward or Forward then it satisfies the meaning of Palindrome
Actually, it does have to be a word , it also can be a whole sentence (Read the following sentecne backward "A man, a plan, a canal, Panama")
"Side note: the word has another medical meaning
A segment of double-stranded DNA in which the nucleotide sequence of one strand reads in reverse order to that of the complementary strand."
The longest Palindrome is believed to be tattarrattat , then detartrated
Some examples from the web
[phrases and sentences]
Do geese see God?
Was it Eliot's toilet I saw?
Murder for a jar of red rum.
Some men interpret nine memos.
Never odd or even.
can you verify that the following is Palindromic
Anyone with more words that satisfy the Palindrome criteria?
Getting Ref of the View Object referenced by the current Iterator binding for One iterator page without knowing the name of the iterator
Getting Ref of the View Object referenced by the current Iterator binding for One iterator page without knowing the name of the iterator ...
Today, while i was helping Dubai Police to go live with their new Oracle Forms10g application, we came across a problem when displaying Arab...
عمان كانون ثاني ٢٠١٧ اجد نفسي، وبعد ان خال لي اني هجرت الكتابة في هذا البلوج بضع من الزمان ، اعاود طرق بابة لجمال ما قرأت وذلك بعد ا...