Re: [Pharo-project] [squeak-dev] Mine-able ideas?

2013-01-02 Thread David T. Lewis
On Wed, Jan 02, 2013 at 05:26:25PM -0800, tim Rowledge wrote: > > On 02-01-2013, at 4:15 PM, "David T. Lewis" wrote: > > > > Do you have a reference to the sensible compiled method format? I think > > I recall some discussions on that topic, but I don't recall when or by > > whom. > > I was thi

Re: [Pharo-project] [squeak-dev] Mine-able ideas?

2013-01-02 Thread Frank Shearar
On 2 January 2013 22:17, Colin Putney wrote: > > > > On Wed, Jan 2, 2013 at 4:18 PM, Frank Shearar > wrote: >> >> http://blog.datomic.com/2012/10/codeq.html >> >> Executive summary: >> * Git gives version control over files >> * Clojure code typically has lots of functions or other chunks of code

Re: [Pharo-project] Mine-able ideas?

2013-01-02 Thread Stéphane Ducasse
What I want is - senders at a given point in the past - better method metadata - better migration from one version to another…. Stef On Jan 2, 2013, at 10:18 PM, Frank Shearar wrote: > http://blog.datomic.com/2012/10/codeq.html > > Executive summary: > * Git giv

[Pharo-project] Mine-able ideas?

2013-01-02 Thread Frank Shearar
http://blog.datomic.com/2012/10/codeq.html Executive summary: * Git gives version control over files * Clojure code typically has lots of functions or other chunks of code in one file * This means you can't ask for the version of a single unit of code * Static analyses over the files as they vary

Re: [Pharo-project] [ENH]: MCHttpRepository Authentication (Issue 6449)

2013-01-02 Thread Stéphane Ducasse
>> I'd love for someone to review this slice asap > > Bump... two people have reviewed this. Are we ready to integrate? I would > say so since it was being integrated previously but needed a new slice… Hi sean Yes I would like. I was fixing the obvious bugs that were leading to vm crashing and

Re: [Pharo-project] [ENH]: MCHttpRepository Authentication (Issue 6449)

2013-01-02 Thread Sean P. DeNigris
Sean P. DeNigris wrote > I'd love for someone to review this slice asap Bump... two people have reviewed this. Are we ready to integrate? I would say so since it was being integrated previously but needed a new slice... -- View this message in context: http://forum.world.st/ENH-MCHttpRepositor

Re: [Pharo-project] Extracting a ZipArchive in 2.0

