Just curiousity... Is an idempotent round trip required/expected ?
cheers -ben
On Sat, 23 Feb 2019 at 05:24, Sven Van Caekenberghe wrote:
> Good catch.
>
> Indeed, JSON keys have to be strings.
>
> The question is, should the writer convert them for you, or should you
> simply not use them ?
>
> On 22 Feb 2019, at 22:52, Esteban Maringolo wrote:
>
> El vie., 22 feb. 2019 a las 18:24, Sven Van Caekenberghe
> () escribió:
>>
>> Good catch.
>>
>> Indeed, JSON keys have to be strings.
>>
>> The question is, should the writer convert them for you, or should you
>> simply not use them
> On 22 Feb 2019, at 22:35, Tim Mackinnon wrote:
>
> If it’s always been that way - and things rely on it, sure.
>
> But it doesn’t feel like the Smalltalk way to me.
>
> Having to know about adding -1 seems very C, whereas Smalltalk always seems
> more natural ... and 5 to: 1 seems like yo
El vie., 22 feb. 2019 a las 18:24, Sven Van Caekenberghe
() escribió:
>
> Good catch.
>
> Indeed, JSON keys have to be strings.
>
> The question is, should the writer convert them for you, or should you simply
> not use them ?
>
> I mean, there are many Pharo constructs that cannot be converted to
If it’s always been that way - and things rely on it, sure.
But it doesn’t feel like the Smalltalk way to me.
Having to know about adding -1 seems very C, whereas Smalltalk always seems
more natural ... and 5 to: 1 seems like you would count down, not be an empty
range and do nothing.
But as y
Good catch.
Indeed, JSON keys have to be strings.
The question is, should the writer convert them for you, or should you simply
not use them ?
I mean, there are many Pharo constructs that cannot be converted to JSON.
Some could be output to JSON, but you won't be able to read them back in.
So
If you convert a Dictionary with numbers as keys it will produce not
valid JSON [1], since all object keys must be quoted.
E.g.
NeoJSONWriter toString: (Dictionary with: 1->'foo').
or
(Dictionary with: 1->'foo') asJson
Should the library generate quoted keys?
Seaside's WAJsonCanvas is manual, so
Not that I know, I'm working on a CouchDB client to have something
close to what Firebase, or even better, Firestore can provide.
There is a thread about it.
Esteban A. Maringolo
El vie., 22 feb. 2019 a las 15:37, Tudor Girba
() escribió:
>
> Hi,
>
> Did anyone worked on connecting Pharo with Fi
Hi,
Did anyone worked on connecting Pharo with Firebase?
Cheers,
Doru
--
www.feenk.com
"Quality cannot be an afterthought."
How does one go about testing an Iceberg/metacello baseline?
Two parts to this actually - I want to check one under my control - and am
wondering if there is a lint checker or some way to tell me what it will load
(without having to check it in and try. Or if you do this - can you test
loading
On 22/02/2019 15:57, Tim Mackinnon wrote:
I've just been caught out with Intervals - why can't you do:
5 to: 1 do: [ :i | Transcript show: i printString] (eg a negative interval)?
if you want to iterate down a series of numbers do you really have to do:
5 to: 1 by: -1 do: […
I always assumed t
I've just been caught out with Intervals - why can't you do:
5 to: 1 do: [ :i | Transcript show: i printString] (eg a negative interval)?
if you want to iterate down a series of numbers do you really have to do:
5 to: 1 by: -1 do: […
I always assumed that if x > y the step was automatically -1
Hi - I notice that you can sort of put comments on packages - but I’m not sure
if this is working or if its supposed to work?
When I type something it seems to create and extra Manifest tag, and then the
comment that I type seems to be the same for the package and all of its sub
tags?
Is this
Hi,
El vie., 22 feb. 2019 a las 7:55, Sven Van Caekenberghe
() escribió:
> > On 22 Feb 2019, at 02:05, Esteban Maringolo wrote:
> > Am I stretching it too much? :)
>
> Yes, this is out of the scope of NeoJSON.
>
> As you know, JSON is strictly limited and kept simple, by design.
> Things people d
Peter,
Yes i already read those posts.
Maybe i will try and see but i highly doubt i will use it in production.
Back in the old days i used it a lot with Dolphin Smalltalk, David Jorisek
provided good support then.
regards,
bruno
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f131
https://github.com/pharo-project/pharo/pull/2695
> On 18 Feb 2019, at 16:52, Sven Van Caekenberghe wrote:
>
> OK, I that is what I expected.
> I will study this again and make a PR with better comments and tests.
>
>> On 18 Feb 2019, at 16:32, ducasse wrote:
>>
>>>
>>>
>>> I have been thin
Bruno
OmniBase was ported to Pharo 6+ in Jun 2018. The original porting work was
done by Esteban Lorenzano, but he pointed out that, as a non-user, he is not
in a position to provide any support. It was used to a small extent by me,
and much more by Matias Maretto. The repo is at
https://github.co
Hi,
has support for disabled JavaScript been removed from Iliad? When I do
$ curl http://localhost:/examples/counters
I get
[...]
0++
[...]
So it works only with JS enabled.
It would be nice to be able to make requests from non-JS-capable clients
such as ZnEasy for testing purposes. Can
Hi,
> On 22 Feb 2019, at 02:05, Esteban Maringolo wrote:
>
> Hi all (again),
>
> As part of writing the port (and adaptation to use Zinc and NeoJSON),
> a CouchDB JSON-REST API, now I find something I don't know how to
> solve using NeoJSON mappings.
>
> All objects you store in CouchDB at a p
Dear all,
Pharo days registration is open since two weeks now, and we are starting to
work on the schedule and organising the social event :)
Register now!
Pharo days is a gathering of the Pharo community to exchange, discuss and code
with your online colleagues.
Join us to share your experie
Thanks Pierce.
So kind of work out of the box as long as the appropriate font is selected.
Hilaire
Le 22/02/2019 à 04:34, Pierce Ng a écrit :
> Hi Hilaire,
>
> My self-built VM on Windows 7 doesn't have the option either. But,
> multilingual input into Pharo works.
>
> Outside of Pharo, configu
21 matches
Mail list logo