These are chat archives for fourthbit/spheres

27th
Aug 2015
Álvaro Castro-Castilla
@alvatar
Aug 27 2015 05:48
Thank you @ovenpasta
Which Os did you do this for?
Ideally, all these contributions are done through Github pull requests. It eases review and shows also some activity in the project and multiple contributors, which will ultimately benefit us all.
ovenpasta
@ovenpasta
Aug 27 2015 08:07
linux mint x86_64
but seems that the ffi package needs some love :)
Álvaro Castro-Castilla
@alvatar
Aug 27 2015 17:49
Of course! Everything in spheres would benefit of contributions... I've been pouring hours on this, but unfortenately now with a full time job I don't have the time this needs.
However, your fix would
not work for all OSes. I think the best solution is to vendor the SDL version as I was doing in previous versions of spheres, so the dependency doesn't depend on neither the OS or the version
ovenpasta
@ovenpasta
Aug 27 2015 19:32
What's the meaning of the trailing # in c-define-base-macros# ?
I did the pull request already ;)
maybe there should be some way to check for standard places for libraries or to allow the user to easily configure the right paths for the libraries
also I see that sdl2-config --cflags should be available mostly everywhere
Álvaro Castro-Castilla
@alvatar
Aug 27 2015 19:52
Thank you for the PR!
I'm answering you on mobile, since I'm on vacation until Tuesday, but I'll check it ASAP. It certainly is very valuable and I really appreciate it. I'll test it on OS X also to see that it works well on that OS.
Álvaro Castro-Castilla
@alvatar
Aug 27 2015 20:19
Ok! I actually found a way to login an review it. I've written there.
Thank you very much for the github PR :)
Álvaro Castro-Castilla
@alvatar
Aug 27 2015 20:24
By the way, I really would like to update the demo app and make it work on all supported platforms. MAke it a super simple app that works on mobile and desktop, like I had done for previous Spheres version one year ago.
ovenpasta
@ovenpasta
Aug 27 2015 20:28
Interesting. Mi goal currently is high, I mean I'd like to come up with some kind of multi-platform gui system in scheme
I've seen already there is lambdanative.org
Álvaro Castro-Castilla
@alvatar
Aug 27 2015 20:35
Very nice. I had a similar goal. I know the guys of lambdanative, I met them last year in Montreal
The main difference is that try provide a framework, very opinionated. Spheres is a very thin layer following the gambit philosophy of giving total control to the developer
But of course it is less developed and the team is smaller ;)
I have had experience with different approaches over the years, and I even hacked blackhole so I know the issues that come up while doing cross platform development on Gambit
ovenpasta
@ovenpasta
Aug 27 2015 20:40
Interesting stuff :)
I'm also trying to understand if there is some scheme object system that could be suited for my needs. Or just try to see if really I need an object system for GUI programming
strange again http://gambitscheme.org is down... there is some funding problems on the sites?
it is not much professional to do like this ;)
Álvaro Castro-Castilla
@alvatar
Aug 27 2015 20:48
Well, it is actually one of the things with Gambit... The system is robust, but everything is done by Marc at the moment. I contributed the SSL support for TCP ports, based on OpenSSL, and Brad Lucier has done a lot of stuff related to numerical code, but overall is a one-man effort. And you can really see that. EDIT: There is a few other contributors that have helped with parts of Gambit, but the whole picture is still a one man project.
Unfortunately that means that while more people don't get to hack Gambit it will stay as an obscure project for custom solutions, hardly a competitive business solution. And I say that with a lot of love for Gambit, since I've worked with it for at least 6 years.
A good way in my opinion would be to produce example apps, good documentation and a more appealing project web page. Maybe this way we can attract more developers and start collaborating. I haven't seen much collaboration on Gambit for a long time.
ovenpasta
@ovenpasta
Aug 27 2015 20:53
Yep examples are very important
I think they can be more important than documentation
If you need I can mirror some stuff in my vps