Re: [Pharo-users] Fast Table: How to solve dependency on FTTreeDataSource

2015-11-08 Thread Offray Vladimir Luna Cárdenas

Dear Stephan,

Thanks for your quick answer and your pretty detailed information on 
SQLite optimization. Because my data was taken from several files, what 
I did was to split the importation into the database in several batches 
of 10 files at the time. That did it.


Cheers,

Offray

On 08/11/15 17:39, Stephan Eggermont wrote:

On 08/11/15 22:55, Offray Vladimir Luna Cárdenas wrote:

In fact seems that my problem is not that. Is to storage a "large"
Smalltalk collection (10k items) in a SQLite database. When I try to do
it the environment becomes unresponsive. Any hint on how to do it is
welcomed.


How are you using SQLite? You might get some improvement ideas from
http://stackoverflow.com/questions/1711631/improve-insert-per-second-performance-of-sqlite 



Is the performance ok if you just commit a fuel-ed collection to a 
blob field?


Stephan








Re: [Pharo-users] Fast Table: How to solve dependency on FTTreeDataSource

2015-11-08 Thread Stephan Eggermont

On 08/11/15 22:55, Offray Vladimir Luna Cárdenas wrote:

In fact seems that my problem is not that. Is to storage a "large"
Smalltalk collection (10k items) in a SQLite database. When I try to do
it the environment becomes unresponsive. Any hint on how to do it is
welcomed.


How are you using SQLite? You might get some improvement ideas from
http://stackoverflow.com/questions/1711631/improve-insert-per-second-performance-of-sqlite

Is the performance ok if you just commit a fuel-ed collection to a blob 
field?


Stephan




Re: [Pharo-users] Fast Table: How to solve dependency on FTTreeDataSource

2015-11-08 Thread Offray Vladimir Luna Cárdenas

Well,

In fact seems that my problem is not that. Is to storage a "large" 
Smalltalk collection (10k items) in a SQLite database. When I try to do 
it the environment becomes unresponsive. Any hint on how to do it is 
welcomed.


Cheers,

Offray

On 08/11/15 16:18, Offray Vladimir Luna Cárdenas wrote:

Hi,

I'm making some data storage in SQLite, because of its self-contained 
nature and because it let me focus on visualization by delegating some 
query and storage matters to the little database. But for some moments 
I have the data in an ordered collection, which starts to lag for 
10.000 items. I would like to explore fast table as a way to storage 
my temporal objects before putting them in the database, but when I'm 
trying to install Glamour-FastTable there is a warning message about a 
dependency on FTTreeDataSource. I tried running the following code:


=
 Gofer it
smalltalkhubUser: 'estebanlm' project: 'FastTable';
package: 'FTTreeDataSource';
load.
=

but is not working. How can I solve that dependency?

Thanks,

Offray

Ps: See some of you soon in Smalltalks Argentina. I'm already on 
Buenos Aires. Is a really beautiful city and having the opportunity to 
reconnect face to face with smalltalkers will be great after my last 
Squeak Fest talk in 2007.








[Pharo-users] Fast Table: How to solve dependency on FTTreeDataSource

2015-11-08 Thread Offray Vladimir Luna Cárdenas

Hi,

I'm making some data storage in SQLite, because of its self-contained 
nature and because it let me focus on visualization by delegating some 
query and storage matters to the little database. But for some moments I 
have the data in an ordered collection, which starts to lag for 10.000 
items. I would like to explore fast table as a way to storage my 
temporal objects before putting them in the database, but when I'm 
trying to install Glamour-FastTable there is a warning message about a 
dependency on FTTreeDataSource. I tried running the following code:


=
 Gofer it
smalltalkhubUser: 'estebanlm' project: 'FastTable';
package: 'FTTreeDataSource';
load.
=

but is not working. How can I solve that dependency?

Thanks,

Offray

Ps: See some of you soon in Smalltalks Argentina. I'm already on Buenos 
Aires. Is a really beautiful city and having the opportunity to 
reconnect face to face with smalltalkers will be great after my last 
Squeak Fest talk in 2007.




Re: [Pharo-users] Is there a way to disable code critic ?

2015-11-08 Thread Dimitris Chloupis
thanks that solves my problems

On Sun, Nov 8, 2015 at 6:29 PM Juraj Kubelka 
wrote:

