{{ site.description }}
http://orcid.org/0000-0002-5528-0412
Postdoctoral fellow at University of Basel
Department of Environmental Sciences
Switzerland
- hydrogeology
- geophysics (ground-penetrating radar)
- uncertainty quantification
- sedimentology & morphology of
coarse, braided river systems
Github
Google Scholar
ResearchGate
LinkedIn
Publons
Mendeley
Scopus
ResearcherID
University of Basel


quicktools / com.rzahr.quicktools.views / QuickDotProgressBarView / changeAnimationDirection
changeAnimationDirection
open fun changeAnimationDirection(animationDirection: Int): Unit
Change animation direction, doesn't restart view.
Parameters
animationDirection
- left or right animation direction


Building Apps for BB10
Using jQuery Mobile, and Backbone.js
Presented by @jcreamer898
Best Part???
It's all HTML5, JavaScript, and CSS
Which means instead of being like...
You can be all like...
MV*
MVC, MVVM, MVP...
Architectural Pattern
Promotes SOC and SRP
Makes code testable
Organizes code
Knockout, Backbone, Ember, Spine...
Allows you to make changes in one part of the app without breaking another because the code is not tightly coupled. Scalable.
Backbone.js
An MVCish framework with many great features for building applications.
Models and collections for data
Views for DOM elements
Routers for state management
Used to be called "MVC", but not really as Derick Bailey says.
Backbone.Model
Represents data
get
and set
attributes
Rest functions, fetch
, save
, destroy
Validation
Manages changes
Backbone.Model
var Contact = Backbone.Model.extend({
initialize: function() {
// Do something to initialize the model if needed.
},
url: "contact"
});
var jim = new Contact({
name: "Jim Halpert",
position: "sales"
});
jim.get( "position" );
jim.set( "married", true );
jim.fetch();
Everything in Backbone is created with extend. Extend creates a new constructor function by passing in functions. Then
the things you extended can also be extended.
Backbone.Events
Mixin so certain objects can listen for and emit events
On, Off, Trigger
jim.on( "change:position", function() {
console.log( "w00t! Jim got promoted" );
});
jim.set( "position", "manager" ); // calls trigger
Backbone.Collection
A collection of models specified by model
Has a fetch
Underscore.js extension methods
Each, filter, map, reduce, all, any, shuffle, etc.
Backbone.Collection
var Contacts = Backbone.Collection.extend({
model: Contact,
url: "contacts"
});
var sales = new Contacts();
sales.add( jim );
sales.each(function( model ) {
console.log( model.get( "name" ) );
});
Backbone.View
Groups DOM elements
Helps divide up UI
Delegates events
Render convention
Backbone.View
var Home = Backbone.View.extend({
events: {
"click button": "onClickButton"
},
el: "#someElement",
initialize: function() {
this.collection.on( "add", this.render, this );
},
render: function() {
console.log( "something added" );
},
onClickButton: function( event ) {
this.collection.add({
name: "New Employee",
position: "sales"
});
}
});
var home = new Home({
collection: new Contacts();
});
Backbone.Router
Responds to changes in the url
Backbone.history; can use pushstate
Fires functions based on routes.
Backbone.Router
var Router = Backbone.Router.extend({
routes: {
"": "home",
"create": "create",
"edit/:id": "edit
},
home: function() {},
create: function() {},
edit: function( id ) {}
});
To learn more, backbonejs.org and the annotated source.
App
Backbone.js renders the markup
Index.html manages dependencies
main.js and the App object
Disable jQuery mobile's routing system
Manually call $.mobile.changePage
Use views to render jQuery Mobile markup
Show app running first.
index.html, jqmconfig.js, main.js, routers/home.js, rendor.js, views/home/index.js
Show generated source code
Gives direct control over how things render
Show templates if there's time
Mockjax, mockjson, anvil?
Demo app will be available, boilerplate, white paper.


Notices
-
The earliest time a seminar room could be reserved is 4 hours prior to start time. If you reserve seminar rooms in weekends or change reservations in weekends please be kind enough to inform EEU first.
-
Please check the availability of required software in the workstations in the reserved lab prior to your first lab session.
-
For software related inquiries/assistance please contact Ms. Asanka(3483) or Mr. Samantha(3487).
Procedure
1. Online request
Apply Seminar Room facilities through the Online Booking System, then EEU will grant the request required.
If you do not have an account, please register with the following link. once registered the Director EEU will activate your account within 48hours.
Click Here to Register an Online Account
2. Paper based request
Fill the form(click here to download the form), sign and submit to EEU.
Condition:Need to apply before a day, So that EEU can make sure that support staff and facilities available at on time.
3. The seminar rooms are allocated according to the following priority order
a) International meetings, conferences organised by the Faculty.
b) Domestic meetings, conference organised by the Faculty.
c) Internal meetings, seminars organised by the Faculty.
d) Regular lectures of the Faculty.
e) Meetings, lectures organised by the outsiders of the Faculty.
Therefore if there is a higher priority request is made for the time slot you have booked, EEU would request you to move to an alternative location. EEU will make all efforts to provide a suitable location.
If you are booking seminar rooms for regular lectures please make sure to inform AR office to avoid double booking so that the lecture room allocated to you in the time table is freed.
If you do not need a reservation, please make sure to delete the reservation immediately so that fellow staff members are allowed to reserve it.
Booking EOE
Procedure,
1. Paper based request
Fill the form(click here to download the form).
Submit it to the Assistant Registrar office.
After receiving the approval of Assistant Registrar and Dean of the faculty do the payment(if there is any).
Then EEU will grant the approved facilities.
Important notifications for paper based reservations !
- Seminar rooms can be reserved only for a month ahead.
- Reservations slips should be signed by an academic staff member of the faculty.
- Reservations are confirmed only after the reservation form is given to the EEU.
- All the services are provided under the approval of the Director.
- Please make your reservation at least one day prior to the day you need it.


This is a "hello world" to check that csv2rdf4lod-automation is correctly configured.
We curate data at the site: http://logd.tw.rpi.edu An organization identifiable as scraperwiki-com provides a dataset known as: 2009 National Healthcare Quality and Disparities Reports (or) uk-offshore-oil-wells And will be concretized as version: 2011-Jan-24 Using the following data files: http://scraperwiki.com/scrapers/export/uk-offshore-oil-wells/


{#- boilerplate/recent.html ~~~~~~~~~~~~~~~~~~~~~~~ Sidebar list of recent posts. :copyright: Copyright 2011-2014 by Vlad Riscutia and contributors (see CONTRIBUTORS file) :license: FreeBSD, see LICENSE file -#} {%- set recent_count = recent_count is not defined and 10 or recent_count -%}


Bsmillahir Rahmaanir Raheem, Assalam Alaikum, Wasalaam toyou,and how are you doing?. My intention of contacting you is to solicit your assistance for a project, which will be mutually beneficial. Though I know my decision to contact you is to a large extent unconventional, the prevailing circumstances necessitated my action. I am Muayed Abdul Faisal. I am son to Late Mallam Mustafa Abdul Faisal of blessed memory was an oil explorer in Libya and Kuwait for twelve years before hedied in the year 2000. He died after a brief illness that lasted for only four days. Before his death we were both devoted Muslims. Since his death I too have been battling with both Cancer problems.When my late Father was alive he made a huge deposit in millions of US dollars with a Deposit Company in oversea. (I will tell you the amount as we proceed).  Though what disturbs me most is my stroke sickness. Having known mycondition I decided to donate this fund to either a Muslim organization or devoted Muslim individual that will utilize this money the way I am going to instruct herein. My parents died at a tender age and i was brought up in the orphanage through the help of a devouted muslim.I want this Muslim organization or individual to use this money in all sincerity to fund mosques, orphanages, widows, and also propagatingthe word of ALLAH and to ensure that the society upholds the views and belief of the Holy Quran. The Holy Quran emphasizes so much on ALLAH'S benevolence and thishas encouraged me to take the bold step. I took this decision because I don't have any child that will inherit this money and my relatives are into some radical Organizations and I don't want a situation where this money will be used in an Unholy manner. Hence the reasons for this bold decision, I know that after death I will be with ALLAH the most beneficent andthe most merciful. I don't need any telephone communication in this regard because of my health, because of the presence of my relatives around me always. I don't want them to know about this development. With ALLAH all things are possible. As soon as I receive your reply I shall give you the contact information of the Deposit Company in oversea where the money was deposited. I will also issue a letter ofauthority to the Deposit Company authorizing them that the said fund have being willed to you and a copy of such authorization will be forwarded to you. I want you and theMuslim community where you reside to always pray for me. My happiness is that I lived a true devoted Muslims worthy of emulation, Whoever that wants to serve ALLAH must serve him in truth and in fairness. I will not stipulate any precise amount to reward you, as it will have to be on pre-negotiated terms, based on your level of involvement. Please always beprayerful all through your life. Any delay in your reply will give room in sourcing for a Muslim organization or a devoted Muslim for this same purpose. Until I hear from you by email, my dreams will rest squarely on your Shoulders. May the Almighty ALLAH continue to guide and protect you. Wasalaam Muayed Abdul Faisal,


From:Botello To:Geaccone Sent:2017-01-11T04:36:49.0000000Z Subject:FW: 2002 Plan Allocations from ENA to Other Business Units
Here is the reply from Edie on the question of the additional 100,000 in the 2002 Wholesale budget to ETS.
-----Original Message-----
From: Leschber, Edie
Sent: Wednesday, October 24, 2001 2:52 PM
To: Botello, Mary
Subject: RE: 2002 Plan Allocations from ENA to Other Business Units
eSource is based on your current year usage as a percentage of total current year usage. The amount is simply a guideline and charges will only be incurred if you use eSource in 2002.
The additional amount for IT Infrastructure relates to a passthrough to Other Business Units of Infrastructure charges allocated to ENA from ENW. The basis for this is a calculation of FTE's based on 2002 Planned allocations from ENA support departments to your business unit. You are then charged a % of that support department's Infrastructure charges applicable to the FTE's.
Please let me know if you have any further questions.
Thanks,
Edie
-----Original Message-----
From: Botello, Mary
Sent: Wednesday, October 24, 2001 1:29 PM
To: Leschber, Edie
Subject: FW: 2002 Plan Allocations from ENA to Other Business Units
Edie,
Can you give us more information on these additional costs. What is the "esource" and why the additional expense for the IT Infrastructure? Thank you.
Mary
-----Original Message-----
From: Geaccone, Tracy
Sent: Tuesday, October 23, 2001 5:46 PM
To: Botello, Mary
Subject: FW: 2002 Plan Allocations from ENA to Other Business Units
-----Original Message-----
From:
Sent: Tuesday, October 23, 2001 5:13 PM
To: West, Terry; Smith, Jeff E.; Talley, Darin; Cockrell, Rainier; Galvan, Michael S.; Spoede, Amy; Smith, Kirk; Vargas, Hope; Ruffer, Mary lynne; Roquemore, Tobey; Massey, Rachel; Moryl, Heidi; Wood, Stephen; Copeland, Erin; Tran, Agatha; Pierce, Jody; Free, Darryl S.; Geaccone, Tracy; Helton, Susan
Cc: Killen, Faith
Subject: 2002 Plan Allocations from ENA to Other Business Units
Attached, please find an updated allocations schedule which now reflects in a separate line the planned IT Infrastructure Allocation related to each support department that will be passed on to each Business Unit from ENA for 2002.
<< File: EA Allocations to Other BUs-10.22.01.xls >>
Also attached is related support:
<< File: Infrastructure Allocation BU's 10_22_01.xls >>
Thanks,
Edie
***********
EDRM Enron Email Data Set has been produced in EML, PST and NSF format by ZL Technologies, Inc. This Data Set is licensed under a Creative Commons Attribution 3.0 United States License <http://creativecommons.org/licenses/by/3.0/us/> . To provide attribution, please cite to "ZL Technologies, Inc. (http://www.zlti.com)."
***********
California


A B C D E F G H L M P R S T U X Y misc
| ancestry | Modal ancestry by County according to US 2000 Census |
| as.layer | Overlay panels of Trellis plots on same or different scales |
| as.layer.layer | Overlay panels of Trellis plots on same or different scales |
| as.layer.trellis | Overlay panels of Trellis plots on same or different scales |
| asTheEconomist | Generate plots with style like The Economist. |
| axis.grid | A ggplot2-like theme for Lattice |
| biocAccess | Hourly access attempts to Bioconductor website |
| c.trellis | Merge trellis objects, using same or different scales |
| combineLimits | Combine axis limits across margins |
| custom.theme | Create a lattice theme based on specified colors |
| custom.theme.2 | Create a lattice theme based on specified colors |
| dendrogramGrob | Create a Grob Representing a Dendrogram |
| doubleYScale | Draw two plot series with different y scales |
| drawLayer | Add layers to a lattice plot, optionally using a new data source |
| EastAuClimate | Climate of the East Coast of Australia |
| ecdfplot | Trellis Displays of Empirical CDF |
| ecdfplot.formula | Trellis Displays of Empirical CDF |
| ecdfplot.numeric | Trellis Displays of Empirical CDF |
| flattenPanel | Add layers to a lattice plot, optionally using a new data source |
| ggplot2like | A ggplot2-like theme for Lattice |
| ggplot2like.opts | A ggplot2-like theme for Lattice |
| ggplot2like.theme | A ggplot2-like theme for Lattice |
| glayer | Add layers to a lattice plot, optionally using a new data source |
| glayer_ | Add layers to a lattice plot, optionally using a new data source |
| gvhd10 | Flow cytometry data from five samples from a patient |
| horizonplot | Plot many time series in parallel |
| horizonplot.default | Plot many time series in parallel |
| layer | Add layers to a lattice plot, optionally using a new data source |
| layer_ | Add layers to a lattice plot, optionally using a new data source |
| mapplot | Trellis displays on Maps a.k.a. Choropleth maps |
| mapplot.formula | Trellis displays on Maps a.k.a. Choropleth maps |
| marginal.plot | Display marginal distributions |
| mergedTrellisLegendGrob | Merge trellis objects, using same or different scales |
| panel.2dsmoother | Plot a smooth approximation of z over x and y. |
| panel.3dbars | Miscellanous panel utilities for three dimensional Trellis Displays |
| panel.3dmisc | Miscellanous panel utilities for three dimensional Trellis Displays |
| panel.3dpolygon | Miscellanous panel utilities for three dimensional Trellis Displays |
| panel.3dtext | Miscellanous panel utilities for three dimensional Trellis Displays |
| panel.ablineq | Draw a line with a label, by default its equation |
| panel.ecdfplot | Trellis Displays of Empirical CDF |
| panel.ellipse | Lattice panel function to fit and draw a confidence ellipsoid from bivariate data. |
| panel.horizonplot | Plot many time series in parallel |
| panel.key | Draw a simple key inside a panel of a lattice plot. |
| panel.levelplot.points | Panel functions for level-coded irregular points |
| panel.lmlineq | Draw a line with a label, by default its equation |
| panel.mapplot | Trellis displays on Maps a.k.a. Choropleth maps |
| panel.qqmath.tails | Approximate distribution in qqmath but keep points on tails. |
| panel.qqmath.xyarea | Plot series as filled polygons. |
| panel.quantile | Plot a quantile regression line with standard error bounds. |
| panel.rootogram | Trellis Displays of Tukey's Hanging Rootograms |
| panel.scaleArrow | Draw a scale bar as an arrow, labelled with its length in plot units. |
| panel.segplot | Default prepanel and panel functions for segplot |
| panel.smoother | Plot a smoothing line with standard error bounds. |
| panel.tskernel | Calculate and plot smoothed time series. |
| panel.voronoi | Panel functions for level-coded irregular points |
| panel.xblocks | Plot contiguous blocks along x axis. |
| panel.xblocks.default | Plot contiguous blocks along x axis. |
| panel.xblocks.ts | Plot contiguous blocks along x axis. |
| panel.xblocks.zoo | Plot contiguous blocks along x axis. |
| panel.xyarea | Plot series as filled polygons. |
| panel.xyarea.default | Plot series as filled polygons. |
| panel.xyarea.ts | Plot series as filled polygons. |
| panel.xyarea.zoo | Plot series as filled polygons. |
| panel.xyimage | Scatter plots using emoji-like images |
| postdoc | Reasons for Taking First Postdoctoral Appointment |
| prepanel.ecdfplot | Trellis Displays of Empirical CDF |
| prepanel.horizonplot | Plot many time series in parallel |
| prepanel.mapplot | Trellis displays on Maps a.k.a. Choropleth maps |
| prepanel.rootogram | Trellis Displays of Tukey's Hanging Rootograms |
| prepanel.segplot | Default prepanel and panel functions for segplot |
| print.layer | Add layers to a lattice plot, optionally using a new data source |
| resizePanels | Resize panels to match data scales |
| rootogram | Trellis Displays of Tukey's Hanging Rootograms |
| rootogram.formula | Trellis Displays of Tukey's Hanging Rootograms |
| scale.components | Custom lattice axis scales |
| SeatacWeather | Daily Rainfall and Temperature at the Seattle-Tacoma Airport |
| segplot | Plot segments using the Trellis framework |
| segplot.formula | Plot segments using the Trellis framework |
| simpleSmoothTs | Calculate and plot smoothed time series. |
| simpleSmoothTs.default | Calculate and plot smoothed time series. |
| simpleSmoothTs.zoo | Calculate and plot smoothed time series. |
| theEconomist.axis | Generate plots with style like The Economist. |
| theEconomist.opts | Generate plots with style like The Economist. |
| theEconomist.theme | Generate plots with style like The Economist. |
| tileplot | Plot a spatial mosaic from irregular 2D points |
| USAge | US national population estimates |
| USAge.df | US national population estimates |
| USAge.table | US national population estimates |
| USCancerRates | Rate of Death Due to Cancer in US Counties |
| useOuterStrips | Put Strips on the Boundary of a Lattice Display |
| xscale.components.fractions | Custom lattice axis scales |
| xscale.components.log | Custom lattice axis scales |
| xscale.components.log10.3 | Custom lattice axis scales |
| xscale.components.log10ticks | Custom lattice axis scales |
| xscale.components.logpower | Custom lattice axis scales |
| xscale.components.subticks | Custom lattice axis scales |
| xyplot.list | Merge trellis objects, using same or different scales |
| xyplot.stl | Display stl fits with Lattice |
| yscale.components.fractions | Custom lattice axis scales |
| yscale.components.log | Custom lattice axis scales |
| yscale.components.log10.3 | Custom lattice axis scales |
| yscale.components.log10ticks | Custom lattice axis scales |
| yscale.components.logpower | Custom lattice axis scales |
| yscale.components.subticks | Custom lattice axis scales |
| +.trellis | Add layers to a lattice plot, optionally using a new data source |
| [.layer | Add layers to a lattice plot, optionally using a new data source |


UOSM - Use Of the 'synchronized' Modifier
The 'synchronized' modifier on methods can sometimes cause confusion during maintenance and debugging. This rule recommends to avoid using this modifier and encourages using 'synchronized' statements instead.
Wrong
public synchronized void method () {
// do something
}
}
Tip: Use synchronized statements instead of synchronized methods.
Right
public void method () {
synchronized(this) {
// do something
}
}
}


Suppression of MHC class II expression by human class II trans-activator constructs lacking the N-terminal domain.
Abstract
The class II trans-activator (CIITA) is a bi- or multi-functional domain protein which plays a critical role in the expression of MHC class II genes. We report that removal of the N-terminal 151 amino acids, encompassing all of the acidic domain but leaving intact the proline/serine/threonine-rich domain, results in a mutant protein with potent suppressive properties for MHC class II expression. HeLa cells stably or transiently transfected with mutant CIITA constructs showed up to 99 % suppression of MHC class II antigen induction by IFN-gamma and marked suppression of HLA-DRA mRNA expression. Transient transfection of a B lymphoma line resulted in up to 89 % reduction of constitutive MHC class II expression within 5 days and suppression of HLA-DRA mRNA synthesis.


Data App Builder
Apps that are made up completely of collections of resources can be built as data apps. This page provides a utility for quickly building or for better understanding the JSON data format used by data apps.
Introduction
Some LTI apps require lots of custom functionality in order to work, but some apps can be handled as simply a collection of links that can be inserted into course content. If your app, like a bunch of app on this site, delivers a collection of links to rich content, then you can quickly and easily implement it as an LTI app by building a JSON data set of the collection of resources. You can use the table builder below to manually create resources, then click "Generate JSON". Or you can paste in JSON you've built and make sure it parses correctly by clicking "Parse JSON".
Once you've built your data set, upload it to a public server that allows CORS and submit the URL as a "Data App" (or just submit the actual JSON if there are fewer than 500 records) on the Suggestions page.
Table of Resources
| Title | Resource URL | Image URL | Description | ||
|---|---|---|---|---|---|


