LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  December 2014

QSERV-L December 2014

Subject:

Re: DM-621 and configuration

From:

"Salnikov, Andrei A." <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Mon, 15 Dec 2014 21:11:57 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (54 lines)

Hi K-T,

I guess the rest of DM will also need for some sort of configuration
so maybe this issue needs a wider discussion to set on something 
common? Or is it already decided and YAML is the only option for 
non-Butler (non-qserv) use?

Personally I have no direct experience with YAML. After reading all I 
can find I'm almost OK with YAML, the only thing that bothers me is 
Python-ish whitespace use for structure. Even with all the tools that 
we have for Python occasionally I find TABs in our Python code (used 
for indentation). I'm not sure how big of an issue this is going to 
be for YAML but I can imagine some surprises due to mis-indentation.

Using Python for configuration maybe attractive (and I know one major 
HEP experiment where it is done at large scale) but is probably 
overkill for us. We certainly need something that works from both 
Python and C++, this probably rules out Python as there is no easy 
way to access Python object from C++.

Cheers,
Andy


Kian-Tat Lim wrote on 2014-12-11:
> There has been discussion on DM-621 and its associated pull request
> about configuration file formats and parsers.  I'd like to try to bring
> this to a final decision.  This is not a formal DM RFC because (so far)
> this seems internal to Qserv.
> 
> The core LSST stack currently has two choices for configuration:
> pex_config or YAML.  (No one is using YAML yet, but the new Butler is
> expected to do so.)  (pex_policy is legacy and being removed.) For
> Qserv, I think pex_config is likely inappropriate, so I'm willing to go
> with pure execfile() Python (if you really need programmability) or YAML
> (if you need Python/C++ language independence).  From what I've seen,
> YAML is used in many places, has well-adopted parsers, has Mario's
> approval, and can do simple things simply.  You don't need to use every
> feature of YAML, and in fact I'd generally recommend against it.
> 
> If you'd like to use something other than the above, you'll have to show
> that those options are insufficient or that your other solution is far
> superior (not just marginally better).
> 
> I agree that migration to a new configuration file format should be
> another ticket, not part of DM-621.
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use