Re: [Pharo-users] ZnEasy / UTF-8

2015-05-02 Thread Sven Van Caekenberghe
ue > }. > > teapot >GET: '/api/d' -> d; >exception: KeyNotFound -> (TeaResponse notFound body: 'asd'); >start. > > (ZnEasy get: 'http://localhost:8081/api/d') entity string. > > Pharo 4.0 / Teapot > > BW, > Volkert &

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-03 Thread Sven Van Caekenberghe
> On 04 May 2015, at 01:03, Sean P. DeNigris wrote: > > philippeback wrote >> One note: scripts are saved with the CR (or ^M) line ending by Pharo. >> Now, vim in Linux positively hates that (showing a single line with ^M s >> all over). >> I think we should be much better LF (\n) citizens in th

Re: [Pharo-users] Glamorous Toolkit questions

2015-05-04 Thread Sven Van Caekenberghe
> On 04 May 2015, at 11:10, Andrei Chis wrote: > > - copying an URL with a smalltalk code from Sven's service for sharing code > in Spotter will show you the code; on enter a playground is opened with that > code (to try it out: http://ws.stfx.eu/57CRUZKXOUIO) Ah, I always wondered how to do

Re: [Pharo-users] WebSocket and Proxying ...

2015-05-06 Thread Sven Van Caekenberghe
Marten, > On 06 May 2015, at 10:15, itli...@schrievkrom.de wrote: > > Hello, > > I'm playing with WebSockets under Pharo4 and this works as expected - > when using Pharo4 alone (using the Zinc packages). > > But I did not get it to work, when e.g. doing a proxying via nginx (I > did not check i

Re: [Pharo-users] WebSocket and Proxying ...

2015-05-06 Thread Sven Van Caekenberghe
/ws-echo ; >> proxy_http_version 1.1; >> proxy_set_header Upgrade $http_upgrade; >> proxy_set_header Connection $connection_upgrade; >> } >> location /ws-echo-client { >> proxy_pass http://127.0.0.1:4/ws-echo-client ; >> } >> >> } &

Re: [Pharo-users] Problem using Zinc in Pharo 4 (Moose 5.1)

2015-05-08 Thread Sven Van Caekenberghe
Peter, Thanks for the URL, it makes it much easier to help you. The answer is easy: the server is incorrect, it serves a specific encoding without saying so. Consider: (ZnClient new head: 'http://kompakt.handelsblatt-service.com/ff/display.php?msgID=725164109&adr=pe...@pbkresearch.co.uk';

Re: [Pharo-users] Problem using Zinc in Pharo 4 (Moose 5.1)

2015-05-08 Thread Sven Van Caekenberghe
about the error, it might indeed be useful to tell the user that a default encoding was chosen. > Thanks again for your help. You're welcome. > Peter Kenny > > -Original Message- > From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of > Sven

Re: [Pharo-users] Problem using Zinc in Pharo 4 (Moose 5.1)

2015-05-09 Thread Sven Van Caekenberghe
ed and can devote > all the time I want to this, but you people must have day jobs as well! I am > really very grateful. To get anywhere, we have to help each other. Sven > Best wishes > > Peter Kenny > > -Original Message- > From: Pharo-users [mailto:pharo-users-b

Re: [Pharo-users] protobufs for Pharo

2015-05-10 Thread Sven Van Caekenberghe
It would be a nice and welcome addition ! > On 10 May 2015, at 00:39, Benjamin Pollack wrote: > > Hey all, > > Has anyone implemented protobufs for Pharo yet? I’ve not managed to find any > examples, so I assume the answer is “no”, but I thought I’d check here before > rolling up my sleeves a

Re: [Pharo-users] Custom error class

2015-05-11 Thread Sven Van Caekenberghe
Hi Mark, Deep into Pharo, http://rmod.lille.inria.fr/pbe2/ contains a chapter about exceptions. Apart from that, the image is of course the best example ! Have a look at the hierarchy below Exception, and try to follow the references of each class. You should be able to find out how each excep

Re: [Pharo-users] Enhancing ICal library

2015-05-13 Thread Sven Van Caekenberghe
If it is just the Url class, then I can't imagine the difference between the old Url class and the new ZnUrl to be very large. An abstraction layer is probably not needed, both should understand #asUrl and should have quite a lot of common methods. The HTTP client is another story ;-) On a more

Re: [Pharo-users] Problems getting a png image with ZnEasy

2015-05-16 Thread Sven Van Caekenberghe
> On 16 May 2015, at 03:15, Offray Vladimir Luna Cárdenas > wrote: > > Hi all, > > When I try to do: > > ~~~ > ZnEasy getPng: > 'https://pbs.twimg.com/profile_images/3179579549/f83f0e935fb5eff6d967e37e1a3efe5c_normal.png' > ~~~ > > I get "MessageNotUnderstood: receiver of "bitShift:" is nil

Re: [Pharo-users] Store a png in a class variable

2015-05-17 Thread Sven Van Caekenberghe
"Quick and easy way to get an image from a URL" ZnEasy getPng: 'http://www.pharo.org/files/pharo.png'. "Turn bytes into an image inside Pharo" (PNGReadWriter on: 'http://www.pharo.org/files/pharo.png' asUrl retrieveContents readStream) nextImage. "Store image bytes as Base64 and recreate the ima

Re: [Pharo-users] Garage and SQLite file databases, general project structure

2015-05-18 Thread Sven Van Caekenberghe
Hi Guile, > On 18 May 2015, at 10:48, Guillermo Polito wrote: > > Well, I wanted in general to have a single easy-to-learn way to build a > database connection string for all drivers. > > [driverid]://[host][:port]/[databasename]?[properties] > > Then, for sqlite I would like to have: > > sq

Re: [Pharo-users] Issue with UDP Sockets

2015-05-18 Thread Sven Van Caekenberghe
Hi Manfred, Did you see/study the example/test UDPSocketEchoTest ? Also, UDP is very primitive: it is send and forget, returns no errors, and is totally asynchronous. Listening should best be done in a separate process. Here is how I would write your send part: | message udpSocket | message

Re: [Pharo-users] Issue with UDP Sockets

2015-05-18 Thread Sven Van Caekenberghe
> On 18 May 2015, at 12:44, Manfred Kröhnert > wrote: > > Hello Sven, > > thanks for your fast reply. > > On Mon, May 18, 2015 at 11:41 AM, Sven Van Caekenberghe wrote: > Hi Manfred, > > Did you see/study the example/test UDPSocketEchoTest ? > > unfo

Re: [Pharo-users] Garage and SQLite file databases, general project structure

2015-05-18 Thread Sven Van Caekenberghe
f we > update Zn I'll have to add Zn to my dependencies and load the correct version > accordingly, what do you think? (I prefer that to back porting) Just depend on the latest stable release of Zinc, it is (still) supported for 2.0 and up. > Guille > > > El l

Re: [Pharo-users] [ANN] Garage 0.2 - GarageGlorp - GarageConnectionPool

2015-05-18 Thread Sven Van Caekenberghe
Great work, thanks a lot ! > On 18 May 2015, at 12:27, Guillermo Polito wrote: > > Hi all, > > little announcement here. > > Updated Glorp v1.11 > > I updated/merged latest configurations of Glorp with latest changes fixing > TimeStamps and similar. I have fully green test ca

Re: [Pharo-users] Issue with UDP Sockets

2015-05-18 Thread Sven Van Caekenberghe
> On 18 May 2015, at 14:31, Ben Coman wrote: > > > > On Mon, May 18, 2015 at 6:49 PM, Sven Van Caekenberghe wrote: > > I meant that writing '\r\n' has no effect in Pharo, this is not processed > (you could do this manually, of course). > &

Re: [Pharo-users] Issue with UDP Sockets

2015-05-18 Thread Sven Van Caekenberghe
> On 18 May 2015, at 15:47, Manfred Kröhnert > wrote: > > Hi, > apparently I am missing something else. > > I can find devices when connected to a 'regular' LAN. > > However, I have a camera that creates a Wifi accesspoint and makes itself > discoverable via SSDP. > Once I connect to this ac

Re: [Pharo-users] Issue with UDP Sockets

2015-05-18 Thread Sven Van Caekenberghe
> On 18 May 2015, at 16:34, Manfred Kröhnert > wrote: > > Hi Sven, > > On Mon, May 18, 2015 at 4:14 PM, Sven Van Caekenberghe wrote: > > > On 18 May 2015, at 15:47, Manfred Kröhnert > > wrote: > > > > Hi, > > apparently I am miss

Re: [Pharo-users] Issue with UDP Sockets

2015-05-19 Thread Sven Van Caekenberghe
ighly recommended. >> >> Receiving: >> (SO_REUSEADDR) >> IP_ADD_MEMBERSHIP >> (IP_DROP_MEMBERSHIP) >> >> Receiving only works if you joined the multicast group previously. So I >> assume that you need to do something like this (not t

Re: [Pharo-users] Issue with UDP Sockets

2015-05-19 Thread Sven Van Caekenberghe
s larger and more application/framework oriented, then maybe a standalone package is more interesting. We try to keep the image as modular as possible. This route would be a bit more work for you, but might make more sense if you also see it possibly growing in the future. > Best Regards, &

Re: [Pharo-users] Issue with UDP Sockets

2015-05-19 Thread Sven Van Caekenberghe
ase might be appropriate. So unless > Multicast should be part of the base image I'll start with a separate package > first. Since Socket is a fundamental part, and multicast is a key feature, I think it would logical to move it to the image itself, with a test case. > CU, &

Re: [Pharo-users] Garage and SQLite file databases, general project structure

2015-05-19 Thread Sven Van Caekenberghe
Ben, (comments inline) > On 18 May 2015, at 17:46, Ben Coman wrote: > > > > On Mon, May 18, 2015 at 7:06 PM, Sven Van Caekenberghe wrote: > > > On 18 May 2015, at 12:13, Guillermo Polito > > wrote: > > > > Hi Sven, I'll take that int

Re: [Pharo-users] Some Pharo 4 Getting-Started tips

2015-05-25 Thread Sven Van Caekenberghe
Great, thank you, it is important to help newcomers over these stumbling blocks that we no longer see. > On 25 May 2015, at 16:38, Avdi Grimm wrote: > > FWIW, I saw that other folks were getting confused by some of the same things > that tripped me up initially, so I wrote up some tips here:

Re: [Pharo-users] PharoCommonTools methods

2015-05-25 Thread Sven Van Caekenberghe
> On 25 May 2015, at 18:27, Matthieu Lacaton wrote: > > Hello everyone, > > It's probably a silly question but there is something I don't understand in > the PharoCommonTools class. There are many methods in this class that i can't > find in the image. > > For example, PharoCommonTools >> w

Re: [Pharo-users] How to move data between Pharo versions

2015-05-28 Thread Sven Van Caekenberghe
> On 28 May 2015, at 18:18, PBKResearch wrote: > > Hello > > I have found a way round this problem, but it seems messy and uncomfortable, > so I thought I should ask what is the right way to do it. > > I have just changed from using Moose 5.0 (Pharo 3.0, update: #30862) to Moose > 5.1 (Pha

Re: [Pharo-users] Issue with UDP Sockets

2015-05-29 Thread Sven Van Caekenberghe
> On 29 May 2015, at 18:23, Henrik Johansen > wrote: > >> >> On 19 May 2015, at 11:01 , Sven Van Caekenberghe wrote: >> >> >>> On 19 May 2015, at 10:53, Udo Schneider >>> wrote: >>> >>>> Did you look in all your

Re: [Pharo-users] Reddit example

2015-05-30 Thread Sven Van Caekenberghe
Did you follow the detailed instructions in the appendix of https://medium.com/concerning-pharo/reddit-st-in-10-cool-pharo-classes-1b5327ca0740 ? There is even a pre-built image. BTW, you are mixing packages & configurations. Sven > On 30 May 2015, at 01:11, recursiv...@gmail.com wrote: >

Re: [Pharo-users] Transfer image between OSes

2015-05-30 Thread Sven Van Caekenberghe
Hi Marcus, Images (and changes and sources) files are (should be) x-platform. What you experience is a bug. We need an exact bug report so that we can reproduce this (I assume that this won't happen with a 'virgin' image). Sven > On 30 May 2015, at 14:02, mtk wrote: > > Hi, > I am just play

Re: [Pharo-users] Reddit example

2015-05-31 Thread Sven Van Caekenberghe
> On 31 May 2015, at 11:29, Nicolai Hess wrote: > > > > 2015-05-30 22:59 GMT+02:00 : > Hi, > > Yes, I've tried to follow the instructions on > https://medium.com/concerning-pharo/reddit-st-in-10-cool-pharo-classes-1b5327ca0740 > > If I run: > > Gofer it > smalltalkhubUser: 'SvenVanCaeke

Re: [Pharo-users] brick/bloc examples missing FILOStack

2015-05-31 Thread Sven Van Caekenberghe
> On 31 May 2015, at 23:15, Peter Uhnák wrote: > > FILOStack Just wondering, isn't this a contradiction in terms ? A stack is by definition LIFO, a FILO structure is normally called a queue, no ?

Re: [Pharo-users] brick/bloc examples missing FILOStack

2015-06-01 Thread Sven Van Caekenberghe
Alex > > On Mon, Jun 1, 2015 at 7:49 AM, Aliaksei Syrel wrote: > Hi, > > Oops, this kind of stack is from moose and not in pharo :) > > Yes, better to use a queue - thanks! > > Cheers, > Alex > > On Jun 1, 2015 7:32 AM, "Sven Van Caekenberghe" wro

Re: [Pharo-users] Timezone offset in Date, why?

2015-06-03 Thread Sven Van Caekenberghe
> On 03 Jun 2015, at 04:20, Esteban A. Maringolo wrote: > > I'm debugging the PostgresV3 driver for GLORP, and among other test > failures, there is a kind that particularly bugs me: two identical > dates do not match, the reason? The internal "start" of aDate > (Timespan) is a DateAndTime, and

Re: [Pharo-users] Timezone offset in Date, why?

2015-06-03 Thread Sven Van Caekenberghe
> On 03 Jun 2015, at 16:57, Ben Coman wrote: > > On Wed, Jun 3, 2015 at 8:36 PM, Sven Van Caekenberghe wrote: >> >>> On 03 Jun 2015, at 04:20, Esteban A. Maringolo wrote: >>> >>> I'm debugging the PostgresV3 driver for GLORP, and amon

Re: [Pharo-users] Timezone offset in Date, why?

2015-06-03 Thread Sven Van Caekenberghe
> On 03 Jun 2015, at 20:10, Esteban A. Maringolo wrote: > > 2015-06-03 12:05 GMT-03:00 Sven Van Caekenberghe : >>> On 03 Jun 2015, at 16:57, Ben Coman wrote: >>> I've observed several of date/time discussions that I didn't really >>> follow all

Re: [Pharo-users] Reddit example

2015-06-03 Thread Sven Van Caekenberghe
> On 03 Jun 2015, at 20:24, > wrote: > > Thanks for the pointers. I've got it working in Pharo 4 but had to change > this method as I was getting a database session connection error. It appears > to be losing the Glorp session, so I changed this class method thus: > > RedditDatabaseResource

Re: [Pharo-users] [ann] moose 5.1

2015-06-04 Thread Sven Van Caekenberghe
> On 04 Jun 2015, at 10:07, Aliaksei Syrel wrote: > > Juhu, thanks Doru! :) > Congratulations, Moose! +100 > Cheers, > Alex > On Jun 4, 2015 9:17 AM, "Tudor Girba" wrote: > We are happy to announce version 5.1 of the Moose Suite: > *http://moosetechnology.org/#install* > > > > Descript

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Sven Van Caekenberghe
> On 10 Jun 2015, at 17:24, David wrote: > > El Wed, 10 Jun 2015 10:14:37 -0500 > Jimmie Houchin > escribió: >> Hello, >> >> I am attempting to use ZnClient to request data. The request requires >> a %2C (comma) delimited string as part of the query. Below is a >> snippet. >> >> znClient >>

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Sven Van Caekenberghe
t is or is not required, I do need the ability to have a >>> query string with commas encoded as %2C in order to satisfy and use the API >>> which states. >>> >>> fields: Optional An URL encoded (%2C) comma separated list of instrument >>> fields that are to be

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Sven Van Caekenberghe
> On 11 Jun 2015, at 08:35, Sven Van Caekenberghe wrote: > > @everybody > > The key method that defines how the query part of a URL is percent encoded is > ZnMetaResourceUtils class>>#querySafeSet > > Years ago, Zinc HTTP Components followed the better safe than

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Sven Van Caekenberghe
option would be good, but only if it is really needed. > Thanks for listening and your help. > > Jimmie > > > > > On 06/11/2015 01:35 AM, Sven Van Caekenberghe wrote: >> @everybody >> >> The key method that defines how the query part of a URL is

Re: [Pharo-users] What would be the first code snippet you would show

2015-06-17 Thread Sven Van Caekenberghe
Here are some more https://medium.com/concerning-pharo/elegant-pharo-code-bb590f0856d0 Maybe for teaching, the example should somehow be familiar, recognisable. On the other hand, that might be confusing and lead to too many comparisons. > On 17 Jun 2015, at 21:53, stepharo wrote: > > Hi >

Re: [Pharo-users] Zn maximumEntitySize

2013-05-13 Thread Sven Van Caekenberghe
tests. Regards, Sven > -- > Pierce Ng > http://samadhiweb.com/blog/ > > > _______ > Pharo-users mailing list > Pharo-users@lists.pharo.org > http://lists.pharo.org/mailman/listinfo/pharo-users_lists.pharo.org -- Sven Va

Re: [Pharo-users] success story: NTed

2013-05-14 Thread Sven Van Caekenberghe
t; - connects back to the server > - downloads a UI spec for the injured using the tablet to display > personalized UI elements > - stores events on the tablet in case the injured is offline > - measures times to instruct the injured > > If you have any questions please don't hesitate to ask. > > Norbert -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Zn maximumEntitySize

2013-05-14 Thread Sven Van Caekenberghe
Hi Pierce, On 13 May 2013, at 15:58, Sven Van Caekenberghe wrote: > I will see if I can write some high level tests. If you do ConfigurationOfZincHTTPComponents project bleedingEdge load. from http://mc.stfx.eu/ZincHTTPComponents you will find some new ZnServerTe

[Pharo-users] [ANN] ZnReadEvalPrintDelegate

2013-05-16 Thread Sven Van Caekenberghe
/plain' -d 'Smalltalk quitPrimitive' http://localhost:1701/repl All this in one class and a handful of methods. Enjoy, Sven PS1: Part of Zinc HTTP Components, in the bleedingEdge version. PS2: Of course, basic authentication or HTTPS can be added through simple Zn configuration. -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] [ANN] ZnReadEvalPrintDelegate

2013-05-16 Thread Sven Van Caekenberghe
ady reads its script from stdin, hence the script itself cannot read his own input from stdin (or so it seems). If you would happen to know how to do it … > On 2013-05-16, at 14:36, Sven Van Caekenberghe wrote: > >> Hi, >> >> Here is a little tool that might be useful to so

Re: [Pharo-users] [ANN] ZnReadEvalPrintDelegate

2013-05-16 Thread Sven Van Caekenberghe
me/sven/ssl/key-cert.pem'; delegate: ZnReadEvalPrintDelegate new; authenticator: (ZnBasicAuthenticator username: 'b...@openinworld.com' password: 'Sm@lltalk'); start. Alternatively, an Apache or Nginx proxy with client certificates would do the trick as well.

Re: [Pharo-users] ORM with PostgreSQL support

2013-05-27 Thread Sven Van Caekenberghe
http://dbxtalk.smallworks.com.ar On 27 May 2013, at 11:08, "p...@highoctane.be" wrote: > http://book.pharo-project.org/book/PharoTools/Glorp/ > > > On Mon, May 27, 2013 at 10:44 AM, Bahman Movaqar wrote: > Hi all, > > I'm completely new to Smalltalk world so please bear with me. > > Coming

Re: [Pharo-users] How to install SandstoneDb

2013-05-27 Thread Sven Van Caekenberghe
two other packages > to be installed as well: `DataStream' and `SmartRefStream'. > > TIA, > > [1] http://book.pharo-project.org/book/PharoTools/SandstoneDB > -- > Bahman Movaqar (http://BahmanM.com) > ERP Evaluation, Implementation, Deployment Consultant -- Sve

Re: [Pharo-users] String replacement

2013-05-27 Thread Sven Van Caekenberghe
Igor, I don't think that is what he wants. Thomas, You can use the build in ZnHeaders class from the Zinc HTTP Components library/framework: ZnHeaders readFrom: (String crlf join: 'Foo:1 Bar: foo- bar Final:true Foo: another-foo' lines) readStream. => a ZnHeaders('Bar'->'foo- bar' 'Final'->

Re: [Pharo-users] 17 GSoC projects accepted

2013-05-28 Thread Sven Van Caekenberghe
k Laval, > - Roassal in Amber by Pablo Estefó, mentor Alexandre Bergel > http://gsoc2013.esug.org/projects/roassal-in-amber > > Students will now start working on their projects. There will be an > mid-term evaluation of their work in July and final one at the end of > August.

Re: [Pharo-users] Pharo consultants

2013-06-01 Thread Sven Van Caekenberghe
On 01 Jun 2013, at 17:28, Stéphane Ducasse wrote: > > On Jun 1, 2013, at 10:42 AM, Norbert Hartl wrote: > >> >> Am 01.06.2013 um 08:10 schrieb Stéphane Ducasse : >> >>> Hi guys >>> >>> I think that we are doing a poor job selling ourselves. I think that the >>> quality of our community is

Re: [Pharo-users] Pharo consultants

2013-06-01 Thread Sven Van Caekenberghe
On 01 Jun 2013, at 17:28, Stéphane Ducasse wrote: > > On Jun 1, 2013, at 10:42 AM, Norbert Hartl wrote: > >> >> Am 01.06.2013 um 08:10 schrieb Stéphane Ducasse : >> >>> Hi guys >>> >>> I think that we are doing a poor job selling ourselves. I think that the >>> quality of our community is

Re: [Pharo-users] New guy in the community.

2013-06-04 Thread Sven Van Caekenberghe
ly recommended to use the special version that comes with the book http://pharobyexample.org/image/PBE-OneClick-1.1.app.zip Regards, Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Tests not recognized by the tester.

2013-06-04 Thread Sven Van Caekenberghe
n the setup method. The class name shows the > grey circle but not the tests. > > Thanks > Mohammad -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-05 Thread Sven Van Caekenberghe
Paul, On 05 Jun 2013, at 23:52, Paul DeBruicker wrote: > Hi - > > I've recently installed Pharo 1.4 & 2.0 on a laptop I upgraded to Ubuntu > 13.04 and using both Eliot's vm for Pharo 1.4 and the pharovm from the > Ubuntu PPA. The UI is incredibly slow with it sometimes taking 1 second > to swi

Re: [Pharo-users] Changes-File & caching

2013-06-07 Thread Sven Van Caekenberghe
Hi Markus, On 07 Jun 2013, at 10:26, Markus Fritsche wrote: > Hello, > > I reported a bug I found in > https://pharo.fogbugz.com/default.asp?10849_d0g95e46s78671vi > > The issue was closed in fogbugz. I couldn't really figure out why, until I > looked at Penelope to find out that bug was consi

Re: [Pharo-users] Changes-File & caching

2013-06-07 Thread Sven Van Caekenberghe
On 07 Jun 2013, at 11:07, Markus Fritsche wrote: > Hello Sven & List, > > On 07.06.2013 10:45, Sven Van Caekenberghe wrote: >> Yes, it is an important problem (but the trigger is a change in Ubuntu >> 13.04). I am not an Ubuntu desktop user, I can only hope that th

Re: [Pharo-users] account search

2013-06-07 Thread Sven Van Caekenberghe
On 07 Jun 2013, at 11:42, Camillo Bruni wrote: > who is rem...@me.com on fogbugz? I don't know, but I am pretty sure you can safely remove that account :-)

Re: [Pharo-users] DateAndTime>>asTime

2013-06-07 Thread Sven Van Caekenberghe
Hi José, On 07 Jun 2013, at 12:02, José Comesaña wrote: > Hello everybody. > > I would like to add a new improvement to this thread. > > I have noticed that Date class has a bug, or at least something to improve in > readFrom:pattern: method. The initial comment states that "A year given usi

Re: [Pharo-users] DateAndTime>>asTime

2013-06-07 Thread Sven Van Caekenberghe
hink they are interesting. Yes, please do: with a good set of tests, we can discuss using concrete examples. > Regards > > 2013/6/7 Sven Van Caekenberghe > Hi José, > > On 07 Jun 2013, at 12:02, José Comesaña wrote: > > > Hello everybody. > > > > I w

Re: [Pharo-users] DateAndTime>>asTime

2013-06-07 Thread Sven Van Caekenberghe
On 07 Jun 2013, at 14:28, José Comesaña wrote: > Answers in red. > > Regards > > 2013/6/7 Sven Van Caekenberghe > > On 07 Jun 2013, at 13:26, José Comesaña wrote: > > > Thank you Sven. > > > > I had made the fixes myself, creating a new class for

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-07 Thread Sven Van Caekenberghe
On 07 Jun 2013, at 15:44, Paul DeBruicker wrote: > For the attached profile I downloaded a new pharo 20606 image and ran > the search for senders of #ifTrue: twice. It shows that it took 17 > seconds on Ubuntu 13.04 64bit. How long does it take on your machine? [ SystemNavigation new allSende

Re: [Pharo-users] Pharo on Raspberry Pi

2013-06-07 Thread Sven Van Caekenberghe
Tony, On 07 Jun 2013, at 16:52, Tony Giaccone wrote: > I recently got a Raspberry Pi and was pleasantly surprised to see that > smalltalk is part of the image. I quickly did a search to see if Pharo was > available. While there was a flurry of messages about getting a version that > would wor

Re: [Pharo-users] Changes-File & caching

2013-06-07 Thread Sven Van Caekenberghe
On 07 Jun 2013, at 19:45, Stéphane Ducasse wrote: > > On Jun 7, 2013, at 11:14 AM, Sven Van Caekenberghe wrote: > >> >> On 07 Jun 2013, at 11:07, Markus Fritsche wrote: >> >>> Hello Sven & List, >>> >>> On 07.06.2013 10:45,

Re: [Pharo-users] Mugs 'n' stuff

2013-06-08 Thread Sven Van Caekenberghe
ple some of the time. > Pharo is hot! We need to celebrate it. > > -- > Clément Béra > Mate Virtual Machine Engineer > Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq What a cool title is that !! I am jealous ;-) Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-09 Thread Sven Van Caekenberghe
I think that we do have a problem, and I think it is VM related. This is what I see on my Ubuntu 13.04 64-bit machine (AMD Athlon(tm) II X4 640, 4GB, AMD Radeon HD 7750) using a Pharo 3.0 #30189 image. Using the vm from get.pharo.org/30+vm [ SystemNavigation new allCallsOn: #ifTrue: ] timeToRun

Re: [Pharo-users] Grabbing email attachments

2013-06-10 Thread Sven Van Caekenberghe
g list archive at Nabble.com. -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] inspect returns iOf SystemWindow and not receiver

2013-06-11 Thread Sven Van Caekenberghe
On 11 Jun 2013, at 09:57, Marcus Denker wrote: > So maybe we can > -> add #inspector that returns the tool > -> make inspect be like it was before (with documentation). +1 Lets not waste any more time on this

Re: [Pharo-users] minimal headless pharo2 for CentOS

2013-06-11 Thread Sven Van Caekenberghe
Robert, What size are you aiming for ? A normal Pharo image needs between 50 and 100 Mb, with everything included. Not much in my book, are there such small VPS machines today ? I run 6 such Images/VM pairs on a AWS EC2 micro instances (~600Mb RAM). Linode starts at 1Gb ... Sven On 11 Jun 2013

Re: [Pharo-users] auto-format on save/display in pharo 2?

2013-06-12 Thread Sven Van Caekenberghe
On 12 Jun 2013, at 16:52, Paul DeBruicker wrote: > On linux the format shortcut is alt+shift+u > > so probably cmd+shift+u on mac. Yes it is ! And I didn't know that, thanks ! Sven

Re: [Pharo-users] Zinc: Posting aString

2013-06-12 Thread Sven Van Caekenberghe
to what goes over the wire. HTH, Sven > - > Cheers, > Sean > -- > View this message in context: > http://forum.world.st/Zinc-Posting-aString-tp4693047.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Configuring where ZnServer serves files from

2013-06-13 Thread Sven Van Caekenberghe
;; directory: '/Library/WebServer/Documents' asFileReference; yourself); start. ZnClient new get: 'http://localhost:1701/apple/macosx/'. If there is no index.html in the director

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-13 Thread Sven Van Caekenberghe
t the "unstable" VM? > > On 2013-06-09, at 19:04, Sven Van Caekenberghe wrote: > > > I think that we do have a problem, and I think it is VM related. > > > > This is what I see on my Ubuntu 13.04 64-bit machine (AMD Athlon(tm) II > X4 > > 640, 4GB, AMD R

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-13 Thread Sven Van Caekenberghe
r the insight. I opened an issue: > https://pharo.fogbugz.com/default.asp?10879 > > > can you try get.pharo.org/30+vmLatest to try out the "unstable" VM? > > On 2013-06-09, at 19:04, Sven Van Caekenberghe wrote: > > > I think that we do have a problem, and I think i

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-13 Thread Sven Van Caekenberghe
erence in compilation, then it is maybe the check > we added with Igor to handle correctly objects as methods. I'll put this in > my todo for the weekend :/. > > > On Thu, Jun 13, 2013 at 9:57 PM, Sven Van Caekenberghe wrote: > I am sorry, some 10x slowdown with vmLatest.

Re: [Pharo-users] String readFrom: bug?

2013-06-14 Thread Sven Van Caekenberghe
covered by any tests. Could you make an issue and make a slice (adding a test) ? Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] String readFrom: bug?

2013-06-14 Thread Sven Van Caekenberghe
No problem, here is the issue https://pharo.fogbugz.com/f/cases/10915/String-class-readFrom-is-broken-and-untested I will produce a slice later on. On 14 Jun 2013, at 11:58, José Comesaña wrote: > OK, but I don't know how to make an issue, sorry. :( > > > 2013/6/14 Sven

Re: [Pharo-users] String readFrom: bug?

2013-06-14 Thread Sven Van Caekenberghe
On 14 Jun 2013, at 13:52, José Comesaña wrote: > Fix and test sent. Where ? Anyway, I already did it ;-) > Regards. > > 2013/6/14 Sven Van Caekenberghe > No problem, here is the issue > > https://pharo.fogbugz.com/f/cases/10915/String-class-readFrom-is-broken-and

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-14 Thread Sven Van Caekenberghe
y a factor 10. Why ? Sven PS: We really need to start tracking benchmarks across platforms and versions - so much to do. -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill

[Pharo-users] Tabular Data Viewer

2013-06-17 Thread Sven Van Caekenberghe
some relevant example in the image is OK too ;-) Thx, Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill

Re: [Pharo-users] Tabular Data Viewer

2013-06-17 Thread Sven Van Caekenberghe
Thanks Stephan, I will have a look using a Moose image later this evening. I guess Glamour can be loaded in Pharo 2.0 ? On 17 Jun 2013, at 16:40, Stephan Eggermont wrote: > Glamour has a simple table viewer. From > GLMBasicExamples open > > simpleTable > > "| f | > f := sel

Re: [Pharo-users] Tabular Data Viewer

2013-06-17 Thread Sven Van Caekenberghe
Guys, On 17 Jun 2013, at 16:55, Damien Cassou wrote: > On Mon, Jun 17, 2013 at 4:48 PM, Sven Van Caekenberghe wrote: >> Thanks Stephan, I will have a look using a Moose image later this evening. >> I guess Glamour can be loaded in Pharo 2.0 ? > > yes it can. http:/

Re: [Pharo-users] Tabular Data Viewer

2013-06-17 Thread Sven Van Caekenberghe
based on it, I don't remember. > Cheers > Alain > > > On 17 juin 2013, at 16:17, Sven Van Caekenberghe wrote: > >> Hi, >> >> Is there an easy way to view tabular data in Pharo, much like a spreadsheet ? >> >> Ideally, something along the follow

