Re: [Pharo-project] Smart bracketing annoyance

2012-01-07 Thread Milan Mimica
I'll just hijack here: I also wouldn't be totally uncool if you could select a block of code an press (shift-)tab to (un)ident it. Basic stuff really. On 7 January 2012 05:32, Ben Coman wrote: > > I am still coming to terms with the "smart" bracketing where pressing the > open-round-bracket key

Re: [Pharo-project] Smart bracketing annoyance

2012-01-07 Thread Lukas Renggli
For the "smart" bracketing: Either do not load eCompletion, or change the settings in "Code browsing > eCompletion". For the indention press Ctrl+Shift+L and Ctrl+Shift+R. Lukas On 7 January 2012 09:29, Milan Mimica wrote: > I'll just hijack here: I also wouldn't be totally uncool if you could

Re: [Pharo-project] Cog+linux: external module not found

2012-01-07 Thread Nick Ager
Hi Bill, Have you tried strace to determine what library it's failing to load? Nick On 7 January 2012 03:26, Schwab,Wilhelm K wrote: > Eliot, > > There is no /lib32 or /usr/lib32. As a double check, > > locate lib32 > > returns nothing. I put the library in /usr/lib, which is what I hav

Re: [Pharo-project] happy new year plus cogdroid news

2012-01-07 Thread Guido Stepken
Hi Alain! Google has unified development for handy and tablet 4.0. They have introduced scalable, animated tiles, reacting on events, coming from analysing contents of about 100 different protocols streaming through the machine. Google even collects barometer and temperature information global,

Re: [Pharo-project] Cog+linux: external module not found

2012-01-07 Thread Mariano Martinez Peck
BTW, Eliot, is there a way so that FFI throws something different from "Module not found" when the module is there but not 32 bits? like "Module found but it is not 32 bits" ? cheers On Sat, Jan 7, 2012 at 10:04 AM, Nick Ager wrote: > Hi Bill, > > Have you tried strace to determine what library

Re: [Pharo-project] Smart bracketing annoyance

2012-01-07 Thread Ben Coman
Thanks Lucas. I am using the stock Pharo-1.3-13315 image and found it under "Code Browsing > OCompletion > Smart Characters" Although I do like the concept (I often do the same manually) I need more control of when its occurs. A ctrl-key combination would be ideal. Also whoever is packaging

Re: [Pharo-project] Smart bracketing annoyance

2012-01-07 Thread Janko Mivšek
I would also disable eCompletition in Settings by default until it works smart enough, which currently not. I agree with Ben here and I also disable it immediatelly. Janko S, Lukas Renggli piše: > For the "smart" bracketing: Either do not load eCompletion, or change > the settings in "Code browsi

[Pharo-project] Process questions about configurationOf….

2012-01-07 Thread Stéphane Ducasse
Hi guys What is the process we want? What I would like is MetaRepoForPharo13Inbox were everybody can write and a jenkins process that loads every published version and try to load it (after we will run tests and check rules). depending on the resul

Re: [Pharo-project] Process questions about configurationOf….

2012-01-07 Thread Michael Roberts
I like the idea. I wonder how you resolve dependencies & failures. Cheers, Mike On 7 Jan 2012, at 11:39, Stéphane Ducasse wrote: > Hi guys > > What is the process we want? > What I would like is > >MetaRepoForPharo13Inbox were everybody can write >and a jenkins process that loads

[Pharo-project] Bug in FileSystem

2012-01-07 Thread Mariano Martinez Peck
FSReadStream >> next: count | result | result := ByteArray new: count. handle at: position read: result startingAt: 1 count: count. position := position + 1. ^ result shouldn't be FSReadStream >> next: count | result | result := ByteArray new: count. handle at: p

Re: [Pharo-project] Process questions about configurationOf….

