[Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-21 Thread bsselfri...@gmail.com
Whenever I try to select a table that has timestamp defined columns I'm getting the following error: "OpenDBXDriverError: OpenDBXDriver: Unsupported data type: UNKNOWN, trying to parse 2011-03-31 17:38:35" I've traced this down into the NBOpenDBX_ApiH>>odbx_column_type:pos: method. I don't know

Re: [Pharo-users] UDP example

2014-10-21 Thread Sven Van Caekenberghe
> On 21 Oct 2014, at 17:53, Annick Fron wrote: > > > I think the following code does polling : >>> [ result := socket receiveUDPDataInto: buffer. >>> result first > 0 ] whileFalse: [ (Delay forMilliseconds: 10) wait ]. > > and it is preferable to use semaphores, which are more efficient. > I

Re: [Pharo-users] UDP example

2014-10-21 Thread Annick Fron
I think the following code does polling : >> [ result := socket receiveUDPDataInto: buffer. >> result first > 0 ] whileFalse: [ (Delay forMilliseconds: 10) wait ]. and it is preferable to use semaphores, which are more efficient. Is it possible to replace it by : socket waitForData. result :-

Re: [Pharo-users] ConfigurationOfSandstoneDb

2014-10-21 Thread stepharo
you should copy it into the metarepo :) On 21/10/14 13:18, mikefilonov wrote: Hello, I have fixed SandstoneDb to work with Pharo3.0 (4.0 works as well) and also submitted a ConfigurationOfSandstoneDb so you may use the repository owned by Ramon Leon to fetch the sources: http://smalltalkhub.c

Re: [Pharo-users] new Pharo Success story

2014-10-21 Thread stepharo
Not right now, but if I could, how can I collaborate with that? Excellent. Ask esteban because this should be added to marina. So instead of one Esteban, you can have two :) this is cool Esteban A. Maringolo 2014-10-21 3:48 GMT-03:00 stepharo : I agree but I prefer that esteban works o

Re: [Pharo-users] UDP example

2014-10-21 Thread Henrik Johansen
> On 21 Oct 2014, at 3:52 , Luc Fabresse wrote: > > > > 2014-10-21 15:40 GMT+02:00 Sven Van Caekenberghe >: > > > On 21 Oct 2014, at 15:29, Luc Fabresse > > wrote: > > > > > > yes examples are good. > > but I also suggest to use a stream o

Re: [Pharo-users] UDP example

2014-10-21 Thread Luc Fabresse
2014-10-21 15:40 GMT+02:00 Sven Van Caekenberghe : > > > On 21 Oct 2014, at 15:29, Luc Fabresse wrote: > > > > > > yes examples are good. > > but I also suggest to use a stream on a UDPSocket instead of > manipulating the socket directly in the model code. > > Usually, it lowers the code complexi

Re: [Pharo-users] UDP example

2014-10-21 Thread Sven Van Caekenberghe
> On 21 Oct 2014, at 15:29, Luc Fabresse wrote: > > > yes examples are good. > but I also suggest to use a stream on a UDPSocket instead of manipulating the > socket directly in the model code. > Usually, it lowers the code complexity. Hmm, are you sure that is even possible with UDP sockets

[Pharo-users] Mac sqDecryptSSL returning SQSSL_GENERIC_ERROR on errSSLClosedGraceful from SSLRead

2014-10-21 Thread Kris Gybels
I'm wondering whether the Mac SSL plugin is correct in returning SQSSL_GENERIC_ERROR from sqDecryptSSL when its SSLRead invocation returns errSSLClosedGraceful. I'm trying to figure out why ZdcSecureSocketStream is sometimes signaling an error “Error: SSL Exception: decrypt failed [code:-5]”. I

Re: [Pharo-users] UDP example

2014-10-21 Thread Luc Fabresse
yes examples are good. but I also suggest to use a stream on a UDPSocket instead of manipulating the socket directly in the model code. Usually, it lowers the code complexity. Luc 2014-10-21 10:36 GMT+02:00 Sven Van Caekenberghe : > OK good. > > I think it would be best to add some examples to t

Re: [Pharo-users] new Pharo Success story

