> It's a bit late today, so I will have a look tomorrow :)
>
> (If I forget, feel free to insult me ^^)
>
There's no rush :)
Andrei
>
> I've implemented a small UI using the dynamic features of spec and I'd
> like to know if there isn't a better way to do it. My use case is simple: I
> have a
It's a bit late today, so I will have a look tomorrow :)
(If I forget, feel free to insult me ^^)
Ben
On Jul 8, 2013, at 11:05 PM, Andrei Vasile Chis
wrote:
> Hi,
>
> I've implemented a small UI using the dynamic features of spec and I'd like
> to know if there isn't a better way to do it.
Hi,
I've implemented a small UI using the dynamic features of spec and I'd like
to know if there isn't a better way to do it. My use case is simple: I have
a normal ComposableModel that has two models - a list and
a DynamicComposableModel. The DynamicComposableModel should contain a list
of button
Hi Damien,
Nice :).
I noticed two issues when playing with it:
- there is no feedback while downloading the image. This can be confusing.
- the launcher quits when launching another image (I am on Mac). This is
actually interesting, but it was surprising. I am not sure what is the right
solutio
I am with Doru here.
Today, 500MB is NOTHINGG.
NOTHING.
NOTHING.
A LATOP comes with 8GB. 16x more than the max the VM can allocate.
For one of my clients, I have just set up a server with 32GB. It has 64x
than the max a Pharo VM can allocate. Really?
Going to disk is not always a possib
Hi,
Igor, please get this point of view out of your system :).
First, not all programming languages are like this: You can easily run other
VMs (e.g., Java) with more than 3 GB. But, let's not even go there: I can run
Pharo with 1Gb on Mac without problems. According to your reasoning we might
estebanS
could you do me one favor:
build a kind of list of questions and answers
so that I can add that to the voyage chapter?
Else I will do it but …
Stef
On Jul 8, 2013, at 2:38 PM, Esteban A. Maringolo wrote:
> But, as far as I know, Mongo will create an _id key with an Mongo OI
Thanks!
I have to try :)
Stef
On Jul 8, 2013, at 10:11 AM, Damien Cassou wrote:
> Dear list,
>
> Erwan and I are proud to announce the first release of the Pharo
> Launcher, a cross-platform application that
>
> - lets you manage your Pharo images (launch, rename, copy and delete);
> - lets y
Thanks Stephan.
---
Philippe Back
Dramatic Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Mail:p...@highoctane.be | Web: http://philippeback.eu
Blog: http://philippeback.be | Twitter: @philippeback
Youtube: http://www.youtube.com/user/philippeback/videos
High Octane S
Some snippets of a working glamour application loading excel files (Moose 4.8)
MNU on SmallInteger could be a broken VM
A separate class to represent the csv file, storing the rows:
ANExcelModel >> on: aFilename
^self new
rows: (NeoCSVReader on: (FileSystem root / aFilen
Same question again. And same answer (i have no other yet).
Why just don't use disk memory?
I know it is extra effort, but that's what all software does, when it has
to deal with big amounts of data.
Why in smalltalk it should be different?
Of course, on your place, i would also prefer that there
no, don't do it
regular _id are taken as usual.
__id fields are references to another collection documents inside one document
(something that mongo does not have by itself).
And I like like that :)
Esteban
On Jul 8, 2013, at 2:38 PM, Esteban A. Maringolo wrote:
> But, as far as I know, M
nice!
Nico
On Jul 8, 2013, at 2:45 PM, François Stephany wrote:
> Hi,
>
> I've just created a new team for MongoTalk on SmalltalkHub:
>
> http://www.smalltalkhub.com/#!/~MongoTalkTeam
>
> The old repo (http://www.smalltalkhub.com/#!/~francois/MongoTalk) will stay
> just in case some script
On 08 Jul 2013, at 15:02, "p...@highoctane.be" wrote:
> Maybe I'm just doing something silly (like reading binary instead of text).
I vaguely remember FileSystem doing something weird like that long ago, maybe
in 1.4.
In any case,
'file.csv' asFileReference readStream
gives a character str
It works now.
Looks like that:
1- I needed to do an asString on the content being read. (I'd like to know
how to read a text file this way - as a text file)
2- as my separator was $;, not specifying one led NeoCSVReader to fail for
some strange reason (it should have given me a single field and
It complains with a DNU on a SmallInteger codepoint, not a Character.
I'll look further.
Maybe I'm just doing something silly (like reading binary instead of text).
allObjects
| stream reader |
stream := self allObjectsDataFile asFileReference readStream.
reader := NeoCSVReader on: stream.
read
Phil,
On 08 Jul 2013, at 14:39, "p...@highoctane.be" wrote:
> Hello,
>
> I am currently working with a dataset in CSV format and am trying to load it
> in to Moose for visualizations with Mondrian.
>
> Now, I am facing an issue with NeoCSV.
>
> I loaded the Configuration in Moose without tro
Hi,
I've just created a new team for MongoTalk on SmalltalkHub:
http://www.smalltalkhub.com/#!/~MongoTalkTeam
The old repo (http://www.smalltalkhub.com/#!/~francois/MongoTalk) will stay
just in case some scripts rely on it but you should update to the new repo:
http://www.smalltalkhub.com/#!/~M
But, as far as I know, Mongo will create an _id key with an Mongo OID
for every document that doesn't have one.
You can use _id without having to use an OID, you can use plain
strings or integers.
So I guess it is safe to use _id. I'll change it in my tests and then
let you know.
:)
Esteban A. Ma
Because _id is internally used by mongo and I didn't wanted to risk any
collision :)
On Jul 8, 2013, at 2:26 PM, "Esteban A. Maringolo" wrote:
> Esteban,
>
> Why do you use __id: (double underscore) instead of the _id (single
> underscore) key?
>
> Regards,
> Esteban A. Maringolo
>
>
> 2013
Esteban,
Why do you use __id: (double underscore) instead of the _id (single
underscore) key?
Regards,
Esteban A. Maringolo
2013/7/8 Esteban Lorenzano :
> Hi again,
>
> sadly, there is no direct support for referenced queries yet.
>
> however, you can workaround the problem by doing:
>
>
> {
>
your query is almost fine:
the unique problem is with the argument for the $or expression, which should
not be another dictionary but a collection:
{
'$or' -> (Array
with: 'profile.firstName' -> { '$regex' -> '^.*na.*'.
'$options' -> 'i'} asDic
It's bound to be the same. I encountered this quite extensively when
using VSE on Win32. There were normally a couple of system DLL's that
got plonked into the middle of it's address range and just moving those
to one of the outer edges would mean the image could be started with a
much bigger a
Thanks! The reference thing is exactly what I needed :)
However, I'm not managing very well with the $or query... how would one add
a regex in there?
I've tried:
User selectMany:
{
'$or' ->
{
'profile.firstName' -> { '$regex' -> '^.*na.*'. '$options' -> 'i'}
asDictionary.
'profile.surname' ->
Hi again,
sadly, there is no direct support for referenced queries yet.
however, you can workaround the problem by doing:
{
'referenceField.__id' -> (VORepository current keyOf: referenceObject)
} asDictionary.
or with MongoQueries:
[ :each | (each at: 'referenceField.__id') = (
Hi,
something like this:
{
'$or'-> {
{ $field1 -> value1 } asDictionary. "expression 1"
{ $field2 -> value2 } asDictionary. "expression 2"
...
{ $fieldN -> valueN } asDictionary. "expression N"
}
} asDictionary
chee
I remember there was a thread where Andreas explains why the windows VM
would not alloc more than 500 MB. I think it's quite similar if not the
same to what Chris has said. If this is the case, MAYBE, depending on which
dlls/plugins you use, you may be safe and alloc more??? Don't know...
I can sea
On Mon, Jul 8, 2013 at 1:26 PM, CHRIS BAILEY wrote:
> This is a standard problem on Windows whenever something tries to allocate
> contiguous memory due to the way it fragments your exe's memory with it's
> own dlls. I was able to get 1.4gb with some pretty nasty hacking of an exe
> once by rebasi
On Mon, Jul 8, 2013 at 1:11 PM, Sven Van Caekenberghe wrote:
> Hi Usman,
>
> On 08 Jul 2013, at 13:05, Usman Bhatti wrote:
>
> > [I know there were some discussions on the topic and the topic of 64-bit
> VM but I'm not sure where we stand today].
> > I would like to know if we can allocate more
This is a standard problem on Windows whenever something tries to allocate contiguous memory due to the way it fragments your exe's memory with it's own dlls. I was able to get 1.4gb with some pretty nasty hacking of an exe once by rebasing the biggest offending dlls (it wasn't Pharo but the same
Hi Usman,
On 08 Jul 2013, at 13:05, Usman Bhatti wrote:
> [I know there were some discussions on the topic and the topic of 64-bit VM
> but I'm not sure where we stand today].
> I would like to know if we can allocate more than 500MB for pharo virtual
> machine in Windows? I am getting an "Out
[I know there were some discussions on the topic and the topic of 64-bit VM
but I'm not sure where we stand today].
I would like to know if we can allocate more than 500MB for pharo virtual
machine in Windows? I am getting an "Out Of memory" msg and the following
VM statistics when trying to parse
Also, how does one query a referenced object?
MyClass selectMany: { 'project.name' -> 'Test' } asDictionary. "<-- Works
only if project is an embedded object, but it doesn't if it's a reference."
2013/7/8 Bernat Romagosa
> Sorry for being lazy, but how does one use logical operators in diction
Sorry for being lazy, but how does one use logical operators in dictionary
queries?
I'm trying something like:
(User selectMany: { 'profile.firstName' -> { '$regex' -> '^.*na.*'.
'$options' -> 'i'} asDictionary } asDictionary).
And I'd like to *$or* this with:
'profile.surname' -> { '$regex' ->
On Mon, Jul 8, 2013 at 10:35 AM, Serge Stinckwich
wrote:
> a more deeper integration with ZeroConf so we can do use it on the command
> line.
Camillo and Damien P have started looking at that
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure
On Mon, Jul 8, 2013 at 10:11 AM, Damien Cassou wrote:
> Dear list,
>
> Erwan and I are proud to announce the first release of the Pharo
> Launcher, a cross-platform application that
>
> - lets you manage your Pharo images (launch, rename, copy and delete);
> - lets you download image templates (i.
36 matches
Mail list logo