[Pharo-users] Seaside memory leaks ?

2017-03-08 Thread Annick Fron
Hi, Has anybody investigated whether Seaside has memory leaks using Jquery ? I have suspicions about dirty blocks holding variables … I crashed my server with 170 000 connections... Annick

Re: [Pharo-users] Pharo on Raspberry Pi 2

2015-02-04 Thread Annick Fron
There is a Jenkins build for Pharo done by Jean-Baptiste Arnaud. The usability is mainly hindered by the windowing system, which is VERY slow. On the raspberry, there is the possibility to replace X11 by wayland, and I read wrappers should exist to move from one to the other. Wayland can use

Re: [Pharo-users] Opentalk or remoting libraries

2014-11-17 Thread Annick Fron
:= FLMaterializer materializeFromByteArray: serializedResponse. deserialize to object Transcript show: response asString ; cr ] on: ConnectionClosed do: [ self crLog: 'Ignoring connection close, done' ] regards, Alain Le 12/11/2014 18:17, Annick Fron a écrit : Hi

[Pharo-users] Opentalk or remoting libraries

2014-11-12 Thread Annick Fron
Hi, Are there some libraries in pharo to do remote calls like in Opentalk or Corba ? Annick

Re: [Pharo-users] FFI structs

2014-11-05 Thread Annick Fron
type. 2014-10-29 18:34 GMT+01:00 Annick Fron l...@afceurope.com: I can’t use NativeBoost on the Raspberry, I would be glad if I could !!! Le 29 oct. 2014 à 12:18, stepharo steph...@free.fr a écrit : did you read the NativeBoost tutorial on the PharoForTheEntreprise book? If you do

Re: [Pharo-users] FFI structs

2014-10-29 Thread Annick Fron
:59, Annick Fron wrote: I I have a C struct with a char* struct result { char* time } I define an ExternalStructure in FFI , with one field of type char* (note that the syntax char [5] is not accepted ! ). defineFields generates the accessors time and time: If I use time: ’05

[Pharo-users] Teaching fork

2014-10-24 Thread Annick Fron
Here is a simple example about fork. Try the following : 10 timesRepeat: [ (Delay forSeconds: 1) wait. Transcript show: ‘hello’;cr]. Then the following : [10 timesRepeat: [ (Delay forSeconds: 1) wait. Transcript show: ‘hello’;cr]] fork. I think this should go in an introduction to

Re: [Pharo-users] UDP example

2014-10-21 Thread Annick Fron
. 2014 à 17:29, Sven Van Caekenberghe s...@stfx.eu a écrit : Annick, On 20 Oct 2014, at 17:12, Annick Fron l...@afceurope.com wrote: Thank you but your explanation does not explain what is the type (signed unsigned) and the size of each header component. Thus it is impossible to work

Re: [Pharo-users] UDP example

2014-10-21 Thread Annick Fron
, at 09:31, Annick Fron l...@afceurope.com wrote: 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

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 :-

[Pharo-users] Socket plugin signature - Urgent

2014-10-20 Thread Annick Fron
Hi, Is it possible to get the documentation of the socket api signature, because otherwise I am unable to setup a UDP server ? Annick

Re: [Pharo-users] Socket plugin signature - Urgent

2014-10-20 Thread Annick Fron
other message. On 20 Oct 2014, at 17:23, Annick Fron l...@afceurope.com wrote: Hi, Is it possible to get the documentation of the socket api signature, because otherwise I am unable to setup a UDP server ? Annick

[Pharo-users] UDP example

2014-10-17 Thread Annick Fron
Hi, I was not able to find a UDP example in pharo. There are only TCP examples. Any pointer ? Annick

Re: [Pharo-users] FFI on Linux again

2014-10-17 Thread Annick Fron
don’t know if it works in pharo. Annick Le 25 sept. 2014 à 18:56, Nicolai Hess nicolaih...@web.de a écrit : Am 25.09.2014 17:25 schrieb Annick Fron l...@afceurope.com: Hi, I Have tried the following code on Linux , but the call breaks. Is it because of the X11Window structure missing

