Re: [Pharo-users] Presenting Pharo in Greece

2016-05-12 Thread Dimitris Chloupis
Thank you Thierry :) On Thu, May 12, 2016 at 4:15 PM Thierry Goubier wrote: > 2016-05-12 12:50 GMT+02:00 Dimitris Chloupis : > >> Hey I wanted to inform you that I will be doing a 30 minutes presentation >> of Pharo in Hackerspace , Athens so if there are any Greeks watching the >> list they are

Re: [Pharo-users] Week number from a date

2016-05-12 Thread Davide Varvello via Pharo-users
--- Begin Message --- Thanks Ben Davide -- View this message in context: http://forum.world.st/Week-number-from-a-date-tp4894486p4894576.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---

Re: [Pharo-users] Downloading large files with a progress bar

2016-05-12 Thread Sven Van Caekenberghe
> On 13 May 2016, at 01:00, Offray Vladimir Luna Cárdenas > wrote: > > Hi Sven, > > Thanks for your quick answer. I tried both approaches but I'm missing > something. See my last attempt at http://ws.stfx.eu/KBVBAP72IWOO with the > last one. That last code makes no sense and is not how the

Re: [Pharo-users] Downloading large files with a progress bar

2016-05-12 Thread Sven Van Caekenberghe
When the UI thread is really busy, updating the UI can be problematic. An extra fork seems to help: (FileLocator temp / 'PharoV30.sources') ensureDelete. [ [ :bar | bar title: 'Downloading Sources...'. [ ZnClient new

Re: [Pharo-users] Week number from a date

2016-05-12 Thread Ben Coman
On Thu, May 12, 2016 at 9:47 PM, Davide Varvello via Pharo-users wrote: > > > -- Forwarded message -- > From: Davide Varvello > To: pharo-users@lists.pharo.org > Cc: > Date: Thu, 12 May 2016 06:10:12 -0700 (PDT) > Subject: Week number from a date > Hi guys, > > Is there a way to h

Re: [Pharo-users] Downloading large files with a progress bar

2016-05-12 Thread Offray Vladimir Luna Cárdenas
Hi again, This implementatin http://ws.stfx.eu/FSNU7TV3O5FY also shows a static downloading progress bar without any download, but the download works. Ofcourse any example with another url for a smilar large file could work for me. I'm just testing with the file for this [1] (Soon a proper a

Re: [Pharo-users] Downloading large files with a progress bar

2016-05-12 Thread Offray Vladimir Luna Cárdenas
Hi Sven, Thanks for your quick answer. I tried both approaches but I'm missing something. See my last attempt at http://ws.stfx.eu/KBVBAP72IWOO with the last one. I get a progress bar message, but not the advancements on it. What I'm missing? Cheers, Offray ps: The file I'm trying to downl

Re: [Pharo-users] Downloading large files with a progress bar

2016-05-12 Thread Sven Van Caekenberghe
Hi Offray, The actual implementation of #saveContentsToFile: can be found in ZnHttpSaveContentsToFile>>#performOperation where you can see how ZnClient is invoked. Just copy that with signalProgress: true added and you should be good. Alternatively, you could wrap the first expression as follow

[Pharo-users] Downloading large files with a progress bar

2016-05-12 Thread Offray Vladimir Luna Cárdenas
Hi, I'm using myUrl asUrl saveContentsToFile: file to download large files and is working fine. But I would like to add a progress bar to show the progress to the user. Previously I used === [: bar | bar title: aString. [ "A classical ZnClient download

Re: [Pharo-users] [ANN] Pharo 5.0 released!

2016-05-12 Thread Skip
Cool! The reddit post is going up nicely, it's on spot #4 now of /r/programming. 2016-05-12 22:55 GMT+02:00 Esteban Lorenzano : > Hi, > > http://pharo.org/gnu-linux-installation > > cheers, > Esteban > > > On 12 May 2016, at 21:27, Brad Selfridge wrote: > > > > Ok, I'm frustrated. Where are the

Re: [Pharo-users] [ANN] Pharo 5.0 released!

2016-05-12 Thread Esteban Lorenzano
Hi, http://pharo.org/gnu-linux-installation cheers, Esteban > On 12 May 2016, at 21:27, Brad Selfridge wrote: > > Ok, I'm frustrated. Where are the instructions for installing? I'm running > Ubuntu 14.04 LTS and there used to be instructions on how to install for > Ubuntu. They seem to be gon

Re: [Pharo-users] [ANN] Pharo 5.0 released!

2016-05-12 Thread Brad Selfridge
Ok, I'm frustrated. Where are the instructions for installing? I'm running Ubuntu 14.04 LTS and there used to be instructions on how to install for Ubuntu. They seem to be gone now. - Brad Selfridge -- View this message in context: http://forum.world.st/ANN-Pharo-5-0-released-tp4894499p489

Re: [Pharo-users] Week number from a date

2016-05-12 Thread Davide Varvello via Pharo-users
--- Begin Message --- Yep :-) Davide Sven Van Caekenberghe-2 wrote > https://en.wikipedia.org/wiki/Week#Week_numbering > > of course, not all countries have the same definition of week. > furthermore, week number does not seem to be so simple. > >> On 12 May 2016, at 18:17, Cédrick Béler < >

Re: [Pharo-users] [ANN] Pharo 5.0 released!

2016-05-12 Thread Esteban Lorenzano
> On 12 May 2016, at 18:49, Hernán Morales Durand > wrote: > > Pharo minimal link in the download page http://pharo.org/download > doesn't work > > http://files.pharo.org/get-files/50/pharo-minimal.zip > yes

Re: [Pharo-users] [ANN] Pharo 5.0 released!

2016-05-12 Thread Hernán Morales Durand
Pharo minimal link in the download page http://pharo.org/download doesn't work http://files.pharo.org/get-files/50/pharo-minimal.zip 2016-05-12 12:57 GMT-03:00 Esteban Lorenzano : > Vote up! > > Reddit: > > https://www.reddit.com/r/programming/comments/4j1clo/pharo_50_the_immersive_pure_object_

Re: [Pharo-users] Week number from a date

2016-05-12 Thread Cédrick Béler
What I did is wrong. It needs to add the first month days offset :)

Re: [Pharo-users] Week number from a date

2016-05-12 Thread Sven Van Caekenberghe
https://en.wikipedia.org/wiki/Week#Week_numbering of course, not all countries have the same definition of week. furthermore, week number does not seem to be so simple. > On 12 May 2016, at 18:17, Cédrick Béler wrote: > > Not sure it exists (I didn’t find it but it may exists)… so I did a quic

Re: [Pharo-users] Week number from a date

2016-05-12 Thread Cédrick Béler
Not sure it exists (I didn’t find it but it may exists)… so I did a quick try to code a new method in the class Week. There is already index but this method returns the index of the current month. I did something like below (not tested much): Week>>yearIndex ^ (self dayOfYear / 7 + 1) asInteger =

Re: [Pharo-users] [ANN] Pharo 5.0 released!

2016-05-12 Thread Esteban Lorenzano
Vote up! Reddit: https://www.reddit.com/r/programming/comments/4j1clo/pharo_50_the_immersive_pure_object_oriented/ YC: https://news.ycombinator.com/item?id=11684285 > On 12 May 2016, at 17:49, Esteban Lorenzano wrote: > > Hi, > > Please spread widely, and sorry for multiple posts. > (this p

[Pharo-users] Week number from a date

2016-05-12 Thread Davide Varvello via Pharo-users
--- Begin Message --- Hi guys, Is there a way to have the week number when a date is given? Ex: 2016/01/13 gives 2, 2016/01/19 gives 3, and so on TIA Davide -- View this message in context: http://forum.world.st/Week-number-from-a-date-tp4894484.html Sent from the Pharo Smalltalk Users mail

Re: [Pharo-users] Presenting Pharo in Greece

2016-05-12 Thread Thierry Goubier
2016-05-12 12:50 GMT+02:00 Dimitris Chloupis : > Hey I wanted to inform you that I will be doing a 30 minutes presentation > of Pharo in Hackerspace , Athens so if there are any Greeks watching the > list they are more than welcomed to join. My talk will focus on live coding > and no familiarity w

[Pharo-users] Presenting Pharo in Greece

2016-05-12 Thread Dimitris Chloupis
Hey I wanted to inform you that I will be doing a 30 minutes presentation of Pharo in Hackerspace , Athens so if there are any Greeks watching the list they are more than welcomed to join. My talk will focus on live coding and no familiarity with Pharo/Smalltalk or programming experience required.

Re: [Pharo-users] Semaphore wait and signal

2016-05-12 Thread stepharo
Superb email ben We should really push a little tutorial on concurrent programming with Pharo :) Stef Le 11/5/16 à 15:08, Ben Coman a écrit : On Tue, May 10, 2016 at 6:31 PM, Vince Refiti wrote: Hello I am playing around with Semaphore, and wrote the following: [snip] Can someone plea

Re: [Pharo-users] (no subject)

2016-05-12 Thread stepharo
Welcome I hope that you will have fun. you have ways: - use /extend/write a VM pluggin (check the old one) - use FFI there is a chapter in PharoInProgress on github on how to use the new FFI with Pharo 50. - ask for help. Stef Le 10/5/16 à 14:52, Franklin Mike a écrit : Hi