Hi,
while developing my app with seaside, I sometimes use inspect within any
statement.
I am used from Pharo 1.4 and from other smalltalk dialects, that >>inspect
returns the receiver itself.
But in Pharo 2.0 it returns an instance of SystemWindow.
I dont see any sense in that. It that with intent
I should give an example why this is not useful for me.
While developing, I use >>inspect to see, what is in any object AND I want
the app to proceed.
E.g. while creating a report, I want to see the table columns in an
inspector.
I don't want to halt and debug, I only want to see an inspector.
se
Smalltalk]
wrote:
>
> On Jun 8, 2013, at 8:30 PM, Sabine Knöfel <[hidden email]> wrote:
>
>> Hi,
>>
>> while developing my app with seaside, I sometimes use inspect within any
>> statement.
>> I am used from Pharo 1.4 and from other smalltalk dialects,
1 to what Sabine says. Very useful behavior.
>
> Phil
>
>
> On Sun, Jun 9, 2013 at 8:03 AM, Sabine Knöfel <[hidden email]> wrote:
>>
>> I should give an example why this is not useful for me.
>>
>> While developing, I use >>inspect to see, what is in
13 08:03, Sabine Knöfel <[hidden email]> wrote:
>
>> I should give an example why this is not useful for me.
>>
>> While developing, I use >>inspect to see, what is in any object AND I want
>> the app to proceed.
>> E.g. while creating a report, I want to see
Hi Igor,
ok. Everyone has other programming habits
Greetings
Sabine
On Mon, Jun 10, 2013 at 10:56 AM, Igor Stasenko [via Smalltalk]
wrote:
> On 10 June 2013 10:52, Sabine Knöfel <[hidden email]> wrote:
>> Hi Igor,
>>
>> thanks!
>>
>> Don't you ag
Today I create my first configurationOf for my project.
I want seaside to be loaded.
If I create a baseline like this (see below), I get the error
"Message not understood: receiver of "loadUsing" isNil"
I included the other stuff (artefact, JQueryWidgetBox,xmlsupport, mongo) the
same way, but with
I take a new 2.0. image and try to load only seaside with the following code:
baseline100: spec
spec
for: #common
do: [
spec blessing: #baseline.
spec project: 'seaside'
with: [ spec
c
Thank you Marcus.
I see there was a similar discussion in march in FogBuzz/Google.
Next time I will look in FogBuzz before starting a diskussion here.
Sabine
--
View this message in context:
http://forum.world.st/inspect-returns-iOf-SystemWindow-and-not-receiver-tp4692399p4692713.html
Sent f
yes,
I am a head-scratching person, possibly old fashioned :-), coming from
other dialects and this is imho the best solution
Sabine
On Tue, Jun 11, 2013 at 9:58 AM, Marcus Denker-4 [via Smalltalk]
wrote:
>
> On Jun 10, 2013, at 6:56 PM, [hidden email] wrote:
>
>> Am 10.06.13 18:01, schrieb Marcu
Ok, I think I can answer my question myself:
spec
project: 'Seaside30'
with: [
spec
className: 'ConfigurationOfSeaside30';
versionString: #'stable';
loads: #('default');
repository: 'http://www.squeaksourc
Hi,
my application has to to some tasks regularly, e.g. deleting old reports,
getting new currencyexchange rates.
Is there alreday some basic funktionality in Pharo where I can add my
application specific tasks or do I have to implement it from scratch?
Greetings
Sabine
--
View this messa
I will use the scheduler, thanks!
Sabine
--
View this message in context:
http://forum.world.st/scheduler-for-application-tasks-tp4698922p4699049.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi,
I am looking for a Dictionary which sorts its entries by the keys.
Some Kind of "SortedDictionary".
I assume, there is none - right?
I only found the OrderPreservingDictionary (which is not the same).
Background: storing exchangerates by date.
Sabine
--
View this message in context:
correction/more precise: where I can define the sort order. If I add Dates as
keys in a dict, they are sorted by printstring (?). I need the dict to sort
date keys by time.
Sabine
--
View this message in context:
http://forum.world.st/no-SortedDictionary-available-tp4699050p4699052.html
Sent fr
vingDictionary which are
> different.
>
> If you implement one or find an opensource implementation somewhere, Marcus
> will be pleased to integrate it in Pharo.
>
>
> 2013/7/17 Sabine Knöfel <[hidden email]>
>>
>> correction/more precise: where I can define t
Hi,
Currently, I create one single Instance of Mongo when starting the Image.
| theRoot |
theRoot := Mongo default.
theRoot open.
and use it for all requests. In my development environment that works fine.
My question is: is this the right way and will it work for production?
Or is it better t
gt; Am 18.07.2013 um 12:33 schrieb Sabine Knöfel <[hidden email]>:
>
>> Hi,
>>
>> Currently, I create one single Instance of Mongo when starting the Image.
>>
>> | theRoot |
>> theRoot := Mongo default.
>> theRoot open.
>>
>> and use
Hi,
I was working for a while with Mongotalk and started with Voyage today.
I run in exactly the same problem as Bernat. Image non responding.
I tried the star/planet example and it worked. hmpf.
When I debugged into, I recognized that I did not tell Voyage at which
"model bounds" to stop when c
I found this:
http://smallworks.eu/web/blog/2013-06-14-voyage-the-adventure
Chapter "Enhancing storage"
But if I add the 3+1 methods to Rectangle, and save it again, the json did
not change.
Did I miss something?
--
View this message in context:
http://forum.world.st/Voyage-Circular-referenc
Probably you do not missed anything.
> Probably I missed to update the voyage configuration :)
>
> can you try doing
>
> VOMongoRepository allInstancesDo: #reset.
>
> before trying again?
>
> Cheers,
> Esteban
>
> On Jul 18, 2013, at 6:31 PM, Sabine Knöfel <[hidden
cts should be root.
>
> In my case, I had a centre which had users which had centres. Users also had
> projects, and projects also had users. Big mess, I know. Besides that, all
> users, centres and projects had profiles. My solution was to make centres,
> projects and users be roots,
:-) For me it would be very useful ;-)
But a hint here in the forum would be enough for the moment to proceed.
Sabine
--
View this message in context:
http://forum.world.st/Voyage-Circular-references-tp4691940p4699971.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi,
Date readFrom: '4.2.13' readStream pattern: 'd.m.yy'
Does not return 4.2.2013 but 4.2.0013
The comment is saying
"A year given using only two decimals is considered to be >2000"
So, the comment is not ok or this is a bug?
Sabine
--
View this message in context:
http://forum.world.st/Bu
Hi,
I created a bug, hoping that I filled out every field correctly.
https://pharo.fogbugz.com/f/cases/11222/Date-readFrom-pattern-year-2-decimals-not-20xx-but-00xx
Sabine
On Wed, Jul 24, 2013 at 9:52 AM, Stéphane Ducasse [via Smalltalk]
wrote:
> Hello Sabine
> probably a bug.
> If you can wri
gt;readFrom:pattern:
https://pharo.fogbugz.com/default.asp?11222
Sabine
On Wed, Jul 24, 2013 at 2:56 PM, Mariano Martinez Peck [via Smalltalk]
wrote:
> I also hate #mmdd
>
> Date today mmdd -> '2013-07-24'
>
> I would expect '20130724'
>
> Cheers,
>
ion?
> Can I help you with something?
>
> Esteban
>
>
> On Jul 19, 2013, at 12:56 PM, Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4701282&i=0>>
> wrote:
>
> Hi Esteban,
>
> thanks!
>
> I think the soluti
Hi Esteban,
thank you for the solution with the VOMongoToOneDescription.
This works perfect for me.
I have to come back to the circular references.
I am not sure if this is a bug.
I have the following model:
Trip ->> Day <->> VehicleTrip
One Trip has N Days.
One Day has N VehicleTrips.
The Veh
Hi Esteban,
thanks, this works fine now!
You also answered my next question how to define an attribute as transient
-> with VOMongoTransientDescription :)
Your blog posts
http://smallworks.com.ar/web/blog?_k=c9RiCz1d5w-0XSbp
are very helpful to start.
Do you have more information/documentation
Hi Esteban, All,
when saving an instance of *Date* within an attribute with voyage into Mongo
and doing
VOMongoRepository allInstancesDo: #reset.
then loading the object back from database, I get an inst of *DateAndTime*
in this attribute.
Of course, I can "hack" by the tools you gave me :-)
Hi Esteban, All,
could you please give me some little explanations about the mechanism
between the database and the objects in my image:
1) I see that after
VOMongoRepository allInstancesDo: #reset.
all objects are re-loaded from mongo, is this correct?
2) How can I ask voyage to only re-load
recognize between Date and DateAndTime, so even if you
> commit a Date, you will have back a DateAndTime.
> Only way I know to deal with that is by transforming it manually :(
>
> cheers,
> Esteban
>
> On Aug 14, 2013, at 11:44 AM, Sabine Knöfel <[hidden
> email]<http:/
y usage in your post with
voyage this would be helpful
Regards
Sabine
On Wed, Aug 14, 2013 at 11:52 AM, EstebanLM [via Smalltalk] <
ml-node+s1294792n470361...@n4.nabble.com> wrote:
>
> On Aug 13, 2013, at 4:58 PM, Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=
Hi Esteban,
sorry but I need your help again.
I succeeded in re-writing all my code to use voyage and can save all my
model now. Great!
Now I was experimenting with it and I have an Image freeze which should not
occur in production;-).
Situation:
I created one Person with two trips. Trip point
yourself
>
> that should solve your problem.
>
> I could this "eventual integrity" and is very suspicious... but the only
> way I found to treat in image what could happen outside it... :)
>
> cheers,
> Esteban
>
>
>
>
> On Aug
Hi,
I am interested in your opinion.
I use FixedDecimal for computing currency amounts.
This works fine.
When storing the amounts with voyage into mongo (I have a lot of them!!!),
normally, one currency amount would be stored into mongo as follows:
"vatAmountEUR": {
"#ins
use a scale of 4.
...and I will indeed add checking for range! Good point, I do not have this
yet.
Sabine
On Mon, Aug 19, 2013 at 12:48 PM, Henrik Sperre Johansen [via Smalltalk] <
ml-node+s1294792n4704124...@n4.nabble.com> wrote:
>
> On Aug 19, 2013, at 10:38 , Sabine Knö
Hi,
I have a strange problem and before searching for more hours, I want to ask,
if this problem is known.
If not, I will proceed by myself ;-)
Background:
I write currencies and countries into mongo with voyage.
For database creation, first I create all currencies and countries of the
world in t
Hi Esteban, All,
I was proceeding to seach for the reason of the problem I described
yesterday.
I added some debugging code into VOMongoSerializer>>ensurePersisted: and the
problem I described, did NOT occur.
That made the whole process slower...and I had an idea
I was looking into >>UUIDGe
? Is it different ?
> >>>
> >>> the primitive uses the clock ticks to produce an UUID... you shouldn't
> have repeated numbers that way... but well, it depends on the platform
> implementation also.
> >>
> >> I don't like plugins because it i
So, I will wait and till then, use the solution of Jan.
Thank you, Jan for the file in.
Sabine
--
View this message in context:
http://forum.world.st/voyage-mongo-randomly-wrong-OIDs-tp4705396p4705821.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
ide different ID generators for Voyage, and let people
> plug what is more convenient for them.
>
> (all of this happens because, unlike other db drivers, mongo does not
> answer the inserted id :( )
>
> Esteban
>
> On Aug 30, 2013, at 5:41 PM, Sabine Knöfel <[hidden
&g
Hi Esteban,
til now, it did not come back to me.
Can you reproduce it with a fresh image?
Btw I am saving my image now each hour or so...
Sabine
On Sat, Aug 31, 2013 at 5:46 PM, Esteban A. Maringolo [via Smalltalk] <
ml-node+s1294792n4705953...@n4.nabble.com> wrote:
> I've been bitten by this
Hi Johan,
I use MongoDB and voyage for www.spesenfuchs.de and it works fine for me.
My remarks:
1) you could also add VOMongoTransientDescription (see class comment)
and VOMongoToManyDescription to chapter "enhancing storage".
2) "VORepository current reset" is imo important to know. As far as
will add something about data
> migration to the documentation but I think it will be brief.
>
> Greetings,
>
> On Nov 21, 2013, at 6:16 AM, Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4723998&i=0>>
> wrote:
>
> > Hi Joha
Hi Esteban, all,
I work with mongo daily an it works fine, I am very happy with it.
As you told me, with
>>VORepository current reset.
I can force re loading all objects from database and resetting the cache
completely.
This is helpful for development eg. after changing the magritte
descriptions.
Johan.
Greets
Sabine
On Wed, Nov 27, 2013 at 1:44 PM, Norbert Hartl [via Smalltalk] <
ml-node+s1294792n4725577...@n4.nabble.com> wrote:
>
> Am 27.11.2013 um 13:20 schrieb Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4725577&i=0>>:
>
> Am 27.11.2013 um 14:05 schrieb Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4725590&i=0>
> >:
>
> Hi Norbert,
>
> thank you very much for the clarification.
>
> I had to read it several times but now I understand and I kn
ok:-)
btw and ot:
http://adam-fletcher.co.uk/howtobegerman/
recommend!
On Wed, Nov 27, 2013 at 2:49 PM, Norbert Hartl [via Smalltalk] <
ml-node+s1294792n4725604...@n4.nabble.com> wrote:
>
> Am 27.11.2013 um 14:28 schrieb Sabine Knöfel <[hidden
> email]<http://user/SendEma
Hi Esteban,
I found a problem in mongo/voyage and I have reduced and extracted it for
repro.
I ask for your opinion if this is a bug.
If you file in the code below, the method >>testDemo creates a simple model:
Paper has 1:1 reference to Planet.
Paper has 1:1 reference to Star.
Star has 1:N refe
Hi,
how can I perform a commandline command from within Pharo?
Sabine
--
View this message in context:
http://forum.world.st/command-line-command-from-pharo-image-tp4727022.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
> ./pharo Pharo.image eval "42 factorial"
>
> Esteban
>
>
> On Tue, Dec 3, 2013 at 2:45 PM, Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4727029&i=1>
> > wrote:
>
>> Hi,
>>
>> how can I perf
Hi,
the mailinglist is so helpful! Its really great!
CommandShell is my solution.
Thanks!
Sabine
On Tue, Dec 3, 2013 at 3:00 PM, Sergi Reyner [via Smalltalk] <
ml-node+s1294792n4727033...@n4.nabble.com> wrote:
> 2013/12/3 Sabine Knöfel <[hidden
> email]<http://user/SendE
iy Tymchuk <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4727066&i=0>
> > wrote:
>
>>
>> On 03 Dec 2013, at 15:26, Sabine Knöfel <[hidden
>> email]<http://user/SendEmail.jtp?type=node&node=4727066&i=1>>
>>
Hi Sean,
thanks.
I need it now, on Pharo 2.0 but I will change it when I move to 3.0.
Which is the Class and the message in NB then?
Sabine
On Tue, Dec 3, 2013 at 5:40 PM, Sean P. DeNigris [via Smalltalk] <
ml-node+s1294792n4727098...@n4.nabble.com> wrote:
> Sabine Knöfel wrote
>
(continuation of
http://forum.world.st/command-line-command-from-pharo-image-td4727022.html)
OSProcess command: 'something' works fine on mac but does not work on
windows.
If I debug in it I arrive at a primitive call in
WindowsOSProcessAccessor>>primCommand:
The comment is saying something li
Hi,
I need this, too.
http://forum.world.st/Issue-4782-Quoted-printable-encoding-incomplete-implementation-td3823737.html
The bug was closed after transferring it to fogbugs:
https://pharo.fogbugz.com/f/cases/4825
Sebastian, may I ask you, how did you solve this?
regards
Sabine
--
View t
Hi Torsten, Sean,
http://smalltalkhub.com/#!/~OS/OS-Windows
looks great.
I have not found a solution yet to send a call to OS from pharo (I develop
with mac since a few weeks now and deployment is currently windows) and I am
thinking about moving to Pharo 3.0 for further development due to the OS
format rather than a technical one.
>
> http://en.wikipedia.org/wiki/Quoted-printable
>
> I’ll see what I can do.
>
> Sven
>
> On 06 Dec 2013, at 09:35, Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4727919&i=0>>
> wrote
1:43 PM, Nicolai Hess [via Smalltalk] <
ml-node+s1294792n4727984...@n4.nabble.com> wrote:
> 2013/12/6 Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4727984&i=0>
> >
>
>> Hi Torsten, Sean,
>>
>> http://smalltalkhu
Hi Joachim, hi Sven,
thank yor very much for your work! I am looking forward to use Pharo 3.0
next year. :-)
Sabine
On Mon, Dec 9, 2013 at 11:11 AM, jtuchel [via Smalltalk] <
ml-node+s1294792n4728698...@n4.nabble.com> wrote:
> Hi Sven,
>
> thanks for porting this and making it available. I wil
Caekenberghe-2 [via Smalltalk] <
ml-node+s1294792n472872...@n4.nabble.com> wrote:
>
> On 09 Dec 2013, at 12:34, Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4728723&i=0>>
> wrote:
>
> > Hi Joachim, hi Sven,
> >
> &
Hi,
I am currently moving my application from pharo2 to pharo3.
I am asking myself if there is an easy way to find all deprecated methods I
used in my app.
The only way I see currently is to use the app and testing for walkbacks and
run the test cases.
How did others manage this?
Sabine
--
V
lse positives):
> https://ci.inria.fr/rmod/view/MinedRules/job/Pharo30-Report/Pharo_3.0_Rules
>
> hope that it helps,
>
> --
> Andre Hora
>
>
> On Thu, Jan 16, 2014 at 12:21 PM, Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4737198&i=0>
ort those to be added?
>
> btw, maybe it would be good for the opening screen of the Pharo 3 release
> to link to a tutorial on how to run those Deprecated-Rules-only on a
> package.
>
> cheers -ben
>
> Sabine Knöfel wrote:
>
> Hi Andre,
>
> thanks, I used it and it
Hi Olivier,
possibly the option
VOMongoContainer>>enableMissingContent;
is useful to avoid
http://forum.world.st/Voyage-image-freeze-VOMongoError-Lazy-reference-not-found-td4703739.html
Here is an example:
http://esug.org/data/ESUG2013/4-Thu/03-ESUG2013%20-%20VoyageTutorial.pdf
Regards
Sabine
t. So having one reference pointing from A to B you get the opposite
> direction for free.
>
> Norbert
>
> Am 17.04.2014 um 15:22 schrieb Sabine Knöfel <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4755102&i=0>
> >:
>
> Hi Olivier,
>
Hi Norbert,
what about objects which have been written to mongo with the old version
and will be read with the new version. Can they be read/found with the new
version? Or is there a migration needed?
Regards
Sabine
On Thu, May 8, 2014 at 11:30 PM, Norbert Hartl wrote:
> I needed to change t
Thanks, Norbert!
On Mon, May 12, 2014 at 11:38 AM, Norbert Hartl wrote:
>
> Am 12.05.2014 um 10:46 schrieb Sabine Knöfel :
>
> Hi Norbert,
>
> what about objects which have been written to mongo with the old version
> and will be read with the new version. Can they be re
Hi Sven, all,
I ran into the same problem as described here:
http://forum.world.st/ZnLineReader-set-limit-when-reading-a-header-td4649479.html#a4649489
My question is: that thread was created in 2012, perhaps today you have
another alternative/idea to override it globally in ZNConstants. I want
Hi Sven,
the tag I want to read is in the header section.
The jQuery code simply gets the text within the
Hi,
how can I get the names of the currently in my image loaded mcz files of a
certain package?
Example:
The name of one of my packages is "RKA24-View". The currently loaded package
version is "RKA24-View-SabineKnoefel.390.mcz"
==> I want to call a method with parameter "RKA24-View" and get
"RKA2
;=
> b packageName ]) collect: #description.
>
> Have a look at WAVersionUploader or WASeasideVersionStatus.
>
> But I guess that there are possibilities with Ring as well.
>
> On 10 Jul 2014, at 15:18, Sabine Knöfel <[hidden email]
> <http://user/SendEmail.jtp?type=node&n
73 matches
Mail list logo