The Davinci Code

C

CoreyWhite

I've unlocked the real Davinci Code, and it turns out it is an
alphabetically backwards suffix sort. I have the source code printed
out here in both C++ and PHP. I devised the algorithm after realizing
that Davinci wrote in mirror writing, because language spelled out
backwards will order lists naturally into rhymes. Just like in Dan
Brown's book's Angel's and Demon's some words are spelled the same
backwards as they are forwards. Well the secret Davinci kept as an
artist, was the code to unlocking the english language through
mnueomics. A person could learn to speak english, or even read, or
learn almost anything, when the knowledge was taught to them in song
and poetry. Sometimes these passages were cryptic to begin with
because they were only used to remind someone of a book that they had
previously read, just like notes are used today.

At the bottom of this post you will find such a cypher. A rhyming
list of adjectives that although incomplete, will surely teach someone
to listen for adjectives and begin to use them! I am going to work on
a simpler list of adjectives that might be more useful in day to day
conversation. You just don't hear these words enough anymore.

This project is hosted at http://www.ckoogle.com

<?php

echo '<form action="index.php" method="post">';
echo '<textarea name="input" cols="12" rows="20">';
echo '</textarea><br>';
echo '<input type="submit" value="Submit">';
echo '</form>';

if( isset( $_POST["input"] )){
$my_array = $_POST["input"];
$my_array=strrev($my_array);
trim($my_array);
$my_array=explode("\n", $my_array);
natcasesort($my_array);
foreach($my_array as $key => $value)
echo strrev($value)." <br />"; //print the array elements

}

?>

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

using namespace std;

////////////////////////////////////////
//
// Quick C++ Implementation or Corey White's
// "davinci sort" (which is a basic suffix
// sort).
//
// (c) 2007 Steven Pigeon
// released under GPL 2.0
//

////////////////////////////////////////
//
// introduces special operator< for suffix
// compares
//
struct less_rev: public binary_function<string, string, bool>
{
//////////////////////////////////////
//
// reverses a string
//
inline string _reverse(const string & a) const
{
string temp=a;
reverse(temp.begin(), temp.end() );
return temp;
}

//////////////////////////////////////
//
// compares two strings, in reverse
//
inline bool operator()(const string & a, const string & b) const
{
return _reverse(a) < _reverse(b);
}
};

////////////////////////////////////////
//
// Reads words from stdin/cin and reprint
// them suffix-sorted
//
int main()
{
vector<string> words; // vector because sort needs random access
iterators
string read;

////////////////////////////
//
// reads from stdin/cin until
// eof
//
while ( getline(cin,read) )
words.push_back(read);

////////////////////////////
//
// uses standard sort algorithm
// but with less_rev
//
sort(words.begin(), words.end(), less_rev() );

////////////////////////////
//
// shows results
//
for (vector<string>::const_iterator i=words.begin();
i!=words.end();
i++)
cout << (*i) << endl;

return 0; // success!
}

Davinci's Alphabetically Backwards
Dictionary Of Rhyming Adjectives