HTML5 Boilerplate is a professional front-end template for building fast, robust, and adaptable web apps or sites.
Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.
Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
Modernizr is an open-source JavaScript library that helps you build the next generation of HTML5 and CSS3-powered websites.


In this project we will deal only with a system of two electrons in a quantum dot with a frequency of \( \hbar\omega = 1 \). The reason for this is that we have exact closed form expressions for the ground state energy from Taut's work for selected values of \( \omega \), see M. Taut, Phys. Rev. A \textbf{48}, 3561 (1993). The energy is given by \( 3 \) a.u. (atomic units) when the interaction between the electrons is included. We can however easily extend our system to say interacting bosons as in project 1.
If only the harmonic oscillator part of the Hamiltonian is included, the so-called unperturbed part, $$ \begin{equation*} \hat{H}_0=\sum_{i=1}^{N} \left( -\frac{1}{2} \nabla_i^2 + \frac{1}{2} \omega^2r_i^2 \right), \end{equation*} $$ the energy is \( 2 \) a.u. The wave function for one electron in an oscillator potential in two dimensions is $$ \begin{equation*} \phi_{n_x,n_y}(x,y) = A H_{n_x}(\sqrt{\omega}x)H_{n_y}(\sqrt{\omega}y)\exp{(-\omega(x^2+y^2)/2}. \end{equation*} $$ The functions \( H_{n_x}(\sqrt{\omega}x) \) are so-called Hermite polynomials while \( A \) is a normalization constant. For the lowest-lying state we have \( n_x=n_y=0 \) and an energy \( \epsilon_{n_x,n_y}=\omega(n_x+n_y+1) = \omega \). Convince yourself that the lowest-lying energy for the two-electron system is simply \( 2\omega \).
The unperturbed wave function for the ground state of the two-electron system is given by $$ \begin{equation*} \Phi(\boldsymbol{r}_1,\boldsymbol{r}_2) = C\exp{\left(-\omega(r_1^2+r_2^2)/2\right)}, \end{equation*} $$ with \( C \) being a normalization constant and \( r_i = \sqrt{r_{i_x}^2+r_{i_y}^2} \). Note that the vector \( \boldsymbol{r}_i \) refers to the \( x \) and \( y \) position for a given particle. What is the total spin of this wave function? Find arguments for why the ground state should have this specific total spin.
Our neural network of choice is the restricted Boltzmann machine. It is a two layer net where one is called the layer of visible nodes and the other the layer of hidden nodes. It is called restricted because there are no connections between nodes in the same layer. Meaning there's only a connection between two nodes if one is visible and the other hidden. These type of networks constitute the building blocks of the deep belief networks. The RBM is a generative network, meaning that the idea is for it to learn a \textit{probability distribution}. Thus the network does not produce an output directly, but a probability distribution from which we can generate an output. In our case this distribution corresponds to the wave function and the output we wish to generate are the positions taken by the particles in our system.
Neural networks are referred to as falling under either supervised or unsupervised learning. Here we are not working with training data, thus it is not supervised. It's rather called reinforcement learning. From the variational principle we know that the NQS wave fucntion represents the ground state once the quantum mechanical energy is minimized. This information is used to optimize the weights and biases of the network.
For more information and practical guides to the RBM, check out the links in the literature section.
When working with the restricted Boltzmann machine we are given the joint probability distribution between the hidden and visible nodes.
The joint probability distribution is defined as $$ \begin{align} F_{rbm}(\mathbf{X},\mathbf{H}) = \frac{1}{Z} e^{-\frac{1}{T_0}E(\mathbf{X},\mathbf{H})} \label{_auto1} \end{align} $$ where \( Z \) is the partition function/normalization constant $$ \begin{align} Z = \int \int \frac{1}{Z} e^{-\frac{1}{T_0}E(\mathbf{x},\mathbf{h})} d\mathbf{x} d\mathbf{h} \label{_auto2} \end{align} $$
It is common to ignore \( T_0 \) by setting it to one. Here \( E \) is known as the energy of a configuration of the nodes. Do not confuse this with the energy of the quantum mechanical system. Here it is a function which gives the specifics of the relation between the hidden and visible nodes. Different versions of RBMs will implement the energy function differently.
The original and most common version of an RBM is called "binary-binary", meaning both visible and hidden nodes only take on binary values. In our case we wish to model continuous values (positions), thus the visible nodes should be continuous. We therefore choose an RBM called "Gaussian-binary". $$ \begin{align} E(\mathbf{X}, \mathbf{H}) = \sum_i^M \frac{(X_i - a_i)^2}{2\sigma_i^2} - \sum_j^N b_j H_j - \sum_{i,j}^{M,N} \frac{X_i w_{ij} H_j}{\sigma_i^2} \label{_auto3} \end{align} $$ If \( \sigma_i = \sigma \) then $$ \begin{align} E(\mathbf{X}, \mathbf{H})= \frac{||\mathbf{X} - \mathbf{a}||^2}{2\sigma^2} - \mathbf{b}^T \mathbf{H} - \frac{\mathbf{X}^T \mathbf{W} \mathbf{H}}{\sigma^2} \label{_auto4} \end{align} $$ Here \( \mathbf{X} \) are the visible nodes (the position coordinates), \( \mathbf{H} \) are the hidden nodes, \( \mathbf{a} \) are the visible biases, \( \mathbf{b} \) are the hidden biases and \( \mathbf{W} \) is a matrix containing the weights characterizing the connection of each visible node to a hidden node.
In many aspects, the procedure of optimizing the NQS wave function will be very similar to the VMC method in project one. However, it requires a heavier emphasis on the minimization process. Whereas in project one you only had one or two parameters to optimize and could even determine them analytically, in this situation the biases and weights quickly add up to a high number of parameters to optimize, and it's hard, if possible at all, to determine them analytically. Thus minimizing the quantum mechanical energy and optimizing the parameters is important from the beginning. Still, the structure of the process is similar. You set up an initial guess of the NQS wave function by giving the weights and biases random, preferably small values. The process then follows the same structure as the VMC method.
Once again you should start by analytically determining the local energy, given by $$ \begin{align} E_L = \frac{1}{\Psi} \hat{\mathbf{H}} \Psi \label{_auto12} \end{align} $$ using the NQS \( \Psi \) and the Hamiltonian as defined earlier.
If your minimization method of choice is for example stochastic gradient descent (when using this method for neural network training, the step size is often referred to as the learning rate), you will also need the gradient of the local energy with respect to the RBM parameters \( \mathbf{\alpha} \) (\( \mathbf{a} \), \( \mathbf{b} \) and \( \mathbf{W} \)). It is given by $$ \begin{align} G_i = \frac{\partial \langle E_L \rangle}{\partial \alpha_i} = 2(\langle E_L \frac{1}{\Psi}\frac{\partial \Psi}{\partial \alpha_i} \rangle - \langle E_L \rangle \langle \frac{1}{\Psi}\frac{\partial \Psi}{\partial \alpha_i} \rangle ) \label{_auto13} \end{align} $$ where \( \alpha_i = a_1,...,a_M,b_1,...,b_N,w_{11},...,w_{MN} \).
In addition to \( E_L \) then you will also need to find the expression for \( \frac{\partial \Psi}{\partial \alpha_i} \).
You see here that the visible nodes (the position coordinates) and the corresponding visible biases are vectors of length \( M \). The hidden nodes and the corresponding hidden biases are vectors of length \( N \). The weight matrix is of size \( M\times N \). While the number of hidden nodes (that is, \( N \)) is your own choice and should be experimented with, the number of visible nodes (\( M \)) should correspond to the number of particles (\( P \)) and the number of dimensions (\( D \)) in the system, that is \( M = P \cdot D \).
Now implement the code. The structure of the code (how you organize your classes) can (probably) imitate what you did in project 1. Use standard Metropolis sampling and ignore interaction. This means excluding the repulsive interaction from your Hamiltonian and local energy calculations. In this case the analytically correct energy of the system is given by \( E=\frac{1}{2}P\cdot D \). Optimize the NQS and compute the energy of 1 particle in 1D with 2 hidden units as accurately as you can. Experiment with the learning rate. What precision do you achieve? Eventually you may also experiment with changing the number of hidden units. Document your findings.
For a system such as the one we currently study, where we know that the wave function is positive definite, we may use a sampling method called Gibbs sampling. In this case we represent the wave function as \( \Psi(x) = \sqrt(F_{rbm}) \) rather than \( \Psi(x) = F_{rbm}(x) \).
In this method we sample from the joint probability of \( \mathbf{x} \) and \( \mathbf{h} \), in the form of a two step sampling process. The samples \( \mathbf{x} \) by themselves then model the probability density \( |\Psi(\mathbf{x})|^2 \) as we wish. The updated samples are generated according to the conditional probabilities \( P(X_i|\mathbf{h}) \) and \( P(H_j|\mathbf{x}) \) respectively and accepted with the probability of \( 1 \). $$ \begin{align} P(X_i|\mathbf{h}) &= \mathcal{N}(X_i; a_i+\mathbf{w}_{i*} \mathbf{h}, \sigma^2) \label{_auto14}\\ P(\mathbf{X}|\mathbf{h}) &= \prod_i^M \mathcal{N}(X_i; a_i+\mathbf{w}_{i*} \mathbf{h}, \sigma^2) \label{_auto15}\\ &= \mathcal{N} (\mathbf{X}; \mathbf{a}+\mathbf{W}\mathbf{h},\sigma^2) \label{_auto16} \end{align} $$ and $$ \begin{align} P(H_j|\mathbf{x}) &= \frac{e^{(b_j+\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2})H_j}}{\sum_{h_j}e^{(b_j+\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2})h_j}} \label{_auto17}\\ &= \frac{e^{(b_j+\frac{\mathbf{v}^T\mathbf{w}_{*j}}{\sigma^2})H_j}}{1+e^{b_j+\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2}}} \label{_auto18}\\ P(\mathbf{H}|\mathbf{x}) &= \prod_j^N \frac{e^{(b_j+\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2})H_j}}{1+e^{b_j+\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2}}} \label{_auto19}\\ \label{_auto20} \end{align} $$ Meaning $$ \begin{align} P(H_j=1|\mathbf{x}) &= \frac{e^{b_j+\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2}}}{1+e^{b_j+\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2}}} \label{_auto21}\\ &= \frac{1}{1+e^{-b_j-\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2}}} \label{_auto22}\\ P(H_j=0|\mathbf{x}) &= \frac{1}{1+e^{b_j+\frac{\mathbf{x}^T\mathbf{w}_{*j}}{\sigma^2}}} \label{_auto23} \end{align} $$ Recalculate the values needed for the local energy and its gradient with the form of the wave function given by \( \Psi(x) = \sqrt(F_{rbm}) \).
\paragraph{Project 2 f): Gibbs sampling} Implement a Gibbs sampling method as an alternative to the Metropolis sampling. Reproduce the energy of the same system as in b), document your results. Again experiment with the learning rate and the number of hidden values. Experiment with changing the \( \sigma \) of the neural netwrok. Comment. Eventually you may increase the number of particles and dimensions. Do the produced energy compare well with the analytical values?
Include the interaction. Remember that for the interacting case we have an analytical answer when we look at two particles in two dimensions (the energy shoud be 3 a.u.). Also, in the interacting case it does not make sense to look at more than two particles since we are currently looking at fermions and have not accounted for the Pauli exclusion principle. As before, experiment with the learning rate and number of hidden values and document how well the network reproduces the analytical value.
Here follows a brief recipe and recommendation on how to write a report for each project.
The preferred format for the report is a PDF file. You can also use DOC or postscript formats or as an ipython notebook file. As programming language we prefer that you choose between C/C++, Fortran2008 or Python. The following prescription should be followed when preparing the report:


