Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Sven Barth via Lazarus
Am 30.10.2017 00:14 schrieb "Carlos E. R. via Lazarus" <
lazarus@lists.lazarus-ide.org>:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Monday, 2017-10-30 at 00:59 +0200, Juha Manninen via Lazarus wrote:

On Mon, Oct 30, 2017 at 12:48 AM, Carlos E. R. via Lazarus <> wrote:
>
>> About a year ago or more.
>> ...
>> /usr/share/fpcsrc/packages/fv/examples/testapp.lpi
>>
>
> Ok, this was about FPC examples. I assumed Lazarus examples because
> this is Lazarus list.
> A year ago there may have been more broken Lazarus examples, too, but
> most of them are now checked.
>
> It would make sense to report the FPC example issue.
>

I don't really differentiate between the IDE and the compiler, sorry. I
mean, I know they are different projects, but still... both have to work
together. I don't remember what examples I have tried, I just went for the
first one I could find with "open project". An .lpi file is a Lazarus
project file, right?

And where does one report fpc issues such as that one, is it another mail
list?


Yes, it's fpc-pascal and you can find it here:
https://freepascal.org/maillist.var

Alternatively you can use the bug tracker that both projects share at
https://bugs.freepascal.org/

Regards,
Sven
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Dennis via Lazarus



Marcos Douglas B. Santos via Lazarus wrote:

I would like to propose a discussion about "What is the relevance of
Object Pascal nowadays".
I don't want waste your time. I just want to know if we are growing
and being more relevant or not.


I use FPC/Lazarus to write a program trading software to trade 
futures/options. I chose it because I need it to run on windows and 
(maybe in future) Linux and Mac OS.
Could not use Java,C# because garbage collection and JIT compiler might 
cause the program to freeze in the middle of critical trading, which is 
utterly unacceptable for trading.


FPC is also clean and easy to maintain and can actually do anything. I 
might lack some new syntax to speed up parallel programming or 
functional programming but those could still be achieved with a bit work.
I don't want to invest in a new language just for a few new features but 
risk making some programming errors since I don't fully understand the 
language.
Also, new languages come and gone so fast. I remember Flash's language 
was hot some years ago but now discarded.


Also FPC's compile time is short compared to many other languages.

Dennis
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Carlos E. R. via Lazarus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Monday, 2017-10-30 at 00:59 +0200, Juha Manninen via Lazarus wrote:

On Mon, Oct 30, 2017 at 12:48 AM, Carlos E. R. via Lazarus <> wrote:

About a year ago or more.
...
/usr/share/fpcsrc/packages/fv/examples/testapp.lpi


Ok, this was about FPC examples. I assumed Lazarus examples because
this is Lazarus list.
A year ago there may have been more broken Lazarus examples, too, but
most of them are now checked.

It would make sense to report the FPC example issue.


I don't really differentiate between the IDE and the compiler, sorry. I 
mean, I know they are different projects, but still... both have to work 
together. I don't remember what examples I have tried, I just went for the 
first one I could find with "open project". An .lpi file is a Lazarus 
project file, right?


And where does one report fpc issues such as that one, is it another mail 
list?


- -- 
Cheers,

   Carlos E. R.
   (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAln2YKAACgkQtTMYHG2NR9Wr9wCcD0yAceZJxpFEQkpU6ddjIf3O
0YQAn3l6jnoVFCc0kvEuo563RNcbBj3U
=jiX2
-END PGP SIGNATURE-
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Juha Manninen via Lazarus
On Mon, Oct 30, 2017 at 12:48 AM, Carlos E. R. via Lazarus
 wrote:
> About a year ago or more.
> ...
> /usr/share/fpcsrc/packages/fv/examples/testapp.lpi

Ok, this was about FPC examples. I assumed Lazarus examples because
this is Lazarus list.
A year ago there may have been more broken Lazarus examples, too, but
most of them are now checked.

It would make sense to report the FPC example issue.

Juha
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Carlos E. R. via Lazarus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Sunday, 2017-10-29 at 17:20 +0200, Juha Manninen via Lazarus wrote:

On Sun, Oct 29, 2017 at 5:04 PM, Carlos E. R. via Lazarus <> wrote:

Well, I use Linux :-)


