Re: [Pharo-users] Citizen example for manipulating a bibtex file

2014-11-17 Thread Offray Vladimir Luna Cárdenas
Hi Sven, Sorry for my late response. The constructive comments on the list and yours in particular are very valuable to my. I was finishing some details, so only until now I have the time to implement your suggestions. The new code for custom keys on bibtex files from pharo is published at [1

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Markus Fritsche
On 2014-11-17 23:14, Brad wrote: I think it's "(Smalltalk at: #NBPharoOpenDBX) installAsCurrent. That sounds familiar. But since I didn't read a "hooray", I guess that didn't do the trick either? Off for some sleep

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Brad
I think it's "(Smalltalk at: #NBPharoOpenDBX) installAsCurrent. Brad Selfridge 913-269-2385 > On Nov 17, 2014, at 3:35 PM, Markus Fritsche wrote: > > Hi, > > So as far as I can see, you have all dependencies... > > I remember that I had to reinitialize the OpenDBX libraries to change the > a

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Brad
How would one re-initialize OpenDBX libraries? Brad Selfridge 913-269-2385 > On Nov 17, 2014, at 3:35 PM, Markus Fritsche wrote: > > Hi, > > So as far as I can see, you have all dependencies... > > I remember that I had to reinitialize the OpenDBX libraries to change the > adaptor to the na

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Markus Fritsche
Hi, So as far as I can see, you have all dependencies... I remember that I had to reinitialize the OpenDBX libraries to change the adaptor to the native library calls (from FFI to NBPharoOpenDBX or similar). Unfortuanetly, I don't have the image at hand.

Re: [Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-17 Thread Alain Rastoul
our referential world is very restricted, whatever area we are talking about Le 17/11/2014 21:04, Alain Rastoul a écrit : you are saying that zip ratio is somewhat related to normalized data, interesting view, and certainly true :) And right, this somewhat normalize all fields, a technique use

Re: [Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-17 Thread Alain Rastoul
you are saying that zip ratio is somewhat related to normalized data, interesting view, and certainly true :) And right, this somewhat normalize all fields, a technique used in specialized columnstore databases (monetdb and others), often BI databases with id representing values (that were my ex

Re: [Pharo-users] Opentalk or remoting libraries

2014-11-17 Thread Alain Rastoul
For a machine to machine connection, there will be no direct memory reference but under the hood some socket connection with a tcp server and client, and some marshalling of arguments that is to say some serialization. I'm not sure it would be really faster than websocket and Fuel, because it w

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Brad Selfridge
On 11/17/2014 11:37 AM, Markus Fritsche wrote: sudo apt-get install libopendbx1:i386 libopendbx1-mysql:i386 brad@brads-linux-laptop:~$ sudo apt-get install libopendbx1:i386 libopendbx1-mysql:i386 [sudo] password for brad: Reading package lists... Done Building dependency tree Reading state

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Markus Fritsche
Hello Brad, as far as I can tell, you have the 32 bit mysql client libraries installed (don't worry, the 64 and 32 bit version can coexist) - but I am not sure about opendbx. Please try sudo apt-get install libopendbx1:i386 libopendbx1-mysql:i386 Best regards, Markus

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread bsselfri...@gmail.com
The "libmysqlclient18:amd64" looks suspicious. brad@brads-linux-laptop:~$ sudo dpkg -l | grep mysql | awk ' { print $2 } ' libdbd-mysql-perl libmysqlclient18:amd64 libmysqlclient18:i386 libmysqlcppconn7 libopendbx1-mysql libqt4-sql-mysql:i386 mysql-client mysql-client-5.5 mysql-client-core-5.5 m

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Markus Fritsche
Hello Brad, On 2014-11-17 17:34, bsselfri...@gmail.com wrote: My database is 64 bit on my 64bit Ubuntu machine. However, on my 32bit Ubuntu 14.04 machine, I have a 64 debian VM running that has a 64bit MySQL running which I can access just fine from 32bit host machine running Pharo. I woul

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread bsselfri...@gmail.com
My database is 64 bit on my 64bit Ubuntu machine. However, on my 32bit Ubuntu 14.04 machine, I have a 64 debian VM running that has a 64bit MySQL running which I can access just fine from 32bit host machine running Pharo. - Brad Selfridge -- View this message in context: http://forum.worl

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread bsselfri...@gmail.com
Ill have to check Brad Selfridge 913-269-2385 > On Nov 17, 2014, at 9:41 AM, Stephan Eggermont [via Smalltalk] > wrote: > > Hi Brad, > > You don't tell us if your MySQL is 32 bit? > > Stephan > > > > If you reply to this email, your message will be added to the discussion > below: > h

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Stephan Eggermont
Hi Brad, You don't tell us if your MySQL is 32 bit? Stephan

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread bsselfri...@gmail.com
It looks like eveything is there. This configuration looks almost identical to my 32os machine. root@brads-linux-laptop:/usr/lib# ldd libopendbx.so.1.2.0 linux-gate.so.1 => (0xf76df000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76b8000) libc.so.6 => /lib/i386-lin

Re: [Pharo-users] MultiByteFileStream problem

2014-11-17 Thread José Comesaña
Thank you for the idea Phil, but I'd like the same code to work both on OSX and Windows. I don't like calling OS commands, either (my fault, I know...) 2014-11-17 11:30 GMT+01:00 p...@highoctane.be : > I do not know which OS you are on. > > But I have solved a similar problem by calling tail -5

Re: [Pharo-users] MultiByteFileStream problem

2014-11-17 Thread p...@highoctane.be
I do not know which OS you are on. But I have solved a similar problem by calling tail -5 through OSProcess on Linux for a quick fix. tac file can also help to read a file in reverse. Phil On Mon, Nov 17, 2014 at 10:20 AM, José Comesaña wrote: > Thank you Sven. > > I an trying to read a v

Re: [Pharo-users] Opentalk or remoting libraries

2014-11-17 Thread Norbert Hartl
Using fuel should be way faster than plain textual serialization. A direct copy of memory would be theoretically faster but you would need to manage references anyway so it is not clear what can be gained. Norbert > Am 17.11.2014 um 11:05 schrieb Annick Fron : > > Thank you, > My need is on a

Re: [Pharo-users] Opentalk or remoting libraries

2014-11-17 Thread Annick Fron
Thank you, My need is on a local network from machine to machine, in real time is possible, so no security involved. I would have preferred something more performant than web services or XMLRPC, since both serialization and XML serialization are slow. Annick Le 13 nov. 2014 à 20:17, Sven Van Cae

Re: [Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-17 Thread Stephan Eggermont
Open package contents on your vm, open Contents, take a look at the info.plist SqueakMaxHeapSize 541065216 That value needs to be increased to be able to use more than ~512 MB. Alain wrote: >Let say it's your current requirement, and you want to do it like that, >a trick that m

Re: [Pharo-users] pharo consultants

2014-11-17 Thread Sven Van Caekenberghe
OK, I will redo that page - please send updates. > On 17 Nov 2014, at 10:24, Stephan Eggermont wrote: > > Norbert wrote: >> I forgot how people can add themselves. I remember a smalltalk snippet that >> one can send around to update the list. > > That doesn't run automatically. There are alrea

Re: [Pharo-users] pharo consultants

2014-11-17 Thread Stephan Eggermont
Norbert wrote: > I forgot how people can add themselves. I remember a smalltalk snippet that > one can send around to update the list. That doesn't run automatically. There are already some updates waiting. Stephan The script looks like: PharoConsultant new name: ’Stephan Eggermont'; locatio

Re: [Pharo-users] MultiByteFileStream problem

2014-11-17 Thread José Comesaña
Thank you Sven. I an trying to read a vry long log file, and extract the last 5 messages for the user to see them. Reading the whole file from the beginning is too expensive. So maybe I could try reading backwards from the end using binary mode and look for a lf... I have to think about it a l

Re: [Pharo-users] MultiByteFileStream problem

2014-11-17 Thread Sven Van Caekenberghe
Hi José, > On 17 Nov 2014, at 02:06, José Comesaña wrote: > > There is an annoying error in MultiByteFileStream, reading back when you have > a unicode character. It is also the cause of some FileOut errors. Your can > reproduce it this way: > > testString := 'abcdé'. > filename := 'test.txt'

Re: [Pharo-users] Polygons in woden

2014-11-17 Thread Nicolas Lusa
Hi, sorry for the late response. Thanks a lot for the hints. Though I didn't explain me well enough for what concern the shades. What I actually meant is how light gets reflected from the object. If I build a cube with: addCubeWithWidth I get a nicely dark effect on the walls of the object when