text:
"""
This module implements the XML POM -- the Python Object Model for XML. It is
something like DOM, but more Python-ic, and easier to use. These base classes
are used to build POM source files which are self-validating python-based XML
constructor objects. The major parts of the dtd2py command line tool are also
here.

"""

import sys, os, re, string

try:
	True
except NameError:
	True = 1
	False = 0

class ValidationError(ValueError):
	"""ValidationError
	This exception is raised when an attempt is made to construct an XML POM
	tree that would be invalid.

	"""
	pass

#########################################################
# XML generating classes
# These classes are used to generate XML documents, similar to DOM. But, this
# interface is simpler and more Python-ic.
#########################################################

# plain text data to be added to a GenericNode.
# this class needs to emulate much of the ElementNode interface.
class IndentedText(str):
	def __init__(self, data=""):
		self.data = unescape(unicode(data))
		self._level = 0
		self._parent = None
	def set_text(self, data):
		self.data = unescape(unicode(data))
	def get_text(self):
		return self.data
	def insert(self, data):
		self.data = unescape(unicode(data)) + self.data
	def add_text(self,data):
		self.data = self.data + unescape(unicode(data))
	append = add_text
	def __str__(self):
		return "%s%s" % ("\t"*self._level, escape(self.data))
	def __unicode__(self):
		return u"%s%s" % ("\t"*self._level, escape(self.data))
	def __repr__(self):
		return "%s(%r)" % (self.__class__.__name__, escape(self.data))
	def set_level(self, level):
		self._level = level
#	def __len__(self):
#		return len(self.data)
#	def __getslice__(self, start, end):
#		return self.data[start:end]
#	def __setslice__(self, start, end, v):
#		self.data[start:end] = v
#	def __delslice__(self, start, end):
#		del self.data[start:end]
	def get_escape_length(self):
		return len(escape(self.data))
	def destroy(self):
		self.data = None
		self._parent = None
	def fullpath(self):
		if self._parent:
			return "%s = %r" % (self._parent.fullpath(), self.data)
		else:
			return `self.data`
	def matchpath(self, pe):
		return 0
	def has_children(self):
		return 0
	def has_attributes(self):
		return 0
	def full_repr(self):
		return repr(self)

class Text(IndentedText):
	def __str__(self):
		return escape(self.data)
	def __unicode__(self):
		return escape(self.data)

class Comment(IndentedText):
	def __init__(self, data=""):
		self.data = unicode(data)
		self._level = 0
		self._parent = None
	def __str__(self):
		return "%s<!-- %s -->" % ("\t"*self._level, self._fix(self.data))
	def __unicode__(self):
		return u"%s<!-- %s -->" % ("\t"*self._level, self._fix(self.data))
	def set_text(self, data):
		self.data = unicode(data)
	def get_text(self):
		return self.data
	def insert(self, data):
		self.data = unicode(data) + self.data
	def add_text(self,data):
		self.data = self.data + unicode(data)
	append = add_text

	def _fix(self, data):
		if data.find(u"--") != -1:
			data = data.replace(u"--", u"- ")
		return data

# abstract base class for generic XML node generation.
# Create an XML node by subclassing this and defining allowed attribute names
# in ATTLIST. CONTENTMODEL holds the content specification from the DTD.
# Then name of the subclass should exactly match the name of the XML element.

class ElementNode:
	ATTLIST = None
	CONTENTMODEL = None
	_acquired = { "_indented":1, "_namespace":None } # default acquired values
	def __init__(self, **attribs):
		self._attribs = {}
		for key, value in attribs.items():
			if self._validate_attribute(key):
				self._attribs[key] = value
			else:
				raise ValidationError, "invalid attribute name for this element"
		self._children = []
		self._parent = None
		self._level = 0
		self._inline = 0
		#self._indented = 1 # may be acquired.
		#self._namespace = None # may be acquired.
		# you can force element names to a particular case, regardless of
		# subclass name. This is sometimes needed overcome clashes with Python
		# keyword names.
		self._name = self.__class__.__name__

 	# check if attribute name is defined for this element
	def _validate_attribute(self, name):
		if self.ATTLIST:
			for xmlattr in self.ATTLIST:
				if name == xmlattr.name:
					return True
		return False

	def _verify_attributes(self):
		if not self.ATTLIST:
			return None
		for attr in self.ATTLIST:
			aval = self._attribs.get(attr.name, None)
			if aval is None:
				if attr.a_decl == REQUIRED:
					raise ValidationError, "required attribute not present: " + attr.name
			else:
				attr.verify(aval)

	def get_parent(self):
		return self._parent

	def reparent(self, newparent):
		if self._parent:
			i = self._parent.index(self)
			del self._parent[i]
		newparent.append(self)

	def detach(self):
		self._parent = None
		self._level = 0

	def destroy(self):
		"""destroy() Remove this node and all child node references."""
		# remove parent _children list reference
		if self._parent:
			i = self._parent.index(self)
			del self._parent[i]
		self._parent = None
		for n in self._children:
			n.detach()
		self._children = None

	def set_level(self, level):
		self._level = int(level)

	def set_inline(self, tf=1):
		self._inline = not not tf # force to boolean

	def set_indented(self, tf=1):
		self._indented = not not tf # force to boolean

	def inherit_indent(self):
		"clears indentation flag so that it may be acquired from parent."
		try:
			del self.__dict__["_indented"]
		except KeyError:
			pass

	def set_namespace(self, ns):
		self._namespace = ns

	# some ugly stuff for case-insensitive XHTML
	def use_lowercase(self):
		self._name = self.__class__.__name__.lower()

	def use_uppercase(self):
		self._name = self.__class__.__name__.upper()

	def use_truecase(self):
		self._name = self.__class__.__name__

	def index(self, obj):
		objid = id(obj)
		i = 0
		for o in self._children:
			if id(o) == objid:
				return i
			i += 1
		raise ValueError, "ElementNode: Object not contained here."

	def append(self, obj):
		obj.set_level(self._level+1)
		obj._parent = self
		self._children.append(obj)

	def extend(self, objlist):
		for obj in objlist:
			self.append(obj)

	def insert(self, index, obj):
		obj.set_level(self._level+1)
		obj._parent = self
		self._children.insert(index, obj)

	def add(self, klass, **kwargs):
		obj = klass( *(), **kwargs)
		self.append(obj)
		return obj

	def get_children(self):
		return self._children[:]

	def __iter__(self):
		return iter(self._children)

	def add_text(self, text):
		"Adding text to elements is so common, there is a special method for it."
		if self.has_children() and isinstance(self._children[-1], IndentedText):
			self._children[-1].add_text(text)
		else:
			t = Text(text)
			t.set_level(0)
			self.append(t)

	def replace_text(self, text):
		if self._children:
			del self._children[-1]
		self.append(Text(text))

	def __len__(self):
		return len(self._children)

	# The truth is, we exist.
	def __nonzero__(self):
		return 1

	def hasAttributes(self):
		return len(self._attribs)
	has_attributes = hasAttributes

	def has_attribute(self, name):
		if name in self._attribs.keys():
			return 1
		else:
			return 0

	def attributes(self):
		return map(lambda o: o.name, self.ATTLIST)

	def has_children(self):
		return len(self._children)

	def set_attribute(self, name, val):
		"""set_attribute(name, value)
		This exists to set attributes that have names with illegal Python
		identifier characters.

		"""
		if self._validate_attribute(name):
			self._attribs[name] = val

	def get_attribute(self, name):
		"""get_attribute(name)
		This exists to set attributes that have names with illegal Python
		identifier characters.

		"""
		return self._attribs[name]

	def __setattr__(self, name, value):
		if self._validate_attribute(name):
			self._attribs[name] = value
		else:
			self.__dict__[name] = value

	# this plus the _parent and _acquired attributes implement "acquisiton",
	# or run-time inheritance.
	def __getattr__(self, name):
		try:
			return self._attribs[name]
		except KeyError:
			pass
		try:
			return self._acquire(name)
		except:
			pass
		raise AttributeError, "AttributeError: %s has no attribute '%s'" % (self._name, name)

	def _acquire(self, name):
		if self._parent:
			try:
				return self._parent.__dict__[name]
			except KeyError:
				pass
			return self._parent._acquire(name)
		else:
			try:
				return self._acquired[name]
			except KeyError:
				pass
		raise AttributeError

	def __delattr__(self, name):
		del self._attribs[name]

	def _find_index(self, index):
		if type(index) is str:
			for i in xrange(len(self._children)):
				if self._children[i].matchpath(index):
					return i
			raise IndexError, "no elements match"
		else:
			return index

	def __getitem__(self, index):
		if type(index) is str:
			el =  self.get_element(index)
			if el is None:
				raise IndexError, "no item matches"
			else:
				return el
		else:
			return self._children[index]

	def get(self, index, default = None):
		if isinstance(index, str):
			el = self.get_element(index)
			if el is None:
				return default
			return el
		return self._children[index]

	def has_key(self, index):
		if isinstance(index, str):
			return self.get_element(index) is not None
		raise TypeError("Can only use has_key on a string")

	def __setitem__(self, index, obj):
		index = self._find_index(index)
		obj.set_level(self._level+1)
		obj._parent = self
		self._children[index] = obj

	def __delitem__(self, index):
		index = self._find_index(index)
#		self._children[index].destroy()
		del self._children[index]

	def __repr__(self):
		attrs = map(lambda t: '%s=%r' % t, self._attribs.items())
		return "%s(%s)" % (self.__class__, ", ".join(attrs))

	def __str__(self):
		self._verify_attributes()
		if not self.CONTENTMODEL or self.CONTENTMODEL.is_empty():
			return self._empty_str()
		else:
			return self._non_empty_str()

	def __unicode__(self):
		self._verify_attributes()
		if not self.CONTENTMODEL or self.CONTENTMODEL.is_empty():
			return self._empty_unistr()
		else:
			return self._non_empty_unistr()

	def full_repr(self):
		s = ["n%d = %r" % ( self._level, self)]
		s.append("n%d.set_level(%d)" % (self._level, self._level+1))
		for c in self._children:
			if not c.has_children():
				s.append("n%d.append(%r)" % (self._level, c))
			else:
				s.append(c.full_repr())
				s.append("n%d.append(n%d)" % (self._level, self._level+1))
				s.append("del n%d" % (self._level+1))
		return "\n".join(s)

	def _tabs(self):
		return "\t"*(self._level*self._indented)

	def _get_ns(self):
		return IF(self._namespace, "%s:" % self._namespace, "")

	def _non_empty_str(self):
		s = ["%s<%s%s%s>" % (self._tabs(), self._get_ns(), self._name, self._attr_str())]
		map(s.append, map(str, self._children))
		s.append("%s</%s%s>" % (IF(self._inline, "", self._tabs()), self._get_ns(), self._name))
		if self._inline:
			return "".join(s)
		else:
			return "\n".join(s)

	def _empty_str(self):
		return "%s<%s%s%s />" % (self._tabs(), self._get_ns(), self._name, self._attr_str())

	def _attr_str(self):
		attrs = map(lambda t: ' %s="%s"' % t, map(lambda t: (t[0], escape(str(t[1]))), filter(lambda t: t[1] is not None, self._attribs.items())))
		return "".join(attrs)

	def _non_empty_unistr(self):
		s = [u"%s<%s%s%s>" % (self._tabs(), self._get_ns(), self._name, self._attr_unistr())]
		map(s.append, map(unicode, self._children))
		s.append(u"%s</%s%s>" % (IF(self._inline, "", self._tabs()), self._get_ns(), self._name))
		if self._inline:
			return u"".join(s)
		else:
			return u"\n".join(s)

	def _empty_unistr(self):
		return u"%s<%s%s%s />" % (self._tabs(), self._get_ns(), self._name, self._attr_unistr())

	def _attr_unistr(self):
		attrs = map(lambda t: u' %s="%s"' % t, map(lambda t: (t[0], escape(unicode(t[1]))), filter(lambda t: t[1] is not None, self._attribs.items())))
		return u"".join(attrs)

	# methods for node path manipulation
	def pathname(self):
		"""pathname() returns the ElementNode as a string in xpath format."""
		if self._attribs:
			s = map(lambda i: "@%s='%s'" % (i[0],i[1]), self._attribs.items())
			return "%s[%s]" % (self.__class__.__name__, " and ".join(s))
		else:
			return self.__class__.__name__

	def fullpath(self):
		"""fullpath() returns the ElementNode's full path as a string in xpath format."""
		if self._parent:
			base = self._parent.fullpath()
		else:
			base = ""
		return "%s/%s" % (base, self.pathname() )

	def matchpath(self, pathelement):
		if "[" not in pathelement:
			return pathelement == self._name
		else:
			xpath_re = re.compile(r'(\w*)(\[.*])')
			mo = xpath_re.match(pathelement)
			if mo:
				name, match = mo.groups()
				match = match.replace("@", "self.")
				match = match.replace("=", "==")
				return (name == self._name and eval(match[1:-1]))
			else:
				raise ValueError, "ivalid path element"

	def find_elements(self, pathelement):
		rv = []
		for child in self._children:
			if child.matchpath(pathelement):
				rv.append(child)
		return rv

	def get_element(self, pathelement):
		for child in self._children:
			if child.matchpath(pathelement):
				return child
		return None

	def _find_node(self, eltype, collect=None):
		if collect is None:
			collection = []
		else:
			collection = collect # should be a list
		for el in self._children:
			if el.has_children():
				el._find_node(eltype, collection)
			if isinstance(el, eltype):
				collection.append(el)
		return collection

	def find(self, elclass, **attribs):
		for obj in self._children:
			if isinstance(obj, elclass):
				if self._attribs_match(obj, attribs):
					return obj
		return None

	def getall(self, elclass, depth=0, collect=None):
		if collect is None:
			rv = []
		else:
			rv = collect # should be a list
		for el in self._children:
			if isinstance(el, elclass):
				rv.append(el)
			if depth > 0:
				el.getall(elclass, depth-1, rv)
		return rv

	def _attribs_match(self, obj, attribdict):
		for tname, tval in attribdict.items():
			try:
				if getattr(obj, tname) != tval:
					return 0
			except AttributeError:
				return 0
		return 1

	def tostring(self):
		return "".join([x.get_text() for x in self.text()])

	# XPath-like functions
	def comment(self):
		return self._find_node(Comment)

	def text(self):
		return self._find_node(IndentedText)

	def processing_instruction(self):
		return self._find_node(ProcessingInstruction)

	def node(self):
		return self._find_node(ElementNode)

