Re: [Pharo-users] students looking for projects?

2015-01-29 Thread p...@highoctane.be
Swagger: +100 Le 30 janv. 2015 03:35, "Sebastian Heidbrink" a écrit : > Hi Martin, > > this is an interesting site. > > I saw your lab: "implement a REST API server in Smalltalk" > > You may want to have a look at: swagger https://github.com/swagger- > api/swagger-spec > and the additional parts

Re: [Pharo-users] how to debug zinc server errors from tests

2015-01-29 Thread Sven Van Caekenberghe
Martin, > On 29 Jan 2015, at 06:23, Martin Bähr > wrote: > > hi, > > when debugging a zinc server with tests structured as in > http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/ > i am wondering how to best debug errors in the server while running tests. > > one test makes a ZnClient connecti

Re: [Pharo-users] students looking for projects?

2015-01-29 Thread Sven Van Caekenberghe
So many options, there is Zinc-REST as well... > On 30 Jan 2015, at 07:29, François Stephany wrote: > > This microframework is quite handy for REST API (and the README of the repo > is *really* useful) > > http://smalltalkhub.com/#!/~zeroflag/Teapot > > On Fri, Jan 30, 2015 at 3:35 AM, Sebast

Re: [Pharo-users] how to install all of ZincHTTPComponents?

2015-01-29 Thread Sven Van Caekenberghe
Hi Martin, What exactly did you do ? Zinc has been in Pharo since 1.3. Loading it from its configuration load a newer version. That has always worked for me and other. Can you give some details ? Sven > On 30 Jan 2015, at 06:40, Martin Bähr > wrote: > > hi, > > in pharo3 when trying to in

Re: [Pharo-users] students looking for projects?

2015-01-29 Thread François Stephany
This microframework is quite handy for REST API (and the README of the repo is *really* useful) http://smalltalkhub.com/#!/~zeroflag/Teapot On Fri, Jan 30, 2015 at 3:35 AM, Sebastian Heidbrink wrote: > Hi Martin, > > this is an interesting site. > > I saw your lab: "implement a REST API server

[Pharo-users] how to install all of ZincHTTPComponents?

2015-01-29 Thread Martin Bähr
hi, in pharo3 when trying to install ZincHTTPComponents only a few additional classes seem to get installed, not the whole set packages defined in the configuration. in pharo4 (40467) it's even worse. ZincHTTPComponents is already in the image, and installing it does nothing, removing and reinst

Re: [Pharo-users] Autoformatting extisting packages

2015-01-29 Thread Ben Coman
For lack of a better answer, would an equivalent be to be able to programmatically perform the menu item that is on the editor menu? Here is how I learnt a lot about Pharo... 1. Open the editor menu and bring up halos on the menu item. (key modifier combination varies between OS platform) 2. Cl

Re: [Pharo-users] Why single inheritance?

2015-01-29 Thread Laura Risani
Thank you all for your insights, they were very educational to me. On Thu, Jan 29, 2015 at 5:49 AM, Ben Coman wrote: > http://www.visoracle.com/squeak/faq/traits-vs.html > > On Wed, Jan 28, 2015 at 11:41 PM, Laura Risani > wrote: > >> Hi all, >> >> What is the explanation why Smalltalk designer

Re: [Pharo-users] students looking for projects?

2015-01-29 Thread Sebastian Heidbrink
Hi Martin, this is an interesting site. I saw your lab: "implement a REST API server in Smalltalk" You may want to have a look at: swagger https://github.com/swagger-api/swagger-spec and the additional parts around it. Swagger specs are easy to integrate into many clients via swagger codege

[Pharo-users] students looking for projects?

2015-01-29 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-01-29 22:57:57 +0100: > There are some students here in Lille that were looking for a cool project, > and this is one of the two subjects that I suggested to them. you have students looking for projects? there are a bunch of smalltalk related p

Re: [Pharo-users] Implementing text navigation shortcuts

2015-01-29 Thread Laura Risani
Hi Nicolai, Thank for your answer, it was excellent! It is nice to know that the editing functions are MVC way separated. :) On Thu, Jan 29, 2015 at 8:48 PM, Nicolai Hess wrote: > > 2015-01-29 23:06 GMT+01:00 Laura Risani : > >> Hi all, >> >> I like to implement a keyboard shortcut for, while

Re: [Pharo-users] Autoformatting extisting packages

2015-01-29 Thread Paul DeBruicker
If you want to reformat all the methods in a class/package/image, I don't know how to be helpful. If you never want to see unformatted code in a browse follow the instructions I sent you in response to your question about tools. Using the "pretty print" and "format on accept" settings will ensu

