Re: getting started writing desktop applications

2016-07-17 Thread Nala Ginrut
I happened to try guile-gnome few days ago, seems not workable with 2.1, I'm using the latest master. Anyone ever tried it? On Sun, 2016-07-17 at 17:43 +0100, Paul Emsley wrote: > On 17/07/2016 17:38, Christopher M. Hobbs wrote: > > > > Is there a recommended library for building desktop applicat

Re: getting started writing desktop applications

2016-07-17 Thread Paul Emsley
On 17/07/2016 17:38, Christopher M. Hobbs wrote: Is there a recommended library for building desktop applications? Maybe some GTK (or maybe Tk, as old as it is) tie-ins or something to that effect? There's guile-gnome: https://www.gnu.org/software/guile-gnome/ P.

getting started writing desktop applications

2016-07-17 Thread Christopher M. Hobbs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greetings, Guilers! Is there a recommended library for building desktop applications? Maybe some GTK (or maybe Tk, as old as it is) tie-ins or something to that effect? Thanks a ton! cmh - -- Happy Hacking! http://libernil.net/~cmhobbs GPG: 120

Probably a bug in https-get...

2016-07-17 Thread Amirouche Boubekki
Héllo again, I'm trying hit the hackernews API hosted on firebase and I get an error when I try to use streaming with guile 2.0.11 This works correctly: ``` (receive (response body) (https-get "https://hacker-news.firebaseio.com/v0/maxitem.json";) (pk (string->number (bytevector->string b

Re: Pool of threads with one producer and several consumers

2016-07-17 Thread Amirouche Boubekki
On 2016-07-17 13:51, Amirouche Boubekki wrote: Héllo guilers! This is more like system programming question, but hopefully someone will enlighten me. I'd like to create a pool of thread with one producer and several consumers. This needs comes from the need to make my database server multithrea

Re: Pool of threads with one producer and several consumers

2016-07-17 Thread Jan Wedekind
You can use condition variables (together withvthe mutex) to signal availability of a new item to consume. On 17. Juli 2016 12:52:49 GMT+00:00, Amirouche Boubekki wrote: >I forgot the attach to the previous mail the full code mocking >a pool of thread. So here it is. > >On 2016-07-17 13:51, Ami

Re: Pool of threads with one producer and several consumers

2016-07-17 Thread Amirouche Boubekki
I forgot the attach to the previous mail the full code mocking a pool of thread. So here it is. On 2016-07-17 13:51, Amirouche Boubekki wrote: Héllo guilers! This is more like system programming question, but hopefully someone will enlighten me. I'd like to create a pool of thread with one pro

Pool of threads with one producer and several consumers

2016-07-17 Thread Amirouche Boubekki
Héllo guilers! This is more like system programming question, but hopefully someone will enlighten me. I'd like to create a pool of thread with one producer and several consumers. This needs comes from the need to make my database server multithread. The flow of the program I imagine is the foll