Re: [fpc-pascal] Happy tickets benchmark

2016-03-01 Thread Jeppe Johansen
On 03/02/2016 12:48 AM, vfclists . wrote: On 14 February 2016 at 10:06, Serguei TARASSOV > wrote: Hello, thank all for assistance! Sorry, I was not clear, the series should be ran with all tests _on the same computer_

Re: [fpc-pascal] Happy tickets benchmark

2016-03-01 Thread vfclists .
On 14 February 2016 at 10:06, Serguei TARASSOV wrote: > Hello, > > thank all for assistance! > > Sorry, I was not clear, the series should be ran with all tests _on the > same computer_ regardless its hardware capacity and on the _same OS_. > That's why I cannot compare with

Re: [fpc-pascal] Wiki (image) uploading temporarily disabled

2016-03-01 Thread Jonas Maebe
On 29/02/16 17:53, Jonas Maebe wrote: The tech support scammers discovered that mediawiki's antispam regex doesn't get applied to image descriptions, so they're now attacking us that way. I hope to find a way to block this new attack angle tonight or tomorrow, but until then I've disabled

Re: [fpc-pascal] Primitive Record Wrappers

2016-03-01 Thread Constantine Yannakopoulos
On Tue, Mar 1, 2016 at 3:59 PM, Mazola Winstrol wrote: > > Can you send me? > ​Done.​ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Primitive Record Wrappers

2016-03-01 Thread Mazola Winstrol
2016-03-01 10:07 GMT-03:00 Constantine Yannakopoulos : > > The only solution I have found is to implement ALL operators for > TNullableType by defining a generic interface INullableOperatiors > that contains methods for all operators, then implement for each type by > means

Re: [fpc-pascal] Primitive Record Wrappers

2016-03-01 Thread Constantine Yannakopoulos
On Mon, Feb 29, 2016 at 5:13 PM, Mazola Winstrol wrote: > I have noticed that, by using generics, we can't overload arithmetic > operators. > > E.g.: > > ... > class operator Negative(A: TNullableType): T; > ... > > class operator TNullableType.Negative(A: TNullableType):

Re: [fpc-pascal] Primitive Record Wrappers

2016-03-01 Thread Mazola Winstrol
2016-03-01 1:48 GMT-03:00 : > On 02/29/2016 10:08 PM, Mazola Winstrol wrote: > >> There is a problem in my design. The code won't compile if i try to >> specialize with a type which doesn'y supports arithmetic operators e.g >> String >> types. >> > > apparently i'm

Re: [fpc-pascal] Primitive Record Wrappers

2016-03-01 Thread Mazola Winstrol
2016-03-01 9:13 GMT-03:00 Sven Barth : > Am 01.03.2016 04:08 schrieb "Mazola Winstrol" : > > Is there any way to overcome this? Is there any way to tell the compiler > to ignore some operators depending on the specialization type? > > No, there

Re: [fpc-pascal] Primitive Record Wrappers

2016-03-01 Thread Sven Barth
Am 01.03.2016 04:08 schrieb "Mazola Winstrol" : > Is there any way to overcome this? Is there any way to tell the compiler to ignore some operators depending on the specialization type? No, there is not. Better not use operators other than the assignment ones or provide

Re: [fpc-pascal] Primitive Record Wrappers

2016-03-01 Thread Rainer Stratmann
On Wednesday 17 February 2016 18:40:52 you wrote: > Hello list, > > In some situations, would be very interesting to determine whether the > value of a primitive variable is initialized or not. For example, fields in > database records can contain null values. By implementing an ORM, it would >