Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread Юрий Мироненко
If your are using at least Pharo 4.0, you can use the catalog browser to load the ConfigurationOfTabular directly. You have only publish it for MetaRepoForPharo50, so it didn't work for Pharo 4. BUt, thanks to your explanations, I just have published in MetaRepoForPharo40 as well - works like char

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread Юрий Мироненко
> > I see that you implement a SAXparser. Could you please elaborate a > bit why the one in the XML-Parser package does not do the job? > SAXParser from Tabular is a subclass of one from XML-Parser. It just make the job even easier - it handles "registered" elements so you can define methods like

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread Юрий Мироненко
> > What about > http://rmod.lille.inria.fr/deepIntoPharo/index.html > > p. 163 depending on a project without Metacello description > p. 164, depending on a project with a Metacello configuration > Thank you, Hannes, it's very useful. are you implying that there is no expression of dependencies

Re: [Pharo-users] gettings real senders

2015-08-08 Thread Mariano Martinez Peck
What I do in that case is that I select the text "WriteStream on:" and "method source with it". But of course, a class side search would be nice. On Sat, Aug 8, 2015 at 10:07 PM, Ben Coman wrote: > On Sun, Aug 9, 2015 at 3:25 AM, Peter Uhnák wrote: > > So there's method CompiledMethod>>senders,

Re: [Pharo-users] gettings real senders

2015-08-08 Thread Ben Coman
On Sun, Aug 9, 2015 at 3:25 AM, Peter Uhnák wrote: > So there's method CompiledMethod>>senders, > but the problem is that it just looks for the message symbol and not class. > > so for example: > ~ > (WriteStream>>on:) senders > ~ > will also include Object>

Re: [Pharo-users] direct image code exchange

2015-08-08 Thread Offray Vladimir Luna Cárdenas
Hi Juraj, At the last data week and in the workshops, we have an interesting user case: sharing code snippets between assistants to the workshop. For that we setup an Etherpad at the beginning of the workshop where we share notes and code snippets by their url on http://ws.stfx.eu. This has w

Re: [Pharo-users] MongoDB: console commands? query embedded indexed fields?

2015-08-08 Thread Norbert Hartl
> Am 08.08.2015 um 10:38 schrieb Sabine Manaa : > > Hi Norbert, > > lol, I had to google that: https://en.wikipedia.org/wiki/Heisenbug > funny but that's it. It is always a good feeling when I know what the reason > for a certain behavior is. > Now I can proceed with the implementation of the

Re: [Pharo-users] System Windows not closing on using #close

2015-08-08 Thread Stephan Eggermont
On 08/08/15 20:43, Jigyasa Grover wrote: Oh Thank You Ben. It was indeed a very nice explanation. :) I was able to resolve my issue perfectly. But changing the code snippet to: *--- #initialize . . . boxWindow := box openIn

Re: [Pharo-users] MSOffice DOCX generation?

2015-08-08 Thread Юрий Мироненко
Sorry if I was crude - it was not my intention :) I just spotted your question and have started investigation, and I just wanted to show that I'm in process of answering and answer will soon be here. Unfortunately, unexpected emergency happened...well, anyway: Using of TabularExperimenting is very

[Pharo-users] gettings real senders

2015-08-08 Thread Peter Uhnák
So there's method CompiledMethod>>senders, but the problem is that it just looks for the message symbol and not class. so for example: ~ (WriteStream>>on:) senders ~ will also include Object>>asBrick Object>>asBrick ^ GLMMorphBrick on: self asMorph because

Re: [Pharo-users] System Windows not closing on using #close

2015-08-08 Thread Jigyasa Grover
Oh Thank You Ben. It was indeed a very nice explanation. :) I was able to resolve my issue perfectly. But changing the code snippet to: *--- #initialize . . . boxWindow := box openInWindow. boxWindow setLabel: 'searchQuick -

Re: [Pharo-users] Image cannot grow beyond 500Mb

2015-08-08 Thread Tapple Gao
Thank you Phil. that worked > On Aug 8, 2015, at 9:58 AM, p...@highoctane.be wrote: > > Yes. You need to amend the plist file. > > I got like 2.5GB working. > > Or use a command line switch: > > --memory 1024m > > Phil > > Le 8 août 2015 15:24, "Tapple Gao" > a écr

Re: [Pharo-users] Proper way to retrieve Monticello repositories

2015-08-08 Thread Peter Uhnák
On Sat, Aug 8, 2015 at 1:44 PM, Peter Uhnák wrote: > Hi, > > what is the proper way to retrieve Monticello repositories? > > I've always simply queried the system for instances... > e.g. MCSmalltalkhubRepository allInstances detect: > > But is there some manager or something? (Akin to RPackageOrg

Re: [Pharo-users] Image cannot grow beyond 500Mb

2015-08-08 Thread p...@highoctane.be
Yes. You need to amend the plist file. I got like 2.5GB working. Or use a command line switch: --memory 1024m Phil Le 8 août 2015 15:24, "Tapple Gao" a écrit : > I am trying to use Moose to do run graph algorithms on data with about > 300,000 nodes. This data is map data downloaded from OpenS

Re: [Pharo-users] string write stream

2015-08-08 Thread Mariano Martinez Peck
On Sat, Aug 8, 2015 at 7:42 AM, Peter Uhnák wrote: > What is better? > > String new writeStream > Prefer this one, as Stef said. > or > WriteStream on: String new > Use this one only if you want to specify which type of stream. > or > WriteStream on: '' > This is the worst. It won't work i

[Pharo-users] Smalltalker required

2015-08-08 Thread S Krish
" We are looking for smalltalk developers in US. Must have L1 or H1, or any other valid work visa. Job location would be Atlanta. JD: 1.) Visual age Smalltalk V5.0 2.) Strong debugging, File handling and UI designing using VAST5.0 3.) Strong database skillset using SQL 4.) Analyzing production

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread H. Hirzel
Found the public API: XLSXImporter import: aReadStream XLSXImporterTest>> setUp | rstr | rstr := TabularResources testExcelSheet readStream. workbook := XLSXImporter import: rstr And added it in the comment: http://ss3.gemtalksystems.com/ss/Tabular/Tabular-HannesHirzel.3

[Pharo-users] Proper way to retrieve Monticello repositories

2015-08-08 Thread Peter Uhnák
Hi, what is the proper way to retrieve Monticello repositories? I've always simply queried the system for instances... e.g. MCSmalltalkhubRepository allInstances detect: But is there some manager or something? (Akin to RPackageOrganizer default) Also it's interesting that both Pharo50 and Pharo

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread H. Hirzel
The screenshot illustrates what I mean. http://ss3.gemtalksystems.com/ss/Tabular/Tabular-HannesHirzel.30.mcz I assume you have three classes to accommodate for FLAT ODT and HTML import later. Maybe there should only be two classes at the moment until the latter will be realized. What do you cons

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread stepharo
Le 8/8/15 11:45, Vincent BLONDEAU a écrit : Hi, I added the dependencies to PharoExtras/XMLWriter and XMLParser. I didn't add the dependencies before because I used Tabular with Moose, and Moose already loads these dependencies... Now it should work. I created the new 0.2 release with the re

Re: [Pharo-users] string write stream

2015-08-08 Thread stepharo
Le 8/8/15 12:42, Peter Uhnák a écrit : What is better? String new writeStream I prefer this one because the class of the stream is not hardcoded in my code :) or WriteStream on: String new or WriteStream on: '' by popularity '' is the winner, however apparently not everyone is happy w

Re: [Pharo-users] string write stream

2015-08-08 Thread Ferlicot D. Cyril
Le 08/08/2015 12:42, Peter Uhnák a écrit : > What is better? > > String new writeStream > or > WriteStream on: String new > or > WriteStream on: '' > > by popularity '' is the winner, however apparently not everyone is happy > with that > https://pharo.fogbugz.com/f/cases/15260/WriteStream-on-ne

[Pharo-users] string write stream

2015-08-08 Thread Peter Uhnák
What is better? String new writeStream or WriteStream on: String new or WriteStream on: '' by popularity '' is the winner, however apparently not everyone is happy with that https://pharo.fogbugz.com/f/cases/15260/WriteStream-on-new-string ~~ f := Find

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread H. Hirzel
Another small request: Could you please comment the importer classes which currently work. This is to distinguish them from those which are there as place-holders for future extension. This makes it easier to read you code. --Hannes On 8/8/15, H. Hirzel wrote: > Thank you. I am using Pharo 4.0.

Re: [Pharo-users] MSOffice DOCX generation?

2015-08-08 Thread H. Hirzel
Sorry I do not want to put you under pressure, the second email was just meant as a clarificiation of the first :-), take you time. --HH On 8/8/15, Юрий Мироненко wrote: > Give me couple of minutes to make answer, please. > > 2015-08-08 13:14 GMT+03:00 H. Hirzel : > >> Mainly the answer to the q

Re: [Pharo-users] MSOffice DOCX generation?

2015-08-08 Thread Юрий Мироненко
Give me couple of minutes to make answer, please. 2015-08-08 13:14 GMT+03:00 H. Hirzel : > Mainly the answer to the question: How do I use the experimental exporter > class? > > > > > On 8/8/15, H. Hirzel wrote: > > Yes, this is what I realized when looking at your code in Tabular. > > > > This

Re: [Pharo-users] pharoExtras XML Parser/Writer in Pharo 4.0?

2015-08-08 Thread H. Hirzel
Thank you for the clarification --Hannes On 8/8/15, Vincent BLONDEAU wrote: > The pharoExtras/XML* are here: > http://smalltalkhub.com/#!/~PharoExtras/XMLParser > It is the same project that from the loaded project list item that you show > in the screenshot. > > You can't load PharoExtra in one

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread H. Hirzel
Thank you. I am using Pharo 4.0. I see that you implement a SAXparser. Could you please elaborate a bit why the one in the XML-Parser package does not do the job? --Hannes On 8/8/15, Vincent BLONDEAU wrote: > Hi, > > I added the dependencies to PharoExtras/XMLWriter and XMLParser. > I didn't a

Re: [Pharo-users] MSOffice DOCX generation?

2015-08-08 Thread H. Hirzel
Mainly the answer to the question: How do I use the experimental exporter class? On 8/8/15, H. Hirzel wrote: > Yes, this is what I realized when looking at your code in Tabular. > > This is a good basis to build upon. I started adding some versions to > http://ss3.gemtalksystems.com/ss/Tabular

Re: [Pharo-users] MSOffice DOCX generation?

2015-08-08 Thread H. Hirzel
Yes, this is what I realized when looking at your code in Tabular. This is a good basis to build upon. I started adding some versions to http://ss3.gemtalksystems.com/ss/Tabular.html mainly adding comments and grouping method into protocols. Your test cases are useful. May I ask you to add some

Re: [Pharo-users] MSOffice DOCX generation?

2015-08-08 Thread Vincent BLONDEAU
I think you can improve Tabular to generate DOCX files. It is the same file standard than XLSX. Vincent -Message d'origine- De : Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] De la part de H. Hirzel Envoyé : samedi 8 août 2015 08:56 À : Any question about pharo is welcome Obj

Re: [Pharo-users] pharoExtras XML Parser/Writer in Pharo 4.0?

2015-08-08 Thread Vincent BLONDEAU
The pharoExtras/XML* are here: http://smalltalkhub.com/#!/~PharoExtras/XMLParser It is the same project that from the loaded project list item that you show in the screenshot. You can't load PharoExtra in one go, because PharoExtra is a group of projects. So you have to load the projects that

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread Vincent BLONDEAU
Hi, I added the dependencies to PharoExtras/XMLWriter and XMLParser. I didn't add the dependencies before because I used Tabular with Moose, and Moose already loads these dependencies... Now it should work. I created the new 0.2 release with the required dependencies. By the way, I used Versio

Re: [Pharo-users] MongoDB: console commands? query embedded indexed fields?

2015-08-08 Thread Sabine Manaa
Hi Norbert, lol, I had to google that: https://en.wikipedia.org/wiki/Heisenbug funny but that's it. It is always a good feeling when I know what the reason for a certain behavior is. Now I can proceed with the implementation of the search functionality. no, in Mongo I don't store the back referen

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread H. Hirzel
If I do ConfigurationOfXMLWriter load then TabularExperimentalExport writeTestFile is fine generating an Excel file. http://ss3.gemtalksystems.com/ss/Tabular/Tabular-HannesHirzel.27.mcz I am currently exploring the code and trying to figure out how it works. --Hannes On 8/8/15, H.

[Pharo-users] pharoExtras XML Parser/Writer in Pharo 4.0?

2015-08-08 Thread H. Hirzel
On 8/8/15, stepharo wrote: ... it depend on a different XML Parser/Writer than > pharoExtras ones? > > Stef >> Stef, Question of confirmation With pharoExtras XML Parser/Writer you mean the ones I get in the Configuration browser? (see attachment) Or is there a package 'pharoExtras' where I

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread H. Hirzel
I understand that Юрий Мироненко asks how to construct his ConfigurationOfTabular file http://ss3.gemtalksystems.com/ss/Tabular.html So I pointed him to the Pharo By Examples book 2 Chapter 9 Managing Projects with Metacello The Tabular project needs a XMLWriter class. I assume the regular phar

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread stepharo
Le 8/8/15 09:11, H. Hirzel a écrit : What about http://rmod.lille.inria.fr/deepIntoPharo/index.html p. 163 depending on a project without Metacello description p. 164, depending on a project with a Metacello configuration In the mean time just a note that Tabular needs XMLParser and XMLWriter

[Pharo-users] Multi Line labels/texts [New-Line/Line-Feed help required]

2015-08-08 Thread Jigyasa Grover
Hi I have made an accordion widget for my application *searchQuick* ( https://github.com/jig08/sQuick_new ), an offline text search application using Expander Morphs I was trying to insert a multi-line content in it , but in vain. The new-line methods don't seem to have the desired effect. *I have

Re: [Pharo-users] Tabular: XLSX import

2015-08-08 Thread H. Hirzel
What about http://rmod.lille.inria.fr/deepIntoPharo/index.html p. 163 depending on a project without Metacello description p. 164, depending on a project with a Metacello configuration In the mean time just a note that Tabular needs XMLParser and XMLWriter packages on http://ss3.gemtalksystems.co