Re: [Pharo-project] Pharo on retina display

2012-08-03 Thread Philippe Marschall
On 08/01/2012 10:43 PM, Igor Stasenko wrote: On 1 August 2012 21:56, Sean P. DeNigris s...@clipperadams.com wrote: Like all apps not upgraded for retina, Pharo looks pixelated and fuzzy on the new MBPs. Is there any workaround which at least makes the text less fuzzy? Use freetype :) Doesn't

Re: [Pharo-project] Magritte 2 or 3

2012-07-05 Thread Philippe Marschall
On 07/05/2012 12:02 PM, Serge Stinckwich wrote: Hi all, anyone has a copy of the Magritte repository ? I want to do a demo of Magritte. I know that all Lukas repository are down now. We have to do something about Lukas moving apartments. Every time he does it it's a major disruption to

Re: [Pharo-project] Persistence options

2012-06-26 Thread Philippe Marschall
On 06/26/2012 12:32 PM, Mariano Martinez Peck wrote: 2012/6/26 Torsten Bergmann asta...@gmx.de Regarding Glorp: how well does the Pharo port work with non-Postgresql already: MySQL, SQLServer, Oracle, Firebird, ... ? They do all work with OpenDBXDriver. Of course you will need the OpenDBX

Re: [Pharo-project] Persistence options

2012-06-26 Thread Philippe Marschall
On 06/26/2012 02:26 PM, Mariano Martinez Peck wrote: On Tue, Jun 26, 2012 at 2:21 PM, Philippe Marschall philippe.marsch...@netcetera.ch wrote: On 06/26/2012 12:32 PM, Mariano Martinez Peck wrote: 2012/6/26 Torsten Bergmann asta...@gmx.de Regarding Glorp: how well does the Pharo port work

Re: [Pharo-project] start thinking on summer release of Pharo 1.4

2012-06-16 Thread Philippe Marschall
On 13.06.2012 11:08, Esteban Lorenzano wrote: Hi, I started thinking on next release of Pharo 1.4 (which will be code named summer, not an ugly number). It's only summer in the northern hemisphere. Eclipse renamed their winter releases because it isn't winter in February in half of the

Re: [Pharo-project] Fastest utf-8 encoder contest

2012-06-13 Thread Philippe Marschall
On 06/13/2012 04:44 AM, Igor Stasenko wrote: Hi, hardcore hackers. please take a look at the code and tell if it can be improved. The AsmJit snippet below transforms an unicode integer value to 1..4-byte sequence of utf-8 then the outer piece of code (which is not yet written) will

Re: [Pharo-project] Fastest utf-8 encoder contest

2012-06-13 Thread Philippe Marschall
On 06/13/2012 11:40 AM, Henrik Sperre Johansen wrote: On 13.06.2012 10:31, Philippe Marschall wrote: On 06/13/2012 04:44 AM, Igor Stasenko wrote: Hi, hardcore hackers. please take a look at the code and tell if it can be improved. The AsmJit snippet below transforms an unicode integer value

Re: [Pharo-project] Fastest utf-8 encoder contest

2012-06-13 Thread Philippe Marschall
On 06/13/2012 02:59 PM, Igor Stasenko wrote: On 13 June 2012 10:31, Philippe Marschall philippe.marsch...@netcetera.ch wrote: On 06/13/2012 04:44 AM, Igor Stasenko wrote: Hi, hardcore hackers. please take a look at the code and tell if it can be improved. The AsmJit snippet below transforms

Re: [Pharo-project] Semantic Versioning

2012-05-14 Thread Philippe Marschall
On 05/14/2012 04:45 AM, Sean P. DeNigris wrote: Do you guys know about this? Yes, Eclipse uses it, successfully, for a decade. This seems like it could fit really well with Metacello... I don't think you'd be happy with the consequences. First you'd have to define what is API which is hard

Re: [Pharo-project] Semantic Versioning

2012-05-14 Thread Philippe Marschall
On 05/14/2012 05:11 PM, Sean P. DeNigris wrote: Philippe Marschall-2 wrote I don't think you'd be happy with the consequences. First you'd have to define what is API which is hard because everything is public in Smalltalk Right, first you'd have to specify public packages/categories

Re: [Pharo-project] dependency injection

2012-05-07 Thread Philippe Marschall
On 05/05/2012 10:04 AM, Milan Mimica wrote: What are you feelings about dependency injection? Oh oh, you brought up the topic. We have about six different ways in Seaside how we look up implementation classes. Anything from writing them to a class variable to iterating over the subclasses and

Re: [Pharo-project] Redline Smalltalk ...

2012-04-23 Thread Philippe Marschall
On 04/23/2012 08:05 AM, James Ladd wrote: Redline Smalltalk has undergone some Big changes, maybe now is a good time for you to try it? http://redline.st Could you outline some of those changes? Cheers Philippe

[Pharo-project] So I broke 100 Mbytes/s today

2012-04-09 Thread Philippe Marschall
Hi This is a small update on the work I've been doing on the AJP adapter for Seaside. I've optimized the content rendering and reduced the amount of copying it does for content rendering (header rendering still does more copying than strictly necessary). The most dramatic change is with a

Re: [Pharo-project] So I broke 100 Mbytes/s today

2012-04-09 Thread Philippe Marschall
On 09.04.2012 18:44, Sven Van Caekenberghe wrote: On 09 Apr 2012, at 11:48, Philippe Marschall wrote: Hi This is a small update on the work I've been doing on the AJP adapter for Seaside. I've optimized the content rendering and reduced the amount of copying it does for content rendering

[Pharo-project] Recover from an MNU in start up list?

2012-04-08 Thread Philippe Marschall
Hi I extracted a superclass and now I get a MNU during image startup because I have an instance of the now abstract base class in the start up list. The image comes up for a fraction of a second and the crashes (PharoDebug.log). Any idea of how I can recover from this? Cheers Philippe

Re: [Pharo-project] Must watch: Momentum, roadmaps and more by Jason Fried

2012-04-03 Thread Philippe Marschall
On 04/02/2012 11:20 PM, Jimmie Houchin wrote: On 4/2/2012 9:58 AM, Philippe Marschall wrote: On 04/02/2012 04:22 PM, Sebastian Sastre wrote: Hey guys, another must watch: Momentum, roadmaps and more by Jason Fried [1] it's a bit old but is great stuff Is there somewhere a non-Flash

Re: [Pharo-project] Must watch: Momentum, roadmaps and more by Jason Fried

2012-04-02 Thread Philippe Marschall
On 04/02/2012 04:22 PM, Sebastian Sastre wrote: Hey guys, another must watch: Momentum, roadmaps and more by Jason Fried [1] it's a bit old but is great stuff Is there somewhere a non-Flash version? Cheers Philippe

Re: [Pharo-project] how to get a string read stream from filesystem

2012-03-27 Thread Philippe Marschall
On 11/19/2011 03:11 PM, Tudor Girba wrote: Hi, Thanks. I know that the ByteArray is the data structure, but I would like to get a stream that decodes the information and lets me traverse characters, rather than bytes. What information? Which encoding? Cheers Philippe

Re: [Pharo-project] Seaside Book: Chapter 17, Serving Files

2012-03-26 Thread Philippe Marschall
On 03/26/2012 03:29 AM, Schwab,Wilhelm K wrote: Stef, Thanks for Dynamic Web Development With Seaside - it's a great book! One omission that I have noted is that of dynamically serving files. Making a long story short, I have a Seaside app that swallows and regurgitates literature (300

Re: [Pharo-project] Trying to make KomHttpServer load in 1.4

2012-03-20 Thread Philippe Marschall
On 17.03.2012 18:00, Stéphane Ducasse wrote: Hi guys I saw that TranscriptStream is deprecated in 1.3 and I was looking at the logic of the Logger. I do not understand the use of isTranscriptStream especially since it is defined only on Stream ^ false and the EmergencyEvaluator which is

Re: [Pharo-project] Socket listenOn: 0 accept

2012-03-09 Thread Philippe Marschall
On 03/09/2012 04:44 PM, Sven Van Caekenberghe wrote: Most socket API's allow for the creation of a server socket on the next available port, often by specifying 0 instead of a port. When the socket is bound, one can retrieve the local port and let the client(s) know. I tried to do that in

Re: [Pharo-project] Adding a statement programmatically

2012-03-08 Thread Philippe Marschall
On 03/07/2012 09:12 PM, Sean P. DeNigris wrote: What's the easiest way to add a statement to an existing method? In the case I'm thinking about, it's going at the end, so I can cheat and just recompile with the string appended, but I'd like to know how to insert into an arbitrary place in the

Re: [Pharo-project] .changes are now 37MB….

2012-03-06 Thread Philippe Marschall
On 06.03.2012 09:44, Marcus Denker wrote: ... what do we do? http://code.google.com/p/pharo/issues/detail?id=4843 (but that will not help that much. And someone would need to look at the tracker entry and make it ready for integration). or just do a condense? The history is in Monticello.

Re: [Pharo-project] Cog VM binaries as per VMMaker.oscog-eem.152/r2538.

2012-03-04 Thread Philippe Marschall
On 03.03.2012 23:21, Eliot Miranda wrote: Cog VM binaries as per VMMaker.oscog-eem.152/r2538 http://www.mirandabanda.org/files/Cog/VM/VM.r2538/. Fix tricky context state bug that can cause crashes in the GC. ContextpartrunUntilErrorOrReturnFrom: may pop the last argument. Hence if a frame is

Re: [Pharo-project] FilePlugin rant

2012-03-01 Thread Philippe Marschall
On 03/01/2012 11:14 AM, Sven Van Caekenberghe wrote: Camillo, On 01 Mar 2012, at 10:54, Camillo Bruni wrote: I recently started to hack around Monticello due to very low response times when having a huge package cache. Now interestingly the FilePlugin primitives for listing files are

Re: [Pharo-project] Few Aida on Swazoo benchmarks, Pharo and VW

2012-02-28 Thread Philippe Marschall
On 02/27/2012 01:56 PM, Janko Mivšek wrote: ... Results are interesting, Pharo is now only 3x slower than VW on dynamic page generation but on network layer it is the same or even slighty faster, ... Do you have any explanation for this? I'm amazed at how close the number for static content

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Philippe Marschall
On 02/25/2012 05:47 PM, Sven Van Caekenberghe wrote: Philippe , That is incredibly fast, I just tried and I can't even get plain apache2 serve the static.html that fast over the local network ! When I have more time, I really have to try to repeat your results with your code ( as well as

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Philippe Marschall
On 02/27/2012 10:11 AM, Göran Krampe wrote: Hi Philippe! Nice to see your AJP work giving results! I think Nginx has a module for AJP, would be interesting to see if that makes a difference. :) I don't see how this should help when the Pharo image is at 100% CPU. I don't see how event driven

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Philippe Marschall
On 02/27/2012 12:53 PM, Janko Mivšek wrote: Hi guys, S, Philippe Marschall piše: Göran Krampe wrote: Nice to see your AJP work giving results! I think Nginx has a module for AJP, would be interesting to see if that makes a difference. :) I don't see how this should help when the Pharo

[Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Philippe Marschall
Hi I heighten everybody's mood I'll post some positive news. After some optimizations in both Seaside and AJP I managed to break 8000 requests / sec with a single Pharo 1.3 image. Thanks to SystemProfiler I knew where to look. This is with a single request handler that just returns a two

Re: [Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Philippe Marschall
On 25.02.2012 16:02, Sven Van Caekenberghe wrote: Philippe, On 25 Feb 2012, at 14:35, Philippe Marschall wrote: Hi I heighten everybody's mood I'll post some positive news. After some optimizations in both Seaside and AJP I managed to break 8000 requests / sec with a single Pharo 1.3 image

Re: [Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Philippe Marschall
On 25.02.2012 17:47, Sven Van Caekenberghe wrote: Philippe , That is incredibly fast, I just tried and I can't even get plain apache2 serve the static.html that fast over the local network ! It's not over the network, it's on the local machine. Keep-alive makes a big difference. When I

Re: [Pharo-project] Migrating from VSE

2012-02-23 Thread Philippe Marschall
On 02/23/2012 09:27 AM, S Krish wrote: Can anyone can throw in the challenges in migrating VSE into Pharo.. UI - Morphic a big change.. rest of the code - Pharo base.. do we have grease / or anything akin.. to ease migration Grease helps only if you're code is already written against

Re: [Pharo-project] Fed up with the troll - my personal response

2012-02-22 Thread Philippe Marschall
On 02/22/2012 12:23 PM, Nick Ager wrote: Trolls are so repetitive - it's not difficult to parody them... http://troller.seasidehosting.st/ http://memegenerator.net/instance/15023393 First Magritte 3, now this. *deeply impressed* Cheers Philippe

Re: [Pharo-project] Fwd: [Moose-dev] configuring moose

2012-02-19 Thread Philippe Marschall
On 19.02.2012 12:18, Stéphane Ducasse wrote: Moose :) Nile-Base is repeated 5 times. If you exclude duplications you go from 419 to 162. Cheers Philippe

[Pharo-project] setsockopt: No,buffer space available

2012-02-16 Thread Philippe Marschall
Hi I have some code that runs a protocol on consisting of 8k packets over TCP. This works fantastically well on Linux. However on Mac OS I get a lot of failed request. Investigating further I found the following error log: 16.02.12 18:44:12.485 [0x0-0x95095].com.squeak.Cog: setsockopt: No

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

2012-02-13 Thread Philippe Marschall
On 02/13/2012 12:08 AM, Eliot Miranda wrote: Hi Phillipe, you'll need to add TCP_CORK to the list of known options in platforms/unix/plugins/SocketPlugin/sqUnixSocket.c Do you accept patches? Is the source still at [1]? [1] http://www.squeakvm.org/svn/squeak/branches/Cog/ Cheers

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

2012-02-13 Thread Philippe Marschall
On 13.02.2012 19:25, Eliot Miranda wrote: On Sun, Feb 12, 2012 at 11:59 PM, Philippe Marschall philippe.marsch...@netcetera.ch mailto:philippe.marsch...@netcetera.ch wrote: On 02/13/2012 12:08 AM, Eliot Miranda wrote: Hi Phillipe, you'll need to add TCP_CORK

Re: [Pharo-project] load testing a database

2012-02-12 Thread Philippe Marschall
On 11.02.2012 22:03, Tudor Girba wrote: 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

Re: [Pharo-project] load testing a database

2012-02-12 Thread Philippe Marschall
On 12.02.2012 02:58, Ben Coman wrote: 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

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

[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

Re: [Pharo-project] Trusting Trust

2012-02-08 Thread Philippe Marschall
On 02/07/2012 02:47 PM, Ben Coman wrote: This is slightly paranoid thinking, but considering the long evolution of Smalltalk live images (apparently all the way from the original Xerox PARC ST80 [1] ) in relation to Ken Thompson's Reflections on Trusting Trust [2] - are there any mechanisms to

Re: [Pharo-project] Trusting Trust

2012-02-08 Thread Philippe Marschall
On 02/08/2012 10:33 AM, Stéphane Ducasse wrote: On Feb 8, 2012, at 9:35 AM, Philippe Marschall wrote: On 02/07/2012 02:47 PM, Ben Coman wrote: This is slightly paranoid thinking, but considering the long evolution of Smalltalk live images (apparently all the way from the original Xerox PARC

Re: [Pharo-project] Trusting Trust

2012-02-08 Thread Philippe Marschall
On 02/08/2012 10:43 AM, Marcus Denker wrote: On Feb 8, 2012, at 10:39 AM, Philippe Marschall wrote: well I do not think so since we can all read the code. No, read the argument again. If the compiler is compromised and the other tools in the image are compromised you can't read the code

Re: [Pharo-project] Trusting Trust

2012-02-08 Thread Philippe Marschall
On 02/08/2012 11:33 AM, Norbert Hartl wrote: Am 08.02.2012 um 11:12 schrieb Philippe Marschall: On 02/08/2012 10:43 AM, Marcus Denker wrote: On Feb 8, 2012, at 10:39 AM, Philippe Marschall wrote: well I do not think so since we can all read the code. No, read the argument again

Re: [Pharo-project] Slides Pharo talk Fosdem

2012-02-07 Thread Philippe Marschall
On 02/07/2012 02:15 PM, Marcus Denker wrote: Hi, I have put the slides online: -Slides SlideShare http://www.slideshare.net/MarcusDenker/pharo-next-steps -Slides PDF http://rmod.lille.inria.fr/archives/talks/2012-Fosdem-Denker-Pharo.pdf Thanks for the PDF slides! Cheers

Re: [Pharo-project] pharo vision

2012-02-05 Thread Philippe Marschall
On 30.01.2012 09:24, Stéphane Ducasse wrote: OK, so here's my take. I try to not turn this into a wish list. Rich libraries While I obviously agree that rich libraries are valuable I believe it's important to have clear guidelines to what should be part of Pharo and what not. In one extreme I

Re: [Pharo-project] Seaside going better

2012-02-05 Thread Philippe Marschall
On 05.02.2012 16:37, Schwab,Wilhelm K wrote: A clean 1.3 image is starting to work. I would still like to see Jenkins create Seaside-enabled images, because the download times can be significant, and I have experienced intermittent failures that might be due to down servers, etc. My most recent

Re: [Pharo-project] load testing a database

2012-02-05 Thread Philippe Marschall
On 03.02.2012 16:11, Tudor Girba wrote: Hi, Do you happen to know methods to approach the problem of testing the capacity of an application to work with an SQL database? Which capacity? In particular, I am interested in simulating concurrent requests towards this database that would

Re: [Pharo-project] [Smalltalk for small projects only?

2012-01-29 Thread Philippe Marschall
On 29.01.2012 17:29, Steve Wart wrote: Big legacy projects are still using Envy for VisualWorks less for the reasons listed below, but mostly because it's extremely difficult to migrate to Store without doing a big bang and most of these projects don't have 200+ developers anymore anyhow

Re: [Pharo-project] Smalltalk for small projects only?

2012-01-29 Thread Philippe Marschall
On 29.01.2012 19:39, Stéphane Ducasse wrote: No, it does not. Please elaborate: I really can't see the difference between doing a merge (either an easy one or a more diffucult one over multiple files, spread over a couple of days, with intervening changes by others) using either Monticello

Re: [Pharo-project] Smalltalk for small projects only?

2012-01-29 Thread Philippe Marschall
On 29.01.2012 19:39, Stéphane Ducasse wrote: No, it does not. Please elaborate: I really can't see the difference between doing a merge (either an easy one or a more diffucult one over multiple files, spread over a couple of days, with intervening changes by others) using either Monticello

Re: [Pharo-project] Smalltalk for small projects only?

2012-01-29 Thread Philippe Marschall
On 29.01.2012 22:31, Chris Muller wrote: But the goal of making the image smaller is congruent with the goal of making Morphic smaller, which would be congruent with the desire for Monticello to be scalable. What are you talking about? I chose Morphic because it was the first package I found

Re: [Pharo-project] Smalltalk for small projects only?

2012-01-29 Thread Philippe Marschall
On 29.01.2012 21:12, Guido Stepken wrote: I often discuss with Frank Lesser about Smalltalk compiler internals. He has written a Smalltalk VM (GVM), that is written in Assembler and jits Smalltalk directly dynamically into Intel machine code, that is *faster* than C in normal cases, expecially

Re: [Pharo-project] loading Seaside 3.0.6.3 in Pharo 1.4

2012-01-29 Thread Philippe Marschall
On 29.01.2012 21:23, Esteban Lorenzano wrote: Hi, I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes: 1) KomLogger#attachTranscript self detachTheTranscript. ^(self streams detect: [:ea | ea isTranscriptStream]

Re: [Pharo-project] loading Seaside 3.0.6.3 in Pharo 1.4

2012-01-29 Thread Philippe Marschall
On 29.01.2012 21:32, Guido Stepken wrote: Marcus Denker IMHO is the only one, who is able to do a diff - diff - diff (with his Moose tools) on VA, Pharo, Seaside Code to filter out a adaption/portability layer between these Smalltalk and make future ports of packets an ease!? SPORT was a great

Re: [Pharo-project] loading Seaside 3.0.6.3 in Pharo 1.4

2012-01-29 Thread Philippe Marschall
On 29.01.2012 23:14, Philippe Marschall wrote: On 29.01.2012 21:23, Esteban Lorenzano wrote: Hi, I loaded last version of seaside into a pharo 1.4 image. Everything looks working fine, but there a couple of fixes: 1) KomLogger#attachTranscript self detachTheTranscript. ^(self streams detect

[Pharo-project] loading bytecodes into the image?

2012-01-08 Thread Philippe Marschall
Hi Ok, I'm not pretending this isn't a stupid idea, I'm just curios. Suppose I want to build something that would allow me to load compiled classes (without sources) into the VM. How would you approach something like this? What things need special care (bindings, symbols, load order, …)?

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

Re: [Pharo-project] seaside and pharo (was: glamour and pharo)

2012-01-01 Thread Philippe Marschall
On 31.12.2011 18:58, Lukas Renggli wrote: Let's take this on the Pharo mailing list. I do think that Seaside should be considered for being part of the Pharo infrastructure. At least the Core and the basic HTML rendering (i.e., without JQuery, Magritte and Pier). And I also think your analysis

Re: [Pharo-project] seaside and pharo (was: glamour and pharo)

2012-01-01 Thread Philippe Marschall
On 01.01.2012 17:07, Stéphane Ducasse wrote: Hi philippe I need a dictionary to read your emails :) What is a meme? An idea virus [1]. You probably know several Internet memes [2] like lolcats or Yo dawg. [1] http://en.wikipedia.org/wiki/Meme [2]

[Pharo-project] string hash collisions?

2011-12-30 Thread Philippe Marschall
Hi As you probably noted string hash collisions are all the rage these days [1]. Has anybody looked into whether this applies to Pharo as well? [1] http://events.ccc.de/congress/2011/Fahrplan/events/4680.en.html Cheers Philippe

Re: [Pharo-project] string hash collisions?

2011-12-30 Thread Philippe Marschall
On 30.12.2011 18:29, Levente Uzonyi wrote: On Fri, 30 Dec 2011, Levente Uzonyi wrote: On Fri, 30 Dec 2011, Levente Uzonyi wrote: On Fri, 30 Dec 2011, Philippe Marschall wrote: Hi As you probably noted string hash collisions are all the rage these days [1]. Has anybody looked into whether

Re: [Pharo-project] can't infer base LD_LIBRARY_PATH. Aborting.

2011-12-28 Thread Philippe Marschall
On 27.12.2011 22:39, Eliot Miranda wrote: Hi Phillipe, On Tue, Dec 27, 2011 at 1:33 PM, Philippe Marschall kus...@gmx.net mailto:kus...@gmx.net wrote: On 27.12.2011 19:18, Eliot Miranda wrote: Hi Phillipe, what does ldd answer for the squeak vm? $ldd coglinux

[Pharo-project] can't infer base LD_LIBRARY_PATH. Aborting.

2011-12-27 Thread Philippe Marschall
Hi With the latest cog VMs I get: can't infer base LD_LIBRARY_PATH. Aborting. Gentoo 64bit, Linux 3.1 LD_LIBRARY_PATH is not set but libtool is present. Cheers Philippe

Re: [Pharo-project] can't infer base LD_LIBRARY_PATH. Aborting.

2011-12-27 Thread Philippe Marschall
On 27.12.2011 19:18, Eliot Miranda wrote: Hi Phillipe, what does ldd answer for the squeak vm? $ldd coglinux/lib/squeak/4.0-2515/squeak linux-gate.so.1 = (0xe000) libutil.so.1 = /lib32/libutil.so.1 (0xf76cb000) libdl.so.2 = /lib32/libdl.so.2 (0xf76c7000)

Re: [Pharo-project] JetBraind support Redline Smalltalk ...

2011-12-20 Thread Philippe Marschall
On 12/20/2011 01:32 AM, James Ladd wrote: Hey everyone, So this is the skinny. We've met the basic requirements original discussed with Jet Brains early in 2011 for Redline Smalltalk support to make it onto their roadmap. We need your help to get it moved up. Jet Brains has a voting

[Pharo-project] #ifCurtailed:

2011-11-20 Thread Philippe Marschall
Hi Am I right that the argument to #ifCurtailed: is run in a different process (like #ensure: in an exception case)? Cheers Philippe

Re: [Pharo-project] When will Fuel file format stabilize?

2011-10-21 Thread Philippe Marschall
On 10/16/2011 02:03 PM, Stéphane Ducasse wrote: Mariano I think that the point that Philippe (our national butcher) is trying to make is the following: If by design a serializer takes the perspective that it will be able to load old formats and ensure evolution all the time then you have a

Re: [Pharo-project] When will Fuel file format stabilize?

2011-10-16 Thread Philippe Marschall
: On Sat, Oct 15, 2011 at 11:49 AM, Philippe Marschall kus...@gmx.net mailto:kus...@gmx.net wrote: On 11.10.2011 21:51, Mariano Martinez Peck wrote: On Tue, Oct 11, 2011 at 8:55 AM, Philippe Marschall philippe.marsch

Re: [Pharo-project] When will Fuel file format stabilize?

2011-10-15 Thread Philippe Marschall
On 11.10.2011 21:51, Mariano Martinez Peck wrote: On Tue, Oct 11, 2011 at 8:55 AM, Philippe Marschall philippe.marsch...@netcetera.ch mailto:philippe.marsch...@netcetera.ch wrote: On 10/08/2011 10:42 PM, Mariano Martinez Peck wrote: s This is IMHO more than

Re: [Pharo-project] When will Fuel file format stabilize?

2011-10-11 Thread Philippe Marschall
On 10/08/2011 10:42 PM, Mariano Martinez Peck wrote: s This is IMHO more than necessary for Fuel to become a production ready serializer and I'd say Fuel is now old enough to become such :) Yes. Now what I would love is that even if fuel changes that the evolution of information is

Re: [Pharo-project] socket.io

2011-10-11 Thread Philippe Marschall
On 10/10/2011 09:47 PM, Herby Vojčík wrote: Is there / planning a socket.io (server) support in Pharo? I am making suite of client-server application where I strongly consider socket.io as the communication layer; there is no problem with clients, but at the server-side, socket.io seems only

Re: [Pharo-project] socket.io

2011-10-11 Thread Philippe Marschall
On 10/11/2011 01:59 PM, Herby Vojčík wrote: Philippe Marschall-2 wrote: On 10/10/2011 09:47 PM, Herby Vojčík wrote: Is there / planning a socket.io (server) support in Pharo? I am making suite of client-server application where I strongly consider socket.io as the communication layer

Re: [Pharo-project] About Dictionary #at:ifAbsentPut:

2011-10-05 Thread Philippe Marschall
On 10/04/2011 12:52 PM, Mariano Martinez Peck wrote: Hi guys. If I tell you the selector is Dictionary #at:ifAbsentPut: what would you expect the second parameter to be? A block of course, like #at:ifAbsent: Cheers Philippe

Re: [Pharo-project] looking for Kent Beck, in his roll of MongoTalk creator/admin

2011-10-04 Thread Philippe Marschall
On 09/28/2011 06:02 PM, Sean P. DeNigris wrote: Esteban Lorenzano wrote: 2) write permission, if it is ok I to commit my changes there (a global Read/Write would also be cool, but not everybody –including me– likes it everytime :) ) Please, please, please, oh wonderful creators of SqS3

Re: [Pharo-project] little challenge for sven and us

2011-09-29 Thread Philippe Marschall
On 07/01/2011 01:10 PM, Philippe Marschall wrote: On 06/30/2011 05:37 PM, Norbert Hartl wrote: Am 30.06.2011 um 17:23 schrieb Stéphane Ducasse: Hi guys apparently people get excited by nodeJS and I would like to know the equivalence of What does it mean? in Pharo.. how do you have

Re: [Pharo-project] MethodContext #tempScopedNames vs #tempAt

2011-09-13 Thread Philippe Marschall
On 12.09.2011 23:11, Eliot Miranda wrote: Hi Phillipe, On Mon, Sep 12, 2011 at 11:06 AM, Philippe Marschall kus...@gmx.net mailto:kus...@gmx.net wrote: Hi While trying to debug the debugger in Seaside (hi Mike) I stumbled on something funny. Seaside the following code

Re: [Pharo-project] MethodContext #tempScopedNames vs #tempAt

2011-09-13 Thread Philippe Marschall
On 13.09.2011 18:54, Philippe Marschall wrote: On 12.09.2011 23:11, Eliot Miranda wrote: Hi Phillipe, On Mon, Sep 12, 2011 at 11:06 AM, Philippe Marschall kus...@gmx.net mailto:kus...@gmx.net wrote: Hi While trying to debug the debugger in Seaside (hi Mike) I stumbled