I also use Linux and I have tested them, too.


Of course not all examples fail, and maybe some were corrected since I
tried.


When did you try?


About a year ago or more.




Well, I can try, but I have no idea where/how to report bugs.


You could for example list the broken examples here. That's what I
asked earlier.


Sorry, I didn't see it. In this thread? I don't read all threads.


I doubt you will do it. Clearly this is yet another rant without substance.
First Samuel Herzog pulls a complaint from his hat. Then you repeat it
without testing.


If you are really interested in me testing, I will test.
I know for sure that some samples did not work, but I did not take notes.

Ok, I look now, randomly, at "testapp.lpi". Build fails at:

testapp.pas(38,2) Fatal: Cannot open include file "platform.inc"

sources are old, so I refresh them. [...] I do, but the error remains.

Project is at:

/usr/share/fpcsrc/packages/fv/examples/testapp.lpi

Missing file does exist, at:

/usr/share/doc/packages/fpc/examples/fv/examples/platform.inc
/usr/share/fpcsrc/packages/fv/src/platform.inc


and I copied the tree to my home dir. I have not looked at what may be the 
cause, but doing so may be offtopic for this thread. Maybe the paths are 
broken because the project was copied to HOME. Maybe the project is not 
intended for Linux, I don't know.



- -- 
Cheers,

   Carlos E. R.
   (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAln2WrUACgkQtTMYHG2NR9Uo/ACcCTH8dymLRcMEX/W1wz/1k2q1
/Z8Anjp8Vwg8VWE7XcMfTJTBQJiyRXPz
=ErUS
-END PGP SIGNATURE-
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Graeme Geldenhuys via Lazarus

On 2017-10-29 16:24, Giuliano Colla via Lazarus wrote:

But we've found that a good young programmer (usually trained in C)
usually appreciates the beauty of Pascal language, becomes fond of it,
and very quickly productive.


The problem with that is they don't have the years of experience in 
problem solving skills, design etc. Yes they might pump out code pretty 
fast, but how good is that code in the long run.


Granted, everybody should be given a chance at some point so they can 
learn and improve.


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Marcos Douglas B. Santos via Lazarus
On Sun, Oct 29, 2017 at 2:24 PM, Giuliano Colla
 wrote:
> Il 28/10/2017 16:45, Marcos Douglas B. Santos via Lazarus ha scritto:
>
>> Do you have problems to find new Pascal programmers?
>
> Experienced Pascal programmers are hard to find here in Italy.
> But we've found that a good young programmer (usually trained in C) usually
> appreciates the beauty of Pascal language, becomes fond of it, and very
> quickly productive.
> As in any case a new programmer must be trained to get acquainted with
> company software practices, the extra time required to grasp the
> fundamentals of Pascal is almost negligible.

In fact, this is a good strategy. But makes me thinking if is
difficult to find C programmers as well.
The C language is old as Pascal. Why people continues learning C but not Pascal?

If Linux had been coded in Pascal, we might have a different history.  :)

Regards,
Marcos Douglas
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Giuliano Colla via Lazarus

Il 28/10/2017 16:45, Marcos Douglas B. Santos via Lazarus ha scritto:


Do you have problems to find new Pascal programmers?

Experienced Pascal programmers are hard to find here in Italy.
But we've found that a good young programmer (usually trained in C) 
usually appreciates the beauty of Pascal language, becomes fond of it, 
and very quickly productive.
As in any case a new programmer must be trained to get acquainted with 
company software practices, the extra time required to grasp the 
fundamentals of Pascal is almost negligible.


Giuliano

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Mattias Gaertner via Lazarus
On Sun, 29 Oct 2017 16:04:23 +0100 (CET)
"Carlos E. R. via Lazarus"  wrote:

