Search found 376 matches

by JohnM
Jul 22nd, '18, 21:24
Forum: Projects
Topic: BootToGP - minimal Linux to run a GP project as embeded app?
Replies: 6
Views: 628377

Re: BootToGP - minimal Linux to run a GP project as embeded app?

This is really cool! I love the idea of "booting into GP".
by JohnM
Jul 22nd, '18, 21:21
Forum: Working with GP
Topic: How to check internet connection without error message?
Replies: 2
Views: 7113

Re: How to check internet connection without error message?

Check out the "safelyRun" function in tasks.gp. That will allow you to try to open a socket to a given host. If you provide an error function, it will be called if the attempt fails. Or, if you don't provide an error function, you'll get a Task object back if it fails or an ExternalReference back if...
by JohnM
Jul 11th, '18, 17:57
Forum: Extending GP
Topic: Great to see the new GP mods, please share links!
Replies: 2
Views: 15304

Great to see the new GP mods, please share links!

I've seen GP mods on Github by MSanders and Calloway. It's super exciting to see folks taking GP in new directions! Are there other GP mods out there? It would be great to share links to your mods in the "Share your Mods" forum. You might also add a few notes to highlight what you've changed or adde...
by JohnM
Jul 11th, '18, 17:47
Forum: Working with GP
Topic: What's the Interpreter/Bootstrapper Programmed in?
Replies: 7
Views: 23102

Re: What's the Interpreter/Bootstrapper Programmed in?

I tried -Ofast but, unfortunately, it gives the same performance as -O3. BTW, a quick performance check is the "tinyBenchmarks" function. You can make a block for that by opening a workspace (in dev mode), typing it in, selecting it, and using the "blockify" menu command (ctrl-B) to make a block: Sc...
by JohnM
Jul 2nd, '18, 16:15
Forum: Extending GP
Topic: Is it allowed to submit a modified version of GP in this forum?
Replies: 8
Views: 17480

Re: Is it allowed to submit a modified version of GP in this forum?

Both SimpleSI and Calloway raise good points. There are two groups to consider in thinking about this: 1. Many educators use GP in its current form as an introduction to programming. For them, it's best for GP to change relatively slowly and for it to match the tutorials, movies, and other materials...
by JohnM
Jul 2nd, '18, 16:02
Forum: Extending GP
Topic: Optimizing the VM
Replies: 1
Views: 5996

Re: Optimizing the VM

The VM is already compiled with -O3...
by JohnM
Jun 16th, '18, 20:20
Forum: Working with GP
Topic: Is the Source for the GP Cloud Server Going to be Released?
Replies: 3
Views: 7747

Re: Is the Source for the GP Cloud Server Going to be Released?

GP doesn't currently have a cloud server for sharing user-created projects -- although that would be great!

However, I suggest you look at the Snap! cloud server, created by Bernat Romagosa:

https://github.com/bromagosa/SnapCloud
by JohnM
Jun 16th, '18, 20:10
Forum: Working with GP
Topic: What's the Interpreter/Bootstrapper Programmed in?
Replies: 7
Views: 23102

Re: What's the Interpreter/Bootstrapper Programmed in?

I really wish it was open sourced because then I can recompile with a different compiler and see if that makes it any better It's currently compiled with the LLVM C compiler with -O3 optimization (the highest setting). Interesting, using the GCC compiler does give a bit better performance -- about ...
by JohnM
Jun 16th, '18, 19:52
Forum: Working with GP
Topic: What's the Interpreter/Bootstrapper Programmed in?
Replies: 7
Views: 23102

Re: What's the Interpreter/Bootstrapper Programmed in?

isn't it planned to be open source? Yes, that is still planned. Originally, the idea was to wait until GP had gotten to a 1.0 stable release. But with the loss of funding, progress on GP has become pretty slow. If you're interested in virtual machines for blocks languages, I suggest that you look a...
by JohnM
Jun 8th, '18, 13:51
Forum: Extending GP
Topic: Increasing VM Memory?
Replies: 7
Views: 25057

Re: Increasing VM Memory?

Also is there any way to publicly view and report issues/push fixes to the source code such as on Github or some other Git site? Not yet. We were planning to make the source code for the virtual machine available when GP 1.0 was released, but development has been slow since we lost funding last Aug...