Re: [Pharo-users] Pharo 7 license question

2017-10-02 Thread Jimmie Houchin
Good and valid questions. Primarily consumer side. I am a longtime user of Linux, 20+ years. I prefer and advocate for open source software even when required to use Windows/Mac. So in general in personal life with friends, family, acquaintances if the subject is computers or software and the

Re: [Pharo-users] How to make pharo find sqlite?

2017-10-02 Thread Pierce Ng
On Sat, Sep 30, 2017 at 10:16:47PM +0200, Herby Vojčík wrote: > case the library name used is the plain 'sqlite3', I don't know - am > I supposed to make a symlink on the same directory as the image? Is > it the thing that is normally needed / done routinely? Below is how I've been doing it since

Re: [Pharo-users] Testing a Unicode Character's Category

2017-10-02 Thread Richard Sargent
Andrew, I've tried to comment on the changes. Overall, it was essentially what I was envisioning. My comments on a few methods are mostly specific quibbles about the implementation. One reflects that I think the original implementation contains an error. Thanks for doing this! On Sun, Oct 1,

Re: [Pharo-users] Pharo 7 license question

2017-10-02 Thread Sven Van Caekenberghe
Jimmie, Since you started this thread, I have to ask. You say you are an advocate of open source software. OK. But are you just on the consumer side or also on the producer side ? In other words, have you written/published/supported any non-trivial open source software ? Are you an academic

Re: [Pharo-users] Hiding the cursor in pharo and/or bloc

2017-10-02 Thread Aliaksei Syrel
Hi Steven, What you see is not Bloc's cursor (there is no cursor in bloc) It is a Morphic cursor :) Cheers, Alex On 2 October 2017 at 22:19, Steven Costiou wrote: > Hi, > > i've been playing with bloc, and i am trying to completely remove the > cursor (i.e. always

[Pharo-users] Hiding the cursor in pharo and/or bloc

2017-10-02 Thread Steven Costiou
Hi, i've been playing with bloc, and i am trying to completely remove the cursor (i.e. always display a blank cursor). I can't find how. Removing the Pharo cursor would also be ok, but i can't either. I can only show a blank cursor for a few moments but after moving the mouse too much it becomes

Re: [Pharo-users] Pharo 7 license question

2017-10-02 Thread Jimmie Houchin
No I have not. I don't tend to go their direction very often. I am an advocate of open source software but am not a fan of FSF's ethics or political opinions. And as you say, that want all software to be GPL. Also, I do prefer to hear third party opinions especially those who have potentially

Re: [Pharo-users] Pharo 7 license question

2017-10-02 Thread Peter Uhnák
On Mon, Oct 2, 2017 at 7:45 PM, Jimmie Houchin wrote: > Back on topic. > > To my understanding, if I should port anything GPL licensed that I needed > from some language to a C library and licensed it GPL. Then I called my new > GPL C library via UFFI. I should have no

Re: [Pharo-users] Iceberg and proxy

2017-10-02 Thread Vitor Medina Cruz
git push via command line works fine. When I try to pull, for example, from Iceberg it says "a connection with the server cannot be estabilished". I am using a cntlm bypass proxy with loggin on, and Iceberg is using it, but it fails while normal Zinc usage is ok. I will try to understand better

Re: [Pharo-users] Pharo 7 license question

2017-10-02 Thread Jimmie Houchin
Thanks for the reply and the link. Reasonably informative, but unfortunately not as definitive as one would like. What a mess. Makes me really appreciate the permissive licenses. No headaches. :) I was just curious if that was an option. Fortunately I believe I have alternatives to what I was

Re: [Pharo-users] Iceberg and proxy

2017-10-02 Thread Esteban Lorenzano
hi, if you have the ssh port restricted, you need to use one that is not…but then, is not clear how it will work on server side. can you try if you can do command line git push in your project? Esteban > On 2 Oct 2017, at 19:57, Vitor Medina Cruz wrote: > > Hello! >

Re: [Pharo-users] Pharo 7 license question

