Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by barryna

  1. barryna

    The simplest checksum algorithm...

    The question at hand is not meant to be scrutinized. We don't know the extent of what he may be trying to accomplish. I do know from past experience if you are working with sensitive data, you want to make sure the process you ran worked as desired. A checksum or hash method can check that...
  2. barryna

    The simplest checksum algorithm...

    Use a common hash algorithm like MD5, VB6 module to include in your project can be found here. http://sourceforge.net/projects/vb6md5hashcode/ Run the hash on the original data and the new data, if hashes match, your data is verified. No need to write your own hash method, use MD5, it runs...
  3. barryna

    How do I make my queries run faster?

    how long do each of your calculate queries take to run? Can you process your calculations using a module to populate additional fields in a new table that you can then simply join to to simplify your percentile query? I bet you are simply reaching the limits of Access. How many rows of raw...
  4. barryna

    key_buffer issue

    After changing the value in my.cnf, did you restart mysql and verify that the setting is changed? How long do these queries take to run? Creator of www.meltedjoystick.com - Game Reviews, Game Lists, and much more!
  5. barryna

    mySQL - Wrap Around Map

    First off, your second query below will not return any results cause xaxis cannot be both greater than 795 and less than 10. That logic will never return any records. SELECT * FROM map WHERE ((xaxis >= 795 AND xaxis <= 10) AND (yaxis >= 795 AND yaxis <= 10)) Your third query using the MOD...
  6. barryna

    Linking 3 tables together by dates and primary key

    Doing multiple JOINS can be tricky to type outright and get right. I use Microsoft Access, build copies of my tables, and use their query design tool to help build joins more seamlessly. This helps saves time so you can focus on the more important stuff. There are very slight syntax...
  7. barryna

    how to call function in another running application

    To avoid threading issues and other complexities, and need to do just simple things, try using the System.IO.FileSystemWatcher class. It will allow you to use a file to communicate information to your other application. Creator of www.filmcrave.com - Movie Reviews, Movie Lists, and much more!
  8. barryna

    Extracting website name from URL

    strongm, back to standards, why do I get an invalid domain name when I search for c.com on godaddy? There are some apparent restrictions that are not apart of the standards that you quoted. Creator of www.filmcrave.com - Movie Reviews, Movie Lists, and much more!
  9. barryna

    Extracting website name from URL

    strongm, that is assuming this isn't the first time you've answered this, and your snippet came from another thread. Creator of www.filmcrave.com - Movie Reviews, Movie Lists, and much more!
  10. barryna

    Extracting website name from URL

    strongm, do you wish to post a link to connect this thread to to the thread with the code you wrote? That would help people who come across this thread. Creator of www.filmcrave.com - Movie Reviews, Movie Lists, and much more!
  11. barryna

    Extracting website name from URL

    Not to open up a can of worms, but images can be present on a webpage from another domain without being present in the html page source of the page. It is done pretty often for more complex websites using JavaScript and AJAX. How are you handling that sort of thing? I'm also assuming you are...
  12. barryna

    Extracting website name from URL

    interesting, that breaks the rules of what I've been taught, but is pretty obvious it is possible to have. Did they relax the 3 character minimum domain name? Can bt.com have sub-domains? The only other option is to try to use jges's script to see if that works, or build an allowed domain...
  13. barryna

    Extracting website name from URL

    Andy, going back to looking at the periods and slashes to parse the string out. You can still do it. No valid domain name can be only 2 characters long. It has to be at least 3. Knowing that tells you the "co" part of yahoo.co.uk cannot be the domain, so you would know to grab another...
  14. barryna

    Extracting website name from URL

    I parse data all the time. You can do it. Start at the beginning of the string, look for the next slash after http://, if there isn't one start at the end of the string, if there is start at that slash. Word backwards until you find a period, that should be the .org, .net, .com., .tv, etc...
  15. barryna

    php api include simplexml timeout

    We eliminate the third party server dependency by running cron jobs to store/update the data into a database. Then all of our web pages for our website simply pull from the database. If the API goes down, no problem, it uses the most up-to-date data stored in the database. Pretty common...

Part and Inventory Search

Back
Top