{% extends "base.html" %} {% block title %}Edit contact information |{% endblock %} {% block js %} {% endblock %} {% block header%}
Got profiles on other sites? Enter the URLs below:
Use any instant messaging software?
You can set your profile page not to show up in external search engine results (such as Google or Yahoo!)


The old man steered his wheelbarrow full of bratwursts and arums down the cobblestone path, his destination unknown but his burden lightened by the thought of providing sustenance to those in need. [G|D]
The artist carefully carved the intricate design into the abscissa of the corsage, creating a unique piece able to dazzle onlookers with its beauty. [G|D]
Taking the antidepressant, she stepped onto the carousel, feeling its motion reminding her that life's journeys can be assets which are to be celebrated. [G|D]
She awoke with her bloodshot eyes feeling ashy, trying to make sense of the amnesic fog clouding her memory. [G|D]


{% extends 'layout-af.html' %} {% block pageTitle %} Healthcare for armed forces serving Personnel {% endblock %} {% block beforeContent %} {% endblock %} {% block content %}
Find information and support about healthcare for serving personnel, mobilised reservists and family members.
The Ministry of Defence (MoD) is responsible for providing both basic and specialist healthcare needed for all serving personnel and mobilised reservists.
Basic check-ups and treatments for serving personnel and mobilised reservists both overseas and in the UK are provided by the Defence Medical Services (DMS).
The DMS is made up of the Royal Navy Medical Services, the Army Medical Services, the Royal Air Force Medical Services and Headquarters DMS Group.
Basic care you receive through the DMS includes:
All basic care services are staffed by regular uniformed and reserve medical personnel from the British Army, the Royal Navy and the Royal Air Force.
If you need to return to the UK for specialist or emergency treatment, you will receive hospital care through the NHS.
You will be treated in an NHS hospital with specialist wards and staff dedicated to treating serving personnel.
The main treatment centre for seriously injured serving personnel is the Royal Centre for Defence Medicine (RCDM). This is a specialist centre provided by the DMS and the NHS.
The RCDM is based at the Queen Elizabeth Hospital in Birmingham (QECB). Most injured serving personnel returning to the UK will be taken to QECB.
You will be placed in either the specialist military ward or go straight to intensive care depending on your injuries.
The military ward contains staff from both military and civilian backgrounds, and has many features for serving personnel such as a physiotherapy suite, communal spaces and a quiet room for family members and visitors.
The Defence Medical Welfare Service (DMWS) will visit you regularly. They will help you with your day to day needs, and maintain a link with your unit.
The DMS provides many rehabilitation services across the UK. These are known as Primary Care Rehabilitation Facilities (PCRFs) and Regional Rehabilitation Units (RRUs).
Most serving personnel will receive physiotherapy and exercise rehabilitation through PCRFs. If you have more serious injuries, you will be referred to an RRU.
The DMS also works with the Defence and National Rehabilitation Centre (DNRC). This is a specialist centre committed to supporting serving personnel in their rehabilitation.
If you are based in England and need non-urgent or routine hospital treatment, you will be referred through the NHS.
You may be placed on waiting lists or have limited choices for your treatment depending on your situation.
Find more information about how NHS care works for the armed forces community
Most families of serving personnel access and receive their healthcare through the NHS in the same way as non-serving personnel families.
If you have problems accessing or receiving care due to being the family member of someone actively serving, the Armed Forces Covenant can help.
The Armed Forces Covenant aims to remove disadvantages so you can receive healthcare equal to non-serving personnel families.
If you are moving due to serving personnel postings, it is important to inform any healthcare services you or your family use.
You may also need to register to new services closer to where you are moving, such as a new GP surgery or dentist.
This allows the healthcare services to transfer any medical records quickly so you can continue to receive care and support as soon as possible after moving.
This may includes:
If you are moving due to a posting, you will retain your position on any NHS waiting lists.
The Armed Forces Covenant works with services, charities and organisations to make sure you get the support you need. This includes the Navy, Army and RAF welfare support organisations and information services.
Find charities that support serving personnel families
The 3 Service Families Federations offer independent and confidential advice on a range of issues. They work to improve the quality of life for all service families.
They regularly engage with the chain of command, local authorities and government to represent the views of armed forces families.
Each of the 3 services has its own Welfare Support and Information Service Teams and Defence Medical Welfare Service (DMWS).
For more information about:
They work with other charities to provide practical and emotional support to serving personnel and their families when they're in hospital, rehabilitation or recovery centres.
Find more information on the DMWS website
If you are overseas due to the posting of a family member, the Armed Forces Covenant still applies to you.
The availability of health and support services can vary depending on your location. The MoD will ensure that all essential services are available to you when you move to another overseas location, including health and education.
You may receive your primary care services from Defence Primary Healthcare (DPHC) medical centres.
The DMS provides mental health support for serving personnel and mobilised reservists, including crisis support and specialist care.
There are also charity helplines that are available for you to talk to.
Find out more information about mental health support for serving personnel and their families.
{% endblock %}


Press the space bar (or press play below) to begin the song, Prelude in D-flat Major Op. 28 No. 15 (Raindrop Prelude). The recording is performed by Jeremiah Jones, and the file was freely available as of 4/1/2020 at the website Lisztonian. You can adjust the speed of the waves (which also determines their ultimate size) with the slider in the top left corner. The wave speed is informed by the loudness, and the stroke weight is defined as an inverse of the spectral centroid value, which is lower in this song when more bass notes are played.


| Image | Product Name | Price | Quantity | Total | Delete | Edit |
|---|---|---|---|---|---|---|
Pure Pineapple |
$60.00 |
|
$60.00 | |||
American lobster |
$60.00 |
|
$60.00 | |||
Guangzhou sweater |
$60.00 |
|
$60.00 |


Eyebrows on point, thanks to Anastasia
by Bernadette LunasThe “Eyebrow Queen,” Anastasia Soare, continues to take over the world, one pair of “on fleek” brows at a time, as her billion-dollar company opens its first kiosk in the Philippines at Rustan’s Makati.
Anastasia Beverly Hills or ABH is popular for its cult-favorite eyebrow products loved by professional makeup artists, celebrities, and beauty junkies worldwide. In fact, its bestselling Dipbrow Pomade is one of the most copied makeup products.
In addition to Dipbrow Pomade, the American cosmetics brand has also received numerous accolades for Brow Wiz, another eyebrow product.
With eyebrows on focus, ABH has introduced and patented its brow-shaping service dubbed “Golden Ratio Eyebrow Shaping Method,” which aims to find balance and symmetry through arches that perfectly frame a person’s face shape.
Prior to the opening of its first kiosk in Manila, fans and curious shoppers had to order online or ask someone going abroad to hoard for them.
Finally, at the Rustan’s Makati outlet there is Anastasia Beverly Hills Dipbrow Pomade, a full-pigment, waterproof pomade that can be used to fill in and detail brows. With a long-lasting and “buildable” formula, the product glides on effortlessly, dries down completely, and stays put for hours.
Also available are Anastasia Beverly Hills Brow Wiz, an ultra-slim, retractable pencil whose unique wax formula adds texture and creates the appearance of fuller-looking brows; Powder Contour Kit which allows users to brighten, sculpt, and color-correct face, eyes, and even body; Glow Kit, which contains four shades of highlighting powder featuring warm bronze hues and intense luminosity.
Fans can also go crazy over the brand’s eyeshadow palettes. Anastasia Beverly Hills brings its bestsellers, including the Modern Renaissance Eye Shadow Palette which consists of 14 full-pigment shades ranging from neutral to berry tones in matte and metallic finishes.
Completing the debut lineup is Anastasia Beverly Hills Liquid Lipstick, the brand’s full-pigment matte lipstick in liquid formulation. More ABH products are available at the outlet.
ABH products are sold in over 25 countries worldwide.


Take for example, a before and after design. A measure is taken before the imposition of some level of a predictor variable. Then the measure is taken afterwards. The difference between those two measures is the size of the effect.
Those two measures are intrinsically-linked because they arise from a common subject. You can imagine a subject showing a low basal level of the measure will generate a low-end response after some inducer, whereas one with a high basal leve will generate a high-end response.
Statistically, the intrinsically-linked measurements within such designs are said to be correlated.
When performing power analysis using Monte Carlo simulations of an experiment that will generate values for correlated variables it is important to build in an expectation for the level of correlation between the randomly-generated variables.
22.1 Estimating correlation between two variables
Inevitably you’ll run an experiment where the actual values of the dependent variables, at first blush, differ wildly from replicate to replicate.
But on closer inspection, a more consistent pattern emerges. For example, an inducer always elicits close to a 2-fold response relative to a control, and this response is consistently inhibited by about a half by a suppressor. That consistency, irrespective of the absolute values of the variable, is the mark of high correlation!
Here are some simulated data to illustrate this problem. Four independent replicates of the same experiment, comparing the effect of a drug to a placebo, are conducted each day of a week. Let’s say the response represents a measured-variable in some arbitrary physical units..it can be an enzyme activity, or a reporter, or numbers from a western blot.
Here’s what the data set might look like:
| placebo | drug | |
|---|---|---|
| Mon | 20.0 | 38.3 |
| Tue | 5.0 | 9.1 |
| Wed | 2.1 | 3.6 |
| Thur | 9.0 | 15.5 |
Obviously, the placebo baseline wanders from day-to-day over a 10-fold range. Yet the drug response as a ratio to the placebo is consistent from day to day.
The two variables, placebo and drug, are actually highly correlated:
plot(df$placebo, df$drug)
cor(df$placebo, df$drug)
## [1] 0.9988854
This example points to how you can determine the correlation coefficient between two variables. Simply plot out their replicates as \(XY\) pairs and calculate their correlation coefficient using R’s cor
function.
Where do you find values for these variables? Usually from preliminary or published data.
22.3 Monte Carlo simulation
Here’s a Monte Carlo simulation of a paired t-test between an A and a B group. The “true” effect size programmed to be very modest. But the code also factors in a very strong correlation between the variables.
#Initial Parameters
# sample A intial true parameters
nA <- 3
meanA <- 1.5
sdA <- 0.5
# sample B intial true parameters
nB <- 3
meanB <- 2.0
sdB <- 0.5
alpha <- 0.05
nSims <- 10000 #number of simulated experiments
p <-numeric(nSims) #set up empty container for all simulated p-values
# correlation coefficient
r <- 0.8
# the monte carlo function
for(i in 1:nSims){ #for each simulated experiment
x<-rnorm(n = nA, mean = meanA, sd = sdA) #produce n simulated participants
#with mean and SD
y<-rnorm(n = nB, mean = meanB, sd = sdB) #produce n simulated participants
#with mean and SD
#correlated
w <- r*x+sqrt(1-r^2)*y
z<-t.test(x,w, paired=T) #perform the t-test
p[i]<-z$p.value #get the p-value and store it
}
# the output
hits <- length(which(p < alpha));hits
## [1] 7147
power <- hits/nSims;power
## [1] 0.7147
#now plot the histogram
#main="Histogram of p-values under the null",
hist(p, col = "blue", ylim = c(0, 10000), xlim = c(0.0, 1.0), main ="Histogram of simulated p-values", xlab=("Observed p-value"))
The result is a bit underpowered, but not too shabby.
Now run the code by dialing down the correlation to an r = 0. How much more underpowered is the planned experiment? Factoring in the correlation between variables makes a huge difference.


DONATE
TESTIMONIES
DASHBOARD
HOME
HOME
TESTIMONIES
SIGN IN
DONATE
DONATE
DASHBOARD
HOW TO PLAY
HOME
Games

LeaderBoard

Donations
Dashboard
You haven't made any donations yet
#
User
Donations
{{ $index+1 }}
{{ information.name }}
{{ information.donations }}
#
Name
Wins
{{ $index+1 }}
{{leaderBoard._id}}
{{leaderBoard.count}}
#
Winner
Friends Played with
{{ $index+1 }}
{{ gamelog.winner.username }}
{{ player.username }}


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Observable com.tabuto.j2dgf.Game2D
public abstract class Game2D
Game2D is an Abstract Class that represents a single Game.
Extends this class to add the Sprites Group and your own CollisionDetector
Override the initGame() methods to initialize Groups and register Collsions
to the CollisionManager.
Override the drawStuff(Graphics)
to execute the Sprite Drawing.
Use the methods provides from class Group to move and/or draw your entire sprite collection.
See the GameTest class on the test package.
Group
,
Sprite
,
CollisionManager
,
CollisionDetector
,
Serialized Form| Field Summary | |
|---|---|
protected boolean |
ACTIVE
Actual Game State |
protected CollisionManager |
cm
CollisionManager object |
protected java.awt.Dimension |
DIM
Game Playfield Dimension |
protected java.lang.String |
Name
Game name, use it for save the Game |
protected java.lang.String |
PATH
The Directory path where Game file is saved/loaded. |
protected boolean |
saved
Actual game state, if saved (save action allows) else only saveAs permitted; |
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
Game2D(java.awt.Dimension dim)
Game2D Constructor |
| Method Summary | |
|---|---|
void |
activate()
Set this Game Active |
void |
deactivate()
Set this Game not Active, set the CollisionManager thread pool to pause |
abstract void |
drawStuff(java.awt.Graphics g)
Should be contains the operations to do for moving the sprite; Example: MySpriteGroup.move(); MySpriteGroup.draw(g); |
void |
executeCollisionManager()
Execute the CollisionManager thread pool |
java.awt.Dimension |
getDimension()
|
java.lang.String |
getName()
|
java.lang.String |
getPath()
|
abstract void |
initGame()
This abstract method initialize the component of the game:
Group
CollisionDetector
CollisionBoundDetector (if needs!) |
boolean |
isActive()
|
boolean |
isSaved()
|
void |
setName(java.lang.String name)
|
void |
setPath(java.lang.String pATH)
|
void |
setSaved(boolean saved)
|
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
protected boolean ACTIVE
protected CollisionManager cm
CollisionManager
protected java.awt.Dimension DIM
protected java.lang.String Name
protected java.lang.String PATH
protected boolean saved
| Constructor Detail |
|---|
public Game2D(java.awt.Dimension dim)
dim
- Dimension of the Game's canvas playfieldDimension
| Method Detail |
|---|
public void activate()
public void deactivate()
public abstract void drawStuff(java.awt.Graphics g)
Example:
MySpriteGroup.move(); MySpriteGroup.draw(g);
g
- Graphics
Group
public void executeCollisionManager()
CollisionManager
public java.awt.Dimension getDimension()
public java.lang.String getName()
public abstract void initGame()
abstract
method initialize the component of the game:
CollisionManager
,
Group
,
CollisionBoundDetector
,
CollisionDetector
public boolean isActive()
public boolean isSaved()
public void setName(java.lang.String name)
name
- the Game's name to setpublic void setSaved(boolean saved)
saved
- the Game's saved state to setpublic java.lang.String getPath()
public void setPath(java.lang.String pATH)
pATH
- the Game's files pATH to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


What is the ODIN library?
The ODIN library is based on the
Cubbles Technology.
A Cubbles Component is similar to black box, which is defined by a name, it describes the functionality and capabilities.
A Cubbles component has multiple slots, which serve purpose as input and output, therefore called as Input Slots and Output Slots. The component triggers with the change of data through input slots, it calculates to perform the specific functions as a result the value of output slot changes.
ODIN library provides normalize definition of data structures which most of ODIN components support.
We provide the availability of four data structures, each structure incorporates a container like objects/arrays and concept like data tuples/data series. Cell values consists of any data type.
Please look
api-doc to dive into details.
Component types
Various components developed by us -
- Connectors
- A connector provides an entry point, where entry point connects to an external data source which serves as input data to the component.
- Transformers
- A transformer is a component which serves purpose to handle data. That may include transformations like to map, filter, add, split, conversion or even validating data.
- Views
- Views as a component provides the display of end result. When connected with other components like connectors, transformers in compound component, it takes the output of the previous component as input and displays the result in form of a pie chart, bar, line, gauge, plain text or in form of a table.
Examples
Chart-View
The component is useful to display the data as chart forms. It provides many different forms of chart to view such as line, bar, pie, donut and many more.
Live Demo
[{
"a": 1,
"b": "first",
"c": 3
}, {
"a": 4,
"b": "second",
"c": 6
}, {
"a": 7,
"b": "third",
"c": 9
}, {
"a": 10,
"b": "fourth",
"c": 12
}
]
{
"elementsAreObjects": true,
"dataContainsTuples": true,
"dataSeries": [{
"key": "a",
"name": "Foo"
}, {
"key": "c",
"name": "Bar"
}
],
"c3": {
"data": {
"type": "pie",
"x": "b",
"empty": {
"label": {
"text": "No data!"
}
}
},
"axis": {
"x": {
"type": "category"
}
}
}
}
The code
The live demo is based on the following code using the The Cubbles Tag API.
<chart-view<EMAIL_ADDRESS><cubx-core-init style="display: none;">
<cubx-core-slot-init slot="data">
[...]
</cubx-core-slot-init>
<cubx-core-slot-init slot="config">
{
"elementsAreObjects": true,
"dataContainsTuples": true,
"dataSeries": [{
"key": "a",
"name": "Foo"
}, {
"key": "c",
"name": "Bar"
}
],
"c3": {
"data": {
"type": "pie",
"x": "b",
"empty": {
"label": {
"text": "No data!"
}
}
},
"axis": {
"x": {
"type": "category"
}
}
}
}
</cubx-core-slot-init>
</cubx-core-init>
</chart-view>
The embedded code, starts with component's webpackage id.
The slots which are in use are defined. In the above example two slots are defined: data and config.
Data: is the input data to be displayed in map form.
Config: restricts the incoming data with the configuration provided and formats the map view.
Maplayer-View
The component displays the geographical maps and their associated data. The view provides the availability of multiple map layers in forms such as Tilelayer, Marker, GeoJson, Chloropleth.
Live Demo
[{
"lat": 52.50722,
"long": 13.14583,
"name": "Berlin"
}, {
"lat": 53.56528,
"long": 10.00139,
"name": "Hamburg"
}, {
"lat": 48.58392,
"long": 7.74553,
"name": "Strasbourg"
}
]
{
"size": {
"width": "100%",
"height": "600px"
},
"center": {
"lat": 55,
"lng": 10
},
"zoom": 5,
"tileLayers": [{
"provider": "CartoDB.DarkMatterNoLabels"
}, {
"url": "http://korona.geog.uni-heidelberg.de/tiles/adminb/x={x}&y={y}&z={z}",
"maxZoom": 19,
"attribution": "Imagery from GIScience Research Group @ University of Heidelberg"
}
],
"markerLayers": [{
"dataPath": "",
"lat": "/lat",
"lng": "/long",
"title": "/name",
"alt": "/name",
"draggable": false
}, {
"lat": 50.68127839,
"lng": 10.9305529,
"title": "incowia GmbH",
"alt": "incowia GmbH"
}
]
}
The code
The live demo is based on the following code using the The Cubbles Tag API.
<maplayer-view<EMAIL_ADDRESS><cubx-core-init style="display:none">
<cubx-core-slot-init slot="data">
[...]
</cubx-core-slot-init>
<cubx-core-slot-init slot="config">
{
"size": {
"width": "100%",
"height": "600px"
},
"center": {
"lat": 55,
"lng": 10
},
"zoom": 5,
"tileLayers": [{
"provider": "CartoDB.DarkMatterNoLabels"
}, {
"url": "http://korona.geog.uni-heidelberg.de/tiles/adminb/x={x}&y={y}&z={z}",
"maxZoom": 19,
"attribution": "Imagery from GIScience Research Group @ University of Heidelberg"
}
],
"markerLayers": [{
"dataPath": "",
"lat": "/lat",
"lng": "/long",
"title": "/name",
"alt": "/name",
"draggable": false
}, {
"lat": 50.68127839,
"lng": 10.9305529,
"title": "incowia GmbH",
"alt": "incowia GmbH"
}
]
}
</cubx-core-slot-init>
</cubx-core-init>
</maplayer-view>
The embedded code, starts with component's webpackage id.
The slots which are in use are defined. In the above example two slots are defined: data and config.
Data: is the input data to be displayed in map form.
Config: restricts the incoming data with the configuration provided and formats the map view.


