* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
Thank you! Works like a charm.
How did you guess it?
2
General / Re: Actual gaming performance of FPC?
« Last post by Thaddy on Today at 02:23:06 pm »
Between 100000 and 20000 that ground to a halt (D6, in 2003) (as in minute + loading times)
The final count down?
 :'(
Note, regarding the subject, I have seen some really nice peephole optimizations by Florian the past few weeks.
At least two of these can have impact on gaming performance.
3
LCL / Qt5 and OpenGL
« Last post by marius.maximus on Today at 02:05:10 pm »
I tested lazarus 1.8.
I see new LCLWidgetType QT5 ,
Good work!

But exists method to create  OpenGL context in application build with LCLWidgetType QT5?


4
Portuguese / Re: Certificação Lazarus
« Last post by hrayon on Today at 02:00:43 pm »
Que eu saiba, não há.
Até onde eu saiba, montar uma estrutura (cursos, avaliações, divulgação, etc.) para sustentar a geração de certificações envolve um investimento(tempo e dinheiro) que imagino que os mantenedores do projeto não estarão dispostos a bancar para arriscar.
O FPC possui uma fundação (https://foundation.freepascal.org/), mas creio que o Lazarus, não.
Imagino não haver uma estrutura jurídica para o Lazarus, o tornaria vulnerável a possíveis processos do seu maior concorrente pago. Processos podem ser aberto com um mínimo de fundamento, e defendê-los não envolverá um mínimo de custos.
Já o FPC, não, é mais independente e menos sujeito a esse tipo de situação.
O caminho mais natural seria de alguma forma os usuários conseguirem aumentar a presença de softwares feitos usando FPC/Lazarus no mercado e as escolas adotarem o seu ensino, e apoiarem a fundação FPC (doações) que poderia retribuir não em certificação, mas em manter o FPC/Lazarus sendo atualizados (que eles já fazem isso de graça!).
A certificação poderia ser independente, da escola. Se a escola for boa, a certificação terá valor. Se não for, não terá.
5
Third party / Re: IntelliJ IDEA + Pascal
« Last post by argb32 on Today at 01:58:50 pm »
Version 1.3 is available with Pascal code style settings support.
6
General / Re: How are images saved in the binary?
« Last post by ChrisF on Today at 01:29:38 pm »
AFAIK, image files are stored unmodified into the .lfm files (if you load an image in a TImage.Picture property at design time in the IDE for instance - so, also stored unmodified into the resource data of your final executable file).

So, the answer to your question is : yes, you have to remove sensible data first, prior to incorporate your image files into your project  data (i.e. into your picture in the Lazarus IDE at design time, for instance; or also "directly", as external resources).

7
General / Re: Actual gaming performance of FPC?
« Last post by marcov on Today at 01:24:30 pm »
The example with the loading of objects originally used sorted TStringlist as index. Between 100000 and 20000 that ground to a halt (D6, in 2003) (as in minute + loading times)

I then created a different container type, which I ported to generics (FPC 3.0/3.1 and D2009+) and simplified streaming and it became single digit seconds.

We actually had quite a laugh when a ISV came for official bill generation and after 4 hours the Java application crashed, and they had to restart and said there was not enough time left, and they would come back the next day.

Of course that was a generic application vs a tuned one, but my boss, ever the politician pointed out to them that his own programmers could do it under a minute (the actual I/O of the report generation being the bottle neck there, this was pre SSD times). We laughed, they didn't :-)

One of the reasons it was so bad was that our dataset was 10-20 times bigger than the next biggest customer they had, which were typical single muncipalities, while we were an adminstration office that little muncipalities  delegated the work to, that however in total amounted to a quarter of the households in the country.

The lesson was that ordered insertions in a one array structure is slow. The conventional solution is a hash, but I needed ordered lists (to compare dumps to another part of the system), so I created something myself
8
General / How are images saved in the binary?
« Last post by dietmar on Today at 01:07:45 pm »
Hi,

I have a question regarding how images are saved in the (with Lazarus generated) binary file.
Assume I have some pics that I want to be placed in forms and they are in e.g. JPG format.
JPG/PNG etc. have EXIF or similar information stored in the image file, which contains sensible data (Location, date/time for example).

Does Lazarus store this in an other format during compilation (e.g. BMP which does not have this extra information)? Or do I have to manually delete all sensible addition information stored in the image before compiling)?

Thanks!
Dietmar

OS: Win10
Lazarus: 1.6.4
9
Code: [Select]
['[']
[']']
10
General / Re: Actual gaming performance of FPC?
« Last post by Eugene Loza on Today at 12:44:18 pm »
I must investigate about those "optimizations provided by Generic lists". :-X
It was very algorithm-specific.
With the first algorithm I was randomly scanning the array.
The next gen used temporary generic list of the tiles that were applicable which appeared many orders more efficient than just randomly trying to add the tiles.
The core is here: https://github.com/eugeneloza/decoherence/blob/master/decodungeongenerator.pas#L478
Pages: [1] 2 3 ... 10

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus