Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 02:38
    Travis gambit/gambit (master) passed (1353)
  • 02:02

    feeley on add-bitwise-prims

    (compare)

  • 02:02

    feeley on master

    Add more bitwise operations for… Merge pull request #475 from ga… (compare)

  • 02:02
    feeley closed #475
  • 02:00
    feeley commented #474
  • 01:59
    Travis gambit/gambit@8831c29 (feeley/add-bitwise-prims) passed (1351)
  • 01:59
  • 01:22
    feeley opened #475
  • 01:22

    feeley on add-bitwise-prims

    Add more bitwise operations for… (compare)

  • 01:02
    gambiteer commented on 4ba3547
  • Jan 25 23:22
    lassik commented #474
  • Jan 25 23:21
    lassik commented #474
  • Jan 25 23:00
    feeley commented #474
  • Jan 25 22:51
    feeley commented #474
  • Jan 25 21:31
    lassik opened #474
  • Jan 25 03:52
    gambiteer commented on 4ba3547
  • Jan 25 03:30
    feeley commented on 4ba3547
  • Jan 25 02:26
    Travis gambit/gambit (master) passed (1350)
  • Jan 25 02:06
    gambiteer commented on 4ba3547
  • Jan 25 01:48
    Travis gambit/gambit (master) passed (1347)
Marc Feeley
@feeley
@amirouche for an app, how about a multiplayer card game? for card images, check out the SVG at http://codeboot.org/cards
amirouche
@amirouche
tx
Marc-André Bélanger
@belmarca
Or a virtual DOM
amirouche
@amirouche
@belmarca I am relying on reactjs
Randall Gray
@snarkypenguin
I'm trying to make an interface to the Proj library for handling geographic coordinates, but I am having trouble with "const" parameters ... usually things like constant character strings, but sometimes more exotic. Is there a "const" indicator I can use when defining C types?
I plan on a netCDF interface too, but proj seemed easier to start with ;-)
Marc Feeley
@feeley
@snarkypenguin unfortunately const is not supported by the C interface... it has been on my todo for a while. most C compilers have a switch to not treat the absence of const as an error, so this might be a workable temporary measure
Marc Feeley
@feeley
@amirouche yes I'll reboot the server later today (actually turned it off yesterday due to overheating and forgot to turn it back on)
Randall Gray
@snarkypenguin
Thankyou, I didn't even think of that (randall smack his forehead foolishly). When it is working and tested, I'd like to contribute it to the dumping ground.
Marc Feeley
@feeley
@snarkypenguin I'm sure a better place than the dumping ground can be found for your module. more on this later...
Marc-André Bélanger
@belmarca
@feeley Are you going to release a package manager?
:)
Marc Feeley
@feeley
@belmarca would you use it if there was one?
Marc-André Bélanger
@belmarca
yes if that means more code sharing :)
Marc Feeley
@feeley
more on this will be presented at the "Gambit at 30" meeting... for details see https://mailman.iro.umontreal.ca/pipermail/gambit-list/2019-July/009117.html
amirouche
@amirouche
yeah! Eager to read more about all those new stuff!
Marc-André Bélanger
@belmarca
are there any presentations scheduled for Gambit at 30?
Marc Feeley
@feeley
yes... and maybe one of them is from you!
Marc-André Bélanger
@belmarca
I suppose that could make the other presentations that much more interesting :laughing:
you can contact me if you are looking for presenters
Marc Feeley
@feeley
I am looking for presenters... you have been contacted... your move...
Marc-André Bélanger
@belmarca
Ok then
Marc Feeley
@feeley
there will be 20-ish participants, so it is possible (and it would be nice) if everyone has something to present
Marc-André Bélanger
@belmarca
OK, if you have some place to register the subject that could eliminate possible duplicates.
Marc-André Bélanger
@belmarca
something related that could help is publishing a roadmap or to-do list, other than the current github issues.
amirouche
@amirouche
the issues are good enough, maybe add some issues for the existing task with a help needed flag
I started working on the JavaScript backend, and keep updating the issue 404
The roadmap could be announced on the mailling list tho
Marc-André Bélanger
@belmarca
well for example I see there is issue #408
That one mentions the missing syntax-rules, however I wouldn't necessarily go looking for that information inside the r7rs issue
there is one project but it is dated 2017
amirouche
@amirouche
well that is true
maybe we should go through the whole R7RS and create table and flag features that are done and those that are missing
Marc-André Bélanger
@belmarca
from what I understand there should be discussion about this in october
amirouche
@amirouche
FWIW, I am willing to move to use gambit both in the frontend and backend...
even if the backend requires multi threads and gambit smp support is new
what I holding me back, was mostly the lack of R7RS library system
Marc-André Bélanger
@belmarca
why do you absolutely need smp?
amirouche
@amirouche
I build a database on top of wiredtiger which is embedded key-value store library, so I need queries not to block other queries.
Bradley Lucier
@gambiteer
@amirouche I did something like this using threads, but no smp.
Does using wiredtiger mean you need smp?
amirouche
@amirouche
@gambiteer what is the difference between smp and threads? I was under the impression that thread in gambit were different from POSIX threads.
I need that one "thread" doesn't block other threads, as concurrency issues are dealt with by wiredtiger.
Marc Feeley
@feeley
@amirouche where is the blocking happening? if it is on a file descriptor then Gambit's green threads will be sufficient because the thread scheduler multiplexes the CPU so that Scheme threads waiting on a fd are put to sleep without blocking other threads. Scheme-level mutexes and condition variables also don't block other threads than the one blocking.
amirouche
@amirouche
the blocking call happen on ffi call
the main resource used is cpu
Marc Feeley
@feeley
I'm not sure what you mean with that. I'm asking to know what the OS thread is blocking on (reading a fd, locking a mutex, etc). I don't know how wiredtiger is implemented.
amirouche
@amirouche
wiredtiger is implemented in C, the scheme code is blocking on C calls
Marc Feeley
@feeley
in that case, a possible approach is to allocate an OS thread with each Scheme thread, and have the OS thread do the calls to wiredtiger, and to communicate with the OS thread through a pipe... it is not as complex as it sounds