| Trees | Indices | Help |
|
|---|
|
|
JSON (JavaScript Object Notation) <http://json.org> is a subset of JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data interchange format.
:mod:`simplejson` exposes an API familiar to users of the standard library :mod:`marshal` and :mod:`pickle` modules. It is the externally maintained version of the :mod:`json` library contained in Python 2.6, but maintains compatibility with Python 2.4 and Python 2.5 and (currently) has significant performance advantages, even without using the optional C extension for speedups.
Encoding basic Python object hierarchies:
>>> import simplejson as json >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]) '["foo", {"bar": ["baz", null, 1.0, 2]}]' >>> print json.dumps("\"foo\bar") "\"foo\bar" >>> print json.dumps(u'\u1234') "\u1234" >>> print json.dumps('\\') "\\" >>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True) {"a": 0, "b": 0, "c": 0} >>> from StringIO import StringIO >>> io = StringIO() >>> json.dump(['streaming API'], io) >>> io.getvalue() '["streaming API"]'
Compact encoding:
>>> import simplejson as json >>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',',':')) '[1,2,3,{"4":5,"6":7}]'
Pretty printing:
>>> import simplejson as json >>> s = json.dumps({'4': 5, '6': 7}, sort_keys=True, indent=' ') >>> print '\n'.join([l.rstrip() for l in s.splitlines()]) { "4": 5, "6": 7 }
Decoding JSON:
>>> import simplejson as json >>> obj = [u'foo', {u'bar': [u'baz', None, 1.0, 2]}] >>> json.loads('["foo", {"bar":["baz", null, 1.0, 2]}]') == obj True >>> json.loads('"\\"foo\\bar"') == u'"foo\x08ar' True >>> from StringIO import StringIO >>> io = StringIO('["streaming API"]') >>> json.load(io)[0] == 'streaming API' True
Specializing JSON object decoding:
>>> import simplejson as json >>> def as_complex(dct): ... if '__complex__' in dct: ... return complex(dct['real'], dct['imag']) ... return dct ... >>> json.loads('{"__complex__": true, "real": 1, "imag": 2}', ... object_hook=as_complex) (1+2j) >>> from decimal import Decimal >>> json.loads('1.1', parse_float=Decimal) == Decimal('1.1') True
Specializing JSON object encoding:
>>> import simplejson as json >>> def encode_complex(obj): ... if isinstance(obj, complex): ... return [obj.real, obj.imag] ... raise TypeError(repr(o) + " is not JSON serializable") ... >>> json.dumps(2 + 1j, default=encode_complex) '[2.0, 1.0]' >>> json.JSONEncoder(default=encode_complex).encode(2 + 1j) '[2.0, 1.0]' >>> ''.join(json.JSONEncoder(default=encode_complex).iterencode(2 + 1j)) '[2.0, 1.0]'
Using simplejson.tool from the shell to validate and pretty-print:
$ echo '{"json":"obj"}' | python -m simplejson.tool { "json": "obj" } $ echo '{ 1.2:3.4}' | python -m simplejson.tool Expecting property name: line 1 column 2 (char 2)
Version: 2.3.0
Author: Bob Ippolito<EMAIL_ADDRESS>|
|||
|
|
|||
|
JSONDecoder Simple JSON <http://json.org> decoder |
|||
|
JSONDecodeError Subclass of ValueError with the following additional properties: |
|||
|
JSONEncoder Extensible JSON <http://json.org> encoder for Python data structures. |
|||
|
OrderedDict Dictionary that remembers insertion order |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
_default_encoder = JSONEncoder(skipkeys= False, ensure_ascii=
|
|||
_default_decoder = JSONDecoder(encoding= None, object_hook= No
|
|||
__package__ =
|
|
Serialize ``obj`` as a JSON formatted stream to ``fp`` (a ``.write()``-supporting file-like object). If ``skipkeys`` is true then ``dict`` keys that are not basic types (``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``) will be skipped instead of raising a ``TypeError``. If ``ensure_ascii`` is false, then the some chunks written to ``fp`` may be ``unicode`` instances, subject to normal Python ``str`` to ``unicode`` coercion rules. Unless ``fp.write()`` explicitly understands ``unicode`` (as in ``codecs.getwriter()``) this is likely to cause an error. If ``check_circular`` is false, then the circular reference check for container types will be skipped and a circular reference will result in an ``OverflowError`` (or worse). If ``allow_nan`` is false, then it will be a ``ValueError`` to serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in strict compliance of the JSON specification, instead of using the JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``). If *indent* is a string, then JSON array elements and object members will be pretty-printed with a newline followed by that string repeated for each level of nesting. ``None`` (the default) selects the most compact representation without any newlines. For backwards compatibility with versions of simplejson earlier than 2.1.0, an integer is also accepted and is converted to a string with that many spaces. If ``separators`` is an ``(item_separator, dict_separator)`` tuple then it will be used instead of the default ``(', ', ': ')`` separators. ``(',', ':')`` is the most compact JSON representation. ``encoding`` is the character encoding for str instances, default is UTF-8. ``default(obj)`` is a function that should return a serializable version of obj or raise TypeError. The default simply raises TypeError. If *use_decimal* is true (default: ``True``) then decimal.Decimal will be natively serialized to JSON with full precision. If *namedtuple_as_object* is true (default: ``True``), :class:`tuple` subclasses with ``_asdict()`` methods will be encoded as JSON objects. If *tuple_as_array* is true (default: ``True``), :class:`tuple` (and subclasses) will be encoded as JSON arrays. To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the ``.default()`` method to serialize additional types), specify it with the ``cls`` kwarg. |
Serialize ``obj`` to a JSON formatted ``str``. If ``skipkeys`` is false then ``dict`` keys that are not basic types (``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``) will be skipped instead of raising a ``TypeError``. If ``ensure_ascii`` is false, then the return value will be a ``unicode`` instance subject to normal Python ``str`` to ``unicode`` coercion rules instead of being escaped to an ASCII ``str``. If ``check_circular`` is false, then the circular reference check for container types will be skipped and a circular reference will result in an ``OverflowError`` (or worse). If ``allow_nan`` is false, then it will be a ``ValueError`` to serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in strict compliance of the JSON specification, instead of using the JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``). If ``indent`` is a string, then JSON array elements and object members will be pretty-printed with a newline followed by that string repeated for each level of nesting. ``None`` (the default) selects the most compact representation without any newlines. For backwards compatibility with versions of simplejson earlier than 2.1.0, an integer is also accepted and is converted to a string with that many spaces. If ``separators`` is an ``(item_separator, dict_separator)`` tuple then it will be used instead of the default ``(', ', ': ')`` separators. ``(',', ':')`` is the most compact JSON representation. ``encoding`` is the character encoding for str instances, default is UTF-8. ``default(obj)`` is a function that should return a serializable version of obj or raise TypeError. The default simply raises TypeError. If *use_decimal* is true (default: ``True``) then decimal.Decimal will be natively serialized to JSON with full precision. If *namedtuple_as_object* is true (default: ``True``), :class:`tuple` subclasses with ``_asdict()`` methods will be encoded as JSON objects. If *tuple_as_array* is true (default: ``True``), :class:`tuple` (and subclasses) will be encoded as JSON arrays. To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the ``.default()`` method to serialize additional types), specify it with the ``cls`` kwarg. |
Deserialize ``fp`` (a ``.read()``-supporting file-like object containing a JSON document) to a Python object. *encoding* determines the encoding used to interpret any :class:`str` objects decoded by this instance (``'utf-8'`` by default). It has no effect when decoding :class:`unicode` objects. Note that currently only encodings that are a superset of ASCII work, strings of other encodings should be passed in as :class:`unicode`. *object_hook*, if specified, will be called with the result of every JSON object decoded and its return value will be used in place of the given :class:`dict`. This can be used to provide custom deserializations (e.g. to support JSON-RPC class hinting). *object_pairs_hook* is an optional function that will be called with the result of any object literal decode with an ordered list of pairs. The return value of *object_pairs_hook* will be used instead of the :class:`dict`. This feature can be used to implement custom decoders that rely on the order that the key and value pairs are decoded (for example, :func:`collections.OrderedDict` will remember the order of insertion). If *object_hook* is also defined, the *object_pairs_hook* takes priority. *parse_float*, if specified, will be called with the string of every JSON float to be decoded. By default, this is equivalent to ``float(num_str)``. This can be used to use another datatype or parser for JSON floats (e.g. :class:`decimal.Decimal`). *parse_int*, if specified, will be called with the string of every JSON int to be decoded. By default, this is equivalent to ``int(num_str)``. This can be used to use another datatype or parser for JSON integers (e.g. :class:`float`). *parse_constant*, if specified, will be called with one of the following strings: ``'-Infinity'``, ``'Infinity'``, ``'NaN'``. This can be used to raise an exception if invalid JSON numbers are encountered. If *use_decimal* is true (default: ``False``) then it implies parse_float=decimal.Decimal for parity with ``dump``. To use a custom ``JSONDecoder`` subclass, specify it with the ``cls`` kwarg. |
Deserialize ``s`` (a ``str`` or ``unicode`` instance containing a JSON document) to a Python object. *encoding* determines the encoding used to interpret any :class:`str` objects decoded by this instance (``'utf-8'`` by default). It has no effect when decoding :class:`unicode` objects. Note that currently only encodings that are a superset of ASCII work, strings of other encodings should be passed in as :class:`unicode`. *object_hook*, if specified, will be called with the result of every JSON object decoded and its return value will be used in place of the given :class:`dict`. This can be used to provide custom deserializations (e.g. to support JSON-RPC class hinting). *object_pairs_hook* is an optional function that will be called with the result of any object literal decode with an ordered list of pairs. The return value of *object_pairs_hook* will be used instead of the :class:`dict`. This feature can be used to implement custom decoders that rely on the order that the key and value pairs are decoded (for example, :func:`collections.OrderedDict` will remember the order of insertion). If *object_hook* is also defined, the *object_pairs_hook* takes priority. *parse_float*, if specified, will be called with the string of every JSON float to be decoded. By default, this is equivalent to ``float(num_str)``. This can be used to use another datatype or parser for JSON floats (e.g. :class:`decimal.Decimal`). *parse_int*, if specified, will be called with the string of every JSON int to be decoded. By default, this is equivalent to ``int(num_str)``. This can be used to use another datatype or parser for JSON integers (e.g. :class:`float`). *parse_constant*, if specified, will be called with one of the following strings: ``'-Infinity'``, ``'Infinity'``, ``'NaN'``. This can be used to raise an exception if invalid JSON numbers are encountered. If *use_decimal* is true (default: ``False``) then it implies parse_float=decimal.Decimal for parity with ``dump``. To use a custom ``JSONDecoder`` subclass, specify it with the ``cls`` kwarg. |
|
_default_encoder
|
_default_decoder
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Oct 8 11:15:35 2012 | http://epydoc.sourceforge.net |


|
Ubiquity
2.3.0
php rapid development framework
|
Public Member Functions | |
| __construct ($message, $title="", $type="", $icon="", $timeout=null) | |
| getMessage () | |
| getType () | |
| getIcon () | |
| getTitle () | |
| setMessage ($message) | |
| setType ($type) | |
| setIcon ($icon) | |
| setTitle ($title) | |
| getTimeout () | |
| setTimeout ($timeout) | |
| parse ($value) | |
| parseContent ($keyValues) | |
Private Attributes | |
| $message | |
| $type | |
| $icon | |
| $title | |
| $timeout | |
| $_message | |
Definition at line 5 of file CRUDMessage.php.
| __construct | ( | $message, | |
$title = "" , |
|||
$type = "" , |
|||
$icon = "" , |
|||
$timeout = null |
|||
| ) |
Definition at line 13 of file CRUDMessage.php.
| getIcon | ( | ) |
Definition at line 39 of file CRUDMessage.php.
| getMessage | ( | ) |
Definition at line 25 of file CRUDMessage.php.
| getTimeout | ( | ) |
Definition at line 89 of file CRUDMessage.php.
| getTitle | ( | ) |
Definition at line 46 of file CRUDMessage.php.
| getType | ( | ) |
Definition at line 32 of file CRUDMessage.php.
| parse | ( | $value | ) |
| parseContent | ( | $keyValues | ) |
Definition at line 111 of file CRUDMessage.php.
| setIcon | ( | $icon | ) |
| setMessage | ( | $message | ) |
| string | $message |
Definition at line 53 of file CRUDMessage.php.
| setTimeout | ( | $timeout | ) |
| setTitle | ( | $title | ) |
| setType | ( | $type | ) |
|
private |
Definition at line 11 of file CRUDMessage.php.
|
private |
Definition at line 8 of file CRUDMessage.php.
|
private |
Definition at line 6 of file CRUDMessage.php.
|
private |
Definition at line 10 of file CRUDMessage.php.
|
private |
Definition at line 9 of file CRUDMessage.php.
|
private |
Definition at line 7 of file CRUDMessage.php.


| Class | Description |
|---|---|
| AbstractTranslation |
For classes that take a DecodedQuery object and convert to SQL, they should
extend this class.
|
| ForEach |
Method for translating Cypher with FOREACH into SQL.
|
| InsertUtils |
Class of helpful utilities for translation classes that edit the database
(such as inserting new data).
|
| MultipleRel |
Class for translating Cypher with multiple relationships to SQL.
|
| NoRels |
Class for translating Cypher with no relationships to SQL.
|
| ShortestPath |
Class for translating Cypher with the shortestPath function to SQL.
|
| SingleVar |
Class for translating Cypher with a single variable length path to SQL.
|
| SQLTranslate |
MAIN TRANSLATION UNIT FROM INTERMEDIATE TRANSLATION TO SQL.
|
| TranslateUtils |
Class with useful translation methods that can be used regardless of the type
of Cypher query
actually being translated.
|
| UnionSQL |
Class for creating correct SQL query when UNION/UNION ALL keyword is present
in the original Cypher query.
|
| WithSQL |


Uses a DefaultDeserializer
with default options to read a JS value from a buffer.
Generates a snapshot of the current V8 heap and returns a Readable Stream that may be used to read the JSON serialized representation. This conversation was marked as resolved by joyeecheung This JSON stream format is intended to be used with tools such as Chrome DevTools. The JSON schema is undocumented and specific to the V8 engine, and may change from one version of V8 to the next.
Uses a DefaultSerializer
to serialize value into a buffer.
The file path where the V8 heap snapshot is to be
saved. If not specified, a file name with the pattern
'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'
will be
generated, where {pid}
will be the PID of the Node.js process,
{thread_id}
will be 0
when writeHeapSnapshot()
is called from
the main Node.js thread or the id of a worker thread.
Generated using TypeDoc
Returns an integer representing a "version tag" derived from the V8 version, command line flags and detected CPU features. This is useful for determining whether a vm.Script cachedData buffer is compatible with this instance of V8.


0.1.0
Entrypoint for the HMS Library
Gets site information for a specified Omeka API endpoint
(string)
promise
Collection functions
Gets a list of site collections
Checks if a collection array is empty
(array)
boolean
Gets the collection's metadata
(number)
Gets items from the collection
Item functions
Gets a list of ALL site items
Checks if the list has items
Gets item metadata
Gets the file metadata for an item
File functions


student Registration Form
your name:
your password:
Gender:
male
female
other
food preference:
veg
nonveg
both
interested of course
select
webdesigning
web devlopement
course stack:
html
css
js
jquery


Concurrency – CSP & Actors
Multithreading is not the only approach we use to deal with concurrency. Single-purpose processes is our next frontier. Processes, that don`t have shared state. To coordinate, they pass messages to each other.
We can build complex concurrent systems using simple principles of CSP or Actors model. We break down programs into independent processes, each performing some specific job, talking to each other. How they talk to each is the point of contention here. That`s where the differences between CSP and Actors arise.
Host: Andrey Salomatin twitter.com/filipovskii
Guests
- Aaron Schlesinger arschles.com/
- Jörgen Brandt http://www.joergen-brandt.de/
Sources
- CSP
-
“Communicating Sequential Processes” orignial paper by C. A. R. Hoare http://www.usingcsp.com/ cspbook.pdf
-
Go
- “Go in 5 minutes” screencast by Aaron https://www.youtube.com/channel/UC2GHqYE3fVJMncbrRd8AqcA
- “Effective Go” https://golang.org/doc/effective_go.html
- “Go Concurrency Patterns” talk by Rob Pike https://talks.golang.org/2012/concurrency.slide#1
- net.Context documentation: https://godoc.org/golang.org/x/net/context
-
WebSockets documentation: https://godoc.org/golang.org/x/net/websocket
-
Actors
-
“A Universal Modular Actor Formalism for Artificial Intelligence” original paper by Carl Hewitt; Peter Bishop; Richard Steiger http://worrydream.com/refs/Hewitt-ActorModel.pdf
-
Erlang
- “Learn You Some Erlang for great good!” by Fred Hébert http://learnyousomeerlang.com/
- “Programming Erlang” by Joe Armstrong http://amzn.to/1UnfJpB
Projects to check out
- Go
- Docker https://github.com/docker/docker
- “Awesome Go” – a curated list of awesome Go frameworks, libraries and software https://github. com/avelino/awesome-go
- Parallelism
- Cuneiform http://www.cuneiform-lang.org/
Music
Mid-Air! @mid_air
PS: Links to Amazon are referral. You can use them to support the show.
Comments !


Signalz 0.8 documentation
Population Model
Contents
Population Model
¶
This tag covers population models.
Logistic Map
Contents


For the sake of human innovation for all peoples, by all peoples.
"We cannot succeed when half of us are held back."
Malala Yousafzai
We Fight against a big issue
Gender Inequality
Gender Inequality
What Is It?
Gender inequality is the unfair treatment between individuals solely based on their gender. It is the product of one’s own perception of gender stereotypes and gender roles and the unwillingness of others to perceive anything but the generalized role of a gender.
This treatment arises from the distinctions of an individual and how another deems those distinctions inapt with their own perception of the biology, psychology, or cultural norms of their respective sex. These distinctions are also believed to be empirically-grounded or socially constructed and are why gender inequality still remains an insidious and persisting threat to dividing our society.
EFFECTS ON SOCIETY
Gender inequality causes social division and impacts everyone in our society, but most especially it influences the new generations to adhere to social norms and stereotypes - keeping them “in the closet” and unable to be their true self. The youths of today get affected by gender inequality the most and it can happen in various ways: from children classifying certain jobs/activities specified to their respective genders, to affect their sense of self and their overall behaviour and ambitions in life - gender inequality must be addressed now.
In society, if gender inequality were to persist - we would be essentially benching half of our workforce causing our economy to slowly dissipate, and causing half of the youths of today to be demotivated to learn and develop into our future leaders. Our society would crumble and it’s all because of gender inequality. It’s time to act now.
Gender Inequality
What Is It?
Gender inequality is the unfair treatment between individuals solely based on their gender. It is the product of one’s own perception of gender stereotypes and gender roles and the unwillingness of others to perceive anything but the generalized role of a gender.
This treatment arises from the distinctions of an individual and how another deems those distinctions inapt with their own perception of the biology, psychology, or cultural norms of their respective sex. These distinctions are also believed to be empirically-grounded or socially constructed and are why gender inequality still remains an insidious and persisting threat to dividing our society.
PREVENTING
Organization Video
Promoting Gender Equality. Preventing Inequality. For Human Innovation and Development.


Hooking up a USB hub kindly given away by my employer. Too bad it isn't USB 2.0, but better than nothing.
2/12/2009, 5:59:53 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
Hooking up a USB hub kindly given away by my employer. Too bad it isn't USB 2.0, but better than nothing.
2/12/2009, 5:59:53 PM
Favs: 0
Retweets: 0
link


Grand Master Angus:
You are looking for Preacher Sla? Take my letter of recommendation to
Priest Pupina
.


Summary
Basic Info
Genome info
Fasta file:
name
Total size:
genomeSize
GC %
:
GC
No.of sequences:
numSeq
Repeat info
Repeat occurrences:
totalRepFreq
Total repeat bases:
totalRepBases
Percent genome covered:
percentGenomeCovered
Repeat classes:
numRepClass
/501
Repeat occurrences per MB:
repDensityByFreq
Repeat bases per MB:
repDensityByBases
Most repeat unit occurrences
Sequence id
Start
End
Repeat class
Length
Strand
Repeat units
Actual repeat
Longest repeat occurrences
Sequence id
Start
End
Repeat class
Length
Strand
Repeat units
Actual repeat
Repeat Frequency
Sort Selection
Show
most
least
Repeats
Repeat Selection
Sort by frequency
Sort alphabetically
Repeat Distribution
Data type
Frequency
Bases covered
Group by length
On
Off
Repeat Selection
Sequence Length vs Frequency
Range
X-axis:
Repeat length
Repeat units
Min :
Max:
Repeat Selection


To build a vertical navigation bar, you can style the a elements inside the list, in addition to the code above:
a


Loganair pulls its Derry to Manchester route after less than six months
SCOTTISH airline Loganair is cutting its daily Derry to Manchester air-link.
The announcement came less than six months after the carrier launched the new route from City of Derry Airport.
Loganair said the daily service will not operate between January and May 2020. A number of flights will be available over the Easter period.
The airline has blamed a slump in demand for the service.
"We apologise for inconvenience to anyone who has already booked travel during this seasonal stop in the service," Loganair's commercial director Kay Ryan told the BBC.
"Our forecasts indicate that bookings will be low over the post-New Year period, so we've taken the decision to take a break on the route from January 5 until May 21, with the exception of some flights at Easter."
Loganair said customers who had already booked flights would be contacted and offered a full refund or a transfer to Manchester from Belfast International or Belfast City airports.