Re: [Pharo-users] UDP example

2014-10-17 Thread Annick Fron
is pretty easy, just send and receive byte arrays basically, mostly non-blocking. http://forum.world.st/UDP-Listener-example-td4362851.html http://forum.world.st/SysLogSender-UDP-td4745862.html The API is all in Socket. On 17 Oct 2014, at 17:09, Annick Fron l...@afceurope.com wrote

Re: [Pharo-users] Pharo 32 bits

2014-09-30 Thread Annick Fron
. On 29 Sep 2014, at 12:57, Annick Fron l...@afceurope.com wrote: Is it possible to download a 32 bits linux pharo vm ? Annick

[Pharo-users] Alien datasize

2014-09-30 Thread Annick Fron
Hi, I am very surprised to see that : Alien newC: has 8 bytes (data size = 8) , which is consistent with a 64 bit architecture but not with a 32 one ! What is the problem ? Annick

[Pharo-users] Pharo 32 bits

2014-09-29 Thread Annick Fron
Is it possible to download a 32 bits linux pharo vm ? Annick

[Pharo-users] How to set a white background with Spec ?

2014-09-26 Thread Annick Fron
Hi, I am using a window with spec, where can I define a white background for it ? Annick

[Pharo-users] Threaded callbacks with FFI

2014-09-25 Thread Annick Fron
Hi, I am calling C from pharo with a callback, and it seems the callback is called in another thread. I can’t wrap the block in a process, because the return will be wrong, how can I do ??? Annick

Re: [Pharo-users] Threaded callbacks with FFI

2014-09-25 Thread Annick Fron
OK I try do do that. Le 25 sept. 2014 à 12:18, p...@highoctane.be a écrit : Le 25 sept. 2014 11:32, Annick Fron l...@afceurope.com a écrit : Hi, I am calling C from pharo with a callback, and it seems the callback is called in another thread. I can’t wrap the block in a process

[Pharo-users] FFI on Linux again

2014-09-25 Thread Annick Fron
Hi, I Have tried the following code on Linux , but the call breaks. Is it because of the X11Window structure missing or else ? Annick testGetOurWindowLocation self new testGetOurWindowLocation | display ourWindow aParent anX anY aWidth aHeight aBorderWidth aDepth | display :=

Re: [Pharo-users] Forcing a library to load

2014-09-23 Thread Annick Fron
And with FFI and Alien ? Do FFI Alien and NativeBoost share the same libraries ? Le 22 sept. 2014 à 21:19, p...@highoctane.be a écrit : NativeBoost has loadModule: aModuleName which should do the trick. Phil ​

Re: [Pharo-users] FFI examples on Linux don't work

2014-09-23 Thread Annick Fron
' in the XWindows example and this gave me a window reference. The next problem was that it broke after that. But I got the handle. Try with that, it may help. Phil On Mon, Sep 22, 2014 at 10:02 PM, Annick Fron l...@afceurope.com wrote: Thanks you The problem is I wanted to use X windows

[Pharo-users] FFI examples on Linux don't work

2014-09-22 Thread Annick Fron
Hi, I have posted a bug about this in fogbugz. FFI example on Linux don’t work X11Display coloredRectangles raises an error « coud not coerce arguments ». In fogbugz, I was asked to raise this question in the mailing list, to know if it comes from the VM or from FFI. Annick

[Pharo-users] Forcing a library to load

2014-09-22 Thread Annick Fron
Hi, How is it possible to force a library to load ? Namely I have large libraries on linux which depend on each other. I discovered that the equivalent code in C runs, but not in pharo using FFI, and one problem was that a dependent library was not loaded. Annick

Re: [Pharo-users] FFI examples on Linux don't work