2013-01-02 Thread Stéphane Ducasse
On Jan 2, 2013, at 6:58 PM, Vanessa Peña Araya wrote: > Hi Camillo, > > Thank you for your reply. > > Yes, I understand, but I was wondering from the ZipArchive side. I mean, what > I don't understand is if I'm using the wrong method > (ZipArchive>>#extractAllTo:) or if ZipArchive is not upda

Re: [Pharo-project] corrupt images on gforge

2013-01-02 Thread Stéphane Ducasse
thanks christophe…. I will comment publicly. Stef On Jan 2, 2013, at 4:43 PM, Christophe Demarey wrote: > I tried to fix it. It seems we reach a disk quota on the forge :( > lsebot@ff-scm-v4-prod:/home/groups/pharo/htdocs/ci/image/20$ cp -f 20459.zip > latest.zip > cp: closing `latest.zip': Di

Re: [Pharo-project] alert: not defined on non-interactive ui manager

2013-01-02 Thread Stéphane Ducasse
>> alert:, alert:title:... are defined on MorphicUIManager but not on >> NonInteractiveUIManager >> so this means that we get DNU when loading packages that call it. >> >> http://code.google.com/p/pharo/issues/detail?id=7205 >> >> I thought that bringing a pop up or dun in non interactive mode

Re: [Pharo-project] Escape key to remove a debugger...

2013-01-02 Thread Chris Muller
Hi Alexandre, > Pressing "Abandon" in a pre-debugger window is cumbersome. Indeed, requiring a fine-motor gesture for something so simple wears on productivity all day long. > It would be cool to press esc to remove it. > What would be the easy way to do this? Have you tried Command+W? Any win

Re: [Pharo-project] About morph layout

2013-01-02 Thread Chris Muller
Craig's NAIAD stands for "Name And Identity Are Distinct". Just thinking aloud -- because Morphic is so entrenched.. Could NAIAD or Colin's Environments allow Juan's Morphic (or, Morphic3) to co-exist with original Morphic, so that it would allow working on the port without depending on it for th

Re: [Pharo-project] Extracting a ZipArchive in 2.0

2013-01-02 Thread Vanessa Peña Araya
Hi Camillo, Thank you for your reply. Yes, I understand, but I was wondering from the ZipArchive side. I mean, what I don't understand is if I'm using the wrong method (ZipArchive>>#extractAllTo:) or if ZipArchive is not updated to FileReference, or something else I'm not seeing :) Thanks,

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Ben Coman
I only used Polymorph for the first time a couple of months ago. I don't really know what is available, but having a quick poke around what I found was: 1. If you follow the call-chain from UITheme>>newListFor:list:selected:changeSelected:help: you end up in UITheme>>newListIn:for: list: select

Re: [Pharo-project] alert: not defined on non-interactive ui manager

2013-01-02 Thread Igor Stasenko
On 2 January 2013 16:05, Stéphane Ducasse wrote: > Hi all > > alert:, alert:title:... are defined on MorphicUIManager but not on > NonInteractiveUIManager > so this means that we get DNU when loading packages that call it. > > http://code.google.com/p/pharo/issues/detail?id=7205 > > I thought tha

[Pharo-project] FOSDEM 2013 Smalltalk devroom

2013-01-02 Thread Rafael Luque
Hi Pharoers, I've noticed that FOSDEM 2013 will host an Smalltalk devroom like the previous year. Any idea about the scheduled sessions? I'd like to see tutorials related with Pharo, Seaside, Amber, Moose, etc. Thank you.

Re: [Pharo-project] corrupt images on gforge

2013-01-02 Thread Christophe Demarey
I tried to fix it. It seems we reach a disk quota on the forge :( lsebot@ff-scm-v4-prod:/home/groups/pharo/htdocs/ci/image/20$ cp -f 20459.zip latest.zip cp: closing `latest.zip': Disk quota exceeded lsebot@ff-scm-v4-prod:/home/groups/pharo/htdocs$ du -sh . 10G I will send an email to forge admi

Re: [Pharo-project] Escape key to remove a debugger...

2013-01-02 Thread Stéphane Ducasse
On Jan 2, 2013, at 12:59 PM, Alexandre Bergel wrote: > Hi! > > Pressing "Abandon" in a pre-debugger window is cumbersome. It would be cool > to press esc to remove it. > What would be the easy way to do this? + 1 probably :)

Re: [Pharo-project] alert: not defined on non-interactive ui manager

2013-01-02 Thread Christophe Demarey
Hi, alert, abort, question, etc. are defined on MorphicUIManager (with a trait) but not on UIManager itself. As Stephane said, it may causes DNU when using a NonInteractiveUIManager. For example, if you try to update a version of KeyMapping in non interactive mode, it will failed because the loa

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread J . P . L . Martín
I got everything working besides the list update when changed. Also, is there anyway to properly display data in columns? This is what i have: http://i.imgur.com/bwK2M.png On Wed, Jan 2, 2013 at 11:47 AM, Ben Coman wrote: > > J. P. L. Martín wrote: > > Hello, I'm having trouble to figure out h

[Pharo-project] alert: not defined on non-interactive ui manager

2013-01-02 Thread Stéphane Ducasse
Hi all alert:, alert:title:... are defined on MorphicUIManager but not on NonInteractiveUIManager so this means that we get DNU when loading packages that call it. http://code.google.com/p/pharo/issues/detail?id=7205 I thought that bringing a pop up or dun in non interactive mode was killing

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Ben Coman
J. P. L. Martín wrote: Hello, I'm having trouble to figure out how to do this, I have a simple window with 3 buttons, each button should change the content listed on the list below them but I'm really not sure about how to do it. This is the code for the window: --- open "Abre la ventana p

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Esteban A. Maringolo
Yes, the concatenation method (it is, #,) works only with collections(*). There is no automatic casting of objects to a string representation. In the long run you'll love that. And since String "is a" Collection, you can't send #, to other object, and neither pass an argument that is not a collect

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread J . P . L . Martín
Done, I've just append asString on the collect: block. :D On Wed, Jan 2, 2013 at 11:18 AM, Esteban A. Maringolo wrote: > 2013/1/2 J. P. L. Martín : > > Another question, when I try this: > > > > Prestamo database collect: [:x | x id,' ',x idMaterial] > > > > I get Receiver of "," nil. How do I

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread J . P . L . Martín
Thanks Esteban, I have another question. Some of the elements of Prestamo are Date objects, how can i collec them from database since they are not indexable? *btw, I'm trying to show them on a list. Thanks in advance! On Wed, Jan 2, 2013 at 11:18 AM, Esteban A. Maringolo wrote: > 2013/1/2 J. P.

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Esteban A. Maringolo
2013/1/2 J. P. L. Martín : > Another question, when I try this: > > Prestamo database collect: [:x | x id,' ',x idMaterial] > > I get Receiver of "," nil. How do I solve it? You probably have one or more elements in the collection returned by "Prestamo database" whose id's are nil. Then you're sen

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread J . P . L . Martín
Another question, when I try this: Prestamo database collect: [:x | x id,' ',x idMaterial] I get Receiver of "," nil. How do I solve it? On Wed, Jan 2, 2013 at 9:33 AM, J. P. L. Martín wrote: > could another way be on button action set a temporal variable "list"? for > newListFor. > > > On We

Re: [Pharo-project] About morph layout

2013-01-02 Thread Igor Stasenko
On 2 January 2013 12:55, H. Hirzel wrote: > Hello again Igor > and Happy and Successful New "Pharo" Year 2013 > Thanks Hannes :) Wish best to you in New Year too :) > --Hannes > > my notes are inserted below. > > > On 12/24/12, Igor Stasenko wrote: >> On 24 December 2012 09:43, H. Hirzel wrot