Pictured: Tour leader killed in New Zealand volcano horror as questions are raised over whether tourists should have been allowed onto island – and fears grow for second guide
by Chris Pleasance- Tour guide Hayden Marshall-Inman is the first of at least five people to be killed in the volcano disaster
- Family and friends wait in agony for news of another tour guide, Tipene Maangi, 24, who is still missing
- White Island, located 29 miles off New Zealand's North Island, erupted at 2.11pm local time on Monday
- Five people have been confirmed dead with eight missing and 31 in hospital, some of them critically injured
- Police say there have been 'no signs of life' from the island, and no more survivors are expected to be found
A tour leader was today named among five people killed in a New Zealand volcano disaster, with eight others missing including a second guide, as questions were raised about why tourists were allowed to visit the island.
Hayden Marshall-Inman was confirmed dead by his brother, Mark Inman, who said the victim had 'passed away doing the one thing he loved'.
Mr Marshall-Inman was among 47 people exploring White Island, a tourist island also known as Whakaari, when it erupted with a large plume of ash and steam at 2.11pm on Monday.
Of the 47 tourists, 34 were rescued from the island and 31 of them remain in hospital, some of them critically injured. Five are confirmed dead, leaving eight unaccounted for.
Family and friends have been waiting in agony for news of a second tour guide, Tipene Maangi, 24, who has been working with White Island Tours since September.
His grandmother was among a group of desperate family members waiting at Whakatāne Wharf for an update on possible survivors.
'We're hoping he may have found a cave but knowing him, he would have been helping others before he thought about himself,' she told the New Zealand Herald.
She said her family were still holding out hope that he may be alive.
'We have to, don't we? I haven't been listening to the news at all, I don't want to.'
Footage taken from helicopters showed 'no signs of life', according to New Zealand police, who said they do not expect to find any more survivors.
The disaster immediately raised questions about why tourists were allowed to visit the island, after the volcanic alert level had been raised just weeks earlier.
PM Jacinda Ardern said it was a 'very unpredictable volcano' and said questions about tourism would be 'answered by the appropriate authorities', but said 'for now we're focused on those who are caught up in this horrific event'.
The active volcano, 30 miles off the coast of New Zealand, is a tourist hotspot but has erupted several times before, most recently in 2016.
On November 18, White Island's volcanic alert level was raised to Level 2 on a scale of zero to five after scientists noticed an uptick in volcanic activity.
Level 2 covers 'moderate to heightened volcanic unrest', with warnings of 'potential for eruption hazards', but White Island remained open to tourists.
After the disaster, GeoNet raised its alert to Level 4, but it has since fallen back to three.
'White Island has been a disaster waiting to happen for many years,' said Ray Cas, a professor emeritus at Monash University, in comments published by the Australian Science Media Centre.
'Having visited it twice, I have always felt that it was too dangerous to allow the daily tour groups that visit the uninhabited island volcano by boat and helicopter.'
Judy Turner, mayor of Whakatane, a town on the mainland near White Island, confirmed there had been three eruptions from the volcano and that more activity was 'unpredictable'.
Rescuers have so far been unable to get on to the island due to fears of landslides and further eruptions. Police will now assess whether they can remove bodies from the island on Tuesday.
Police official Bruce Bird said today that a helicopter had scoured the island for 45 minutes to search for survivors, saying: 'We do not believe anybody else has survived that explosion.'
Officers said a New Zealand naval ship will approach the shore and deploy drones and 'observational equipment' to scour the island as soon as the sun comes up.
However, authorities do not expect to find any further survivors. 'Police believe that anyone who could have been taken from the island alive was rescued at the time of the evacuation,' a statement said.
At her news conference on Tuesday morning, Ms Ardern revealed that some of the injured tourists are critically wounded with severe burns.
'To those who have lost or are missing family and friends we share in your unfathomable grief at this moment in time and in your sorrow,' she said.
'Your loved ones stood alongside Kiwis who are hosting you here and we grieve with you and we grieve with them.'
Ms Ardern also praised the 'courageous response' of emergency workers as she explained how some of the tourists had been evacuated.
'It is now clear there were two groups on the island, those who were able to be evacuated and those who were close to the eruption,' she said.
UK prime minister Boris Johnson said tonight he had been in contact with Ms Ardern, offering his 'deepest sympathies' over the 'devastating scenes in New Zealand'.
High commissioner Laura Clarke said her team are offering assistance to the family of two British women hospitalised by the volcanic eruption.
'We are supporting the family of two (UK) women who have been hospitalised in New Zealand,' she wrote on Twitter.
'My team are deploying to offer assistance in person, & we remain in close contact with (NZ) authorities. We will do all we can to help any other Brits who need our help.'
Tony Bonne, former mayor of the nearby town of Whakatane, said that a guide for the White Island Tours company was among those killed. This was later revealed to be Mr Marshall-Inman.
Friends of Mr Marshall-Inman immediately paid tribute to 'the biggest guy with the biggest heart' and said he was 'one of the nicest blokes I'll ever know'.
Another tourist recalled a happy memory of the tour guide, saying 'his kind spirit and warmth was my favourite part of our trip to New Zealand'.
Australian Prime Minister Scott Morrison said 24 Australians were visiting the island at the time of the disaster, while three Britons were also listed among the missing by worried family and friends on the International Committee of the Red Cross website.
Most of the Australians caught up in the disaster are thought to have been passengers on board the Ovation of the Seas cruise liner, which departed Sydney last week.
Speaking earlier on Monday, Ardern said there were 'a number of tourists' from her country and overseas on the island at the time.
'I know there will be a huge amount of anxiety for those who have loved ones on or around the island at the time. I can assure them police are doing everything they can,' Ardern said.
Royal Caribbean, owner of Ovation of the Seas, issued a statement saying the ship would stay in the nearby port of Tauranga overnight 'until we learn more about the situation'.
White Island is New Zealand's most active volcano and had seen its last major eruption in 2001, with smaller events over the years until now.
Twelve people were killed on the island in 1914 when it was being mined for sulphur. Part of a crater wall collapsed and a landslide destroyed the miners' village and the mine itself.
The remains of buildings from another mining enterprise in the 1920s are now a tourist attraction. The island became a private scenic reserve in 1953, and daily tours allow more than 10,000 people to visit every year.
'It was not a particularly big eruption, it was almost like a throat clearing eruption and that's why material probably won't make it to mainland New Zealand,' Dr Ken Gledhill of GeoNet said.
'We can't be certain it won't erupt again in the next 24 hours,' he said. 'In the scheme of things, for volcanic eruptions, it is not large. But if you were close to that, it is not good.'
'A disaster waiting to happen': Experts say tourist trips to White Island volcano were 'too dangerous'
White Island was always 'too dangerous' for the number of tourists visiting the island, experts have said, as they warned of risks of further blasts and landslides.
Emeritus Professor Ray Cas, from Monash University, branded the island - also known by its Maori name Whakaari - 'a disaster waiting to happen for many years'.
'I have always felt that it was too dangerous to allow the daily tour groups that visit the uninhabited island volcano by boat and helicopter,' he said.
In 1914, a small mining community on the island was wiped out after falling rocks weakened by the island's volcanic activity swept through the village.
Mining activity was subsequently banned and the island has been uninhabited now for more than a century, but is a hotspot for tourists hoping to get close to an active volcano.
Large volcanic events such as the White Island eruption can often cause subsequent disasters.
GeoNet, New Zealand's geological hazard information centre, describes White Island as New Zealand's most active cone volcano. Only the top is visible, with around 80 per cent of it underwater.
Rescuers have been unable to visit the island in the wake of the disaster in order to search for survivors and victims, saying it is still too dangerous.
Explaining the dangers, Chris Elders, professor of Geology at Curtin University's School of Earth and Planetary Sciences, told MailOnline: 'This may be a combination of the ash in the atmosphere that would affect any helicopters.
'Also, when you get an eruption like this, the ash deposits very quickly and creates rocks which are extremely unstable.
'Any rainfall, which can be triggered by the ash sent into the atmosphere, could cause a landslide if the unstable rocks come loose.'
A camera of the crater's rim, run by monitoring agency GeoNet, set to take pictures every 10 minutes showed a string of people visiting the crater at 2.10pm on Monday.
The next shot taken, at 2.20pm, was unreadable as the blast had rendered the camera inoperable.
Tourist Michael Schade said he and his family were on the volcano just 20 minutes before it erupted and witnessed the blast as they were leaving the island.
'This is so hard to believe. Our whole tour group were literally standing at the edge of the main crater not 30 minutes before. My thoughts with the families of those currently unaccounted for, the people recovering now, and especially the rescue workers,' he said on Twitter.
'My family and I had gotten off it 20 minutes before, were waiting at our boat about to leave when we saw it. Boat ride home tending to people our boat rescued was indescribable.
'Praying for them and their recovery. Woman my mom tended to was in critical condition but seemed strong by the end. The helicopters on the island looked destroyed.
Allessandro Kauffmann, a Brazilian tourist who was in the first tour group for the morning said his group left the island 'just in time'.
'Some people have extensive burns on their bodies. Two tours on the volcano. Ours was the first. The other one right after. We left the island and wasn't even five minutes before it erupted. This other tour that arrived after couldn't leave in time,' he said in an Instagram post.
Warnings ignored: How persistent tourists travelled to the active volcano against expert advice
By Charlie Moore for Daily Mail Australia
Tourists have been travelling to White Island for years despite warnings from scientists that it could erupt at any time.
Between 2011 and 2016 the volcano to the north of New Zealand's north island - which erupted on Monday - had a period of increased activity but still boatloads of tourists arrived.
Volcanologists at the time refused to step foot on the island because it was too dangerous and warned tourists not to go - but still the boats kept landing.
In recent weeks the volcano has been going through another period of activity but tourism was not stopped.
Last month monitoring outfit GNS Science raised the alert level for the volcano to level two because of increase activity.
'Volcanic unrest continues at Whakaari/White Island and some monitored parameters show further increases in activity,' the agency said.
'Hazards on the island are now greater than during the past few weeks.
'The patterns of signals are similar to those through the 2011 - 2016 period and suggest that Whakaari/White Island may be entering a period where eruptive activity is more likely than normal.'
The deadliest volcanic eruptions in the last 25 years
New Zealand, struck by a deadly volcanic eruption Monday, lies in a zone where Earth's tectonic plates collide, making it a hotspot for earthquakes and volcanic activity.
In one of its worst natural disasters, a huge mass of volcanic debris from the eruption of Mount Ruapehu triggered a mudslide in 1953 that washed away a bridge and caused a passenger train to plunge into a river with the loss of 151 lives.
After Monday's eruption on New Zealand's White Island, here is a recap of some of the deadliest volcanic eruptions around the world in the past 25 years.
- 2018: Indonesia -
In December the Anak Krakatoa volcano, a small island in the Sunda Strait between Java and Sumatra, erupts and a section of its crater collapses, sliding into the ocean and generating a tsunami. More than 420 people are killed and 7,200 wounded.
- 2018: Guatemala -
The June eruption of the Fuego volcano, about 35 kilometres (22 miles) from the capital, unleashes a torrent of mud and ash that wipes the village of San Miguel Los Lotes from the map. More than 200 people are killed.
- 2014: Japan -
The sudden eruption in September of Mount Ontake, in the central Nagano region, kills more than 60 people in Japan's worst volcanic disaster in nearly 90 years. The mountain is packed with hikers at the time. In 1991 an eruption of the southwestern Unzen volcano kills 43.
- 2014: Indonesia -
At least 16 people are killed on the island of Sumatra in February by a spectacular eruption of Mount Sinabung, which had lain dormant for 400 years before roaring back to life five months earlier. In 2016 villages are scorched and farmland devastated after another eruption kills seven.
- 2010: Indonesia -
Indonesia's most active volcano, Mount Merapi on Java island, starts a series of explosions in October, eventually killing more than 320 people. An 1930 eruption of the volcano killed 1,300 people and one in 1994 claimed more than 60 lives.
- 2002: DR Congo -
The eruption in July of Mount Nyiragongo in the eastern Democratic Republic of Congo destroys the centre of Goma town, along with several residential areas, and kills more than 100 people.
- 1997: Montserrat -
The capital of the small British colony, Plymouth, is wiped off the map and 20 are killed or left missing in avalanches of hot rock and ash clouds when the Montserrat volcano erupts in June.
- 1995: The Philippines -
At least 70 are killed and another 30 missing after the crater of the Parker volcano in the south of the island of Mindanao collapses. Five years earlier the eruption of Mount Pinatubo, 80 kilometres north of the capital Manila, kills more than 800 people.
- Worst ever -
The explosion of Indonesia's Krakatoa volcano in 1883 is considered the worst ever seen. The eruption sent a jet of ash, stones and smoke shooting more than 20 kilometres (12 miles) into the sky, plunging the region into darkness, and sparking a huge tsunami that was felt around the world. The disaster killed more than 36,000 people.
The most famous eruption in history is that of Mount Vesuvius in modern-day Italy in 79 AD, which destroyed the towns of Herculaneum, Stabiae and Pompeii, wiping out an estimated 10 percent of the population of the three cities.


