2017-03-31 8:16 GMT+02:00 Siemen Baader :
> Ok. So it is a missing feature. I will do individual diff'ing on versions
> of the package that contains the method under concern instead. This is
> after all not different from a git repo that uses eg a package.json file to
> include external projects.
In other words: don't ask - tell.
Instead of writing something like:
object isSomething ifTrue: [ object doSomething ] ifFalse: [ object
doSomethingElse ]
just write it:
object doSomething
that gives you much less code bloat, and much clear view of your intent(s)
and even in case of exception ,
its easier this way (still in form of a script):
parseHtmlPageForDescription: htmlString
| parser endParser metaParser descriptionParser contentParser
res1Parser res2Parser quoteParser nonQuoteParser |
metaParser := ' parser := (metaParser, res1Parser, contentParser, res2Parser,
endParse
--- Begin Message ---
Hello everybody,
I developed an Android app. And the server of the application is written
in Pharo.
Google Realtime database is a NoSQL database which is very good for
synchronization with android apps. I want to add data to this database
from my Pharo app. And to do this I
There isn't any Firebase database driver for it. I used Firebase
database and auth briefly for a JS/HTML only app, and I pulled the
data using plain ZnClient to access the REST API.
Regards,
Esteban A. Maringolo
2017-03-31 8:13 GMT-03:00 Asbath Sama biyalou via Pharo-users
:
>
>
> -- Men
--- Begin Message ---
Thanks for that many responses! :-)
I think I get the picture! In JavaScript I do that type checking because
although I get an error, when requesting a method that is not defined, I do
not get one when requesting or setting a property that does not exists.
Much more worse in
--- Begin Message ---
Wow, thats amazing!
Thank you Stephane!
2017-03-31 15:51 GMT+02:00 Stephane Ducasse :
> Hi
>
> I attached a new chapter for my forthcoming book.
>
> Stef
>
>
--- End Message ---
Marc,
you should definitely go and understand method lookup and handling of
unknown messages. This is the fun part of Smalltalk ;-)
Just don't overuse it, because you can do things that are so cool you
won't be able to understand your own code any more ;-)
Joachim
--
-
On Thu, Mar 30, 2017 at 5:04 PM Marc Hanisch via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Hello,
>
> I have a question which is more related to software engineering than to
> Pharo, but I hope that someone can give me an useful hint ;-)
>
>
> Thanks for any advice :-)
> Marc
>
There ar
Awesome to see Pharo doing so great on documentation front, when I joined
back in 2011 there was not even basic documentation now there so many new
useful books that is fun to read like this one. Great work :)
On Fri, Mar 31, 2017 at 5:06 PM Marc Hanisch via Pharo-users <
pharo-users@lists.ph
Hi,
As far as I see when I store a DateAndTime with local time,
"2017-03-31T17:10:46.137086+02:00", then I fetch it back, I got an UTC
DateAndTime "2017-03-31T15:10:46.137086+00:00".
Am I doing something wrong or do I need to use a mongo description to
correct that. But wait, even so, I will not
This is not exactly true. Pharo By Example was already there, and
preceeded by Squeak By Exemple, which the former is an adaptation.
Le 31/03/2017 à 16:47, Dimitris Chloupis a écrit :
> when I joined back in 2011 there was not even basic documentation
--
Dr. Geo
http://drgeo.eu
Hi,
> Am 31.03.2017 um 17:16 schrieb Hilaire :
>
> Hi,
>
> As far as I see when I store a DateAndTime with local time,
> "2017-03-31T17:10:46.137086+02:00", then I fetch it back, I got an UTC
> DateAndTime "2017-03-31T15:10:46.137086+00:00".
>
> Am I doing something wrong or do I need to use a
if you copy/paste something you should give a reference
> On 31 Mar 2017, at 16:40, Dimitris Chloupis wrote:
>
>
>
> On Thu, Mar 30, 2017 at 5:04 PM Marc Hanisch via Pharo-users
> wrote:
> Hello,
>
> I have a question which is more related to software engineering than to
> Pharo, but I hop
Or just store as ISO8601 string.
NorbertHartl wrote
> Hi,
>
>> Am 31.03.2017 um 17:16 schrieb Hilaire <
> hilaire@
> >:
>>
>> Hi,
>>
>> As far as I see when I store a DateAndTime with local time,
>> "2017-03-31T17:10:46.137086+02:00", then I fetch it back, I got an UTC
>> DateAndTime "2
Marc the full book is available at:
https://ci.inria.fr/pharo-contribution/view/Books/job/LearningObjectOrientedProgramming/lastSuccessfulBuild/artifact/build/book.pdf
On Fri, Mar 31, 2017 at 4:05 PM, Marc Hanisch via Pharo-users <
pharo-users@lists.pharo.org> wrote:
>
>
> -- Forwarded m
On Fri, 31 Mar 2017 at 19:13, Sven Van Caekenberghe wrote:
> if you copy/paste something you should give a reference
>
I did not copy paste anything, 100 % mine. What part you think it's copy ?
PBE was stuck in version 1.4 until we got to version 4 when I started
updating it.
So PBE 2 and 3 and most of 4 do not exist. Even PBE 5 is partial.
On Fri, 31 Mar 2017 at 18:21, Hilaire wrote:
> This is not exactly true. Pharo By Example was already there, and
> preceeded by Squeak By Exemple,
--- Begin Message ---
Thanks Stephane,
I'm digging into Pharo and I'm reading the books like a sponge ;-)
Great work and thanks for the link!
Marc
Am 31.03.2017 19:18 schrieb "Stephane Ducasse" :
> Marc the full book is available at:
>
> https://ci.inria.fr/pharo-contribution/view/Books/job/
>
> On 31 Mar 2017, at 19:38, Dimitris Chloupis wrote:
>
>
> On Fri, 31 Mar 2017 at 19:13, Sven Van Caekenberghe wrote:
> if you copy/paste something you should give a reference
>
>
> I did not copy paste anything, 100 % mine. What part you think it's copy ?
Ah, sorry then, the formatting se
Thanks for the idea.
For me it is a bug[2], like the other one related to Date persistency,
saved as DateAndTime, then shifting you one day[1].
Hilaire
[1] https://github.com/pharo-nosql/voyage/issues/88
[2] https://github.com/pharo-nosql/voyage/issues/89
Le 31/03/2017 à 18:54, Paul DeBruicker
Hehe yeah I love nice formatting :)
You don't need to convince me , I prefer coding dynamically
Ironically enough is the static that is not a real thing anymore. I am
coding C++ and Unreal uses templates for pretty much everything. Templates
the equivalent of dynamic types, kinda.
However when
Hi thierry
Where can I find a documentation of +, * ? in the grammar (and especially
how to manage the production)?
And indeed they do not work in the Moose version.
I think that if +, *, ?, ( ) are working in the grammar it is an important
addition to Smacc. Because I found it right now verbose c
> One of the thing that can be done is to temporarily copy all the versions
> concerned into a Git-based repository with Iceberg or GitFileTree, and then
> sees if git can provides a better diff, or even a git blame ability
Great tip, thanks, Thierry!
-- Siemen
> . I've done that multiple tim
You could use XMLHTMLParser from STHub PharoExtras/XMLParserHTML (supported on
Pharo, Squak, and GS):
descriptions := OrderedCollection new.
(XMLHTMLParser parseURL: aURL)
allElementsNamed: 'meta'
do: [:each |
((each attributeAt: 'name') asLowercase = 'description'
On Sat, Apr 1, 2017 at 2:34 AM, Sven Van Caekenberghe wrote:
>
> > On 31 Mar 2017, at 19:38, Dimitris Chloupis
> wrote:
> >
> >
> > On Fri, 31 Mar 2017 at 19:13, Sven Van Caekenberghe
> wrote:
> > if you copy/paste something you should give a reference
> >
> >
> > I did not copy paste anything,
26 matches
Mail list logo