Re: [Pharo-users] single quotes around a number in a JSON string in ZnClient POST body

2013-06-18 Thread Sven Van Caekenberghe
gt; nextPutAll: '>' ] > > > > > NeoJSONWriter toString: str '""' > > "JSON package" > Json render: str '""' > > "Javascript-Core" > str asJson '"&qu

Re: [Pharo-users] Tabular Data Viewer

2013-06-19 Thread Sven Van Caekenberghe
t;> data: ; >> open. >> >> Can spec be used for this ? >> >> Pointing me to some relevant example in the image is OK too ;-) >> >> Thx, >> >> Sven >> >> >> -- >> Sven Van Caekenberghe >> http://stfx.eu >> Smalltalk is the Red Pill >> >> >> . >> > >

Re: [Pharo-users] Pharo + git

2013-06-19 Thread Sven Van Caekenberghe
On 19 Jun 2013, at 15:02, Goubier Thierry wrote: > Hi Stephane, > > but, if you have to introduce Pharo as a business-ready tool in a git > workflow (or any other vcs for that matter), it's better to say that you can > do it, no? The current git workflow is not suitable for first time Pharo

[Pharo-users] FileSystem Question

2013-06-21 Thread Sven Van Caekenberghe
Hi, Does anyone know how I can/should concatenate 2 FileReference paths ? Given /tmp/my-cache and a/b/data.txt I want to get /tmp/my-cache/a/b/data.txt in such a way that it is a correct, useable path. Next I want to do #ensureDirectory on the parent and write to the file. '/tmp/my-cache' asFi

