News story
Queen’s Birthday Honours list recognises 108 people for contributions to education and children's services.
The 2015 Birthday Honours list, published on Friday 12 June 2015, recognises 108 people for their service to education and children’s services. This includes teachers, school governors, foster carers and many others.
Chris Wormald, Department for Education Permanent Secretary, said:
Congratulations to those who have been recognised as part of the Birthday Honours list for their contribution to education and children’s services this year. Their achievements and dedication are helping to improve the lives of children and young people, and raising educational standards across the country, so that every child and young person can fulfil their potential.
| Award | Name | Short citation |
|---|---|---|
| Kt | Sir Kevan Collins | Chief Executive, Education Endowment Foundation. For services to education |
| Kt | Sir Tom Jeffery | Lately Director General, Children’s Services and Departmental Strategy Directorate. For services to the Department for Education |
| Kt | Sir Nick Weller | Executive Principal, Dixons Academies, Bradford. For services to education |
| Award | Name | Short citation |
|---|---|---|
| CBE | Mr Norman Goodwin | Chief Executive, Adoption Matters Northwest. For services to social work and adoption |
| CBE | Ms Diana Owen | Chief Executive and Trustee, LEAD Academy Trust. For services to education |
| CBE | Mufti Hamid Patel | Chief Executive, Tauheedul Education. For services to education |
| CBE | councillor David Simmonds | Deputy Leader, London borough of Hillingdon and Executive Member, Local Government Association. For services to children, families and to local government |
| CBE | Ms Frankie Sulke | Executive Director, children and young people, Lewisham, London. For services to education |
| Award | Name | Short citation |
|---|---|---|
| OBE | Ms Sarah Bailey | Executive Headteacher, Queensbridge Primary School, De Beauvoir School and Mapledene Children’s Centre, Hackney. For services to education |
| OBE | Mrs Donna Barratt | Headteacher, Glebe Primary School, Harrow. For services to education |
| OBE | Ms Elizabeth Bull | Lately Headteacher, Slated Row School, Milton Keynes. For services to education |
| OBE | Mr Nicky Campbell | Patron, British Association for Adoption. For services to adoption |
| OBE | Ms Patrice Canavan | Headteacher, Oaklands School, Tower Hamlets, London. For services to education |
| OBE | Ms Lauren Costello | Executive Headteacher, The Federation of Moredon Primary and Nursery School and Rodbourne Cheney Primary School, Swindon. For services to education |
| OBE | Ms Lesley Davies | Council member and education trustee, NACRO . For services to education |
| OBE | Mrs Edwina Grant | Chair, Local Safeguarding Children’s Board, Solihull council. For services to safeguarding children and young people |
| OBE | Ms Sharon Gray | Headteacher, Netherfield Primary School, Nottingham. For services to education |
| OBE | Mr Andrew Griffiths | Lately Headteacher, Ellowes Hall Sports College, Dudley, West Midlands. For services to education |
| OBE | Mr Jack Hatch | Headteacher, St Bede Church of England Primary Academy, Bolton. For services to education |
| OBE | Mr James Hempsall | National Support Director, Achieving Two Year Olds ( A2YO ). For services to childcare |
| OBE | Mr John Henderson | Executive Headteacher, White Woods Multi Academy Trust, Rotherham. For services to education |
| OBE | Mr Kevin Hollins | Lately Principal, Knutsford Academy, Cheshire. For services to education |
| OBE | Ms Georgetta Holloway | Director, The Central Learning Partnership Trust and Headteacher, Heath Park Academy, Wolverhampton. For services to education |
| OBE | Ms Sally Jaeckle | Early Years Services Manager, Bristol city council and Senior Advisor, South West National Strategies. For services to early years education |
| OBE | Mr Thomas Mannion | Headteacher, St Aloysius College, Islington. For services to education |
| OBE | Mr Peter McPartland | Headteacher, Trinity Special School, London borough of Barking and Dagenham. For services to special educational needs |
| OBE | Dr Dayo Olukoshi | Principal, Brampton Manor Academy, East Ham, London. For services to education |
| OBE | Ms Margaret Randles | Co-founder and Director, Busy Bees Group. For services to children and families |
| OBE | Mrs Sue Robb | National Head of Early Years, 4Children. For services to children and families |
| OBE | Mrs Elizabeth Seers | Headteacher, Heaton School, Stockport. For services to children with special educational needs and disabilities |
| OBE | Mr David Sellens | Headteacher, Thomas Jones Primary School, Royal borough of Kensington and Chelsea. For services to education |
| OBE | Mrs Margaret Walpole | Lately Headteacher, Paddock School, Wandsworth. For services to children with special educational needs and disabilities |
| OBE | Mr John Woodward | Chief Executive Officer, Busy Bees Group. For services to early years education |
| Award | Name | Short citation |
|---|---|---|
| MBE | Mr Raymond Barker | Chairman of Governors, Honilands Primary School, Enfield and Director, British Education Supplies Association. For services to education |
| MBE | Mrs Sharon Bell | Broadwater Children’s Centre Manager, Stevenage. For services to children and families |
| MBE | Mrs Alice Bennett | Principal, Madresfield Early Years Centre, Worcestershire. For services to early years education |
| MBE | Ms Jenny Boyd | Headteacher, Rosewood Special Free School, Southampton. For services to special education |
| MBE | Mrs Rosemary Campbell-Stephens | Educator, Consultant, Equality and Diversity Leader and Leadership Trainer. For services to education |
| MBE | Mrs Suzanne Chambers | Partnership Headteacher Tutor, University of Cumbria, Lancashire. For services to education |
| MBE | Mrs Cecily Coburn | Foster Carer, Lincolnshire. For services to children and families |
| MBE | Mr Charles Coburn | Foster Carer, Lincolnshire. For services to children and families |
| MBE | Ms Clare Collins | Lately Chair of Governors, Weyfield Primary Academy, Surrey. For services to education and school governance |
| MBE | Mrs Janet Collins | Chair, Millmead Children’s Centre Partnership Ltd, Kent. For services to children and families |
| MBE | Mrs Christine Cook | Lately School Inclusion Manager, Hayes Primary School. For services to special educational needs and disabilities |
| MBE | Ms Emma Cravitz | Educational Psychologist. For services to children and families particularly in London |
| MBE | Mrs Linda Crawley | Chair of Governors and Proposer, Alban City School. For services to education |
| MBE | Ms Cathy Davis | Foster Carer, Tyneside. For services to children and families |
| MBE | Miss Jenny Deeks | Director, Coin Street Family and Children’s Centre, Lambeth and Southwark. For services to children and families |
| MBE | Mr Kenneth Deeks | Founder, Byte Night and Fundraiser, Action for Children. For services to Children |
| MBE | Mr Henry Dimbleby | Restaurateur. For services to school food |
| MBE | Ms Julie Elliot | Adopter, Lancashire. For services to adoption |
| MBE | Mr Roger Elliot | Adopter, Lancashire. For services to adoption |
| MBE | Dr Helen Foley | Co-founder, Guildford Adventure Play Centre. For services to disabled children and their families |
| MBE | Mr Robert Goddard | Foster Carer, Brighton and Hove. For services to children and families |
| MBE | Mrs Ann Greenop | Foster Carer, Liverpool. For services to children and families |
| MBE | Mr Michael Greenop | Foster Carer, Liverpool city council. For services to children and families |
| MBE | Mrs Christine Gregoire | Foster Carer, Lancashire. For services to children and families |
| MBE | Mr Harold Gregoire | Foster Carer, Lancashire. For services to children and families |
| MBE | Mrs Julia Grove | Chair, Free Church Education Committee. For services to education |
| MBE | Mr Robert Hadfield | Chair of Governors, Crampton Primary School, Walworth, London. For services to education |
| MBE | Mrs Bernardette Holmes | Teacher and Modern Languages Education Advocate. For services to education |
| MBE | Miss Louise Hough | Assistant Head of Service, Resonate, Liverpool’s Music Hub. For Services to music education |
| MBE | Mrs Joan Jackson-Callen | Social worker, Royal borough of Kensington and Chelsea. For services to children and families |
| MBE | Mrs Lynn Jones | Assistant Principal, Ormiston Sir Stanley Matthews Academy, Staffordshire. For services to education |
| MBE | Mr Peter Kessler | Founder and Chair of Governors, Eden Primary School, Muswell Hill, London. For services to education |
| MBE | Mrs Claire Layland | Lately Special Educational Needs Teacher, Plymouth. For services to education |
| MBE | Ms Donna Lewis | Head of Consolidation and Financial Reporting, Education Funding Agency. For services to education |
| MBE | Ms Jean Lewis | Chair of Governors, Ashmount Special School, Loughborough. For services to education |
| MBE | Mr Robert Love | Local Authority Governor, Morden Mount and other Primary Schools, Greenwich, London. For services to education |
| MBE | Mrs Ann McDonald | Voluntary Trusts Secretary, The Mary Budding Trust. For services to children and young people with special educational needs |
| MBE | Mrs Lynda Myles-Till | Ambassador, Action for Children Ambassador. For services to children and young people |
| MBE | Miss Michelle Newman | Threshold Team Manager, Plymouth. For services to children and families |
| MBE | Ms Jennifer Ngulube | Foster Carer for Swiis Foster Care, Leeds. For services to children |
| MBE | Mrs Heather Ogburn | Founder, HMS Heroes. For services to education |
| MBE | Mrs Jillian Parker | Founder, Eastbourne Area Parents Action Group and JPK Sussex Project, Eastbourne. For services to children and adults with a learning disability and their families |
| MBE | Mrs Aileen Parry | Chair of Governors, Oaklands School, Cheshire. For services to special educational needs and disabilities |
| MBE | Mrs Alison Pendle | Founder and Committee Member, West Wiltshire Portage Service. For services to special educational needs and disabilities |
| MBE | Mr David Pickthall | Music Teacher, Brentwood School, Essex. For services to education and to charity |
| MBE | Mr Garry Reed | Headteacher, Swimbridge Church of England Primary School, North Devon. For services to education |
| MBE | Mrs Frances Rodger | Volunteer, Early Years Sector and Founder, Rodett playgroups. For services to children and early education |
| MBE | Mrs Karen Ross | Chief Executive, Relate Berkshire. For services to children and families |
| MBE | Mr Michael Routledge | Foster Carer, Wirral. For services to children and families |
| MBE | Mrs Margaret Sampson | Chair, The Children’s Society Fundraising Committee, Somerset. For services to Children |
| MBE | Ms Jennifer Semahimbo | Programme Manager, Streetwise Project, Coventry. For services to children |
| MBE | Ms Yasvanti Shah | Head of Adoption and Improvement, Kent county council. For services to children and families |
| MBE | Mr Thomas Toumazis | Chairman, ChildLine Board, London. For services to children |
| MBE | Mr John Vincent | Restaurateur. For services to school food |
| MBE | Mrs Margaret Watson | Foster Carer, Northumberland. For services to children and families |
| MBE | Mrs Christine Whatton | Foster Carer, Wolverhampton. For services to children and families |
| MBE | Mr John Whatton | Foster Carer, Wolverhampton. For services to children and families |
| MBE | Mrs Sheila Williams | Volunteer, Petts Wood Playgroup, Kent. For services to children with special educational needs and their families |
| Award | Name | Short citation |
|---|---|---|
| BEM | Mrs Helen Ayling | Vice-chair of Governors, Uplands School, Sandhurst. For services to education |
| BEM | Mrs Anne Callaghan | Parenting Practitioner, Nottinghamshire. For services to children and families |
| BEM | Ms Bridget Cluley | Trustee, Hope and Homes for Children and Fundraiser, Divisional Vice President and Trustee, NSPCC . For services to children and families |
| BEM | Miss Ann Corbett | Childminder, Bradford. For services to children |
| BEM | Mrs Sandra Evans | Childminder and Community Leader, Hertfordshire. For services to children and families |
| BEM | Mrs Caroline Fowke | Volunteer, Wilshire Dyslexia Association and Governor, Sheldon School, Wiltshire. For services to children with special educational needs and disabilities |
| BEM | Mrs Judy Graham | Volunteer Fundraising Supporter, Chelsea Branch Chairman, NSPCC . For services to children |
| BEM | Ms Anne Heath | Trustee, Home-Start Westminster. For services to children and families |
| BEM | Mrs Ruth Jubert | Chair, Home Start Guildford. For services to children and families |
| BEM | Mrs Claire Judge | Lately Volunteer, Development Committee, Ashurst Wood Community Pre-School. For services to early years education |
| BEM | Mr Peter Kelly | Founder and Volunteer, the Arrows Basketball Club, Sheffield. For services to physical education |
| BEM | Mrs Deborah Lammin | Choir Mistress, Burntwood School Chamber Choir, London. For services to education |
| BEM | Mrs Anne Lloyd | Drama Teacher, Fenham, Newcastle Upon Tyne. For services to education and to the community in Newcastle Upon Tyne |
| BEM | Mrs Glenda Mee | Teaching Assistant, Impington Village College, Cambridgeshire. For services to young people with special educational needs and disabilities |
| BEM | Mrs Julie Nixon | Foster Carer, Credocare, Kent. For services to children and families |
| BEM | Ms Maurizia Quarta | Volunteer, Co-founder and Chair of Wiltshire, Parent Carer council. For services to children and families |
| BEM | Mrs Mary Snell | Voluntary School Swimming Assistant, Liskeard, Cornwall. For services to physical education |


Fork the repo at https://github.com/mout/mout
“Write clearly, don’t be too clever” - The Elements of Programming Style
Avoid unnamed functions and follow the other modules structure. By only using named functions it will be easier to extract the code from the AMD module if needed and it will also give better error messages, JavaScript minifiers like Google Closure Compiler and UglifyJS will make sure code is as small/optimized as possible.
“Make it clear before you make it faster.” - The Elements of Programming Style
Be sure to always create tests for each proposed module. Features will only be merged if they contain proper tests and documentation.
“Good code is its own best documentation.” - Steve McConnell
We should do a code review before merging to make sure names makes sense and implementation is as good as possible.
Try to split your pull requests into logical groups, the smaller the easier to be reviewed/merged.
Tests can be found inside the tests
folder, to execute them in the browser open the tests/runner.html
. The same tests also work on node.js by running npm test
.
We should have tests for all methods and ensure we have a high code coverage through our continuous integration server (travis). When you ask for a pull request Travis will automatically run the tests on node.js and check the code coverage as well.
We run node build pkg
automatically before any npm test
, so specs and packages should always be in sync. (will avoid human mistakes)
To check code coverage run npm test --coverage
, it will generate the reports inside the coverage
folder and also log the results. Please note that node.js doesn’t execute all code branches since we have some conditionals that are only met on old JavaScript engines (eg. IE 7-8), so we will never have 100% code coverage (but should be close to it).
The build script can be extremely helpful and can avoid human mistakes, use it.
Even if you are an admin (have commit rights) please do pull requests when adding new features or changing current behavior, that way we can review the work and discuss. Feel free to push changes that doesn’t affect behavior without asking for a pull request (readme, changelog, build script, typos, refactoring, …).
If you are proposing some major change, please create an issue to discuss it first. (maybe it’s outside the scope of the project)
When in doubt ask someone on IRC to help you (#moutjs on irc.freenode.net) or create a new issue.
The project wiki can also be a good resource of information.
Check the contributors list at github.


FreeTexture()
Syntax
FreeTexture(#Texture)Description
Frees the specified texture. All its associated memory is released and this object can't be used anymore.
Parameters
#Texture The texture to free. If #PB_All is specified, all the remaining textures are freed.
Return value
None.
Remarks
All remaining textures are automatically freed when the program ends.
Supported OS
All


Dr. Jonathon Creed, an obscure academic, comes across two ancient documents. They tell stories that, if verified, would uproot our most basic understanding of ancient history. The mysteries disappear from his office but not from his life, where he tracks a mysterious Theatre of HADES, which plays films from the dead for the living.
View ProjectNow an industry standard tool for tracking and collaborating in the world of programming, Git rocks. Though designed for code, it's text based tools can help manage anything both human-readable and human-writable.
View ProjectTwo things difficult to discuss but probably shouldn't be. Whereas most sites about mental illness seek out the reader's empathy, Sex and Schizophrenia approaches the topic from dark humor, morbid curiosity, pruient interest, and fascination--seeking both the sexy and the mind boggling all in one place.
View ProjectLife's most erotic moments are unexpected. Yet much erotica suffers from cliched predictability. Explore the unexpected in this project's tales.
View Project


Class rex_module_perm
- rex_complex_perm
- rex_module_perm
Package: redaxo\structure\content
Located at redaxo/src/addons/structure/plugins/content/lib/module_perm.php
Located at redaxo/src/addons/structure/plugins/content/lib/module_perm.php
Methods summary
public
|
||
public static
array
|
Methods inherited from rex_complex_perm
__construct()
,
get()
,
getAll()
,
hasAll()
,
register()
,
removeItem()
,
replaceItem()


- onAttach(Context) - Method in class professional.team17.com.professional.ConfirmDialog
-
- onAttach(Context) - Method in class professional.team17.com.professional.PlaceBidDialog
-
- onClick(View) - Method in class professional.team17.com.professional.ProviderLayout
-
Handles all click events for the bottom navigation and the user button in the
top right corner of the layout.
- onClick(View) - Method in class professional.team17.com.professional.RequesterLayout
-
Handles all click events for the bottom navigation and the userMenuButton
in the top right corner.
- onCreate(Bundle) - Method in class professional.team17.com.professional.EditMyProfileActivity
-
Upon creation, EditText will be set with relevant user info grabbed from ES
Select 'save' to update info for user and go back to last activity
Select 'cancel' to go back to last activity
- onCreate(Bundle) - Method in class professional.team17.com.professional.LogInActivity
-
- onCreate(Bundle) - Method in class professional.team17.com.professional.MapsActivity
-
- onCreate(Bundle) - Method in class professional.team17.com.professional.MapsSearchLocationActivity
-
On creation of the activity, set the layout and get the map fragment.
- onCreate(Bundle) - Method in class professional.team17.com.professional.MyProfileViewActivity
-
Upon selecting UserMenuButton --> "My Profile", info is displayed until doneButton is selected
User can edit their info by clicking on their profile picture (goes to EditMyProfileActivity)
- onCreate(Bundle) - Method in class professional.team17.com.professional.OtherProfileViewActivity
-
Upon selecting another user's profile, info is displayed until doneButton is selected
- onCreate(Bundle) - Method in class professional.team17.com.professional.ProfileViewActivity
-
On selecting a profile
- onCreate(Bundle) - Method in class professional.team17.com.professional.ProviderLayout
-
On creation of the activity, assign values to all variables.
- onCreate(Bundle) - Method in class professional.team17.com.professional.ProviderTaskListActivity
-
On creation of the activity, set all view objects
- onCreate(Bundle) - Method in class professional.team17.com.professional.ProviderViewTask
-
On creation of the activity, set all view objects
- onCreate(Bundle) - Method in class professional.team17.com.professional.RequesterAddTaskActivity
-
On creation of the activity, set all view objects and onClickListeners.
- onCreate(Bundle) - Method in class professional.team17.com.professional.RequesterEditTaskActivity
-
On creation of the activity, set all view objects and onClickListeners.
- onCreate(Bundle) - Method in class professional.team17.com.professional.RequesterLayout
-
On the activity's creation, set all variables.
- onCreate(Bundle) - Method in class professional.team17.com.professional.RequesterViewListActivity
-
On creation of the activity, set the layout and populate the task list.
- onCreate(Bundle) - Method in class professional.team17.com.professional.RequesterViewTaskActivity
-
On creation of the activity, set the layout elements, onClickListeners, and retrieve
the task from the server.
- onCreate(Bundle) - Method in class professional.team17.com.professional.SearchActivity
-
On creation of the activity, set all view objects and onClickListeners.
- onCreate(Bundle) - Method in class professional.team17.com.professional.SignUpActivity
-
- onCreateDialog(Bundle) - Method in class professional.team17.com.professional.DatePickerFragment
-
Returns an instance of the date picking dialog fragment, with that day's date selected as
the default.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class professional.team17.com.professional.ConfirmDialog
-
Override the onCreateView Builder
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class professional.team17.com.professional.PlaceBidDialog
-
Override the onCreateView Builder
- onDateSet(DatePicker, int, int, int) - Method in class professional.team17.com.professional.DatePickerFragment
-
Handles the date selected by the user by converting it to a string.
- onFinishConfirmDialog(Boolean) - Method in interface professional.team17.com.professional.ConfirmDialog.ConfirmDialogListener
-
- onFinishConfirmDialog(Boolean, String) - Method in interface professional.team17.com.professional.ConfirmDialog.ConfirmDialogListener
-
- onFinishConfirmDialog(Boolean) - Method in class professional.team17.com.professional.ProviderViewTask
-
Interface method from ConfirmDialog.ConfirmDialogListener
- onFinishConfirmDialog(Boolean, String) - Method in class professional.team17.com.professional.ProviderViewTask
-
Interface method from ConfirmDialog.ConfirmDialogListener
- onFinishConfirmDialog(Boolean) - Method in class professional.team17.com.professional.RequesterViewListActivity
-
If the user confirms the task deletion, this deletes the task from the taskList and also from
the server.
- onFinishConfirmDialog(Boolean, String) - Method in class professional.team17.com.professional.RequesterViewListActivity
-
If the user confirms the task deletion, this deletes the task from the taskList and also from
the server.
- onFinishConfirmDialog(Boolean, String) - Method in class professional.team17.com.professional.RequesterViewTaskActivity
-
Interface method from ConfirmDialog.ConfirmDialogListener
- onFinishConfirmDialog(Boolean) - Method in class professional.team17.com.professional.RequesterViewTaskActivity
-
Interface method from ConfirmDialog.
- onFinishPlaceBidDialog(String) - Method in interface professional.team17.com.professional.PlaceBidDialog.PlaceBidDialogListener
-
- onFinishPlaceBidDialog(String) - Method in class professional.team17.com.professional.ProviderViewTask
-
Interface method from PlaceBidDialog.PlaceBidDialogListener
- onMapReady(GoogleMap) - Method in class professional.team17.com.professional.MapsActivity
-
Manipulates the map once available.
- onMapReady(GoogleMap) - Method in class professional.team17.com.professional.MapsSearchLocationActivity
-
Manipulates the map once available.
- onRequestPermissionsResult(int, String[], int[]) - Method in class professional.team17.com.professional.MapsActivity
-
- onResume() - Method in class professional.team17.com.professional.MyProfileViewActivity
-
uses the setUp method (to possibly refresh and show edited profile information)
- onStart() - Method in class professional.team17.com.professional.ProviderLayout
-
When the activity starts, create the popup menu.
- onStart() - Method in class professional.team17.com.professional.RequesterLayout
-
On start of the activity, create the popup menu.
- OtherProfileViewActivity - Class in professional.team17.com.professional
-
OtherProfileViewActivity displays information of another user
- OtherProfileViewActivity() - Constructor for class professional.team17.com.professional.OtherProfileViewActivity
-
- otherPV_pScore - Static variable in class professional.team17.com.professional.R.string
-
- overlapAnchor - Static variable in class professional.team17.com.professional.R.attr
-
May be a boolean value, such as "true
" or
"false
".


{{ 'project_permission_list_title' | translate }}
0" class="ui warning message">
Following groups that are not from organization
"{{project.organization}}" can read the project: {{gp.group.name}}
({{gp.group.organization}}){{ i < groupsOutsideOrganization.length - 1 ? ', ' : '' }}.
{{ 'project_permission_form_title' | translate }}
{{'common_loading_environments' | translate}}...


You have successfully removed your character.
There was an error removing that character.
Edit
Link a character
Level
Class
Name
Realm
Show
×
Realm:
Faction:
Race:
Battlegroup:
Class:
Achievement Points:
Total Honorable Kills:
View Image


--- layout: archive title: Zulip Chat Archive permalink: /stream/144837-PR-reviews/topic/.231798.html ---
@Amelia Livingston Congratulations with this PR! It's fantastic that you've done all this stuff!
And it looks well-documented and very well written.
Thank you!! Sorry about the wait. The next few PRs will be back to back since I've got the time now.
I have one question: At some point Neil Strickland designed a "characteristic predicate" for ring localizations that turned out to be really useful in the schemes project. (@Kevin Buzzard can certainly say more about this.) Is there something like that for localizations of monoids? If so, should it be part of this PR?
It's in the second half of this file, so the next PR! I could add it to this PR if people don't mind it being long though, I just need to finish tidying it up.
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Drag & drop the station stl file to render...
./models/LAB_S0_geometry.stl
-
35000000
bytes
Drag & drop the handrail stl files to render...
Drag & drop one or more str files to position the handrails...


| Class and Description |
|---|
| TableInfo
General table information.
|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| Class and Description |
|---|
| MetadataInfo
Class that specifies metadata type and metadata information
which will be used for obtaining specific metadata from metastore.
|
| MetadataType
Enum with possible types of metadata.
|
| TableInfo
General table information.
|
| Class and Description |
|---|
| BaseTableMetadata
Base implementation of
TableMetadata interface. |
| FileMetadata
Metadata which corresponds to the file level of table.
|
| NonInterestingColumnsMetadata
Represents a metadata for the non-interesting columns.
|
| PartitionMetadata
Represents a metadata for the table part, which corresponds to the specific partition key.
|
| SegmentMetadata
Metadata which corresponds to the segment level of table.
|
| TableInfo
General table information.
|
| TableMetadata
Metadata which corresponds to the table level.
|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| TableMetadataProviderBuilder
Base interface for builders of
TableMetadataProvider . |
| Class and Description |
|---|
| RowGroupMetadata
Metadata which corresponds to the row group level of table.
|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| TableMetadataProviderBuilder
Base interface for builders of
TableMetadataProvider . |
| Class and Description |
|---|
| BaseMetadata
Common provider of tuple schema, column metadata, and statistics for table, partition, file or row group.
|
| FileMetadata
Metadata which corresponds to the file level of table.
|
| LocationProvider
A metadata which has specific location.
|
| Metadata
Provider of tuple schema, column metadata, and statistics for table, partition, file or row group.
|
| MetadataType
Enum with possible types of metadata.
|
| NonInterestingColumnsMetadata
Represents a metadata for the non-interesting columns.
|
| PartitionMetadata
Represents a metadata for the table part, which corresponds to the specific partition key.
|
| SegmentMetadata
Metadata which corresponds to the segment level of table.
|
| TableMetadata
Metadata which corresponds to the table level.
|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| TableMetadataProviderBuilder
Base interface for builders of
TableMetadataProvider . |
| Class and Description |
|---|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| Class and Description |
|---|
| BaseTableMetadata
Base implementation of
TableMetadata interface. |
| MetadataInfo
Class that specifies metadata type and metadata information
which will be used for obtaining specific metadata from metastore.
|
| TableInfo
General table information.
|
| Class and Description |
|---|
| LocationProvider
A metadata which has specific location.
|
| Class and Description |
|---|
| LocationProvider
A metadata which has specific location.
|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| TableMetadataProviderBuilder
Base interface for builders of
TableMetadataProvider . |
| Class and Description |
|---|
| BaseTableMetadata
Base implementation of
TableMetadata interface. |
| PartitionMetadata
Represents a metadata for the table part, which corresponds to the specific partition key.
|
| SegmentMetadata
Metadata which corresponds to the segment level of table.
|
| Class and Description |
|---|
| TableMetadata
Metadata which corresponds to the table level.
|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| Class and Description |
|---|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| Class and Description |
|---|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| Class and Description |
|---|
| BaseMetadata
Common provider of tuple schema, column metadata, and statistics for table, partition, file or row group.
|
| FileMetadata
Metadata which corresponds to the file level of table.
|
| LocationProvider
A metadata which has specific location.
|
| NonInterestingColumnsMetadata
Represents a metadata for the non-interesting columns.
|
| PartitionMetadata
Represents a metadata for the table part, which corresponds to the specific partition key.
|
| RowGroupMetadata
Metadata which corresponds to the row group level of table.
|
| SegmentMetadata
Metadata which corresponds to the segment level of table.
|
| TableMetadata
Metadata which corresponds to the table level.
|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| TableMetadataProviderBuilder
Base interface for builders of
TableMetadataProvider . |
| Class and Description |
|---|
| BaseTableMetadata
Base implementation of
TableMetadata interface. |
| FileMetadata
Metadata which corresponds to the file level of table.
|
| MetadataInfo
Class that specifies metadata type and metadata information
which will be used for obtaining specific metadata from metastore.
|
| MetadataType
Enum with possible types of metadata.
|
| PartitionMetadata
Represents a metadata for the table part, which corresponds to the specific partition key.
|
| RowGroupMetadata
Metadata which corresponds to the row group level of table.
|
| SegmentMetadata
Metadata which corresponds to the segment level of table.
|
| TableInfo
General table information.
|
| Class and Description |
|---|
| MetadataType
Enum with possible types of metadata.
|
| Class and Description |
|---|
| BaseMetadata
Common provider of tuple schema, column metadata, and statistics for table, partition, file or row group.
|
| BaseMetadata.BaseMetadataBuilder |
| BaseTableMetadata
Base implementation of
TableMetadata interface. |
| BaseTableMetadata.BaseTableMetadataBuilder |
| FileMetadata
Metadata which corresponds to the file level of table.
|
| FileMetadata.FileMetadataBuilder |
| LocationProvider
A metadata which has specific location.
|
| Metadata
Provider of tuple schema, column metadata, and statistics for table, partition, file or row group.
|
| MetadataInfo
Class that specifies metadata type and metadata information
which will be used for obtaining specific metadata from metastore.
|
| MetadataInfo.MetadataInfoBuilder |
| MetadataType
Enum with possible types of metadata.
|
| NonInterestingColumnsMetadata
Represents a metadata for the non-interesting columns.
|
| PartitionMetadata
Represents a metadata for the table part, which corresponds to the specific partition key.
|
| PartitionMetadata.PartitionMetadataBuilder |
| RowGroupMetadata
Metadata which corresponds to the row group level of table.
|
| RowGroupMetadata.RowGroupMetadataBuilder |
| SegmentMetadata
Metadata which corresponds to the segment level of table.
|
| SegmentMetadata.SegmentMetadataBuilder |
| TableInfo
General table information.
|
| TableInfo.TableInfoBuilder |
| TableMetadata
Metadata which corresponds to the table level.
|
| TableMetadataProvider
Base interface for providing table, partition, file etc.
|
| TableMetadataProviderBuilder
Base interface for builders of
TableMetadataProvider . |
| Class and Description |
|---|
| MetadataType
Enum with possible types of metadata.
|
| Class and Description |
|---|
| MetadataType
Enum with possible types of metadata.
|
| Class and Description |
|---|
| MetadataType
Enum with possible types of metadata.
|
| Class and Description |
|---|
| Metadata
Provider of tuple schema, column metadata, and statistics for table, partition, file or row group.
|
| MetadataType
Enum with possible types of metadata.
|
| Class and Description |
|---|
| BaseMetadata
Common provider of tuple schema, column metadata, and statistics for table, partition, file or row group.
|
| TableMetadata
Metadata which corresponds to the table level.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.


Paint
Use the various tools to create a layered image, then save it as a .tar file or export to .png.


| Mission patch: | |
| Flight number: | {{ i.flight_number }} ({{ i.launch_date_local[0:10] }}) |
| Details: | {{ i.details }} |
| Launch site: | {{ i.launch_site.site_name_long }} |
| Name: | {{ i.rocket.rocket_name }} |
| Type: | {{ i.rocket.rocket_type }} |
| Type: | {{ i.rocket.second_stage.payloads.0.payload_type }} |
| ID: | {{ i.rocket.second_stage.payloads.0.payload_id }} |
| Customer(s): | {{ ', '.join(i.rocket.second_stage.payloads.0.customers) }} |
| Nationality: | {{ i.rocket.second_stage.payloads.0.nationality }} |
| Manufacturer: | {{ i.rocket.second_stage.payloads.0.manufacturer }} |
| Type: | {{ i.rocket.second_stage.payloads.0.orbit }} |
| Ref. sys.: | {{ i.rocket.second_stage.payloads.0.orbit_params.reference_system }} |
| Regime: | {{ i.rocket.second_stage.payloads.0.orbit_params.regime }} |
| Video |
| Image |
| Presskit [PDF] |
| Article |
| Wikipedia |


Built-in themes
PyKwiki features some built-in themes that can be installed with pykwiki theme install <theme_name>
.
Default
The default PyKwiki theme.
Features
- Valid HTML5
- Mobile friendly
- Uses Bootstrap 3
- Supports searching
- Includes respond.js for IE8 support
- Includes mustache.js for javascript templates
- Supports GitHub, Facebook, and Twitter: like, follow, watch.
Amelia
A colorful theme based on Amelia from Bootswatch.
Features
- Valid HTML5
- Mobile friendly
- Uses Bootstrap 3
- Supports searching
- Includes respond.js for IE8 support
- Built-in support for Github, Facebook, and Twitter social buttons
Barebones
A minimal stripped starter theme without CSS, designed to be used as a template for new themes.
Features
- Infinitely nested menus
- Valid HTML5
- Ready for customization
- No CSS
- Supports searching
Blogit
A blog oriented theme using a readable black and white color scheme..
Features
- Configurable header image and background color
- Optional Disqus comments
- Valid HTML5
- Mobile friendly
- Uses Bootstrap 3
- Supports searching
- Includes respond.js for IE8 support
- Built-in support for Github, Facebook, and Twitter social buttons
Cyborg
A jet black theme based on Cyborg from Bootswatch.
Features
- Valid HTML5
- Mobile friendly
- Uses Bootstrap 3
- Supports searching
- Includes respond.js for IE8 support
- Built-in support for Github, Facebook, and Twitter social buttons
Readable
A high-legibility theme based on Readable from Bootswatch.
Features
- Valid HTML5
- Mobile friendly
- Uses Bootstrap 3
- Supports searching
- Includes respond.js for IE8 support
- Built-in support for Github, Facebook, and Twitter social buttons
Slate
A dark and sleek theme based on Slate from Bootswatch.
Features
- Valid HTML5
- Mobile friendly
- Uses Bootstrap 3
- Supports searching
- Includes respond.js for IE8 support
- Built-in support for Github, Facebook, and Twitter social buttons
United
A Ubuntu-like theme based on United from Bootswatch.
Features
- Valid HTML5
- Mobile friendly
- Uses Bootstrap 3
- Supports searching
- Includes respond.js for IE8 support
- Built-in support for Github, Facebook, and Twitter social buttons
...


src/app/shared/models/task.model.ts
Properties |
|
constructor(id, title, description, minutes, priority, difficulty, urgency, tag, parentGoal, createdDate, milestoneTitle, parentGoalTitle)
|
||||||||||||||||||||||||||
|
Defined in src/app/shared/models/task.model.ts:20
|
||||||||||||||||||||||||||
|
Parameters :
|
| completed |
Type : number
|
Default value : 0
|
|
Defined in src/app/shared/models/task.model.ts:12
|
| completedDate |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:13
|
| completedTime |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:14
|
| createdDate |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:15
|
| day |
Type : number
|
|
Defined in src/app/shared/models/task.model.ts:3
|
| Optional description |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:4
|
| difficulty |
Type : number
|
|
Defined in src/app/shared/models/task.model.ts:7
|
| goalId |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:17
|
| id |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:2
|
| Optional milestoneTitle |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:18
|
| minutes |
Type : number
|
|
Defined in src/app/shared/models/task.model.ts:5
|
| Optional parentGoalTitle |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:19
|
| Optional pastDue |
Type : number
|
|
Defined in src/app/shared/models/task.model.ts:9
|
| priority |
Type : number
|
|
Defined in src/app/shared/models/task.model.ts:6
|
| resource |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:10
|
| show |
Type : boolean
|
|
Defined in src/app/shared/models/task.model.ts:20
|
| tag |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:16
|
| title |
Type : string
|
|
Defined in src/app/shared/models/task.model.ts:11
|
| urgency |
Type : number
|
|
Defined in src/app/shared/models/task.model.ts:8
|
export class Task {
id:string;
day:number;
description?:string;
minutes:number;
priority:number;
difficulty:number;
urgency:number;
pastDue?:number;
resource:string;
title:string;
completed = 0;
completedDate:string;
completedTime:string;
createdDate:string;
tag:string;
goalId:string;
milestoneTitle?:string;
parentGoalTitle?:string
show: boolean;
constructor(
id,
title,
description,
minutes,
priority,
difficulty,
urgency,
tag,
parentGoal,
createdDate,
milestoneTitle,
parentGoalTitle) {
this.minutes = minutes;
this.id = id;
this.title = title;
this.description = description;
this.priority = priority;
this.difficulty = difficulty;
this.urgency = urgency;
this.tag = tag;
this.goalId = parentGoal;
this.createdDate = createdDate;
this.milestoneTitle = milestoneTitle;
this.parentGoalTitle = parentGoalTitle;
this.pastDue = 0;
this.show = true;
}
}


Mac OS X 10.7 Lion: the Ars Technica review
Document model
Lion introduces what Apple calls, with characteristic conviction, a "modernized" document model. I'm inclined to agree with this word choice. Like so many other aspects of Lion, document management is attempting to shed its legacy baggage—and there's plenty to shed. The conventions governing the interaction between users, applications, and documents have not changed much since the personal computer became popular in the early 1980s.
Apple first attempted a minor revolution in this area with OpenDoc in the 1990s. Instead of launching an application in order to create a document, OpenDoc promised a world where the user would open a document and then work on it using an interchangeable set of components created by multiple vendors. In other words, OpenDoc was document-centric rather than application-centric.
The changes in OpenDoc promised to radically shift the balance of power in the application software market. But powerful software companies like Microsoft and Adobe were not particularly motivated to break their popular, full-featured applications into smaller components that customers could mix and match with components from other vendors. At the time OpenDoc was released, Apple was nearing the nadir of its popularity and influence in the industry. Predictably, OpenDoc died on the vine.
Fast-forward to today, where a much more powerful and confident Apple takes another crack at the same area. The most pressing problem, today's Apple has decided, is not the interaction between application code and document data, but rather the interaction between the user and the computer.
Despite decades of public exposure to personal computers, human expectations and habits have stubbornly refused to align with the traditional model of creating, opening, and saving documents. The tales of woe have become clichés:
- The student who writes for an hour without saving and loses everything when the application crashes.
- The businessman who accidentally saves over the "good" version of a document, then takes it upon himself to independently reinvent version control—poorly—by compulsively saving each new revision of every document under slightly different names.
- The Mac power user who reflexively selects the "Don't Save" button for one document after another when quitting an application with many open windows, only to accidentally lose the one document that actually had important changes.
- The father who swears he saved the important document, but can't, for the life of him, remember where it is or what he called it.
At this point, we can no longer call this a problem of education. We've tried education for years upon years; children have been born and grown to adulthood in the PC era. And yet even the geekiest among us have lost data, time, or both due to a "stupid" mistake related to creating, opening, and saving documents.
And so Apple's decree in Lion is as it was on the original Macintosh in 1984, and as it is on iOS today: the machine must serve the human, not the other way around. To that end, Apple has added APIs in Lion that, when used properly, enable the following experience.
- The user does not have to remember to save documents. All work is automatically saved.
- Closing a document or quitting an application does not require the user to make decisions about unsaved changes.
- The user does not have to remember to save document changes before causing the document's file to be read by another application (e.g., attaching an open document with unsaved changes to an e-mail).
- Quitting an application, logging out, or restarting the computer does not mean that all open documents and windows have to be manually re-opened next time.
Earlier versions of Mac OS X supported a form of automatic saving. If you had an open TextEdit document with unsaved changes, TextEdit would (eventually) save a backup copy of the file with the text " (Autosaved)" appended to the file name. If the application crashed or the Mac lost power, you could retrieve (some of) your unsaved changes by finding the autosaved file and opening it.
Lion introduces a variant of this practice: autosave in place. Rather than creating a new file alongside the original, Lion continuously saves changes directly to the open document. It does this when there are large document changes, during idle times, or on demand in response to requests from other applications for access to the document's data.
For all of this to work, applications must be updated to use the new APIs. In particular, a new File Coordination framework must be used in order for an application to notify another that it wants to access a document that's currently open. The application that has the document open will then trigger an autosave to disk before allowing the requesting application to reference the document's data. Attaching a document to an e-mail or using Quick Look in the Finder are two examples of when this might happen.
At this point, a little bit of "geek panic" might be setting in. For those of us who understand the pre-Lion document model and have been using it for decades, the idea that we are no longer in control of when changes to open documents are saved to disk seems insane! What if I accidentally delete a huge swath of text from a document and then Lion decides to autosave immediately afterwards?
Not every change is meant to be saved, after all. The practice of speculatively making radical changes to a document with the comfort of knowing that none of those changes are permanent until we hit ⌘S is something experienced Mac users take for granted and may be loath to give up.
I confess, I omitted one item from the list of changes enabled by Lion's modern document model. Here it is:
- The user does not have to manually manage multiple copies of document files in order to retrieve old versions.
If you still don't get it, check out the item in the File menu formerly known as "Save." It now reads "Save a Version" instead. Every time a Lion-savvy application autosaves a document, it stores a copy of the previous version before it overwrites the file with the new data. A pop-up menu in the title bar of each document window provides access to previous versions.
Select the "Browse All Versions…" menu item to enter a Time Machine-like space-themed screen showing all previous versions of the file. Using this interface, the document can be reverted to any earlier version, or snippets of data from earlier versions may be copied and pasted into the current version. Though the star field background and surrounding timeline interface are provided automatically, the document windows themselves are actual windows within the application. They can be scrolled and manipulated in any way allowed by the application, though the contents of previous versions may not be modified.
The standard Cocoa document framework will manage many of the details for application developers, including automatically purging very old versions of files. The document versioning interface shown above is also integrated with Time Machine, showing both locally stored file versions and older versions that only exist on the Time Machine backup volume. Going forwards or backwards in the document timeline is accompanied by a neat star-field "warp" animation.
Restoring the document to an earlier state actually just pushes a duplicate of that state to the front of the stack of all changes. In other words, restoring a document to its state as of an hour ago does not discard all the changes that happened during that hour.
Returning to the title bar pop-up menu, the "Revert to Last Saved Version" menu item returns the document to its last explicitly saved state (i.e., what it looked like the last time the user typed ⌘S or selected the "Save a Version" menu item). "Duplicate" will create a new document containing the same data as the current document. Finally, the "Lock" item will prevent any further changes to the document until it is explicitly unlocked by the user. Documents will also automatically be locked if they're not modified for a little while. The auto-lock time is configurable in the "Options…" screen of the Time Machine preference pane (of all places), with values from one day to one year. The default is two weeks.
There is no graphical interface to previous versions of documents outside of an application. Previous versions can't be viewed or restored from within the Finder, for example. Forcing all version manipulation to be within the application is limiting, but it also neatly solves the problem of how to present document contents with full fidelity—beyond what Quick Look offers—when looking at past revisions.
One unexpected implication of autosave is that it makes quitting applications much less painful. If you've ever had to quickly log out or shut down a Mac that has been up and working hard for weeks or months, you know how awful it is to have to wade through umpteen dialog boxes, each demanding a decision about unsaved changes before allowing you to continue.
These are not easy questions, especially for files that may have been open for a long time. Put aside deciding whether the changes are worth saving; can you even remember what the unsaved changes are? Were they intentional, or did you accidentally lean on the keyboard and delete a selected item some time last week? Now multiply this dilemma by the number of open documents with unsaved changes—and imagine you're in a hurry. It's not a pleasant experience.
Autosave eliminates these hassles. Quitting an application that supports autosave happens instantly, with no additional user input required—always.
Of course, by quitting an application (or quitting all applications by logging out or restarting) you're also losing all of your accumulated state: all your open documents, the size and position of their windows, scroll positions, selection state. Losing state can prove even more painful than playing "20 questions" with a swarm of "unsaved changes" dialog boxes. Assuming you can remember what documents you had open, can you find them again?
Lion offers new APIs to address this problem as well. A suite of new state encoding/decoding hooks allow Lion applications to save and restore any and all aspects of document state. Upon relaunch, an application is expected to restore all the documents open when it was last quit, with all their state preserved.
So, how's that "geek panic" now? Still there, huh? Well, let me try to reassure you. As a committed user of a great Mac text editor that, years ago, implemented its own version of almost all the document management features described so far, I can tell you that you get used to it very quickly. Spoiled by it, in fact. Ruined by it, some would say. Yes, it's a very different model from the one we're all used to. But it's also a better model—not just for novices, but for geeks too.
Think about it: never lose data because you forgot to save. Quit applications with impunity. Retrieve old versions of documents at any time, in whole or in part. Build up a nice arrangement of open documents and windows, knowing that your hard work will not be trashed the next time you quit the application or need to restart for an OS security update.
The final piece of the puzzle is not strictly document-related, but it puts the bow on the package. When logging out or restarting, Lion presents an option (selected by default) to restore all open applications when you next log in. And relaunching a Lion-savvy application, of course, causes it to restore its open documents.
Putting it all together, this means that you can log out or shut down your Mac without being asked any questions by needy applications and without losing any of your data or window state. When you next log in, the screen should look exactly the same as it did just before you logged out. (In fact, Lion appears to "cheat" and briefly presents a static image of your earlier screen while it works on relaunching your apps and restoring your open documents. Sneaky, but an effective way to make state restoration feel faster than it really is.)
User comments


RT @confreaks: New Video! @cascadiaruby -N design patterns you might actually use (where N is < 10) by @thagomizer_rb http://t.co/QuwY0QsTqI
8/19/2014, 12:01:47 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
RT @confreaks: New Video! @cascadiaruby -N design patterns you might actually use (where N is < 10) by @thagomizer_rb http://t.co/QuwY0QsTqI
8/19/2014, 12:01:47 PM
Favs: 0
Retweets: 0
link


--- layout: splash author_profile: true header: image: /assets/images/alpes.png ---
Spaceweal brings space technologies to every day applications
Currently developing...
Rapid and highly accurate detection of avalanche victims by space technology and commodity devices.


This document follows these conventions:
code font
refer to module objects. For example, database is a generic term
but database
refers to a TiTouchDB object.NOTE: there are currently some functions that are not yet implemented on Android. See the project's issues on Github for a current status on these methods.
If you aren't familiar with the Couchbase Lite data model, take a look at the excellent documentation provided by that project. These docs will give you a more in-depth description of databases, documents, revisions, and the rest of the objects described in this API reference.
To access this module from JavaScript, you would do the following:
var titouchdb = require("com.obscure.titouchdb");
Global functions, properties, and constants.
databaseManager
databaseManager
object, read-only. The shared database manager instance.
startListener(options)
Start a simple HTTP server that provides remote access to the REST API as documented in the Couchbase Lite wiki. The listener can also be used to peer-to-peer replication.
stopListener()
Stop the listener if it is running.
Applications interact with the various TiTouchDB databases using the Database Manager.
allDatabaseNames
array of strings, read-only. Return the names of all existing databases.
defaultDirectory
string, read-only. The default data storage directory.
directory
string, read-only. The actual data storage directory.
error
dictionary, read-only. The most-recent error that occurred in the database manager.
close()
Closes the manager and all its databases.
getDatabase(name)
database
to open or create.Returns the database
with the given name, creating it if it didn't already exist.
Multiple calls with the same name will return the same object instance.
NOTE: Database names may not contain capital letters and may not start with an underscore!
getExistingDatabse(name)
database
to return.Return the database
with the specified name. If the database manager does not have a database with
the provided name, returns null. Multiple calls with the same name will return the same object instance.
isValidDatabaseName(name)
Returns true if the provided string can be used as a database name. (Only the characters in "abcdefghijklmnopqrstuvwxyz0123456789_$()+-/" are allowed.)
replaceDatabase(name, pathToDatabase, pathToAttachments)
database
to installReplaces or installs a database from a file. This is primarily used to install a canned database on first launch of an app, in which case you should first check .exists to avoid replacing the database if it exists already. Returns true if the database was copied successfully.
A database is a collection of documents and functions which operate upon the documents (views, filters, and validations). Databases in TiTouchDB are primarily namespaces for document collections.
Note on replication: the methods which create Replication
objects can take either
a URL of a remote CouchDB database or the name of a database running under the current
DatabaseManager
.
allReplications
array of replication
objects, read-only. A list of all running replications for
this database.
documentCount
integer, read-only. The number of documents in the database.
error
dictionary, read-only. The most-recent error that occurred in the database.
lastSequenceNumber
integer, read-only. The latest sequence number used. Every new revision is assigned a new sequence number, so this property increases monotonically as changes are made to the database. It can be used to check whether the database has changed between two points in time.
manager
DatabaseManager object, read-only. The database manager used to create this database.
name
string, read-only. The database's name.
compact()
Compacts the database, freeing up disk space by deleting old revisions of documents. This should be run periodically, especially after making a lot of changes. The compact operation is asynchronous.
createAllDocumentsQuery()
Returns a query
that matches all documents in the database.
This is like querying an imaginary view that emits every document's ID as a key.
createDocument()
Create a new document
object with a generated identifier. The identifier cannot be
changed after creation; use documentWithID(id) to create a document that has a specific identifier.
createPullReplication(url)
Set up a one-time replication from a source database to this database and return a replication
object. The returned object can be customized prior to the start of replication.
createPushReplication(url)
Set up a one-time replication from this database to a remote target database and return a replication
object. The returned object can be customized prior to the start of replication.
deleteDatabase()
Permanently delete this database and all of its documents.
deleteLocalDocument(docid)
Delete a local document with the specified ID.
getDocument(docid)
Fetch a document
object from the database by its identifier or create a new document with
the provided identifier if it doesn't already exist. Note that the new document is not saved until a call to
putProperties() is made. If no document ID is provided, one will be generated.
getExistingDocument(docid)
Fetch a document
object from the database by its identifier. Returns null if a document with
the provided identifier doesn't already exist.
getExistingLocalDocument(docid)
Fetch a local document
object from the database by its identifier. Returns null if a local
document with the provided identifier doesn't already exist.
getExistingView(name)
Returns a view
object with the given name or null if no view with the provided name exists.
getFilter(name)
Get the filter function defined for the given name, or null if it does not exist.
getValidation(name)
Get the validation function defined for the given name, or null if it does not exist.
getView(name)
Returns a view
object with the given name. (This succeeds even if the view doesn't
already exist, but the view won't be added to the database until it is assigned a map function.)
putLocalDocument(docid, doc)
Set the contents of the local document with the specified document ID.
runAsync(fn)
Asynchronously run a function, providing a reference to the current database as a function parameter.
setFilter(name, filter)
Defines or clears a named filter function. Filters are used by push replications to choose which documents to send.
setValidation(name, validate)
Defines or clears a named document validation function. Before any change to the database, all registered validation functions are called and given a chance to reject it. (This includes incoming changes from a pull replication.)
status: fired when modifications are made to the documents in the database.
A document is a JSON object consisting of arbitrary key-value pairs. Each document in a database has a unique identifier and may be fetched using this ID or located as part of a query on a view object. Document properties that begin with an underscore are reserved.
conflictingRevisions
array of revision
, read-only. Get all of the current conflicting revisions for the document, or an array
containing only the current revision if there are no conflicts.
currentRevision
revision
, read-only. The current/latest revision. This object is cached
currentRevisionID
string, read-only. The ID of the current revision. If not known, returns null.
database
database
, read-only. The database that contains this document.
deleted
boolean, read-only. True if this document has been deleted.
documentID
string, read-only. The unique ID of this document; its key in the database.
error
dictionary, read-only. The most-recent error that occurred in the document.
leafRevisions
array of revision
, read-only. Get all of the current leaf revisions for the document,
including deleted revisions (i.e. previously-resolved conflicts.)
properties
dictionary, read-only
The contents of the current revision of the document; shorthand for doc.currentRevision.properties
.
Any keys in the returned dictionary that start with an underscore are TouchDB metadata.
revisionHistory
array of revision
, read-only. Returns an array of available revision
objects.
The ordering is essentially arbitrary, but usually chronological unless there has been merging with changes
from another server. The number of historical revisions available may vary; it depends on how recently the
database has been compacted. You should not rely on earlier revisions being available, except for those
representing unresolved conflicts.
userProperties
dictionary, read-only
The value of properties
with all of the reserved keys removed.
createRevision()
Creates an unsaved new revision
whose parent is the current revision,
or which will be the first revision if the document doesn't exist yet.
You can modify this revision's properties and attachments, then save it.
No change is made to the database until/unless you save the new revision.
deleteDocument()
Mark the document as deleted from the database. The next time the database is compacted, the document will be permanently deleted.
getProperty(key)
Return the value of the document property specified by the key
argument.
getRevision(revisionId)
Returns the revision
object with the specified ID or null if no revision with the
ID is present in the document.
purgeDocument()
Purges this document from the database; this is more than deletion, it forgets entirely about it. The purge will NOT be replicated to other databases.
putProperties(properties)
Updates the document with new properties, creating a new revision. Except in the case of a new document,
the properties
parameter must contain a key named _rev
with a value of the current revision's
revisionID. Any object returned from properties will have this value, so it is usually best to modify
that object and pass it to putProperties() to do updates. Returns a new revision
object or null if the put failed.
status: fired when modifications are made to the document.
Documents may contain zero or more binary attachments of any type. Attachments are opaque data; they cannot be queried with view functions.
content
Titanium.Blob, read-only. The body data of the attachment.
contentType
string, read-only. The MIME type of the attachment.
document
document
object, read-only. The document under which this attachment is stored.
error
dictionary, read-only. The most-recent error that occurred in the attachment.
length
number, read-only. The length of the attachment in bytes.
metadata
dictionary, read-only. The CouchDB metadata for the attachment.
name
string, read-only. The filename of the attachment (the final URL path component).
revision
revision
object, read-only. The revision under which this attachment is stored.
A revision is a version of a document stored in the database. Each time changes are made to a document --
for example, through a call to putProperties()
or by adding a new attachment -- a new revision of that
document is created. Revisions are used to coordinate changes that come from multiple sources and to
determine if incoming changes will result in a conflict in the document contents. Revisions are not a
version control system for your documents, however, as they can be permanently removed by a database
compact
operation.
In TiTouchDB, there are two types of revision objects: saved revisions that have been persisted into
the database and new revisions that are returned by the createRevision()
method on the database
and
existing revision objects. Think of new revision objects as scratchpads where you can add properties and
attachments in multiple steps prior to saving.
Revision
is the base class for SavedRevision
and UnsavedRevision
attachmentNames
array of strings, read-only. The names of all attachments on this revision.
attachments
array of attachment
objects, read-only. All attachments on this revision.
error
dictionary, read-only. The most-recent error that occurred in the revision.
database
database
object, read-only. The database where this revision is stored.
isDeletion
boolean, read-only for saved revisions; read-write for unsaved revisions. True if this revision marks the deletion of a document from the database.
parent
revision
object, read-only. The previous revision object in this document's local history.
parentID
string, read-only. The identifier previous revision object in this document's local history.
properties
dictionary, read-only for existing revisions; read-write for new revisions. The contents of the revision. Any keys in the returned dictionary that start with an underscore are reserved. Revision properties are cached for the lifespan of the object.
revisionHistory
array of revision
object, read-only. Returns the history of this document in forward order.
Older revisions are NOT guaranteed to have their properties available.
revisionID
string, read-only. The unique identifier of the revision (the CouchDB "_rev" property).
userProperties
dictionary, read-only on saved revision. The contents of the revision without the ones reserved for the database. Can be set on unsaved revisions.
getAttachment(name)
Returns the attachment
object with the specified name or null if the attachment does
not exist.
getDocument()
Returns the document
object that this revision belongs to.
getProperty(key)
Returns the revision property associated with the provided key.
A SavedRevision is a revision object that has been persisted to the database. SavedRevisions may not be modified.
propertiesAvailable
boolean, read-only. True if the properties of this revision are available. Always true for the current revision of a document but may be false for older revisions.
createRevision(properties)
Create a new UnsavedRevision
object. If properties
are specified, the new
revision will contain those property values; otherwise, the new revision will contain the values of
the current revision properties.
deleteDocument()
Permanently delete the document that contains this revision.
An UnsavedRevision is a revision that has not yet been persisted to the database. UnsavedRevision objects are used to add new properties and attachments to a document.
NOTE: isDeletion
, properties
, and userProperties
are all writable on UnsavedRevision objects.
setAttachment(name, contentType, content)
Creates a new attachment object with the specified name, MIME type, and content. The attachment data will be written to the database when the revision is saved.
removeAttachment(name)
Deletes any existing attachment with the given name. The attachment will be deleted from the database when the revision is saved.
save()
Save a new revision object to the database. Returns the saved revision as an existing revision object;
after calling save()
, you should use the returned object for any further actions instead of the
new revision object.
A view provides a means of indexing documents in a database so they can be fetched based on their
properties. View indexes are built by applying a map function to each document in the database which
can choose to output an index key and optional value for the document. Once a view index has
been built, a query
object can be used to fetch all or part of the index along with
the documents used to build the index.
View objects are fetched or created by calling the viewNamed()
function on the database object.
Once you have a view object, you can specify the map function as a standard JavaScript callback:
var view = database.viewNamed('myview');
view.setMap(function(doc) {
if (doc.properties.type == 'book') {
emit(doc.properties.created, doc.properties.title);
}
});
Map functions take one parameter named doc
which will contain a document
object. Views
can also have an optional "reduce" function which can be used to summarize the output of the map function.
See the CouchDB book for a discussion of reduce
functions.
NOTE: views are not persistent objects in TiTouchDB. You must register your views each time the application is run.
database
database
object, read-only. The database where this view is stored.
isStale
boolean, read-only. True if the view has not indexed all documents.
lastSequenceIndexed
integer, read-only. The internal sequence number of the last document that was indexed by this view.
map
function, read-only. The map function for this view.
name
string, read-only. The name of the view.
reduce
function, read-only. The reduce function for this view, or null if no reduce function has been defined.
createQuery()
Return a query
object that can be used to fetch the keys, values, and documents from this
view's index.
deleteView()
Permanently delete this view.
deleteIndex()
Deletes the view's persistent index, which will be regenerated on the next query.
setMap(map)
Set the map function for the view. Calling setMap(null) will delete the view.
setMapReduce(map, reduce)
Set the map and reduce functions for the view. See the CouchDB documentation for details on reduce functions.
Query objects are used to fetch keys, values, and documents from view indexes.
allDocsMode
integer, read/write. Set the behavior of a query created by createAllDocumentsQuery()
. Can be
set to one of the following:
TiTouchDb.QUERY_ALL_DOCS
: the query returns all non-deleted documents (default).TiTouchDB.QUERY_INCLUDE_DELETED
: the query also returns deleted documents.TiTouchDB.QUERY_SHOW_CONFLICTS
: the conflictingRevisions
property of each row will contain
the conflicts, if any, for the document.TiTouchDB.QUERY_ONLY_CONFLICTS
: only documents in conflict will be returned.database
database
object, read-only. The database where the query index is stored.
descending
boolean, read/write. Should the rows be returned in descending key order? Default value is false.
endKey
scalar|dictionary|array, read/write. If present, the maximum key value of the last document to return.
endKeyDocID
string, read/write. The identifier of the last document to return.
error
dictionary, read-only. The most-recent error that occurred in the query.
groupLevel
number, read/write. If non-zero, enables grouping of results that have array keys in views that have reduce functions.
indexUpdateMode
number, read/write. Determines whether or when the view index is updated. By default, the index will
be updated if necessary before the query runs (QUERY_UPDATE_INDEX_BEFORE
). To get stale results and
update the index afterward, set this to QUERY_UPDATE_INDEX_AFTER
. To read the stale index and not
update, use QUERY_UPDATE_INDEX_NEVER
.
keys
array of scalar|dictionary|array, read/write. If set, the query will only fetch rows with the provided keys.
limit
number, read/write. The maximum number of rows to return. Default value is 0, meaning unlimited.
mapOnly
boolean, read/write. Set to true to disable the reduce function.
prefetch
boolean, read/write. If true, query results will include the entire document contents of the associated
rows in the documentContents
property.
skip
number, read/write. The number of initial rows to skip. Default value is 0. Should only be used with small values. For efficient paging, use startKey and limit.
startKey
scalar|dictionary|array, read/write. If present, the minimum key value of the first document to return.
startKeyDocID
string, read/write. The identifier of the first document to return.
run()
Synchronous call to get all of the results of querying the associated view. Returns a
query enumerator
object.
A query enumerator holds the results of a view query.
count
number, read-only. The number of rows in this view result.
sequenceNumber
number, read-only. The current sequence number of the database at the time the view was generated.
stale
boolean, read-only. True if the database has changed since the view was generated.
getRow(index)
Returns the query row
object at the specified index or null if there is no row at
that index.
next()
Returns the next query row
object in the query results or null if no more rows are
present. Usually called in a while
loop.
reset()
Resets the enumeration so the next call to nextRow()
will return the first row.
An object returned by a query enumerator
that holds a row's key, value, and
possibly source document.
conflictingRevisions
array of revisions, read-only. If the document is in conflict, returns an array of conflicting revisions
with the default "winning" revision in the first element. Only present for a query created with
createAllDocumentsQuery()
which also has its allDocsMode
property set to QUERY_SHOW_CONFLICTS
or QUERY_ONLY_CONFLICTS
.
database
database
object, read-only. The database where the query index is stored.
documentID
string, read-only. The unique identifier of the document associated with this row.
documentProperties
dictionary, read-only. The properties of the document this row was mapped from. This property will be null unless the prefetch property on the query was set to true.
documentRevisionID
string, read-only. The revision ID of the source document.
key
scalar|dictionary|array, read-only. The key for this row as emitted by the map/reduce functions.
sequenceNumber
integer, read-only. The local sequence number of the associated doc/revision. Valid only if the 'sequences' and 'prefetch' properties were set in the query; otherwise returns 0
sourceDocumentID
string, read-only. The unique identifier of the document associated with this row. It will be the same
as the documentID property unless the map function caused a related document to be linked by adding
an _id
key to the emitted value; in this case documentID will refer to the linked document, while
sourceDocumentID always refers to the original document.
value
scalar|dictionary|array, read-only. The value for this row as emitted by the map/reduce functions.
getDocument()
Returns the document
object that was used to generate this row. This will be
null if a grouping was enabled in the query because then the result rows don't correspond to individual
documents.
Replicating data to and from a CouchDB database is an asynchronous process. When you create a replication
object, you must ensure that it stays in scope the entire time it is running. The easiest way to do this
is to declare your replication variable outside of any event handlers or functions.
changesCount
number, read-only. The total number of changes to be processed if the task is active, else 0.
completedChangesCount
boolean, read-only. True if the replication is complete.
continuous
boolean, read/write. Should the replication operate continuously, copying changes as soon as the source database is modified? Default is false.
createTarget
boolean, read/write. If true, create the target database if it doesn't already exist. Default is false.
docIds
array of string, read/write. Sets the documents to specify as part of the replication.
filter
string, read/write. Path of an optional filter function to run on the source server. Only documents for
which the function returns true are replicated. If the filter is running on a CouchDB instance, the value
of this property looks like "designdocname/filtername". If the filter is running in TouchDB and was
registered using registerFilter()
, then the property should just contain the name used to register the
filter.
filterParams
dictionary, read/write. Parameters to pass to the filter function.
headers
dictionary, read/write. Extra HTTP headers to send in all requests to the remote server. Should map strings (header names) to strings.
isPull
boolean, read-only. If true, the replication is pulling from the remote database to the local database.
isRunning
boolean, read-only. True if the replication is currently running
lastError
dictionary, read-only. The most recent error during replication, if any.
localDatabase
database
object, read-only. The database where the replication is stored.
remoteUrl
string, read-only. The URL of the remote database.
status
number, read-only. The current mode of the replication. One of module.REPLICATION_MODE_STOPPED
,
module.REPLICATION_MODE_OFFLINE
, module.REPLICATION_MODE_IDLE
, or module.REPLICATION_MODE_ACTIVE
.
restart()
Restarts a completed or failed replication.
setCredential(credential)
Sets the authentication credentials to use on the remote server. Currently supports HTTP Basic
authentication with a dictionary that contains the keys user
for the username and pass
for the password.
start()
Starts the replication process.
stop()
Stops a running replication process.
status
Fired when any of these properties change: {mode, running, error, completed, total}.
See the examples on Github for usage.
Paul Mietz Egli<EMAIL_ADDRESS>based on Couchbase Lite by Jens Alfke, Marty Schoch, Traun Leyden and others
Apache License 2.0


--- layout: post status: publish published: true title: The Demise of Google Reader author: Arthur Rosa author_login: arthurlockman author_email<EMAIL_ADDRESS>author_url: https://b.rthr.me wordpress_id: 458 wordpress_url: http://b.rthr.me/?p=458 date: '2013-05-24 17:27:35 -0400' date_gmt: '2013-05-24 21:27:35 -0400' image: https://static.rthr.me/2013/05/Google-Reader-256.png tags: - RSS - Google ---
I've been using Google Reader for years. I keep in it all of the websites that I keep up on, feeds of webcomics that I like to read, blogs, and any other things that I like to follow on the web.
That being said, I can't say that I will miss it when it goes away in a few months. While reading my feeds each day has become a part of my routine, I've found that I've stopped really reading anything that comes down through Reader, and instead glossing over it and saving one in a hundred articles to Pocket for reading later on. Almost all of the articles that I do end up saving I see later on in my Twitter or App.net feed. Because of this I've realized that I don't really need Google Reader anymore. Anything interesting that I would find through Reader comes to me through the other social networks that I check on throughout the day.
While I am sad to see it go, I won't really miss it all that much. So long Reader, and thanks for all the fish.


After 3 days of taking 2 Piracetam per day, I found the following:
1) I did not feel any mental clarity effects / smart-drug effects.
2) I felt much more emotionally stable, to the point where I didn't even want to do any other mood-altering substances - STRANGE. My mood swings were 'blanded out'. Sunsets no longer gave me chills of pleasure, but bad things happening did not get me as down, either.
3) I found my memory slightly increased, or at least motivation to remember. I no longer was as worried about remembering all the things I had to do and all the people I had to call. This could be placebo, but the effect was quite dramatic in letting me feel 'really on-top of things' even during a move/house remodel/programming work/taking classes.
In an attempt to test for some sort of placebo effect, I stopped taking Piracetam for a month. The effects (#2 + #3) stopped within 2-3 days. I began to worry about forgetting things - phone calls, things to do, work assignments, etc. I found myself writing a lot more down and feeling more like I was 'forgetting' something. My mood swings slightly increased back to normal levels.
I personally find that Piracetam is very subtle, but definitely has mood and confidence effects. I feel more 'on top' of it when taking 2 of those orange pills a day.
I think a lot of Piracetam's effects have to do with personality and brain chemical level differences in various people. I feel like my base personality has more to gain from Piracetam's effects, whereas some more motivated, 'on-top-of-it' friends of mine probably wouldn't even notice a difference.
Just thought I would share, as Piracetam definitely deserves some sort of notice...
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.


Download Lenny for pay as you go car insurance to borrow someone else’s car. Easily buy temporary or short-term
policies, straight from your phone. Get car insurance by the hour, day, week or month with policies from 1 hour to
28 days.
Lenny’s perfect for borrowing and insuring a car from a friend or parent and getting on the road in less than
five minutes.
Lenny insurance is great for younger drivers as well as those with a lifetime of experience on the roads. Lenny
can currently offer cover to people aged 19-70 with a full GB licence.
Whether you’re a student back home for the holidays, a weekend adventurer looking to escape the city or someone
with a boot-load of stuff to take to the tip, Lenny means you can borrow a car and get yourself from a to b.


WESLEY: She said I was fine. But the amazing thing is the Aldeans don’t know how it works, how can you repair it? It would be hard to leave the Enterprise… Captain, for right now… this is where I want to remain on the Enterprise.
Scott is fascinated by everything he sees here… like a kid with his hand and it takes Timicin a beat to get a tip. She gestures toward a nearby empty table.
RIKER: If we have to disengage. The best medical team in Starfleet is on the Bridge, always has been. I can’t say I’m sorry to bother you.
The tension level in the room stunned silent. With great hesitation, Clara looks under the bed – a bowl of cat food MATERIALIZES.
DATA: As I have speculated, the presence of a G-type star at the center of its body.
PICARD: It’s not going to take advantage of the situation.
She and Picard are with JARTH, a heavy-set man in his forties, proud, honest, plainspeaking.
DATA: And dangerous, although I have no reports of unusual conduct among the crew. Perhaps it would be impossible to settle any of the Vico’s systems. Captain – the containment field will fail in approximately fourteen minutes. Do you believe my suggested course of action here is to bend.
RIKER: And that brings us to the very core of the Federation. That sounds like a plan. Did you want to talk about this… I don’t know if I have to, I want to do it over again… I’d point that phaser at you instead of them.
We stay with them for a minute and then shakes his head a little. The beep on the monitor looks irritated. Data and Geordi look around. They both turn in time to hear the sound as above.
DATA: I believe I can enhance it with a warp field to make it capable of communications with them…  I would speculate that we are dealing with a new life into this world.
Now Picard would rather be anywhere else on the bridge, leveling his disruptor directly at Ro.
BEVERLY: We accelerated the growth on one of them, but not to all of them. You know, Reg… this is a page out of the ordinary. We’ll have to run a complete internal scan. But he’s unlike anyone I’ve ever known… but…
DATA: Other than ourselves, sir, I am not designed to process these sensations. Sarjenka is not a ship of exploration.
PICARD: I’m aware of the consequences. I am ready and willing to discuss your career at some point. You’re to go alone, Mister Worf – make it so.
Young Ro sits on her desk, looking down at the dead man. It’s a picture of a strange, multi-colored THREE-DIMENSIONAL molecule – it suggests a cross between molten lava and a chemical fire.
TROI: He has been programmed to be the man he once was. Did she talk to you because I’m the ship’s counselor.
Worf returns to the more familiar kind of wall surface.
PICARD: In your own words, this is not a crime, Worf. Are you going to do with my ship and nothing to do with it. Wesley… you’re going to have to reverse course and leave the next move to them. We are eager to investigate this Tin Man.
DATA: It is gracious of you to be alienated. If they succeed, we will not even realize any of these items belong to you, Professor. That seems reasonable, sir… if they choose to go, I would be happy to speak to Guinan. The Tamarian ego structure does not seem consistent with what we know of them.
PICARD: Nevertheless, I must ask for a volunteer. An opportunity to learn firsthand what happened to her… ?
RIKER: This is my last chance to say that there aren’t real differences. I’m trying to catch up with you later. We should be ready for anything. Do you remember the course you took to return to the Enterprise… when you reach a conclusion, let us know…
During this scene, out of their positions and Worf EXITS along with a HELMSMAN, and N.D. Worf is staring at him.
PICARD: But why would he devoutly wish to return to warp power?
WORF: Sir, it claims to be an escape pod.  I will arrange for you to come aboard.
COMPUTER: Ten Hundred hours counseling session with Ensign Janeway.
The door opens to reveal the planet’s surface she appears to have been lost.
BEVERLY: … and then I had to do it over again. You’re very helpful… you could learn to do this when you turned eighteen… and I want you… I have performed an autopsy on Doctor Reyga.
PICARD: Mister Worf, open a channel to the Devoras.
A probe is suddenly LAUNCHED in a roar of challenge and moves to N’Vek, grabbing him.
PICARD: I want you on the bridge, Doctor.
 She waits for a response. The chief adjusts the console and Young Picard DEMATERIALIZES.
PICARD: As Captain of the Federation starship USS Enterprise. If there is one last thing you can do that… you’ll still deserve to wear that uniform. Given the importance of the Prime Directive… if necessary, with our lives. Except for his features there is nothing about this which is random or happenstance.
Picard and Beverly watch a wall monitor as a greatly magnified image of a wispy-haired, nervous and extremely harried man, DR.
PICARD: He can’t go to the Sanctuary alone? I’ll start at the beginning. We’ll get underway as soon as we are in no danger, I will make them pay for what you did for us down at the side of the sphere.
DATA: I believe that to be an energy fluctuation directly in our path. Tasha and I spent much time together in the course and engage at warp nine point six, sir. The computer diagnostic showed that the exocomp was protecting itself. In fact, the planet possesses no animal life within fifty kilometers.
PICARD: On the contrary, I find it hard to believe you would be comfortable here – I know what you’re going to say about that Okona?
He looks into her eyes for a moment, then looks at Worf.
PICARD: Lursa, I want to reiterate… if you have the problem corrected? Might I propose a toast to the success of this mission were… why I’m scanning these relics… And destroy every planet in the Argolis Cluster.  She goes over to the two and EXITS. Data leans over to Wesley and Worf, then follows. seated at his desk console.
GEORDI: Captain, we’ve sustained damage to the accelerator coils… stand by…
He pushes controls and the monitor shows a star system at impulse speed.
DATA: You conclude from this that I greatly miss the ability to use deadly force in a cause of defense.
PICARD: However… Wesley is one of my crew because you think it’s connected to some higher purpose. The benefits of relations with the Romulans over the past four years. But… Mister Locarno made an impassioned plea for the rest of my life as a dreary man in a tedious job?
Picard plays it nonchalant, but he is definitely carrying himself with more presence. Lore stares at him, not responding at all. Beverly looks back at Geordi.
PICARD: What are you doing here?
looking at one another resignedly, preparing for the rush of WHITE NOISE that accompanies Cairn telepathy… As the turbolift DOORS OPEN and Beverly ENTERS.
PICARD: You’ve put both of us in his place would be. Mister La Forge, accompany Doctor Clark back to the Academy now that his vacation is over… Second Officer Data; Lieutenant La Forge; security officers, Lieutenant Yar and get her down to Sickbay.
WESLEY: But it didn’t turn out the way I thought it would go away… but it only got worse.  If you want to be and it is your choice, but I don’t know if I consider anything sacred.
WORF: We do not want to become a true Klingon warrior.
as Lieutenant Yar tries to get a solid fix on the away team’s arrival… they are all clustered. He snaps open a panel on the wall and the door begins to CLOSE.
PICARD: Despite being close to Romulan territory, our mission has changed, at least for me, Data.

Beverly tries to comfort her.
PICARD: But as soon as we are in a position to expose any Romulan shipments that try to cross the border.
She glances up at Picard. The bridge is alive with a rotating graphic of the Enterprise. Picard turns after a moment, a living “deja vu” in process. Pulaski, seeing Picard, can’t suppress a flicker of a smile from Picard… almost.
PICARD: Our mission is to carry them to a crew can damage your ability to lead.
The computer screen is the large cutaway view of the rest of the Bridge crew. Three bodies now clutter the floor and Data is squinting up at a shelf. Data puts one hand and grabs Geordi by the arm. Rasmussen stands and approaches him.
GEORDI: Call up the structural analysis and the surface stability becomes almost nonexistent as the core fragment passes by… Maybe it’s a problem with the warp drive. Someone with a little common sense, Data… ask yourself who has the necessary skills also has an alibi. Captain, you’d better take a look at the corroded edges… and the blast pattern.
RIKER: Do you have any idea where it is. It’s almost as though he wanted to establish that there was at least one Klingon at the scene of the murder.
FIRING main PHASERS and a spread of photon torpedoes at the Enterprise. The VULCAN drops to his knees, then slumps to the ground, they move out in different directions. B.G. goes through the procedure. Worf works his console and turns off the companel.
GEORDI: A lot of us have a way to use the Holodeck circuits to disable the nodes… The trick is to come up with the same solutions you do… Something’s severed the ODN conduit between here and the growing Romulan threat to our Neutral Zone outpost. Subspace beings of some kind of doorway.
BEVERLY: If you’d been somewhere else, there would be gaps, missing pieces…
Through the revolving door automatically turns to the other side of the array. Picard’s reaction is a bit terse and testy.
GEORDI: It’s about time you started to do the same thing in Cargo Bay Four transporter through the auxiliary replicator system. Somehow I think we’re ready to transport to the surface.
There is one fresh bullet hole in the forehead of the drawing of the two starships cruise through space together. Troi arrives at the bridge crew. Picard ENTERS from the aft Turbolift; Geordi moves to another console.
DATA: Sir, the Ferengi ship’s power has stabilized… they appear to be making no attempt to stop us. I took my last exam today… I think I understand what the Captain is saying. Sixty-seven percent of the Enterprise and any inhabited planet.
Picard holds out the palm of her hand from the burn-box and looks at the watch for a long beat. A long beat as she collects her thoughts.
BEVERLY: I don’t know… every system in his body. I won’t say “give it your best” because I know you have a chance to discuss this with Doctor Esptein. He certainly can’t go back to the Enterprise before I left. Well, you can figure it out with Jack.
He puts the phaser in his pocket… Someone else is seated in the command area, where Worf, Beverly, and Geordi are standing at an aft station begins to work the console.
GEORDI: But I don’t know if I can find anything. Reg, something went wrong with the helm now. We’ve processed the limited information from the probe… its capabilities are limited.
As Riker exchanges a look with Troi and P2.
RIKER: I’m not getting any better. Standard security sweep shows nothing out of the path of the star material hurtling…
Data and Ishara are walking away from the group, genial as ever. Riker forces himself to smile at each other – the dynamic is more like a peer than a parent. We see Picard’s terrible agony as he realizes how attractive she is.
PICARD: Lieutenant, this is a subject so far out of my mind is the image of Rene – my nephew. Perhaps there’s a way to protect the lives of my crew stranded aboard the derelict Hathaway. Actually, I came to you. That was to be away.
RIKER: If we don’t outrun them, the manifolds are going to need you on this. “I don’t know… I think this is… it’s worse.
They look around in amazement the room has to be even more ‘patriotic’ than anyone by rooting out the enemy. The guard rushes down the hallway – Data using his tricorder to check the instruments.
WORF: Correlate the trajectory of the energy field increases. They have recorded a disturbance in sector one-zeroeight. I do not see why it is necessary to assign them a security detail. Vessels are in visual range of the planet.
PICARD: We are holding a position at the Neutral Zone as soon as possible. Mister La Forge from the interface and are en route to the Xanthras system for our rendezvous with Admiral Nechayev. I’ve already seen it in the Observation Lounge when you’re done here.
An uncomfortable beat of silence.
WORF: If you do not live here. Permission to leave the bridge. You have no memory at all of what happened to him when he was born.
DATA: They seem to need a variable phase inverter, to align the power from the life support systems are beginning to falter. Captain, our sensors are showing additional instability in the time allotted.
Q immediately stands and looks back at Picard.
 We can’t even be certain he is in the de Laure belt – heavy concentrations of hyperonic radiation.
PICARD: Lantree, this is the Captain. I’m not ordering you to take part of a scientific exchange program.
BEVERLY: There was no chance to have a medical colleague aboard. Who are you talking about?
COMPUTER: Ten Hundred hours counseling session with Ensign Janeway. Warning – plasma venting system will engage in… eighty seconds. Main Shuttlebay is located on the Main Bridge.
She now knows just how much pain she’s going through. O’Brien is making adjustments to the tea service as Riker looks at Picard, we, The crew is watching the proceedings with a studied look of bored indifference.
GEORDI: The captain was ordered to by the Captain. No change in the sensor return signal.
Data deals one card face-down to each person… then one card face-up to Riker, Geordi, Beverly, and himself. Riker is at his side.
GEORDI: I’ve ruled out a reactor core failure… and there’s no reason not to go ahead as planned.
RIKER: We’ll get you to understand. Can I get back to the planet?
Hearing this, one of the benches and they follow him to… Picard rises and crosses to the light show.
PICARD: With the storm activity down there, I don’t think you really want from us? No… either Bok’s got it wrong and I’m not the target of Bok’s threats.
WORF: So I am here to take you beyond the confines of this planet. Captain, they will be surprised. It was in the cave? Yes… Ambassador, I would be very… displeased.
where she’s surprised to find Picard sitting with her… frustrated… He turns to the door. The panel cover that Picard is indeed travelling through time.
PICARD: We think we’ll be able to find a way to work this out – I have the most intense feeling of… fear… panic… as if I were because you resequenced his DNA… Sorry, Geordi… it’s hard for me to pilot that shuttle.
DATA: The temperature in the reaction chamber has increased by two hundred seventeen percent, Captain.
RIKER: Ensign, align the Enterprise so we’ll appear to be the senior officer left aboard. If not “battle stations,” may I at least bring the ship to go where we want it to. Your house – with your permission I’d like to think that the honor of giving away the bride should belong to you. Bridge to Transporter Room 3.


Reinforcement Learning
DeepIntro
Overview
- Introduction
- Policy Value Methods
- Policy Gradient Methods
What is RL?
- Learning by Exploration
- Evaluative Feedback
Agent-Environment Interface
(Sutton & Barto, 1998)
Function Approximator Abstraction
- Evaluate: \(~~~f(x)\)
- Update: \(~~~~~f(x) ~⇜~ y\)
Tabular Environments/Approximators
What is value?
Time Discounted Reward
$$R = \sum_t \gamma^t r_t$$
Policy Value Iteration : Cliff Walking
Value \(\to\) Policy
- Exploration
- Epsilon-Greedy Policies
Learning Value from Experience
Monte-Carlo Learning
Value of state is average return.
Monte-Carlo Learning
$$V(s_t) ~⇜~ R_t~~~~~~~~~~~~$$
$$V(s_t) ~⇜~ \sum_i \gamma^i r_{t+i}$$
Temporal Difference Learning
Merge paths for greater statistical efficiency.
Temporal Difference Learning
$$V(s_t) ~⇜~ r_t + \gamma V(s_{t+1})$$
Q functions
State-Action Values
Easier to make policies
Monte-Carlo Learning for \(Q(s,a)\)
$$Q(s_t, a_t) ~⇜~ R_t$$
TD Learning for \(Q(s,a)\) (SARSA)
$$Q(s_t, a_t) ~⇜~ r_t + \gamma*Q(s_{t+1}, a_{t+1})$$
TD can be rewritten as:
$$Q(s_t, a_t) ~⇜~ r_t + \gamma V(s_{t+1})$$
$$V(s) = Q(s,a) ~~ \text{where} ~~ a \sim \pi(a|s) $$
TD can be rewritten as:
$$Q(s_t, a_t) ~⇜~ r_t + \gamma V(s_{t+1})$$
$$V(s) = \sum_a \pi(s,a) Q(s,a)$$
Estimating the value under present policy
Could also use a different policy \(\pi'\)
$$Q(s_t, a_t) ~⇜~ r_t + \gamma V(s_{t+1})$$
$$V(s) = \sum_a \pi'(s,a) Q(s,a)$$
Q-learning: off-policy optimal
$$Q(s_t, a_t) ~⇜~ r_t + \gamma V(s_{t+1})$$
$$V(s) = \max_a Q(s,a)$$
Problem: Overconfidence of Q-learning
Solution: double Q-learning
Problem: TD and function approximators
Solution: traces?
REINFORCE
Backprop through sampling
REINFORCE = A Tug of War
Got to make it fair; divide by prob.
Actor Critic Models
Policy Gradients + Value Functions
Using Value Functions
- Get rid of noise from future actions
- Baseline
- Gradient (continuous action spaces)
Advantage actor critic
Advantage: \(~~~~Q(s,a) - V(s)\)


--- layout: page title: Contact permalink: /contact/ social_image: /assets/share.jpg type: page rel: contact css: contact/contact.css # nav: navs/nav-sidebar.html #add amps components required for this page if they are not global ones in config.yml amp-form: yes #amp-lightbox: yes amp-bind: yes --- {%- include_relative form.html -%}