|
Vienna Vulkan Engine
|
The scene Manager manages the objects that have been loaded and put into the world. More...
#include <VESceneManager.h>
Public Member Functions | |
| VESceneManager () | |
| Constructor of class VESceneManager. | |
| ~VESceneManager () | |
| Destructor of class VESceneManager. | |
| const aiScene * | loadAssets (std::string basedir, std::string filename, uint32_t aiFlags, std::vector< VEMesh * > &meshes, std::vector< VEMaterial * > &materials) |
| Load assets from file ussing Assimp. More... | |
| VESceneNode * | loadModel (std::string entityName, std::string basedir, std::string filename, uint32_t aiFlags=0, VESceneNode *parent=nullptr) |
| Load assets from file ussing Assimp, create entities from them. More... | |
| VESceneNode * | createSceneNode (std::string name, VESceneNode *parent, glm::mat4 transf=glm::mat4(1.0f)) |
| Create a scene node. More... | |
| VEEntity * | createEntity (std::string entityName, VEMesh *pMesh, VEMaterial *pMat, VESceneNode *parent, glm::mat4 transf=glm::mat4(1.0f)) |
| Create an entity. More... | |
| VEEntity * | createEntity (std::string entityName, VEEntity::veEntityType type, VEMesh *pMesh, VEMaterial *pMat, VESceneNode *parent, glm::mat4 transf=glm::mat4(1.0f)) |
| Create an entity. More... | |
| VECamera * | createCamera (std::string cameraName, VECamera::veCameraType type, VESceneNode *parent, glm::mat4 transf=glm::mat4(1.0f)) |
| Create a camera. More... | |
| VELight * | createLight (std::string lightName, VELight::veLightType type, VESceneNode *parent, glm::mat4 transf=glm::mat4(1.0f)) |
| Create a light. More... | |
| VEEntity * | createSkyplane (std::string entityName, std::string basedir, std::string texName, VESceneNode *parent) |
| Create a plane that is projected to the far plane of the frustum. More... | |
| VESceneNode * | createSkybox (std::string entityName, std::string basedir, std::vector< std::string > texNames, VESceneNode *parent) |
| Create a skyplane based sky box. More... | |
| VESceneNode * | getRootSceneNode () |
| void | setAutoRecord (bool flag) |
| If true then scene graph changes automatically trigger a cmd buffer rerecording. | |
| void | sceneGraphChanged () |
| This should be called whenever the scene graph ist changed - public API. | |
| void | setVisibility (VESceneNode *pNode, bool flag) |
| Set the visibility of a whole subtree. | |
| VESceneNode * | getSceneNode (std::string entityName) |
| Find an entity using its name. More... | |
| void | deleteSceneNodeAndChildren (std::string name) |
| Delete a scene node and all its subentities. More... | |
| void | deleteScene () |
| Create a list of all child entities of a given entity, then delete them. More... | |
| void | createSceneNodeList (VESceneNode *pObject, std::vector< std::string > &namelist) |
| Create a list of all child entities of a given entity. More... | |
| VEMesh * | createMesh (std::string name, std::vector< vh::vhVertex > &vertices, std::vector< uint32_t > &indices) |
| Create a new mesh with a certain name. More... | |
| VEMesh * | getMesh (std::string name) |
| Find a mesh by its name and return a pointer to it. More... | |
| void | deleteMesh (std::string name) |
| Delete a mesh given its name. More... | |
| VETexture * | createTexture (std::string name, std::string basedir, std::string texName) |
| Create a new texture with a given name. More... | |
| VETexture * | getTexture (std::string name) |
| Get a texture with a given name. More... | |
| void | deleteTexture (std::string name) |
| Delete a texture given its name. More... | |
| VEMaterial * | createMaterial (std::string name) |
| Create a new material with a given name. More... | |
| VEMaterial * | getMaterial (std::string name) |
| Find a material by its name and return a pointer to it. More... | |
| void | deleteMaterial (std::string name) |
| Delete a material given its name. More... | |
| VECamera * | getCamera () |
| void | setCamera (VECamera *cam) |
| Set the the current camera. More... | |
| std::vector< VELight * > & | getLights () |
| void | printSceneNodes () |
| Print a list of all entities to the console. | |
| void | printTree (VESceneNode *root) |
| Print a list of all entities in an entity tree to the console. More... | |
Protected Member Functions | |
| virtual void | initSceneManager () |
| Initializes the scene manager. More... | |
| virtual void | closeSceneManager () |
| Close down the scene manager and delete all its assets. | |
| void | createMeshes (const aiScene *pScene, std::string filekey, std::vector< VEMesh * > &meshes) |
| Create all VEMesh instances from a file loaded by Assimp. More... | |
| void | createMaterials (const aiScene *pScene, std::string basedir, std::string filekey, std::vector< VEMaterial * > &materials) |
| Create all VEMaterial instances from a file loaded by Assimp. More... | |
| void | copyAiNodes (const aiScene *pScene, std::vector< VEMesh * > &meshes, std::vector< VEMaterial * > &materials, aiNode *node, VESceneNode *parent) |
| Follow the Assimp tree of nodes and create entities from them. More... | |
| VESceneNode * | createSceneNode2 (std::string name, VESceneNode *parent, glm::mat4 transf=glm::mat4(1.0f)) |
| Create a scene node. More... | |
| VEEntity * | createEntity2 (std::string entityName, VEEntity::veEntityType type, VEMesh *pMesh, VEMaterial *pMat, VESceneNode *parent, glm::mat4 transf=glm::mat4(1.0f)) |
| Create an entity. More... | |
| void | addSceneNodeAndChildren2 (VESceneNode *pNode, VESceneNode *parent) |
| Add a new scene node into the scene. More... | |
| void | deleteSceneNodeAndChildren2 (VESceneNode *pNode) |
| Delete a scene node and all its subentities. More... | |
| void | createSceneNodeList2 (VESceneNode *pObject, std::vector< std::string > &namelist) |
| Create a list of all child entities of a given entity. More... | |
| VEEntity * | createSkyplane2 (std::string entityName, std::string basedir, std::string texName, VESceneNode *parent) |
| Create a plane that is projected to the far plane of the frustum. More... | |
| VETexture * | createTexture2 (std::string name, std::string basedir, std::string texName) |
| Create a new texture with a given name. More... | |
| VEMaterial * | createMaterial2 (std::string name) |
| Create a new material with a given name. More... | |
| void | sceneGraphChanged2 () |
| This should be called whenever the scene graph ist changed - internal version called automatically after changes. | |
| void | sceneGraphChanged3 () |
| This should be called whenever the scene graph ist changed. | |
| void | updateSceneNodes (uint32_t imageIndex) |
| Find all scene nodes without a parent, then update them and their children. More... | |
| void | updateSceneNodes2 (VESceneNode *pNode, glm::mat4 worldMatrix, uint32_t imageIndex) |
| Update this node and all its children. More... | |
| void | updateSceneNodes3 (std::vector< VESceneNode * > &children, glm::mat4 worldMatrix, uint32_t startIdx, uint32_t endIdx, uint32_t imageIndex) |
| Update a list of nodes and all their children. More... | |
| void | setVisibility2 (VESceneNode *pNode, bool flag) |
| Set the visibility of a whole subtree. | |
| void | notifyEventListeners (VESceneNode *pNode) |
| Notify event listeners that a scene node has been deleted. More... | |
Protected Attributes | |
| std::map< std::string, VEMesh * > | m_meshes = {} |
| Storage of all meshes currently in the engine. | |
| std::map< std::string, VETexture * > | m_textures = {} |
| Storage of all textures. | |
| std::map< std::string, VEMaterial * > | m_materials = {} |
| Storage of all materials currently in the engine. | |
| std::map< std::string, VESceneNode * > | m_sceneNodes = {} |
| Storage of all scene nodes currently in the engine. | |
| std::vector< VESceneNode * > | m_deletedSceneNodes = {} |
| List of deleted scene nodes and their children. | |
| VESceneNode * | m_rootSceneNode |
| The root node of the scene graph. | |
| std::map< VESceneObject::veObjectType, std::vector< vh::vhMemoryBlock * > > | m_memoryBlockMap |
| memory for the UBOs of the entities | |
| std::queue< std::future< void > > | m_updateFutures |
| we might do UBO updates in parallel, these are the futures to wait for | |
| VECamera * | m_camera = nullptr |
| Ptr to the current camera. | |
| std::vector< VELight * > | m_lights = {} |
| ptrs to the lights to use - filled automatically | |
| std::mutex | m_mutex |
| Mutex for multithreading, locks the scene manager. | |
| bool | m_autoRecord = true |
| if true, then scene graph changes automatically leasd to a cmd buffer rerecording | |
The scene Manager manages the objects that have been loaded and put into the world.
The scene manager can load objects from file and place them into the world. It also maintains cameras and lights.
|
protected |
Add a new scene node into the scene.
If the parent is the nullptr then make the root scene node its parent. This is the protected shadow function.
| [in] | pNode | Pointer to the new scene node |
| [in] | parent | Pointer to the new parent of this node |
|
protected |
Follow the Assimp tree of nodes and create entities from them.
Assimp returns a tree of nodes, each node having one or more meshes. Since an VEEntity can have only one mesh, for each of the meshes one VEEntity is created and being made the child of the current parent.
| [in] | pScene | A pointer to the Assimp scene |
| [in] | meshes | The meshes that were loaded by Assimp from the file |
| [in] | materials | The materials that were loaded by Assimp from the file |
| [in] | node | The Assimp node currently being processed |
| [in] | parent | The parent entity of the new entity |
| VECamera * ve::VESceneManager::createCamera | ( | std::string | cameraName, |
| VECamera::veCameraType | type, | ||
| VESceneNode * | parent, | ||
| glm::mat4 | transf = glm::mat4(1.0f) |
||
| ) |
Create a camera.
| [in] | cameraName | The name of the new camera. |
| [in] | type | The camera type to be used. |
| [in] | parent | Pointer to entity to be used as parent. |
| [in] | transf | Local to parent transform, given as GLM matrix. |
| VEEntity * ve::VESceneManager::createEntity | ( | std::string | entityName, |
| VEMesh * | pMesh, | ||
| VEMaterial * | pMat, | ||
| VESceneNode * | parent, | ||
| glm::mat4 | transf = glm::mat4(1.0f) |
||
| ) |
Create an entity.
| [in] | entityName | The name of the new entity. |
| [in] | pMesh | Pointer the mesh for this entity. |
| [in] | pMat | Pointer to the material for this entity. |
| [in] | transf | Local to parent transform, given as GLM matrix. |
| [in] | parent | Pointer to entity to be used as parent. |
| VEEntity * ve::VESceneManager::createEntity | ( | std::string | entityName, |
| VEEntity::veEntityType | type, | ||
| VEMesh * | pMesh, | ||
| VEMaterial * | pMat, | ||
| VESceneNode * | parent, | ||
| glm::mat4 | transf = glm::mat4(1.0f) |
||
| ) |
Create an entity.
| [in] | entityName | The name of the new entity. |
| [in] | type | The entity type to be used. |
| [in] | pMesh | Pointer the mesh for this entity. |
| [in] | pMat | Pointer to the material for this entity. |
| [in] | transf | Local to parent transform, given as GLM matrix. |
| [in] | parent | Pointer to entity to be used as parent. |
|
protected |
Create an entity.
| [in] | entityName | The name of the new entity. |
| [in] | type | The entity type to be used. |
| [in] | pMesh | Pointer the mesh for this entity. |
| [in] | pMat | Pointer to the material for this entity. |
| [in] | transf | Local to parent transform, given as GLM matrix. |
| [in] | parent | Pointer to entity to be used as parent. |
| VELight * ve::VESceneManager::createLight | ( | std::string | lightName, |
| VELight::veLightType | type, | ||
| VESceneNode * | parent, | ||
| glm::mat4 | transf = glm::mat4(1.0f) |
||
| ) |
Create a light.
| [in] | lightName | The name of the new camera. |
| [in] | type | The light type to be used. |
| [in] | parent | Pointer to scene node to be used as parent. |
| [in] | transf | Local to parent transform, given as GLM matrix. |
| VEMaterial * ve::VESceneManager::createMaterial | ( | std::string | name | ) |
Create a new material with a given name.
| [in] | name | Name of the material. |
|
protected |
Create a new material with a given name.
| [in] | name | Name of the material. |
|
protected |
Create all VEMaterial instances from a file loaded by Assimp.
Once Assimp loaded a file it offers a global list of materials. The function just goes through this list and creates VEMaterial instances, then stores pointers to the in the materials list.
| [in] | pScene | Pointer to the Assimp scene. |
| [in] | basedir | Name of the directory the file is in (for loading textures) |
| [in] | filekey | Unique string identifying this file. Can be used for the mesh names. |
| [out] | materials | List of new materials. |
| VEMesh * ve::VESceneManager::createMesh | ( | std::string | name, |
| std::vector< vh::vhVertex > & | vertices, | ||
| std::vector< uint32_t > & | indices | ||
| ) |
Create a new mesh with a certain name.
| [in] | name | The name of mesh |
| [in] | vertices | Vertices of the mesh |
| [in] | indices | Indices of the mesh |
|
protected |
Create all VEMesh instances from a file loaded by Assimp.
Once Assimp loaded a file it offers a global list of meshes. The function just goes through this list and creates VEMesh instances, then stores pointers to the in the meshes list.
| [in] | pScene | Pointer to the Assimp scene. |
| [in] | filekey | Unique string identifying this file. Can be used for the mesh names. |
| [out] | meshes | List of new meshes. |
| VESceneNode * ve::VESceneManager::createSceneNode | ( | std::string | objectName, |
| VESceneNode * | parent, | ||
| glm::mat4 | transf = glm::mat4(1.0f) |
||
| ) |
Create a scene node.
Calls its own shadow function, so that it does not block itself when called by another public function
| [in] | objectName | The name of the new MO. |
| [in] | transf | Local to parent transform. |
| [in] | parent | Pointer to entity to be used as parent. |
|
protected |
Create a scene node.
This is a protected shadow funtion of the public API function. It can be called by other public functions that lock the mutex.
| [in] | objectName | The name of the new MO. |
| [in] | transf | Local to parent transform. |
| [in] | parent | Pointer to entity to be used as parent. |
| void ve::VESceneManager::createSceneNodeList | ( | VESceneNode * | pObject, |
| std::vector< std::string > & | namelist | ||
| ) |
Create a list of all child entities of a given entity.
Public API function locks the mutex, then calls its shadow function
| [in] | pObject | Pointer to the root of the tree. |
| [out] | namelist | List of names of children of the entity. |
|
protected |
Create a list of all child entities of a given entity.
| [in] | pObject | Pointer to the root of the tree. |
| [out] | namelist | List of names of children of the entity. |
| VESceneNode * ve::VESceneManager::createSkybox | ( | std::string | entityName, |
| std::string | basedir, | ||
| std::vector< std::string > | texNames, | ||
| VESceneNode * | parent | ||
| ) |
Create a skyplane based sky box.
This function loads 5 textures to use them as sky planes. The bottom plane is not loaded The order of the tex names must be ft bk up dn rt lf
| [in] | entityName | Name of the new entity. |
| [in] | basedir | Name of the directory the texture file is in |
| [in] | texNames | List of 6 names of the texture files. Order must be ft bk up dn rt lf |
| [in] | parent | Pointer to a scene node that is the parent of this box, should be root node |
| VEEntity * ve::VESceneManager::createSkyplane | ( | std::string | entityName, |
| std::string | basedir, | ||
| std::string | texName, | ||
| VESceneNode * | parent | ||
| ) |
Create a plane that is projected to the far plane of the frustum.
Public API that locks the mutex and then calls its won shadow function
| [in] | entityName | Name of the new entity. |
| [in] | basedir | Name of the directory the texture file is in |
| [in] | texName | name of a texture file that contains the sky texture |
| [in] | parent | Pointer to the parent of this skyplane |
|
protected |
Create a plane that is projected to the far plane of the frustum.
Protected shadow function that creates the plane.
| [in] | entityName | Name of the new entity. |
| [in] | basedir | Name of the directory the texture file is in |
| [in] | texName | name of a texture file that contains the sky texture |
| [in] | parent | Pointer to the parent of this skyplane |
| VETexture * ve::VESceneManager::createTexture | ( | std::string | name, |
| std::string | basedir, | ||
| std::string | texName | ||
| ) |
Create a new texture with a given name.
| [in] | name | Name of the texture. |
| [in] | basedir | Name of the directory the file is in |
| [in] | texName | Filename of the texture file |
|
protected |
Create a new texture with a given name.
| [in] | name | Name of the texture. |
| [in] | basedir | Name of the directory the file is in |
| [in] | texName | Filename of the texture file |
| void ve::VESceneManager::deleteMaterial | ( | std::string | name | ) |
Delete a material given its name.
| [in] | name | Name of the material. |
| void ve::VESceneManager::deleteMesh | ( | std::string | name | ) |
Delete a mesh given its name.
This function does NOT check whether the mesh is still used by some entity! It should be only called if this is certain, e.g. if the whole scene is deleted.
| [in] | name | Name of the mesh. |
| void ve::VESceneManager::deleteScene | ( | ) |
Create a list of all child entities of a given entity, then delete them.
Function will delete all children of the root scene node, bit not the root itself
| void ve::VESceneManager::deleteSceneNodeAndChildren | ( | std::string | name | ) |
Delete a scene node and all its subentities.
| [in] | name | Name of the scene node. |
|
protected |
Delete a scene node and all its subentities.
| [in] | pNode | Pointer to the scene node to be deleted |
| void ve::VESceneManager::deleteTexture | ( | std::string | name | ) |
Delete a texture given its name.
| [in] | name | Name of the texture to be deleted. |
|
inline |
|
inline |
| VEMaterial * ve::VESceneManager::getMaterial | ( | std::string | name | ) |
Find a material by its name and return a pointer to it.
| [in] | name | The name of material |
| VEMesh * ve::VESceneManager::getMesh | ( | std::string | name | ) |
Find a mesh by its name and return a pointer to it.
| [in] | name | The name of mesh |
|
inline |
| VESceneNode * ve::VESceneManager::getSceneNode | ( | std::string | name | ) |
Find an entity using its name.
| [in] | name | Name of the entity. |
| VETexture * ve::VESceneManager::getTexture | ( | std::string | name | ) |
Get a texture with a given name.
| [in] | name | Name of the texture. |
|
protectedvirtual |
Initializes the scene manager.
In this function the scene manager loads standard shapes like cubes and planes. Then it creates a standard camera system (camera + parent) and a standard light.
| const aiScene * ve::VESceneManager::loadAssets | ( | std::string | basedir, |
| std::string | filename, | ||
| uint32_t | aiFlags, | ||
| std::vector< VEMesh * > & | meshes, | ||
| std::vector< VEMaterial * > & | materials | ||
| ) |
Load assets from file ussing Assimp.
The scene manager loads assets from a file and creates the contained meshes and materials. It does not create entities. Meshes and materials are stored in the scene manager's member variables.
| [in] | basedir | Name of directory the file is in |
| [in] | filename | Name of the file containing the assets |
| [in] | aiFlags | Import flags for Assimp, see code below for some examples |
| [out] | meshes | A list containing pointers to the loaded meshes |
| [out] | materials | A list of pointers to the loaded materials |
| VESceneNode * ve::VESceneManager::loadModel | ( | std::string | entityName, |
| std::string | basedir, | ||
| std::string | filename, | ||
| uint32_t | aiFlags = 0 , |
||
| VESceneNode * | parent = nullptr |
||
| ) |
Load assets from file ussing Assimp, create entities from them.
The scene manager loads assets from a file and creates the contained meshes and materials. Meshes and materials are stored in the scene manager's member variables. It then followsa the entity tree recursively and creates the contained entities.
| [in] | entityName | The name of the new entity (its the parent of all created entities) |
| [in] | basedir | Name of directory the file is in |
| [in] | filename | Name of the file containing the assets |
| [in] | aiFlags | Import flags for Assimp, see code below for some examples |
| [in] | parent | Make the new entity a child of this parent entity |
|
protected |
Notify event listeners that a scene node has been deleted.
Event listeners aswering true will also be deleted.
| [in] | pNode | Pointer to scene node that has been deleted |
| void ve::VESceneManager::printTree | ( | VESceneNode * | root | ) |
Print a list of all entities in an entity tree to the console.
| [in] | root | Pointer to the root entity of the tree. |
|
inline |
Set the the current camera.
| [in] | cam | Pointer to the camera |
|
protected |
Find all scene nodes without a parent, then update them and their children.
Makes this nodes and their children to copy their data to the GPU
| [in] | imageIndex | Index of the swapchain image that is currently used. |
|
protected |
Update this node and all its children.
Makes this nodes and their children to copy their data to the GPU
| [in] | pNode | Pointer to the node to start updating |
| [in] | parentWorldMatrix | World Matrix of the parent, used as a start |
| [in] | imageIndex | Index of the swapchain image that is currently used. |
|
protected |
Update a list of nodes and all their children.
This function can be called in parallel on subparts of a children list
| [in] | children | Reference to a list of children |
| [in] | worldMatrix | Parent world matrix for the children |
| [in] | startIdx | Start index pointing to the child to start at in the children list |
| [in] | endIdx | End index pointing to the child to end with in the children list |
| [in] | imageIndex | Index of the swapchain image that is currently used. |