The Lottery
The morning of June 27th was clear and sunny, with the fresh warmth of a full-summer day; the flowers
were blossoming profusely and the grass was richly green. The people of the village began to gather in
the square, between the post office and the bank, around ten o'clock; in some towns there were so many
people that the lottery took two days and had to be started on June 2th. but in this village, where there
were only about three hundred people, the whole lottery took less than two hours, so it could begin at ten
o'clock in the morning and still be through in time to allow the villagers to get home for noon dinner.
The children assembled first, of course. School was recently over for the summer, and the feeling of
liberty sat uneasily on most of them; they tended to gather together quietly for a while before they broke
into boisterous play. and their talk was still of the classroom and the teacher, of books and reprimands.
Bobby Martin had already stuffed his pockets full of stones, and the other boys soon followed his
example, selecting the smoothest and roundest stones; Bobby and Harry Jones and Dickie Delacroix-- the
villagers pronounced this name "Dellacroy"--eventually made a great pile of stones in one corner of the
square and guarded it against the raids of the other boys. The girls stood aside, talking among themselves,
looking over their shoulders at rolled in the dust or clung to the hands of their older brothers or sisters.
Soon the men began to gather. surveying their own children, speaking of planting and rain, tractors and
taxes. They stood together, away from the pile of stones in the corner, and their jokes were quiet and they
smiled rather than laughed. The women, wearing faded house dresses and sweaters, came shortly after
their menfolk. They greeted one another and exchanged bits of gossip as they went to join their husbands.
Soon the women, standing by their husbands, began to call to their children, and the children came
reluctantly, having to be called four or five times. Bobby Martin ducked under his mother's grasping hand
and ran, laughing, back to the pile of stones. His father spoke up sharply, and Bobby came quickly and
took his place between his father and his oldest brother.
The lottery was conducted--as were the square dances, the teen club, the Halloween program--by Mr.
Summers. who had time and energy to devote to civic activities. He was a round-faced, jovial man and he
ran the coal business, and people were sorry for him. because he had no children and his wife was a
scold. When he arrived in the square, carrying the black wooden box, there was a murmur of
conversation among the villagers, and he waved and called. "Little late today, folks." The postmaster, Mr.
Graves, followed him, carrying a three- legged stool, and the stool was put in the center of the square and
Mr. Summers set the black box down on it. The villagers kept their distance, leaving a space between
themselves and the stool. and when Mr. Summers said, "Some of you fellows want to give me a hand?"
there was a hesitation before two men. Mr. Martin and his oldest son, Baxter. came forward to hold the
box steady on the stool while Mr. Summers stirred up the papers inside it.
The original paraphernalia for the lottery had been lost long ago, and the black box now resting on the
stool had been put into use even before Old Man Warner, the oldest man in town, was born. Mr.
Summers spoke frequently to the villagers about making a new box, but no one liked to upset even as
much tradition as was represented by the black box. There was a story that the present box had been
made with some pieces of the box that had preceded it, the one that had been constructed when the first
people settled down to make a village here. Every year, after the lottery, Mr. Summers began talking
again about a new box, but every year the subject was allowed to fade off without anything's being done.
The black box grew shabbier each year: by now it was no longer completely black but splintered badly
along one side to show the original wood color, and in some places faded or stained.
Mr. Martin and his oldest son, Baxter, held the black box securely on the stool until Mr. Summers had
stirred the papers thoroughly with his hand. Because so much of the ritual had been forgotten or
discarded, Mr. Summers had been successful in having slips of paper substituted for the chips of wood
that had been used for generations. Chips of wood, Mr. Summers had argued. had been all very well
when the village was tiny, but now that the population was more than three hundred and likely to keep on
growing, it was necessary to use something that would fit more easily into he black box. The night before
the lottery, Mr. Summers and Mr. Graves made up the slips of paper and put them in the box, and it was
then taken to the safe of Mr. Summers' coal company and locked up until Mr. Summers was ready to take
it to the square next morning. The rest of the year, the box was put way, sometimes one place, sometimes
another; it had spent one year in Mr. Graves's barn and another year underfoot in the post office. and
sometimes it was set on a shelf in the Martin grocery and left there.
There was a great deal of fussing to be done before Mr. Summers declared the lottery open. There were
the lists to make up--of heads of families. heads of households in each family. members of each
household in each family. There was the proper swearing-in of Mr. Summers by the postmaster, as the
official of the lottery; at one time, some people remembered, there had been a recital of some sort,
performed by the official of the lottery, a perfunctory. tuneless chant that had been rattled off duly each
year; some people believed that the official of the lottery used to stand just so when he said or sang it,
others believed that he was supposed to walk among the people, but years and years ago this p3rt of the
ritual had been allowed to lapse. There had been, also, a ritual salute, which the official of the lottery had
had to use in addressing each person who came up to draw from the box, but this also had changed with
time, until now it was felt necessary only for the official to speak to each person approaching. Mr.
Summers was very good at all this; in his clean white shirt and blue jeans. with one hand resting
carelessly on the black box. he seemed very proper and important as he talked interminably to Mr. Graves
and the Martins.
Just as Mr. Summers finally left off talking and turned to the assembled villagers, Mrs. Hutchinson came
hurriedly along the path to the square, her sweater thrown over her shoulders, and slid into place in the
back of the crowd. "Clean forgot what day it was," she said to Mrs. Delacroix, who stood next to her, and
they both laughed softly. "Thought my old man was out back stacking wood," Mrs. Hutchinson went on.
"and then I looked out the window and the kids was gone, and then I remembered it was the twentyseventh
and came a-running." She dried her hands on her apron, and Mrs. Delacroix said, "You're in time,
though. They're still talking away up there."
Mrs. Hutchinson craned her neck to see through the crowd and found her husband and children standing
near the front. She tapped Mrs. Delacroix on the arm as a farewell and began to make her way through
the crowd. The people separated good-humoredly to let her through: two or three people said. in voices
just loud enough to be heard across the crowd, "Here comes your, Missus, Hutchinson," and "Bill, she
made it after all." Mrs. Hutchinson reached her husband, and Mr. Summers, who had been waiting, said
cheerfully. "Thought we were going to have to get on without you, Tessie." Mrs. Hutchinson said.
grinning, "Wouldn't have me leave m'dishes in the sink, now, would you. Joe?," and soft laughter ran
through the crowd as the people stirred back into position after Mrs. Hutchinson's arrival.
"Well, now." Mr. Summers said soberly, "guess we better get started, get this over with, so's we can go
back to work. Anybody ain't here?"
"Dunbar." several people said. "Dunbar. Dunbar."
Mr. Summers consulted his list. "Clyde Dunbar." he said. "That's right. He's broke his leg, hasn't he?
Who's drawing for him?"
"Me. I guess," a woman said. and Mr. Summers turned to look at her. "Wife draws for her husband." Mr.
Summers said. "Don't you have a grown boy to do it for you, Janey?" Although Mr. Summers and
everyone else in the village knew the answer perfectly well, it was the business of the official of the
lottery to ask such questions formally. Mr. Summers waited with an expression of polite interest while
Mrs. Dunbar answered.
"Horace's not but sixteen vet." Mrs. Dunbar said regretfully. "Guess I gotta fill in for the old man this
year."
"Right." Sr. Summers said. He made a note on the list he was holding. Then he asked, "Watson boy
drawing this year?"
A tall boy in the crowd raised his hand. "Here," he said. "I'm drawing for my mother and me."  and "Glad to see your mother's got a man to do it."
"Well," Mr. Summers said, "guess that's everyone. Old Man Warner make it?"
"Here," a voice said. and Mr. Summers nodded.
A sudden hush fell on the crowd as Mr. Summers cleared his throat and looked at the list. "All ready?" he
called. "Now, I'll read the names--heads of families first--and the men come up and take a paper out of
the box. Keep the paper folded in your hand without looking at it until everyone has had a turn.
Everything clear?"
The people had done it so many times that they only half listened to the directions: most of them were
quiet. wetting their lips. not looking around. Then Mr. Summers raised one hand high and said, "Adams."
A man disengaged himself from the crowd and came forward. "Hi. Steve." Mr. Summers said. and Mr.
Adams said. "Hi. Joe." They grinned at one another humorlessly and nervously. Then Mr. Adams reached
into the black box and took out a folded paper. He held it firmly by one corner as he turned and went
hastily back to his place in the crowd. where he stood a little apart from his family. not looking down at
his hand.
"Allen." Mr. Summers said. "Anderson.... Bentham."
"Seems like there's no time at all between lotteries any more." Mrs. Delacroix said to Mrs. Graves in the
back row.
"Seems like we got through with the last one only last week."
"Time sure goes fast.-- Mrs. Graves said.
"Clark.... Delacroix"
"There goes my old man." Mrs. Delacroix said. She held her breath while her husband went forward.
"Dunbar," Mr. Summers said, and Mrs. Dunbar went steadily to the box while one of the women said.
"Go on. Janey," and another said, "There she goes."
"We're next." Mrs. Graves said. She watched while Mr. Graves came around from the side of the box,
greeted Mr. Summers gravely and selected a slip of paper from the box. By now, all through the crowd
there were men holding the small folded papers in their large hand. turning them over and over nervously
Mrs. Dunbar and her two sons stood together, Mrs. Dunbar holding the slip of paper.
"Harburt.... Hutchinson."
"Get up there, Bill," Mrs. Hutchinson said. and the people near her laughed.
"Jones."
"They do say," Mr. Adams said to Old Man Warner, who stood next to him, "that over in the north
village they're talking of giving up the lottery."
Old Man Warner snorted. "Pack of crazy fools," he said. "Listening to the young folks, nothing's good
enough for them. Next thing you know, they'll be wanting to go back to living in caves, nobody work any
more, live hat way for a while. Used to be a saying about 'Lottery in June, corn be heavy soon.'  There's always been a lottery," he added
petulantly. "Bad enough to see young Joe Summers up there joking with everybody."
"Some places have already quit lotteries." Mrs. Adams said.
"Nothing but trouble in that," Old Man Warner said stoutly. "Pack of young fools."
"Martin." And Bobby Martin watched his father go forward. "Overdyke.... Percy."
"I wish they'd hurry," Mrs. Dunbar said to her older son. "I wish they'd hurry."
"They're almost through," her son said.
"You get ready to run tell Dad," Mrs. Dunbar said.
Mr. Summers called his own name and then stepped forward precisely and selected a slip from the box.
Then he called, "Warner."
"Seventy-seventh year I been in the lottery," Old Man Warner said as he went through the crowd.
"Seventy-seventh time."
"Watson" The tall boy came awkwardly through the crowd. Someone said, "Don't be nervous, Jack," and
Mr. Summers said, "Take your time, son."
"Zanini."
After that, there was a long pause, a breathless pause, until Mr. Summers. holding his slip of paper in the
air, said, "All right, fellows." For a minute, no one moved, and then all the slips of paper were opened.
Suddenly, all the women began to speak at once, saving. "Who is it?," "Who's got it?," "Is it the
Dunbars?," "Is it the Watsons?" Then the voices began to say, "It's Hutchinson. It's Bill," "Bill
Hutchinson's got it."
"Go tell your father," Mrs. Dunbar said to her older son.
People began to look around to see the Hutchinsons. Bill Hutchinson was standing quiet, staring down at
the paper in his hand. Suddenly. Tessie Hutchinson shouted to Mr. Summers. "You didn't give him time
enough to take any paper he wanted. I saw you. It wasn't fair!"
"Be a good sport, Tessie." Mrs. Delacroix called, and Mrs. Graves said, "All of us took the same chance."
"Shut up, Tessie," Bill Hutchinson said.
"Well, everyone," Mr. Summers said, "that was done pretty fast, and now we've got to be hurrying a little
more to get done in time." He consulted his next list. "Bill," he said, "you draw for the Hutchinson
family. You got any other households in the Hutchinsons?"
"There's Don and Eva," Mrs. Hutchinson yelled. "Make them take their chance!"
"Daughters draw with their husbands' families, Tessie," Mr. Summers said gently. "You know that as
well as anyone else."
"It wasn't fair," Tessie said.
"I guess not, Joe." Bill Hutchinson said regretfully. "My daughter draws with her husband's family; that's
only fair. And I've got no other family except the kids."
"Then, as far as drawing for families is concerned, it's you," Mr. Summers said in explanation, "and as far
as drawing for households is concerned, that's you, too. Right?"
"Right," Bill Hutchinson said.
"How many kids, Bill?" Mr. Summers asked formally.
"Three," Bill Hutchinson said.
"There's Bill, Jr., and Nancy, and little Dave. And Tessie and me."
"All right, then," Mr. Summers said. "Harry, you got their tickets back?"
Mr. Graves nodded and held up the slips of paper. "Put them in the box, then," Mr. Summers directed.
"Take Bill's and put it in."
"I think we ought to start over," Mrs. Hutchinson said, as quietly as she could. "I tell you it wasn't fair.
You didn't give him time enough to choose. Everybody saw that."
Mr. Graves had selected the five slips and put them in the box. and he dropped all the papers but those
onto the ground. where the breeze caught them and lifted them off.
"Listen, everybody," Mrs. Hutchinson was saying to the people around her.
"Ready, Bill?" Mr. Summers asked. and Bill Hutchinson, with one quick glance around at his wife and
children nodded.
"Remember," Mr. Summers said. "take the slips and keep them folded until each person has taken one.
Harry, you help little Dave." Mr. Graves took the hand of the little boy, who came willingly with him up
to the box. "Take a paper out of the box, Davy." Mr. Summers said. Davy put his hand into the box and
laughed. "Take just one paper." Mr. Summers said. "Harry, you hold it for him." Mr. Graves took the
child's hand and removed the folded paper from the tight fist and held it while little Dave stood next to
him and looked up at him wonderingly.
"Nancy next," Mr. Summers said. Nancy was twelve, and her school friends breathed heavily as she went
forward switching her skirt, and took a slip daintily from the box "Bill, Jr.," Mr. Summers said, and Billy,
his face red and his feet overlarge, near knocked the box over as he got a paper out. "Tessie," Mr.
Summers said. She hesitated for a minute, looking around defiantly. and then set her lips and went up to
the box. She snatched a paper out and held it behind her.
"Bill," Mr. Summers said, and Bill Hutchinson reached into the box and felt around, bringing his hand
out at last with the slip of paper in it.
The crowd was quiet. A girl whispered, "I hope it's not Nancy," and the sound of the whisper reached the
edges of the crowd.
"It's not the way it used to be." Old Man Warner said clearly. "People ain't the way they used to be."
"All right," Mr. Summers said. "Open the papers. Harry, you open little Dave's."
Mr. Graves opened the slip of paper and there was a general sigh through the crowd as he held it up and
everyone could see that it was blank. Nancy and Bill. Jr.. opened theirs at the same time. and both
beamed and laughed. turning around to the crowd and holding their slips of paper above their heads.
"Tessie," Mr. Summers said. There was a pause, and then Mr. Summers looked at Bill Hutchinson, and
Bill unfolded his paper and showed it. It was blank.
"It's Tessie," Mr. Summers said, and his voice was hushed. "Show us her paper. Bill."
Bill Hutchinson went over to his wife and forced the slip of paper out of her hand. It had a black spot on
it, the black spot Mr. Summers had made the night before with the heavy pencil in the coal company
office. Bill Hutchinson held it up, and there was a stir in the crowd.
"All right, folks." Mr. Summers said. "Let's finish quickly."
Although the villagers had forgotten the ritual and lost the original black box, they still remembered to
use stones. The pile of stones the boys had made earlier was ready; there were stones on the ground with
the blowing scraps of paper that had come out of the box Delacroix selected a stone so large she had to
pick it up with both hands and turned to Mrs. Dunbar. "Come on," she said. "Hurry up."
Mr. Dunbar had small stones in both hands, and she said. gasping for breath. "I can't run at all. You'll
have to go ahead and I'll catch up with you."
The children had stones already. And someone gave little Davy Hutchinson few pebbles.
Tessie Hutchinson was in the center of a cleared space by now, and she held her hands out desperately as
the villagers moved in on her. "It isn't fair," she said.  Old Man
Warner was saying, "Come on, come on, everyone." Steve Adams was in the front of the crowd of
villagers, with Mrs. Graves beside him.
"It isn't fair, it isn't right," Mrs. Hutchinson screamed, and then they were upon her.


