Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Pharo4Stef
On 02 Mar 2014, at 06:49, Sean P. DeNigris s...@clipperadams.com wrote: In porting the Mechanize web scraping library from Ruby, I started with the following example: a.get('http://google.com/') do |page| search_result = page.form_with(:name = 'f') do |search| search.q = 'Hello

Re: [Pharo-dev] [squeak-dev] [ANN] Fuel 1.9.3

2014-03-02 Thread Max Leske
On 01.03.2014, at 23:14, Max Leske maxle...@gmail.com wrote: On 01.03.2014, at 18:46, p...@highoctane.be wrote: So Debugger - Smalltalk tools debugger needed... Thanks Phil, I missed that somehow. Debugger is now SpecDebugger. I’ll fix it. Fixed. Le 1 mars 2014 14:19, Sebastian

Re: [Pharo-dev] FLMaterializer Materialization error

2014-03-02 Thread Max Leske
https://code.google.com/p/fuel/issues/detail?id=207 On 27.02.2014, at 17:06, Max Leske maxle...@gmail.com wrote: On 27.02.2014, at 16:52, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On 27 Feb 2014, at 3:45 , Mariano Martinez Peck marianop...@gmail.com wrote: On Thu,

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Pharo4Stef
which parser will you use to parse HTML? On 02 Mar 2014, at 06:49, Sean P. DeNigris s...@clipperadams.com wrote: In porting the Mechanize web scraping library from Ruby, I started with the following example: a.get('http://google.com/') do |page| search_result = page.form_with(:name =

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Sean P. DeNigris
Pharo4Stef wrote Sean how it is different from Soup? It adds a layer from a web browsing POV, so you can say #submit this form and #click the link whose text #beginsWith: 'Whatever'. I used Soup underneath, since it is the very forgiving of the underlying html is malformed. Pharo4Stef wrote

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Sven Van Caekenberghe
Hi Sean, On 02 Mar 2014, at 06:49, Sean P. DeNigris s...@clipperadams.com wrote: In porting the Mechanize web scraping library from Ruby, I started with the following example: a.get('http://google.com/') do |page| search_result = page.form_with(:name = 'f') do |search| search.q =

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Pharo4Stef
On 02 Mar 2014, at 12:42, Sean P. DeNigris s...@clipperadams.com wrote: Pharo4Stef wrote Sean how it is different from Soup? It adds a layer from a web browsing POV, so you can say #submit this form and #click the link whose text #beginsWith: 'Whatever'. I used Soup underneath, since it

[Pharo-dev] understanding postgresv2

2014-03-02 Thread Tudor Girba
Hi, I am trying to understand how PostgresV2 is implemented because I would like to build some inspector support for it, and I encounter a couple of issues. In case anyone knows the answer, it would speed up my effort: - Why is result an instance variable in PGConnection? Making it a variable

Re: [Pharo-dev] understanding postgresv2

2014-03-02 Thread Tudor Girba
Another thing I see in the comment of PGConnection is this: Copyright (c) 2001-2003 by Yanni Chiu. All Rights Reserved. Does anyone know the actual license? Doru On Sun, Mar 2, 2014 at 5:34 PM, Tudor Girba tu...@tudorgirba.com wrote: Hi, I am trying to understand how PostgresV2 is

[Pharo-dev] Problems with Critics

2014-03-02 Thread Yuriy Tymchuk
Hi guys. When I run critics on my code i get: 'This block accepts 2 arguments, but was called with 1 argument.’. I’m not sure whose problem it is, but the related block is [ :a :b | self menu: a shifted: b ]. Any ideas? Uko

Re: [Pharo-dev] Problems with Critics

2014-03-02 Thread btc
Yuriy Tymchuk wrote: Hi guys. When I run critics on my code i get: 'This block accepts 2 arguments, but was called with 1 argument.’. I’m not sure whose problem it is, but the related block is [ :a :b | self menu: a shifted: b ]. Any ideas? Uko What method is the block being passed to ?

Re: [Pharo-dev] Problems with Critics

2014-03-02 Thread Nicolai Hess
Known problem (12971 https://pharo.fogbugz.com/default.asp?12971CriticBrowser causes error on opening when delivering notification) The fix just waits for integration. 2014-03-02 18:31 GMT+01:00 b...@openinworld.com: Yuriy Tymchuk wrote: Hi guys. When I run critics on my code i get: 'This

Re: [Pharo-dev] Problems with Critics

2014-03-02 Thread Yuriy Tymchuk
Thank you very much! Uko On 02 Mar 2014, at 18:55, Nicolai Hess nicolaih...@web.de wrote: Known problem (12971 CriticBrowser causes error on opening when delivering notification) The fix just waits for integration. 2014-03-02 18:31 GMT+01:00 b...@openinworld.com: Yuriy Tymchuk

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Sven Van Caekenberghe
Sean, On 02 Mar 2014, at 12:44, Sven Van Caekenberghe s...@stfx.eu wrote: Hi Sean, On 02 Mar 2014, at 06:49, Sean P. DeNigris s...@clipperadams.com wrote: In porting the Mechanize web scraping library from Ruby, I started with the following example: a.get('http://google.com/') do |page|

[Pharo-dev] [Bug] IdentitySetsize

2014-03-02 Thread Max Leske
Hi Fuel kept throwing strange errors at me the last couple of days. I now found that IdentitySetsize is not correct for some instances in the image and can’t be fixed with #rehash (checked with newest image on newest PharoVM). I noticed that #rehash only replaces ‘array' while ‘tally’ stays

Re: [Pharo-dev] [Bug] IdentitySetsize

2014-03-02 Thread Andres Valloud
So it seems the problem is with Fuel rather than IdentitySet, no? On 3/2/14 10:47 , Max Leske wrote: During serialization the IdentitySet size is stored and later its objects. During that step, #do:

Re: [Pharo-dev] [Bug] IdentitySetsize

2014-03-02 Thread Max Leske
On 02.03.2014, at 20:12, Andres Valloud avall...@smalltalk.comcastbiz.net wrote: So it seems the problem is with Fuel rather than IdentitySet, no? No. Asking an IdentitySet for its size is not reliable. That has nothing to do with Fuel. #size is especially important in hashed collections

Re: [Pharo-dev] [Bug] IdentitySetsize

2014-03-02 Thread Andres Valloud
So, just out of curiosity, how does the IdentitySet get damaged? On 3/2/14 11:28 , Max Leske wrote: On 02.03.2014, at 20:12, Andres Valloud avall...@smalltalk.comcastbiz.net wrote: So it seems the problem is with Fuel rather than IdentitySet, no? No. Asking an IdentitySet for its size is

Re: [Pharo-dev] [Bug] IdentitySetsize

2014-03-02 Thread Max Leske
On 02.03.2014, at 22:55, Andres Valloud avall...@smalltalk.comcastbiz.net wrote: So, just out of curiosity, how does the IdentitySet get damaged”? That’s what I’d like to know too :) Nicolai posted an update to the issue which should shed some light on the problem. But at the moment I have

Re: [Pharo-dev] Versioneer docs?

2014-03-02 Thread Christophe Demarey
Hi Phil, Le 1 mars 2014 à 16:50, p...@highoctane.be a écrit : I am now porting my code to 3.0 I am using Versioneer to look at my configuration as when I do load it in 3.0, it seems that there are some duplicate packages coming in my package-cache and I want to remove these dupes.

Re: [Pharo-dev] hashMultiply

2014-03-02 Thread p...@highoctane.be
I have found the tools in the Cincom public repo. Now, I have to see how this works in VW, I am not that proficient with it. Phil On Wed, Feb 26, 2014 at 8:55 AM, p...@highoctane.be p...@highoctane.bewrote: Andres, Thanks for the insights. hash quality is indeed an key factor. At least,

Re: [Pharo-dev] understanding postgresv2

2014-03-02 Thread Yanni Chiu
Hmmm. Didn't remember that was there. IIRC, it was released under Squeak Licence, via SqueakMap. Then when migrated to squeaksource.com, I believe it was marked as MIT. I've lost track of where it's being actively maintained, but please go ahead and remove or update the copyright text in the

Re: [Pharo-dev] hashMultiply

2014-03-02 Thread Andres Valloud
Once the code is loaded, from the Tools menu use Hash Analysis Tool. There's a manual below, and also the Fundamentals book has a somewhat in depth discussion on how it works. ftp://sqrmax.us.to/pub/Smalltalk/Papers/Hash%20Analysis%20Tool.pdf On 3/2/14 15:06 , p...@highoctane.be wrote: I

Re: [Pharo-dev] understanding postgresv2

2014-03-02 Thread Yanni Chiu
On 02/03/2014 11:34 AM, Tudor Girba wrote: - Why is result an instance variable in PGConnection? Making it a variable always returns the same object when executing a query and that is a bit of a pain. Because the PGConnection is designed as an active object, controlled by a state machine.

Re: [Pharo-dev] [Pharo-business] [ANN] DBPedia: Query Wikipedia from Pharo

2014-03-02 Thread Alexandre Bergel
A followup from the previous post. Fetching country population and charting them using GraphET:-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=| query data diagram |query := DBPediaSearch newsetJsonFormat;setDebugOn;timeout: 3000;query: 'SELECT DISTINCT ?name ?populationWHERE {?country a

[Pharo-dev] WhatsUp from: 2014-03-03 until: 2014-03-16

2014-03-02 Thread seaside
Hi! We're sending this automatic email twice a month, to give the community an opportunity to easily know what's happening and to coordinate efforts. Just answer informally, and feel free to spawn discussions thereafter! ### Here's what I've been up to since the last WhatsUp: -

Re: [Pharo-dev] understanding postgresv2

2014-03-02 Thread Tudor Girba
Thank you, Yanni! Doru On Mon, Mar 3, 2014 at 12:11 AM, Yanni Chiu ya...@rogers.com wrote: Hmmm. Didn't remember that was there. IIRC, it was released under Squeak Licence, via SqueakMap. Then when migrated to squeaksource.com, I believe it was marked as MIT. I've lost track of where it's

Re: [Pharo-dev] [Moose-dev] [Pharo-business] [ANN] DBPedia: Query Wikipedia from Pharo

2014-03-02 Thread Tudor Girba
+1 Doru On Mon, Mar 3, 2014 at 7:30 AM, Pharo4Stef pharo4s...@free.fr wrote: What would be nice is to have an abstraction like mongoTalk on top to avoid to manipulate strings but to manipulate query elements. Stef 2014-03-02 21:22 GMT-03:00 Alexandre Bergel alexandre.ber...@me.com:

Re: [Pharo-dev] [Moose-dev] [Pharo-business] [ANN] DBPedia: Query Wikipedia from Pharo

2014-03-02 Thread Pharo4Stef
Alexandre so cool Noa may be taking the idea of ROE (to manipulate queries) and creating a ROE for SPARQL should be investigated. Is your student good. I do not remember how roe is implemented. Stef\ On 03 Mar 2014, at 01:22, Alexandre Bergel alexandre.ber...@me.com wrote: I’ve just tried and

Re: [Pharo-dev] understanding postgresv2

2014-03-02 Thread Pharo4Stef
Doru Will you add comments in the classes? Where the code located? Would be good to migrate it to SmalltalkHub. Stef On 03 Mar 2014, at 07:27, Tudor Girba tu...@tudorgirba.com wrote: Thank you, Yanni! Doru On Mon, Mar 3, 2014 at 12:11 AM, Yanni Chiu ya...@rogers.com wrote: Hmmm.

Re: [Pharo-dev] understanding postgresv2

2014-03-02 Thread Tudor Girba
I will add some comments and will create some tool support as well. For now, I updated the copyright notice: Name: PostgresV2-TudorGirba.30 Author: TudorGirba Time: 3 March 2014, 7:46:26.827104 am UUID: 7efdf379-1733-470b-a84e-29ed8f79dd6e Ancestors: PostgresV2-EdwinDH.29 updated the copyright

[Pharo-dev] How can I tell the compiler to accept assignment as underscore?

2014-03-02 Thread Pharo4Stef
Hi How can I tell the compiler to accept assignment as underscore? I could not find a setting for that? Would be nice to have that and turn them automatically into := Now to load all code what should I do? Do it with emacs :( Stef

Re: [Pharo-dev] understanding postgresv2

2014-03-02 Thread Pharo4Stef
excellent! I will put ROE close to it when I have a moment. I should also do some integration but I’m refactoring a house right now (without a refactoring browser) Setf On 03 Mar 2014, at 07:46, Tudor Girba tu...@tudorgirba.com wrote: I will add some comments and will create some tool

Re: [Pharo-dev] understanding postgresv2

2014-03-02 Thread Sven Van Caekenberghe
Doru, Note that there is also the newer http://www.squeaksource.com/PostgresV3.html which implements a more recent, incompatible version of the wire protocol between the client and server. I haven't tested it though, and I don't know if it is compatible at the higher level. Sven On 02 Mar

Re: [Pharo-dev] hashMultiply

2014-03-02 Thread p...@highoctane.be
I got it working and kicked the tires a bit. It would be useful to have such a tool in Pharo :-) Now, time to dig. Phil On Mon, Mar 3, 2014 at 12:13 AM, Andres Valloud avall...@smalltalk.comcastbiz.net wrote: Once the code is loaded, from the Tools menu use Hash Analysis Tool. There's a