Re: [Pharo-project] NB Bug?

2011-12-15 Thread Stéphane Ducasse
Igor please make NB syntax robust to C silliness. Stef On Dec 15, 2011, at 2:08 AM, Fernando Olivero wrote: Your right, this isnt a bug, NativeBoost is very well tested and works really nice! I should reformulate the comment: 'if i new user of Native Boost, and i copy and paste some

Re: [Pharo-project] NB Bug?

2011-12-15 Thread Henrik Sperre Johansen
On 14.12.2011 02:10, Igor Stasenko wrote: On 14 December 2011 01:17, Fernando Oliverofernando.oliv...@usi.ch wrote: Igor, is this a bug? When parsing methods that send native functions withouth arguments , void, theres a DNU. For example in the following method: ^ self

Re: [Pharo-project] 1.3, PBE and lab setups

2011-12-15 Thread Oscar Nierstrasz
Sure, that would be great, but please be aware that you must also check that the examples (and tests) work as advertised. If someone wants to do this please contact me, and I can give some advice and help ... on On 15 Dec 2011, at 08:48, stephane ducasse wrote: On Dec 15, 2011, at 2:24

[Pharo-project] Technical Debt of Smalltalk with Moose? (was Re: An Improvement Over its Successors)

2011-12-15 Thread Janko Mivšek
Hi guys, I'm wondering if we can produce the same comparison of Technical Debt with Moose technology comparing Smalltalk with Java, .NET and others, as in study below? From study: Technical debt is highest in Java-EE, .NET second. Technical Debt represents the effort required to fix problems

Re: [Pharo-project] FFI is broken in Cog - success^2 [WAS] Re: Pharo 1.3 vs 1.2.1 some results for ConfigurationOfODBC - success

2011-12-15 Thread Ben Coman
I am happy to report that Pharo 1.3 ODBC is now working on MS Windows 7 using CogVM version 2522. With the right parts it is straight forward to set up, but for a wider audience I have detailed the steps at http://blog.openinworld.com/2011/12/pharo-odbc-working-on-windows-7/ cheers, Ben

Re: [Pharo-project] FFI is broken in Cog - success^2 [WAS] Re: Pharo 1.3 vs 1.2.1 some results for ConfigurationOfODBC - success

2011-12-15 Thread Mariano Martinez Peck
Excellent. Thanks for not giving up and for writing such a nice post :) On Thu, Dec 15, 2011 at 5:59 PM, Ben Coman b...@openinworld.com wrote: ** I am happy to report that Pharo 1.3 ODBC is now working on MS Windows 7 using CogVM version 2522. With the right parts it is straight forward to

Re: [Pharo-project] NB Bug?

2011-12-15 Thread Igor Stasenko
Fernando, i added you as developer to NativeBoost project. Please submit your fix there. -- Best regards, Igor Stasenko.

Re: [Pharo-project] NB Bug?

2011-12-15 Thread Igor Stasenko
On 15 December 2011 10:28, Henrik Sperre Johansen henrik.s.johan...@veloxit.no wrote: On 14.12.2011 02:10, Igor Stasenko wrote: On 14 December 2011 01:17, Fernando Oliverofernando.oliv...@usi.ch  wrote: Igor, is this a bug? When parsing methods that send native functions withouth arguments

[Pharo-project] UnixFileDirectory default directoryExists: UnixFileDirectory default asString, '/.'

2011-12-15 Thread Eliot Miranda
Hi All, just noticed that UnixFileDirectory default directoryExists: UnixFileDirectory default asString, '/.' answers false, since directoryNames excludes '.' and '..' (justifiable, and changing this might break all manner of things). i.e. FileDirectorydirectoryExists:

Re: [Pharo-project] NB Bug?

2011-12-15 Thread Eliot Miranda
On Thu, Dec 15, 2011 at 2:14 PM, Igor Stasenko siguc...@gmail.com wrote: On 15 December 2011 10:28, Henrik Sperre Johansen henrik.s.johan...@veloxit.no wrote: On 14.12.2011 02:10, Igor Stasenko wrote: On 14 December 2011 01:17, Fernando Oliverofernando.oliv...@usi.ch wrote: Igor,

Re: [Pharo-project] IdentitySet but using #hash rather than #identityHash ?

