|
Micro Focus Content Manager SDK 9.3
|
The TrimAccessControlList class is used to encapsulate the access controls that can be applied to an object an access control list consists of an array of entries that control who has access to a particular restricted function. These restricted functions may differ depending upon which object the access control list applies to, for example a meeting object may wish to restrict who can 'Take Minutes'. Each object that support access control lists will have an enum describing its set of restricted functions - in this class, the elements of this enum are simple defined as an int. More...
Public Member Functions | |
| bool | GetAccessAllowed (int forFunction) |
| Returns a Boolean value indicating whether the currently logged in user is provided access to the specified function. More... | |
| bool | get_AccessAllowed (int forFunction) |
| bool | GetAccessAllowedForUser (int toFunction, Location forAccessLocation) |
| Returns a Boolean value indicating whether the given user is provided access to the specified function. More... | |
| string | GetAsString (int forFunction) |
| Gets a string containing a description of the nominated access control for this object. The string consists of a list of location names for this Access Control, delimited by semicolons. More... | |
| string | get_AsString (int forFunction) |
| LocationList | get_AccessLocations (int forFunction) |
| Gets or sets the list of locations that should be given access to the specified function. When updating the list, if the new list is empty or null, access to that function will revert to 'Everyone' or 'Public', otherwise the current user list will be replaced. More... | |
| void | set_AccessLocations (int forFunction, LocationList replaceWith) |
| LocationList | GetAccessLocations (int forFunction) |
| void | SetAccessLocations (int forFunction, LocationList replaceWith) |
| void | SetAccessLocationsOrContainer (int forFunction, LocationList replaceWith) |
| A special function that will set access to the specified function to the nominated set of locations, however will also include any locations in the corresponding access control of the container to be included. More... | |
| void | SetPrivate (int forFunction, Location toLocation) |
| Sets the access control for the nominated function to be a single location. More... | |
| void | SetPrivateOrContainer (int forFunction, Location toLocation) |
| A special function that will set access to the specified function to the nominated location, however will also include any locations in the corresponding access control of the container to be included. More... | |
| void | SetInherited (int forFunction) |
| Sets the access control for the nominated function to be inherited from the record's container More... | |
| void | SetPublic (int forFunction) |
| Sets the access control for the nominated function to be public More... | |
| AccessControlSettings | get_CurrentSetting (int forFunction) |
| Gets or sets an AccessControlSettings enum value indicating whether the Access Control is Inherited, Private (Custom) or Public. Note that the Inherited value only applied to record, indicating that the record's access control is based on the record's container. If you change this value to 'Private', it will be made private to the currently logged in user More... | |
| void | set_CurrentSetting (int forFunction, AccessControlSettings newValue) |
| AccessControlSettings | GetCurrentAccessControlSettings (int forFunction) |
| void | SetCurrentAccessControlSettings (int forFunction, AccessControlSettings newValue) |
| AccessReferenceStyle | get_ReferenceStyle (int forFunction) |
| Gets or sets an AccessReferenceStyle enum value indicating how this access control list is is to be applied to the target object which it will be copied to. Reference style only applies to access controls that are to be copied, i.e. the default record access control that is defined for a record type. Check the IsCopied property to see if this is applicable. More... | |
| void | set_ReferenceStyle (int forFunction, AccessReferenceStyle newValue) |
| AccessReferenceStyle | GetReferenceStyle (int forFunction) |
| void | SetReferenceStyle (int forFunction, AccessReferenceStyle newValue) |
| void | SetAllInherited () |
| Allows you to set all the access controls to be based on the record's container More... | |
| void | SetAllPrivate (LocationList toLocations) |
| Allows you to set all the access controls to the nominated list of locations More... | |
| void | SetAllPrivate (Location toLocation) |
| Allows you to set all the access controls to the nominated single location More... | |
| void | SetAllPrivate () |
| Allows you to set all the access controls to the current user More... | |
| void | SetAllPublic () |
| Allows you to set all the access controls to the 'Public'/'Everyone' same setting. More... | |
Properties | |
| AllEnumerations | FunctionEnum [get] |
| Gets the enumeration which lists the functions that are applicable for this access control list. More... | |
| bool | IsCopied [get] |
| Gets a boolean value indicating if this access control list is one that is a copy default list. More... | |
| bool | IsModified [get] |
| Gets a boolean parameter indicating if any changes have been made to this access control list since it was first constructed. More... | |
The TrimAccessControlList class is used to encapsulate the access controls that can be applied to an object an access control list consists of an array of entries that control who has access to a particular restricted function. These restricted functions may differ depending upon which object the access control list applies to, for example a meeting object may wish to restrict who can 'Take Minutes'. Each object that support access control lists will have an enum describing its set of restricted functions - in this class, the elements of this enum are simple defined as an int.
| bool HP.HPTRIM.SDK.TrimAccessControlList.get_AccessAllowed | ( | int | forFunction | ) |
| LocationList HP.HPTRIM.SDK.TrimAccessControlList.get_AccessLocations | ( | int | forFunction | ) |
Gets or sets the list of locations that should be given access to the specified function. When updating the list, if the new list is empty or null, access to that function will revert to 'Everyone' or 'Public', otherwise the current user list will be replaced.
| string HP.HPTRIM.SDK.TrimAccessControlList.get_AsString | ( | int | forFunction | ) |
| AccessControlSettings HP.HPTRIM.SDK.TrimAccessControlList.get_CurrentSetting | ( | int | forFunction | ) |
Gets or sets an AccessControlSettings enum value indicating whether the Access Control is Inherited, Private (Custom) or Public. Note that the Inherited value only applied to record, indicating that the record's access control is based on the record's container. If you change this value to 'Private', it will be made private to the currently logged in user
| AccessReferenceStyle HP.HPTRIM.SDK.TrimAccessControlList.get_ReferenceStyle | ( | int | forFunction | ) |
Gets or sets an AccessReferenceStyle enum value indicating how this access control list is is to be applied to the target object which it will be copied to. Reference style only applies to access controls that are to be copied, i.e. the default record access control that is defined for a record type. Check the IsCopied property to see if this is applicable.
| bool HP.HPTRIM.SDK.TrimAccessControlList.GetAccessAllowed | ( | int | forFunction | ) |
Returns a Boolean value indicating whether the currently logged in user is provided access to the specified function.
| bool HP.HPTRIM.SDK.TrimAccessControlList.GetAccessAllowedForUser | ( | int | toFunction, |
| Location | forAccessLocation | ||
| ) |
Returns a Boolean value indicating whether the given user is provided access to the specified function.
| LocationList HP.HPTRIM.SDK.TrimAccessControlList.GetAccessLocations | ( | int | forFunction | ) |
| string HP.HPTRIM.SDK.TrimAccessControlList.GetAsString | ( | int | forFunction | ) |
Gets a string containing a description of the nominated access control for this object. The string consists of a list of location names for this Access Control, delimited by semicolons.
| AccessControlSettings HP.HPTRIM.SDK.TrimAccessControlList.GetCurrentAccessControlSettings | ( | int | forFunction | ) |
| AccessReferenceStyle HP.HPTRIM.SDK.TrimAccessControlList.GetReferenceStyle | ( | int | forFunction | ) |
| void HP.HPTRIM.SDK.TrimAccessControlList.set_AccessLocations | ( | int | forFunction, |
| LocationList | replaceWith | ||
| ) |
| void HP.HPTRIM.SDK.TrimAccessControlList.set_CurrentSetting | ( | int | forFunction, |
| AccessControlSettings | newValue | ||
| ) |
| void HP.HPTRIM.SDK.TrimAccessControlList.set_ReferenceStyle | ( | int | forFunction, |
| AccessReferenceStyle | newValue | ||
| ) |
| void HP.HPTRIM.SDK.TrimAccessControlList.SetAccessLocations | ( | int | forFunction, |
| LocationList | replaceWith | ||
| ) |
| void HP.HPTRIM.SDK.TrimAccessControlList.SetAccessLocationsOrContainer | ( | int | forFunction, |
| LocationList | replaceWith | ||
| ) |
A special function that will set access to the specified function to the nominated set of locations, however will also include any locations in the corresponding access control of the container to be included.
| void HP.HPTRIM.SDK.TrimAccessControlList.SetAllInherited | ( | ) |
Allows you to set all the access controls to be based on the record's container
| void HP.HPTRIM.SDK.TrimAccessControlList.SetAllPrivate | ( | LocationList | toLocations | ) |
Allows you to set all the access controls to the nominated list of locations
| void HP.HPTRIM.SDK.TrimAccessControlList.SetAllPrivate | ( | Location | toLocation | ) |
Allows you to set all the access controls to the nominated single location
| void HP.HPTRIM.SDK.TrimAccessControlList.SetAllPrivate | ( | ) |
Allows you to set all the access controls to the current user
| void HP.HPTRIM.SDK.TrimAccessControlList.SetAllPublic | ( | ) |
Allows you to set all the access controls to the 'Public'/'Everyone' same setting.
| void HP.HPTRIM.SDK.TrimAccessControlList.SetCurrentAccessControlSettings | ( | int | forFunction, |
| AccessControlSettings | newValue | ||
| ) |
| void HP.HPTRIM.SDK.TrimAccessControlList.SetInherited | ( | int | forFunction | ) |
Sets the access control for the nominated function to be inherited from the record's container
| void HP.HPTRIM.SDK.TrimAccessControlList.SetPrivate | ( | int | forFunction, |
| Location | toLocation | ||
| ) |
Sets the access control for the nominated function to be a single location.
| void HP.HPTRIM.SDK.TrimAccessControlList.SetPrivateOrContainer | ( | int | forFunction, |
| Location | toLocation | ||
| ) |
A special function that will set access to the specified function to the nominated location, however will also include any locations in the corresponding access control of the container to be included.
| void HP.HPTRIM.SDK.TrimAccessControlList.SetPublic | ( | int | forFunction | ) |
Sets the access control for the nominated function to be public
| void HP.HPTRIM.SDK.TrimAccessControlList.SetReferenceStyle | ( | int | forFunction, |
| AccessReferenceStyle | newValue | ||
| ) |
|
get |
Gets the enumeration which lists the functions that are applicable for this access control list.
|
get |
Gets a boolean value indicating if this access control list is one that is a copy default list.
|
get |
Gets a boolean parameter indicating if any changes have been made to this access control list since it was first constructed.


JavaScript methods are the actions that can be performed on objects.
A JavaScript method is a property containing a function definition.
| Property | Value |
|---|---|
| firstName | John |
| lastName | Doe |
| age | 50 |
| eyeColor | blue |
| fullName | function() {return this.firstName + " " + this.lastName;} |
|
Methods are functions stored as object properties. |
You create an object method with the following syntax:
You access an object method with the following syntax:
You will typically describe fullName() as a method of the person object, and fullName as a property.
The fullName property will execute (as a function) when it is invoked with ().
This example accesses the fullName() method of a person object:
If you access the fullName property, without (), it will return the function definition:
This example uses the toUpperCase() method of the String object, to convert a text to uppercase:
The value of x, after execution of the code above will be:
Defining methods to an object is done inside the constructor function:
The changeName() function assigns the value of name to the person's lastName property.
JavaScript knows which person you are talking about by "substituting" this with myMother.