>[...]
> Well, I can try, but I have no idea where/how to report bugs.

http://wiki.lazarus.freepascal.org/How_do_I_create_a_bug_report

Mattias
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Juha Manninen via Lazarus
On Sun, Oct 29, 2017 at 5:04 PM, Carlos E. R. via Lazarus
 wrote:
> Well, I use Linux :-)

I also use Linux and I have tested them, too.

> Of course not all examples fail, and maybe some were corrected since I
> tried.

When did you try?

> Well, I can try, but I have no idea where/how to report bugs.

You could for example list the broken examples here. That's what I
asked earlier.
I doubt you will do it. Clearly this is yet another rant without substance.
First Samuel Herzog pulls a complaint from his hat. Then you repeat it
without testing.

Juha
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread R0b0t1 via Lazarus
Hello friends,

On Sunday, October 29, 2017, Schindler Karl-Michael via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Hi
>
> My use is probably just another nice niche:
>
> Creating a nice GUI wrapper in Lazarus/Object Pascal for heavy numerical
simulation routines written in Fortran.
>

I have seen thisna few places. Lazarus still has the best form designer I
have used.

Cheers,
R0b0t1.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread R0b0t1 via Lazarus
Hello friends,

On Sunday, October 29, 2017, Samuel Herzog via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Hello,
> I earning my money as delphi developer (now 20years).
> In the freetime I support Lazarus/FPC.
> The system I wrote (in the company) is in-house software used
> by about 150 users per day. (it's built with D7)
> D7 was fast/stable. We bought several new versions of Delphi in the past
13years but
> none of the new versions was as handy as D7.
> But now I am working with Delphi XE 10.2 Tokyo and I must say it's very
ok! I can recommend it.
> I would say they are back again :-) ( Hopefully they will remove the
dependency to .NET-stuff )
>
> Now let's talk a little about Lazarus...
> It's incredible which progress this project has made!
> The recent improvements in the IDE and Installer area (fpcupdeluxe and
online package manager) make
> things really better for new users.
> To attract more/new users to Object-Pascal "universe" the following
things would help:  (applies for both Delphi and Lazarus)
>
> A) a way to give a whole project from one developer to another developer.
(no fiddeling around with missing
packages/components/paths/environment-path).
> e.g. a Menu-Option "Export-Project" which creates a bundle with all
necessary files)

This is something else I forgot to touch on in my dimwittedness.

My experience with a multi-user project (Simba) that targeted Windows/Linux
was very poor. It was hard to keep the project in a state that made it
buildable on both OSes or even multiple. Eventually these issues were
overcome, but there still seems to be a lot of hidden complexity that makes
it hard to create reproducible builds and help new developers set up an
evironment.

Cheers,
R0b0t1.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Carlos E. R. via Lazarus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Sunday, 2017-10-29 at 15:42 +0100, Werner Pamler via Lazarus wrote:

Am 29.10.2017 um 14:01 schrieb Carlos E. R. via Lazarus:


 B) Examples that work out of the box. ( when I choose examples in Lazarus,
 half of them do not work).

 This is sadly true.


Certainly not. I spent the previous hours checking all demos in the examples 
folder under Windows 10, and the vast majority of them is working. The only 
one I could not get around with is the fpdocmanager example with uses two 
units that I have never seen. A few issues with other examples were fixed.


Well, I use Linux :-)

Of course not all examples fail, and maybe some were corrected since I 
tried.


Instead of complaining that examples are not working you should write a 
bugreport, and it will be fixed. It is a damn boring job looking through 
almost 100 demos...


Well, I can try, but I have no idea where/how to report bugs.

- -- 
Cheers,

   Carlos E. R.
   (from openSUSE Linux 42.2 x86_64 "Malachite" at Telcontar)

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAln17fcACgkQtTMYHG2NR9XG7gCfcossWFnQD+h33Qur7Nlx+pWu
4VgAn0v5ujiTeFxI6SOuMllXrMPNXF5c
=uKB5
-END PGP SIGNATURE-
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Werner Pamler via Lazarus

