@(message: String)
If you want to run NavProt on your computer, you can download the zip archive below. Archive contains three files, navprot.jar which is the program itself, navprot which is the bash script for Linux/OS X and navprot.bat which is a command line script for running NavProt in Windows.
| Files | Size |
| navprot.zip | 4.26 MB |
You need to have Java Runtime Environment (at least version 1.7) installed on your computer. To check it on Windows, you need to open command prompt. Press Windows Key + R and type cmd and press enter. For checking it on Linux/OS X open a terminal window. Type the following into console:
java -version
If you see an output similar to this one, you are good to go:
java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
If you do not have Java installed you can download it from here. For OS X you might have to install Java Development Kit as well, which can be found in here.
Run the terminal and change directory to directory where you extracted the contents of the zip archive.
$ cd Downloads
Unzip the contents of the zip file.
$ unzip navprot.zip
We are interested in navprot shell script. We need to make it executable.
$ chmod u+x navprot
Let's assume that your PDB files are located in /home/user/mypdbs and initial.pdb is the name of your initial conformation PDB file and final.pdb is the name of your final conformation PDB file. For this example we take A chains of both structures. In addition, we want to save our results into /home/user/navprot_results. Type the following to start running your simulation.
$ ./navprot /home/user/mypdbs/initial.pdb A /home/user/mypdbs/final.pdb A /home/user/navprot_results # or $ sh navprot /home/user/mypdbs/initial.pdb A /home/user/mypdbs/final.pdb A /home/user/navprot_results
Extract the contents of the zip archive that you downloaded. Press Windows Key + R and type cmd and press enter. Change directory to the directory where you extracted your files in the command prompt.
> cd C:/Users/User/Downloads
navprot.bat is our executable file for running the simulation. Let's assume that we want to save our results to C:/Users/User/Documents/Navprot\ Results. If our PDB files are inside the Documents directory and initial.pdb and final.pdb are the names of initial and final conformation PDB files (A chains are considered for both), type the following to run the simulation:
> navprot.bat C:/Users/User/Documents/initial.pdb A C:/Users/User/Documents/final.pdb A C:/Users/User/Documents/Navprot\ Results
Alternatively, for both Linux/OS X and Windows you can also use the following command:
java -jar navprot.jar [path to initial conformation PDB] [initial PDB chain ID] [path to final conformation PDB] [final PDB chain ID] [path to results directory]
Simulation might take from a few hours up to a three or four days. When it is over, there will be three files in your results directory. torsion.txt contains the theta and phi angles of both initial and final structure. It is created in the beginning of the simulation and it is read by the program itself. results.txt file includes cartesian and generalized coordinates of each simulation step. Finally, results.pdb is created at the end of the simulation. It contains each conformation of each step taken during the simulation as NMR model.
This software makes use of Apache Commons, BioJava (please cite) and JMAT libraries. Executable jar file contains these libraries and they are protected with Apache, LGPL and GPL licenses. Please use the software accordingly.


--- creation_epoch:<PHONE_NUMBER> lastmod_epoch:<PHONE_NUMBER> categories: ['Tech Tricks'] title: Benchmarking Laptop WiFi Adapters --- Looking at the PCI (mini-PCI or M.2 style) adapters for laptop WiFi. I used iperf3 for bandwidth testing. An 802.11ac wireless network with the iperf3 server on the local gigabit lan.
Intel AC 7260 - 435mbps download speed / 300mpbs upload speed
Intel AX200 - 629mbps download speed / 586mpbs upload speed


By this time you are excited and want to try out this demo. There are a few ways you can get hands on with this demo. Following is the logical breakdown for an installation. In many cases you might just need to install the demo only. However assuming you might just have an Openshift (OCP) Cluster or a Red Hat Managed Integration. We have put the instructions for the following scenario. The installation can be broken into three steps:
- Openshift Installation (Assumption: Installed)
- Installing Integreatly (If you dont have RHMI)
- Installing the Demo (Ansible playbooks)
The last secton on this page is for the partner demo system, which Red Hat Consultants, Solution Architect and Partners use. This might not apply to everyone.
I have my own Openshift Cluster
The demo is currently baselined to Red Hat Openshift 3.11, work is underway to port it to 4.2. The following instructions assume you have a running Openshift cluster i.e. a 3.11 cluster. If you have a Red Hat Managed Integration(RHMI) or Integreatly cluster move to the next section.
The demo uses features like:
Security e.g. SSO (Single Sign On),
Observability (Prometheus, Grafana),
logging and more from the Integreatly services.
Its an important component and supporting infra-services for the demo.
To install Integreatly, follow the installation instructions. [here]: https://github.com/integr8ly/installation
I have a Red Hat Managed Integration(RHMI) or Integreatly cluster
If you do not have a running RHMI or Integreatly cluster please check the previous section on how you can install it.
Assuming that you have a running Integreatly cluster. Login to the Openshift console as a cluster admin via command line
oc login master.example.openshiftworkshop.com -u <user> -p <password>
Make sure you can clone the following repo e.g.
git clone https://github.com/Emergency-Response-Demo/install.git
This installer also uses Ansible. theres a comprehensive list or roles and playbooks that install the demo. Ensure that you are logged in as a Cluster admin.
Assuming you have cloned the git repo, from the command line change dir (cd) to install/ansible
The README file should list the following prerequisites:
oc
client on the PATH- logged in into the cluster with a user with cluster admin rights
- A Registry Credentials Secret with access to
registry.redhat.io
namedimagestreamsecret
should exist in theopenshift
Namespace. See https://access.redhat.com/RegistryAuthentication for more details. - A MapBox access token. See https://docs.mapbox.com/help/how-mapbox-works/access-tokens/ for more details.
Installing
Create a copy of the inventory template file:
$ cp inventories/inventory.template inventories/inventory
Replace the sample MapBox access token in the inventory file (map_token
) with a real MapBox token. Assuming you have a token for mapbox. If you do not have a token,
To provision all the components:
$ ansible-playbook -i inventories/inventory playbooks/install.yml
This could take upto 30 minutes to complete.
By default, the developer
user will be given project admin permissions for
the Emergency Response projects. To give these permissions to another user,
override the cluster_provisioner
variable during provisioning.
Individual components can be installed by the executing the corresponding playbook. For example, to install only the Kafka cluster:
$ ansible-playbook playbooks/strimzi_operator.yml
$ ansible-playbook playbooks/kafka_cluster.yml
$ ansible-playbook playbooks/kafka_topics.yml
Apart from the strimzi_operator
playbook, none of the playbooks require cluster admin rights.
Headover to the getting started section to understand more about the demo components
Uninstalling
To uninstall:
$ ansible-playbook playbooks/install.yml -e ACTION=uninstall
I am a Red Hat partner and would like to access this demo via the partner demo system.
-
The
ssh
utility installed on your laptop.Note
If your network connection is intermittent, consider installing the mosh utility (
yum install mosh
) as an alternative to thessh
utility. -
Web browser installed on your laptop.
-
Broadband internet connectivity.
Overview
The target audience for this guide are those Red Hat Solution Architects, Consultants and Red Hat Partners that are interested in using the Emergency Response application to:
-
Demonstrate the Red Hat middleware product suite running on OpenShift.
-
Provide training on the Red Hat middleware product suite running on OpenShift.
If you are interested in building this demo from its source code, please refer to the TODO document.
Lab Virtual Machine
Your lab environment is remote and consists of the following:
-
OpenShift Container Platform (OCP)
This lab environment can be accessed via ssh as well as through your local browser.
Order Virtual Machine
This section guides you through the procedure to order a virtual machine (VM) for this course.
-
In a web browser, navigate to the Red Hat Partner Demo System at: https://rhpds.redhat.com/catalog/explorer.
-
Authenticate using your OPENTLC credentials, for example:
johndoe-redhat.com
. -
Navigate to the following catalog:
Services → Catalog → Catalog Items → Multi-product Demos
. -
Select the following catalog item:
RHT Emergency Response
. -
Click
Order
on the next page. -
In the subsequent order form, select the check box confirming you understand the runtime and expiration dates. :
-
At the bottom of the same page, click
Submit
.
Confirmation Emails
Upon ordering the lab environment, you will receive the following two emails:
-
Your lab environment is building
-
Save this email.
-
This email Includes details of the three VMs that make up your lab application similar to the following:
-
Make note of the 4 digit GUID (aka: REGION CODE)
- Whenever you see “GUID” or “$GUID” in a command, make sure to replace it with your GUID.
-
Make note of the URL of the
workstation
VM.You will use this when ssh’ing to your application.
-
Make note of the URL of the
master
VM.You will use this when accessing the OCP Web Console.
-
The OpenShift master URL varies based on the region where you are located, and may vary from the example shown above.
-
For the duration of the course, you navigate to this OpenShift Container Platform master node.
-
-
-
VM ready for authentication
Once you receive this second email, wait about another 5 minutes and then you can then ssh into the
workstation
VM of your Ravello application.
SSH Access and oc
utility
SSH access to the remote lab environment provides you with the OpenShift
oc
utility.
-
ssh access to your lab environment by specifying your opentlc userId and lab environment $GUID in the following command:
$ ssh<EMAIL_ADDRESS>-
Authenticate into OpenShift as a non cluster admin user (user1) using the
oc
utility$ oc login https://master00.example.com -u user1 -p r3dh4t1!
Note
If you initially receive a HTTP 403 or no such host response, give it a minute or so and try again.
-
OCP cluster admin access
OCP cluster admin access is provided by switching to the root operating system of your lab environment as follows.
$ sudo -i # oc login -u system:admin # NOTE: This command is typically not needed # /root/.kube/config already contains the _system:admin_ user's token
-
Provide cluster admin access to OpenShift user1:
# oc adm policy add-cluster-role-to-user cluster-admin user1
Refresh Red Hat SSO state
Your Red Hat SSO needs to be refreshed with valid redirect and web_origin URLs to support your Emergency Response demo. For this purpose, a script has been provided as follows:
-
SSH into the workstation node of your demo environment as disussed in the previous section.
-
As the root operating system user, execute the following exactly as listed:
$ sudo -i mkdir -p $HOME/lab && \ wget https://raw.githubusercontent.com/gpte-emergency-response-demo/misc/master/erdemo_state_refresh.sh -O $HOME/lab/erdemo_state_refresh.sh \ && chmod 755 $HOME/lab/erdemo_state_refresh.sh \ && $HOME/lab/erdemo_state_refresh.sh
-
You should see a response similar to the following:
will update the following stale guid in RHSSO from: 43b5 to 5dff UPDATE 3 UPDATE 2 ... deploymentconfig.apps.openshift.io/sso rolled out deploymentconfig.apps.openshift.io/emergency-console rolled out
If you are curious as to what exactly is getting modified in the RH-SSO, you can review the script.
In particular, notice that the redirect_uris and web_origins are modified to reflect the actual URL of your Emergency Response lab environment.
-
After a couple of minutes, expect your RH-SSO pod to have re-started:
$ oc get pods -n sso keycloak-operator-d894597dc-pkfkc 1/1 Running 1 5h sso-3-4rg52 1/1 Running 0 1m sso-postgresql-1-dn4fl 1/1 Running 1 5h
-
Exit out of the root operating system user shell:
# exit
Make sure to exit out of the root shell after every use
OpenShift Container Platform
Your lab environment is built on Red Hat’s OpenShift Container Platform (OCP).
Access to your OCP resources can be gained via both the oc
CLI utility
and the OCP web console.
OCP Web Console
-
Point your browser to the URL created by executing the following :
$ echo -en "\nhttps://master00-$GUID.generic.opentlc.com\n\n"
Note
Substitute
GUID
in the above command with the GUID of your lab environment. -
Authenticate using the following user credentials provided in the confirmation email.
Installation Complete!
Assuming everything has turned up smoothly. If you now login to the Openshift console you should be able to see the project “emergency-response-demo” and all the services running inside it. To understand how to run this demo, please move to the Getting Started page.


