Re: [fpc-pascal] when will Free Pascal have a stable release of 2.7.2?

2013-12-11 Thread Mark Morgan Lloyd

Bart wrote:

2.7 branch will never be a stable release.
Eventually we'll get a 2.8 release.


I think that needs to be made to sound more deliberate, for Dennis's 
benefit. Please could any of the core team jump on me if some detail's 
wrong, but:


1.x is obsolete, consideration of whether it's stable or unstable isn't 
relevant.


2.x.y includes both stable and non-stable releases. The non-stable 
releases in particular include trunk.


Where x is an even number, it's a stable release. So 2.0, 2.2, 2.4 and 
2.6 are stable, with 2.8 being the next stable release.


Where x is an odd number, it's not a stable release and should not be 
used for production purposes: specifically, it should not be used for 
compiling FPC itself or for compiling Lazarus etc. except as directed by 
developers.


The same pattern might or might not be followed by the y digit.

I think that trunk is currently 2.7.1. There are some things in trunk 
which will go into 2.8, others will remain in trunk when it becomes 2.9, 
others will be removed or left optional for experimentation.


There are cases where a developer will tell you to use a particular 
release (which might have a non-obvious numeric relationship to the 
current stable version) to get around a code-generation problem, but 
otherwise except for testing purposes you should stick to the even numbers.


This echoes the development practice of the Linux kernel, and is 
increasingly common practice.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] when will Free Pascal have a stable release of 2.7.2?

2013-12-11 Thread Sven Barth

Am 11.12.2013 10:05, schrieb Mark Morgan Lloyd:

Bart wrote:

2.7 branch will never be a stable release.
Eventually we'll get a 2.8 release.


I think that needs to be made to sound more deliberate, for Dennis's 
benefit. Please could any of the core team jump on me if some detail's 
wrong, but:

You are nearly correct excep:
There are some things in trunk which will go into 2.8, others will 
remain in trunk when it becomes 2.9, others will be removed or left 
optional for experimentation.
2.7.1 will become 2.8 sooner or later (*) and what's in trunk at that 
time will also be in 2.8.0 (and normally we don't deliberately remove 
things... ^^ ).


* To be more precise: 2.8 will be branched from 2.7.1 and 2.7.1 will 
then become 2.9.1.


Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] when will Free Pascal have a stable release of 2.7.2?

2013-12-11 Thread Mark Morgan Lloyd

Sven Barth wrote:

Am 11.12.2013 10:05, schrieb Mark Morgan Lloyd:

Bart wrote:

2.7 branch will never be a stable release.
Eventually we'll get a 2.8 release.


I think that needs to be made to sound more deliberate, for Dennis's 
benefit. Please could any of the core team jump on me if some detail's 
wrong, but:

You are nearly correct excep:
There are some things in trunk which will go into 2.8, others will 
remain in trunk when it becomes 2.9, others will be removed or left 
optional for experimentation.
2.7.1 will become 2.8 sooner or later (*) and what's in trunk at that 
time will also be in 2.8.0 (and normally we don't deliberately remove 
things... ^^ ).


* To be more precise: 2.8 will be branched from 2.7.1 and 2.7.1 will 
then become 2.9.1.


But you do reserve the right to spring surprises on people who use 
odd-numbered releases incautiously.


I've certainly been confused at times. I forget the detail, but IIRC it 
was something like an ARM fpu variant which was more robust in 2.5.1 
despite 2.6.0 having been released... that example might be inaccurate 
but I'm just trying to emphasise as part of the FAQ that there are 
pitfalls for somebody who tries to use odd-numbered releases just 
because they're the most recent.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] when will Free Pascal have a stable release of 2.7.2?

2013-12-11 Thread Dennis Poon
2.7.1 will become 2.8 sooner or later (*) and what's in trunk at that 
time will also be in 2.8.0 (and normally we don't deliberately remove 
things... ^^ ).


what is the timeframe of 'sooner or later'?  May I assume Q1 of 2014?

