Re: [Pharo-dev] Use pharo users mailing list

2013-09-23 Thread blake
If StackOverflow is dead, what is replacing it? Are people reverting to discussion groups/mail lists? Or different QA sites, like the aforementioned InfoQ? (Alan Kay is right: programming really IS pop culture.) On Mon, Sep 23, 2013 at 9:31 AM, Stephan Eggermont step...@stack.nl wrote: Hannes

[Pharo-dev] Formatting dates

2013-10-30 Thread blake
Heya, guys-- Converting a Ruby program to Pharo, and one of the things this program does is write a file out by date. The format is mmdd (which is my preferred naming convention). In Ruby I have: %04d % d.year + %02d % d.month + %02d % d.day In Smalltalk, the closest I can seem to get to

Re: [Pharo-dev] Formatting dates

2013-10-30 Thread blake
Chris, On Wed, Oct 30, 2013 at 2:02 PM, Chris Muller asquea...@gmail.com wrote: Date today mmdd. prints '2013-10-30' I don't want the separator. ===Blake===

Re: [Pharo-dev] Formatting dates

2013-10-30 Thread blake
Why not %04d%02d%02d % [d.year, d.month, d.day] ? Probably because I'm not super-comfortable with all of Ruby's many, many, many features. Chris has already given a near solution. You just need to select: #isDigit on the end of his answer to get exactly what you want. I figured there was a good

Re: [Pharo-dev] Formatting dates

2013-10-30 Thread blake
Good to know, thanks. That looks cool. On Wed, Oct 30, 2013 at 2:39 PM, Sven Van Caekenberghe s...@stfx.eu wrote: Hi Blake, On 30 Oct 2013, at 21:55, blake dsblakewat...@gmail.com wrote: Heya, guys-- Converting a Ruby program to Pharo, and one of the things this program does is write

Re: [Pharo-dev] Formatting dates

2013-10-30 Thread blake
Date today printFormat: #(3 2 1 0 1 1 2) Wait, that's what I was trying for, initially (although it's not super-clear). I did not get that I could use 0 (or apparently a bunch of other characters) as a separator. I didn't see this code at the bottom of printOn:format: (formatArray at: 4) ~= 0

Re: [Pharo-dev] Formatting dates

2013-10-31 Thread blake
the format. 2013/10/30 Sven Van Caekenberghe s...@stfx.eu Hi Blake, On 30 Oct 2013, at 21:55, blake dsblakewat...@gmail.com wrote: Heya, guys-- Converting a Ruby program to Pharo, and one of the things this program does is write a file out by date. The format is mmdd (which

Re: [Pharo-dev] Yet another week of commits

2014-01-31 Thread blake
Websense categorizes association.pharo.org as sex. On Fri, Jan 31, 2014 at 10:56 AM, Pharo4Stef pharo4s...@free.fr wrote: Another week of improvements http://association.pharo.org/web/weekly/Commits-Jan-3 stef

Re: [Pharo-dev] Excel binding

2014-12-08 Thread blake
You could probably do it with Redline Smalltalk via Apache POI. On Mon, Dec 8, 2014 at 6:22 AM, Blondeau Vincent vincent.blond...@worldline.com wrote: Hi, Does someone know if there is a mean to access Excel sheets from Pharo to get data? I don’t want to use .csv files but .xls/.xlsx

[Pharo-dev] Command Line Arguments

2016-04-27 Thread blake watson
uessing that it looks for a 99.image and not finding it, ignores the parameter and loads the default image. But it'd be smarter at that point to put the 99 back, I think. ===Blake===

Re: [Pharo-dev] Command Line Arguments

2016-04-27 Thread blake watson
ippe.b...@highoctane.be < > philippe.b...@gmail.com> wrote: > > there should be a handler name in there. > > Like in pharo-ui Pharo.image st somefile.st > > st is the handler. > as is eval or config or your own. > > Check subclasses of CommandLineHandler i