class Fragments(ElementNode):
	"""Fragments is a special holder class to hold 'loose' markup fragments.
	That is, bits of markup that don't have a common container.  It is invisible."""

	def __str__(self):
		s = []
		map(s.append, map(str, self._children))
		if self._inline:
			return "".join(s)
		else:
			return "\n".join(s)

	def __unicode__(self):
		s = []
		map(s.append, map(str, self._children))
		if self._inline:
			return u"".join(s)
		else:
			return u"\n".join(s)

# base class for whole POM documents, including Header.
class POMDocument:
	HEADER = '<?xml version="1.0" encoding="iso-8859-1"?>\n'
	def __init__(self, dtd=None):
		self.dtd = dtd
		self.root = None
		self.parser = None
		self.dirty = 0

	def __str__(self):
		return self.HEADER + str(self.root) + "\n"

	def __unicode__(self):
		return self.HEADER + unicode(self.root) + "\n"

	def set_dirty(self, val=1):
		self.dirty = val

	def get_parser(self, handlerclass=None, module=None):
		mod = module or self.dtd
		self.parser = get_parser(handlerclass, self._callback, mod)
		return self.parser

	def del_parser(self):
		self.parser = None

	def _callback(self, doc):
		self.root = doc
		self.dirty = 0

	def parse(self, url, handlerclass=None, module=None):
		mod = module or self.dtd
		if not self.parser:
			self.get_parser(handlerclass, mod)
		self.parser.parse(url)
		self.del_parser()

	def parseFile(self, fo, handlerclass=None, module=None):
		mod = module or self.dtd
		if not self.parser:
			self.get_parser(handlerclass, mod)
		self.parser.parseFile(fo)
		self.del_parser()

	def write_xmlfile(self, filename=None):
		filename = filename or self.filename
		if filename:
			fo = open(os.path.expanduser(filename), "w")
			try:
				fo.write(str(self))
			finally:
				fo.close()
		self.dirty = 0
	writefile = write_xmlfile

	def writefileobject(self, fo):
		fo.write(str(self))

	def get_document(self, filename, dtdmodule):
		self.get_parser(module=dtdmodule)
		self.parse(filename)
		self.filename = filename

	def getnode(self, path):
		"""getnode(path) Returns an ElementNode addressed by the path."""
		elements = path.split("/")
		while not elements[0]: # eat empty first element
			elements.pop(0)
		node = self.root
		pathelement = elements.pop(0)
		if node.matchpath(pathelement):
			while elements:
				pathelement = elements.pop(0)
				node = node.get_element(pathelement)
				if node is None:
					raise IndexError, "path element not found"
			return node
		else:
			raise IndexError, "first path element not found"

	def setnode(self, path, text):
		node = self.getnode(path)
		node.replace_text(text)

	def delnode(self, path):
		els = path.split("/")
		path, endnode = "/".join(els[:-1]), els[-1]
		node = self.getnode(path)
		del node[endnode]

	def addnode(self, basepath, newnode):
		node = self.getnode(basepath)
		node.append(newnode)

	def add_text(self, basepath, text):
		node = self.getnode(basepath)
		node.add_text(text)

	def _write_text(self, fo, node):
		for n in node:
			if isinstance(n, IndentedText):
				fo.write(n.fullpath())
				fo.write("\n")
			else:
				self._write_text(fo, n)

	def write_repr(self, fo):
		realfile = 0
		if type(fo) is str:
			fo = open(fo, "w")
			realfile = 1
		fo.write(self.root.full_repr())
		if realfile:
			fo.close()

	def read_repr(self, filename, localdict=None):
		localdict = localdict or {}
		execfile(filename, globals(), localdict)
		self.root = localdict["n0"]

	def write_paths(self, fileobject):
		realfile = 0
		if type(fileobject) is str:
			fileobject = open(fileobject, "w")
			realfile = 1
		self._write_text(fileobject, self.root)
		if realfile:
			fileobject.close()

# parses XML files into a POM object model. A callback function is then called
# with this object model as a paramter.
class ObjectParserHandler:
	def __init__(self, callback, module=None):
		self.stack = []
		self.msg = None
		self.callback = callback # gets called when message fully parsed. The
		                         # argument is the toplevel message object.
		self.modules = []
		if module is not None:
			if type(module) is list:
				self.modules.extend(module)
			else:
				self.modules.append(module)

	def add_module(self, module):
		self.modules.append(module)

	def _get_class(self, name):
		klass = None
		for mod in self.modules:
			try:
				klass = getattr(mod, name)
			except AttributeError:
				continue
			if klass:
				return klass
		raise AttributeError

	def startDocument(self):
		self.stack = []

	def endDocument(self):
		if self.stack: # stack should be empty now
			raise ValidationError, "unbalanced document!"
		self.callback(self.msg)
		self.msg = None

	def startElement(self, name, atts):
		"Handle an event for the beginning of an element."
		try:
			klass = self._get_class(name)
		except AttributeError:
			raise ValidationError, "Undefined element tag: "+name
		attr = {} # atts is a instance with unicode keys.. must convert to str..
		def fixatts(t):
			attr[str(t[0])] = unescape(str(t[1]))
		map(fixatts, atts.items())
		obj = klass( *(), **attr)
		obj.set_level(len(self.stack))
		self.stack.append(obj)

	def endElement(self, name):
		"Handle an event for the end of an element."
		obj = self.stack.pop()
		if self.stack:
			self.stack[-1].append(obj)
		else:
			self.msg = obj

	def characters(self, text):
		if self.stack:
			text = text.strip()
			if text:
				self.stack[-1].append(Text(text))

	def ignorableWhitespace(self, ch, start, length):
		pass
	def processingInstruction(self, target, data):
		"Handle a processing instruction event."
		print "unhandled processing instruction:", target, data
	def setDocumentLocator(self, locator):
		"Receive an object for locating the origin of SAX document events."
		pass

def _default_parser_callback(obj):
	print obj

def get_parser(handlerclass=None, callback=None, module=None):
	import xml.sax
	hc = handlerclass or ObjectParserHandler
	cb = callback or _default_parser_callback
	mod = module or sys.modules[__name__]
	handler = hc(cb, mod)
	parser  = xml.sax.make_parser()
	parser.setContentHandler(handler)
	return parser

#from xml.parsers.xmlproc.xmlapp import DTDConsumer
def get_dtd_compiler(fo, mixinmodule=None, toupper=0):
	global sourcegen
	import sourcegen
	from xml.parsers.xmlproc.dtdparser import DTDParser
	generator = sourcegen.get_sourcefile(fo)
	dh = DTDConsumerForSourceGeneration(generator, mixinmodule, toupper)
	parser = DTDParser()
	parser.set_dtd_consumer(dh)
	return parser

# xml helper classes, used in both generation and operation
# The are instantiated during compilation to generate themselves.
# Then, when imported by the user from the dtds package, are used normally.
class ContentModel:
	"""Represents and validates a content model.

	"""
	def __init__(self, rawmodel=None):
		self.model = rawmodel # XXX

	def __repr__(self):
		return "%s(%r)" % (self.__class__, self.model)

	def is_empty(self):
		return not self.model

class _ContentModelGenerator:
	"""_ContentModelGenerator(rawmodel)
	The DTD parser generated and final content model are so different that a
	different content model generator is used for this object.

	"""
	def __init__(self, rawmodel=None):
		tm_type = type(rawmodel)
		if tm_type is str:
			if rawmodel == "EMPTY":
				self.model = EMPTY
			elif rawmodel == "#PCDATA":
				self.model = PCDATA
			elif rawmodel == "ANY":
				self.model = ANY
			else:
				raise ValidationError, "ContentModelGenerator: unknown special type"
		elif tm_type is tuple:
			self.model = rawmodel # XXX
		elif tm_type is type(None):
			self.model = None
		else:
			raise RuntimeError, "unknown content model format"

	def __repr__(self):
		return "%s(%r)" % (ContentModel, self.model)

class Enumeration(list):
	pass
# XXX

class AttributeList(list):
	def __repr__(self):
		return "%s(%r)" % (self.__class__, self.data)
	def __str__(self):
		return " ".join(map(str, self.data))
	def __unicode__(self):
		return u" ".join(map(str, self.data))

class _AttributeType(str):
	def __repr__(self):
		return "%s('%s')" % (self.__class__.__name__, self)

class IDREFS(AttributeList):
	def add_ref(self, value):
		self.data.append(IDREF(value))

class ENTITIES(AttributeList):
	pass
class NMTOKENS(AttributeList):
	pass

class CDATA(_AttributeType):
	pass
class ID(_AttributeType):
	pass
class IDREF(_AttributeType):
	pass
class NMTOKEN(_AttributeType):
	pass
class ENTITY(_AttributeType):
	pass

PCDATA = Text
ANY = True
EMPTY = None

# enumerations
AT_CDATA = 1
AT_ID = 2
AT_IDREF = 3
AT_IDREFS = 4
AT_ENTITY = 5
AT_ENTITIES = 6
AT_NMTOKEN = 7
AT_NMTOKENS = 8

REQUIRED = 11
IMPLIED = 12
DEFAULT = 13
FIXED = 14

_ATTRTYPEMAP = {
	"CDATA": AT_CDATA,
	"ID": AT_ID,
	"IDREF": AT_IDREF,
	"IDREFS": AT_IDREFS,
	"ENTITY": AT_ENTITY,
	"ENTITIES": AT_ENTITIES,
	"NMTOKEN": AT_NMTOKEN,
	"NMTOKENS": AT_NMTOKENS
}

