Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-22 Thread Jan Blizničenko
Nicolai Hess wrote > I think you can skip the first part: "ConfigurationOfAthens loadVersion: > '2.0'." > because Athens is already in the image and the version on smalltalkhub is > not > uptodate with the one in the image. I've never did the step one because of that reason. Just as I said, to rep

Re: [Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-22 Thread bsselfri...@gmail.com
Yes, the column type definition is: timestamp. I am trying to use Pharo to access some old legacy MySQL tables. These tables have "timestamps" defined everywhere and there is NO WAY I will be allowed to change them. So, I'm going to have to try to figure out how to get around this problem. Si

Re: [Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-22 Thread Mariano Martinez Peck
Also, see this old thread: http://forum.world.st/SqueakDBX-Can-t-parse-date-td1307447.html On Wed, Oct 22, 2014 at 8:45 PM, Mariano Martinez Peck < marianop...@gmail.com> wrote: > What is the exact type in the database? > See: http://www.linuxnetworks.de/doc/index.php/OpenDBX/DBMS_Datatypes > > I

Re: [Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-22 Thread Mariano Martinez Peck
What is the exact type in the database? See: http://www.linuxnetworks.de/doc/index.php/OpenDBX/DBMS_Datatypes Is it a TIME STAMP? That page says: "[1] Implementations use DATETIME instead of TIMESTAMP as defined by the SQL standard" You may want to try using DATETIME instead? Cheers, On Wed, Oc

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Thierry Goubier
Hi Doru, Le 22/10/2014 23:03, Tudor Girba a écrit : Hi, As for pragmas, they are a better mechanism for describing intent than a method naming convention is. If nothing else, it lets us freedom in naming the method. And they add another programming language on top of another, and in most cas

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-22 Thread Nicolai Hess
2014-10-23 0:16 GMT+02:00 Jan Blizničenko : > Hello > > On image 40315 everything working. > On image 40316-40320 (latest) parts of Athens do not work, tried by running > Athens Tutorial and Roassal 2, which are both based on Athens. > Problem is on both Windows and Linux (unable to test on any Ma

[Pharo-users] Athens do not work on Image 40316+

2014-10-22 Thread Jan Blizničenko
Hello On image 40315 everything working. On image 40316-40320 (latest) parts of Athens do not work, tried by running Athens Tutorial and Roassal 2, which are both based on Athens. Problem is on both Windows and Linux (unable to test on any Mac) Instead of describing the error, here is a link to do

Re: [Pharo-users] How to force FFI to load a library

2014-10-22 Thread Nicolai Hess
2014-10-22 14:50 GMT+02:00 Annick Fron : > Hi, > > I have one library which depends from another one. > How can I force pharo to load the dependent library ? > > Annick > > I don't think it is necessary to force pharo to load the libraries. AFAIR the VM on linux uses dlopen() to load a module and

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Tudor Girba
Hi, I also disagree with Alex. Examples will become tests (see the work of Markus Gaelli and Adrian Kuhn) and they should be casually connected with the class and intention they test or provide example for. The other thing is that examples should be composable via code. And of course, they should

[Pharo-users] Issues tagged for starting sprints

2014-10-22 Thread stepharo
Hi guys Some of you would like to organize sprints (or participate to pharo-dev) and this is always difficult to jump into a hard bug. So I started to add glitches/enh that I usually do not log as bug entries. I tagged them as sprint to help you getting started on sprinting. https://pharo.fog

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Thierry Goubier
Le 22/10/2014 21:14, stepharo a écrit : I agree with Thierry but I disagree with Alex :) What is cool is that when you browse a widget class that you get all the examples for this class. I use browse class refs for that. Works on average pretty well; if it doesn't I throw away the code and reu

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread stepharo
I agree with Thierry but I disagree with Alex :) What is cool is that when you browse a widget class that you get all the examples for this class. Stef I am also not a big fan of using pragmas. To me, it looks like an ad hoc approach to have examples close to the class. In the same spirit: Wh

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Alexandre Bergel
I am also not a big fan of using pragmas. To me, it looks like an ad hoc approach to have examples close to the class. In the same spirit: Why not having tests in the same class? Would it not be cool? Of course not. In Roassal we have a class for examples (similar to TestCase). Alexandre > Le

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

2014-10-22 Thread Sven Van Caekenberghe
> On 22 Oct 2014, at 18:42, Offray Vladimir Luna Cárdenas > wrote: > > Hi, > > Thanks again. I have a small script, using Citezen which does the trick. I > can explore and modify the BibTeX File from the playground with this: > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > | bibFile bibli

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Thierry Goubier
Hi all, by principle, I'd be against extending so much the pragmas... from a design point of view they look like #defines and macros, that is an additional language to learn, without a correct support of the tools (no debug on pragmas, non-obvious behavior triggers, search for pragma users di

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Alexandre Bergel
Hi! I have doubt that #example: will be enough in the case of Roassal. Having a code example browser is indeed important and having a descent way to search for the examples is also important. I am thinking to stick to #example and infer some categories from the source code (e.g., if the method

Re: [Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-22 Thread bsselfri...@gmail.com
Thank you for responding so quickly. The column in the database is defined as a time stamp. It seems as though OpenDBX doesn't understand that type. I'll try setting up date, date time, time, and timestamp columns and see what happens. - Brad Selfridge -- View this message in context: http

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

2014-10-22 Thread Offray Vladimir Luna Cárdenas
Hi, Thanks again. I have a small script, using Citezen which does the trick. I can explore and modify the BibTeX File from the playground with this: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | bibFile bibliography bibStream bibOutputer | bibFile := ((FileLocator documents / 'U/Libertadores/

Re: [Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-22 Thread Esteban Lorenzano
I do not remember exactly, but I think that the type of the column you are trying to parse is not known by the DBXTalk driver. The type looks like a DateAndTime so you should check what’s the code it comes and maybe add the type in the conversion table. Sorry not been able to be more clear, bu

Re: [Pharo-users] Package Browser 4

2014-10-22 Thread Sven Van Caekenberghe
> On 22 Oct 2014, at 16:17, Hans Schueren wrote: > > > > > Thank you for the information : > > > Yes , the File with the extension .st is in the Pharo directory. > > First i couldn't find it by supposing a .txt File. Good that you found it, these things are so obvious to us that we fai

[Pharo-users] Package Browser 4

2014-10-22 Thread Hans Schueren
Thank you for the information : Yes , the File with the extension .st is in the Pharo directory. First i couldn't find it by supposing a .txt File. I have opened the file with a office tool JARTE. Now it is easy to print my new class out. Remember back when you are a beginner in prog

Re: [Pharo-users] Package Browser

2014-10-22 Thread stepharo
On 22/10/14 11:48, Hans Schueren wrote: Hallo fellows, i have just started with smalltalk programming Pharo. Welcome. This is a great journey. Take some time and ask all the questions you have. Now be prepared to change your way of doing things and you will be really surprised :) Stef Co

Re: [Pharo-users] [squeak-dev] Using libraries in FFI

2014-10-22 Thread p...@highoctane.be
Try to run pharo with strace. That way you will see all syscalls including libraries opens that pharo does attempt. That's what I do when trying to figure out such things. HTH Phil On Wed, Oct 22, 2014 at 2:45 PM, Annick Fron wrote: > Hi Eliot, > > My problem is not with the VM, my

[Pharo-users] How to force FFI to load a library

2014-10-22 Thread Annick Fron
Hi, I have one library which depends from another one. How can I force pharo to load the dependent library ? Annick

[Pharo-users] Package Browser 4

2014-10-22 Thread Hans Schueren
Hello again , i have searched for a new text file in the Pharo Image folder that contains the printed version of my class. There is no text file. I have chosen the "file out " option in Pharo version 3.0 and the book version PBE one click 1.1. At the moment i have only PBE in use fo

Re: [Pharo-users] Package Browser 3

2014-10-22 Thread Sven Van Caekenberghe
> On 22 Oct 2014, at 14:00, kilon alios wrote: > > nothing wrong in doing things the old / analogue way but pharo offers a > variety of tools to help you visualise and understand code. > > One example is when you want to know how one class is a subclass from > another. Browser has a separate

Re: [Pharo-users] Package Browser 3

2014-10-22 Thread kilon alios
nothing wrong in doing things the old / analogue way but pharo offers a variety of tools to help you visualise and understand code. One example is when you want to know how one class is a subclass from another. Browser has a separate view for this called Hierarchy view. Another is when methods ar

Re: [Pharo-users] ConfigurationOfSandstoneDb

2014-10-22 Thread Stephan Eggermont
Hey Mike, you should also ask for a ci,inria,fr/pharo-contributions account :) Stephan

Re: [Pharo-users] ConfigurationOfSandstoneDb

2014-10-22 Thread Sven Van Caekenberghe
I added you to the Pharo team on StHub > On 22 Oct 2014, at 13:28, mikefilonov wrote: > > My account is mikefilonov > > Thank you > > > > -- > View this message in context: > http://forum.world.st/ConfigurationOfSandstoneDb-tp4785703p4785945.html > Sent from the Pharo Smalltalk Users mailin

Re: [Pharo-users] Client cerificate authentication with ZnClient?

2014-10-22 Thread Sven Van Caekenberghe
> On 22 Oct 2014, at 13:12, Attila Magyar wrote: > > I couldn't get it working so far. Is there a way to enable some logging in > the underlying SqueakSSL? What platform/version are you trying ? Like I said, maybe it works on Win/Linux, but even there I would be surprised. Did you look at the

Re: [Pharo-users] ConfigurationOfSandstoneDb

2014-10-22 Thread mikefilonov
My account is mikefilonov Thank you -- View this message in context: http://forum.world.st/ConfigurationOfSandstoneDb-tp4785703p4785945.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Client cerificate authentication with ZnClient?

2014-10-22 Thread Attila Magyar
I couldn't get it working so far. Is there a way to enable some logging in the underlying SqueakSSL? -- View this message in context: http://forum.world.st/Client-cerificate-authentication-with-ZnClient-tp4784981p4785941.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.co

[Pharo-users] Package Browser 3

2014-10-22 Thread Hans Schueren
Just one thing for description of the hardcopy : Yes ; a browser inside the system is much better. The only reason to make a hardcopy in the form of a list is to have a "Analog view" of the interdependencies of the whole package. You know that in the job as electrician. You can measure t

Re: [Pharo-users] ConfigurationOfSandstoneDb

2014-10-22 Thread Sven Van Caekenberghe
I guess you have to be part of team Pharo on StHub, what is your account id ? > On 22 Oct 2014, at 12:52, mikefilonov wrote: > > I think I have no access to the MetaRepoForPharo30 repository. What should I > do? > > > > -- > View this message in context: > http://forum.world.st/Configuration

Re: [Pharo-users] ConfigurationOfSandstoneDb

2014-10-22 Thread mikefilonov
I think I have no access to the MetaRepoForPharo30 repository. What should I do? -- View this message in context: http://forum.world.st/ConfigurationOfSandstoneDb-tp4785703p4785935.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Package Browser 2

2014-10-22 Thread Sven Van Caekenberghe
> On 22 Oct 2014, at 12:19, Hans Schueren wrote: > > > Thank you for the answer. > > I have chosen " FILE OUT ". > > Let me aks : Who is the file then. On what location ? " > > I only have seen that Pharo has make a snapshot of the > > " Package-Class-Protokoll-Methods". > > After this s

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Torsten Bergmann
Hi Tudor, that should be easy now: look at CompiledMethod>>#isExampleMethod which can be adopted as needed. Checking for the pragma could be done this way: self pragmas anySatisfy: [:pragma | pragma keyword = #example ] but we should think first if this is enough. I already proposed to no

Re: [Pharo-users] Package Browser

2014-10-22 Thread Craig
Hans, Welcome to Pharo. The simplest way that I've found to do this is to "File Out" the class. Simply right-click on the class and select file-out This gives you a text file on the disk which you can open in a normal text editor and print. Look for a new file in the same directory as your

[Pharo-users] Package Browser 2

2014-10-22 Thread Hans Schueren
Thank you for the answer. I have chosen " FILE OUT ". Let me aks : Who is the file then. On what location ? " I only have seen that Pharo has make a snapshot of the " Package-Class-Protokoll-Methods". After this snapshot the printer is not started. Therfore i suppose that a File

Re: [Pharo-users] Package Browser

2014-10-22 Thread Sven Van Caekenberghe
Hi Hans, Welcome ! What you are looking for is called a file out. You can do that at several levels, package, class, protocol and individual method. Look for the menu item 'File Out' in the menu of the respective panes in the Nautilus class browser. That being said, this is not done very ofte

[Pharo-users] Package Browser

2014-10-22 Thread Hans Schueren
Hallo fellows, i have just started with smalltalk programming Pharo. Could you help me in one question please ? Its simple : After already performed a own NEW CLASS in the class browser , it is very convenient to PRINT OUT the complete Class , together with protokoll and methods in a LIST F

Re: [Pharo-users] [Ann] Phratch 4.0

2014-10-22 Thread jannik laval
Yes, We planed to do it. But maybe for Phratch 5 :) Jannik 2014-10-22 11:25 GMT+02:00 Hilaire : > Great! > > One more point to consider, the left panel, containing all the bricks, > looks to me too narrow: you have to use the horizontal slider to reveal > all the brick views. Not sure it is eas

Re: [Pharo-users] [Ann] Phratch 4.0

2014-10-22 Thread Hilaire
Great! One more point to consider, the left panel, containing all the bricks, looks to me too narrow: you have to use the horizontal slider to reveal all the brick views. Not sure it is easy to make it larger, or even better make it resize-able Thanks Hilaire Le 22/10/2014 11:06, jannik laval a

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Tudor Girba
You are welcome. You should expect more in this direction. Doru On Wed, Oct 22, 2014 at 11:02 AM, kilon alios wrote: > very good feature that I was completely unaware of. I have actually > examples in my Ephestos project that are at class side but I use ex instead > of example. This will come v

Re: [Pharo-users] [Ann] Phratch 4.0

2014-10-22 Thread jannik laval
Thank you Hilaire. I just fixed that. I am rebuilding the one-click. You can try again in 1 hour. Cheers, Jannik 2014-10-21 12:36 GMT+02:00 Hilaire : > Le 21/10/2014 07:07, jannik laval a écrit : > > > > Could you try phratch and say me what do you expect. > > Then explain me what is not worki

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread kilon alios
very good feature that I was completely unaware of. I have actually examples in my Ephestos project that are at class side but I use ex instead of example. This will come very handy for my users thanks :) On Wed, Oct 22, 2014 at 11:43 AM, Tudor Girba wrote: > Hi Torsten, > > Thanks for this. Thi

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Tudor Girba
Hi Torsten, Thanks for this. This is indeed the way to go. Just to let you know, the example infrastructure is also being developed in the context of GT, so we have a healthy interest overlap which is great. Only in our case, the discovery of the example happens through an pragma. Would it be po

[Pharo-users] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Torsten Bergmann
One addition I implemented for Nautilus is that one can run examples directly in the browser just by clicking on class side example methods icons. See https://pharo.fogbugz.com/f/cases/13892/Example-methods-should-be-runnable-in-Nautilus for a picture. SO PLEASE: WHEN YOU PROVIDE EXAMPLES IN

[Pharo-users] ConfigurationOfSandstoneDb

2014-10-22 Thread Torsten Bergmann
Hi Mike, attached is an updated version: - Packages should have corrected dependencies in ConfigurationOfSandstoneDb - also when 1.0 is released the development is 2.0-baseline always as one version is released and you load on the next upcoming. As it is the baseline it will load all At least