Re: [Pharo-dev] Frozen is melted (can you guys please be patient?)

2017-03-09 Thread Yuriy Tymchuk
Dimitris, but AFAIK when Spotter freezes it’s not using Metacello. It does an http request to pharo catalog. Isn’t this a problem with http request blocking the only thread that we have? Uko > On 9 Mar 2017, at 08:23, Dimitris Chloupis wrote: > > I do not need to, the problem is obvious as t

Re: [Pharo-dev] Frozen is melted (can you guys please be patient?)

2017-03-09 Thread Sven Van Caekenberghe
Guys, Please stop speculating, no it is not Monticello, no it is not HTTP access, no it is not networking itself, it is DNS resolution, in a very specific situation: https://pharo.fogbugz.com/f/cases/18281/NetNameResolver-class-addressForName-sometimes-hangs-when-there-is-no-network Note also t

Re: [Pharo-dev] Frozen is melted (can you guys please be patient?)

2017-03-09 Thread Dimitris Chloupis
Then fix Monticello and Spotter. Blocking the main thread this way is a very bad coding practice that coders should be aware of because even with a spaceship mode will still happen. Why make an extremely complex partially documented environment, even more complex. It's a Spotter bug not a Pharo des

Re: [Pharo-dev] Frozen is melted (can you guys please be patient?)

2017-03-09 Thread Sven Van Caekenberghe
No it is not a Spotter bug, Spotter uses multi threading very well. So well you did not see it ;-) UI Monticello actions do indeed block the main UI thread, like almost all other tool actions. That is not necessarily bad, you want to wait for them. Monticello HTTP operations do have proper time

[Pharo-dev] An implementation of a cache in instance variables

2017-03-09 Thread Guillaume Larcheveque
Hi, at Synectique, we are using cache for lots of projects and for now we were always using another instance variable or a dictionary to store many. It is complicated to maintain and we are always reinventing the wheel. That's why i created a first implementation (very naive but functional, docum

Re: [Pharo-dev] libssh2.so was: Re: Esteban's ChangeLog week of 27 February 2017

2017-03-09 Thread Max Leske
NICE!! > On 8 Mar 2017, at 20:23, Alistair Grant wrote: > > Hi Esteban, > > On Sun, Mar 05, 2017 at 11:00:02PM -0800, esteba...@gmail.com wrote: >> *And now I made +libssh2.so+ compile on linux too :) >> >>I think Iceberg is fixed now for linux, can someone with linux try >> +vmLatest

[Pharo-dev] Archive Page for Pharo TechTalks

2017-03-09 Thread Marcus Denker
Hi, I added http://pharo.org/TechTalk This is linked from http://pharo.org/community The idea is to keep a log of all past tech talks with links to the archival recording (if there is one). Marcus

Re: [Pharo-dev] Need to login to access pharo-dev ci

2017-03-09 Thread Christophe Demarey
There was a problem after the Jenkins update. It should be back to normal now. > Le 8 mars 2017 à 21:39, stepharong a écrit : > > Yes I reported this :) > Now try with google, because if you get a link inside you can go there funny > no? > > HI, > > when I go to https://ci.inria.fr/pharo-cont

Re: [Pharo-dev] Need to login to access pharo-dev ci

2017-03-09 Thread Yuriy Tymchuk
It is. Thank you Christophe! > On 9 Mar 2017, at 11:15, Christophe Demarey > wrote: > > There was a problem after the Jenkins update. > It should be back to normal now. > >> Le 8 mars 2017 à 21:39, stepharong > > a écrit : >> >> Yes I reported this :) >> Now try wit

Re: [Pharo-dev] Need to login to access pharo-dev ci

2017-03-09 Thread Cyril Ferlicot D.
I cannot launch a build or edit a config anymore on pharo-contribution. -- Cyril Ferlicot http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France signature.asc Description: OpenPGP digital signature

[Pharo-dev] ExternalForm was removed 10 days ago in 60413

2017-03-09 Thread Aliaksei Syrel
... and was moved to OSWindow-SDL2 as OSSDL2ExternalForm. If we require external form but don't want to depend on OSWindow what is the right way to go? Do we need to copy OSSDL2ExternalForm with project specific name? Advice with best practice would be nice :) Cheers, Alex

Re: [Pharo-dev] Archive Page for Pharo TechTalks

2017-03-09 Thread Esteban Lorenzano
and I made a youtube playlist: https://www.youtube.com/playlist?list=PL4actYd6bfnx8l8cqYWhdNB6gJgRvk5sH cheers, Esteban > On 9 Mar 2017, at 11:02, Marcus Denker wrote: > > Hi, > > I added > > http://pharo.org/TechTa

Re: [Pharo-dev] Archive Page for Pharo TechTalks

2017-03-09 Thread Esteban Lorenzano
… and I moved techtalks from http://pharo.org/community to http://pharo.org/documentation (because I think it belongs there). Esteban > On 9 Mar 2017, at 11:56, Esteban Lorenzano wrote: > > and I made a youtube playlist: > > htt

Re: [Pharo-dev] ExternalForm was removed 10 days ago in 60413

2017-03-09 Thread Esteban Lorenzano
well… it was removed and I put it on OSWindows-SDL2 because it was the only place where it was being used. We can move it again to a more general place (Like UnifiedFFI… or it’s own). Esteban > On 9 Mar 2017, at 11:54, Aliaksei Syrel wrote: > > ... and was moved to OSWindow-SDL2 as OSSDL2Exte

[Pharo-dev] What is the craziest bug you ever face

2017-03-09 Thread Stephane Ducasse
Hi guys During the DSU workshop we were brainstorming about what are the most difficult bugs we faced and what are the conceptual tools that would have helped you. Stef

Re: [Pharo-dev] Need to login to access pharo-dev ci

2017-03-09 Thread Christophe Demarey
Is it better now? > Le 9 mars 2017 à 11:32, Cyril Ferlicot D. a écrit : > > I cannot launch a build or edit a config anymore on pharo-contribution. > > -- > Cyril Ferlicot > > http://www.synectique.eu > > 2 rue Jacques Prévert 01, > 59650 Villeneuve d'ascq France >

Re: [Pharo-dev] Frozen is melted (can you guys please be patient?)

2017-03-09 Thread Dimitris Chloupis
On Thu, Mar 9, 2017 at 11:09 AM Sven Van Caekenberghe wrote: > No it is not a Spotter bug, Spotter uses multi threading very well. So > well you did not see it ;-) > > UI Monticello actions do indeed block the main UI thread, like almost all > other tool actions. That is not necessarily bad, you

Re: [Pharo-dev] Archive Page for Pharo TechTalks

2017-03-09 Thread Dimitris Chloupis
I kept the first few talks in this repo https://gitlab.com/Kilon/pharo-techtalks/tree/master I have mentioned it before but I mention it once again to remind people or maybe you want to add those to the website. Its easy to link directly to each audio file if you want. On Thu, Mar 9, 2017 at 1:1

Re: [Pharo-dev] Need to login to access pharo-dev ci

2017-03-09 Thread Cyril Ferlicot D.
On 09/03/2017 12:40, Christophe Demarey wrote: > Is it better now? > > This is working for me :) Thank you -- Cyril Ferlicot http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France signature.asc Description: OpenPGP digital signature

Re: [Pharo-dev] ExternalForm was removed 10 days ago in 60413

2017-03-09 Thread Pavel Krivanek
It's own please, because it is a subclass of Form and in UnifiedFFI it would make a dependency of FFI on graphics -- Pavel 2017-03-09 12:15 GMT+01:00 Esteban Lorenzano : > well… it was removed and I put it on OSWindows-SDL2 because it was the > only place where it was being used. > We can move i

Re: [Pharo-dev] [Pharo-users] What is the craziest bug you ever face

2017-03-09 Thread Dimitris Chloupis
For me it was when I was making the CPP library. CPP for those that do not know is a library I made that allows Pharo to control a C++ application. Its a very simple IPC bridge using shared memory mapped files. I was surprised how easy it was to make it from the C++ side Pharo side was a different

Re: [Pharo-dev] Archive Page for Pharo TechTalks

2017-03-09 Thread Esteban Lorenzano
thanks @kilon, I will upload them to youtube and add to list/archive > On 9 Mar 2017, at 13:07, Dimitris Chloupis wrote: > > I kept the first few talks in this repo > > https://gitlab.com/Kilon/pharo-techtalks/tree/master > > > I have me

Re: [Pharo-dev] Archive Page for Pharo TechTalks

2017-03-09 Thread Dimitris Chloupis
I live to serve :D On Thu, Mar 9, 2017 at 2:40 PM Esteban Lorenzano wrote: > thanks @kilon, I will upload them to youtube and add to list/archive > > On 9 Mar 2017, at 13:07, Dimitris Chloupis wrote: > > I kept the first few talks in this repo > > https://gitlab.com/Kilon/pharo-techtalks/tree/m

[Pharo-dev] Callback regression in Pharo 6 (60437)

2017-03-09 Thread Aliaksei Syrel
Callback instantiation: createCallback >^ FFICallback > signature: #(long (long)) > block: [ :value | value ] C functions: long test(long(*function)(long), long value) { >return function(value); } #include > > long long_min() { >return LONG_MIN; > } FFI calls: primCall: a

Re: [Pharo-dev] ExternalForm was removed 10 days ago in 60413

2017-03-09 Thread Aliaksei Syrel
Aha, ok :) Will copy, thanks! Cheers, Alex On 9 March 2017 at 13:25, Pavel Krivanek wrote: > It's own please, because it is a subclass of Form and in UnifiedFFI it > would make a dependency of FFI on graphics > > -- Pavel > > 2017-03-09 12:15 GMT+01:00 Esteban Lorenzano : > >> well… it was remo

Re: [Pharo-dev] [Pharo-users] What is the craziest bug you ever face

2017-03-09 Thread Nicolai Hess
2017-03-09 12:36 GMT+01:00 Stephane Ducasse : > Hi guys > > During the DSU workshop we were brainstorming about what are the most > difficult bugs we faced and what are the conceptual tools that would have > helped you. > > Stef > https://pharo.fogbugz.com/f/cases/14332/use-ast-not-parseTree-so-w

Re: [Pharo-dev] Catalog projects in Spotter

2017-03-09 Thread Yuriy Tymchuk
Yes, you are right Sven. When I disable network the Spotter is not freezing. Do we have a way to do the DNS resolution asynchronously? I mean, is it doable in Pharo 7 or it is a big problem. I’m not an expert in the questions that require VM, but it seams that http requests can be executed with

Re: [Pharo-dev] Catalog projects in Spotter

2017-03-09 Thread Tudor Girba
Hi, > On Mar 9, 2017, at 3:22 PM, Yuriy Tymchuk wrote: > > Yes, you are right Sven. > > When I disable network the Spotter is not freezing. Do we have a way to do > the DNS resolution asynchronously? I mean, is it doable in Pharo 7 or it is a > big problem. I’m not an expert in the questions

Re: [Pharo-dev] What is the craziest bug you ever face

2017-03-09 Thread Max Leske
Fixing a race condition in handling open sockets when forking an image. At first I had no clue where the problem could come from, then I spent a lot of time guessing at the conditions (of course, being a race condition there was no means to force the specific condition but I didn't know that yet

Re: [Pharo-dev] Catalog projects in Spotter

2017-03-09 Thread Yuriy Tymchuk
Hi, yes, I know that the Spotter checkbox is a generic implementation and it is really cool. My point(s) is (are): 1) why are the checkboxes out of sync? When I added a checkbox to disable the QA Spotter plugin from within the QA settings, I reused spotters functionality, so enabling or disabl

Re: [Pharo-dev] What is the craziest bug you ever face

2017-03-09 Thread Ron Teitelbaum
We had to fix a Heisenbug. (a bug that never breaks when you look at it) This was a bug that happened only in production, didn't break every time, and never broke while debugging. It also got less frequent the more we added logging to report on the current state when the bug happened. We knew i

Re: [Pharo-dev] Archive Page for Pharo TechTalks

2017-03-09 Thread stepharong
excellent On Thu, 09 Mar 2017 11:02:59 +0100, Marcus Denker wrote: Hi, I added http://pharo.org/TechTalk This is linked from http://pharo.org/community The idea is to keep a log of all past tech talks with links to the archival recording (if there is one). >Marcus -- Using Opera'

Re: [Pharo-dev] [Moose-dev] Re: Re: Re: Segmentation fault on Moose 6.1 Build

2017-03-09 Thread Martin Dias
Related: https://pharo.fogbugz.com/f/cases/19820/Epicea-GrafPort-error-when-open-browser On Fri, Mar 3, 2017 at 3:17 PM, Tudor Girba wrote: > The build is now green. > > Did anyone else encounter problems with the new code when playing with > Roassal? > > Cheers, > Doru > > > > > On Mar 3, 201

Re: [Pharo-dev] ExternalForm was removed 10 days ago in 60413

2017-03-09 Thread stepharong
esteban I have the impression that externalForm should be independent of OSWindows. stef On Thu, 09 Mar 2017 12:15:54 +0100, Esteban Lorenzano wrote: well… it was removed and I put it on OSWindows-SDL2 because it was the only place where it was being used. We can move it again to a more g

Re: [Pharo-dev] ExternalForm was removed 10 days ago in 60413

2017-03-09 Thread Esteban Lorenzano
yes, I will move to his own package > On 9 Mar 2017, at 18:52, stepharong wrote: > > esteban > > I have the impression that externalForm should be independent of OSWindows. > > stef > On Thu, 09 Mar 2017 12:15:54 +0100, Esteban Lorenzano > wrote: > >> well… it was removed and I put it on OS