History of user: 29 y/o female. Experimented with a variety of psychoactive agents in college (LSD, mushrooms, ecstasy, ketamine, cocaine, marijuana, etc.) both recreationally and as psychoactive growth opportunities.
Currently: Sitting in my bedroom alone with feelings of anxiety, restlessness, inability to concentrate/sleep, racing thoughts, mild panic, doubt, worry and fear following the death of my father. Researched web and found dosage commonly used to induce sleep and anti-anxiety. Generally dislike pharmaceuticals of any kind (and very rarely take them), but rationalized taking this agent to aid with anxiety and document its effects for scientific and experiential purposes. Reported onset of action for oral doses is considered “rapid” by may take 30-45 minutes, of which I will document.
12:30am Ingested two 1mg tablets lorazepam. Immediately felt a sense of calm.
12:35am Feeling a heaviness in the head and mind. When I close my eyes, there is a sense of stillness as if I could sit here for a long time. There is no urgency to keep moving. During anxiety, the thoughts of the mind are like a million people with a million voices constantly at battle. Now, as multiple thoughts arise, they are pushed down by another force that does not let the thoughts arise in the first place. Yet, it allows for a single thought to be heard – as I am still able to write this.
12:40 The body is heavy, slower and slightly uncoordinated. It takes deliberateness to complete a bodily action. Pulse rate is 68bpm. Breathing feels slow at 7 breathes/minutes.
12:50 Becoming distracted with other things on the internet. Feeling some pressure in my head like a headache. Feel guilty about taking the medicine in the first place. Wondering if I just poisoned myself – how does my body feel that I just gave it a drug to alter its sensations? Was that ultimately helpful or not helpful? Was there any underlying issue I was trying to cover up by using this substance? Or was I just looking to get some sleep tonight?
1:00 Had a thought about relationships – how the people that I loved, never seemed to like me much and the people that loved me, I didn’t care for that much. I am wondering if balance can be found in the universe.
1:05 Decided to try standing and walking around the room. The movements were like walking through thick air. I saw a shadow on the wall and immediately wanted to capture the shadow so I taped (clumsily) up some paper to trace the shadow on, but the mere act of adding paper to the wall, changed the shadow and then I became aware that I, as the shadow capturer, became another element in the shadow, light, reflective surfaces. I could not capture it unadulterated. I tried to press the paper down so it would be MORE real (more like what I had seen) but ultimately, it was not the same. My participation has changed the outcome. I thought about relationships like that – where one person pushes the other person back to what they thought they saw. I was disappointed that my drawing of the shadow was not what I had originally seen, but delighted to realize nothing can be acted on without change.
1:15 More difficulty in typing. Head feeling more heavy, like thick mud. Decided to go to sleep.
1:30am Laying in bed and looking at the room in dim light. Arrangements of furniture seem to come alive with a pulse. It’s as if all the mental activity has now been projected into the room – the room objects are moving instead of the internal mindscape. I can visually see the mind’s movements. Objects rotate on one axis so side-to-side or up-and-down or rotate on a pivot. The furniture resembles stuffed animal like-creatures and looks as if it is coming toward me, but I know I am safe in bed. I sleep soundly.
1:30pm Next day out of bed – missed three alarms. Still feel heavy and woozy. The half live of this agent is 11-18 hours so I am not surprised.
3:30pm Still feeling disoriented and sluggish.
I imagine many of the effects/feelings/experiences above can be paralleled with meditation and the next time I have similar feelings, I will document the use of meditation and compare its effects with lorazepam.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


In this IPython notebook, we will cover more advanced aspects of the
TensorGraph
framework. In particular, we will demonstrate how to
share weights between layers and show how to use DataBag
to reduce
the amount of overhead needed to train complex TensorGraph
models.
 Let’s call these feature inputs left_features
and
right_features
.
from deepchem.models.tensorgraph.layers import Feature
left_features = Feature(shape=(None, 75))
right_features = Feature(shape=(None, 75))
Let’s now apply a nonlinear transformation to both left_features
and
right_features
. We can use the Dense
layer to do so. In
addition, let’s make sure that we apply the same nonlinear
transformation to both left_features
and right_features
. To
this, we can use the Layer.shared()
. We use this method by
initializing a first Dense
layer, and then calling the
Layer.shared()
method to make a copy of that layer.
from deepchem.models.tensorgraph.layers import Dense
dense_left = Dense(out_channels=1, in_layers=[left_features])
dense_right = dense_left.shared(in_layers=[right_features])
Let’s now combine these two transformed feature layers by addition. We
will assume this network is being used to solve a regression problem, so
we will introduce a Label
that stores the true regression values. We
can then define the objective function of the network via the L2Loss
between the added output and the true label.
from deepchem.models.tensorgraph.layers import Add
from deepchem.models.tensorgraph.layers import Label
from deepchem.models.tensorgraph.layers import L2Loss
from deepchem.models.tensorgraph.layers import ReduceMean
output = Add(in_layers=[dense_left, dense_right])
tg.add_output(output)
labels = Label(shape=(None, 1))
batch_loss = L2Loss(in_layers=[labels, output])
# Need to reduce over the loss
loss = ReduceMean(in_layers=batch_loss)
tg.set_loss(loss)
Let’s now randomly sample an artificial dataset we can use to train this
architecture. We will need to sample the left_features
,
right_features
, and labels
in order to be able to train the
network.
import numpy as np
import numpy.random
n_samples = 100
sampled_left_features = np.random.rand(100, 75)
sampled_right_features = np.random.rand(100, 75)
sampled_labels = np.random.rand(75, 1)
How can we train TensorGraph
networks with multiple Feature
inputs? One option is to manually construct a python generator that
provides inputs. The tutorial notebook on graph convolutions does this
explicitly. For simpler cases, we can use the convenience object
DataBag
which makes it easier to construct generators. A DataBag
holds multiple datasets (added via DataBag.add_dataset
). The method
DataBag.iterbatches()
will construct a generator that peels off
batches of the desired size from each dataset and return a dictionary
mapping inputs (Feature
, Label
, and Weight
objects) to data
for that minibatch. Let’s see DataBag
in action.
Note that we will need to wrap our sampled Numpy arrays with
NumpyDataset
objects for our call to work.
from deepchem.data.datasets import Databag
from deepchem.data.datasets import NumpyDataset
databag = Databag()
databag.add_dataset(left_features, NumpyDataset(sampled_left_features))
databag.add_dataset(right_features, NumpyDataset(sampled_right_features))
databag.add_dataset(labels, NumpyDataset(sampled_labels))
Let’s now train this architecture! We need to use the method
TensorGraph.fit_generator()
passing in a generator created by
databag.iterbatches()
.
tg.fit_generator(
databag.iterbatches(epochs=100, batch_size=50, pad_batches=True))
Ending global_step 200: Average loss 0.472205
TIMING: model fitting took 0.273 s
You should now be able to construct more sophisticated TensorGraph
architectures with relative ease!


{{ post.title }}
{{ post.excerpt }} [...]
The Hawaii Project is a meritocratic, consensus-based community interested in developing the Hawaii system. We believe in the power of Open Source, Free Software and worldwide collaboration as we want to build, share and improve software together and make it available to everyone.
Hawaii aims to offer an excellent user experience with its desktop environment. Instead of forcing you to know every detail of your computer we expect you to turn it on, sit down and just use it.
Hawaii was born to take advantage of QtQuick, Wayland and systemd. Therefore it features a dynamic, flicker free and fast system.
Hawaii was made to look and behave great on every form factor. The user interface is adapted to the needs of the device it is running on, this means that while on desktops you have more elements and a layout optimized for mouse and keyboard interaction, on mobile you can use applications that adapts to the screen resolution and are designed for touch.


--- layout: post title: 趣味のエディタ評価 date: '2009-08-04T04:50:00.000Z' author: tknv tags: - eclipse - Emacs - editra - windows - linux - Xcode - editor - vim - notepad++ - geany - mac modified_time: '2010-08-28T16:06:02.375Z' blogger_id: tag:blogger.com,1999:blog-11459759.post-7957140680499245936 blogger_orig_url: http://phichyudebow.blogspot.com/2009/08/blog-post_04.html ---
Emacs
=> light~heavy,comfortable when know many short-cuts.But no need do it all in Emacs.
Vim
=> light,comfortable,better to know vim when working.
Editra
=> sometime feel heavy,good editor.
Geany
=> light,good editor.
notepad++
=> light,good editor for windows
Eclipse
=> Heavy,nice editor on super machine.
Xcode
=> light,nice editor,But only mac


