Re: [Pharo-dev] UnifiedFFI Docs

2017-10-18 Thread Ben Coman
On Thu, Oct 19, 2017 at 1:05 AM, Todd Blanchard wrote: > I'm working through Ben's great blog post about playing with libclang and > I am puzzled by something. > Thx Todd. Knowing someone is looking at it encourages me to expand it. I'm interested in looking at your specific

Re: [Pharo-dev] Writeup: how to contribute to Pharo

2017-10-18 Thread Hernán Morales Durand
Thanks Guille, now it looks fine. Another issue for Windows users is that you cannot execute the workaround: $ git config core.longpaths true until you first cloned the repository. That's why I said one first should let fail the git clone command and then: $ cd pharo/ $ git config

Re: [Pharo-dev] UnifiedFFI Docs

2017-10-18 Thread Todd Blanchard
> On Oct 18, 2017, at 1:21 PM, Nicolas Cellier > wrote: > > > > Should isNull be defined as you suggest in ByteArray? If the semantic is > #isNullPointer, then I don't think so. If it's a more general message, then > maybe... > > What is the class of

Re: [Pharo-dev] UnifiedFFI Docs

2017-10-18 Thread Nicolas Cellier
2017-10-18 19:05 GMT+02:00 Todd Blanchard : > I'm working through Ben's great blog post about playing with libclang and > I am puzzled by something. > > invalidateSessionData >handle atAllPut: 0. > > zero;s out the handle. Cool. However, > > handle isNull > > does not

Re: [Pharo-dev] UnifiedFFI Docs

2017-10-18 Thread Todd Blanchard
I'm working through Ben's great blog post about playing with libclang and I am puzzled by something. invalidateSessionData handle atAllPut: 0. zero;s out the handle. Cool. However, handle isNull does not return true despite it being used in the getString method as ^ handle isNull

Re: [Pharo-dev] open street map

2017-10-18 Thread Pavel Krivanek
probably coordinates. This works: http://a.tile.openstreetmap.org/8/129/88.png -- Pavel 2017-10-18 17:04 GMT+02:00 Stephane Ducasse : > Hi guys > > in the mooc I was used to use this expression > > http://a.tile.openstreetmap.org/8/12/8.png > > and now I get an empty

[Pharo-dev] open street map

2017-10-18 Thread Stephane Ducasse
Hi guys in the mooc I was used to use this expression http://a.tile.openstreetmap.org/8/12/8.png and now I get an empty tile and I wonder why. May openstreet map changed their policy. Did any of you experience the same? Stef

Re: [Pharo-dev] Compiler Explorer (for the Compiler guys) #offtopic

2017-10-18 Thread Clément Bera
On Wed, Oct 18, 2017 at 3:27 PM, Jan Vrany wrote: > Hi, > > > I was thinking of changing that, adding a primitive which answers a > > CogMethod as a bytearray, but you still need to use external libs > > such as gdb/lldb to disassemble your binary > > I use udis86 [1] for

Re: [Pharo-dev] StringMorph removing Text styling

2017-10-18 Thread Peter Uhnák
> So maybe renaming (subclassing?) StringMorph to LabelMorph to make it more > clear? > Never mind. This apparently exists and I am blind... Peter

Re: [Pharo-dev] StringMorph removing Text styling

2017-10-18 Thread Peter Uhnák
There's a cursor issue though... when you have TextMorphs in e.g. list (FastTable), then the cursor changes to text selection, that's why I wanted to use StringMorph. So maybe renaming (subclassing?) StringMorph to LabelMorph to make it more clear? Peter On Wed, Oct 18, 2017 at 1:30 PM, Pavel

Re: [Pharo-dev] Compiler Explorer (for the Compiler guys) #offtopic

2017-10-18 Thread Jan Vrany
Hi, > I was thinking of changing that, adding a primitive which answers a > CogMethod as a bytearray, but you still need to use external libs > such as gdb/lldb to disassemble your binary I use udis86 [1] for that purpose. Tiny, clean & dead easy to use.  x86 only, though. HTH. Jan [1]:

[Pharo-dev] [Pharo 7.0-dev] Build #209: 17754-CheckBoxModel--RadioButtonModel-ignore-disable

2017-10-18 Thread ci-pharo-ci-jenkins2
There is a new Pharo build available! The status of the build #209 was: SUCCESS. The Pull Request #372 was integrated: "17754-CheckBoxModel--RadioButtonModel-ignore-disable" Pull request url: https://github.com/pharo-project/pharo/pull/372 Issue Url:

Re: [Pharo-dev] Compiler Explorer (for the Compiler guys) #offtopic

2017-10-18 Thread Clément Bera
On Wed, Oct 18, 2017 at 1:42 PM, Mariano Martinez Peck < marianop...@gmail.com> wrote: > > > On Wed, Oct 18, 2017 at 3:36 AM, Tudor Girba wrote: > >> Hi, >> >> This is already available since some time in the GTInspector. You can >> just inspect a compiled method. You will

Re: [Pharo-dev] Compiler Explorer (for the Compiler guys) #offtopic

2017-10-18 Thread Esteban A. Maringolo
Dolphin's debugger was what came to my mind, it had the "dissasembly" way of debugging VM bytecode. It doesn't provide was native code ASM, and as I understand GTInspector neither. Regards! Esteban A. Maringolo 2017-10-18 6:55 GMT-03:00 Dimitris Chloupis : > Yeap

Re: [Pharo-dev] Compiler Explorer (for the Compiler guys) #offtopic

2017-10-18 Thread Mariano Martinez Peck
On Wed, Oct 18, 2017 at 3:36 AM, Tudor Girba wrote: > Hi, > > This is already available since some time in the GTInspector. You can just > inspect a compiled method. You will get both the bytecode and the AST (with > source tracking, too). In fact, this was one of the

Re: [Pharo-dev] StringMorph removing Text styling

2017-10-18 Thread Pavel Krivanek
Personally I would expect that the second version should be fixed to discard formatting. We have the TextMorph for such cases. -- Pavel 2017-10-18 11:40 GMT+02:00 Peter Uhnák : > Hi, > > I am not sure if this is a bug or a feature, but converting Text to > StringMorph clears

[Pharo-dev] [Spec] Improved way of linking presenters to domain model objects

2017-10-18 Thread Pavel Krivanek
Hi, this is a simple use-case for the chagnes proposed in the pull request 374 (20551-Improve-way-how-Spec-presenters-are-linked-with-domain-models). https://github.com/pharo-project/pharo/pull/374 I would like to know your comments on it. Situation: You have a presenter that shows a form with

Re: [Pharo-dev] Techtalk today: AI

2017-10-18 Thread Marcus Denker
Hi, The tech talk recording is now in the archive: http://pharo.org/TechTalk > On 17 Oct 2017, at 16:43, Marcus Denker wrote: > > Hello! > The tech talk starts in 20 minutes (17h europe time). > > Slides (pdf) can be downloaded here >

Re: [Pharo-dev] UnifiedFFI Docs

2017-10-18 Thread Dimitris Chloupis
Sure the documentation could be better, that is definetly important, but is already good enough and UFFI is a very technical subject much more suited to a mailing list . Its not physical possible to cover the massive potential of UFFI. On Wed, Oct 18, 2017 at 9:32 AM Stephane Ducasse

Re: [Pharo-dev] What is blocking Pharo from supporting long paths on Windows?

2017-10-18 Thread Alistair Grant
Hi Peter, On Tue, Oct 17, 2017 at 09:16:49PM +0200, Peter Uhn??k wrote: > So I wanted to update Iceberg in one of my PharoLauncher managed issues. > Of course the load failed on some missing file... upon further exploration: > > updating Iceberg updates Metacello, and metacello contains content

[Pharo-dev] StringMorph removing Text styling

2017-10-18 Thread Peter Uhnák
Hi, I am not sure if this is a bug or a feature, but converting Text to StringMorph clears some of the formating. Compare: |text| text := 'hello' asText makeAllColor: Color red. text asStringMorph openInWindow. "no color" (StringMorph contents: text) openInWindow. "with color" Bug? Feature?

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-10-18 Thread Clément Bera
Hi again, I made many more attempts since those mails: I wrote this page showing how to deploy my game in native app at 50fps on Linux, Mac and Windows. Currently I deploy with: Ubuntu 64 bits: Pharo61-64 (Pharo61-32 also works with the right

Re: [Pharo-dev] Writeup: how to contribute to Pharo

2017-10-18 Thread Esteban Lorenzano
hi, > On 18 Oct 2017, at 08:39, Stephane Ducasse wrote: > > Esteban it would be good to make the remote handling more robust because many > people face > this problem. if people enter a wrong url, we can't do anything. now, the RSD is another problem, not related

Re: [Pharo-dev] Writeup: how to contribute to Pharo

2017-10-18 Thread Guillermo Polito
On Tue, Oct 17, 2017 at 12:42 PM, Hernán Morales Durand < hernan.mora...@gmail.com> wrote: > Thank you Esteban, that was the problem! :) > > Maybe guille wants to clarify the correct remote repository in the page: > https://github.com/guillep/PharoIntegrationProcess/wiki/ >

Re: [Pharo-dev] Writeup: how to contribute to Pharo

2017-10-18 Thread Stephane Ducasse
Esteban it would be good to make the remote handling more robust because many people face this problem. On Tue, Oct 17, 2017 at 11:53 AM, Esteban Lorenzano wrote: > no is ok. > with the pharo version I know the iceberg version :) > > anyway your problem is that the remote

Re: [Pharo-dev] Compiler Explorer (for the Compiler guys) #offtopic

2017-10-18 Thread Tudor Girba
Hi, This is already available since some time in the GTInspector. You can just inspect a compiled method. You will get both the bytecode and the AST (with source tracking, too). In fact, this was one of the original reasons why GTInspector exists: I wanted to figure out how the AST is

Re: [Pharo-dev] Help for the mooc

2017-10-18 Thread Stephane Ducasse
Tx! I should fix it but probably the videos are still using the old one. On Tue, Oct 17, 2017 at 10:36 PM, Sven Van Caekenberghe wrote: > > >> On 17 Oct 2017, at 22:29, Stephane Ducasse wrote: >> >> Hi >> >> students have a problem with the following in

Re: [Pharo-dev] UnifiedFFI Docs

2017-10-18 Thread Stephane Ducasse
Please do not hesitate to do Pull Requests. Luc told me that he wants to do a pass on it and Esteban promises that to me but he is super busy. Stef On Wed, Oct 18, 2017 at 5:54 AM, Todd Blanchard wrote: > Wonderful! Thanks. > >> On Oct 17, 2017, at 3:45 PM, stephan