jaydeehess
Penultimate Amazing
Your problem becomes more obvious the more I read your posts. You quite simply do not know how to form a coherent argument.
Bla bla show me now bla bla. Let's just say that I am working on something in my free time. I can programmatically extract a high number of time stamps from the metadata from all ten pdf's of Inspire magazine. A preliminary analysis of these data suggests that the work has been done on a computer with the time zone set as +03 for Yemen, but if you look at the actual times in Yemen there seems more activity creating the pdf on ungodly hours in Yemen. From as much as I can derive by now, the pdf's seems to be rather worked upon from a time zone somewhere between -08 to +00, with my current bets on time zone -07 (around New York and whatever lies below I suppose). I plan to do some further analysis, like for example trying to selectively extract only "date modified" stamps instead of "date created stamps". Since this concerns hundreds of time stamps, the only way to do this is programmatically and I'm doing it in C++. Comparing time histograms and analysis of date by using chi square histogram distance might for example pinpoint daylight saving time switch date. So I MIGHT. If you want to belittle what is some effort in my free time, then go past the gates of where I live according to my profile.There's no time like the present, or yesterday, or the day before that, or for that matter anytime since you first posted the title of the thread you originated.
If only someone had implored you to do so early on then perhaps...... oh, wait that has been the main subject of the posts by at least one contributor to this thread.
Now you "might" deign to adress the topic of the thread. Why should anyone take you seriously ever again if it takes you a week of being badgered to adress your own topic to even get to the point where you are willing to post that you may, perhaps, but no promises, do so?
If, otoh, you have been in posession of some evidence all along and you do post it soon, it would then appear that you deliberately dragged this out in order to spring it later. That comes close as can be to a definition trolling, deliberate obfuscation to garner negative attention and responses.
Bla bla show me now bla bla. Let's just say that I am working on something in my free time. I can programmatically extract a high number of time stamps from the metadata from all ten pdf's of Inspire magazine. A preliminary analysis of these data suggests that the work has been done on a computer with the time zone set as +03 for Yemen, but if you look at the actual times in Yemen there seems more activity creating the pdf on ungodly hours in Yemen. From as much as I can derive by now, the pdf's seems to be rather worked upon from a time zone somewhere between -08 to +00, with my current bets on time zone -07 (around New York and whatever lies below I suppose). I plan to do some further analysis, like for example trying to selectively extract only "date modified" stamps instead of "date created stamps". Since this concerns hundreds of time stamps, the only way to do this is programmatically and I'm doing it in C++. Comparing time histograms and analysis of date by using chi square histogram distance might for example pinpoint daylight saving time switch date. So I MIGHT. If you want to belittle what is some effort in my free time, then go past the gates of where I live according to my profile.
Consistently for days? If you want to have the source data, I can mail you. It's not impossible of course, that's why I am not stating anything with certainty, despite what jaydee might want. I know a lot of you people would love to dismiss it from the slightest hint at mistake. I'm still looking at it.And yet there's nothing preventing a Yemeni from using his computer in the middle of the night.
it's 0:43 here and yet here I am posting on JREF. Is it past my bedtime or something?And yet there's nothing preventing a Yemeni from using his computer in the middle of the night.
Are you working on pdf's? Or anything else for that matter? Even during daytime?it's 0:43 here and yet here I am posting on JREF. Is it past my bedtime or something?
Are you working on pdf's? Or anything else for that matter? Even during daytime?![]()
Are you working on pdf's? Or anything else for that matter? Even during daytime?![]()
Yes, I edited the file in an ordinary text editor and could extract time stamps from the metadata, which are plain text among other binary data. While I already have hundreds of time stamps which should be significant enough for some preliminary analysis, are there any further time / location data in the binary sections or embedded in something else (like encoded in document IDs or something)?Indeed I do work on PDF files for my day job, writing code that produces them in native PDF code. Did you have a particular question?
It's 2:05 here in Belgium buddy. But if you want to dismiss out of hand without even looking at it first like all the rest, I suggest you erect a club. You'll find plenty of members here.You apparently don't live in a family of night owls.
Yes, I edited the file in an ordinary text editor and could extract time stamps from the metadata, which are plain text among other binary data. While I already have hundreds of time stamps which should be significant enough for some preliminary analysis, are there any further time / location data in the binary sections or embedded in something else (like encoded in document IDs or something)?
#include "stdafx.h"
#include <fstream>
#include <string>
#include <iostream>
int main()
{
using namespace std;
ifstream in("D:\\Inspire.pdf",ios::binary);
if (!in)
{
cout << "could not open file\n";
cin.ignore(100,'\n');
return 0;
}
ofstream out("results.txt");
string line;
int count = 0;
while (getline(in,line))
{
size_t start = 0;
size_t pos;
while ( (pos=line.find("when",start)) != string::npos )
{
size_t pos1 = line.find('"',pos);
size_t pos2 = line.find('"',pos1+1);
if (pos1 != string::npos && pos2!=string::npos)
{
++count;
start = pos2 + 1;
out << line.substr(pos1+1,pos2-pos1-1) << "\n";
}
else
{
// ill formed ... skip
start = pos + 1;
}
}
}
out << "number of occurrences = " << count << "\n";
return 0;
}
It's 2:05 here in Belgium buddy. But if you want to dismiss out of hand without even looking at it first like all the rest, I suggest you erect a club. You'll find plenty of members here.
Nope. I'll google that, thank you.Have you read and understood the PDF LRM?
Apart from the fact that what you have presented is trivial code poorly written, go do it in Kanji.If you want to extract a specific kind (not all) of time stamps yourself, here's some basic C++ source code:
/Code:#include "stdafx.h" #include <fstream> #include <string> #include <iostream> int main() { using namespace std; ifstream in("D:\\Inspire.pdf",ios::binary); if (!in) { cout << "could not open file\n"; cin.ignore(100,'\n'); return 0; } ofstream out("results.txt"); string line; int count = 0; while (getline(in,line)) { size_t start = 0; size_t pos; while ( (pos=line.find("when",start)) != string::npos ) { size_t pos1 = line.find('"',pos); size_t pos2 = line.find('"',pos1+1); if (pos1 != string::npos && pos2!=string::npos) { ++count; start = pos2 + 1; out << line.substr(pos1+1,pos2-pos1-1) << "\n"; } else { // ill formed ... skip start = pos + 1; } } } out << "number of occurrences = " << count << "\n"; return 0; }
I have some more for further processing for myself.
No. You might get so far as googling the LRM, but you will neither read it nor understand it.Nope. I'll google that, thank you.
I criticized others habits? What did I say again?Yet you feel justified criticising others habits even though you admit to being up later than me? Get real.
Then if possible, some help on the subject please. Can I PM you this time around?No. You might get so far as googling the LRM, but you will neither read it nor understand it.