public interface ClientJDBCObjectFactory
| Modifier and Type | Method and Description |
|---|---|
BatchUpdateException |
newBatchUpdateException(LogWriter logWriter,
ClientMessageId msgid,
Object[] args,
long[] updateCounts,
SqlException cause)
Creates a BatchUpdateException depending on the JVM level.
|
LogicalConnection |
newCachingLogicalConnection(ClientConnection physicalConnection,
ClientPooledConnection pooledConnection,
JDBCStatementCache stmtCache)
Returns an instance of a
CachingLogicalConnection , which
provides caching of prepared statements. |
ClientCallableStatement |
newCallableStatement(Agent agent,
ClientConnection connection,
String sql,
int type,
int concurrency,
int holdability,
ClientPooledConnection cpc)
Returns an instance of ClientCallableStatement,
ClientCallableStatement40 or ClientCallableStatement42 which
all implement java.sql.CallableStatement.
|
ClientPooledConnection |
newClientPooledConnection(BasicClientDataSource40 ds,
LogWriter logWriter,
String user,
String password)
This method is used to return an instance of the
ClientPooledConnection class which
implements javax.sql.PooledConnection . |
ClientXAConnection |
newClientXAConnection(BasicClientDataSource40 ds,
LogWriter logWriter,
String user,
String password)
This method is used to return an instance of
ClientXAConnection (or ClientXAConnection40) class which
implements
javax.sql.XAConnection . |
ColumnMetaData |
newColumnMetaData(LogWriter logWriter)
Returns an instanceof ColumnMetaData or ColumnMetaData40 depending
on the jdk version under use
|
ColumnMetaData |
newColumnMetaData(LogWriter logWriter,
int upperBound)
Returns an instanceof ColumnMetaData or ColumnMetaData40 depending
on the jdk version under use
|
LogicalCallableStatement |
newLogicalCallableStatement(CallableStatement cs,
StatementKey stmtKey,
StatementCacheInteractor cacheInteractor)
Returns a new logical callable statement object.
|
LogicalConnection |
newLogicalConnection(ClientConnection physicalConnection,
ClientPooledConnection pooledConnection)
Returns an instance of LogicalConnection.
|
LogicalPreparedStatement |
newLogicalPreparedStatement(PreparedStatement ps,
StatementKey stmtKey,
StatementCacheInteractor cacheInteractor)
Returns a new logical prepared statement object.
|
ClientConnection |
newNetConnection(LogWriter logWriter,
int driverManagerLoginTimeout,
String serverName,
int portNumber,
String databaseName,
Properties properties)
This method returns an instance of NetConnection (or NetConnection40)
class which extends from ClientConnection
this implements the java.sql.Connection interface
|
ClientConnection |
newNetConnection(LogWriter logWriter,
String user,
String password,
BasicClientDataSource40 dataSource,
int rmId,
boolean isXAConn)
This method returns an instance of NetConnection (or
NetConnection40) class which extends from ClientConnection.
|
ClientConnection |
newNetConnection(LogWriter logWriter,
String user,
String password,
BasicClientDataSource40 dataSource,
int rmId,
boolean isXAConn,
ClientPooledConnection cpc)
This method returns an instance of NetConnection (or NetConnection40)
class which extends Connection.
|
ClientDatabaseMetaData |
newNetDatabaseMetaData(Agent netAgent,
ClientConnection netConnection)
This method provides an instance of NetDatabaseMetaData (or
NetDatabaseMetaData40) which extends from ClientDatabaseMetaData
which implements
java.sql.DatabaseMetaData . |
ClientResultSet |
newNetResultSet(Agent netAgent,
MaterialStatement netStatement,
Cursor cursor,
int qryprctyp,
int sqlcsrhld,
int qryattscr,
int qryattsns,
int qryattset,
long qryinsid,
int actualResultSetType,
int actualResultSetConcurrency,
int actualResultSetHoldability)
This method returns an instance of NetResultSet(or
NetResultSet40) which extends from ClientResultSet which implements
java.sql.ResultSet . |
ClientParameterMetaData |
newParameterMetaData(ColumnMetaData columnMetaData)
returns an instance of ParameterMetaData or ParameterMetaData40 depending
on the jdk version under use
|
ClientPreparedStatement |
newPreparedStatement(Agent agent,
ClientConnection connection,
String sql,
int type,
int concurrency,
int holdability,
int autoGeneratedKeys,
String[] columnNames,
int[] columnIndexes,
ClientPooledConnection cpc)
Returns an instance of PreparedStatement (or
PreparedStatement40) which implements
java.sql.PreparedStatement . |
ClientPreparedStatement |
newPreparedStatement(Agent agent,
ClientConnection connection,
String sql,
Section section,
ClientPooledConnection cpc)
This method returns an instance of PreparedStatement
(or PreparedStatement40) which implements
java.sql.PreparedStatement . |
ClientStatement |
newStatement(Agent agent,
ClientConnection connection,
int type,
int concurrency,
int holdability,
int autoGeneratedKeys,
String[] columnNames,
int[] columnIndexes)
This method provides an instance of Statement or Statement40
depending on the jdk version under use
|
ClientPooledConnection newClientPooledConnection(BasicClientDataSource40 ds, LogWriter logWriter, String user, String password) throws SQLException
ClientPooledConnection
class which
implements javax.sql.PooledConnection
.SQLException
ClientXAConnection newClientXAConnection(BasicClientDataSource40 ds, LogWriter logWriter, String user, String password) throws SQLException
javax.sql.XAConnection
.SQLException
ClientCallableStatement newCallableStatement(Agent agent, ClientConnection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc) throws SqlException
agent
- The instance of NetAgent associated with this
CallableStatement object.connection
- The connection object associated with this
PreparedStatement Object.sql
- A String object that is the SQL statement to be sent
to the database.type
- One of the ResultSet type constantsconcurrency
- One of the ResultSet concurrency constantsholdability
- One of the ResultSet holdability constantscpc
- The PooledConnection object that will be used to
notify the PooledConnection reference of the Error
Occurred and the Close events.SqlException
LogicalConnection newLogicalConnection(ClientConnection physicalConnection, ClientPooledConnection pooledConnection) throws SqlException
java.sql.Connection
.SqlException
LogicalConnection newCachingLogicalConnection(ClientConnection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache) throws SqlException
CachingLogicalConnection
, which
provides caching of prepared statements.physicalConnection
- the underlying physical connectionpooledConnection
- the pooled connectionstmtCache
- statement cacheSqlException
- if creation of the logical connection failsClientPreparedStatement newPreparedStatement(Agent agent, ClientConnection connection, String sql, Section section, ClientPooledConnection cpc) throws SqlException
java.sql.PreparedStatement
.
It has the ClientPooledConnection
as one of its parameters
this is used to raise the Statement Events when the prepared
statement is closedagent
- The instance of NetAgent associated with this
CallableStatement object.connection
- The connection object associated with this
PreparedStatement Object.sql
- A String object that is the SQL statement to be sent
to the database.section
- Sectioncpc
- The ClientPooledConnection wraps the underlying physical
connection associated with this prepared statement.
It is used to pass the Statement closed and the Statement
error occurred events that occur back to the
ClientPooledConnection.SqlException
ClientPreparedStatement newPreparedStatement(Agent agent, ClientConnection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc) throws SqlException
java.sql.PreparedStatement
.
It has the ClientPooledConnection as one of its parameters
this is used to raise the Statement Events when the prepared
statement is closedagent
- The instance of NetAgent associated with this
CallableStatement object.connection
- The connection object associated with this
PreparedStatement Object.sql
- A String object that is the SQL statement
to be sent to the database.type
- One of the ResultSet type constants.concurrency
- One of the ResultSet concurrency constants.holdability
- One of the ResultSet holdability constants.autoGeneratedKeys
- a flag indicating whether auto-generated
keys should be returned.columnNames
- an array of column names indicating the columns that
should be returned from the inserted row or rows.columnIndexes
- an array of column indexes indicating the columns
that should be returned form the inserted row.cpc
- The ClientPooledConnection wraps the underlying physical
connection associated with this prepared statement
it is used to pass the Statement closed and the Statement
error occurred events that occur back to the
ClientPooledConnection.SqlException
LogicalPreparedStatement newLogicalPreparedStatement(PreparedStatement ps, StatementKey stmtKey, StatementCacheInteractor cacheInteractor)
ps
- underlying physical prepared statementstmtKey
- key for the underlying physical prepared statementcacheInteractor
- the statement cache interactorLogicalCallableStatement newLogicalCallableStatement(CallableStatement cs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor)
cs
- underlying physical callable statementstmtKey
- key for the underlying physical callable statementcacheInteractor
- the statement cache interactorClientConnection newNetConnection(LogWriter logWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties) throws SqlException
SqlException
ClientConnection newNetConnection(LogWriter logWriter, String user, String password, BasicClientDataSource40 dataSource, int rmId, boolean isXAConn) throws SqlException
java.sql.Connection
interface.SqlException
ClientConnection newNetConnection(LogWriter logWriter, String user, String password, BasicClientDataSource40 dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc) throws SqlException
java.sql.Connection
interface.
This method is used to pass the ClientPooledConnection
object to the NetConnection object which can then be used to pass the
statement events back to the userlogWriter
- LogWriter object associated with this connectionuser
- user id for this connectionpassword
- password for this connectiondataSource
- The DataSource object passed from the PooledConnection
object from which this constructor was calledrmId
- The Resource Manager ID for XA ConnectionsisXAConn
- true if this is a XA connectioncpc
- The ClientPooledConnection object from which this
NetConnection constructor was called. This is used
to pass StatementEvents back to the pooledConnection
objectSqlException
ClientResultSet newNetResultSet(Agent netAgent, MaterialStatement netStatement, Cursor cursor, int qryprctyp, int sqlcsrhld, int qryattscr, int qryattsns, int qryattset, long qryinsid, int actualResultSetType, int actualResultSetConcurrency, int actualResultSetHoldability) throws SqlException
java.sql.ResultSet
.SqlException
ClientDatabaseMetaData newNetDatabaseMetaData(Agent netAgent, ClientConnection netConnection)
java.sql.DatabaseMetaData
.ClientStatement newStatement(Agent agent, ClientConnection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes) throws SqlException
agent
- Agentconnection
- Connectiontype
- intconcurrency
- intholdability
- intautoGeneratedKeys
- intcolumnNames
- String[]columnIndexes
- int[]java.sql.Statement
implementationSqlException
ColumnMetaData newColumnMetaData(LogWriter logWriter)
logWriter
- LogWriterColumnMetaData newColumnMetaData(LogWriter logWriter, int upperBound)
logWriter
- LogWriterupperBound
- intClientParameterMetaData newParameterMetaData(ColumnMetaData columnMetaData)
columnMetaData
- ColumnMetaDataBatchUpdateException newBatchUpdateException(LogWriter logWriter, ClientMessageId msgid, Object[] args, long[] updateCounts, SqlException cause)
Copyright © 2016. All rights reserved.


|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
This basic function of this class is to return a Method object for a particular class given the name of a method and the parameters to the method in the form of an Object[] The first time the Introspector sees a class it creates a class method map for the class in question. Basically the class method map is a Hastable where Method objects are keyed by a concatenation of the method name and the names of classes that make up the parameters. For example, a method with the following signature: public void method(String a, StringBuffer b) would be mapped by the key: "method" + "java.lang.String" + "java.lang.StringBuffer" This mapping is performed for all the methods in a class and stored for
| Field Summary | |
|---|---|
| string |
CACHEDUMP_MSG
define a public string so that it can be looked for if interested |
| Fields inherited from class NVelocity.Util.Introspection.IntrospectorBase |
|---|
| cachedClassNames, classMethodMaps |
| Constructor Summary | |
|---|---|
|
Introspector(NVelocity.Runtime.RuntimeServices r) Recieves our RuntimeServices object |
| Method Summary | |
|---|---|
| void |
clearCache() Clears the classmap and classname caches, and logs that we did so |
| System.Reflection.MethodInfo |
getMethod(System.Type c, string name, object[] params_Renamed) Gets the method defined by nameand paramsfor the Class c. |
| System.Reflection.PropertyInfo |
getProperty(System.Type c, string name) Gets the method defined by nameand paramsfor the Class c. |
| Methods inherited from class NVelocity.Util.Introspection.IntrospectorBase |
|---|
| createClassMap |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Field Detail |
|---|
public string CACHEDUMP_MSG
define a public string so that it can be looked for if interested
| Constructor Detail |
|---|
public Introspector(NVelocity.Runtime.RuntimeServices r)
Recieves our RuntimeServices object
| Method Detail |
|---|
protected internal void clearCache()
Clears the classmap and classname caches, and logs that we did so
public System.Reflection.MethodInfo getMethod(System.Type c, string name, object[] params_Renamed)
Gets the method defined by
nameand
paramsfor the Class
c.
Parameters:
c
- Class in which the method search is taking place
name
- Name of the method being searched for
params
- An array of Objects (not Classes) that describe the
the parameters
public System.Reflection.PropertyInfo getProperty(System.Type c, string name)
Gets the method defined by
nameand
paramsfor the Class
c.
Parameters:
c
- Class in which the method search is taking place
name
- Name of the method being searched for
params
- An array of Objects (not Classes) that describe the
the parameters
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |


ABC Toys
Making learning fun
Products
Click on the button to toggle between showing and hiding content.
This page shows a list of 5 toys with picture and description. This list is collapsible so the viewer can open it by the tab of the toy. The icon image, the "information" icon, located on the tabs can provide more information.
'VTech Explore & Write Activity Desk, Blue'
'LeapFrog Epic Academy Edition, Green'
'LeapFrog 2-in-1 LeapTop Touch'
'VTech Write & Learn Creative Center , Multicolor'
'B toys Zany Zoo Wooden Activity Cube'


This text is displayed if your browser does not support HTML5 Canvas.
This text is displayed if your browser does not support HTML5 Canvas.


| |
Methods defined here:
- readFEN(file)
- Read a game in FEN from a files and return the board of this game
Example: readFEN("file.txt") read file.txt and return the correspounding board
PARAM file{String} --> the name of the file
RETURN {chess.Board} --> the board of the game
- readPGN(file)
- Read a game in PGN from a files and return the board of this game,the white name, the black name and the result of the game
Example: readPGN("file.txt") read file.txt
PARAM file{String} --> the name of the file
RETURN {[chess.Board,String,String,String]} --> the board, and headers for black, white, result
- saveFEN(board, file)
- Save the board of the game in a file in FEN and return true if the save is done
Example: saveFEN(board,"file.txt") save the game in FEN format in file.txt
PARAM board{chess.Board} --> the board of the game
PARAM file{String} --> the name of the file
RETURN {Boolean}
- savePGN(moveList, file, color, Result='*')
- Save a game in PGN from a moveList
Example: savePGN(["a2a4","a7a5","d2d4","h7h5","b2b4","c7c5"],1,"file.txt") save the game in pgn format in file.txt
PARAM Result{String} -->values: 1-0 (White won), 0-1 (Black won), 1/2-1/2 (Draw), or * (other, e.g., the game is ongoing)
PARAM moveList{List(String)} --> list of the moves made in the game
PARAM color{Int} --> the color used by the player, 0 if he is white,1 if he is black
RETURN {Boolean} --> return True if the save is done, false else
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|


The Latest: Atty: Man says messages weren’t meant as threats
by Associated PressBUFFALO, N.Y. (AP) — The Latest on the sentencing of a New York man convicted of leaving menacing phone messages for two Republican members of Congress (all times local):
9:40 p.m.
A lawyer assisting a western New York man sentenced to five years in prison for voicemails he left for two Republican members of Congress says the man maintains his messages weren’t meant as threats.
Carlos Bayon was sentenced Thursday in federal court in Buffalo.
He was convicted in August of threatening Reps. Steve Scalise of Louisiana and Cathy McMorris Rodgers of Washington.
Prosecutors say the voicemails included threats to “feed them lead” and warned that they “will pay.”
Bayon has been representing himself, with lawyer Patrick Brown appointed to assist him. Brown says Bayon argues he chose provocative language to draw attention to the separation of families under Trump administration immigration policy.
Scalise spokeswoman Lauren Fine says the congressman is grateful to law enforcement and the courts “for ensuring that justice was served.”
___
7:30 p.m.
A western New York man convicted of leaving menacing phone messages for two Republican members of Congress has been sentenced to five years in prison.
U.S. Attorney James Kennedy Jr. announced Carlos Bayon’s sentence Thursday.
The 64-year-old Bayon has been representing himself. A message was sent to a lawyer who was appointed to assist him and filed notice Thursday of a planned appeal.
Prosecutors say Bayon left threatening voicemails last year for Reps. Steve Scalise of Louisiana and Cathy McMorris Rodgers of Washington. Authorities said they found Bayon had a loaded rifle, 150 rounds of ammunition and books on bomb-making.
Bayon admitted leaving the messages but said he sought only to communicate outrage about Trump administration immigration and family separation policies.
A federal jury in Buffalo convicted Bayon in August.


@@include('../layouts/head.html', { "title": "winner page" }) @@include('../layouts/styles.html')
we have the winners
Draw Number: 0001
Title: $200 Coles Gift Voucher
Winner: J East Oxley 4075
Competition Close Date: 2016-09-30


Countdown {{data.title}} {{days}} Days {{hours}} Hours {{minutes}} Minutes {{seconds}} Seconds Remaining


JScrewIt
JScrewIt converts plain JavaScript into JSFuck code, which consists of only six different
characters: !
(
)
+
[
]
Use the form below to encode your script. To encode a number or plain string, type it in as you would in JavaScript, e.g. 6.6743e-11 or "Hello, World!".


I am a passionate computer science student experienced in web development with an eagerness to learn new technologies. I appreciate good design and I'm seeing it's importance more then ever in todays apps and web sites.
Developed a Google Chrome extension that adds a new trip cost feature to Google Maps. FuelPlan retrieves gas prices and fuel mileage based on vehicle selection and displays a calculated trip cost when searching for directions on Google Maps.
Built and designed a web version of the game connect four. Added online multiplayer functionality by developing a RESTful API using PHP and MySQL.
GPA: 3.9


Parth Gada
Developer
Portfolio
About
Contact
How to lock folder in Windows 7/8/10
Download the Locker.bat file
From Here
Open the bat file with notepad
Replace 'parth12345' with your password.
Thats it! You run the batch program and a new folder is created


A Menu allows you to provide a selection of options that appear when the menu button is pressed on device. The Menu is created by the method Titanium.UI.Android.OptionMenu.createMenu
Methods
Methods
add a menu item. Items will be displayed in the menu based on insertion order.
Arguments
| menuitem | [object] | the menu item to add. Must be a Titanium.UI.Android.OptionMenu.MenuItem. |
Return Type
void
add an event listener for the instance to receive view triggered events
Arguments
| name | [string] | name of the event |
| callback | [function] | callback function to invoke when the event is fired |
Return Type
void
fire a synthesized event to the views listener
Arguments
| name | [string] | name of the event |
| event | [object] | event object |
Return Type
void


|
robot_fingers
|
Combined frontend for the TriFinger Platform. More...
#include <trifinger_platform_frontend.hpp>
Public Member Functions | |
| TriFingerPlatformFrontend (robot_interfaces::TriFingerTypes::BaseDataPtr robot_data, std::shared_ptr< robot_interfaces::SensorData< CameraObservation >> camera_data) | |
| Initialize with data instances for all internal frontends. More... | |
| TriFingerPlatformFrontend () | |
| Initialize with default data instances. More... | |
| time_series::Index | append_desired_action (const Action &desired_action) |
| Append a desired robot action to the action queue. More... | |
| RobotObservation | get_robot_observation (const time_series::Index &t) const |
| Get robot observation of the time step t. More... | |
| Action | get_desired_action (const time_series::Index &t) const |
| Get desired action of time step t. More... | |
| Action | get_applied_action (const time_series::Index &t) const |
| Get actually applied action of time step t. More... | |
| RobotStatus | get_robot_status (const time_series::Index &t) const |
| Get robot status of time step t. More... | |
| time_series::Timestamp | get_timestamp_ms (const time_series::Index &t) const |
| Get timestamp (in milliseconds) of time step t. More... | |
| time_series::Index | get_current_timeindex () const |
| Get the current time index. More... | |
| void | wait_until_timeindex (const time_series::Index &t) const |
| Wait until time step t. More... | |
| CameraObservation | get_camera_observation (const time_series::Index t) const |
| Get camera images of time step t. More... | |
Private Member Functions | |
| template<typename FrontendType > | |
| time_series::Index | find_matching_timeindex (const FrontendType &other_frontend, const time_series::Index t_robot) const |
| Find time index of frontend that matches with the given robot time index. More... | |
Private Attributes | |
| robot_interfaces::TriFingerTypes::Frontend | robot_frontend_ |
| robot_interfaces::SensorFrontend< CameraObservation > | camera_frontend_ |
Combined frontend for the TriFinger Platform.
This class combines the frontends for robot, cameras and object tracking in one class using unified time indices.
Internally the different frontends all have their own time indices which are unrelated to each other. In this combined class, the time index used is the one that belongs to the robot frontend. When accessing observations of the other frontends, it also takes this index t and internally matches it to the time index t_o that was active in the other frontend at the time of t.
| robot_fingers::TriFingerPlatformFrontend::TriFingerPlatformFrontend | ( | robot_interfaces::TriFingerTypes::BaseDataPtr | robot_data, |
| std::shared_ptr< robot_interfaces::SensorData< CameraObservation >> | camera_data | ||
| ) |
Initialize with data instances for all internal frontends.
| robot_data | RobotData instance used by the robot frontend. |
| object_tracker_data | ObjectTrackerData instance used by the object tracker frontend. |
| camera_data | SensorData instance, used by the camera frontend. |
| robot_fingers::TriFingerPlatformFrontend::TriFingerPlatformFrontend | ( | ) |
Initialize with default data instances.
Creates for each internal frontend a corresponding mutli-process data instance with the default shared memory ID for the corresponding data type.
| time_series::Index robot_fingers::TriFingerPlatformFrontend::append_desired_action | ( | const Action & | desired_action | ) |
Append a desired robot action to the action queue.
|
inlineprivate |
Find time index of frontend that matches with the given robot time index.
The given time index t_robot refers to the robot data time series. To provide the correct observation from the other frontend for this time step, find the highest time index t_other of the other frontend where
timestamp(t_other) <= timestamp(t_robot)
Note that this is not always the one that is closest w.r.t. to the timestamp, i.e.
t_other != argmin(|timestamp(t_other) - timestamp(t_robot)|)
The latter would not be deterministic: the outcome could change when called twice with the same t_robot
if a new "other" observation arrived in between the calls.
Options to speed this up: - binary search (?) - estimate time step size based on last observations - store matched indices of last call Note, however, that `t_robot` is very likely the latest time index in most cases. In this case the match for `t_other` will also be the latest index of the corresponding time series. In this case, the complexity is O(1). So even when implementing a more complex search algorithm, the first candidate for `t_other` that is checked should always be the latest one.
| FrontendType | Type of the frontend. This is templated so that the same implementation can be used for both camera and object tracker frontend. |
| other_frontend | The frontend for which a matching time index needs to be found. |
| t_robot | Time index of the robot frontend. |
| TriFingerPlatformFrontend::Action robot_fingers::TriFingerPlatformFrontend::get_applied_action | ( | const time_series::Index & | t | ) | const |
Get actually applied action of time step t.
| TriFingerPlatformFrontend::CameraObservation robot_fingers::TriFingerPlatformFrontend::get_camera_observation | ( | const time_series::Index | t | ) | const |
Get camera images of time step t.
| t | Time index of the robot time series. This is internally mapped to the corresponding time index of the camera time series. |
| time_series::Index robot_fingers::TriFingerPlatformFrontend::get_current_timeindex | ( | ) | const |
Get the current time index.
| TriFingerPlatformFrontend::Action robot_fingers::TriFingerPlatformFrontend::get_desired_action | ( | const time_series::Index & | t | ) | const |
Get desired action of time step t.
| TriFingerPlatformFrontend::RobotObservation robot_fingers::TriFingerPlatformFrontend::get_robot_observation | ( | const time_series::Index & | t | ) | const |
Get robot observation of the time step t.
| TriFingerPlatformFrontend::RobotStatus robot_fingers::TriFingerPlatformFrontend::get_robot_status | ( | const time_series::Index & | t | ) | const |
Get robot status of time step t.
| time_series::Timestamp robot_fingers::TriFingerPlatformFrontend::get_timestamp_ms | ( | const time_series::Index & | t | ) | const |
Get timestamp (in milliseconds) of time step t.
| void robot_fingers::TriFingerPlatformFrontend::wait_until_timeindex | ( | const time_series::Index & | t | ) | const |
Wait until time step t.


