Re: [Pharo-users] Serving static content

2015-03-25 Thread Sven Van Caekenberghe
Using Zinc this becomes something like: ZnServer startDefaultOn: 1701. ZnServer default delegate: ( (ZnStaticFileServerDelegate new) prefixFromString: 'apple/macosx'; directory: '/Library/WebServer/Documents' asFileReference; yourself). http://localhost:1701/apple/macoxs/ >

Re: [Pharo-users] Serving static content

2015-03-25 Thread Hernán Morales Durand
Hi Silvia, You don't need Seaside or Iliad, to serve static content. In the Configuration Browser (I guess you are using Pharo 3 at least) you can select KomHttpServer, Install, and then evaluate the following expression: | ma | ma := ModuleAssembly core. ma documentRoot: FileSystem d

Re: [Pharo-users] Serving static content

2015-03-25 Thread jtuc...@objektfabrik.de
Silvia, The URL you provide in the link points to the application, and without any additional configuration (see below) what you see is expected behaviour. Seaside doesn't serve files per default. There are two thing you can do a) setup an http server like apache or nginx to serve files from

[Pharo-users] Serving static content

2015-03-25 Thread Silvia Ruiz Diaz
Hi all! I'm new to Pharo and I'm trying to generate links to be able to serve some files. This is what I have so far. html anchor url:'http://localhost:8080/myApp/myFile'; with: 'Link' When clicking on any of the generated links I'm getting redirected to the application homepage, so I'm wonder

[Pharo-users] MongoTalk and Replica Sets

2015-03-25 Thread p...@highoctane.be
For serious use of MongoDB, there is a need to support replica sets. At this point, the MongoClient doesn't appear to support much more than a simple mongod instance. Is there support for that anywhere ? (leaving behind the requirements for supporting GridFS and bulk operations). Python and Nod

Re: [Pharo-users] Settings browser

2015-03-25 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Hilaire, I will have a look, I don’t remember why. btw, I have to check because the #respondsTo: is not very sexy. Cheers Alain > As I wrote previously, the Settings browser let me complete almost > successfully what I need. See attached screenshot. I am only stuck wit

Re: [Pharo-users] [Pharo-dev] The Grapher charting engine

2015-03-25 Thread Alexandre Bergel
Thanks! Alexandre > Le 25 mars 2015 à 17:53, Tudor Girba a écrit : > > Hi Alex, > > After the Pharo and Moose release I will get back to you with feedback. > > Cheers, > Doru > > >> On Fri, Mar 20, 2015 at 10:18 PM, Alexandre Bergel >> wrote: >> Dear all, >> >> As many of you know, Gra

Re: [Pharo-users] [Pharo-dev] The Grapher charting engine

2015-03-25 Thread Tudor Girba
Hi Alex, After the Pharo and Moose release I will get back to you with feedback. Cheers, Doru On Fri, Mar 20, 2015 at 10:18 PM, Alexandre Bergel wrote: > Dear all, > > As many of you know, Grapher is a über-cool charting engine, part of > Roassal. > For people who do not know what Grapher is,

Re: [Pharo-users] Settings browser

2015-03-25 Thread Hilaire
Le 25/03/2015 15:04, Hilaire a écrit : > Le 25/03/2015 12:39, Alain Plantec via Pharo-users a écrit : >>> settingInputWidgetForNode: aSettingDeclaration >>>^ (aSettingDeclaration name, 'Widget') asSymbol value: self. >>> >> strange that you send the #value: message to a Symbol here. >> Alain >

Re: [Pharo-users] GRNumberPrinter

2015-03-25 Thread Sven Van Caekenberghe
According to GRPrinterTest>>#testIntegerPrinter this is expected behaviour ;-) There is also a GRSignPrinter, but since there are no class comments ... > On 25 Mar 2015, at 20:14, Cameron Sanders via Pharo-users > wrote: > > > Date: 25 Mar 2015 20:13:59 CET > Subject: GRNumberPrinter > From:

[Pharo-users] GRNumberPrinter