Dennis
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] when will Free Pascal have a stable release of 2.7.2?

2013-12-11 Thread Sven Barth

Am 11.12.2013 11:14, schrieb Mark Morgan Lloyd:

Sven Barth wrote:

Am 11.12.2013 10:05, schrieb Mark Morgan Lloyd:

Bart wrote:

2.7 branch will never be a stable release.
Eventually we'll get a 2.8 release.


I think that needs to be made to sound more deliberate, for Dennis's 
benefit. Please could any of the core team jump on me if some 
detail's wrong, but:

You are nearly correct excep:
There are some things in trunk which will go into 2.8, others will 
remain in trunk when it becomes 2.9, others will be removed or left 
optional for experimentation.
2.7.1 will become 2.8 sooner or later (*) and what's in trunk at that 
time will also be in 2.8.0 (and normally we don't deliberately remove 
things... ^^ ).


* To be more precise: 2.8 will be branched from 2.7.1 and 2.7.1 will 
then become 2.9.1.


But you do reserve the right to spring surprises on people who use 
odd-numbered releases incautiously.


I've certainly been confused at times. I forget the detail, but IIRC 
it was something like an ARM fpu variant which was more robust in 
2.5.1 despite 2.6.0 having been released... that example might be 
inaccurate but I'm just trying to emphasise as part of the FAQ that 
there are pitfalls for somebody who tries to use odd-numbered releases 
just because they're the most recent.


I don't remember the FPU part right now, but it might have been shortly 
after the branch of 2.6.0 and before the renaming of trunk from 2.5.1 to 
2.7.1...


Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] when will Free Pascal have a stable release of 2.7.2?

2013-12-11 Thread Sven Barth

Am 11.12.2013 12:39, schrieb Dennis Poon:
2.7.1 will become 2.8 sooner or later (*) and what's in trunk at that 
time will also be in 2.8.0 (and normally we don't deliberately remove 
things... ^^ ).


what is the timeframe of 'sooner or later'?  May I assume Q1 of 2014?
Even if we'd branch now it would be around 6 months until a release. 
AFAIR Jonas already proposed branching 2.8.0 in the near future (this 
year at best) so this would mean a release in summer 2014 (though this 
is not a given of course).


Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] when will Free Pascal have a stable release of 2.7.2?

2013-12-11 Thread Tomas Hajny
On Wed, December 11, 2013 12:39, Dennis Poon wrote:
  2.7.1 will become 2.8 sooner or later (*) and what's in trunk at that
 time will also be in 2.8.0 (and normally we don't deliberately remove
 things... ^^ ).

 what is the timeframe of 'sooner or later'?  May I assume Q1 of 2014?

My personal view: fairly unlikely. We plan to finish the 2.6.4 release
first. I do not expect that we are able to release 2.8.0 so quickly after
2.6.4.

Tomas


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] MD5 decryption?

2013-12-11 Thread silvioprog
Hello,

How to decrypt a MD5 in FPC?:

http://md5decryption.com

-- 
Silvio Clécio
My public projects - github.com/silvioprog
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: MD5 decryption?

2013-12-11 Thread Reinier Olislagers
On 11/12/2013 17:41, silvioprog wrote:
 How to decrypt a MD5 in FPC?:
 

You're not supposed to. MD5 is a one way hash function.
Otherwise use rainbow tables, brute force attack etc.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread Ewald
Once upon a time, silvioprog said:
 Hello,

 How to decrypt a MD5 in FPC?:
MD5 is a hashing algorithm, not an encryption algorithm. There is more
than one input for this algorithm which will generate the same hash, as
opposed to a cipher.

-- 
Ewald

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread Robert Wolfe

Not sure if this helps or not:

http://wiki.freepascal.org/hash

On 12/11/2013 10:41 AM, silvioprog wrote:

Hello,

How to decrypt a MD5 in FPC?:

http://md5decryption.com http://md5decryption.com/

