A CGI service gets started for each request and stopped afterwards. It's a slow solution in case of large services / high request trafic.
In contrast an FCGI service gets started only once and then serves all further requests. Full sure, for complex tasks it's the better solution.
Search found 3600 matches
- Nov 22, 2020 10:16
- Forum: Tips and Tricks
- Topic: CGI - How to process HTML forms!
- Replies: 11
- Views: 10540
- Nov 14, 2020 10:01
- Forum: Libraries
- Topic: Solved: GDK Pixbuff
- Replies: 5
- Views: 460
Re: GDK Pixbuff
Sorry, my first post was faulty. The cairo solution is limited to .png files (but provides better quality and more flexibility). As caseih mentioned GdkPixbuf is sufficient to load and scale images (I confused GdkPixbuf with the depercated GdkImage object), like: ' ... VAR height = 32, fnam = "...
- Nov 13, 2020 22:13
- Forum: Libraries
- Topic: Solved: GDK Pixbuff
- Replies: 5
- Views: 460
Re: GDK Pixbuff
What are you asking for? GdkPixbuf is a structure holding Information that describes an image. It's not made for rezising. Assuming you're talking about Gtk3: I'd load the image in a cairo surface, scale (share, rotate) it and afterwards call gtk_image_set_from_surface(GTK_IMAGE(ViewImage...
- Oct 26, 2020 7:42
- Forum: Projects
- Topic: FB_ML_libs project (formally AKA libLINREG)
- Replies: 5
- Views: 646
- Oct 17, 2020 8:26
- Forum: Beginners
- Topic: New to FreeBASIC?
- Replies: 29
- Views: 55649
Re: New to FreeBASIC?
Hi, welcome to the forum! I have seen GladToBac that can convert Glade to freebasic code. Anyone has tried? Just do a forum search (note the 'e' in the program name): https://www.freebasic.net/forum/search.php?keywords=GladeToBac GladeToBac does not convert code. Instead it auto-creates/updates Free...
- Sep 06, 2020 16:26
- Forum: Projects
- Topic: Is there a git host for BASIC w/ Bash etc?
- Replies: 4
- Views: 516
Re: Is there a git host for BASIC w/ Bash etc?
I'm also looking for another platform, and I don't want to spend time to improve a M$ project.pagetelegram wrote:Since M$ owns github now, I want to move to another platform anyways!
- Sep 06, 2020 9:13
- Forum: Projects
- Topic: Is there a git host for BASIC w/ Bash etc?
- Replies: 4
- Views: 516
Re: Is there a git host for BASIC w/ Bash etc?
I've had github for a while and tried gitlab recently. It would be nice to find a git repository site that indexes fbc and BASIC instruction properly. Github has VBA which is closest to BASIC. Is there a git repository site you prefer? Since gitlab doesn't provide access counters, I use github. In ...
- Sep 06, 2020 9:01
- Forum: Community Discussion
- Topic: [offtopic]Some cheap and tiny ARM devices.
- Replies: 64
- Views: 15748
Re: [offtopic]Some cheap and tiny ARM devices.
@caseih I'm not disappointed by ARM SoC devices. But I don't see them as a replacement for desktop computers. Instead I use them for real-time closed-loop-controllers. I'm speaking about the BeagleBone series (White, Black, Green, Blue, Poket). The ARM335x CPU contains two PRUSS (Programmable Realti...
- Aug 03, 2020 19:51
- Forum: General
- Topic: simple stack-based eval
- Replies: 11
- Views: 861
Re: simple stack-based eval
Float parsing is not trivial
? .-5
-5
rpn = . 5 -
- Aug 03, 2020 6:36
- Forum: General
- Topic: simple stack-based eval
- Replies: 11
- Views: 861
Re: simple stack-based eval
? 1e-5
-4
rpn = 1E 5 -
- Aug 02, 2020 15:58
- Forum: General
- Topic: simple stack-based eval
- Replies: 11
- Views: 861
Re: simple stack-based eval
Wanna fix further problems?srvaldez wrote:I added E to the numeric character list and entering a number in exponential format will now works but there's no checking for valid number entry
Regards? (1+2)*3
Aborting due to runtime error 6 (out of bounds array access) at line 204 of eval.bas::FACTOR()
- Aug 02, 2020 8:18
- Forum: General
- Topic: simple stack-based eval
- Replies: 11
- Views: 861
Re: simple stack-based eval
No fun yet :-(srvaldez wrote:not a tip or a trick, just for fun
? 1e5
Syntax Error
- Jul 26, 2020 10:21
- Forum: Hardware Interfaces / Communication
- Topic: TP-Link HS110
- Replies: 159
- Views: 23256
Re: TP-Link HS110
There is no way I could improve on 18 sec's, or come anywhere near it. The uSD alone takes 45 + sec's, but i guess you are not running on a uSD. Booting from uSD. The eMMC boot sector is erased -> no access to eMMC. I find the hardest part is researching what is needed and what is not. Then testing...
- Jul 25, 2020 12:17
- Forum: Libraries
- Topic: ttf examples on 64-bit systems?
- Replies: 4
- Views: 595
Re: ttf examples on 64-bit systems?
Hi N3trunn3r! On 64 bit systems take care sending a proper stride value to function cairo_image_surface_create_for_data(): #DEFINE CAIRO_HAS_PDF_SURFACE 1 #DEFINE CAIRO_HAS_PS_SURFACE 1 #DEFINE CAIRO_HAS_SVG_SURFACE 1 #INCLUDE ONCE "cairo/cairo.bi" #INCLUDE ONCE "cairo/cairo-pdf.bi&qu...
- Jul 25, 2020 11:24
- Forum: Hardware Interfaces / Communication
- Topic: TP-Link HS110
- Replies: 159
- Views: 23256
Re: TP-Link HS110
You are preaching to the converted. I may not handle them the way you are, but I have error trapping everywhere in my code. In the case of the error "Cannot open /dev/uio5" , that doesn't mean anything to me, so by numbering the error and trapping it on the return of the function allows m...