Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Álvaro Castro-Castilla
@alvatar
now is just a hack.
I would expect bugs in that area
But not in FFI, that should be rock solid.
nortiero
@nortiero
hic sunt leones
Álvaro Castro-Castilla
@alvatar
Definitely... I've fought them before
:fire: :fire:
nortiero
@nortiero
there is a define-library but it's not complete, i see. no let-syntax for example
scsc overwrites "import"
Álvaro Castro-Castilla
@alvatar
Yes, and no hygiene at all
nortiero
@nortiero
a full r7rs compliant module system would be a boon.
Álvaro Castro-Castilla
@alvatar
It's a bit of a mess anyway... Also blackhole doesn't get to the bottom of it, and latest version is unfinished spaghetti code
yes! That's what I'm aiming at
As soon as I finish current projects, I'd like to get into that
Let's see...
But I can be confident of fixing the issues... Not that confident of having all the time necessary for the macro system ;)
nortiero
@nortiero
yes i have been trying them all. no way. i'd love to help but thats outside my comfort zone
Álvaro Castro-Castilla
@alvatar
I've tried all too ;)
Nothing perfect
Nobody wants to fix this, but everybody considers it important
We'll get there
nortiero
@nortiero
i see. gambit community is small, methinks.
Álvaro Castro-Castilla
@alvatar
super small, and a individualistic
Everybody thinks his/her solution is better
It's a snob language ;)
Me included ;D
nortiero
@nortiero
sad, because it's a pretty brisky environment
compiled code is quite fast
and the numeric tower is well made (i suppose). a lot of value
Álvaro Castro-Castilla
@alvatar
I'm using Clojure in production now and I think while it has some awesome things, Gambit is still superior
to be honest, if you want to help the community and Spheres in particular, there is one thing you can do
nortiero
@nortiero
i'm hearing..
Álvaro Castro-Castilla
@alvatar
That project you are building, if you show some of your progress, or once it is finished you show it in schemespheres.org
That would show that it actually helps to build stuff
I've done little apps, completely cross platform with Gambit, but they were just tests, and unfortunately they were using the old Spheres, so I would have to rebuild them
They were showing how easy is to build for Android/iOS/desktops with live coding even
I want to show those examples in the web, but if you have anything that can be shown, it would be awesome
nortiero
@nortiero
yes i've noticed. i will try to do my best. unfortunately lack of high level documents make it very hard -- and all of scheme in general
Álvaro Castro-Castilla
@alvatar
yes, I know
Improving documentation is definitely something I don't have time to do... but what I can start doing as soon as I come back is to improve in-code documentation and get the generator to work, to produce browsable documents of that
nortiero
@nortiero
that would be wonderful. have to go, will check the memory issue, maybe it's unrelated or a hairy bug. thank you for the advice !!!
Álvaro Castro-Castilla
@alvatar
thanks!
nortiero
@nortiero
i've found some time to check on that segfault. You will be happy to know that it happens only on OSX, not on linux f.e. I have stripped down the code, removing any libraries, and will post it to the mailing list, hoping not to be eaten alive. Maybe a gambit bug, or some unallowed practice on osx flavor ...
Álvaro Castro-Castilla
@alvatar
Thank you!
bsaleil
@bsaleil
Hi Alvatar, thanks for your work on Scheme Spheres. Have you considered adding a Sphere with Gobject Introspection bindings? This would allow developers to use most of Gnome libraries (GLib, Gtk and others)
Bob Coleman
@skilldown
Anybody using the sack-server library from spheres?
I've been toying with it, but can't get a response from the server to any connections. The sockets just hang open with nothing sent to the client. Even the simple example from the source code doesn't work for me.
(sack-start!
 (lambda (env)
   (define (r)
     (with-output-to-u8vector
      '()
      (lambda ()
        (print "Hello world!\n"
               "\n"
               "URI: " (env 'sack:uri)))))
   (values 200
           '()
           (let ((f #t))
             (lambda ()
               (and f
                    (begin
                      (set! f #f)
                      (let ((output (r)))
                        output))))))))
 server-address: #f ;"*"
 port-number: 8000)
I wanted to see if anybody else had this working before I started digging too deep into the module.
Bob Coleman
@skilldown
After upgrading gcc (gcc version 6.1.0 (Rev1, Built by MSYS2 project)) and gambit (v4.8.5) I'm no longer able to compile syntax-case.scm as part of the spheres install. I can load syntax-case.scm in the repl. Compiling syntax-case fails with "cc1.exe: out of memory allocating 65536 bytes". I have an i7 machine with 8G ram so I usually don't have any issues.
I've tried adding cc-options: "-ftrack-macro-expansion -save-temps" to reduce memory with no luck.
Has anybody experienced similar issues? Is it possible I could split syntax-case.scm into multiple files to limit memory?
Bob Coleman
@skilldown
I was able to successfully compile syntax-case after adding the -O0 flag to cc-options.