| Interface | Description |
|---|---|
| GuiConfigEntries.IConfigEntry<T> |
Provides an interface for defining GuiPropertyList.listEntry objects.
|
| GuiEditArrayEntries.IArrayEntry | |
| GuiSelectStringEntries.IGuiSelectStringListEntry | |
| GuiSlider.ISlider | |
| IConfigElement<T> |
This interface provides the information needed by GuiConfig and
GuiConfigEntries to display config elements for editing.
|
| Class | Description |
|---|---|
| DummyConfigElement<T> |
This class's main purpose is to provide the necessary objects for a sample
Config GUI for FML, although there may be practical uses for the objects
defined here such as using the DummyCategoryElement object as a wrapper for a
custom IGuiConfigListEntry object that opens a special screen.
|
| DummyConfigElement.DummyCategoryElement<T> |
This class provides a Dummy Category IConfigElement.
|
| DummyConfigElement.DummyListElement<T> |
This class provides a dummy array-type IConfigElement.
|
| GuiButtonExt |
This class provides a button that fixes several bugs present in the vanilla
GuiButton drawing code.
|
| GuiCheckBox |
This class provides a checkbox style control.
|
| GuiConfig |
This class is the base GuiScreen for all config GUI screens.
|
| GuiConfigEntries |
This class implements the scrolling list functionality of the config GUI
screens.
|
| GuiConfigEntries.ArrayEntry |
ArrayEntry
Provides a GuiButton with the list contents as the displayString.
|
| GuiConfigEntries.BooleanEntry |
BooleanPropEntry
Provides a GuiButton that toggles between true and false.
|
| GuiConfigEntries.ButtonEntry |
ButtonEntry
Provides a basic GuiButton entry to be used as a base for other entries that
require a button for the value.
|
| GuiConfigEntries.CategoryEntry |
CategoryEntry
Provides an entry that consists of a GuiButton for navigating to the child
category GuiConfig screen.
|
| GuiConfigEntries.ChatColorEntry |
ChatColorEntry
Provides a GuiButton that cycles through the list of chat color codes.
|
| GuiConfigEntries.CycleValueEntry |
CycleValueEntry
Provides a GuiButton that cycles through the prop's validValues array.
|
| GuiConfigEntries.DoubleEntry |
DoubleEntry
Provides a GuiTextField for user input.
|
| GuiConfigEntries.IntegerEntry |
IntegerEntry
Provides a GuiTextField for user input.
|
| GuiConfigEntries.ListEntryBase |
ListEntryBase
Provides a base entry for others to extend.
|
| GuiConfigEntries.NumberSliderEntry |
NumberSliderEntry
Provides a slider for numeric properties.
|
| GuiConfigEntries.SelectValueEntry |
SelectValueEntry
Provides a GuiButton with the current value as the displayString.
|
| GuiConfigEntries.StringEntry |
StringEntry
Provides a GuiTextField for user input.
|
| GuiEditArray |
This class is the base screen used for editing an array-type property.
|
| GuiEditArrayEntries |
This class implements the scrolling list functionality of the GuiEditList
screen.
|
| GuiEditArrayEntries.BaseEntry | |
| GuiEditArrayEntries.BooleanEntry | |
| GuiEditArrayEntries.DoubleEntry |
IGuiListEntry Inner Classes
|
| GuiEditArrayEntries.IntegerEntry | |
| GuiEditArrayEntries.StringEntry | |
| GuiMessageDialog | |
| GuiSelectString |
This class provides a screen that allows the user to select a value from a
list.
|
| GuiSelectStringEntries |
This class implements the scrolling list functionality of the GuiSelectString
screen.
|
| GuiSelectStringEntries.EntryComparator | |
| GuiSelectStringEntries.ListEntry | |
| GuiSlider |
This class is blatantly stolen from iChunUtils with permission.
|
| GuiUnicodeGlyphButton |
This class provides a button that shows a string glyph at the beginning.
|
| GuiUtils |
This class provides several methods and constants used by the Config GUI
classes.
|
| HoverChecker |
This class implements an easy way to check if the mouse has hovered within a
certain region of the screen for a given period of time.
|
| Enum | Description |
|---|---|
| ConfigGuiType |


Creating a custom collection view layout
I am attempting to create a collection view that looks like the schematic below. The centre item will always have ‘focus’ and be larger, its quite a bit like the cover flow concept:
http://s13.postimg.org/n6vzil213/layout_schematic.png
I can achieve this with a UICollectionViewFlowLayout, but I want the bottom cell (3) to animate larger and the middle cell (2) to animate smaller as I s croll? I assume I need to do some math with the scroll view delegate methods.
Any idea on how to achieve this?
1 Answer
You can do this with only subclassing UICollectionViewFlowLayout.
Here are the steps:
Here’s a super rough example that sort of does what you’re looking for, without the correct math.
@implementation MMLayout
(CGSize)itemSize {
return CGSizeMake(200.0f, 200.0f);
}
You can show the full code from :
https://stackoverflow.com/questions/25253436/creating-a-custom-collection-view-layout0 Comment
Post your answer
Have a question?
Create Thread


Page Not Found
The requested page was not found on this website. Please take a look at the main page and see if you can find what you are looking for.
The requested page was not found on this website. Please take a look at the main page and see if you can find what you are looking for.


Teacher's kick leaves student with broken bone at prestigious Tokyo school
TOKYO — A teacher at a prestigious Tokyo junior high school kicked a student as corporal punishment in mid-September and left him with a broken rib, investigative and other sources with the knowledge of the matter said Thursday.
The male teacher in his 30s at the Ochanomizu University Junior High School has been questioned by police on suspicion of assaulting the second-year student after school, and has largely admitted to the allegation, according to the sources.
The school is known for being attended by 13-year-old Prince Hisahito, the son of Crown Prince Fumihito.
The school consulted the police about the incident in late September and held an emergency meeting for parents to explain what happened, the sources said, adding the boy has already recovered from his injury.
"It is a fact that there was an inappropriate incident, but we cannot give its details as we are consulting the police," said a public relations official at the school.
On April 26, the school had an intruder leave knives on Prince Hisahito's classroom desk. A man arrested three days later over the case voiced criticism of the imperial system and told investigators he had intended to assault the nephew of Emperor Naruhito, who is second in line to the throne. The classroom was empty at the time of his intrusion.
© KYODO


You use the internet every day- social media, emails, online shops, movies and games... The same tools that make it easy for you to share information also make it easier for hackers and scammers to steal that information and use it to damage devices, relationships, and reputations. Every piece of information you share online has the potential to be sold, misused, or leaked. And it is on the rise- here was a 54% increase in scams last year. Not only that, but careless use of the internet might provoke fear and depression in you or your friends!
Sharing sensitive/inappropriate information or being careless might lead to data theft, negative consequences with authorities or employers, getting viruses or even threats and abuse.
Luckily, there are ways to avoid trouble before getting in it. You have to Share with care, Recognise the Fake, Lock it Well and Be Kind. Click on each of the cards to find out more tips and tricks!
But most importantly- if you do fall in a trap, be brave and smart- seek for help! Report the threats to an adult you trust and online, to make sure others don’t make the same mistake!


FR (File Read)
Availability: ALL
This command opens a file for reading. The type of file is specified by the first operand.
| Note |
|
Command files can contain FR C commands which execute other command files. Command file reads can be nested up to 20 levels deep.
|
| |
Usage
FR C file_name [p_value ...]
FR C label [ p_value ]....
FR C file_name[.label] [ p_value ]....
FR M file_name [addr]
FR {RD} file_name
Arguments
Reads a memory image file (binary or Motorola s-record file). The default filename extension is .mem.
Reads user-defined register names from a Register Definition File. See
Register Definition File for details. The default filename extension is
.rd.
Is the name of the file to be read. If
file_name does not include an extension, the MON supplies the default file name extension. If no extension is desired,
file_name should end with a “
.”, which will be removed before opening the file. MON searches for
file_name using the algorithm as described in
File Search Order.
The starting address where the memory image will be loaded. It is not necessary that this address match the starting address used to write the file. addr is optional on memory image files containing Motorola S-Records. If given, addr specifies an offset relative to the addresses in the S-Record file.
Reads commands from the specified file. The default filename extension is
.maj, but if no match is found then
.cmd is tried next (for backward compatibility). For details on how to create and use command files see
Command Script Files. Also, see
SHIFT/UNSHIFT.
This subcommand causes the debug monitor to read commands from the specified file or position within a file identified by a label. If only a label is supplied then the current file is assumed. When all the commands in the file have been processed or a return command has been encountered, the monitor resumes reading commands from its previous input source, ultimately returning control back to the console. This is an easy way to input a standard set of commands or to quickly recreate an earlier session. The file can be created manually or can be the result of the File Write (FW C) command. If the FR C command is part of a multi-command line, the remaining commands on the line will be executed after all commands in the new file have been executed.
A function label within the referenced file_name. Function labels differ from normal goto labels by the use of two ::'s at the start of the label.
| Note |
|
Referencing labels allows for a function call like processing and a label has precedence over a file_name in this context. Also, a label function call can be done without using "FR C" as a direct command, but this method only allows references to labels that have been identified as function labels by the use of two :'s in front of the label declaration. Command files can be nested up to 20 levels deep.
|
| |
A string that will be substituted for a parameter in the command file. A parameter is of the form: $$n, with 1 <= n <= 99.


{% extends "mail_layout.html" %} {% block title %}SRAM account deletion notification for {{ environment }}{% endblock %} {% block content %}
Hi,
The following users have been removed from SRAM in environment {{ environment }} because of inactivity by the suspended users cron job.
Please delete them from the MMS.
This email is automatically sent for environment {{ environment }}.
{% endblock %}


Profile
Projects
About
Contact
Profile
Projects
About
Contact
Contact
Email:
<EMAIL_ADDRESS>Contact


This function quantifies proteoform ions in a mass spectrometric (MS) data
file, which comprises several mass spectra recorded at different time points
during a chromatographic run. To this end, quantify_ions()
employs a
two-step integration approach: First, each of the \(i\) ions is quantified
in each of the \(n\) mass spectra by integrating intensity in the m/z
tolerance window associated with the respective ion. This step yields an
\(i \times n\) matrix of abundances (areas under the curve), with
one row per ion and one column per scan. Rows in this matrix correspond to
extracted ion currents (XICs). Second, each XIC is integrated within the
\(r\) given retention time limits. This step yields an \(i \times
r\) matrix of abundances, with one row per ion and one column per
retention time window.
quantify_ions( ms_data, ions, rt_limits = c(-Inf, +Inf), filter_ms1 = TRUE, ifun_spectrum = c("adaptive", "trapezoidal"), ifun_xic = c("trapezoidal", "adaptive") )
| ms_data | Mass spectrometric data stored in an |
|---|---|
| ions | A data frame specifying ions (see details). |
| rt_limits | A specification of retention time limits (see details). |
| filter_ms1 | If true, only scans from MS level 1 are integrated. |
| ifun_spectrum | Integration method for spectra (see details). |
| ifun_xic | Integration method for XICs (see details). |
A list of class quaxi
with seven elements:
ms_file
Path of the MS data file.
ifuns
Character vector denoting the integration methods used for spectra and XICs, respectively.
ions
Data frame passed to the argument ions
describing \(i\)
ions, with an additional column ion_id
prepended (this column contains a
unique identifier for each ion).
rt_limits
Data frame with \(r\) retention time limits (columns
rt_min
and rt_max
) and scan indices enclosed by these limits (columns
scan_min
and scan_max
).
rt
Numeric vector containing \(n\) retention times associated with the \(n\) scans in the MS data file.
xics
An \(i \times n\) matrix containing XIC intensity values, with one row per ion and one column per scan.
abundances
An \(i \times r\) matrix containing abundances, with one row per ion and one column per retention time window.
Ions are provided via a data frame that must contain two columns mz_min
and mz_max
specifying the lower and upper integration limit for each ion.
The data frame may contain additional columns, which are ignored.
rt_limits
accepts one of the following:
a numeric vector with two elements specifying a single retention time window
a data frame with two colums rt_min
and rt_max
(other columns are
ignored) specifying one retention time window per row
a data type that can be converted to a data frame, such as a named list
The values -Inf
and +Inf
are replaced by the minimum and maximum
retention time, respectively.
The integration method may be selected separately for the spectrum
integration step (by ifun_spectrum
) and the XIC integration step (by
ifun_xic
).
"adaptive"
Default method for spectrum integration (step 1).
Adaptive quadrature via approxfun()
and stats::integrate()
. This method
is faster, but may yield wrong results if the integrand is zero over nearly
all its range (which typically occurs if XICs are integrated over the whole
chromatogram).
"trapezoidal"
Default method for XIC integration (step 2). Trapezoidal integration, i.e., the exact area under the polygonal chain formed by (mz or retention time, intensity) tuples. This method is slower, but always gives correct results for XIC integration.
ms_data <- mzR::openMSfile( system.file("extdata", "mzml", "mab1.mzML", package = "fragquaxi") ) proteins <- define_proteins( system.file("extdata", "mab_sequence.fasta", package = "fragquaxi"), .disulfides = 16 ) modcoms <- define_ptm_compositions(sample_modcoms) pfm_ions <- assemble_proteoforms(proteins, modcoms) %>% ionize(36L:40L) # no rentention time limits: use all spectra quantify_ions(ms_data, pfm_ions)#>#>#>#>#>#>#>#>#>#> #> #> #> #> #> #> #> #>#>#>#>#> #> #>#>#>#>#>#> #> #> #> #>#>#>#>#>#>#>#>#>#>#> #> #> #> #> #> #> #> #>#>#>#>#> #> #>#>#>#>#>#> #> #> #> #># define several retention time windows; # instead of a list, you may also pass a data frame to rt_limits quantify_ions(ms_data, pfm_ions, rt_limits = list(rt_min = c(0, 240), rt_max = c(60, 330)))#>#>#>#>#>#>#>#>#>#> #> #> #> #> #> #> #> #>#>#>#>#> #> #> #>#>#>#>#>#> #> #> #> #> #>


