Re: [Pharo-users] Getting rid of .sources file for deployment

2020-09-02 Thread jan.struz
Hi Esteban,
you can try this for all methods requiring source code, before removing
.sources file:

someCompiledMethod embeddSourceInTrailer.
This works since Pharo 3.0 or so...
Jan




-
Save The World!
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Windows headless and service

2016-02-01 Thread jan.struz
Hi,
try NSSM - https://nssm.cc/usage

I personally haven't found anything better.




-
Save The World!
--
View this message in context: 
http://forum.world.st/Windows-headless-and-service-tp4874988p4875168.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] voyage/mongo randomly wrong OIDs

2013-08-29 Thread jan.struz
ok, here again: Fix-Mongo-OID.cs
http://forum.world.st/file/n4705649/Fix-Mongo-OID.cs  :)
EstebanLM wrote
 file not found :)On Aug 29, 2013, at 2:44 PM, jan.struz lt;

 public+pharo@

 gt; wrote: Hi, feel free to use  integrate the following fix: 
 Fix-Mongo-OID.cs
 lt;http://forum.world.st/file/n4705616/Fix-Mongo-OID.csgt;Jan  
 Sabine Knöfel wrote Hi Esteban, All,  I was proceeding to seach for
 the reason of the problem I described yesterday.  I added some
 debugging code into VOMongoSerializerensurePersisted: and the problem
 I described, did NOT occur.  That made the whole process slower...and
 I had an idea  I was looking into UUIDGenerator default
 makeSeed. Then I tried the following code:  |theOld theNew| 
 1 timesRepeat: [theNew :=  UUIDGenerator default makeSeed. 
 theNew = theOld ifTrue: [self halt].theOld := theNew]  The
 debugger came up! Doesn't that mean that, if the code is run very fast,
 there are double OIDs generated?!  In my case, the objects for country
 and currency are very lightweight and so, they are created very fast.
 Also, the error occured much more often within my fast production EC2
 instance as at my (old and slow) development pc.   Important: I work
 with windows and so makeUnixSeed returns nil... :-)  What is your
 opinion about that?  Sabine  - Save The World! --
 View this message in context:
 http://forum.world.st/voyage-mongo-randomly-wrong-OIDs-tp4705396p4705619.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.





-
Save The World!
--
View this message in context: 
http://forum.world.st/voyage-mongo-randomly-wrong-OIDs-tp4705396p4705649.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.