[fpc-pascal] Network compression

2017-05-23 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, I need to transfer data which are relative big ( 1,2 GB )using low memory ( 512MB, 1GB RAM ) machines. I was thinking something like load partial the file I ie.e a 64K memory block ) compress it send that compressed block via network and at the other end receive that block

Re: [fpc-pascal] Network compression

2017-05-23 Thread Graeme Geldenhuys
On 2017-05-23 09:52, Dimitrios Chr. Ioannidis via fpc-pascal wrote: I've searched but I didn't find any example on how to compress / decompress in blocks . Take a look at how it is done in tiOPF. The unit is pretty stand-alone, so you don’t need to use the rest of tiOPF to make use of this

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread Graeme Geldenhuys
On 2017-05-22 23:11, nore...@z505.com wrote: What happens if you use the SVN bridge that allows you to run svn commands to a git server? does git suffer the same problems in this mode too? Replied in "fpc-other" mailing list. Regards, Graeme ___

Re: [fpc-pascal] Network compression

2017-05-23 Thread Adriaan van Os
Dimitrios Chr. Ioannidis via fpc-pascal wrote: Hi, I need to transfer data which are relative big ( 1,2 GB )using low memory ( 512MB, 1GB RAM ) machines. The fastest compressor to do the job is LZ4 . Regards, Adriaan van Os

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread Marcos Douglas B. Santos
On Tue, May 23, 2017 at 6:23 AM, leledumbo via fpc-pascal wrote: >> Is there a way to call an Exe (previously installed, no problem with that) > to interact with an Exe, working in IE and Chrome? > > Not from client side AFAIK. You'll need to create a local server

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread Felipe Monteiro de Carvalho
That's why Model-View-Controller is such a great design pattern. If you use MVC you can simply create a new View component and keep the Model and Controller without changes. You can use fcl-web to write the web server: http://wiki.lazarus.freepascal.org/fcl-web You will need to rewrite the GUI

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread Felipe Monteiro de Carvalho
On Tue, May 23, 2017 at 2:39 PM, Marcos Douglas B. Santos wrote: > I can't. For security reasons I need to have an app installed on client. > Did you see my email before, about digital signature? That is one of > these features... In this case I have no idea how it is done. But

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread Marcos Douglas B. Santos
On Tue, May 23, 2017 at 8:04 AM, Felipe Monteiro de Carvalho wrote: > That's why Model-View-Controller is such a great design pattern. If > you use MVC you can simply create a new View component and keep the > Model and Controller without changes. > > You can

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread Marcos Douglas B. Santos
On Tue, May 23, 2017 at 10:34 AM, Felipe Monteiro de Carvalho wrote: > On Tue, May 23, 2017 at 2:39 PM, Marcos Douglas B. Santos > wrote: >> I can't. For security reasons I need to have an app installed on client. >> Did you see my email

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread Nikolay Nikolov
On 05/23/2017 06:09 PM, James Richters wrote: I think I figured out my problem, but I'm not sure how to fix it. I was looking at the code here: https://sourceforge.net/p/ptcpas/code/714/ And I see that the change made was to win32kbd.inc, but I don't think I'm using the updated version of

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread James Richters
I think I figured out my problem, but I'm not sure how to fix it. I was looking at the code here: https://sourceforge.net/p/ptcpas/code/714/ And I see that the change made was to win32kbd.inc, but I don't think I'm using the updated version of it. I think my problem is that I just compiled

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread wkitty42
On 05/22/2017 07:13 PM, James Richters wrote: The problem is not the ALT-tab from the graphics window, it's ALT being pressed when the window focus changes. CTRL is also affected, but not shift. this is really sounding like a problem i remember from early GUIs several decades ago... when

Re: [fpc-pascal] [FPC-Pascal] FPC Graphics options?

2017-05-23 Thread Ewald
On 23/05/17 19:50, James Richters wrote: > *correction to directory names: > Now I got an error that it could not find graphh.inc So I copied all the .inc > files from J:\Programming\FPC 3.0.2\units\i386-win32\ptcpas\ptcgraph\inc to > J:\Programming\FPC 3.0.2\units\i386-win32\ptcpas\ptcgraph

Re: [fpc-pascal] [FPC-Pascal] FPC Graphics options?