Kayenta now supports analysis lifetimes shorter than 1 hour.
This canary stage has been updated to reflect the new lifetime support. Click "Save Changes" to save the updated lifetime on the server.
Using a sliding lookback duration defined by an expression viewable in the pipeline JSON editor.
with a look-back duration of minutes


You can suppress false positives using one of the following mechanisms:
* Using a suppression annotation like this on the enclosing
element:
```kt
// Kotlin
@Suppress("$id")
fun method() {
problematicStatement()
}
```
or
```java
// Java
@SuppressWarnings("$id")
void method() {
problematicStatement();
}
```
* Using a suppression comment like this on the line above:
```kt
//noinspection $id
problematicStatement()
```
* Adding the suppression annotation `@Suppress("SdCardPath")`
(in Kotlin) or `@SuppressWarnings("SdCardPath")` (in Java) on the
enclosing element.
* Adding the suppression comment `//noinspection SdCardPath` on the
line above the problematic statement.
* Adding the suppression attribute `tools:ignore="MissingClass"` on the
problematic XML element (or one of its enclosing elements). You may
also need to add the following namespace declaration on the root
element in the XML file if it's not already there:
`xmlns:tools="http://schemas.android.com/tools"`
```xml
...
```
// TODO: Check the detector resource type to figure out how
// to make an example!
// Manifest example
```xml
...
```
where application is $tag
// Value resource example
```
Something
...
* Using a special `lint.xml` file in the source tree which turns off
the check in that folder and any sub folder. A simple file might look
like this:
```xml
```
Instead of `ignore` you can also change the severity here, for
example from `error` to `warning`. You can find additional
documentation on how to filter issues by path, regular expression and
so on
[here](https://googlesamples.github.io/android-custom-lint-rules/usage
/lintxml.md.html).
* In Gradle projects, using the DSL syntax to configure lint. For
example, you can use something like
```gradle
lintOptions {
disable 'MissingClass'
}
```
In Android projects this should be nested inside an `android { }`
block.
* For manual invocations of `lint`, using the `--ignore` flag:
```
$ lint --ignore MissingClass ...`
```
* Last, but not least, using baselines, as discussed
[here](https://googlesamples.github.io/android-custom-lint-rules/usage
/baselines.md.html).


Russia considers release of senior Haqqani Network leaders a ‘gesture of goodwill’
by Khaama PressRussia considers the planned release of senior Haqqani Network leaders a ‘gesture of goodwill’ from the Afghan government.
“We have repeatedly said that we welcome any real moves by the opposing forces in the Afghan conflict aimed at ending the armed confrontation and launching a peace process in Afghanistan,” Maria Zakharova, a spokesperson for the Ministry of Foreign Affairs of Russia was quoted as saying in a report by TASS.
Zakharova further added “Within this context, we consider the release from prisons of three leaders of the Haqqani network connected with the Taliban movement (outlawed in Russia), as a gesture of good will from the Afghan government that will help advance the intra-Afghan peace process.”
President Mohammad Ashraf Ghani on Tuesday announced the Afghan government’s intention regarding the conditional release of three senior Haqqani network leaders including Anas Haqqani, Haji Mali Khan and Hafiz Rashid.
Meanwhile, latest reports indicate that the planned swap of prisoners aimed at releasing the two American University lecturers, has not taken place so far.
Author
-
The Khaama Press News Agency is the leading and largest English news service for Afghanistan with over 3 million hits a month. Independent authors/columnists and experts are welcomed to contribute stories, opinions and editorials. Send stories to news@khaama.com.


platform::shell - System identification support code and utilities
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
The platform::shell package provides several utility commands useful
for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a
specific Tcl shell different from the shell running the package. The
only requirement is that the other shell (identified by its path), is
actually executable on the current machine.
While for most platform this means that the architecture of the
interrogated shell is identical to the architecture of the running
shell this is not generally true. A counter example are all platforms
which have 32 and 64 bit variants and where a 64bit system is able to
run 32bit code. For these running and interrogated shell may have
different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify
the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository
software.
- platform::shell::identify shell
-
This command does the same identification as platform::identify,
for the specified Tcl shell, in contrast to the running shell.
- platform::shell::generic shell
-
This command does the same identification as platform::generic,
for the specified Tcl shell, in contrast to the running shell.
- platform::shell::platform shell
-
This command returns the contents of tcl_platform(platform) for
the specified Tcl shell.
operating system, cpu architecture, platform, architecture
Copyright © 1995-1997 Roger E. Critchlow Jr.
Copyright © 2006-2008 ActiveState Software Inc


Smart Dump
 Home
Receive Gifts While You Recycle
Get a Recycle Bin
Please fill out all sections of this form to send your request
--Select Service Type--
Residential
Commercial
--Select Commercial Type--
School
Shop
Market
Hostel
Station
Office
--Select Your Location--
Ashaley Botwe
Madina
Arjigano
East-Legon
Submit


npm uninstall [<<EMAIL_ADDRESS>[-S|--save|-D|--save-dev|-O|--save-optional|--no-save]
aliases: remove, rm, r, un, unlink
This uninstalls a package, completely removing everything npm installed on its behalf.
Example:
In global mode (ie, with -g
or --global
appended to the command), it uninstalls the
current package context as a global package.
npm uninstall
takes 3 exclusive, optional flags which save or update the package version in your
main package.json:
-S, --save
: Package will be removed from your dependencies
.
-D, --save-dev
: Package will be removed from your devDependencies
.
-O, --save-optional
: Package will be removed from your optionalDependencies
.
--no-save
: Package will not be removed from your package.json
file.
Further, if you have an npm-shrinkwrap.json
then it will be updated as well.
Scope is optional and follows the usual rules for scope
.
Examples:
npm uninstall sax --save
npm uninstall @myorg/privatepackage --save
npm uninstall node-tap --save-dev
npm uninstall dtrace-provider --save-optional
npm uninstall lodash --no-save


IEEE, Institute Of Electrical And Electronics Engineers (IEEE, pronounced as I-Triple-E) is the 125 years old world’s largest technical society. The society is headquartered in New York dedicated to advancing technological innovation and excellence of humanity.
IEEE and its members inspire global community through its highly cited publications, conferences, technology standards and professional plus educational activities. Its student branches contribute a lot in developing an engineer student’s personality and technical skills. Every day, IEEE societies make a difference in the world and the lives of their members. Today, IEEE is serving more than 425,000 members who are geographically organized into 10 regions over 333 sections and 2,345 student branches that conduct and participate in its activities.
Be essential to the global technical community and to technical professionals everywhere, and be universally recognized for the contributions of technology and of technical professionals in improving global conditions.
IEEE members are presented with resources, opportunities and discounts that can help advance and accelerate your career.
Through IEEE, you can find colleagues who share your expertise and commitment.
You can be among those who are moving technology forward today.
IEEE members now have access to more than 260 eBooks from the IEEE Press collection through IEEE Xplore. IEEE, in conjunction with Microsoft, is pleased to offer a wide selection of development software to IEEE Student members and Graduate Student members.
Read more
IEEE USICT organized Startup Bootcamp: An event to give participants an insight of startup enviornment. The event started with a talk followed by a workshop on "Agile Software Development"
Read MoreStudent Branch members organized an introductory workshop on python covering basic concepts of the same.
Read More


Expand upon the headline and describe your lead magnet.
“Follow the copywriting outline on every page. We made it ourselves, it’s battle-tested and you can be confident that it converts.”
Main benefit
Briefly expand on how this benefit will help your customers.
Second benefit
Briefly expand on how this benefit will help your customers.
Third benefit
Briefly expand on how this benefit will help your customers.


#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
"""Retry decorators for calls raising exceptions.
For internal use only; no backwards-compatibility guarantees.
This module is used mostly to decorate all integration points where the code
makes calls to remote services. Searching through the code base for @retry
should find all such places. For this reason even places where retry is not
needed right now use a @retry.no_retries decorator.
"""
import logging
import random
import sys
import time
import traceback
# Protect against environments where apitools library is not available.
# pylint: disable=wrong-import-order, wrong-import-position
# TODO(sourabhbajaj): Remove the GCP specific error code to a submodule
try:
from apitools.base.py.exceptions import HttpError
except ImportError:
HttpError = None
# pylint: enable=wrong-import-order, wrong-import-position
[docs]class PermanentException(Exception):
"""Base class for exceptions that should not be retried."""
pass
[docs]class FuzzedExponentialIntervals(object):
"""Iterable for intervals that are exponentially spaced, with fuzzing.
On iteration, yields retry interval lengths, in seconds. Every iteration over
this iterable will yield differently fuzzed interval lengths, as long as fuzz
is nonzero.
Args:
initial_delay_secs: The delay before the first retry, in seconds.
num_retries: The total number of times to retry.
factor: The exponential factor to use on subsequent retries.
Default is 2 (doubling).
fuzz: A value between 0 and 1, indicating the fraction of fuzz. For a
given delay d, the fuzzed delay is randomly chosen between
[(1 - fuzz) * d, d].
max_delay_secs: Maximum delay (in seconds). After this limit is reached,
further tries use max_delay_sec instead of exponentially increasing
the time. Defaults to 1 hour.
"""
def __init__(self, initial_delay_secs, num_retries, factor=2, fuzz=0.5,
max_delay_secs=60 * 60 * 1):
self._initial_delay_secs = initial_delay_secs
self._num_retries = num_retries
self._factor = factor
if not 0 <= fuzz <= 1:
raise ValueError('Fuzz parameter expected to be in [0, 1] range.')
self._fuzz = fuzz
self._max_delay_secs = max_delay_secs
def __iter__(self):
current_delay_secs = min(self._max_delay_secs, self._initial_delay_secs)
for _ in xrange(self._num_retries):
fuzz_multiplier = 1 - self._fuzz + random.random() * self._fuzz
yield current_delay_secs * fuzz_multiplier
current_delay_secs = min(
self._max_delay_secs, current_delay_secs * self._factor)
[docs]def retry_on_server_errors_filter(exception):
"""Filter allowing retries on server errors and non-HttpErrors."""
if (HttpError is not None) and isinstance(exception, HttpError):
return exception.status_code >= 500
return not isinstance(exception, PermanentException)
[docs]def retry_on_server_errors_and_timeout_filter(exception):
if HttpError is not None and isinstance(exception, HttpError):
if exception.status_code == 408: # 408 Request Timeout
return True
return retry_on_server_errors_filter(exception)
SERVER_ERROR_OR_TIMEOUT_CODES = [408, 500, 502, 503, 504, 598, 599]
[docs]class Clock(object):
"""A simple clock implementing sleep()."""
[docs] def sleep(self, value):
time.sleep(value)
[docs]def no_retries(fun):
"""A retry decorator for places where we do not want retries."""
return with_exponential_backoff(
retry_filter=lambda _: False, clock=None)(fun)
[docs]def with_exponential_backoff(
num_retries=7, initial_delay_secs=5.0, logger=logging.warning,
retry_filter=retry_on_server_errors_filter,
clock=Clock(), fuzz=True, factor=2, max_delay_secs=60 * 60):
"""Decorator with arguments that control the retry logic.
Args:
num_retries: The total number of times to retry.
initial_delay_secs: The delay before the first retry, in seconds.
logger: A callable used to report an exception. Must have the same signature
as functions in the standard logging module. The default is
logging.warning.
retry_filter: A callable getting the exception raised and returning True
if the retry should happen. For instance we do not want to retry on
404 Http errors most of the time. The default value will return true
for server errors (HTTP status code >= 500) and non Http errors.
clock: A clock object implementing a sleep method. The default clock will
use time.sleep().
fuzz: True if the delay should be fuzzed (default). During testing False
can be used so that the delays are not randomized.
factor: The exponential factor to use on subsequent retries.
Default is 2 (doubling).
max_delay_secs: Maximum delay (in seconds). After this limit is reached,
further tries use max_delay_sec instead of exponentially increasing
the time. Defaults to 1 hour.
Returns:
As per Python decorators with arguments pattern returns a decorator
for the function which in turn will return the wrapped (decorated) function.
The decorator is intended to be used on callables that make HTTP or RPC
requests that can temporarily timeout or have transient errors. For instance
the make_http_request() call below will be retried 16 times with exponential
backoff and fuzzing of the delay interval (default settings).
from apache_beam.utils import retry
# ...
@retry.with_exponential_backoff()
make_http_request(args)
"""
def real_decorator(fun):
"""The real decorator whose purpose is to return the wrapped function."""
def wrapper(*args, **kwargs):
retry_intervals = iter(
FuzzedExponentialIntervals(
initial_delay_secs, num_retries, factor,
fuzz=0.5 if fuzz else 0, max_delay_secs=max_delay_secs))
while True:
try:
return fun(*args, **kwargs)
except Exception as exn: # pylint: disable=broad-except
if not retry_filter(exn):
raise
# Get the traceback object for the current exception. The
# sys.exc_info() function returns a tuple with three elements:
# exception type, exception value, and exception traceback.
exn_traceback = sys.exc_info()[2]
try:
try:
sleep_interval = retry_intervals.next()
except StopIteration:
# Re-raise the original exception since we finished the retries.
raise exn, None, exn_traceback # pylint: disable=raising-bad-type
logger(
'Retry with exponential backoff: waiting for %s seconds before '
'retrying %s because we caught exception: %s '
'Traceback for above exception (most recent call last):\n%s',
sleep_interval,
getattr(fun, '__name__', str(fun)),
''.join(traceback.format_exception_only(exn.__class__, exn)),
''.join(traceback.format_tb(exn_traceback)))
clock.sleep(sleep_interval)
finally:
# Traceback objects in locals can cause reference cycles that will
# prevent garbage collection. Clear it now since we do not need
# it anymore.
sys.exc_clear()
exn_traceback = None
return wrapper
return real_decorator


CHAPTER 249
COUNTY VEHICULAR TAXES
Vehicle Weight Tax
Section
249-1 Definitions
249-2 Imposition of tax
249-3, 3.5 Repealed
249-4 Exemptions for new vehicles and official vehicles
249-5 Repealed
249-5.5 Stored vehicles
249-6 Exemptions for certain cars furnished to disabled
veterans
249-6.5 Exemption for National Guard, military reserves,
and other active duty military personnel claiming
Hawaii as their residence of record
249-7 Number plates
249-7.5 New motor vehicle with a temporary number plate
249-8 Replacements for lost or damaged plates, tags, or
emblems
249-9 Number plates; purchase
249-9.1 Special number plates
249-9.2 Special number plates; military service
249-9.3 Special number plates; design and issuance by counties
249-9.4 Special series number plates
249-9.5 Special number plates for Haleakala National Park and
Hawaii Volcanoes National Park authorized
249-10 Delinquent penalties; seizure and sale for tax
249-11 Fraudulent use of plates, tags, or emblems and other
misdemeanors; penalties
249-12 Standard size license plates
249-13 Determination of rate
Bicycles and Mopeds
249-14 Bicycle fee
249-14.1 Number plates for mopeds; registration
249-14.2 Procedure when registration of a bicycle or moped
transferred
249-14.3 Exemption from fee and tag
249-14.5 New bicycles and mopeds
249-14.6 Violations; penalty
249-15 Seizure and sale
249-16 Duplicate bicycle tag; duplicate moped license plate
and tag; and duplicate certificates of registration
249-17 False tag, license plate, bicycle or moped, penalty
249-17.5 Bikeway fund; established
Disposition of Taxes
249-18 Highway fund
Other Levies
249-31 State registration fee
249-31.5 Exemptions from registration fees for certain
vehicles; disabled veterans
249-32 Repealed
249-33 State vehicle weight tax, exemptions
249-34 Delinquent penalties; seizure and sale for tax and fee
Revision Note
Throughout this chapter, "director of finance" and "council" have been substituted for "treasurer" and "board of supervisors" to conform to county charters pursuant to §23G-15.


Only-children are 'more likely to be obese' - and their mums may be to blame
A new study by researchers from the University of Oklahoma has revealed that only-children are considerably more likely to be obese than kids with siblings
by Shivali Best, https://www.facebook.com/shivalibestjournalist/Whether it’s being bad at sharing or overly-sensitive, many unfavourable traits are often associated with being an only child.
Now, a new study suggests that only-children are also more likely to be obese than kids with siblings.
Researchers from the University of Oklahoma believe that this link to obesity may be down to the fact that only-children have less healthy family eating practices than people with siblings.
Dr Chelsea L. Kracht, who led the study, said: “Nutrition professionals must consider the influence of family and siblings to provide appropriate and tailored nutrition education for families of young children.
“Efforts to help all children and families establish healthy eating habits and practices must be encouraged.”
In the study, researchers asked mothers of only-children to keep daily food logs for both themselves and their child, including what they ate, and the scenarios in which their meals took place.
The results showed that only-children, as well as mothers of only-children were much more likely to be obese than mothers of multiple children, and these children themselves.
The findings also revealed that only-children were much more likely to eat their meals in front of the TV, and to consume sugary drinks than kids with siblings.
Dr Kracht added: “Healthier eating behaviors and patterns may result from household-level changes rather than peer exposure, as peer exposure is also present in away-from-home care.”
It’s important to note that the study only looked at mothers and children, and did not take into account the impact of fathers’ eating patterns.


@(name : String) @import helper._
You reach China and load up on fidget spinners. When you get back to England the Queen rewards you with a monopoly on importing them. You spin happily ever after. The end for @name.


Great Forest [aq26], forest, in Mandoria, peasants: 10000
Last updated Turn #148
Great Forest [aq26], forest, in Mandoria, peasants: 10000
------------------------------------------------------------------------
Routes leaving Great Forest:
North, forest, to Great Forest [ap26], 8 days
Garrison [iw8c], garrison, uncontrolled, with eight peasants
East, to Ocean [aq27], Lake Mandor, impassable
South, forest, to Great Forest [ar26], 8 days
Garrison [fz5i], garrison, uncontrolled, with two soldiers
West, forest, to Great Forest [aq25], 8 days
Garrison [ck6m], garrison, uncontrolled, with four peasants
Inner locations:
Mandor City [aa0b], port city, 1 day
Yew grove [ad8q], yew grove, 1 day
Courts of Chaos [c77], tower, defense 20
Yew grove [ad8r], yew grove, 1 day
The Green Griffon Inn [j68], inn, 25% damaged
Seen here:
Garrison [bn3g], garrison, uncontrolled, with ten workers


class UtilityController extends Controller
Methods
| manageInstitutionBreadcrumbsAction(Request $request) | ||
| manageAdminBreadcrumbsAction(Request $request) | ||
| changeParentBreadcrumbAction(Request $request) | ||
| addBreadcrumbAction(Request $request) | ||
| editBreadcrumbAction(Request $request) | ||
| saveBreadcrumbAction(Request $request) |


This is child paragraph of division.
This is second paragraph
This is first and adjaecent paragraph to division.
This is second paragraph to division.
hello world


Mourinho wins 1st game at Spurs, Liverpool leaves it late
by STEVE DOUGLASTottenham’s decision to change managers reaped instant rewards as Jose Mourinho got off to a winning start in his highly anticipated fourth coaching stint in the Premier League.
How long before its north London neighbor, Arsenal, and Everton think about doing the same?
Hours after Tottenham beat West Ham 3-2 in Mourinho’s first match in charge since replacing Mauricio Pochettino, Arsenal needed an injury-time goal to draw 2-2 at home to relegation candidate Southampton. Arsenal has won just one of its last seven matches in the league and boos rang around Emirates Stadium at the final whistle, leaving manager Unai Emery under more pressure.
Everton’s Marco Silva is another manager who could be facing dismissal after his team lost 2-0 at home to Norwich, which started the game in last place.
Liverpool maintained its eight-point lead by beating Crystal Palace 2-1 for its 12th win in 13 matches this campaign. Like many times this season, the victory was sealed in the final minutes with Roberto Firmino grabbing the winner in the 85th.
Leicester stayed second after a 2-0 win at Brighton, with Jamie Vardy scoring for the fifth straight league game through a retaken penalty because of encroachment by Brighton players.
Advertising
In other results, Wolverhampton Wanderers beat 10-man Bournemouth 2-1 and Burnley won 3-0 at Watford, which returns to the bottom of the standings.
Manchester City hosts Chelsea in the late game between the teams in fourth and third place, respectively.
___
More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports
___
Steve Douglas is at www.twtter.com/sdouglas80
STEVE DOUGLAS


 I LOVE YOU.
HERE IS MY VIEW 3 PARTIAL.
And then there's this.


Basic Shape Drawing¶
A basic shape is defined using three lists:
- points - the polygon to be drawn
- pins - the shape coordinates (on the polygon) where basic pins are added
- pins_t - same as above for “tall pins” on top/bottom of sloped shapes
These lists are drawn inside of a scope
so they can all be shifted to some
specific coordinate.
The basic drawing scheme looks like this:
. code-block:: python
- def draw(self)
tex = [] # draw pins first for p in range(len(self.pins)):
- if p == 0:
- tex.extend(
Drawing Pins¶
Although this is not typically seen in CPU diagrams, to assist in building our simulator, we will show numbered pins on all parts. Eventually, these pins will be colored to indicate input and output signal connections. We will not dela with bi-directional signals at this time.
 There ar two styles of pins:
- normal square pins for horizontal and vertical sides
- “tall” pins that will be used on sloped shape sides
Pins are drawn first, then the shape ploygon is drawn. The polygon fill will cover part of the tall pins to give a nuce look.
As part of the pin drawingprocess, the attach points are determined and returned to be used when attaching wires to pins. Each pin has fourpossible attach points, and side indicators are used to determine where the attach point is, and how to shift the pin so it attaches to the shape side. For tall pins the shift indicator is used to adjust the placement of the pin number.


Here are some links to help get started.
When done, go back to the app console and use 'Control + C' to interrupt.
Then double-click again and choose 'Stop Instant OpenHIE'.


Man shot dead near Stone Arch Bridge in Minneapolis
MINNEAPOLIS (AP) - Police say a man was fatally shot near the Stone Arch Bridge in Minneapolis.
The Pioneer Press reports police at 10:13 p.m. Saturday received reports of the shooting near the Mississippi River and just southeast of the historic Stone Arch Bridge. Officers found a man outdoors “gravely injured” from what appeared to be a gunshot wound. He appeared to be in his 30s.
Officers administered first aid until paramedics arrived. The man was taken to the Hennepin County Medical Center, where he died a short time later.
TOP STORIES
Nancy Pelosi: Trump will have 'every opportunity to present his case'
'There will be blood': Maher sees civil war breaking out if we don't 'learn to live with each other'
ABC News anchor George Stephanopoulos' Clinton conflicts resurface amid impeachment
Police had announced no arrests as of Sunday morning. Police say the shooting marks Minneapolis’ 40th homicide this year.
Information from: St. Paul Pioneer Press, http://www.twincities.com
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
4
For the béarnaise sauce, bring the white wine vinegar, bay leaf, shallot, tarragon and parsley to the boil in a heavy-based non-reactive pan. Season, to taste, with salt and freshly ground black pepper. Continue to simmer until the volume of liquid has reduced by two thirds (there should only be one tablespoon of liquid remaining in the pan). Strain the remaining liquid immediately into a cold bowl.
In a heatproof bowl, mix together the egg yolks with a pinch of salt until well combined. Add one teaspoon of the reduced liquid and one cube of butter.
Suspend the heatproof bowl over a pan of simmering water (do not allow the base of the bowl to touch the surface of the water). Whisk the butter and reduced liquid into the egg yolk and salt mixture, whisking continuously, until well combined. Add the remaining cubes of butter, one at a time, whisking until each one has been incorporated into the mixture before adding the next.
When all of the butter has been incorporated into the mixture and the sauce is smooth, stir in the tarragon and parsley and season again, to taste. Set aside.
For the steak and chips, preheat the oven to 220C/425F/Gas 7. Brush each fillet steak all over with a little oil, then season, to taste, with salt and freshly ground black pepper.
Heat a frying pan over a medium heat until hot. Add the fillet steaks and fry for 1-2 minutes on each side.
Transfer the steaks to a baking tray and roast in the oven for a further 5-6 minutes (for medium rare) or longer for medium to well done. Remove from the oven and set aside to rest for 8-10 minutes.
Meanwhile, heat the oil in a deep fat fryer to 180C. lternatively, heat the oil in a deep heavy-based frying pan until a breadcrumb sizzles and turns brown when dropped into it. (CAUTION: hot oil can be dangerous. Do not leave unattended.) Carefully lower the dried parboiled potato chips into the hot oil and fry for 6-8 minutes, or until crisp and golden-brown. Remove from the pan using a slotted spoon and set aside to drain on kitchen paper.
To serve, place one fillet steak onto each of four serving plates. Arrange some of the chips in a stack alongside. Drizzle the béarnaise sauce over the steak. Serve the salad leaves alongside.


Weeping and Gnashing Teeth
As soon as the bus had stopped Seth’s father went over to the driver’s side while everyone on the bus was looking at Seth and his mom with curious faces as to who was leaving with all that luggage?   “Good boy, do you know that bag was your father’s bag when he was a soldier? He loved that bag and now he has given it to you, take good care of it ok?”. “Yes, mom I will.” After a few minutes, Seth’s father came back and the bus driver came with him, a command was given to the three gentlemen to load Seth’s bags on top of the bus along with the rest. Using a staircase welded onto the bus the three men with the help of the driver carefully packed all of Seth’s bags and tied them up with a rope.
Meanwhile, Seth was talking with his parents; Seth’s father knelt down on one knee before his son and looked him in the eyes. Seth my son me and your mother love you dearly and now be a man and fear not for the Lord God of Abraham, Isaac and Jacob is surely with you but more over our King whom you know very well is by your side and you shall never need anything. Be cheerful therefore my son, remember me and your mother and all the Stories we joyously shared with each other day and night, and you shall not want. Now, remember you have a kingdom to inherit here back with me and your mother, so never forget where you came from, up on the mountain.
Tears flowing like crystal rivers welled down Seth’s little brown cheeks but without a sound, and to the driver's surprise and those who were close to open windows heard that this old man was speaking in English to this young boy and with every word the boy seemed to comprehend fully without even the slightest glitch.
His mother handed him his calabash that had a traditional drink made out of grounded maize which is then boiled to a simmer and left for a few days to fermentate naturally under a closely tight lid in order to give it a tangy sour taste. Along with his calabash, the boy receives a very very beautiful leather purse which had his chicken, all of Seth’s leather bags were exquisitely handcrafted by his mother using leather from their own kraals. After all this Seth got a kiss on the forehead accompanied by “Be a good boy now, ok Seth?” he nodded his head but this only made things worse as his tears gushed out even more, still without a sound.
 Away Seth went to the front seat of the bus wherefore a lovely lady had to vacate and make way for the young boy. As the engine of the bus started Seth’s mother approached him by the window saying, “Seth there is a smaller bag inside that bag, don’t open it until you have reached your destination.”  Everyone on and off the bus was waving goodbye as everyone was touched even the most wicked of souls due to the love they witnessed from this family.
His parents disappeared from sight and Seth began to be confused and scared but he remembered his father’s words, word for word. He saw the look on his father’s eyes and was reassured for it was if he was giving him all that he had. “Seth my son me and your mother love you dearly and now be a man and fear not for the Lord God of Abraham, Isaac and Jacob is surely with you but more over our King whom you know very well is by your side and you shall never need anything. Be cheerful therefore my son, remember me and your mother and all the Stories we joyously shared with each other day and night, and you shall not want. Now, remember you have a kingdom to inherit here back with me and your mother, so never forget where you came from, up on the mountain.” Just as Seth was comforting himself with his father’s last words which he would forever remember word for word until his dying days, the bus driver tried to disperse all thoughts that were building up in Seth’s little mind in a bid to console the young fellow.
 Do not be sad, young man you have very good grandparents said the driver with a rotten and broken excuse of the English language. Oh no sir those are my parents, replied the young lad in his native tongue to help accommodate and decease the driver from further committing any literary crimes and making a fool of himself in front of his passengers.
Everyone on board was shocked; not only at the driver’s hideous attempt at English and how the boy managed to piece up together what the driver said but what caught them off guard was that those two old folks were parents of such a young boy, it was unbelievable. “So what is your name young man the driver was now asking in his own language?” “My name is Seth sir.” By this time the passengers were uncontrollable and started to mummer, some were asking what kind of name is that while others were still paralyzed by his English acumen and the age of his parents.” His English is definitely not of the surrounding schools, of that I am sure,” murmured one of the gossiping maggots at the backseat.
Not taking his eyes off the road the driver asked once more; is this your first time going to Kimberley? Yes, sir, I have never even gotten in one of these before. Wooow was a choral remark from the passengers at the back. In astonishment, the bus driver asks, “Are you trying to tell me you have never been on a bus before?” So puzzled was the driver that he lost control of the wheel trying to see if the boy was not pulling his leg and for a second the bus swerved from side to side unleashing horrific screams and unprecedented farts from some passengers.  The driver could do no more nor say otherwise for the boy had once again looked deeply dismayed. Great was the somber and pitiful mood that followed these words, even throughout the entire bus. It was as if everyone was an 8-year-old leaving their parents for a place they knew not. This was just too much for others who crumbled and wept, consequently unleashing a domino effect to some light-hearted fellows in the bus.
To be continued...
Listen To Our Audio


| class ABase | |
|---|---|
| Method | Description |
| This is a base class for the entire hierarchy. In the debug version (_DEBUG_DUMP_) enabled when you compile with the source code, there exists a dump() function that produces a hierarchichal debug dump to 'cout'. |
| class ABaseElement : public ABase | |
|---|---|
| This is the base class for any object that will have output ability to AHTML object. | |
| Method | Description |
|
virtual void doOut ( AStreamOutput *pasOut ) public =0 |
All children that override this will have the ability to output themselves to AStreamOutput based class, and there is an operator<< in AHTML that calls this virtual member. |


Cosine distance between two documents
A tiny python script that calculates the cosine distance between any two documents.
What is cosine distance?
In simple terms, cosine distance gives an idea of the degree of dissimilarity between two sets of text documents. We do this by calculating the angle between them. Angle between two vectors is the angle formed by the word vectors in the two documents. A detailed explanation of the algorithm should make this clear.
Where can we see this being used?
There are several applications of cosine distance algorithm.
- Implementing a search engine
- Testing for plagiarism
- Natural Language Processing
Algorithm
Steps:
- Parse the given document to find all the words present in the document
- Calculate frequencies of each word. Consider this a multi-dimensional vector (the number of dimensions of the vector being the number of unique words in the document)
- Calculate the angle between these two vectors
Inputs
The code takes two file names as input, between which you intend to calculate the angle.
Output
The final output is the angle (in radians) between the two documents.
Source code
The source code with the entire implementation can be found here


Authorities seek Ohio Uber driver indicted for rape
by EndPlayCOLUMBUS, Ohio (AP) - Authorities are searching for an Ohio ride-sharing driver charged with raping a female passenger.
The Franklin County Prosecutor's Office in Columbus said Friday 28-year-old Abdirizak Abdullahi Aden has been indicted on one count of rape.
The Uber driver is accused of sexually assaulting a 24-year-old woman in April.

O'Brien says a female Uber driver who had just dropped off a passenger at the complex called 911 after watching Aden pull the victim from his car and drive off.
Uber said the company will support law enforcement in its investigation.
Online court records don't list an attorney for Aden.


Font Face Observer
Loading fonts via Font Face Observer
| pros | cons |
|---|---|
| Works anywhere | JS |
| "Monitor when a webfont is loaded and notify you" | Totaly useless :) Anyway browser loads your fonts. just a lib for ... |
| Blocks render |
Loading fonts via Font Face Observer
| pros | cons |
|---|---|
| Works anywhere | JS |
| "Monitor when a webfont is loaded and notify you" | Totaly useless :) Anyway browser loads your fonts. just a lib for ... |
| Blocks render |


{% raw %}
Please carefully review the instructions below and on the following page about how to navigate the task. These will not be repeated and you will not be able to return to the instructions once you start the task.
While you watch these short videos, there will be randomly placed pauses, between 1 - 3 per video, where we will ask you what you think the drawing is going to turn into. For example, as you watch a video you might first see the line move upwards and maybe you think it's going to be a mountain. But after a couple more moments, the drawing starts to look more like a boat. So, when you encounter a pause-point, throughout the video we want to know what your current guess is (e.g. mountain, or boat).
We expect your guess might evolve or change over the video and we are interested in what that process looks like. If you do not have a guess to make, simply write "idk" (I don't know) or "none".
Try to use the most common English words for your guesses. For example, if you see an image of a hamster write "hamster" instead of "animal" or "Winter White Dwarf hamster".
When watching these videos please try your best to focus your attention on the line to give us the best understanding of how and when you can identify what it being drawn.
After you have typed out your guess, you will be asked to answer a few questions about the video (e.g. How much do you want to see the rest of the drawing?).
You must make a response to all questions on the screen. All sliding scales will start at the midpoint. If your response is at the midpoint, you still have to click the sliding circle to register a response. You will be prompted to answer all the questions if you happen to forget one.
After responding to the questions, you get to decide whether you would like to continue watching the current video ("Continue Watching") or skip to the end ("Skip to End") by selecting the appropriate button. If you skip to the end, the video will be fast-forwarded to the final drawing. Before you can move to the next video, you will first be asked to answer the questions you would answer at the end of each video.
Press Next to continue reading instructions.
At the end of a trial, you will have the option to replay the video ("Replay Video"), this time with no interruptions or move to the next video ("Next Video"). To select either option, you must first type in your final guess and again, make a response to ALL slider scales. You, again, will be prompted to answer all of the questions if you happen to forget one.
Once you've watched the 25 pre-selected videos, you can choose to continue watching more videos if you want to. These additional videos will function just like the previous ones except now you will have the option to stop the game either during the video (at pause points) or after the video has finished.
At this point, you may watch as many or as few of the videos as you want to. These additional videos do not impact your compensation.
Videos will start playing automatically when you hit the button to advance (including the "Start" button below).
If you would like to begin the experiment, please enter your Prolific ID below and press the START button.
Guess?
How much do you WANT TO KNOW what the drawing is going to be?
NOT at all VERY Much,
How CONFIDENT are you about what the drawing is going to be?
NOT confident VERY confident
How TENSE does watching this video make you feel right now?
NOT at all VERY Much
Enter your FINAL guess:
How SURPRISED were you when you realized what the picture was?
NOT surprised VERY surprised,
How SATISFYING was it to watch this video?
NOT satisfying VERY satisfying
How APPEALING do you find this image?
NOT appealing VERY appealing
How much do you WANT TO WATCH the next video?
NOT at all VERY much