Am 29.10.2017 um 14:01 schrieb Carlos E. R. via Lazarus:

B) Examples that work out of the box. ( when I choose examples in 
Lazarus, half of them do not work).


This is sadly true.


Certainly not. I spent the previous hours checking all demos in the 
examples folder under Windows 10, and the vast majority of them is 
working. The only one I could not get around with is the fpdocmanager 
example with uses two units that I have never seen. A few issues with 
other examples were fixed.


Instead of complaining that examples are not working you should write a 
bugreport, and it will be fixed. It is a damn boring job looking through 
almost 100 demos...

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Carlos E. R. via Lazarus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Sunday, 2017-10-29 at 10:23 -, Samuel Herzog via Lazarus wrote:


To attract more/new users to Object-Pascal "universe" the following things 
would help:  (applies for both Delphi and Lazarus)

A) a way to give a whole project from one developer to another developer. (no 
fiddeling around with missing
packages/components/paths/environment-path).
    e.g. a Menu-Option "Export-Project" which creates a bundle with all 
necessary files)


Interesting.


B) Examples that work out of the box. ( when I choose examples in Lazarus, half 
of them do not work).


This is sadly true.

I have come back to Pascal (I previously used Borland Pascal a lot, but 
not Delphi), I love Lazarus, and I needed to see current day examples of 
things, but some of them fail to build or crash instantly. I don't have a 
list.


I also find very confusing that libraries for similar purposes exist and 
it is not easy to choose one. I could not see documentation on what a 
library to use and which not to use.



C) Beginner Videos.


I don't like videos very much, dunno. I prefer docs with photos. After 
all, code is text...


- -- 
Cheers,

   Carlos E. R.
   (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAln10SQACgkQtTMYHG2NR9VbWgCbBDZQNdbxpsyPPvGCrjvMZcc2
trYAn0INjnu3NNqseZUfZcZuNsOXk3Fa
=Jg1T
-END PGP SIGNATURE--- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Schindler Karl-Michael via Lazarus
Hi

My use is probably just another nice niche:

Creating a nice GUI wrapper in Lazarus/Object Pascal for heavy numerical 
simulation routines written in Fortran.

Michael.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Juha Manninen via Lazarus
On Sun, Oct 29, 2017 at 12:23 PM, Samuel Herzog via Lazarus
 wrote:
> B) Examples that work out of the box. ( when I choose examples in Lazarus,
> half of them do not work).

We would need a list of those.
I remember I went through the examples some time ago and they compiled
and also worked somehow.
I tested only on Linux (GTK2 and QT), don't know about other widgetsets.

Juha
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Samuel Herzog via Lazarus
Hello,
I earning my money as delphi developer (now 20years).In the freetime I support 
Lazarus/FPC.
The system I wrote (in the company) is in-house software usedby about 150 users 
per day. (it's built with D7)
D7 was fast/stable. We bought several new versions of Delphi in the past 
13years butnone of the new versions was as handy as D7.But now I am working 
with Delphi XE 10.2 Tokyo and I must say it's very ok! I can recommend it.I 
would say they are back again :-) ( Hopefully they will remove the dependency 
to .NET-stuff )

Now let's talk a little about Lazarus...It's incredible which progress this 
project has made!The recent improvements in the IDE and Installer area 
(fpcupdeluxe and online package manager) makethings really better for new users.
To attract more/new users to Object-Pascal "universe" the following things 
would help:  (applies for both Delphi and Lazarus)

A) a way to give a whole project from one developer to another developer. (no 
fiddeling around with missing packages/components/paths/environment-path).    
e.g. a Menu-Option "Export-Project" which creates a bundle with all necessary 
files)B) Examples that work out of the box. ( when I choose examples in 
Lazarus, half of them do not work).C) Beginner Videos.


Sam

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus