Re: [Pharo-users] Pharo 5 new vm crash on window resize

2016-01-27 Thread Skip Lentz
Hi, I’m reviving this thread, since I had a similar crash also on latest Spur VM (http://get.pharo.org/vmLatest50). Happens when resizing to fullscreen or to maximum (with alt+click on the expand button on OSX) while loading a project with Metacello. Possibly it happens any time when you resiz

[Pharo-users] NeoJSON: parsing mapped nil fields

2015-12-22 Thread Skip Lentz
Hi all, When parsing with NeoJSON, I’m experiencing some problems. If I parse a JSON representation using NeoJSONReader>>next (i.e. not according to a schema), it parses nil fields just fine. But when I explicitly set a value schema, it won’t parse it in the case it is nil (or “null” in JSON).

Re: [Pharo-users] ZnClient problem with extensions

2015-12-04 Thread Skip Lentz
Hi, > On Dec 4, 2015, at 11:56 AM, Dimitris Chloupis wrote: > > because I am clueless with web dev can you help me understand how to do this > with ZnClient ? I tried some things, such as this snippet: ZnClient new setIfModifiedSince: DateAndTime now; contentReader: [ :entity

Re: [Pharo-users] ZnClient problem with extensions

2015-12-04 Thread Skip Lentz
> On Dec 4, 2015, at 8:01 AM, Dimitris Chloupis wrote: > > I am on Yosemite, latest 5 image, lastest VM and using this code > > ZnClient new url: 'https://github.com/kilon/ChronosManager/archive/master.zip > '; > setIfModifiedSince:

Re: [Pharo-users] catching exceptions

2015-11-26 Thread Skip Lentz
Hi, you can use BlockClosure>>on:do:, like this: [ #() atRandom ] on: Exception do: [ 1 ]. Personally, I would check the collection to be empty before calling. > On Nov 26, 2015, at 1:33 PM, abdelghani ALIDRA wrote: > > Hi everyBody, > > I know there is some kind of exceptions handling mechan

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 6:32 PM, Thierry Goubier > wrote: > > Hi Skip, > > this is interesting. It would mean the ability to handle github issues > querying/opening inside Pharo, no? Yes, if that part of the API is implemented. There are still a lot of extensions to be made. I am planning to

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 5:32 PM, Yuriy Tymchuk wrote: > > Ok, when I enter a username and password, I get "receiver of asDateAndTime is > nil” in #setDateAndTimeMapping:. I also debugged this and it appears to be a corner case for some repositories where the “pushed_at” field is null for whatev

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 5:32 PM, Yuriy Tymchuk wrote: > > >> On 23 Nov 2015, at 16:55, Skip Lentz wrote: >> >> >>> On Nov 23, 2015, at 4:46 PM, Yuriy Tymchuk wrote: >>> >>> Is there any guide on how to use it? I’ve opened the tool, ente

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 5:31 PM, Peter Uhnak wrote: > > On Mon, Nov 23, 2015 at 04:25:28PM +0100, Skip Lentz wrote: >> Hi everyone, >> >> As part of my internship I am creating bindings to the GitHub API in Pharo. >> As a prototype and demo, I have created

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
I just committed a fix for when opening a repository with more than 25 commits (which is basically any repository). I already fixed this but did not commit it yet to the repository on smalltalkhub, oops.

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 4:46 PM, Yuriy Tymchuk wrote: > > Is there any guide on how to use it? I’ve opened the tool, entered a > username, left out the password field blank. Then I get nil exception because > `self avatarUrl` of GHLoggedInUser returns nil. Ah yes, that part might not be clear.

Re: [Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
> On Nov 23, 2015, at 4:34 PM, Ben Coman wrote: > > On Mon, Nov 23, 2015 at 11:25 PM, Skip Lentz wrote: >> Hi everyone, >> >> As part of my internship I am creating bindings to the GitHub API in Pharo. > > Sounds cool. Do you mean the REST api? Can you

[Pharo-users] Basic versioning of GitHub repositories from within Pharo

2015-11-23 Thread Skip Lentz
Hi everyone, As part of my internship I am creating bindings to the GitHub API in Pharo. As a prototype and demo, I have created a small tool last week to do some basic versioning, namely checking out a version, committing a version and showing a log of commits along with a branch tree. Here’s