title is a title.
This is <? a PI ?>.
This is comment.
This is multiline comment.
This is tag now .
This is tag now.
This is an empty tag.
This is something strange.
Auto-closing:
Expanding:
An invalid tag:

A
block tag
.
An invalid </closing> tag.
A tag.
An unclosed tag.
Some element with | pipe symbol
Some element with | pipe symbol
Some element with | pipe
symbol|
underlined


{% extends "base.html" %} {% block content %}
View a project, select samples, edit, export, and upload.
Upload progress 0%


Class
AlphabetExpansionModifier that adds a character to an alphabet.
Modifier that adds a character to an alphabet.
| Defined in | <seqan/modifier.h> |
|---|---|
| Signature |
template <typename TAlphabet, char CHAR[, typename TSpec]>
class ModifiedAlphabet<TAlphabet, ModExpand<CHAR,TSpec> >;
|
Template Parameters
TAlphabet |
Original value type. |
|---|---|
CHAR |
char character that specifies, what value should added to the alphabet. CHAR should not be a char that already stands for a value in TAlphabet. For example, do not use 'A' or 'a' as CHAR when expanding Dna. |
TSpec |
Optional specialization tag. This modifier is intended to expand SimpleType classes, default is Default. |
Detailed Description
Special Characters
Some values of CHAR have special meaning:
- '-'
- A gap character. The value in the expanded alphabet that corresponds to '-' will be returned by the function gapValue.
- '$'
- An end of string character.


OUT OF SIGHT (1998) A Film Review by Ted Prigge Copyright 1998 Ted Prigge
Director: Steven Soderbergh Writer: Scott Frank (based on the novel by Elmore Leonard) Starring: George Clooney, Jennifer Lopez, Ving Rhames, Don Cheadle, Steve Zahn, Albert Brooks, Dennis Farina, Catherine Keener, Isaiah Washington, Luis Guzmán, Nancy Allen, Donna Frenzel, Keith Loneker, Michael Keaton, Samuel L. Jackson
There are two reasons why I just love to read and/or watch Elmore Leonard novels/adaptations: a) they're so unpredictable, and b) they have quite frankly the most interesting characters than anything that comes out today. The world of Elmore Leonard is filled with interesting characters of varying intelligence, who all at some point get to step into the foreground and mouth off to the audience. The plots are piloted only by them, and we read/watch with intensity, trying to follow the plethora of characters as they twist and turn the plot, never leaving us behind and never allowing us to predict what will happen next.
This is something that Hollywood isn't usually able to handle, but for some reason, the past three Leonard adaptations - "Get Shorty," "Jackie Brown," and this - are incredibly faithful not just to the plotting of the respective novels, but to their overall feel. In the past, reading and watching Leonard adaptations were totally different, but now, it's like Hollywood has had an epiphany: they've taken the time to read his novels, understand what makes them so compelling, and hire the right directors to create them in celluloid form.
If I had never seen "Get Shorty" or "Jackie Brown," I would have proclaimed "Out of Sight" the best and most fascinating Leonard adaptation. It fully understands the way that Leonard feels, allows each character to glow radiantly, develops some real depth to the film to connect to the audience, and even has an emotional core. It even has completely amazing performances, and turns its two leads, who have both had a bit of trouble connecting to audiences in the past, into great Hollywood stars in the tradition of Bogart and Bacall or Tracy and Hepburn (or even Allen and Keaton). Is it substantially weaker than the other two films? No way; it's right up there with them.
The protagonists of "Out of Sight" are one bank robber and one Federal Marshall. Jack Foley (George Clooney, growing his old hair back and ditching the old school-Doug Ross stuff...not that that was a bad thing) is the crook who, in the first unrelated-to-everything-else scene robs a bank in the most laid back (not to mention most hilarious since Woody Allen tried to rob a bank in "Take the Money and Run") robbery scene in history by merely telling the teller that a man sitting at a desk with her boss is his partner. Unfortunately, his car stalls and he winds up in prison.
Shortly thereafter, the escapes with a little snitching and help from his friend and assistant, Buddy Bragg (Ving Rhames, still glowing). But in the process, he manages to kidnap a tough Federal Marshall dressed in a Chanel dress, Karen Sisco (Jennifer Lopez), the other main protagonist. He stuffs himself in the trunk with her, and on the way to a rendezvous, chats up with her about, of all things, the career of Faye Dunaway, discussing "Bonnie and Clyde," "Network," and "Three Days of the Condor." He lets her go and all, but the two both have an attraction and obsession with one another.
The obsession grows as Jack and Buddy team up with a vicious criminal he knew from prison, Maurice "Snoopy" Miller (Don Cheadle, showing off his versatility as an actor once again), to do a job on a sleazy billionaire they also knew from prison, Richard Ripley (a balding Albert Brooks - so that WAS a toupee!), who squealed that he had a collection of uncut diamonds somewhere in his mansion. Meanwhile, the FBI is trying to track Jack down with the help of Karen, who can't decide if she wants to catch him because he's a crook or because she's totally attracted to him.
The film was directed by Steven Soderbergh, who hit the big time back about a decade ago with the film that launched the craze for independent films, "sex, lies, and videotape," but has had a rough time making movies since. Instead of playing it for laughs like Barry Sonnenfeld did with "Get Shorty," or playing it straight like Quentin Tarantino did with "Jackie Brown," Soderbergh directs it with a masterful touch of emotional and psychological depth. He freezes frames at key moments, intercuts two scenes to form one, and uses the humor as a break from the intensity of the rest of the film. The screenplay by Scott Frank (of "Dead Again" fame) is as complex as Soderbergh's direction: he forms the plot so that the film plays in often non-linear form, throwing in unanounced flashbacks so that much of the film plays as a series of memories and thoughts of respective characters. This is done so much that when one scene which is shot in a dream-like state arrives, I wasn't sure if it was real or not.
This is easily the most deep of the Leonard adaptations because while "Get Shorty" was a satire on Hollywood and "Jackie Brown" was just a psychological caper film, "Out of Sight" actually connects to the audience. The two protagonists are easily likable, and their obsession with one another is the driving force of the film. We care about these two, and we see that their relationship is really a tragedy: they're torn between their love for one another and the boundaries of what they are. In effect, the film actually says more about the relationship between cops and robbers than "Heat" did, and just as an added cherry, the scene where the two characters take a break and sit down for a drink, which was the most hyped-up (not to mention the most anticlimactic) scene of the film, is twenty times better.
The film's basically a battle between what people do for a living and what they really could be, a battle between a romance film and a pulpy thriller. We have a joyously fun caper film here with all the right ingredients (double crosses upon double crosses, trigger-happy characters, rich asswholes getting their just deserts, and even some irony), but we also have a wonderful love story, easily the best of the Leonard adaptions (the ones in "Get Shorty" and "Jackie Brown" were more sweet than this is), and acted with just the right amount of sexual chemistry by Clooney and Lopez. These two characters have only three or four scenes together, but when they talk, you just hold your breath in case something amazing happens. And it does.
And of course, there are those little things that you have to love about this film, like the two big shock cameos that pop up (one a tie-in with "Jackie Brown"), that gory death towards the end which is the funniest one of those since the head shot in "Pulp Fiction," the opening bank robbery scene, the opening of the safe in Brooks' house, and two hilarious supporting roles by Tom DiCillo's wife, Catherine Keener, and Steve Zahn as a stoner "colleague" of Jack's, who shows to mainstream audiences the knack for comedy he has shown in other smaller films. There's nary a dull moment or character in an Elmore Leonard novel, and it's amazing that a film based on one of his novels has realized how to appropriately connect two characters emotionally with their audience.
MY RATING (out of 4): ****
Homepage at: http://www.geocities.com/Hollywood/Hills/8335/
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


{% load staticfiles %}
The starting state of the menu will appear collapsed on smaller screens, and will appear non-collapsed on larger screens. When toggled using the button below, the menu will change.
Make sure to keep all page content within the #page-content-wrapper
. The top navbar is optional, and just for demonstration. Just create an element with the #menu-toggle
ID which will toggle the menu when clicked.
month
airport
carrier
| carrier avg | carrier median | carrier std | late aircraft avg | late aircraft median | late aircraft std | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Danger | Moe |<EMAIL_ADDRESS>| Danger | Moe | Danger | Moe |<EMAIL_ADDRESS>| Danger | Moe | Danger | Moe |<EMAIL_ADDRESS>| Danger | Moe |


Windows > Single-Window Mode
XCF wut?
Be chill. That's GIMP's file format.
I'm clicking and nothing is happening!
Every tool has specific options.
Layers is the most important feature.
Layers is the most important feature.
DO STUFF
Resizing Tools
Canvas vs. Image vs. Layer
Crop Tool [Shift+C]
Scale Tool [Shift+S]
Zoom Tool [Z]
Move Tool [M]
Selection Tools
Rectangle Tool [R]
Ellipse Tool [E]
Free Select Tool [F]
Paths Tool [B]
Paths Tool vs. Scissor Select Tool
Color Tools
Colors area and Colors menu
Fuzzy Select Tool [U]
Select by Color Tool [Shift+O]
Color Picker Tool [O]
Bob Ross Tools
Paint Brush Tool [P]
Pencil Tool [N]
Airbrush Tool [A]
Ink Tool [K]
Shani Rhys James Tools
Bucket Tool [Shift+B]
Erase Tool [Shift+E]
Text Tool [T]
Clone Tool [C]
QUESTIONS
bryan.n.jones@nashille.gov


Click Here to enter 2 new json datasets into anime.db
find items
Title is {{greeting.data[0].title}}
type is {{greeting.data[0].type}}
Seasons is {{greeting.data[0].seasons}}
Dvds is {{greeting.data[0].dvds}}
ID is {{greeting.data[0]._id}}
| Title | Dvds | Type | Ids | Seasons |
| {{x.title}} | {{x.dvds}} | {{x.type}} | {{x._id}} | {{x.seasons}} |


Module: ActionView::Helpers::CaptureHelper
| Included in: | |
| Defined in: |
Overview
CaptureHelper exposes methods to let you extract generated markup which can be used in other parts of a template or layout file.
It provides a method to capture blocks into variables through capture and a way to capture a block of markup for use in a layout through content_for.
Instance Method Summary collapse
-
#capture(*args)
The capture method extracts part of a template as a String object.
-
#content_for(name, content = nil, options = {}, &block)
Calling content_for stores a block of markup in an identifier for later use.
-
#content_for?(name) ⇒ Boolean
content_for? checks whether any content has been captured yet using
content_for
. -
#provide(name, content = nil, &block)
The same as
content_for
but when used with streaming flushes straight back to the layout. -
#with_output_buffer(buf = nil)
Use an alternate output buffer for the duration of the block.
Instance Method Details
#capture(*args)
The capture method extracts part of a template as a String object. You can then use this object anywhere in your templates, layout, or helpers.
The capture method can be used in ERB templates…
<% @greeting = capture do %>
Welcome to my shiny new web page! The date and time is
<%= Time.now %>
<% end %>
…and Builder (RXML) templates.
@timestamp = capture do
"The current timestamp is #{Time.now}."
end
You can then use that variable anywhere else. For example:

