Samp Tools



  1. Samp Machine Tools
  2. Samp Tools Hack

Overview

Note: This package also includes the scripting tools (PAWN compiler). Please review the SA-MP Services Agreement if you wish to run a public SA-MP server. SA-MP 0.3.7-R2 Windows Server. The SAMP is a planning tool to clarify intentions, priorities and practices to be adopted. It takes a long-term view and considers the combination of organisation needs, stakeholder expectations and the realities of existing assets and asset management capabilities. Using Developing and maintaining a Strategic Asset Management Plan (SAMP).

  1. SAM Tools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format. SAMtools is hosted by GitHub. The project page is here. The source code releases are available from the download page.
  2. Want to know more on Samputensili machine tools? Please find here our wide range of machines tools as grinding and shaving machines including chamfering one.

This publication provides practical advice for the development of a Strategic Asset Management Plan (SAMP). It explains the process of strategic planning and how this applies to:

Samp Tools
  • assets and their optimal, whole life cycle management
  • improvements in the asset management capabilities of an organisation

The guidance is intended to complement theISO 55000 standards, providing insight into the role and suitable content for a Strategic Asset Management Plan (SAMP), and how it should be developed.

The SAMP is a planning tool to clarify intentions, priorities and practices to be adopted. It takes a long-term view and considers the combination of organisation needs, stakeholder expectations and the realities of existing assets and asset management capabilities.

Using Developing and maintaining a Strategic Asset Management Plan (SAMP)

It is recommended that readers be familiar with:

  • definitions and requirements for a SAMP set out in ISO 55000:2014
  • ISO 55002:2018 Annex A - The Strategic Asset Management Plan (SAMP)
  • BSI PAS 55:2008 specification for an Asset Management Strategy

Background

The trend towards more specialist roles and the sophisticated management of increasingly large and complex systems means it is harder for individuals within large organisations to see the whole picture. Explicit guidance outlining strategies, objectives and timescales is necessary, and this is the role of a SAMP.

ISO 55000 provides the following definition of a SAMP:

'Strategic Asset Management Plan: documented information that specifies how organisational objectives are to be converted into asset management objectives, the approach for developing asset management plans, and the role of the asset management system in supporting achievements of the asset management objectives.'
ISO 55000 definition 3.3.2

The definition alone does not adequately convey the intended documentation of strategic activities and outcomes. Developing and maintaining a Strategic Asset Management Plan (SAMP) was therefore produced to provide a planning tool for putting together a SAMP.

Buy Developing and maintaining a Strategic Asset Management Plan (SAMP)

The SAMP guidance publication is available to purchase as a PDF or printed publication, with a 50% discount for IAM members.

Tools


With thanks to our sponsors of this organisation.

sampjs is a small JavaScript library for using the SAMP Web Profile from within web pages.The project is hosted on github athttp://github.com/astrojs/sampjs/.

What is SAMP?

SAMP is the Simple Application Messaging Protocol,a platform- and language-neutral protocolused for communicating between applications.It was developed within the IVOAfor use with astronomy tools, but the protocol is not specificto astronomy.See the SAMP Standardand additional material.

What is the Web Profile?

SAMP is defined in layers, and the Profile layerdefines how tools perform the actual communications.Two profiles are currently defined: the Standard Profile,which is suitable for desktop clients, and the Web Profile,which is suitable for web clients running within a browsersandbox.The Web Profile is defined as part of version 1.3 of SAMP;seeSection 5 of the standard for the details.

For a view of what the protocol looks like in action at the byte levelyou can see an HTTP log of a short examplesession(generated using '-web:log http' option of the JSAMP hub).

A talk on SAMP and the Web Profile was presented at ADASS XXI (Paris, 2011).This will be published asM.B.Taylor, T.Boch, J.Fay, M.Fitzpatrick and L.Paioro,'SAMP: Application Messaging for Desktop and Web Applications',ASP Conf. Ser. 461, ADASS XXI, ed. Pascal Ballester, 279(2012ASPC..461..279T.).You can see thesubmitted paper orpresentation.

What is it good for?

Putting these things together allows you to write a web pagewhich can communicate with other desktop applications running onthe same machine as the browser displaying it(or even with other unrelated web pages in the same browser).A simple example is a web page with a button you can click tosend an image or table (perhaps generated dynamically by the server)to a desktop image or table viewer application.But more complicated scenarios, including two-way communication,are possible too.

The technical details of how that can happen and theassociated security implications arediscussed in exhaustive detail in the SAMP standard reference above.

How can I run SAMP?