{% extends "billy/web/public/base.html" %} {% load static from staticfiles %} {% load customtags %} {% load markup_tags %} {% load i18n %} {% block title %} {{vote.date|date:"M d, Y"}} {% trans "vote" %} - {{vote.bill.bill_id }} - {{vote.bill.session_details.display_name}} - {{metadata.legislature_name}} {% endblock %} {% block description %} {% trans "Vote on" %} {{metadata.legislature_name}} {{vote.bill.bill_id}} ({{vote.bill.session_details.display_name}}) {% trans "that took place on" %} {{vote.date|date:"M d, Y"}}. {% endblock %} {% block headblock %} {% endblock %} {% block content %}
{% trans "Bill Status:" %} {{vote.passed|yesno:"Passed,Failed,Unknown"}}
{{bill.title|smallcaps}}
{% blocktrans %} No vote counts were available for this motion. This vote appears to be a voice vote, a type of vote for which many states don't record vote counts.
{% endblocktrans %} {% else %}{% blocktrans %} No vote counts were available for this motion. This can happen for a couple of reasons. Some legislatures don't record vote counts in the event of a "voice vote," which may be the case here. This can also happen if a state provides insufficient data on its votes.{% endblocktrans %}
{% endif %} {% if vote.sources %}{% squish_whitespace %} {% trans 'You may be able to find out more by visiting the official source' %} ( {% for source in vote.sources %} {% if not forloop.first %} {% if forloop.last %}{% trans "and" %}{% else %}, {% endif %} {% endif %} {% trans "here" %} {% endfor %} ) {% blocktrans with state=metadata.name chamber=bill.chamber_name %} on the {{ state }} {{chamber}} website. {% endblocktrans %} {% end_squish_whitespace %} {% endif %} {% endif %}| Name | District | Party | |
|---|---|---|---|
| {{ legislator.display_name }} | {% else %}{{ legislator.name }} | {% endif %}{{ legislator.context_role.district }} | {{ legislator.context_role.party }} |
| Name | District | Party | |
|---|---|---|---|
| {{ legislator.display_name }} | {% else %}{{ legislator.display_name }} | {% endif %}{{ legislator.context_role.district }} | {{ legislator.context_role.party }} |
| Name | District | Party | |
|---|---|---|---|
| {{ legislator.display_name }} | {% else %}{{ legislator.display_name }} | {% endif %}{{ legislator.context_role.district }} | {{ legislator.context_role.party }} |
{% trans "No vote roll calls were available for this motion." %} This vote appears to be a voice vote, a type of vote for which many states don't record vote counts.
{% else %}No vote roll calls were available for this motion. This can happen for a couple of reasons. Some legislatures don't record vote counts in the event of a "voice vote," which may be the case here. This can also happen if a state provides insufficient data on its votes.
{% endif %} {% if vote.sources %}{% squish_whitespace %}You may be able to find out more by visiting the official source ( {% for source in vote.sources %} {% if not forloop.first %} {% if forloop.last %}and{% else %}, {% endif %} {% endif %} here {% endfor %} ) on the {{ metadata.name }} {{bill.chamber_name}} website. {% end_squish_whitespace %}
{% endif %}


MAPFileManager
@interface MAPFileManager
The MAPFileManager
class contains methods for getting and deleting sequences.
See
MAPSequence
-
Get’s all the sequences synchronously.
Parameters
parseGpx
If YES, the full GPX file is parsed. If NO, some properties of of the MAPSequence object will be nil.
Return Value
A list of sequences.
-
Get’s all the sequences asynchronously.
Parameters
parseGpx
If YES, the full GPX file is parsed. If NO, some properties of of the MAPSequence object will be nil.
done
A block object that contains the sequences on disk.
-
Deletes a sequence from disk. This deletes everything including images and the GPX file.
Parameters
sequence
The sequence to delete.


public interface DigitalData
DigitalData interface.
From the W3C CEDDL specification:
6. The Customer Experience Digital Data Object
This section carries the core specification.
Use of this specification can be adapted to specific cases, since the objects in the specification can be included or omitted as necessary or desired. None of the objects in this specification are required, but where objects are included they MUST conform to the Object Names and Types listed here.
6.1 The Root JavaScript Object
The root JavaScript Object (JSO) MUST be digitalData, and all data properties within this specification MUST fall within the hierarchy of the digitalData object.
The following sub-objects are defined as children of the digitalData object.
The following subsections detail each of these sub-objects.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DigitalData.Builder
DigitalData.Builder inner interface.
|
| Modifier and Type | Method and Description |
|---|---|
Cart |
getCart()
Returns the Cart object.
|
Component[] |
getComponent()
Returns the Component array.
|
Event[] |
getEvent()
Returns the Event[] array.
|
Page |
getPage()
Returns the Page object.
|
java.lang.String |
getPageInstanceID()
Returns the PageInstanceID object.
|
Privacy |
getPrivacy()
Returns the Privacy object.
|
Product[] |
getProduct()
Returns the Product array.
|
Transaction |
getTransaction()
Returns the Transaction object.
|
User[] |
getUser()
Returns the User array.
|
java.lang.String |
getVersion()
Returns the Version object.
|
java.lang.String getPageInstanceID()
Page getPage()
Product[] getProduct()
Cart getCart()
Transaction getTransaction()
Event[] getEvent()
Component[] getComponent()
User[] getUser()
Privacy getPrivacy()
java.lang.String getVersion()


Tweet Labeller
Choose the tweet file to label
Labelling has finished
Download
Does this tweet contain a spoiler?
(Hint: You can use the 'y' key for yes and 'n' key for no)
Yes
No
Back


r&d focused on privacy preserving decentralized networks and metadata resistant systems
privacy engineering: our main goal is to build privacy preserving primitives that can be easily used by protocol designers and developers.
reach us out through mx _at_ hashmatter.com


#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <sched.h> int setns(int fd, int nstype);
The fd argument is a file descriptor referring to one of the namespace entries in a /proc/[pid]/ns/ directory; see proc(5) for further information on /proc/[pid]/ns/. The calling thread will be reassociated with the corresponding namespace, subject to any constraints imposed by the nstype argument.
The nstype argument specifies which type of namespace the calling thread may be reassociated with. This argument can have one of the following values:
Specifying nstype as 0 suffices if the caller knows (or does not care) what type of namespace is referred to by fd. Specifying a nonzero value for nstype is useful if the caller does not know what type of namespace is referred to by fd and wants to ensure that the namespace is of a particular type. (The caller might not know the type of the namespace referred to by fd if the file descriptor was opened by another process and, for example, passed to the caller via a UNIX domain socket.)
The following shell session demonstrates the use of this program (compiled as a binary named ns_exec) in conjunction with the CLONE_NEWUTS example program in the clone(2) man page (complied as a binary named newuts).
We begin by executing the example program in clone(2) in the background. That program creates a child in a separate UTS namespace. The child changes the hostname in its namespace, and then both processes display the hostnames in their UTS namespaces, so that we can see that they are different.
$ su # Need privilege for namespace operations Password: # ./newuts bizarro & [1] 3549 clone() returned 3550 uts.nodename in child: bizarro uts.nodename in parent: antero # uname -n # Verify hostname in the shell antero
We then run the program shown below, using it to execute a shell. Inside that shell, we verify that the hostname is the one set by the child created by the first program:
# ./ns_exec /proc/3550/ns/uts /bin/bash # uname -n # Executed in shell started by ns_exec bizarro
#define _GNU_SOURCE #include <fcntl.h> #include <sched.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \ } while (0) int main(int argc, char *argv[]) { int fd; if (argc < 3) { fprintf(stderr, "%s /proc/PID/ns/FILE cmd args...\n", argv[0]); exit(EXIT_FAILURE); } fd = open(argv[1], O_RDONLY); /* Get descriptor for namespace */ if (fd == -1) errExit("open"); if (setns(fd, 0) == -1) /* Join that namespace */ errExit("setns"); execvp(argv[2], &argv[2]); /* Execute a command in namespace */ errExit("execvp"); }


|
ndt_gslam
1.0
|
#include <pose_graph.h>
Public Types | |
| typedef Edge< P, T > | E |
| typedef Node< P, T > | N |
| typedef size_t | Id |
| typedef ListIterator< E > | EdgeIterator |
| typedef ConstListIterator< E > | ConstEdgeIterator |
| typedef ListIterator< N > | NodeIterator |
| typedef ConstListIterator< N > | ConstNodeIterator |
Public Member Functions | |
| Graph () | |
| Id | addEdge (E &&edge) |
| Adds an edge to the graph. More... | |
| Id | addNode (N &&node) |
| Adds a node to the graph. More... | |
| bool | removeEdge (size_t id) |
| E & | getEdge (const Id id) |
| const E & | getEdge (const Id id) const |
| N & | getNode (const Id id) |
| const N & | getNode (const Id id) const |
| NodeIterator | beginNode () |
| ConstNodeIterator | cbeginNode () const |
| NodeIterator | endNode () |
| ConstNodeIterator | cendNode () const |
| EdgeIterator | beginEdge () |
| ConstEdgeIterator | cbeginEdge () const |
| EdgeIterator | endEdge () |
| ConstEdgeIterator | cendEdge () const |
| size_t | edgeCount () |
| size_t | nodeCount () |
| void | printNodes (std::ostream &out) |
Definition at line 22 of file pose_graph.h.
| typedef ConstListIterator<E> slamuk::Graph< P, T >::ConstEdgeIterator |
Definition at line 29 of file pose_graph.h.
| typedef ConstListIterator<N> slamuk::Graph< P, T >::ConstNodeIterator |
Definition at line 31 of file pose_graph.h.
| typedef Edge<P, T> slamuk::Graph< P, T >::E |
Definition at line 25 of file pose_graph.h.
| typedef ListIterator<E> slamuk::Graph< P, T >::EdgeIterator |
Definition at line 28 of file pose_graph.h.
| typedef size_t slamuk::Graph< P, T >::Id |
Definition at line 27 of file pose_graph.h.
| typedef Node<P, T> slamuk::Graph< P, T >::N |
Definition at line 26 of file pose_graph.h.
| typedef ListIterator<N> slamuk::Graph< P, T >::NodeIterator |
Definition at line 30 of file pose_graph.h.
|
inline |
Definition at line 32 of file pose_graph.h.
Adds an edge to the graph.
| [in] | edge | The new edge |
Definition at line 78 of file pose_graph.h.
Adds a node to the graph.
| [in] | node | The new node |
Definition at line 113 of file pose_graph.h.
| Graph< P, T >::EdgeIterator slamuk::Graph< P, T >::beginEdge | ( | ) |
Definition at line 191 of file pose_graph.h.
| Graph< P, T >::NodeIterator slamuk::Graph< P, T >::beginNode | ( | ) |
Definition at line 180 of file pose_graph.h.
| Graph< P, T >::ConstEdgeIterator slamuk::Graph< P, T >::cbeginEdge | ( | ) | const |
Definition at line 197 of file pose_graph.h.
| Graph< P, T >::ConstNodeIterator slamuk::Graph< P, T >::cbeginNode | ( | ) | const |
Definition at line 186 of file pose_graph.h.
| Graph< P, T >::ConstEdgeIterator slamuk::Graph< P, T >::cendEdge | ( | ) | const |
Definition at line 221 of file pose_graph.h.
| Graph< P, T >::ConstNodeIterator slamuk::Graph< P, T >::cendNode | ( | ) | const |
Definition at line 209 of file pose_graph.h.
| size_t slamuk::Graph< P, T >::edgeCount | ( | ) |
Definition at line 227 of file pose_graph.h.
| Graph< P, T >::EdgeIterator slamuk::Graph< P, T >::endEdge | ( | ) |
Definition at line 215 of file pose_graph.h.
| Graph< P, T >::NodeIterator slamuk::Graph< P, T >::endNode | ( | ) |
Definition at line 203 of file pose_graph.h.
Definition at line 134 of file pose_graph.h.
| const Graph< P, T >::E & slamuk::Graph< P, T >::getEdge | ( | const Id | id | ) | const |
Definition at line 147 of file pose_graph.h.
Definition at line 160 of file pose_graph.h.
| const Graph< P, T >::N & slamuk::Graph< P, T >::getNode | ( | const Id | id | ) | const |
Definition at line 170 of file pose_graph.h.
| size_t slamuk::Graph< P, T >::nodeCount | ( | ) |
Definition at line 232 of file pose_graph.h.
| void slamuk::Graph< P, T >::printNodes | ( | std::ostream & | out | ) |
Definition at line 238 of file pose_graph.h.
| bool slamuk::Graph< P, T >::removeEdge | ( | size_t | id | ) |
Definition at line 100 of file pose_graph.h.