2017-10-02 Thread Sven Van Caekenberghe
> On 2 Oct 2017, at 19:45, Jimmie Houchin wrote: > > Back on topic. > > To my understanding, if I should port anything GPL licensed that I needed > from some language to a C library and licensed it GPL. Then I called my new > GPL C library via UFFI. I should have no

[Pharo-users] Iceberg and proxy

2017-10-02 Thread Vitor Medina Cruz
Hello! Iceberg don’t work behind a proxy? I have made proper proxy configuration, if I use Zinc, for example, the proxy information is used, but that don’t seems to be the case for Iceberg. Regards, Vitor

Re: [Pharo-users] Pharo 7 license question

2017-10-02 Thread Jimmie Houchin
Back on topic. To my understanding, if I should port anything GPL licensed that I needed from some language to a C library and licensed it GPL. Then I called my new GPL C library via UFFI. I should have no problems at all. Is that a correct understanding by all? Does this look like a good

Re: [Pharo-users] Roasssal not working on Windows with Pharo 6.1

2017-10-02 Thread kmo
The problem is fixed now. I loaded up pharo at lunchtime and all the roassal images worked perfectly. No problems at all. But I had done nothing. No changes at all. The only thing I can think of is that I may have rebooted since the last time I ran pharo. But I'm not sure. So it's all still a

Re: [Pharo-users] Organisation and workflows

2017-10-02 Thread Steven R. Baker
On 02/10/17 15:28, Esteban Lorenzano wrote: >> On 2 Oct 2017, at 15:12, Stephane Ducasse wrote: >> >> I discussed with esteban sooner this summer and we really want to have a >> process >> where people can deploy applications and not just code. >> Now we are not yet

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Prof. Andrew P. Black
> On 2 Oct 2017, at 16:37 , Sean P. DeNigris wrote: > > 2. #hash > ^ var1 hash bitXor: (var2 hash bitXor: var3 hash) > Is this implementation always safe? It's what I usually hand roll based on > what I've seen, but Andres Valloud wrote a whole (large) book on

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Denis Kudriashov
2017-10-02 17:13 GMT+02:00 Vitor Medina Cruz : > I am sorry, not species, but #isKindOf istead of #= to compare classes. > It is bad idea. #= should be transitive. How you will generate it with isKindOf: logic? You need to know common parent. Also I not remember cases

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Vitor Medina Cruz
I am sorry, not species, but #isKindOf istead of #= to compare classes. On Mon, Oct 2, 2017 at 11:57 AM, Denis Kudriashov wrote: > > 2017-10-02 16:37 GMT+02:00 Sean P. DeNigris : > >> >> Two questions/comments about the generated code: >> 1. #= >>

Re: [Pharo-users] Organisation and workflows

2017-10-02 Thread Sean P. DeNigris
Steven Baker wrote > using Spec It really depends on your aim. The *idea* of Spec was to write once and deploy "everywhere", but as yet there is only a Morphic backend that I know of, and you would be restricting yourself to standard desktop widgets. So, if that is not a problem, Spec might be an

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Denis Kudriashov
2017-10-02 16:37 GMT+02:00 Sean P. DeNigris : > > Two questions/comments about the generated code: > 1. #= > ... > self class = anObject class "should compare #species instead?" > ifFalse: [ ^ false ]. > ... > Typically, I've seen

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Vitor Medina Cruz
I think it should have an option to generate with species (which I think should be the default). Also It would be nice if it could implement the solution for pitfall #4 described in http://www.artima.com/lejava/articles/equality.html On Mon, Oct 2, 2017 at 11:45 AM, Denis Kudriashov

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Denis Kudriashov
2017-10-02 16:41 GMT+02:00 Sean P. DeNigris : > Denis Kudriashov wrote > > I just use RBGenerateEqualHashRefactoring for this: > > I added your answer to the Pharo wiki. Is this available through the UI? If > not, maybe it should be! > > As I know it not exists > > >

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Denis Kudriashov
Hi Sean. I did not know about quality of generated hash function. But if I remember correctly the same code is generated for java using Eclipse or Idea. So it should be good enough. 2017-10-02 16:37 GMT+02:00 Sean P. DeNigris : > Denis Kudriashov wrote > > I just use

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Sean P. DeNigris
Denis Kudriashov wrote > I just use RBGenerateEqualHashRefactoring for this: I added your answer to the Pharo wiki. Is this available through the UI? If not, maybe it should be! - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Sean P. DeNigris
Denis Kudriashov wrote > I just use RBGenerateEqualHashRefactoring for this: > > r := RBGenerateEqualHashRefactoring className: MyClass variables: #(vars > which should be used in equal and hash). > r execute That is so cool! I shudder to think how many times I implemented just that by

