Well, a full libc FFI wrapper would be useful...
Something that pretty much any other language provides out-of-the-box. Something familiar for developers that are new to our community perhaps. By wrapper, that being more than just stubs to the low-level calls. It is evil, but needs must... Regards, Gary ----- Original Message ----- From: "Igor Stasenko" <[hidden email]> To: <[hidden email]> Sent: Tuesday, March 29, 2011 5:57 PM Subject: Re: [Pharo-project] PharoCasts with experts On 29 March 2011 18:35, laurent laffont <[hidden email]> wrote: > On Tue, Mar 29, 2011 at 6:30 PM, Gary Chambers <[hidden email]> > wrote: >> >> I expect it will be tricky to synchronise our schedules... > > Could you start by telling me when it's easy for you ? I am available :) I just need some guidance from a guy from needs some specific functionality, and i can implement that. Because for me it is not really a problem to write binding to anything.. the problem is to find real users for it :) > Laurent. >> >> Regards, Gary >> >> ----- Original Message ----- >> From: laurent laffont >> To: An open mailing list to discuss any topics related to an >> open-sourceSmalltalk >> Sent: Monday, March 28, 2011 8:03 AM >> Subject: [Pharo-project] PharoCasts with experts >> Hi, >> Actually I'm training remotely a developer on Pharo using Skype and >> TeamViewer. This guy records all sessions for its own purpose and I like >> the >> idea. >> For PharoCasts I would like to record 30mn to 1 hour sessions (as I know >> you don't have time) with an expert who shows us real code, explaining a >> framework / programming style / pattern while programming some examples >> (in >> the spirit of PharoCasts, and may be >> http://forum.world.st/Screencast-proposition-Watch-someone-read-code-td3244804.html >> ). >> Right now I'm thinking about: >> - Mariano on DBXTalk >> - Gary on Polymorph >> - Igor on VM debugging or FFI / NativeBoost (for example interfacing >> with http://id3lib.sourceforge.net/ or other lib) >> - Lukas on Magritte or PetitParser >> - Dale on Metacello >> - Nicolas on Iliad >> - Janko on Aida/Web >> and all that I forgot ..... I'm sure plenty of people would like their >> open-source project to be more known. This may be an opportunity. >> >> How to do this: contact me if you wish to do that so we can choose an >> hour >> that match our respective calendars and agree on tools used (skype, >> video chat, vnc, teamviewer, ....) - I will care about video stuff. Just >> talk and code :) >> >> Anyone ? >> >> Laurent Laffont - @lolgzs >> Pharo Smalltalk Screencasts: http://www.pharocasts.com/ >> Blog: http://magaloma.blogspot.com/ >> Developer group: http://cara74.seasidehosting.st > > -- Best regards, Igor Stasenko AKA sig. |
In reply to this post by Gary Chambers-4
can you report that to the Cog bug tracker?
Stef On Mar 29, 2011, at 6:12 PM, Gary Chambers wrote: > Lol. > > Just to mention that we have been having problems (VM crashes/lockups) with OSProcess, > using FFI to callout to libc for executing shell command has seemed to help this. > > Looked like memory corruption (especially targetting Delay objects, but likely they were on the stack at the time...). > > Occurs on all VMs, though more apprent with Cog. > > FFI saves the day! > > Regards, Gary > > ----- Original Message ----- From: "Igor Stasenko" <[hidden email]> > To: "laurent laffont" <[hidden email]> > Cc: <[hidden email]> > Sent: Tuesday, March 29, 2011 4:09 PM > Subject: Re: [Pharo-project] PharoCasts with experts > > > On 29 March 2011 07:58, laurent laffont <[hidden email]> wrote: >>> > - Igor on VM debugging or FFI / NativeBoost (for example interfacing >>> > with http://id3lib.sourceforge.net/ or other lib) >>> >>> this lib is a C++.. interfacing with C++ is troublesome. >>> Usually this is done by creating a standard C library with C- >>> functions wrapping around >>> C++ calls. Then as usual. >> >> >> OK. I've tried FFI with this and I got mad. Do you know a fun C library to >> start working with ? > > Yeah.. i have one.. called OpenGL :) > See > http://www.squeaksource.com/NBOpenGL > > But for exercise, i think standard C library is just fine. > There's a lot of functionality which might be handy and can be exposed via FFI. > >> Laurent. >> >>> >>> > - Lukas on Magritte or PetitParser >>> > - Dale on Metacello >>> > - Nicolas on Iliad >>> > - Janko on Aida/Web >>> > and all that I forgot ..... I'm sure plenty of people would like their >>> > open-source project to be more known. This may be an opportunity. >>> > >>> > How to do this: contact me if you wish to do that so we can choose an >>> > hour >>> > that match our respective calendars and agree on tools used (skype, >>> > video chat, vnc, teamviewer, ....) - I will care about video stuff. > Just >>> > talk and code :) >>> > >>> > Anyone ? >>> > >>> > Laurent Laffont - @lolgzs >>> > Pharo Smalltalk Screencasts: http://www.pharocasts.com/ >>> > Blog: http://magaloma.blogspot.com/ >>> > Developer group: http://cara74.seasidehosting.st >>> > >>> >>> >>> >>> -- >>> Best regards, >>> Igor Stasenko AKA sig. >>> >> >> > > > > -- > Best regards, > Igor Stasenko AKA sig. > > |
In reply to this post by Igor Stasenko
Igor I would love to have a way to connect to a bar code reader or webcam.
Stef On Mar 29, 2011, at 6:57 PM, Igor Stasenko wrote: > On 29 March 2011 18:35, laurent laffont <[hidden email]> wrote: >> On Tue, Mar 29, 2011 at 6:30 PM, Gary Chambers <[hidden email]> >> wrote: >>> >>> I expect it will be tricky to synchronise our schedules... >> >> Could you start by telling me when it's easy for you ? > > I am available :) > I just need some guidance from a guy from needs some specific functionality, > and i can implement that. > Because for me it is not really a problem to write binding to > anything.. the problem is to find real users for it :) > >> Laurent. >>> >>> Regards, Gary >>> >>> ----- Original Message ----- >>> From: laurent laffont >>> To: An open mailing list to discuss any topics related to an >>> open-sourceSmalltalk >>> Sent: Monday, March 28, 2011 8:03 AM >>> Subject: [Pharo-project] PharoCasts with experts >>> Hi, >>> Actually I'm training remotely a developer on Pharo using Skype and >>> TeamViewer. This guy records all sessions for its own purpose and I like the >>> idea. >>> For PharoCasts I would like to record 30mn to 1 hour sessions (as I know >>> you don't have time) with an expert who shows us real code, explaining a >>> framework / programming style / pattern while programming some examples (in >>> the spirit of PharoCasts, and may be >>> http://forum.world.st/Screencast-proposition-Watch-someone-read-code-td3244804.html >>> ). >>> Right now I'm thinking about: >>> - Mariano on DBXTalk >>> - Gary on Polymorph >>> - Igor on VM debugging or FFI / NativeBoost (for example interfacing >>> with http://id3lib.sourceforge.net/ or other lib) >>> - Lukas on Magritte or PetitParser >>> - Dale on Metacello >>> - Nicolas on Iliad >>> - Janko on Aida/Web >>> and all that I forgot ..... I'm sure plenty of people would like their >>> open-source project to be more known. This may be an opportunity. >>> >>> How to do this: contact me if you wish to do that so we can choose an hour >>> that match our respective calendars and agree on tools used (skype, google >>> video chat, vnc, teamviewer, ....) - I will care about video stuff. Just >>> talk and code :) >>> >>> Anyone ? >>> >>> Laurent Laffont - @lolgzs >>> Pharo Smalltalk Screencasts: http://www.pharocasts.com/ >>> Blog: http://magaloma.blogspot.com/ >>> Developer group: http://cara74.seasidehosting.st >> >> > > > > -- > Best regards, > Igor Stasenko AKA sig. > |
On Tue, Mar 29, 2011 at 7:22 PM, Stéphane Ducasse <[hidden email]> wrote: Igor I would love to have a way to connect to a bar code reader or webcam. For barcore readers there's nothing to do for a basic usage: a lot use the same driver as a keyboard so when you scan the bar code you get it.
Laurent.
|
In reply to this post by Igor Stasenko
On Tue, Mar 29, 2011 at 6:57 PM, Igor Stasenko <[hidden email]> wrote:
I have a real need with real users. I use Pomodoro.app every day, I love. The real good stuff is that when your pomodoro starts, it can tells my jabber/xmpp chat client that I'm not available and put time remaining in the status message.
But this only works on OSX and it needs an external jabber/xmpp client. So I would like to be able to connect to google talk with Pharo to have a portable Pomodoro application. I've seen there's a C library for XMPP:
Laurent.
|
In reply to this post by laurent laffont
On Mar 29, 2011, at 9:13 PM, laurent laffont wrote: > On Tue, Mar 29, 2011 at 7:22 PM, Stéphane Ducasse <[hidden email]> wrote: > Igor I would love to have a way to connect to a bar code reader or webcam. > > For barcore readers there's nothing to do for a basic usage: a lot use the same driver as a keyboard so when you scan the bar code you get it. Ah but how do you get the information? Stef > > Laurent. > > > > Stef > On Mar 29, 2011, at 6:57 PM, Igor Stasenko wrote: > > > On 29 March 2011 18:35, laurent laffont <[hidden email]> wrote: > >> On Tue, Mar 29, 2011 at 6:30 PM, Gary Chambers <[hidden email]> > >> wrote: > >>> > >>> I expect it will be tricky to synchronise our schedules... > >> > >> Could you start by telling me when it's easy for you ? > > > > I am available :) > > I just need some guidance from a guy from needs some specific functionality, > > and i can implement that. > > Because for me it is not really a problem to write binding to > > anything.. the problem is to find real users for it :) > > > >> Laurent. > >>> > >>> Regards, Gary > >>> > >>> ----- Original Message ----- > >>> From: laurent laffont > >>> To: An open mailing list to discuss any topics related to an > >>> open-sourceSmalltalk > >>> Sent: Monday, March 28, 2011 8:03 AM > >>> Subject: [Pharo-project] PharoCasts with experts > >>> Hi, > >>> Actually I'm training remotely a developer on Pharo using Skype and > >>> TeamViewer. This guy records all sessions for its own purpose and I like the > >>> idea. > >>> For PharoCasts I would like to record 30mn to 1 hour sessions (as I know > >>> you don't have time) with an expert who shows us real code, explaining a > >>> framework / programming style / pattern while programming some examples (in > >>> the spirit of PharoCasts, and may be > >>> http://forum.world.st/Screencast-proposition-Watch-someone-read-code-td3244804.html > >>> ). > >>> Right now I'm thinking about: > >>> - Mariano on DBXTalk > >>> - Gary on Polymorph > >>> - Igor on VM debugging or FFI / NativeBoost (for example interfacing > >>> with http://id3lib.sourceforge.net/ or other lib) > >>> - Lukas on Magritte or PetitParser > >>> - Dale on Metacello > >>> - Nicolas on Iliad > >>> - Janko on Aida/Web > >>> and all that I forgot ..... I'm sure plenty of people would like their > >>> open-source project to be more known. This may be an opportunity. > >>> > >>> How to do this: contact me if you wish to do that so we can choose an hour > >>> that match our respective calendars and agree on tools used (skype, google > >>> video chat, vnc, teamviewer, ....) - I will care about video stuff. Just > >>> talk and code :) > >>> > >>> Anyone ? > >>> > >>> Laurent Laffont - @lolgzs > >>> Pharo Smalltalk Screencasts: http://www.pharocasts.com/ > >>> Blog: http://magaloma.blogspot.com/ > >>> Developer group: http://cara74.seasidehosting.st > >> > >> > > > > > > > > -- > > Best regards, > > Igor Stasenko AKA sig. > > > > > |
In reply to this post by Stéphane Ducasse
Yes please! I'd appreciate knowing if you are experiencing problems
related to OSProcess. Dave On Tue, Mar 29, 2011 at 07:20:52PM +0200, St?phane Ducasse wrote: > can you report that to the Cog bug tracker? > > Stef > > On Mar 29, 2011, at 6:12 PM, Gary Chambers wrote: > > > Lol. > > > > Just to mention that we have been having problems (VM crashes/lockups) with OSProcess, > > using FFI to callout to libc for executing shell command has seemed to help this. > > > > Looked like memory corruption (especially targetting Delay objects, but likely they were on the stack at the time...). > > > > Occurs on all VMs, though more apprent with Cog. > > > > FFI saves the day! > > > > Regards, Gary > > > > ----- Original Message ----- From: "Igor Stasenko" <[hidden email]> > > To: "laurent laffont" <[hidden email]> > > Cc: <[hidden email]> > > Sent: Tuesday, March 29, 2011 4:09 PM > > Subject: Re: [Pharo-project] PharoCasts with experts > > > > > > On 29 March 2011 07:58, laurent laffont <[hidden email]> wrote: > >>> > - Igor on VM debugging or FFI / NativeBoost (for example interfacing > >>> > with http://id3lib.sourceforge.net/ or other lib) > >>> > >>> this lib is a C++.. interfacing with C++ is troublesome. > >>> Usually this is done by creating a standard C library with C- > >>> functions wrapping around > >>> C++ calls. Then as usual. > >> > >> > >> OK. I've tried FFI with this and I got mad. Do you know a fun C library to > >> start working with ? > > > > Yeah.. i have one.. called OpenGL :) > > See > > http://www.squeaksource.com/NBOpenGL > > > > But for exercise, i think standard C library is just fine. > > There's a lot of functionality which might be handy and can be exposed via FFI. > > > >> Laurent. > >> > >>> > >>> > - Lukas on Magritte or PetitParser > >>> > - Dale on Metacello > >>> > - Nicolas on Iliad > >>> > - Janko on Aida/Web > >>> > and all that I forgot ..... I'm sure plenty of people would like their > >>> > open-source project to be more known. This may be an opportunity. > >>> > > >>> > How to do this: contact me if you wish to do that so we can choose an > >>> > hour > >>> > that match our respective calendars and agree on tools used (skype, > >>> > video chat, vnc, teamviewer, ....) - I will care about video stuff. > Just > >>> > talk and code :) > >>> > > >>> > Anyone ? > >>> > > >>> > Laurent Laffont - @lolgzs > >>> > Pharo Smalltalk Screencasts: http://www.pharocasts.com/ > >>> > Blog: http://magaloma.blogspot.com/ > >>> > Developer group: http://cara74.seasidehosting.st > >>> > > >>> > >>> > >>> > >>> -- > >>> Best regards, > >>> Igor Stasenko AKA sig. > >>> > >> > >> > > > > > > > > -- > > Best regards, > > Igor Stasenko AKA sig. > > > > > |
Not a simple scenario to recreate... we have many (Squeak) processes running
with relatively tight Delays along with execution of external commands (was via PipeableOSProcess etc.). All on Linux. Have seen problems with normal VMs, but more pronounced with Cog, switching to FFi appears to have cured the issues so *assuming* there is problem with OSProcess... Ideally it would be good to get to the bottom of this as in another of our applications we really need the pipe support for retrieving error output (can be simulated by redirection on the command of course for the simplistic libc/FFI we have done). Regards, Gary ----- Original Message ----- From: "David T. Lewis" <[hidden email]> To: <[hidden email]> Sent: Wednesday, March 30, 2011 12:55 AM Subject: Re: [Pharo-project] PharoCasts with experts > Yes please! I'd appreciate knowing if you are experiencing problems > related to OSProcess. > > Dave > > > On Tue, Mar 29, 2011 at 07:20:52PM +0200, St?phane Ducasse wrote: >> can you report that to the Cog bug tracker? >> >> Stef >> >> On Mar 29, 2011, at 6:12 PM, Gary Chambers wrote: >> >> > Lol. >> > >> > Just to mention that we have been having problems (VM crashes/lockups) >> > with OSProcess, >> > using FFI to callout to libc for executing shell command has seemed to >> > help this. >> > >> > Looked like memory corruption (especially targetting Delay objects, but >> > likely they were on the stack at the time...). >> > >> > Occurs on all VMs, though more apprent with Cog. >> > >> > FFI saves the day! >> > >> > Regards, Gary >> > >> > ----- Original Message ----- From: "Igor Stasenko" <[hidden email]> >> > To: "laurent laffont" <[hidden email]> >> > Cc: <[hidden email]> >> > Sent: Tuesday, March 29, 2011 4:09 PM >> > Subject: Re: [Pharo-project] PharoCasts with experts >> > >> > >> > On 29 March 2011 07:58, laurent laffont <[hidden email]> >> > wrote: >> >>> > - Igor on VM debugging or FFI / NativeBoost (for example >> >>> > interfacing >> >>> > with http://id3lib.sourceforge.net/ or other lib) >> >>> >> >>> this lib is a C++.. interfacing with C++ is troublesome. >> >>> Usually this is done by creating a standard C library with C- >> >>> functions wrapping around >> >>> C++ calls. Then as usual. >> >> >> >> >> >> OK. I've tried FFI with this and I got mad. Do you know a fun C >> >> library to >> >> start working with ? >> > >> > Yeah.. i have one.. called OpenGL :) >> > See >> > http://www.squeaksource.com/NBOpenGL >> > >> > But for exercise, i think standard C library is just fine. >> > There's a lot of functionality which might be handy and can be exposed >> > via FFI. >> > >> >> Laurent. >> >> >> >>> >> >>> > - Lukas on Magritte or PetitParser >> >>> > - Dale on Metacello >> >>> > - Nicolas on Iliad >> >>> > - Janko on Aida/Web >> >>> > and all that I forgot ..... I'm sure plenty of people would like >> >>> > their >> >>> > open-source project to be more known. This may be an opportunity. >> >>> > >> >>> > How to do this: contact me if you wish to do that so we can choose >> >>> > an >> >>> > hour >> >>> > that match our respective calendars and agree on tools used (skype, >> >>> > video chat, vnc, teamviewer, ....) - I will care about video stuff. >> >>> > > Just >> >>> > talk and code :) >> >>> > >> >>> > Anyone ? >> >>> > >> >>> > Laurent Laffont - @lolgzs >> >>> > Pharo Smalltalk Screencasts: http://www.pharocasts.com/ >> >>> > Blog: http://magaloma.blogspot.com/ >> >>> > Developer group: http://cara74.seasidehosting.st >> >>> > >> >>> >> >>> >> >>> >> >>> -- >> >>> Best regards, >> >>> Igor Stasenko AKA sig. >> >>> >> >> >> >> >> > >> > >> > >> > -- >> > Best regards, >> > Igor Stasenko AKA sig. >> > >> > >> > |
Free forum by Nabble | Edit this page |