archive-ca.com » CA » E » EVANJONES.CA

Total: 397

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Whyte, Jack. The Skystone. Toronto: Penguin, 1993. ISBN: 0140170502 (evanjones.ca)
    Whyte Jack The Skystone Toronto Penguin 1993 ISBN 0140170502 about archive 2003 September 02 00 00 Great historical fiction

    Original URL path: http://www.evanjones.ca/books/skystone.html (2016-04-30)
    Open archived version from archive


  • Gibson, Willian. Pattern Recognition. Putnam Pub Group, 2003. ISBN: 0399149864 (evanjones.ca)
    Gibson Willian Pattern Recognition Putnam Pub Group 2003 ISBN 0399149864 about archive 2003 September 01 00 00 Simply fantastic

    Original URL path: http://www.evanjones.ca/books/pattern-recognition.html (2016-04-30)
    Open archived version from archive

  • Google Contest SiteMapper (evanjones.ca)
    not easy to automatically locate it because each web site is structured differently There is a set of common practices such as organizing the URL structure of a site similarly to its content structure but for each rule there are many exceptions Search engines face this same challenge It is easy to match keywords against web pages but it is hard to rank the results that are returned Google has been so successful due to its PageRank technology which uses links to determine the value of web pages Since links are the key to the web they are very accurate clues to its structure SiteMapper uses links to locate sites for this very reason The concept that is used is very simple SiteMapper considers two pages to be part of the same site if they link to each other That means that page A has a link to page B and page B has a link to page A It is that simple The reason that it works is that sites are by their very definition a collection of web pages that are linked together It most cases sites will have links from their top level pages down to more specific pages Each of these specific pages usually has links to all the top level pages and many others as well By gathering together the set of pages that are linked directly together we get a good approximation of the contents of that site The second challenge now that we have a set of pages that belong to the same site is to organize that set of pages into a hierarchical structure Again the links are a good indicator of which pages are associated with others however it is not clear where to begin The two algorithms that come to mind are to use the page that has the most links as it is the most connected page or to use the page that has the shortest URL since in many cases that will be the top level of a site SiteMapper uses the latter algorithm The Algorithm Iterate over the set of web pages gathering the following information URL title and which URLs it links to Iterate over the set of links copying any links that exist in both directions to a new database Iterate over the new set of bi directional links copying the metadata for the URLs that are referenced Iterate over this new set of URLs and generate the set of links belonging to each site If the URL has a site assigned to it continue to the next URL Otherwise collect all the URLs belonging to this site by recursively adding all the linked URLs to this site Sort the set of URLs in the site The root of the site is the first URL in the sorted list Recurse for each URL starting at the root URL generating the hierarchical structure Get the list of URLs that this URL links to For each of

    Original URL path: http://www.evanjones.ca/software/google-contest-2002.html (2016-04-30)
    Open archived version from archive



  • RSA Encryption (evanjones.ca)
    probability of an attack correctly guessing the keys My implementation does not pretend to be secure so I used the C library s rand function and the standard unsigned long int data type To test if my randomly generated integer is prime I used wheel factorization which is O sqrt n where n is the size of the integer to test It is slow but simple to understand and implement and since my generated keys are small this is not a problem Serious implementations need to use much faster probabalistic algorithms due to the enormous size of the keys Finding the modulo inverse Once we have generated a pair of primes p q and have found e such that gcd e p 1 q 1 1 we need to find the inverse of e modulo p 1 q 1 Essentially we need to find a such that ae b p 1 q 1 1 This is a diophantine equation and can be solved using the euclidean algorithm Exponentiation The actual encryption and decryption is performed by evaluating M e mod n where M is the data and e n is the public or private key depending on if you are

    Original URL path: http://www.evanjones.ca/software/rsa.html (2016-04-30)
    Open archived version from archive

  • XDelta for Windows (evanjones.ca)
    should probably download that version download xdelta exe statically linked compressed with UPX Building XDelta for Windows with Visual Studio Download the XDelta source code Download GLib 2 0 either as a dll or as a static library Download ZLib There is a prebuilt win32 package containing both dlls and static libraries Unpack everything Add the include and lib directories from the GLib and ZLib distributions Open the included Visual

    Original URL path: http://www.evanjones.ca/software/xdelta-win32.html (2016-04-30)
    Open archived version from archive

  • Creating Custom Controls on MacOS X Using HIViews (evanjones.ca)
    with the HIObject API and is pretty well described in Apple s HIObject documentation Here is a sample event handler static pascal OSStatus CustomControlHandler EventHandlerCallRef handlerRef EventRef event void userData pragma unused myHandler userData OSStatus result eventNotHandledErr ScintillaControl scintilla reinterpret cast ScintillaControl userData UInt32 whatHappened GetEventKind event switch whatHappened Allocate the corresponding C object case kEventHIObjectConstruct fprintf stderr Constructing n If you want you can get a reference to the instance HIViewRef view result GetEventParameter event kEventParamHIObjectInstance typeHIObjectRef NULL sizeof view NULL view assert result noErr Allocate some instance specific information this will get passed into your event handler as userData when events occur void instance NULL result SetEventParameter event kEventParamHIObjectInstance typeVoidPtr sizeof instance scintilla assert result noErr break case kEventHIObjectDestruct fprintf stderr Destructing n Free the instance data that you allocated in the constructor for example delete userData result noErr break return result To register the new control and the events that it can handle call HIObjectRegisterSubclass const EventTypeSpec CEventList kEventClassHIObject kEventHIObjectConstruct kEventClassHIObject kEventHIObjectDestruct OSStatus err HIObjectRegisterSubclass CFSTR someid kHIViewClassID 0 NewEventHandlerUPP CustomControlHandler sizeof CEventList sizeof CEventList CEventList NULL NULL assert err noErr Adding a Custom HIView to a Window Now that your custom class is registered it is time to add it to the window First you need to enable compositing for the window HIViews use the new Jaguar composited window rendering which is similar to Cocoa s rendering model One important difference is that the background behind your view is always erased for you Te enable composite rendering check the Composite box in Interface Builder under the window properties Next you can use Interface builder to place your custom view widget in the window as described in the Control Manager documentation Alternatively to manually add the view you need to create an instance then add it as

    Original URL path: http://www.evanjones.ca/software/osx-custom-controls.html (2016-04-30)
    Open archived version from archive

  • DBMBase: A web-based database table (evanjones.ca)
    server that can execute CGI applications Perl tested with Perl 5 004 5 005 and 5 6 Perl knowledge so you can hack the locations in the HTML file and CGI script Neat Features Can store any text data in a table Outputs valid XHTML 1 0 Look is configurable using Cascading Style Sheets One script can create and view many database tables A web interface is available to create database tables Demo I have made a disabled demo version available You will not be able to add edit or delete records but it will be obvious how it is supposed to work One database is just a demo but the other is a list of books I have read and I want to read Enhancements The biggest enhancement would be to use a standard Perl module such as Data Dumper to store the table instead of my hacked DBMTable Perl module However writing the module taught me about Perl ties so it was still a valuable experience A small program like this could grow into a complete web based interface to a database Each field should have a data type associated with it which should be validated when entered

    Original URL path: http://www.evanjones.ca/software/dbmbase.html (2016-04-30)
    Open archived version from archive

  • Association Engines (evanjones.ca)
    I envisioned when I wrote my data links paper Scary Some people say that you only get one truly good idea in your life It looks like I might have already blown it Seriously though while I think that all of these implementations Creo Six Degrees Devon Think Dashboard are very early and rough I think that this sort of software will become necissary in the future In fact if

    Original URL path: http://www.evanjones.ca/association-engines.html (2016-04-30)
    Open archived version from archive