[Pharo-project] Happy Pharoing and new years

2013-01-02 Thread Stéphane Ducasse
Hi Pharoers from all over the world. Even if it may look like an obligatory exercise, I really want to wish you a good 2013 year. I hope that you will get good business opportunities and success. For Pharo we achieved a lot in 2012: association 2.0 consortium bo

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread J . P . L . Martín
could another way be on button action set a temporal variable "list"? for newListFor. On Wed, Jan 2, 2013 at 6:02 AM, J. P. L. Martín wrote: > Hello, I'm having trouble to figure out how to do this, I have a simple > window with 3 buttons, each button should change the content listed on the > l

Re: [Pharo-project] Nautilus with custom icons

2013-01-02 Thread Benjamin
https://code.google.com/p/pharo/issues/detail?id=7202 :) Ben On Jan 2, 2013, at 10:25 AM, Torsten Bergmann wrote: > How can one add a new custom icon for his own > class (hierarchy) into Nautilus. > > I can add one with tricks in "ClassesIconsCache" > in class AbstractNautilusUI. > > But is

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Esteban A. Maringolo
2013/1/2 Frank Shearar : > On 2 January 2013 09:52, Peter Hugosson-Miller wrote: >> Guess it's a bit like the ##(some expression here) of VisualAge Smalltalk? > > I think so, but I've only seen ##(foo) in GNU Smalltalk, where it's a > compile-time literal: http://www.gnu.org/software/smalltalk/man

[Pharo-project] Escape key to remove a debugger...

2013-01-02 Thread Alexandre Bergel
Hi! Pressing "Abandon" in a pre-debugger window is cumbersome. It would be cool to press esc to remove it. What would be the easy way to do this? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:

Re: [Pharo-project] About morph layout

2013-01-02 Thread H. Hirzel
Hello again Igor and Happy and Successful New "Pharo" Year 2013 --Hannes my notes are inserted below. On 12/24/12, Igor Stasenko wrote: > On 24 December 2012 09:43, H. Hirzel wrote: >> Hello Igor >> >> Thank you for this interesting mail. An issue over 11 years old, see >> below. >> >> On 12/

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Frank Shearar
On 2 January 2013 10:39, Peter Hugosson-Miller wrote: > Sorry for hijacking the thread, I just wanted to be sure I understood it > properly. > > So now I think it's a kind of syntactical sugar for a nicer way of writing: > > Array > with: (builder newButtonFor: self action: #onPrestamosClick l

Re: [Pharo-project] Nautilus with custom icons

