Re: [Pharo-dev] Command Line Arguments

2016-04-27 Thread blake watson
ane.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 including class side. >

[Pharo-dev] Command Line Arguments

2016-04-27 Thread blake watson
e but swallows the 99, which seems odd. I'm guessing 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] 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 .xl

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 wrote: > Another week of improvements > > http://association.pharo.org/web/weekly/Commits-Jan-3 > > stef >

Re: [Pharo-dev] Formatting dates

2013-10-31 Thread blake
accessing protocol or in the unit tests. >> … >> >> But of course, internally there is less magic: it are just specific >> keys/tokens that are recognised ;-) The example is kind of compiled though >> to make it more efficient should you reuse the format. >> >

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-30 Thread blake
Good to know, thanks. That looks cool. On Wed, Oct 30, 2013 at 2:39 PM, Sven Van Caekenberghe wrote: > Hi Blake, > > On 30 Oct 2013, at 21:55, blake wrote: > > > Heya, guys-- > > > > Converting a Ruby program to Pharo, and one of the things this program > does

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 w

Re: [Pharo-dev] Formatting dates

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

[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 ge

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 Q&A 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 wrote: > Hannes wrote: > > In

Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-23 Thread blake
Very nice. Works on Mint, too. Could use more feedback, maybe: It's not always clear when it's doing something when you create an image. On Mon, Sep 23, 2013 at 5:56 AM, Erwan Douaille wrote: > Thanks :) > > > 2013/9/23 Camillo Bruni > >> good work! >> >> On 2013-09-23, at 09:13, Damien Cassou