2012-01-07 Thread Stéphane Ducasse
On Jan 7, 2012, at 1:09 PM, Michael Roberts wrote: > I like the idea. I wonder how you resolve dependencies & failures. simply if it barks then we cannot load it so -> broken. In the first version we would just load the ConfigurationOf not copy all the packages. try and learn. Stef > Cheers

Re: [Pharo-project] Bug in FileSystem

2012-01-07 Thread Stéphane Ducasse
sounds like :) Stef On Jan 7, 2012, at 1:10 PM, Mariano Martinez Peck wrote: > FSReadStream >> next: count > | result | > result := ByteArray new: count. > handle at: position read: result startingAt: 1 count: count. > position := position + 1. > ^ result > > > shouldn't b

Re: [Pharo-project] Process questions about configurationOf….

2012-01-07 Thread Ben Coman
Stéphane Ducasse wrote: Hi guys What is the process we want? What I would like is MetaRepoForPharo13Inbox were everybody can write and a jenkins process that loads every published version and try to load it (after we will run tests and check rules). depending on the result

Re: [Pharo-project] Bug in FileSystem

2012-01-07 Thread Henrik Sperre Johansen
On 07.01.2012 13:20, Stéphane Ducasse wrote: sounds like :) Stef On Jan 7, 2012, at 1:10 PM, Mariano Martinez Peck wrote: FSReadStream>> next: count | result | result := ByteArray new: count. handle at: position read: result startingAt: 1 count: count. position := positio

Re: [Pharo-project] Bug in FileSystem

2012-01-07 Thread Henrik Sperre Johansen
On 07.01.2012 14:05, Henrik Sperre Johansen wrote: On 07.01.2012 13:20, Stéphane Ducasse wrote: sounds like :) Stef On Jan 7, 2012, at 1:10 PM, Mariano Martinez Peck wrote: FSReadStream>> next: count | result | result := ByteArray new: count. handle at: position read: result

Re: [Pharo-project] Cog+linux: external module not found

2012-01-07 Thread Schwab,Wilhelm K
Nick, I didn't know about it, but it looks like a really good thing to try. Thanks! Bill From: pharo-project-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] on behalf of Nick Ager [nick.a...@gmail.com] Sent: Saturday, January 07, 2

Re: [Pharo-project] Bug in FileSystem

2012-01-07 Thread Nicolas Cellier
2012/1/7 Henrik Sperre Johansen : > On 07.01.2012 14:05, Henrik Sperre Johansen wrote: >> >> On 07.01.2012 13:20, Stéphane Ducasse wrote: >>> >>> sounds like :) >>> >>> Stef >>> >>> On Jan 7, 2012, at 1:10 PM, Mariano Martinez Peck wrote: >>> FSReadStream>>  next: count     | result | >>>

Re: [Pharo-project] Cog+linux: external module not found

2012-01-07 Thread Schwab,Wilhelm K
It would also be nice to see (either via syslog()/OutputDebugString()) or (if possible) in the error itself, what library (full path) was being loaded. The output will generally be of interest only when something fails. Similar comments would apply to serial ports that won't open - what did the

Re: [Pharo-project] Pharo by Example

2012-01-07 Thread Michael Roberts
It is hopefully explained somewhere in a book It is more complex than needed by history. Here is what I roughly understand: Categories are the original mechanism to group classes together. The browser shows this as the left most pane and there are tools to allow you to reorganise it as you

Re: [Pharo-project] Bug in FileSystem

2012-01-07 Thread Sven Van Caekenberghe
On 07 Jan 2012, at 14:19, Henrik Sperre Johansen wrote: > 1) There's no next: into: (which returns the amount read). It's really the > only way to do buffers without garbage allocations. The 2 key methods for efficient IO are: readInto: collection startingAt: offset count: requestedCount

Re: [Pharo-project] Misc. newbie questions

2012-01-07 Thread Nicolas Cellier
2012/1/6 Lukas Renggli : > On 6 January 2012 11:20, Peter Hugosson-Miller wrote: >> On 6 jan 2012, at 06:41, "Gerry Weaver" wrote: >> >> 2. There appear to be some tool choices in the Pharo image. I would like to >> be able to create a class and it's methods in an editor in one go. I like >> bein

Re: [Pharo-project] Bug in FileSystem

2012-01-07 Thread Nicolas Cellier
2012/1/7 Sven Van Caekenberghe : > > On 07 Jan 2012, at 14:19, Henrik Sperre Johansen wrote: > >> 1) There's no next: into: (which returns the amount read). It's really the >> only way to do buffers without garbage allocations. > > The 2 key methods for efficient IO are: > > readInto: collection s

Re: [Pharo-project] Misc. newbie questions

2012-01-07 Thread Philippe Marschall
On 06.01.2012 06:41, Gerry Weaver wrote: Hello All, Firstly, let me say that I am enjoying Pharo very much at this point. I wish I would have found the time to look at this a long time ago. I have a few misc. newbie questions. 1. VisualWorks - I am doing a lot of thinking about projects that I

Re: [Pharo-project] Misc. newbie questions

2012-01-07 Thread Frank Shearar
On 7 January 2012 14:14, Nicolas Cellier wrote: > 2012/1/6 Lukas Renggli : >> On 6 January 2012 11:20, Peter Hugosson-Miller wrote: >>> On 6 jan 2012, at 06:41, "Gerry Weaver" wrote: >>> >>> 2. There appear to be some tool choices in the Pharo image. I would like to >>> be able to create a class

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-07 Thread Levente Uzonyi
On Fri, 6 Jan 2012, Mariano Martinez Peck wrote: Thanks Levente. However, #pointersToExcept: does a GC at the beginning... so.. am I missing something? Yes, at the beginning The MethodContexts are created after that GC. But those MC shouldn't be excluded by the instVar objectsToAlway

Re: [Pharo-project] Misc. newbie questions

2012-01-07 Thread Nicolas Cellier
2012/1/7 Frank Shearar : > On 7 January 2012 14:14, Nicolas Cellier > wrote: >> 2012/1/6 Lukas Renggli : >>> On 6 January 2012 11:20, Peter Hugosson-Miller wrote: On 6 jan 2012, at 06:41, "Gerry Weaver" wrote: 2. There appear to be some tool choices in the Pharo image. I would lik

Re: [Pharo-project] Misc. newbie questions

2012-01-07 Thread Frank Shearar
On 7 January 2012 15:11, Nicolas Cellier wrote: > 2012/1/7 Frank Shearar : >> On 7 January 2012 14:14, Nicolas Cellier >> wrote: >>> 2012/1/6 Lukas Renggli : On 6 January 2012 11:20, Peter Hugosson-Miller wrote: > On 6 jan 2012, at 06:41, "Gerry Weaver" wrote: > > 2. Ther

Re: [Pharo-project] Bug in FileSystem

2012-01-07 Thread Stéphane Ducasse
How can we build and improve FS? I'm too busy with other topics but I would love to get some momentum on that topic. Stef > On 07 Jan 2012, at 14:19, Henrik Sperre Johansen wrote: >> >>> 1) There's no next: into: (which returns the amount read). It's really the >>> only way to do buffers wi

Re: [Pharo-project] Process questions about configurationOf….

2012-01-07 Thread Stéphane Ducasse
>> > Some questions out of curiosity since I'm not yet involved in publishing any > packages > > Is there some way to tag for the submitter to be emailed the Jenkins results? > Perhaps a method like 'emailJenkinsResultsTo:' inthe configuration or > alternatively Jenkins might unzip the mcz to

Re: [Pharo-project] Cog+linux: external module not found

2012-01-07 Thread Schwab,Wilhelm K
Nick, Partial success. After a false start with getting output from strace (my fault), it showed me that the vm was looking a lot in the vm's directory. A symlink by the same name, allowed it to see the library. Clearly, this is not a fix, because one should not be forced to make links to an

