Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Support

Pages: 1 ... 37 38 [39] 40 41 ... 59
571
Round Table / Re: japi compile
« on: August 16, 2011, 09:01:20 PM »
My mistake. I thought you had a GUI going with the X11 and font question.

IMPORT - Includes the file/module/...  only once.

INCLUDE - Includes the file/module/... explicitly at the point of the INCLUDE statement.

Note: If INCLUDE starts a line, it will execute even if it's wrapped in a IF/THEN structure. It one of those brute force kind of keywords.

 

572
Round Table / Re: japi compile
« on: August 16, 2011, 05:09:39 PM »
Please post some screen shots & code when you have something to show.


573
Installation / Re: Windows 2.1 RC1 install
« on: August 15, 2011, 12:08:05 AM »


Ron,

You may be the first to compile ScriptBasic for the Intel Atom processor.

Were you able to get any of the extension modules to compile as well?

John

574
Round Table / Re: japi compile
« on: August 13, 2011, 07:02:56 PM »
I think the japi extension module was done by one of Peter Verhas's students long ago. I would like to see it work. If you need help with the SB extension module API, just post something here.


575
General Discussions / Re: tasks I wish to automate
« on: August 13, 2011, 02:28:04 AM »
I'm still holding out for the language translator that was used in the Last Star Fighter movie.  ;D

[size=9]Hello[/size]  

Code: [Select]
hello{"type"} = "noun"
hello{"German"} = "Hallo!"
hello{"Polish"} = "halo"
hello{"Hungarian"} = "helló!"

Associative array framework idea.

576
General Discussions / Re: tasks I wish to automate
« on: August 13, 2011, 01:25:09 AM »
I would build a proof of concept using a mix of associative and numeric array elements. You can create complex structures that should get you where you're going. If you could post a small example of how you want your data organized, I may be able to offer a suggestion as to the best way to proceed.

577
General Discussions / Re: MTSB
« on: August 12, 2011, 01:11:21 AM »
Pat.

MTSB was an effort to use the sbhttpd web server as a multi-threaded application server. Scriba (using cURL) would send request to the server? I was trying to find an easy way to run Gtk in a multi threaded SB desktop environment.

John

578
What's New / Re: ScriptBasic 32 Bit Linux
« on: August 10, 2011, 08:44:13 PM »
CIO is a Windows only console extension module.

GD - Make sure you have the GD library installed that the SB GD extension module dynamically links to.

The dbg module is actually a preprocessor rather then an extension module. I would need to see the compile log to know what your issue might be.

The sdbg module is an ALPHA remote debugger that I have been able to get working for the most part. Not ready for prime time yet.

Make sure your basic.conf is pointing to the correct directory for the INCLUDE and MODULE configuration lines. (don't forget to regen the conf file with the -k scriba option)


579
ScriptBasic Examples w/source / Re: GTK - Glade XML Project File Example
« on: August 10, 2011, 08:32:44 PM »
GTK-Server for Linux has been available for over 5 years. You can download the source to build on your distribution from www.gtk-server.org. Note the ScriptBasic folder and README file to build the gtk-server.so that is specific for ScriptBasic.


580
General Discussions / Re: ideas for an IDE
« on: August 09, 2011, 01:28:48 PM »
Hi Pat,

One of ScriptBasic's strongest features is it's text processing abilities. You can create strings a large as available memory. I have personally created 2 GB strings without issue. You may want to look into SB's mixed array feature (standard and associative) to create complex structures. The SPLITA is a very powerful function. I created a 1.4 million element array of every word in the Bible (old code challenge) with this language keyword.

I'm happy to help if you post a bit more on what you're trying to accomplish.


John

581
General Discussions / Re: Application Server Users
« on: July 29, 2011, 09:26:40 PM »
The proxyip determines if sbhttpd stands on it's own or in Apache's shadow.

I would use sbhttpd standalone as an application server on a intra-net. If your going to expose your site to the world, Apache is great for handling different connection speeds, (load leveling) the security layer and media delivery.

Quote
I used scriba -k scriba.conf.unix.lsp when I first started to set sbhttpd up to get a clean scriba.conf.

Create a text version of your current scriba/sbhttpd binary configuration file.
scriba -D > basic.conf.text

Create a new binary format configuration file from your edited text version.
scriba -k basic.conf.txt


582
General Discussions / Re: Application Server Users
« on: July 29, 2011, 05:51:48 PM »
Code: Text
  1. ProxyPass /home/ http://127.0.0.1:8084/
  2. ProxyPassReverse /home/ http://127.0.0.1:8084/
  3.  

Code: Text
  1. servers (
  2.   server (
  3.     port 8084
  4.     ip "127.0.0.1"
  5.     protocol "http"
  6.    )
  7.   threads 1024
  8.   listenbacklog 2
  9.   home "/var/www/vhosts/northwestliving.info/httpdocs/home/"
  10.   proxyip 1
  11.  

This is what I'm using for the northwestliving.info site with sbhttpd.

583
General Discussions / Re: Application Server Users
« on: July 29, 2011, 03:32:48 PM »
I don't think this is a sbhttpd config issue. I would be seeing an error 500 from Apache if there were issue with SB. I can't see your Apache server even with trying port :8080 to override the port 80 default.


584
mxml / Re: ScriptBasic Mini-XML Extension Module
« on: July 29, 2011, 01:51:50 PM »
There is a 32 bit version offered in this tread as an attachment. Did you miss it or do have other reasons for trying to use a 64 bit version on a 32 bit system? If you run make in the extension libraries directory, you could generate the extension module on your own system. The results of the compile will be in the bin directory structure and you will have to copy it to where you have defined the module directory in the basic.conf file.

Quote
also are the SB modules different for Linux then for windows, different sets of modules.

The extension modules are DLLs/Shared Objects (.so) and are generated for the platform they run under.

585
ScriptBasic Examples w/source / Re: sbhttpd curl using open api
« on: July 29, 2011, 09:03:29 AM »
Amazon EC2 is a good (cheap) way to have a dedicated server to play with. (.02 / hour - micro instance)

I did all my SB 64 bit development on a Amazon instance of Ubuntu before getting a 64 bit box of my own.


Pages: 1 ... 37 38 [39] 40 41 ... 59