2013-01-02 Thread Benjamin
Not yet, but I am thinking of it :) For classes, it's obvious, but how to add such a mechanism for methods ? Packages ? For methods I thought about a chain of responsibility where each case is a class (let's say subclass of something to retrieve them), but how to set the order ? Delegate it t

Re: [Pharo-project] About morph layout

2013-01-02 Thread Henrik Sperre Johansen
On 25.12.2012 18:34, Stéphane Ducasse wrote: I like this decomposition of a large interface into separate objects. Stef Smells like progress to me too! Cheers, Henry

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Peter Hugosson-Miller
Sorry for hijacking the thread, I just wanted to be sure I understood it properly. So now I think it's a kind of syntactical sugar for a nicer way of writing: Array with: (builder newButtonFor: self action: #onPrestamosClick label: 'Prestamos' help: '') with: (builder newButtonFor: self

Re: [Pharo-project] A tantalizing path of dealing with multiple concerns...

2013-01-02 Thread Henrik Sperre Johansen
On 22.12.2012 14:36, Stéphane Ducasse wrote: Igor may be having good design could help with little objects having responsibilities and plugging the right ones :) We should create "The club of gentleman against little kitties killing code" and save the kitties by refactoring the killing

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Frank Shearar
On 2 January 2013 09:52, Peter Hugosson-Miller wrote: > Guess it's a bit like the ##(some expression here) of VisualAge Smalltalk? I think so, but I've only seen ##(foo) in GNU Smalltalk, where it's a compile-time literal: http://www.gnu.org/software/smalltalk/manual/gst.html frank > -- > Cheer

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Peter Hugosson-Miller
Guess it's a bit like the ##(some expression here) of VisualAge Smalltalk? -- Cheers, Peter. On 2 jan 2013, at 10:27, Marcus Denker wrote: > > On Jan 2, 2013, at 10:25 AM, Peter Hugosson-Miller > wrote: > >> I wasn't being ironic, I just didn't know. In my 18 years of Smalltalk >> program

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Marcus Denker
On Jan 2, 2013, at 10:25 AM, Peter Hugosson-Miller wrote: > I wasn't being ironic, I just didn't know. In my 18 years of Smalltalk > programming, I've managed to avoid coming across that particular syntax > before. Is it Pharo-specific? > It was introduced in Squeak quite early (before 2000).

[Pharo-project] Nautilus with custom icons

2013-01-02 Thread Torsten Bergmann
How can one add a new custom icon for his own class (hierarchy) into Nautilus. I can add one with tricks in "ClassesIconsCache" in class AbstractNautilusUI. But is there a default extension mechanism similar to OB where one just implemented a method #browserIcon? Thx T.

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Peter Hugosson-Miller
I wasn't being ironic, I just didn't know. In my 18 years of Smalltalk programming, I've managed to avoid coming across that particular syntax before. Is it Pharo-specific? -- Cheers, Peter. On 2 jan 2013, at 10:12, Frank Shearar wrote: > On 2 January 2013 09:09, Peter Hugosson-Miller wrote:

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread J . P . L . Martín
Actually the code of the GUI is inspired on the Pharocast video on the making of a Contact list. I wonder if the list is static since is defined there as a newListFor and because that you can't send any message to it, I'm sure there should be a way to do it so #onPrestamosClick look like: --- #onPr

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Frank Shearar
On 2 January 2013 09:09, Peter Hugosson-Miller wrote: > Quick question: what's with all the curly braces? This doesn't look much like > Smalltalk code to me :-P I don't know how much this is tongue-in-cheek: assuming none ( :) ), it's a literal Array assembled by sending messages, as opposed to

Re: [Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread Peter Hugosson-Miller
Quick question: what's with all the curly braces? This doesn't look much like Smalltalk code to me :-P -- Cheers, Peter. On 2 jan 2013, at 10:02, J. P. L. Martín wrote: > Hello, I'm having trouble to figure out how to do this, I have a simple > window with 3 buttons, each button should change

[Pharo-project] UITheme builder, change newList list onButtonClick

2013-01-02 Thread J . P . L . Martín
Hello, I'm having trouble to figure out how to do this, I have a simple window with 3 buttons, each button should change the content listed on the list below them but I'm really not sure about how to do it. This is the code for the window: --- open "Abre la ventana principal del Sistema de Ges