Mattias Gaertner pisze:
I need a default value of the number of maximum threads.
Is there already some RTL function that can be used for that?
For example if the program runs on a 2 x quad core it would be nice to
get 8.
Hyperthreading multipliers should be applied.
I've found something on
I've heard all this before since 10 years, and it is only true for small
applets used by a broad public.
For large applications (1500+ windows) that stay open virtually all day
and are used by a specialized public, the benefits of web-based are zero,
and are even contraproductive.
I've made t
Prince Riley pisze:
Since the discussion in this thread has advanced pretty far along
toward recommending a FP and Powtils solution to you, then it appears
you have a technical answer from the group you can explore.
However, without suggesting there is a bias in favor of a specific
client-cen
Michael Van Canneyt pisze:
On Wed, 4 Mar 2009, Dariusz Mazur wrote:
I've heard all this before since 10 years, and it is only true for small
applets used by a broad public.
For large applications (1500+ windows) that stay open virtually all day
and are used by a specialized public
Why does one need to translate from Pascal to Java ?
Not from pascal to Java, but to Javascript: The browsers only understand
javascript. Translating pascal to Javascript means you can write browser-side
code in pascal, and then send it to the browser.
May I ask when do You need writ
Michael Van Canneyt pisze:
On Sun, 29 Mar 2009, Dariusz Mazur wrote:
Why does one need to translate from Pascal to Java ?
Not from pascal to Java, but to Javascript: The browsers only understand
javascript. Translating pascal to Javascript means you can write
browser-side
Michael Van Canneyt pisze:
On Mon, 30 Mar 2009, Dariusz Mazur wrote:
I want to write my client-side GUI code in pascal. I have no wish to learn
Javascript. All extensive computation (mostly queries and database stuff)
happens on the server, but the GUI must be programmed in Javascript
Bee pisze:
May I ask when do You need write ordinal code parallel on browser and server
side? What kind of computation? For me 99% of code should be on server. As
You write we have very fast (because compiled) application on server.
Fast is relative. You may have a very good and fast algor
Michael Van Canneyt pisze:
On Mon, 30 Mar 2009, Dariusz Mazur wrote:
Michael Van Canneyt pisze:
On Mon, 30 Mar 2009, Dariusz Mazur wrote:
I want to write my client-side GUI code in pascal. I have no wish to
learn
Javascript. All extensive computation (mostly queries and
Marco van de Voort pisze:
In our previous episode, Michael Van Canneyt said:
But maybe I dont understand your need.
You think about counterpart of LCL level, or computation wide consist in event
(form.onclick, form.onedit) function in Delphi ?
All events and almost any class I need sh
Michael Van Canneyt pisze:
I just want to make them in pascal and keep the codebase and know-how I have
in my team.
As I. I want (i;ve done succesfully) reuse 90% of desktop code in webbased.
But you want to rewrite quite huge part to JS. Why? What for.
Because some of the (ra
Adrian Veith pisze:
Dariusz Mazur schrieb:
Marco van de Voort pisze:
In our previous episode, Michael Van Canneyt said:
But maybe I dont understand your need.
You think about counterpart of LCL level, or computation wide
consist in event
(form.onclick, form.onedit) function
Andrew Brunner pisze:
I've been reading this thread for a while and wanted to ask something...
What if someone had a cluster based cloud computing server written
entirely from the ground up in Delphi? Including hot-swappable core
object for backend AJAX calls and all the major Web2.0 protocol
i
Michael Van Canneyt pisze:
On Mon, 30 Mar 2009, Dariusz Mazur wrote:
Michael Van Canneyt pisze:
I just want to make them in pascal and keep the codebase and know-how I
have
in my team.
As I. I want (i;ve done succesfully) reuse 90% of desktop code in
webbased
David Emerson pisze:
I am getting started with threads (linux/cthreads) and I'm very happy so
far, but unsure of the best way to tackle my situation.
I have a program that needs to perform about 10,000 independent tasks,
which usually involve waiting for I/O; thus it makes sense to use
severa
Jonas Maebe pisze:
On 18 Sep 2009, at 16:24, Dariusz Mazur wrote:
I use own lockfree FIFO http://www.emadar.com/fpc/lockfree.htm to
distribute task between threads
its much faster and well scaling on multicore.
Note that it won't work as is on non-x86 machines, because it's
miss
Jonas Maebe pisze:
On 18 Sep 2009, at 21:30, Dariusz Mazur wrote:
On 18 Sep 2009, at 16:24, Dariusz Mazur wrote:
I use own lockfree FIFO http://www.emadar.com/fpc/lockfree.htm to
distribute task between threads
its much faster and well scaling on multicore.
Note that it won't work
Helmut Hartl pisze:
-Original message-
From: Dariusz Mazur
Sent: Fri 18-09-2009 16:24
To: FPC-Pascal users discussions ;
Subject: Re: [fpc-pascal] getting started with threads
David Emerson pisze:
I am getting started with threads (linux/cthreads) and I'm very happy so
Paul Ishenin pisze:
darekm wrote:
I've play with forin construction. To my work I need more than one
per collection.
In attach is one of example program.
Can someone review it. is this proper construction.
operator enumerator (AEnumerator: TEnumerator): TEnumerator;
begin
Result := AEnumerato
Paul Ishenin pisze:
Dariusz Mazur wrote:
Where?
Its work now with current compilator. Are You plan to disable this?
I made a typo: read 'I see *no* problems with this'.
for i in List using GetEnumerator(DoUpArgument)
current "for i in List" will be just short form of &
Paul Ishenin pisze:
Of course. for-in loop expect to have a collection not an enumerator.
What enumerator should for-in loop to choose in the next case:
[example]
TMyListEnumerator = class
public
function GetEnumerator: TMyListEnumeratorEnumerator;
function MoveNext: Boolean;
property Curren
Hartmut Eilers pisze:
Hallo List,
thanks for your first and fast response. According to the suggestions
from Marco and Jonas I try it this way:
ubu...@kubuntu904:~/OpenLabTools/DeviceServer$
/usr/local/bin/ppcrossarm -CfFPA -dUSB92 -CaARMEB -CpARMV5 -darm
-dFPC_ARMEL -gl -Fu../webserver -Fu..
Hartmut Eilers pisze:
Hallo List,
thanks for your first and fast response. According to the suggestions
from Marco and Jonas I try it this way:
ubu...@kubuntu904:~/OpenLabTools/DeviceServer$
/usr/local/bin/ppcrossarm -CfFPA -dUSB92 -CaARMEB -CpARMV5 -darm
-dFPC_ARMEL -gl -Fu../webserver -Fu..
Jonas Maebe pisze:
On 08 Dec 2009, at 15:06, Dariusz Mazur wrote:
Hartmut Eilers pisze:
DeviceServer.pas(609,2) Error: Error while linking
DeviceServer.pas(609,2) Fatal: There were 1 errors compiling module,
stopping
Fatal: Compilation aborted
ubu...@kubuntu904:~/OpenLabTools
Jonas Maebe pisze:
On 08 Dec 2009, at 23:25, Dariusz Mazur wrote:
By the way:
when XR path is set then XP should be default, but its not
-XP is set by /etc/fpc.cfg if the source cpu is different from the target CPU,
and if the source and target OS are not both Darwin (because on Mac
W dniu 2011-04-12 11:56, herux pisze:
I managed to compile and run the library for android on emulator,
which I compile the project just a libhellojni.so compile using
paramater like this ppcarm -Scghi -O1 -Parm -gl -b -B -XX -Xc -XD
-CpARMv6 -CfSOFT -dandroid -vewnhi -l -XParm-linux-
-Fi/hom
Is there an embedded web-server that would run on the ARM machine?
I use this one from Synapse (work on openWRT and Android)
--
Darek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-p
Marco Alvarado pisze:
I'm reading about lock-free algorithms:
http://en.wikipedia.org/wiki/Lock-free_algorithms#Implementation
Is there a way to access those atomic primitives, but in a multiplatform manner?
CAS=interlockedCompareExchange
as in Microsoft API
rest in unit classes
Darek
Hi
I upgrade Lazarus and FPT to current snapshot an I have problem
I can compile this procedure
procedure tForm1.MouseCLick(sender:tObject);
begin
end;
procedure tForm1.onnn(var onc : tNotifyEvent);
begin
onclick:={$IFDEF [EMAIL PROTECTED];
end;
compiler claim:
Error: incompatible types: got "Poin
Jonas Maebe wrote:
But when it was changed (if any)
I port all my source to FPC (it compile in both Delphi and FPC)
in many places I use {$IFDEF [EMAIL PROTECTED]
and now all must be deleted or I don't know something
Darek
On Dec 18, 2004, at 21:01, Dariusz Mazur wrote:
procedure tForm1.onn
I have problem with two dimension array of string
my program:
procedure testlinie;
var
linie : array[0..1,0..100] of shortstring;
i,ii : integer;
begin
fillchar(linie,sizeof(linie),0);
for i := 0 to 1 do begin
for ii:= 1 to 10 do begin
linie[i,ii]:= linie[i,ii]+char(64+ii);
Sorry,
I make but when i prepare test program
with FPC all work OK, bug is in WatchList
I send second post to Lazarus list.
Darek
Marco van de Voort wrote:
I have problem with two dimension array of string
my program:
procedure testlinie;
var
linie : array[0..1,0..100] of shortstring;
i,ii :
On 2014-04-14 14:39, silvioprog wrote:
Hello,
Just a question, anyone here has implemented some code for OAuth 2.0?
(FPC or Delphi)
I does one.
If You interested I public it on github.
Darek
I implemented with 1.0 in my new TDropbox class, but now I'm trying to
implement it with 2.0,
On 2014-04-14 23:27, silvioprog wrote:
2014-04-14 17:52 GMT-03:00 Dariusz Mazur <mailto:dar...@emadar.com>>:
[...]
I does one.
If You interested I public it on github.
I'm interested! :)
https://github.com/darekm/openid4fpc
Darek
_
On 2015-10-16 03:50, Mazola Winstrol wrote:
Hello,
Does the fcl-xml package supports xml canonicalization?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I've do one
https
On 2015-10-16 23:40, Mazola Winstrol wrote:
2015-10-16 15:19 GMT-03:00 Dariusz Mazur <mailto:dar...@emadar.com>>:
I've do one
https://github.com/darekm/xades4fpc/blob/master/xmlc14n.pas
--
Darek
Very good news! Thanks a lot for the contribution!
What is th
Hi
is there possible to set codepage {$codepage xxx} to cp_none
for example one source file have {$codepage 1250} but rest i need
default (without any setting)
--
Darek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freep
On 2015-12-17 13:40, Mattias Gaertner wrote:
On Thu, 17 Dec 2015 13:36:17 +0100
Dariusz Mazur wrote:
Hi
is there possible to set codepage {$codepage xxx} to cp_none
Do you mean CP_ACP?
maybe yes, this don't know as well
--
Darek
__
W dniu 2016-06-29 o 18:06, Marcos Douglas pisze:
Hi,
Do you use Digital Certificate? If yes, which library/component?
This is my library, that I use to Sign in Xades standard
https://github.com/darekm/xades4fpc
--
Darek
___
fpc-pascal maillis
39 matches
Mail list logo