In this post, we will perform a constrained linear regression using Tensorflow. In linear regression, we create a model of the form $Y = W.X + b$. In this post, we will constrain $W$ and $b$ to be non-negative quantities. Such constraints are often useful in different applications. Say, if we want to model household total energy as the air conditioner energy plus some additive noise, then the contribution of both these quantities should be non-negative in nature.
We would be using gradient descent for our regression problem. We calculate the gradients wrt W and b, as usual: $$ \begin{eqnarray} \delta W = \frac{\delta cost}{\delta W} \\ \delta b = \frac{\delta cost}{\delta b} \\ \end{eqnarray} $$
The gist of our approach is that instead of updating as: $$ \begin{eqnarray} W = W - \delta W \times learning rate\\ b = b - \delta b \times learning rate\\ \end{eqnarray} $$
we update as:
$$ \begin{eqnarray} W = max(0, W - \delta W \times learning rate)\\ b = max(0, b - \delta b \times learning rate)\\ \end{eqnarray} $$
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import tensorflow as tf
n_samples = 50
train_X = np.linspace(1, 50, n_samples)
train_Y = 10*train_X + 6 +40*np.random.randn(50)
train_Y = train_Y.reshape(n_samples, 1)
train_X = train_X.reshape(n_samples, 1)
%matplotlib inline
plt.plot(train_X, train_Y, 'ro')
# Model linear regression y = Wx + b. x is of shape `num_samples, 1`
x = tf.placeholder(tf.float32, [None, 1])
# Here we initialize W and b to be negative just to illustrate our point!
W = tf.Variable(-100*tf.ones([1, 1]))
b = tf.Variable(-100*tf.ones([1]))
product = tf.matmul(x,W)
y = product + b
# Clipping operation.
clip_W = W.assign(tf.maximum(0., W))
clip_b = b.assign(tf.maximum(0., b))
clip = tf.group(clip_W, clip_b)
y_ = tf.placeholder(tf.float32, [None, 1])
# Cost function
cost = tf.reduce_sum(tf.pow(y-y_, 2))/(2*n_samples)
lr = 0.001
steps = 10
# Training using Gradient Descent to minimize cost
train_step = tf.train.GradientDescentOptimizer(lr).minimize(cost)
init = tf.global_variables_initializer()
with tf.Session() as sess:
sess.run(init)
for i in range(steps):
print("*"*40)
print("Iteration Number %d" %i)
print("*"*40)
print("\nBefore gradient computation")
print("-"*40)
print("W: %f" % sess.run(W))
print("b: %f" % sess.run(b))
feed = { x: train_X, y_: train_Y }
sess.run(train_step, feed_dict=feed)
print("\nAfter gradient computation")
print("-"*40)
print("W: %f" % sess.run(W))
print("b: %f" % sess.run(b))
print("\nAfter gradient projection")
print("-"*40)
# THIS line would ensure the projection step happens!
sess.run(clip)
print("W: %f" % sess.run(W))
print("b: %f" % sess.run(b))
print("\nCost: %f" % sess.run(cost, feed_dict=feed))
print("*"*40)
learnt_W = sess.run(W)
learnt_b = sess.run(b)
As we can see from the output, the clipping operation ensures that W and b remain non-negative.
plt.plot(train_X, train_Y, 'ro')
pred_Y = np.multiply(train_X, learnt_W)+learnt_b
plt.plot(train_X, pred_Y, 'b')
plt.title("Y = {:0.2f}X + {:0.2f}".format(learnt_W[0, 0], learnt_b[0]))


--- layout: post authors: ["Greg Wilson"] title: "The Fifth ANGUS Course" date: 2014-08-21 time: "10:00:00" tags: ["Noticed", "Teaching", "Assessment"] ---
Titus Brown recently blogged a summary of the fifth run of the Analyzing Next Generation Sequencing (ANGUS) course at Michigan State. It includes some interesting observations on what's working and what needs to be improved, and some thoughts on assessment—he'd welcome feedback.


| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | course_enrollments table defines students enromments in many course_offerings | |
| user_id | INT(11) | Yes | |||
| course_offering_id | INT(11) | Yes | |||
| course_role_id | INT(11) | Yes |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| course_enrollments_course_offering_id_fk | Non-Identifying | course_offerings | course_enrollments | 1:n |
| course_enrollments_course_role_id_fk | Non-Identifying | course_roles | course_enrollments | 1:n |
| course_enrollments_user_id_fk | Non-Identifying | users | course_enrollments | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Course_offerings table defines instances of courses offered by organizations | |
| course_id | INT(11) | Yes | |||
| term_id | INT(11) | Yes | |||
| label | VARCHAR(255) | Yes | Used to differentiate multiple sections in a course offering | ||
| url | VARCHAR(255) | No | NULL | Not used | |
| self_enrollment_allowed | TINYINT(1) | No | '1' | Whether students are allowed to self-enroll or not | |
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| cutoff_date | DATE | No | NULL | Course offering closing date | |
| late_policy_id | INT(11) | No | NULL | ||
| lms_instance_id | INT(11) | Yes | |||
| lms_course_code | VARCHAR(255) | No | NULL | The code/name of a course in the LMS | |
| lms_course_num | INT(11) | Yes | The identifier of a course in the LMS system | ||
| archived | TINYINT(1) | No | '0' | When an old course is archived it will be hidden in all instructor's interfaces. |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| course_offerings_course_id_fk | Non-Identifying | courses | course_offerings | 1:n |
| course_offerings_late_policy_id_fk | Non-Identifying | late_policies | course_offerings | 1:n |
| course_offerings_lms_instance_id_fk | Non-Identifying | lms_instances | course_offerings | 1:n |
| course_offerings_term_id_fk | Non-Identifying | terms | course_offerings | 1:n |
| course_enrollments_course_offering_id_fk | Non-Identifying | course_offerings | course_enrollments | 1:n |
| inst_books_course_offering_id_fk | Non-Identifying | course_offerings | inst_books | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | course_roles defines the user's role in the course | |
| name | VARCHAR(255) | Yes | There are two roles "Instructor" and "Student" | ||
| can_manage_course | TINYINT(1) | Yes | '0' | ||
| can_manage_assignments | TINYINT(1) | Yes | '0' | ||
| can_grade_submissions | TINYINT(1) | Yes | '0' | ||
| can_view_other_submissions | TINYINT(1) | Yes | '0' | ||
| builtin | TINYINT(1) | Yes | '0' |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| course_enrollments_course_role_id_fk | Non-Identifying | course_roles | course_enrollments | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | This table defines courses offered by an organization | |
| name | VARCHAR(255) | Yes | The official organization course name. | ||
| number | VARCHAR(255) | Yes | The official organization course number. | ||
| organization_id | INT(11) | Yes | |||
| user_id | INT(11) | Yes | |||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| slug | VARCHAR(255) | Yes | Lower case of the course number. It lets you create pretty and human-friendly URLs. |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| courses_organization_id_fk | Non-Identifying | organizations | courses | 1:n |
| course_offerings_course_id_fk | Non-Identifying | courses | course_offerings | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | global_role table defines user's system level role | |
| name | VARCHAR(255) | Yes | There are three roles "Administrator", "Instructor", and "Student" | ||
| can_manage_all_courses | TINYINT(1) | Yes | '0' | ||
| can_edit_system_configuration | TINYINT(1) | Yes | '0' | ||
| builtin | TINYINT(1) | Yes | '0' |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| users_global_role_id_fk | Non-Identifying | global_roles | users | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | inst_book_section_exercises table defines a configuration of an exercise in a section | |
| inst_book_id | INT(11) | Yes | |||
| inst_section_id | INT(11) | Yes | |||
| inst_exercise_id | INT(11) | No | NULL | ||
| points | DECIMAL(5,2) | Yes | Number of points that this exercise worth | ||
| required | TINYINT(1) | No | '0' | Whether it is required for module proficiency | |
| threshold | DECIMAL(5,2) | Yes | For Khan Academy exercises: The number of questions students need to answer correctly to get the exercise points. For proficiency exercises: The percentage of steps students need to perform them correctly to get the exercise points. | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| type | TINYINT(1) | No | NULL | Not used | |
| options | LONGTEXT | No | NULL | Exercise specific configurations (e.g. code language used) |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| inst_book_section_exercises_inst_book_id_fk | Non-Identifying | inst_books | inst_book_section_exercises | 1:n |
| inst_book_section_exercises_inst_exercise_id_fk | Non-Identifying | inst_exercises | inst_book_section_exercises | 1:n |
| inst_book_section_exercises_inst_section_id_fk | Non-Identifying | inst_sections | inst_book_section_exercises | 1:n |
| odsa_exercise_attempts_inst_book_section_exercise_id_fk | Non-Identifying | inst_book_section_exercises | odsa_exercise_attempts | 1:n |
| odsa_exercise_progresses_inst_book_section_exercise_id_fk | Non-Identifying | inst_book_section_exercises | odsa_exercise_progresses | 1:n |
| odsa_user_interactions_inst_book_section_exercise_id_fk | Non-Identifying | inst_book_section_exercises | odsa_user_interactions | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines OpenDSA Book configuration used by a course offering | |
| course_offering_id | INT(11) | No | NULL | ||
| user_id | INT(11) | Yes | |||
| title | VARCHAR(50) | Yes | |||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| template | TINYINT(1) | No | '0' | Whether the book configuration is used as a template that instractor can clone and change it. | |
| desc | VARCHAR(255) | No | NULL | ||
| last_compiled | DATETIME | No | NULL | The last time the book got compiled | |
| options | LONGTEXT | No | NULL | Stores book level options | |
| book_type | INT(11) | No | NULL | whether it is a normal book or a book that contains only exercies |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| inst_books_course_offering_id_fk | Non-Identifying | course_offerings | inst_books | 1:n |
| inst_books_user_id_fk | Non-Identifying | users | inst_books | 1:n |
| inst_book_section_exercises_inst_book_id_fk | Non-Identifying | inst_books | inst_book_section_exercises | 1:n |
| inst_chapters_inst_book_id_fk | Non-Identifying | inst_books | inst_chapters | 1:n |
| odsa_book_progresses_inst_book_id_fk | Non-Identifying | inst_books | odsa_book_progresses | 1:n |
| odsa_exercise_attempts_inst_book_id_fk | Non-Identifying | inst_books | odsa_exercise_attempts | 1:n |
| odsa_module_progresses_inst_book_id_fk | Non-Identifying | inst_books | odsa_module_progresses | 1:n |
| odsa_user_interactions_inst_book_id_fk | Non-Identifying | inst_books | odsa_user_interactions | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | When OpenDSA module is used in a book instance it defines a record in this table. | |
| inst_chapter_id | INT(11) | Yes | |||
| inst_module_id | INT(11) | Yes | |||
| module_position | INT(11) | No | NULL | The Module order in a chapter | |
| lms_module_item_id | INT(11) | No | NULL | The Module Id in an LMS system | |
| lms_section_item_id | INT(11) | No | NULL | If a module has only one section, the Module Id in an LMS system goes here. | |
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| inst_chapter_modules_inst_chapter_id_fk | Non-Identifying | inst_chapters | inst_chapter_modules | 1:n |
| inst_chapter_modules_inst_module_id_fk | Non-Identifying | inst_modules | inst_chapter_modules | 1:n |
| inst_sections_inst_chapter_module_id_fk | Non-Identifying | inst_chapter_modules | inst_sections | 1:n |
| odsa_module_progresses_inst_chapter_module_id_fk | Non-Identifying | inst_chapter_modules | odsa_module_progresses | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines OpenDSA Book configuration used by a course offering | |
| inst_book_id | INT(11) | Yes | |||
| name | VARCHAR(100) | Yes | |||
| short_display_name | VARCHAR(45) | No | NULL | ||
| position | INT(11) | No | NULL | The chapter order in the book | |
| lms_chapter_id | INT(11) | No | NULL | The chapter ID in the LMS course | |
| lms_assignment_group_id | INT(11) | No | NULL | The LMS group ID for all the assignments in the chapter | |
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| inst_chapters_inst_book_id_fk | Non-Identifying | inst_books | inst_chapters | 1:n |
| inst_chapter_modules_inst_chapter_id_fk | Non-Identifying | inst_chapters | inst_chapter_modules | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines a list of all exercises in OpenDSA system | |
| name | VARCHAR(255) | No | NULL | ||
| short_name | VARCHAR(255) | Yes | |||
| ex_type | VARCHAR(50) | No | NULL | KA "Khan Academy" PE "Proficiency Exercise" AV "Algorithm Visualization" SS "Slide Show" | |
| description | VARCHAR(255) | No | NULL | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| inst_book_section_exercises_inst_exercise_id_fk | Non-Identifying | inst_exercises | inst_book_section_exercises | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines a complete list of OpenDSA modules, which maps to a list of all ReST files in OpenDSA repository | |
| path | VARCHAR(255) | Yes | |||
| name | VARCHAR(255) | Yes | |||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| inst_chapter_modules_inst_module_id_fk | Non-Identifying | inst_modules | inst_chapter_modules | 1:n |
| inst_sections_inst_module_id_fk | Non-Identifying | inst_modules | inst_sections | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines different sections in each module | |
| inst_module_id | INT(11) | Yes | |||
| inst_chapter_module_id | INT(11) | Yes | |||
| short_display_name | VARCHAR(50) | No | NULL | ||
| name | VARCHAR(255) | Yes | |||
| position | INT(11) | No | NULL | Section order in a module | |
| gradable | TINYINT(1) | No | '0' | Whether a section contains gradable exercise | |
| soft_deadline | DATETIME | No | NULL | If gradable, this field defines the deadline after which student can still submit answers however late penalties could be applied | |
| hard_deadline | DATETIME | No | NULL | No submisions would be accepted after this deadline | |
| time_limit | INT(11) | No | NULL | Not used | |
| show | TINYINT(1) | No | '1' | Whether a section to be shown in the LMS course or not. | |
| lms_item_id | INT(11) | No | NULL | The LMS external tool item ID | |
| lms_assignment_id | INT(11) | No | NULL | The LMS assignment ID if the section is gradable | |
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| learning_tool | VARCHAR(255) | No | NULL | If the section reference a learning tool, this field stores the tool code | |
| resource_type | VARCHAR(255) | No | NULL | Whether the learning tool resource is "external link" or "assignment" | |
| resource_name | VARCHAR(255) | No | NULL | The learning tool resource name | |
| lms_posted | TINYINT(1) | No | NULL | When the section is gradable, this field indecate whether a grade was posted to the LMS or not | |
| time_posted | DATETIME | No | NULL | When the section is gradable, this field indecate the time a grade was posted to the LMS |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| inst_sections_inst_chapter_module_id_fk | Non-Identifying | inst_chapter_modules | inst_sections | 1:n |
| inst_sections_inst_module_id_fk | Non-Identifying | inst_modules | inst_sections | 1:n |
| inst_book_section_exercises_inst_section_id_fk | Non-Identifying | inst_sections | inst_book_section_exercises | 1:n |
| odsa_exercise_attempts_inst_section_id_fk | Non-Identifying | inst_sections | odsa_exercise_attempts | 1:n |
| odsa_student_extensions_inst_section_id_fk | Non-Identifying | inst_sections | odsa_student_extensions | 1:n |
| odsa_user_interactions_inst_section_id_fk | Non-Identifying | inst_sections | odsa_user_interactions | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines the course offerings late policy | |
| name | VARCHAR(255) | Yes | |||
| late_days | INT(11) | Yes | The number of late days during which students are allowed to submit their exercises attempts. | ||
| late_percent | INT(11) | Yes | When a student submits an exercise attempt during the late days, this field defines the percentage of the grade points to be deducted from his score. | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| course_offerings_late_policy_id_fk | Non-Identifying | late_policies | course_offerings | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines learning tools used by OpenDSA-LTI infrastructure. Currently, there is only one external tool (CodeWorkout) used within OpenDSA book. | |
| name | VARCHAR(255) | Yes | External learning tool name | ||
| key | VARCHAR(255) | Yes | LTI consumer key | ||
| secret | VARCHAR(255) | Yes | LTI shared secret | ||
| launch_url | VARCHAR(255) | Yes | The external tool launch url | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines user level access to an LMS | |
| access_token | VARCHAR(255) | No | NULL | Access tokens are what allow third-party applications to access Canvas resources on the user behalf. | |
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| lms_instance_id | INT(11) | No | NULL | ||
| user_id | INT(11) | No | NULL | ||
| consumer_key | VARCHAR(255) | No | NULL | User level LTI consumer key | |
| consumer_secret | VARCHAR(255) | No | NULL | User level LTI shared secret |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| lms_accesses_lms_instance_id_fk | Non-Identifying | lms_instances | lms_accesses | 1:n |
| lms_accesses_user_id_fk | Non-Identifying | users | lms_accesses | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines different LMS installations | |
| url | VARCHAR(255) | Yes | LMS instance url | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| lms_type_id | INT(11) | No | NULL | ||
| consumer_key | VARCHAR(255) | No | NULL | LMS level LTI consumer key used by OpenDSA-LTI application | |
| consumer_secret | VARCHAR(255) | No | NULL | LMS level LTI secret used by OpenDSA-LTI application |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| lms_instances_lms_type_id_fk | Non-Identifying | lms_types | lms_instances | 1:n |
| course_offerings_lms_instance_id_fk | Non-Identifying | lms_instances | course_offerings | 1:n |
| lms_accesses_lms_instance_id_fk | Non-Identifying | lms_instances | lms_accesses | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines LMS names (e.g. Canvas, Moodle) | |
| name | VARCHAR(255) | Yes | |||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| lms_instances_lms_type_id_fk | Non-Identifying | lms_types | lms_instances | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Stores the student progress for each OpenDSA book instance | |
| user_id | INT(11) | Yes | |||
| inst_book_id | INT(11) | Yes | |||
| started_exercises | LONGTEXT | Yes | Comma separated list of exercises IDs | ||
| proficient_exercises | LONGTEXT | Yes | Comma separated list of exercises IDs | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| odsa_book_progresses_inst_book_id_fk | Non-Identifying | inst_books | odsa_book_progresses | 1:n |
| odsa_book_progresses_user_id_fk | Non-Identifying | users | odsa_book_progresses | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Stores students attempts for KA and PE exercises | |
| inst_book_id | INT(11) | Yes | |||
| inst_section_id | INT(11) | Yes | |||
| inst_book_section_exercise_id | INT(11) | Yes | |||
| worth_credit | TINYINT(1) | Yes | When the attempt is correct, from first time, and without using hits it worth a credit. | ||
| time_done | DATETIME | Yes | |||
| time_taken | INT(11) | Yes | |||
| count_hints | INT(11) | Yes | Number of hints used so far when the students submitted this attempt. | ||
| hint_used | TINYINT(1) | Yes | Whether a hint is used on this question or not. | ||
| points_earned | DECIMAL(5,2) | Yes | When this attempt is the final attmpt to got the student the proficiency, this field stores how many points the student got. | ||
| earned_proficiency | TINYINT(1) | Yes | Whether the student earned the proficiency when he submitted this attempt or not. | ||
| count_attempts | BIGINT(20) | Yes | Number of attempts so far for the current question. | ||
| ip_address | VARCHAR(20) | Yes | |||
| question_name | VARCHAR(50) | Yes | The specific question name in a summary exercise | ||
| request_type | VARCHAR(50) | No | NULL | Whether this attempt is a hint object or attempt object | |
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| correct | TINYINT(1) | No | NULL | True if the student answer is correct | |
| pe_score | DECIMAL(5,2) | No | NULL | When the exercise is PE, this field stores the points a student should get when he correctly solve the question. | |
| pe_steps_fixed | INT(11) | No | NULL | When the exercise is PE, this fields stores the number of steps that the student did not get correctly and the exercise fixed them for him. |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| odsa_exercise_attempts_inst_book_id_fk | Non-Identifying | inst_books | odsa_exercise_attempts | 1:n |
| odsa_exercise_attempts_inst_book_section_exercise_id_fk | Non-Identifying | inst_book_section_exercises | odsa_exercise_attempts | 1:n |
| odsa_exercise_attempts_inst_section_id_fk | Non-Identifying | inst_sections | odsa_exercise_attempts | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Stores statistics about student attempts each record contains the data related to one student and one exercise. | |
| user_id | INT(11) | Yes | |||
| inst_book_section_exercise_id | INT(11) | Yes | |||
| current_score | INT(11) | Yes | For KA exercises, this field stores the student current points for an exercise. | ||
| highest_score | INT(11) | Yes | For KA exercises, this field stores the student highest number of points he could get for an exercise. The highest_score should always be bigger than or equal the current_score | ||
| first_done | DATETIME | Yes | |||
| last_done | DATETIME | Yes | |||
| total_correct | INT(11) | Yes | The total correct attempts | ||
| total_worth_credit | INT(11) | Yes | The total number of attempts that are correct, from first time, and without using hints. | ||
| proficient_date | DATETIME | Yes | |||
| current_exercise | VARCHAR(255) | No | NULL | This field tracks the student current question name so that when he reload the module page he will get the same question again. | |
| correct_exercises | VARCHAR(255) | No | NULL | This field stores A list of correct exercises in order for KA framework to be able to remove them from the question pool. | |
| hinted_exercise | VARCHAR(255) | No | NULL | This field tracks the question name on which the student used the hints. So when the student refreshes the module page he won't get credit for this question even if he solved it correctly. | |
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| odsa_exercise_progresses_inst_book_section_exercise_id_fk | Non-Identifying | inst_book_section_exercises | odsa_exercise_progresses | 1:n |
| odsa_exercise_progresses_user_id_fk | Non-Identifying | users | odsa_exercise_progresses | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Stores the student progress for each OpenDSA book module | |
| user_id | INT(11) | Yes | |||
| inst_book_id | INT(11) | Yes | |||
| first_done | DATETIME | Yes | When any of the module's exercises was first done. | ||
| last_done | DATETIME | Yes | The last time the student done any of the module's exercises. | ||
| proficient_date | DATETIME | Yes | When the student achieved the module's proficiency | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| inst_chapter_module_id | INT(11) | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| odsa_module_progresses_inst_book_id_fk | Non-Identifying | inst_books | odsa_module_progresses | 1:n |
| odsa_module_progresses_inst_chapter_module_id_fk | Non-Identifying | inst_chapter_modules | odsa_module_progresses | 1:n |
| odsa_module_progresses_user_id_fk | Non-Identifying | users | odsa_module_progresses | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Used to store extension information for each section per student in case the instructor wants to extend a section deadline for some students for any reasons. | |
| user_id | INT(11) | No | NULL | ||
| inst_section_id | INT(11) | Yes | |||
| soft_deadline | DATETIME | No | NULL | ||
| hard_deadline | DATETIME | No | NULL | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| time_limit | INT(11) | No | NULL | ||
| opening_date | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| odsa_student_extensions_inst_section_id_fk | Non-Identifying | inst_sections | odsa_student_extensions | 1:n |
| odsa_student_extensions_user_id_fk | Non-Identifying | users | odsa_student_extensions | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Stores students click stream | |
| user_id | INT(11) | Yes | |||
| inst_book_id | INT(11) | Yes | |||
| inst_section_id | INT(11) | No | NULL | ||
| inst_book_section_exercise_id | INT(11) | No | NULL | ||
| name | VARCHAR(50) | Yes | The event name (e.g. slide show step forward) | ||
| description | LONGTEXT | Yes | |||
| action_time | DATETIME | Yes | |||
| uiid | BIGINT(20) | Yes | the unique instance identifier, which allows an event to be tied to a specific load of a module page | ||
| browser_family | VARCHAR(20) | Yes | |||
| browser_version | VARCHAR(20) | Yes | |||
| os_family | VARCHAR(50) | Yes | |||
| os_version | VARCHAR(20) | Yes | |||
| device | VARCHAR(50) | Yes | |||
| ip_address | VARCHAR(20) | Yes | |||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| odsa_user_interactions_inst_book_id_fk | Non-Identifying | inst_books | odsa_user_interactions | 1:n |
| odsa_user_interactions_inst_book_section_exercise_id_fk | Non-Identifying | inst_book_section_exercises | odsa_user_interactions | 1:n |
| odsa_user_interactions_inst_section_id_fk | Non-Identifying | inst_sections | odsa_user_interactions | 1:n |
| odsa_user_interactions_user_id_fk | Non-Identifying | users | odsa_user_interactions | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | ||
| name | VARCHAR(255) | Yes | The organization name | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| abbreviation | VARCHAR(255) | No | NULL | Abbreviated organization name | |
| slug | VARCHAR(255) | Yes | Lower case abbreviation used to create pretty and human-friendly URLs. |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| courses_organization_id_fk | Non-Identifying | organizations | courses | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | Defines a list of semesters | |
| season | INT(11) | Yes | Enumeration for semesters: 100-Spring 200-SummerI 300-SummerII 400-Fall 500-Winter | ||
| starts_on | DATE | Yes | |||
| ends_on | DATE | Yes | |||
| year | INT(11) | Yes | |||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| slug | VARCHAR(255) | Yes | Lower case of semester string literal and year (e.g. fall-2016). It lets you create pretty and human-friendly URLs. |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| course_offerings_term_id_fk | Non-Identifying | terms | course_offerings | 1:n |
| Key | Column Name | Datatype | Not Null | Default | Comment |
| PK | id | INT(11) | Yes | ||
| VARCHAR(255) | Yes | '' | |||
| encrypted_password | VARCHAR(255) | Yes | '' | ||
| reset_password_token | VARCHAR(255) | No | NULL | ||
| reset_password_sent_at | DATETIME | No | NULL | ||
| remember_created_at | DATETIME | No | NULL | ||
| sign_in_count | INT(11) | Yes | '0' | ||
| current_sign_in_at | DATETIME | No | NULL | ||
| last_sign_in_at | DATETIME | No | NULL | ||
| current_sign_in_ip | VARCHAR(255) | No | NULL | ||
| last_sign_in_ip | VARCHAR(255) | No | NULL | ||
| confirmation_token | VARCHAR(255) | No | NULL | ||
| confirmed_at | DATETIME | No | NULL | ||
| confirmation_sent_at | DATETIME | No | NULL | ||
| created_at | DATETIME | No | NULL | ||
| updated_at | DATETIME | No | NULL | ||
| first_name | VARCHAR(255) | No | NULL | ||
| last_name | VARCHAR(255) | No | NULL | ||
| global_role_id | INT(11) | Yes | |||
| avatar | VARCHAR(255) | No | NULL | ||
| slug | VARCHAR(255) | Yes | |||
| time_zone_id | INT(11) | No | NULL |
| Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
| users_global_role_id_fk | Non-Identifying | global_roles | users | 1:n |
| course_enrollments_user_id_fk | Non-Identifying | users | course_enrollments | 1:n |
| inst_books_user_id_fk | Non-Identifying | users | inst_books | 1:n |
| lms_accesses_user_id_fk | Non-Identifying | users | lms_accesses | 1:n |
| odsa_book_progresses_user_id_fk | Non-Identifying | users | odsa_book_progresses | 1:n |
| odsa_exercise_progresses_user_id_fk | Non-Identifying | users | odsa_exercise_progresses | 1:n |
| odsa_module_progresses_user_id_fk | Non-Identifying | users | odsa_module_progresses | 1:n |
| odsa_student_extensions_user_id_fk | Non-Identifying | users | odsa_student_extensions | 1:n |
| odsa_user_interactions_user_id_fk | Non-Identifying | users | odsa_user_interactions | 1:n |