<title><%= @greeting %></title>

<%= @greeting %>

37 38 39 40 41 42 43
# File 'actionview/lib/action_view/helpers/capture_helper.rb', line 37
def capture(*args) value = nil buffer = with_output_buffer { value = yield(*args) } if string = buffer.presence || value and string.is_a?(String) ERB::Util.html_escape string end end
#content_for(name, content = nil, options = {}, &block)
Calling content_for stores a block of markup in an identifier for later
use. In order to access this stored content in other templates, helper
modules or the layout, you would pass the identifier as an argument to
content_for
.
Note: yield
can still be used to retrieve the stored content,
but calling yield
doesn't work in helper modules, while
content_for
does.
<% content_for :not_authorized do %>
alert('You are not authorized to do that!')
<% end %>
You can then use content_for :not_authorized
anywhere in your
templates.
<%= content_for :not_authorized if current_user.nil? %>
This is equivalent to:
<%= yield :not_authorized if current_user.nil? %>
content_for
, however, can also be used in helper modules.
module StorageHelper
def stored_content
content_for(:storage) || "Your storage is empty"
end
end
This helper works just like normal helpers.
<%= stored_content %>
You can also use the yield
syntax alongside an existing call
to yield
in a layout. For example:
<%# This is the layout %>

<title>My Website</title>
<%= yield :script %>

<%= yield %>

And now, we'll create a view that has a content_for
call
that creates the script
identifier.
<%# This is our view %>
Please login!
<% content_for :script do %>

<% end %>
Then, in another view, you could to do something like this:
<%= link_to 'Logout', action: 'logout', remote: true %>
<% content_for :script do %>
<%= javascript_include_tag :defaults %>
<% end %>
That will place script
tags for your default set of JavaScript
files on the page; this technique is useful if you'll only be using
these scripts in a few views.
Note that content_for concatenates (default) the blocks it is given for a particular identifier in order. For example:
<% content_for :navigation do %>

<%= link_to 'Home', action: 'index' %>

<% end %>
And in another place:
<% content_for :navigation do %>

<%= link_to 'Login', action: 'login' %>

<% end %>
Then, in another template or layout, this code would render both links in order:

<%= content_for :navigation %>

If the flush parameter is true content_for replaces the blocks it is given. For example:
<% content_for :navigation do %>

<%= link_to 'Home', action: 'index' %>

<% end %>
<%# Add some other content, or use a different template: %>
<% content_for :navigation, flush: true do %>

<%= link_to 'Login', action: 'login' %>

<% end %>
Then, in another template or layout, this code would render only the last link:

<%= content_for :navigation %>

Lastly, simple content can be passed as a parameter:
<% content_for :script, javascript_include_tag(:defaults) %>
WARNING: content_for is ignored in caches. So you shouldn't use it for elements that will be fragment cached.
149 150 151 152 153 154 155 156 157 158 159 160 161 162
# File 'actionview/lib/action_view/helpers/capture_helper.rb', line 149
def content_for(name, content = nil, = {}, &block) if content || block_given? if block_given? = content if content content = capture(&block) end if content [:flush] ? @view_flow.set(name, content) : @view_flow.append(name, content) end nil else @view_flow.get(name).presence end end
#content_for?(name) ⇒ Boolean
content_for? checks whether any content has been captured yet using
content_for
. Useful to render parts of your layout differently
based on what is in your views.
<%# This is the layout %>

<title>My Website</title>
<%= yield :script %>

<body class="<%= content_for?(:right_col) ? 'two-column' : 'one-column' %>">
<%= yield %>
<%= yield :right_col %>

189 190 191
# File 'actionview/lib/action_view/helpers/capture_helper.rb', line 189
def content_for?(name) @view_flow.get(name).present? end
#provide(name, content = nil, &block)
The same as content_for
but when used with streaming flushes
straight back to the layout. In other words, if you want to concatenate
several times to the same buffer when rendering a given template, you
should use content_for
, if not, use provide
to
tell the layout to stop looking for more contents.
169 170 171 172 173
# File 'actionview/lib/action_view/helpers/capture_helper.rb', line 169
def provide(name, content = nil, &block) content = capture(&block) if block_given? result = @view_flow.append!(name, content) if content result unless content end
#with_output_buffer(buf = nil)
Use an alternate output buffer for the duration of the block. Defaults to a new empty string.
195 196 197 198 199 200 201 202 203 204 205 206 207
# File 'actionview/lib/action_view/helpers/capture_helper.rb', line 195
def with_output_buffer(buf = nil) #:nodoc: unless buf buf = ActionView::OutputBuffer.new if output_buffer && output_buffer.respond_to?(:encoding) buf.force_encoding(output_buffer.encoding) end end self.output_buffer, old_buffer = buf, output_buffer yield output_buffer ensure self.output_buffer = old_buffer end


Manage your products
Your products are what users can choose to pay for through the GOV.UK Pay interface.
Add a product
Remove a product
| Product name | Price (£) | Remove? |
|---|---|---|
| Legalising a signature | 30 | |
| Preparing any certificate, declaration or document in English, or in another language | 50 | |
| Declaration of existence (except if required by British Government) | 25 |


XML
Introduction
Extensible Markup Language (XML) is a standard for containing data. When you want to transfer some info between two devices, you can set some rules on how the data is to be packed and sent from device A. On the other side, device B receives the data and knows how to unpack it. Before XML, this created some difficulties. What if you were sending the data to a system implemented by a different designer? You would have to explain how you packed your data so the other designer can unpack it. With XML, the design is transmitted with the data.
XML is extensively used. For example, when a website's shopping cart wants to know the shipping cost on a certain package, it will pack the shipment details in XML format and then send to FedEx. The FedEx website will read the info and send the cost info back in XML format as well.
The usefulness of XML can also be utilized in other ways. Let's say you are designing a data logger. Let's also assume the end users will need to configure the data logger to fit their needs. When a user configures the device, you need to store the info internally somehow. You can save the data with your own format which requires extra coding and debugging, or better just use XML. All GHI Electronics NETMF devices have a built-in XML reader and writer (packer and un-packer ).
Here is an example XML file that will help in our data logger design.
<?xml version="1.0" encoding="utf-8" ?>
<NETMF_DataLogger>
<FileName>Data</FileName>
<FileExt>txt</FileExt>
<SampleFreq>10</SampleFreq>
</NETMF_DataLogger>
This XML example includes a root element and three child elements. XML is very flexible, for instance all info in the example could have been defined as root elements. The root element "NETMF_DataLogger" contains three pieces of info that are important for our logger. It contains the file name, the file extension and a frequency of our saved data. With this example, the logger will create a file called Data.txt and then will log data into that file 10 times every second.
Spaces and layout do not mean anything to XML, we (humans) need them to make things easier to read. The previous example can be stored without the spaces and layout like this.
<?xml version="1.0" encoding="utf-8" ?><NETMF_DataLogger><FileName>Data</FileName>
<FileExt>txt</FileExt><SampleFreq>10</SampleFreq></NETMF_DataLogger>
See why spaces are important to us human being! You can also add comments inside XML files, comments do not mean anything to XML but can help in manual reading of the files
<?xml version="1.0" encoding="utf-8"?>
<!--This is just a comment-->
<NETMF_DataLogger>
<FileName>Data</FileName>
<FileExt>txt</FileExt>
<SampleFreq>10</SampleFreq>
</NETMF_DataLogger>
Finally, XML support attributes. An attribute is an extra info given to an element. Alternatively, you can add another element to describe the extra information. The choice is yours. Attributes are not explained in this document; there are many excellent tutorials and examples on the internet.
GHI Electronics' NETMF devices support reading and writing XML format. Reading and writing XML files work over streams which means any stream you already have or implement can work with XML. For example, we will use the built-in MemoryStream and FileStream.
The examples shown below require the following assemblies: System.IO, System.Xml, MFDpwsExtensions.
XML in Memory
This code shows how to make an XML document in memory, it implements the XML presented above.
using System.IO;
using System.Xml;
using System.Ext.Xml;
using Microsoft.SPOT;
public class Program
{
public static void Main()
{
MemoryStream ms = new MemoryStream();
XmlWriter xmlwrite = XmlWriter.Create(ms);
xmlwrite.WriteProcessingInstruction("xml",
"version=\"1.0\" encoding=\"utf-8\"");
xmlwrite.WriteComment("This is just a comment");
xmlwrite.WriteStartElement("NETMF_DataLogger");//root element
xmlwrite.WriteStartElement("FileName");//child element
xmlwrite.WriteString("Data");
xmlwrite.WriteEndElement();
xmlwrite.WriteStartElement("FileExt");
xmlwrite.WriteString("txt");
xmlwrite.WriteEndElement();
xmlwrite.WriteStartElement("SampleFeq");
xmlwrite.WriteString("10");
xmlwrite.WriteEndElement();
xmlwrite.WriteEndElement();//end the root element
xmlwrite.Flush();
xmlwrite.Close();
//////// display the XML data ///////////
byte[] byteArray = ms.ToArray();
char[] cc = System.Text.UTF8Encoding.UTF8.GetChars(byteArray);
string str = new string(cc);
Debug.Print(str);
}
}
When you try to add an assembly you will notice that there are two assemblies for XML, the "System.Xml" and "System.Xml.Legacy". Do not use the "legacy" driver, it is there for older NETMF devices with systems that did not have built-in support for XML.
If the "Unsupported Exception" is raised on an older device, replace the System.Xml assembly with System.Xml.Legacy
Readable Output
When running the example above, we will see the output XML data at the end. The data is correct but it is not formatted to be "human" friendly. Note that we are reading and writing XML files on a very small system so the less info (spaces/formatting) the better it is. So it is actually better not to have any extra spaces or formatting but for the sake of making things look pretty, we will add new lines as follows
using System.IO;
using System.Xml;
using System.Ext.Xml;
using Microsoft.SPOT;
public class Program
{
public static void Main()
{
MemoryStream ms = new MemoryStream();
XmlWriter xmlwrite = XmlWriter.Create(ms);
xmlwrite.WriteProcessingInstruction("xml",
"version=\"1.0\" encoding=\"utf-8\"");
xmlwrite.WriteComment("This is just a comment");
xmlwrite.WriteRaw("\r\n");
xmlwrite.WriteStartElement("NETMF_DataLogger");//root element
xmlwrite.WriteString("\r\n\t");
xmlwrite.WriteStartElement("FileName");//child element
xmlwrite.WriteString("Data");
xmlwrite.WriteEndElement();
xmlwrite.WriteRaw("\r\n\t");
xmlwrite.WriteStartElement("FileExt");
xmlwrite.WriteString("txt");
xmlwrite.WriteEndElement();
xmlwrite.WriteRaw("\r\n\t");
xmlwrite.WriteStartElement("SampleFeq");
xmlwrite.WriteString("10");
xmlwrite.WriteEndElement();
xmlwrite.WriteRaw("\r\n");
xmlwrite.WriteEndElement();//end the root element
xmlwrite.Flush();
xmlwrite.Close();
//////// display the XML data ///////////
byte[] byteArray = ms.ToArray();
char[] cc = System.Text.UTF8Encoding.UTF8.GetChars(byteArray);
string str = new string(cc);
Debug.Print(str);
}
}
Reading and Parsing
Creating XML files is actually easier than parsing (reading) them. There are many ways to read the XML file but basically you can just go through the file and read one piece at the time till you reach the end. This code example creates an XML data and it reads it back.
using System.IO;
using System.Xml;
using System.Ext.Xml;
using Microsoft.SPOT;
public class Program
{
public static void Main()
{
MemoryStream ms = new MemoryStream();
XmlWriter xmlwrite = XmlWriter.Create(ms);
xmlwrite.WriteProcessingInstruction("xml",
"version=\"1.0\" encoding=\"utf-8\"");
xmlwrite.WriteComment("This is just a comment");
xmlwrite.WriteRaw("\r\n");
xmlwrite.WriteStartElement("NETMF_DataLogger");//root element
xmlwrite.WriteString("\r\n\t");
xmlwrite.WriteStartElement("FileName");//child element
xmlwrite.WriteString("Data");
xmlwrite.WriteEndElement();
xmlwrite.WriteRaw("\r\n\t");
xmlwrite.WriteStartElement("FileExt");
xmlwrite.WriteString("txt");
xmlwrite.WriteEndElement();
xmlwrite.WriteRaw("\r\n\t");
xmlwrite.WriteStartElement("SampleFeq");
xmlwrite.WriteString("10");
xmlwrite.WriteEndElement();
xmlwrite.WriteRaw("\r\n");
xmlwrite.WriteEndElement();//end the root element
xmlwrite.Flush();
xmlwrite.Close();
//////// display the XML data ///////////
byte[] byteArray = ms.ToArray();
char[] cc = System.Text.UTF8Encoding.UTF8.GetChars(byteArray);
string str = new string(cc);
Debug.Print(str);
///////////read xml
MemoryStream rms = new MemoryStream(byteArray);
XmlReaderSettings ss = new XmlReaderSettings();
ss.IgnoreWhitespace = true;
ss.IgnoreComments = false;
//XmlException.XmlExceptionErrorCode.
XmlReader xmlr = XmlReader.Create(rms,ss);
while (!xmlr.EOF)
{
xmlr.Read();
switch (xmlr.NodeType)
{
case XmlNodeType.Element:
Debug.Print("element: " + xmlr.Name);
break;
case XmlNodeType.Text:
Debug.Print("text: " + xmlr.Value);
break;
case XmlNodeType.XmlDeclaration:
Debug.Print("decl: " + xmlr.Name + ", " + xmlr.Value);
break;
case XmlNodeType.Comment:
Debug.Print("comment " +xmlr.Value);
break;
case XmlNodeType.EndElement:
Debug.Print("end element");
break;
case XmlNodeType.Whitespace:
Debug.Print("white space");
break;
case XmlNodeType.None:
Debug.Print("none");
break;
default:
Debug.Print(xmlr.NodeType.ToString());
break;
}
}
}
}


