Re: [Pharo-users] Prepared statements with PostgresV2

2013-10-29 Thread Esteban A. Maringolo
Hi Yanni, Then how do people sanitize the values to avoid SQL Injection? I remember using prepared statements with PG back in PG 6.x with Perl's DBD::Pg, it was the recommended practice back then (circa '00). As another example, some years ago we had some CPU issues with the DB server (Oracle 9

[Pharo-users] CogVM arguments in Win32

2013-10-29 Thread Bernat Romagosa
Hi list! I've never used Pharo on Windows before, but we're starting to package a multi-platform app right now and I've just found out command line arguments don't work like I thought they would. I need to run the image headless, so I figured: bin-win32\Pharo -headless shared\Pharo2.0.image Woul

Re: [Pharo-users] CogVM arguments in Win32

2013-10-29 Thread Bernat Romagosa
Ok, I see Pharo -help brings up a window with command line options, but -headless is still firing up the GUI... any ideas? 2013/10/29 Bernat Romagosa > Hi list! > > I've never used Pharo on Windows before, but we're starting to package a > multi-platform app right now and I've just found out co

[Pharo-users] Slides of my Lecture this morning..

2013-10-29 Thread Marcus Denker
Hi, I am just visiting Jordi Delgado in Barcelona and I gave a lecture in his course this morning. “Advanced Reflection in Pharo”, this is meant to be a lecture after an introduction to standard Smalltalk reflection. SlideShare http://www.slideshare.net/MarcusDenker/lecture-27685035 P

Re: [Pharo-users] Slides of my Lecture this morning..

2013-10-29 Thread Sven Van Caekenberghe
Thanks for sharing, Marcus, I really appreciate this. It is cool to know that we have already slots under the hood, and that much more application are on their way. Sven On 29 Oct 2013, at 13:02, Marcus Denker wrote: > Hi, > > I am just visiting Jordi Delgado in Barcelona and I gave a lectur

Re: [Pharo-users] Slides of my Lecture this morning..

2013-10-29 Thread Marcus Denker
On 29 Oct 2013, at 13:38, Sven Van Caekenberghe wrote: > Thanks for sharing, Marcus, I really appreciate this. > > It is cool to know that we have already slots under the hood, and that much > more application are on their way. > Slot allInstances size ==> 7128 :-) Marcus

Re: [Pharo-users] Slides of my Lecture this morning..

2013-10-29 Thread Sven Van Caekenberghe
On 29 Oct 2013, at 13:40, Marcus Denker wrote: > > On 29 Oct 2013, at 13:38, Sven Van Caekenberghe wrote: > >> Thanks for sharing, Marcus, I really appreciate this. >> >> It is cool to know that we have already slots under the hood, and that much >> more application are on their way. >> >

Re: [Pharo-users] Slides of my Lecture this morning..

2013-10-29 Thread Martin Dias
And even the class Slot could be compact (it's not right now) On Tue, Oct 29, 2013 at 1:49 PM, Sven Van Caekenberghe wrote: > > On 29 Oct 2013, at 13:40, Marcus Denker wrote: > > > > > On 29 Oct 2013, at 13:38, Sven Van Caekenberghe wrote: > > > >> Thanks for sharing, Marcus, I really appreci

Re: [Pharo-users] Slides of my Lecture this morning..

2013-10-29 Thread Tudor Girba
Great material. Doru On Tue, Oct 29, 2013 at 2:01 PM, Martin Dias wrote: > And even the class Slot could be compact (it's not right now) > > > On Tue, Oct 29, 2013 at 1:49 PM, Sven Van Caekenberghe wrote: > >> >> On 29 Oct 2013, at 13:40, Marcus Denker wrote: >> >> > >> > On 29 Oct 2013, at 1

[Pharo-users] Pharo Sprint in Buenos Aires Nov 7th

2013-10-29 Thread Gisela Decuzzi
Hello, we are organizing a Pharo Sprint in Bs As: When: November 7th, starting at 10:00 am Where: 10 Pines (Av Leandro N. Alem 693 5°B)

Re: [Pharo-users] Pharo Sprint in Buenos Aires Nov 7th

2013-10-29 Thread Benjamin
Cool :P Ben On 29 Oct 2013, at 14:15, Gisela Decuzzi wrote: > Hello, we are organizing a Pharo Sprint in Bs As: > > When: November 7th, starting at 10:00 am > Where: 10 Pines (Av Leandro N. Alem 693 5°B) > >

Re: [Pharo-users] CogVM arguments in Win32

2013-10-29 Thread Igor Stasenko
try double-dashed option: from vm/sqWin32Intel.c : else if (!strcmp(argv[0], "--headless")) { fHeadlessImage = true; return 1; } this is really a mess with VM options handled differently on different OSes. On 29 October 2013 11:14, Bernat Romagosa wrote: > Ok, I see Pharo -help brings up a

Re: [Pharo-users] CogVM arguments in Win32

2013-10-29 Thread Esteban Lorenzano
AFAIK you can't. no matter what you do, it stills shows a pharo in the trial. I remember once I hid the fact that I had the app running there by replacing the world with an "administrative morph" (just as other server apps do). It was not terrible cool, but it worked. Esteban On Oct 29, 201

Re: [Pharo-users] [Pharo-dev] Slides of my Lecture this morning..

2013-10-29 Thread Marcus Denker
On 29 Oct 2013, at 14:02, Martin Dias wrote: > And even the class Slot could be compact (it's not right now) > Yes, that is easy to do and costs nothing. Protocol should be compact, too. I will do that. Marcus > > On Tue, Oct 29, 2013 at 1:49 PM, Sven Van Caekenberghe wrote: > >

[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 I get a Smalltalk syntax error Annick Fron

Re: [Pharo-users] Using FFI

2013-10-29 Thread Igor Stasenko
On 29 October 2013 16:27, Annick Fron wrote: > Hi > > I want to launch a simple init with the following C signature : > > void gst_init (int *argc, char **argv[]) > > If I write > > > > I get a Smalltalk syntax error > > Annick Fron > > To use this syntax, you must load old FFI implementation. O

Re: [Pharo-users] Prepared statements with PostgresV2

2013-10-29 Thread Yanni Chiu
On 29/10/2013 4:56 AM, Esteban A. Maringolo wrote: I remember using prepared statements with PG back in PG 6.x with Perl's DBD::Pg, it was the recommended practice back then (circa '00). Hmm, you're right. Prepared statements are independent of the frontend/backend protocol that I had tunnel

Re: [Pharo-users] Pharo Sprint in Buenos Aires Nov 7th

2013-10-29 Thread Hernán Morales Durand
What is the agenda? I would like to create UI visually. Any interest on this? Hernán 2013/10/29 Gisela Decuzzi > Hello, we are organizing a Pharo Sprint in Bs As: > > When: November 7th, starting at 10:00 am > Where: 10 Pines (Av Leandro N. Alem 693 5°B) > > >

Re: [Pharo-users] Prepared statements with PostgresV2

2013-10-29 Thread Yanni Chiu
On 29/10/2013 9:32 PM, Yanni Chiu wrote: Looking at the postgres docs, I see PREPARE and EXECUTE. I'll try to start up a postgres server, and see if I can get it to work. Here's an example: TestPGConnection new executeAll: #( 'PREPARE test1 (text,text,integer,text) AS INSERT INTO films (c