_ATTRCLASSMAP = {
	AT_CDATA: CDATA,
	AT_ID: ID,
	AT_IDREF: IDREF,
	AT_IDREFS: IDREFS,
	AT_ENTITY: ENTITY,
	AT_ENTITIES: ENTITIES,
	AT_NMTOKEN: NMTOKEN,
	AT_NMTOKENS: NMTOKENS
}

_DEFAULTMAP = {
	u'#REQUIRED': REQUIRED,
	u'#IMPLIED': IMPLIED,
	u'#DEFAULT': DEFAULT,
	u'#FIXED': FIXED,
}

class XMLAttribute:
	def __init__(self, name, a_type, a_decl, default=None):
		self.name = str(name)
		a_type_type = type(a_type)
		#a_decl_type = type(a_decl)
		if a_type_type is unicode: # from the parser
			self.a_type = _ATTRTYPEMAP.get(str(a_type), a_type)
#		elif a_type_type is tuple or a_type_type is list:
#			self.a_type = a_type # XXX
		elif a_type_type is int: # from the generated file
			self.a_type = _ATTRCLASSMAP.get(a_type, a_type)
		elif a_type_type is list:
			self.a_type = Enumeration(map(str, a_type))
		else:
			self.a_type = a_type
		# declaration
		# convert string to int value when generating, just use the int when using.
		self.a_decl = _DEFAULTMAP.get(a_decl, a_decl)
		self.default = default
		# save the type to speed verify
		self.a_type_type = type(self.a_type)

	def __repr__(self):
		return "%s(%r, %r, %r, %r)" % (self.__class__, self.name, self.a_type, self.a_decl, self.default)

	def verify(self, value):
		if type(self.a_type) is list:
			if value not in self.a_type:
				raise ValidationError, "Enumeration has wrong value. %s is not one of %r." % (value, self.a_type)

# this DTD parser consumer generates the Python source code from the DTD.
class DTDConsumerForSourceGeneration:
	def __init__(self, generator, mixins=None, toupper=0):
		self.generator = generator
		self.elements = {}
		self.parameter_entities = {}
		self.general_entities = {}
		self.toupper = toupper # should element names be converted to all caps?
		self.mixins = mixins # should be a module object

	def dtd_start(self):
		print "Starting to parse DTD...",
		self.generator.add_comment("This file generated by a program. do not edit.")
		self.generator.add_import(sys.modules[__name__])
		if self.mixins:
			self.generator.add_import(self.mixins)

	def dtd_end(self):
		print "done parsing. Writing file."
		self.generator.write()

	def new_element_type(self, elem_name, elem_cont):
		"Receives the declaration of an element type."
		try:
			element = self.elements[elem_name]
		except KeyError:
			parents = [ElementNode]
			mixinname = "%sMixin" % ( elem_name )
			if self.mixins and hasattr(self.mixins, mixinname):
				parents.insert(0, getattr(self.mixins, mixinname))
			ch = self.generator.add_class(IF(self.toupper, elem_name.upper(), elem_name), tuple(parents))
			ch.add_attribute("CONTENTMODEL", _ContentModelGenerator(elem_cont))
			self.elements[elem_name] = ch

	def new_attribute(self, elem, attr, a_type, a_decl, a_def):
		"Receives the declaration of a new attribute."
		try:
			element = self.elements[elem]
		except KeyError:
			raise ValidationError, "attribute defined before element!"
		try:
			attlist = element.get_attribute("ATTLIST")
		except KeyError:
			element.add_attribute("ATTLIST", AttributeList())
			attlist = element.get_attribute("ATTLIST")
		attlist.append(XMLAttribute(attr, a_type, a_decl, a_def))

	def handle_comment(self, contents):
		"Receives the contents of a comment."
		self.generator.add_comment(contents)

	def new_parameter_entity(self,name,val):
		"Receives internal parameter entity declarations."
		# these are handled internally by the DTD parser. but.. save it anyway.
		self.parameter_entities[name] = val

	def new_external_pe(self, name, pubid, sysid):
		"Receives external parameter entity declarations."
		# these are handled internally by the DTD parser.

	def new_general_entity(self,name,val):
		"Receives internal general entity declarations."
		self.general_entities[name] = val
		# XXX do we need to handle this?
		#print "XXX general entity:"
		#print name, val

	def new_external_entity(self, ent_name, pub_id, sys_id, ndata):
		"""Receives external general entity declarations. 'ndata' is the
		empty string if the entity is parsed."""
		# XXX do we need to handle this?
		print "XXX external entity:"
		print ent_name, pub_id, sys_id, ndata

	def new_notation(self,name,pubid,sysid):
		"Receives notation declarations."
		# XXX do we need to handle this?
		print "XXX unhandled notation:",
		print name, pubid, sysid

	def handle_pi(self, target, data):
		"Receives the target and data of processing instructions."
		# XXX do we need to handle this?
		print "XXX unhandled PI:",
		print target, data

#########################################################
# Utility functions
#########################################################

def IF(test, tv, fv=None):
	if test:
		return tv
	else:
		return fv

def get_mod_file(sourcefilename):
	"""get_mod_file(sourcefilename)
	Converts a file name into a file name inside the dtds package. This file
	name is the destination for generated python files.
	"""
	import DTDs as dtds
	from string import maketrans
	modname = os.path.splitext(os.path.split(sourcefilename)[1])[0]
	return os.path.join(dtds.__path__[0], modname.translate(maketrans("-.", "__"))+".py")

def _find_element(elname, modules):
	for mod in modules:
		try:
			return getattr(mod, elname)
		except AttributeError:
			continue
	return None

def _construct_node(name, modules):
	if "[" not in name:
		nc = _find_element(name, modules)
		if nc is None:
			raise ValidationError, "no such element name in modules"
		return nc() # node
	else:
		xpath_re = re.compile(r'(\w*)(\[.*])')
		mo = xpath_re.match(name)
		if mo:
			attdict = {}
			ename, attribs = mo.groups()
			nc = _find_element(ename, modules)
			if nc is None:
				raise ValidationError, "no such element name in modules"
			attribs = attribs[1:-1].split("and") # chop brackets and split on 'and'
			attribs = map(string.strip, attribs) # strip whitespace
			for att in attribs:                  # dict elememnts are name and vaue
				name, val = att.split("=")
				attdict[name[1:]] = val[1:-1]
		return nc( *(), **attdict)

def make_node(path, modules, value=None):
	"""make_Node(path, modules, [value])
	Makes a node or an XML fragment given a path, element module list, and an
	optional value.
	"""
	if type(modules) is not list:
		modules = [modules]
	pathelements = path.split("/")
	if not pathelements[0]: # delete possible empty root node
		del pathelements[0]
	rootnode = current = _construct_node(pathelements[0], modules)
	for element in pathelements[1:]:
		new = _construct_node(element, modules)
		current.append(new)
		current = new
	current.set_inline()
	if value is not None:
		current.add_text(value)
	return rootnode

def unescape(s):
	if '&' not in s:
		return s
	s = s.replace("<", "<")
	s = s.replace(">", ">")
#	s = s.replace("'", "'")
	s = s.replace(""", '"')
	s = s.replace("&", "&") # Must be last
	return s

def escape(s):
	s = s.replace("&", "&") # Must be first
	s = s.replace("<", "<")
	s = s.replace(">", ">")
#	s = s.replace("'", "'")
	s = s.replace('"', """)
	return s

# self test
if __name__ == "__main__":
	import os
	FILE = os.path.join(os.environ["PAF_HOME"], "etc", "dtd", "WCSinvalidation.dtd")
	outfilename = get_mod_file(FILE)
	argc = len(sys.argv)
#	outfile = open(outfilename, "w")

	# note: running this script as __main__ will not generate valid source code.
	# Use the dtd2py script for that.
	dtdp = get_dtd_compiler(sys.stdout)
	dtdp.parse_resource(FILE)
#	outfile.close()
	print Comment("some ------- comment-")
	print "+++++++"
	import dtds.pvsystem as pvs
	n = make_node("/pvsystem[@major='2' and @dot='0' and @minor='0']/pvac/httpOwsPort", pvs, 8080)
	print n
	print "+++++++"
	print make_node('/pvsystem[@major="2" and @minor="0" and @dot="0"]/globals/enableMonitor', pvs, "true")
	print "+++++++"
	print make_node('globals/enableMonitor', pvs, "true")
	print "+++++++"
	print make_node('enableMonitor', pvs, "true")
	print "+++++++"
	print make_node('enableMonitor', pvs)


text:
Q: Run R command without entering R and without a script I want to run an R command from command line (actually, from within a Makefile). The command is roxygen2::roxygenise(), if it is relevant. I don't want to create a new file and run that as a script - that will just clutter my directory.
In python, this is simple - you write python -c "import antigravity".
I use the Makefile to build, install and test a (Rcpp) package I'm working on.

A: This is generally done with so 'shebang scripts'.
Historically, littler was there first, about a decade or so ago. It is still widely used, and contains a number of helper scripts as for example roxy.r which does just what you desire: run roxygen2::roxygenize(). I use this all the time.
Next, Rscript started to ship with R. It is similar to littler but automatically available whereever R is which is a plus. On the minus side, it starts slower, and fails to load the methods package which is a source of a number of bug reports and SO questions.
Much more recently, R itself added the ability to run expressions following the -e ... switch.
So you have plenty of choices. You can also study plenty of src/Makevars files many of which use Rscript.

redpajama_set_name: RedPajamaStackExchange