Maintenance
Sorry, there should be something wrong with our platform. We will be back soon.
{{error_message}}


|
lubyk
0.5
|
Profiling data. Times are in milliseconds. More...
#include <b2TimeStep.h>
Public Attributes | |
| float32 | step |
| float32 | collide |
| float32 | solve |
| float32 | solveInit |
| float32 | solveVelocity |
| float32 | solvePosition |
| float32 | broadphase |
| float32 | solveTOI |
Profiling data. Times are in milliseconds.
Definition at line 25 of file b2TimeStep.h.
Definition at line 33 of file b2TimeStep.h.
Definition at line 28 of file b2TimeStep.h.
Definition at line 29 of file b2TimeStep.h.
Definition at line 30 of file b2TimeStep.h.
Definition at line 32 of file b2TimeStep.h.
Definition at line 34 of file b2TimeStep.h.
Definition at line 31 of file b2TimeStep.h.
Definition at line 27 of file b2TimeStep.h.


A Pirate's Guide to the Galaxy
Hello, my name is Keyuna and I go to the Haringey Pirates. Every week in the lockdown I do the Literacy Pirates writing challenges, and for this project we have invented our own planets and described how they are. I hope you enjoy listening to them!
Welcome to A Pirate's Guide to The Galaxy, a place where you can explore imaginary worlds without even leaving your chair! Each planet has been invented and described by a participant of The Literacy Pirates who were asked to write and record pieces that would help transport their listener to a far away place where they could feel calm and relaxed. Click on the video below to hear children's author Konnie Huq tell us more about the project.
Check out the Literacy Pirates Writing Challenge.


This package contains functions to operate on colors. Note, a color is represented as a Real array with 3 elements where the elements are the red, green, blue values of the RGB color model. Every element must be in the range 0..255. The type of a color is Real and not Integer in order that a color can be used with less problems in a model, since in a model an Integer type could only be used in a when-clause. Typical declaration of a color value:
Real color[3](each min=0, each max=255);
This definition is also available as type Modelica.Mechanics.MultiBody.Types.RealColor.
| Name | Description |
|---|---|
| ColorMaps | Library of functions returning color maps |
| colorMapToSvg | Save a color map on file in svg (scalable vector graphics) format |
| scalarToColor | Map a scalar to a color using a color map |


Azmin says will pay up if he owes money to travel firm
KUALA LUMPUR, Nov 6 — “If I’m in debt, I will pay; it’s my responsibility,” said Economic Affairs Minister Datuk Seri Mohamed Azmin Ali when asked about reported claims that he owed money to a travel firm that manages his and his family’s travels.
Azmin said this in response to media reports yesterday that a travel agency is taking him to court over RM328,901 in allegedly unpaid travel bills.
“I have not seen the summons writ. I have asked my officers to look into the matter,” he told reporters on the sidelines of the SDG Summit 2019 here today. — Bernama


Path tracing is a realistic lighting algorithm that simulates light bouncing around a scene. This path tracer uses WebGL for realtime performance and supports diffuse, mirrored, and glossy surfaces. The path tracer is continually rendering, so the scene will start off grainy and become smoother over time. Here's how to interact with it:
- Add an object using the "Add Sphere" or "Add Cube" buttons
- Select an object by clicking on it
- Move the selection along the face of its selection box by dragging around on that face
- Delete the selection using the backspace key
- Rotate the camera by dragging the background
Zoom


Package org.drip.analytics.eventday
Class Locale
java.lang.Object
org.drip.analytics.eventday.Locale
public class Locale
extends java.lang.Object
Locale contains the set of regular holidays and the weekend holidays for a location. It also
provides the functionality to add custom holidays and weekends.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Date, Cash Flow, and Cash Flow Period Measure Generation Utilities
- Package = Fixed, Variable, and Custom Holiday Creation
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description Locale()
Construct an empty LocHolidays instance -
Method Summary
Modifier and Type Method Description boolean
addFixedHoliday(int iDay, int iMonth, java.lang.String strDescription)
Add a fixed holiday from the day and monthboolean
addFloatingHoliday(int iWeekInMonth, int iWeekDay, int iMonth, boolean bFromFront, java.lang.String strDescription)
Add a floating holiday from the week in month, the day in week, the month, and whether holidays are calculated from front/back.boolean
addStandardWeekend()
Add the regular SATURDAY/SUNDAY weekendboolean
addStaticHoliday(java.lang.String strDate, java.lang.String strDescription)
Add the given string date as a static holidayboolean
addStaticHoliday(JulianDate dt, java.lang.String strDescription)
Add the given date as a static holidayboolean
addWeekend(int[] aiDays)
Add the array of weekend daysjava.util.Set<Base>
holidays()
Return the set of week day holidaysWeekend
weekendDays()
Return the weekendMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Locale
public Locale()Construct an empty LocHolidays instance
-
-
Method Details
-
addWeekend
public boolean addWeekend(int[] aiDays)Add the array of weekend days- Parameters:
aiDays
- Array of weekend days- Returns:
- Succeeded (true), failure (false)
-
addStandardWeekend
public boolean addStandardWeekend()Add the regular SATURDAY/SUNDAY weekend- Returns:
- Succeeded (true), failure (false)
-
addStaticHoliday
Add the given date as a static holiday- Parameters:
dt
- DatestrDescription
- Description- Returns:
- Succeeded (true), failure (false)
-
addStaticHoliday
public boolean addStaticHoliday(java.lang.String strDate, java.lang.String strDescription)Add the given string date as a static holiday- Parameters:
strDate
- Date stringstrDescription
- Description- Returns:
- Succeeded (true), failure (false)
-
addFixedHoliday
public boolean addFixedHoliday(int iDay, int iMonth, java.lang.String strDescription)Add a fixed holiday from the day and month- Parameters:
iDay
- DayiMonth
- MonthstrDescription
- Description- Returns:
- Succeeded (true), failure (false)
-
addFloatingHoliday
public boolean addFloatingHoliday(int iWeekInMonth, int iWeekDay, int iMonth, boolean bFromFront, java.lang.String strDescription)Add a floating holiday from the week in month, the day in week, the month, and whether holidays are calculated from front/back.- Parameters:
iWeekInMonth
- Week in the MonthiWeekDay
- Day in the weekiMonth
- MonthbFromFront
- Holidays are calculated from the start of the month (True)strDescription
- Description- Returns:
- Succeeded (true), failure (false)
-
weekendDays
Return the weekend- Returns:
- Weekend
-
holidays
Return the set of week day holidays- Returns:
- Set of hoidays
-


NUCE 167 - Risk-Informed Design for Advanced Nuclear Systems (3 Units)
(Taken from the UC Berkeley Course Guide)
Course Overview
Summary
Project-based class for design and licensing of nuclear facilities, including advanced reactors. Elements of a project proposal. Regulatory framework and use of deterministic and probabilistic licensing criteria. Siting criteria. External and internal events. Identification and analysis of design basis and beyond design basis events. Communication with regulators and stakeholders. Ability to work in and contribute to a design team.
Prerequisites
Completion of at least two upper-division engineering courses providing relevant skills: ChemE 150A, ChemE 180, CE 111, CE 120, CE152, CE 166, CE 175, E 120, IEOR 166, IEOR 172, ME 106, ME 109, ME 128, ME 146, NE 120, NE 124, NE 150, NE 161
Fall only
Topics Covered
- Introduce students to the methods and models for event identification, accident analysis, and risk assessment and management for internally and externally initiated events.
- Introduce students to the regulatory requirements for design, construction and operation of nuclear facilities licensed by the U.S. Nuclear Regulatory Commission.
- Introduce students to the safety principles and methods used to design, construct and operate a safe nuclear facility, for a specific site and application.
- Provide a basic understanding of similarities and differences in regulation of nuclear facilities versus other technologies (biotech, commercial aviation, commercial space launch, civil infrastructure).
- Provide a basic understanding the risk-informed design process and an opportunity to experience contributing in a focused area to a design project.
- Provide students with experiential knowledge in developing schedules, allocating work responsibilities, and working in teams.
- Provide students with experiential knowledge in the preparation and evaluation a Safety Analysis Report for meeting USNRC regulatory requirements, including response to Requests for Additional Information (RAIs).
- Develop a broad understanding of safety principles and methods used in design, construction and licensing of nuclear facilities.
- Develop a broad understanding of the U.S. Nuclear Regulatory Commission’s regulatory requirements for nuclear facilities.
- Have awareness of key similarities and differences in regulation of nuclear facilities versus other technologies (biotech, commercial aviation, commercial space launch, civil infrastructure).
- Have awareness of the major topics covered in a Safety Analysis Report (SAR) and experience in developing and writing at least one element of a SAR.
- Have developed experience and skills in communication with the business community, the public, and regulators.
- Have developed experience and skills in establishing a project schedule, allocating work responsibilities, and working in teams.
- Have understanding of application of event identification, event frequency and consequence analysis, risk assessment and management for internally and externally initiated events in the design process.
Workload
Time Commitment
3 hours of lecture per week.
UC Berkeley Course Guide


Incidents
Title
Description
Status
Date submitted
Fire at the petrol station
There is fire at the petros station lalalalalalalalallalalalalalallala long textisadbhf ksadhjfliszhniasdhgpierahgñanvpiu9aerhganfvàiehrg98hgñkadjshg98erhgpiuhgopahgvp9qerhg
OPEN
25/04/2018
Details
Edit