Per Mertesacker would 'love' to work with Mikel Arteta again
Per Mertesacker would jump at the chance to work with Mikel Arteta again amid rumours Arsenal are considering axing Unai Emery.
The Arsenal head coach reportedly has until January to turn results around after a dismal start to the campaign.
Champions League football next season already looks to be out of reach for the Gunners and Manchester City are bracing themselves for an approach from Arsenal for Arteta, should they decide to part ways with Emery.
The Premier League champions are expected to sanction Arteta’s return to Arsenal were they to move for the Spaniard.
Mertesacker manages Arsenal’s academy and after playing with Arteta at the Emirates, the German would love to work with him again.
‘I was his vice-captain at Arsenal and he trusted me,’ he told FourFourTwo.
‘I was by his side during team meetings and we had a great bond. I’d love to work with him again, a top guy.’
Advertisement Advertisement
Arsenal are in turmoil at the moment, with Granit Xhaka’s explosive clash with fans leading to a sudden change in captains at the club.
Emery refused to say whether his former skipper will play again for Arsenal before his side suffered a damaging defeat to Leicester City.
Arsenal resume club action this week with a home game against Southampton, with the Gunners eight points off fourth place.


Get upto 30% off on Car Bookings...
Get 5% unlimited cashback on payment with VISA cards...
Book for a month and get 5 days complimentary...


{% extends "layout.html" %} {% block content %}
I started this website to update my project related to learning wed development. I'm trying to do even the little project discribed in the course.


Hey there, something you did caused an error in the application. Usually this is because of one or more of the following:
Too many people are using my application at this time.
Your league isn't a categories league and you tried visiting the weekly tools.
There was some kind of problem in my code.
If you continue receiving errors even after some time and aren't sure why, please send me an e-mail at
<EMAIL_ADDRESS>along with the action you tried + the time (timezone
too) and I'd be happy to look into the issue. Thank you for visiting my website and best of luck for the fantasy season!


Twisted Mail Documentation
Examples
: short code examples using Twisted Mail
Twisted Mail Tutorial
: Building an SMTP Client from Scratch


Hola! This is all the data related to this question.
Only registered users can comment or answer the question.
Only Question Poser will be able to EDIT the question.
To add a code to your answer please use {;} and add your code.
Whatever information you would be posting will be helping others in different ways.


{% extends "base.html" %} {% block title %}
{% if error.code == 404 %} What you were looking for is just not there. {% else %} A server error ocurred. We're sorry about this. We've received the error and will investigate this shortly. {% endif %}
Go somewhere nice {%- if tb %}


The State of the States
Reload
A data-driven overview
More importantly, looking at them will give you a picture of what you can built with this powerful kit.
Move the Sliders to change the weights
Market (stocks):
Sentiment:
Polling:
Weather:
Toggle Buttons
Toggle is on
Toggle is off


Hello, I'm Salam Mustafa,My age is 25, my background in Computer science. Passionate Web Developer with demonstrated history of working in the web development industry, skilled in HTML, CSS, JavaScript, NodeJS, ReactJs and Java. Graduated from Al-Hussein Bin Talal University 2018.
- I had taken an advanced internship in Full-Stack web development.
- I had taken a internship in Java and Andriod development.
- I studied Computer Science in Al-hussien Bin Talal University.
- I had taken Internship as oracle developer.
My Experience And Education
- Turkey
- Canada
- United Kingdom
- Spain
- Italy
- Greece
- Russia
- Holanda
- Switzerland
- Sweden


The system experienced an unknown error. Please contact an administrator if you continue to see this message.


|
|
|
| 6.1 Feature list |
|
If connection mode of your SMS server is 0 or 3, SMS users will be switched to decoy site after login. In the first web page of the decoy site, you
will find some icons on it (similar to figure 6.1.1). Every icon on this page represent a feature. If you are system administrator, you have right to
add new feature, modify existing feature, select which features to be shown or hidden on the first page of the decoy site.
|
| |
Figure 6.1.1
|
| |
|
To access the feature list, click on the 'Setup' button on the left top corner to bring in the menu (figure 6.1.2), and select the item 'Feature Setup'.
Then feature list will be displayed (figure 6.1.3).
|
| |
Figure 6.1.2
|
| |
Figure 6.1.3
|
| |
|
As you may have already noted on the feature list (figure 6.1.3), item with yellow background colour is shown on the first page of the decoy site, but
item with gray background colour does not. It means that you could have many features on your decoy site, but just let some of them be used. And you
could change the displaying order of shown features also. I will show you how to do it in next section.
|
|
|
|


Ideal for a privacy policy, cookie policy, disclosure policy, disclaimer policy, and terms of service.
Automatically highlight only the keywords you specify to attract more attention to an important section and allow the reader to quickly understand your policies.
Thanks for caring about your privacy.
See our other privacy tools on https://weareprivacy.com


@(organizations : List[Organization])
Organization: @organization.name
Organization was closed
Reopen
Organization is active
Edit
Close


--- layout: default title: "Examples of generated stats" ---
#DFAdventure @ Foonetic
#CyberFriends @ IRCNet
#LogCabin @ IRCNet
#Silly @ IRCNet
#Sandy @ IRCNet
#TwilightTavern @ IRCNet


"The isolated man does not develop any intellectual power.  He may then perhaps do a little research of his own and make a very few discoveries which are passed on to other men. From this point of view the search for new techniques must be regarded as carried out by the human community as a whole, rather than by individuals."