I aim to build digital experiences that are simple to use and easy to look at.
I've collaborated with various clients on designing interfaces ,coding websites, branding & shaping their online presence.
A combination of strong design and coding skills is what enables me to better understand the UX problems I’m facing and to become an efficient team member.
I’m on a constant quest to learn new technologies and sharpen my skill-set. If you want to work together email me at<EMAIL_ADDRESS>A really simple calculator app I've developed as part of my ongoing quest for iOS development.
I shipped my first app to the app store this year. My hope from this side project was to be able to learn and implement a working model of Object Oriented Programing. I also wanted to learn Xcode and expireminet with mobile iOS development with Swift.
As I write a lot of Html/Css/Js in my work, I was under the false impression that learning swift would be fairly easy, and although my familiarity with code helped - I forgot what it’s like to be a complete beginner at something. This project reminded me and I’m grateful for it.
I committed myself to Paul Hegarty’s course at Stanford and a few other course’s from treehouse.com, Briand Advent and raywenderlich.com.
It’s just a calculator calculator app, but under the hood lies a solid example of an MVC model which I can be proud of.
iOS Development (Swift)
Diet Race is a fun and friendly app that helps you get in shape with your friends and family. Diet Race has special methods that will keep you motivated and dramatically increase the odds of you reaching your goal.
UX/UI, App Design, Web Design
Designed with the talented folks @WAAAC.
Making the most of your data has become a necessity. Xplenty is a big data cloud platform enabling the transformation of structured and semi-structured data into business insights.
Over the past few years I’ve been working to help Xplenty become a leader in the data integration market.
I worked closely with the product team to build a new and refined experience for Xplenty’s platform. I created a design system that allows for flexibility, I built design patterns and guidelines that help the front-end team move fast and stable. I also helped to code large parts of my design into the product. The new platform looks better and works faster, giving users a more positive user experience and allowing to create, edit, monitor and control data pipelines more intuitively and effectively. You can read more about it here.
As part of my role as creative director, I helped Xplenty redefine their brand presence and establish themselves as a leading data integration platform that is used and trusted by hundreds of companies worldwide. I have worked closely with the marketing team to design and code Xplenty’s website, identify gaps and provide design solutions that helped us convert leads into customers with exponential growth.
Web Design & Development, Rebranding, UX/UI.
My family is spread across four living rooms. In these spaces are objects that tell human stories concerning the inhabitants of each living room and other people in their lives.
The living room project is a personal project that was inspired by Georges Perec’s novel - Life a User's Manual and Jonathan Harris’s art.
I documented four living rooms from my family’s apartments and objects in that space. Each living room photo is constructed from approx 160 photos taken from above. Each object tells a story that relates to a certain experience of the person telling it.
The websites presents different data regarding the objects: cost, time in possession, an icon representing the object and the origin of the object. You can also arrange the data in different ways by sorting or filtering the objects. The project asks the question of “what can we really tell about a person from his own possessions?"
alexyakir.com/livingroomproject
Web Design & Development, Concept & Art Direction, UX/UI.
Website and branding for a financial advisory company.
Web Design, Branding, UX/UI.
Designed with the talented folks @WAAAC.
Xrispi is a concise content sharing widget made to bring new readers to your site.
Product Design, UX/UI, Web Design.
Designed with the talented folks @WAAAC.
Varsaty was a player development platform designed to enhance communication within sports teams.
Within a few short months, Varsaty was in the locker rooms of teams from 20 countries, playing 23 different sports. I was part of a small team at WAAAC studio, in charge of designing the app.
Splacer brings together creative people owning unique spaces with people who are looking to create event experiences such as meetings, workshops, parties, exhibitions and pop-up stores.
I met Lihi and Adi, the co founders of Splacer, at the very beginning of their journey. They had a unique idea that came from their personal experiences as architectures - they were part of a creative community that shared beautiful places for events and they wanted to give that community a place online.
I was incharge of designing a seed presentation for investors and later on designing their first version of the website. My goal was to tell their unique story and to shine a light on their personal experience as successful architectures who hold a secret key to a creative community.
Lihi and Adi successfully secured their first round of investment and Splacer continues to grow as a global community for creative events.
Product Design, UX/UI, Web Design.
Designed with the talented folks @ WAAAC .


ARQ is a query engine for Jena that supports the SPARQL RDF Query language. SPARQL is the query language developed by the W3C RDF Data Access Working Group.
ARQ Features:
- Standard SPARQL
- Free text search via Lucene
- SPARQL/Update
- Access and extension of the SPARQL algebra
- Support for custom filter functions
- Property functions for custom processing of semantic relationships
- Aggregation, GROUP BY and assignment as SPARQL extensions
- Support for federated query
- Support for extension to other storage systems
- Client-support for remote access to any SPARQL endpoint
Jena storage engines that plug into ARQ include:
- TDB -- Custom storage engine for high performance applications
- SDB -- Rewriter to SQL for transactional SPARQL on standard relational databases
Online Demo
Online Query Form for experimenting with SPARQL queries.
See Also
Joseki - a SPARQL query server, using ARQ and the SPARQL protocol.


---
layout: post
title: How many bugs are there in *your* code ?
date: '2008-04-22T10:26:00.003+02:00'
author: Steven Van Acker
tags:
- English
modified_time: '2008-04-22T10:28:02.694+02:00'
blogger_id: tag:blogger.com,1999:blog-5513234137363262204.post-2390179663146850275
blogger_orig_url: http://www.singularity.be/2008/04/how-many-bugs-are-in-your-code.html
---
Original here


{% extends 'base.html' %} {% block body %}
Welcome.
Sign Up
Already signed up? Log in
here.
{% endblock %}


Fatma Ocal
Home
|
About Me
|
Blogs
|
Professional Experience
|
Education
|
Projects
|
Let's Connect
Welcome to my website:) Are you excited to read my blog posts, if so please click
here!!!


RUGBY WORLD CUP
2015's Edition
Best Teams of Competition
New Zealand
New Zealand Rugby
Australia
Australian Rugby Union
Argentina
Unión Argentina de Rugby


Each turn, a player repeatedly rolls a die until
either a 1 is rolled or the player decides to "hold":
1) If the player rolls a 1, they score nothing
and it becomes the next player's turn.
2) If the player rolls any other number, it is
added to their turn total and the player's turn continues.
3) If a player chooses to "hold", their turn total
is added to their score, and it becomes the next player's turn.
SCORE:
DICE:           SCORE:
SCORE:
DICE:           SCORE:


JUST CAUSE A film review by James Berardinelli Copyright 1995 James Berardinelli
RATING (0 TO 10): 6.0
U.S. Availability: wide release on 2/17/95 Running Length: 1:42 MPAA Classification: R (Violence, mature themes, language)
Starring: Sean Connery, Laurence Fishburne, Kate Capshaw, Blair Underwood, Ed Harris Director: Arne Glimcher Producers: Lee Rich, Arne Glimcher, and Steve Perry Screenplay: Jeb Stuart and Peter Stone Cinematography: Lajos Koltai Music: James Newton Howard Released by Warner Brothers
One of the most interesting things about JUST CAUSE is the number of movies it manages to allude to and copy from. By the time the closing credits are rolling, a feeling of familiarity is not only likely, but justified. It's hard to imagine any film-goer not having seen at least one of this picture's antecedents.
 After being taken into custody by local police big-wig Tanny Brown (Laurence Fishburne), Bobby Earl is beaten and threatened until he confesses to the crime. A trial takes place and Bobby Earl ends up on death row.
Enter Sean Connery's Paul Armstrong, a Harvard Law professor with a conscience. His agreement to appeal Bobby Earl's case turns the story in a new direction--sort of a cross between JAGGED EDGE and THE SILENCE OF THE LAMBS. The latter is courtesy of Ed Harris, who gives a delightfully over-the-top performance as the Hannibal Lechter-like Blair Sullivan, a bible-quoting serial killer whose death row cell is near Bobby Earl's, and who knows a lot more than he's willing to reveal.
Once the references to these films are played out, JUST CAUSE offers one more "homage" (that word sounds so much nicer than "theft")--to Martin Scorsese's graphic remake of CAPE FEAR. There's even an added attraction to the climactic in-the-water struggle, and this one could have been lifted from CROCODILE DUNDEE (or, more correctly, considering the location, ALLIGATOR DUNDEE).
All-in-all, JUST CAUSE obviously doesn't offer much that's new or attention-grabbing, but the presence of several top-notch actors makes the material more appealing that it has a right to be. Connery captures our sympathy as the relentlessly upright practitioner of the law. Fishburne resurrects images of WHAT'S LOVE GOT TO DO WITH IT's Ike Turner in Tanny Brown, a cop who has crossed the line. Harris, while not as deliciously evil as SILENCE's Anthony Hopkins, is still riveting. Supporting roles are ably filled by the likes of Ned Beatty, Daniel J. Travanti, and George Plimpton.
Despite its tendency to tread well-traveled roads, JUST CAUSE is filmed with enough energy and craft that, for the majority of its one- hundred minute running time, it's reasonably entertaining. Things don't get out of control until the last quarter-hour, when the need to inject action revs up the pace a little too much. Suddenly, we're thrown from the realm of the psychological thriller into a series of car chases, shoot-outs, and hand-to-hand combats. It's kind of unfortunate, really. But, after all, this is Hollywood, where the success of movies is often based far more on noisy struggles to the death than on thoughtful endings. Ultimately, the only thing noteworthy about JUST CAUSE's climax is how nicely cinematographer Lajos Koltai managed to photograph the final scenes. While that may be acceptable to the popcorn-munching crowd, those of us who want a little more will find this film lacking.
-James Berardinelli<EMAIL_ADDRESS>.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