Work with keys
A tonal tutorial
In tonal, a key is a string with a pitch
class tonic and a mode name. For example 'C major'
or 'Db aeolian' are valid keys.
The key function is used to create keys.
With this function you can test if a given string it's a valid key.
Valid key modes are: major, minor, ionian, dorian, phrygian, lydian,
mixolydian, aeolian and locrian. Keys can be created from key signature (read the next section). Major
keys are always returned: You can get the relative keys from another one. Just specify the mode
of the key and the source: As always, the function it's currified: The key.scale function returns the scale
of a given key: A key signature is a string with sharps or flats. For example, '###' is the key signature of A major. You can use
the signature function to get the
signature: Or use the key function to create a key
from the signature: Sometimes it's useful to get the altered notes of a key: The notes are returned in the same order as the normal
key signatureCreating keys
tonal.key('A major') // => 'A major'
tonal.key('A') // => null
tonal.key('A dimished') // => null
tonal.key('###') // => 'A major'
tonal.key(3) // => 'A major'
tonal.key('bbb') // => 'Eb major'
tonal.key(-3) // => 'Eb major'
Creating relative keys
tonal.key.relative('minor', 'A major') // => 'F# minor'
tonal.key('dorian', tonal.key('#')) // => 'A dorian'
var relMinor = tonal.key.relative('minor')
relMinor('Eb major') // => 'C minor'
Key properties
Key scale
tonal.key.scale('D dorian')
// => ['D', 'E', 'F', 'G', 'A', 'B', 'C']
tonal.key.scale('C minor')
// => ['C', 'D', 'Eb', 'F', 'G', 'Ab', 'Bb']
Key signature
tonal.key.signature('A major') // => '###'
tonal.key('###') // => 'A major'
Altered notes
tonal.key.altNotes('Eb major') // => ['Bb', 'Eb', 'Ab']


About Us
International Office
CHRIST (Deemed to be University) , a premier educational institution, is an academic fraternity of
individuals dedicated to the motto of Excellence and Service. The University welcomes students from all over
the world to a vibrant environment of religious and racial harmony, secularism and cultural diversity.The
decision to study abroad is a life-changing one which allows students to take on a personal journey as well as
an academic one .
CHRIST (Deemed to be University) is a fascinating place to study and we hope that you will decide to join
us. In our eyes, internationalism signifies awareness, tolerance and understanding; to learn languages and
discover cultures; to develop personally and professionally. The International Office is responsible for
informing, advising and supporting students, staff and lecturers on all matters related to internationalism.
We offer help in finding suitable programmes and guide you through the application process. We also provide
support to our international students and guests of the University. The International Office is entrusted with
managing the University’s international relations and the welfare of its international students.
Journey/Facts
THE TWO LINE DESCRIPTION.
International Students
Countries
Academic Departments
Library Books
Alumni's
University Publications


Guy Creates Modern Bow Which Makes Archery Much Easier Than Before
This guy created a bow with a handle which makes everything easier, also you don't have to carry a quiver anymore.
by Nursah ErgüEveryone has a special sport that they enjoy, both doing and watching. And if it's archery for you, then you'll like this video a lot.
If you're an archer, or you like archery, you must be familiar with the difficulty of taking arrows out from the quiver every time you shoot an arrow. It actually can be pretty time-consuming or motivation-killing, and something to blame when you shoot the arrow poorly.
So, here's a great innovation for you which will make your archery process much easier and enjoyable. This guy created a bow, and you don't have to carry a quiver with you anymore.
Also, pulling a bow can also be a difficult process, especially for beginners. This new bow that the guy created has a different mechanism; it has a handle that you can pull, and it makes the whole archery thing more fun and easier.


Compute shaders are programs that run on the graphics card, outside of the normal rendering pipeline. They can be used for massively parallel GPGPU algorithms, or to accelerate parts of game rendering. In order to efficiently use them, an in-depth knowledge of GPU architectures and parallel algorithms is often needed; as well as knowledge of DirectCompute, OpenGL Compute, OpenCL, CUDA, or OpenCL.
Compute shaders in Unity closely match DirectX 11 DirectCompute technology. Platforms where compute shaders work:
Windows and Windows Store, with a DirectX 11 or DirectX 12 graphics API and Shader Model 5.0 GPU
macOS and iOS using Metal graphics API
Android, Linux and Windows platforms with Vulkan API
Modern OpenGL platforms (OpenGL 4.3 on Linux or Windows; OpenGL ES 3.1 on Android). Note that Mac OS X does not support OpenGL 4.3
Modern consoles (Sony PS4 and Microsoft Xbox One)
Compute shader support can be queried runtime using SystemInfo.supportsComputeShaders.
Similar to regular shaders, compute shaders are Asset files in your project, with a .compute file extension. They are written in DirectX 11 style HLSL language, with a minimal number of #pragma compilation directives to indicate which functions to compile as compute shader kernels.
Here’s a basic example of a compute shader file, which fills the output texture with red:
// test.compute
#pragma kernel FillWithRed
RWTexture2D<float4> res;
[numthreads(1,1,1)]
void FillWithRed (uint3 dtid : SV_DispatchThreadID)
{
res[dtid.xy] = float4(1,0,0,1);
}
The language is standard DX11 HLSL, with an additional #pragma kernel FillWithRed
directive. One compute shader Asset file must contain at least onecompute kernel
that can be invoked, and that function is indicated by the #pragma directive
. There can be more kernels in the file; just add multiple #pragma kernel
lines.
When using multiple #pragma kernel
lines, note that comments of the style // text
are not permitted on the same line as the #pragma kernel
directives, and cause compilation errors if used.
The #pragma kernel
line can optionally be followed by a number of preprocessor macros to define while compiling that kernel, for example:
#pragma kernel KernelOne SOME_DEFINE DEFINE_WITH_VALUE=1337
#pragma kernel KernelTwo OTHER_DEFINE
// ...
In your script, define a variable of ComputeShader type and assign a reference to the Asset. This allows you to invoke them with ComputeShader.Dispatch function. See Unity documentation on ComputeShader class for more details.
Closely related to compute shaders is a ComputeBuffer class, which defines arbitrary data buffer (“structured buffer” in DX11 lingo). Render Textures can also be written into from compute shaders, if they have “random access” flag set (“unordered access view” in DX11). See RenderTexture.enableRandomWrite to learn more about this.
Textures and samplers aren’t separate objects in Unity, so to use them in compute shaders you must follow one of the following Unity-specific rules:
Use the same name as the Texture name, with sampler
at the beginning (for example, Texture2D MyTex
; SamplerState samplerMyTex
). In this case, the sampler is initialized to that Texture’s filter/wrap/aniso settings.
Use a predefined sampler. For this, the name has to have Linear
or Point
(for filter mode) and Clamp
or Repeat
(for wrap mode). For example, SamplerState MyLinearClampSampler
creates a sampler that has Linear filter mode and Clamp wrap mode.
For more information, see documentation on Sampler States.
As with regular shaders, Unity is capable of translating compute shaders from HLSL to other shader languages. Therefore, for the easiest cross-platform builds, you should write compute shaders in HLSL. However, there are some factors that need to be considered when doing this.
DirectX 11 (DX11) supports many actions that are not supported on other platforms (such as Metal or OpenGL ES). Therefore, you should always ensure your shader has well-defined behavior on platforms that offer less support, rather than only on DX11. Here are few things to consider:
Out-of-bounds memory accesses are bad. DX11 might consistently return zero when reading, and read some writes without issues, but platforms that offer less support might crash the GPU when doing this. Watch out for DX11-specific hacks, buffer sizes not matching with multiple of your thread group size, trying to read neighboring data elements from the beginning or end of the buffer, and similar incompatibilities.
Initialize your resources. The contents of new buffers and Textures are undefined. Some platforms might provide all zeroes, but on others, there could be anything including NaNs.
Bind all the resources your compute shader declares. Even if you know for sure that the shader does not use resources in its current state because of branching, you must still ensure a resource is bound to it.
Metal (for iOS and tvOS platforms) does not support atomic operations on Textures. Metal also does not support GetDimensions
queries on buffers. Pass the buffer size info as constant to the shader if needed.
OpenGL ES 3.1 (for (Android, iOS, tvOS, Tizen platforms) only guarantees support for 4 compute buffers at a time. Actual implementations typically support more, but in general if developing for OpenGL ES, you should consider grouping related data in structs rather than having each data item in its own buffer.
Usually, compute shader files are written in HLSL, and compiled or translated into all necessary platforms automatically. However, it is possible to either prevent translation to other languages (that is, only keep HLSL platforms), or to write GLSL compute code manually.
The following information only applies to HLSL-only or GLSL-only compute shaders, not cross-platform builds. This is because this information can result in compute shader source being excluded from some platforms.
Compute shader source surrounded by CGPROGRAM
and ENDCG
keywords is not processed for non-HLSL platforms.
Compute shader source surrounded by GLSLPROGRAM
and ENDGLSL
keywords is treated as GLSL source, and emitted verbatim. This only works when targeting OpenGL or GLSL platforms. You should also note that while automatically translated shaders follow HLSL data layout on buffers, manually written GLSL shaders follow GLSL layout rules.
2017–05–18 Page amended with limited editorial review - Leave page feedback
Added in 5.6: SystemInfo.supportsComputeShaders, platforms macOS, iOS (using Metal), Android, Linux, Windows (with Vulkan)


The AMD Core Math Library (ACML) is a set of numerical routines tuned specifically for AMD64 platform processors (including Opteron(TM) and Athlon(TM) 64 ). The routines, which are available via both FORTRAN 77 and C interfaces, include:
The BLAS and LAPACK routines provide a portable and standard set of interfaces for common numerical linear algebra operations that allow code containing calls to these routines to be readily ported across platforms. Full documentation for the BLAS and LAPACK are available online. This manual will, therefore, be restricted to providing brief descriptions of the BLAS and LAPACK and providing links to their documentation and other materials (see The BLAS and see LAPACK).
The FFT is an implementation of the Discrete Fourier Transform (DFT) that makes use of symmetries in the definition to reduce the number of operations required from O(n*n) to O(n*log n) when the sequence length, n, is the product of small prime factors; in particular, when n is a power of 2. Despite the popularity and widespread use of FFT algorithms, the definition of the DFT is not sufficiently precise to prescribe either the forward and backward directions (these are sometimes interchanged), or the scaling factor associated with the forward and backward transforms (the combined forward and backward transforms may only reproduce the original sequence by following a prescribed scaling).
Currently, there is no agreed standard API for FFT routines. Hardware vendors usually provide a set of high performance FFTs optimized for their systems: no two vendors employ the same interfaces for their FFT routines. The ACML provides a set of FFT routines, optimized for AMD64 processors, using an ACML-specific set of interfaces. The functionality, interfaces and use of the ACML FFT routines are described below (see Fast Fourier Transforms).
The RNG is a comprehensive set of statistical distribution functions which are founded on various underlying uniform distribution generators (base generators) including Wichmann-Hill and an implementation of the Mersenne Twister. In addition there are hooks which allow you to supply your own preferred base generator if it is not already included in ACML. All RNG functionality and interfaces are described below (see Random Number Generators).
General Information provides details on:


5. Working with Agents
create_agent code will need:
- Open a new file called agent.py
- Create our usual block plus
import login
- To create our function create_agent() we need to know
- api_url
- auth_token
- agent_type
- the rest of the agent data (see the API docs)
- hint: we want the minimum data first
- Add tests for each type of agent we want to support


Class IX
Food security in India
Download
Poverty as a challenge
Download
The story of village palampur
Download
India–Size and Location
Download
Climate
Download
Natural vegetation and wildlife
Download
Number System
Download
Polynomials
Download
Triangles
Download
What is Democracy? Why Democracy?
Download
Democratic Rights
Download
Electoral Politics
Download
Tissues
Download
Gravitation
Download
Matter in Our Surrounding
Download
Class X
Contemporary India-II
Download
Democratic Politics-II
Download
Island World of living
Download
Mineral and Energy Resources
Download
Sustainable Management of Natural Resources
Download
Solar System moon
Download
Water Resources
Download
World of living tree house
Download
Forest and Wildlife Resources
Download


This page enables you to convert images into C code. The resulting source code is compiled into the binary and can be displayed on the TinyScreen using the functionality of other libraries.


WITNESS LIST Criminal Jurisprudence Committee April 1, 2003-2:00P HB 172 For: Dees Jr., Edward (Eddie) J. (Self and Professional Bondsmen of Texas) Welch, Tillmin G. (Self and Professional Bondsmen of Texas) Against: Braddock, Kathy (Harris County DA's Office) Carr, Sgt. Bruce (Harris County Sheriff's Office) Finney, David L. (Denton County DA) Macha, Barry (Self) HB 275 For: Kothmann, Leon (Texas Rental Association) Schaeffer, Brian (Texas Association of Campground Owners) HB 1000 For: Noll, Chuck (Harris County District Attorney's Office) Rolater, John (Dallas County District Attorney, Bill Hill District Attorney) On: Graner, David (Texas Securities Board) HB 1043 For: McCracken, Mindy (Travis County District Attorney's Office) HB 1246 For: McCracken, Mindy (Travis County District Attorney's Office) Noll, Chuck (Harris County District Attorney's Office) HB 1298 On: Edmonds, Shannon (TDCAA - Texas District and County Attorneys Association) HB 1300 For: Carr, Sgt. Bruce (Harris County Sheriff's Office) Moore, Roger (Bail Agents of Allegheny Casualty Co & International Fidelity Ins. Co.) On: Edmonds, Shannon (TDCAA - Texas District and County Attorneys Association) HB 1609 For: Oeller, Carol (Harris County Office of Court Services) HB 1872 For: Zientek, Dan (Self) HB 2146 For: Petersen, Ken (Texas Rural Water Association) On: Edmonds, Shannon (TDCAA - Texas District and County Attorneys Association) HB 2192 On: Budge, Joel (TX DPS Crime Lab - Austin) HB 2703 For: Fallon, Timothy C. (Self) On: Noll, Chuck (Harris County District Attorney's Office) Rolater, John (Dallas County District Attorneys Office) Urbanovsky, Ron (Department of Public Safety, Crime Laboratory Service) HB 2729 For: Moore, Roger (Bail Agents of Allegheny Casualty Co & International Fidelity Ins. Co.) Against: Braddock, Kathy (Harris County DA's Office) Carr, Sgt. Bruce (Harris County Sheriff's Office) Finney, David L. (Denton County DA) Kubosh, Felix Michael (Self) Magness, Judith K. (Brazos County Attorney's Office) HB 2795 For: Noll, Chuck (Harris County District Attorney's Office)


Parser/Args¶
The ThreatConnect TcEx App Framework provides the parser
property, which returns and instance of argparser.ArgParser
. This argparser instance is an extension of the Python argparser method with predefined arguments specifically for ThreatConnect Exchange Apps. Once all custom arguments are added, args
can be accessed with the args
property.
API Arguments¶
Arguments in the API Arguments section are provided for authorization to the ThreatConnect API. If the tc_token
argument is passed, it has priority over the HMAC arguments. The TcEx Framework automatically handles all these arguments and makes them available via the args
property.
Note
The api_access_id
and api_secret_key
arguments have to be configured in the App-Deployment Configuration file and configured in each job to be passed to the app. The tc_token
will automatically be passed for Apps running in the ThreatConnect Exchange platform.
The list of API args can be found in the _api_arguments()
method.
Batch Arguments¶
The ThreatConnect batch API endpoint requires a few arguments for setting the batch job. These arguments have sane default values and are not often required to be added to the install.json
configuration file. These default values can also be overridden with methods provided in the TcExJob
module.
The list of Batch args can be found in the _batch_arguments()
method.
Playbook Arguments¶
Playbook Apps have a standard set of arguments. All of these arguments will be passed by the ThreatConnect Exchange platform for all Playbook apps.
The list of Playbook args can be found in the _playbook_arguments()
method.
Standard Arguments¶
The ThreatConnect platform passes all Apps a set of Standard arguments. Some of these arguments are depended on App settings and others on System settings. The TcEx Framework automatically handles all these arguments and makes them available via the args
property.
The list of Standard args can be found in the _standard_arguments()
method.


|
| Richard Hamilton art links |
| | |
Richard Hamilton
[British Pop Artist, 1922-2011]
|
|
|
|
Richard Hamilton Works Online
Categorized & Annotated
Commercial Galleries: Galleries: We invite you to register and list your site (no charge for this service)
Original works by Richard Hamilton available for purchase at art galleries worldwide
Museums and Public Art Galleries Worldwide:
Art Institute of Chicago NEW!
Fine Arts Museums of San Francisco NEW!
Guggenheim Museum, New York City Click "View all" to see a total of 4 works online
Metropolitan Museum of Art, New York City NEW!
Metropolitan Museum of Art Timetable of Art History Palindrome, 1974
Museum of Modern Art, New York City Includes biographical information about the artist
National Galleries of Scotland, Edinburgh NEW!
National Gallery of Art, Washington D.C. NEW! Most but not all artists in the NGA database have works online
National Gallery of Australia, Canberra Works from the Kenneth Tyler Collection of international prints
Prado Museum Database, Madrid NEW! (Linking to the Spanish-language version because it contains far more works than the English version)
Smithsonian American Art Museum, Washington D.C. NEW!
Tate Gallery, London, UK
Akron Art Museum, Ohio NEW! (Click on the "View objects by this artist" link)
Bibliotheque Nationale de France (in French) Richard Hamilton, Dieter Roth. Interfaces, 1988
Bilbao Fine Arts Museum, Spain Altar piece
Cleveland Museum of Art, Ohio
Currier Gallery of Art, New Hampshire
Hammer Museum, California Soft Pink Landscape, 1971-72
Harvard University Art Museums, Massachusetts Harvard have works in their collections, but unfortunately you have to type in the search yourself
Hirshhorn Museum and Sculpture Garden, Washington D.C. NEW!
Indianapolis Museum of Art, Indiana
Los Angeles County Museum of Art NEW!
Ludwig Museum of Contemporary Art, Budapest
Mildred Lane Kemper Art Museum, St. Louis, Missouri
Museum Ludwig, Cologne, Germany (mostly in German)
Museumslandschaft Hessen, Germany (in German)
National Gallery of Victoria, Australia
Philadelphia Museum of Art
Queensland Art Gallery, Brisbane, Australia Carapace, 1954
Rijksmuseum Twenthe, Enschede, Netherlands (in Dutch)
Whitworth Art Gallery, Manchester, UK Search results for "Richard Hamilton"
Yale Center for British Art, New Haven, Connecticut
National Art Databases and Museum Inventories:
Art Fund for UK Museums Four Self Portraits - 05.3.81
Art Market: (e.g. records of past sales at auction; sites providing examples of the artist's signature)
Art Signature Dictionary NEW!
Christie's Past Sale Archive (database goes as far back as 1991; images go about as far back as 1999)
Sotheby's Sold Lot Archive (database goes as far back as 1998; images where permitted by copyright go about as far back as 2001)
Pictures from Image Archives:
USC Annenberg School for Communication
Additional Image Search Tools:
(SafeSearch set to "strict"; go to Advanced Search (Flickr/Google) or Preferences (Bing) to change)
Miscellaneous Sites:
British Council Arts Group
National Fine Art Education Digital Collection, UK
National Fine Art Education Digital Collection, UK
The BBC
UBS Financial Services Art Collection
Articles and Reference Sites:
Union List of Artist Names (Getty Museum) Reference sheet with basic information about the artist and pointers to other references.
Wikipedia, the "Open Content" Encyclopedia Biographical info
Frieze Magazine "The thrill of it all"
Frieze Magazine Review (from issue 66): Richard Hamilton
Tate Magazine Pop Daddy
The Guardian Newspaper, UK "Richard Hamilton spots the difference", 2010 article by Adrian Searle
The Telegraph Newspaper, UK Wilhelmina Barns-Graham on Richard Hamilton's Cat, 1967
"Look Inside" and "Search Inside" Books at Amazon
| Look Inside Books: | Selections from the books listed below are scanned in, in high res. Text is clearly readable and art reproductions vary from so-so to excellent. Don't miss the fact that you can usually zoom in via the "View" drop-down menu, along the top row of Amazon's Online Reader. | |
| Search Inside Books: | Same as "Look Inside", except that the entire book is scanned in, and the text is fully searchable. This is an unbelievable resource, for research and especially for previewing a book when making the decision to buy. Note: Some "Search Inside" features are limited to people signed in to an account which has previously made a purchase at Amazon. | |
look inside
Collected Words: 1953-1982
|
|
|
|
|
|


{{< layout}} {{$pageTitle}}Photo uploaded{{/pageTitle}} {{$header}}
Your photo has been checked for common mistakes.
We still need to check your photo manually. We may ask you for a new photo if something isn't right.
abc.de/2pNfHiz


Tufts Daily
The Client
The Tufts Daily is the student-run, financial independent paper of Tufts University. Running peices of traditional news, arts, and sports, the Daily covers not only the integral aspects of campus life, but also of the surrounding Medford and Somerville communities.
The Project
The organization not only publishes in print daily, but also maintains a website devoted to it's content. Wanting to build off their current online presence, Jumbocode is developing an app for the paper so mobile users can acess content in a user friendly way.


| |
ilPushAttrib| |
.
| | ILvoid ilPushAttrib( ILuint Bits );
|
Parameters| | - Bits
- Attribute bits to push.
|
Bits| | - IL_ALL_ATTRIB_BITS
- Preserves all OpenIL states and attributes.
- IL_FILE_BIT
- Preserves whether OpenIL is allowed to overwrite files when saving (set by ilEnable, ilDisable).
- IL_ORIGIN_BIT
- Preserves the origin state set by ilOriginFunc.
- IL_PAL_BIT
- Preserves whether OpenIL is supposed to convert palette'd to truecolour images (set by ilEnable, ilDisable).
|
Errors| | - IL_STACK_OVERFLOW
- The stack was pushed more times than the current OpenIL implementation allows. Use ilPopAttrib to clear the stack. OpenIL implementations must support a stack depth of at least 32.
|
See Also
|
|


Review the slides - Feel free to bookmark this version of the slides.
Check out the sample code for all the demos:
Painting app - Here's the complete code for what we'll (hopefully) finish building in part 2!
Chatroom app - This is the chatroom app from the beginning of our slides.
Broadcasted moving box - Where I moved a box around the screen and you all could see it move.
Shared moving box - Where we all moved the same box around the screen, Twitch Plays Pokemon style!
Individual moving boxes - Where we all had our own box that we could move around the screen.
So those links up there are the most important things that I figured you'd want to look at. Next, here are some extra resources that you might want to explore if you have time:
I also made this video for you reviewing how to get set up! If you're comfortable with installing the software below and using the command line a bit, feel free to skip the video.
Install a text editor - Make sure you have a text editor installed on your computer. A couple good free ones are Atom and Sublime.
Get the sample code -- Download the ZIP folder (OR if you are using git, be sure to "git checkout step1" to get the right branch of our sample code on GitHub.


Languages
*HTML allowed
{if !$lang_exist}
{$this->msg('Sorry, the language file for PHP was not found, please check manual the path "/inc/lang/".','error')}
{else}
{$this->msg("Sorry, the language file for JavaScript was not found, please check manual the path \"/js/lang/\".","error")}
{/if}
{/strip}


West Ham set to complete transfer after Aston Villa trial - report
Latest Aston Villa news | The goalkeeper was training with AVFC in October
by Shane Ireland, https://www.facebook.com/ShaneIrelandJournalistJordan Archer was training with Aston Villa last month after his release from Millwall in the summer.
The goalkeeper spent time at Bodymoor Heath as part of his search for a new club following his four-year spell at the Den.
Nothing materialised and Archer remains a free agent – for now at least.
West Ham United are weighing up signing him to solve their goalkeeping crisis, according to reports.
First-choice Lukasz Fabianski is injured and Roberto Jimenez, a summer signing from Espanyol, has struggled since coming into the side.
The Hammers are considering their January options and could snap up Archer, according to the Guardian.
Archer spent time in Charlton Athletic's academy before joining Spurs in 2009.
He graduated through the North London side's academy in 2011 but didn't make a single senior appearance for Spurs.
Aston Villa latest
This is your round up of all things Villa; the one-stop shop that will keep you updated on the latest goings on at the club and beyond.
Transfers, injuries, match-days and managers, we’ve got you covered.
We’ll be bringing the very latest on the Villains throughout the week and around the clock.
Make sure you keep yourself updated with our handy daily catch up...
Must reads...
- Dean Smith fires Aston Villa transfer warning to Man United
- The injury update Aston Villa fans have been waiting for
- Aston Villa boss issues blunt Steve Bruce warning
- Club make decision on Villa target ahead of January
For all your latest AVFC news, opinion, analysis and transfer gossip, click here
You can follow our Villa reporter Ashley Preece on Twitter, and his email address is<EMAIL_ADDRESS>The 26-year-old spent time out on loan at Harrow Borough, Bishop's Stortford, Wycombe Wanderers, Northampton Town and Millwall.
He joined the Lions permanently in 2015 and made 144 League appearances during his time in South-East London.
Archer was capped by Scotland at Under-19, Under-20 and Under-21 level before making his senior debut in 2018 in a friendly against Peru.


The GIBBON project
GIBBON, which loosely stands for Geometry and Image-Based Bioengineering add-ON, is a MATLAB® toolbox I've been working since the early days of my PhD (2006). GIBBON provides a single open-source framework for many aspects of computational (bio)mechanics such as: image segmentation, meshing, boundary conditions specification, finite element analysis (FEA), and visualization.
GIBBON is interfaced with free open source software such as
Tetgen, for robust tetrahedral meshing, and
FEBio for finite element analysis. The combination provides a highly flexible image-based modelling environment and enables advanced inverse finite element analysis.


Untuk kebutuhan olah data covid-19 per kota di Indonesia
Please head to:
Built with Node.JS | Served with Vercel | Source: Gitlab/Liondy


WITNESS LIST Natural Resources Committee May 26, 1999-8:30A Edwards Aquifer Authority Oversight For: Buckner, Luana (Self and Edwards Aquifer Authority) Ellis, Gregory M. (Edwards Aquifer Authority) Labatt, Weir (Edwards Aquifer Authority) Miller, Doug (Self and Edwards Aquifer Authority)


A Resource Page for Gifted and Talented Teachers and Students
Grades PK-5
Grades PK-5 Language Arts
| Nancy Donohue's English - Language Arts | http://www.li.net/~ndonohue/lang.html |
| Judy Blume Site | http://www.judyblume.com |
Grades PK-5 Math
| Amby's Interactive Math Games | http://amby.com/educate/math.html |
| Natural Math | http://www.naturalmath.com |
| Math Mountain | http://www.mcrel.org/products/math-science/mathmtn/index.asp |
| Kids' Domain | http://www.kidsdomain.com/brain/index.html |
Grades PK-5 Science
| Australian Ideas | http://www.sofweb.vic.edu.au/futures/bf_res.htm |
| Keiko Home Page | http://www.aquarium.org/keiko |
| The Magic School Bus | http://place.scholastic.com/MagicSchoolBus/index.htm |
| Tigers | http://www.5tigers.org/Directory/kids.htm |
Grades PK-5 Social Studies
| The Interactive Classroom | http://www.interactiveclassroom.com |
Grades 6-8
Grades 6-8 Language Arts
| CyberGuides 6-8 | http://www.sdcoe.k12.ca.us/score/cy68.html |
| Guide to Grammar | http://cctc2.commnet.edu/grammar |
Grades 6-8 Math
| Natural Math | http://www.naturalmath.com |
| Number Sense | http://www.naturalmath.com/mult/mult1.html |
| Calculation Tips | http://forum.swarthmore.edu/k12/mathtips/mathtips.html |
| Mathematics with Alice | http://library.thinkquest.org/10977/start.html |
| Absurd Math | http://www.learningwave.com/abmath |
| Khushboo's Virtual Escher Gallery | http://www-scf.usc.edu/~khushboo/escher/index.html |
Grades 6-8 Science
| Evolution | http://necsi.org/projects/evolution/cover/evolution_cover.html |
| Stanford Solar Center | http://solar-center.stanford.edu |
| Amusement Park Physics | http://www.learner.org/exhibits/parkphysics |
| Build a Bridge | http://www.pbs.org/wgbh/nova/bridge/build.html |
| Build It Yourself | http://www1.shore.net/~biy |
Grades 6-8 Social Studies
| Egypt | http://www.memst.edu/egypt/main.html |
High School
HS Language Arts
| CyberGuides 9-12 | http://www.sdcoe.k12.ca.us/score/cy912.html |
| Accessible Online Publishing | http://eserver.org |
HS Math
| The World of Escher | http://www.worldofescher.com |
| Natural Math | http://www.naturalmath.com |
| Khushboo's Virtual Escher Gallery | http://www-scf.usc.edu/~khushboo/escher/index.html |
HS Science
| Virtual Frog Dissection | http://www-itg.lbl.gov/vfrog |
| Amusement Park Physics | http://www.learner.org/exhibits/parkphysics |
| The Particle Adventure | http://www.particleadventure.org |
| Mad Scientist | http://www.madsci.org |
| Chandra X-Ray Science | http://chandra.nasa.gov/chandra.html |
HS Social Studies
| Biographies | http://www.biography.com |
| The Inca Trail and Machu Picchu | http://www.raingod.com/angus/Gallery/Photos/SouthAmerica/Peru/IncaTrail.html |
Library Links
| Gifted Links Library | http://www.austega.com/gifted/links.htm |
Technology
| The Logo Foundation | http://el.www.media.mit.edu/groups/logo-foundation |
| Logo Links | http://www.softronix.com/logo.html |
| Hands On Technology | http://www.galaxy.net/~k1 |
Fun Sites
| TeachersFirst Resource Listing | http://www.teachersfirst.com/tchr-subj.cfm?subject=mindstretchers&CFID=93572&CFTOKEN=98347492 |
| Archimedes' Puzzles |
http://www.archimedes-lab.org/ |
| 2001 Toy List | http://www.nagc.org/new/2000toy.htm |
| Contests and Awards | www.hoagiesgifted.org/contests.htm |
| Brain Food | http://www.rinkworks.com/brainfood |
| Brain Quest | http://www.brainquest.com |
| U.S. Chess Online | http://www.uschess.org |
| British Columbia Ministry of Education | http://www.bced.gov.bc.ca/specialed/gifted/process.htm |
| Hoagie's Gifted Education Page | http://www.hoagiesgifted.org |
| Ontario Canada | http://www.charismagics.com/aphelion/Out_frameset1.html |
| National Association for Gifted Children | http://www.nagc.org |
| College Board | http://www.collegeboard.org |
| Texas Association for the Gifted and Talented | http://www.txgifted.org |
| ESC Region 12 Gifted and Talented | http://www.esc12.net/gt |
| Neag Center for Gifted Education | http://www.gifted.uconn.edu |
| SENG -- Supporting Emotional Needs of the Gifted | http://www.sengifted.org |
| The Council for Exceptional Children | http://www.cec.sped.org |
| Rhode Island State Advisory Committee on Gifted and Talented Education | http://www.ri.net/gifted_talented/rhode.html |
E-mail the page authors
Mary Adamcik and Rhonda Yezak
06/01/04
Graphics by


/** * Created by Alana on 07-04-2017. */
name is ivy
Replace "ivy" with "alana" in page
CHECK TIME
you??
WHAT?
WHEN?


ROAD SCHOLAR A film review by Mark R. Leeper Copyright 1993 Mark R. Leeper
Capsule review: Poet and humorist Andrei Codrescu drives a big new used Cadillac across the United States and shows us slices of American life as it is rarely seen. While the film is not original, Codrescu's outsider's view is never dull. Rating: +1 (-4 to +4).
Andrei Codrescu is a Romanian-born Jew, a fact that explains many aspects of his personality. His acerbic sense of humor is a survival trait when one lives in a background radiation of anti-Semitism from both the neighbors and the government. It also trains one to expect the worst and hope for the best from institutions and the bureaucracy running the country. At the same time, having come to the United States and finding conditions better, he clearly likes this country and has an affection, if somewhat bewildered, for Americans. And he sees America as an outsider. Because of these different perspectives, he has become a commentator on National Public Radio's "All Things Considered." In ROAD SCHOLAR Codrescu brings these perspectives to bear on various aspects of American life seen during a trip across the country.
ROAD SCHOLAR is not so much a film as a news magazine in cinematic form. It is supposedly inspired by the book ON THE ROAD by Jack Kerouac, but it is closer in form to a stringing together of segments of "Charles Kurault on the Road" or "Jean Shepherd's America." It is also comparable to Michael Palin's short television series "Around the World in Eighty Days" and "Pole to Pole." Codrescu drives from Manhattan to San Francisco commenting on the passing parade. He visits Ellis Island and comments on the immigrant experience. He also visits a Romanian restaurant, where his compatriots make up for years of extreme poverty in the old country by eating pornographically large cuts of meat. He is served a steak so long he has to fold over the end so that it does not drag on the table. Detroit and its hard times remind him of Romania. In Chicago (if I remember correctly) he visits a sausage factory and discovers a new sensuality in the packing of sausages. Also in Chicago he visits a McDonald's restaurant exactly as they were when they were first open. It is an educational exhibit for McDonald's Hamburger U. Codrescu mixes in a private war between the city council and a junk artist who is half burying a car in her yard.
Westward he continues to report on New Age crystal religion and a healing shrine in New Mexico, and a drive-up window in a kitsch matrimonial chapel in Las Vegas. We visit Biosphere II, a sealed and totally self- contained community to which inhabitants have exiled themselves for two years. This is supposed to prove people can live in similar confines in space, though presumably in space there will not be a constant stream of tourists to chat with at the windows. Codrescu dubs Biosphere II a "Disneyland for the Millenially Disabled." According to Codrescu, America seems to be discovered over and over again and never definitively. Definitive discovery seems to have eluded Codrescu also, but at least his commentaries and slices of life are never dull. I rate this a +1 on the -4 to +4 scale.
Mark R. Leeper att!mtgzfs3!leeper<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


Toggle navigation
Dubhacking
Thank you for signing up! Now all you need to do is to confirm your email.
Find an automated mail from us to confirm your account.


Lag Simulator
A demo to simulate lag
You can use the range bar below to induce lag.
The lag time is
ms.

You can simulate user interactive through the button below.
You have clicked 0 times.


Description
Realistic representations of your target users. Should include demographic details, personal details (bio, photo), attitudinal/cognitive details (pain points, mental model), goals & motivations, and behavioral details (how they act when using the product).


The following links show different ways to trigger a GET or POST request with CSRF protection in the backend.
GET requests are easy to trigger and only require some HTML.

Back


{{site.user_description}}
Build Web Pages with Node.js, Express and AngularJS
My favorite programming languages are Java, Python and C
Android Studio, Docker and AWS


To run an @x:Act <script>, you must know the script path for the file that contains the script. A script path is relative to the @x:Act scripts directory. By default this directory is at xact/var/scripts.
To run the script in xact/var/scripts/xxx.xact the script path will be xxx. To run the script in xact/var/scripts/xad/example/fact.xact the script path will be xad:example:fact. The following command will run this script.
run xad:example:fact


UseSHA2Fingerprint()
语法
UseSHA2Fingerprint()概要
Register the SHA2 fingerprint plugin for future use. The standard 224-bit, 256-bit, 384-bit and 512-bit variants are supported.
参数
无.
返回值
无.
备注
From Wikipedia: SHA-2 includes significant changes from its predecessor, SHA-1. In 2005, an algorithm emerged for finding SHA-1 collisions in about 2000-times fewer steps than was previously thought possible. Although (as of 2015) no example of a SHA-1 collision has been published yet, the security margin left by SHA-1 is weaker than intended, and its use is therefore no longer recommended for applications that depend on collision resistance, such as digital signatures. Although SHA-2 bears some similarity to the SHA-1 algorithm, these attacks have not been successfully extended to SHA-2.
示例
UseSHA2Fingerprint() Debug StringFingerprint("yourpassword", #PB_Cipher_SHA2, 512) ; Use SHA2-512 variant
参阅
UseMD5Fingerprint()(), UseSHA1Fingerprint()(), UseSHA3Fingerprint()(), UseCRC32Fingerprint()()
已支持操作系统
所有


Unit tests should pass when run in random order. But for an existing legacy
project certain tests might depend on the execution order. One test might run
perfectly fine by itself, but fail miserably when run after another test.
Rather than running different combinations manually, RSpec 2.8 has the option
to run specs in random order with the --order random
flag. But even with
this it can be hard to determine which specific test is causing the
dependency. For example:
rspec spec/controllers # succeeds
rspec spec/lib/my_lib_spec.rb # succeeds
rspec spec/controllers spec/lib/my_lib_spec.rb # fails
In this scenario you know that one of the spec files in spec/controllers is not jiving with your lib spec, but if you have hundreds of spec files, it's hard to tell which. Never fear! There's a Ruby one-liner for that:
ls spec/controllers/*.rb | ruby -pe '$_=`rspec #{$_} spec/lib/my_lib_spec.rb`'
Let's break this command down into its components:
ls spec/controllers/*.rb
gives you a list of spec files to run alongside your lib spec
ruby -pe
'e' for execute, and 'p' means wrap the code in a loop and assign each line of STDIN to $_
. We're piping in STDIN from the ls
command.
$_=`rspec #{$_} spec/lib/my_lib_spec.rb`
The 'p' flag also prints out the value of $_
at the end of each loop. So we assign the output of running rspec with the 2 files (one from ls alongside my_lib_spec
).
My bash buddies would wag their fingers at me for using a ruby one-liner here, but it's a familiar syntax and it's easier for me than remembering other shell commands and regex flags. If there's something another unix program is better at processing, then I can then take the output of the ruby one-liner and pipe it into another command. It's a very simple and versatile way to munge on text.


If you enjoy reading my work, you can subscribe by email. You can leave an anonymous feedback here.
For suggestions, corrections etc. please send me an email, or reach out on Twitter.
If you are the GitHub type, you can improve this page on GitHub.
--- layout: default ---
If you enjoy reading my work, you can subscribe by email. You can leave an anonymous feedback here.
For suggestions, corrections etc. please send me an email, or reach out on Twitter.
If you are the GitHub type, you can improve this page on GitHub.


galaxy_dive.utils.astro module¶
General astronomy utilities
@author: Daniel Angles-Alcazar, Zach Hafen @contact<EMAIL_ADDRESS>@status: Development
-
galaxy_dive.utils.astro.
age_of_universe
(redshift, h=0.71, omega_matter=0.27)[source]¶ Get the exact solution to the age of universe (for a flat universe) to a given redshift
Parameters: Returns: Age of the universe in Gyr
Return type: t (float)
-
galaxy_dive.utils.astro.
circular_velocity
(r_vir, m_vir)[source]¶ Calculate the circular velocity of a halo in km/s.
Parameters: Returns: Circular velocity of the halo in km/s, indexed the same way that ahf_reader.mtree_halos[i] is.
Return type: v_c
-
galaxy_dive.utils.astro.
get_sneii_metal_budget
(m_star, y_z_ii=0.03)[source]¶ Get the total mass of metal produced by SNe by z=0 in a galaxy with a z=0 stellar mass of m_star. This is taken from Peeple+2014, who use the star formation histories of Leitner+2012.
Parameters: Returns: Units of Msun.
Return type: sneii_metal_budget (same as m_star)


Have you ever dreamed about tiny JS framework, which does not need a lot of time for getting it work? This open-source jQuery library is made to make developer life easier and happier.
Here is the example of installation (inside jQuery ready function):
$(document).ready(function(){ $.nanoMvc(); });
And this is an example of simple controller (it will react on `#` or `#default` in address bar):
NanoController.create({ init: function() { this.action('default', function(){ return this.string('Hello world!'); }); } });
This is all you need to start. Other features are described in wiki:
Our plans are only to make this version more stable and reliable. But not to grow it with a lot of non-needed functionality
For more information, please, read wiki.
We have created a demo pages, where you can read and investigate source code with FireBug or something like this:
Desktop version requires jQuery library. For mobile - zepto.js is enough.
And don't forget, that such behavior is good for standalone web-based applications, but not websites and catalogs, which should be indexed by search engines.
Please, use GitHub's issues page. We will try to answer as soon as possible.
You can download this project in either zip or tar formats.
You can also clone the project with Git by running:
$ git clone git://github.com/acropolium/jqNano


Welcome to the DreamFactory Admin Console!
The Admin Console is where you can administer all of the various backend services for your project. You can build applications, manage users, assign roles, create schema, and connect external services as needed. Your job is to build a front end application that uses these services. Let's get started!
Give your app a name. Your app name will be your API key.
Some developers like to edit all of their HTML, CSS, and JavaScript files on the local computer and then upload them to the DreamFactory Services Platform for deployment. This option makes debugging simpler and allows the use of desktop development tools. Other developers like to edit the hosted application files right here in the Admin Console. This option allows the app to be run immediately. You can always switch back and forth between these methods as needed.
What's in the SDK?
The Javascript SDK is a convenience wrapper for all the methods in our REST API. The SDK contains your REST endpoint and API key so you can start coding immediately. When a new service is provisioned in the Admin Console the JavaScript SDK will automatically include that service the next time your application is loaded.
Access the SDK by using the "df" object. You can see the "df" object in your debugger by opening up the DOM inspection tab. The "df" object is attached to the "window" object. For example, using Chrome's Dev Tools, open the console and start typing "window.df.apis" to display all the methods and properties.
Use of this SDK on the local file system requires "*" to be in your list of allowed hosts in the CORS configuration section of the Admin app.
Congratulations
Your app has been created! When you select the "Apps" tab from the list of options at left you will see your new application in the list, as well as some other example projects.
By clicking on the various icons you can change application properties, preview your application, edit the hosted files, or delete the application. In the file editor you will see your "index.html" file. This has some example code to help you get started calling the services. There is also a "ReadMe" file with additional information.
Explore the other tabs at left to manage users, assign roles, create schema, and connect external services to your application!
We have created a backend for your application. Click the "Download" button below and save the DreamFactory Javascript SDK to your desktop. Unzip the file into a local folder to create a workspace for building your application. To get started run the "index.html" file in a browser, we have included example code there to help you get started calling the services. There is also a "ReadMe" file with additional information.
You can return to the Admin Console at any time and explore the other tabs at left to host your application, manage users, assign roles, create schema, and connect external services!
What's in the SDK?
The Javascript SDK is a convenience wrapper for all the methods in our REST API. The SDK contains your REST endpoint and API key so you can start coding immediately. When a new service is provisioned in the Admin Console the JavaScript SDK will automatically include that service the next time your application is loaded.
Access the SDK by using the "df" object. You can see the "df" object in your debugger by opening up the DOM inspection tab. The "df" object is attached to the "window" object. For example, using Chrome's Dev Tools, open the console and start typing "window.df.apis" to display all the methods and properties.
Use of this SDK on the local file system requires "*" to be in your list of allowed hosts in the CORS configuration section of the Admin app.
Please consult your native device development environment for the best way to make REST API calls to the DreamFactory Services Platform. You can select either JSON or XML documents for request and response. The details of technical integration are explained on the "API / SDK" tab at left. This interface shows the available services and example transactions along with detailed documentation.
You can return to the Admin Console at any time and explore the other tabs at left to manage users, assign roles, create schema, and connect external services. When new services are added to the platform then they are reflected in the Live REST API and SDK Documentation. Use the Admin Console to interactively create and test services before calling them from your native application.
Please see the DreamFactory website for more information on building native applications and calling the services.


| Class and Description |
|---|
| Compiler
A compiler.
|
| CompilerConfiguration
A configuration for a compiler
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkerConfiguration
A configuration for a linker
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| ProcessorConfiguration
A configuration for a C++ compiler, linker or other processor
|
| ProgressMonitor
Interface to receive notification of compile progress
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompilerConfiguration
A configuration for a C++ compiler
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| CommandLineLinkerConfiguration
A configuration for a command line linker
|
| Compiler
A compiler.
|
| CompilerConfiguration
A configuration for a compiler
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| PrecompilingCommandLineCCompiler
A command line C compiler that can utilize precompilation of header files
|
| PrecompilingCommandLineCompiler
A command line C compiler that can utilize precompilation of header files
|
| PrecompilingCompiler
A compiler that can utilize precompilation of header files
|
| Processor
A processor.
|
| ProgressMonitor
Interface to receive notification of compile progress
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineFortranCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CaptureStreamHandler
Implements ExecuteStreamHandler to capture the output of a Execute to an
array of strings
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompilerConfiguration
A configuration for a C++ compiler
|
| CommandLineFortranCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| CommandLineLinkerConfiguration
A configuration for a command line linker
|
| Compiler
A compiler.
|
| CompilerConfiguration
A configuration for a compiler
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkerConfiguration
A configuration for a linker
|
| LinkType
This class represents the target platform for the compile and link step.
|
| PrecompilingCommandLineCCompiler
A command line C compiler that can utilize precompilation of header files
|
| PrecompilingCommandLineCompiler
A command line C compiler that can utilize precompilation of header files
|
| PrecompilingCompiler
A compiler that can utilize precompilation of header files
|
| Processor
A processor.
|
| ProcessorConfiguration
A configuration for a C++ compiler, linker or other processor
|
| ProgressMonitor
Interface to receive notification of compile progress
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| CommandLineLinkerConfiguration
A configuration for a command line linker
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| CommandLineCompilerConfiguration
A configuration for a C++ compiler
|
| CommandLineLinkerConfiguration
A configuration for a command line linker
|
| ProgressMonitor
Interface to receive notification of compile progress
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| PrecompilingCommandLineCCompiler
A command line C compiler that can utilize precompilation of header files
|
| PrecompilingCommandLineCompiler
A command line C compiler that can utilize precompilation of header files
|
| PrecompilingCompiler
A compiler that can utilize precompilation of header files
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompilerConfiguration
A configuration for a C++ compiler
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| ProgressMonitor
Interface to receive notification of compile progress
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompilerConfiguration
A configuration for a C++ compiler
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| Compiler
A compiler.
|
| CompilerConfiguration
A configuration for a compiler
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| PrecompilingCommandLineCCompiler
A command line C compiler that can utilize precompilation of header files
|
| PrecompilingCommandLineCompiler
A command line C compiler that can utilize precompilation of header files
|
| PrecompilingCompiler
A compiler that can utilize precompilation of header files
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| CommandLineLinkerConfiguration
A configuration for a command line linker
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| CommandLineLinkerConfiguration
A configuration for a command line linker
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| CommandLineLinkerConfiguration
A configuration for a command line linker
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| LinkType
This class represents the target platform for the compile and link step.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractLinker
An abstract Linker implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineLinker
An abstract Linker implementation that performs the link via an external
command.
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| Class and Description |
|---|
| AbstractCompiler
An abstract compiler implementation.
|
| AbstractProcessor
An abstract processor (compiler/linker) implementation.
|
| CommandLineCompiler
An abstract Compiler implementation which uses an external program to
perform the compile.
|
| CommandLineCompilerConfiguration
A configuration for a C++ compiler
|
| Compiler
A compiler.
|
| Linker
A linker for executables, and static and dynamic libraries.
|
| LinkType
This class represents the target platform for the compile and link step.
|
| Processor
A processor.
|
| ProgressMonitor
Interface to receive notification of compile progress
|
| Class and Description |
|---|
| Linker
A linker for executables, and static and dynamic libraries.
|
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.