<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="margin:0px;text-indent:0px">Which data will be used in this step and where does it come from? Is it part</p>
<p style="margin:0px;text-indent:0px">of the source code? Please excuse in case I am asking dumb questions, but I</p>
<p style="margin:0px;text-indent:0px">am not 100% sure about the whole process (initially and during operation).</p></blockquote><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="margin:0px;text-indent:0px">I understand, that at some location, a file will be provided to the users.</p><p style="margin:0px;text-indent:0px">How does this file get created? Who creates it (role, not application)?</p></blockquote> 
<br></div><div>Currently, KtoBlzCheck downloads a bank sort file at compilation and uses it to generate a bankdata text file. This file is then used to service the library</div><div>and afaik there is no way to update datafile without recompiling. Since for every compilation at a new date, a file is downloaded and another file generated, <br></div><div>this causes a lot of duplication of data. That is why we want to move to a database so that data is updated in only one file(DB) on every data update.</div><div>This DB file will be generated by the same bank sort code file which was downloaded from the bank.</div><div>Now, the current plan is for one of the developers of the organisation to upload the latest generated database to the files area of ktoblzcheck on <a href="http://sf.net">sf.net</a> <br></div><div>and creating an API to check for an updated database and download that database if it is more recent. This API would be used by the installed command-line <br></div><div>tool as well as other software to download the updated bankdata DB.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p style="margin:0px;text-indent:0px">IMHO this file should contain all necessary information (incl. any validity</p>
<p style="margin:0px;text-indent:0px">periods). And then if distributed with the source code contains all</p>
<p style="margin:0px;text-indent:0px">necessary data. Again, IMHO it does not make sense to take the Bundesbank</p>
<p style="margin:0px;text-indent:0px">file as is and distribute it. It needs to be verified and amended with</p>
<p style="margin:0px;text-indent:0px">additional information such as the valid_upto field.</p></div></blockquote><div><br></div><div>Sorry for the confusion. In this context, by 'file' I am referring to the SQLite database file which would be generated by the python script. So, my question</div><div>was regarding adding the date field in the DB.<br></div><div>You could take a look at my proposal to make it more clear: <a href="https://docs.google.com/document/d/1pMM0cUlPNpzWzlfEZ7XKcHTwJC73EYiYbLoQJRT7Jpc/">https://docs.google.com/document/d/1pMM0cUlPNpzWzlfEZ7XKcHTwJC73EYiYbLoQJRT7Jpc/</a></div><div><br></div><div>Do let me know if I had caused any other confusion. I will try to be more descriptive in further communication.</div><div><br></div><div>Thanks.</div><div>Prasun<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Jun 2020 at 17:02, Thomas Baumgart <<a href="mailto:thb@net-bembel.de" target="_blank">thb@net-bembel.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div style="font-family:"Monospace";font-size:10pt;font-weight:400;font-style:normal">
<p style="margin:0px;text-indent:0px">On Dienstag, 2. Juni 2020 11:51:19 CEST Prasun Kumar wrote:</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> Hi everyone,</p>
<p style="margin:0px;text-indent:0px">> I asked for help on this in my previous mail but it may have been lost due</p>
<p style="margin:0px;text-indent:0px">> to the long threads with the same subject I was creating. So sending it</p>
<p style="margin:0px;text-indent:0px">> again. I will avoid that in future.</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> When at compile-time the database is created locally, how to decide which</p>
<p style="margin:0px;text-indent:0px">> dates to put in the valid_upto field?</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Which data will be used in this step and where does it come from? Is it part</p>
<p style="margin:0px;text-indent:0px">of the source code? Please excuse in case I am asking dumb questions, but I</p>
<p style="margin:0px;text-indent:0px">am not 100% sure about the whole process (initially and during operation).</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">I understand, that at some location, a file will be provided to the users.</p>
<p style="margin:0px;text-indent:0px">How does this file get created? Who creates it (role, not application)?</p>
<p style="margin:0px;text-indent:0px">IMHO this file should contain all necessary information (incl. any validity</p>
<p style="margin:0px;text-indent:0px">periods). And then if distributed with the source code contains all</p>
<p style="margin:0px;text-indent:0px">necessary data. Again, IMHO it does not make sense to take the Bundesbank</p>
<p style="margin:0px;text-indent:0px">file as is and distribute it. It needs to be verified and amended with</p>
<p style="margin:0px;text-indent:0px">additional information such as the valid_upto field.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> The current sort code file only contains the information of which entries</p>
<p style="margin:0px;text-indent:0px">> were removed this quarter but the file does not contain any</p>
<p style="margin:0px;text-indent:0px">> date information. So, how to ensure consistency among all the users'</p>
<p style="margin:0px;text-indent:0px">> databases?</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">The consistency among all users can only be given after all users loaded</p>
<p style="margin:0px;text-indent:0px">the same specific file.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> For example:</p>
<p style="margin:0px;text-indent:0px">> If the script infers the date from the current date (by assuming the first</p>
<p style="margin:0px;text-indent:0px">> day of the current quarter as the date till the deletions were valid),</p>
<p style="margin:0px;text-indent:0px">> then, if the user compiles the code after missing any quarter, the data of</p>
<p style="margin:0px;text-indent:0px">> valid_upto field will be inconsistent with other users.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Hope that helps.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Thomas</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">-- </p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Regards</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Thomas Baumgart</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"><a href="https://www.signal.org/" target="_blank">https://www.signal.org/</a>       Signal, the better WhatsApp</p>
<p style="margin:0px;text-indent:0px">-------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px">A clearly defined problem is half the solution! -- Julian Huxley</p>
<p style="margin:0px;text-indent:0px">-------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px"> </p></div></blockquote></div>