dizzy
witty
diversity
intensity
priority
integrity
similarity
opportunity
unity
eternity
originallity
flexibility
stability
duality
scarcity
capacity
subtlety
nosy
noisy
jittery
rubbery
contrary
arbitrary
evolutionary
preliminary
ordinary
weary
raspy
irony
harmony
brainy
many
stormy
slimy
costly
subsequently
frequently
predominantly
unsightly
imply
wooly
commonly
jolly
incidentally
ugly
lovely
lively
homely
likely
scarcely
friendly
repeatedly
invariably
husky
tricky
panicky
flaky
shaky
worthy
lengthy
intensify
modify
cloudy
bloody
steady
discrepancy
fancy
portray
prefix
narrow
shallow
persist
consist
eldest
vast
revert
alert
excerpt
prompt
concept
adapt
blunt
quaint
faint
subsequent
extent
persistent
consistent
intent
competent
latent
consent
coherent
inherent
different
fragment
silent
prevalent
obedient
ancient
insufficient
precedent
innocent
magnificent
adjacent
irrelevant
instant
unpleasant
pleasant
exuberant
dormant
defiant
arrogant
elegant
redundant
benefit
implicit
uptight
tight
bright
highlight
swift
upset
offset
interpret
distinct
indirect
prospect
select
perfect
interact
impact
glamorous
autonomous
infamous
obnoxious
anxious
envious
cautious
nutritious
curious
victorious
glorious
mysterious
hilarious
suspicious
delicious
precious
vivacious
spontaneous
gorgeous
courageous
outrageous
timelessness
hollwoness
emptiness
nothingness
uniqueness
spotless
helpless
motionless
tatsteless
useless
homeless
nevertheless
nonetheless
voiceless
excess
origins
genesis
surroundings
initiatives
issues
guidelines
outcomes
implies
consequences
funds
labour
occur
metahpor
prior
never
clever
better
former
eager
infer
tender
consider
regular
clear
develop
relationship
steep
overlap
modern
phenomenon
conclusion
distribution
proportion
portion
presumption
notion
intention
condition
distinction
interaction
conservation
innovation
motivation
representation
implementation
orientation
interpretation
duration
migration
integration
cooperation
reverberation
participation
culmination
inclination
speculation
correlation
non-relation
relation
differentiation
dissociation
reciprocation
implications
justification
extension
suspension
opinion
origin
remain
plain
uneven
rotten
chosen
hidden
clean
maximum
minimum
medium
mechanism
dualism
perform
seldom
calm
awful
thoughtful
delightful
doubtful
successful
colorful
powerful
cheerful
wonderful
helpful
beautiful
faithful
meaningful
wasteful
careful
graceful
protocol
interval
rival
mutual
conceptual
eventual
unusual
gradual
dual
fundamental
causal
reversal
cultural
neutral
integral
collateral
external
internal
exceptional
vocational
provisional
optoinal
organisatoinal
marginal
original
minimal
influential
potential
essential
confidential
substantial
initial
spatial
ministerial
crucial
beneficial
ethical
distinguish
diminish
foolish
tough
thorough
prolong
varying
surviving
grieving
ensuing
lasting
supporting
enchanting
resulting
revolting
visiting
fleeting
embarrassing
passing
rising
promising
neighbouring
whispering
thundering
wandering
outgoing
ongoing
governing
deafening
moaning
charming
overwhelming
gleaming
unwilling
appalling
sparkling
blushing
screeching
encouraging
surrounding
corresponding
binding
outstanding
understanding
notwithstanding
succeeding
preceding
misleading
convincing
disturbing
harmonize
antagonize
organize
energize
inquisitive
cognitive
productive
perspective
respective
subjective
innovative
figurative
cooperative
comparative
imaginative
cumulative
successive
passive
massive
defensive
repulsive
decisive
critique
unique
mute
cute
adequate
invigorate
elaborate
integrate
deliberate
anticipate
fortunate
intimate
isolate
correlate
differentiate
inappropriate
intermediate
indicate
diverse
adverse
prose
purpose
oppose
tense
immense
likewise
devise
concise
precise
paraphrase
phase
miniature
measure
unaware
rare
ruotine
determine
examine
outline
gentle
example
principle
hostile
fragile
formibadle
incompatible
compatible
plausible
terrible
credible
uncomfortable
comfortable
unacceptable
suitable
inimitable
respectable
adorable
miserable
considerable
breakable
invariable
agreeable
probable
average
assemblage
exclude
conclude
preclude
inconsequence
consequence
influence
existence
essence
presence
difference
commence
hence
circumstance
predominance
maintenance
resemblance
semblance
forward
awkward
period
method
rapid
solid
splendid
involved
perceived
conceived
relieved
untested
uninterested
accepted
devoted
unprecedented
highlighted
isolated
elated
affiliated
defeated
amused
confused
accused
embarrassed
poised
minimised
inferred
preferred
retired
bewildered
sacred
concerned
condemned
determined
inclined
confined
obtained
frightened
confirmed
ashamed
puzzled
controlled
troubled
invoked
crooked
wicked
varied
modified
specified
hushed
distinguished
diminished
unmatched
unchanged
damaged
exceed
crowded
excluded
provided
balanced
toxic
civic
optimistic
materialistic
fantastic
enthusiastic
frantic
gigantic
aesthetic
energetic
static
intrinsic
symbolic
tragic
melodic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top