Re: [Pharo-users] ensureCreateFile

2016-04-21 Thread Peter Uhnák
At least in unix creating files and folders are different operations (mkdir/touch, rm/rmdir). And even though it may seem convenient I would argue that it will create unintentional issues — if you have incorrect folder it will silently create errornous structure on the disk instead of throwing err

Re: [Pharo-users] ensureCreateFile

2016-04-21 Thread Valentin Ryckewaert
Yes but why ensureCreateFile then ? Why don't we juste create a message createFile as there is createFolder ? createFolder : create the folder createFile : create the file ensureCreateFolder : create the folder and its parents if necessary ensureCreateFile : create the file and its parents if nece

Re: [Pharo-users] ensureCreateFile

2016-04-21 Thread Denis Kudriashov
2016-04-21 9:55 GMT+02:00 Valentin Ryckewaert : > Yes but why ensureCreateFile then ? > Why don't we juste create a message createFile as there is createFolder ? > createFolder : create the folder > createFile : create the file > > ensureCreateFolder : create the folder and its parents if necessar

Re: [Pharo-users] ensureCreateFile

2016-04-21 Thread Peter Uhnák
because it's like this ensureCreateFolder : create the folder structure if necessary ensureCreateFile : create the file if necessary I really don't see any gain from changing existing behavior and introducing potential problems. If I ask for file to be created, I don't expect that the system will

Re: [Pharo-users] Hello World (found a RoelTyper Bug)

2016-04-21 Thread teso...@gmail.com
Hi Diego, the most updated version is published in GitHub. https://github.com/tesonep/j2Inferer In that place there is also some documentation. Cheers, Pablo On Thu, Apr 21, 2016 at 7:29 AM, Diego Orellana wrote: > Hi Pablo, > > Well, I tried to load the packages from your repositories, but I

Re: [Pharo-users] Hello World (found a RoelTyper Bug)

2016-04-21 Thread Alexandre Bergel
Hi Pablo, We are diving into the mysteries of BaselineOf. After having cloned the github repo and loaded manually the baseline. We tried: BaselineOfJ2Inferer project version load But we get a could not resolve: J2Inferer-Implementors. No idea whether your Baseline is oddly defined or Metacello/B

Re: [Pharo-users] Hello World (found a RoelTyper Bug)

2016-04-21 Thread Alexandre Bergel
How to open a IBBrowser by the way? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Apr 21, 2016, at 10:06 AM, teso...@gmail.com wrote: > > Hi Diego, the most updated version i

Re: [Pharo-users] [Pharo-Users] Symbolic links

2016-04-21 Thread Esteban A. Maringolo
2016-04-21 3:43 GMT-03:00 p...@highoctane.be : > In Windows, there are junctions, which are more or less equivalent. > > https://msdn.microsoft.com/en-us/library/windows/desktop/aa365006(v=vs.85).aspx Yeap, I use it with this tool. http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.ht

Re: [Pharo-users] Hello World (found a RoelTyper Bug)

2016-04-21 Thread Diego Orellana
Pablo, can you give us some usage examples? First I would like to get the type inference data programmatically in order to compare the type data with other tools. And also, I would like to open the IBBrowser. Here's what I've tried so far: For getting argument types: (((J2Inferer default inferCl

[Pharo-users] meaning of #workingDirectory in in-memory file system

2016-04-21 Thread Peter Uhnák
fs := FileSystem memory. fs workingDirectory "memory:///". What is the conceptual meaning of #workingDirectory here? Shouldn't it just throw an error for memory FileStore as it makes no sense? I.e. I didn't launch any image from memory. Peter

[Pharo-users] remove unused variables

2016-04-21 Thread Peter Uhnák
The editor used to inform when there was an unused local variable and offered to remove it. Is it possible to get this behavior back, or is it a feature regression with the "new" (this changed some time ago) editor? Thanks, Peter

Re: [Pharo-users] meaning of #workingDirectory in in-memory file system

2016-04-21 Thread Damien Pollet
In a unix system, there is only one filesystem. Meaning: if you have several disks or partitions, either they are mounted in The Unique Filesystem, or they are not mounted and are just a blob of some gigabytes. The working directory is a per-process property, not per-filesystem. (except that window

Re: [Pharo-users] remove unused variables

2016-04-21 Thread Johan Fabry
This was changed somewhere in November by Marcus and Miguel, and it was intentional, as part of the work on annotations on the AST that enabled breakpoints. (Breakpoints use the same highlighting mechanism). > On Apr 21, 2016, at 18:52, Peter Uhnák wrote: > > The editor used to inform when th

Re: [Pharo-users] Tabular ODS import

2016-04-21 Thread John Pfersich
> On Apr 20, 2016, at 23:55, Alistair Grant wrote: > >> On Wed, Apr 20, 2016 at 11:43:19PM +0200, Cyril Ferlicot D. wrote: >> Le 20/04/2016 22:47, Alistair Grant a écrit : >>> So, time to learn more about Monticello... Reading the Updated PbE is >>> helpful, however I did notice one thing which

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-21 Thread stepharo
My point is that it is a proof that a library is not good when it forces users to redefined core code. Stef Le 15/4/16 23:06, Peter Uhnák a écrit : I did not really get it. Now I have the impression that changing the method definition shows that Pharo does not offer the correct p

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-21 Thread stepharo
Le 16/4/16 11:33, kmo a écrit : /Pharo is yours, so you can add it. :)/ Yes, but I don't want to add it. I expect it to be there out of the box. So you believe either is modern slavery or magic auto generation :D Seriously if you that need it are not ready to invest 30 min why me that does

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-21 Thread stepharo
Le 16/4/16 12:18, kmo a écrit : Well, my reply was rather tongue-in-cheek. I was mocking my own laziness and the laziness of developers like me. But really I have no problem in doing these things for myself. And I hope that soon I will be in a position to contribute to pharo myself. But you a