Last updated 2003-07
Contents
What this guide discusses. The purpose of this guide is to enable users to tunnel to OpenOffice.org using SSH2 (Secure Shell 2). This guide provides instructions for the creating the certificate (also called the public key) used by SSH2 servers and for sending that certificate to the OpenOffice.org administrator. It will also then explain how to create a secure "tunnel" between your machine and OpenOffice.org using this certificate. (Throughout this discussion, the term "public key" and "certificate" will be used interchangeably.) This guide only seems long. Much of the material is repeated and tailored to suit the needs of particular clients.
What this guide does not discuss. This guide does not explain in detail how to use CVS, only how to set up the tunnel so that you can use CVS. See the brief account of using CVS with a tunnel below.
Note: In order to tunnel to OpenOffice.org, you must first submit a public key (certificate); it must then be accepted; it will only be accepted if you have the authorization of your project lead and have submitted either a Joint Copyright Assignment or Public Document License and your name is on the "Copyright Approved" list. For more information, see the Contributing page.
SSH2 is a flexible and more secure replacement for telnet and rlogin, and SSH1. It is widely used in development projects to provide access control and data-transport security. SSH2 can be used to create an unobtrusive, transparent "port tunnel" to the CVS (concurrent versions system) server. SSH2 uses encrypted certificates (a public/private key pair) to verify the user's identity and to transmit data. Data sent through the tunnel is encrypted, but the process is invisible to you or to the client software you are using to access the CVS repository.
Because it is easy to use and very secure, OpenOffice.org uses SSH2 for developers accessing the CVS repository.
Before you can establish an SSH2 connection, you have to find the right software, i.e., a client that places a terminal on your desktop, if you are using Windows or Mac OS 9 (Mac OS X has SSH2 capability built in). Fortunately, there are excellent clients that offer Windows and Mac OS users desktop terminals. The section below discusses them in detail. Of course, if you are using Linux (or some other Unix variant), then you can skip that section and go right to the section, "Tunneling" that describes the key elements in establishing an SSH2 tunnel in a Unix-like environment. And if you already are familiar with the these clients, then you can skip ahead to "Using the Desktop Terminal."
Once you have obtained and configured a client terminal, you must
Generating the key is simple, and there are both commercially available and free clients that do the job for you. Sending the key then is only a matter of attaching it to an issue in which you explain which module you wish to access and assigning it to<EMAIL_ADDRESS>in the www.component.
Command Line: Linux, Mac OS X, Unix, Solaris. Linux supports SSH. To connect using SSH, see the "Tunneling" section below. As well, Mac OS X, via the "Terminal" application, allows you to generate a key pair, and establish a tunnel. This is no surprise, as it is using tried-and-true software. To establish the tunnel, follow the instructions as for Linux, with the exception being that the command for generating the DSA key in BSD is different: ssh-keygen -t dsa (though I have found that ssh-keygen -d also works).
MacOS 9.x. Hardly surprising, isn't it, that tunneling using Mac OS 9 is trivially easy? The concepts are the same as for Windows, Linux, or Mac OS X, as are the numbers, etc. But, in a nutshell, here's what you do. It's a two-step process. First, you must configure MacSSH, then configure the CVS client.
There are several free and easy-to-use CVS clients for the Mac. Each has its shortcoming (among them being the inane similarity of names) but I prefer two: MacCVSPro, and MacCVSClient. Both allow port forwarding (so you can use the tunnel) and both are easily configured. The data is the same for both. As well, for both you must create a folder for he CVS files. This can be done within the client or outside. I suggest you do it first, and that you clearly identify your folder.
Note: I am providing all the information you may need. Not all this information is required by the clients.
The above information should be all you need. If you receive error messages (a "1" in CVS), you may not have correctly set up your tunnel or have a bad password. As well, be sure to put the preceding slash "/" before the cvs (lowercase) root. If it's not there, you won't be able to checkout material.
Windows. If you are using Windows (NT or 9x or 2K), then please use Cygwin. Cygwin, from Cygnus Solutions, provides a nearly full Unix environment on your desktop. Cygwin has been updated to load quickly and easily. It also generates the keys in the proper format for OpenOffice.org. We recommend Cygwin and do not recommend any other client.
Regardless of the way the public key has been created, it needs to be sent to OpenOffice.org and accepted by OpenOffice.org administrators.
Okay, you've come this far. If you've done everything right, you will have a tunnel on your desktop to the server housing the CVS repository. This tunnel is not a shell, i.e., you will not see any of the more or less familiar Unix elements, just a perplexingly blank screen, and a message indicating when you last logged in.. And this is the way it should be.
What you must do now: Log on to CVS. As mentioned before, this document does not touch upon CVS protocols, only how to establish an SSH tunnel. But, to emphasize the issue, the establishment of the tunnel is distinct from loggin into the CVS repository. The tunnel only enables you to log in. For documentation on how to use CVS, please see the Help on CVS.
See below, How to use CVS with a tunnel.
See also the new document generated by Miljenko Williams of Website that does a fine job of explaining not only tunneling and Cygwin, but also CVS.
The tunnel is a conduit for cvs data. When you initiate a tunnel following the instructions above, you are connecting to the CVS server. The tunnel, which is more a window into the server, becomes your designated CVS host. You need only supply the correct password for the CVS server; it is the same as your OpenOffice.org user password. Thus, the process is:
The easiest way to terminate the tunnel is to Ctrl-C (^C) it out of existence. In both the Mac OS and Windows environment, you can also close the client window, thereby shutting the tunnel down.


Apache XML Commons Resolver Applications package
This package provides a few simple command-line tools for exploring the facilities of the resolver.