Re: [Pharo-users] FileSystem Question

2013-06-21 Thread Sven Van Caekenberghe
Apparently it is #resolve: '/tmp/data-dir/' asFileReference resolve: 'a/b/c/file.txt' asFileReference Way too many methods on the public classes of FileSystem are undocumented. On 21 Jun 2013, at 16:31, Sven Van Caekenberghe wrote: > Hi, > > Does anyone know h

Re: [Pharo-users] FileSystem Question

2013-06-21 Thread Sven Van Caekenberghe
used by resolve: > > Stef >> Apparently it is #resolve: >> >> '/tmp/data-dir/' asFileReference resolve: 'a/b/c/file.txt' asFileReference >> >> Way too many methods on the public classes of FileSystem are undocumented. >> >> On 21

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Sven Van Caekenberghe
/i386-linux-gnu/libz.so.1 (0xb73ba000) BTW, this is on a 32 bit machine. HTH, Sven PS: I think I remember you from my Common Lisp days, right ? In that case, welcome to Pharo ! -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Seaside, Zinc Server Adaptor - Isuue with Duration

2013-06-24 Thread Sven Van Caekenberghe
; Am i missing something in the load chain? We'll need more info: how did you load Seaside ? Stacktrace ? > Thanks in Advance. > > G R Thushar Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Seaside, Zinc Server Adaptor - Isuue with Duration

2013-06-24 Thread Sven Van Caekenberghe
od (provided you have a recent VM of course). It works for me. HTH, Sven > Thanks, > > thushar > > thuchu > > > On Mon, Jun 24, 2013 at 3:36 PM, Sven Van Caekenberghe wrote: > Hi, > > On 24 Jun 2013, at 11:57, Thushar G R wrote: > > > Hi , > &

Re: [Pharo-users] where is appendStream?

2013-06-24 Thread Sven Van Caekenberghe
tPutAll: ';' . > stream nextPutAll: 'other'. > stream close. > > Hayatou -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Sven Van Caekenberghe
On 24 Jun 2013, at 15:50, Friedrich Dominicus wrote: > Sven Van Caekenberghe writes: > >> Hi Friedrich, >> >> On 24 Jun 2013, at 11:50, Friedrich Dominicus >> wrote: >> >>> I have had this connection via ODBC running on Linux before. So I >

Re: [Pharo-users] where is appendStream?

2013-06-24 Thread Sven Van Caekenberghe
On 24 Jun 2013, at 19:42, Bahman Movaqar wrote: > On Mon, 2013-06-24 at 14:43 +0200, Sven Van Caekenberghe wrote: >> Hayatou, >> >> Open a WriteStream and call #setToEnd before writing. >> >> Sven > > I'm sure these changes in the API are document

Re: [Pharo-users] where is appendStream?

2013-06-24 Thread Sven Van Caekenberghe
On 24 Jun 2013, at 19:59, Sven Van Caekenberghe wrote: > there has been anything else there had never been anything else

<    1   2   3   4   5   6   7   8   9   10   >