Re: [Pharo-users] Code completion differences at browser and workspace

2015-01-29 Thread Nicolai Hess
2015-01-29 22:06 GMT+01:00 Laura Risani : > Hi all, > > I've noticed that the code completition tool shows a different list if > brought up at a workspace or at a system browser. Particulary workspace's > completition list is broader than browser's one. > > For instance if while writting a method

Re: [Pharo-users] Implementing text navigation shortcuts

2015-01-29 Thread Nicolai Hess
2015-01-29 23:06 GMT+01:00 Laura Risani : > Hi all, > > I like to implement a keyboard shortcut for, while editing any text, move > the text pointer to the next position after $: . > > Seems that the base of all text editing is the class > #TextMorphForEditView. I see there there is an instance va

Re: [Pharo-users] HTTP Token Based authentication server?

2015-01-29 Thread Esteban A. Maringolo
2015-01-29 18:57 GMT-03:00 Sven Van Caekenberghe : > > > On 28 Jan 2015, at 14:29, Esteban A. Maringolo > wrote: > > > > Is it there any implementation for token based authentication over HTTP? > > > > I know there is a OAuth client, but do we have an OAuth server? > > There are some students her

[Pharo-users] Implementing text navigation shortcuts

2015-01-29 Thread Laura Risani
Hi all, I like to implement a keyboard shortcut for, while editing any text, move the text pointer to the next position after $: . Seems that the base of all text editing is the class #TextMorphForEditView. I see there there is an instance variable for the text. My problem is i can not find a met

Re: [Pharo-users] HTTP Token Based authentication server?

2015-01-29 Thread Sven Van Caekenberghe
> On 28 Jan 2015, at 14:29, Esteban A. Maringolo wrote: > > Is it there any implementation for token based authentication over HTTP? > > I know there is a OAuth client, but do we have an OAuth server? There are some students here in Lille that were looking for a cool project, and this is one

Re: [Pharo-users] [Pharo-dev] [ANN] PUnQLite NoSQL database project updated

2015-01-29 Thread Tudor Girba
Hi Torsten, This sounds very interesting. I tried to play with it on Mac, but I got a bit stuck. Here is what I did: - I downloaded the UnQLite sources from: http://unqlite.org/db/unqlite-db-20130825-116.zip - In that folder I did: gcc -m32 -c unqlite.c gcc -m32 -dynamiclib -o unqlite.dylib unq

[Pharo-users] Autoformatting extisting packages

2015-01-29 Thread Laura Risani
Hi all, How do i apply autoformatting to existing packages? I've read somewhere that this functionality used to be at the refactoring menu, but i can't find it, don't know if it has been renamed or moved. Best, Laura

[Pharo-users] Code completion differences at browser and workspace

2015-01-29 Thread Laura Risani
Hi all, I've noticed that the code completition tool shows a different list if brought up at a workspace or at a system browser. Particulary workspace's completition list is broader than browser's one. For instance if while writting a method i have already accepted other method names but haven't

Re: [Pharo-users] [ANN] PUnQLite NoSQL database project updated

2015-01-29 Thread PBKResearch
Hi Torsten This looks very interesting. I am looking at a project which needs simple persistence, and I was considering MongoDB plus Voyage, which looked like overkill. I shall definitely be trying PUnQLite. I am not yet on Pharo 4; I am using Moose 5.0, which is essentially Pharo 3. To load P

Re: [Pharo-users] New book for Pharo :)

2015-01-29 Thread Werner Kassens
Hi Ben, i also prefer SCI, although i have another reason , it has less letters than MATH and the letters are positioned nearer to each other on my keyboard (good for my one-handed typing approach). SciTalk is a really nice idea i agree. werner On 01/29/2015 04:19 PM, Ben Coman wrote: MATH s

Re: [Pharo-users] New book for Pharo :)

2015-01-29 Thread blake
You never fail to impress, Steph. Excellent work. On Wed, Jan 28, 2015 at 9:21 AM, stepharo wrote: > Didier Besset offered his great book "Object-Oriented Implementation of > Numerical Methods > An Introduction with Smalltalk and Java" to the community. > > We would like to thank Didier Besset f

Re: [Pharo-users] Pointer Detective - Inspecting an Object (instance) and Doing a "PointerDetective openOn: self." leads to a System Error in Pharo?

2015-01-29 Thread Ben Coman
Nice to have a user trying it out. I'll look into the problem, but can I have more info on reproducing it. * WAComponent is Seaside right? How did you load it, and into what version of Pharo? Nice eagle eye. That must have been there a long time without anyone noticing. Now I find three occurr

Re: [Pharo-users] smalltalk workshops (building a webserver) after code-in

2015-01-29 Thread Martin Bähr
Excerpts from Sebastian Sastre's message of 2015-01-29 15:04:46 +0100: > small feeback: the player didn’t work on Safari OS X https://discussions.apple.com/thread/3961142 > and in Chrome the streaming was too poor. seems chrome doesn't do much buffering ahead but favors frequent interruptions.

Re: [Pharo-users] SPEC and Athens

2015-01-29 Thread Mark Rizun
Thanks Sebastian! It works :) Not perfectly well though. But it is something Mark 2015-01-29 10:20 GMT+01:00 Ben Coman : > Really great to see all you do. A nice introduction. Now > practical focused criticism that can directly lead to some improvement is > generally welcome, and your longer

Re: [Pharo-users] New book for Pharo :)

2015-01-29 Thread Ben Coman
MATH seems to constraining. SCI seems good. And I like that suggestion for SciTalk. On Thu, Jan 29, 2015 at 4:58 PM, Werner Kassens wrote: > Hi Hernán > > This is like if I get 5 mathematicians, fork SciSmalltalk, push cool new >> features, and then make all you loose them if you don't update.

[Pharo-users] Fwd: Additional easy persistence: try DebrisDB for Fuel-backed Glorp interface

2015-01-29 Thread Cameron Sanders via Pharo-users
--- Begin Message --- Along the lines of *easy model persistence while writing application code that will scale*, I strongly encourage people to *try the DebrisDB package*. Scalability (beyond what Pharo can hold in memory -- note that one boost your heap size first) can be achieved by several mean

Re: [Pharo-users] smalltalk workshops (building a webserver) after code-in

2015-01-29 Thread Sebastian Sastre
This is awesome We needed this! small feeback: the player didn’t work on Safari OS X and in Chrome the streaming was too poor. YouTube or Vimeo usually removes all those issues for you Thanks for sharing and keep up that excellent work! > On Jan 29, 2015, at 2:52 AM, Martin Bähr > wrote:

Re: [Pharo-users] dirty packages

2015-01-29 Thread Usman Bhatti
Thanks Torsten. Indeed, renaming the package solved the problem. On Thu, Jan 29, 2015 at 12:11 AM, Torsten Bergmann wrote: > Because "MyPackage" and "MyPackage-Ext" fall into the same > class categories. The name "MyPackage" is part of the string > "MyPackage-Ext". > > Packages and class categor

Re: [Pharo-users] SPEC and Athens

2015-01-29 Thread Ben Coman
Really great to see all you do. A nice introduction. Now practical focused criticism that can directly lead to some improvement is generally welcome, and your longer post was a better example. It is the generic platitudes of negativity that people get sensitive to. Now there are many bugs listed

[Pharo-users] Pointer Detective - Inspecting an Object (instance) and Doing a "PointerDetective openOn: self." leads to a System Error in Pharo?

2015-01-29 Thread Mircea S.
The object is a WhateverRoot instance (subclass of WAComponent) that has "canBeRoot ^true." Am I doing something wrong? PS. My "eagle eye" caught a typo on line 9 of the error. "'Orginal error:' ,title asString.". Maybe, just maybe... More info and an printscreen here: http://stackoverflow.co

Re: [Pharo-users] gt poster

2015-01-29 Thread Ben Coman
great logo. On Thu, Jan 29, 2015 at 6:29 AM, Tudor Girba wrote: > Hi, > > Here is a poster for GT. > > Cheers, > Doru > > > -- > www.tudorgirba.com > > "Every thing has its own flow" >

Re: [Pharo-users] New book for Pharo :)

2015-01-29 Thread Werner Kassens
Hi Hernán This is like if I get 5 mathematicians, fork SciSmalltalk, push cool new features, and then make all you loose them if you don't update. And I could do it for fun 1000 times. You get the idea. got it! btw Serge explained his plans for scismalltalk here: http://forum.world.st/scismal

Re: [Pharo-users] Why single inheritance?

2015-01-29 Thread Ben Coman
http://www.visoracle.com/squeak/faq/traits-vs.html On Wed, Jan 28, 2015 at 11:41 PM, Laura Risani wrote: > Hi all, > > What is the explanation why Smalltalk designers preferred single > inheritance+traits to multiple inheritance? Why is the former better than > the latter? > Do traits let you sh