[Pharo-project] MethodContext #tempScopedNames vs #tempAt

2011-09-12 Thread Philippe Marschall
Hi While trying to debug the debugger in Seaside (hi Mike) I stumbled on something funny. Seaside the following code to work: Semaphore forMutualExclusion critical: [ | sender | sender := thisContext sender. sender tempAt: sender tempScopedNames size ] But it doesn't,

Re: [Pharo-project] Towards better HTTP client usage

2011-09-06 Thread Philippe Marschall
On 09/05/2011 10:04 PM, Sven Van Caekenberghe wrote: On 05 Sep 2011, at 21:14, Philippe Marschall wrote: So… is that URL already percent encoded? If it isn't how do I specify what encoding should be used? ;-) Url strings are fed to the ZnUrl parser. Does that mean they are expected

Re: [Pharo-project] String mathematical operations

2011-09-06 Thread Philippe Marschall
On 09/06/2011 01:06 PM, Igor Stasenko wrote: personally, i prefer a strict-typing behavior when using arithmetics. for that reason, i prefer seeing error in someString + 4 or 4 + someString but not automagical conversion. +1 Cheers Philippe

Re: [Pharo-project] Towards better HTTP client usage

2011-09-05 Thread Philippe Marschall
On 04.09.2011 20:22, Sven Van Caekenberghe wrote: Towards better HTTP client usage At the last Pharo Sprint in Lille (July 8th), Stéphane and I were at one point trying to remove some old HTTPSocket usage (which indirectly uses Zn) and replace it with direct and clean Zn usage. We hadn't