The Scout Association takes the issue of privacy very seriously and is committed to protecting and respecting our users' privacy online. This Privacy Statement sets out our current data processing practices and should be read in conjunction with our terms and conditions. If you have any queries or concerns regarding these practices, you should contact us at<EMAIL_ADDRESS>1. The information we collect
The only circumstances in which we will provide any of your personal data to a third party for non commercial purposes are those contained in this Privacy Policy.
2. Registration information
When you register with www.scouts.org.uk, we ask for your name, email address and postcode. We usually also capture your IP address at the time you register.
3. Sharing of data
We may share data supplied by you (or collected about you) with other parts of The Scout Association eg Scout Shops Ltd. Donating to The Scout Association - We do not store credit card details nor do we share customer details with any third parties with regard to any donation you make to The Scout Association.
4. Advertising
www.scouts.org.uk may include interactive advertising for other businesses as part of the site operation. We may use, and provide to third parties, your contact details if you have given us permission to do so.
5. Legal jurisdiction
All personal information and details held on and processed by computers situated in the United Kingdom.
6. Further information
www.scouts.org.uk will as part of it's normal operation send out to information emails. Members can decide to ask for these emails as they register.
7. Disclosure of data by order of a Court and Security
We reserve the right to communicate a Member's personal information as we hold to third parties who are empowered by regulation, statute or order of a court.
We have security measures in place to protect our customer database. Access to this database is restricted internally. However, it remains each Member's responsibility:
- to keep their password secret
- to protect against unauthorised access to your personal details
- to log off from the www.scouts.org.uk service when not using it; and
- to ensure against use by anyone else of the www.scouts.org.uk Service through the machine that Member uses while they are "logged on" to the www.scouts.org.uk service
- to search and obtain only the data specifically required and allowed for relating to their role.
8. Use of cookies by The Scout Association
Cookies are small text files that are placed on your computer by websites that you visit. They are widely used in order to make websites work, or work more efficiently, as well as to provide information to the owners of the site
The table below explains the cookies we use and why.
| Cookie |
Name |
Purpose |
More information |
|
Google Analytics |
_utma |
These cookies are used to collect information about how visitors use our site. We use the information to compile reports and to help us improve the site. The cookies collect information in an anonymous form, including the number of visitors to the site, where visitors have come to the site from and the pages they visited. |
|
|
Module cookie |
Module_layout1 |
These cookies are used to store your personal homepage layout of the Scouts.org.uk home page. |
We are working towards developing a new system that will remove the need for this Cookie. |
|
Session cookies |
res_width |
These cookies are used to optimise you screen resolution for user logged in areas. These are session cookies and only last as long as you browser is open |
These cookies are essential to the running of the site and member areas. |
|
Style cookie |
style |
This cookies determines you default font size for Scouts.org.uk. On the main menu of Scouts.org.uk you can increase or decrease you font size. |
We are working towards developing a new system that will remove the need for this Cookie. |
Most web browsers allow some control of most cookies through the browser settings. To find out more about cookies, including how to see what cookies have been set and how to manage and delete them, visit www.allaboutcookies.org.
To opt out of being tracked by Google Analytics across all websites visit http://tools.google.com/dlpage/gaoptout.
YouTube cookies
We embed videos from our official YouTube channel using YouTube’s privacy-enhanced mode. This mode may set cookies on your computer once you click on the YouTube video player, but YouTube will not store personally-identifiable cookie information for playbacks of embedded videos using the privacy-enhanced mode. To find out more please visit YouTube’s embedding videos information page.
9. The Data Protection act
You can obtain further information about data protection laws by visiting the Information Commissioner's website at http://ico.org.uk/for_organisations/data_protection.
10. Contacting www.scouts.org.uk
If you want to contact us to raise any questions about this privacy statement, or any general matters relating to www.scouts.org.uk, you can contact us using this email address<EMAIL_ADDRESS>Please use this address if you wish to request from us a copy of the personal data we hold about you. Please note that under English law we are entitled to charge you a fee for providing this service.
11. Google Analytics
Visitors to this website who have javascript enabled are tracked using Google Analytics. Google Analytics collects the following types of information from users:
- Type of user agent (web browser) used, software manufacture and version number.
- Type of operating system
- Screen colors (color processing ability of the users screen)
- Javascript support
- Flash version
- Screen resolution
- Network location and IP address
- Can include country, city, state, region, county, or any other geographic data.
- Hostname
- Bandwidth (internet connection speed)
- Time of visit
- Pages visited
- Time spent on each page of the website
- Referring site statistics
- The website (URI) the user came through in order to arrive at this website (example: clicking on a hyperlink from Yahoo.com that took the user to this website)
- Search engine query used (example: typing in a phrase into a search engine like Google, and clicking on a link from that search engine)
This data DOES NOT include any personalised identification information such as:
- Names
- Phone numbers
- Email addresses
- Mailing addresses
- Bank account numbers
- Credit card information


