| Batch Name | Subject | Duration | Tutor |
|---|---|---|---|
| A1 | Subject1 | 11:00am to 12:30pm | Dr.H.C.Verma |
| Subject2 | 12:45pm to 02:15pm | Dr.O.P.Tondon | |
| Subject3 | 02:30pm to 04:00pm | Dr.R.D.Sharma | |
| B1 | Subject2 | 11:00am to 12:30pm | Dr.O.P.Tondon |
| Subject3 | 12:45pm to 02:15pm | Dr.R.D.Sharma | |
| Subject1 | 02:30pm to 04:00pm | Dr.H.C.Verma | |
| C1 | Subject3 | 11:00am to 12:30pm | Dr.R.D.Sharma |
| Subject1 | 12:45pm to 02:15pm | Dr.H.C.Verma | |
| Subject2 | 02:30pm to 04:00pm | Dr.O.P.Tondon |
| Batch Name | Subject | Duration | Tutor |
|---|---|---|---|
| P1 | Subject1 | 11:00am to 12:30pm | Dr.H.C.Verma |
| Subject2 | 12:45pm to 02:15pm | Dr.O.P.Tondon | |
| Subject3 | 02:30pm to 04:00pm | Dr.R.D.Sharma | |
| Q1 | Subject2 | 11:00am to 12:30pm | Dr.O.P.Tondon |
| Subject3 | 12:45pm to 02:15pm | Dr.R.D.Sharma | |
| Subject1 | 02:30pm to 04:00pm | Dr.H.C.Verma | |
| R1 | Subject3 | 11:00am to 12:30pm | Dr.R.D.Sharma |
| Subject1 | 12:45pm to 02:15pm | Dr.H.C.Verma | |
| Subject2 | 02:30pm to 04:00pm | Dr.O.P.Tondon |
| Batch Name | Subject | Duration | Tutor |
|---|---|---|---|
| X1 | Subject1 | 05:00pm to 06:30pm | Dr.H.C.Verma |
| Subject2 | 05:45pm to 07:15pm | Dr.O.P.Tondon | |
| Subject3 | 07:30pm to 09:00pm | Dr.R.D.Sharma | |
| Y1 | Subject2 | 04:00pm to 05:30pm | Dr.O.P.Tondon |
| Subject3 | 05:45pm to 07:15pm | Dr.R.D.Sharma | |
| Subject1 | 07:30pm to 09:00pm | Dr.H.C.Verma | |
| Z1 | Subject3 | 04:00pm to 05:30pm | Dr.R.D.Sharma |
| Subject1 | 05:45pm to 07:15pm | Dr.H.C.Verma | |
| Subject2 | 07:30pm to 09:00pm | Dr.O.P.Tondon |


Which of the following drawbacks applies to the design on this form?
(Check all that apply)
Not enough color variation in the design
Inacessible to color blind or visually impaired users
Interactive elements are difficult to differentiate and discern in their various states (inactive, hover and active/focus)
Design template is too specific for any kind of branding
Element shading and lighting takes up too much design space
Minimalist design limits how much content can be placed on the webpage


Accessibility allows people with disabilities to be able to perceive, understand, navigate, interact with, and contribute to the applications we develop.
We follow the accessibility guidelines defined by the Access Board and also summarized by 18f. Please click here to go to Access Board or to 18f.


- Thu 01 April 2021
- research
- Jason K. Moore
- #skiing, #snowboarding, #safety, #sports, #engineering, #ethics
Yesterday, we posted a new preprint to engrXiv:
J. K. Moore, B. Cloud, M. Hubbard, and C. A. Brown, "Analysis and Ethical Design of Terrain Park Jumps for Snow Sports," Preprint, Mar. 2021. [Online]. Available: https://doi.org/10.31224/osf.io/sq7u9.
The abstract reads:
Most American snowsport resorts now have terrain parks and decades-long epidemiological evidence correlates terrain park use with injuries. Engineering design of jumps could reduce injuries by limiting equivalent fall heights (EFHs), which indicate dissipated landing impact energy. No evidence refutes making terrain park jumps safer in this way. We discuss case studies illustrating that large EFHs are significant factors in traumatic injuries on terrain park jumps. Standards and design tools for builders can make jumps safer. We introduce a tool that can evaluate existing jumps as well as design jump profiles with safer equivalent EFHs to reduce injuries.
In the paper, we attempt to strengthen the arguments for adopting jump design standards for public use snow sports jumps. We show how bad jumps can be through two case studies that resulted in two individuals being paralyzed. We then highlight the large amount of epidemiological studies that continue to show the high dangers associated with these jumps and point out that the scientific literature is also polluted with studies that attempt to cloud the reality of the dangers; favoring ski industry and insurance companies desires. Lastly, we discuss the latest release of our software, skijumpdesign, which has new features that let jump builders analyze existing or planned jumps by equivalent fall height calculations. These features were used to analyse the two case studies in the paper.


|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tineye.services.TinEyeServiceRequest com.tineye.services.MatchEngineRequest
public class MatchEngineRequest
Provides methods to call the MatchEngine API methods.
For a list of available MatchEngine API methods, refer to the documentation for your MatchEngine API installation.
Copyright (C) 2011-2012 Idee Inc. All rights reserved worldwide.
| Constructor Summary | |
|---|---|
MatchEngineRequest(java.lang.String apiURL)
Construct a MatchEngineRequest instance to issue
HTTP requests to the MatchEngine API. |
|
MatchEngineRequest(java.lang.String apiURL,
java.lang.String username,
java.lang.String password)
Construct a MatchEngineRequest instance to issue
HTTP requests using HTTP basic authentication to the MatchEngine API. |
| Method Summary | |
|---|---|
net.sf.json.JSONObject |
addImage(Image[] images)
Add the images in images to the hosted image collection. |
net.sf.json.JSONObject |
addURL(Image[] images)
Add the images in images to the hosted image collection using their URLs. |
net.sf.json.JSONObject |
compareImage(Image image1,
Image image2,
int minScore,
boolean checkHorizontalFlip)
Compare image1 to image2 and return the match score. |
net.sf.json.JSONObject |
compareURL(java.lang.String url1,
java.lang.String url2,
int minScore,
boolean checkHorizontalFlip)
Compare the image at url1 to the image at url2
and return the match score. |
net.sf.json.JSONObject |
searchFilepath(java.lang.String filepath,
int minScore,
int offset,
int limit,
boolean checkHorizontalFlip)
Search the hosted image collection using the filepath of an image in the hosted image collection and return any matches with corresponding scores. |
net.sf.json.JSONObject |
searchImage(Image image,
int minScore,
int offset,
int limit,
boolean checkHorizontalFlip)
Search the hosted image collection using an image and return any matches with corresponding scores. |
net.sf.json.JSONObject |
searchURL(java.lang.String url,
int minScore,
int offset,
int limit,
boolean checkHorizontalFlip)
Search the hosted image collection using an image URL and return any matches with corresponding scores. |
| Methods inherited from class com.tineye.services.TinEyeServiceRequest |
|---|
count, delete, list, ping |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MatchEngineRequest(java.lang.String apiURL) throws java.lang.NullPointerException, java.net.URISyntaxException
MatchEngineRequest
instance to issue
HTTP requests to the MatchEngine API.
apiURL
- The MatchEngine API URL
java.lang.NullPointerException
- If the apiURL is null
java.net.URISyntaxException
- If the apiURL is not a valid URLpublic MatchEngineRequest(java.lang.String apiURL, java.lang.String username, java.lang.String password) throws java.lang.NullPointerException, java.net.URISyntaxException
MatchEngineRequest
instance to issue
HTTP requests using HTTP basic authentication to the MatchEngine API.
apiURL
- The MatchEngine API URLusername
- The username for HTTP basic authentication when
connecting to MatchEngine APIpassword
- The password for HTTP basic authentication when
connecting to MatchEngine API
java.lang.NullPointerException
- If the apiURL is null
java.net.URISyntaxException
- If the apiURL is not a valid URL| Method Detail |
|---|
public net.sf.json.JSONObject addImage(Image[] images) throws TinEyeServiceException
images
to the hosted image collection.
If the images have their collection filepaths set, add the images to the hosted image collection using those paths. Otherwise, use the local image filepaths to specify the image filepath in the hosted image collection.
If hosted image collection filepaths are used, each image must have a collection filepath specified or the API will return an error.
Returns the API JSON response with the following fields:
status
: One of ok
, warn
, or fail
method
: add
result
: Empty arrayerror
: Array of error messages if status is not ok
images
- List of images to add to the hosted collection
TinEyeServiceException
- If exception occurs issuing the API add
request or parsing the responsepublic net.sf.json.JSONObject addURL(Image[] images) throws TinEyeServiceException
images
to the hosted image collection using their URLs.
Each Image in images
must have a URL and their collection filepath set.
Returns the API JSON response with the following fields:
status
: One of ok
, warn
, or fail
method
: add
result
: Empty arrayerror
: Array of error messages if status is not ok
images
- List of images with URLs and collection filepaths to add
to the hosted image collection.
TinEyeServiceException
- If exception occurs issuing the API add
request or parsing the responsepublic net.sf.json.JSONObject searchImage(Image image, int minScore, int offset, int limit, boolean checkHorizontalFlip) throws TinEyeServiceException
Returns the MatchEngine API JSON response with the following fields:
status
: One of ok
, warn
, or fail
method
: search
result
: Array of JSON objects for each match with the following fields:
score
: Relevance score of the matchoverlay
: URL pointing to the match overlay image on the API serverfilepath
: The collection match filepatherror
: Array of error messages if status is not ok
image
- The image to search forminScore
- Minimum score to return for resultsoffset
- Offset to start returning results from (starting from 0)limit
- Maximum number of results to returncheckHorizontalFlip
- If true, also search for horizontally flipped image in collection
TinEyeServiceException
- If exception occurs issuing the MatchEngine API
search
request or parsing the responsepublic net.sf.json.JSONObject searchFilepath(java.lang.String filepath, int minScore, int offset, int limit, boolean checkHorizontalFlip) throws TinEyeServiceException
Returns the MatchEngine API JSON response with the following fields:
status
: One of ok
, warn
, or fail
method
: search
result
: Array of JSON objects for each match with the following fields:
score
: Relevance score of the matchoverlay
: URL pointing to the match overlay image on the API serverfilepath
: The collection match filepatherror
: Array of error messages if status is not ok
filepath
- A filepath of an image already in the collection as returned by a
search
or list
operationminScore
- Minimum score to return for resultsoffset
- Offset to start returning results from (starting from 0)limit
- Maximum number of results to returncheckHorizontalFlip
- If true, also search for horizontally flipped image in the
collection
TinEyeServiceException
- If exception occurs issuing the MatchEngine API
search
request or parsing the responsepublic net.sf.json.JSONObject searchURL(java.lang.String url, int minScore, int offset, int limit, boolean checkHorizontalFlip) throws TinEyeServiceException
Returns the MatchEngine API JSON response with the following fields:
status
: One of ok
, warn
, or fail
method
: search
result
: Array of JSON objects for each match with the following fields:
score
: Relevance score of the matchoverlay
: URL pointing to the match overlay image on the API serverfilepath
: The collection match filepatherror
: Array of error messages if status is not ok
url
- The URL to the image to search for against the hosted image collectionminScore
- Minimum score to return for resultsoffset
- Offset to start returning results from (starting from 0)limit
- Maximum number of results to returncheckHorizontalFlip
- If true, also search for horizontally flipped image in collection
TinEyeServiceException
- If exception occurs issuing the MatchEngine API
search
request or parsing the responsepublic net.sf.json.JSONObject compareImage(Image image1, Image image2, int minScore, boolean checkHorizontalFlip) throws TinEyeServiceException
image1
to image2
and return the match score.
Returns the MatchEngine API JSON response with the following fields:
status
: One of ok
, warn
, or fail
method
: compare
result
: Array with a single JSON object match with the following fields:
score
: Relevance score of the matchmatch_percent
: Percentage of images that matchederror
: Array of error messages if status is not ok
image1
- The first image to compare using its dataimage2
- The second image to compare using its dataminScore
- The minimum score of the result to returncheckHorizontalFlip
- If true, also check if image2
is the
horizontally flipped version of image1
TinEyeServiceException
- If exception occurs issuing the MatchEngine API
compare
request or parsing the responsepublic net.sf.json.JSONObject compareURL(java.lang.String url1, java.lang.String url2, int minScore, boolean checkHorizontalFlip) throws TinEyeServiceException
url1
to the image at url2
and return the match score.
Returns the MatchEngine API JSON response with the following fields:
status
: One of ok
, warn
, or fail
method
: compare
result
: Array with a single JSON object match with the following fields:
score
: Relevance score of the matchmatch_percent
: Percentage of images that matchederror
: Array of error messages if status is not ok
url1
- URL to the first image to compareurl2
- URL to the second image to compareminScore
- The minimum score of the result to returncheckHorizontalFlip
- If true, also check if image at url2
is the horizontally
flipped version of image at url1
TinEyeServiceException
- If exception occurs issuing the MatchEngine API
compare
request or parsing the response
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Siblings face trial over alleged attack on couple during 'pub melee'
by Tom PotterA woman has been accused of 'glassing' another woman during a fight at a Suffolk pub.
Natasha Jackson denied causing Kelly Pile actual bodily harm, and assaulting a second woman, Saphron Proudfoot, in Haverhill on the night of April 19.
Jackson, 30, of New London Road, Chelmsford, appeared at Suffolk Magistrates' Court, where her brother Daniel, 33, of Warren Court, Haverhill, had previously been charged with assaulting Miss Proudfoot and wounding Mrs Pile's husband, Adrian, with intent to cause him grievous bodily harm.
Prosecutor Lesla Small said Jackson was accused of assaulting Mrs Pile with a glass "during a melee".
She said Daniel Jackson was due to stand trial on March 24 and submitted that all matters should be heard together.
Magistrates granted Jackson unconditional bail until a pre-trial hearing at Ipswich Crown Court on December 20.


createCohortDefinition.Rd
This function creates a Cohort Definition class object from multiple component parts. A cohort definition contains at a minimum a primary criteria class. The cohort definition can further contain a inclusion rules, additional criteria, censoring criteria and end strategy classes to provide more details on cohort restriction and cohort exit. Other components may also be manipulated but since they do not rely on a concept set expressions, they can be manipulated in separate methods. The cohort definition class differs from the circe expression in that it does not have a separate space for concept set expressions, which are bundled within the component.
createCohortDefinition( Name, Description = NA_character_, Author = NA_character_, cdmVersionRange = ">=5.0.0", PrimaryCriteria, AdditionalCriteria = NULL, InclusionRules = NULL, EndStrategy = NULL, CensoringCriteria = NULL, CohortEra = NULL )
| Name | make a name for the cohort to add to the cohort details |
|---|---|
| Description | add a description detail to cohort details, optional |
| Author | add an author name to cohort details, optional |
| cdmVersionRange | add a cdm version range typically >= 5.0.0, please specify if not v5 |
| PrimaryCriteria | add primary criteria object |
| AdditionalCriteria | add additional criteria object. if null then will create an additional criteria with qualified limit |
| InclusionRules | add inclusion rules object. if null will create empty inclusion rules with expression limit |
| EndStrategy | add end strategy object. if null will add end of continuous era strategy |
| CensoringCriteria | add censoring criteria object. if null will add empty censoring criteria |
| CohortEra | add cohort era object. if null will add collapse settings with 0 day pad and no censor window |
cohort definition class object with defined inputs. This can now be compiled into ohdisql and converted to json


flow-view
color schemes example
The TOGGLE ERROR button switchs the hasError
attribute of all items, which highlights them with
error color.
The TOGGLE ERROR button switchs the hasError
attribute of all items, which highlights them with
error color.


{
name: "Ayush Shukla",
location: "Kharagpur, India",
interest: ["Machine learning", "Software development"],
links: ["GitHub", "LinkedIn","resume.pdf"],
email<EMAIL_ADDRESS>}
name: "Ayush Shukla",
location: "Kharagpur, India",
interest: ["Machine learning", "Software development"],
links: ["GitHub", "LinkedIn","resume.pdf"],
email<EMAIL_ADDRESS>}
Ayush Shukla. Software Developer.
Education
-
Indian Institute of Technology, Kharagpur 2011-2016Integrated Master of Science in Mathematics and ComputingKharagpur, IndiaRelevant Coursework:
- Machine Learning
- Natural Language Processing
- Statistical Inference
- Probability and Statistics
- Operating Systems
- Computer Networks
- Software Engineering
- Design and Analysis of Algorithm
- Object Oriented System Design
Java Python C++ MATLAB MySQL JavaScript HTML CSS latex
Work Experience
-
ezDISummer 2015Software DeveloperAhmedabad, India
- Developed a high performance search engine in Java and reduced the turnaround time to less than 8ms for any medical title. Implemented a see-mapping tool that enabled deep search and enhanced the performance for see and see-also links. Proposed back-end hierarchical XML database model for over 2 lakhs medical terms
Java Spring-Boot Spring-MVC Apache lucene GZip JSoup Regex XStream -
Karlsruhe Institute of Technology, GermanySummer 2014Research Technical InternKarlsruhe, Germany
- Worked on implementation of Java plugin for Unity software service providing authorization functionality on proxy certificates. Built a plugin to provide digital attributes to client’s proxy certificate that is used to access sensible resources. Explored Cryptographic aspects of the client-server architecture that uses Public Key Infrastructure (PKI) for authorization
Java open-ssl MySQL -
OdigMaSummers 2013Software Development InternBangalore, India
- Development of tool that analyses Twitter trending Algorithm. Extracted data from Twitter API 1.1, stored it in a relational database with schema and analysed data on different features. Created an online web interface where an end-user can access this tool and compare the graphs between trends and parameters.
Javascript PHP MySQL JQuery
Projects
-
Curves clusteringMachine Learning · Designed an algorithm to cluster and analyze general time-series curves that is robust to outliers and anomaliesMaster's thesis project ongoing
-
Disaster tweet classifierNatural Language Processing · A web interface for real-time tweet classifier to separate out political, communal and charity tweets at the time of disasterSNLP Project ongoing
-
SOS AppNatural Language Processing · Allows the user to signal all his close friends in any critical situations. It geo-tags the user and send his location to everyone of them.Hackathon 2014
-
Newspaper Agency Automation SoftwareJava Application · Interactive GUI to ease the workload of Newspaper agencies.Software Engineering 2013


The APP software and setup utilities are provided in the oscm-app-install-pack.zip installation package file contained in the APP integration package, oscm-integration-app-pack.zip. The contents of the installation package need to be made available in your environment as follows:
Extract the contents of the oscm-app-install-pack.zip package to a separate temporary directory on the system from where you want to install and deploy APP.
In the following sections, this directory is referred to as <install_pack_dir>.


Building a web app in Python usng Flask with SQLAlchemy ORM
I recently experimented with the Flask framework in Python and I ended up building a fully functional web app and deployed it to a linux server using Linode. This is summary of some of the design aspects, the full code can be found in this repository
Overview
I began writing the app in modules scattered here and there, but then I re-structured it into a package where I separated the data structure models, templates, routes and views. I integrated several features such that users of my blog can login, logout, create posts, update their profile information and reset their passwords.
- I created several routes like for users to write new posts
@app.route("/post/new")
- I created templates for each route & extended their style from the layout file I created
- I designed the database models for posts and users and used
SQLALCHemy
extension - I implemented forms so that users can submit login, logout and registration requests
- I added user Authentication functionality such as hashing user’s passwords with
Bcrypt
- I generated secure time sensitive tokens so that only allowed user can reset password
- I implemented email reset functionality for users using
Dangerous
- I added custom pagination queries so that only a certain number of queries show on a given page
- I created a virtual Ubuntu environmnet on a linux server (using https://cloud.linode.com/)
Database Design:
In order to store the Posts and User information data for the blog, I needed to setup a database and integrate it with the app. This will allow users to create posts, update thier account information, and most importantly register and create accounts.
Models / SQLALCHemy
I created a class called User and a class called Post. Both classes inherit from db.Model. Within these lasses I defined the columns needed for the blog users and posts. This is done by specifying several parameters to the Column() inherited from db.Model. For example, for the id column, I defined it as intger type and as the primary key of the table. For the username column, I defined it to be a string and added a condition that it must be unique (two users can’t have the same username).
class User(db.Model, UserMixin):
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(20), unique=True, nullable=False)
email = db.Column(db.String(120), unique=True, nullable=False)
image_file = db.Column(db.String(20), nullable=False, default='default.jpg')
password = db.Column(db.String(60), nullable=False)
I did the same to create a table that stores the posts created by each user. Notice that both tables have the id
column as primary key. The post table will have a title, date_posted, content and
class Post(db.Model):
id = db.Column(db.Integer, primary_key=True)
title = db.Column(db.String(100), nullable=False)
date_posted = db.Column(db.DateTime, nullable=False, default=datetime.utcnow)
content = db.Column(db.Text, nullable=False)
Because of the fact that users will write posts, there will be a relationship between the two tables (1 to many relationship), as one user is allowed to publish multiple posts. To account for that, I created a posts
attribute which contains a relationship with the Post
table. In SQLALCHemy we can specify a backref
which allows us to access posts created by the user.
To do this, in the Post Model I added:
posts = db.relationship('Post', backref='author', lazy=True)
And in the User model I added:
user_id = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False)
Note that posts
in the User model is not a column, it is just running a query on the table in the background that grabs any posts from a given user.
Querying the database using SQLite
Navigate to the app folder using the Terminal
on Mac or cmd
in Windows and invoke the Python interpreter. The database instance model can be imported and queried as follows:
# Navigate to the app directory `/flask_app/
>>>from flaskblog.models import db
# create the database instance
>>>db.create_all()
# import Post and User Model
>>>from flasblog.models import Post, User
Adding data to the tables
user_1 = User(username='Adam'<EMAIL_ADDRESS>password='password')
post_1 = Post(title = 'First_Post', content='Hello World!', user_id=user_1.id)
A unique id and default picture will be assigned to user_1 as per the design of the User model. Also note the the password is hashed in final app. Now to add the user and post:
db.session.add(use_1)
db.session.add(post_1)
db.session.commit()
Now I can query the database the with following commands:
# Return all users or .first() for first user
User.query.all()
>>> [User('Adam'<EMAIL_ADDRESS>'default.jpg')]
# filter the users by specifying a username
User.query.filter_by(username='Adam').all()
>>> [User('Adam'<EMAIL_ADDRESS>'default.jpg')]
I added more posts and users to demonstrate more queries:
To iterate over the user’s posts
for user in user.posts:
print(post.title)
>>> First_Post
>>> Seond_Post
>>> Third_Post
Querying the Post table directly:
post = Post.query.first()
post
>>>[User('Adam'<EMAIL_ADDRESS>'default.jpg')]
# get the id of the user who created the post
post.user_id
1
# using backref in User table / posts relationship:
posts.author
User('Adam'<EMAIL_ADDRESS>'default.jpg')
Adding pagination queries
In blog app I will be querying the posts made by the users to display them in different pages, but with the possibility of so many posts, a page will be slow to load and will look crowded. To avoid this, I added custom SQL pagination queries to keep the number of posts per page to a specific number. So for example instead of sorting posts from newest to oldest like post.date_posted
, I loaded certain number of posts in one page, and showed numbers for next pages at the bottom. A useful function provided by SQLALChemy is query.paginate()
which is similar to `query.all() but it takes certain parameters.
invoking posts = Post.query.paginate()
returns a pagination object. We can explore the methods associated that object to see what we can do with it:
>>> posts = Post.query.paginate()
>>> dir(posts)
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'has_next', 'has_prev', 'items', 'iter_pages', 'next', 'next_num', 'page', 'pages', 'per_page', 'prev', 'prev_num', 'query', 'total']
I already demonstrated some of them like query
. I also see attributes like : items
, iter_pages
, next
, page
, per_page
. These are very useful for the pagination task as we can use them to specify certain number of posts per pages.
# default per_page is 20 posts per page
>>> posts.per_page
20
# current page I'm at
>>> posts.page
1
# using the page attribute I switch to the second page (essentially a row)
>>> posts = Post.query.paginate(page=2)
# loop over the posts in that page
>>> for post in posts.items:
... print(post)
...
Post('Frst Post', '2018-05-02 22:49:01.367786')
Post('Second Post', '2018-05-02 22:49:01.367868')
Post('Third Post', '2018-05-02 22:49:01.367958')
>>>
# I see we have 3 posts in the second page.
# Using per_page attribute to get 5 posts per page
posts = Post.query.paginate(per_page=5)
Deploying the App to a Linux server
will be documented soon.


April 6, 2015
This is the blog text. Paragragh and paragraph of text. This is gonna more and more text. This is gonna more and more text. This is gonna more and more text. This is gonna more and more text. This is gonna more and more text. This is gonna more and more text. This is gonna more and more text. This is gonna more and more text.
This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.
This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.This is gonna more and more text.
This is gonna


ver.1.0.0
This app helps you find nearby stores on a map.
It is a development version(work-in-progress) so you might encounter bugs as you are using it.
Thanks


| DOSE: T+ 0:00 |
0.5 tablets |
oral |
MDMA |
| T+ 2:00 |
0.5 tablets |
oral |
MDMA |
I had done my research. I was versed in all the facts and figures involved with taking MDMA, all the media coverage (if, might I say, a little one-sided), all negative and positive aspects involved. I soon decided, some eight months after I saw a documentary on Rave Culture and ecstasy, to try this controversial drug.
All the research in the world couldn't have prepared me for what was in store for me.
'Euphoria', 'Feelings of well-being' and 'A general warming to others', tend to stick in my mind. I feel it was much more so than just feeling a bit euphoric.
I approached a much-trusted friend, and told him of my intentions.  One for myself, and one for my other two friends. I took a pill out; I stared at it. Touched its surface - smooth. I smelled it - it smelled pungent, almost sour. Placing it back carefully, hands quivering, I longed for the time when I would actually ingest it.
The day of consumption arrived, and I awoke feeling quite excited. Like a child at Christmas. I don't know why, but I felt I'd be a different person after today. There was a local music festival on, and I had been planning this moment for a month. I had made sure I had a good sleep the previous night, and I had been eating lots of fruit & veggies all week. I was healthy, refreshed and ready to go.
At 2:30pm on a Saturday afternoon, the pill was sliced cleanly in half. An incredible rush of adrenalin ensued as I swallowed the first half; I wanted to take things slowly, one half at a time, just to make sure that what I was taking was safe and wouldn't result in a visit to the emergency room.
I began feeling effects about an hour later, with general feelings of alertness and slight hyperactivity. I was pumped, and I had been psyching myself up all week - this was probably a major factor. I was told that when one takes the drug that one's state of mind would greatly affect how the trip would be.
Two or so hours down the track, after listening to Sonic Animation (all...well, most Aussies will know of whom I speak!) my levels of energy were still unusually high. I was feeling good but still inhibited. I then decided to take the other half. A quick trip to the toilet, a fumbled attempt to remove the other half from its bag (this was incredibly hard to achieve!!), and I was walking back to my friends, still feeling good - if a little nervous. We danced a bit at what we had dubbed the 'doof tent' - i.e. a tent where they were playing trance and techno all day and night.
An hour passed, and still nothing (or so it seemed), so we went outside to watch the sunset and listen to some of the other acts still playing. As we sat on the grass, I leaned back on my elbows and regarded the sky. It was then that I began to feel the rush. Everything before me had suddenly become so much more clearer, more crisp, 'fresh'...simply beautiful. I was totally non-discriminatory, I didn't judge anyone on what they wore, how they looked, what they were doing...shit, skin colour never even entered the equation!
The night wore on. I danced a lot more, feeling incredibly euphoric. We left occasionally to cool down, and the moment I stepped out of the tent, my body would instantly react to the change of environment. From Energetic and 'bouncy', to slow, calm and incredibly deliberate in all my motions. I was quite hot, and my friend poured a bottle of water over my head. It was a shock, but it felt near orgasmic. I was aware of every single droplet of water trickling down my entire body, from my scalp, down to my ankles - utter bliss.
I was normally a very quiet, solitary sort of person, with little confidence at all.  My friend however, had nowhere near as much an enjoyable experience as myself. The more I began to 'fly' as I called it, the more he started to sink. In fact, he had pretty much hit rock bottom by the time I hit my peak. It was quite bizarre, considering he took the same drug, and at relatively the same time (in halves), as myself.
This 'peak', as I have described it, then continued for at least 3 hours, before I started coming down - at which point I was still feeling very invigorated and energetic - just a little sore and incredibly hungry. I wasn’t depressed the following day, or that night, but very happy with my life. I now find it much easier to become motivated. I am a lot more confident, making decisions a lot quickly, regardless of their consequences. In a way, I am no longer fearful of what unpleasant things life may throw at me. I love life so much more than before; things seem a lot clearer. I believe that taking E was amazingly uplifting, even spiritual. It was the most enlightening moment of my life. I doubt I will ever regret that experience.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


function GetAdjustedLocation: TFloatRect;
When the Scaled property is True, GetAdjustedLocation returns scaled Location, otherwise it returns Location as it is, without scaling.
It is up to you do decide if you want to use the result as a floating-point rectangle, to round the coordinates before painting:
procedure TForm1.OnLayerPaintHandler(Sender: TObject; Buffer: TBitmap32);
var
R: TRect;
begin
if Sender is TPositionedLayer then
with TPositionedLayer(Sender) do
begin
R := MakeRect(GetAdjustedLocation);
Buffer.FrameRectS(R.Left, R.Top, R.Right, R.Bottom, clRed32);
end;
end;
end;


{% extends "base.html" %} {% load utils %} {% block title %}resources{% endblock %} {% block content %}
Please note, you will need an account on this system to be able to add resources. If you are involved with the project, contact us for an account.
Drag the link below to your bookmarks
ALISS It! simple- no popup problem
ALISS It Pro - lets you select text on page for item description, but needs popups enabled
{% endblock secondary-content %}


interface SerializationCustomSerializer<OBJ, PROXY>
Allows CorDapps to provide custom serializers for third party libraries where those libraries cannot be recompiled with the -parameters flag rendering their classes natively serializable by Corda. In this case a proxy serializer can be written that extends this type whose purpose is to move between those an unserializable types and an intermediate representation.
NOTE: The proxy object should be specified as a separate class. However, this can be defined within the scope of the custom serializer.
fromProxy |
Should facilitate the conversion of the proxy object into a new instance of the unserializable type abstract fun fromProxy(proxy: PROXY): OBJ |
toProxy |
Should facilitate the conversion of the third party object into the serializable local class specified by PROXY abstract fun toProxy(obj: OBJ): PROXY |


Mumble Information
Server Details
Version
{{ version }}
Uptime
{{ uptime }}
Last activity
{{ last_activity | date }}
Channel Viewer


What is CSS actually?
Cascading Style Sheet
Describes how HTML elements should appear
Reuseable styling
Next


Shopping List Check Off
Module-2-Assignment
To Buy
{{ item.quantity }} of {{ item.name }}
Bought
All items bought!
Already Bought
{{ item.quantity }} of {{ item.name }}
Nothing bought yet!


A solar year lasts 365 days on planet Earth. However, the length of a solar year varies from planet to planet - changing your age and life expectancy along with it!
To use the Super Galactic Age Calculator, just enter your age and life expectancy in Earth years!
The calculator will reveal your current age and remaining life expectancy on Mercury, Venus, Mars, and Jupiter
Click here for a link to check your life expectancy.
*** All results are rounded to the nearest whole number
Age:
Remaining Life Expectancy:
Age:
Remaining Life Expectancy:
Age:
Remaining Life Expectancy:
Age:
Remaining Life Expectancy:


--- layout: page title: About header-img: "img/about-bg.png" ---
Brooklyn native who would like to be a software programmer


Created by:
Hassib Ibrahim
GitHub username:
HassibIbrahim
Week 3 independent project:
Ping-Pong
Enter a positive integer in the space provided and numbers from 1 to your number will be displayed, some "ping-ponging" according to the following:


Score: {{state.persistent.score}} out of {{state.totalQuestions}}
Multiple Choice
True or False
{{questions[state.currentQuestion].category}}
Q:
Correct!
Wrong!


Technical Blog - Part 1
An analogy for HTML, CSS and DOM?
A good analogy is that of a house really. HTML is the structure of the house, how many rooms will there be? Where are the doors? Foundations? How many windows are there?
CSS is like the decoration for the house: what colour are the walls? carpet on the floors? paintings and photos on the walls?
DOM (Document Object Model) is like looking at the architect's blueprints for the house, with notes from the interior designer.
What does 'boxifying' design?
That means looking at a web page, or proposed dsesign for a webpage, and cutting it up in to smaller and smaller boxes.
This helps with understanding the structure you might want to follow when writing the HTML (structural) code for the site.
That is the Box Model
This is the term used for the process of boxifying described above. Treating the HTML pages on the internet as just a whole collection of big and small boxes.


This block defines the transfer function between the input u and the output y as an n-th order filter with critical damping characteristics and cut-off frequency f. It is implemented as a series of first order filters. This filter type is especially useful to filter the input of an inverse model, since the filter does not introduce any transients.
If parameter normalized = true (default), the filter is normalized such that the amplitude of the filter transfer function at the cut-off frequency f is 1/sqrt(2) (= 3 dB). Otherwise, the filter is not normalized, i.e., it is unmodified. A normalized filter is usually much better for applications, since filters of different orders are "comparable", whereas non-normalized filters usually require to adapt the cut-off frequency, when the order of the filter is changed. Figures of the filter step responses are shown below. Note, in versions before version 3.0 of the Modelica Standard library, the CriticalDamping filter was provided only in non-normalized form.
If transients at the simulation start shall be avoided, the filter should be initialized in steady state (e.g., using option initType=Modelica.Blocks.Types.Init.SteadyState).
The critical damping filter is defined as
α = if normalized then sqrt(2^(1/n) - 1) else 1 // frequency correction factor ω = 2*π*f/α 1 y = ------------- * u (s/w + 1)^n


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/notation.20in.20topological.20space.20file.html ---
In analysis/topology/topological_space.lean
we have s and t being used for more than one thing. Even in the definition of a topological space we have
(is_open_inter : ∀s t, is_open s → is_open t → is_open (s ∩ t)) (is_open_sUnion : ∀s, (∀t∈s, is_open t) → is_open (⋃₀ s))
Here s is an open set on one line, and a set of open sets on the next. Is this sort of thing regarded as OK? We're doing Xena tonight (it's usually Thursdays but I'm busy this Thurs) and a 2nd year undergraduate who has just learnt what a topological space is, is trying to read this mathlib file and this sort of notational trickery is not helping. Would @Mario Carneiro be interested in a PR which only contained changes of the form
(is_open_inter : ∀s₁ s₂, is_open s₁ → is_open s₂ → is_open (s₁ ∩ s₂)) (is_open_sUnion : ∀I, (∀s∈I, is_open s) → is_open (⋃₀ I))
? For me, that is more readable, but might not conform to some sort of mathlib style (I'm not sure about this). Later on in is_open_sUnion
we have a t
in the statement and a different t
in the proof. Of course none of this is logically wrong, but it does strike me as a strange design decision in some sense. Maybe mathematicians don't label their theorems as well as computer scientists might want them to, but I think they label their objects in a more consistent manner than this (e.g it would be considered bad writing to have s representing more than one thing, particularly two different types in consecutive sentences -- although of course I've seen it happen!)
I often use capital letters for higher order sets. So is_open_sUnion
would become ∀S, (∀s∈S, is_open s) → is_open (⋃₀ S)
I believe there is a similar convention of changing font registers in standard math
I usually reserve I
or ι
for the index set of a type/set family, say if I was discussing the indexed union instead of the set union
Last updated: Apr 24 2020 at 19:02 UTC


Marriage Map may incidentally collect personally identifying information (i.e. IP address) to make the app function. This personally identifying information will not be shared with anyone unless required by law.
Back to Marriage Map
Greg's Windows 8 Metro apps
All mobile apps
Greg's home page


{{ post.date | date: "%-d %B %Y" }}
{{ post.title }}
{{ post.excerpt | strip_html | truncate: 200 }}
--- layout: blog title: Screencasts ---
Sign up for our newsletter to be the first to know about the new screencast releases:


Homework 3, Main Implementation - MyWorld 2015 Data Visualization
This is the original file, with the implementations from parts one through three. If you want part five, my design implementation (with a clean-looking page), look at the alternative design.html in my homework 3 filter.


Transfer files via a secure API, or share files easily in your browser.
Try now by dropping files here, or clicking Upload!
Upload
Tip: Sign in to save your files across devices.


Industrial Automation Management Software for Mesh Wireless Devices
Project Summary
Project Goals
- Develop initial release within 4 months
- Provide users with an intuitive and visual metaphor to manage devices efficiently
Skills and Resources Required
- Detailed UI specification/documentation
- Graphic user interface design
- System architecture design
- Flex software engineering
- SQLite software engineering
- Quality assurance
AirSprite, Inc., a startup industrial automation software company, engaged Neubloc to design and develop a Flex and SQLite software application to enable users to proactively monitor and manage wireless devices at industrial plants. Most industrial plants including oil, gas, chemical, power, and water and wastewater treatment companies operate their plants with older, hard-wired control systems with over 1,000 device measurement points, none of which currently use wireless technology. These plants use networks to link devices and instruments utilizing control and management systems to measure temperature, pressure, level and flow readings. Many measurement points go unmeasured as the cost of running wires to each device on the network is prohibitive.
AirSprite’s software and hardware solution provides access to this valuable device data by attaching mesh wireless access points to plant devices. Using AirSprite software, users can monitor and proactively manage the performance of these devices. As the system conforms to HART standards and giving users the ability to set ‘triggers’, the software can display a device’s current performance status so users can easily determine problem devices and respond accordingly. Users can also view device data over time so as to identify performance trends for each device.
AirSprite teamed with Neubloc to provide turnkey product development services including: product requirements definition based on user needs; user experience design and production; software engineering focused on Flex and SQLite; and QA.
Dashboard providing ability to iew individual device performance trends using dynamic charts.
Main Menu providing access to the software's 4 main modules. Provides users with proper orientation to the software. The software only enables modules that the user can access based on their role assignment.
Monitor screen showing icon list representations of each device using Flex. Users can manipulate the view dynamically. Using color and symbols, users can quickly identify the status of each device.