2014-09-22 Thread Annick Fron
work. So, it is X11 or something else, I do not know. Phil On Mon, Sep 22, 2014 at 4:39 PM, Ben Coman b...@openinworld.com wrote: Annick Fron wrote: Hi, I have posted a bug about this in fogbugz. FFI example on Linux don’t work X11Display coloredRectangles raises an error

Re: [Pharo-users] Module not found in FFI

2014-09-19 Thread Annick Fron
Oh it’s possible the dependent libraries have problems Le 19 sept. 2014 à 10:40, Annick Fron l...@afceurope.com a écrit : I constantly get an error « module not found » in FFI using the latest 3.0 VM from yesterday. Yet my link does exist, and I have used that a lot of time before

[Pharo-users] Calling Pharo from C

2014-09-18 Thread Annick Fron
Is it possible to call pharo from C ? Annick

[Pharo-users] Looking for contracts

2014-09-17 Thread Annick Fron
Hi, I am looking for contracts right now. Annick Fron = Annick Fron - 04 93 22 88 18 AFC Europe B.P. 111 977 avenue du Docteur Julien Lefebvre 06271 Villeneuve-Loubet Cedex France http://www.afceurope.com Livre Architectures Reparties en Java paru le 5/09/2012 http

[Pharo-users] Cast in FFI

2014-09-16 Thread Annick Fron
How is it possible to do a cast in FFI ? Annick

[Pharo-users] Frame Buffer

2014-09-12 Thread Annick Fron
Any body knows how to map a frame buffer /dev/fb0 under linux to a morph ? Annick

[Pharo-users] FFI callbacks

2014-09-09 Thread Annick Fron
In order to use the callbacks, I need to write a pragma in the Callback class for the signature. My signature is something like (where ulong means pointer) void (ulong ulong long long ulong) Can you help me ? Here is an example for another signature : !Callback methodsFor: 'signatures'

[Pharo-users] FFI signatures

2014-09-09 Thread Annick Fron
What signature should I use for a callback ? ‘ulong’ does not seem to work Annick

Re: [Pharo-users] FFI signatures

2014-09-09 Thread Annick Fron
, is the way it works now :) Esteban On 09 Sep 2014, at 12:00, Annick Fron l...@afceurope.com wrote: What signature should I use for a callback ? ‘ulong’ does not seem to work Annick

[Pharo-users] PharoS

2014-09-08 Thread Annick Fron
What is the difference between pharoS and pharo ? Annick

Re: [Pharo-users] PharoS

2014-09-08 Thread Annick Fron
Thanks to all Le 8 sept. 2014 à 10:14, Sven Van Caekenberghe s...@stfx.eu a écrit : Hi Annick, On 08 Sep 2014, at 09:26, Annick Fron l...@afceurope.com wrote: What is the difference between pharoS and pharo ? Annick At one point there was just the standard Squeak VM. Then Eliot

[Pharo-users] Timeout when loading FFI

2014-09-08 Thread Annick Fron
Hi, I have tried to load FFI stable version using the configuration browser and I get a timeout. What is the problem ? Annick

[Pharo-users] Arrays in FFI

2014-09-08 Thread Annick Fron
How would you describe in FFI the fields of an External Structure with a field as an array of long of length 4 ? int format[4] Annick

[Pharo-users] Smalltalk platform

2014-09-05 Thread Annick Fron
I have a bug on OldAlien on pharo 3 because it is asking SmalltalkImage current platformName What is the replacement ? Annick

[Pharo-users] ImageSpecExample open does not work

2014-08-25 Thread Annick Fron
ImageSpecExample open raises many bugs, I was not able to correct them. Annick

Re: [Pharo-users] FFI with compile flags

2014-08-15 Thread Annick Fron
can call a function but it needs to know where is your library. Stef On 13/8/14 15:46, Annick Fron wrote: I want to interface some pharo code with gstreamer. But gstreamer does not come up with a dylib, it requires compilation flags for instance for a C program. The compile options

[Pharo-users] FFI with compile flags

2014-08-13 Thread Annick Fron
Hi, I would like to compile a FFI program but the compiling implies compile flags like in the following : gcc -Wall helloworld.c -o helloworld $(pkg-config --cflags --libs gstreamer-1.0) How do I do this with FFI ? Annick

Re: [Pharo-users] FFI with compile flags

2014-08-13 Thread Annick Fron
/helloWorld.dylib' Regards, Clement 2014-08-13 11:55 GMT+02:00 Annick Fron i...@afceurope.com: Hi, I would like to compile a FFI program but the compiling implies compile flags like in the following : gcc -Wall helloworld.c -o helloworld $(pkg-config --cflags --libs gstreamer-1.0) How do I

[Pharo-users] FFI on Linux

2014-07-11 Thread Annick Fron
What should be the name of the module in FFI on Linux ? For instance, if there is a shared lib under /usr/lib named gstreamer-1.0 should it be the name of the shared lib or of a module like libgstreamer-1.0.so ? Do I need to put the full path to the lib or is /usr/lib understood by the call ?

[Pharo-users] MNU: RBParserExternalFunctionDeclaration

2014-07-10 Thread Annick Fron
?). Perhaps someone who knows how to use FFI can give a better answer. Esteban ? Guille ? 2014-07-09 16:39 GMT+02:00 Annick Fron i...@afceurope.com: Hi, I am trying to use FFI on linux with pharo 3 using version 31 of FFI. I have written the following method : apicall: int

[Pharo-users] FFI Basic

2014-07-10 Thread Annick Fron
Hi, I made another attempt , a very basic one on window : trying to use the abs method in the standard lib. abs: aNumber apicall: int 'abs' (int) module: 'c:\windows\system32\msvcr100.dll' self externalCallFailed I get the error ‘cannot return the given type’. But now if I use long as

[Pharo-users] Dependencies in Monticello

2014-07-09 Thread Annick Fron
Hi, I am trying to load Gstreamer from squeak source in Pharo 3.0, but it depends on VMMaker, and I don’t know how to get the whole dependency tree. Has anybody tried it ? Annick Fron

[Pharo-users] Using FFI

2014-07-09 Thread Annick Fron
of arguments » Annick Fron

[Pharo-users] French OS

2014-05-28 Thread Annick Fron
On ne rigole pas … http://www.programmez.com/node/20771 Le 28 mai 2014 à 09:49, Jean Baptiste Arnaud jbaptiste.arn...@gmail.com a écrit : So the code has not been ported ... yet. StateTracker is a Roassal3D mecanism, that should not been used in standards OpenGL. Using R3StateTracker

Re: [Pharo-users] Using FFI

2013-11-06 Thread Annick Fron
AM, Annick Fron i...@afceurope.com wrote: I hâve thé error on Windows Envoyé de mon iPod Le 31 oct. 2013 à 14:51, Igor Stasenko siguc...@gmail.com a écrit : On 31 October 2013 11:23, Annick Fron i...@afceurope.com wrote: Hi Igor I have done that, but still gets an error, do I

Re: [Pharo-users] Using FFI

2013-10-31 Thread Annick Fron
I hâve thé error on Windows Envoyé de mon iPod Le 31 oct. 2013 à 14:51, Igor Stasenko siguc...@gmail.com a écrit : On 31 October 2013 11:23, Annick Fron i...@afceurope.com wrote: Hi Igor I have done that, but still gets an error, do I need to remove NativeBoost ? Annick FFI

[Pharo-users] Using FFI

2013-10-29 Thread Annick Fron
Hi I want to launch a simple init with the following C signature : void gst_init (int *argc, char **argv[]) If I write apicall: void 'gst_init' (int*, char**) module: 'blabla' I get a Smalltalk syntax error Annick Fron

[Pharo-users] Gstreamer

2013-10-18 Thread Annick Fron
will be in the Gstreamer conference next week in Edimburg. Annick Fron