Recent

Author Topic: [SOLVED] For information: a WAMP written in Free Pascal.  (Read 8755 times)

devEric69

  • Hero Member
  • *****
  • Posts: 655
[SOLVED] For information: a WAMP written in Free Pascal.
« on: December 29, 2014, 03:06:56 pm »
Hello,

I just post to indicate that in the list of Lazarus Application Gallery, the webmaster (I've just the "user" rights) might add "The Uniform Server": a WAMP for mySql or MariaDB, with phpMyAdmin, ..., that works perfectly.

Regards.
« Last Edit: April 11, 2019, 11:25:34 am by devEric69 »
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: For information: a WAMP written in Free Pascal.
« Reply #1 on: December 29, 2014, 03:14:11 pm »
Hello,

I just post to indicate that in the list of Lazarus Application Gallery, the webmaster (I've just the "user" rights) might add "The Uniform Server": a WAMP for mySql or MariaDB, with phpMyAdmin, ..., that works perfectly.

Regards.
It's a wiki, anyone registered may add content there. Just register and edit the page yourself.

devEric69

  • Hero Member
  • *****
  • Posts: 655
Re: For information: a WAMP written in Free Pascal.
« Reply #2 on: January 05, 2015, 05:04:24 pm »
>It's a wiki, anyone registered may add content there.
>Just register and edit the page yourself.

I'm probably stupid, but I can't create an account on the wiki, due this following captcha:

Program SpammersAreParasites;
var
   l1, l2: srting;
begin
   l1: = '99';
   l2: = '9';
   Sou: = l1 + l2;
   Sou: = (SOU)
(*
   l1: = 41;
   l2: = 5
  Sou: = (l1 + l2);
*)
end.

All my answers 999, '999,' 108, '108', EInvalidOperation or EConvertError :-) ...; the type *srting* does not exist; ...are wrong. Any idea?


To summarize what I would to write:
"The Uniform Server is a lightweight server solution for running a web server under the WindowsOS.".

Regards.

use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: For information: a WAMP written in Free Pascal.
« Reply #3 on: January 05, 2015, 05:07:54 pm »
>It's a wiki, anyone registered may add content there.
>Just register and edit the page yourself.

I'm probably stupid, but I can't create an account on the wiki, due this following captcha:

Program SpammersAreParasites;
var
   l1, l2: srting;
begin
   l1: = '99';
   l2: = '9';
   Sou: = l1 + l2;
   Sou: = (SOU)
(*
   l1: = 41;
   l2: = 5
  Sou: = (l1 + l2);
*)
end.

All my answers 999, '999,' 108, '108', EInvalidOperation or EConvertError :-) ...; the type *srting* does not exist; ...are wrong. Any idea?
Dafuq? I never get that crazy captcha, my last one is simple arithmetic. Probably the difficulty level has been increased :P
The captcha is randomized, give another try to register.

devEric69

  • Hero Member
  • *****
  • Posts: 655
Re: For information: a WAMP written in Free Pascal.
« Reply #4 on: January 07, 2015, 01:08:22 pm »
>Dafuq? I never get that crazy captcha, my last one is simple
>arithmetic. Probably the difficulty level has been increased :P
>The captcha is randomized, give another try to register.

Thanks for your reply, but:
even with simple arithmetic, it doesn't work. It's the code which is "dafucked": the real response must be something like "syntax error: zaï, zaï, zaï" or something else. If I deeply analyse the code above (all Captchas are similar): type "Srting" doesn't exist, "(FAK)" transtype towards a "null type", and the arithmetic part of the code is commented "(*.../...*)" :(.
Anyway, I can't create an account in the Wiki: does anyone know what is the right answer to the above code?

Regards
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: For information: a WAMP written in Free Pascal.
« Reply #5 on: January 07, 2015, 02:04:33 pm »
what does WAMP mean in this context? The only WAMP I know is the installation program tha installs  Apache, Mysql, PHP on Windows.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: For information: a WAMP written in Free Pascal.
« Reply #6 on: January 07, 2015, 03:44:02 pm »
what does WAMP mean in this context? The only WAMP I know is the installation program tha installs  Apache, Mysql, PHP on Windows.
Yes, that one. This WAMP server is a one source file program that adds easy UI to do tedious work configuring those things you mentioned.

minesadorada

  • Sr. Member
  • ****
  • Posts: 453
  • Retired
Re: For information: a WAMP written in Free Pascal.
« Reply #7 on: January 07, 2015, 04:40:56 pm »
So the WIKI CAPCHA fails in French?  It works in English.

It seems the hot topic in Lazarus/FPC is in internationalism/UTF8/WideStrings

As far as I can see, deploying a Lazarus app for worldwide use is fraught with difficulties ATM.

GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

jma_sp

  • Full Member
  • ***
  • Posts: 154
  • El conocimiento si ocupa lugar.
Re: For information: a WAMP written in Free Pascal.
« Reply #8 on: January 07, 2015, 05:47:13 pm »
Have you tried to leave the result in blank?    the type definition string is wrong typed.... the result = error  ;D
Devuan Beowulf 3.0( JWM/ROX/iDesk) - Puppy Linux,  Haiku OS,.ReactOS 0.4.xx  - FreeDos .

devEric69

  • Hero Member
  • *****
  • Posts: 655
Re: For information: a WAMP written in Free Pascal.
« Reply #9 on: January 07, 2015, 06:15:56 pm »
>Have you tried to leave the result in blank?   
>the type definition string is wrong typed.... the result = error

As you suggest, I've tested with blank and 'error': each time, a new Captcha arises.
If the input must be a number, i18n is useless.
Basically, I think that the Captcha asks a result generated by a Pascal code that cannot compile (is it intentional, is it a trap to avoid, ...?). The result seems to ask to concatenate two strings and then not really to typecast this result.

Regards
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1269
Re: For information: a WAMP written in Free Pascal.
« Reply #10 on: January 08, 2015, 04:46:46 am »
Concatenation of the strings is all I've had to do when presented with similar to the above (on our wiki you have to answer a similar captcha whenever the wiki article you're editing links to an external site).

The captcha is not intended for a computer to be able to parse it, only a real human (hence the typo's  (sorry @typo - no disrepect intended :-) ))

For the captcha you've presented 999, which I see was your first attempt, should have worked :-(  No idea, other than agreeing with @minesadorada.  Possibly it's the french version that failing...
« Last Edit: January 08, 2015, 04:49:47 am by Mike.Cornflake »
Lazarus Trunk/FPC latest fixes on Windows 11
  I'm getting old and stale.  Slowly getting used to git, I'll get there...

devEric69

  • Hero Member
  • *****
  • Posts: 655
Re: For information: a WAMP written in Free Pascal.
« Reply #11 on: April 11, 2019, 11:24:41 am »
Okay, the Captcha works:
To the question '111' +'222', I've answered 333 (without simple quote, ie '111222' or '333' are bad responses).
Then to the second question '121' +'121', I've answered 242 (also without putting quotes).
==> I was able to register on the Wiki :) .
« Last Edit: April 11, 2019, 11:26:14 am by devEric69 »
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1269
Re: [SOLVED] For information: a WAMP written in Free Pascal.
« Reply #12 on: April 12, 2019, 01:17:35 am »
lol   Many thanks for keeping us updated, and well done for persisting for 5 years :-)
Lazarus Trunk/FPC latest fixes on Windows 11
  I'm getting old and stale.  Slowly getting used to git, I'll get there...

 

TinyPortal © 2005-2018