Version 1.0.2
Fixes
- Issue 84: Issue 84: not setting property
batch.emr.workers.bid
should again
correctly choose ON_DEMAND worker instances whe using Amazon EMR
Version 1.0.1
July 11 2013
Fixes
- Issue 79: fix a ClassCastException from SelfOrganizingMaps in the feature space map display.
- Issue 81: don't require a port in fs.defaultFS, in Hadoop configuration.
Version 1.0.0
June 20 2013
Other
- Remove license file requirement. Do not set
--licenseFile
on the command line.
- Issue 78: If model.features is too low to build a model, it will be automatically lowered so that
a model can be built.
Version 1.0.0 beta 1
May 13 2013
Fixes
- Issue 63: the REST API endpoint for the
setItemTag
has been corrected. See Upgrade Notes.
- Issue 64: Values of λ that are too large should cause the model build to be rejected,
rather than cause runtime errors related to large user and item vectors during fold-in.
- Issue 65: Evaluation framework can again handle files with tag data
- Issue 66: Resolved an issue that generated an exception on adding new data, when few or no clusters
are present, but clustering is enabled
- Issue 67: REST API endpoints correctly return a client error instead of exception when expecting a
URL path but none is presented
- Issue 68: Fixed error in /estimateForAnonymous endpiont that returned a server error / exception
when all items in the request were unknown, instead of a simple client error
- Issue 70: Mean average precision computation has been corrected
- Issue 74: Computation Layer: Fixed a possible incorrect cluster assignment; can be incorrect when
input is small, cluster count is high
- Issue 75: Fixed an important error in the Computation Layer (only) that can cause recommendations
or similar items, or in some cases steps in iteration, to be missed in some cases where
multi-threaded reducers are used.
Other
- Issue 72: When number of feature changes, still bootstrap model state from previous generation's
Y matrix vectors
- Issue 77: Standardize output of AllItemSimilarities, AllRecommendations and direct output to a file
Version 0.11
March 31 2013
New Features
- New "tag" API which allows callers to record interactions between users/items and concepts, or labels,
which inform the model but are not returned in results. For example a user can be "female" and an item
"yellow".
- New
estimateToAnonymous
method, which functions like estimatePreference
for
"anonymous" users, like recommendToAnonymous
.
Fixes
- Minor fixes and improvements to model loading and persistence in Serving Layer.
- Java client can now fail over to replicas in more error cases, like mid-request interruption
Other
- Improved speed in Computation Layer.
IDRescorer
behavior has slightly changed for recommendToMany
. See Upgrade Notes.
- Default value of
model.als.alpha
and negative strength values has changed. This should result in
a small improvement in quality on many data sets. See Upgrade Notes.
- Computation Layer
model.cluster.k
parameter has been split into model.cluster.user.k
and model.cluster.item.k
to control k for user and item clustering, respectively.
- The Computation Layer will now delete old generations, keeping 10 generations by default.
If a different value is desired, set
model.generations.maxToKeep
.
Version 0.10
February 19 2013
New Features
- Computation Layer now supports clustering with kmeans++ / spectral clustering
- New
similarityToItem
method to retrieve individual item-item similarities
- New
mostPopularItems
method to list items associated to the largest number of users
- New
/user/clusters/*
and /item/clusters/*
methods to query clusters
- New "client thread" in the Serving Layer can be used to pull/poll for data from an external source
and interact directly with the Serving Layer
- Optional basic DoS attack protection in the Serving Layer
Other
RescorerProvider
can now use the local recommender instance in its operation
- More support for multiple
RescorerProvider
classes at once
- Model building dynamically calculates number of iterations needed; default biases to more initial
iterations (and better accuracy) than previous default.
Fixes
- Resolved an issue that could cause two Computation Layer computations sharing the same bucket to interfere.
Support files like
keystore.ks
and rescorer.jar
, which are normally placed in
sys/
, should now be placed in instance/sys/
.
Version 0.9
December 31 2012
New Features
- Serving Layer can now run in read-only mode to serve a model but not accept updates
/ingest
endpoint can now accept web-browser-style file uploads
- New unified license system is in place. Obtain a trial license from
myrrix.com
Fixes
- Standalone Serving Layer .war file deployment works again
- HTTP DIGEST authentication is now made compatible with all clients and the latest Tomcat again
- Choice of partition and replica is now deterministic in the client. This avoids problems where two
replicas presented slightly different results to the client on successive requests.
- Removed "_LOCK" file mechanism in Computation Layer in favor of querying the live cluster state
- Stand-alone serving layer avoids a possible exception when recomputing a new model on new items
- Several fixes for problems in computing models over very small input
- Repeated updates from new users and items should not be able to produce extreme values in the model
now even after many updates
- Java client library now supports rescorer parameters
- Added missing
recommendToMany
to client CLI, changed some APIs to be more consistent,
and fixed other small issues in the CLI.
Other
- Faster display of self-organizing map visualization for moderate to large data sets.
- Client command line has changed slightly, to take optional argument like "howMany" as a flag
(e.g.
--howMany 5
instead of stand-alone argument
mostSimilarItems
and recommendToAnonymous
will return a result if
at least one argument item exists, rather than if all exist
- Update to support Hadoop 1.1.1 and latest Amazon EMR releases
Version 0.8
November 16 2012
New Features
- Serving Layer console now provides a visualization of users and items in feature space as a self-organizing map.
- Partitions may be specified as
auto
in the Java client, to automatically discover partitions.
- Serving Layers may automatically discover partition information, when run on Amazon EC2.
- Instance IDs can now be any string, instead of strictly numeric.
recommendToAnonymous
method now supports rescoring.
Fixes
- New users and items should no longer be able to become temporarily unavailable when a new model loads
- Forced shutdown (with Ctrl-C,
kill
) should initiate orderly shutdown and sync
data to S3 / HDFS
- Corrected output format from --recommend and --itemSimilarity in Computation Layer
- Fixed a bug wherein the Computation Layer could drop a small number of users' data
AllItemSimilarities
now correctly uses item IDs from model
- It is now possible to specify an SSL keystore file and JAR file containing a RescorerProvider to the
Serving Layer, when run on Amazon AWS.
- Normalized Discounted Cumulative Gain evaluation metric uses a corrected formula
- More efficient LSH implementation which allows performance-accuracy tradeoff at smaller (more reasonable)
data sizes.
Other
- Optimizations in Computation Layer for lower Hadoop latency and overhead
- Now can control the number of writes between rebuild in stand-alone Serving Layer mode with property
model.local.writesBetweenRebuild
estimate
method now returns 0 for unknown users and items rather than an exception.
- Computation Layer supports Hadoop 1.1.x
- Computation Layer has minor changes now to operate with Hadoop 2.x, but still requires "MRv1" mode.
Version 0.7
October 08 2012
New Features
- Computation Layer functionality from PeriodicRunner and GenerationRunner has been merged, and now
adds a web-based console
- Experimental feature in Computation Layer to decay importance of old data over time.
- New example shell scripts for more convenient execution of Serving Layer, Computation Layer
Fixed
- Resolved an exception on startup on the stand-alone Serving Layer when no data is present.
Other
- Serving Layer can reload new models incrementally, reducing peak heap size required.
- ALS algorithm has been modified to handle negative strength values more reasonably at model building time,
though input should still generally be positive.
- Fold-in less aggressively emphasizes new input's effect
- Updated to Tomcat 7.0.30, SLF4J 1.7
Version 0.6
September 3 2012
New Features
- Added
getAllUserIDs
and getAllItemIDs
API methods
- Serving Layer contains new command-line programs,
AllRecommendations
and
AllItemSimilarities
, which will recommendations for all users / similar items for all items,
respectively, in bulk. This may be useful to create a simple batch recommendation process when that is
all that's needed.
- Serving Layer console has simple online quality estimate: average estimation error
- New optional parameter can suppress loading of known items, saving memory but meaning any item
may be recommended, even ones existing in the input already for a user
- New
PeriodicRunner
in Computation Layer for continuous execution
- Computation Layer has experimental feature to merge models from other instances
Other
- Better parallelization and performance in Computation Layer recommend and similar item computations
- Improved evaluation framework, including AUC and precision/recall test
- Java client:
--translate
command line flag has become --translateUser
and
--translateItem
- Update to Guava 13
Version 0.5
July 9 2012
New Features
- Log output now available on Serving Layer console
/ready
endpoint in Serving Layer tells whether it is ready to answer requests
removePreference
now exposed in the REST API
Fixes
- Java client can now upload files to ingest when HTTP DIGEST authentication is enabled
- Java client and Serving Layer now use compression when receiving data to ingest
removePreference
behavior is now more correct (e.g. doesn't accept NaN
,
recorded correctly by the Serving Layer) and rational (removed problematic 'value' parameter).
Other
- Radically faster model building in Serving Layer standalone mode -- usually minutes instead of hours now.
- Computation Layer iterations are ~40% faster as three MapReduce jobs have been merged into one
- Computation Layer workers no longer have to load the feature matrix into memory, and can deal with
feature matrices that don't fit in memory (at a performance cost).
- Update to Tomcat 7.0.29
Version 0.4
June 10 2012
New Features
- Serving Layer may now be built as a WAR file for deployment in a servlet container.
- Rescorer can now accept run-time arguments via URL parameter
rescorerParams=
- Console page now supports ingest, setting pref, etc. -- all API methods
Other
- Minor improvements to ALS convergence
- Computation Layer is now available, separately
- Serving Layer and Java Client are available from Subversion repository on Google Code
Version 0.3
May 7 2012
New Features
- Now supports rescoring logic for recommend() and mostSimilarItems(). These are available in ServerRecommender
and also may be added to a Serving Layer instance by setting --rescorerProviderClass to an implementation
class which provides rescoring objects.
- recommend() can now consider known items as candidates for recommendation, if desired
Fixes
- Java client was not able to configure SSL key or auth credentials in some cases.
Other
Version 0.2
April 23 2012
New Features
- Alternating-least-squares computation is now seeded with output of previous run, if available,
for faster model convergence
- Added new estimatePreference() method and REST API method that can compute multiple estimates
in one call.
- Now contains Ant build script for building the distributed code.
Fixes
- Java client result for
recommendToAnonymous
and mostSimilarItems
were swapped.
- Several minor bug fixes.
Other
- Update to Apache Tomcat 7.0.27
- Update to Apache Commons Math 3.0
Version 0.1
April 3 2012
Initial release.


Week 7 & 8 Resources
- Merry Christmas & Happy New Year !
- Week 7 & 8's Topic is On Stacks & Queues
-
There's an entire chapter in CTCI about Stacks & Queues, Chapter 3
-
Check out this video from CTCI's author on the topic -
Data Structures: Stacks and Queues
-
Another good resource is this
link
-
Stacks are quite important and the call-stack is what makes recursion
possible.
-
They offer O(1) peeks and pops (i.e checking what's on top of the
stack , removing what's on top)
-
Good practice involves attempting to write a Stack class yourself.
-
My favorite stack/queue problem is this ->
Evaluate Reverse Polish Notation


NFL Run Pass Prediction!
Game Information
Home
Away
Team Score:
Opponent Score:
Quarter:
1st
2nd
3rd
4th
Time in Quarter (MM:SS):
Side of the Field:
Own
Opponent
50 Yard Line
Yard Line:
Down:
1st
2nd
3rd
Distance:
Source code files availble on my
github.


The UMLS system is a very valuable resource for the biomedical and
health science community as it provides an integrated view of
various disparate biomedical terminologies. UMLS is currently used
in various research projects such as biomedical natural language
processing, semantic tagging, data interoperability, enhancing
UMLS itself, and electronic medical records to name a few.
However, there has been no effort to visualize the UMLS
concepts/terms and their relationships for classroom teaching and
student learning purpose.
The goal of this
research project is to provide a user-friendly visualization of
UMLS concepts primarily for classroom teaching and student
learning.
For more information on the project and its future, contact -
Dr. Rishi Kanth Saripalle
Old Union 105
Illinois State University
www.rishikanth.com
rishi[dot]saripalle[at]ilstu.edu


proceduralgeneration
Progression
X
Drum
X
Bass
X
Piano/Strum/Riff rhythm
X
Pad
X
launch
randomize
startPlay
pausePlay


Preparation time
less than 30 mins
Cooking time
30 mins to 1 hour
Serves
Serves 10-12
Dietary
This easy layered traybake is inspired by American coffee cakes – which contain no actual coffee, but are meant to be eaten with your morning cuppa. If you were really pushed for time, you could use a very good quality soft jam for the filling, but it will be much sweeter.
Preheat the oven to 180C/350F/Gas 4. Grease and line a rectangular baking tin (approximately 26cm x 20cm/10½in x 8in).
In a saucepan combine the fruit with 50ml/2fl oz water. Bring the fruit just to the boil, reduce the heat and simmer for 2-3 minutes.
In a mixing bowl combine the caster sugar with the cornflour. Stir into the fruit and continue to cook for 2-3 minutes, stirring frequently, until the mixture is thick and jammy. Set aside to cool.
For the crumble topping, add the flour to a mixing bowl and rub in the butter until the mixture resembles fine breadcrumbs and no large lumps of butter are left. Stir in the sugar and set aside.
For the cake, in a large mixing bowl, sift together the flour, baking powder and cinnamon. Stir in the ground almonds until thoroughly combined.
In another bowl beat together the sugar with the melted butter, eggs, yoghurt and milk mixture until thoroughly mixed. Stir into the flour mixture just to combine. Don’t overmix it, but watch out for big lumps of unmixed flour.
Spoon two-thirds of the mixture into the lined tin, gently spreading out evenly to the corners. Spoon the cooled fruit mixture evenly over the top.
Using a teaspoon, dot the remaining cake batter evenly on top of the fruit. This will not cover the entire cake, but make little hillocks with gaps in between.
Sprinkle the crumble mixture over the top, filling in all the gaps to cover the fruit.
Bake in the oven for 45-50 minutes, until the crumble topping is golden-brown. Allow to cool for ten minutes in the tin, then transfer the cake in its paper to a cooling rack. This is cake is beautiful eaten while still warm, with a dollop of crème fraîche or yoghurt – but is equally nice the next day with a cup of coffee.


SerPaper
Menu
Home
Research papers
Contact
{{ post.title }}
Written by
{{ post.author }}
{{ post.pub_date }}
Category:
{{ post.subject }}
Abstract
{{ post.abstract }}
Downloadble link


PLEASE interrupt if you have questions!
Today we're going to talk about
OpenStreetMap
openstreetmap.org
a free, open, community built map of the world
(and how you can make it better)
an editable database with global coverage
What is on Open Street Map?
Generally, anything representing discrete physical geographic objects
From the docs: OpenStreetMap represents physical features on the ground (e.g., roads or buildings) using tags attached to its basic data structures (its nodes, ways, and relations). Each tag describes a geographic attribute of the feature being shown by that specific node, way or relation.
data licensed under the Open Database License: ODbL
(This means that your contributions have to be open, too.)
Open Street Map is not:
- A complete web mapping or GIS platform in and of itself
-
It is a database, with APIs and tools for accessesing, querying, and displaying the data within. Other tools use OSM as a data source.
- A hosting service for operational, transient, temporal data, or non-discrete data.
-
Data you add should be verifiable, permanent, and significant. More on that in a bit.
Meanwhile, here are some resources for later:
But wait - hold up!
Why does all this matter?
- Free and open data for geographic projects
- Ability for volunteers to quickly respond to mapping needs
- Sustainability
- Community agency
No single entity controls what goes on OSM
"...no one company should have a monopoly on place...Place is a shared resource, and when you give all that power to a single entity, you are giving them the power not only to tell you about your location, but to shape it."
- Serge Wroclawski, OSM Contributor/Ethical Hacker
And now that I'm signed up...how do I start editing?
Three options this evening!
Add features using the built in iD Editor
Take a mini-tour of Lawrenceville and map using Field Papers
Map things that are Verifiable
Add things that are verifiable by other mappers; we're all collaborating on this map. If a business has a sign, add it to OpenStreetMap. Don't add information that would disturb the privacy of somebody. So, the address of a building is fine. The name of the residential tenant is not.
Map things that are Permanent
Add things that are relatively permanent. Is there a public restroom at the local ball diamond? Add it to the map. Did the city place a portable toilet for a parade this weekend? That can be left off the map, or be certain to both add and remove it promptly.
Map things that are Significant
Add your local park picnic table to the map. That's significant enough to add to the map. Don't add the piece of gum stuck under the park bench to the map. It might be permanent and verifiable, but it isn't significant. Just throw the gum away.
Going Mobile
Many apps are available that enable viewing and editing OSM data in numerous ways, including using those with desktop-like functionality, use of GPS traces, and even augmented reality apps.
OK let's chat!
What did you map?
Q/A + Troubleshooting
Beyond OSM
Building a web map? OSM is the base data source relied upon by many free and open source software (FOSS) geo-tools.
These tools enable you to layer your own data over OSM and display it on the web.


--- layout: default title: "Partnered Schools" permalink: "/schools" ---
UCLA's currently on summer break, which is when we begin our recruiting cycle for schools. We're still hashing out renewing existing partnerships and seeking new ones - if you're interested in working with us, please shoot us an email at {{site.email}}!
Note: due to the ongoing COVID-19 crisis, Teach LA is still in the process of evaluating all of our options. If you have any questions or concerns, please email us!
See Our Classes


We prefer submissions in the form of problem statements. A good rule to start with is to phrase your idea in the form of:
How might we (thing you want to change here)"
For example: "How might we make it easier for residents to apply for a social safety net program" we consider a good problem statement, but "Let's build an iOS app to track how people use parks in our community." we consider to be a poor problem statement. The reason behind this, is that we want to avoid starting from a point where we have already made many assumptions about the project. Who knows if an iOS app is the best choice, and what problem are you trying to address by tracking people's opinions?
The project must be open-source for its entire lifetime. If this is code, it means freely available on GitHub. If it isn't code, this means that the progress and deliverable 'thing' is openly available in some other accessible way.
The project must solve a real civic need (while there are plenty of good ideas out there, we limit ourselves to civic tech related, social good projects). We realize this is a somewhat fuzzy distinction, which is why we always will have you discuss your problem statement/idea with Code for Buffalo core team members before we commit to anything.


2.19.0 (2012-02-08)
=============
- RC client supports server-side WebDriver-backed Selenium.
- Touch APIs implemented in the Ruby client (Android only)
- Firefox:
- Fix deserialization of user.js in Firefox::Profile
- Native events implemented for Firefox 10.
- Renamed the experimental “fast” page loaded strategy “unstable” and disable queuing of commands when it’s enabled.
- Disabled native events for Firefox 8 as it’s deprecated by Mozilla.
- Fix for exceptions thrown when an alert occurs during script execution.
- Chrome:
- New download link for the server component: code.google.com/p/chromedriver/downloads/list
2.18.0 (2012-01-27)
=============
- Fix for getting value attribute of option elements. (3169)
- Firefox and IE:
- Raise UnhandledAlertError if an alert is present during an operation. The unhandled alert is also dismissed to mitigate repeat exceptions.
- Firefox:
- Better handling of getText invocations on SVG elements.
- Fix for Element#click in Firefox 4. (3253)
- Fixed bug when deserializing user.js in Firefox::Profile.
- Default profile preferences now read from shared JSON blob.
- Android and iPhone:
- Client support for the geolocation API (see Selenium::WebDriver::DriverExtensions::HasLocation)
- Client support for the web storage API (see Selenium::WebDriver::DriverExtensions::HasWebStorage)
- iPhone:
- Server now supports frame switching (for frames in the same domain).
2.17.0 (2012-01-16)
=============
- Firefox:
- Fix excessive unwrapping when switching windows.
- Set toolkit.telemetry.{enabled,rejected} in the default Firefox profile.
- Support up to version 12 with synthesized events.
- Fixed issues launching Firefox 9 due to modal dialog (3154, 3144)
- Chrome:
- Now accepts a :url option, pointing to an already running Chrome server.
- Now accepts a :proxy option (i.e. Selenium::WebDriver::Proxy instance).
- iPhone:
- iWebDriver will auto-play HTML5 video (3152)
- Element#attribute(“value”) falls back to the text of option tags, if no value attribute is specified (3169)
2.16.0 (2012-01-04)
=============
- Firefox:
- Native events support for Firefox 9
- Allow apps to use offline storage by default
- Fix excessive unwrapping when executing mouseMove
- Click in the middle, rather than the top-left of elements (3034, 2700)
- IE:
- Raise StaleElementReferenceError when interacting with elements outside the currently focused frame
- Handle frames and iframes in showModalDialog windows
- Chrome:
- Improve client handling of invalid error responses
- iPhone:
- Updated to latest CocoaHTTPServer
- Remote:
- Improve performance of Element#== by only making an RPC when necessary.
- Disallow caching of GET requests
- Various:
- Raise ArgumentError instead of UnsupportedOperationError on invalid modifier key
- Improve docs for Server, ActionBuilder and Window
- Update to latest Sizzle (used for :css selectors in older browsers)
2.15.0 (2011-12-08)
=============
- Firefox:
- Now supports up to Firefox 11 (for syntesized events)
- Implicit waits now change how long we wait for alerts. This functionality will change in 2.16
- Fix scrolling issue (2700)
- IE:
- Fix issue with getWindowHandles() and showModalDialog() (1828)
- Add support for the window sizing and positioning API
- Make Platform.bitsize use the correct constant from FFI
- WebDriver internals:
- Atoms code contribution from Google
- Closure updated
2.14.0 (2011-11-29)
=============
- Add Selenium::WebDriver::Support::Select class to ease working with select lists.
- Add Capabilities.ipad and Capabilities.iphone (2895)
- Replace json_pure dependency with multi_json. (2901)
- Don’t leave sockets hanging in SYN_SENT state while polling.
- Allow selecting option elements even if the enclosing select has zero opacity.
- Exception renames (old names aliased and will still work in rescues):
- ObsoleteElementError -> StaleElementReferenceError
- UnhandledError -> UnknownError
- UnexpectedJavascriptError -> JavascriptError
- NoAlertOpenError -> NoAlertPresentError
- ElementNotDisplayedError -> ElementNotVisibleError
- Firefox:
- Fixed issue with scrolling on small viewports with native events.
- Fix CSS selector support in Firefox 3.0
- IE:
- Implement the window control API
2.13.0 (2011-11-18)
=============
- Firefox:
- Recovering from null window references in the Firefox driver (1438)
2.12.2 (2011-11-13)
=============
- Firefox
- Fix issue where Firefox 8 would throw permission errors after document.domain was modified (2863).
- Force window to the foreground on launch (see bugzilla.mozilla.org/show_bug.cgi?id=566671)
2.12.1 (2011-11-11)
=============
- Fix regression when typing into contenteditable elements.
2.12.0 (2011-11-10)
=============
- Loosened the ffi dependency now that Windows support is back (2755).
- Fix shutdown issues when using net-http-persistent against remote servers.
- Added beta window control API (see Selenium::WebDriver::Options#window).
- Firefox
- Support for Firefox 8.
- Better reporting of page size when attempting to move out of bounds.
- Beta implementation of window control.
2.11.0
(release skipped since it included only server-side changes)
2.10.0 (2011-10-27)
=============
- Improve native keyboard emulation on Windows.
- Allow commas in CSS selectors (2301)
- Firefox:
- Fix intermittent error when finding elements by XPath (2099)
- Fix detection of maximum page size (2700)
- Avoid extension selection dialog (extensions.autoDisableScopes)
- Fix invalid wire responses from the synthetic mouse (2695)
- Don’t scroll unnecessarily (1771).
- IE:
- Improve handling of clear on disabled or readonly elements.
2.9.1 (2011-10-24)
============
- Workaround for invalid error responses (2695).
2.9.0 (2011-10-21)
============
- Support file uploads to the remote server (see Selenium::WebDriver::DriverExtensions::UploadsFiles)
- New exception: Selenium::WebDriver::Error::MoveTargetOutOfBoundsError
- Implemented Chrome::Profile#add_extension
- Better respect for preformatted text in Element#text
- Reduced scrolling during tests for IE and Firefox.
- Firefox:
- Support for experimental page load detection.
- IE:
- Better detection of where to click on links (2675).
- Improve handling of modal dialogs (showModalDialog).
2.8.0 (2011-10-06)
============
- Firefox
- Avoid telemetry prompt on Firefox 7
- Allow parallel execution with native events on Linux (1326)
- Added native events support for Firefox 7 on Linux/Windows
- Improve search for libX11 for native events on Linux (384)
- Fix double click with native events
- Chrome
- Fail fast if the chromedriver server is not executable.
- IE
- Fix find_element bug (2563)
2.7.0 (2011-09-23)
============
- Firefox
- no longer types in the URL bar (2487)
- fixed native events click() issue when element is out of view
- double click + get no longer hangs firefox (2456)
- make sure escaped backslashes are properly escaped when serializing a Firefox profile (2485)
- IE
- fix event firing issue (2516)
- Opera
- don’t start the remote service if the driver is passed bad arguments
2.6.0 (2011-09-13)
============
- Rescue and retry on Errno::EADDRINUSE to work around ephemeral ports issue on Windows.
- Use correct default URL for the Android driver.
- Profile zipping now follows symlinks (2416).
- Firefox
- Disable malware check
- Various click improvements
- Don’t scroll if element is already in view
- IE:
- improve scrolling to elements with ‘overflow: scroll’
- properly trigger jQuery change events (2207)
- improve handling of nested modal dialogs
- Opera:
- capabilities exposed as options to Selenium::WebDriver.for
- Various iPhone driver fixes (e.g. 1396)
2.5.0 (2011-08-23)
============
- IE: support for double click and fix for clicks close to edge of window.
- Fix for clicking links that overflow into multiple lines (1020).
- Correct initial cursor position when typing into text fields with Firefox 6.
- Native events support for Firefox 6 on Windows and Linux.
- Fix bug in Android::Bridge when no :http_client option was passed.
- Set chrome.detach to tell chromedriver to leave browser running on exit.
2.4.0 (2011-08-11)
============
- Firefox 6 support.
- Raise in switch_to.alert when no alert is present.
- Improved handling of non-breaking spaces for Element#text.
2.3.2 (2011-08-01)
============
- Re-releasing since 2.3.1 was a buggy build.
2.3.1 (2011-08-01)
============
- Fix bug where Firefox would hang if Firefox::Profile#log_file= was set.
2.3.0 (2011-08-01)
============
- Add Selenium::WebDriver::Chrome::Profile
- Better detection of clickable areas in Firefox.
- Merge of Google-contributed code into the underlying Atoms.
- IE click issue fixed (1650)
- No longer raise in Element#inspect if the element is obsolete.
2.2.0 (2011-07-26)
============
- Add ability to listen for WebDriver events
- Fix Android/iPhone bridges to work similar to others (github.com/jnicklas/capybara/issues/425)
- Various atoms fixes
- Element equality now works properly with the remote server (251).
2.1.0 (2011-07-18)
============
- Various improvments to the IE driver (2049, 1870)
- Atoms fixes (1776, 1972).
- Synthetic mouse clicks do not propagate errors in onmouseover.
2.0.1 (2011-07-11)
============
- Make sure at_exit hooks aren’t inherited by child processes.
2.0.0 (2011-07-08)
============
- Remove deprecated methods Element#{toggle,select,drag_and_drop_*,value}.
- Add ability to pass :verbose, :native_events to the Chrome driver.
- Synthetic mouse implementation for Firefox - improves drag and drop support platforms without native events.
- Added Selenium::WebDriver::Opera (requires the remote server).
- Fix for locating Firefox on 64-bit Windows when missing from the registry.
- Fix native events on Firefox 4, 5.
0.2.2 (2011-06-22)
============
- Deprecate Element#{toggle,select,drag_and_drop_*}
- Chrome.path= now sets the path to Chrome, Chrome.driver_path= the path to the chromedriver server.
- Fix argument names in Mouse#move_to and Mouse#move_by.
- Support Firefox 5
- Chrome and Firefox drivers now includes the HasInputDevices module.
- Selenium::Rake::ServerTask now works with Rake 0.9.
0.2.1 (2011-06-01)
============
- Allow passing custom command line switches to Chrome (requires today’s release of the Chrome server)
- Avoid mutating arguments to find_element (issue 1273).
- Avoid conflicts when SUT modifies Array.prototype
- Allow setting arbitrary capabilities by adding Capabilities#[]=
- The Chrome driver is extended with TakesScreenshot.
- IE driver detects bad protected mode settings.
- Firefox driver no longer considers opacity when determining visibility.
- Fix for ActionBuilder#move_by.
- Treat Errno::EBADF as an indication that we failed to grab the socket lock (issue 1611).
- Ensure Firefox launches don’t hang on some Ruby versions (by improving Selenium::WebDriver::SocketPoller).
- Various internal driver improvements.
0.2.0 (2011-04-22)
============
- Update Ruby bindings to use the rewritten Chrome driver (see code.google.com/p/selenium/wiki/ChromeDriver).
- Add deprecation warning for WebDriver::Element#value (use Element#attribute(“value”) instead).
- Change the default timeout for Wait instances to 5 seconds.
- Fix bug where locators would fail if Object.prototype had been modified.
- Various IE fixes
- Issues: 698, 1444
- Improved handling of showModalDialog()
- Full-size screenshots
- Allow users to override the dom.max_script_run_time preference in Firefox.
- Removed DesiredCapabilities.safari, which was never supported anyway.
- Add DesiredCapabilities.opera, which will be supported in the Remote server if OperaDriver is on the classpath.
- Print warnings for deprecated constants in the RC client:
- Selenium::SeleniumDriver => Selenium::Client::Driver
- Selenium::CommandError => Selenium::Client::CommandError
- Removed top-level constants:
- SeleniumHelper (available as Selenium::Client::SeleniumHelper)
- SeleniumCommandError (available as Selenium::Client::CommandError)
0.1.4 (2011-03-21)
============
- Support for Firefox 4.
- Search PATH for Firefox / Chrome on OS X as well.
- Bump dependencies for ffi and childprocess (1356).
- Find module renamed to SearchContext
- Deprecated methods Driver#hover and Options#{speed,speed=} removed.
- Improve IE driver stability, IE9 support
- Added basic ActionBuilder and HasInputDevices#action. Not applicable for all browsers.
- Added Driver#execute_async_script
- Some WebDriver exception classes have been renamed to match its Java
equivalents:
ElementNotEnabledError -> InvalidElementStateError UnknownScriptResultError -> XpathLookupError
- Fix bug where Element#disabled? would alternate between true/false (r11438)
0.1.3 (2011-02-14)
============
- Several crashing bugs fixed in the IE driver.
- Alert API available through the remote driver.
- Driver#refresh fixed in the IE driver.
- Fixed paths for IE DLLs on Cygwin.
- Screenshot support in the IE and Remote drivers.
- Fix 1152 by avoiding IPv6 loopback.
- Added Mouse and Keyboard classes, accessible as Driver#{mouse,keyboard}. Considered experimental (IE + HtmlUnit only at the moment).
- Automation atoms now used extensively in the IE driver.
- Firefox::Bridge is now easier to extend (i.e. with a custom launcher).
- Add S::W::Remote::Http::Persistent (currently only usable with the remote server).
- IE driver passes along options like the other remote drivers, enabling user-specified HTTP clients.
- :firefox_profile added to Remote::Capabilities, enabling passing a profile to remote Firefoxes.
- IE driver now supports launching multiple instances of the browser.
- Remove some Ruby warnings (uninitialized ivars, URI.escape).
0.1.2 (2010-12-22)
============
- Changed frame switching behaviour (groups.google.com/group/selenium-developers/browse_thread/thread/8dc7938c35bb3968)
- IE driver rewrite landed.
- Initial support for alerts/prompts (in Firefox).
- Cygwin support.
- Driver#execute_script now properly wraps elements inside Hashes.
- Various fixes for Firefox 4.
0.1.1 (2010-11-29)
============
- Fix for Chrome.path=
- Remote drivers always add Content-Length for POST requests (thanks joshuachisholm)
- Fix for JS execution bug in the IE driver
- Add ability to specify a proxy on the Http::Default client.
- The remote drivers’ :http_client argument now take a configured instance.
0.1.0 (2010-11-11)
=============
- selenium-client code (Se1/RC client) is now included in the gem (require “selenium/client“).
- Add Selenium::WebDriver::Proxy, used to configure proxies for Firefox::Profile and the remote driver.
- Tweaked Firefox profile preferences, improve logging, disabled crash reporter.
- Reap Firefox profiles on close, not just on exit.
- Add selenium/rake/server_task and selenium/server which wraps the Selenium server jar.
- Various Firefox driver improvements (GC race conditions ++).
- IE::Bridge#initialize now takes an options hash like the other bridges.
- Added basic iPhone and Android driver classes.
- Firefox driver now works on FreeBSD.
0.0.29 (2010-10-09)
=============
- Element#find_element with :xpath follows the XPath spec (i.e. results are not limited to the receiver’s subtree).
- Element#attribute(attribute) now returns “false” instead of nil.
- Firefox::Profile instances can now be reused for multiple drivers.
- Redirect Firefox console logs to a file with Firefox::Profile.log_file=
- Added a simple Wait class, based on WebDriverWait in Java.
- Search PATH for Firefox executable on Windows also.
- Added Capabilities.android
- Fix saving of screenshots on Windows and Ruby 1.9 (using “wb” mode string)
- CSS selector support in the remote driver
- CSS selector support for IE (using querySelector when available, Sizzle elsewhere)
- CSS selector support for older versions of Firefox (through Sizzle)
- Cookie expiration dates are now handled correctly (730)
- Make Driver#bridge private, since this seems to be a common cause of confusion.
- Add {Element,Remote::Capabilities}as_json for Rails 3 (jonathanjulian.com/2010/04/rails-to_json-or-as_json/)
- User can configure path to exectuables with {Firefox,Chrome}.path = “/some/path“
- Added “chromium” as a possible name for the Chrome binary (769)
- Correctly set the HTTP client timeout (768)
- switch_to.window with block now handles exceptions and non-local returns.
- switch_to.window with block returns the result of the block.
- Extracted handling of child processes to a separate gem: github.com/jarib/childprocess
0.0.28 (2010-08-23)
=============
- Fix behaviour of Element#==, Element#eql? and Element#hash (hash still has issues on IE / remote).
- Include remote server backtrace in raised errors (if available).
- Chrome: Untrusted certificate support.
- IE: Fix NoMethodError when getElementAttribute returns nil.
- Driver#[] shorthand can take a locator hash, not just an id string.
0.0.27 (2010-07-22)
=============
- Fixes for Element#attribute on IE / Firefox
0.0.26 (2010-07-19)
=============
- Work around Curb issue: github.com/taf2/curb/issues/issue/40
0.0.25 (2010-07-19)
=============
- Prevent Firefox from launching in offline mode (issue 587).
- Add ability to set Firefox’ binary path through Selenium::WebDriver::Firefox::Binary.path=
- Add ability to install Firefox XPIs through Profile#add_extension.
- Better packaging/building of Firefox/Chrome extensions, which adds rubyzip as a dependency.
- Remote client supports HTTPS (issue 613 - thanks kkaempf).
- Fix error message for TimeOutError in the IE driver (issue 602)
- Add ability to use Chrome’s default profile.
- Fix for frame behaviour in Chrome (issue 273).
- Standard gem directory structure (issue 475).
0.0.24 (2010-06-17)
============
- Fix issues with quitting Firefox/Chrome on Windows + MRI.
0.0.23 (2010-06-15)
=============
- Improved the HTTP clients:
- hopefully fix some occasional socket errors on Windows
- rescue error on driver.close() with curb
0.0.22 (2010-06-11)
=============
- Bugfix: Workaround for github.com/taf2/curb/issues/issue/33 - curb would sometimes use DELETE for GET requests.
- Minor doc fix
- Add ability to set timeout for HTTP clients
0.0.21 (2010-06-11)
=============
- User can specify :http_client for the Firefox driver.
- Refactor HTTP client code
- Add Remote::Http::Curb as an alternative to the default (net/http) client.
0.0.20 (2010-06-03)
=============
- Fix bug where Firefox would hang on quit().
0.0.19 (2010-05-31)
=============
- Add a max redirect check to the remote driver
- Add Firefox::Profile#assume_untrusted_certificate_issuer=
- Add implicit waits (Selenium::WebDriver::Timeouts)
- at_exit hook to clean temporary profiles
- Fix for Errno::ECONNABORTED errors on Windows
- Fix issue where Firefox::Profile#secure_ssl= would have no effect
- Fix issue where locating elements by :css would fail in the Chrome driver.
- IE driver now works on 64-bit rubies.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/local.20notation.20for.20fin.20(n.2B1).html ---
How do I make the following work?
local notation ` [n] ` := fin (n+1)
I need this notation a lot, and all the explicit fin (n+1)
's are driving me crazy. Plus all the off-by-one errors that creep into my code...
hmm
[n]
already means something else
Oh -- I think that the n in quotes is a literal n
so at the very least you'll want ` [ ` n ` ] `
but I am not sure how over-riding already-used notation works
Thanks, it is working now. I didn't know about the existing notation; but using local notation
I can override it just fine (-;
variable (n : ℕ) #check [n] -- list ℕ
you just broke list ;-)
at least locally
of course, this might be clever :-)
although given your smiley convention I think I would have recommended ` (-; ` n ` ;-) `
Hmm, but I guess that the local
prefix means that I am still safe. I'm not using lists...
Johan, there are plenty of brackets available. See how I use brackets for commutators in https://github.com/PatrickMassot/lean-scratchpad/blob/master/src/support.lean#L115 for instance
But [n]
is standard in this game, isn't it?
Sure. [a, b]
for commutators is also standard
CS : "overloading is bad"; Math "but we do it so well!"
But waiting for CS people to change their notation for lists won't help
I don't think Johan should even make the notation local
I think Lean should just infer which notation is being used
it has an elaborator, right?
Sometimes it does
Sean, I meant: "sometimes it infers which notation is being used", not "sometimes it has an elaborator"...
Patrick: Aww, I liked the latter interpretation better.
Man, that would be a pretty crazy Lean 4 development
"we removed the elaborator to encourage users to write better code"
the metamath approach
This time we are happy Mario isn't working on Lean 4
Slogan: How To Be Lean: Elaborate It Yourself!
I wish there was something between notation
and local notation
, so that modules could export notation without forcing every downstream client to see it.
For example, something like notation which is tied to the current namespace, so that it is only visible when that namespace is open.
(I think that exact idea is probably not very good, but something of that flavor.)
This is exactly how lean 2 notation used to work. Why it changed, I don't know, and I'm not clear on whether to expect this to be different in lean 4.
I think that lean 3 notation is not handled very well at all, this is why I avoid all notation overloading in mathlib
Hmmm, ok. Does that mean that my local notation
for fin (n+1)
is dangerous?
A local notation is fine, assuming you never use lists in that file
but global notations require global coordination
Ok, understood
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Esther 1:9
Also Vashti the queen made a feast for the women in the royal house which belonged to king Ahasuerus.


You can return to PRIME at anytime to update your information, review your Terms of Access and renew your enrolment.
Questions about your enrolment should be directed to:


Reading JSON into R usually leaves you with some deeply-nested list objects which are a pain to munge and navigate — applying path expressions is one way to make this easier. rjsonpath
implements JSONPath, a selector / querying language for JSON, similar to XPath for XML.
As an example, take this simple JSON:
{"menu": {
"id": "file",
"value": "File",
"popup": {
"menuitem": [
{"value": "New", "onclick": "CreateNewDoc()"},
{"value": "Open", "onclick": "OpenDoc()"},
{"value": "Close", "onclick": "CloseDoc()"}
]
}
}}
Via read_json
this can be read into R as:
json
#> $menu
#> $menu$id
#> [1] "file"
#>
#> $menu$value
#> [1] "File"
#>
#> $menu$popup
#> $menu$popup$menuitem
#> $menu$popup$menuitem[[1]]
#> value onclick
#> "New" "CreateNewDoc()"
#>
#> $menu$popup$menuitem[[2]]
#> value onclick
#> "Open" "OpenDoc()"
#>
#> $menu$popup$menuitem[[3]]
#> value onclick
#> "Close" "CloseDoc()"
Pretty horrible right? To gather all the onclick
methods into a vector with base R you might write:
sapply(json$menu$popup$menuitem, `[[`, "onclick")
#> [1] "CreateNewDoc()" "OpenDoc()" "CloseDoc()"
Using rjsonpath
this could instead be:
json_path(json, "$.menu.popup.menuitem[*].onclick")
#> [1] "CreateNewDoc()" "OpenDoc()" "CloseDoc()"
Or even just:
json_path(json, "$..onclick")
#> [1] "CreateNewDoc()" "OpenDoc()" "CloseDoc()"
For more more complex examples, see below.


Quiz 'n' Chill
Home
Create Quiz
Date format: "YYYY-MM-DDTHH:MM:SS"
Quiz name
Start time
Please enter the information for the question below.
Question text
Duration
Answer 1
Answer 2
Answer 3
Answer 4
Please enter the correct answer(1 - 4)
Correct Answer
Submit Question
Submit Quiz


Demo Application for the course "Recent Trends in IT & CS"
Your ID is:
Enter your peer ID here
Call
There was an error. Try again !
Built using


Born on December 9, 1996.
Grew up in various towns in Bergen County, New Jersey.
Graduated from the Academy of Engineering Design and Technology in Bergen County Academies in 2015.
Began attending Carnegie Mellon University and currently studies under the architecture undergraduate program.
Proficient in Autodesk Inventor, AutoCAD, Arduino, CNC programming, Flow (water cutting), laser cutting, laser engraving, Microsoft Office programs, Photoshop.
Basswood model of Jacobs House in 1/8 scale