{% from "button/macro.njk" import govukButton %} {% from "common/components/formElements.html" import textField, textArea, errorsFor %} {# solicitorManualDetail fields - (required) Template context fields session - (required) Current user session content - (required) Current user context csrfToken - (required) Current csrfToken, provided by the system Renders input fields for user to enter solicitor details manually. #} {% macro solicitorManualDetail(fields, session, content, csrfToken) %}
{% endmacro %}


--- layout: post title: 'Remix David Byrne and Brian Eno''s latest' date: 2006-05-10 00:00:00 category: digital-media ---
Remix David Byrne and Brian Eno's latest: "For the first time ever, fans are able to legally remix and share their own personal versions of two songs from David Byrne and Brian Eno’s groundbreaking album My Life in the Bush of Ghosts. The interactive forum bush-of-ghosts.com has been developed to celebrate the reissue of the album 25 years after its original release."
WOW.


As part of a three-person design team, I tested and redesigned an alpha iOS app. The team improved the aesthetics while integrating several key features geared towards user engagement and app monetization.
Read MoreWorking in a team of four, I researched a feature to help Etsy sellers accommodate custom orders and then integrated that feature into Etsy’s mobile app.
Read MoreGiven freedom to create a "passion project" that would solve an existing problem, my four-person design team identified an opportunity area within the bar space and created a design solution. Our team later pitched our design solution as a strategic partnership for OpenTable.
Read MoreRead Your Veggies is a responsive website that encourages users to have a more balanced media diet by showing them what news outlets on the “other side” of the political spectrum are publishing. The site shows liberals news articles from conservative publishers, and vice versa. I consulted with the software developers and assisted in the site’s homepage redesign.
Read MoreThe team immerses themselves in a domain to understand competitors, technical limitations, and team hypotheses and assumptions. We collect data on end-users.
Through data synthesis, we uncover actionable insights. With teammates and stakeholders, we define the opportunity area and share insights about the end-user. We make a time-bound plan for action and set KPIs.
We dive into design. Ideas and opportunities are transformed into something tangible. Internal teams iterate and improve upon designs before usability testing begins.
Thoroughly testing designs and prototypes with the appropriate users is essential. We analyze how successful the UX and UI are, and iterate accordingly.
After validating designs, we increase fidelity and prepare for development.
Google Analytics, market research and usability testing allow me to better understand users.
For 10 years, I worked as a journalist, editor and content strategist.
I have moderated panels at national and local events.
I have worked alongside engineers, product owners, marketers and C-level executives.
Organization is the grease that keeps my wheels turning.
I enjoy learning new things, and I can easily find my legs in a new domain.
Asking great questions is my superpower.
As a UX designer, I uncover actionable insights that inform smart design decisions. I specialize in scoping projects, investigating problems, researching opportunities, and coordinating cross-functional teams towards a unified objective. Collaborating with other people with different skill sets (and including them in the design process!) gives me energy.
I’m passionate about health tech, food supply chains and education. Working as a journalist covering fitness, nutrition and supply chain transparency initially sparked my interest in how technology in these sectors has the potential to shape and enhance our lives.
Currently: UX Design Instructional Team at General Assembly NYC.
Want to design something amazing together? Email me.


Indiana State beats Youngstown State 24-17
by EndPlayTERRE HAUTE, Ind. (AP) - Kurtis Wilderman was 17-of-20 passing for 140 yards and Indiana State rushed for three touchdowns in a 24-17 victory over Youngstown State on Saturday.
Indiana State led 24-10 with 5:56 remaining in the third quarter, but its next three possessions ended in two punts and a missed field goal. YSU went on a 12-play, 80-yard drive to pull within a touchdown early in the fourth quarter and had another eight-play drive but it stalled at the Indiana State 37.
Dominique Dafney, Nick Sims and Michael Haupert each had a rushing score for Indiana State (4-7, 2-5 Missouri Valley).
Joe Craycraft was intercepted two times for Youngstown State (5-6, 1-6). He finished 11 of 33 for 181 yards and one touchdown. He also had 11 carries for 123 yards, including an 80-yard score. C.J. Charleston caught five passes for 105 yards and Ryan Emans had a TD grab.


Editing graphs:
Right click on canvas to insert plugins or use the search box.
Drag connections from inputs and outputs to connect them.
Press
Play to run your graph.
Hold
shift to delete connections from slots.
Press
backspace to delete selected nodes.
Double click to add Patches to the graph.
Click and drag on the canvas to select plugins.
Collapse plugins by clicking on their header icon.
Hotkeys:
On Mac, the command key is used instead of control.
CTRL-C, CTRL-V, CTRL-X Copy, Paste, Cut
CTRL-A Select all
CTRL-B Hide/show left pane
CTRL-L Hide/show console.
Space Play/Stop
Tab Show/Hide graph
Backspace/Delete Delete selected plugins
q or / Search
f Fullscreen
Enter 'Commit': Deselect all, place
1
Input proxy
2
Graph
3
Slider
4
Float value input
5
Float debug
6
Multiply number
7
XYZ to Vector
8
Boolean toggle
9
Knob
0
Output proxy
Source code:
The source code can be found from our
GitHub page. Please report any issues to the
GitHub issues page.
Video:
Videos are .ogv files. Converting works with
ffmpeg using these arguments:
ffmpeg -i inputfile.mpg -an -vcodec libtheora -vb 1024k -s 256x256 -aspect 1:1 output.ogv
Audio:
Audio player plays standard .ogg files which can be converted with eg.
Audacity.
Plugin API
Plugin API documentation.
Attributions
Attributions
Terms of Service & Privacy policy
Terms of Service &
Privacy


Worldskills Travel
Welcome message
Flights
Log In
Register
Booking
Contact Information
First Name:
Last Name:
Contact's Mobile phone number
Contact's email address
Clear all
Reset
Passenger(s) Details
Passenger #1
Title:
Mr.
Mrs.
First Name:
Last Name:
Price Details
Qatar Airways
Economy
Passengers Fare (x3)
IDR24.796.650,00
Tax
Included
You Pay
IDR24.796.650,00
Payment
Payment Method:
Transfer
Credit Card
Paypal
Credit Card
Card Number
Name on card:
CCV Code:
Continue to Booking
Flights


5.1. Logical Operators
Logical Operators
| Operator | Description | Example |
|---|---|---|
| AND | True if both values are true | a AND b |
| OR | True if either value is true | a OR b |
| NOT | True if the value is false | NOT a |
Effect of NULL on Logical Operators
The result of an AND comparison may be NULL if one or both sides of the expression are NULL. If at least one side of an AND operator is FALSE the expression evaluates to FALSE:
SELECT CAST(null AS boolean) AND true; => null
SELECT CAST(null AS boolean) AND false; => false
SELECT CAST(null AS boolean) AND CAST(null AS boolean); => null
The result of an OR comparison may be NULL if one or both sides of the expression are NULL. If at least one side of an OR operator is TRUE the expression evaluates to TRUE:
SELECT CAST(null AS boolean) OR CAST(null AS boolean); => null
SELECT CAST(null AS boolean) OR false; => null
SELECT CAST(null AS boolean) OR true; => true
The following truth table demonstrates the handling of NULL in AND and OR:
| a | b | a AND b | a OR b |
|---|---|---|---|
| TRUE | TRUE | TRUE | TRUE |
| TRUE | FALSE | FALSE | TRUE |
| TRUE | NULL | NULL | TRUE |
| FALSE | TRUE | FALSE | TRUE |
| FALSE | FALSE | FALSE | FALSE |
| FALSE | NULL | FALSE | NULL |
| NULL | TRUE | NULL | TRUE |
| NULL | FALSE | FALSE | NULL |
| NULL | NULL | NULL | NULL |
The logical complement of NULL is NULL as shown in the following example:
SELECT NOT CAST(null AS boolean); => null
The following truth table demonstrates the handling of NULL in NOT:
| a | NOT a |
|---|---|
| TRUE | FALSE |
| FALSE | TRUE |
| NULL | NULL |


Convert your text into a brain confusing compatible structure!
Type your text here:
The brain confusing text:
Convert text
Clear All


2.2/
Fixed-Point Problems
- Fixed Point:
- Root-finding problems and Fixed-point problems:
Root Finding and Fixed-point problems are
- Why?:
- Existence and Uniqueness of a Fixed Point.:
Fixed-Point Iteration
- Approximating Fixed-Points:
- Algorithm:
- Convergence:
- Fixed-Point Theorem:
- Error bound in using \(p_n\) for \(p\):
Notice:
- Fixed-Point Theorem:
- Using Fixed-Points:
Question: \(\ \ \ \ \\)
Answer:
- Newton’s Method as a Fixed-Point Problem:


Call:
+941-299-260 |
Email:
<EMAIL_ADDRESS>USD
EUR
AUD
GBP
EN
ES
FR
IT
DE
Home
Lets Start
Catalogue
All you can image
Household appliances
Extractor hood
Kitchen & Oven
Fridge
Oven
Washing machine
Dishwasher
Glass ceramic
Small household appliances
Vaccum cleaner
Microwave
Sale
Big opportunities
Contact
Get In Touch
5
Shopping Cart
Glass ceramic
$19.99
x 2
Microwave
$24.99
x 3
$114.95
View Cart
Product
Unit Price
Quantity
Total
Date of delivery
Glass ceramic
$19.99
$39.98
Microwave
$24.99
$24.99
Keep buying
Update Cart
Cancel
Proceed to Checkout
Calculate Shipping
Åland Islands
Afghanistan
Albania
Algeria
Update Totals
Cart Totals
Cart Subtotal
$106.94
Shipping
Free Delivery
Total
$106.94


User
Admin
Root
User
Admin
Root
User
Admin
Root
Edit
Delete
×
Are you sure you want to delete this user?
Edit
Delete


Development
This section shall be a DevGuide, i.e. there will be implementation-related information which is not required for using ReaDDy, but for understanding how it works.
Building from source
ReaDDy has the following dependencies (bold printed are expected to be present on the system):
- hdf5
- cmake
- spdlog, included by git submodule
- c-blosc, included by git submodule
- h5rd, included by git submodule
- catch2, for testing, included by git submodule
- for python bindings
- pybind11, included by git submodule
- python 3 with numpy, h5py
Build by using CMake
This type of build is suggested if one is interested in development of the software. There are a number of ReaDDy specific CMake options that influence the type of build:
| CMake option = default | Description |
|---|---|
READDY_CREATE_TEST_TARGET=ON |
Determining if the test targets should be generated. |
READDY_CREATE_MEMORY_CHECK_TEST_TARGET=OFF |
Determining if the test targets should be additionally called through valgrind. Requires the previous option to be ON and valgrind to be installed. |
READDY_INSTALL_UNIT_TEST_EXECUTABLE=OFF |
Determining if the unit test executables should be installed. This is option is mainly important for the conda recipe. |
READDY_BUILD_SHARED_COMBINED=OFF |
Determining if the core library should be built monolithically or as separated shared libraries. |
READDY_BUILD_PYTHON_WRAPPER=ON |
Determining if the python wrapper should be built. |
READDY_DEBUG_PYTHON_MODULES=OFF |
If this flag is set to ON, the generated python module will be placed in-source rather than in the output directory to enable faster development. |
READDY_DEBUG_CONDA_ROOT_DIR="" |
This option is to be used in conjunction with the previous option and only has effect if it is set to ON. It should point to the conda environment which is used for development and then effects the output directory of the binary files such that they get compiled directly into the respective environment. |
READDY_GENERATE_DOCUMENTATION_TARGET=OFF |
Determines if the documentation target should be generated or not, which, if generated, can be called by “make doc”. |
READDY_GENERATE_DOCUMENTATION_TARGET_ONLY=OFF |
This option has the same effect as the previous option, just that it does not need any dependencies other than doxygen to be fulfilled and generates the documentation target exclusively. |
READDY_LOG_CMAKE_CONFIGURATION=OFF |
This option determines if the status of relevant cmake cache variables should be logged at configuration time or not. |
READDY_KERNELS_TO_TEST="SingleCPU,CPU" |
Comma separated list of kernels against which the core library should be tested within the test targets. |
After having configured the cmake cache variables, one can invoke cmake and make and compile the project. Altogether, a shell script invoking cmake with modified parameters in an environment with multiple python versions could look like this.
Build by using conda-build
conda install conda-build
conda-build PATH_TO_READDY/tools/conda-recipe
Architecture
Source tree
readdy/
├── README.md
│ ...
│
├── cmake/
│ │
│ ├── Modules/
│ │ ├── (cmake modules)
│ └── sources/
│ └── (readdy source file lists)
│
├── docs/
│ └── (internal docs, doxygen configuration)
│
├── kernels/
│ │
│ ├── cpu/
│ │ ├── include/
│ │ │ └── (kernel includes)
│ │ ├── src/
│ │ │ └── (kernel sources)
│ │ └── test/
│ │ └── (kernel tests)
│ │
│ └── cuda/
│ └── (yet to be added)
│
├── include/
│ └── *.h (core library includes)
│
├── readdy/
│ │
│ ├── main/
│ │ └── (core library sources)
│ ├── test/
│ │ └── (core library tests)
│ └── examples/
│ └── (cpp examples)
│
├── readdy_testing/
│ └── (unit testing relevant tools)
│
├── libraries/
│ └── (c-blosc, h5rd, pybind11, spdlog)
│
└── wrappers/
└── python/
└── src/ (code for python api)
├── cxx/
│ └── (c++ code for the python module)
│
└── python/
└── (python api and tests)
Topologies
A topology is a collection of particles, whose unique ids are stored in a std::vector
. These particles are subject to bond-, angle- and dihedral-potentials. For a pair (or triple or quadruple) of particles to have a potential term, they have to be connected. The connection is defined by a graph, which is a linked list of vertices. Each vertex represents one particle in the topology and contains references to other vertices. The actual potential terms are yielded by a lookup table on pairs/triples/quadruples of particle types. All potentials holding the topology together are thus obtained from both the Graph
and the PotentialConfiguration
.
Internal structure of topologies
Topology contains global particle indices and potential terms between them, referencing to local indices w.r.t. the global-particle-index-vector
GraphTopology is a derived class of Topology and has the following properties
- has a topology type which currently defines the possible structural reactions
- contains a graph consisting out of vertices that have a one-to-one correspondence to particle indices in the respective topology:
- the data structure for the vertices is a linked list, hence iterators can be used as vertex references and a tuple of vertex references denotes an edge in the graph
- a topology graph needs to be connected upon simulation start
- has
PotentialConfiguration
that contains particle-type pairs/triples/quadruples definitions for bonds/angles/torsion-potentials, respectively - the graph’s connectivity together with the potential configuration gives the actual potential terms of the topology
- topology needs to be connected w.r.t. bonds as yielded by graph+potential config upon simulation start
- contains a vector of rates for structural reactions as registered for the topology type
Potential terms
Potential terms hold the topology together.
They are configured in the readdy::api::PotentialConfiguration
. This kernel-unique object holds three maps:
pairPotentials
: mapping(type1, type2) -> bonds
anglePotentials
: mapping(type1, type2, type3) -> angles
torsionPotentials
: mapping(type1, type2, type3, type4) -> torsion angles
.
These maps apply a hashing and equality operator that allows for asking for the reverse key, e.g., (type1, type2, type3)
and (type3, type2, type1)
should yield the same value.
Topology reactions
There are structurally-dependent and spatially-dependent reactions:
Structural means that the reaction recipe as well as its rate only depend on the topology’s graph, no dependence on other particles or other topologies is possible. Spatial means that the reaction is occurring between two particles due to their spatial proximity. At least one of the particles must belong to a topology.
- structural reactions are defined on the topology-type. They require a rate-function and a reaction-function. With structural reactions one can realize
- Conversion of a topology, just a change of the graph
- Fission, change of the graph but ending up with disconnected components. Think of a linear polymer that breaks apart in the middle
- Special case: Fission of a topology that yields components which consist of only one particle with the flavor “NORMAL”. Here, the topology will be erased and the particle will be treated normally.
- spatial reactions are between two particle-types of which at least one has topology flavor with a certain topology-type
- TopologyParticleReaction
TP
, association of a normal particle and a topology particle, the normal particle becomes a topology flavor and joins the list of particles and an edge in the graph is established. - TopologyTopologyReaction
TT
, association of two particles that already belong to a topology of a certain type, if these two are different topologies, their lists of particles and graphs are merged, and an edge is established between the given vertices. The type of the merged topology is determined by the reaction
- TopologyParticleReaction
All topology reactions are stored in the TopologyRegistry
Structural topology reactions detail
A structural reaction may change the connectivity of the topologies’ graph and may also change the types of the vertices, i.e. change the particle-type of a particle.
Rate function
A rate function has the signature scalar(const GraphTopology&)
and is supposed to yield a rate depending on the current state of the topology. This rate is assumed to be constant as long as the topology keeps its type and its graph does not change.
Reaction function
A reaction function has the signature reaction_recipe(GraphTopology&)
and is supposed to yield a reaction recipe that is a set of operations which will then be applied to the topology by the selected computing kernel. Available operations are:
addEdge(vertex1, vertex2)
: introduce an edge between two verticesremoveEdge(vertex1, vertex2)
: remove an edge between two verticesseparateVertex(vertex)
: remove all edges going from or to the given vertexchangeParticleType(vertex, newType)
: change the type of the particle corresponding to the given vertexchangeTopologyType(newType)
: change the topology’s type
Spatial topology reactions detail
Spatial reactions are defined on both particle types and topology types, before and after the reaction. Additionally spatial reactions differ in behavior with respect to merging the topologies or not. Analogue to fusion-like or enzymatic-like reactions.
Particle- and topology-types before and after the reaction
To simplify the definition of TP and TT reactions, one can use a describing string such as:
where $T_i$ and $P_i$ denote topology- and particle-types, respectively. The above example would be for an enzymatic TT reaction. In case of an enzymatic TP reaction, one can omit $T_2$ and $T_4$. In case one would like to perform a fusion reaction, the notation is
where again $T_2$ can be omitted if a TP reaction is wanted.
In the special case of a TT-Fusion, one can additionally specify [self=true]
at the end of the describing string to indicate that the topology may also form bonds with its own particles.
Examples:
TT-Fusion: T1 (p1) + T2 (p2) -> T3 (p3--p4) [self=true]
TT-Fusion2: T1 (p1) + T2 (p2) -> T3 (p3--p4)
, whereself=false
is used as defaultTT-Enzymatic: T1 (p1) + T2 (p2) -> T3 (p3) + T4 (p4)
TP-Fusion: T1 (p1) + (p2) -> T2 (p3--p4)
TP-Enzymatic: T1 (p1) + (p2) -> T3 (p3) + (p4)
Spatial reaction mode
The behavior of a reaction is summarized internally by an enum SpatialTopologyReactionMode
, which is extracted from the user’s descriptor string:
| SpatialTopologyReactionMode | meaning |
|---|---|
TT_ENZYMATIC |
reaction between two topologies, no edge is created |
TT_FUSION |
reaction between two topologies, edge can only be established between particles of different topology instances |
TT_FUSION_ALLOW_SELF |
reaction between two topologies, edge can be established between particles of different instances and even within the same instance of a topology |
TP_ENZYMATIC |
reaction between topology and particle changing types but not establishing a bond |
TP_FUSION |
reaction between topology and particle introducing a bond and possibly changing types |
Use cases:
| problem | STRMode |
|---|---|
| Linear polymers with two end-particles each. Polymers can fuse together at the ends, but not with themselves | SpatialTopologyReaction with STRMode==TT_FUSION |
| A complex/topology has an active site, that switches its type when a ligand/normal particle is close | SpatialTopologyReaction with STRMode==TP_ENZYMATIC |


public final class Temporals
extends java.lang.Object
This includes:
TimeUnit
and ChronoUnit
| Modifier and Type | Method | Description |
|---|---|---|
static java.time.temporal.ChronoUnit |
chronoUnit(java.util.concurrent.TimeUnit unit) |
Converts a
TimeUnit to a ChronoUnit . |
static long[] |
convertAmount(long amount,
java.time.temporal.TemporalUnit fromUnit,
java.time.temporal.TemporalUnit toUnit) |
Converts an amount from one unit to another.
|
static java.time.temporal.TemporalAdjuster |
nextWorkingDay() |
Returns an adjuster that returns the next working day, ignoring Saturday and Sunday.
|
static <T> T |
parseFirstMatching(java.lang.CharSequence text,
java.time.temporal.TemporalQuery<T> query,
java.time.format.DateTimeFormatter... formatters) |
Parses the text using one of the formatters.
|
static java.time.temporal.TemporalAdjuster |
previousWorkingDay() |
Returns an adjuster that returns the previous working day, ignoring Saturday and Sunday.
|
static java.util.concurrent.TimeUnit |
timeUnit(java.time.temporal.ChronoUnit unit) |
Converts a
ChronoUnit to a TimeUnit . |
public static java.time.temporal.TemporalAdjuster nextWorkingDay()
Some territories have weekends that do not consist of Saturday and Sunday. No implementation is supplied to support this, however an adjuster can be easily written to do so.
public static java.time.temporal.TemporalAdjuster previousWorkingDay()
Some territories have weekends that do not consist of Saturday and Sunday. No implementation is supplied to support this, however an adjuster can be easily written to do so.
public static <T> T parseFirstMatching(java.lang.CharSequence text, java.time.temporal.TemporalQuery<T> query, java.time.format.DateTimeFormatter... formatters)
This will try each formatter in turn, attempting to fully parse the specified text.
The temporal query is typically a method reference to a from(TemporalAccessor)
method.
For example:
LocalDateTime dt = Temporals.parseFirstMatching(str, LocalDateTime::from, fmt1, fm2, fm3);If the parse completes without reading the entire length of the text, or a problem occurs during parsing or merging, then an exception is thrown.
T
- the type of the parsed date-timetext
- the text to parse, not nullquery
- the query defining the type to parse to, not nullformatters
- the formatters to try, not nulljava.time.format.DateTimeParseException
- if unable to parse the requested resultpublic static java.time.temporal.ChronoUnit chronoUnit(java.util.concurrent.TimeUnit unit)
TimeUnit
to a ChronoUnit
.
This handles the seven units declared in TimeUnit
.
unit
- the unit to convert, not nullpublic static java.util.concurrent.TimeUnit timeUnit(java.time.temporal.ChronoUnit unit)
ChronoUnit
to a TimeUnit
.
This handles the seven units declared in TimeUnit
.
unit
- the unit to convert, not nulljava.lang.IllegalArgumentException
- if the unit cannot be convertedpublic static long[] convertAmount(long amount, java.time.temporal.TemporalUnit fromUnit, java.time.temporal.TemporalUnit toUnit)
This works on the units in ChronoUnit
and IsoFields
.
The DAYS
and WEEKS
units are handled as exact multiple of 24 hours.
The ERAS
and FOREVER
units are not supported.
amount
- the input amount in terms of the fromUnit
fromUnit
- the unit to convert from, not nulltoUnit
- the unit to convert to, not nulljava.time.DateTimeException
- if the units cannot be convertedjava.time.temporal.UnsupportedTemporalTypeException
- if the units are not supportedjava.lang.ArithmeticException
- if numeric overflow occursCopyright © 2010–2018 ThreeTen.org. All rights reserved.


In final push, Pakatan urges Tanjung Piai voters to reject racism and religious extremism
by BY BEN TANPONTIAN, Nov 15 — In a last push effort before going to the polls, Pakatan Harapan (PH) tonight urged Tanjung Piai voters to reject Barisan Nasional (BN) and their racist and religious extremism.
Johor DAP chief Liew Chin Tong said if PH wins tomorrow, it will send a message that Malaysians reject the slander initiated by the Muafakat Nasional alliance between Umno and PAS.
“Pakatan’s approach is towards a centrist approach, where we are together with the Malays, Indians, Chinese and Kadazans.
“At the same time, we fight for all Malaysians. I call upon all of Tanjung Piai voters to determine the direction tomorrow and that direction is towards a centrist road,” said Liew to a crowd of about 300 people at the Pusat Perdangangan Pontian here.
Meanwhile, Johor PH chief Tan Sri Muhyiddin Yassin expressed his confidence that the ruling coalition’s candidate Karmaine Sardini will be able to continue Tanjung Piai’s development that was started by the late Datuk Dr Md Farid Md Rafik.
He said if Karmaine, 66, wins tomorrow, he will be able to bring the necessary development to Tanjung Piai, as well as to address the socio-economic issues and to improve the livelihood of the people.
Among the other speakers were Parti Amanah Negara deputy president Datuk Seri Salahuddin Ayub and DAP veteran Lim Kit Siang.
Others present were Deputy Entrepreneur Development Minister Mohd Hatta Ramli and Minister in the Prime Minister’s Department Datuk Liew Vui Keong.
Also present was PH Tanjung Piai candidate Karmaine.
The Tanjung Piai by-election will see a six-way contest between PH’s Karmaine Sardini, BN’s Datuk Seri Wee Jeck Seng, Gerakan’s Wendy Subramaniam, Berjasa’s Datuk Badhrulhisham Abdul Aziz, and two independent candidates Ang Chuan Lock and Faridah Aryani Abdul Ghaffar.


Let me start off by saying I love opiates, having smoked Opium, and used codeine, and Oxycodone before. I stumbled upon a bottle of hydrocodone/acetaminophen prescription. Per tablet 7.5mg of hydrocodone, and 750mg of acetaminophen. I know aceta is hard on the liver in high doses, and its hard to get high on small amounts of prescription opiates, so I decided to use the same extraction method suggested in the codeine faq. I knew this would work because all opiates dissolve well in cold water, where as aceta does not. So I dissolved 7 tablets and filtered it.
The solution was very bitter and almost horrid, but not nearly as bad as stomaching nutmeg! Well, about 30 mins went by and I felt that familiar opiate buzz come on. About 15 mins after this, I was feeling comfortably stoned...the best opiate high I have ever experienced, including smoking synthesized opium. The feeling resembles being very drunk at the same time as being warm all over, numb, and overcome by intense eupohoria.!
Not a care in the world when high on opiates. I watched TV and browsed the web. I stayed high all night. At times, I experienced nausea, but this goes away while lying down. The next day, I awoke around 10:00AM. I had taken the dope at about 10:00 PM the night before and fell asleep, still high as a kite, at 3:30AM. I felt very sick to my stomach and vomited twice in the morning, which helps you feel better. The nausea I experienced disappeared at about 1:00PM. Nausea is expected after an intense opiate experience if one isn't a constant user...this is because your body is withdrawing from the drug, which is why addiction occurs. But I find that the nausea associated with opiates like hydrocodone, oxycodone, and codeine are very worth the intense high and stoned euphoria one recieves. I can't wait for my next opportunity to get high from prescription opiates. I wonder how much better heroin can really be.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Class: Aws::GreengrassV2::Types::InstalledComponent
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Struct
|
|
|
Instance Chain:
self,
::Aws::Structure ,
Struct
|
|
| Inherits: |
Struct
|
| Defined in: | gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb |
Overview
Contains information about a component on a ::Aws::Greengrass
core device.
Constant Summary
Instance Attribute Summary
-
#component_name ⇒ String
rw
The name of the component.
-
#component_version ⇒ String
rw
The version of the component.
-
#is_root ⇒ Boolean
rw
Whether or not the component is a root component.
-
#last_installation_source ⇒ String
rw
The most recent deployment source that brought the component to the
::Aws::Greengrass
core device. -
#last_reported_timestamp ⇒ Time
rw
The last time the
::Aws::Greengrass
core device sent a message containing a component's state to the Amazon Web Services Cloud. -
#last_status_change_timestamp ⇒ Time
rw
The status of how current the data is.
-
#lifecycle_state ⇒ String
rw
The lifecycle state of the component.
-
#lifecycle_state_details ⇒ String
rw
A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.
-
#lifecycle_status_codes ⇒ Array<String>
rw
The status codes that indicate the reason for failure whenever the
lifecycleState
has an error or is in a broken state.
Instance Method Summary
::Aws::Structure
- Included
| #to_hash | Alias for Structure#to_h. |
Instance Attribute Details
#component_name ⇒ String
(rw)
The name of the component.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end
#component_version ⇒ String
(rw)
The version of the component.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end
#is_root ⇒ Boolean
(rw)
Whether or not the component is a root component.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end
#last_installation_source ⇒ String
(rw)
The most recent deployment source that brought the component to the
::Aws::Greengrass
core device. For a thing group deployment or thing
deployment, the source will be the The ID of the deployment. and for
local deployments it will be LOCAL
.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end
#last_reported_timestamp ⇒ Time
(rw)
The last time the ::Aws::Greengrass
core device sent a message containing a
component's state to the Amazon Web Services Cloud.
A component does not need to see a state change for this field to update.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end
#last_status_change_timestamp ⇒ Time
(rw)
The status of how current the data is.
This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end
#lifecycle_state ⇒ String
(rw)
The lifecycle state of the component.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end
#lifecycle_state_details ⇒ String
(rw)
A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end
#lifecycle_status_codes ⇒ Array
<String
> (rw)
The status codes that indicate the reason for failure whenever the
lifecycleState
has an error or is in a broken state.
::Aws::Greengrass
nucleus v2.8.0 or later is required to get an accurate
lifecycleStatusCodes
response. This response can be inaccurate in
earlier ::Aws::Greengrass
nucleus versions.
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1841
class InstalledComponent < Struct.new( :component_name, :component_version, :lifecycle_state, :lifecycle_state_details, :is_root, :, :, :last_installation_source, :lifecycle_status_codes) SENSITIVE = [] include Aws::Structure end


file
(PHP 4, PHP 5, PHP 7)
file — 把整个文件读入一个数组中
说明
array file ( string $filename [, int $flags = 0 [, resource $context ]] )
把整个文件读入一个数组中。
Note:
你可以通过 file_get_contents() 以字符串形式获取文件的内容。
参数
filename
文件的路径。
Tip
如已启用fopen 包装器，在此函数中， URL 可作为文件名。关于如何指定文件名详见
fopen()。各种 wapper 的不同功能请参见支持的协议和封装协议，注意其用法及其可
提供的预定义变量。
flags
可选参数 flags 可以是以下一个或多个常量：
FILE_USE_INCLUDE_PATH
在 include_path 中查找文件。
FILE_IGNORE_NEW_LINES
在数组每个元素的末尾不要添加换行符
FILE_SKIP_EMPTY_LINES
跳过空行
context
A context resource created with the stream_context_create() function.
Note: 在 PHP 5.0.0 中增加了对上下文（Context）的支持。有关上下文（
Context）的说明参见 Streams。
返回值
Returns the file in an array. Each element of the array corresponds to a line
in the file, with the newline still attached. Upon failure, file() returns
FALSE.
Note:
Each line in the resulting array will include the line ending, unless
FILE_IGNORE_NEW_LINES is used, so you still need to use rtrim() if you do
not want the line ending present.
Note: 在读取在 Macintosh 电脑中或由其创建的文件时，如果 PHP 不能正确的识别
行结束符，启用运行时配置可选项 auto_detect_line_endings 也许可以解决此问题
。
更新日志
版本 说明
5.0.0 增加了参数 context
5.0.0 Prior to PHP 5.0.0 the flags parameter only covered include_path and was
enabled with 1
4.3.0 file() 开始是二进制安全的
范例
Example #1 file() 例子
$line) {
echo "Line #{$line_num} : " . htmlspecialchars($line) . "
\n";
}
// 另一个例子将 web 页面读入字符串。参见 file_get_contents()。
$html = implode('', file('http://www.example.com/'));
// 从 PHP 5 开始可以使用可选标记参数
$trimmed = file('somefile.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
?>
注释
Warning
使用 SSL 时，Microsoft IIS 会违反协议不发送close_notify标记就关闭连接。PHP 会在
到达数据尾端时报告“SSL: Fatal Protocol Error”。要解决此问题，error_reporting 应
设定为降低级别至不包含警告。 PHP 4.3.7 及更高版本可以在使用 https:// 包装器打开
流时检测出有问题的 IIS 服务器软件并抑制警告。在使用 fsockopen() 创建 ssl:// 套
接字时, 开发者需检测并抑制此警告。
参见
• readfile() - 输出文件
• fopen() - 打开文件或者 URL
• fsockopen() - 打开一个网络连接或者一个Unix套接字连接
• popen() - 打开进程文件指针
• file_get_contents() - 将整个文件读入一个字符串
• include - include
• stream_context_create() - 创建资源流上下文
User Contributed Notes 12 notes
===============================================================================
To write all the lines of the file in other words to read the file line by line
you can write the code like this:
';
foreach($names as $name)
{
echo $name.'
';
}
?>
this example is so basic to understand how it's working. I hope it will help
many beginners.
Regards,
Bingo
===============================================================================
this may be obvious, but it took me a while to figure out what I was doing
wrong. So I wanted to share. I have a file on my "c:\" drive. How do I file()
it?
Don't forget the backslash is special and you have to "escape" the backslash
i.e. "\\":
hope this helps...
===============================================================================
read from CSV data (file) into an array with named keys
... with or without 1st row = header (keys)
(see 4th parameter of function call as true / false)
fuction call with 4 parameters:
(1) = the file with CSV data (url / string)
(2) = colum delimiter (e.g: ; or | or , ...)
(3) = values enclosed by (e.g: ' or " or ^ or ...)
(4) = with or without 1st row = head (true/false)
\r\n";
print_r($csvdata);
echo "\r\n";
// -----------------
?>
PS: also see: http://php.net/manual/de/function.fgetcsv.php to read CSV data
into an array
... and other file-handling methods
^
===============================================================================
If the file you are reading is in CSV format do not use file(), use fgetcsv().
file() will split the file by each newline that it finds, even newlines that
appear within a field (i.e. within quotations).
===============================================================================
("file()'s problem with UTF-16" is wrong. This is updated.
The former may miss the last line of the string.)
file() seems to have a problem in handling
UTF-16 with or without BOM.
file() is likely to think "\n"=LF (0A) as a line-ending.
So, not only "000A" but also "010A, 020A,...,FE0A, FF0A,..."
are regarded as line-endings.
Moreover, file() causes a serious problem in UTF-16LE.
file() loses first "0A" (the first half of "0A00")!
And the next line begins with "00" (the rest of "0A00").
So lines after the first "0A" are totally different.
To avoid this phenomena,
eg. in case (php_script : UTF-8 , file : UTF-16 with line-ending "\r\n"),
instead of
$file = file($file_path);
If line-ending is "\n",
$pattern1 = mb_convert_encoding('[^\n]*\n', $to_encoding, $from_encoding);
===============================================================================
If you're getting "failed to open stream: Permission denied" when trying to use
either file() or fopen() to access files on another server. Check your host
doesn't have any firewall restrictions in-place which prevent outbound
connections. This is the case with my host Aplus.net
===============================================================================
A user suggested using rtrim always, due to the line ending conflict with files
that have an EOL that differs from the server EOL.
Using rtrim with it's default character replacement is a bad solution though,
as it removes all whitespace in addition to the '\r' and '\n' characters.
A good solution using rtrim follows:
This removes only EOL characters, and replaces with the server's EOL character,
thus making preg_* work fine when matching the EOL ($)
===============================================================================
file() has a strange behaviour when reading file with both \n and \r as line
delimitator (DOS files), since it will return an array with every single line
but with just a \n in the end. It seems like \r just disappears.
This is happening with PHP 4.0.4 for OS/2. Don't know about the Windows
version.
===============================================================================
This note applies to PHP 5.1.6 under Windows (although may apply to other
versions).
It appears that the 'FILE_IGNORE_NEW_LINES' flag doesn't remove newlines
properly when reading Windows-style text files, i.e. files whose lines end in '
\r\n'.
Solution: Always use 'rtrim()' in preference to 'FILE_IGNORE_NEW_LINES'.
===============================================================================
Using file() for reading large text files > 10 Mb gives problems, therefore you
should use this instead. It is much slower but it works fine. $lines will
return an array with all the lines.
===============================================================================
Note: Now that file() is binary safe it is 'much' slower than it used to be. If
you are planning to read large files it may be worth your while using fgets()
instead of file() For example:
The resulting array is $lines.
I did a test on a 200,000 line file. It took seconds with fgets() compared to
minutes with file().
===============================================================================
Here's my CSV converter
supports Header and trims all fields
Note: Headers must be not empty!
value
if($header === true)
$out[] = array_combine ($array_header, $array_fields);
else
$out[] = $array_fields;
}
return $out;
}
?>


