[Pharo-project] aboutToStyle:

2012-02-11 Thread Stéphane Ducasse
Hi guys as part of a controlled experience I'm going over all the changes in MC done in squeak since pharo creation and I saw that Squeak has MCSnapshotBrowseraboutToStyle: aStyler | classDefinition shouldStyle | classSelection ifNil: [ ^false ]. self

[Pharo-project] Issue 5276: replaced MCMethodDefinition's Definitions class variable with a class instance variable.

2012-02-11 Thread Stéphane Ducasse
levente did the following in squeak - replaced MCMethodDefinition's Definitions class variable with a class instance variable. The cached definitions are no longer registered for finalization. - a bit of cleanup around MCDefinition's Instances class variable And I like the idea that we do

Re: [Pharo-project] git interesting article

2012-02-11 Thread Guido Stepken
Interesting posting. But i don't think, that this is the right model for refactoring, where a lot of 'depreciated classes' (reason: copyright, restructuring, replacement, creating 'orthogonality', whatever) cause much collateral damages in hundreds of packages, like it is in pharo at the moment.

[Pharo-project] Maybe someone here can give me an idea on where to start

2012-02-11 Thread Friedrich Dominicus
Well it's a somewhat longer story. I have some code to interface via the serial lines. And I want to do that on Windows and Linux. So far so good. Now my code for interfacing to the serial lines works fine on Windows. But it fails on Linux here's the debug.log from Pharo: THERE_BE_DRAGONS_HERE

Re: [Pharo-project] Is there an adhoc header field in Fuel?

2012-02-11 Thread Mariano Martinez Peck
I don't understand. Fuel holding multiple streams ? why? for what? e.g. for source code. Imagine storing Monticello packages in Fuel so that the source code is stored in the Fuel file and doesn't have to be written to the changes file. Instead, a more powerful SourceFilesArray (actually a

Re: [Pharo-project] Is there an adhoc header field in Fuel?

2012-02-11 Thread Mariano Martinez Peck
On Sat, Feb 11, 2012 at 2:32 AM, Yanni Chiu ya...@rogers.com wrote: On 10/02/12 3:45 PM, Stéphane Ducasse wrote: this is a good idea. Hmmm. I think the .zip file approach is the correct/better approach to take to my metadata problem. This discussion did turn up a feature of Fuel that was

[Pharo-project] Are Objects really hard?

2012-02-11 Thread Janko Mivšek
Hi guys, Again one interesting topic for this weekend to discuss. David Nolen, a Lisp and JavaScript guy posted in his blog an article titled Illiterate Programming [1] where he said: ...Yet I think Smalltalk still fundamentally failed (remember this is a programming language originally designed

Re: [Pharo-project] [squeak-dev] Are Objects really hard?

2012-02-11 Thread Hernan Wilkinson
Well... functional programming is hard and not everybody really understands it... structured programming is hard and not everybody really understood it... hmm at the end, programming is hard :-) He gives no reason about his stament nor demonstration of it neither... so he has a feeling, me too

Re: [Pharo-project] 1.4 - better from Jenkins

2012-02-11 Thread Schwab,Wilhelm K
That's if the debugger still works =:0 Good idea though. From: pharo-project-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] on behalf of Ben Coman [b...@openinworld.com] Sent: Friday, February 10, 2012 8:17 PM To:

Re: [Pharo-project] [squeak-dev] Are Objects really hard?

2012-02-11 Thread Schwab,Wilhelm K
Yes, programming is hard. It's even harder if one is poorly educated and not well read. I don't expect that everyone will have Smalltalk experience, but I would expect someone nearing completion of a PhD in computer science to have at least _heard_ of Smalltalk and Alan Kay. I recently met a

[Pharo-project] [update 1.4] #14328

2012-02-11 Thread Marcus Denker
14328 - Issue 5277: undeclared in FileList: volList http://code.google.com/p/pharo/issues/detail?id=5277 StartupPreferences shouldnt lauch script when you save http://code.google.com/p/pharo/issues/detail?id=5275 -- Marcus Denker -- http://marcusdenker.de

Re: [Pharo-project] Are Objects really hard?

2012-02-11 Thread Janko Mivšek
Let we remember that Smalltalk was designed for a kids, so programming is hard anyway is in my opinion just too simplified answer. While teaching new Smalltalkers I noticed that those without any programming experience got it faster, specially comparing to those with a relational DB experience.

Re: [Pharo-project] Are Objects really hard?

2012-02-11 Thread Schwab,Wilhelm K
I think it's worse than that. You are correct that relational storage has become a religion. Most deny the flaws and can't even conceive of an alternative, let alone whether an alternative might be better for a given project. But again, this comes down to education, broadening of the mind,

Re: [Pharo-project] [squeak-dev] Are Objects really hard?

2012-02-11 Thread Hernan Wilkinson
I could not agree more... most programmers don't know what a is closure (for example), have no idea of who is Alan Kay (or worse, Alonso Curch) and they only care about how to use Spring's dependency injection without understanding the real design flaw, or the new Hibernate annotations that will

Re: [Pharo-project] example preferences startup script Re: 1.4 - better from Jenkins

2012-02-11 Thread Ben Coman
Camillo Bruni wrote: On 2012-02-10, at 20:06, Ben Coman wrote: I just realized that clearing up those two ShouldBeImplementeds from DosFileDirectory did not really prove that startup preferences worked on MS Windows. So I found the StartupLoader classexample method and did get... 'I

Re: [Pharo-project] load testing a database

2012-02-11 Thread Tudor Girba
Hi, Sorry for the late reply, and thanks everyone for the suggestions. I did not provide much details because I am new to this domain and I wanted to see from the reactions if maybe I am not missing some relevant direction. We are trying to measure how an Oracle database can cope with an

Re: [Pharo-project] [squeak-dev] Are Objects really hard?

2012-02-11 Thread Stéphane Ducasse
Janko Frankly I do not care about what other people are thinking. OOP is a success look at Java, C#. Now let us keep our energy to build better Smalltalks. Stef On Feb 11, 2012, at 2:52 PM, Hernan Wilkinson wrote: I could not agree more... most programmers don't know what a is closure (for

Re: [Pharo-project] [squeak-dev] Are Objects really hard?

2012-02-11 Thread Schwab,Wilhelm K
Lead by example. +1. From: pharo-project-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] on behalf of Stéphane Ducasse [stephane.duca...@inria.fr] Sent: Saturday, February 11, 2012 1:34 PM To:

Re: [Pharo-project] Are Objects really hard?

2012-02-11 Thread Schwab,Wilhelm K
Someone else, who I would bet money the average mainstream programmer would not know, Kent Beck, wrote a fairly nice book. The Gang of Four, and Alpert, Brown and Woolf's Smalltalk Companion book are valuable reading. Simon Lewis' Art and Science of Smalltalk is excellent. The point is that

Re: [Pharo-project] load testing a database

2012-02-11 Thread Philippe Marschall
On 11.02.2012 19:30, Tudor Girba wrote: Hi, Sorry for the late reply, and thanks everyone for the suggestions. I did not provide much details because I am new to this domain and I wanted to see from the reactions if maybe I am not missing some relevant direction. We are trying to measure how

Re: [Pharo-project] load testing a database

2012-02-11 Thread Tudor Girba
Hi, On 11 Feb 2012, at 21:13, Philippe Marschall wrote: On 11.02.2012 19:30, Tudor Girba wrote: Hi, Sorry for the late reply, and thanks everyone for the suggestions. I did not provide much details because I am new to this domain and I wanted to see from the reactions if maybe I am not

[Pharo-project] SocketPlugin: ignoring unknown option 'TCP_CORK'

2012-02-11 Thread Philippe Marschall
Hi I had this crazy idea, what instead of buffering at the application level I use the native buffer of the socket? I would be doing more or less this: set TCP_CORK to 1 set TCP_NODELAY to 0 do individual writes set TCP_CORK to 0 set TCP_NODELAY to 1 do last write goto 1 (use TCP_NOWAIT

[Pharo-project] Regular expression

2012-02-11 Thread recursive68
Hi, Is it possible to use the VB-Regexp package to construct a single regular expression that ensures a string is alphanumeric and contains both at least one number and alphabetic character. Looking at the regexp package and documentation it doesn't appear so. In javascript or perl you use

Re: [Pharo-project] Regular expression

2012-02-11 Thread Schwab,Wilhelm K
I've used the package to good effect, but you are beyond me - hopefully someone else can offer some real help. You might something in the Reg ex chapter on http://pharobyexample.org/ Look under Pharo by Example 2 on the right side of the page. HTH (some). Bill

Re: [Pharo-project] load testing a database

2012-02-11 Thread Ben Coman
Just thinking laterally (since I don't have the experience to apply to the analysis), a practical business solution is to throw hardware at the problem - particularly for a legacy application on old hardware. One site I worked at was having issues with the overnight posting of the days

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-11 Thread Igor Stasenko
ok, so If no conforming visual exists, NULL is returned. It is hard to imagine, that these attributes not supported {GLX_RGBA. GLX_DEPTH_SIZE. 24. GLX_DOUBLEBUFFER. 0} the code seems to be fine. This is what i found: ---