Re: [Pharo-dev] [Pharo-users] What is the craziest bug you ever face

2017-03-09 Thread Igor Stasenko
I don't think my reply will be anything useful, but as to me the most craziest bug is metabug, i.e. when system doesn't provides any means to debug things. :) As for regular bugs .. it is quite hard to remember anything i wasn't able to deal with, given enough time & effort, and then emphasize sin

Re: [Pharo-dev] ExternalForm was removed 10 days ago in 60413

2017-03-09 Thread stepharong
super! On Thu, 09 Mar 2017 18:56:00 +0100, Esteban Lorenzano wrote: yes, I will move to his own package On 9 Mar 2017, at 18:52, stepharong wrote: esteban I have the impression that externalForm should be independent of OSWindows. stef On Thu, 09 Mar 2017 12:15:54 +0100, Esteban Lo

Re: [Pharo-dev] [Pharo-users] What is the craziest bug you ever face

2017-03-09 Thread stepharong
Thanks you all. The idea is that we want to see how we cn improve our debugging arsenal. So it is important that your scenario give use some hints. It is difficult to convey what we are really looking for :) Hi guys During the DSU workshop we were brainstorming about what are the most diff

Re: [Pharo-dev] What is the craziest bug you ever face

2017-03-09 Thread Holger Freyther
> On 9 Mar 2017, at 12:36, Stephane Ducasse wrote: > > Hi guys > > During the DSU workshop we were brainstorming about what are the most > difficult bugs we faced and what are the conceptual tools that would have > helped you. Tracking down a problem where a header file was like this struct

[Pharo-dev] implementors followed by rename method -> DNU

2017-03-09 Thread stepharong
Hi I have the impression that if you - perform an implementor of a method (not closing the window) - then perform an rename method => you get a DNU ast Could I get some confirmation? Stef

Re: [Pharo-dev] [Pharo-users] What is the craziest bug you ever face

2017-03-09 Thread stepharong
we were talking during the workshop and on the simple things to help. - watch points with history of the value. - stop if the value of an instance variable is getting irregular i.e., = you get integer and suddenly inside you get a float! 1 1 1 1 2 3 4 2 2 1 1 12 2 3 32 1 1 1 1 22

Re: [Pharo-dev] [Pharo-users] What is the craziest bug you ever face

2017-03-09 Thread p...@highoctane.be
Figuring out why my image balloons to 500+ megs and is not shrinking despite new compactor was a nice one + fact that it took 2 minutes to start. Fixed yesterday with the help of Clement and Pavel. First, there was a massive leak of memory from the devtools. https://gist.github.com/philippeback/

Re: [Pharo-dev] Catalog projects in Spotter

2017-03-09 Thread Torsten Bergmann
Uko wrote: >If there is a rule not to duplicate preferences, why is catalog not following >it? Because at the time when I implemented it for catalog there was no other setting. The enabling/disabling for all GT extension was introduced later. Also the confusing default was introduced later (

[Pharo-dev] Spec menu shortcut

2017-03-09 Thread Martin Dias
Is it known that Spec models ignore menu shortcuts? at least some of them, TreeModel and FastTableModel. Example: | example | example := FastTableModel new. example items: (1 to: 10); menu: [ | aMenu | aMenu := MenuModel new. aMenu addGroup: [ :aGroup | aGroup addItem: [ :anItem | anItem name: 'H

Re: [Pharo-dev] Catalog projects in Spotter

2017-03-09 Thread Yuriy Tymchuk
Hi Torsten, > On 9 Mar 2017, at 23:04, Torsten Bergmann wrote: > > Uko wrote: >> If there is a rule not to duplicate preferences, why is catalog not >> following it? > > Because at the time when I implemented it for catalog there was no other > setting. > > The enabling/disabling for all GT

Re: [Pharo-dev] Epicea - showing latest lost changes

2017-03-09 Thread Martin Dias
On Fri, Mar 3, 2017 at 1:55 AM, Ben Coman wrote: > > > On Tue, Feb 28, 2017 at 7:04 AM, Martin Dias wrote: > >> Uko: OK, added it as: https://pharo.fogbugz.com/ >> f/cases/19768/Epicea-Lost-Changes-Detector-Add-Apply-all-but >> ton-on-top-of-the-list-of-change >> >> Stef: I see... each line shou

Re: [Pharo-dev] Catalog projects in Spotter

2017-03-09 Thread Sven Van Caekenberghe
I understand, Torten, but we wil get there, one day. > On 9 Mar 2017, at 23:04, Torsten Bergmann wrote: > > Uko wrote: >> If there is a rule not to duplicate preferences, why is catalog not >> following it? > > Because at the time when I implemented it for catalog there was no other > setting