Mateusz Piotrowski
I'm a
Hardware Enginner
,
Software Developer
and
Systems Administrator.
I like learn
new things
and meet
new technologies
.
Projects
The Recipe World
Badges
Try Spacemacs
Learn Spacemacs and make as your new IDE
Skills
HTML
CSS
C#
Java
WebFocus
Git


Class: ActionView::StreamingFlow
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
OutputFlow
|
|
|
Instance Chain:
self,
OutputFlow
|
|
| Inherits: |
ActionView::OutputFlow
|
| Defined in: | actionview/lib/action_view/flows.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
-
#append!(key, value)
Appends the contents for the given key.
-
#get(key)
Try to get stored content.
OutputFlow
- Inherited
| #append | Called by content_for. |
| #append! | Alias for OutputFlow#append. |
| #get | Called by _layout_for to read stored values. |
| #set | Called by each renderer object to set the layout contents. |
Constructor Details
.new(view, fiber) ⇒ StreamingFlow
# File 'actionview/lib/action_view/flows.rb', line 31
def initialize(view, fiber) @view = view @parent = nil @child = view.output_buffer @content = view.view_flow.content @fiber = fiber @root = Fiber.current.object_id end
Instance Attribute Details
#inside_fiber? ⇒ Boolean
(readonly, private)
[ GitHub ]
# File 'actionview/lib/action_view/flows.rb', line 71
def inside_fiber? Fiber.current.object_id != @root end
Instance Method Details
#append!(key, value)
Appends the contents for the given key. This is called by providing and resuming back to the fiber, if that’s the key it’s waiting for.
# File 'actionview/lib/action_view/flows.rb', line 65
def append!(key, value) super @fiber.resume if @waiting_for == key end
#get(key)
Try to get stored content. If the content is not available and we’re inside the layout fiber, then it will begin waiting for the given key and yield.
# File 'actionview/lib/action_view/flows.rb', line 43
def get(key) return super if @content.key?(key) if inside_fiber? view = @view begin @waiting_for = key view.output_buffer, @parent = @child, view.output_buffer Fiber.yield ensure @waiting_for = nil view.output_buffer, @child = @parent, view.output_buffer end end super end


JSON Files¶
-
class
JSONExtractor
(input_path=None, base_path=None, partition=None)[source]¶ The JSONExtractor class provides an API to extract data stored as JSON format, deserializes it into a PySpark dataframe and returns it. Currently only single-line JSON files are supported, stored either as textFile or sequenceFile.
Examples
>>> from spooq2 import extractor as E
>>> extractor = E.JSONExtractor(input_path="tests/data/schema_v1/sequenceFiles") >>> extractor.input_path == "tests/data/schema_v1/sequenceFiles" + "/*" True
>>> extractor = E.JSONExtractor( >>> base_path="tests/data/schema_v1/sequenceFiles", >>> partition="20200201" >>> ) >>> extractor.input_path == "tests/data/schema_v1/sequenceFiles" + "/20/02/01" + "/*" True
- Parameters
input_path (
str
) – The path from which the JSON files should be loaded (“/*” will be added if omitted)base_path (
str
) – Spooq tries to infer theinput_path
from thebase_path
and thepartition
if theinput_path
is missing.partition (
str
orint
) – Spooq tries to infer theinput_path
from thebase_path
and thepartition
if theinput_path
is missing. Only daily partitions in the form of “YYYYMMDD” are supported. e.g., “20200201” => <base_path> + “/20/02/01/*”
- Returns
The extracted data set as a PySpark DataFrame
- Return type
- Raises
AttributeError – Please define either
input_path
orbase_path
andpartition
Warning
Currently only single-line JSON files stored as SequenceFiles or TextFiles are supported!
Note
The init method checks which input parameters are provided and derives the final input_path from them accordingly.
- If
input_path
is notNone
: Cleans
input_path
and returns it as the finalinput_path
- Elif
base_path
andpartition
are notNone
: Cleans
base_path
, infers the sub path from thepartition
and returns the combined string as the finalinput_path
- Else:
Raises an
AttributeError


The hike to Jorn lake was the first venture we took into the Jefferson Wilderness. It was a three day trip around the Marion Lake sub-basin. The overall round trip length was about 14.5 miles, and the hike to Jorn lake was about 23.3 kilometers. We started at the Marion Lake trailhead (trail 3436) which provides access to the Jefferson Wilderness, and all its subsequent trails.
This trailhead has a five dollar a day parking fee and wilderness self issue permit is also needed. The start of the hike is through cool section of Douglas- Fir, Western Hemlock, Western Red Cedar and Pacific fir forest which continues on up to Marion Lake. The first mile rises gently to the first switch back which levels back out at Lake Ann. There is a rocky section of the trail where Lake Ann drains out of which may give old hikers a little trouble. Since, this trail is the closest access to Marion Lake you can expect to see more hikers and even some hikers that pack boats.
Marion lake is the largest lake in the immediate area and is the end location for many hikers. From this point the trail slowly departs from the contour of Marion Lake and begins to ascend to the eight lakes basin in which there are several switchbacks. About half a mile passed the Pine Ridge Trail (3443) the Jorn Lake trail enters a region that experienced a forest fire.
2.3 miles into the hike gives a first look at Marion lake.
This point is about 5 miles in on the way to Jorn Lake. The image really puts into perspective the vast devastating power of forest fires.
Looking at Mt.Jefferson
...
...


{% extends "base.html" %} {% block content %}
I was born in Boston, MA
I grew up in Dominican Republic
My greatest dream is to do doctors without borders
My family lives in Boston, MA


simpleWeather Changelog
For a more complete changelog you can always check out the commit log.
v3.1.0 - January 29 2016
- Fixed location errors due to Yahoo removing geo.placefinder from their API. It has been replaced with geo.places. (1)(https://github.com/monkeecreate/jquery.simpleWeather/issues/174)
- Fixed error callback to correctly return an error message. (2)(https://github.com/monkeecreate/jquery.simpleWeather/issues/101)
v3.0.2 - June 2 2014
- Fixed result issue when more than one location was returned. (3)(https://github.com/monkeecreate/jquery.simpleWeather/issues/90)
v3.0.1 - May 22 2014
- Fixed forecast thumbnail and image bug. (4)(https://github.com/monkeecreate/jquery.simpleWeather/issues/88)
v3.0 - May 17 2014
- Complete rewrite! Removed over 100 lines of code without losing functionality.
- Now < 4.0 kB in size.
- Added forecast thumbnail image.
- Removed tomorrow in favor of forecast.
- Fixed http/https issue on API call (5)(https://github.com/monkeecreate/jquery.simpleWeather/pull/79) and images.
- Hat tip to @defvayne23 for a quick code review.
v2.7 - April 17 2014
- Added gulp and a build/release process.
- Fix for 3200 (not available) condition code and related image (6)(https://github.com/monkeecreate/jquery.simpleWeather/issues/77).
- Fixed my assumption of query being present (7)(https://github.com/monkeecreate/jquery.simpleWeather/issues/72). Hat tip to @rjackson.
- Some general code cleanup.
v2.6 - February 26 2014
- Encoding URI for API call.
- Fixed formatting issues.
- Fixed alt temps bug.
- Hat tip to @defvayne23 for the suggestions.
v2.5 - February 5 2014
- Removed deprecated weather.search YQL table.
- Added geo.placefinder YQL table for searching locations. This allows you to get your location in a more forgiving format than before including latitude and longitude.
- Removed
options.zipcode
as options.location
now accepts any combination of city, state, and zipcode.
- Removed
timeOfDay
as it was buggy and wouldn’t return correctly anyways. Currently there is not a method to make this work accurately. See (8)(https://github.com/monkeecreate/jquery.simpleWeather/issues/66) for info.
- Removed
http:
from api call and image source to allow for https.
v2.4 - January 22 2014
- Added four day forecast with recent Yahoo Weather API update.
v2.3 - June 16 2013
- Added
timeOfDay
for custom day/night icons.
- Fix for new Yahoo API error result.
v2.2 - April 20 2013
- Added high and low alt temps.
- Added alt temp unit.
v2.1.2 - January 25 2013
- Just a version bump for jQuery plugin directory.
v2.1 - November 18 2012
- Added WOEID location param for all.
v2.0.1 - January 26 2012
- Plenty of code cleanup but no additions, fixes, or deletions.
v2.0 - November 23 2011
- Added forecast condition code.
v1.9 - October 3 2011
v1.8 - May 15 2011
- Fixed wind direction.
- Added calculations for the heat index.
v1.7 - May 8 2011
v1.6 - December 16 2010
v1.5 - June 29 2010
- Fixed errors in wind direction calculations.
v1.4 - June 4 2010
- Fixed issue of a location returning multiple results.
v1.3 - May 26 2010
- Fixed bug with trailing commas for IE.
- Added
$.getJSON()
instead of $.ajax()
.
- Added better error message if the location is invalid.
v1.2 - May 18 2010
- Added location param for those outside the US.
- Changed
thumbnail
to a hardcoded url.
v1.1 - May 17 2010
v1.0 - May 16 2010
-
174 ↩
-
101 ↩
-
90 ↩
-
88 ↩
-
79 ↩
-
77 ↩
-
72 ↩
-
66 ↩


{% extends 'base.html' %} {% block content %}
If you already have an account, go ahead and log in. If you are new to Educatech School Colombia, get started by creating a student account or a teacher account.
write in this space path templates/classroom/home.html
Want to run this code locally? Read detailed instructions on how to run this project.
Juan Lopez - Marcela Sanchez - Sergio Quiroga
@jclopez100


Asciify This!
Turn any image into ascii art.
upload file:
or enter link to image:
GitHub
width (characters):
brightness:
font size:


PERSONAL DETAILS
Name
AGE
FATHER NAME
School/College
MOBILE NO
ADDRESS
BRANCH
EMAIL
GENDER
Chaithra
20
kempanna
DSU
123456789
Bengaluru
Bengaluru
<EMAIL_ADDRESS>Female


Evening Courses
The following courses are available after 5pm:
| Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | |
|---|---|---|---|---|---|---|
| Class | Javascript | Math & Logic | Database Development | C# Part 1 | Programing Logic | Website Coding |
| Times | 12pm-4pm | 1pm-3pm | 12pm-2pm | 2pm-5pm | 2pm-4pm | 12pm-3pm |
| Location | GreenBay | Marinette | Sturgeon Bay | GreenBay | Marinette | GreenBay |


HTML templating engines
HTML templates give us flexibility when writing HTML pades
- They allow us to separate data from our markup
- Write partial pages to avoid repetition (DRY principle)
- Easily include data on the page
Nearly every framework utilizes templating engine
- Rails
- Django
- AngularJs
- Backbone
- React


A function is triggered when the user releases a key in the input field. The function outputs the actual key/letter that was released inside the text field, and also the reverse of it.
What you wrote:
The reverse is:


{% extends 'layout.html' %} {% block title %}{% if unit %}Uploads for {{ unit }}{% else %}Hidden Uploads{% endif %}{% endblock %} {% block layout-content %} {% if unit %}
These are the uploaded files for the unit {{ unit }}. Instructors can upload transcripts here. You can also find problem sets you submitted from this page.
You should usually NOT submit problem sets through this form. Use the submit unit form instead.
Nothing here yet!
{% endif %}


UPBGE Game: Dead End 3 [$]
RednapGames writes:
DEAD END 3 is a game project made in UPBGE that I started 2017. Now after 2 years I can proudly say it's worth trying out if you like fast paced survival action. DEAD END 3 Full Trial Gold is the LAST Version before the Full Game Release, and hopefully it will make people interested to support the development of the Full Game.
 Will you complete the mission? Or will you get stuck in the DEAD END...
Peace out! :)


{% extends "/layout/base.html" %}
{% block content %}
{{ service.description }}Today's Schedule
{{ data.data_1 }}
{{ data.description_1 }}
{{ data.data_2 }}
{{ data.description_2 }}
{{ data.data_3 }}
{{ data.description_3 }}
Premium Membership
Happy Clients
I couldn't be more happy with the results!
Adam Jordan
I can't believe how much better I feel!
Greg Pardon
Incredible transformation and I feel so healthy!
Christina Goldman
Services
Achieve the best results with our wide variety of training options!
{{ service.label }}
Contact
We're a dream team!


| Downsampling Type | average | |||||||||
| Policy Cache Time | 7 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | cluster |
| Description | Per protocol performance statistics for HTTP | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for SMB1 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for NFS3 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for PAPI | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for SMB1 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for HTTP | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for IRPs | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for SMB2 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for SMB1 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for LSASS_IN | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for SIQ | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for FTP | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for HDFS | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for IRPs | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for NLM | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for SIQ | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for NLM | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for PAPI | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for NFS4 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for JOBD |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | node |
| Description | Per protocol performance statistics for NFS3 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for JOBD |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 5 seconds |
| Scope | node |
| Description | Per protocol-operation performance statistics for NFS4 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for NFS3 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for SMB2 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for HDFS | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for NFS3 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for FTP | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for SMB1 | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for LSASS_OUT | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Per protocol-operation performance statistics for LSASS_OUT | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 5 seconds | |||||||||
| Scope | node |
| Description | Per protocol performance statistics for LSASS_IN | |||||||||
| Query Platform API current | Click to query PAPI for current data for this stat key. | |||||||||
| Query Platform API history | Click to query PAPI for historic data for this stat key. | |||||||||
| Type | stats_proto_opstat_list | |||||||||
| Units | none | |||||||||
| Interval Detail |
|
|||||||||
| Downsampling Type | custom | |||||||||
| Policy Cache Time | 5 seconds | |||||||||
| Default Cache Time | 0 seconds | |||||||||
| Scope | node |
| Description | Cluster totaled per-operation performance statistics for NLM |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for HDFS |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for IRPs |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for FTP |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for SMB1 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for SMB2 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for NFS3 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for SIQ |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for NLM |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for LSASS_OUT |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for NFS4 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for LSASS_OUT |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for NFS3 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for FTP |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for PAPI |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for SMB1 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for LSASS_IN |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for IRPs |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for JOBD |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for SMB2 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for SMB1 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for NFS4 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for NFS3 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for PAPI |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for JOBD |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for HTTP |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for HTTP |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for HDFS |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for LSASS_IN |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for SIQ |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled per-operation performance statistics for NFS3 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | Cluster totaled performance statistics for SMB1 |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | stats_proto_opstat_list |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | custom |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | cluster |
| Description | TEST: settable int with node scope |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | int32 |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | average |
| Policy Cache Time | None seconds |
| Default Cache Time | 5 seconds |
| Scope | node |
| Description | missing stat |
| Query Platform API current | Click to query PAPI for current data for this stat key. |
| Query Platform API history | History is not retained for this key. |
| Type | invalid |
| Units | none |
| Interval Detail | No interval policies defined |
| Downsampling Type | last |
| Policy Cache Time | None seconds |
| Default Cache Time | 0 seconds |
| Scope | node |


|
HP-ANN
0.0.1
C implementation of a high performance artificial neural network
|
This header file contains all the implemented activation functions and its derivatives. More...
Go to the source code of this file.
Functions | |
| int | ActivationLogistic (double x, double *y, void *prm) |
| Logistic function. More... | |
| int | DerivativeLogistic (double x, double *y, void *prm) |
| Derivative of Logistic function. More... | |
This header file contains all the implemented activation functions and its derivatives.
In order to difference both tyes of functions, we have set the following nomenclature:
All the functions will have 3 main parameters:
The output of the functions will be 1 if no error has happened.
Up to now, the implemented activation functions are:
| int ActivationLogistic | ( | double | x, |
| double * | y, | ||
| void * | prm | ||
| ) |
Logistic function.
The logistic function is defined as:
\[ f(x) = \frac{1}{1-e^{-x}}. \]
| x | Input value. |
| y | Pointer to the output value of the function. |
| prm | Pointer to parameters. Insert NULL pointer. |
| int DerivativeLogistic | ( | double | x, |
| double * | y, | ||
| void * | prm | ||
| ) |
Derivative of Logistic function.
Given the logistic function \(f(x)\), its derivative is computed as \(f'(x)=f(x)(1-f(x))\).
| x | Input value. |
| y | Pointer to the output value of the function. |
| prm | Pointer to parameters. Insert NULL pointer. |


Our phone will be a very simple design, with a rectangular frame, a screen, and two identical cameras:
During the tutorial, we will create the following files:
Two of these are assembly files, as the camera will be included as a sub-assembly in the phone in two different places, front and rear. Assemblies, sub-assemblies and parts are handled in exactly the same way.
Saving the components in separate files allows them to be worked on by different engineers. Each will have a clearly defined interface to the other documents, allowing easy interchange of different or upgraded designs for modular components.
We need a recent version of FreeCAD (at least 0.19). Under Tools -> Addon manager, install the Assembly4 Workbench:
From the start page of FreeCAD, select “Create new…”
Save the file in your selected directory as “Frame”
Choose the Assembly 4 workbench and create a new Body: Leave the default name “Body”.
Now we are ready to model the frame. In this case, it will be a simple rectangular pad with pockets for the screen and two cameras.
Right-click on the Body in the tree and select “Toggle active Body”.
This will open the Part Design workbench.
Create a new sketch:
Select the XY Plane:
and click OK.
Create a rectangle 145x70mm:
Press Escape, or the close button on the Tasks tab to close the sketch.
Pad the sketch to create the frame of the phone:
Leave the default 10mm and click OK.
Click the top face of the phone frame, then the “Create a new sketch” button.
Set the dimensions of the screen as follows:
Note: Good engineering practice would reference these dimensions from a spreadsheet to enable rapid design upgrades or different phone sizes from the same design.
Press Escape or Close to exit the sketch, and then create a pocket
Make the pocket 2mm deep.
Open a new sketch on the top of the phone for the front camera cutout, and create a circle with the following dimensions:
As before, create a pocket, this time 4mm deep:
Flip the phone frame over, and repeat for the rear-facing camera, creating another 4mm deep pocket:
The Tree for the Frame should now look like this:
The frame design is now complete, but we need some local co-ordinate systems to allow assembly of the components to the frame in the correct places.
Switch back to Assembly 4 workbench.
This is the heart of Assembly 4. We will add the Local Co-ordinate Systems to the frame in the positions and orientations for the sub-assembly parts to attach correctly to the frame.
First, we will create an LCS to attach the screen in the corner of the frame. Select the Body in the tree and then click “Create a new co-ordinate system in part”
Call it LCSScreen:
Right-click on the new LCS in the tree
and select “Edit datum”.
Highlight “XY tangent to surface”
Zoom in on the bottom left corner of the frame, and select the base plane of the pocket created earlier.
Next, click exactly in the corner of the pocket to select the vertex that will lock in the X and Y for this datum:
Note the small yellow dot in the image above.
We now have an LCS positioned correctly, but it is facing out from the corner, so we need to rotate it.
In the bottom of the dialogue, change “Around z-axis” to 180°:
The LCS is now correctly oriented for the screen to attach.
Click OK at the top of the dialogue and move to the front camera position.
Again, select the Body in the tree and click “Create a new co-ordinate system in part”
Name it LCSFrontCamera.
Right-click on the new LCS in the tree and select “Edit datum”.
Select the bottom circumference of the front camera pocket (yellow line in this picture):
Click OK.
That's it. We don't need to consider rotation in this case, and the module has automatically selected “concentric” as the constraint type.
Repeat the exercise above for the rear camera:
Save the Frame file.
Open a new file and save it as Screen
Choose the Assembly 4 workbench and create a new Body: Leave the default name “Body”.
Right-click on the Body in the model tree and select “Toggle active body” to open the Part Design workbench.
Create a new sketch on the XY plane with a simple rectangle:
Note that the corner of the sketch is co-incident with the origin. This will align later with the LCS that we created above.
Exit the sketch, then create a pad 1mm vertically.
Right-click on the Body in the model tree, then change the appearance to 70% transparency, and a blue-ish colour.
Save the Screen file.
Open a new file and save it as Bezel.
Create a new body under the Assembly 4 workbench.
Right-click on the Body in the model tree and select “Toggle active body” to open the Part Design workbench.
Create a new sketch on the XY plane with two concentric circles 8mm and 6mm diameter:
Exit the sketch, then pad 5mm vertically.
We now need to insert a Local Co-ordinate System to attach the lens when we create the Camera sub-assembly. The lens will be positioned near the top of the bezel.
Select the Body in the model tree and click “Create a new co-ordinate system in part” under the Assembly 4 workbench.
Name it LCS_LensAttachment:
Right-click on the new LCS in the tree
and select “Edit datum”. Select the top circumference to place the datum at the top of the bezel.
To protect the lens, we need to recess it 1mm below the top of the bezel. Change “In z-direction” to -1 mm:
This drops the LCS as shown:
Save the Bezel file.
Open a new file, and save as Lens. Create a body as before, then make a spherical lens starting with the following sketch on the XZ Plane, not the XY plane as for the previous parts:
Note that the center of the radius must be constrained vertically to the origin for a tangential top surface. The exact dimensions are not important for this exercise.
Revolve the sketch 360°, then mirror the Revolution feature
to create a double-sided lens something like this:
You can adjust colours and transparency if you like.
For this component, we have modelled with the origin at the centre of mass, so we don't need to add an extra Local Co-ordinate System.
Our lens model tree should now look like this:
Save the Lens file.
Create a new file, and save it as Camera.
Create a new Assembly 4 Model. In this case, we don't need a Body, as we will link the bodies from the parts already created.
Prior to linking bodies from other parts, we need to close and re-open all files so that part names are shown correctly.
Insert a link to the Bezel body , keeping the default name Bezel_Body, since there will be only one instance of it in this sub-assembly.
Select Bezel_Body in the model tree and click “Move/Attach a part in the assembly” under the Assembly 4 workbench.
For “Attach to:”, select “Parent Assembly”. Select “LCS_Origin” on both sides of the dialogue:
This will place the bezel at the origin of the sub-assembly.
Now insert the Lens#Body into the Bezel in the same way, except in this case, we will attach it to the LCS created earlier. Select “Bezel” on the right-hand side of the dialogue this time, and “LCS_LensAttachment” in the parent:
The lens is now positioned with it's origin 1mm below the top of the bezel:
Save the Camera sub-assembly file.
Create a new file, and save it as Phone.
Create a new Assembly 4 model.
Insert a link to the Frame part , keeping the default name Frame_Body, since there will be only one instance of it in this assembly.
The frame will be inserted at the origin, so there is no need to place it.
Insert a link to the Screen body , keeping the default name Screen_Body, since there will be only one instance of it in this assembly.
Place the Screen#Body by selecting “LCS_0” for the Screen, and “LCS_Screen” for the co-ordinate system in the frame.
Because we aligned the LCS in the Frame file, it positions correctly without any rotation:
Now we can insert two instances of the Camera sub-assembly.
As above, insert a link to the Camera part , but this time, Change the name to CameraFront, since there will be two instances of it in the phone assembly.
Place the part, choosing “LCS_Origin” for the camera linked part, which is located at the base of the sub-assembly, and “LCS_FrontCamera” for the parent part.
Repeat for the rear camera, selecting the same model, but this time naming it to “CameraRear” and selecting “LCS_RearCamera” as the attachment point on the frame.
Our model tree now looks like this, showing Bodies attached from the simple parts, and Models from the sub-assemblies.
Save the Phone assembly file.
We now have a very stylish smartphone, ready for the day when the “square” look comes back into fashion.
This model attaches subassemblyies at their origin. For a quick tutorial on subassemblies with their own Local Co-ordinate Systems, refer to https://github.com/thermalling/FreeCADAsm4_TutorialSubassemblyTable.
Thanks to Zolko for Assembly 4, and the FreeCAD developers for making this possible for us.
All feedback and corrections most welcome.


{{ plot_resources|indent(4)|safe }} {{ plot_script|indent(4)|safe }}
This is a sample modal box that can be created using the powers of CSS3.
You could do a lot of things here like have a pop-up ad that shows when your website loads, or create a login/register form for users.
Click on any symbol to view it in the dashboard.
{{ extra_divs.table_ranks|indent(4)|safe }}Clicking on a row will display the detailed information for the chosen symbol. The columns are sortable by clicking on the column header. Clicking once sorts in ascending order. Click again to change the order to descending.
The columns are:
The Detail Page shows additional information for each symbol. If the information is availabe the following are shown:
The overview graph never changes scales and always show the different types of information. The graph shows:
To zoom in a particular region, click and drag on the overview graph. The zoomed region will be shaded in a light blue and the large detail graph will only show that region.
The detail graph shows the same information as the smaller overview graph but allows more interaction with the data. Addition actions possible in the detail graph are:
Mouse over the following for a summary of underlying detail.
Filing Diamond
News Dot (green)
Forum Dot (orange)
Different tools are available to use in conjunction with the detail graph. When a tool is active there is a blue vertical line to the right of the tool. Mouse-over a tool to see what the name of the too.
The following tools are available in the current version.
Pan - - Click-hold on the detail graph allows you to move the graph. Clicking on this tool deactivates the Box Zoom tool.
Box Zoom - - Using the Box Zoom allows you to click and drag on an area of the detail graph and have the gaph zoom to that region. Clicking on this tool deactivates the Pan tool.
Wheel Zoom - - The wheel zoom allows zooming in/out on the dates (x-axis) with the mouse wheel if the cursor is over the detail graph.
Tap - -Enables showing more detail when clicking on a spam, forum, or news symbol. This tool is always active.
Reset - - Click on this tool to reset the Detail Graph to match the time range of the overview graph.
Hover - - This tool enables and disables showing information for different sources when hovering over the symbol. If too much is being shown when hovering over a group of dots you can use this tool to disable showing certain types of information, such as filing information.
Clicking on the hover tool allows the enabling and disabling of various hover information.
The different checkboxes enable/diable as follows:
Clicking near a spam, forum, or news dot will pop up a window with additional information. The nearby spams, forum, and news entries will be collapsed. Clicking on the "Plus" sign will expand/collapse the information.
Clicking on a plus sign shows you text of associated the spam email, the forum posting, or the news article by an analyst.
To go to a new symbol click on the symbol pick at the upper left of the page. Clicking on the Symbol Picker will bring up the Symbol Selection Table.
To Get back to this help click on the Help button at the upper right of the page..


In CSS, from the outside going in, first you have margin, than border, than padding and finally the content (your creation). So your creation is surrounded by these 3 layers. Every single HTML elements is treated as a box by CSS, so you can adjust to your liking.
A margin is the space around an element’s border, the space between the border and the next element of your design. Think of the space outside the border and between it and the other elements. Like if you had one box next to the other, the space between the boxes would be the Margin. Margin goes around all four sides of the content and you can target and change the margin for each side.
Padding is the space between an element’s border and the element’s content. So if you had shoes inside the box, padding is the paper around the shoes, and the shoes are the contet. Put another way, the margin property controls the space outside an element, and the padding property controls the space inside an element.


THERAFLU MAX-D- acetaminophen, dextromethorphan hydrobromide, guaifenesin and pseudoephedrine hydrochloride powder, for solution
Novartis Consumer Health, Inc.
Disclaimer: Most OTC drugs are not reviewed and approved by FDA, however they may be marketed if they comply with applicable regulations and policies. FDA has not evaluated whether this product complies.
Active ingredient (in each packet)
Acetaminophen 1000 mg
Dextromethorphan HBr 30 mg
Guaifenesin 400 mg
Pseudoephedrine HCl 60 mg
Purpose
Pain reliever/fever reducer
Cough suppressant
Expectorant
Nasal decongestant
Uses
- temporarily relieves these symptoms due to a cold:
- minor aches and pains • headache • minor sore throat pain • cough
- nasal congestion • helps decongest sinus openings and passages
- temporarily reduces fever
- helps loosen phlegm (mucus) and thin bronchial secretions to drain bronchial tubes and make coughs more productive
Warnings
Liver warning: This product contains acetaminophen. Severe liver damage may occur if you take
- more than 4 packets in 24 hours, which is the maximum daily amount
- with other drugs containing acetaminophen
- 3 or more alcoholic drinks every day while using this product
Sore throat warning: If sore throat is severe, persists for more than 2 days, is accompanied or followed by fever, headache, rash, nausea, or vomiting consult a doctor promptly.
Do not use
- in a child under 4 years of age
- if you are allergic to acetaminophen
- with any other drug containing acetaminophen (prescription or nonprescription). If you are not sure whether a drug contains acetaminophen, ask a doctor or pharmacist
- if you are now taking a prescription monoamine oxidase inhibitor (MAOI) (certain drugs for depression, psychiatric or emotional conditions, or Parkinson's disease) or for 2 weeks after stopping the MAOI drug. If you do not know if your prescription drug contains an MAOI, ask a doctor or pharmacist before taking this product.
Ask doctor before use if you have
- liver disease
- heart disease
- diabetes
- thyroid disease
- high blood pressure
- trouble urinating due to an enlarged prostate gland
- cough that occurs with too much phlegm (mucus)
- cough that lasts or is chronic such as occurs with smoking, asthma, chronic bronchitis, or emphysema
Ask a doctor or a pharmacist
- taking the blood thinning drug warfari
When using this product
- do not exceed recommended dosage
Stop use and ask a doctor if
- nervousness, dizziness or sleeplessness occur
- pain, nasal congestion or cough gets worse or lasts more than 7 days
- fever gets worse or lasts more than 3 days
- redness or swelling is present
- new symptoms occur
- cough comes back or occurs with fever, rash or headache that lasts. These could be signs of a serious condition.
If pregnant or breast-feeding
ask a health care professional before use.
Keep out of reach of children
In case of overdose, get medical help or contact a Poison Control Center right away. Prompt medical attention is critical for adults as well as for children even if you do not notice any signs or symptoms.
Directions
- do not use more than directed
- take every 6 hours; do not take more than 4 packets in 24 hours unless directed by a doctor
| Age |
Dose |
| children under 4 years of age |
do not use |
| children 4 to under 12 years of age |
do not use unless directed by a doctor |
| adults and children 12 years of age and over |
one packet |
- dissolve contents of one packet into 8 oz. hot water: sip while hot. Consume entire drink within 10-15 minutes.
- if using a microwave, add contents of one packet to 8 oz. of cool water: stir briskly before and after heating. Do not overheat.
Other information
-
each packet contains: calcium 10 mg, potassium 10 mg, sodium 15 mg
-
phenylketonurics: contains phenylalanine 23.6 mg per packet
- store at controlled room temperature 20-25°C (68-77°F)
Inactive ingredients
acesulfame K, aspartame, citric acid, D&C yellow #10, FD&C red #40, flavors, maltodextrin, silicon dioxide, sodium citrate, sucrose, tribasic calcium phosphate
Questions or Comments?
call 1-800-452-0051
Principal Display Panel
Novartis Consumer Health, Inc.


Why made this web?
The main purpose of this web page is to introduce CSS and give new web designer an opportunity to learn about CSS. Make it easier for new designer to learn CSS later.
The main purpose of this web page is to introduce CSS and give new web designer an opportunity to learn about CSS. Make it easier for new designer to learn CSS later.
CSS (Cascading Style Sheets) is a declarative language used to control the appearance of web pages in the browser. The browser will display its selected elements in an appropriate form according to the CSS style definition. A CSS style definition includes attributes and attribute values, which together determine the appearance of a web page.
CSS, HTML and JavaScript are the three core technologies of the Web. It is generally used to define the style of HTML elements, but it can also be used in other markup languages such as SVG and XML.
CSS cannot be used alone, it must work together with HTML or XML to decorate HTML or XML. This article mainly introduces CSS technology used to decorate HTML web pages. HTML is responsible for determining what content is in the web page, and CSS determines the appearance (size, thickness, color, alignment, and position) of these elements. CSS can be used to set page layouts, set page element styles, and set global styles applicable to all web pages. CSS can be scattered directly on the web page elements to be styled, or it can be centrally built into the web page, linked into the web page, and imported into the web page.
(Source)


Jessi Char knocking it out of the park:
It wasn’t something I’ve thought about for some time because it’s a useless problem to think about that doesn’t do much to solve the challenges we face as a business.


Noughts and Crosses
About the game
Play with:
Computer
Friend
START
Enter names of players
Player 1
Player 2
Play
Turn
Back
Try again


|
Nav
Nav.channel.nml
Ion: na
g = gmax * m3 * h
Na+ channel description (modeled by Marianne Bezaire)
|
|
|
|
Navbis
Navbis.channel.nml
Ion: na
g = gmax * m3 * h
Na+ channel description (modeled by Marianne Bezaire).
Modified from Nav to have a slightly higher threshold, suitable for bistratified cells
|
|
|
|
Navcck
Navcck.channel.nml
Ion: na
g = gmax * m3 * h
Na+ channel description (modeled by Marianne Bezaire)
|
|
|
|
Navaxonp
Navaxonp.channel.nml
Ion: na
g = gmax * m3 * h
Na+ channel description for axon (from Migliore 1997, modified in 2002).
Navp without the slow inactivation (s - gating variable)
|
|
|
|
Navngf
Navngf.channel.nml
Ion: na
g = gmax * m3 * h
Na+ channel description for neurogliaform family (modeled by Marianne Bezaire)
|
|
|
|
Navp
Navp.channel.nml
Ion: na
g = gmax * m3 * h * s
Na+ channel description (from Migliore 1997, modified in 2002)
|
|
|
|
Navapicalp
Navp.channel.nml
Ion: na
g = gmax * m3 * h * s
${channel.notes}
|
|
|
|
Kdrslow
Kdrslow.channel.nml
Ion: k
g = gmax * n4
Slow delayed rectifier K+ channel description (from Storm 1990, modeled by Marianne Bezaire)
|
|
|
|
Kdrfast
Kdrfast.channel.nml
Ion: k
g = gmax * n4
Fast delayed rectifier K+ channel description (from Yuen and Durand 1991, modeled by Marianne Bezaire)
|
|
|
|
Kdrp
Kdrp.channel.nml
Ion: k
g = gmax * n
Delayed rectifier K+ channel description (from Migliore 1997 - modified by Marianne Bezaire)
|
|
|
|
Kdrfastngf
Kdrfastngf.channel.nml
Ion: k
g = gmax * n4
Fast delayed rectifier K+ channel description for neurogliaform family (from Yuen and Durand 1991, modeled by Marianne Bezaire)
|
|
|
|
KvAolm
KvAolm.channel.nml
Ion: k
g = gmax * a * b
A-type K+ channel description (from Zhang and McBain 1995, Martina 1998, Warman 1994 - modeled by Marianne Bezaire)
|
|
|
|
KvA
KvA.channel.nml
Ion: k
g = gmax * n * l
A-type K+ channel description (from Migliore 1995 - modified by Marianne Bezaire)
|
|
|
|
KvAproxp
KvAproxp.channel.nml
Ion: k
g = gmax * n * l
A-type K+ channel description (from Klee, Ficker and Heinmann 1995, modeled by Migliore 1997, 2001 - modified by Poirazi 2003)
|
|
|
|
KvAdistp
KvAdistp.channel.nml
Ion: k
g = gmax * n * l
A-type K+ channel description (from Klee, Ficker and Heinmann 1995, modeled by Migliore 1997 - modified by Poirazi 2003, Marianne Bezaire)
|
|
|
|
KvAngf
KvAngf.channel.nml
Ion: k
g = gmax * n * l
A-type K+ channel description for neurogliaform family (unknown - modeled by Marianne Bezaire)
|
|
|
|
KvGroup
KvGroup.channel.nml
Ion: k
g = gmax * n
Slow K+ channel description (from Yuen and Durand 1991 - modeled by Aradi and Holmes 2002)
|
|
|
|
KvCaB
KvCaB.channel.nml
Ion: k
g = gmax * o
Ca++ activated mAHP K+ channel description (from Moczydlowski and Latorre 1983 - modeled by Poirazi 2003, Lawrence 2006 (same parameters))
|
|
|
|
CavN
CavN.channel.nml
Ion: ca
g = gmax * c2 * d
N-type Ca++ channel description (from Aradi and Holmes 1999)
|
|
|
|
HCNolm
HCNolm.channel.nml
Ion: h
g = gmax * r
Hyperpolarization-activated, CN-gated h channel description (from Lawrence 2006)
|
|
|
|
HCN
HCN.channel.nml
Ion: non_specific
g = gmax * h2
Hyperpolarization-activated, CN-gated channel description (from Chen 2001 - modeled by Ildiko Aradi)
|
|
|
|
HCNp
HCNp.channel.nml
Ion: non_specific
g = gmax * l
Hyperpolarization-activated, CN-gated channel descriptions (from Magee 1998 - modeled by Marianne Bezaire)
|
|
|
|
HCNsomap
HCNp.channel.nml
Ion: non_specific
g = gmax * l
${channel.notes}
|
|
|


I am a web developer that is currently self learning. This is an example page for a personal portfoilio building project I created for free code camp.
Github
Free Code Camp


Home
Accommodations
Activities
Travel Arrangements
Photos
Contact Us
We look forward to your call for your dream vacation!
Phone: +689 40 60 31 30 Email: reservenow@beautifulborabora.com


Soaked in a sudden downpour on the way back from the team lunch. Ah, Oregon sunshine!
6/19/2009, 3:33:31 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
Soaked in a sudden downpour on the way back from the team lunch. Ah, Oregon sunshine!
6/19/2009, 3:33:31 PM
Favs: 0
Retweets: 0
link


Before Change
challenger_runs = self.run_history.get_runs_for_config(
challenger)
chal_inst_seeds = map(lambda x: (
x.instance, x.seed), self.run_history.get_runs_for_config(challenger))
chal_perf = sum(map(lambda x: x.cost, challenger_runs))
inc_id = self.run_history.config_ids[self.incumbent.__repr__()]
inc_perfs = []
for i, r in chal_inst_seeds:
inc_k = self.run_history.RunKey(inc_id, i, r)
inc_perfs.append(self.run_history.data[inc_k].cost)
inc_perf = sum(inc_perfs)
if chal_perf > inc_perf:
// Incumbent beats challenger
self.logger.debug("Incumbent (%.2f) is better than challenger (%.2f)." %(inc_perf, chal_perf))
After Change
to_run = missing_runs[:min(N, len(missing_runs))]
missing_runs = missing_runs[min(N, len(missing_runs)):]
inst_seed_pairs = list(inc_inst_seeds - set(missing_runs))
inc_perf, inc_time = self.get_perf_and_time(self.incumbent, inst_seed_pairs)
_, chal_time = self.get_perf_and_time(challenger, chall_inst_seeds)
//TODO: do we have to consider PAR10 here instead of PAR1?