2011-12-15 Thread Mariano Martinez Peck
Well...it is much slower :( it seems that the cost of (aKey identityHash + ( aKey mareaClass identityHash bitShift: 12) + (aKey basicSize bitShift: 24) is bigger than the colisions. Anyway, thanks for the nice thread. I learned. Cheers On Tue, Dec 13, 2011 at 8:51 PM, Mariano Martinez Peck

Re: [Pharo-project] IdentitySet but using #hash rather than #identityHash ?

2011-12-15 Thread Guido Stepken
Collision free hashing based on fibonacci pseudo primes? 25 years old ... :-) On Dec 15, 2011 11:35 PM, Mariano Martinez Peck marianop...@gmail.com wrote: Well...it is much slower :( it seems that the cost of (aKey identityHash + ( aKey mareaClass identityHash bitShift: 12) + (aKey basicSize

Re: [Pharo-project] UnixFileDirectory default directoryExists: UnixFileDirectory default asString, '/.'

2011-12-15 Thread Eliot Miranda
Of course I should have written UnixFileDirectory default directoryExists: UnixFileDirectory default fullName, '/.' But same problem applies... On Thu, Dec 15, 2011 at 2:19 PM, Eliot Miranda eliot.mira...@gmail.comwrote: Hi All, just noticed that UnixFileDirectory default

Re: [Pharo-project] IdentitySet but using #hash rather than #identityHash ?

2011-12-15 Thread Henrik Sperre Johansen
On 15.12.2011 23:35, Mariano Martinez Peck wrote: Well...it is much slower :( it seems that the cost of (aKey identityHash + ( aKey mareaClass identityHash bitShift: 12) + (aKey basicSize bitShift: 24) is bigger than the colisions. Anyway, thanks for the nice thread. I learned. Cheers

Re: [Pharo-project] IdentitySet but using #hash rather than #identityHash ?

2011-12-15 Thread Henrik Sperre Johansen
On 16.12.2011 00:40, Henrik Sperre Johansen wrote: On 15.12.2011 23:35, Mariano Martinez Peck wrote: Well...it is much slower :( it seems that the cost of (aKey identityHash + ( aKey mareaClass identityHash bitShift: 12) + (aKey basicSize bitShift: 24) is bigger than the colisions. Anyway,

Re: [Pharo-project] IdentitySet but using #hash rather than #identityHash ?

2011-12-15 Thread Henrik Sperre Johansen
On 16.12.2011 00:40, Henrik Sperre Johansen wrote: On 15.12.2011 23:35, Mariano Martinez Peck wrote: Well...it is much slower :( it seems that the cost of (aKey identityHash + ( aKey mareaClass identityHash bitShift: 12) + (aKey basicSize bitShift: 24) is bigger than the colisions. Anyway,

Re: [Pharo-project] IdentitySet but using #hash rather than #identityHash ?

2011-12-15 Thread Henrik Sperre Johansen
On 16.12.2011 01:06, Henrik Sperre Johansen wrote: Usual identitySet: n := 100. set := IdentitySet new: n. Time millisecondsToRun: [1 to: n do: [:waste | set add: Object new.]] 4595 Custom subclass with a slightly modified hash (anObject identityHash + (anObject class basicIdentityHash

Re: [Pharo-project] IdentitySet but using #hash rather than #identityHash ?

2011-12-15 Thread Levente Uzonyi
On Fri, 16 Dec 2011, Henrik Sperre Johansen wrote: On 16.12.2011 00:40, Henrik Sperre Johansen wrote: On 15.12.2011 23:35, Mariano Martinez Peck wrote: Well...it is much slower :( it seems that the cost of (aKey identityHash + ( aKey mareaClass identityHash bitShift: 12) + (aKey basicSize

Re: [Pharo-project] IdentitySet but using #hash rather than #identityHash ?

2011-12-15 Thread Levente Uzonyi
On Fri, 16 Dec 2011, Henrik Sperre Johansen wrote: On 16.12.2011 00:40, Henrik Sperre Johansen wrote: On 15.12.2011 23:35, Mariano Martinez Peck wrote: Well...it is much slower :( it seems that the cost of (aKey identityHash + ( aKey mareaClass identityHash bitShift: 12) + (aKey basicSize