The ten top place to visit InterContinental Aqaba Wadi Rum Bubble Luxotel Patra Dead Sea Jerash Ajloun Forest Park and Reserve Dar Al Saraya Museum Azraq Water Reserve Dana Reserve Wadi Bani Hammad


"The world is one just so far as its parts
hang together by any definite connexion. It is many just so far as any definite
connexion fails to obtain. And finally it is growing more and more
unified by those systems of connexion at least which human energy keeps
framing as time goes on."
Understanding the world in its complexity is a fascination which questions the place of human beings in the whole system. We do so by capturing the reminiscences of our interactions
with the world and yet we merely grasp its comprehension. Often in our attempts to observe the world, we look at these precise interactions, at the level of which, networks appear
to be an excellent means of study. We can visualize them, manipulate them, and analyse them. They are abstract structures and yet easy to visually interpret, almost as if they were
tangible objects. Graph theory provides us strong means of analysis of networks, and their visualization challenges us in exploring them.
I am fascinated by the explanatory power
of such models, and my research aims at using the most adequate tools from theory to visualization to empower understanding of complex phenomena. I intend to confront my work with
as many application domains possible, each enriching our research with a new set of questions and challenges pushing further our work.


Mobile Drag And Drop Summary
The jQuery Mobile Drag And Drop project is a plugin provides drag-and-drop functionality that works on desktop browsers as well as touch-screen mobile devices.
Using a desktop browser, you can fully utilise the drag-and-drop. On a mobile browser, there is a fall-back tap-to-life and tap-to-drop behaviour.
Note: The 4th draggable item can only be placed in the second drop zone - this is an example that shows how each draggable item can be given different drop zones.
You can drop items here.
You can drop items here too.
Drag 1
Drag 2
Drag 3
Drag 4*
Please read the mobile drag and drop documentation for instructions on how to use the plugin.
Options
- classmodifier
- Used to apply class names to the elements created by the plugin. You only need to specify a class modifier if you have a name-clash.
- targets
- The jQuery selector of the element or elements that you can drop an item onto (otherwise known as "drop zones").
- status
- The jQuery selector for an element, into which the current status of dragging and dropping will be placed. This is handy for testing purposes!
- selectedclass
- The class to be applied to draggable items when they are picked up.
- activeclass
- The class to be applied to "drop zones" when a draggable item is picked up.


 It’s Meme the News time again.  The world keeps producing weirder and weirder news stories. It’s hard to find time to read them all. that’s why you need Meme the News!
Trump Tesla connection
Oh my goodness! IT’s the deep state!

This may be no bueno
She (Deep State) wants all semi-automatics… that’s like all guns ever
There are 25k sealed indictmnets.  Look there. Trafficking of children!
Yesterday’s News blast
Ever heard of Clinton Body Count?
The more I look the more I see ancient patterns in modern society
Devs
What’s missing in that bottom part?
I think 9/11 was a false flag… but don’t take it from me. Take it from this Major General
Ever hear about the Georgia Guidestones?
This page is synchronized from the post: ‘Meme the News- 4/24/18’


2019
2018
2017
2016
- The Real ROI of DevOps
- A new kind of management
- No, I won’t tell you what DevOps is
- The Lazy J Curve and How to Stop Over-Designing
- Delivering Products at Velocity
- The Continuous Economy
- Driving Effective Change
- Keynote at ChefConf 2016 with Dawie Olivier
- Don’t Org like the Borg.
- The IOTA Model
- Learning in the Continuous Customer Economy - DevOps.com
- Redefining Product Value in the Continuous Economy - DevOps.com
- Interview at Atmosphere Conference 2016
- Career path from programming to sales
- Transforming Teams
- Keynote at Atmosphere 2016
- Waves of Change
- Working on What Matters
- A Tale of Constructors
- 4 Principles of Product Organisation
- Driving Devops Adoption at GE Capital
- Architectural Leadership
- Continuous Transformation Reference Card
- Malice in Wonderland
- The Hedgehog, The Fox and the Hacker
- Keynote at Rugged DevOps 2016
- 5 Issues with Agile and What’s Next
- What Determines the Value of Products?
2015
- Interview at South African Banking DevOps Event
- DevOps enables innovation and compliance to go hand-in-hand
- Staying Compliant When Security is in the Hot Seat
- Video with Microsoft Channel 9
- Keeping the end in mind
- Enterprise architects have nothing to lose but their roadmaps
- Implementing Compliance at Velocity at Chef
- Chef Software Applies IT Automation to Compliance
- Scaleable Change
- The War of Independence for Enterprise Architecture
- Complete compliance in coding is an Alice in Wonderland-style fairytale
- ICS Presentation in Ireland
- Interview at RSA Conference 2015
- Interview at RSA Conference 2015
- DevOps Improves Security
- Compliance and digital innovation needn’t be mutually exclusive
- Everything's code
- Does DevOps hurt or help security?
- Compliance-as-code to bring high velocity to enterprise IT
- What is DevOps?
- The Myth of Control
- The Whale at DOES
- Hunting the Whale of DevOps
- Chasing the Whale


Hybrid hierarchical clustering via mutual clusters. A mutual cluster is a set of points closer to each other than to all other points. Mutual clusters are used to enrich top-down hierarchical clustering.
| Version: | 1.0-5 |
| Imports: | cluster, stats |
| Published: | 2015-07-22 |
| Author: | Hugh Chipman, Rob Tibshirani, with tsvq code originally from Trevor Hastie |
| Maintainer: | Hugh Chipman <hugh.chipman at acadiau.ca> |
| License: | GPL-2 |
| NeedsCompilation: | no |
| In views: | Cluster, Multivariate |
| CRAN checks: | hybridHclust results |
| Reference manual: | hybridHclust.pdf |
| Package source: | hybridHclust_1.0-5.tar.gz |
| Windows binaries: | r-devel: hybridHclust_1.0-5.zip, r-release: hybridHclust_1.0-5.zip, r-oldrel: hybridHclust_1.0-5.zip |
| OS X binaries: | r-release: hybridHclust_1.0-5.tgz, r-oldrel: hybridHclust_1.0-5.tgz |
| Old sources: | hybridHclust archive |
Please use the canonical form https://CRAN.R-project.org/package=hybridHclust to link to this page.


School Portal
Ever considered creating a website for your school?
If you did you are in the right place.
Learn More
Join Now
Already joined? Click here to login.


# Copyright (c) 2017 NVIDIA Corporation
"""Data Layer Classes"""
from __future__ import absolute_import, division, print_function
from __future__ import unicode_literals
from six.moves import range
import abc
import six
import tensorflow as tf
import copy
from open_seq2seq.utils.utils import check_params
@six.add_metaclass(abc.ABCMeta)
[docs]class DataLayer:
"""Abstract class from which all data layers must inherit.
"""
@staticmethod
[docs] def get_required_params():
"""Static method with description of required parameters.
Returns:
dict:
Dictionary containing all the parameters that **have to** be
included into the ``params`` parameter of the
class :meth:`__init__` method.
"""
return {
'batch_size': int,
}
@staticmethod
[docs] def get_optional_params():
"""Static method with description of optional parameters.
Returns:
dict:
Dictionary containing all the parameters that **can** be
included into the ``params`` parameter of the
class :meth:`__init__` method.
"""
return {
'shuffle': bool,
'dtype': [tf.float32, tf.float16],
'use_targets': bool,
}
@abc.abstractmethod
[docs] def __init__(self, params, model, num_workers=None, worker_id=None):
"""Data layer constructor.
The TensorFlow graph should not be created here, but rather in the
:meth:`self.build_graph() <build_graph>` method.
Args:
params (dict): parameters describing the data layer.
All supported parameters are listed in :meth:`get_required_params`,
:meth:`get_optional_params` functions.
model (instance of a class derived from :class:`Model<models.model.Model>`):
parent model that created this data layer.
Could be None if no model access is required for the use case.
num_workers (int): number of Horovod processes or None if Horovod is not used.
worker_id (int): Horovod process id or None if Horovod is not used.
Config parameters:
* **shuffle** (bool) --- whether to shuffle dataset after an epoch.
Typically will be True for train and False for inference and evaluation.
* **dtype** --- data dtype. Could be either ``tf.float16`` or ``tf.float32``.
"""
check_params(params, self.get_required_params(), self.get_optional_params())
self._params = copy.deepcopy(params)
self._model = model
if 'dtype' not in self._params:
if self._model:
self._params['dtype'] = self._model.get_tf_dtype()
else:
self._params['dtype'] = tf.float32
if 'use_targets' not in params:
self._params['use_targets'] = True
if 'shuffle' not in params:
if self._params['use_targets']:
self._params['shuffle'] = True
else:
self._params['shuffle'] = False
if self._params['use_targets'] is False and self._params['shuffle']:
raise ValueError("Shuffle should not be performed in inference mode")
self._input_tensors = None
# could be used for correct Horovod processing
self._num_workers = num_workers
self._worker_id = worker_id
@property
def params(self):
"""Parameters used to construct the data layer (dictionary)."""
return self._params
@abc.abstractmethod
[docs] def build_graph(self):
"""Here all TensorFlow graph construction should happen."""
pass
@abc.abstractmethod
@abc.abstractmethod
[docs] def next_batch_feed_dict(self):
"""This method should return one data batch feed_dict.
Basically, the output of this method will be included in the ``sess.run``
call as the ``feed_dict`` parameter. If no ``feed_dict`` is required (as is
the typical case with ``tf.data`` API), just return an empty dictionary.
Returns:
dict: feed_dict to be included in ``sess.run`` call.
"""
pass
@abc.abstractmethod
[docs] def shuffle(self):
"""This method should implement data shuffle.
It will be called after the end of each epoch. Note, that if shuffling is
performed automatically (as is the typical case with ``tf.data`` API), this
method can be empty.
"""
pass
@abc.abstractmethod
[docs] def get_size_in_samples(self):
"""Should return the dataset size in samples.
That is, the number of objects in the dataset. This method is used to
calculate a valid epoch size.
Returns:
int: dataset size in samples.
"""
pass
[docs] def get_size_in_batches(self):
"""Returns dataset size in batches.
Returns:
int: dataset size in batches.
"""
return self.get_size_in_samples() // self.params['batch_size']
[docs] def iterate_one_epoch(self, cross_over=False):
"""Generator that iterates through one epoch.
Args:
cross_over: whether last batch should take few elements from the next
epoch if the size of dataset is not divisible by the batch size. If
set to False, epoch will end ignoring few last elements.
Yields:
dict: feed_dict returned from
:meth:`self.next_batch_feed_dict()<next_batch_feed_dict>` method.
"""
if self.get_size_in_batches() == 0:
raise ValueError(
"Batch size is bigger than dataset size: {} > {}".format(
self.params['batch_size'], self.get_size_in_samples()
)
)
for _ in range(self.get_size_in_batches()):
yield self.next_batch_feed_dict()
if cross_over:
if self.get_size_in_samples() % self.params['batch_size'] != 0:
yield self.next_batch_feed_dict()
[docs] def iterate_forever(self):
"""Generator that goes through data set indefinitely.
Will automatically perform shuffle after the end of each epoch by calling
:meth:`self.shuffle()<shuffle>` method.
Yields:
dict: feed_dict returned from
:meth:`self.next_batch_feed_dict()<next_batch_feed_dict>` method.
"""
while True:
for feed_dict in self.iterate_one_epoch():
yield feed_dict
if self.params['shuffle']:
self.shuffle()
[docs]class MultiGPUWrapper(DataLayer):
"""Wrapper around :class:`DataLayer` class that enables multi-GPU execution.
"""
@staticmethod
[docs] def get_required_params():
# this disables the check since it was already done
# inside the inner data_layer
return None
@staticmethod
[docs] def get_optional_params():
# this disables the check since it was already done
# inside the inner data_layer
return None
[docs] def __init__(self, data_layer, num_gpus):
"""Wrapper constructor.
Args:
data_layer (instance of a class derived from :class:`DataLayer`): inner
data_layer that will be "copied" to each GPU.
num_gpus (int): number of GPUs used.
"""
if not issubclass(type(data_layer), DataLayer):
raise ValueError("data_layer has to be an instance "
"of a subclass of DataLayer class")
super(MultiGPUWrapper, self).__init__(data_layer.params, data_layer._model)
self._num_gpus = num_gpus
self.params['batch_size'] *= self._num_gpus
self._data_layer = data_layer
[docs] def build_graph(self):
"""This function creates input tensors for all GPUs.
It will first build graph for the inner data layer. Then, it will call
:meth:`self._data_layer.gen_input_tensors()<gen_input_tensors>` num_gpus
times and save the corresponding list as new ``self._input_tensors``
parameter. This parameter will then be accessed by
:meth:`self.get_input_tensors()<get_input_tensors>` method.
"""
self._data_layer.build_graph()
# making num_gpus copies of input tensors
self._input_tensors = [
self._data_layer.gen_input_tensors() for _ in range(self._num_gpus)
]
# transposing, so that same type variables are in the same position
self._input_tensors = list(zip(*self._input_tensors))
[docs] def get_size_in_samples(self):
"""Redirects call to inner data layer :meth:`get_size_in_samples` method."""
return self._data_layer.get_size_in_samples()
[docs] def next_batch_feed_dict(self):
"""Correctly populates next batch feed_dict for multiple GPUs.
This function will do the following things: for each GPU in a loop it will
replace the inner data layer ``_input_tensors`` parameter with part of
``self._input_tensors`` corresponding to the current GPU. It will then
call inner data layer :meth:`next_batch_feed_dict` method which should
connect inner data layer ``_input_tensors`` with correct feed data. After
all GPUs are covered it will return the complete feed dictionary.
Note that this function will likely be rewritten in the future since it
relies on the user using ``self._input_tensors`` to store the placeholders
(which will be the case if they are accessed through
:meth:`self.get_input_tensors()<get_input_tensors>` method),
but this is not enforced in the API.
Returns:
dict: feed_dict to be included in ``sess.run`` call which has data for
all GPUs.
"""
feed_dict = {}
for i in range(self._num_gpus):
self._data_layer._input_tensors = tuple(
tensors[i] for tensors in self._input_tensors
)
feed_dict.update(self._data_layer.next_batch_feed_dict())
return feed_dict
[docs] def shuffle(self):
"""Redirects call to inner data layer :meth:`shuffle` method."""
self._data_layer.shuffle()


As a graduate student in Analytics, I enjoy getting insights from data to solve small and large problems for people and our communities, from reducing grocery store wait times to determining why women are underrepresented in STEM careers. I primarily use Python and R to clean, analyze, and visualize data, with the ultimate goal of telling a compelling story backed with statistical analysis. My current projects and studies are in NLP and GIS.
-Develop methodologies to programmatically evaluate the impact and relevancy of nine community programs, and implement these in R to determine success
-Collect and clean historical financial and demographic data for Harlem, New York City, and New York State
-Run longitudinal analyses in R to show Harlem’s relative changes, and use geographic data to locate underserved demographics and regions
-Designed, built, and evaluated machine learning models in Python to predict Twitter user demographics for departments to use in determining sentiment on current policies and events
-Conducted a literature review, prepared a project plan, cleaned and merged large datasets, developed and tested models locally and in EC2 instances, documented and presented findings
-Attended weekly intern trainings on technical topics applied to policy data: R and R Markdown, Amazon AWS, PSQL, and GIS
-Created a standardized internal membership database from disparate local union branch data
-Coded reusable, efficient SQL reports for gathering overall membership statistics for press and marketing campaigns, comparing local branch memberships, tracking changes over time, all to aid organizing efforts
-Implemented Python scripts for incoming membership files to clean and validate data
-Supported three hospitals in the entire software life-cycle from implementation and specification through support and maintenance for the Hospital Billing department
-Used M and SQL to investigate and resolve financial discrepancies and issues
-Analyzed financial data within and across organizations and led efforts to improve metrics
-Mentored and trained new hires in the software release process and in effective communication
-Managed internal projects including overseeing and tracking technical software updates for over 150 hospital systems, and leading a fifteen person group in development, training, and implementation of a new module
Courses: Linear Algebra, Voting and Fair Division, Mathematical Modeling, Statistics, Probability, Honors Calculus
[In Progress] I'm analyzing the demographics of people who live in food deserts in both rural and urban America.
Provided an an analysis of user engagement with three pharmaceutical Twitter profiles to a marketing organization trying to improve their client's social media strategy.
I constructed a classification tree of modern and extinct Indo-European languages by comparing phonetics of words in each language.
With a partner, I did a longitudinal analysis of the effect of gender on the likelihood of majoring or working in a STEM field.
With a team, I did a text analysis of Amazon product reviews and designed an alternate rating system to provide more information to prospective buyers.
With a partner, I did an exploratory analysis of Metro and Bikeshare data to practice machine learning (supervised and unsupervised), data visualization, and testing statistical hypotheses.
I researched the use of Kaplan Meier's method and Cox's Proportional Hazards Model in Survival Analysis and synthesized the results in a review paper.
I modeled different configurations of service stations at a grocery store and made recommendations to reduce waiting times.


Correspondence
Letters sent from Peter Lauener, chief executive of the Education Funding Agency, to academy trust accounting officers in 2014.
PDF , 164KB , 4 pages
PDF , 118KB , 5 pages
These letters are sent from time to time and at the start of each academic year. Peter Lauener writes in his capacity as the Accounting Officer of the Education Funding Agency (EFA) to all accounting officers of academy, free school, UTC and studio school trusts.
These letters sent in May and September 2014 cover key responsibilities of financial management and governance, and highlight any changes that may have taken place.
Published: 20 May 2014
Updated: 9 September 2014


Pig Dice
Instructions
- This is a two player game.
- Each player gets a chance to roll the pair of dice.
- The value of each dice is summed up temporarily.
- When the player presses hold it saves the current held value into the score sheet.
- If either player rolls a one on either die the current value is reduced to a zero.
- The goal is to reach 100 on the score sheet before your opponent.


writing
Chapbooks
God Appears Only to Disapprove | poetry | November 2016
PDF | story view
cartographies | poetry | May 2013
PDF
A Momentary Flash of Roger & Another Story | fiction | November 2012
Online Publications
Ceelie at plain china
winter at Women In Our Lives


JOHN GRISHAM'S THE RAINMAKER (1997) Matt Damon, Danny DeVito, Jon Voight, Claire Danes, Mary Kay Place PG-13, 2 stars
Review by Ed Johnson-Ott For more reviews, go to www.nuvo-online.com and click on "film."
All of the elements for a can't-miss film were there. A David vs. Goliath story about an idealistic young man battling corrupt lawyers and a soulless insurance company, directed by the legendary Francis Ford Coppola from his screenplay of John Grisham's best-selling novel. Yet, "The Rainmaker" is a major disappointment, a self-righteous exercise in audience manipulation that chokes on its own smugness. While the film retains some pleasures, Coppola's heavy-handed direction snuffs out the sense of exhilaration a story like this should have.
The first hint of trouble comes from the official title, "John Grisham's The Rainmaker." The prolific Grisham has become a brand name, and whenever Hollywood slaps an author's name onto the title of a film, it's safe to expect the worst. Think of "Stephen King's Graveyard Shift," "Jacqueline Susann's Once Is Not Enough" or "Sidney Sheldon's Bloodline" and you'll get the idea.
The story, while not exactly earth shaking, is durable enough. Recent Memphis law-school graduate Rudy Baylor (Matt Damon,) idealistic and eager to work, reluctantly hooks up with Bruiser Stone (Mickey Rourke,) a sleazeball lawyer who keeps a live shark in his office aquarium, lest we miss the other painfully obvious signs of his corruption.
Refusing to adopt his employer's tactics, Baylor takes his own path, renting a room from Miss Birdie (Teresa Wright,) an elderly client looking to cut her money-grubbing kids out of her will, leaving her assets to a televangelist instead. "He needs the money," she explains, "Why, the upkeep on his jet alone costs a fortune." But Baylor's big case, and the centerpiece of the story, is a lawsuit against Great Benefit, an insurance company that specializes in shafting the poor. Donny Ray Black (Johnny Whitworth) is dying of leukemia and the company has flatly and repeatedly denied his claims, climaxing in a letter to his mother (Mary Kay Place) rejecting the claim for the "final time" and calling her "stupid, stupid, stupid." So the inexperienced young Baylor and his ramshackle assistant head for court, defending a dying boy and his poor family against a battery of high-priced lawyers, hatchet men for an evil corporation. Any idea how the case will turn out?
Fine, so its a obvious story with easy targets. Lots of memorable films have came from trite ideas. "Hoosiers" also told a David vs. Goliath tale, filled with every cliché in the book, yet that film succeeds while "The Rainmaker" flounders. Why? Because inexplicably, Francis Ford Coppola undermines the very film he is directing. Coppola's work here is so ham- handed that it smothers the emotional impact of the story. Scenes of the corporate lawyers, led by Jon Voight, are painful studies in overkill. Coppola doesn't allow the bad guys even a hint of humanity. Instead, every shot shows them scowling, smirking or exchanging smug glances. They are nothing less than walking cartoons; watching them get their comeuppance carries about as much dramatic weight as seeing Yosemite Sam shoot himself in the foot.
Then there is Danny DeVito's Deck Schifflet character. "The Rainmaker" is designed to give viewers vicarious kicks by watching an idealistic young man bring down an arrogant corporation by taking on their unethical lawyers, yet Schifflet's equally corrupt behavior is played for laughs. Schifflet is a bottom-feeder, but presented as just a lovable little scamp.
Thank goodness for "The Rainmaker's" strong cast. Matt Damon is fine in the lead role. He underplays the part nicely, investing Baylor with an appealing blend of awkwardness and strength of character. DeVito gives a hearty performance as well, despite how his character is misused. Claire Danes does what she can as the abuse victim, although the whole story involving her character is treated as a sketchy footnote to the film, rather than a major secondary story. Teresa Wright is appealing as the flighty, but feisty Miss Birdie, but the real scene-stealer here is Mary Kay Place, with a resonant performance as the mother of the dying young man.
Despite the best efforts of the cast, "The Rainmaker" packs little impact. Beyond all the problems with Coppola's direction, the simple truth is that you can find more inventive, better told stories than this by flipping on the TV and watching "Homicide," "Law & Order" or "The Practice." You may not get John Grisham's brand name, but you'll save $7. 00.
copyright 1997, Ed Johnson-Ott
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


Man jailed as shocking CCTV footage shows him repeatedly punching helpless dog in park
WARNING - DISTRESSING CONTENT: Robert Black, 51, of Parsons Close has been sentenced to 23 weeks' imprisonment and has been banned from owning animals for 10 years
by Charlotte SmithThis video shows the horrific moment a man was caught punching a dog in the face.
The sickening video shows Robert Black, 51, hitting his dog several times in the face with "significant cruelty" and "no concern for its welfare."
The horrific act took place on December 21, 2018, where Black, of Parsons Close, Newbury, was seen on CCTV with two dogs in Victoria Park.

Police were notified of the incident and carried out an area search before locating Black, arresting him and seizing both of his dogs under the Animal Welfare Act 2006.
Fortunately, the dog which was punched by Black was not injured during the attack.
Both of his dogs have since been rehomed.
Black was found guilty of one count of causing unnecessary suffering to a protected animal at Reading Magistrates’ Court on Tuesday, November 12.
He was sentenced to a total of 23 weeks’ imprisonment and made to pay a £115 victim surcharge.
He has also been banned from owning animals for 10 years.
Investigating officer, PC David Burleigh, based at Abingdon police station, said: “Black demonstrated significant cruelty to his dog by punching it several times in the face, with no concern for its welfare.
“This behaviour is clearly totally unacceptable for a pet owner and I am pleased that not only has he received a prison sentence for his actions, but that he has been banned from owning animals for the next 10 years.
“We take reports such as these seriously and will look to investigate and take action against anyone who carries out this type of offence.”


Introduction
Recipe 14.1. Testing Whether CGI Is Working
Recipe 14.2. Handling URLs Within a CGI Script
Recipe 14.3. Uploading Files with CGI
Recipe 14.4. Checking for a Web Page's Existence
Recipe 14.5. Checking Content Type via HTTP
Recipe 14.6. Resuming the HTTP Download of a File
Recipe 14.7. Handling Cookies While Fetching Web Pages
Recipe 14.8. Authenticating with a Proxy for HTTPS Navigation
Recipe 14.9. Running a Servlet with Jython
Recipe 14.10. Finding an Internet Explorer Cookie
Recipe 14.11. Generating OPML Files
Recipe 14.12. Aggregating RSS Feeds
Recipe 14.13. Turning Data into Web Pages Through Templates
Recipe 14.14. Rendering Arbitrary Objects with Nevow


This is my page content
Click a link in the menu to see the active state change
Click the toggle to hide the menu


Lightbox2
The original lightbox script.
Lightbox is small javascript library used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers.
- Demos and usage instructions. Visit the Lightbox homepage to see examples, info on getting started, script options, how to get help, and more.
- Releases and Changelog. Viewable on the Github Releases page
- Roadmap. View the Roadmap for a peek at what is being planned for future releases.
- License. Lightbox is licensed under the MIT License. Learn more about the license.
by Lokesh Dhakar
Info for Maintainers
Local development
- Install Bower and Grunt.
- Install jQuery dependency with Bower:
bower install
- Start local server:
grunt
- Navigate to
localhost:8000/examples
- Update
examples/index.html
to load src/js/lightbox.js
and jQuery.


PERFECT STORM, THE (director: Wolfgang Petersen; screenwriter: Bill Wittliff/based on the book by Sebastian Junger; cinematographer: John Seale; editor: Richard Francis-Bruce; cast: George Clooney (Capt. Billy Tyne), Mark Wahlberg (Bobby Shatford), Diane Lane (Christina Cotter), William Fichtner (Sully), Karen Allen (Melissa Brown), Allen Payne (Alfred Pierre), Bob Gunton (Alexander McAnally III), Mary Elizabeth Mastrantonio (Capt. Linda Greenlaw), John C. Reilly (Murph), John Hawkes (Bugsy), Michael Ironside (Ship Owner), Rusty Schwimmer (Irene), 2000)
Reviewed by Dennis Schwartz
The perfect storm is based on Sebastian Junger's best-selling nonfiction book. It is about a Gloucester, Mass., fishing skipper, Billy Tyne (George Clooney), and his five-man crew aboard a small swordfishing boat, the Andrea Gail, who go out deep into the North Atlantic, to a place where they never fished before, a place that is almost off their fishing map, called the Flemish Cap, because the captain is in a fishing slump and must protect his reputation and he knows there are fish in those waters. It's all about money and pride.
The film is long on man-against-nature action scenes filmed with graphic computerized special effects, but short on character development and human drama. It is a commercial film, driven by the usual formula used for disaster movies. It is directed by Wolfgang Petersen, the German director of "Das Boot," the best submarine picture ever made. The film succeeds as a nail-biter. It paints a real picture of the fishing town and how tough it is to exist for the fishermen: economically, family wise, and because of the inherent dangers of the profession. So when the men battle the storm at sea, we are affected by their struggle to survive.
In 1991, on Halloween, the Great Nor'easter occurred out in the Atlantic Ocean, it was described by meteorologists as something that they never saw happen before in this century, two hurricane weather fronts combining as one, which they called the perfect storm. The crew aboard the Andrea Gail, consisting of: Murph (Reilly), a good-hearted soul, who is separated from his wife and young son, losing them to his professional duties, even though he loves both of them dearly -- but commercial fishermen on swordfishing boats go out to sea for as long as a month at a time and he loses touch with his wife after those long absences; Bugsy (Hawkes), who is someone searching desperately for any woman, in any port; Alfred (Payne), the lone black man aboard; Sully (Fichtner), the wiseguy with a chip on his shoulder, but who proves himself heroic when he helps rescue his rival Murph, who fell overboard--he is a replacement for another crew member who refused to go; Bobby (Wahlberg), who reluctantly casts out after much doubt about this fishing trip since he just came back from being out for a long time. He is in love with the perfect girl, Christina (Lane), and needs money both to pay his ex-wife for child support and for his upcoming marriage to Christina. One day he wants to be his own skipper--he has the only natural New England accent in the film; and, lastly, there is the skipper, Bill Tyne, who is separated from his wife and two daughters, whose love for the sea and his skills as a captain shouldn't be questioned.
Once the storm blows and these men are caught in it, the men become secondary figures and the storm takes over as the film's star. Most of the second-half of the film is taken over by computer graphics, as we witness the boat trying to make it back home amid gigantic waves of over 100-feet covering the boat and of winds of over fifty miles per hour. Our sympathy for the men is somewhat diminished by their choice of not sitting out the storm in the safe waters where they were, but on insisting on returning home through the storm because their ice machine broke. If they remained put, their great haul of fish would be destroyed. The men were clearly driven by greed, and the captain might be intrepid, but he made a dumb decision listening to his crew. The only real heroes in this movie were the Air Force and Coast Guard rescuers, who risked their lives to save these foolhardy men and pull from the sea three members of a yacht caught in the same waters.
When their vessel is down, Bobby tells the captain, we gave it good ride...words that seem futile and misplaced, though certainly gallant. But it is the only glimmer of intelligent dialogue that appeared to be taking place in the last 45-minutes, ever since the giant waves crested against the boat and the men could only be seen in the dark with their yellow slickers.
Mary Elizabeth Mastrantonio is the captain of the Andrea Gail's sister ship, the Hannah Boden, and she is more than a friend to Captain Tyne; while, Michael Ironside is the man who owns both boats. All the side stories are superfluous to the storm.
Even though the film has a bleak ending and awkward dialogue, it has blockbuster written all over its sails. I think the public will accept the grim outcome and relish viewing the storm and the terrible damage it causes, because it is the kind of action film they will want to see this summer, while they munch on some popcorn in an air-conditioned theater.
REVIEWED ON 7/9/2000 GRADE: C+
Dennis Schwartz: "Ozus' World Movie Reviews"
http://www.sover.net/~ozus
<EMAIL_ADDRESS>© ALL RIGHTS RESERVED DENNIS SCHWARTZ
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


| Interface | Description |
|---|---|
| User |
This interface provides read access to user data and is an extension of
Principal . |
| UserAttribute |
The interface represents abstraction over a user general attribute, such as
an e-mail address.
|
| UserProvider |
This interface represents the service interface which provides read access to
a user implementation.
|
| Enum | Description |
|---|---|
| PasswordCheckResult |
This enumeration provides the codes of a password check operation.
|
| UserProvider.CaseSensitive |
Two possible ways to search for user attribute values if supported by the
the user provider implementation for the concrete user attribute.
|
| UserProvider.SearchOperator |
Searching for exact match of the search criteria.
|
| Exception | Description |
|---|---|
| PersistenceException |
Exception class which is used in case of communication errors with the user
store during search, read or write operations.
|
| UnsupportedUserAttributeException |
Exception which is throw if an attribute should be read which is not
supported by the user store.
|
Copyright © 2019 SAP. All Rights Reserved.


Ivan the Cat
Moscow, Russia
front-end dev at Catopium
- Amateur video-maker
- Sings in the shower
- DIY tinkerer
- Single
CATOPIUM
Small teams
make great things
Vic Smarty
Senior full-stack engineer
- Crazy about machine learning
- Loves quiet and challenges
- Co-founder of Catopium
- Mobile (iOS) developer
- Free Code Camper
- C++ genius
Ivan the Cat
Senior front-end engineer
- Loves racing cars and to sing
- Mobile (Android) developer
- Co-founder of Catopium
- Crazy about robots
- Free Code Camper
- Node.js fan
Annie May
Junior frontend engineer
- Loves details and chocolate
- Cross-platform developer
- Meteor.js enthusiast
- Free Code Camper
- Catopium intern
- Crazy about UI
We Do:
Design
Development
System Administration
We Love:
Our Work
Social network for cats
link revealed to felines onlyMusic collection
personal side project


NanoTwitter Porfolio Page
Team
Akiba Sato, Kevin Wang, Meg Kobashi
Overview
This application is a miniature version of Twitter. Users can post tweets and explore other users' profiles and tweets. Our primary focus for our project was scaling, and used various techniques such as caching, multiprocessessing, and service oriented architecture to achieve maximum performance when getting a high load of requests. In this report, we detail the various scaling techniques and report real results from executing load tests performed with loader.io.
Tech Stack
- Node.js
- Express
- Redis
- Postgres
- Sequelize (Postgres ORM)
System Components
- Main application
- User service
- Tweet service
- Search service
- Writer service
Scaling techniques
This section contains the scaling techniques we used and their performance improvements. Note that we wanted to make the experiment setup as simple as possible - in some experiments, we only serve the homepage with a single hard-coded tweet. While this does not reflect a realistic scenario and thus is not indicative of our real application performance, we believe this controlled environment was the best to demonstrate the benefits of our scaling techniques.
Server-side caching
1. HTML caching
We used in-memory cache provided by Redis for server-side caching of raw HTML and database objects. The raw HTML was cached to allow the main application to serve a page without contacting any of the microservices, eliminating the HTTP latency. Specifically, the logged-in/logged-out homepage and logged-out user pages were cached. We foresee that Redis capacity can pose a problem for caching user-specific pages; therefore, we implemented a TTL of 60 seconds for the pages.
Note that we are relying on the TTL to evict the page and get the updated view. While this could be concerning if a user wishes to see fresh tweets right away, we decided that the user experience would not take a hit as long as the user sees their own tweets right away. Therefore, the choice of the pages to cache is justified: the user is unlikely to visit the logged-out homepage and their own logged-out user page after tweeting; the logged-in homepage for the user only displays the followees’ tweets, not the user’s tweets.
The performance benefits are clear - the average response time decreased by ~35%, and the number of successes increased by ~157%.
GET /
Maintain Client Load: 0-2000 clients
Before:
After:
2. Database object caching
We also cache database data on the microservice that is responsible for serving that object to the main application. Some of the data include user profiles and timelines, which is a list of tweets that the user sees on user pages and the homepage. Querying for the timelines on Postgres can be expensive; therefore, this is cached as a queue in Redis. When there is a new tweet, the oldest tweet would be evicted.
Client-side caching
We also employed client side caching of static assets such as CSS, images, etc. with a TTL of 2 hours.
Clustering
We increased the number of processes running on each dyno by increasing the Heroku configuration variable WEB_CONCURRENCY from the default value of 1 to 5. This helps us optimize dyno usage and allowed greater concurrency for our application. Our average response time decreased by ~40% and the number of successes increased by ~215%.
GET /
Maintain Client Load: 0-2000 clients
Before:
After:
Batch writes and Heroku scheduler
Writing to the database upon every tweet poses a fatal bottleneck for our application, considering tweets take up a large portion of our application data.
Initially, we would insert the tweet into the database and update the timeline caches appropriately; however, since the tweet will still be visible to users with the presence of the cache, the database update logic can be flexible. Therefore, we implemented a batch write service, which polls X number of tweets from the cache periodically and batch writes to the database. Note that this service only handles tweets but can be used for any type of data that requires a large number of writes. This service is hosted on Heroku and configured to run every minute using the Heroku scheduler.
It is possible that the we prematurely cache a tweet that does not conform to our database constraints (e.g. tweet content cannot be null), as we only perform sanity checking when inserting into the database. However, we decided that we should value high availability over correctness.
Models
We introduced indexes on our Postgres data models. Some notable ones include an index on the timestamp of creation for tweets and relationships, so the timeline and list of followers/followees can be efficiently ordered by timestamp upon retrieval.
Users contained columns for number of tweets, number of followers and number of followees. When a tweet or relationship was created or destroyed, the values in the corresponding row for the user would be adjusted accordingly. User info had to be generated at every user’s page, but instead of doing join tables while loading user data, the integer values of those counts were shown instead. When a follow was generated or destroyed, asynchronous communication pushed the follow request and count incrementation/decrementation and artificially adjusted the count on the user page through AJAX.
Asynchronous communication
Due to the asynchronous nature of Node JS, async calls are incredibly easy to make so that if, for example, two pieces of data can be pulled from the database or cache in parallel. However, it’s necessary to ensure that the appropriate promises or callbacks wait until completion to then progress to avoid race conditions.
Parallelizing and removing expensive packages
Whenever a client sends a request, their request is passed through a pipeline of middleware. They are merely functions that make changes to the request object before passing it to the routers.These functions can be expensive, slowing down the request-response cycle before even reaching the main application logic. Initially, we were executing these middleware sequentially, but we parallelized these calls using the Node async package. The average response time improved by ~53%, and the number of successes improved by ~190%.
We also found that Express sessions and Passport authentication middleware were bottlenecks for many applications. We decided to create a custom session management system using redis and manually setting browser cookies. This caused a lot of lost engineering time and refactoring, since the mechanics of authentication were completely abstracted by packages before; however, this gave us greater control over the data that we store in sessions.
GET /
Maintain Client Load: 0-2000 clients
Before:
After:
Design alternatives
MongoDB
Various Node JS tutorials suggest implementing MongoDB, a NoSQL store, as the database due to the general ease of implementation and various existing documentation. We went with Sequelize, a promise-based ORM, and its PostgresSQL dialect, due to the nature of the difficulty of joins between Tweets and Users, for example, in a document-oriented storage, and due to the structure of the project.
Multiple Dynos
One way that we could have improved performance is by using mulitple dynos to support more concurrency with our various requests. Throughout this semester and the final week when we ran the loader tests, we saw good performance for the team that used multiple dynos to balance the load of the applicaiton. However, one trade off with using multiple dyanos was that we would have to use multiple routes, define the setup for each dyno, and do a project for x number of dynos. In addition, since each dyno is located across a seperate server, we would have to consider whether or not to partition the database. Since there would be much more requests coming in that suceed, there would be a bottlneck from either fetching from redis or writing to the database.
Final performance
GET /
Maintain Client Load: 0-2000 clients
Before:
GET /user/testuser
Maintain Client Load: 0-2000 clients
After:
POST /tweet/new
Clients per test: 1000 clients
Future improvements
Fragmentation
The Sequelize ORM doesn’t support neither horizontal nor vertical fragmentation. In our app, due to the generally small-scale, it’s not so simple to know where to horizontally split due to lack of data. On the other hand, vertical fragmentation would have allowed for less costly joins depending on what data is fragmented and needed. If the ORM supported it or if there was a switch that one that allowed it, it would add another level of scalability.
RabbitMQ
With a structured message broker system like RabbitMQ, a middleman can be generated between services to reduce load and delivery times since this would perform these tasks as opposed to the app.
Links
Github Repo
Scalability Presentation on Node.js


|
Polycode
|
Global services singleton. More...
Inherits Polycode::EventDispatcher.
Public Member Functions | |
| Renderer * | getRenderer () |
| Returns the main renderer. More... | |
| void | setupBasicListeners () |
| Reloads the event listeners CoreServices configures as part of construction/setCore. More... | |
| Core * | getCore () |
| Returns the core. More... | |
| void | handleEvent (Event *event) |
| This method gets called by an EventDispatcher that the handler is listening to if the dispatching event's code matches the code that handler is listening for. More... | |
| void | installModule (PolycodeModule *module) |
| Installs a plugin module at runtime. More... | |
| MaterialManager * | getMaterialManager () |
| Returns the material manager. More... | |
| ScreenManager * | getScreenManager () |
| Returns the screen manager. More... | |
| SceneManager * | getSceneManager () |
| Returns the scene manager. More... | |
| TimerManager * | getTimerManager () |
| Returns the timer manager. More... | |
| TweenManager * | getTweenManager () |
| Returns the tween manager. More... | |
| ResourceManager * | getResourceManager () |
| Returns the resource manager. More... | |
| SoundManager * | getSoundManager () |
| Returns the sound manager. More... | |
| FontManager * | getFontManager () |
| Returns the font manager. More... | |
| Logger * | getLogger () |
| Returns the logger. More... | |
| Config * | getConfig () |
| Returns the config. More... | |
| Public Member Functions inherited from Polycode::EventDispatcher | |
| EventDispatcher () | |
| Default constructor. | |
| void | removeAllHandlers () |
| Removes all current event handlers from this dispatcher. | |
| void | removeAllHandlersForListener (EventHandler *handler) |
| Removes all current event handlers from this dispatcher for a specific event listener. More... | |
| void | addEventListener (EventHandler *handler, int eventCode) |
| Adds an event listener for a specific event code. More... | |
| void | removeEventListener (EventHandler *handler, int eventCode) |
| Removes a listener for a specific handler and event code. More... | |
| virtual void | dispatchEvent (Event *event, int eventCode) |
| Dispatches an event to all handlers listening for the event code specified. More... | |
| Public Member Functions inherited from Polycode::EventHandler | |
| EventHandler () | |
| Default constructor. | |
Static Public Member Functions | |
| static CoreServices * | getInstance () |
| Returns the singleton instance. More... | |
Global services singleton.
CoreServices instantiates and provides global Singleton access to all of the main manager classes in Polycode as well as the Renderer and Config classes.
| Config * CoreServices::getConfig | ( | ) |
| FontManager * CoreServices::getFontManager | ( | ) |
Returns the font manager.
The font manager is responsible for loading and managing fonts.
|
static |
Returns the singleton instance.
NOTE: The singleton instance is unique to each thread and currently Polycode does not support multithreaded access to the core services. The reason for this is being able to run multiple cores in the same application and still have global singleton access to these services.
| Logger * CoreServices::getLogger | ( | ) |
Returns the logger.
It can log messages and broadcast them to listeners.
| MaterialManager * CoreServices::getMaterialManager | ( | ) |
Returns the material manager.
The material manager is responsible for loading and managing textures, shaders and materials.
| Renderer * CoreServices::getRenderer | ( | ) |
| ResourceManager * CoreServices::getResourceManager | ( | ) |
Returns the resource manager.
The resource manager is responsible for loading and unloading resources.
| SceneManager * CoreServices::getSceneManager | ( | ) |
Returns the scene manager.
The screen manager is responsible for maintaining and rendering 3D scenes.
| ScreenManager * CoreServices::getScreenManager | ( | ) |
Returns the screen manager.
The screen manager is responsible for maintaining and rendering 2D screens.
| SoundManager * CoreServices::getSoundManager | ( | ) |
Returns the sound manager.
The sound manager is responsible for loading and playing sounds.
| TimerManager * CoreServices::getTimerManager | ( | ) |
Returns the timer manager.
The timer manager is responsible for updating timers in the framework.
| TweenManager * CoreServices::getTweenManager | ( | ) |
Returns the tween manager.
The tween manager is responsible for updating animated tweens in the framework.
|
virtual |
This method gets called by an EventDispatcher that the handler is listening to if the dispatching event's code matches the code that handler is listening for.
Typically, you subclass EventHandler and implement the handleEvent method to handle specific events.
Reimplemented from Polycode::EventHandler.
| void CoreServices::installModule | ( | PolycodeModule * | module | ) |
Installs a plugin module at runtime.
| module | Plugin module to install. See PolygonModule for more details on modules. |
| void CoreServices::setupBasicListeners | ( | ) |
Reloads the event listeners CoreServices configures as part of construction/setCore.
Useful if removeAllListeners is called on the core input object.


Filters
Order by
Episodes to watch
Next episode
Title
Genre
{{genre}}
Display :
Shows ended
Shows finish to see
add
menu
ScheduleTvShows
search
more_vert
Sign in
Profile
Sign out
About
Your TV Shows
Proposed shows
To night
arrow_back
arrow_back


Setting up your server's Anischedule feature!
This is an implementation of TehNut's work Anischedule. If you liked his work, you may contribute to him by going to the Anischedule P...
We got you covered! Select or search from the article below which you needed help with.
This is an implementation of TehNut's work Anischedule. If you liked his work, you may contribute to him by going to the Anischedule P...
XP (Experience Points) is a virtual point a user earns upon chatting on the server where this feature is enabled in and whose channel is not exclude...
Mai wants everyone to customize the bot to their own tastes, hence, Mai allows server administrator to add their own personal prefix...
Tired of your boring profile card whenever you take a look at it? Don't worry, customizing that one is way easier that you thought it w...
To use discord.js (Mai Bot uses Discord.js to interact with the Discord API), you'll need to install Node.js.  If you haven't tried anyth...
See those fancy messages from another server when a new member joins their server? Well yeah, no worries, with Mai Bot, you can have your...


CrimPapers
Articles published on 23 March 2020
On 23 March 2020, 5 new articles were published in 3 journals.
Sentinel Event Reviews in the Criminal Justice System: A Review of the Literature by Karen B. Friend, Mary Gordon, Bill Scarbrough, David Collins, Kyra Fritz, Sean Smoot, James Copple, Colleen Copple, Nola Joyce
Presidential Address: Examining Criminal Justice and Criminology Through the Lens of Intersectionality by Kiesha Warren-Gordon
Hesitant to Pull the Trigger: How the Perceived Impact of Guns on Campus Influences Support Or Opposition to Campus Carry Laws by Heidi L. Scherer, Jennifer McMahon-Howard, James T. McCafferty
Far-Right Violence As Backlash Against Gender Equality: A County-Level Analysis of Structural and Ideological Gender Inequality and Homicides Committed By Far-Right Extremists by Colleen E. Mills, Margaret Schmuhl, Joel A. Capellan
Forensic Interviewers’ Experiences of Interviewing Children of Different Ages by Mikaela Magnusson, Emelie Ernberg, Sara Landström, Lucy Akerhurst


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
C
F
G
I
M
S
T
V
S
setAccount(Account)
- Method in class com.capgemini.managecustaccount.entity.
Transaction
setAccountNumber(Long)
- Method in class com.capgemini.managecustaccount.DTO.
AccountDTO
setAccountNumber(Long)
- Method in class com.capgemini.managecustaccount.entity.
Account
setAccounts(List<Account>)
- Method in class com.capgemini.managecustaccount.entity.
Customer
setAccountType(String)
- Method in class com.capgemini.managecustaccount.DTO.
AccountDTO
setAccountType(String)
- Method in class com.capgemini.managecustaccount.entity.
Account
setActive(String)
- Method in class com.capgemini.managecustaccount.DTO.
AccountDTO
setAddress1(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setAddress2(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setAmount(double)
- Method in class com.capgemini.managecustaccount.DTO.
TransactionDTO
setAmount(double)
- Method in class com.capgemini.managecustaccount.entity.
Transaction
setBalance(double)
- Method in class com.capgemini.managecustaccount.DTO.
AccountDTO
setBalance(double)
- Method in class com.capgemini.managecustaccount.entity.
Account
setCity(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setContactId(Long)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setCountry(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setCreateDate(Date)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setCreatedDate(Date)
- Method in class com.capgemini.managecustaccount.entity.
Account
setCustomer(Customer)
- Method in class com.capgemini.managecustaccount.entity.
Account
setCustomerId(long)
- Method in class com.capgemini.managecustaccount.DTO.
CustomerDTO
setCustomerId(Long)
- Method in class com.capgemini.managecustaccount.entity.
Customer
setDate(Date)
- Method in class com.capgemini.managecustaccount.DTO.
TransactionDTO
setDate(Date)
- Method in class com.capgemini.managecustaccount.entity.
Transaction
setEmailId(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setHomePhone(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setMessage(String)
- Method in class com.capgemini.managecustaccount.controller.exception.
StandardError
setName(String)
- Method in class com.capgemini.managecustaccount.DTO.
CustomerDTO
setName(String)
- Method in class com.capgemini.managecustaccount.entity.
Customer
setState(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setStatus(Integer)
- Method in class com.capgemini.managecustaccount.controller.exception.
StandardError
setStatus(String)
- Method in class com.capgemini.managecustaccount.entity.
Account
setSurname(String)
- Method in class com.capgemini.managecustaccount.DTO.
CustomerDTO
setSurname(String)
- Method in class com.capgemini.managecustaccount.entity.
Customer
setTimeStamp(Long)
- Method in class com.capgemini.managecustaccount.controller.exception.
StandardError
setTransactionId(Long)
- Method in class com.capgemini.managecustaccount.DTO.
TransactionDTO
setTransactionId(Long)
- Method in class com.capgemini.managecustaccount.entity.
Transaction
setTransactions(List<Transaction>)
- Method in class com.capgemini.managecustaccount.entity.
Account
setTransactionType(String)
- Method in class com.capgemini.managecustaccount.DTO.
TransactionDTO
setTransactionType(String)
- Method in class com.capgemini.managecustaccount.entity.
Transaction
setUpdatedDate(Date)
- Method in class com.capgemini.managecustaccount.entity.
Account
setUpdatedDate(Date)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setWorkPhone(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
setZip(String)
- Method in class com.capgemini.managecustaccount.entity.
Contact
StandardError
- Class in
com.capgemini.managecustaccount.controller.exception
StandardError(Integer, String, Long)
- Constructor for class com.capgemini.managecustaccount.controller.exception.
StandardError
A
C
F
G
I
M
S
T
V
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes


As You Know, humans cannot breathe water, so drowning is both painful and frightening. Torturers will therefore sometimes use water as an instrument of torture.
There are three typical ways this is done:
- Ducking the victim in water, frequently ice water to increase the pain. This is common in live-action media since all it really requires of the actor being "tortured" is for him to hold his breath for a few seconds at a time and pretend to struggle.
- Waterboarding, made famous in the 2000s by the controversy over the Bush-era CIA's so-called "Enhanced Interrogation Techniques", involves pouring water over a cloth held over the face of the subject.
- The semi-legendary Chinese water torture involves restraining the victim and slowly dripping water onto them. This is reputed to drive the subject insane.
The obvious disadvantage of this method of torture is that it's more than possible for an inept torturer to accidentally kill the victim rather than make them talk.
See also Electric Torture for another common tool of torture. Compare Swirlie, which is a variant of the ducking method typically done by school bullies with a toilet. May overlap with Drowning Pit.
Examples:
- One Piece: in Momo's flashback in Dressrosa arc, he saw Doflamingo dunking one of his peons' head into a drum of water for failing him.
- Fist of the North Star: After battling Mad Sarge, Kenshiro struck a Pressure Point that forced Sarge to walk backwards and into a tank of water, where Ken submerged his head until Sarge gave up who was behind the forces of Godland. All this was eventually revealed to be a setup as even when the Sarge told, he was informed that he was already dead. Cue kaboom.
- Emael Mosekhesailho: When Sahuel is arrested by the Tal'Shiar for breaking into classified files, she's subjected to drugs, waterboarding, and Electric Torture in quick succession, while all the while her captors demand to know who she's spying for.
- Mass Effect: Murphy's Law: Sean, the main character, employs waterboarding during his interrogation of Lynda Embry as revenge for all the people she got killed aboard Aldrin Station earlier in the story.
- In Shrek, Lord Farquaad has the Gingerbread Man dunked in milk (in addition to dismemberment) to get him to talk.
- In A Clockwork Orange, there's a scene in which Alex gets arrested by two police officers (who used to be his fellow partners-in-crime, and they still behave like criminals).
- The Expendables has a brief scene of Munroe waterboarding Girl of the Week Sandra.
- James Bond films:
- Diamonds Are Forever: After Bambi and Thumper throw Bond into a pool and dive in after him, he turns the tables on them and holds their heads underwater until Thumper shows him where Willard Whyte is being held.
- The Teaser of Die Another Day closes on the North Koreans ducking Bond in ice water to make him talk, which blends into the opening credits.
- The Groundstar Conspiracy: The protagonist (who has lost his memory) is captured by the villains and tortured by strapping him to a board and dunking his head under water. The villains are trying to force him to regain his memory so they can obtain vital information from him. One wonders why they didn't just hit him over the head.
- The Long Kiss Goodnight: Samantha is strapped to a water wheel and repeatedly submerged into freezing cold water by the villain in an attempt to gain information from her.
- In RocknRolla, London Gangster Lenny Cole likes to torment people he's questioning by dunking them underwater with voracious crayfish for a minute at a time or more.
- In Iron Man, when Tony Stark is abducted by terrorists who want access to his weapons technology, one of the methods of persuasion they use is ducking his head in water. It's a bit more dangerous here because Tony has an electromagnet in his chest powered by a car battery at the time.
- In Captain America: Civil War, Zemo has captured a Hydra agent and is preparing to torture him.  If the guy talks, Zemo will pull his head above the water level but otherwise will let the guy struggle to to stop himself from drowning. The trope is subverted before the torture can even begin because the Hydra agent yells a final "Hail Hydra" and deliberately lets himself drown.
 This is especially bad for Langdon, since he also has severe claustrophobia.
- The Crowner John Mysteries: In Crowner's Quest, John extracts the information he needs from a squire by having Gwyn repeatedly dunk his head in a frozen horse trough, holding his head under slightly longer each time until he talks.
- Travis McGee novel The Long Lavender Look: After Travis captures the villainess Lilo Perris, ties her up and leaves her unattended, she is interrogated for information offscreen (by putting her head in a bucket of water) and drowned after she gives up the desired information.
- In Shards of Honor, Cordelia repeatedly dunks the head of her psychologist (who wants to force her into a rather severe treatment program) into the aquarium in order to find out how many guards she had brought.
- "The Drink" is a form of torture in Beka Cooper. Beka mentions that she nearly quit after having a mild form demonstrated on her, and only stayed when reassured that you had to volunteer to be a Cage Dog (the ones who administer torture during interrogations).
- In Requiem for an Assassin, rogue CIA agent Jim Hilger waterboards Dox for information on how to contact John Rain. Though Dox had been trained to resist torture including waterboarding, it only takes minutes to break him.
- In 3%, Ezequiel, the leader of The Process, has this kind of torture as his favorite, using a Drowning Pit to torture members of The Cause and even diving his head in a overflowing sink to punish himself.
- Arrow: One of the Season 3 episodes features a flashback to Oliver's time in Hong Kong. After a mission goes badly wrong, Amanda Waller captures Oliver and has him tortured by waterboarding for the Yamashiro family's location. Ollie endures ten minutes without talking, but gives in when Waller threatens to have Thea killed. Turns out Maseo told Ollie the wrong location just in case, but turned himself in anyway rather than let Ollie suffer alone.
- An episode of Batman (1966) has King Tut capture our hero and subject him to a sand-based version of Chinese water torture. Bats keeps his sanity by reciting the multiplication tables backwards in his head, which gives him something to focus on.
- An early episode of Battlestar Galactica (2003) has a pair of guards hold a skin-job Cylon's head in a bucket of water until he starts to drown, pull him out, question him, rinse and repeat.
- In another episode Starbuck interrogates a Cylon prisoner who claims to have planted a nuke in the fleet. When talking and beating on him don't work, she tries having them duck him in a bucket of water. President Roslin instead asks nicely and he admits there was never a bomb to begin with, he was just trying to stall for time so they wouldn't kill him.
- On The Blacklist, Luthor Braxton has Agent Keen waterboarded in order to get the location of The Fulcrum from her. He continues even after discovering she does not remember anything. It's an especially painful scene to watch as you can hear her drowning in the background.
- Buffy the Vampire Slayer: During Spike's quest to get a soul his head is held underwater. It was supposed to be holy water but they forgot to add the sizzle sound effect so it looks like he's being drowned - except vampires don't breathe so they can't drown.
- Castle:
- In "Knockdown", assassin Hal Lockwood captures Ryan and Esposito and ducks Ryan in ice water while Esposito is Forced to Watch. It's incredibly ineffective: Ryan snarks that they used to do this to him in Catholic school for talking in class, while Esposito tells Lockwood:
"Listen to me, you're too late. The cops already know all about me and your mom."
- In "In the Belly of the Beast", an undercover Beckett is outed as a cop by drug kingpin Vulcan Simmons and tortured for information by ducking.
- In "Knockdown", assassin Hal Lockwood captures Ryan and Esposito and ducks Ryan in ice water while Esposito is Forced to Watch. It's incredibly ineffective: Ryan snarks that they used to do this to him in Catholic school for talking in class, while Esposito tells Lockwood:
- Game of Thrones: In the season 6 finale, Cersei tortures Septa Unella by pouring wine on her face as she is strapped to a table.
- It's Always Sunny in Philadelphia: "The Gang Solves the Gas Crisis" has Frank waterboarding Dee with a urinal.
- Macgyver 2016: A variation in Can Opener, where Mac has to infiltrate a cartel but is found out. The cartel boss has him tortured by forcing him to breathe pure nitrogen, which he explicitly compares to waterboarding. Which begs the question why he doesn't just waterboard Mac, or use literally any form of torture that doesn't involve a massive gas tank in kicking distance.
- The Mentalist: In Orange Blossom Ice Cream, Jane poses as a prospective courier for an arms dealer, ferrying a message of co-ordinates coded as a long series of numbers. To Jane's distress, the dealer tests whether Jane can perform the task by having him repeatedly partially-drowned in a bathtub, with someone shouting random words at him in between dunkings. Afterwards, he's able to recite the words in the correct order, and gets the job. The dealer mentions having tested others in the same way, all of whom failed. It's not mentioned what happened to them afterwards.
- MythBusters tested the Chinese water torture in one episode, restraining and racking Kari while leaving Adam unrestrained as a control subject. After an hour or so, poor Kari was so rattled the team called a halt early; they declared it plausible and too dangerous to go for full confirmation.
- Spooks:
- The introductory episode of the Nebulous Evil Organization Yalta has one of their moles in French intelligence use the Chinese water torture on Ros: she's tied to a frame in a dark room with water dripping onto her forehead as she's questioned. She resists it.
- The series 7 premiere had Lucas North get waterboarded. Kudos stated to the Daily Mail that they really did waterboard actor Richard Armitage during the scene for authenticity's sake; for his part Armitage said he wasn't pretending to be screaming for them to stop.
- Strike Back's Col. Alexander Coltrane has an underling invoke this on Russian Double Agent Katrina Zarkova in order to find out who she's working for.
- The Warehouse 13 episode "The 40th Floor" has the medal from Shirō Ishii's coat, which can simulate drowning in a manner similar to waterboarding.
- Wiseguy. The Mafia suspects the feds have an undercover agent in their organization, so Frank McPike is kidnapped and tortured to make him give up the name, including dunking his head in water. His response? "That's OK, I've got a drip-dry suit."
- In the 2010 Syfy adaptation of Riverworld, Matt Ellman gets waterboarded without the board, by an Ethereal using his powers.
- The 4400: In "The New World", NSA Agent Wood waterboards Gary Navarro in order to determine what he knows about the Nova Group and what it is planning for October 19.
- Grand Theft Auto V: In the mission "By The Book", this is one of the four tortures the player can choose for Trevor to use on Ferdinand Kerimov. If chosen, Trevor flips over the chair that Ferdinant is strapped to, puts a cloth over his face, and pours water onto it.
- One episode of Archer has Archer arguing with Lana and Slater over whether or not waterboarding is really that bad, Archer having managed to avoid the agency's mandatory waterboarding tests because he was at the barber that day. Lana and Slater finally goad him into undergoing waterboarding, and after the off screen torture takes place, Archer is shaken to the point of stuttering and shaking, he's visibly been crying, and readily admits that it was the absolute worst thing he's ever experienced.
- The first episode of Ed, Edd n Eddy has Eddy perform Chinese water torture on Plank with a squirt gun. Plank's partner Jonny is the one who cracks, because the sight of the water made him have a Potty Emergency.
- The Super Mario Bros Super Show!: In "Count Koopula", the heroes are captured and locked in a dungeon. Mario is strapped down with his face under a running faucet. Toad manages to escape his own trap and free the others.


Engine Services
AVOID COSTLY REPAIRS WITH PREVENTATIVE MAINTENANCE
One of the most costly repairs in the automotive industry is engine replacement. Fortunately,
with proper routine maintenance, you can usually avoid this expensive problem and maintain a functioning
engine. At House of Cars Automotive,
our experienced technicians take the health of your engine very
seriously, in an attempt to thwart future engine malfunctions and the need for replacement.
The most important benefit we offer our customers is our partnership.
We treat each vehicle we service like it’s our own, and become your trusted partner in automotive care.
Our guests are informed of the repair process every step of the way with thorough and transparent explanations from our Service Team.
Plus, we will never do anything to your vehicle without your consent, and we won’t recommend unnecessary service or repairs.
If you’re experiencing an oil leak or any other sign of an engine problem, don’t hesitate. Bring your car or truck to your local House OF Cars Automotive today. Our expert automotive technicians will service the issue and get you back on the road again as soon as possible.
The Common Problem
Your engine is truly a feat of manufacturing and is made of hundreds of high-temperature moving parts and
electrical systems alongside complex mechanical components.
It’s easy to pay no mind to your engine, but it
is what allows you to get from point A to point B reliably–which is precisely why you shouldn’t ignore the
upkeep and maintenance of your engine.
Pro Tip: The most common sign of an engine in need of service is an oil leak. If you notice oil leaking
underneath your car, it’s best to bring it in for service immediately.
Typically oil leaks are the result of
neglected maintenance, as seals become hardened and dry and can no longer protect against fluid loss.
When it comes to engine service, the most common long-term maintenance we perform is replacing the timing components. In simple terms, your timing system ensures that your engine’s valves open and close at the right time. Over time, these components wear down or begin to fail.
Timing Belts / Chains
When it comes to engine service, the most common long-term maintenance we perform is replacing the timing components.
In simple terms, your timing system ensures that your engine’s valves open and close at the right time.
Over time, these components wear down or begin to fail.
In simple terms, your timing system ensures that your engine’s valves open and close at the right time.


This code demonstrates the exact method used to choose random hexagrams at deoxy.org. It strives to emulate the 3 coin toss as simply as
possible. This short Perl program is available as a large shell app for Win32 (bloated to 673k because it includes Perl): iching.exe
#!/usr/bin/perl
# method for generating random i ching hexagrams at http://deoxy.org/iching
# define the lines
%lines = (
6 => '-- x --', # yin changing to yang
7 => '-------', # yang
8 => '-- --', # yin
9 => '---o---', # yang changing to yin
);
# define the coin
@coin = qw(2 3);
# toss 3 coins 6 times
for (1..6) {
$a = @coin[rand @coin];
$b = @coin[rand @coin];
$c = @coin[rand @coin];
# add the results
$line = $a + $b + $c;
# put result in a list, bottom line first
push @lines, $line;
}
# reverse the list so top line is first and print each line
print "$lines{$_}\n" for reverse @lines;
Ok


In mathematics, the Fibonacci numbers (named after mathematician Fibonacci) are the numbers in the following integer sequence, called the Fibonacci sequence, and characterized by the fact that every number after the first two is the sum of the two preceding ones:
...


Form Elements Default elements for forms
Full documentation for forms here.
Input
Types
Most common form control, text-based input fields. Includes support for all HTML5 types: text
, password
, datetime
, datetime-local
, date
, month
, time
, week
, number
, email
, url
, search
, tel
, and color
.
Input
Select menu
Custom <select>
menus need only a custom class, .custom-select
to trigger the custom styles.
Checkboxes and radios
Input
Sizes
Set heights using classes like .input-lg
, and set widths using grid column classes like .col-lg-*
.
Input Group Easily extend form controls by adding text, buttons, or button groups on either side of textual inputs, custom selects, and custom file inputs
Basic Example
Horizontal form
Inline Form
Use the .form-inline
class to display a series of labels, form controls, and buttons on a single horizontal row. Form controls within inline forms vary slightly from their default states. Controls only appear inline in viewports that are at least 576px wide to account for narrow viewports on mobile devices.


Three useful calculators packed into ONE app!
Sales Tax Calculator
Tip Calculator
Discount Calculator
About Calcu Pack
Sales
Tip
Discount
Sales Tax
Price :
State:
Select State
Alabama - 4.00%
Alaska - 0.00%
Arizona - 6.6%
Arkansas - 6.00%
California - 6.25%
Colorado - 2.90%
Connecticut - 6.35%
Delaware - 0.00%
Florida - 6.00%
Georgia - 4.0%
Hawaii - 4.0%
Idaho - 6.0%
Illinois - 6.25%
Indiana - 7.0%
Iowa - 6.0%
Kansas - 6.30%
Kentucky - 6.0%
Louisiana - 4.0%
Maine - 5.0%
Maryland - 6.0%
Massachusetts - 6.25%
Michigan - 6.0%
Minnesota - 6.875%
Mississippi - 7.0%
Missouri - 4.225%
Montana - 0.00%
Nebraska - 5.50%
Nevada - 6.85%
New Hampshire - 0.00%
New Jersey - 7.0%
New Mexico - 5.125%
New York - 4.0%
North Carolina - 4.75%
North Dakota - 5.0%
Ohio - 5.50%
Oklahoma - 4.50%
Oregon - 0.00%
Pennsylvania - 6.0%
Rhode Island - 7.0%
South Carolina - 6.0%
South Dakota - 4.0%
Tennessee - 7.0%
Texas - 6.25%
Utah - 4.70%
Virginia - 4.0%
Washington - 6.50%
West Virginia - 6.0%
Wisconsin - 5.0%
Wyoming - 4.0%
Sales Tax %:
Calculate
Tip
Discount
Home
Sales Tax
Ok
Tip Calculator
Bill Amount:
Gratuity:
Make Selection
10%
11%
12%
13%
14%
15%
16%
17%
18%
19%
20%
21%
22%
23%
24%
25%
26%
27%
28%
29%
30%
People:
1
2
3
4
5
6
7
8
Calculate
Sales
Discount
Home
Tip Stats
Ok
Error
This entry is not a number or fields are not complete!
-Only enter numbers.
-No letters or characters.
-Fill in both fields
Ok
About
Written by: Drew D. Lenhart
Version:
1.1.0
Support:
Special thanks to:
WebDesign&Such
For their tutorial on making steel backgrounds!
Home
Discount Tax
Select Discount
5%
10%
15%
20%
25%
30%
35%
40%
45%
50%
55%
60%
65%
70%
75%
80%
85%
90%
95%
Original Price:
Select State
Alabama - 4.00%
Alaska - 0.00%
Arizona - 6.6%
Arkansas - 6.00%
California - 6.25%
Colorado - 2.90%
Connecticut - 6.35%
Delaware - 0.00%
Florida - 6.00%
Georgia - 4.0%
Hawaii - 4.0%
Idaho - 6.0%
Illinois - 6.25%
Indiana - 7.0%
Iowa - 6.0%
Kansas - 6.30%
Kentucky - 6.0%
Louisiana - 4.0%
Maine - 5.0%
Maryland - 6.0%
Massachusetts - 6.25%
Michigan - 6.0%
Minnesota - 6.875%
Mississippi - 7.0%
Missouri - 4.225%
Montana - 0.00%
Nebraska - 5.50%
Nevada - 6.85%
New Hampshire - 0.00%
New Jersey - 7.0%
New Mexico - 5.125%
New York - 4.0%
North Carolina - 4.75%
North Dakota - 5.0%
Ohio - 5.50%
Oklahoma - 4.50%
Oregon - 0.00%
Pennsylvania - 6.0%
Rhode Island - 7.0%
South Carolina - 6.0%
South Dakota - 4.0%
Tennessee - 7.0%
Texas - 6.25%
Utah - 4.70%
Virginia - 4.0%
Washington - 6.50%
West Virginia - 6.0%
Wisconsin - 5.0%
Wyoming - 4.0%
Sales Tax %:
Calculate
Sales
Tip
Home
Discount Stats
Exit


| Start date | End date | Time spent (h) | Rate ({{ currency }}/h) | Cost ({{ currency }}) |
|---|---|---|---|---|
| {{ start.strftime('%Y-%m-%d') }} | {{ end.strftime('%Y-%m-%d') }} | {{ '{:,.2f}'.format(time) }} | {{ '{:,.2f}'.format(rate).replace('inf', 'base fee') }} | {{ '{:,.2f}'.format(cost) }} |
| {{ '{:,.2f}'.format(total_cost) }} |
Please pay the total service cost above by the due date above by direct deposit into my bank account at {{ sender }}, {{ sender_bank_name }}, {{ sender_bank_account }}, reference {{ invoice_code }}. Overdue balances will be charged an additional 0.5% per day.
If you have any questions, feel free to email me at {{ sender_email }}.


Throughout the decades, digital logic has been a required course for a majority of engineering majors here at NAU. Because of this, an project was created to help students understand digital logic concepts at an early part of their college career so that they could progress further in their professional field. This project would eventually be implemented in an Intro to Digital Logic course, but unfortunately problems occured.
Since this Digital Logic Self - Study Tool Kit was originally an applet embedded in a web page, it currently will not work.
DigiTool Inc. is proposing a cutting edge online tutoring website that will help students understand difficult concepts that they are struggling with in class. Concepts such as Karnaugh maps, numeric conversions ( decimal, binary, hexadecimal ), circuits, etc. will be implemented in an interactive and fun way so that students can not only learn these concepts, but enjoy it as well. DigiTool Inc. hopes to reduce the number of students that find various concepts difficult, while encouraging them to practice content through our website.


Sitefinity
The constructor of the Sitefinity JavaScript SDK. This is the entry point for the SDK.
{Object} authentication - The authentication object used for authenticating to Sitefinity. See Authentication
An object containing configuration options for the Setup object.
Your service url that points to the configured instance of Sitefinity service.
The ID of the site, for which the query will be executed.
The global handlers for request execution
The success handler.
The failure handler.
Creates a new BatchRequest class. OData batch requests -> http://docs.oasis-open.org/odata/odata/v4.0/os/part1-protocol/odata-v4.0-os-part1-protocol.html#_Toc372793748
var sf = new Sitefinity({ serviceUrl: 'http://mydomain/route/service/' });
var batch = sf.batch(successCbBatch, failureCb); batch.get({ entitySet: entitySet, query: query8 });
var transaction = batch.beginTransaction(); var createId = transaction.create({ entitySet: entitySet, data: newsItem });
batch.endTransaction(transaction);
var transaction2 = batch.beginTransaction(); var createId2 = transaction2.create({ entitySet: entitySet, data: newsItem });
var updateId2 = transaction2.update({ entitySet: entitySet, key: createId2, data: newsItemUpdate });
batch.endTransaction(transaction2);
batch.get({ entitySet: entitySet });
batch.execute();
The success callback of the batch execution.
Creates a new Data class.
var data = sf.data({ urlName: "newsitems", providerName: "OpenAccessDataProvider", cultureName: "en" });
Generated using TypeDoc
Sitefinity
The constructor of the Sitefinity JavaScript SDK. This is the entry point for the SDK.
{Object} authentication - The authentication object used for authenticating to Sitefinity. See Authentication
An object containing configuration options for the Setup object.
Your service url that points to the configured instance of Sitefinity service.
The ID of the site, for which the query will be executed.
The global handlers for request execution
The success handler.
The failure handler.


Info
Welcome to the generated API reference. Get Postman Collection
general
Store a newly created resource in storage.
Example request:
curl -X POST \
"http://localhost/api/ensg/add" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/ensg/add"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/ensg/add
Store a newly created resource in storage.
Example request:
curl -X POST \
"http://localhost/api/etudiant/add" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/etudiant/add"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/etudiant/add
Store a newly created resource in storage.
Example request:
curl -X POST \
"http://localhost/api/note" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/note"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/note
api/notes
Example request:
curl -X POST \
"http://localhost/api/notes" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/notes"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/notes
Show the application's login form.
Example request:
curl -X GET \
-G "http://localhost/api/admin/login" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/admin/login"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET api/admin/login
Handle a login request to the application.
Example request:
curl -X POST \
"http://localhost/api/admin/login" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/admin/login"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/admin/login
api/admin/home
Example request:
curl -X GET \
-G "http://localhost/api/admin/home" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/admin/home"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (401):
{
"message": "Unauthenticated."
}
HTTP Request
GET api/admin/home
api/SauvEtud
Example request:
curl -X POST \
"http://localhost/api/SauvEtud" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/SauvEtud"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/SauvEtud
api/ajouteretud
Example request:
curl -X GET \
-G "http://localhost/api/ajouteretud" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/ajouteretud"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET api/ajouteretud
api/Sauvprof
Example request:
curl -X POST \
"http://localhost/api/Sauvprof" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/Sauvprof"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST api/Sauvprof
api/ajouterprof
Example request:
curl -X GET \
-G "http://localhost/api/ajouterprof" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/api/ajouterprof"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET api/ajouterprof
Show the application dashboard.
Example request:
curl -X GET \
-G "http://localhost/home" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/home"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
GET home
deconnexion
Example request:
curl -X GET \
-G "http://localhost/deconnexion" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost/deconnexion"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET deconnexion


Software Team
The software team are responsible for building the message passing system that will be used to communicate between the individual nodes of the system. This is done without a central processing node and the design allows for the system to continue working even in the result of connections between nodes failing.
| Forname | Surname | Leaders Of |
|---|---|---|
| David | Dunphy | Overall Software Team and Message Passing Team |
| Andrew | Fagan | Resource Discovery Team |
| Paul | Bryden | Message Specification Team |
The resource discovery team's role is to deal with the initial start up of the system. Their code allows each individual node to know what data is available on the network, how many node away the data is and what serial port on the microcontroller to use to get it.
The message specification team are responsible for setting up and maintaining the specification of what is contained in a packet and a message. In addition they are responsible for the code which both creates these packets for sending and for unpacking them when a node receives them.
The message passing and queueing team are responsible for the code that is used when a node receives a message. The aim is that the node can check whether it is for itself or not and whether it is part of a larger message. It stores the packets in a buffer until the full message is received then passes them to a message queue to be executed.
| Forename | Surname | Subteam |
|---|---|---|
| David | Dunphy | Message Passing and Queueing |
| Kyle | Miller | Message Passing and Queueing |
| Gary | Rea | Message Passing and Queueing |
| Paul | Bryden | Message Specification |
| Jack | Moore | Message Specification |
| David | Pocock | Message Specification |
| Andrew | Fagan | Resource Discovery |
| Peter | De Jonckheere | Resource Discovery |