Please select your crust of pizza!!
Please select the toppings on pizza!!
Please input number of Pizzas


dialects
Thymol 2.0 extensions may optionally be grouped together into a logical set sharing the same xml namespace prefix. You do this by invoking the thymol.addDialect function.
thymol.addDialect = function(dialectSpec)
The single mandatory argument "dialectSpec" names a specification object that should have the following structure:
{
prefix : prefixNm,
attributeProcessors : [
{
name : attr1Nm,
processor : attr1ProcessorFnNm,
precedence : attr1Prec
},
{
name : attr2Nm,
processor : attr2ProcessorFnNm,
precedence : attr2Prec
},
...
],
elementProcessors : [
{
name : elem1Nm,
processor : elem1ProcessorFnNm
},
{
name : elem2Nm,
processor : elem2ProcessorFnNm
},
...
],
objects : [
obj1ExprObj,
obj2ExprObj,
{
name : obj1Nm,
object : obj1ProcessorFnNm
},
{
name : obj2Nm,
object : obj2ProcessorFnNm
},
...
...
]
}
Where:
- Any of the properties prefix, attributeProcessors, elementProcessors or objects may be omitted.
- prefixNm is the (xml namespace) prefix used to identify the dialect components.
- attrNNm specifies the Nth attribute name. This may be a plain string or a regular expression (see here).
- attrNProcessorFnNm is a reference to the Nth atrribute processor function.
- attrNPrec is the precedence value to assign the Nth attribute (integer low = process early, high = process late, default 20000).
- objNExprObj is a reference to the Nth configureModule loadable expression object definition.
- objNNm is the name of the Nth plain JavaScript expression object (should start with a "#" character).
- objNProcessorFnNm is a reference to the Nth plain JavaScript expression object function.
Members of the attributeProcessors array property are name, function, precedence triples.
Members of the elementProcessors array property are name, function pairs.
The prefix value is shared by the attributeProcessors and elementProcessors.
Members of the objects array property may be either functions as defined on the expression objects page or plain JavaScript objects that expose functions to be called as expression object functions. In this case, the object field specifies the expression object function reference and the name field gives the expression object name.


Jeffrey C. Witt (Loyola University Maryland) | @jeffreycwitt
University of Pennsylvania, Philadelphia, PA, November 23, 2019
Slide Deck: http://jeffreycwitt.com/slides/2019-11-23-penn-reified-text
1) The scholastic tradition is ESSENTIALLY a commentary tradition.
2) Fully understanding a passage requires situating it within a series of interconnected networks.
3) The print medium does not easily capture or visualize these interrelations.
4) The digital medium offers us new possibilities, but no guarantees.
SHIFTING FROM: 1. Observation and Reporting
TO: 2. Creation of Self-Reporting Data
1. Needless Redundancy
2. Lack of Transparency


the and for ZIKV âˆ’. Zika are with []. virus from that The found drug human have viral infection sequence this antibodies against â€" been can compounds inhibitors was RNA potential vaccine also has sequences drugs vaccines {background which anti-ZIKV blood. protein proteins reported were these through such design methods its peptide activity analysis other using approach discovery first margin one [], cases more new {border-style known Virus data inhibitor may not px;} replication screening #ffffff;} cell emerging genome important including infected pharmacophore two viruses vitro Homo However, South Table This host immune model silico Drug Res../j.antiviral... based compound descriptors different during like many sapiens spread three transmission used These computational could development each identified studies their well will Asia Brazil [,]. antibody antiviral between case molecular novel online: polymerase recent several should âˆ’ Figure available clinical effective few into shown targets values Africa Viral approaches both dengue infections inhibit mathematical pathogens structural there African America First July Med. NSB SIR ZIKV. al. antimalarial cells confirmed disease epitopes inhibition inhibitors: modeling molecules nucleoside potent promising provide set structure target they vivo Asia, Central For Health Thus, active amino among comparison drugs. experimental include method molecule receptor regions repurposing same showed similar similarity small space step tested than time Although BCX CDK Nigeria Peptide about broad-spectrum entry identify information models mosquito objects origin px; response results study targeting testing treatment useful virtual virus, whole {font-family Aedes Analysis Dengue FDA-approved Host New Republic Sequence Since Therefore, Uganda Vaccine after any associated authors base basic because biosynthesis candidates cellular derived developing distance distribution font-size how large modelling next number our out over process site specific strains symptoms them tools use years (EC Africa, Another Chem. Comput. Computer-Assisted Design Human India Japanese RNA-dependent Senegal Singapore Trop. WHO able already anti-Zika article average bases being characterization chemicals countries current detected developed double; efficacy epidemics flavivirus four further future gives graphical health high humans lead length microcephaly most observed only order outbreak peptides person pharmaceuticals---t_Table population positive predict produce properties public range reported. represented research review selected structures taken then therapeutic trials while (Pubchem Anti-Zika Axl Based Biol. CID: Envelope Infect. Inhibitors Microbiol../fmicb.. Mol. Section Some Virus: World above addition, aegypti alignment-free application around assay attenuated binding border-color border-width but carried center changes chemical clustering computer-assisted defined derivatives designing discussed diverse envelope even existing fast field following graph had infectious kinase later live major matrix mechanism membrane mosquitoes mouse need negative neurological people period point present products protease quantitative rate report representation seen shows solid; stereoelectronic subsequently ten time. transmitted under vaccines. value virus. where who without year yet {font-style {font-weight (Figure (PCA) (ZIKV) Aided Americas Because Clinical Control DNA/RNA Data Discovery East Flavivirus French From Infection MTase Mahalanobis NS, NSBâ€"NS November PCA Plague Potential Protein Rev. SOM Silico Strategies Surveillance, Their UV- Uganda, Vero West With ZIKA ZIKV, [,,]. accessibility addition adenosine agents all along analog analog, antivirals applications approved autoimmune bind bioinformatics bold brief carrier cause challenges change component conserved courier; dependent descriptor details discovery. diseases disorders dynamics either em; encephalitis end especially essential estimate explored fever function genes genetic given good having identification individual infection. infections. less library lipid list low mainly management manner map mature medicinal methyltransferase mice non-structural nucleosides, numerical numerous occurs overview pandemic part particularly pathogen play plot polyprotein poor possible prevention principal probable property proposed proteins. pt;} rapid related response. risk search selective sequence, severe sexual short show single software solvent some standard stress strong suitable throughput thus too trigger vaccination various very virus: when would â"� â€²-UTR â€œinteraction


