Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- 7 participants
- 50354 messages
Re: [Pharo-users] pillar source import
by stepharo
Hi peter
I do not think that this is possible.
We should probably add support for it.
Stef
> is it currently possible to import file contents into pillar?
>
> For example I have a script stored in my-script.st
> <http://my-script.st> and I would like to do something like
>
> [[[source=my-script.st <http://my-script.st>
> ]]]
> or
> {import 'my-another-pillar-file.pillar'}
> or something like that.
>
> I can overcome this with some bash preprocessing, but is there some
> syntax, or plan for it directly in Pillar?
>
> Thanks,
> Peter
March 13, 2015
pillar source import
by Peter Uhnák
Hi,
is it currently possible to import file contents into pillar?
For example I have a script stored in my-script.st and I would like to do
something like
[[[source=my-script.st
]]]
or
{import 'my-another-pillar-file.pillar'}
or something like that.
I can overcome this with some bash preprocessing, but is there some syntax,
or plan for it directly in Pillar?
Thanks,
Peter
March 13, 2015
Re: [Pharo-users] pharo headless and without gui. Seaside app
by phil@highoctane.be
There is WinMain in sqWin32Intel.c
and
LRESULT CALLBACK MainWndProcW(HWND hwnd,
UINT message,
WPARAM wParam,
LPARAM lParam)
is in sqWin32Window.c
http://stackoverflow.com/questions/18709403/winmain-vs-main-c
sqWin32Service.c has Windows service support but I don't know how this works.
In WinMain, we get this:
case 1: /* full usage */
abortMessage(TEXT("%s"),
TEXT("Usage: " VM_NAME " [vmOptions] imageFile
[imageOptions]\n\n")
TEXT("vmOptions:")
/* TEXT("\n\t-service: ServiceName \t(install Squeak as NT
service)") */
TEXT("\n\t--headless \t\t(force Squeak to run headless)")
TEXT("\n\t--timephases (print start load and run times)")
TEXT("\n\t--log: LogFile \t\t(use LogFile for VM messages)")
But the code appears to still exist...
parseVMArgument(int argc, char *argv[])
{
/* flags */
if (!strcmp(argv[0], "--help")) {
printUsage(1);
return 1;
}
else if (!strcmp(argv[0], "--version")) { versionInfo(); return 1; }
else if (!strcmp(argv[0], "--headless")) { fHeadlessImage = true;
return 1; }
else if (!strcmp(argv[0], "--headfull")) { fHeadlessImage = false;
return 1;}
else if (!strcmp(argv[0], "--timephases")) {
printPhaseTime(1);
return 1;
}
#ifdef VISTA_SECURITY /* IE7/Vista protected mode support */
/* started with low rights, use alternate untrustedUserDirectory */
else if (!strcmp(argv[0], "--lowRights")) { fLowRights = true; return 1; }
#endif /* VISTA_SECURITY */
#if (STACKVM || NewspeakVM) && !COGVM
else if (!strcmp(argv[0], "--sendtrace"))
{ extern sqInt sendTrace; sendTrace = 1; return 1; }
#endif
/* parameters */
else if (argc > 1 && !strcmp(argv[0], "--service")) {
installServiceName = argv[1];
return 2;
}
else if (!strncmp(argv[0], "--service:", 9)) {
installServiceName = argv[0] + 9;
return 1;
}
else if (argc > 1 && !strcmp(argv[0], "--log")) {
logName = argv[1];
return 2;
}
else if (!strncmp(argv[0], "--log:", 5)) {
logName = argv[0] + 5;
return 1;
}
But despite these options, there is no service nor headless thing working atm.
What is the basic thing to do to get Pharo running as a service?
I can compile the Windows VM, so, the next step would be to get this working.
Which I could do if pointed in a given direction by VM experts who are
in the know.
A lot of the Windows VM code is Andreas code but we need to take that
back into our hands.
Phil
On Fri, Mar 13, 2015 at 6:00 PM, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
> squeak vm info is for squeak vm, not for pharo vm (which has some
> differences⦠for example).
>
> I will ask you again to give us more information about your command line,
> what you are trying to do, etc.
>
> otherwise you will stay flipping around, because people will answer in
> general⦠not very useful for you.
>
> Esteban
>
> On 13 Mar 2015, at 16:21, Pablo R. Digonzelli <pdigonzelli(a)gmail.com> wrote:
>
> I understand , wher can i get Andrea's command line info?
> TIA
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucumán
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
> ----- Mensaje original -----
> De: "David T. Lewis" <lewis(a)mail.msen.com>
> Para: "Any question about pharo is welcome" <pharo-users(a)lists.pharo.org>
> Enviados: Jueves, 12 de Marzo 2015 20:54:20
> Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
>
> On Thu, Mar 12, 2015 at 06:23:28PM -0300, Pablo R. Digonzelli wrote:
>
> I think phil is right. -vm-display-null is the question . it aborts the
> process.
> Does not matter wich vm and image are you using.
> For example i am trying pharo4 latest image latest vm.
>
>
> The -vm-display-null parameter is specific to Ian Piumarta's unix VM. It is
> part of the loadable VM module system that he made for sound and displays.
> You will find this in the various VMs that run on top of Ian platform code.
> The Windows VMs originate from Andreas Raab's code base, which has different
> VM command line parameters.
>
> For common things like starting a headless VM, it would be a good idea to
> make the command line parameters consistent across VMs. Maybe that could be
> done most easily in the start scripts, as opposed to the VM executables.
>
> Dave
>
>
>
>
> TIA
>
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucum??n
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
>
> De: "Esteban Lorenzano" <estebanlm(a)gmail.com>
> Para: "Any question about pharo is welcome" <pharo-users(a)lists.pharo.org>
> Enviados: Jueves, 12 de Marzo 2015 17:42:55
> Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
>
>
>
>
>
> On 12 Mar 2015, at 21:23, phil(a)highoctane.be wrote:
>
>
>
> Headless on windows is not working I think.
>
>
>
> that???s not related, ???no-quit should be working (and ???headless should
> be letting a window in the try).
>
> can you provide more information?
>
> vm version?
> image version?
> anything relevant?
>
> just asking without information is like going to the doctor and just say
> ???it hurts me?????? not much we can do to help.
>
> Esteban
>
>
> BQ_BEGIN
>
>
>
> There is code in the VM but it looks more dead than alive. There is a
> console version of Squeak and we may want to revive that. There us even code
> for a Windows service in there...
>
> Phil
> Le 12 mars 2015 20:41, "Pablo R. Digonzelli" < pdigonzelli(a)gmail.com > a
> ??crit :
>
> BQ_BEGIN
>
> Hi again, i cannot do it work for a windows 2012 server. it seems --no-quit
> does not work .
> Any suggestion?
>
>
> TIA
>
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucum??n
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
>
> De: "Pablo Digonzelli" < pdigonzelli(a)gmail.com >
> Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org >
> Enviados: Jueves, 12 de Marzo 2015 16:20:08
> Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
>
> Hi, i solve the problem!
>
> ./pharo-vm/pharo -vm-display-null -vm-sound-null --plugins ./pharo-vm
> --encoding utf8 imagefile.image --no-quit
>
> works very well
>
> TIA
>
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucum??n
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
>
> De: "pablo digonzelli" < pdigonzelli(a)softsargentina.dyndns.biz >
> Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org >
> Enviados: Jueves, 12 de Marzo 2015 15:47:49
> Asunto: pharo headless and without gui. Seaside app
>
> I need to run pharo headless and without gui for a Seaside app i am working
> on.
> I user pharo -vm-display-null --headless imagefile and does not work.
> May be someone can help me.
> TIA
>
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucum??n
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
>
> BQ_END
>
>
> BQ_END
>
>
--
---
Philippe Back
Visible Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Mail:phil@highoctane.be | Web: http://philippeback.eu
Blog: http://philippeback.be | Twitter: @philippeback
Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL
rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/
Featured on the Software Process and Measurement Cast -
http://spamcast.libsyn.com
Sparx Systems Enterprise Architect and Ability Engineering EADocX
Value Added Reseller
March 13, 2015
Re: [Pharo-users] pharo headless and without gui. Seaside app
by Pablo R. Digonzelli
Esteban, i am trying to deploy a Seaside app in Windows. I want pharo running headless and i will want to implement it as Windows Service.
But does not matter. Trying start pharo4 last image last vm ( https://ci.inria.fr/pharo/) in headless .
pharo -vm-display-null -vm-sound-null imagefile.image --no-quit. It does not work. Abort
pharo -vm-sound-null imagefile .image --no-quit. I works but with gui.
I hope it will help you to understand the situation.
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Metrotec SRL
25 de Mayo 521
San Miguel de Tucumán
Email: pdigonzelli(a)softsargentina.com
pdigonzelli(a)gmail.com
Cel: 5493815982714
De: "Esteban Lorenzano" <estebanlm(a)gmail.com>
Para: "Any question about pharo is welcome" <pharo-users(a)lists.pharo.org>
Enviados: Viernes, 13 de Marzo 2015 14:00:52
Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
squeak vm info is for squeak vm, not for pharo vm (which has some differences⦠for example).
I will ask you again to give us more information about your command line, what you are trying to do, etc.
otherwise you will stay flipping around, because people will answer in general⦠not very useful for you.
Esteban
On 13 Mar 2015, at 16:21, Pablo R. Digonzelli < pdigonzelli(a)gmail.com > wrote:
I understand , wher can i get Andrea's command line info?
TIA
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Metrotec SRL
25 de Mayo 521
San Miguel de Tucumán
Email: pdigonzelli(a)softsargentina.com
pdigonzelli(a)gmail.com
Cel: 5493815982714
----- Mensaje original -----
De: "David T. Lewis" < lewis(a)mail.msen.com >
Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org >
Enviados: Jueves, 12 de Marzo 2015 20:54:20
Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
On Thu, Mar 12, 2015 at 06:23:28PM -0300, Pablo R. Digonzelli wrote:
BQ_BEGIN
I think phil is right. -vm-display-null is the question . it aborts the process.
Does not matter wich vm and image are you using.
For example i am trying pharo4 latest image latest vm.
The -vm-display-null parameter is specific to Ian Piumarta's unix VM. It is
part of the loadable VM module system that he made for sound and displays.
You will find this in the various VMs that run on top of Ian platform code.
The Windows VMs originate from Andreas Raab's code base, which has different
VM command line parameters.
For common things like starting a headless VM, it would be a good idea to
make the command line parameters consistent across VMs. Maybe that could be
done most easily in the start scripts, as opposed to the VM executables.
Dave
BQ_BEGIN
TIA
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Metrotec SRL
25 de Mayo 521
San Miguel de Tucum??n
Email: pdigonzelli(a)softsargentina.com
pdigonzelli(a)gmail.com
Cel: 5493815982714
De: "Esteban Lorenzano" < estebanlm(a)gmail.com >
Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org >
Enviados: Jueves, 12 de Marzo 2015 17:42:55
Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
On 12 Mar 2015, at 21:23, phil(a)highoctane.be wrote:
Headless on windows is not working I think.
that???s not related, ???no-quit should be working (and ???headless should be letting a window in the try).
can you provide more information?
vm version?
image version?
anything relevant?
just asking without information is like going to the doctor and just say ???it hurts me?????? not much we can do to help.
Esteban
BQ_BEGIN
There is code in the VM but it looks more dead than alive. There is a console version of Squeak and we may want to revive that. There us even code for a Windows service in there...
Phil
Le 12 mars 2015 20:41, "Pablo R. Digonzelli" < pdigonzelli(a)gmail.com > a ??crit :
BQ_BEGIN
Hi again, i cannot do it work for a windows 2012 server. it seems --no-quit does not work .
Any suggestion?
TIA
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Metrotec SRL
25 de Mayo 521
San Miguel de Tucum??n
Email: pdigonzelli(a)softsargentina.com
pdigonzelli(a)gmail.com
Cel: 5493815982714
De: "Pablo Digonzelli" < pdigonzelli(a)gmail.com >
Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org >
Enviados: Jueves, 12 de Marzo 2015 16:20:08
Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
Hi, i solve the problem!
./pharo-vm/pharo -vm-display-null -vm-sound-null --plugins ./pharo-vm --encoding utf8 imagefile.image --no-quit
works very well
TIA
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Metrotec SRL
25 de Mayo 521
San Miguel de Tucum??n
Email: pdigonzelli(a)softsargentina.com
pdigonzelli(a)gmail.com
Cel: 5493815982714
De: "pablo digonzelli" < pdigonzelli(a)softsargentina.dyndns.biz >
Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org >
Enviados: Jueves, 12 de Marzo 2015 15:47:49
Asunto: pharo headless and without gui. Seaside app
I need to run pharo headless and without gui for a Seaside app i am working on.
I user pharo -vm-display-null --headless imagefile and does not work.
May be someone can help me.
TIA
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Metrotec SRL
25 de Mayo 521
San Miguel de Tucum??n
Email: pdigonzelli(a)softsargentina.com
pdigonzelli(a)gmail.com
Cel: 5493815982714
BQ_END
BQ_END
BQ_END
BQ_END
March 13, 2015
Re: [Pharo-users] pharo headless and without gui. Seaside app
by Esteban Lorenzano
squeak vm info is for squeak vm, not for pharo vm (which has some differences⦠for example).
I will ask you again to give us more information about your command line, what you are trying to do, etc.
otherwise you will stay flipping around, because people will answer in general⦠not very useful for you.
Esteban
> On 13 Mar 2015, at 16:21, Pablo R. Digonzelli <pdigonzelli(a)gmail.com> wrote:
>
> I understand , wher can i get Andrea's command line info?
> TIA
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucumán
> Email: pdigonzelli(a)softsargentina.com <mailto:pdigonzelli@softsargentina.com>
> pdigonzelli(a)gmail.com <mailto:pdigonzelli@gmail.com>
> Cel: 5493815982714
>
> ----- Mensaje original -----
> De: "David T. Lewis" <lewis(a)mail.msen.com <mailto:lewis@mail.msen.com>>
> Para: "Any question about pharo is welcome" <pharo-users(a)lists.pharo.org <mailto:pharo-users@lists.pharo.org>>
> Enviados: Jueves, 12 de Marzo 2015 20:54:20
> Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
>
> On Thu, Mar 12, 2015 at 06:23:28PM -0300, Pablo R. Digonzelli wrote:
>> I think phil is right. -vm-display-null is the question . it aborts the process.
>> Does not matter wich vm and image are you using.
>> For example i am trying pharo4 latest image latest vm.
>
> The -vm-display-null parameter is specific to Ian Piumarta's unix VM. It is
> part of the loadable VM module system that he made for sound and displays.
> You will find this in the various VMs that run on top of Ian platform code.
> The Windows VMs originate from Andreas Raab's code base, which has different
> VM command line parameters.
>
> For common things like starting a headless VM, it would be a good idea to
> make the command line parameters consistent across VMs. Maybe that could be
> done most easily in the start scripts, as opposed to the VM executables.
>
> Dave
>
>
>>
>>
>> TIA
>>
>>
>> Ing. Pablo Digonzelli
>> Software Solutions
>> IP-Solutiones SRL
>> Metrotec SRL
>> 25 de Mayo 521
>> San Miguel de Tucum??n
>> Email: pdigonzelli(a)softsargentina.com <mailto:pdigonzelli@softsargentina.com>
>> pdigonzelli(a)gmail.com <mailto:pdigonzelli@gmail.com>
>> Cel: 5493815982714
>>
>>
>> De: "Esteban Lorenzano" <estebanlm(a)gmail.com <mailto:estebanlm@gmail.com>>
>> Para: "Any question about pharo is welcome" <pharo-users(a)lists.pharo.org <mailto:pharo-users@lists.pharo.org>>
>> Enviados: Jueves, 12 de Marzo 2015 17:42:55
>> Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
>>
>>
>>
>>
>>
>> On 12 Mar 2015, at 21:23, phil(a)highoctane.be wrote:
>>
>>
>>
>> Headless on windows is not working I think.
>>
>>
>>
>> that???s not related, ???no-quit should be working (and ???headless should be letting a window in the try).
>>
>> can you provide more information?
>>
>> vm version?
>> image version?
>> anything relevant?
>>
>> just asking without information is like going to the doctor and just say ???it hurts me?????? not much we can do to help.
>>
>> Esteban
>>
>>
>> BQ_BEGIN
>>
>>
>>
>> There is code in the VM but it looks more dead than alive. There is a console version of Squeak and we may want to revive that. There us even code for a Windows service in there...
>>
>> Phil
>> Le 12 mars 2015 20:41, "Pablo R. Digonzelli" < pdigonzelli(a)gmail.com <mailto:pdigonzelli@gmail.com> > a ??crit :
>>
>> BQ_BEGIN
>>
>> Hi again, i cannot do it work for a windows 2012 server. it seems --no-quit does not work .
>> Any suggestion?
>>
>>
>> TIA
>>
>>
>> Ing. Pablo Digonzelli
>> Software Solutions
>> IP-Solutiones SRL
>> Metrotec SRL
>> 25 de Mayo 521
>> San Miguel de Tucum??n
>> Email: pdigonzelli(a)softsargentina.com <mailto:pdigonzelli@softsargentina.com>
>> pdigonzelli(a)gmail.com <mailto:pdigonzelli@gmail.com>
>> Cel: 5493815982714
>>
>>
>> De: "Pablo Digonzelli" < pdigonzelli(a)gmail.com <mailto:pdigonzelli@gmail.com> >
>> Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org <mailto:pharo-users@lists.pharo.org> >
>> Enviados: Jueves, 12 de Marzo 2015 16:20:08
>> Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
>>
>> Hi, i solve the problem!
>>
>> ./pharo-vm/pharo -vm-display-null -vm-sound-null --plugins ./pharo-vm --encoding utf8 imagefile.image --no-quit
>>
>> works very well
>>
>> TIA
>>
>>
>> Ing. Pablo Digonzelli
>> Software Solutions
>> IP-Solutiones SRL
>> Metrotec SRL
>> 25 de Mayo 521
>> San Miguel de Tucum??n
>> Email: pdigonzelli(a)softsargentina.com <mailto:pdigonzelli@softsargentina.com>
>> pdigonzelli(a)gmail.com <mailto:pdigonzelli@gmail.com>
>> Cel: 5493815982714
>>
>>
>> De: "pablo digonzelli" < pdigonzelli(a)softsargentina.dyndns.biz <mailto:pdigonzelli@softsargentina.dyndns.biz> >
>> Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org <mailto:pharo-users@lists.pharo.org> >
>> Enviados: Jueves, 12 de Marzo 2015 15:47:49
>> Asunto: pharo headless and without gui. Seaside app
>>
>> I need to run pharo headless and without gui for a Seaside app i am working on.
>> I user pharo -vm-display-null --headless imagefile and does not work.
>> May be someone can help me.
>> TIA
>>
>>
>> Ing. Pablo Digonzelli
>> Software Solutions
>> IP-Solutiones SRL
>> Metrotec SRL
>> 25 de Mayo 521
>> San Miguel de Tucum??n
>> Email: pdigonzelli(a)softsargentina.com <mailto:pdigonzelli@softsargentina.com>
>> pdigonzelli(a)gmail.com <mailto:pdigonzelli@gmail.com>
>> Cel: 5493815982714
>>
>>
>> BQ_END
>>
>>
>> BQ_END
March 13, 2015
Re: [Pharo-users] [OT] DB Open Data-Train Challenge in Germany
by Alexandre Bergel
We can help!
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> On Mar 13, 2015, at 7:49 AM, Torsten Bergmann <astares(a)gmx.de> wrote:
>
> Similar to the Dataton in Paris (http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-March/017…)
> with data from Africa to visualize possible with Roassal there is in germany next friday (20.3.2015) a day in
> Frankfurt organized by german railway, also with open data (timetables, train data, ...):
>
> https://www.eventbrite.com/e/db-open-data-train-challenge-tickets-160262449…
>
> So if one might be interested to visit the event.
>
>
> BTW: German railway is using Smalltalk applications a lot to do all their
> timetable planning and train simulations (see http://www.uic.org/html/it/e-business_2005/docs/woelfle.pdf
> for some screenshots)
>
> Maybe this is a good chance to demo Pharo or use Roassal to visualize data.
>
>
>
March 13, 2015
configuration browser descriptions
by Torsten Bergmann
Sebastian wrote:
>One should discuss if it might be useful and easy to implement to have a configuration browser
>that includes descriptions for the offered configurations.
I guess I'm knowledgable enough to answer this:
a) it is useful
b) if it is easy depends on where you get the description info from
c) Do not dicusss, stop lamenting and help coding :)
When I wrote the config browser there was no central way to find out which packages/configs are
working for which Pharo version. The easiest thing that could possibly work was to create
a MetaRepoForPharoXXX repo for each version XXX of Pharo and copy the working configs
into it.
The tool just queries the list of available file names and displays them.
For the initial step this was enough and still good enough that the tool opens
quick enough.
If you would LOAD ALL the configs in such a meta repo BEFORE OPENING into the
Pharo image to extract more informations (like descriptions or dependencies)
the config browser would be unusable due to bad performance of such operations.
This could be solved by caching, but so far there was no time.
Additionally as it makes sense to store such descriptions with the config Stef implemented
Catalog. Some ConfigurationOfYYY classes have such meta data for Catalog and the
project currently produces an HTML report:
https://ci.inria.fr/pharo-contribution/job/PharoProjectCatalog/HTML_Report/
One must know about this. Not ideal - but a step forward to at least make it
visible somehow.
Several options:
================
1. Implement a solution to load all the config in the meta repo into the image,
extract the data the first time and write this info to a cache. Update the
cache on request. It MUST be cached, otherwise it will burn CPU cycles.
Although this cache can be shared between Pharo image with the same version
I think this is not ideal.
2. Using Stefs "Catalog" project one could (beside the HTML report) provide
something that is easy to parse from the tool so we can load the contents
of the displayed list from the web quickly When the CI runs often it
should be up to date always - but we must make sure such a job is never broken.
Would be a better option - but also needs someone to do that.
3. In the long term:
Implement a better online mechanism to register Pharo related stuff. Some kind of
PharoStore where you can register and share Packages but also other things like
tutorials, articles, video, wallpapers, ...
Then the client can query for this info (maybe using Spotter) and just load.
Feel free to shape/code on improving this.
There is something in the pipe for 3. from my side already, but only slowly progressing
maybe too much work for one person. If you want to help and know Pharo and Seaside
very well then contact me offline.
March 13, 2015
Re: [Pharo-users] pharo headless and without gui. Seaside app
by Pablo R. Digonzelli
I understand , wher can i get Andrea's command line info?
TIA
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Metrotec SRL
25 de Mayo 521
San Miguel de Tucumán
Email: pdigonzelli(a)softsargentina.com
pdigonzelli(a)gmail.com
Cel: 5493815982714
----- Mensaje original -----
De: "David T. Lewis" <lewis(a)mail.msen.com>
Para: "Any question about pharo is welcome" <pharo-users(a)lists.pharo.org>
Enviados: Jueves, 12 de Marzo 2015 20:54:20
Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
On Thu, Mar 12, 2015 at 06:23:28PM -0300, Pablo R. Digonzelli wrote:
> I think phil is right. -vm-display-null is the question . it aborts the process.
> Does not matter wich vm and image are you using.
> For example i am trying pharo4 latest image latest vm.
The -vm-display-null parameter is specific to Ian Piumarta's unix VM. It is
part of the loadable VM module system that he made for sound and displays.
You will find this in the various VMs that run on top of Ian platform code.
The Windows VMs originate from Andreas Raab's code base, which has different
VM command line parameters.
For common things like starting a headless VM, it would be a good idea to
make the command line parameters consistent across VMs. Maybe that could be
done most easily in the start scripts, as opposed to the VM executables.
Dave
>
>
> TIA
>
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucum??n
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
>
> De: "Esteban Lorenzano" <estebanlm(a)gmail.com>
> Para: "Any question about pharo is welcome" <pharo-users(a)lists.pharo.org>
> Enviados: Jueves, 12 de Marzo 2015 17:42:55
> Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
>
>
>
>
>
> On 12 Mar 2015, at 21:23, phil(a)highoctane.be wrote:
>
>
>
> Headless on windows is not working I think.
>
>
>
> that???s not related, ???no-quit should be working (and ???headless should be letting a window in the try).
>
> can you provide more information?
>
> vm version?
> image version?
> anything relevant?
>
> just asking without information is like going to the doctor and just say ???it hurts me?????? not much we can do to help.
>
> Esteban
>
>
> BQ_BEGIN
>
>
>
> There is code in the VM but it looks more dead than alive. There is a console version of Squeak and we may want to revive that. There us even code for a Windows service in there...
>
> Phil
> Le 12 mars 2015 20:41, "Pablo R. Digonzelli" < pdigonzelli(a)gmail.com > a ??crit :
>
> BQ_BEGIN
>
> Hi again, i cannot do it work for a windows 2012 server. it seems --no-quit does not work .
> Any suggestion?
>
>
> TIA
>
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucum??n
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
>
> De: "Pablo Digonzelli" < pdigonzelli(a)gmail.com >
> Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org >
> Enviados: Jueves, 12 de Marzo 2015 16:20:08
> Asunto: Re: [Pharo-users] pharo headless and without gui. Seaside app
>
> Hi, i solve the problem!
>
> ./pharo-vm/pharo -vm-display-null -vm-sound-null --plugins ./pharo-vm --encoding utf8 imagefile.image --no-quit
>
> works very well
>
> TIA
>
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucum??n
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
>
> De: "pablo digonzelli" < pdigonzelli(a)softsargentina.dyndns.biz >
> Para: "Any question about pharo is welcome" < pharo-users(a)lists.pharo.org >
> Enviados: Jueves, 12 de Marzo 2015 15:47:49
> Asunto: pharo headless and without gui. Seaside app
>
> I need to run pharo headless and without gui for a Seaside app i am working on.
> I user pharo -vm-display-null --headless imagefile and does not work.
> May be someone can help me.
> TIA
>
>
> Ing. Pablo Digonzelli
> Software Solutions
> IP-Solutiones SRL
> Metrotec SRL
> 25 de Mayo 521
> San Miguel de Tucum??n
> Email: pdigonzelli(a)softsargentina.com
> pdigonzelli(a)gmail.com
> Cel: 5493815982714
>
>
> BQ_END
>
>
> BQ_END
>
>
>
March 13, 2015
Re: [Pharo-users] Datathon for development in Paris
by Serge Stinckwich
On Thu, Mar 12, 2015 at 1:43 PM, Bernat Romagosa
<tibabenfortlapalanca(a)gmail.com> wrote:
> Hi Serge,
>
> Do you know if these data will stay open and public after the event? At the
> Citilab we're working a lot with open data and we're constantly looking for
> new sources. I don't think we'll be able to come to Paris though...
I dunno.
Actually there will be a meetup March 24th in order to have more
information about the data.
Regards,
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
March 13, 2015
Re: [Pharo-users] Tide
by Norbert Hartl
> Am 13.03.2015 um 15:13 schrieb Tommaso Dal Sasso <tommaso.dalsasso(a)gmail.com>:
>
> As one of the few (maybe the only user) of Tide, I can say that it is powerful but painful ;-)
> Amber is changing (quite) fast, and the current version of Tide is not usable with the default version. I made some small changes to make Tide work with the current setup of Amber, but still there are a couple of "gotchas" that are needed to make it work.
>
> I wanted to write something about that, but I am still in deep development phase. If you are really interested, I may help you setup an example project.
> However, as Esteban said, think twice if this is what you need. Tide is quite powerful, but unless you don't need strong integration with javascript libraries Seaside is probably easier.
>
Thanks. That's something I (don't) wanted to hear. :) Maybe it is because there aren't that much amber users and there are (of course) even less users of amber+tide. I personally loved the idea when first encountering tide. But I know as well there are gotchas.
thanks,
Norbert
> Tommaso
>
>
> On 13/03/15 14:51, Esteban Lorenzano wrote:
>> As one of the authors of Tide, I wouldnât recommend to use it today⦠unless you are planning to maintain it too, because atm I do not have time to do it and Nico (the other/main author is not working on smalltalk anymore⦠nor amber or pharo).
>> Instead, I would use Seaside+Reef :P
>>
>> Esteban
>>
>>> On 12 Mar 2015, at 15:27, Norbert Hartl <norbert(a)hartl.name> wrote:
>>>
>>> For an upcoming project I'm thinking about what technology to use. I think it will be seaside or amber+tide. For the latter I would like to have some experience reports.
>>>
>>> Is anyone of you using tide and what is your experience with it?
>>>
>>> thanks,
>>>
>>> Norbert
>>>
>>>
>>
>
>
March 13, 2015