mentioned
by Esmé Cowles at 2020-04-03 17:50:02.subscribed
by Esmé Cowles at 2020-04-03 17:50:02.mentioned
by Trey Pendragon at 2020-04-03 17:50:03.subscribed
by Trey Pendragon at 2020-04-03 17:50:03.mentioned
by David Platt at 2020-04-03 17:50:03.subscribed
by David Platt at 2020-04-03 17:50:03.referenced
by Trey Pendragon at 2020-04-02 23:12:32.merged
by Trey Pendragon at 2020-04-02 23:12:32.closed
by Trey Pendragon at 2020-04-02 23:12:32.head_ref_deleted
by Trey Pendragon at 2020-04-02 23:12:35.labeled
by Esmé Cowles at 2020-04-03 17:03:29.Pretty sure this is a test order issue. When https://github.com/pulibrary/figgy/blob/002435aba00cdd481d73971c5140be1c2d345d87/spec/services/orangelight_reindexer_spec.rb runs the env gets set here: https://github.com/pulibrary/figgy/blob/002435aba00cdd481d73971c5140be1c2d345d87/app/services/orangelight_reindexer.rb#L17
Then it's occasionally still set when the orangelighteventgenerator test runs.
assigned
by None at 2020-04-03 15:48:42.referenced
by None at 2020-04-03 16:17:28.closed
by Trey Pendragon at 2020-04-03 17:32:32.referenced
by Trey Pendragon at 2020-04-03 17:32:32.merged
by Trey Pendragon at 2020-04-03 17:32:32.closed
by Trey Pendragon at 2020-04-03 17:32:32.head_ref_deleted
by Trey Pendragon at 2020-04-03 17:32:48.closed
by Trey Pendragon at 2020-04-03 17:34:57.@hackmastera Good point — I added similar support for PNG to the VIPS derivative service.
head_ref_force_pushed
by Esmé Cowles at 2020-04-03 12:18:46.mentioned
by None at 2020-04-03 15:33:18.subscribed
by None at 2020-04-03 15:33:18.referenced
by Trey Pendragon at 2020-04-03 17:34:57.merged
by Trey Pendragon at 2020-04-03 17:34:57.closed
by Trey Pendragon at 2020-04-03 17:34:57.head_ref_deleted
by Trey Pendragon at 2020-04-03 17:35:00.@kevinreiss will disable hathiTrust on the getit.princeton.edu
closed
by Christina Chortaria at 2020-04-02 22:21:03.mentioned
by Kevin Reiss at 2020-04-02 22:21:03.subscribed
by Kevin Reiss at 2020-04-02 22:21:03.closed
by None at 2020-04-02 22:44:30.ready_for_review
by Christina Chortaria at 2020-04-02 22:18:15.review_requested
by Christina Chortaria at 2020-04-02 22:18:45.referenced
by None at 2020-04-02 22:44:30.merged
by None at 2020-04-02 22:44:30.closed
by None at 2020-04-02 22:44:30.head_ref_force_pushed
by None at 2020-04-03 12:35:36.head_ref_force_pushed
by None at 2020-04-03 12:38:24.renamed
by Christina Chortaria at 2020-04-03 12:54:57.related to #1994
We decided to turn off Umlaut so the normal links would not be displayed, so there is only the temporary access link for consistency.
closed
by Esmé Cowles at 2020-04-03 12:58:57.closed by #1963
closed
by Christina Chortaria at 2020-04-03 13:05:19.closed
by James R. Griffin III at 2020-04-03 14:19:40.Coverage increased (+0.06%) to 96.525% when pulling daa7a335f33725c24c38b06341b8778e71132811 on issues-1996-jrgriffiniii-errors-facet-strings into 939c2424d892abda758ed3383e3ef46b48a885be on master.
review_requested
by Christina Chortaria at 2020-04-03 13:52:41.referenced
by James R. Griffin III at 2020-04-03 14:19:40.merged
by James R. Griffin III at 2020-04-03 14:19:40.closed
by James R. Griffin III at 2020-04-03 14:19:40.head_ref_deleted
by James R. Griffin III at 2020-04-03 14:19:43.head_ref_restored
by James R. Griffin III at 2020-04-03 14:19:49.renamed
by Christina Chortaria at 2020-04-03 15:49:04.Coverage increased (+0.05%) to 96.523% when pulling 65c87f6e37b8b52e41dc1015294976f0fdc2c6c5 on 1961-home-page-updates into 1caa853f5a10068d3e2d9eb2ee5479f842c03995 on master.
One thing that was discussed yesterday is that once the HathiTrust emergency temporary access is live, we should add some prominent text to the OL home page about it.
Suggested text:
Many print items are now available online from Hathi Trust. Look for the "Temporary Digital Access from Hathi Trust" link in the Available Online section.
I will add this.
@escowles can you check? I also removed the Online Content I had added in the 'Other Library Resources'
I see an hr line. let me fix this
@christinach That looks OK, but I think it would be better to put a border and/or colorful background around it or otherwise set it off from the rest of the page so it doesn't get lost.
@escowles when you have a chance
mentioned
by Esmé Cowles at 2020-04-03 14:32:41.subscribed
by Esmé Cowles at 2020-04-03 14:32:41.mentioned
by Christina Chortaria at 2020-04-03 14:36:16.subscribed
by Christina Chortaria at 2020-04-03 14:36:17.mentioned
by Esmé Cowles at 2020-04-03 15:23:19.subscribed
by Esmé Cowles at 2020-04-03 15:23:19.head_ref_force_pushed
by Christina Chortaria at 2020-04-03 15:34:26.renamed
by Christina Chortaria at 2020-04-03 15:34:51.deployed
by Trey Pendragon at 2020-04-03 15:36:46.referenced
by Esmé Cowles at 2020-04-03 15:56:29.merged
by Esmé Cowles at 2020-04-03 15:56:29.closed
by Esmé Cowles at 2020-04-03 15:56:29.head_ref_deleted
by Esmé Cowles at 2020-04-03 15:56:34.Closing this PR because we have removed the tutorial.
closed
by Christina Chortaria at 2020-04-03 16:17:30.assigned
by None at 2020-04-03 12:23:39.referenced
by None at 2020-04-03 14:05:22.referenced
by None at 2020-04-03 15:27:24.referenced
by None at 2020-04-03 15:37:34.closed
by None at 2020-04-03 16:19:26.Coverage increased (+0.07%) to 96.537% when pulling 4ea22c693f49e066cc31b4c66b1c598650b2cbf8 on 1198-handle-exception into 1caa853f5a10068d3e2d9eb2ee5479f842c03995 on master.
head_ref_force_pushed
by None at 2020-04-03 15:27:24.head_ref_force_pushed
by None at 2020-04-03 15:37:34.referenced
by None at 2020-04-03 16:19:25.merged
by None at 2020-04-03 16:19:25.closed
by None at 2020-04-03 16:19:25.head_ref_deleted
by None at 2020-04-03 16:19:36.assigned
by Christina Chortaria at 2020-04-03 19:44:18.Coverage increased (+0.05%) to 96.538% when pulling 958d86a8408c7bb5d31395237b93cceabe24e240 on hath-image into 59c110c6bec859a1c2ffb28dd247556f297b4564 on master.
@carolyncole looks great. Can we fix the coverage if it's still failing? It failed earlier.
@christinach I think it was just failing because the test runs were terminating early. Looks ok now... Just waiting on 2_6
yes it looks green now!
head_ref_force_pushed
by None at 2020-04-03 18:40:11.deployed
by Trey Pendragon at 2020-04-03 18:41:10.head_ref_force_pushed
by None at 2020-04-03 19:03:44.head_ref_force_pushed
by None at 2020-04-03 19:05:58.deployed
by Trey Pendragon at 2020-04-03 19:06:10.head_ref_force_pushed
by None at 2020-04-03 19:18:19.head_ref_force_pushed
by None at 2020-04-03 19:30:39.deployed
by Trey Pendragon at 2020-04-03 19:30:52.mentioned
by None at 2020-04-03 19:34:42.subscribed
by None at 2020-04-03 19:34:42.mentioned
by Christina Chortaria at 2020-04-03 19:52:25.subscribed
by Christina Chortaria at 2020-04-03 19:52:25.referenced
by Christina Chortaria at 2020-04-03 19:53:07.merged
by Christina Chortaria at 2020-04-03 19:53:07.closed
by Christina Chortaria at 2020-04-03 19:53:08.assigned
by James R. Griffin III at 2020-04-03 20:40:01.assigned
by None at 2020-04-03 15:04:50.unassigned
by None at 2020-04-03 19:32:24.Done.
closed
by None at 2020-04-03 19:11:22.That one is deleted now. Note for future, the exhibit isn't always deleted when you get this error.
Thank you, @hackmastera ! Noted.
mentioned
by None at 2020-04-03 19:18:20.subscribed
by None at 2020-04-03 19:18:20.referenced
by Kevin Reiss at 2020-04-03 16:36:50.merged
by Kevin Reiss at 2020-04-03 16:36:50.closed
by Kevin Reiss at 2020-04-03 16:36:50.head_ref_deleted
by Kevin Reiss at 2020-04-03 16:36:54.referenced
by Kevin Reiss at 2020-04-03 18:26:56.merged
by Kevin Reiss at 2020-04-03 18:26:56.closed
by Kevin Reiss at 2020-04-03 18:26:56.head_ref_deleted
by Kevin Reiss at 2020-04-03 18:27:00.review_requested
by Francis Kayiwa at 2020-04-03 19:52:38.As an aside, I am now finding that the Lando-based Solr installation does respond to queries for nested documents as expected with the query parameter fl=*,[child]
.
I can advance this by first installing the range limit plugin.
There are some problems with integrating this, as while it was apparently already configured on one of the facet fields, both the JavaScript is breaking, primarily due to the blacklight_range_limit/_range_limit_panel.html.erb
partial not being rendered properly.
assigned
by James R. Griffin III at 2020-04-03 13:14:55.This doesn't seem to fail when Chrome is run without the headless
option.
renamed
by James R. Griffin III at 2020-04-03 17:50:01.I would contend that this only strengthens the arguments for removing Coveralls integration entirely for this project.
labeled
by James R. Griffin III at 2020-04-03 18:49:37.milestoned
by James R. Griffin III at 2020-04-03 18:49:37.assigned
by James R. Griffin III at 2020-04-03 18:49:37.This currently has physical_holdings
indexing the information as a child document:
Within the components
, there are deeply nested documents for each of the components which link to the dsc[2] components
containing the physical holding information:
With this, one could simply off a Solr query which retrieves only the physical_holding
component child document, rather than its entire parent collection:
This needs to be improved from two standpoints:
I can proceed also by referencing the LUX branch work indicating the structure of the Aeon API request.
Can any of this work be repurposed for the Table of Contents work? Perhaps the caching aspects of this can be helpful in advancing the implementation of the new design.
Otherwise, this should just be closed with statements regarding the what was deprecated.
referenced
by Trey Pendragon at 2020-04-03 19:57:33.referenced
by Trey Pendragon at 2020-04-03 19:58:41.closed
by Trey Pendragon at 2020-04-03 20:09:49.referenced
by Trey Pendragon at 2020-04-03 20:09:48.merged
by Trey Pendragon at 2020-04-03 20:09:48.closed
by Trey Pendragon at 2020-04-03 20:09:49.head_ref_deleted
by Trey Pendragon at 2020-04-03 20:09:52.


Type "h" to honk, "d" to drive to work, "w" to drive around the world, or "t" to get a tuneup.
See console for stats.


aframe-geo-projection-component is a component used for creating VR maps in A-Frame. It uses D3.js's d3-geo library to turn geojson or topojson into entities in VR.
A map of the world projected onto a plane using a stereographic projection.
A map of the world projected onto a plane using a stereographic projection where the land is rendered as flat shapes.
A map of the world projected onto a plane using a stereographic projection where the land is rendered as extruded 3D shapes.
A map of the USA using TopoJSON (pre-projected using geoAlbersUSA) where the states are rendered as lines.
A visualization of the estimated U.S. Population by State as of June 1, 2017.
Data: Table 1. Annual Estimates of the Resident Population for the United States, Regions, States, and Puerto Rico: April 1, 2010 to July 1, 2017 (NST-EST2017-01)
Source: U.S. Census Bureau, Population Division
Release Date: December 2017


Custom rating template provided via a variable. Shows fine-grained rating display
Custom rating template provided via a variable. Shows fine-grained rating display
Rate: {{currentRate}}
Custom rating template provided via a variable. Shows fine-grained rating display
Rate: {{currenRate}}
One fine body…


Create task
Current tasks
{% if not current_tasks %}You don't have tasks just yet
{% else %} {% endif %}Completed tasks
{% if not completed_tasks %}You don't have tasks just yet
{% else %} {% endif %}You don't have tasks just yet
{% else %} {% endif %}You don't have tasks just yet
{% else %} {% endif %}