--
Silvio Clécio
My public projects - github.com/silvioprog http://github.com/silvioprog


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread silvioprog
2013/12/11 Ewald ew...@yellowcouch.org

 Once upon a time, silvioprog said:
  Hello,
 
  How to decrypt a MD5 in FPC?:
 MD5 is a hashing algorithm, not an encryption algorithm. There is more
 than one input for this algorithm which will generate the same hash, as
 opposed to a cipher.

 --
 Ewald


Go to: http://md5decryption.com
In Please input the MD5 hash that you would like to be decrypted: field,
put: 7db4a8dae498d1b4686ebd1f79326602
See the result in Decrypted Text: field.

-- 
Silvio Clécio
My public projects - github.com/silvioprog
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread Michael Van Canneyt



On Wed, 11 Dec 2013, silvioprog wrote:


2013/12/11 Ewald ew...@yellowcouch.org
  Once upon a time, silvioprog said:
   Hello,
  
   How to decrypt a MD5 in FPC?:
MD5 is a hashing algorithm, not an encryption algorithm. There is more
than one input for this algorithm which will generate the same hash, as
opposed to a cipher.

--
Ewald


Go to: http://md5decryption.com
In Please input the MD5 hash that you would like to be decrypted: field, put: 
7db4a8dae498d1b4686ebd1f79326602
See the result in Decrypted Text: field.


You should read the description.
They look in a database. They don't do actual decryption.

Michael.___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread Sven Barth

Am 11.12.2013 17:54, schrieb silvioprog:

2013/12/11 Ewald ew...@yellowcouch.org mailto:ew...@yellowcouch.org

Once upon a time, silvioprog said:
 Hello,

 How to decrypt a MD5 in FPC?:
MD5 is a hashing algorithm, not an encryption algorithm. There is more
than one input for this algorithm which will generate the same
hash, as
opposed to a cipher.

--
Ewald


Go to: http://md5decryption.com http://md5decryption.com/
In Please input the MD5 hash that you would like to be decrypted: 
field, put: 7db4a8dae498d1b4686ebd1f79326602

See the result in Decrypted Text: field.

Please read what they write on their web page (stresses by me):

=== quote begin ===

Encrypt MD5 hash, Decrypt MD5 hash
MD5Decryption.com allows you to enter a MD5 hash and we will look *into 
our database*

and try to decrypt MD5. Basically it is a MD5 decrypter.

What is an MD5 hash, or MD5 Checksum?
MD5 is a 128-bit message digest function.
It is used commonly in user authentication and MD5 checksum for data 
integrity.


How many MD5 hashes are in our database?
*We have encrypted* more than 105,300,000 words, phrases, acronyms, etc 
since 2006.


=== quote end ===

So they have build themselves a database of a limited number of md5 
hashes and use that to resolve your requests. MD5 is a one way hashing 
function. Full stop. Don't believe it? Well... I generated a hash of 
wrxlbrmpf which is d162435be814d6c6f4e1e4f077e5343d. This hash is not 
found in their database. Or better yet: Hash a 1GB movie and ask them to 
decrypt that. It would definitely be awesome if you could store a 1GB 
movie inside a 16-Byte hash...


Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread silvioprog
2013/12/11 Michael Van Canneyt mich...@freepascal.org


 On Wed, 11 Dec 2013, silvioprog wrote:

  2013/12/11 Ewald ew...@yellowcouch.org
   Once upon a time, silvioprog said:
Hello,
   
How to decrypt a MD5 in FPC?:
 MD5 is a hashing algorithm, not an encryption algorithm. There is more
 than one input for this algorithm which will generate the same hash, as
 opposed to a cipher.

 --
 Ewald


 Go to: http://md5decryption.com
 In Please input the MD5 hash that you would like to be decrypted:
 field, put: 7db4a8dae498d1b4686ebd1f79326602
 See the result in Decrypted Text: field.


 You should read the description.
 They look in a database. They don't do actual decryption.

 Michael.


Ah ha... I haven't seen this detail. xD

Phew, I was thinking it would be possible to know the hidden text in a hash.

