[Printing-architecture] [Printing-summit] OPS Preparation minutes (28 March 2012)

Michael Sweet msweet at apple.com
Thu Mar 29 16:03:07 UTC 2012


Ira,

Internal/private APIs are often coded with a leading underscore, e.g. "_opjtInternalFunction".  Functions with a leading underscore are typically not exported by default (a nice side-effect).


On Mar 29, 2012, at 5:29 AM, Ira McDonald wrote:

> Hi Daniel,
> 
> Yes, any globally scoped function or variable is a potential
> source of collision.
> 
> A specific instance - a printer manufacturer might link JTAPI
> into their implementation of IPP or PWG SM Print (over SOAP).
> In that case, we have to be concerned that their original source
> code may not always have used good programming practice
> with scoping prefixes.
> 
> For internal functions that are globally scoped, I suggest that
> a distinct prefix such as "opjtint" would be good for readability
> and to clarify that the given function/variable is NOT intended
> to be used by the application integrator.
> 
> Glen - WDYT?
> 
> Cheers,
> - Ira
> 
> 
> 
> Ira McDonald (Musician / Software Architect)
> Chair - Linux Foundation Open Printing WG
> Secretary - IEEE-ISTO Printer Working Group
> Co-Chair - IEEE-ISTO PWG IPP WG
> Co-Chair - TCG Trusted Mobility Solutions WG
> Chair - TCG Embedded Systems Hardcopy SG
> IETF Designated Expert - IPP & Printer MIB
> Blue Roof Music/High North Inc
> http://sites.google.com/site/blueroofmusic
> http://sites.google.com/site/highnorthinc
> mailto:blueroofmusic at gmail.com
> Winter  579 Park Place  Saline, MI  48176  734-944-0094
> Summer  PO Box 221  Grand Marais, MI 49839  906-494-2434
> 
> 
> 
> On Thu, Mar 29, 2012 at 12:29 AM, Daniel Dressler <danieru.dressler at gmail.com> wrote:
> Thank you Ira
> 
> Is it correct that I have to worry about all globally scoped things that will get linked in the library user's program(which would be everything)? So for instance will the internal functions require a prefix?
> 
> I think opjt would be equally nice, is that a possible prefixy?
> 
> Daniel
> 
> 2012年3月28日22:17 Ira McDonald <blueroofmusic at gmail.com>:
> 
> Hi Daniel,
> 
> Comments inline below.
> 
> Cheers,
> - Ira
> 
> 
> On Wed, Mar 28, 2012 at 7:09 PM, Daniel Dressler <danieru.dressler at gmail.com> wrote:
> In response to some comments in the meeting.
> 
> 1. I would prefer an 'op' prefix to 'fsgjt'. I assume fsgjt means free standards group job ticket? Since the fsg does not exist anymore I think 'op' would avoid confusion. And it is shorter.
> 
> Do we know of any namespace conflicts with other op libraries? It's been 5+ years, has this situation changed?
> 
> <ira>
> The Open Printing Vector API uses 'opvp' as prefix throughout.
> It's sloppy and amateur coding practice not to use a library specific unique prefix (e.g., 'opjt') for variables and functions.
> 
> The scope is NOT just OP libraries, but the entire universe of
> code that might be linked into a vendor or third-party tool.
> </ira>
>  
> 2. I will be attending as much of the summit as I can by phone-in, the summit takes place over my finals so I will be missing some sessions.
> 
> <ira> 
> Understood - we'll be glad to have you when you can attend.
> </ira>
> 
> 3. If the wiki has no history does that mean it is pointless for me to fill in the change log when making edits?
> 
> <ira>
> Till can hopefully answer this one - we're not any of us happy
> about the move from a full-function Wiki tool to a limited Wiki
> tool by the Linux Foundation.
> </ira>
> 
> Daniel
> 
> 2012年3月28日13:38 Ira McDonald <blueroofmusic at gmail.com>:
> Hi, 
> 
> Minutes from today's Open Printing Summit planning call are posted at:
> 
>  ftp://ftp.pwg.org/pub/pwg/openprinting/minutes/OP-Summit-Prep-20120328.htm
> 
> Note:  New FTP directory - see above
> 
> - ACTION - Till - contact Linux Foundation about Glen/Hin-Tak updates
>   to GSoC projects - no website fall-backs allowed until late April
>   - OPEN
> 
> - ACTION - Till - contact Ghostscript and other color management folks
>   as presenters (or send slides?)
>   - Michael Vrhel (Artifex, Ghostscript) will attend OPS
>   - OPEN
> 
> - ACTION - All - Draft presentation slides/outlines for review 11 April
>   - OPEN
> 
> - ACTION - Presenters - tell Till EARLY about any special requirements
>   (e.g., speakers for video, demo printers, etc.)
>   - OPEN
> 
> - ACTION - Presenters - send PDF slides to Till EARLY (or upload to OP)
>   (so that participants can download slides as backup for screencast)
>   - OPEN
> 
> - ACTION - Ira - draft slides for OP Plenary by 11 April
>   - OPEN
> 
> Next OP Conference Calls:
> (1) April 2012 - OPS Preparation
>     - Note - US Daylight Savings Time started on Sunday 11 March 2012
>     - Note - Europe Summer Time started on Sunday 25 March 2012
> 
>     - Wednesday 11 April 2012, Daytime
>       - US
>         9am in San Francisco - US PDT (Pacific Daylight Time)
>         10am in Colorado - US MDT (Mountain Daylight Time)
>         11am in Chicago - US CDT (Central Daylight Time)
>         12pm in New York - US EDT (Eastern Daylight Time)
>       - Europe
>         6pm in Berlin - CEST (Central European Summer Time)
> 
>     * Main Number (Till Kamppeter, LF, leader)
>       International: +1-218-936-7999
>       Access Code:   491659#
> 
> (2) April 2012 - Joint PWG / Open Printing Summit
>     - Note - OPS is NOT hosted by Linux Foundation Collaboration Summit
> 
>     - Tuesday to Friday 24-27 April 2012 at Apple in Cupertino, CA
>       - US
>         9am in San Francisco - US PDT (Pacific Daylight Time)
>         10am in Colorado - US MDT (Mountain Daylight Time)
>         11am in Chicago - US CDT (Central Daylight Time)
>         12pm in New York - US EDT (Eastern Daylight Time)
>       - Europe
>         6pm in Berlin - CEST (Central European Summer Time)
> 
>     * Main PWG Number (Mike Sweet, Apple, leader)
>       US Toll-Free:  +1-866-469-3239
>       International: +1-650-429-3300
>       Access Code:   By request to Ira McDonald (do NOT publish)
> 
> (3) May 2012 - US/Europe - OP Monthly Meeting
>     - Note - Joint PWG/OPS is 24-27 April at Apple in Cupertino, CA
>     - Note - Ubuntu Developer Summit is 7-11 May in Oakland, CA
>     - Note - Ira has a conflict on 16 May
> 
>     - Wednesday 23 May 2012, Daytime
>       - US
>         9am in San Francisco - US PDT (Pacific Daylight Time)
>         10am in Colorado - US MDT (Mountain Daylight Time)
>         11am in Chicago - US CDT (Central Daylight Time)
>         12pm in New York - US EDT (Eastern Daylight Time)
>       - Europe
>         6pm in Berlin - CEST (Central European Summer Time)
> 
>     * Main Number (Till Kamppeter, LF, leader)
>       International: +1-218-936-7999
>       Access Code:   491659#
> 
> Cheers,
> - Ira
> 
> Ira McDonald (Musician / Software Architect)
> Chair - Linux Foundation Open Printing WG
> Secretary - IEEE-ISTO Printer Working Group
> Co-Chair - IEEE-ISTO PWG IPP WG
> Co-Chair - TCG Trusted Mobility Solutions WG
> Chair - TCG Embedded Systems Hardcopy SG
> IETF Designated Expert - IPP & Printer MIB
> Blue Roof Music/High North Inc
> http://sites.google.com/site/blueroofmusic
> http://sites.google.com/site/highnorthinc
> mailto:blueroofmusic at gmail.com
> Winter  579 Park Place  Saline, MI  48176  734-944-0094
> Summer  PO Box 221  Grand Marais, MI 49839  906-494-2434
> 
> 
> _______________________________________________
> Printing-summit mailing list
> Printing-summit at lists.linux-foundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/printing-summit
> 
> 
> 
> 
> 
> _______________________________________________
> Printing-architecture mailing list
> Printing-architecture at lists.linux-foundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/printing-architecture/attachments/20120329/33dd8a70/attachment-0001.html>


More information about the Printing-architecture mailing list