| Home | Forums | Reviews | Articles | Register |
![]() |
| Thread Tools | Rate Thread |
|
Simon Roberts
Guest
Posts: n/a
|
Mysql ADO is a little trick there is no transaction server or advanced
interfacing over ADO so you may want to build a transaction system into your code a simple way of doing this is creating a table to record the... After I build the database systems in this code example I experimented with the possibility of using the i-ching for encryption and successfully built an agorithm that had two keys. These two keys can be changed throughout the process as well very quickly so over a tcp/ip connection you could cycle the formula at a 256bit and higher encryption cycle. Anyway here is the installer can be download from http://www.ep.net.au/ant/ANT.msi and the source code can be downloaded from http://www.codearchive.com/rate.php?rid=1319&go=0206. FAQ Last Date Changed: 12/13/2003 04:35:43 PM Installing To install this utility for calculating trigram sequences first you must download the MSI file from this site. Once you have the MSI file double click on it to install and the Microsoft Installer will prompt you for an install directory. Select your install directory this is typically c: \program files\ANT. * Download the multipart SFX Archive from the downloads page and then after all the parts are in the same directory, run the EXE file this will unpack the MSI file and start the installation process. Upgrading To upgrade ANT download the upgrade and install the ANT.EXE file into your installation directory, this file is to replace the already existing EXE file. Associations The NRT file format is portable and possible to be opened with ANT from the command line. To associate ANT with the NRT file double click on an NRT file and this will load the Open With dialogue box. Step 2: Now click on the Other command and select the ANT Executable file in this release it is ant_v0.2.18.exe and will be found in the installation path (directory that the program is installed into) Step 3: Once you have selected the installation path the ANT icon will appear with the description of the application which is [ANT] - Utility for calculating trigram sequences. Step 4: Make sure you don't select the Always use this program to open these files, as it will be associated with your explorer anyway in it's right mouse clicking menu that allows you to Open With. You can of course open this if you want. Here is the open with browser that* allows you to select the ANT version* you want to use to to open the* NRT files with Alphanumeric 2 Trigrams (ANT) Is an application that allows the user (you) to enter in any alphanumeric sequence and get the correlating Trigram sequence. It could be a chemical name like OxyPhenethylamine or your name or a Paragraph of text. You can copy to the clipboard or save to a BMP file, it is simple to use, no duplication can occur when editing the Comparison matrix. If you need more features it is simple either email me to have them added or for the source code just ask me mail it to you and I will. * It has possibilities of working out chaos theorem, and many other mathematical equations using Trigrams, based on any form of data entry, up to 10 layers deep in Trigrams calculatedly. Provides statistical data on information entered, you can process large volumes of text. Also a lattice work system are saved in the registry; for the number and alpha matrix. if you design one that has a purpose you will be able to email it to me with a description and the .reg file generated by loading REGEDIT.EXE which is standard on all i386 platforms and saving the key 'HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Alpha2Hex'. You do this by selecting the registry key's group and selecting export. You can reload these files by clicking on the file with the right mouse button and selecting Merge. Parsing The parsing system is simple, it uses a comparative ASCII table containing a maximum of 64 characters per latticework/matrix. There is also a numeric ordering table that contains the numeric sequence of the alphanumeric table, this is called the Hexagram Matrix and can be used for graphing population and other such statistical charts. Simulation When there is no return on carriage return (ASCII code 13) selected it will plot the best possible cube to display the Trigram sequence. However when this is selected it will fit what it can on each line.* This now includes squaring the result into boxes when there is* Sorry about the size of the file, It is written visual basic version 6.0 and if you are a VB programmer you would know that the installation and vb run time libraries are not small. * I am not sure of how many practical application you may have with this application, it could be used as a system for things like the analysing data collected form excavation like that of the tombs at Mt. Li, it has other application as well.. I use the word lattice work to describe each configurable matrix in the application as a term describe to me in the TAO of Chaos, by Dr. Katya Walters. (Tao Of Chaos). Some links that are available on this publication are as follows: http://www.arkspark.org/3books/3toc/3toc.html http://www.arkspark.org/3books/3toc/3tocch1.html Many thanks for you time and I hope you will find this application use full to decoding some of the Philosophies of language and the I-Ching hexagram sequence. Features: Settings FAQ When space on unsupported character is selected, the program will leave a space of 1 Trigrams for the place where the character occurs in sequence. If you have Print Character under Trigrams selected then this character will appear under the space, if space on unsupported character is not selected then the unsupported character will not be printed to the image when Print character under trigram is selected When new line on carriage return (ascii 13), is selected every time the new line occurs, it also occurs on the Trigrams image. When Display Multiple Trigrams layers is selected when a character occurs on a different layer from the one currently selected in the menu, it will display this on the Trigrams image under a different shade of colour. Well the bots form is now enabled as well, you can duty cycle your lattices while it is in runtime processing - of course this does not affect the file key's unless you hit save and close; on the matrix editor's. And will not change the lattice information while a file is being examined. Otherwise you can loose file integrity, etc.* We may add some Laplace Transformation algorithms to the botz section soon after we decide if creating a data mapping modeller was to naughty. With the setting remember that sub options do not automatically select themselves so be careful of how you change your settings. When Char. Duplication Depth layering is selected this gives you control over characters occurring on different latticework's/templates. For example if the letter 'A' appear on layers 1,4,6,8 it will then select the Trigrams that approximated to the option you select. If you select Shallow to Deep the Trigram for 'A' will be selected from Layer 1. if you have selected Deep to Shallow the Trigram will be selected from layer 8. Best possible Yin or Yang calculates the duplication of a character in the layering and selected the best trigram from the layers of occurrence on the bases of the value of Yin and Yang over the layers. Random Element Chaos will selected an element layer on random from the corresponding duplication for example if A = on layer 1 and A = on layer 4 then the random will select and upper and lower element from these two matches to produce something like . Best elemental yin or yang is also a duplication layering but unlike the first option best possible yin which is a calculation based on the yin/yang of the trigram, this will calculate the best yin or yang of first the Upper and then the Lower balance of the trigram and then select the appropriate layer for the element. Total random acts of Mayhem is a option that is more experimental, it will locate which layers the character occurs randomly select the layer for upper and lower then randomly select any element of that layer. Yantra is a method of colouring a pattern with a triangulation sequence, these colour bars are not a set width between characters and I have incorporated a simile type with the formulas displayed on the web as images. You will notice that the Yantra mode displays each i-ching hexagram as a nautical flag. The compute similarly to fractals and the same mathematics apply, I have found a few so overtime they will be incorporated into the colouring sequences. Configurable Latticework/Matrix, up to as many templates as you wish to design. The traditional is the default. For example if you change the order sequence ie. Swap 1 & 2 in the sequence of characters where the ',' is seen a '-' will appear and vice verse. If you need more templates programmed in let me know, I understand there are languages with over 3000 character per sequence, so it is possible to hve an a much larger configuration/comparison chart. The concept behind the overlay in the Hexagram matrix is to be able to plot your reoccurring number's then just to overlay with a random spread of the rest of the existing number range between 1 and 64 Easy to read charts The NRG File Format ANT_NRG.release The NRU file is a binary file containing trigram sequences in Columns. The ASCII chart is divided into 4 quadrant's each consisting of 64 characters. The quadrant's follow the path of top left, top right, bottom Left then bottom right in the analyse matrix based on the Numeric Sequence set for latticework templates. From this it will build an ASCII comparison chart to create a CIN file from the Export Feature. For example the trigram on the left would be represented as a stack of binaries 6 elements deep, would be represented as 0..... 0..... 0..... 0..... 0..... 1..... Eight of these exact same trigram would appear in byte sequence and each byte sequence will be reduced to a character and store every layer as the texture data map format. 00000000..... 00000000..... 00000000..... 00000000..... 00000000..... 10000000..... The NRG File is a data cube. It is also an Encryption method based on your existing calculations. This now also creates a .KEY which can be distributed on floppy disk and so forth, which contains the ASCII Charts used and the Yin and Yang balancing measure. At a latter stage a click response in the ASCII Chart display will be included where to replot the ASCII chart you simply click on segment and the chart will replot accordingly. File Format* Header FILE VERSION Content Trigram Element 1 - row Trigram Element 2 - row Trigram Element 3 - row Trigram Element 4 - row Trigram Element 5 - row Trigram Element 6 - row Quadrant Chart - row ....Repeated to Infinity cubed The NRT File Format ANT_NRT.Release The NRT file consists of a layer of Colour, Trigrams elements and Index to the number of Trigrams. it is in the following format. - This at this stage is not a true stat's file format, it will display statistics in the statistic window - however these are a total's system. On the lattice you have selected File Format* Header REC 0 - FILE VERSION REC 1 - NUMBER OF TRIGRAMS* Content REC 3 ....Repeated to Infinity From here you can load the NRT saved in the database the topics are tree view so you can submit projects or books perhaps you are working on in small sections broken down.* It doesn't have to be literature you can submit just about anything you want to. It is up to you Remember that some entry will not display correctly is the other person system if they have displaying character underneath selected and the NRT file in the database is too long. You can get to this screen by processing some text data and click on the + in the bottom right hand corner of the main form. This allows you to post information to the database as new topics or if you want to post a sub topic click on the Load Topic List button then press Set Post as Sub Topic this will set it as a sub topic. Once you have enter all the data ANT will submit the lattices and the NRT data to the database to be left retrievable by other clients of the software. Here is where you can load the lattices that are saved in the database, after a few have been submitted I am sure it won't take long to build up enough to select for Yantra displaying You can select Save to place it in the Lattice Buffer and change the colour by clicking on the coloured rectangle in save options. Careful if you select a lattice from the combo box it will save over already existing ones. Part of the idea of having a database system is so we can do a small study on lattices it is also so you lovely people the client/user is able to communicate with other users as well as request features and changes. I hope to leave this open to your imagination you can post whatever you feel like into the database and hopefully in a short time we will have a number of lattices that people can choose from to build there Yantra configuration, the data map is based on the old family Mandela which looks like this.. Basically every Trigram (6 elements) which consists of a 3 element section has two nodes or directions the first and the second.* This line we can draw from data entered which i have called a data map it is also known as a time wave (like the Trigram) is also the humble beings of fractals 5000 years ago in china. It is something that is used to plot sequences and although a time-wave is only one direction you can also see that this form of mapping the sequences allows you to overlay the map and compare direction bias of the information provided by the data entered. The Database systems have only been tested on MySQL but I am sure you will find it will work with other database systems without to much massaging. You will need to have permission to create a database on the server, in MySQL this is done with the GRANT command. The ADO Connection string has variables but they are not needed to operate the engine, the variables are as follows: $DRIVER$ Driver that is being used to access the database, specified in the fields above on page 4 of the settings. $DATABASE$ The Database that is being connected to, specified in the fields above on page 4 of the settings. $USERNAME$ The username or login name for the Database Server, specified in the fields above on page 4 of the settings. $PASSWORD$ The Password for the username logging into the database server, specified in the fields above on page 4 of the settings. $PORT$ The port being logged into for the server, specified in the fields above on page 4 of the settings. $SERVER$ The IP Address, Network Name, NetBios Name etc of the server, specified in the fields above on page 4 of the settings. if you need some more help with connection strings please follow this link. ADO Connection Strings Now there is a data map option after processing some text, this plane is only 30000twips x 30000twips in size and the data graph starts from the center of a circle in the middle of the form. I have built a data mapping modeler into the NRG format that plots the direction of the data, this can be calculated during the file conversion or as you have seen in this example the plotting process is done afterwards, if the option is selected at anytime during the export function. There are several options in this process that allow you to plot using different methods, for example:* Only Method 1 - Will plot on a N,S,E,W,NE,NW,SE,SW axis Will track the data path over several sprite objects on the screen, however by I say version 0.0.2 which should be a first working release copy I am sure; people will find this avenue of following the paths of data quite amusing. If any of you can draw a smiley face or something with the data modeler i would love to have a copy of the NRG file so I can have a geezer at it my self :-)* I will release a layer version of the data mapping system in visual basic however you will not be able to find key's etc. with it as easily as you could with a line art version that would be buildable in c++ The memory on my system for sprites ran out of room on a 50KB File. this was at 101 sprite element's at 40x40 pixels. This tool when configured correctly with the right comparative engines, probably best done with an AI engine, will be able to do multi-bi- linguistic translation of text. A bit like the translation devices that a featured on some Sci-Fi's.* If you haven't installed this software yet there may be a few files you have to install to do so. Microsoft have released a new installer suite and you will need to download the Service Pack for it, simply go to http://www.microsoft.com/ and search in the downloads section for 'installer' it should be one of the first options that appears. This is a free download and is only about 1.6mb. You will need to install this for most new software. I did find with Visual Basic that for some reason the syntax checking for the line command which dates back to q-basic is a little buggy, so when editing this source code it may say that there is a problem with the LINE statement, what you have to do is shut down the compiler and re start it... it is intermittent tho so I am not sure when you will run into this problem. It seems to occur when there is more than 10 instances of this command. In the matrix editor it was saving all the configuration when you where finished editing, for some reason this was losing information so I reduced the 4 lines of code that does this to just 2 and made it so it only saves the configuration that is being edited this seemed to fix this problem. Yantra mode was added this is a colouring sequencer that displays multiple layers with the trigram, this varies on how much can be fitted on one hexagram at one time, it will change with the amount of layers it finds and the size of the hexagram. |
|
||
|
||||
|
|
|
| |
![]() |
| Thread Tools | |
| Rate This Thread | |
|
|
Powered by vBulletin®. Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2010, Crawlability, Inc. |