Predictive Analytics:
Most clients have long used business intelligence (BI) for competitive
advantage, applying analytics to structured data (for example,
transactions and customer information) stored in relational database
management systems (RDBMSs).
Analytics for big data is different.
Big data is characterized by huge data sets and varied data types,
both semistructured and unstructured (videos, images, audio,
clickstreams, weblogs, text, and e-mail). Plus, big data is generated at a
faster rate than most enterprises have had to handle before.
The massive scale and growth of data in general—and semistructured
and unstructured data in particular—outstrip the capabilities of
traditional storage and analytic solutions, which also do not cope well
with the heterogeneity of big data.
Organizations may be data rich,
but new analytic processes and technologies are needed to unlock
the potential of big data.
Analytics for big data is an emerging area, stimulated by advances
in computer processing power, database technology, and tools for
big data. Predictive analytics is a set of advanced technologies that
enable organizations to use data—both stored and real-time—to move
from a historical, descriptive view to a forward-looking perspective of
what’s ahead.
Our models dramatically improves over previous approaches to text classification, and the code and pre-trained models allow anyone to leverage this new approach to better solve problems such as: Finding documents relevant to a legal case Identifying spam, bots, and offensive comments Classifying positive and negative reviews of a product Grouping articles by political orientation …and much more.
ADB gives you access to hundreds of the AI Model architectures and latest algorithms, with full transparency and control over the model building and deployment process. Tap into the best practices of Kaggle-ranked data scientists to automate the data pre-processing, feature engineering and parallel model building process. We then engage your domain expertise to find the best solution for your project and put it into production with just a few lines of code..


I have recentlly thought more of the future. For my collage, I would like to be accepted by UC Berkely. That is my dream collage. I know it will be hard to get in to, but still I will like to go there. The more cost efficent way to go to collage for me is going to UC Davis. My family owns a house in Sacramento, so housing would be a taken care of. For my job I would like to work at NASA. I really enjoy how advanced is the technology and would like to help out addance space exploration.
My bed is a very important place that I spend a lot of time in. I have the top part of a bunk bed as the frame of my bed.  I also have a mini dwarer under the collection. I have random stuff in there, such as pens, red envelopes, and fake credit cards. I recently got a heated mattress topper which makes my bed really warm. Though I like it very much, it make getting out of bed harder. I have one main blanket and two smaller, thiner blankets that I use if it get too cold at night.
If you want to reread anything, use the links to return to the page.


Tutorial: Full-stack JavaScript for the Enterprise Getting started with: Ext JS, Node.js, Express, MongoDB and Docker. (8)
Posted on inThis is the last part of this tutorial series, it will cover Github and the Docker Hub.
Github Navigate to github, to add a new repository: https://github.com/new Create two git repositories:
- docker-ext-client
- docker-node-server Add a .gitignore file to the following folders:* dockerextnode/client/
- dockerextnode/server/dockerextdjango/
It should contain the following ignore rules: https://gist.github.com/savelee/970c0d72195ed5b9ca7c5ca533d0a4de
Type for both folders, the following commands on the command-line:
$ git init $ git status $ git add . $ git commit -m “First
commit” $ git remote add origin
https://github.com/myrepo/myrepo.git like: git remote add origin
https://github.com/savelee/docker-ext-client.git $ git push -u
origin master --force
Docker Hub: Distribution of containers
Now that you’re reading this guide, you might be interested, or maybe you just want to see these examples working live. Well with Docker, you can very run these container images. In case you have the Docker Toolbox installed, this should be very easy. You just need to have access to my containers. Enter Docker Hub! Docker Hub is like Github but for Docker images. The Docker Hub is a public registry maintained by Docker, Inc. It contains images you can download and use to build containers. It also provides authentication, work group structure, workflow tools like webhooks and build triggers, and privacy tools like private repositories for storing images you don’t want to share publicly. Let me first show you how you can add your images to the Docker Hub, afterwards I will show you how to checkout these images. First, we are going to add an Automated build repository in Docker Hub. For that, we first need to push the code to Github. If you followed this guide, you should have done this by now.
Adding images to Docker Hub
We will need to have a working images, which you will have when you have done the previous chapters. Next, we will link our Github account with Docker Hub to add an automated build repo. You will need a Docker Hub account: https://hub.docker.com/login/ We will automate the Docker builds, by linking Github to Docker Hub, so everything I push to Git, it will automatically push to Docker as well. We can achieve this with webhooks. Go to: https://hub.docker.com/account/authorized-services/ You can choose to link to Github or Bitbucket. See: https://docs.docker.com/docker-hub/github/ I’m using Github for this tutorial. Choose between; public & private or limited access. The “Public and Private” option is the easiest to use, as it grants the Docker Hub full access to all of your repositories. GitHub also allows you to grant access to repositories belonging to your GitHub organizations. If you choose “Limited Access”, Docker Hub only gets permission to access your public data and public repositories. I choose public & private, and once I am done with that, it forwards me to a Github page. (I’m logged in on Github), which asks me to grant permission, so Docker Hub can access the Github repositories:
Once you click Authorize application, you will see the DockerHub application in the Github overview: https://github.com/settings/applications Now go back to your DockerHub dashboard, and click on the Create > Create Automated Build from the dropdown, which you will see next to your account name, in the top right:
Select Create Auto-Build Github, select your Github account, and then select the repository: docker-ext-client, enter a description of max 100 characters and save. Redo these steps as well for docker-node-server.
Once the Automated Build is configured it will automatically trigger a build and, in a few minutes, you should see your new Automated Build on the https://hub.docker.com/ Registry. It will stay in sync with your GitHub and Bitbucket repository until you deactivate the Automated Build. Now go to Build Settings. You should see this screen:
You could click the Trigger button, to trigger a
new build. Automated Builds can also be triggered via a URL on
Docker Hub. This allows you to rebuild an Automated build image on
demand. Click the Active Triggers button. Creating
an automated build repo means that every time you make a push to
your Github repo, a build will be triggered in Docker Hub to build
your new image. Make sure, when committing the docker-ext-client
app to Git, that you will check in the production build/production/Client
folder, as this folder will be used by the Docker images, not the
folder with your local Sencha (class) files. # Running images from
Docker Hub Now that we know, how we can add Docker images to the
Docker Hub, let’s checkout some images. First download the image
from the Docker Hub: $ docker pull savelee/docker-ext-client
Then run the new Docker image --name
= give your
container a name --p
= bind a port to the port which
is in the Dockerfile -d
= the image name you like to
run For example: $ docker run --name extjsapp -p 80:80 -d
savelee/docker-ext-client
Here’s the code for running the Docker container:
$ docker pull savelee/docker-node-server
$ docker run --name nodeapp -p 9000:9000 -d savelee/docker-node-server
Conclusion
The last part of the tutorial focussed on publishing Docker images to the Docker Hub. If you followed all the tutorials of this 8 series, you’ve learned the following:
- Full stack JavaScript for the enterprise with JavaScript on the front-end (with Ext JS 6).
- Node.js on the back-end
- A NoSQL database with MongoDB and Mongoose
- About Docker, and how to create containers
- How to link Docker containers with Docker Compose
- How to publish Docker images with Github and Docker Hub
The best part of this all, is that you can easily swap one technology for another. For example, I could link new Docker images, with Ext JS 6 on a Python/Django with MySQL environment, or an Angular 2 app on Node.js with CouchDB… I hope you like it, and that this might come in handy. Cheers!
Comments


Welcome to my website! Here are some things I enjoy.
Here is a favourite quote of mine...
...and another


Of course, the first...
What is Bitcoin?
Bitcoin is a decentralized online currency, in which no regulative institution exists. Bitcoins virtually exist in a public ledger system, called the blockchain. You can receive, store and send funds to anywhere in the world. They can be utilized by shopping in online merchants, or by exchanging them to local currencies through Bitcoin ATMs or exchange platforms in the country of your bank account.
What is the catch here?
We created a wallet that brings Bitcoin's philosophy to everyone while keeping the user away from the complexity of this technology: Decentralization, anonymity and ease of use. PopCornTime might just be a good example: It makes Torrent technology as easy as it can get, for everyone.
In this particular case, Coinvoy tries to provide an easy interface for everyone, in the most secure way possible: No one has access but you, yet you can reset your password and recover your PIN.
Isn't it great? If it is not great for you, please let us know how it can get better by sending an email to<EMAIL_ADDRESS>How secure is this wallet?
We do not have any word on your wallet. Even if our servers are comprimised you have no risk of losing your coins. If servers are gone away, you can still reach your Bitcoins by using a simple offline script we provide. An unusually strong encryption is employed on your browser which generates your most secret keys on-the-fly when they are needed. And all of it luckily happens very very fast, thanks to AsmCryptoJS library.
Can I exchange my Bitcoins here?
No. However, you can always transfer desired amount of funds to any online exhange platform of your preference and exchange them there.


Terms & condition
It is a long established fact that a reader will be distracted by the readable
content of a page when looking at its layout It is a long established fact that a reader will be distracted
by the readable content of a page when looking at its layout content of a page when looking at its layout
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout
It is a long established fact that a reader will be distracted by the readable
content of a page when looking at its layout It is a long established fact that a reader will be distracted
by the readable content of a page when looking at its layout content of a page when looking at its layout
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout
Privacy Policy
It is a long established fact that a reader will be distracted by the readable
content of a page when looking at its layout It is a long established fact that a reader will be distracted
by the readable content of a page when looking at its layout content of a page when looking at its layout
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout
It is a long established fact that a reader will be distracted by the readable
content of a page when looking at its layout It is a long established fact that a reader will be distracted
by the readable content of a page when looking at its layout content of a page when looking at its layout
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout


RECENT EVENTSOur traditional party at ASTM was a success. It was great to see some of our most valued customers in Denver, where they saw firsthand our newest products. |
||
| 4 | 3 | |
| 1 | 3 | |
|
We shared a great booth with our channel partner Optimus at PEFTEC, which took place in Rotterdam at the end of May. |
Our Latin American channel partners attended our annual meeting, which this year took place in our new facility in Rotterdam. Thanks to Pensalab, Supertec, SICA, CECOLTEC, Melvyn Becerra, Jose Jalill Haas, Southern Systems and Neotec Cientifica for your support! |


Regarding the Recent Update
Feb 25, 2016
I'm super happy to have updated my site (and blog pages) this week, and wanted to touch on some of the changes briefly. A few of the old links didn't work, but everything has been fixed. Obviously, there has been a visual update as well, and there will be some small changes in the weeks to come (mostly regarding icons and such).
I've spent a lot of time making sure that everything resized well on different monitors, and this is something which was brought up in our discussion group. It feels great when someone notices your optimizations. Each page has also been revised for efficiency and consistency. Several pages and documents have been removed, such as the blog stylesheet, which became redundant.
The last think I want to note is that someone commented on my use of the same icons for my blog links (the purple quote icons), saying that maybe they would be better if they were all different. I kind of like them as they are, but we'll see how others feel about it and make changes accordingly.
Again, I'm really glad to finally have everything updated from that ugly yellow and red mess that I build before, and I'll do my best to keep things minimalistic and pleasing to the eye moving forward.


Before Change
_log.warning(re)
// include device status in the results
try:
result[status_register.point_name] = status_register.get_state()
except RuntimeError as re:
_log.warning(re)
// include any vacations scheduled for the device
try:
After Change
holds = self.get_registers_by_type("hold", True) + self.get_registers_by_type("hold", False)
// Get all settings
settings = self.get_registers_by_type("setting", True) + self.get_registers_by_type("setting", False)
registers = holds + settings + [programs_register, vacations_register, status_register]
// Add data for all holds and settings to our results
for register in registers:
if register.readable:
try:
register_data = register.get_state(self.ecobee_data)
if isinstance(register_data, dict):
result.update(register_data)
else:
result[register.point_name] = register_data
except RuntimeError as re:
_log.warning(re)
def _set_point(self, point_name, value, **kwargs):
Send request to remote API to update a point based on provided parameters
:param point_name: Name of the point to update


Configuration, setting, and naming
Before you start the step below, you need to know PHP, CSS, HTML and any markups/languages you have to use.
Config main column grid size
The Bootstrap Basic theme design on basic simple 3 columns (left, midle, right). But you can change layout to your design based on Bootstrap 3 grid layout. The example below is still based on basic simple multi columns.
Bootstrap use 12 grid layout. The Bootstrap Basic theme use automatic grid size calculation.
Let's say that we will design new theme with 2 columns (left sidebar, main).
The left sidebar grid size is 2 it means if left sidebar actived the main column grid size is 10, or if left sidebar is not actived the main column grid size is 12.
Open template-functions.php file in inc/template-functions.php and replace the code in webhatcheryGetMainColumnSize function with this code
if (is_active_sidebar('sidebar-left')) { // left sidebar actived $main_column_size = 10; } else { // if no sidebar actived. $main_column_size = 12; } return $main_column_size;
Save the file and upload to the server.
Add more post formats
- Open the file: inc/functions.php
- Find
add_theme_support('post-formats', array('aside', 'image', 'video', 'quote', 'link'));
inside webhatcherySetup function - Add post format you want in that array. Example:
add_theme_support('post-formats', array('aside', 'image', 'video', 'quote', 'link', 'audio', 'chat'));
- Save the file and upload to the server.
Add or remove widget area
- Open the file: inc/functions.php
- Find webhatcheryWidgetsInit function
- Add or remove widget area as you wish.
- Save the file and upload to the server.
Change text domain
The text domain is the name of text, string that ready for translate by use .po editor.
You do not need to change the text domain but when you don't change you need to enter 'webhatchery' as text domain in the source code.
To change text domain:
Search for 'webhatchery' and replace it with your text domain name.


File Allocation Table File System (FATFS) Driver.
The SDFatFS header file should be included in an application as follows:
The SDFatFS driver is designed to hook into FatFs by implementing a set of functions that FatFs needs to call to perform basic block data transfers. This driver makes use of the SD driver for lower level disk IO operations.
The only functions that should be called by the application are the standard driver framework functions (_open, _close, etc...).
The application may use the FatFs APIs or the standard C runtime file I/O calls (fopen, fclose, etc...) given that SDFatFS_open has has been successfully called. After the SDFatFS_close API is called, ensure the application does NOT make any file I/O calls.
The SDFatFS driver interface produces log statements if instrumentation is enabled.
| Diagnostics Mask | Log details |
|---|---|
| Diags_USER1 | basic operations performed |
| Diags_USER2 | detailed operations performed |
============================================================================
#include <stdint.h>
#include <ti/drivers/SD.h>
#include <third_party/fatfs/ff.h>
#include <third_party/fatfs/diskio.h>
Go to the source code of this file.
Data Structures | |
| struct | SDFatFS_Object |
| SDFatFS Object The application must not access any member variables of this structure! More... | |
| struct | SDFatFS_Config |
| SDFatFS Global configuration. More... | |
Typedefs | |
| typedef SDFatFS_Config * | SDFatFS_Handle |
| A handle that is returned from a SDFatFS_open() call. More... | |
Functions | |
| SDFatFS_Handle | SDFatFS_open (uint_least8_t idx, uint_least8_t drive) |
| Function to open a SDFatFS instance on the specified drive. More... | |
| void | SDFatFS_close (SDFatFS_Handle handle) |
| Function to close a SDFatFS instance specified by the SDFatFS handle. More... | |
| void | SDFatFS_init (void) |
| typedef SDFatFS_Config* SDFatFS_Handle |
A handle that is returned from a SDFatFS_open() call.
| SDFatFS_Handle SDFatFS_open | ( | uint_least8_t | idx, |
| uint_least8_t | drive | ||
| ) |
Function to open a SDFatFS instance on the specified drive.
Function to mount the FatFs filesystem and register the SDFatFS disk I/O functions with the FatFS module.
| idx | Logical peripheral number indexed into the HWAttrs table. |
| drive | Drive Number |
| void SDFatFS_close | ( | SDFatFS_Handle | handle | ) |
Function to close a SDFatFS instance specified by the SDFatFS handle.
This function unmounts the file system mounted by SDFatFS_open() and unregisters the SDFatFS driver from the FatFs module.
| handle | A SDFatFS_Handle returned from SDFatFS_open() |
| void SDFatFS_init | ( | void | ) |
Function to initialize a SDFatFS instance


{% load static %}
Mission Gyan | Admin | Login
{% block body_block %} {# Anything outside of this will be inherited if you use extend.#} {% endblock %}