All SAMP communications (Standard and Web) are via a Hub,a daemon process that brokers messages between clients.So for SAMP tools to be able to communicate, a Hub must be running.For web clients, this must be a Web Profile-capable hub,which currently meanseither JSAMP version >=1.3-1(Java)orSAMPy version >=1.2.1(Python).There are (at least?) three ways to make this happen:

  • Some SAMP-aware applications, such as TOPCAT and Aladin, start a hub automatically when they start up, if one is not already present.
  • You can download and run a JSAMP or SAMPy hub
  • You can use Java WebStart to start a JSAMP hub by just clicking here: start hub.

How can I write a SAMP-capable web page?

Use the samp.jslibrary and write your own code around it.You can write a minimal SAMP application (often, all that is required)with very little work.Usually you will start by importing samp.js (and flXHR.js?see the section on flXHR):

You can either supply a full path to the js libs or copy them intothe same directory as the web page.

If you want a more compact version of the samp javascript,you can use a minifying tool. One possibility is Google'sclosure-compiler.Here is an example invocation using curl:

Examples

Here are some working examples:

  • Pinger: really really minimal SAMP web page
  • Sender: very simple script to send a table
  • Navigator: steers (e.g.) Aladin all-sky view using sliders
  • Link Broadcaster: sends links with only HTML broadcaster.js helper script
  • Pingee: receives a ping message and then unregisters
  • Client Monitor: monitors registered clients with their metadata and subscriptions
  • Table Viewer: receives a table from another client and does 2-way communications

Don't forget you need to be running a hub for these to work.Running other SAMP clients will make it more interesting too -here is a WebStart link for, e.g.,TOPCAT.

Who's using sampjs?

Some known science uses of this library are:

  • VizieR search (Thomas Boch)
  • Xamin from HEASARC
  • WSA Coverage maps from ROE

Note some of these may be experimental.Feel free to add your own site if you are using sampjs.

What is flXHR??

flXHRis a clever external library for faking a JavaScriptXmlHttpRequest Level 2 object by use of Flash.

The SAMP Web Profile has to play some tricks to communicate outsideof the browser sandbox. By preference it uses a W3C standard calledCross-Origin Resource Sharing (CORS)to do this.However, some browsers do not support CORS, and in these cases it is(usually) possible to fall back to using a Flash-based workaround.Since Flash is installed very widely in browsers, that makes sampjswork almost everywhere (see the compatibility section).

Sampjs does not implement the Flash magic on its own, that's doneby an external library called flXHR. This containsboth JavaScript and Flash components. To get it workingyou need to put all the relevant flXHR files in the same directoryas the web client page (or something like that) and import theflXHR script:

flXHR is hosted athttp://flxhr.flensed.com/,which now redirects to a github site; the project is no longeractively maintained, since the recommendation is to use javascript instead.You can grab the library files from there; for convenience you canfind what you need on this site under in the lib/flxhrdirectory.

You don't need to use flXHR with samp.js, but if you don't,your SAMP client will not run in browsers which lack support for CORS(see the compatibility section).Does that matter? IE6 and Firefox 3.0 are probably pretty unusual bynow, so maybe it's not worth the effort. You decide.

Can I contribute?

Please do! The sampjs project was originally contributed by Mark Taylor,but I'm not a very competent or enthusiasticJavaScript programmer (or git user), so please improve it(javascript, documentation, examples, whatever).The project is hosted on github athttp://github.com/astrojs/sampjs/If you want write privileges, let me or somebody else know.If somebody else wants to take over looking after the project,that suits me too.

Note that these documentation pages are part of the github project,on the gh-pages branch(that's the way that github hosts web pages).

There is no mailing list specifically for sampjs, but the IVOAapps-samp@ivoa.netlist may be suitable, or you could try asking Mark(m.b.taylor@bristol.ac.uk).

Browser Compatibility

Browsers so far tested:

  • Firefox 3.0: OK (requires Flash)
  • Firefox 3.6: OK (pure JavaScript)
  • Internet Explorer 6: OK (requires Flash)
  • Internet Explorer 8: OK (pure JScript)
  • Chrome 7.0: OK (pure JavaScript)
  • Safari 3.2: OK (requires Flash - no cross-domain controls?)
  • Safari 5.0: OK (pure JavaScript)
  • Opera 11: not working
  • Opera 12: Opera 12.15 reported working

Any other reports welcome.

History

Samp Machine Tools

This library was originally written byMark Tayloras a proof of concept when defining the SAMP Web Profile;it was not intended for public use.As is the way of these things, some people used and adapted it anyway.

Samp Tools Hack

It was moved onto the www.astrojs.orgsite in October 2012.

The original work was supported by Microsoft Research, GAVO and STFC.