Re: [Pharo-project] Zinc crashing image at start up

2011-09-04 Thread Philippe Marschall
On 03.09.2011 13:57, Igor Stasenko wrote: On 3 September 2011 12:57, Philippe Marschall kus...@gmx.net wrote: On 02.09.2011 17:19, Igor Stasenko wrote: On 2 September 2011 17:27, Philippe Marschall kus...@gmx.net wrote: On 02.09.2011 15:39, Igor Stasenko wrote: Looks like it tries to destroy

Re: [Pharo-project] Zinc crashing image at start up

2011-09-03 Thread Philippe Marschall
On 02.09.2011 17:19, Igor Stasenko wrote: On 2 September 2011 17:27, Philippe Marschall kus...@gmx.net wrote: On 02.09.2011 15:39, Igor Stasenko wrote: Looks like it tries to destroy socket which were left from previous session, and of course fails because in newly started image the socket

[Pharo-project] WriteStream strangeness

2011-09-02 Thread Philippe Marschall
Hi I have run into two issues when #reset-ing WriteStreams. The first one is that #reset on WriteStream and ReadWriteStream don't have the same semantics [1] (although ReadWriteStream is a subclass of WriteStream). (WriteStream on: String new) nextPutAll: 'the content'; reset;

Re: [Pharo-project] Zinc crashing image at start up