Re: [Pharo-project] Bug Report 4 of 6: PasteUpMorph>>processEvent:

2012-01-07 Thread Stéphane Ducasse
I do not know. :) so far PasteUpMorph>>processEvent: anEvent using: defaultDispatcher "Reimplemented to install the receiver as the new ActiveWorld if it is one" | priorWorld result | self isWorldMorph ifFalse:[^super processEvent: anEvent using: defaultDispatcher].

Re: [Pharo-project] Bug Report: 3 of 6; Image freeze

2012-01-07 Thread Stéphane Ducasse
On Jan 3, 2012, at 11:22 AM, S Krish wrote: > 3. Image Freeze: > > Anything that hits #fullBounds with a byteString instead of a Morph > does not simply handle it... but freezes. This occurs with an external Table > Morph Package that permits constructing a grid of morphs, but if you pas

[Pharo-project] would it be possible to get the primitiveBeep working on recent VM?

2012-01-07 Thread Stéphane Ducasse
Hi guys would it be possible to get the primitiveBeep working on recent VM? Stef

Re: [Pharo-project] Bug Report 5 of 6: Minor annoyance in SimpleButtonMorph

2012-01-07 Thread Stéphane Ducasse
what do you suggest? How do you get a button with a bitmap style? The idea is that the protocol should be coherent. Stef > 5. > SimpleButtonMorph>> > updateVisualState: evt > >flashes the button with a color fill. For buttons that I have bitmap > style, this is annoying.. ? I can override

Re: [Pharo-project] Bug reports: 2 of 6:

2012-01-07 Thread Stéphane Ducasse
I do not think that fork is the solution. Stef On Jan 3, 2012, at 2:35 PM, S Krish wrote: > > ( SimpleButtonMorph new extent: 80@60 ; label: 'test' ; on:#click send: > #value to:[ [UIManager default inform: 'test' ] fork]; color: Color red) > openInWorld. > > the fork helps.. it simply lets t

Re: [Pharo-project] Suggestion Note:

2012-01-07 Thread Stéphane Ducasse
On Jan 4, 2012, at 10:22 AM, S Krish wrote: > Should raise this as a separate artifact and probably send out my fixes ( > currently these are hacks). > > Many of the other logics do not work as per standard practices... from other > comp usage.. windows/ linux.. > > * FileOut is silent and sa

Re: [Pharo-project] Process questions about configurationOf….

2012-01-07 Thread Guillermo Polito
Some thoughts that comes to my mind: - What if the project depends on external stuff? Let's put dbxtalk: for the tests running ok, you have to install opendbx + several databases. And since it's a pain to perform a special install for every project with special necessities, this kind of projects

Re: [Pharo-project] Process questions about configurationOf….

2012-01-07 Thread Stéphane Ducasse
first - let us focus on 95% of the cases. - we do not want overrides now in any case if you load a configuration from a given see you should get a working system. Stef On Jan 7, 2012, at 6:49 PM, Guillermo Polito wrote: > Some thoughts that comes to my mind: > > - Wha

[Pharo-project] [update 1.4] #14279

2012-01-07 Thread Stéphane Ducasse
14279 - - Issue 5157: Finder > Class > right-click > Hierarchy opens not on Class but on FinderClassNode. Tx Benjamin van Ryseghem. http://code.google.com/p/pharo/issues/detail?id=5157 - Issue 5151: Recategorization of PanelMorph. Thanks Benjamin van Ryseghem. There is no usele

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-07 Thread Mariano Martinez Peck
On Sat, Jan 7, 2012 at 4:04 PM, Levente Uzonyi wrote: > On Fri, 6 Jan 2012, Mariano Martinez Peck wrote: > > >>> Thanks Levente. However, #pointersToExcept: does a GC at the > beginning... so.. am I missing something? >>> Yes, at the beginning The MethodContexts are cre

[Pharo-project] Now you can use Fuel with FileSystem

2012-01-07 Thread Mariano Martinez Peck
Hi guys. Now you can use FileSystem streams for Fuel. Fuel only needs one small package 'FuelFileSystem' which has just 3 extension methods, and that's all ;) There is also 'FuelFileSystemTests' which let's you run all fuel tests using FS. If you want to do that, change FLSerializationTest >> setUp

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-07 Thread Levente Uzonyi
On Sat, 7 Jan 2012, Mariano Martinez Peck wrote: On Sat, Jan 7, 2012 at 4:04 PM, Levente Uzonyi wrote: On Fri, 6 Jan 2012, Mariano Martinez Peck wrote: Thanks Levente. However, #pointersToExcept: does a GC at the beginning... so.. am I missing something? Yes, at the beginning The

Re: [Pharo-project] Cog+linux: external module not found

2012-01-07 Thread Eliot Miranda
On Sat, Jan 7, 2012 at 8:49 AM, Schwab,Wilhelm K wrote: > Nick, > > Partial success. After a false start with getting output from strace (my > fault), it showed me that the vm was looking a lot in the vm's directory. > A symlink by the same name, allowed it to see the library. Clearly, this > i

Re: [Pharo-project] Misc. newbie questions

2012-01-07 Thread Eliot Miranda
On Sat, Jan 7, 2012 at 6:32 AM, Philippe Marschall wrote: > On 06.01.2012 06:41, Gerry Weaver wrote: > >> Hello All, >> >> Firstly, let me say that I am enjoying Pharo very much at this point. I >> wish I would have found the time to look at this a long time ago. >> >> I have a few misc. newbie q

Re: [Pharo-project] [update 1.4] #14279

2012-01-07 Thread Ben Coman
Stéphane Ducasse wrote: 14279 - - Issue 5157: Finder > Class > right-click > Hierarchy opens not on Class but on FinderClassNode. Tx Benjamin van Ryseghem. http://code.google.com/p/pharo/issues/detail?id=5157 This was reported by me on Pharo-1.3-13315 yesterday and closed ove

Re: [Pharo-project] Cog+linux: external module not found

2012-01-07 Thread Schwab,Wilhelm K
Eliot, SOL?? Is that really the message we want to send to current and *prospective* users? Canonical does something that makes sense from a security perspective (one needs root privileges to alter the ldconfig mapping, not to to use it). All the vm needs to do is request the #moduleName as

Re: [Pharo-project] Misc. newbie questions

2012-01-07 Thread Gerry Weaver
Hello All, Thank you for all of your responses. They are really helping me get a better picture of Pharo, the environment, and the community. I really like the idea of a REPL type interface. If I understand correctly, all of the functionality that deals with class/method definition is already

Re: [Pharo-project] Cog+linux: external module not found

2012-01-07 Thread David T. Lewis
On Sun, Jan 08, 2012 at 12:37:59AM +, Schwab,Wilhelm K wrote: > Eliot, > > SOL?? Is that really the message we want to send to current and > *prospective* users? Canonical does something that makes sense from a > security perspective (one needs root privileges to alter the ldconfig > mapp

[Pharo-project] [COTDC] 101 - TarArchiveMember

2012-01-07 Thread sean
100 classes done 796 classes remaining Continuing in Compression... Today: TarArchiveMember Comment Of The Day Contest - One Day One Comment Rules: #1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s). #2: If you cannot comm

[Pharo-project] An ideal to strive for

2012-01-07 Thread Sean P. DeNigris
I love this Tony Hoare quote: "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other is to make it so complicated that there are no obvious deficiencies." -- View this message in context: http://forum.world.st/

[Pharo-project] Quantities and Units

2012-01-07 Thread Ben Coman
I am implementing a model defined with quantity data having {value, multiplier, unit} where multiplier is m, c, k, M, etc unit is V, A, Hz, W, etc So I am looking for what quantities/units packages are around before trying to write my own. I have downloaded [1] and had a poke around there