> In Nautilus Plugin Manager, you can disable the plugin. It is accesible
> from Nautilus window, in right-top corner.
>
> Cheers,
> Juraj
>
> > 8. 11. 2015 v 13:06, Dimitris Chloupis :
> >
> > Code critic is malfunctioning in my image as i mention in pharo-dev
> thread, I want to disable it but I could not find it in the Settings
> because my problems with it have been getting much worse as it throws MNUs
> even for mouse clicks. How may I do this ?
>
>
>


Re: [Pharo-users] Using Google service discovery API's with Pharo Smalltalk by Richard J. Prinz

2015-11-08 Thread stepharo

Hi sean

I did not get the time to look at the code but do you think that there 
are meta operations such as compiling code
I was planning to have a look if I can use it as an example for a 
reflection lecture.


Stef

Le 7/11/15 18:16, Sean P. DeNigris a écrit :

Sean P. DeNigris wrote

Andy Burnett wrote

Using Google service discovery API's with Pharo Smalltalk by Richard J.
Prinz

Cool! I noticed a small bug

I created a new repo at https://github.com/seandenigris/St-Google-API since
the original repo is self-hosted, I don't know what the contribution policy
is, and I need the fix to continue my work. I'll keep the MC meta info so
that my changes can be merged back if desired.

Fun fact. I was able to send a multipart text & html email after a few
gotchas. Here is the script in case someone wants to do the same:
| api message raw |
api := GoogleGmailApiUsersMessages new.
api authenticate.
message := MailMessage
from: '"Mr. Sender" '
to: { '"Mrs. Receiver" '. }
about: 'Thank you!'
asFollows: ''.
message
addAlternativePart: self plainTextString contentType: 
'text/plain';
addAlternativePart: self htmlString
contentType: 'text/html'.
raw := message asSendableText base64Encoded.
"Web-safe base64 from
https://stackoverflow.com/questions/26663529/invalid-value-for-bytestring-error-when-calling-gmail-send-api-with-base64-encod";
raw := raw copyReplaceAll: '+' with: '-'.
raw := raw copyReplaceAll: '/' with: '_'.
api send: 'm...@myurl.com' api options: (Dictionary with: 'raw' -> raw)

where #send:options: is just the generated #send: with an argument passed
through (instead of nil) as the last argument to:
...
^ self makeRequestTo: path usingMethod: action with: optionsDict.



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Using-Google-service-discovery-API-s-with-Pharo-Smalltalk-by-Richard-J-Prinz-tp4814538p4859733.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.







Re: [Pharo-users] Is there a way to disable code critic ?

2015-11-08 Thread Juraj Kubelka
In Nautilus Plugin Manager, you can disable the plugin. It is accesible from 
Nautilus window, in right-top corner.

Cheers,
Juraj

> 8. 11. 2015 v 13:06, Dimitris Chloupis :
> 
> Code critic is malfunctioning in my image as i mention in pharo-dev thread, I 
> want to disable it but I could not find it in the Settings because my 
> problems with it have been getting much worse as it throws MNUs even for 
> mouse clicks. How may I do this ? 




Re: [Pharo-users] Is there a way to disable code critic ?

2015-11-08 Thread Ferlicot D. Cyril
Le 08/11/2015 17:06, Dimitris Chloupis a écrit :
> Code critic is malfunctioning in my image as i mention in pharo-dev
> thread, I want to disable it but I could not find it in the Settings
> because my problems with it have been getting much worse as it throws
> MNUs even for mouse clicks. How may I do this ?

If this is the QAPlugin of Nautilus that is responsible, you can click
on the little arrow at the top right of Nautilus then remove QAPlugin
with the Nautilus Plugin Manager.

-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature


[Pharo-users] Is there a way to disable code critic ?

2015-11-08 Thread Dimitris Chloupis
Code critic is malfunctioning in my image as i mention in pharo-dev thread,
I want to disable it but I could not find it in the Settings because my
problems with it have been getting much worse as it throws MNUs even for
mouse clicks. How may I do this ?


Re: [Pharo-users] Smalltalk Meetup in Zürich: Nov 10, 2015

2015-11-08 Thread Sabine Manaa
Hi Joachim,

thank you for organizing! 
I will be there.

see you
Sabine



--
View this message in context: 
http://forum.world.st/Smalltalk-Meetup-in-Zurich-Nov-10-2015-tp4857238p4859760.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.