[Pharo-users] [Demo] Creating Bloc widgets: A Color Panel

2017-10-02 Thread Stephan Eggermont
Bloc is ready for your experiments. Here is my second one. Please let me know what and how to improve. Bloc allows for the easy creation of beautiful widgets. Here is a simple color panel that allows custom colors to be added (using the current Morphic color selector dialog) and allows colors

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Vitor Medina Cruz
*in java, because this is a pain to do it each time.* *for us, maybe for the same… even if is a lot easier.* Yeah, and it is boring to implement that every time, especially because it is tricky to get it right sometimes. Another interesting thing I use in Java to test my equals and hash

Re: [Pharo-users] Organisation and workflows

2017-10-02 Thread Esteban Lorenzano
> On 2 Oct 2017, at 15:12, Stephane Ducasse wrote: > > I discussed with esteban sooner this summer and we really want to have a > process > where people can deploy applications and not just code. > Now we are not yet there. > > Stef > > On Sun, Oct 1, 2017 at 9:03

Re: [Pharo-users] Reading a text file line by line

2017-10-02 Thread Stephane Ducasse
Yes this is why we should continue to clean and remove cruft. Now I remember that guille did that for File. Stef On Mon, Oct 2, 2017 at 3:20 PM, Sven Van Caekenberghe wrote: > If you do > > (File named: '/tmp/lines.txt') readStream[Do:] > > you seem to get a binary stream (this

Re: [Pharo-users] Reading a text file line by line

2017-10-02 Thread Sven Van Caekenberghe
If you do (File named: '/tmp/lines.txt') readStream[Do:] you seem to get a binary stream (this is the new implementation I guess), when you go via FileReference you get a character stream (but that are old ones). I know, very confusing. We're always in the midst of transitions. > On 2 Oct

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-02 Thread Stephane Ducasse
How could we help? On Sun, Oct 1, 2017 at 9:14 PM, Hilaire wrote: > I had situation where the system libcairo:i386 does not work with Dr.Geo[1], > Pharo crashes with what looks like a Cairo crash! Looks like not a Pharo > fault, but I am definitely stuck. > > It is

Re: [Pharo-users] Reading a text file line by line

2017-10-02 Thread Stephane Ducasse
Sven I do not see the binary stream. Is it ZnCharacterReadStream? Stef On Mon, Oct 2, 2017 at 1:22 PM, Sven Van Caekenberghe wrote: > Hi, > >> On 2 Oct 2017, at 13:07, Dirk Olmes wrote: >> >> Hi, >> >> I'm trying to get started with Pharo doing something

Re: [Pharo-users] Organisation and workflows

2017-10-02 Thread Stephane Ducasse
I discussed with esteban sooner this summer and we really want to have a process where people can deploy applications and not just code. Now we are not yet there. Stef On Sun, Oct 1, 2017 at 9:03 PM, Steven R. Baker wrote: > Heya folks, > > [Please jump on any of my

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Stephane Ducasse
Publish it in a package and let us have a look. On Mon, Oct 2, 2017 at 9:53 AM, Jose San Leandro wrote: > Hi, > > I wrote a generator for that. Probably it makes no sense to publish it as > a standalone project. I tend to think code generation fits better in other >

Re: [Pharo-users] How to make pharo find sqlite?

2017-10-02 Thread Herby Vojčík
p...@highoctane.be wrote: Yes, all of this should work and we need to improve on this. I am willing to do something about that because it frustrates me too. Herby, How would you see it working? Hard to answer. But linux knows where its libs are, at least when you do `/sbin/ldconfig -p` in

Re: [Pharo-users] How to make pharo find sqlite?

2017-10-02 Thread p...@highoctane.be
Yes, all of this should work and we need to improve on this. I am willing to do something about that because it frustrates me too. Herby, How would you see it working? Phil On Mon, Oct 2, 2017 at 1:45 PM, Herby Vojčík wrote: > Renaud de Villemeur wrote: > >> Hi >> > >

Re: [Pharo-users] How to make pharo find sqlite?

2017-10-02 Thread Herby Vojčík
Renaud de Villemeur wrote: Hi [...snip...] The reason it pass under windows is because the method library return by default sqlite3, which is the dll name you put under pharo VM directory to get it work. Not true. It is not in pharo vm directory. It finds it on %PATH%. On linux, unless

Re: [Pharo-users] Reading a text file line by line

2017-10-02 Thread Sven Van Caekenberghe
Hi, > On 2 Oct 2017, at 13:07, Dirk Olmes wrote: > > Hi, > > I'm trying to get started with Pharo doing something really simple - at > least that's what I thought ... I'm trying to read a text file line by line. > > If I use File named: '/tmp/linex.txt' readStream

[Pharo-users] Reading a text file line by line

2017-10-02 Thread Dirk Olmes
Hi, I'm trying to get started with Pharo doing something really simple - at least that's what I thought ... I'm trying to read a text file line by line. If I use File named: '/tmp/linex.txt' readStream nextLine I'll get a debugger telling me that BinaryFileStream does not understand nextLine.

Re: [Pharo-users] Organisation and workflows

2017-10-02 Thread Dimitris Chloupis
On Sun, Oct 1, 2017 at 10:04 PM Steven R. Baker wrote: > Heya folks, > > [Please jump on any of my statements that sound crazy: use of Spec, > other assumptions, etc.] > > I'm starting an application in Pharo, using Spec. Basically, a GTD > application in the spirit of

Re: [Pharo-users] Organisation and workflows

2017-10-02 Thread stephan
On 01-10-17 21:03, Steven R. Baker wrote: First, is there some trick to managing images? Are people using one-per-project, or one-per-computer? All of the above? Anyone using PharoLauncher these days? Other tools? PharoLauncher indeed. I name images after project and download date/build. I

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Jose San Leandro
Hi, I wrote a generator for that. Probably it makes no sense to publish it as a standalone project. I tend to think code generation fits better in other languages. I can paste the relevant code here if needed. 2017-10-02 9:44 GMT+02:00 Esteban Lorenzano : > in java, because

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Denis Kudriashov
Hi. I just use RBGenerateEqualHashRefactoring for this: r := RBGenerateEqualHashRefactoring className: MyClass variables: #(vars which should be used in equal and hash). r execute But it is a bit different. 2017-10-02 0:51 GMT+02:00 Vitor Medina Cruz : > Hello! > > Is

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Esteban Lorenzano
in java, because this is a pain to do it each time. for us, maybe for the same… even if is a lot easier. Esteban > On 2 Oct 2017, at 09:42, Stephane Ducasse wrote: > > Not that I know. > Because it can be a little project. > Now what is the key point to encapsulate

Re: [Pharo-users] Equals and HashCode Builder

2017-10-02 Thread Stephane Ducasse
Not that I know. Because it can be a little project. Now what is the key point to encapsulate this computation? On Mon, Oct 2, 2017 at 12:51 AM, Vitor Medina Cruz wrote: > Hello! > > Is there, in Pharo, builders for equals (=) and hash messages similar to: >

Re: [Pharo-users] How to make pharo find sqlite?

2017-10-02 Thread Stephane Ducasse
Thanks Renaud! Yes it helps! On Mon, Oct 2, 2017 at 2:57 AM, Renaud de Villemeur wrote: > Hi > > I managed to get Sqlite work with Pharo under linux (Fedora), in both 32 and > 64 bit. The setup has nothing to do with LD_LIBRARY_PATH. I'll use those > example under