class: bottom, inverse background-image: url(images/school_of_athens.jpeg) background-size: cover ## A Network Theory of Developmental Intelligence #### Alexander Savi, 10 July 2018 ??? * In the next twelve minutes I will introduce a new formal model for a developmental and idiographic intelligence. * Let me start with a spoiler. --- class: center, top, inverse background-image: url(images/background.png) background-size: cover  The wiring of facts and procedures, or knowledge and skills, during development. ??? * We use a network model to conceptualize intelligence as the wiring ... * These nodes represent knowledge and skills, and the edges their connections. * Colors / domains * Filled nodes / correct facts or knowledges / adequacies * Represents a single person: idiographic --- class: middle  .footnote[ [Spearman, 1904](https://archive.org/details/jstor-1412107); [Carrol, 1993](http://www.cambridge.org/us/academic/subjects/psychology/cognition/human-cognitive-abilities-survey-factor-analytic-studies?format=PB&isbn=9780521387125) ] ??? * But that's not where today's story starts * If we discuss intelligence, there's one phenomenon that must be addressed * Reflected in this table, published by Spearman in 1904 * Correlations between different scholastic / cognitive abilities * You'll see high correlations between languages --> __hierarchy__ * But most important: you should observe is that __all correlations are positive__ * This is a phenomenon that we call the __positive manifold__ * Stress it is __not a spurious finding__, John B. Carroll (former president psychometric society) found it in 461 datasets --- class: center  .footnote[ [Spearman, 1927](https://archive.org/details/abilitiesofman031969mbp); _g_ = general factor; xi = score on a cognitive test ] ??? * The most famous explanation is the formative _g_ factor model of general intelligence * One single factor / common cause that influences all mental tasks, hence their positive correlations * The question __'what is g'__ remains a mystery as of today * It's certainly not (only) genes * As of today, __the most popular model of intelligence__ actually is a factor model * And we asked ourselves: how does development fit into a theory of intelligence --- class: center, middle ## "[o]ne of the most intractable problems in evaluating the relationship between education and _g_ is the problem of development and age. As near as we can tell, _g_ theories have failed to provide any account of development across the lifespan." .footnote[ [Ackerman & Lohman, 2003](https://doi.org/10.1016/B978-008043793-4/50052-0) ] ??? * So _g_ theory is not where we should be looking * Where should we? * There are __2 important contemporary explanations__ of the positive manifold --- .pull-left[  ] .footnote[ [van der Maas et al.](https://dx.doi.org/10.1037/0033-295x.113.4.842); xi = cognitive process ] ??? * First is van der Maas' __mutualism model__ * As you can see, this is a __network model__ * __Explain model__ * Two things to notice * 1. "The __positive manifold emerges purely by positive beneficial interactions__ between cognitive processes during development" * 2. __No single underlying _g_ factor__ * ? The processes are not further specified, but assumed to be measurable by tests -- .pull-right[
"Reciprocal causal relations are well known in the psychological literature. For instance, better short-term memory helps to develop better cognitive strategies, and better strategies make it possible to increase the efficiency of short-term memory. Similar examples are the relations between cognition and meta-cognition, between action and perception, and between performance and motivation." ] ??? * The authors defend their model by explaining the following: * __Interesting mechanism but simplistic__ * __No clear roles for genes and the environment__: in K factor * __No actual growth dynamics__ (everything is in there from the start): unclear what drives the actual development / reciprocal relations --- .pull-left[  ] .footnote[ .pull-left[
[Dickens & Flynn, 2001](https://dx.doi.org/10.1037/0033-295x.108.2.346); G = genetic endowment, mi = intelligence measure at moment i, e = environment at moment i ] ] ??? * The second is Dickens and Flynn's __multiplier effect model__ * They explicitly model genes and the environment (__gene-environment interaction__ model) * __Explain model__ * __Positive manifold emerges__ from the reciprocal relations of IQ with the environment * This multiplier effect is a very powerful idea, beautifully described by Stanovich * ? Self-reinforcement, state-dependence, cumulative advantage, preferential attachment * ? Explain heritability increase -- .pull-right[
"The very children who are reading well and who have good vocabularies will read more, learn more word meanings, and hence read even better. Children with inadequate vocabularies – who read slowly and without enjoyment – read less, and as a result have slower development of vocabulary knowledge, which inhibits further growth in reading ability." ] .footnote[ .pull-left[ [Dickens & Flynn, 2001](https://dx.doi.org/10.1037/0033-295x.108.2.346); G = genetic endowment, mi = intelligence measure at moment i, e = environment at moment i ] .pull-right[ [Stanovich, 1986](http://www.jstor.org/stable/747612) ] ] ??? * This mechanism can be generalized: * The children who are reading well __will also receive better education__, __make friends with people__ that also have a higher ability, etc. * Now let me show you a powerful mechanisms for this multiplier effect, that does not rely on genetical differences. --- class: center, middle background-image: url(images/background.png) background-size: cover .pull-left[   ] .pull-right[   ] .footnote[ [Eggenberger & Pólya, 1923](https://dx.doi.org/10.1002/zamm.19230030407) ] ??? * This model is known as __Polya's urn__ * Assume the urn represents a person, let's call her Ann * Then the balls represent her cognitive abilities: blue for cognitive abilities and yellow for cognitive disabilities * Now we use one very simple growth mechanism: pick a random ball and put 2 of the same color back * Another way of looking at this is that: * The urn is Ann's IQ, which is at timepoint 0 fully determined by her __genetic endowment__ * The growth mechanism is the __environment__ * Let's take an example: * E.g., table tennis example backhand versus forehand * Now do this in a network framework, let's see if it works live * Balls of the same color get connected * We start with an initial network, and at each trial we add a node to it * We attach it to a random node in the network and give it the color of that node --- class: center, middle background-image: url(images/background.png) background-size: cover .pull-left[   ] .pull-right[   ] ??? * As you can see the proportion of blue balls, or cognitive ability as we called it, starts to vary greatly --- class: center, middle .pull-left[  ] .pull-right[  ] ??? * If we observe many copies of Ann on the long run, this is what we see * __Explain figure__ * p(blue) is our measure of cognitive ability * What we see is also called the __Matthew effect__: poor get poorer and rich get richer * Widening gap (increasing achievement gap) * Observed in many complex systems: citations, internet, ..., and also in IQ * Polya works with __identical genetic endowment__ * For the moment, we have only consider the influence of the environment on IQ * If we would model the full multiplier effect: the urn rule would dependent on what's in the urn * Even stronger effect! * But, Matthew effect is not undisputed! * A closing gap (decreasing achievement gap), called the compensation effect, is also observed * To obtain this, I gave all Anns formal education * Rather than adding two balls, I added three balls with p=.5 * __Let me pause for a moment__ * Our simple toy model of a multiplier effect just explained __two of the most important phenomena in the development of intelligence__ (Matthew and compensation effect) * These phenomena were previously unexplained * We know that this type of mechanism can explain the positive manifold --- class: middle .pull-left[ ## Idiographic theory ## Nodes represent items ## Positive manifold ] .pull-right[ ## Hierarchical structure ## Matthew & compensation ## Growth & decline ] .footnote[ [Molenaar, 2009](https://doi.org/10.1207/s15366359mea0204_1); A manifesto on psychology as idiographic science: Bringing the person back into scientific psychology, this time forever ] ??? * This is what we're working on * Each person is described as a network * Nodes are on the level of items * Intelligence is hierarchical, clusters may represent that * And we want both growth and decay * __Preferential attachment__ is a multiplier-like mechanism for networks * But may also include forgetting, by removing nodes or edges * __Show wiring cognition 2.0 alpha__ --- ## ⚔ Idiographic theory .pull-left[    ] .pull-right[  ] .footnote[ Fortuin & Kasteleyn, 1972 ] ??? * Nodes may represent skills, knowledge, or items, such as `\(9\times9=81\)` (an adequacy) or `\(9\times9=18\)` (an inadequacy) * Edges represent relations between skills, knowledge, or items --- ## ⚔ Positive manifold & hierarchical structure .pull-left[   ] .pull-right[  ] ??? * Model we use is the Fortuin Kasteleyn model * Describes the distribution of the nodes and edges (__omega__) * Gives us a random network, nodes and edges are allowed to differ across individuals * Satisfies our requirement of idiography * The beauty of the model is that it, by definition, satisfies the positive manifold * ? θ is a parameter of the model that describes the probability that any two skills become connected * ? δ(a, b) is known as Kronecker’s delta (1 if a=b) (0 if a!=b) * ? Erdos-Renyi versus Fortuyn-Kastelein: random versus preference for clusters (among other things) * To get the hierarchical structure, we add communities of nodes * Within-community connections have a higher probability than between-community connections --- ## ⚔ Increasing pos.man. & Matthew effect / bifurcation .pull-left[  ] .pull-right[   ] --- ## Growth & decline mechanisms ### (Conditional) developmental phenomena * Matthew / compensation effect * Age differentiation / dedifferentiation * ... ### Developmental mechanisms * Preferential attachment * Multiplier effect * ... --- class: center, top, inverse background-image: url(images/background.png) background-size: cover  The wiring of facts and procedures, or knowledge and skills, during development. ??? * An example of a growing network * Including multiple domains / communities * And forgetting --- class: bottom, inverse background-image: url(images/fk_network.png) background-size: cover # Thank you [Gunter Maris](mailto:Gunter.Maris@act.org), ACTNext
 [Maarten Marsman](mailto:M.Marsman@uva.nl), University of Amsterdam
 [Han van der Maas](mailto:H.L.J.vanderMaas@uva.nl), University of Amsterdam
 [Alexander Savi](mailto:O.A.Savi@gmail.com), University of Amsterdam Preprint available soon @ [alexandersavi.nl/publications](https://www.alexandersavi.nl/publications/)
 Slides available now @ [alexandersavi.nl/talks](http://www.alexandersavi.nl/talks/)


I grew up in a suburb in New Jersey and started developing a curiosity in learning from picking up various hobbies throughout middle school and high school. From learning how to skateboard to eventually making YouTube videos showcasing my self-taught guitar playing, I was never hesitant to jump into something new.
My journey began soon after that, when I began selling the electronics I taught myself how to fix on eBay and Craigslist. This sparked my interest in business. Moving to New York City, I went to college at NYU, worked internships in finance, and now continue to work in the field.
Along the way, I've stayed continuously curious, diving deep to explore and come up with answers. This site is a showcase of this never-ending process, to see life through the values of efficiency, authenticity, and creativity.
If you would like to get in contact, please do! Send me an email on my contact form and we can talk about anything, or talk more specifically about business partnerships, new opportunities, or advice (give or receive).
Feel free to follow me as well, my links are at the bottom of the page.
While we are at it, running this site costs money, namely at this time the domain hosting fee of $15/year. If you enjoyed the content on this website and you'd like to help out, feel free to chip in.
Paypal
One-time contribution of $3.80 - click this button below to send over a few bucks to help with this site. Note: This website is NOT a nonprofit organization. Yes, the button does say "donate" but it has to for it to work.
Venmo - send to my username @Leo-Lu


These tools are recommended for all systems.
Openssh provides both an ssh client and a server. Setting up a server allows logging into the system from another system allowing control, including building of additional packages, from a full graphical environment.
Wget allows retrieval of packages from the command line.
Make-ca provides for installing security certificates of well known certificate authorities so applications can properly authenticate entities such as an https:// URL across an untrusted network.
Sudo allows otherwise untrusted users to run commands that require administrative privileges. It is a convenient alternative to the su command.
Which is a convenient utility that shows the full path to a command.
Unzip is an extraction utility for zip files. It's function is similar to gzip. gzip2, and xz that were installed in LFS.
Links is a text mode WWW browser. Text mode browsers are very fast and can be used before a graphical environment is installed.
Mailx is a a command-line Mail User Agent (MUA). It is especially useful for sending mail messages in scripts.
When building BLFS packages, manny will require the installation of dependent packages before that are built. See the section called “Conventions Used for Package Dependencies” to help decide which dependent packages you need.


Create setting for neural network model with python
setMLP( hiddenLayerSizes = list(c(100), c(20, 4)), activation = list("relu"), solver = list("adam"), alpha = list(0.3, 0.01, 1e-04, 1e-06), batchSize = list("auto"), learningRate = list("constant"), learningRateInit = list(0.001), powerT = list(0.5), maxIter = list(200, 100), shuffle = list(TRUE), tol = list(1e-04), warmStart = list(TRUE), momentum = list(0.9), nesterovsMomentum = list(TRUE), earlyStopping = list(FALSE), validationFraction = list(0.1), beta1 = list(0.9), beta2 = list(0.999), epsilon = list(1, 0.1, 1e-08), nIterNoChange = list(10), seed = sample(1e+05, 1) )
| hiddenLayerSizes | (list of vectors) The ith element represents the number of neurons in the ith hidden layer. |
|---|---|
| activation | (list) Activation function for the hidden layer.
|
| solver | (list) The solver for weight optimization. (‘lbfgs’, ‘sgd’, ‘adam’) |
| alpha | (list) L2 penalty (regularization term) parameter. |
| batchSize | (list) Size of minibatches for stochastic optimizers. If the solver is ‘lbfgs’, the classifier will not use minibatch. When set to “auto”, batchSize=min(200, n_samples). |
| learningRate | (list) Only used when solver='sgd' Learning rate schedule for weight updates.‘constant’, ‘invscaling’, ‘adaptive’, default=’constant’ |
| learningRateInit | (list) Only used when solver=’sgd’ or ‘adam’. The initial learning rate used. It controls the step-size in updating the weights. |
| powerT | (list) Only used when solver=’sgd’. The exponent for inverse scaling learning rate. It is used in updating effective learning rate when the learning_rate is set to ‘invscaling’. |
| maxIter | (list) Maximum number of iterations. The solver iterates until convergence (determined by ‘tol’) or this number of iterations. For stochastic solvers (‘sgd’, ‘adam’), note that this determines the number of epochs (how many times each data point will be used), not the number of gradient steps. |
| shuffle | (list) boolean: Whether to shuffle samples in each iteration. Only used when solver=’sgd’ or ‘adam’. |
| tol | (list) Tolerance for the optimization. When the loss or score is not improving by at least tol for nIterNoChange consecutive iterations, unless learning_rate is set to ‘adaptive’, convergence is considered to be reached and training stops. |
| warmStart | (list) When set to True, reuse the solution of the previous call to fit as initialization, otherwise, just erase the previous solution. |
| momentum | (list) Momentum for gradient descent update. Should be between 0 and 1. Only used when solver=’sgd’. |
| nesterovsMomentum | (list) Whether to use Nesterov’s momentum. Only used when solver=’sgd’ and momentum > 0. |
| earlyStopping | (list) boolean Whether to use early stopping to terminate training when validation score is not improving. If set to true, it will automatically set aside 10 percent of training data as validation and terminate training when validation score is not improving by at least tol for n_iter_no_change consecutive epochs. |
| validationFraction | (list) The proportion of training data to set aside as validation set for early stopping. Must be between 0 and 1. Only used if earlyStopping is True. |
| beta1 | (list) Exponential decay rate for estimates of first moment vector in adam, should be in 0 to 1. |
| beta2 | (list) Exponential decay rate for estimates of second moment vector in adam, should be in 0 to 1. |
| epsilon | (list) Value for numerical stability in adam. |
| nIterNoChange | (list) Maximum number of epochs to not meet tol improvement. Only effective when solver=’sgd’ or ‘adam’. |
| seed | A seed for the model |
if (FALSE) { model.mlp <- setMLP() }


Experience
{% for job in site.data.jobs %}{{ job.function }}
{{ job.company }}
{{ job.description }}
{{ job.start_date | date: "%B %Y" }} - {%- if job.end_date %} {{ job.end_date | date: "%B %Y" }} {% else %} Present {% endif %}
{{ job.description }}


Royce Gracie says ‘it’s hard to compare’ eras: Can fighters today fight in 1993?
by Ram Gilboa“What Situation?” Royce Gracie asks when asked about the situation here, in Israel. In the lobby of the Sheraton Tel-Aviv beach hotel, where the top Bellator fighters and brass are stay for Bellator 234, he says it doesn’t bother him and he looks the part; all smiles, all calm. Except for the by now mechanic fist pose; taking pictures with all on-comers since 1993. Royce Gracie is pretty much an Israeli of honor by now – the last time UFC 1, 2 & 4 winner tried to count, it was his 15th visit in the country.
”I’m used to that, I’m with you guys,” he tells the Israeli reporter talking with him.” I come here a lot – I give a lot of seminars, I have many black belts here, in Karmiel, Haifa, Tiberias, Jerusalem. Many schools”.
At the Bellator 234 ceremonial weigh-ins, meeting and greeting, Gracie says he wants a uniform, we can get him a gun and he will go. But we are women and men of peace, and it is unarmed violence we are here for.
When I interviewed you two years back , you said you didn’t like where Jiu-Jitsu is currently at.
Look at Taekwondo for answers. Martial arts in general were not made for a tournament, for points system. Martial arts were made to defend yourself in the street fight situation, not to score points. you’re not meant to tag the person, touch the person, score the point. You’re meant to hit, knock the guy out, make a hole to your chest. Now all martial arts are doing this: Taekwondo, Karate – scoring a point. Same thing Jiu-Jitsu, it wasn’t meant for point system. And it’s be been like this for long time already – that a lot of people train for scoring points. I don’t agree with that. Jiu-Jitsu was meant for self-defense.
And whose Jiu-Jitsu you do like today, and how they apply it in the cage?
I like Damian Maia. In a fight he uses Jiu-Jitsu, to fight. You see. Fabricio Werdum. Yeah, that’s what’s Jiu-Jitsu is for, to use in a true fight, not to score points. People rely too much on scoring points today.
What you think about the latest ADCC?
Didn’t watch. I don’t watch it. Not that I don’t it. I don’t like the points system. It’s not that I don’t like the art. I love the art.
A lot of time since the big fights of the nineties, where it was no time-limit is and no gloves and no-holds-barred...
And no weight division. But I can’t say those guys were tougher than the guys today. The guys today are very tough. But it’s different. Back then there’s no time limit, no weight division, no gloves. Different rules.
Who’s the best fighter you’ve fought back then? Sakuraba?
All of them. Ken Shamrock, Sakuraba, Dan Severn. And they’re all big, they’re all huge. I’m the smallest one, man. Kimo, they’re all tough. They’re all good at their style. I respect all of them. Anybody that steps in the cage.
Catch-wrestling. As good as Jiu-Jitsu?
Don’t know about catch-wrestling.
You fought with catch-wrestlers many times – Sakuraba.
Ok. I thought he was wrestling, Jiu-Jitsu.
In your view, you don’t think it’s catch-wrestling?
Don’t know. Don’t care about catch-wrestling. I only care about Jiu-Jitsu.
You famously claimed some years ago that to succeed in modern MMA, even, one can rely only on Jiu-Jitsu. Do you still feel this way?
Oh yeah. Jiu-Jitsu is the bond or styles all between all the other styles. Take Jiu-Jitsu out, a boxer is just a boxer, a kickboxer is just a kickboxer. Take Jiu-Jitsu out of the wrestling – what is he going to do, take the person down and? there’s no finishing holds, there’s no striking. So the Jiu-Jitsu is the one that bonds all the styles together.
Is there a big difference between what a Japanese did in the forties and fifties on the ground, and the modern Jiu-Jitsu of these days?
Yes.
Can you elaborate a little? Like, as to the difference?
Is there a difference between the car, the Ford, from 1940s, and the Ford of today? Yes. Technology changed; techniques change. People change. The training changes, the food changes. Everything, The Kimura, everything. The work, the gyms changed.
The question is about the Japanese guys, what they call Kosen Judo guys, Tsunatane Oda .
The Jiu-Jitsu that my father learned, or the stand up Jiu-Jitsu?
The complete Judo. The Judo before they said: This is stand up, and this is the ground.
Yes, the complete Jiu-Jitsu. The armlock is an armlock, a choke is a choke. How you set it up – is different. Everybody have their personal style.
But those guys were legit? Tsunatane Oda.
Of course. You’re asking me – will Muhammad Ali be able to box today against the champion.
Yes, he will.
Will he win?
I don’t know.
Look at the size of the heavyweights. they’re not 200 pounds, 220 pounds anymore. You see, they’re much bigger. The technology is better, they train better. Now the question is would they be able to fight when Muhammad Ali, back in that time, training using the technology that they had, the food of the had, see.
If a fighter from 1993 could fight today? Could the fighter today fight in 1993?  So it’s hard to compare. My brother used to say – ‘If the crow could sing, he would have been in a golden cage, but since he doesn’t sing, he eats trash from the streets’.
It is 2019, not 1993 anymore, and everybody knows and respects the name Gracie. So I’m asking if the original Judo guys, the guys who competed in tournaments under Kosen rules, Oda and his guys, how good were they, and how similar was it to modern Jiu-Jitsu?
I don’t know, because I didn’t train with them. I learned from my father, not from them. I saw videos. They were good, of course, the level. I only saw videos, so I don’t know. I respect what came before. What came before you, it built you. But I learned Jiu-Jitsu from my father.
Thank you very much, Mr. Royce Gracie, as always an honor.


CredentialsTokenTTL
public protocol CredentialsTokenTTL : AnyObject
Protocol to make it easier to add token TTL (Time To Live) to credentials plugins.
Using this protocol:
Step 1) Conform to the protocol Step 2) Call one of the two getProfileAndCacheIfNeeded methods– probably at the end of your authenticate method:
Either: Step 2a) Typical plugins will call the getProfileAndCacheIfNeeded method with the onSuccess and onFailure closures. I.e., typical plugins will either simply fail or succeed when attempting to generate a user profile when generateNewProfile is called. E.g., see https://github.com/crspybits/CredentialsMicrosoft/blob/master/Sources/CredentialsMicrosoft/CredentialsMicrosoftToken.swift
Or: Step 2b) More complicated plugins will call the getProfileAndCacheIfNeeded method with the single, completion, closure. These plugins (e.g., see https://github.com/Kitura/Kitura-CredentialsJWT/blob/master/Sources/CredentialsJWT/CredentialsJWT.swift) not only either succeed or fail, but they can have a third, unprocessable result.
-
Needed for caching (token, user profile) pairs until their TTL expires or they are evicted from the cache. If nil, no caching of user profiles is carried out.
Declaration
Swift
var usersCache: NSCache<NSString, BaseCacheElement>? { get }
-
The specific TTL value used by the plugin. If nil, the TTL is not used.
Declaration
Swift
var tokenTimeToLive: TimeInterval? { get }
-
Used by the getProfileAndCacheIfNeeded method to generate a profile if one can’t be used from cache.
Declaration
Swift
func generateNewProfile(token: String, options: [String : Any], completion: @escaping (CredentialsTokenTTLResult) -> Void)
Parameters
token
The Oauth2 token, used as a key in the cache.
options
The dictionary of plugin specific options. Effects: Method you implement needs to generate a new profile for a user given the token, if possible. Your method is not reponsible for caching the resulting profile (if successful). Caching is handled by other components of this protocol.
-
getProfileAndCacheIfNeeded(token:
Extension methodoptions: onSuccess: onFailure: ) Calls the completion handler with the profile (from cache or generated with the protocol generateNewProfile method), or failure result. This method should be suited to most plugins that use a TTL.
Declaration
Swift
public func getProfileAndCacheIfNeeded( token: String, options: [String:Any], onSuccess: @escaping (UserProfile) -> Void, onFailure: @escaping (HTTPStatusCode?, [String:String]?) -> Void)
Parameters
token
The Oauth2 token, used as a key in the cache.
options
The dictionary of plugin specific options.
onSuccess
From the authentication method.
onFailure
From the authentication method.
-
getProfileAndCacheIfNeeded(token:
Extension methodoptions: completion: ) Calls the completion handler with the profile (from cache or generated with the protocol generateNewProfile method), or failure result. This method is suited to plugins with more complicated credentials needs. E.g., the Credentials JWT.
Declaration
Swift
public func getProfileAndCacheIfNeeded( token: String, options: [String:Any], completion: @escaping (CredentialsTokenTTLResult) -> Void)
Parameters
token
The Oauth2 token, used as a key in the cache.
options
The dictionary of plugin specific options.
completion
The detailed credentials TTL result.


Hey.  Cool. Neither did I, but you're not going to find much on this page.


TMS Implementation
Trigger Events
Interactions
Exception Handling Guidance
Overview
The purpose of this guidance is to describe the approach used to enable consistent exception handling across all domains when implementing over TMS.
Issues / errors can be identified at two levels, messaging and business:
- Messaging issues are those related to the communication and delivery of the message or its structure.
- Business issues are defined as being those related to the information conveyed by the message, evaluated in context by the processing application.
Messaging Issues/Errors
Messaging issues and errors are carried in the Application Acknowledgement wrapper in the AcknowledgementDetail class. A single code system managed externally by BT Syntegra and referenced in the message specification will define all codes that identify messaging issues and errors. Each code shall be further classified by the AcknowledgementDetail.typeCode which contains a severity indicator indicating the severity of the error.
The MHS codes will be documented in the BT External Interface Specification. As these codes are generic across MHS implementations (i.e. are not specific to the BT MHS implementation) other MHS implementers shall have the ability to add codes to the MHS error namespace. To get new codes added to the MHS namespace the implementer should contact BT through the Authority Spine liaison point.
Business Issues/Errors
Business issues and errors are carried in the Trigger Event Control Act and Query Acknowledgement Response wrappers in the DetectedIssueEvent class; with the option of supporting details being carried in the response payload.
Where necessary, detail supporting an issue or error shall be carried in a response payload. The ActDetectedIssueCode vocabulary page identifies a code system for each business domain. There is a single code system per domain. Where a code system is managed externally, the contents can only be obtained from the code system custodian. If a pertinent code does not exist in the relevant code system, its inclusion can be managed by the code system custodian.
For additional information on error code namespaces, contact BT through the Authority Spine Liaison point.
| Application Acknowledgement (MCCI_IN010000UK13) An application acknowledgement on receipt of a request or notification. Note: This interaction is invoked, where appropriate, as a receiver responsibility. Important Note:- This interaction may also be invoked by any TMS node in response to a messaging error detected prior to a business sub-system accepting the HL7 payload. Systems should be capable of accepting this response to any business interaction. The Interaction diagrams included in this specification define the business layer interactions and will NOT depict Application Acknowledgements generated due to this transport layer error use case. Sender: Request/Notification Message Receiver Receiver: Request/Notification Message Sender Message: Application Acknowledgement Trigger Event: Send Application Acknowledgement Transmission Wrapper: Application Acknowledgement (MCCI_MT020101UK12) Control Act Wrapper: Control Act (MCAI_MT040101UK03) |
| Query Act Failed (QUQI_IN010000UK14) A Query Act Failed interaction contains status information on an identified query that has failed and does not contain any query results. Sender: Query Fulfiller Receiver: Query Placer Message: Query Acknowledgement Response Trigger Event: Query Failed Transmission Wrapper: Application Acknowledgement (MCCI_MT020101UK12) Control Act Wrapper: Query Acknowledgement Response (QUQI_MT030101UK03) |


Design Period¶
Experiment design¶
Every long-term experiment must have an experimental design. In the GLTEN metadata schema, the experiment design can include the following:
Experiment design, including number of replicates and plots.
Crops and crop rotations.
Factors, also known as treatments and interventions i.e. the different things being tested.
Measurements and observations made.
Overtime LTEs modifications can be made to an experiment which change the overall design. The GLTEN metadata schema uses the Design Phase concept to describe these significant changes. For example, in 1968 the Broadbalk wheat experiment introduced crop rotations and modern short stem cultivars; in the GLTEN, this is treated as a separate design phase to the preceeding years.
Not every change needs to be documented as a different design phase. The recommendation is to create a new design phase for a significant change, such as introducing a new factor.
Recommended fields¶
- Design Period Name
The name given to the design period. If you only have one design period this can be left blank, but it is recommended to provide a name for experiments with two or more periods
- Start Year, End Year & ongoing
If the experiment only has one period this can be left blank. If youre experiment has two or more phases you should indicate the start and years for each period. Only the most recent period can be ongoing.
- Design type
Select an appropriate experiment design type from the list. If none matches, select other and provide a description in the Design description text box.
- Design Description
Use the Design Description text box to provide a more detailed description of the experiment design
- Description
Use the Description text box to provide comments about this design period, for example, minor changes.
- Number of plots
Use this to indicate the number of plots in the experiment. In the GLTEN schema, a plot is defined as the primary unit (area of land) of interest.
- Number of replicates
The number of replicates (i.e. plots receiving the same factor levels.
Optional fields¶
- Harvests per year
Indicates the maximum number of harvests per year
- Factorial
Indicates whether or not the experiment is factorial, i.e all combinations of factor levels are present in the experiment.
Crops¶
Add the crops grown on your experiment here. In most cases you shouldn’t specify cultivars or varieties here. If your LTE is testing different cultivars you should specify these as a Factor
If crops are grown in rotation you can specify the rotation order in the next section.
Crop Rotations¶
The crop rotation section lets you describe the crop rotation(s) used in your experiment.
If you use crop rotation as a factor in your experiment you should still enter the rotations here and not in the Factors section. You should use the Is factor? option to indicate the crop rotation is a factor catgegory.
For more detail on crop rotation terminology please review the crop rotations help.
Mandatory fields¶
- Crop rotation name
This is a meaningful name for the rotation and is especially helpful if you have several different rotations
- Is factor
Check this box if crop rotations are used as an experimental factor.
- Phasing
Use this to state whether or not the rotation is fully phased (i.e. all phases of the rotation are present each year) or not.
- Phases
Add each crop as a phase. The drop down list is generated from the list of crops added to the previous Crops section, so make sure you have added all the crops you want to use (if not you can easily go back and add them).
If two crops occur in the same phase click the same phase button for the later crop. You now should see the two crops are now listed in the same phase.
Optional fields¶
- Start Year and End Year
If the crop rotations have changed during the design period you can use these fields to state when the rotation was used.


Abstract
Introduction
Dicuss
Code
library(opendatatoronto)
library(dplyr)
library(tidyverse)
# get package
package <- show_package("64b54586-6180-4485-83eb-81e8fae3b8fe")
package
# get all resources for this package
resources <- list_package_resources("64b54586-6180-4485-83eb-81e8fae3b8fe")
# identify datastore resources; by default, Toronto Open Data sets datastore resource format to CSV for non-geospatial and GeoJSON for geospatial resources
datastore_resources <- filter(resources, tolower(format) %in% c('csv', 'geojson'))
# load the first datastore resource as a sample
data <- filter(datastore_resources, row_number()==1) %>% get_resource()
data
covid = data %>%
select("Age Group","Reported Date","Source of Infection")
covid = covid %>%
dplyr::filter(!is.na(`Age Group`))
covid = covid %>%
dplyr::filter(!is.na(`Source of Infection`))
covid$`Age Group` <- ifelse(covid$`Age Group` == "19 and younger", 10, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "20 to 29 Years", 20, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "30 to 39 Years", 30, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "40 to 49 Years", 40, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "50 to 59 Years", 50, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "60 to 69 Years", 60, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "70 to 79 Years", 70, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "80 to 89 Years", 80, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "90 and older", 90, covid$`Age Group`);
covid$`Age Group` <- ifelse(covid$`Age Group` == "NaN", 0, covid$`Age Group`);
covid$`Source of Infection` <- ifelse(covid$`Source of Infection` == "Travel" , 0, covid$`Source of Infection`)
covid$`Source of Infection` <- ifelse(covid$`Source of Infection` == "Close contact", 1, covid$`Source of Infection`)
covid$`Source of Infection` <- ifelse(covid$`Source of Infection` == "Institutional" , 2, covid$`Source of Infection`)
covid$`Source of Infection` <- ifelse(covid$`Source of Infection` == "Healthcare" , 3, covid$`Source of Infection`)
covid$`Source of Infection` <- ifelse(covid$`Source of Infection` == "Community" , 4, covid$`Source of Infection`)
covid$`Source of Infection` <- ifelse(covid$`Source of Infection` == "N/A - Outbreak associated" , 5, covid$`Source of Infection`)
covid$`Source of Infection` <- ifelse(covid$`Source of Infection` == "Unknown/Missing" , 6, covid$`Source of Infection`)
covid$`Source of Infection` <- ifelse(covid$`Source of Infection` == "Pending" , 7, covid$`Source of Infection`)
ggplot(data = covid, aes(x = `Age Group` )) + stat_count(color = 'grey',fill = 'pink')
ggplot(data = covid, aes(x = `Source of Infection`)) + stat_count(color = 'grey',fill = 'blue')
Including Plots
You can also embed plots. See Figure @ref(fig:pie) for example:


The HighLand template offers you new button classes that can be used along with the default Bootstrap 3 buttons:
Fancy larger or smaller buttons? Add .hl-btn-lg
, .hl-btn-sm
, or .hl-btn-xs
for additional sizes.
Create block level buttons - those that span the full width of a parent - by adding .hl-btn-block
.
Make buttons look unclickable by fading them back 50%.
Add the disabled
attribute to <button>
buttons.
Add the .disabled
class to
buttons.
While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.
In the HighLand template we have added several new classes to the panel element. For full documentation on panels, please refer to the official Bootstrap page.
You can emphasize some contents by wrapping it in a .info-board
. Four classes are available:
Info board content
Info board content
Info board content
Info board content
Navs available in Bootstrap have shared markup, starting with the base .nav
class, as well as shared states. Swap modifier classes to switch between each style.
Note the .nav-tabs
class requires the .nav
base class.
Take that same HTML, but use .nav-pills
instead.
Choose one of the six colors by adding an exta class:
Wrap any text and an optional dismiss button in .alert
for a basic warning alert message.
Please visit the official Bootstrap page for full documentation.
Extend Bootstrap's grid system with the thumbnail component to easily display grids of images, videos, text, and more.
With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.
Use the code below to add social icons on any page of your website:
Adjust the size of your icons by adding a .social-icons-small
or a social-icons-large
class.
Wrap your section header in a
 ...

, then
center it by wrapping in a .container
and a .section-header
div for correct look and block positioning.
Remove .animated slideInLeft
if you want to get rid of the animation effect.
Wrap your tip contents in a .container
and a .page-tip animated slideInDown
to get a neat tip box with a slide down effect.
Again, remove .animated slideInLeft
if you don't want things to move.
This tip looks great!
Use the following code to add a block header.
Easily add tags on your blog or news page using the code below.
© The Highland 2013. Privacy Policy | Terms of Service


I guess I should start with a quick psychoactive background. I never did any drugs whatsoever until after my 21st when I got drunk the first time.  Apparently with most people it's not this way, but that first time (it was decent bud at best but far from dank) I was totally ripped after about 3 puffs. Obviously, I fell in love with it and after a 2 month dry spell began smoking twice or once a week. We've got a regular little circle with my roommates and my best friend.
So a month or two after the circle was established my friend starts growing his own, and come final harvest time he has about half a pound of weed so he started selling the excess to friends at his job (a restaurant, so obviously he had plenty of contacts).
My dad has always been a better friend than father figure. He's quite the character, and always a blast to hang out with. We had his version of the drug talk when I was a younger guy and he told he that he had tried just about everything: meth, coke, heroin (once), shrooms, acid, and of course weed. He then told me that all that was in the past and there's not all that much to it. Later, when I got older and long after he and my mom had split up, he admitted that he still smoked weed occasionally, although that didn't really make me want to try it (I was very down on all drugs until that magical day I first got drunk).
So a few months ago I told him that I smoke weed. At first he was a little flabbergasted, but then he just tried to fill his parental shoes as best he could by reminding me that it is illegal and telling me to be careful. I of course told him I would and we left it at that.
The next time he came up for a visit, he asked me if I wanted to get high with him. This time it was my turn to be speechless, but after a minute I just shook my head with a small laugh and said, 'I'll see if I can score.'
'
, ummm..
My friend was not at all opposed to the idea, as he also gets along well with my dad but unfortunately that time he was between harvests and we were currently out of smoke. We didn't get to smoke that time, but the next time he was up was after the final harvest so when I told my dad how much bud my friend had he expressed some interest in buying from him. He bought a 1/4oz and the three of us got high that entire day until the rest of the circle got off work and they all joined us for the rest of the evening.
I've got to say that that night was one of my best smoking experiences of all time. My dad bought us all beverages, pizza, took us out for dinner for munchies (he's kinda loaded now). He regaled us with stories from back in the day when you could score a lid (I had to ask him what a lid was, it's a full ounce) for $5 and if you spent $20 you got some super dank ass weed. He made some awesome prank calls with me.  And every once in a while, I would look at him and think, 'My God. He's been living for so much longer than I have, and yet here we are connecting in this complete and wonderful manner in a way we never have before.
I haven't smoked with him since, but I'm looking forward to doing it again some other time. I don't wanna get all mushy, but even though we sometimes fight and sometimes I really hate the guy, we really connected on that night and I think it's something that both of us will take with us for the rest of our lives.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


YUI Class
Item Index
Methods
Methods
gravatarUrl
(
-
options
-
callbackFunction
-
contextObject
Create a gravatar image url.
Parameters:
-
options
ObjectAn object with the following optional properties:
- defaultImage
- This could be a string url to an image to use when there is no matching gravatar image or it could be one of the following values: '404', 'mm', 'identicon', 'monsterid', 'wavatar', or 'retro' Refer to gravatar's documentation: http://en.gravatar.com/site/implement/images/
- The user's e-mail address.
- force
- If this is a truthy value, it will force the default image to load even if there is a matching gravatar image.
- rating
- The maximum image rating that is allowed to load. It could be one of the following values: 'g', 'pg', 'r', 'x' Defaults to 'g'. Refer to gravatar's documentation: http://en.gravatar.com/site/implement/images/
- secure
- If this is a truthy value, the url will use the secure https protocol.
- size
- An integer representing the height and width of the image in pixels. Values from 1 to 512 inclusive are supported. Gravatar images are square.
-
callbackFunction
FunctionThis function receives the gravatar url as its only parameter.
-
contextObject
Object(optional) An object to provide as the execution context for the callback function.


General
- All code must be written during the event. You cannot use existing code that you have written and finish it during the
event
- You can apply as an individual or a team. Only 1 person per team/project need apply. Teams can consist of upto a maximum
of 5 members
- All participants must bring their own laptops, no computers will be provided
- The organizers reserve the right to make changes to the event program
- The prize pool will be split among the winners
Schedule
- Be present at the venue on 25th March at 9am
- Submit your idea at the registration desk
- There will be two sessions for coding, 9am-6pm on 25th March and 9am-12pm on 26th March
- You CAN code between the two sessions when you're not at the venue
- Your project is eligible for submission only if it's in working condition and has minimum quality standards
- Maximum 20 teams will qualify for presenting their work
- You are supposed to push your code on GitHub by 12pm
- Once your project is submitted, DO NOT make any changes. We will keep an eye on the commits made on GitHub
- Presentations will begin at 2pm
Prerequisites
- Download all the necessary files (IDE, SDK, etc) prior to the event.
- Internet connection will be provided, but it is best to have your own 3G/4G dongle.
Project
- All code, design, art, music, SFX, and assets must be created during the duration of the Hackathon.
- Participants are free to make plans, create wireframes, and brainstorm prior to the event
- All projects submitted for consideration for a prize will be subject to a full code and asset review in order to determine
whether the work originated during the hackathon or not
- All projects must be uploaded to GitHub before 12PM on 26th March
- If you’re new to Github, read this guide
Ownership
- All teams retain full ownership of what they have created during the Hackathon


| deleteAllVisibleCookies |
|
|
| setTimeout |
100000 |
|
| open |
/vivo/ |
|
| assertTitle |
VIVO |
|
| clickAndWait |
link=Log in |
|
| assertTitle |
Log in to VIVO |
|
| type |
loginName |
<EMAIL_ADDRESS>|
| type |
loginPassword |
Password |
| clickAndWait |
loginForm |
|
| clickAndWait |
link=Index |
|
| verifyTextNotPresent |
Article |
|
| verifyTextNotPresent |
Academic Article |
|
| clickAndWait |
link=Faculty Member |
|
| assertTitle |
Faculty Member |
|
| clickAndWait |
link=Furter, Frank |
|
| assertTitle |
Furter, Frank |
|
| click |
css=li.nonSelectedGroupTab.clickable |
|
| clickAndWait |
css=#relatedBy-Authorship > a.add-relatedBy > img.add-individual |
|
| assertTitle |
Edit |
|
| verifyTextPresent |
Create publication entry for Furter, Frank |
|
| verifyTextPresent |
Publication Type |
|
| select |
typeSelector |
label=Academic Article |
| verifyTextPresent |
Title |
|
| type |
id=title |
Too Much Nintendo |
| type |
id=collection |
Child Development |
| type |
id=volume |
29 |
| type |
id=issue |
Supplement |
| type |
id=startPage |
298 |
| type |
id=endPage |
344 |
| type |
id=dateTime-year |
2010 |
| clickAndWait |
id=submit |
|
| assertTitle |
Furter, Frank |
|
| click |
//div[@id='wrapper-content']/ul/li[4] |
|
| verifyTextPresent |
academic article |
|
| verifyTextPresent |
Too Much Nintendo. Child Development. 29:298-344. 2010 |
|
| verifyElementPresent |
link=Too Much Nintendo |
|
| clickAndWait |
link=Too Much Nintendo |
|
| assertTitle |
Too Much Nintendo |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
//h3[@id='pmid']/a/img |
|
| assertTitle |
Edit |
|
| waitForElementPresent |
tinymce |
|
| runScript |
tinyMCE.activeEditor.setContent('ABC111222333') |
|
| clickAndWait |
submit |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
//h3[@id='eanucc13']/a/img |
|
| assertTitle |
Edit |
|
| waitForElementPresent |
tinymce |
|
| runScript |
tinyMCE.activeEditor.setContent('DEF12121212') |
|
| clickAndWait |
submit |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
//h3[@id='nihmsid']/a/img |
|
| assertTitle |
Edit |
|
| waitForElementPresent |
tinymce |
|
| runScript |
tinyMCE.activeEditor.setContent('NIH9898989898') |
|
| clickAndWait |
submit |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
//h3[@id='pmcid']/a/img |
|
| assertTitle |
Edit |
|
| waitForElementPresent |
tinymce |
|
| runScript |
tinyMCE.activeEditor.setContent('PMID767676') |
|
| clickAndWait |
submit |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
//h3[@id='hasSubjectArea']/a/img |
|
| click |
id=showAddFormButton |
|
| clickAndWait |
link=Select or create a VIVO-defined concept. |
|
| assertTitle |
Edit |
|
| type |
id=relatedIndLabel |
|
| sendKeys |
id=relatedIndLabel |
Child |
| pause |
5000 |
|
| sendKeys |
id=relatedIndLabel |
${KEY_DOWN} |
| click |
id=ui-active-menuitem |
|
| clickAndWait |
id=submit |
|
| assertTitle |
Edit |
|
| clickAndWait |
link=Return to Profile Page |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
//h3[@id='freetextKeyword']/a/img |
|
| assertTitle |
Edit |
|
| waitForElementPresent |
tinymce |
|
| runScript |
tinyMCE.activeEditor.setContent('Children') |
|
| clickAndWait |
submit |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
//h3[@id='freetextKeyword']/a/img |
|
| assertTitle |
Edit |
|
| waitForElementPresent |
tinymce |
|
| runScript |
tinyMCE.activeEditor.setContent('Games') |
|
| clickAndWait |
submit |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
//h3[@id='doi']/a/img |
|
| assertTitle |
Edit |
|
| waitForElementPresent |
tinymce |
|
| runScript |
tinyMCE.activeEditor.setContent('987654321.1234567890') |
|
| clickAndWait |
submit |
|
| assertTitle |
Too Much Nintendo |
|
| clickAndWait |
link=Index |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| refreshAndWait |
10000 |
|
| verifyTextPresent |
Faculty Member (1) |
|
| verifyElementPresent |
link=Faculty Member |
|
| verifyTextPresent |
Person (1) |
|
| verifyElementPresent |
link=Person |
|
| verifyTextPresent |
Organization (1) |
|
| verifyElementPresent |
link=Organization |
|
| verifyTextPresent |
Publisher (1) |
|
| verifyElementPresent |
link=Publisher |
|
| verifyTextPresent |
research |
|
| verifyTextPresent |
Academic Article (1) |
|
| verifyElementPresent |
link=Academic Article |
|
| verifyTextPresent |
Article (1) |
|
| verifyElementPresent |
link=Article |
|
| verifyTextPresent |
Book (1) |
|
| verifyElementPresent |
link=Book |
|
| verifyTextPresent |
Concept (1) |
|
| verifyElementPresent |
link=Concept |
|
| clickAndWait |
link=Faculty Member |
|
| assertTitle |
Faculty Member |
|
| clickAndWait |
link=Furter, Frank |
|
| assertTitle |
Furter, Frank |
|
| click |
//div[@id='wrapper-content']/ul/li[4] |
|
| verifyTextPresent |
academic article |
|
| verifyTextPresent |
Too Much Nintendo. Child Development. 29:298-344. 2010 |
|
| verifyElementPresent |
link=Too Much Nintendo |
|
| clickAndWait |
link=Too Much Nintendo |
|
| assertTitle |
Too Much Nintendo |
|
| click |
//div[@id='wrapper-content']/ul/li[12] |
|
| verifyElementPresent |
link=Furter, Frank |
|
| verifyTextPresent |
2010 |
|
| verifyElementPresent |
link=Child Development |
|
| verifyElementPresent |
css=a[title="name"] |
|
| verifyTextPresent |
Children |
|
| verifyTextPresent |
Games |
|
| verifyTextPresent |
DEF12121212 |
|
| verifyTextPresent |
NIH9898989898 |
|
| verifyTextPresent |
PMID767676 |
|
| verifyTextPresent |
987654321.1234567890 |
|
| verifyTextPresent |
ABC111222333 |
|
| verifyTextPresent |
298 |
|
| verifyTextPresent |
344 |
|
| verifyTextPresent |
29 |
|
| verifyTextPresent |
Supplement |
|
| clickAndWait |
link=Home |
|
| clickAndWait |
link=Log out |
|
| assertTitle |
VIVO |
|