Hi Jeremy!

On 23/11/12 11:48, Jeremy Sanders wrote:
> On 18/11/12 01:42, Dr. Volker Jaenisch wrote:
>
>> @jeremy: Why did you used such a special format? Is this easy to substitute 
>> by an other?
>
> Date/time wasn't in the originally program. It was the easiest way of 
> supporting dates without adding other data types (I think it was added
> even before adding text), allowing the datasets to be plotted with standard 
> widgets. There was some discussion on the mailing list I think.
>
> The idea is to use floats to store date times relative to a recent time. 
> Excel and various other systems do this - they can be converted with
> an offset. I think I calculated that the accuracy is pretty good over quite a 
> wide range in times. It's probably not good enough to store
> microseconds millions of years ago, but there is little use case for that. 
> There was no numpy datetime when the code was written.
>
> Is there any case where it is broken? I think it will be pretty tricky to 
> change.
>
> 1. Backward compatibility - though the format isn't designed to be used 
> externally, older saved files may contain these values.
>
> 2. Widgets assume numeric data - lots of special casing needs to be added to 
> each widget to handle the different data types. Maybe it would be
> possible to restrict
>
> If you can think of a clean way to change the system (with compatibility), 
> and little extra code, I'd be happy to change it. For instance, you
> could store it as a very large integer instead, which might work ok.
You pointed out lots of good reason not to dig into that further. So I will 
push this back and bring other things forward that are more promising.

Have you had time to check out the HDF5 import dialog?

Before you push this extension upstream I would like to add an API for complex 
Dialogs. This may be no great deal just a layer containing import
pointers to Classes/functions that
may encapsulate/seperate the program fron the import dialogs. I have some ideas 
on defining the API but I would like to disuss them with you
before I start to implement them.

I will bring up a proposal and post it here.

Pura vida

Volker

-- 
Dr. Volker Jaenisch
Geschäftsführer
 
Inqbus GmbH & Co. KG
Softwareentwicklung, Consulting & Hosting
Karl-Heine-Straße 99 | 04229 Leipzig | Deutschland

Telefon: +49 341 989758-54
Fax: +49 341 989758-79
E-Mail: [email protected]
Web: http://inqbus.de/

Persönlich haftende Gesellschafterin: Inqbus Management GmbH (Amtsgericht 
Leipzig, HRB 27350)
Vertretungsberechtigte Geschäftsführer: Maik Derstappen, Dr. Volker Jaenisch, 
Thomas Massmann, Markus Zapke-Gründemann

Registergericht: Amtsgericht Leipzig
Registernummer: HRA 16424

Umsatzsteuer-Identifikationsnummer: DE278744671


_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à