2011-09-02 Thread Philippe Marschall
On 02.09.2011 15:39, Igor Stasenko wrote: Looks like it tries to destroy socket which were left from previous session, and of course fails because in newly started image the socket handle invalid. Sure, but that should signal #primitiveFailed, not segfault the vm. Cheers Philippe

Re: [Pharo-project] Omnibrowser in 1.4

2011-08-30 Thread Philippe Marschall
On 29.08.2011 14:32, Lukas Renggli wrote: On 29 August 2011 13:54, Alexandre Bergel alexandre.ber...@me.com wrote: Since there is ob, I personally use Nautilus. It provides interesting functionalities such as grouping packages and the hierarchies view (such as in vw). Importing things are

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-18 Thread Philippe Marschall
On 17.08.2011 22:57, Henrik Sperre Johansen wrote: On 17.08.2011 22:29, Philippe Marschall wrote: On 17.08.2011 22:17, Stéphane Ducasse wrote: I wrote cull: anArg Execute the receiver with one or zero argument. [ 1 + 2 ] cull: 5 returns 3 [ :x | 1+ 2 + x] cull

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it is a way to indicate that method is deprecated without showing a warning. The problem with using

Re: [Pharo-project] seaside #stable on pharo.13?

2011-08-17 Thread Philippe Marschall
On 16.08.2011 23:07, Dale Henrichs wrote: Doru, The 'Base' group defines the minimal set of packages for Seaside (it does not include OB)... The only thing that you need in addition to 'Base' is to decide which of the Adaptors you want to use and you can have a perfectly functioning

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 17.08.2011 14:24, Igor Stasenko wrote: On 17 August 2011 14:14, Philippe Marschall kus...@gmx.net wrote: On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 17.08.2011 16:05, Hernán Morales Durand wrote: Hi Lukas, Igor 2011/8/17 Lukas Renggli reng...@gmail.com: How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Philippe Marschall
On 17.08.2011 22:17, Stéphane Ducasse wrote: I wrote cull: anArg Execute the receiver with one or zero argument. [ 1 + 2 ] cull: 5 returns 3 [ :x | 1+ 2 + x] cull: 5 returns 8 ^numArgs = 0 ifTrue:

Re: [Pharo-project] seaside #stable on pharo.13?

2011-08-16 Thread Philippe Marschall
On 16.08.2011 12:23, Marcus Denker wrote: On Aug 16, 2011, at 12:18 PM, Tudor Girba wrote: Hi, The ConfiguraitonOfSeaside does not define any #stable version for Pharo 1.3. Is it intentional or is it simply because the configuration is not up to date? The configuration is not up

Re: [Pharo-project] optimizing primitiveFindFirstInString

2011-08-15 Thread Philippe Marschall
On 15.08.2011 00:21, Levente Uzonyi wrote: On Sun, 14 Aug 2011, Philippe Marschall wrote: On 14.08.2011 22:00, Levente Uzonyi wrote: On Sun, 14 Aug 2011, Philippe Marschall wrote: Hi In Seaside we get a lot of performance gains out of primitiveFindFirstInString. One thing that always

Re: [Pharo-project] optimizing primitiveFindFirstInString

2011-08-15 Thread Philippe Marschall
On 15.08.2011 18:07, Levente Uzonyi wrote: On Mon, 15 Aug 2011, Philippe Marschall wrote: On 15.08.2011 00:21, Levente Uzonyi wrote: On Sun, 14 Aug 2011, Philippe Marschall wrote: On 14.08.2011 22:00, Levente Uzonyi wrote: On Sun, 14 Aug 2011, Philippe Marschall wrote: Hi In Seaside we

[Pharo-project] optimizing primitiveFindFirstInString

2011-08-14 Thread Philippe Marschall
Hi In Seaside we get a lot of performance gains out of primitiveFindFirstInString. One thing that always annoyed me a bit is that it's not as optimized as it could be. The inclusionMap you give it are 256 consecutive boolean values (0 or 1). There is no need for this to be a 256 element

Re: [Pharo-project] optimizing primitiveFindFirstInString

2011-08-14 Thread Philippe Marschall
On 14.08.2011 22:00, Levente Uzonyi wrote: On Sun, 14 Aug 2011, Philippe Marschall wrote: Hi In Seaside we get a lot of performance gains out of primitiveFindFirstInString. One thing that always annoyed me a bit is that it's not as optimized as it could be. The inclusionMap you give

  1   2   3   >