Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^12: Retrieve SNP information from UCSC genome browser

by taint (Chaplain)
on Jan 10, 2014 at 17:17 UTC ( #1070152=note: print w/ replies, xml ) Need Help??


in reply to Re^11: Retrieve SNP information from UCSC genome browser
in thread Retrieve SNP information from UCSC genome browser

"Do you really expect someone to play guessing games with the output of a command list? Do you expect poor ammalu89 to go away and read the documentation for everyone on the list before piecing together your so called strategy? Seems like you have no interest in either helping the user, backing up your claim that FTP can do this reliably or proving your assertion that comparing the number of bytes is a logical way of comparing files."

True. This sort of thing is not for the uninitiated. Users of Perl shouldn't be bothered to be required to read the perltoot, or perlootut before making inquiries. Which also speaks to your second assertion (just above). The (sub) commands modtime, and size; while not perfect, will give one at least a sense, as to whether the remote file is different (has changed, been modified) since their last inquiry. It's not perfect, but it's also not as bad as you seem to assert.
And my "correction" does indicate that FTP is not just for "downloading files", as you initially claimed in your first reply to the OP.

--Chris

λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH


Comment on Re^12: Retrieve SNP information from UCSC genome browser
Re^13: Retrieve SNP information from UCSC genome browser
by marto (Chancellor) on Jan 10, 2014 at 17:29 UTC

    "The (sub) commands modtime, and size; while not perfect, will give one at least a sense, as to whether the remote file is different (has changed, been modified) since their last inquiry."

    Yikes! You've yet to explain why comparing on size is sensible at all. Modtime, you have no idea if the remote file is rebuild periodically, or the local file is modified (saved, while the contents remaining the same). Why you'd want to get a "sense" of file changes is beyond me when the only logical way is to compare the file contents. Not their size, or their modification date. You claimed FTP could do this. These commands (the one to get the size and the one to get the modtime, we've establised there isn't one to compare files) aren't available in every implementation. You're guessing again. This is no way to solve any problem. Your guessing and making a mess of it.

    "It's not perfect, but it's also not as bad as you seem to assert."

    It's far from perfect, it's a terrible mess. Regardless you claimed several times that FTP can compare files, not only is this not a comparison, but this is a combination of commands to tell you different things, not that FTP has compared files at all.

    "Users of Perl shouldn't be bothered to be required to read the perltoot, or perlootut before making inquiries."

    "Be bothered to be required"? why would they read perltoot or perlootut to ask a question about FTP? If the point you're trying to make is about reading documentation, the FTP documentation you've linked to shows nothing about comparing files. How would this have helped ammalu89, other than confirming this isn't what they want to use to compare a file?

    Update: explained which commands are in question to remove ambiguity.

      "Modtime, you have no idea if the remote file is rebuild periodically"
      Neither do you.

      "Why you'd want to get a "sense" of file changes is beyond me when the only logical way is to compare the file contents. Not their size, or their modification date."
      Because if nothing's changed. No reason to go further.

      ""Be bothered to be required"? why would they read perltoot or perlootut to ask a question about FTP?"
      You missed the context, and therefore, the point. It'd be totally lost, and impossible to re-atain, right here.

      Summary:
      You're just being pedantic. I endevoured to begin a path to a possible solution. While attempting to expand on my initial post. I found myself having to justify my comment(s) to you, rather than broaden the possibilities (maybe with ftp) for a potential solution to the OP's question. I find this regretable, and ultimately, degradation of a possibly valuable thread. In the end, I greatly squandered efforts, and energy I had intended to spend on providing a possible solution to the OP's question. Rebuttal of this nature, I think is better spent in the CB, leaving the thread for the final outcome of the rebuttal, not the rebuttal itself.

      --Chris

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1070152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-09-16 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (51 votes), past polls