text:
nswrl instagram
Noise. Guitarist and rock legend Jimi Hendrix also baffled the world when he died at 27. All orders are custom made and most ship worldwide within 24 hours. Eazy Mac. Merkules & Dax. But he's not the only musician we've lost at an early age. The rapper passed away on September 7, 2018, at the age of 26. Alone. Aquaman. 314. 494. Read about Hollywood Friends from Eazy Mac's My Little Pony 2 - EP and see the artwork, … When thats an ad alright prolly dead inside Friend of mine said he seen the same thing, mesmerized All that mental baggage just accessorized Shut your thighs All the fuckin drugs thats gon put her on that stretcher right? Inspired designs on t-shirts, posters, stickers, home decor, and more by independent artists and designers from around the world. Bass. The Queen of Tejano music was shot by former employee and president of her fan club, Yolanda Saldívar, on March 31, 1995. She was known to struggle with drug and alcohol-related problems, in addition to battling mental health issues for years. Genre Hip-hop & Rap Comment by b-weezy. High quality Eazy gifts and merchandise. Start the wiki, Do you know the lyrics for this track? Previous Post: G-Eazy – Sober lyrics. Add a video, Do you know any background info about this track? Smile Back. Police said the hip-hop artist, whose real name was Jahseh Onfroy, was taken to the hospital before being pronounced dead. (Photo: Pop-soul star Amy Winehouse shocked the world on July 23, 2011, when she was found dead in her. Jun 4, 2020 - Explore Brionesclarixa's board "G eazy iphone wallpaper" on Pinterest. Music Video. Billie Eilish Lyrics: Billie Eilish, I really get it, they really jealous (Yeah) / They fall, I'm hot dog, I silly relish / I smoke and fuck lots like Willie Nelson / My tongue's stuck on frogs, I'm Find the song lyrics for Golden Bsp - Top Tracks. Nov 15, 2015 - Explore Morgan Carr's board "G-Eazy ♡" on Pinterest. A new version of Last.fm is available, to keep everything running smoothly, please reload the site. / When I ate 68 tabs with a whiskey chase (Yeah) / Eazy Perrier Lyrics: Fucked the game now the condom is breaking / You're all my children in this building / You locked in the basement / You got a problem with me? I fucking love you sickos !!!! Creative Commons Attribution-ShareAlike License. Golden BSP . Golden Bsp. See more ideas about g eazy, g eazy style, g eazy iphone wallpaper. Let us know what you think of the Last.fm website. One of the most influential rappers of all time, Tupac was killed in a drive-by shooting in Las Vegas in September 1996. Cookie policy. Golden BSP - Norman Bates ft. Eazy Mac (Official Video) Featured In. Eazy Mac & Golden BSP. A visual spinning loader indicating that the page is performing an action. She was taken to the hospital but didn't survive the wounds. మన రాష్ట్రాలు, మన సినిమాలు, మన వార్తలు తెలుగులో, Celebrities who tragically lost family members. Aquaman. Lopes had been documenting a spiritual retreat with family and friends, and her final days were forever captured in the VH1 documentary 'The Last Days of Left Eye.'. 'The Voice' finalist Christina Grimmie was shot while signing autographs after an Orlando concert on June 10, 2016. Yelawolf. [Intro: G-Eazy] G, Bebe I got ya [Verse 1: Bebe Rexha] Friends come and go, friends come and go Go like the seasons I never know, I never know what to believe in And it's getting old, it's getting old But no hard feelings 'Cause friends come and go, friends come and go without a reason And I, I've been in L.A. for way too long Your email address will not be published. Jealousy. Funny Habits Lyrics: I got funny funny habits (funny funny habits) / I got funny funny habits (funny funny habits) / I got funny funny habits (funny funny habits) / Got me bouncing of the walls like a Alone. Inspired designs on t-shirts, posters, stickers, home decor, and more by independent artists and designers from around the world. Discover top playlists and videos from your favorite artists on Shazam! 2019. Connect your Spotify account to your Last.fm account and scrobble everything you listen to, from any Spotify app on any device or platform. Leave feedback. According to the Pima County Medical Examiner's office, Peep died accidentally from an overdose of fentanyl and generic Xanax. Eazy Mac & Golden BSP. The Nirvana front man was a troubled soul who ultimately took his own life on April 5, 1994, at the young age of 27. Hollywood sold you a dream, like how the fuck you fall for this? Def Leppard's Rick Allen Known as the one arm drummer was a regular member of the heavy metal band, but that changed when a car accident left him only with his right arm in 1984. The R&B star was only 22 when she died in a tragic plane crash on August 25, 2001. Next Post: G-Eazy – Eazy lyrics. Noise. The Swedish star had retired from playing live in 2016, and his family described him as a "fragile artistic soul searching for answers to existential questions" in a public statement after his death. Golden Bsp. See more ideas about G eazy, G eazy iphone wallpaper, G eazy style. The 27-year-old was found unresponsive in a bathtub. TLC's resident rapper Lisa "Left Eye" Lopes was involved in a fatal car crash in Honduras when she was 30. She was the only fatal victim out of eight people involved in the accident, dying on April 25, 2002. Oct 27, 2018 - Explore Regina Johnson's board "G eazy iphone wallpaper" on Pinterest. Merkules. I Want It Lyrics: Gimme, gimmie that girl / Come on, gimmie that / Gimmie that, gimmie that girl come on / If you got a big butt, then I want it / If you know you a slut, then I want it / If you It was determined that the rapper had died from mixed drug toxicity (fentanyl, cocaine and ethanol), and the manner of death was certified as an accident. High quality G Eazy gifts and merchandise. 21,519. Go directly to shout page, Do you know any background info about this artist? In 1995, rapper Eazy-E, who was one of the members of legendary group N.W.A (alongside Dr. Dre and Ice Cube), was taken to the hospital for what he thought was an asthma attack. / Obviously the odds in my favor / I' SoundCloud. G-Eazy – Eyes Closed Lyrics May 25, 2017 Lyrics Comments: 0 (Chorus – Johnny Yukon & G-Eazy) ... Hollywood hills type hoes If it's heat, then I'll pick a beat, then I'll write a rap, then I'll hit the bong ... Tattoos Of My Dead Friends Lyrics; 347aidan – Heist Lyrics; Fukkit – Tyranny Lyrics; Jealousy. 14,460. The underlying cause of death was described as "immersion associated with drug intoxication.". This Again. Golden Bsp. Merkules. Golden Bsp . Scrobbling is when Last.fm tracks the music you listen to and automatically adds it to your music profile. Discovered using Shazam, the music discovery app. 3,032. The 'Valerie' singer was 27 when she died of alcohol poisoning. This Again. See more ideas about g eazy, g eazy style, rappers. ... Hollywood Friends. Whitney Houston and Bobby Brown's daughter Bobbi Kristina was found unresponsive in a bathtub in her Alpharetta, Georgia home in January 2015. Rapper and N.W.A member Eazy-E died tragically young 25 years ago on March 26, 1995. She ended up dying that same day from blood loss and subsequent cardiac arrest. Eazy Mac. Aaliyah was shooting the music video for her single 'Rock the Boat' in the Bahamas when the light aircraft crashed, killing an additional eight people. But with the support of friends, family and fans he recovered and now with a customized drum kit he continues to … All orders are custom made and most ship worldwide within 24 hours. But he's not the only musician we've lost at an early age. ... Hollywood Friends. The Notorious B.I.G, aka Biggie Smalls (real name Christopher Wallace), died only six months after Tupac's murder. 13,984. Tags: g eazy, geazy, g eazy fashion, geasy, g ezy, g easy, g eazy 2016, g eazy 2019, g eazy 2017, g eazy remix, g eazy random, eminem g eazy, g eazy bad boy, g eazy grailed, g eazy reaction, g eazy questions, g eazy interview, featuring g eazy, g eazy of all things, eazy, g eazy vevo, g eazy music, kehlani ft g eazy good life lyrics, gashi g eazy, g eazy lyrics 136. The Doors lead singer died in a Paris apartment on July 3, 1971. Listen to Norman Bates by Eazy Mac & Golden Bsp, 268 Shazams. 3,512. Start the wiki. Cravin – DaniLeigh ft. G-Eazy Lyrics, Letra: Intro: DaniLeigh Ooh, ooh (yeah) Slim right, real tight, got a nigga cravin' (Cravin') Chorus: DaniLeigh Slim right, real tight, got a nigga cravin' All night, that's right, ballin' on the daily Off-White fit nice, Balenciaga wavy Ass fat, real snack, got that nigga cravin' The promising rapper was only 21 when he was found dead in Tucson, Arizona, on November 15, 2017. Add lyrics on Musixmatch. Aquaman. ... Eazy Mac Feat. Our Friends; May 24, 2018 Azlyrics. Biggie's drive-by shooting also remains unsolved, but the murder was allegedly the result of the East Coast-West Coast hip-hop rivalry going on at the time. See also: Celebrities who tragically lost family members. Rapper and N.W.A member Eazy-E died tragically young 25 years ago on March 26, 1995. G-Eazy led the tributes to late rapper Mac Miller on Monday two years after his death at age 26 from an accidental drug overdose. Yelawolf. Ryan Caraveo. Aquaman. Today, multi-platinum selling superstar G-Eazy teams with multi-platinum selling singer/songwriter/producer blackbear on new song, "Hate The Way" – listen here.With a melodic hook and spot on delivery of impassioned lyrics, the track is instantly captivating (produced by Ryan OG & Mike Crook).The hitmakers rejoin forces to create another undeniable earworm, showcasing why they are … Eazy Mac & Golden BSP . ... Trailer Park Hollywood. The controversial 20-year-old skyrocketed to fame with two consecutive albums, and was facing charges for domestic violence. Muddy Waters. LYRICS. Have to know yourself or you just really gon' get lost in this, sauce I really paid the cost to be a boss I paid in cash and skipped the tax, ain't asked for no receipt When I get stressed I play the beat and split a … Eazy Mac & Golden BSP. Merkules & Dax. SUBSCRIBE, LIKE, COMMENT AND SHARE!FOLLOW MY INSTAGRAM @goldenbsp"NORMAN BATES" SINGLE OUT NOW! Eazy Mac. Golden Bsp. Rapper XXXTentacion was shot dead on June 18, 2018, as he was leaving a motorcycle dealership in South Florida. Bass. Eazy Mac. G-Eazy – Summer In December lyrics [Intro] Uh, yeah ... Hollywood sold you a dream, like how the fuck you fall for this? We and our partners use cookies to personalize your experience, to show you ads based on your interests, and for measurement and analytics purposes.
St Louis Cardinals Jobs, Waterfront Homes For Sale In Chesapeake, Va, Nick Bosa Rookie Stats, Occidental Petroleum Summary Plan Description, Coca-cola Vs Pepsi Market Share 2019, Track 10 Lyrics, Used To This Lyrics, Antidote Clinical Studies, Thailand Basketball League 2020, Flightreacts Spotify Monthly Listeners,
nswrl instagram 2020

redpajama_set_name: RedPajamaCommonCrawl


They played the game at Levi's Stadium in Santa Clara, but we had a pretty good time in Downtown Campbell too. People were gathered at their favorite waterings holes across Downtown Campbell to watch the big game, including a bunch of people from Denver!
This just in... reliable sources have told us that the weather for Super Bowl 50 tomorrow will be Frosty with a Chance of Cake Pops. Scattered sprinkles to follow. You might need a napkin.
Look for Campbell's Super Fan Fun Card at Hotels Super Bowl Week!
Downtown Campbell putting on some good ol' outdoor street music entertainment for you on the day before the Super Bowl. Come spend the afternoon enjoying our historic downtown to the backdrop of some great local entertainers.
Come grab dinner at one of our many highly regarded restaurants and enjoy a nice evening out strolling the streets of our historic downtown to live music.
Once again Khartoum is teaming up with Blue Star Mom's for an AMAZING Super Bowl event!!
We will be open @9am for your pre game needs!! BBQ is at 2pm!!
This just in!!!!! FREE TICKETS to a special Super Bowl event with NFL Stars!!!!
Super Bowl 50 Sunday Funday at the Socialight!
Best TV's in town - 65" HD curved, delicious food, great beer and wine selection! Panko-breaded Chicken Sliders, Duck Nachos, Socialight Potato Skins or a Long Polish sausage dog are great items to enjoy while watching The Game!
A four course dinner will be served with fur different wines paired with each course from the official winery of Super Bowl 50, Freemark Abbey Winery.
Let our Barbecue Pitmaster do the grilling for your Big Game Dinner! All proceeds benefit the Campbell Rotary's High School Interact Clubs and community service projects in Campbell and San José. Each BBQ dinner feeds 6-8 people and includes: perfectly grilled tri-tip, baked beans, garlic bread, cookies.
Happy New Year! If part of your resolution for 2016 is to get fit, set a goal to run the 2016 Super Valentine 10K & 5K with us on February 6!


text:
Photography 47 [-]
Urban life 30 [-]
Communities 26 [-]
Dance 26 [-]
Fashion 26 [-]
Identity 25 [-]
Nightlife 25 [-]
Gender 24 [-]
LGBTQ 24 [-]
Music 24 [-]
Sexuality 24 [-]
Clothing and dress 18 [-]
Actors 14 [-]
Costume 13 [-]
Musical Theatre 11 [-]
Baseball 6 [-]
Men 5 [-]
Ballet 3 [-]
Business 3 [-]
Freedom 3 [-]
Government 3 [-]
Hip hop (Music) 3 [-]
Law 3 [-]
Amusements 2 [-]
Instrumentalists (Musicians) 2 [-]
Journalism 2 [-]
Multilingual communication 2 [-]
Play 2 [-]
U.S. History, 2001- 2 [-]
Bebop (Music) 1 [-]
Black Nationalism 1 [-]
Blaxploitation films 1 [-]
Break dancing 1 [-]
Composers (Musicians) 1 [-]
Cooking and dining 1 [-]
Drama (Theatre) 1 [-]
Foodways 1 [-]
Labor 1 [-]
Museums 1 [-]
Politics (Practical) 1 [-]
Process films 1 [-]
Professional organizations 1 [-]
Race riots 1 [-]
Self-liberation 1 [-]
Societies 1 [-]
Technology 1 [-]
Theatre companies 1 [-]
Gaskin, Gerard H. 24 [-]
Light Work 19 [-]
Black Fashion Museum 12 [-]
Holder, Geoffrey 10 [-]
Grace Costumes Inc. 7 [-]
Schwartz, Joe 7 [-]
GMHC 5 [-]
People of Color in Crisis 4 [-]
Haynes, Tiger 3 [-]
Orkin, Ruth 3 [-]
Barboza, Anthony 2 [-]
Biden, Joseph Robinette 2 [-]
Black Trans Advocacy 2 [-]
Black Trans International Pageantry System 2 [-]
Capezio 2 [-]
Crockett, George W. 2 [-]
Democratic Party 2 [-]
Ledesma, Wendy 2 [-]
Leipzig, Arthur 2 [-]
McCain, John Sidney 2 [-]
Milan, Brenda 2 [-]
National Non-partisan Committee to Defend the Rights of the 12 Communist Leaders 2 [-]
New York Board of Elections 2 [-]
Nihda, Fred 2 [-]
Obama, Barack Hussein 2 [-]
Palin, Sarah 2 [-]
Republican Party 2 [-]
Taylor, Clarice 2 [-]
Adler, Bill 1 [-]
Allied Printing Trades Council 1 [-]
Allure, Vjuan 1 [-]
American Anti-Slavery Society 1 [-]
Asia One 1 [-]
Beveridge, Tee 1 [-]
Bowie, Lester 1 [-]
Calliope Productions 1 [-]
Carter, Ron 1 [-]
Chacott Co., Ltd. 1 [-]
Columbia Law School 1 [-]
Cooke, Sam 1 [-]
Dance Theatre of Harlem 1 [-]
Davis, Angela 1 [-]
Davis, Ossie 1 [-]
De Shields, André 1 [-]
Dolphy, Eric 1 [-]
Edmead, Wendy 1 [-]
Elder III, Lonne 1 [-]
Emsley, Joe 1 [-]
Fast, Howard Melvin 1 [-]
Federal Council of Churches of Christ in America 1 [-]
Fisk University 1 [-]
Flanagan, Emiko 1 [-]
Fletcher, John W. 1 [-]
Garçon, Twiggy Pucci 1 [-]
Gillespie, Dizzy 1 [-]
Grant, Ulysses S. 1 [-]
Grishko 1 [-]
Hall, Carl 1 [-]
Hardison, Inge 1 [-]
Henington Hall 1 [-]
Hetrick-Martin Institute 1 [-]
Jacob, Alexandra 1 [-]
James, Mark 1 [-]
King, Mabel 1 [-]
LaBeija, Gerald Dupree 1 [-]
MC Lyte 1 [-]
Masami 1 [-]
McQuay, James P. 1 [-]
Mills, Stephanie 1 [-]
Monie Love 1 [-]
N. G. Slater Corporation 1 [-]
National Anti-Slavery Standard 1 [-]
National Museum of African American History and Culture 1 [-]
Navies, Kelly Elaine 1 [-]
Negro Ensemble Company 1 [-]
Nu'Mani, Aahirah 1 [-]
Oliver, John Jacob 1 [-]
Outstanding Beautiful Brothers 1 [-]
Pasha, Novene 1 [-]
Patrick Telepictures, Inc. 1 [-]
Pereira, Al 1 [-]
Phillips, Eva 1 [-]
Queen Latifah 1 [-]
Revlon, Danielle 1 [-]
Revlon, Tony 1 [-]
Rock Steady Crew 1 [-]
Saint Laurent, Octavia 1 [-]
Silva, Ingrid 1 [-]
Stax Records 1 [-]
Studio Duplicating Service, Inc. 1 [-]
Sweet Basil 1 [-]
The Afro-American 1 [-]
The NewsGuild – CWA 1 [-]
The Philadelphia Tribune 1 [-]
Thomas, Carla 1 [-]
Trakas, Maggie 1 [-]
portraits 26 [-]
inkjet prints 19 [-]
gelatin silver prints 16 [-]
platinum prints 6 [-]
ensembles (costume) 3 [-]
tights (opaque stockings) 3 [-]
toe shoes 3 [-]
Ballots 2 [-]
Documents 2 [-]
Newspapers 2 [-]
Pamphlets 2 [-]
gowns 2 [-]
45 rpm records 1 [-]
belts (costume accessories) 1 [-]
black-and-white films (visual works) 1 [-]
boots 1 [-]
coats 1 [-]
contract documents 1 [-]
dresses 1 [-]
form letters 1 [-]
güiros 1 [-]
jackets 1 [-]
jump suits 1 [-]
petticoats 1 [-]
robes 1 [-]
scripts (documents) 1 [-]
short subjects 1 [-]
skullcaps 1 [-]
tintypes 1 [-]
typewriters 1 [-]
worksheets 1 [-]
1930s 14 [-]
New York City 78 [-]
Tennessee 2 [-]
Beverly Hills 1 [-]
Caribbean 1 [-]
Davidson County 1 [-]
Hudson County 1 [-]
Jamaica 1 [-]
Jersey City 1 [-]
Latin America 1 [-]
Los Angeles County 1 [-]
Memphis 1 [-]
Mexico 1 [-]
Nashville 1 [-]
New Jersey 1 [-]
Shelby County 1 [-]
Southwest 1 [-]
place: "Manhattan"
National Anti-Slavery Standard Vol. XX, No. 19
National Anti-Slavery Standard, American, 1840 - 1870
American Anti-Slavery Society, American, 1833 - 1870
ink on newsprint
H x W: 26 x 18 3/4 in. (66 x 47.6 cm)
A copy of the National Anti-Slavery Standard newspaper, Volume 20, Number 19. The newspaper is printed on off white newsprint with black ink. Printed in large ornate text on the masthead is "National Anti-Slavery Standard." The volume number, date and whole number are printed below the title. Contact information for the American Anti-Slavery society is printed in the top left corner. The first article is a dedication to a speech by Senator Charles Sumner titled "THE RESULTS OF NEGRO EMANCIPATION." The Edges of the newspaper are torn.
Manhattan, New York City, New York, United States, North and Central America
Self-liberation
2010.1.298.34
http://n2t.net/ark:/65665/fd5ef76d61e-276c-44a9-ad37-65938ddc2d42
Freedom is Everybody's Job! The Crime of the Government Against the Negro People: Summation in the Trial of the 11 Communist leaders
Crockett, George W. Jr., American, 1909 - 1997
National Non-partisan Committee to Defend the Rights of the 12 Communist Leaders, American, founded 1949
ink on paper, metal
H x W x D: 8 3/8 × 5 1/2 × 1/16 in. (21.3 × 14 × 0.1 cm)
Pamphlet of "Freedom is Everybody's Job!" by George Crockett. The pamphlet has a glossy cover sheet with the interior pages secured with two staples in the spine. There is a black and white image in the bottom left of the author wearing a suit and glasses on the front cover. The text on the front cover is printed inside a layered black border with the exception of the price of ten cents (10¢) in the lower right corner. The black text at the top reads [FREEDOM / IS / Everybody's Job!]. Below this text between two parallel black lines is [The Crime of the Government / Against the Negro People] in italics. [Summation in the Trials of / the 11 Communist leaders / BY / GEORGE / W. / CROCKETT, Jr.] is printed in smaller front in the lower right. The document is sixteen pages and contains "About the Author" and "Introduction" pages before the summation. The last page lists the officers of the "National / Non-Partisan Committee / TO DEFEND THE RIGHTS OF / THE 12 COMMUNIST LEADERS" and the back cover has information to order a copy of the pamphlet.
Collection of the Smithsonian National Museum of African American History and Culture, Gift of the Stokes/Washington Family
http://n2t.net/ark:/65665/fd5cc987ddc-bb1e-49dc-af77-659841ed134f
Letter from Howard Fast and the National Non-partisan Committee
Fast, Howard Melvin, American, 1914 - 2003
Form letter from the National Non-partisan Committee to Defend the Rights of the 12 Communist Leaders. The printed letter is on Committee letterhead and begins [Dear Friend: / We are proud to present "FREEDOM IS EVERYBODY'S JOBS," part of the summation of Attorney George W. Crockett, Jr., on of the defense counsel for the eleven American Communist leaders in the recent Foley Square political trial.] The letter discusses the merits of the summation as an [eloquent, sincere and powerful defense of the Negro people...].The letter asks for comments and orders for the ten cent pamphlet. The letter is signed by Howard Fast, Committee Treasurer, and has a list of Committee officers at the bottom. All text is printed in black. The reverse is blank and there are creases from the folded paper.
form letters
http://n2t.net/ark:/65665/fd53896ebf2-5ba8-4e89-8700-d472012ab67c
Sample ballot for the 2008 Presidential election
New York Board of Elections
President Barack Obama, American, born 1961
Vice President Biden, Joseph Robinette, Jr., American
John McCain, American, 1936 - 2018
Palin, Sarah, American, born 1964
Democratic Party, American, founded 1828
Republican Party, American, founded 1854
ink on paper (fiber product) cardboard
H x W: 36 × 43 3/8 in. (91.5 × 110.1 cm)
H x W x D (partly rolled): 36 × 43 3/8 × 7 1/16 in. (91.5 × 110.1 × 18 cm)
New York's 31 Electoral Votes helped to secure the Presidential victory for Obama. In New York, then-Democratic nominee Barack Obama took 62.9% of the vote, defeating Republican nominee John McCain with a 26.9% margin. At the time, this was the highest Democratic vote share in New York since Johnson's Victory over Goldwater in 1964. Four years later, Obama would defeat his own New York state record with 63.35% of the vote in 2012.
A sample ballot for the United States 2008 Presidential election in New York, New York. Printed in black ink on large off-white cardboard paper, the hyper visual ballot is designed with 11 top to bottom voting columns; voting machine instructions; voting party/group options from A to K, and an amendment proposal. Extensive voting machine instructions on the far left of the board are presented first in English, then again, in Spanish. To the right of the machine instructions, twenty rows of horizontal voting choices, A to K, list political parties and their candidates: Barack Obama/Joe Biden; John McCain/Sarah Palin; Roger Calero/Alsyon Kennedy; Gloria La Riva/Eugene Puryear; Ralph Nader/Matt Gonzalez; Cynthia McKinney/Rosa Clemente; Bob Barr/Wayne A Root; Martin Schoenfeld; Marcy L. Kahn; Judith J. Gische; Shirley Werner Kornreich; Nora S. Anderson; Nancy M. Bannon, Charles B. Rangel; Bill Perkins; Adam Clayton Powell; Edward Daniels; Norma Soriano; George L. Espada, Sr.; Martin Koppel and Craig Schley. The last voting column on the far right, with the number one inside, offers "yes" or "no" in English and Spanish, on a proposed amendment to Article 5, section 6 of the Constitution. A blue ink stamp from the Board of Elections [SAMPLE BALLOT] features towards the lower half of the board, and at the bottom of the of the last column are Chinese and Korean characters, instructing the use of the voting machine lever. There are no markings on the reverse of the ballot.
Manhattan, New York, United States, North and Central America
Multilingual communication
U.S. History, 2001-
Collection of the Smithsonian National Museum of African American History and Culture, Gift of Karen J. Greene, Ph.D.
http://n2t.net/ark:/65665/fd5eb5e9b4c-833b-4098-8f08-cb4e59fa3509
http://n2t.net/ark:/65665/fd58d5f446f-6c7d-4aeb-9ccd-8a455296359e
Negro Churchmen Speak to White Churchmen
Federal Council of Churches of Christ in America, American, founded 1908
H x W x D: 9 × 4 1/16 × 1/16 in. (22.9 × 10.3 × 0.2 cm)
Pamphlet on understanding church teaching by the Federal Council of the Church of Christ in America's Commission on the Church and Minority Peoples. The white cover has black printed text on the left side which reads [Negro / Churchmen / Speak To / White / Churchmen]. There are sections about Christian faith, American democracy, and the post-war world. The booklet has fifteen (15) pages, with two (2) staples, and ends with a list of churchmen in support of the book. The back cover has distribution and price information. There is a mark on the front cover with the price of five (5) cents.
http://n2t.net/ark:/65665/fd595444dbe-00e4-4520-8c97-b10e45dab82e
Pinback button for Angela Davis Day
N. G. Slater Corporation, American, founded 1936
Davis, Angela, American, born 1944
H x W x D: 2 1/8 × 2 1/8 × 3/8 in. (5.4 × 5.4 × 1 cm)
An orange and black pinback button for Angela Davis Day, 1971. The button has black text that reads [Angela Davis Day / Free Angela / Bail Now / Central Park - September 25, 1971]. The text surrounds a picture of Angela Davis, found at the center of the button. The exterior edge of the button has the manufacture's name and stamp printed in black ink. The back of the button has a metal pin with a clasp.
http://n2t.net/ark:/65665/fd587f7efab-5782-4d98-bbf2-5557a9c8d317
The Philadelphia Tribune Vol. 59, No. 34
The Philadelphia Tribune, American, founded 1884
H x W: 23 x 17 5/8 in. (58.4 x 44.8 cm)
Pages 1 - 8 of the Philadelphia Tribune from August 7, 1943. The newspaper is folded in half. The headline at the top of the page reads "HOODLEMS WRECK $500,000 IN PROPERTY / Leaders Say Harlem Riot Set Group Back 20 Years."
Collection of the Smithsonian National Museum of African American History and Culture, Gift of Joele and Fred Michaud
2013.239.18a
© Philadelphia Tribune. Permission required for use.
http://n2t.net/ark:/65665/fd52194163e-8162-419a-a014-917114704151
John Jacob Oliver Oral History Interview
National Museum of African American History and Culture, American, founded 2003
Recorded by
Patrick Telepictures, Inc., American
Oliver, John Jacob, American, born 1945
Navies, Kelly Elaine, American
The Afro-American, American, founded 1892
Fisk University, American, founded 1866
University of Maryland, Baltimore County, American, founded 1966
Columbia Law School, American, founded 1858
Duration (2016.129.19.1a): 108.2 minutes
The oral history consists of 2016.129.19.1a and 2016.129.19.2a: two versions (unedited, and edited) of a single digital video recording.
169.00092 GB
John Jacob Oliver was interviewed as part of the NMAAHC Donor Oral History Collection. Mr. Oliver worked for the AFRO-American newspaper, which donated a printing press to the National Museum of African American History and Culture.
In this oral history interview John Jacob Oliver gives a narrative of what it was like to grow-up in the Murphy family, which has published the AFRO-American newspaper since 1892. He discusses his childhood in Baltimore, Maryland, where he personally integrated John E. Howard elementary school in the 6th grade. Oliver talks about his educational journey, which included a short stint at the University of Maryland, before deciding to transfer to the HBCU Fisk University in Nashville, Tennessee and his later studies for a law degree from Columbia University. He recounts his work as a lawyer, before returning to the family business at the AFRO-American. His story includes his role in instituting modern technology at the AFRO.
Nashville, Davidson County, Tennessee, United States, North and Central America
The Collection Donor Oral History Project
2016.129.19.1a-.2a
© Smithsonian National Museum of African American History & Culture
http://n2t.net/ark:/65665/fd594ee3333-f1df-495d-bd7c-9bc68e19a9c8
Hands of Inge
Fletcher, John W. Jr., American
Beveridge, Tee, American, 1923 - 1993
Hardison, Inge, American, 1914 - 2016
Mal Waldron, American, 1925 - 2002
Carter, Ron, American, born 1937
Dolphy, Eric, American, 1928 - 1964
Narrated by
Davis, Ossie, American, 1917 - 2005
acetate film and metal
Length (Film): 412 Feet
16mm motion picture film of Hands of Inge
This 16mm black and white film is a short film exploring the work and methodology of acclaimed African American sculptor Inge Hardison. The film, made relatively early in her career, details her working processes with clay, bronze, and wire.
The 16mm, black-and-white film serves as a short introduction to the work and methodology of acclaimed African American sculptor Inge Hardison. The film, made relatively early in her career, details her working processes with clay, bronze, and wire. The camera largely focuses on her hands, although there are also some shots that include her full body and the model, a young girl, Hardison's daughter, Yolande. The jazz music soundtrack features Mal Waldron, Eric Dolphy, Ron Carter, and Toni Ross. Hortense Beveridge edited the film. There is some voiceover narration by Ossie Davis.
The film opens with close-ups of Hardison's hands as she displays some tools, cuts a piece of metal, and begins the process of making clay for sculpture. The next scene shows her hands working with metal wire and wood and using wire cutters as she twists the metal around another object. At this point in the film, the narration by Ossie Davis begins. He introduces Hardison and then the camera shot pulls back to show her working on a sculpture on a waist-high table. All of the materials from the previous scene appear to have been used in the sculpture she is working on. The camera shot returns to a close-up of her hands as she molds the clay around the wire. As she continues to work, the clay is molded into the shape of a human head, and Davis reveals that she is creating a bust of Martin Luther King, Jr. The next scenes show some of her other sculpture, including one of Father John Coleman of Brooklyn, Nellie Carrington from the book Smokey Town Road written by Hardison, Elaine Atwell, and her niece Minnie Hardison. The montage of her works ends with a small full nude sculpture. The next scene shows a close-up of hands working on a sculpture of her daughter. Then the footage shows her daughter and compares her to the sculpture with sporadic narration by Davis. He then explains how she is preparing the sculpture to be made into bronze. The next scene shows her hands using pliers to work with wire. The final design shown is a man made of wire in a running position. The film ends with a montage of her hands with and without tools.
Manhattan, New York City, New York County, New York, United States, North and Central America
black-and-white films (visual works)
Process films
2012.79.1.9.1ac
http://n2t.net/ark:/65665/fd5c45b93d7-bdd0-4353-a4b6-600de94c0223
Toe shoe and tights worn by Ingrid Silva of Dance Theatre of Harlem
Chacott Co., Ltd., Japanese, founded 1950
Capezio, American, founded 1887
Silva, Ingrid, Brazilian, born 1988
Taking the Stage
Shoe: satin cloth and ribbons, elastic, leather, paper, cloth, adhesive, and cosmetics;
Tights: nylon, spandex, and dye
H x W x D (.1 without ribbons extended): 9 3/8 × 3 1/8 × 2 1/2 in. (23.8 × 7.9 × 6.4 cm)
L (.1 PL ribbon): 20 1/2 in. (52.1 cm)
L (.1 PR ribbon): 21 5/16 in. (54.1 cm)
H x W x D (.2 on form): 23 × 5 1/2 × 4 1/2 in. (58.4 × 14 × 11.4 cm)
L x W (.2 flat): 27 × 7 3/4 in. (68.6 × 19.7 cm)
.1: One (1) ballet pointe shoe custom-colored with cosmetics to a dark brown to match the skin tone of the dancer. A drawstring runs around the top of the foot opening and is tied in a knot at the vamp with the ends cut short. Two lengths of custom-colored satin ribbon are hand sewn to the binding, one each on the left and right side quarters of the shoe. The leather sole has hatch marks on the front half and impressed text at the heel that reads: "24 1/2 / D / M / Chacott / MADE IN JAPAN / N / L / V". Also on the sole is hand-written text reading: "26 / 5 / L / E". Uneven wear on the platform of the toe box and the ball of the foot on the outer sole indicates this shoe was worn on the left foot. The fabric-covered shank is broken at the arch of the foot with the back portion removed and the exposed front portion of the shank covered in pink and white printed Band-Aids, with the fabric cover loose where the shank is missing.
.2: Pair of dance tights, size small/medium, with inherent holes in feet that are custom-dyed to a dark brown to match the skin tone of the dancer. The foot holes allow the tights to be worn covering the foot and toes, with the hole at the ball of the foot, or worn footless with the foot portion rolled at the ankle. The tights have an elastic waistband with the clothing designer logo woven within the waistband that repeats "Capezio". A clothing tag is attached at the back of the waist with the care instructions, size, and materials. On the back of the tag is hand-written text in black ink reading "IS".
New York City, Manhattan, New York, United States, North and Central America
toe shoes
tights (opaque stockings)
Collection of the Smithsonian National Museum of African American History and Culture, Gift of the Dance Theatre of Harlem
http://n2t.net/ark:/65665/fd58cc1a47b-5af7-428a-aaa0-2a012287119c
Typewriter and case used by secretary of Temple #7
Underwood Typewriter Company, American, 1895 - 1963
Nu'Mani, Aahirah, American
Pasha, Novene, American, born 1922
metal , rubber , plastic , paint , wood and cloth
H x W (typewriter): 4 3/4 x 12 1/4 x 11 in. (12.1 x 31.1 x 27.9 cm)
H x W (case): 7 x 13 1/2 x 12 3/4 in. (17.8 x 34.3 x 32.4 cm)
This small Underwood Universal typewriter is black with silver-colored metal trim and white lettering. On the ruler at the back of the machine silver letters read "UNIVERSAL/ MADE IN U.S.A." On the panel above the keys, silver letters read "UNDERWOOD." Painted on back is text that reads "Underwood/ Product of UNDERWOOD CORPORATION/ Protected by United States and foreign patents/ Made in USA."
The black case is rectangular, with metal lock and lock plate, and made of wood covered with green fabric that is painted black. The interior of case is covered in black paper. The black plastic handle on the front of case is imprinted with the word "UNDERWOOD."
Tools and Equipment-Occupational
Collection of the Smithsonian National Museum of African American History and Culture, Gift of the family of Becca Nu'Mani
http://n2t.net/ark:/65665/fd5aa1c0817-fd07-47d1-97d1-8ff1f50bbccd
Easter Sunday in Harlem
Barboza, Anthony, American, born 1944
Unidentified Child or Children
H x W (sheet): 8 × 9 15/16 in. (20.3 × 25.3 cm)
H x W (image): 6 1/16 × 8 15/16 in. (15.4 × 22.7 cm)
A black and white photograph of three boys wearing suits and hats standing in front of a wall with graffiti. Hand written at center on the back of the image is "Easter Sunday in Harlem" along with the date and the photographer's signature.
© Anthony Barboza
http://n2t.net/ark:/65665/fd59643ce41-3492-40b4-94fe-ef1371eeddff
Lester Bowie, Sweet Basil, NYC
Bowie, Lester, American, 1941 - 1999
Sweet Basil, American, 1974 - 2001
H x W (sheet): 14 × 11 in. (35.5 × 27.9 cm)
H x W (image): 8 × 12 7/16 in. (20.3 × 31.6 cm)
A black and white photograph of Lester Bowie at Sweet Basil, NYC. Bowie stands at the beginning of a hallway, next to a tuba. He wears a long white jacket over darker colored shirt, tie and pants. To the right of him, a board announces the scheduled performances, reading: [SWEET BASIL / THIS WEEK LESTER BOWIE BRASS FANTASY] at the top. On the back is an inscription with the title, date and photographer's signature and stamp.
Composers (Musicians)
Instrumentalists (Musicians)
http://n2t.net/ark:/65665/fd5b6b712b8-07d5-4cf1-bcb3-dc8a2c786fff
Mother and Daughter at Penn Station, NY
Orkin, Ruth, American, 1921 - 1985
1947; printed after 1985
H x W (Image): 18 7/8 × 12 13/16 in. (47.9 × 32.5 cm)
H x W (Sheet): 19 7/8 × 15 15/16 in. (50.5 × 40.5 cm)
A black and white photograph of a woman and her daughter sitting atop a suitcase in Penn Station, in New York City. The young girl is featured facing the camera with her eyes slightly closed and her head resting on her mother's shoulder. She is wearing a dress, dress shoes, and a bow in her hand. Her proper right leg is pulled up to her chest and she is holding a band across her proper right foot. Her proper left leg, hangs off the side of the suitcase. The mother has her back toward the camera and is sitting facing the back right of the photograph. She is wearing a dress and hat and looks off in the direction that she is facing. Other people and suitcases are partially visible in the background. The back of the photograph features a stamp from the Orkin/Engel Archive and contains, title, date, and copyright information.
Orkin/Engel Film and Photo Archive Collection
Penn Station Series
Collection of the Smithsonian National Museum of African American History and Culture, Gift of the Orkin/Engel Film and Photo Archive
© Orkin/Engel Film and Photo Archive
http://n2t.net/ark:/65665/fd585eeabbd-6df9-4d6e-905d-3edf8cd81f6b
Fashionable Little Boy at Penn Station, NY
H x W (Image): 12 7/8 × 8 11/16 in. (32.7 × 22.1 cm)
H x W (Sheet): 14 × 10 7/8 in. (35.6 × 27.6 cm)
A black and white photograph of a young three young boys at Penn Station in New York City. The photograph features one of the young boys standing towards the camera. He has his proper right hand on his hip and looks off to the right of the photograph. He is wearing a fedora, gingham shirt, tie, suspenders, dress pants, and dress shoes. The suspenders have a zig-zag pattern and the tie has a depiction of a cowboy riding a horse. Two other boys are seated on a suitcase behind the standing boy and to the left of the photograph. The second boy is seated facing the camera. He is wearing a similar outfit to the standing boy and has a book resting on his lap. A third boy is partially visible and is also seated on the suitcase. There are other people and suite cases in the background of the photograph. The back of the photograph features a stamp from the Orkin/Engel Archive and contains, title, date, and copyright information.
http://n2t.net/ark:/65665/fd51f5b6df3-50a7-4ea7-a37d-1f1b1e8b7b1a
Well Dressed Woman at Penn Station, NY
H x W (Image): 12 15/16 × 9 1/8 in. (32.9 × 23.2 cm)
A black and white photograph of an unidentified woman standing in Penn Station in New York City. She is featured wearing a hat, dress shirt, skirt, and open toed shoes. She stands facing the left of the photograph with her proper right arm extended outward at her hip and holding a cigarette. Her proper left arm is at her side and is holding a purse. A suitcase is on the ground in front of her. Unidentified people are visible in the background. The back of the photograph features a stamp from the Orkin/Engel Archive and contains, title, date, and copyright information.
http://n2t.net/ark:/65665/fd5042e7d63-1189-4c62-b4f6-1bb2e8bcb9dc
Untitled (boys playing in the street)
Leipzig, Arthur, American, 1918 - 2014
Henington Hall, American, founded 1908
H x W (Image and Sheet): 10 1/2 × 10 3/8 in. (26.7 × 26.4 cm)
A black and white photograph of two children playing in the street by Arthur Leipzig. There are two unidentified boys playing a game of spinning top. Both boys are standing next to the sidewalk and holding string. The boy closer to the camera is turned toward the lens and has one foot on the curb. He is wearing shorts, suspenders, and a short sleeved button down shirt. The other boy is crouched down with his elbows resting on his knees watching the spinning top. He has rolled up pants and a striped shirt. Down the sidewalk behind the boys is a vertical building sign for [HENNINGTON HALL]. There is an unidentified woman walking by in the street and other individuals on the sidewalk. Buildings and cars are visible on both sides of the street. There are handwritten numerical inscriptions and the photographer's stamp on the reverse.
Collection of the Smithsonian National Museum of African American History and Culture, Gift of Mildred Leipzig in memory of Arthur Leipzig
© Arthur Leipzig
http://n2t.net/ark:/65665/fd5065d5f58-109b-4022-8128-fd8f1fae2fc5
Dizzy Gillespie at Newspaper Guild Canteen
Gillespie, Dizzy, American, 1917 - 1993
The NewsGuild – CWA, American, founded 1933
H x W (Image): 10 1/4 × 13 in. (26 × 33 cm)
A black and white photograph of Dizzy Gillespie and band by Arthur Leipzig. On the left there is an unidentified man, partially out of the image. He is in a black jacket with one hand on the bass drum. To the right a young unidentified man is seated at the drum kit holding drumsticks. He is wearing a white dress shirt, jacket, black pants, and bowtie. He is smiling and facing toward Dizzy Gillespie in the center of the image. Gillespie is standing holding a trumpet vertically in front of his chest. His body is facing toward the camera with his head tilted to the right. His mouth is open and his eyes are closed. Gillespie is wearing a pinstriped suit with a patterned tie and white shirt. In the corner is a man in a black suit resting one elbow on the piano to the right. The pianist has his back to the camera. Behind the piano is a striped flag. On the back wall is a cartoon of two newspaper writers at their typewriters. Above these figures is a collage of newspaper clippings inside black outlined letters, most of which are out of frame. [-COME] is partially visible. The print is inscribed and signed by the photographer on the reverse.
Bebop (Music)
Collection of the Smithsonian National Museum of African American History and Culture, Gift of Joel Leipzig in memory of Arthur Leipzig
http://n2t.net/ark:/65665/fd543b42511-b56d-4ae9-bf83-e86b5e81c239
Brenda, Miss Black Trans New York 2017
Gaskin, Gerard H., Trinidadian American, born 1965
Milan, Brenda, American
Black Trans Advocacy, American, founded 2012
Black Trans International Pageantry System, American, founded 2012
H x W: 11319 pixels × 7634 pixels
"The balls are a celebration of black and Latino urban gay life. They were born in Harlem out of a need for black and Latino gays to have a safe space to express themselves. Balls are constructed like beauty and talent pageants. The participants work to redefine and critique gender and sexual identity through an extravagant fashion masquerade. Women and men become fluid, interchangeable points of departure and reference, disrupting the notion of a fixed and rigid gender and sexual self. My images try to show a more personal and intimate beauty, pride, dignity, courage, and grace that have been painfully challenged by mainstream society. All of this happens at night in small halls in cities all over the country. These photographs, taken in New York, Philadelphia, Richmond, and Washington, D.C., show us different views of these spaces as they are reflected in the eyes of house and ball members who perform what they wish these cities could be." – Gerard H. Gaskin
A color digital image portrait of the 2017 Winner of the BTIPS NY (Black Trans International Pageantry System of New York) Miss Black Trans New York, Brenda Milan, taken at the Ebony Ball in Manhattan in February 2017.
Milan is pictured from the hips up, standing against a dark grey background. She wears a long sleeve, black dress and his posing with her proper right hand on her hip. She is facing forward and looking to her right. Across her chest is a white sash reading [BTIPS NY MISS BLACK TRANS NEW YORK] in black text. Upon her head is a tall rhinestone tiara in an intricate design.
Legendary Portraits
Collection of the Smithsonian National Museum of African American History and Culture, Gift of Gerard H. Gaskin
© Gerard H. Gaskin
http://n2t.net/ark:/65665/fd53bd041e0-90b9-4f7f-8ca5-ec88499f5772


text:
How To Decide Whether To Give Up On A Business Idea Or Persevere
14 Fun And Effective Ways To Personalize Marketing Campaigns
How To Understand And Tackle Unconscious Bias As A Leader
The Three Dimensions Of Authentic Leadership: Stepping Forward In The "Right" Shoes
To Reach The Masses, 'Metaverse' Startups Must Move Beyond Buzzwords
How To Create Career Perspective: Seven Writing Prompts
What Is Customer Centricity?
When Your Mind Is Your Enemy, Where Do You Run?
Why SEO For Medical Practices Is Important For Getting More Patients Consistently
Jan 3, 2020, 08:00am EST |
The Power Of Recognition -- And How To Harness It With Digital
Marilyn Tyfting
Forbes Human Resources Council
CCO at TELUS International, a global customer experience provider powered by next-gen digital solutions.
Recognition is an essential component of any company's culture. In fact, you've likely noticed its benefits within the walls of your own organization: Recognized employees tend to be more satisfied, perform better, are more productive and they're more likely to engage with the rest of the team. Acknowledging employees and their individual contributions makes them feel like they can be the best version of themselves at work, and this contributes to reduced stress, absenteeism and attrition.
Today's technology is only making us more effective at recognition. Next-generation tools such as artificial intelligence, machine learning and advanced analytics are being leveraged to develop and deliver recognition that's more meaningful, personalized and timely.
As we make way for a new year, now is the perfect time for organizations to reflect on the past year in terms of their recognition program, what resources we put toward this important part of our culture and what we could do better in the year ahead.
Why You Should Recalibrate Your Recognition Program
If you're still left with the question of "what is the value in recalibrating a recognition program?" look no further than the data surrounding competition for talent. Even in the digital era with a never-ending focus on technology, people remain the most valuable resource in any organization. And it's becoming an increasingly competitive landscape. Close to a quarter of senior leaders say finding talent is one of the biggest challenges they're facing as managers, according to McKinsey and Company.
Companies that prioritize recognition have a better chance of retaining the talent they fought so hard to attract in the first place. High-recognition companies — those that give team members the ability to recognize their fellow employees through social reward systems and regular appreciation activities targeting the whole team — have "31 percent lower voluntary turnover than companies with poor recognition cultures," according to research from Deloitte. It's a strategic investment, one that translates directly into the customer experience.
But recognition also requires a strategic approach. Employees are nuanced; they want different things from their corporate culture. Some want to be personally acknowledged in high-profile ways like award ceremonies and newsletters, while others expect a more private approach like a direct thank you or nod of appreciation. That's where digital can be harnessed to improve your recognition programs, personalize and, eventually (through the use of data), individualize.
The Next-Gen Culture Of Appreciation
As organizations, we're living in an innovative time — particularly when it comes to human resources. AI, machine learning and advanced analytics give us greater insight than we've ever had surrounding employees' diverse needs, interests and behaviors. The same sort of infrastructure behind customer relationship management can now be applied to team members.
There are AI tools that can analyze keywords and emojis sent via office instant messaging platforms to get a feel for the team's overall morale. Other tools can track a combination of real-time job performance, feedback from employees and surveys to pinpoint which employees are deserving of recognition.
That timeliness is key. Recognizing an employee immediately (or as close to the achievement as possible) can help identify and encourage the desired behavior both in that employee and the wider team.
Another best practice to enhance the employee experience is to make rewards personal. Let them choose how they want to be recognized. It could be as simple as letting them share their stories via your brand's social media channel or internally through a newsletter. This helps improve engagement and make employees feel heard. It also expands the reach of their recognition.
Employee recognition programs can be further personalized by letting team members choose their reward as well. Give them the option to share their reward with the team, whether it's an experience outside the office or lunch to celebrate their win. As employee data and advanced analytics become more prominent, you can use the information to move toward further individualization, while monitoring the success of your recognition program.
As you look to move toward a next-generation culture of appreciation, one that harnesses the power of digital to recognize employees year-round in a timely way, it's important to remember the why of it all: You're doing it to make employees feel good about themselves and their contributions to the organization. Employees recognize authenticity, and they appreciate the investment you make in them.
Recognition isn't going to be perfect, and when a program includes peer recognition, it may not always reinforce all the behaviors you are hoping to foster. But it sets a model, it creates that potential — and it fuels the idea that every employee plays a role in building your organization's culture. And that's a powerful thing to recognize.
Forbes Human Resources Council is an invitation-only organization for HR executives across all industries. Do I qualify?


As a result of the heavy storm expected on Thursday, 18 January, runway capacity at Schiphol will be severely restricted.
The heavy winds will also make it impossible to continue ground handling operations between 10:00 and 12:00 hours. KLM will therefore be cancelling 110 return flights in Europe on 18 January.
The passengers concerned are being informed and rebooked. Additionally, travellers may be affected by delays throughout the course of the day.


text:
Kent's 11 most beautiful buildings
Which is your favourite?
From castles to pubs, museums to mansions, Kent has some of the most beautiful buildings in the country.
Previously we looked at biggest eyesores in Kent, but now we are shifting our focus from the coal to the diamonds.
These are a few of the grandest, prettiest, most exquisite buildings Kent has to offer.
Have we missed any of your favourites? Let us know in the comment section.
The Opera House, Tunbridge Wells
Say what you want about J.D. Wetherspoon but the people at Britain's biggest pub chain have an eye for architecture.
Any traditionalists decrying the conversation of an opera house into a public house should look to its history and realise the number of purposes the building has served during this transition.
Designed by John Briggs, this Mount Pleasant Road beauty originally opened in 1902 as an (you guessed it) opera house.
It was converted into a cinema after being bought in 1931 before becoming a bingo hall in the 1960s.
In 1996, Wetherspoons bought the building which, since 2006, has returned to its roots by showing occasional opera performances.
Beaney House of Art and Knowledge, Canterbury
(Image: Helmit Zozmann)
You're really spoiled for choice when it comes to architectural marvels in Canterbury.
While some of you might expect the cathedral to take this spot, we think that's too obvious.
Named after Dr James George Beaney who left Canterbury £10,000, the Grade II listed Beaney House of Art and Knowledge was designed by A.H. Campbell and opened in 1899.
The art collection contains a 16 century Chaucer portrait, as well as pieces by Thomas Sidney Cooper, and the library holds more than two million volumes.
Dover Castle, Dover
Overlooking the town and the sea, Dover Castle dates back to the 11 Century and its importance as a defence site has seen it dubbed the 'Key to England'.
The keep and baileys of England's largest castle were built during the reign of Henry II.
While these days it's a tourist attraction, it has played a rich role in England's military history.
Its walls were breached during the First Barons' War in 1216, it was captured by the Parliamentarians during the Civil War without a shot being fired, and it was used as a military command centre during the Second World War.
The Yarrow Hotel, Broadstairs
Designed and built in 1894, The Yarrow was originally created as a place for children to recuperate from illnesses, and this purpose shaped its design.
Symmetrical in appearance, one side of the building housed boys and the other girls.
Its corridors were made to be wide enough to allow children to play in them and its staircase featured shallow treads and wide steps, tailor-made for children's feet.
The building was a children's convalescence home until the 1960s, when Thanet College took it over and incorporated it into its campus.
Following a renovation and remodelling project that was completed in 2016, The Yarrow reopened as a sleek, modern hotel.
Quex House, Birchington-on-Sea
(Image: Michael Garlick)
Situated in the 250 acre Quex Park, Quex House takes its name from the Quekes family, wool merchants who were its original owners.
Compared to what it looks like today, the original Regency style design was relatively modest but extensions in 1883 and 1905 saw it take its current form.
During the First World War, Quex House was used as an Auxiliary Military Hospital run by the Birchington Voluntary Aid Detachment.
To best experience it, head there sometime between April and November when several rooms are open to the public.
The Custom House, Ramsgate
(Image: Mike Quinn)
With 900 listed buildings, more per capita than Bath, Ramsgate is awash with beautiful spots.
While the Maritime Museum is a close second, The Custom House, which now houses a visitor centre, gallery, coffee shop and Ramsgate Town Council, is a red brick beauty.
The Grand, Folkestone
(Image: Ian Capper)
Situated next to the equally grand Metropole, The Grand hotel on The Leas in Folkestone was built in an attempt to one-up what would become its rival establishment.
Constructed by Daniel Baker, when the hotel opened featured one of the early examples of wall-to-wall carpeting.
King Edward VII was a regular visitor, to the point that locals would loiter around The Leas in hope of catching a glimpse of him.
As the King and his friends were heavily bearded, the act of staring through the glasshouse in order to see him was likened to staring at monkeys in a cage, leading to the building being labelled The Monkey House.
Godmersham Park, Godmersham
(Image: Pam Fray)
If Jane Austen springs to mind when you see this sprawling Elizabethan mansion, it's no coincidence.
The Grade I listed house was built in 1732 for Thomas May but in 1794 was inherited by Edward Austen, Jane Austen's brother.
She was a regular visitor to the house and Mansfield Park is said to be based on it.
Currently the home of the Association of British Dispensing Opticians, Godmersham Park appears just behind Jane Austen on the £10 note.
Leeds Castle, Leeds
(Image: Paul Gillett)
Although a castle has existed on the site where Leeds Castle sits since 1086, its current Tudor design was the result of a large-scale remodelling operation that was completed in 1823.
From acting as a prison during the Civil War to hosting Northern Ireland peace talks in 2004, the castle has a long history as a place of significant political and diplomatic importance.
More than half a million visitors flock to the site each year and everything from Doctor Who to Sir Cliff Richard performances has been filmed there.
Royal Engineers Museum, Gillingham
(Image: N Chadwick)
Gillingham is the home of Kent's largest military museum but the Ravelin Building which now houses the exhibitions and library was originally used as an electrical engineer's school for the Royal Engineers.
Built in 1904 and granted Grade II listed status in 1996, the Prince Arthur Road museum houses the Duke of Wellington's map of Waterloo, weapons from the Zulu War and 25 Victoria Crosses.
Walpole Bay Hotel, Margate
Built in 1914 and extended in 1927, this hotel contains a 1927 Otis trellis gated lift that is still in service.
The family run hotel, which has been a popular filming location over the years, is currently being restored to its former glory.
Which is Kent's most beautiful building?
0+ VOTES SO FAR


Please assist us by participating in the following survey pertaining to HFD's response to Hurricane Harvey.
Join us as a member of the "HFD Local 341" race team on November 11, 2017 (B/D7) at Houston City Hall for the Travis Manion Foundation's 9/11 Heroes Run 5k. Opening ceremonies begin at 7:30 a.m.
On May 17, 2017, a financial advisory firm, Public Financial Management (PFM), delivered an update to Houston City Council regarding reccomendations for the Houston Fire Department's (HFD) service delivery model.
Muscular Dystrophy Association of Houston, TX recently announced the 2017 totals for this year's "Fill The Boot" campaign.


text:
An asset management firm just issued a dire warning about the retail apocalypse
Hayley Peterson
Nicholas EckhartRolling Acres Mall
US retailers are closing stores and filing for bankruptcy at rates not seen since the recession.
The industry's decline isn't just a phase or a temporary trend: it's a new normal, according to report released Wednesday by the asset management company Cohen & Steers.
"We see this retail weakness, which is occurring despite a relatively healthy economy, as part of a permanent evolution in how and where Americans spend their money," the firm, which manages $US58.5 billion in assets, said in the report.
Cohen & Steers blamed four factors for the retail industry's shift: an over-abundance of stores in the US, the growth of ecommerce, shifts in shopper spending away from apparel and more toward experiences, and the decline of department stores.
"We expect the paradigm shift taking place to dramatically alter the retail landscape, with potentially significant implications for real estate investors," the report states.
Cohen & Steers/ICSC Country Fact Sheets
Sears, Macy's, JCPenney, and more than a dozen other national retailers have all announced mass closures this year.
The closures, which total more than 3,200 stores so far this year, are squeezing real estate investment trusts, or REITS, that own regional mall and shopping center properties.
For these REITs, "the threat of increased vacancies and rising costs for redevelopment and re-tenanting caused declines of 14.6% and 11.5%, respectively, in the 12 months ended March 31, 2017," the report states.
Excluding these sectors, the rest of the REIT index produced a healthy 8.2% total return in that period.
When so-called anchor stores like Macy's or Sears go out of business, malls must find new tenants to replace them or risk losing rent payments.
Class A malls, which are the most profitable shopping centres, will have little trouble attracting new tenants when stores close.
But class B and C malls — which represent the majority of malls in the US — will have a harder time finding lucrative replacement tenants.
"Generally speaking, their future is much cloudier and we expect to see loss of market share," the report states. "We believe much of the efforts to refurbish properties may do little to create actual value."
NOW WATCH: This $US32 million home has a water park in its backyard
clusterstock department stores jcpenney macy's malls retail retail apocalypse retail-us sears shopping shopping malls


text:
Director & Camera
Sarah Grohnert is a director/editor with a strong sense of visual storytelling and the ability to bring an endless amount of patience and curiosity to her projects. Originally trained as an editor in her native Germany, Sarah studied directing at the Arts Institute Bournemouth in the UK and subsequently lived and worked in London for 5 years. Sarah is a New Zealand resident since 2011. Ever The Land is Sarah's debut feature documentary.
Alexander Behse is an award winning creative producer whose eclectic body of work has resonated across the wider Pacific. From high-end documentaries to celebrated prime-time series Behse's drive for risk-taking treatments, engaging subjects and his eye for talent have made him one of the most innovative and prolific young producers of indigenous, factual and adventure programming in the region today.
Prisca Bouchet has been working in NZ film and TV for over eight years. Her editing credits include the award-winning feature documentary There Once Was An Island and New Zealand feature documentaries Mental Notes and Pretty Brutal. She has recently made her directing debut, along with co-director Nick Mayow, with short documentaries Le Taxidermiste (Best Self-funded Short Film, NZ Film Awards 2013) and TODAY, a three-minute online film which follows the passing of time in a rest home. Prisca is passionate about documentary as an artform that allows social exploration.


text:
Home Cities Bengaluru
Meet your idol while helping a good cause
You're a budding entrepreneur and meeting Sachin Bansal from Flipkart and taking his tips on how to start your company would be a dream come true.
Published: 30th November 2016 11:21 PM | Last Updated: 02nd December 2016 05:30 PM | A+A A-
BENGALURU: You're a budding entrepreneur and meeting Sachin Bansal from Flipkart and taking his tips on how to start your company would be a dream come true. A session on the nets with ace cricketer Virat Kohli might be an ultimate goal for a diehard cricket fan.
Well, all these might actually be possible through BuyMyTime, an online company that brings together celebrities and commoners to help a good charitable cause.
Explaining the concept behind the functioning of the company, the managing director of BuyMyTime Anusha Raj said that that raffles and auctions were advertised online. Whoever interested can then buy the raffles for a certain prize or bid in the auctioning.
The first event organised by the company had 4 winners who got an opportunity to go to an all expense paid a trip to London with Bollywood actor, Abhishek Bachchan, to watch the English Premier League match between Chelsea and Manchester United.
The majority of the funds raised through this one event went to the Samarthanam Trust for the Disabled – a Bengaluru-based charity that helps and works with the underprivileged, visually impaired and the physically challenged.
"In order to sustain ourselves in our mission, the company follows the 80:20 percent model where 80 percent goes to charity and 20 percent goes to is deduced as a fee." says Anusha.
Anusha said that she had to deal with a few difficulties involving legalities before starting such an enterprise. "In crude terms, a raffle is known as a lottery which is not very welcome and frowned upon. However since were involved with charity it was easier.
The 20 percent we take is only to sustain ourselves. It is a huge risk starting a venture like this however it has been a great journey," she adds
BMT has tied up with as many as 10 NGOs so far that are supported by celebrities. It aims to organise more events very soon, says Anusha.


Mapping Density in the U.S.
Population density in the US varies wildly from place to place.
I thought I shared this map or something very similiar a while back in 2013 when it was widely being shared but I couldn't find it. Many countries have highly concentrated population distributions (like Canada and Australia) and the United States has pockets of extreme density interspersed throughout the country. On the flip side, vast swaths of the countries are considered empty in terms of population such as this map that shows 1% of the total U.S. population in 42% of the area. and this one of the world that shows uneven patterns.
Tags: population, density, mapping, visualization.


text:
Q: C++ Non-QT interface and QtNetwork I'm part of the RoboCup SSL of my school and we try to simulate the entire game on the grSim simulator (https://github.com/mani-monaj/grSim).
grSim is a  Qt application so I have used the Qt Network library to make a client/server app and receive Google protobuf data. (https://github.com/rjabaker/WarBots-StrategyTester/tree/master/tester/comm)
I have try to make the samething with SSL-refbox, I receive data, but it's not working when I try to print out the data, so I try to figure out why..
** So my question is: Can I use the Qt Network library to make a client/server app and receive data from a non-Qt interface (SSL-Refbox https://github.com/Hawk777/ssl-refbox/)**

A: Yes -- the Qt network library doesn't specify any particular protocol, it just shovels bytes around.  So there is no reason a Qt-network-based server can't talk to a non-Qt-network-based client, or vice versa; you just have to make sure that they both speak the same protocol.