2017-05-23 Thread James Richters
>all i get is a dark blue screen there... no text or anything that i can see to >download or copy... That's strange.. it worked yesterday but not today, I tried to create it again with hastebin but it's not working. here is a new link using pastebin instead https://pastebin.com/3ARG0zQU

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread James Richters
I have done the "download snapshot" but I just don't know what to do with it now to properly integrate it into my compiler. Here is what I have tried to do. First I moved everything from J:\Programming\FPC 3.0.2\units\i386-win32\graph to a temporary location so it wouldn't find the old

Re: [fpc-pascal] [FPC-Pascal] FPC Graphics options?

2017-05-23 Thread wkitty42
On 05/22/2017 05:38 PM, James Richters wrote: I cannot reproduce it on my machine after the r714 fix. Can you send me a small example program, that demonstrates the problem, as well as detailed steps to reproduce? > Here is a simple sample program that has the issue for me on both my windows 10

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread Nikolay Nikolov
On 05/23/2017 08:28 PM, James Richters wrote: I have done the "download snapshot" but I just don't know what to do with it now to properly integrate it into my compiler. Follow the instructions in docs/INSTALL.txt to compile the package. Then add units\i386-win32 from the snapshot directory

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread James Richters
>Follow the instructions in docs/INSTALL.txt to compile the package. Then add >units\i386-win32 from the snapshot directory to the unit search path of your >compiler. When I try to follow the instructions, I get: fpcmake -r Processing Makefile.fpc Error: Target "win32", package "rtl" not found

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread noreply
On 2017-05-22 21:53, Marcos Douglas B. Santos wrote: Hi, If you have some apps or components which was written in Object Pascal and you would like to use them in Web applications (client-side, previously installed) what is the best option to choose nowadays? My users use Windows so, I thought

Re: [fpc-pascal] [FPC-Pascal] FPC Graphics options?

2017-05-23 Thread James Richters
*correction to directory names: Now I got an error that it could not find graphh.inc So I copied all the .inc files from J:\Programming\FPC 3.0.2\units\i386-win32\ptcpas\ptcgraph\inc to J:\Programming\FPC 3.0.2\units\i386-win32\ptcpas\ptcgraph because I have no idea how else to make it find

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread Florian Klämpfl
Am 23.05.2017 um 05:15 schrieb Ryan Joseph: > and compiling with -O2 -Cfsse3 (the non-SDL If you do benchmarking, at least -O3 should be used, -O4 is also fine most of the time. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread Nikolay Nikolov
On 05/23/2017 11:05 PM, James Richters wrote: Follow the instructions in docs/INSTALL.txt to compile the package. Then add units\i386-win32 from the snapshot directory to the unit search path of your compiler. When I try to follow the instructions, I get: fpcmake -r Processing Makefile.fpc

Re: [fpc-pascal] FPC Graphics options?

2017-05-23 Thread James Richters
>Just like you now use -FuSomePath to tell the compiler where to find units, >you can use -FiSomePath to tell the compiler where to look for include files. I've been trying to compile with Free Pascal Text IDE, I have no experience with compiling programs from the command line, but this gave

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread noreply
On 2017-05-23 20:52, Marcos Douglas B. Santos wrote: On Tue, May 23, 2017 at 9:29 PM, wrote: Exe is a security hazard that could barf up a person's hard drive instantly or create viruses.. I understand these security reasons and I agree, of course... But this Exe that I

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread Marcos Douglas B. Santos
On Tue, May 23, 2017 at 9:29 PM, wrote: > Exe is a security hazard that could barf up a person's hard drive instantly > or create viruses.. I understand these security reasons and I agree, of course... But this Exe that I am talking about should be installed for all machines

[fpc-pascal] OpenGL and SDL frustrations

2017-05-23 Thread Ryan Joseph
I’ve wasted so much time on this I just need to stop and ask for help already. Over the last few years I’ve been picking away at OpenGL and only ever got the legacy 2.x API to work which has been fine for making 2D games but I wanted to at least learn the modern API and shaders. Here’s a

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread leledumbo via fpc-pascal
> Is there a way to call an Exe (previously installed, no problem with that) to interact with an Exe, working in IE and Chrome? Not from client side AFAIK. You'll need to create a local server side app, let that one executes the exe and response back to the client (if needed). -- View this