2015-03-25 Thread Cameron Sanders via Pharo-users
--- Begin Message --- What am i doing wrong here with my usage? (GRNumberPrinter new separator: $,; precision: 2; yourself) print: -300. when inspected i get '300.00'. Thanks in advance. -Cam --- End Message ---

Re: [Pharo-users] USB in Pharo?

2015-03-25 Thread stepharo
Le 24/3/15 15:58, Udo Schneider a écrit : I guess not :-) I'll try to wrap libUSB then. I assume the future-proof way to use "a" FFI framework is to use the NB notation? Do I remember correctly that the NB notation is supposed to remain the same although the backend will change to something

Re: [Pharo-users] Collection with memory?

2015-03-25 Thread stepharo
Le 25/3/15 09:32, Sven Van Caekenberghe a écrit : OK, I get your point now, #read and #read: are a better combination than #get and #read: About #++ and friends, yes I think they are so uncommon that they do not warrant a special selector, what is the point ? do not let creep in bad ideas!

Re: [Pharo-users] Using Google service discovery API's with Pharo Smalltalk by Richard J. Prinz

2015-03-25 Thread stepharo
+ 1 and it is on pharo weekly :) Le 23/3/15 22:17, Sven Van Caekenberghe a écrit : I hadn't seen this posted on the mailing list, but this is really cool stuff. Using Google service discovery API's with Pharo Smalltalk by Richard J. Prinz http://www.min.at/prinz/?x=entry:entry150318-10453

Re: [Pharo-users] Boardician (board game framework)

2015-03-25 Thread stepharo
Le 25/3/15 16:32, Laura Risani a écrit : @olivier I guess that playing to test them should be considered to work. @kilon Mail me back if you do develop a game adding from you graphical capabilities. @stepharo , Ben Code review would be nice! I've tried to chose the most meaningful names, y

[Pharo-users] Monitoring spotter

2015-03-25 Thread Alexandre Bergel
Hi! The GT crew recently introduces in Pharo a way to keep track of what people are searching in the system. This is a highly valuable piece of information that could benefit everybody. For example, I would love to know which Roassal classes are looking the most often. Or which Roassal exampl

Re: [Pharo-users] Git overriding repo load from different source

2015-03-25 Thread Dale Henrichs
On 3/25/15 1:35 AM, Jan B. wrote: Hello I was able to get by those warnings automatically by adding onLock: [ :ex | ex disallow ]; in addition to onConflict Metacello new baseline: '...' repository: 'gitfiletree:///.../repository' onConflict: [ :ex | ex allow ]; onLock: [ :ex | ex disallow ];

Re: [Pharo-users] Git overriding repo load from different source

2015-03-25 Thread Dale Henrichs
On 3/24/15 11:47 PM, Peter Uhnák wrote: On Sun, Mar 22, 2015 at 11:19 PM, Dale Henrichs > wrote: I keep an eye out for posts with Metacello in the subject line so I missed this one ... I'll keep that in mind next time. If so then the tric

Re: [Pharo-users] Boardician (board game framework)

2015-03-25 Thread Laura Risani
@olivier I guess that playing to test them should be considered to work. @kilon Mail me back if you do develop a game adding from you graphical capabilities. @stepharo , Ben Code review would be nice! I've tried to chose the most meaningful names, yet i didn't discuss this with anyone, what woul

Re: [Pharo-users] Code formatting - preserving newlines and comments

2015-03-25 Thread Davide Varvello via Pharo-users
--- Begin Message --- Thanks Peter, really useful for readability Davide -- View this message in context: http://forum.world.st/Code-formatting-preserving-newlines-and-comments-tp4773967p4815079.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---

Re: [Pharo-users] Packaging for Mac OS

2015-03-25 Thread Hernán Morales Durand
Thanks Ben, I tried the hackintosh with the VMWare but not on VirtualBox. Let's see how it goes. Hernán 2015-03-25 9:52 GMT-03:00 Ben Coman : > Possible alternative... > http://www.macbreaker.com/2013/01/iatkos-ml2-mountain-lion-virtualbox.html > > cheers -ben > > On Wed, Mar 25, 2015 at 8:38 PM

Re: [Pharo-users] Settings browser

2015-03-25 Thread Hilaire
Le 25/03/2015 12:39, Alain Plantec via Pharo-users a écrit : >> >> settingInputWidgetForNode: aSettingDeclaration >>^ (aSettingDeclaration name, 'Widget') asSymbol value: self. >> > > strange that you send the #value: message to a Symbol here. > Alain It is tricky indeed, but it is the only wa

Re: [Pharo-users] Packaging for Mac OS

2015-03-25 Thread Ben Coman
Possible alternative... http://www.macbreaker.com/2013/01/iatkos-ml2-mountain-lion-virtualbox.html cheers -ben On Wed, Mar 25, 2015 at 8:38 PM, Hernán Morales Durand < hernan.mora...@gmail.com> wrote: > Guys, > > I wish to package my Pharo applications for Mac OS. But I don't have a Mac > and my

Re: [Pharo-users] Packaging for Mac OS

2015-03-25 Thread Esteban Lorenzano
Nope, but you could download Pharo for mac and just change the image on it (a Mac app is just a subdirectory) Esteban > On 25 Mar 2015, at 13:38, Hernán Morales Durand > wrote: > > Guys, > > I wish to package my Pharo applications for Mac OS. But I don't have a Mac > and my own finances dem

[Pharo-users] Packaging for Mac OS

2015-03-25 Thread Hernán Morales Durand
Guys, I wish to package my Pharo applications for Mac OS. But I don't have a Mac and my own finances demonstrates I won't have one anytime soon. Do you know if there is a (free? :) remote Mac OS service (like a remote shell) where I can log-in, package my image, and download the resulting file?

Re: [Pharo-users] Boardician (board game framework)

2015-03-25 Thread Ben Coman
One pattern is that the main application class be fully named, leaving the mnemonic prefix for the support classes. cheers -ben On Wed, Mar 25, 2015 at 4:14 PM, stepharo wrote: > Hi laura > > I would do a massive rename :) > > EDirector new play. > does not tell me anything > > BPDirector new p

Re: [Pharo-users] Settings browser

2015-03-25 Thread Alain Plantec via Pharo-users
--- Begin Message --- > Le 25 mars 2015 à 12:19, Hilaire a écrit : > > settingInputWidgetForNode: aSettingDeclaration >^ (aSettingDeclaration name, 'Widget') asSymbol value: self. > strange that you send the #value: message to a Symbol here. Alain--- End Message ---

Re: [Pharo-users] Settings browser

2015-03-25 Thread Hilaire
Le 24/03/2015 21:22, Alain Plantec via Pharo-users a écrit : > Have a look at the setting chapter (The Setting Framework) Hi Alain, Thanks Alain. I was already studying the chapter yesterday, but it appears there is an unexpected complication, In a singleton DrGeoStylePreference class I define

Re: [Pharo-users] USB in Pharo?

2015-03-25 Thread kilon alios
I have not used TalkFFI I only know that it exists. Very glad it works for you and I am also very interested on a blog post how you got it working and how you solved your problems. I am sure it will come handy one day :) On Wed, Mar 25, 2015 at 12:37 PM, Udo Schneider < udo.schnei...@homeaddress.d

Re: [Pharo-users] USB in Pharo?

2015-03-25 Thread Luc Fabresse
Nice, thanks a lot! Luc 2015-03-25 11:47 GMT+01:00 Udo Schneider : > Hi Luc, > > Yepp will do. Time to write a blog entry again :-) > > CU, > > Udo > > > On 25/03/15 11:42, Luc Fabresse wrote: > >> Hi Udo, >> >> Thanks to report your experience on TalkFFI. >> Can you also post a small step by st

Re: [Pharo-users] USB in Pharo?

2015-03-25 Thread Udo Schneider
Hi Luc, Yepp will do. Time to write a blog entry again :-) CU, Udo On 25/03/15 11:42, Luc Fabresse wrote: Hi Udo, Thanks to report your experience on TalkFFI. Can you also post a small step by step tutorial of what you did to generate the NB bindings ? Thanks, #Luc 2015-03-25 11:37 GMT+0

Re: [Pharo-users] USB in Pharo?

