Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 1, 2013 9:44:04 GMT 1
I think I found the answer to online collaborative project development. Cloud9 IDEHere is ScriptBasic running on Cloud9.
|
|
|
Post by bigbass on Oct 1, 2013 15:17:54 GMT 1
Hey John looks great I like the visual presentation I haven't tried that site yet Hope @peter signs in soon since he is the one to make the updates and fine tuning and set up his preferences plus (links documentation ...) I dont mind being a 32 bit tester though Joe UPDATE I tried the site and its limited to as what you can include as a programming language and its google (they are not open source lovers I had to leave their google code since they wont allow updates) after 2014 hmmm sounds fishy and thats coming from a fisherman I think it is best for me to work with Mohammad Mohtashim at compile on line He is friendly and is trying to set up 32 bit for us Joe
|
|
|
Post by bigbass on Oct 1, 2013 17:08:07 GMT 1
Hey an advancement we got 32 bit working without gtk (He is still working on adding gtk2 almost there ) ./main Usage: b64enc
file main main: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
using the default bacon example just add Compilation Options: -m32 to compile the binary as 32bit Joe
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 1, 2013 17:59:24 GMT 1
Good to hear that you guys connected and working out the 32 bit issues.
As far as Cloud9 goes, it's light years ahead of CompileOnline.com and that is where I'm putting my efforts. Cloud9 is Amazon EC2 instances which is like having your own sharable server. The main focus looks like scripting web development but you have the tools available to compile BaCon and and others.
I think it's great we have both solutions out there.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 1, 2013 20:48:31 GMT 1
Joe, Mohammad Mohtashim updated the ScriptBasic Online offering on CompileOnline.com to allow entering scriba command line options as well as command line arguments for the executing script. This will allow using the new sdbg.so remote internal preprocessor debugger from my local PC. I can step through the program, set breakpoints and display values of variables. The CompileOnline.com site is great for testing out languages to see if you like them or not. The Cloud9 IDE is a completely different approach. It's focus is collaborative development with EC2 instances with a nice user friendly front end. I'm a paid subscriber now and plan to create collaborative projects with SB online. Fun just got a new set of clothes.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 1, 2013 22:19:13 GMT 1
I couldn't be happier (for now) with Cloud9 IDE. I have MySQL and SQLite along with Gtk 2 (64 bit) and gcc dev tools. I really think you (Joe) need to take a second look. Hint: c9pm is the yum replacement package manager. Most all the libs seems to be in /usr/lib64/. Attached is my ScriptBasic Cloud9 IDE in action.
|
|
|
Post by bigbass on Oct 2, 2013 16:08:59 GMT 1
Hey John and all bacon friends all things are possible we now can have a personal virtual bacon I compiled bacon using the built in terminal I was very surprised that that would work but it did now working on getting gtk going ! Joe how to upload bacon.bac and bacon.bash change permissions on bacon.bash *then special note bacon is installed but not our BaCon so compile ./bacon.bash bacon.bac then always run bacon ./bacon so you dont default to the preinstalled "other" bacon
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 2, 2013 18:36:49 GMT 1
Joe,
The big difference between Cloud9 IDE and CompileOnline.com is that C9IDE is like having your own personal server to work with.(EC2 micro instance @ 128MB memory (free users) and 512 MB for subscribers) There is a fairly large list of additional packages you can install if the Red Hat 64 bit default image isn't robust enough. Gtk was already installed as was cURL and other common libraries. You can create private and public workspaces and allow who you wish to edit and run programs. The home directory contains a bin, lib and include that is part of the system search path to put custom code. (like BaCon)
I like the CompileOnline.com option for ScriptBasic as it's a no member / no fuss way to try SB out immediately. I would think the next step would be for the users is to download SB and play with it local. It's a bit different for a compiler (OS specifics, execution permissions, ...) so a bit more thought has to be put into into your presentation of the language.
Both offerings need a guest log like feature to leave comments. IMHO
John
|
|
|
Post by bigbass on Oct 2, 2013 18:53:16 GMT 1
Hey John
I will dig in deeper c9pm didnt have any gtk options
Aha!
bigbass@c-code-demos:/usr/lib64/gtk-2.0/2.10.0 $
libgtk-x11-2.0.so.0.1800.9*
same problem I had on compile on line now I will be able to see why since I can poke around easily with cloud9 in the filing system will keep you posted on how to link this lib
here is how simple it is to compile BaCon
Welcome to Cloud9 IDE bigbass@bacon:~/634576 $ chmod a+x bacon.bash bigbass@bacon:~/634576 $ ./bacon.bash bacon.bac bigbass@bacon:~/634576 $ ./bacon test2.bac bigbass@bacon:~/634576 $ ./test2.bac
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 2, 2013 19:30:00 GMT 1
scriptbasic@sb22:/usr/lib64 $ ls -l libgdk* lrwxrwxrwx. 1 root root 29 Mar 18 2013 libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.1800.9* -rwxr-xr-x. 1 root root 130352 Jan 2 2013 libgdk_pixbuf-2.0.so.0.1800.9* lrwxrwxrwx. 1 root root 34 Mar 18 2013 libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.1800.9* -rwxr-xr-x. 1 root root 66928 Jan 2 2013 libgdk_pixbuf_xlib-2.0.so.0.1800.9* lrwxrwxrwx. 1 root root 26 Mar 18 2013 libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.1800.9* -rwxr-xr-x. 1 root root 770136 Jan 2 2013 libgdk-x11-2.0.so.0.1800.9* scriptbasic@sb22:/usr/lib64 $ ls -l libgtk* lrwxrwxrwx. 1 root root 26 Mar 18 2013 libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1800.9* -rwxr-xr-x. 1 root root 4603920 Jan 2 2013 libgtk-x11-2.0.so.0.1800.9* scriptbasic@sb22:/usr/lib64 $
If you put your bacon executable one level down and in the bin directory, you won't need the ./ prefix.
C9 IDE is an instance (just for you) of Red Hat Linux 64 bit.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 3, 2013 8:14:53 GMT 1
Joe,
It seems that the server uses OpenShift to create workspaces that allow you to install packages specific to the workspace. People you give access to the workspace have the same rights as you do for that workspace. So make sure you trust the person you give shared access to.
CompileOnline.com seems to have it's purpose as well.
Thanks for taking the time to test out the ScriptBasic workspace.
John
|
|
|
Post by bigbass on Oct 3, 2013 16:28:23 GMT 1
Hey John it would be nice if you could add files manually to the filing system without going though any loops with just a simple sudo name why do they have to complicate a simple thing ? for security nobody can modify your system and neither can you I wanted to add some headers but haven't found an easy way with permission denied everywhere you have to sign up for other accounts with redhat *this is one of those reasons a slackware base lets you do anything to your system (even mint is easy) for good or for bad its yours to do with as you wish as long as you are root or have sudo permission any way it was fun I cant test any apps with gtk anyway but it would have been nice to test some code snippets on 64 bit just to see if there would be any errors with compiling at least we have a few ways to compile simple code examples without gtk to get people started quickly and with cloud9 you can simulate compiling bacon from source which is a good thing and maybe even chat and walk someone though who is new to bacon or scriptbasic in your case
so it was a productive experiencethanks Joe
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 3, 2013 16:45:56 GMT 1
Joe,
I have to agree with you that it is too restrictive for language development. It has potential for the web scripting guys. (Python, PHP, Perl, ...)
The CompileOnline.com option is actually the best way for someone to experience ScriptBasic before downloading their own copy.
Thanks for all your efforts!
John
|
|
|
Post by bigbass on Oct 5, 2013 4:31:59 GMT 1
Mohammad Mohtashim has been very kind to take our requests at compileonline.com I contacted him in the afternoon and shortly after he updated BaCon to the latest version BaCon 2.3 (BASIC to C Translator) www.compileonline.com/convert_basic_to_c_online.phppeople can easily try out BaCon before installing it Joe
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 5, 2013 5:43:00 GMT 1
I agree Joe. Mohammad Mohtashim is the prince of programming languages. Speaking for the ScriptBasic project, I couldn't be happier with his offering and support. FYI Let him know that with the update the translating line numbers roll down the screen. I think he embedded a -b as the first argument in the prior release. I tried to enter a -b in the compile switch option box but it messed up the order of other default options.
|
|