-- 
Silvio Clécio
My public projects - github.com/silvioprog
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread Ewald
Once upon a time, silvioprog said:
 2013/12/11 Ewald ew...@yellowcouch.org mailto:ew...@yellowcouch.org

 Go to: http://md5decryption.com http://md5decryption.com/
 In Please input the MD5 hash that you would like to be decrypted:
 field, put: 7db4a8dae498d1b4686ebd1f79326602
 See the result in Decrypted Text: field.
Yes, I've seen the  site, what they probably do is a reverse lookup in a
table, but it cannot be called `decryption`. Encryption is two way: an
output can be converted back to the original input. This is not the case
with a hashing function. Take for example a very simple function that
xor's all input bytes together (with MD5 it boils down to the same,
albeit a bit more complex). If I give you the output $F0, how do you
know what was the original input? The answer is you don't. It could be
[$80 $70] as well as it could have been [$C0 $FF $30 $FF]...

While both algorithm types (encryption and hashing) are related (the
above xor example classified as a checksum, whereas xor encryption also
exists), they are definitly not the same.

-- 
Ewald

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread Ewald
Once upon a time, Michael Van Canneyt said:

 You should read the description.
 They look in a database. They don't do actual decryption.

Yep, that's what I did, I even looked at the little line advertising how
much records they had in their database. Most unfortunately though it
cannot be called decryption. If I would advertise a bicycle as a car to
you there would also be some confusion don't you think :-)

-- 
Ewald

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MD5 decryption?

2013-12-11 Thread silvioprog
2013/12/11 Ewald ew...@yellowcouch.org

  Once upon a time, silvioprog said:

  2013/12/11 Ewald ew...@yellowcouch.org

  Go to: http://md5decryption.com
 In Please input the MD5 hash that you would like to be decrypted: field,
 put: 7db4a8dae498d1b4686ebd1f79326602
 See the result in Decrypted Text: field.

 Yes, I've seen the  site, what they probably do is a reverse lookup in a
 table, but it cannot be called `decryption`. Encryption is two way: an
 output can be converted back to the original input. This is not the case
 with a hashing function. Take for example a very simple function that xor's
 all input bytes together (with MD5 it boils down to the same, albeit a bit
 more complex). If I give you the output $F0, how do you know what was the
 original input? The answer is you don't. It could be [$80 $70] as well as
 it could have been [$C0 $FF $30 $FF]...

 While both algorithm types (encryption and hashing) are related (the above
 xor example classified as a checksum, whereas xor encryption also exists),
 they are definitly not the same.

 --
 Ewald


Nice explanation, thanks! (y)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] arm-embedded and interrupts

2013-12-11 Thread Koenraad Lelong

op 11-12-13 19:36, Jeppe Græsdal Johansen schreef:


What am I doing wrong ?

Thanks for any pointers.

Koenraad Lelong

The Cortex-M RTL units were changed some time ago to favour a more
flexible way of doing interrupt handling for embedded devices, by
implementing assembler support for weak references and scrapping the old
compiler integrated interrupt vector system.

Now to declare an interrupt routine you would do:

procedure SysTick_interrupt; [public, alias: 'SysTick_interrupt'];
begin
end;

You can check the source code of the RTL unit you are using to find the
names of the interrupt handler functions.


Thanks,

That works. I already found the names, but I didn't know how to declare 
the interrupts, so now I do.

I hope to do some real work in the next few weeks.

Regards,

Koenraad Lelong

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Re: MD5 decryption?

2013-12-11 Thread Mark Morgan Lloyd

Reinier Olislagers wrote:


Please don't take this as an insult, but make sure you don't
design/implement any password/encryption schemes if you don't know what
you're doing...


Most people who /do/ know what they're doing shouldn't try to design 
encryption or hashing schemes, although it must be said that most 
World-class fsckups have resulted from key distribution and storage 
failures.


For the uninitiated, there's interesting info on crypto history and 
practice on John Savard's website http://www.quadibloc.com/


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal