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
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
:= 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
Hi,
Are there some libraries in pharo to do remote calls like in Opentalk or Corba ?
Annick
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
: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
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
. 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
, 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
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 :-
Hi,
Is it possible to get the documentation of the socket api signature, because
otherwise I am unable to setup a UDP server ?
Annick
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
Hi,
I was not able to find a UDP example in pharo.
There are only TCP examples.
Any pointer ?
Annick
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
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
.
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
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
Is it possible to download a 32 bits linux pharo vm ?
Annick
Hi,
I am using a window with spec, where can I define a white background
for it ?
Annick
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
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
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 :=
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
' 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
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
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
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
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
Is it possible to call pharo from C ?
Annick
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
How is it possible to do a cast in FFI ?
Annick
Any body knows how to map a frame buffer /dev/fb0 under linux to a morph ?
Annick
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'
What signature should I use for a callback ?
‘ulong’ does not seem to work
Annick
, 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
What is the difference between pharoS and pharo ?
Annick
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
Hi,
I have tried to load FFI stable version using the configuration browser and I
get a timeout.
What is the problem ?
Annick
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
I have a bug on OldAlien on pharo 3 because it is asking
SmalltalkImage current platformName
What is the replacement ?
Annick
ImageSpecExample open
raises many bugs, I was not able to correct them.
Annick
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
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
/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
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
?
?).
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
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
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
of arguments »
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
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
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
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
will be in the Gstreamer conference next week in Edimburg.
Annick Fron
54 matches
Mail list logo