2014-10-21 Thread Esteban A. Maringolo
Not right now, but if I could, how can I collaborate with that? So instead of one Esteban, you can have two :) Esteban A. Maringolo 2014-10-21 3:48 GMT-03:00 stepharo : > I agree but I prefer that esteban works on spur. > > Stef > > > On 20/10/14 17:43, Esteban A. Maringolo wrote: >> >> 2014-10-

Re: [Pharo-users] How to see output of printf invocations in VM plugins

2014-10-21 Thread Kris Gybels
> Have you tried running the VM from the command line ? > I would think the output of stdout would appear there. I thought I'd tried this and didn't get the plugin output. But I tried again and it does indeed show the plugin output. Must've done something wrong before. Thanks!

[Pharo-users] ConfigurationOfSandstoneDb

2014-10-21 Thread mikefilonov
Hello, I have fixed SandstoneDb to work with Pharo3.0 (4.0 works as well) and also submitted a ConfigurationOfSandstoneDb so you may use the repository owned by Ramon Leon to fetch the sources: http://smalltalkhub.com/#!/~gnaritas/SandstoneDb It would be perfect if someone could take some time t

Re: [Pharo-users] [Ann] Phratch 4.0

2014-10-21 Thread Hilaire
Le 21/10/2014 07:07, jannik laval a écrit : > > Could you try phratch and say me what do you expect. > Then explain me what is not working. > AS you indicated me, I create an Arduino sprite, then when I click on the Arduinio block category I have an out of bounds error. See changelog Hilaire

Re: [Pharo-users] How to see output of printf invocations in VM plugins

2014-10-21 Thread Sven Van Caekenberghe
Have you tried running the VM from the command line ? I would think the output of stdout would appear there. > On 21 Oct 2014, at 11:57, Kris Gybels wrote: > > I'm wondering where the output of printf invocations in Mac VM plugins gets > written to? > > I'd like to see the value of 'status' th

[Pharo-users] How to see output of printf invocations in VM plugins

2014-10-21 Thread Kris Gybels
I'm wondering where the output of printf invocations in Mac VM plugins gets written to? I'd like to see the value of 'status' that gets printed in the following line in the Mac SSL plugin: https://code.google.com/p/squeakssl/source/browse/src/Mac%20OS/sqMacSSL.c#385 I (think I) know how to con

Re: [Pharo-users] UDP example

2014-10-21 Thread Sven Van Caekenberghe
OK good. I think it would be best to add some examples to the image: https://pharo.fogbugz.com/f/cases/14275/Add-some-decent-TCP-UDP-examples-and-tests I will do that in the coming days. > On 21 Oct 2014, at 10:20, Annick Fron wrote: > > OK super, this example works. I got confused because I

Re: [Pharo-users] UDP example

2014-10-21 Thread Annick Fron
OK super, this example works. I got confused because I did not understand that you had 2 variables, buffer passed as argument and result as return. Annick Le 21 oct. 2014 à 09:53, Sven Van Caekenberghe a écrit : > The buffer that you supply to #receiveUDPDataInto: is either a String or a > By

Re: [Pharo-users] UDP example

2014-10-21 Thread Sven Van Caekenberghe
The buffer that you supply to #receiveUDPDataInto: is either a String or a ByteArray, preallocated to a certain size. It gets filled with the incoming data part of the datagram. It should be large enough, it never overflows, if it is too small, you simply miss data (it is lost). If you prealloca

Re: [Pharo-users] new Pharo Success story

2014-10-21 Thread Sven Van Caekenberghe
Each success story is available separately: http://pharo.org/success/PharoAtCSOB > On 21 Oct 2014, at 08:48, stepharo wrote: > > I agree but I prefer that esteban works on spur. > > Stef > > On 20/10/14 17:43, Esteban A. Maringolo wrote: >> 2014-10-20 6:41 GMT-03:00 Sven Van Caekenberghe : >>

Re: [Pharo-users] UDP example

2014-10-21 Thread Annick Fron
Sven, I have put a halt in your sync method, but receiveUDPData comes with 64 bytes in your app, whereas you have provisioned 48 bytes. So since you start data at 33, I guess what you receive is the usual datagram IP header on 16 bytes, then the UDP header on 16 bytes. http://fr.wikipedia.org/wi