2015-03-25 Thread Luc Fabresse
Hi Udo, Thanks to report your experience on TalkFFI. Can you also post a small step by step tutorial of what you did to generate the NB bindings ? Thanks, #Luc 2015-03-25 11:37 GMT+01:00 Udo Schneider : > I found the offending code. The original code is something like: > > struct libus

Re: [Pharo-users] USB in Pharo?

2015-03-25 Thread Udo Schneider
I found the offending code. The original code is something like: struct libusb_bos_dev_capability_descriptor *dev_capability #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) [] /* valid C99 code */ #else [0] /* non-standard, but usually working code */ #endif

Re: [Pharo-users] USB in Pharo?

2015-03-25 Thread Udo Schneider
Just had a quick start with TalkFFI ... and after getting 32bit libs on Mac OS X it finally worked. However running TalkFFI results in a wallback because (I assume) a type can't be infered. Is there any way to debug TalkFFI to get the C name of the offending type/function? All I'm seeing are t

Re: [Pharo-users] Starting with Pharo Issue Tracker

2015-03-25 Thread Jigyasa Grover
Exactly my question. Thanks for the help :) -- View this message in context: http://forum.world.st/Starting-with-Pharo-Issue-Tracker-tp4814883p4815016.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Git overriding repo load from different source

2015-03-25 Thread Jan B.
Hello I was able to get by those warnings automatically by adding onLock: [ :ex | ex disallow ]; in addition to onConflict Metacello new baseline: '...' repository: 'gitfiletree:///.../repository' onConflict: [ :ex | ex allow ]; onLock: [ :ex | ex disallow ]; load I'm not sure whether it couldn'

Re: [Pharo-users] Collection with memory?

2015-03-25 Thread Sven Van Caekenberghe
OK, I get your point now, #read and #read: are a better combination than #get and #read: About #++ and friends, yes I think they are so uncommon that they do not warrant a special selector, what is the point ? > On 25 Mar 2015, at 09:12, stepharo wrote: > >> Stef, >> >> Like Denis said, ther

Re: [Pharo-users] new link to query all projects in smalltalkhub

2015-03-25 Thread Stephan Eggermont
On 24/03/15 17:36, Merwan Ouddane wrote: Thanks for the instructions, I'll do it as soon as I can :) There is an issue that i'd like to report too, I have a team with a non-ascii character, and i can't remove team members nor delete the entire team, I'll try to fix it too. That sounds like a

Re: [Pharo-users] Boardician (board game framework)

2015-03-25 Thread stepharo
Hi laura I would do a massive rename :) EDirector new play. does not tell me anything BPDirector new play. DPDirector new play. GDirector new play. neither :) Stef Le 24/3/15 15:41, Laura Risani a écrit : Hi all, A time ago i posted two board games on the list and Stéphane said that he wo

Re: [Pharo-users] Boardician (board game framework)

2015-03-25 Thread stepharo
We should help laura and do a code review. Laura I do not know if you change it in the latext version but I would not subclass from Matrix but use composition instead. Le 24/3/15 15:41, Laura Risani a écrit : Hi all, A time ago i posted two board games on the list and Stéphane said that he

Re: [Pharo-users] Collection with memory?

2015-03-25 Thread stepharo
Stef, Like Denis said, there is no #next: in Xtreams, AFIACT. Yes but this is the same we should get read and read: and not get and read: This is my point. There are XTReadStream>>#get "Read an object from self. If there aren't any elements left in the stream, the Incomplete except

Re: [Pharo-users] Starting with Pharo Issue Tracker

2015-03-25 Thread stepharo
Thanks! We are busy with deadlines these weeks :) Stef Le 25/3/15 00:14, Ben Coman a écrit : On Wed, Mar 25, 2015 at 2:33 AM, Peter Uhnák > wrote: http://pharo.org/contribute-propose-fix Thats great Jigyasa. Always good to have more contributors. Now for th

Re: [Pharo-users] How to depend on another Github repo from the baseline ?

2015-03-25 Thread kilon alios
Thank you both, I changed my code accordingly to load SmaCC as the example of Thierry.