| Name: |
Sourfest |
| Date: |
Saturday, March 15, 2014 |
| Time: |
4:00pm |
| Location Name: |
Clypd |
| Address: |
212 Elm Street, Somerville MA |
| Description: |
We are gonna drink a whole bunch of sour beers and you are all gonna like it. Sweet! |
| Attendees: |
| Name | Brewery | Beer | Style |
| Brian Fallik | Alchemist | Heddy Topper | IPA |
| Ian Swett | Mohan Mekin | Old Monk 10000 Super Beer | Malt Liqor |
| Joshua Summers | Russian River | Pliny the Elder | American Double / Imperial IPA |
| Matt Clement | | | |
| Sean Regan | Guinness | Guinness | Stout |
| Zeth Weissman | Yuengling Brewery | Lager Bois | Lager Old Ale |
|


| About Dailyrotten |
|
Feedback
If you like this page, hate it, or would like to suggest changes,
<EMAIL_ADDRESS>is listening. This page
is experimental and somewhat different from what we usually offer, so please
do send your feedback.
Adding Stories
If you are a rotten newshound and you would like to suggest a story,
visit our submit page to
send us the URL. Stories that are accepted will have your name credited.
Posting Comments
In order to post comments to stories, you will have to
create an account.
Accounts will generally be validated within 24 hours, and of
course will be disabled if there is abuse.
Viewership
On the first full day this page went live, 100,000 people visited this Rotten
News page. Of course that was the day after the WTC attacks, so that number is
somewhat distorted. Right now this page gets between 50,000 and 75,000 people
every day.
Linking
We encourage everyone to link to this page; if you like it, others probably
will as well.
Other Rotten
Rotten
Gaping Maw
Celebrity Morgue
Mugshots
Rotten Store
Rate My Poo
Rate My Kitten
Rate My Finger
Penny Postcards
Phallic
Boners
Home
Make Dailyrotten your start page
|
|
|
December 17, 2002
Queen's trooper shot cyclist
Mirror | Submitted by: optional
"Onw of the Queen's guards who shot a cyclist because he was bored,
escaped jail yesterday. Household Cavalry trooper Adam Everett, 20, took
the pot-shot with an airgun from Knightsbridge barracks sparking a
terrorist alert. After the wounded man called police, master of camouflage
Everett was found hiding in a locker."
|
|
Read article...
|
|
Granny, would you like a brownie?
Knoxville News-Sentinel | Submitted by: toddman
"A criminal investigation into how two dozen residents of a county-run
nursing home wound up testing positive for marijuana use continued Monday
as hospital officials insisted the initial test results were incorrect...
Since then, all 98 nursing home residents have undergone urine drug
screens, and 24 of them have tested positive for marijuana."
|
|
Read article...
|
|
Dirty hotels and Cincinnati busy-bodies
Cincinnati Enquirer | Submitted by: Harris!
"Citizens for Community Values officials say they have surveyed 174 Tristate
hotels for the launch of a nationwide effort to label what they call
pornography-free or "clean" hotels... "We're going on the offensive, and
we're going to stay on the offensive," said Phil Burress, president of the
Sharonville-based CCV, one of the nation's most visible anti-pornography
groups."
|
|
Read article...
|
|
Orthodoxy knuckle-deep in nasal probe
Tiscali World Online | Submitted by: Nosy
Shas, Israel's Orthodox party, has filed a complaint against rival groups,
because their campaign posters show its spiritual leader, Rabbi Ovadia Yossef,
picking his nose... "This is a barbaric incitement to violence," Shas said in
its complaint before the central election commission."
|
|
Read article...
|
|
Penis-eater has at least one moral
Tiscali World Online | Submitted by: Heinz
"I can say that I would never eat a woman; they are too important for the
survival of mankind. Sperm from men can be frozen and used to give birth to
children after his death. But women are irreplaceable for the continuity
of mankind."
|
|
Read article...
|
|
Wal-Mart shopper attacked after imitating crying baby
Kansas City Star | Submitted by: Ted
"Prosecutors said a Kansas City man shopping at a Wal-Mart store grabbed a
baseball bat from a shelf and attacked a man who had made a remark about a
crying baby. The victim, suffered head injuries that required 14 stitches,
as well as a broken rib and bruised kidney." Blame it on the subliminal
messages in the Muzak they are playing in Wal-Mart.
|
|
Read article...
|
|
Drunken elephant beserkers kill six
Sky News | Submitted by: fReAkBoY
"A herd of drunken elephants have trampled to death six people during a
stampede in India. The beasts raided a store of alcohol in a small village
while searching for food. After helping themselves to gallons of the home
brewed liqueur, the intoxicated herd went "berserk" and attacked villagers."
|
|
Read article...
|
|
Baby Jesus frowns on suiciders
London Telegraph | Submitted by: Evildoer
"The Samaritans, a British charity aimed at helping those with personal problems has attracted criticism over its hilarious Christmas ad campaign to
prevent suicides of the lonely. "I wish the baby Jesus had never been born."
|
|
Read article...
|
|
OSI still going strong
New York Times | Submitted by: Crazy Quagga
"Such a program, for example, could include efforts to discredit and
undermine the influence of mosques and religious schools that have become
breeding grounds for Islamic militancy and anti-Americanism across the Middle
East, Asia and Europe. It might even include setting up schools with secret
American financing to teach a moderate Islamic position laced with sympathetic
depictions of how the religion is practiced in America."
|
|
Read article...
|
|
Students start day with porn
Canoe | Submitted by: Sexwithkittens
"Hundreds in the high school see it on TV sets in classrooms most Monday
mornings as a patriotic way to start the week. Instead, the video took a
shocking, perverted twist. "We're standing with our arms folded behind us
for O' Canada, and it cuts to triple X-rated porn," she said." And
people said Monday mornings were a bad thing.
|
|
Read article...
|
|
Lott debacle provides convenient smokescreen
New York Times | Submitted by: dianalily
And there's always something perfidious going on behind the smokescreen.
"Last week the Bush administration made an important announcement. I'm not
referring to the selection of a new economic team, which will make absolutely
no difference to policy. I'm talking about the executive order removing
longstanding barriers between church and state."
|
|
Read article...
|
|
America is the clown at Ronald McDonald's party
Business 2.0 | Submitted by: David 'Inky' Scott
"With anti-American sentiment on the rise, international markets have become
perilous for U.S.-based multinationals. But that's just business as usual for
McDonald's. During the last decade, the Illinois-based chain has been
the target of political protests in more than 50 countries. Alas, preventing
Ronald McDonald from taking bullets intended for Uncle Sam often means using
marketing tricks that would never play in Peoria."
|
|
Read article...
|
|
More Jackass hijinx
ABC News | Submitted by: Crazy Quagga
Yet another Johnny Knoxville impersonator taken out, Darwin-style.
"Stephen Paul Rauen, 15, was ejected from the top of a friend's car Monday
after he'd jumped onto the hood, Albuquerque Police spokesman Jeff Arbogast
said. When the driver hit the brakes, Rauen hit the pavement, then was run
over and dragged a short distance."
|
|
Read article...
|
|
The dog-eat-dog world, writ large
Michigan Live | Submitted by: Milk Bone
"A woman and her boyfriend each face up to 93 days in jail after police
found three dogs eaten alive by other dogs in a southern Tuscola County house."
[Watertown Township Police Chief Phillip M.] Millerov said a neighbor of the
home heard dogs yelping when he walked past the house on April 29. When the
man looked inside the home, "he sees one dog eating the internal organs of
another dog that was lying on the floor," Millerov said."
|
|
Read article...
|
|
Two more cities reject PATRIOT Act
ABC News | Submitted by: Crazy Quagga
"Flagstaff, AZ, and Oakland, CA, are the most recent US cities to reject the
USA PATRIOT Act, a piece of legislation that is blatantly unconstitutional.
"'I think there is strong support,' City Councilwoman Nancy Nadel said. 'We
can't trade our civil liberties for security and still be fighting for the
freedoms our country symbolizes.'" The only two people in Congress that
didn't support the Patriot Act were Republican Bob Barr and Democrat Cynthia
McKinney, who are diametrically opposite in political leanings. Curiously,
both have become lame ducks and are not expected to win re-election.
Makes you wonder...
|
|
Read article...
|
|
First shipment of little Bushies sells out
Baltimore Sun | Submitted by: Rev. Soror Lucy Cannon
"The first 12,000 copies of this year's "true action hero," a new talking doll
based on U.S. President George W. Bush has sold out. Most of the sound clips
are straightforward, e.g. famous quotes about the War on Terrorism. But also
included are some of his more notorious quotes, like "We're working hard to put
food on your family". Demand was much higher than originally anticipated, and
the next shipment won't make it to the US before Christmas. The Nixon Library
sold through on two cases of them. Oh, yeah, and they're made in Hong Kong."
|
|
Read article...
|
|
Half-naked carjacker loses colostomy bag
AZ Central | Submitted by: JOPY-666
"Police believe they have the poop on a half-naked man who hijacked a car
at knifepoint outside an Edmonton suburb's main mall: he left his colostomy
bag at the scene. "It looks as though it may have fallen off during a
struggle with security staff from the mall before the hijack," said
RCMP Const. Mireille Moore."
|
|
Read article...
|
|
Boys beat a dozen calves to death
Seattle Post-Intelligencer | Submitted by: Col.Klink
"Snohomish County prosecutors will recommend that a 19 year old spend
nine months in prison for helping beat more than a dozen calves to death
at a Monroe dairy farm in August. Kevin Broers pleaded guilty yesterday
to three counts of first-degree animal cruelty and faces a sentencing
hearing Jan. 21. Prosecutors said they lightened the charges after a 14
year old Woodinville boy admitted that he was responsible for most of
the calf beatings. They described Broers' involvement that night
as "somewhat minor or secondary."
|
|
Read article...
|
|
But is it art?
Omaha World-Herald | Submitted by: Col.Klink
"Artist Chris Holmes was wanted on a number of charges, yet he stood in a
hallway leading to the Douglas County courthouse last Tuesday and put up a
painting that soon would draw the ire of authorities. The 18-inch by 24 inch
painting, titled "Detective Ass & Officer Nightstick", was dedicated to Marvin
Ammons and George Bibins, two men who had been fatally shot by Omaha police.
Ammons was shot and killed in 1997; Bibins in 2000."
|
|
Read article...
|
|
Camera catches cold-hearted attacks on snowmen
South Florida Sun-Sentinel | Submitted by: Bald in NJ
"A camera recorded the attacks that can only be described as cold hearted
if not cold blooded. The video shows a group of pen wielding vandals
repeatedly puncturing two inflatable snowmen in this Florida Panhandle
resort city. A third attack was reported outside the camera's view. "They
stabbed Frosty in the heart."
|
|
Read article...
|
|
Iran barber arrested for helping girls pose as boys
South Florida Sun-Sentinel | Submitted by: Bald in NJ
"Iran's moral police have arrested a male barber who gave short haircuts to
young women so that they could pass as boys and go out in public without having
to cover themselves from head to toe, a newspaper said Tuesday."
|
|
Read article...
|
|
The safest place in Africa isn't
South Africa Sunday Times | Submitted by: Son of Benway
"At least four people were attacked and three stabbed by a marauding gang of
teenage robbers who went on a rampage on Port Elizabeth's beachfront last
night. Their youngest victim was a 12-year-old boy... Ironically, Tourism
Safety Forum chairman Stanford Slabbert boasted earlier this month that 'Port
Elizabeth is the safest holiday destination on the African continent.'"
|
|
Read article...
|
|
Doorstop valued at AU$90,000,000
News Corporation | Submitted by: Dirty Sammy
"When 14 year old Roy Spencer found a black stone in 1935 his father
dismissed it as worthless and used it as a doorstop on their back veranda of
their Queensland home... Now the Black Star of Queensland, a black sapphire
as big as a hen's egg, is on the market for about AU$90 million."
|
|
Read article...
|
|
Mutilated pig head may be a message of hate
Zanesville Times-Recorder | Submitted by: Adolph Rumsfeld
"Civil Rights officials are investigating an incident in which a Muskingum
County woman found a severed pig's head on her property after she became
involved in a campaign to get water delivered to her home. The victim is black.
The Ohio Civil Rights Commission fears the incident may be related to
her race."
|
|
Read article...
|
|
Is that a monkey in your pants?
KNBC-TV 4 Los Angeles | Submitted by: Helaine
"A man who had two endangered pygmy monkeys in his pants when he arrived
from Thailand at Los Angeles International Airport was sentenced to 57 days
in jail. Robert John Cusack, 45, of Palm Springs pleaded guilty Monday to
smuggling the monkeys, called lesser slow lorises, and was sentenced by U.S.
District Judge Terry Hatter. Cusack had already served the 57 days in jail."
|
|
Read article...
|
|
Bad opium trip caused by antidrug propaganda
Globe and Mail | Submitted by: Strangelove Cheney
"First reactions to Thailand's giant new opium museum in the Golden
Triangle are confused: pleasant surprise at cool air after the intense
tropical heat, but then disorientation, shock, even fear. Visitors
enter the 40-hectare complex through a long, dark, mist filled tunnel,
which winds into the base of a hill past bas-reliefs of distorted
human figures before emerging suddenly into bright sunlight in front
of a field of poppies."
|
|
Read article...
|
|
|
|
|


This is text 5346eaa0-ac85-49fb-99aa-f89a4d18448d This is text 6b1272a1-4d89-4e09-97b7-58fb9544ba67 This is text ac83bb4b-bd1a-4a73-8d0f-e250c2c5fd19


Menu
Skip to content
Discover
About Us
How It Works
Contact Us
Engage with our business consultant today Arrange for a free consultation with us
Contact us
Call :
+858-432-2788
Email :
<EMAIL_ADDRESS>Visit :
3939 Hamill Avenue La Mesa, CA 91941
Social :
Get Started Now
Business Investors
I want to invest
Business Start Up
Invest in me


Adds a gag to the gag list. Before the client prints a line of text
to the
screen it checks the gag list. If {mask} is found in a line of text
that line
will not be printed.
text to gag. The mask can be defined the
same way you define the text
pattern for an action-- using %0 through
%9.
/gag {Geoff says}
Any lines that have the text "Geoff says" in them will not be seen.
/gag {You hear %0 shout}
Any lines that have the text "You hear <name> shout" will not
be seen.
Click here to return to previous page.


2.2.4. 投影追踪回归¶
什么是投影追踪回归¶
Friedman等人于1974年提出投影追踪 (Projection Pursuit , PP) [1] , 并于1981年提出投影追踪回归 (Projection Pursuit Regression , PPR) [2] , 这是一种单输出回归模型, 1985年提出, 多输出回归分类模型 [3] . 有关投影追踪参见 投影追踪 .
Definition 2.9
(投影追踪回归)
投影追踪回归模型将随机向量 \(\bf y\) 建模为随机向量 \(\bf x\) 的随机变量的加权和的不同非线性映射的和, 即:
\[{\rm y} = {\rm w}_0 + \sum_{j=1}^r f_j({\bf w}_j^T {\bf x}) + {\rm \epsilon},
\]
其中, \({\bf x}=({\rm x}_1, {\rm x}_2, \cdots, {\rm x}_n)^T\) 为自变量, \({\bf w}_j=({\rm w}_{j1}, {\rm w}_{j2}, \cdots, {\rm w}_{jn})^T\) 为模型参数, \(f_j, j=1,2,\cdots, r\) 为 \(r\) 个非线性映射函数(可以相同或不同), \({\rm \epsilon}\) 为模型估计误差.
给定 \(K\) 个观测样本对 \({\mathbb S} = \{{\bm x}_i, y_i\}_{i=0}^K\) , 定义误差函数:
(2.8)¶\[\mathop {\min }\limits_{{f_j},{w_j}} L = \sum_{i=1}^K \left(y_i - \sum_{j=1}^r f_j({\bm w}_j^T {\bm x}_i)\right)^2
\]
式.5.15 可以通过交替优化 (Alternating Optimization) 的方法进行优化求解, 投影追踪回归采用投影追踪交替优化算法进行求解, 具体过程参见 投影追踪 .
实验与分析¶
回归实验¶
实验代码¶
从这里 projection-pursuit benchmarks 获得 compare_to_neural_network.py
实验结果¶
\(r\) 的影响.
hidden_layer_sizes, max_iter: 200 200
r, stage_maxiter, backfit_maxiter: 20 200 200
Average squared error per training example for MLPRegressor: 33.561744644172634
Average squared error per training example for ProjectionPursuitRegressor: 0.7212472748844135
Average squared error per testing example for MLPRegressor: 22.095682612129952
Average squared error per testing example for ProjectionPursuitRegressor: 23.26310438760661
Training time for MLPRegressor: 0.6172130107879639
Training time for ProjectionPursuitRegressor: 93.76978826522827
hidden_layer_sizes, max_iter: 200 200
r, stage_maxiter, backfit_maxiter: 10 200 200
Average squared error per training example for MLPRegressor: 25.894054755430098
Average squared error per training example for ProjectionPursuitRegressor: 2.0112607496432418
Average squared error per testing example for MLPRegressor: 46.90504990729163
Average squared error per testing example for ProjectionPursuitRegressor: 23.705301000070467
Training time for MLPRegressor: 0.6327333450317383
Training time for ProjectionPursuitRegressor: 26.458088159561157
hidden_layer_sizes, max_iter: 200 200
r, stage_maxiter, backfit_maxiter: 5 200 200
Average squared error per training example for MLPRegressor: 25.394874641020802
Average squared error per training example for ProjectionPursuitRegressor: 3.9056643659649666
Average squared error per testing example for MLPRegressor: 36.865379854954945
Average squared error per testing example for ProjectionPursuitRegressor: 20.50523972734486
Training time for MLPRegressor: 0.6016314029693604
Training time for ProjectionPursuitRegressor: 12.463459730148315
隐层神经元数的影响:
hidden_layer_sizes, max_iter: 200 200
r, stage_maxiter, backfit_maxiter: 5 200 200
Average squared error per training example for MLPRegressor: 25.394874641020802
Average squared error per training example for ProjectionPursuitRegressor: 3.9056643659649666
Average squared error per testing example for MLPRegressor: 36.865379854954945
Average squared error per testing example for ProjectionPursuitRegressor: 20.50523972734486
Training time for MLPRegressor: 0.6016314029693604
Training time for ProjectionPursuitRegressor: 12.463459730148315
hidden_layer_sizes, max_iter: 512 200
r, stage_maxiter, backfit_maxiter: 5 200 200
Average squared error per training example for MLPRegressor: 19.539311275178886
Average squared error per training example for ProjectionPursuitRegressor: 4.754953589272597
Average squared error per testing example for MLPRegressor: 39.934009948538275
Average squared error per testing example for ProjectionPursuitRegressor: 20.004689504319465
Training time for MLPRegressor: 1.225292682647705
Training time for ProjectionPursuitRegressor: 14.15251898765564
hidden_layer_sizes, max_iter: 1024 200
r, stage_maxiter, backfit_maxiter: 5 200 200
Average squared error per training example for MLPRegressor: 21.09513135671064
Average squared error per training example for ProjectionPursuitRegressor: 4.805062370738948
Average squared error per testing example for MLPRegressor: 16.876270527353554
Average squared error per testing example for ProjectionPursuitRegressor: 18.131646272884936
Training time for MLPRegressor: 3.123934745788574
Training time for ProjectionPursuitRegressor: 10.765942096710205
迭代次数的影响::
hidden_layer_sizes, max_iter: 200 1000
r, stage_maxiter, backfit_maxiter: 5 200 200
Average squared error per training example for MLPRegressor: 17.596837460636106
Average squared error per training example for ProjectionPursuitRegressor: 4.219905575343612
Average squared error per testing example for MLPRegressor: 27.622677425433874
Average squared error per testing example for ProjectionPursuitRegressor: 14.879565144602562
Training time for MLPRegressor: 1.9046266078948975
Training time for ProjectionPursuitRegressor: 14.236632347106934
hidden_layer_sizes, max_iter: 200 2000
r, stage_maxiter, backfit_maxiter: 5 200 200
Average squared error per training example for MLPRegressor: 17.660446224053825
Average squared error per training example for ProjectionPursuitRegressor: 9.443822651593512
Average squared error per testing example for MLPRegressor: 27.116718449437933
Average squared error per testing example for ProjectionPursuitRegressor:<PHONE_NUMBER>8900877
Training time for MLPRegressor: 1.456831932067871
Training time for ProjectionPursuitRegressor: 19.396251440048218


Welcome to IPTK’s documentation!¶
Analysis, Visualize, Compare and Integrate experimentally generated or in-silico predicted Immunopeptidomics data, !
Introduction:¶
IPTK is a Pythonic library specialized in the analysis of HLA-peptidomes identified through an Immunopeptiomics pipeline. The library provides a high level API for analyzing and visualizing the identified peptides, Integrating transcritomics and protein structure information for a rich analysis and for comparing different experiments and different runs.
Installation:¶
The library can installed using pip as follow
Funding:¶
The project was funded by the German Research Foundation (DFG) (Research Training Group 1743, ‘Genes, Environment and Inflammation’)


City: {{ trip.city }}
Duration: {{ trip.duration }}
Budget: {{ trip.budget }}
Accommodation Type: {{ accommodationType }}
Accommodation Name: {{ accommodation.accommodation.name }} {{ accommodation.accommodation.rating }}
Activities
{{ activity.activity.name }}


| Concept Framework 2.2 documentation | Contents | Index |
| Name | Version | Deprecated |
| WebTemplate | version 1.0 | no |
|
The HTML templates used by a Concept WEB Application. This is very similar to Smarty (that runs on PHP), but only with the basic features such as foreach, if, members access, arrays and some modifiers (the CTP documentation will be available soon). The result is intended to be outputted to the WebDocument object using the << operator.
CTP = Concept TemPlate |
| Errors | Gets the last errors |
| Result | Access the result of the Generated template |
| TemplateContent | Sets or gets the template content |
| TemplateFile | Sets the template file (the ctp file) |
| Bind | Binds a template variable to a concept source one |
| Generate | Generates the HTML content, and returns it as a string if no Errors were encountered |
| UnBind | Unbinds a concept variable |
| WebTemplate | This is the standard contructor for this class and should not be used directly |
| Documented by Eduard Suica, generation time: Sun Jan 27 18:15:12 2013 GMT | (c)2013 Devronium Applications |


new BaseAdapter(bot)
Represents a base adapter for all adapters
Parameters:
| Name | Type | Description |
|---|---|---|
bot |
Bot | The current {Bot} instance |
- Source:
Methods
(static) setup(type) → {undefined}
Extends an given type to this type
Parameters:
| Name | Type | Description |
|---|---|---|
type |
Type | Type to be extended |
- Source:
Returns:
Nothing
- Type
- undefined
addReaction(envelope, reaction) → {Promise}
Adds an reaction to a given message. This feature depends on the current adapter implementation and will be rejected by default.
Parameters:
| Name | Type | Description |
|---|---|---|
envelope |
Envelope | Envelope containing the message that will be reacted to. |
reaction |
String | Emoji name to be added to the message. |
- Source:
Returns:
A Promise that will be resolved after the reaction has been added to the target message. Again, notice that this feature depends on the current Adapter being used and will be rejected by default.
- Type
- Promise
contextlessSend(target, string, attachments) → {undefined}
Sends a contextless message to the chat source
Parameters:
| Name | Type | Description |
|---|---|---|
target |
AnyObject | Destination of the message |
string |
String | Message contents |
attachments |
Array | null | Array of attachments of the message |
- Source:
Returns:
Nothing
- Type
- undefined
dmForUser(userID) → {AnyObject}
Gets a channel ID for a given user identifier. If not overriden, returns the same input ID. Useful if the chat source uses a diferent identifier to direct messages.
Parameters:
| Name | Type | Description |
|---|---|---|
userID |
AnyObject | User identifier to be crossed against the possible adapter DM list source. |
- Source:
Returns:
An object that represents the channel ID for a user direct message channel.
- Type
- AnyObject
getMentionTagForUser(user) → {String}
Gets a mention tag for the given user.
Parameters:
| Name | Type | Description |
|---|---|---|
user |
User | User object to generate the tag from. |
- Source:
Returns:
A string representing the tag that mentions the user, considering the current adapter mechanics.
- Type
- String
makeEnvelope() → {Envelope}
Initialises a new instance of an Envelope
passing the same arguments
provided to this function to its constructor.
- Source:
Returns:
A new envelope with the given arguments.
- Type
- Envelope
messageShouldBeUsedInContext(envelope) → {Boolean}
Courtesy method. Used by the Context subsystem to determine if an incoming Envelope
message
should mention the bot considering it's state.
Parameters:
| Name | Type | Description |
|---|---|---|
envelope |
Envelope | Envelope instance to be analised. |
- Source:
Returns:
Whether to exepect this incoming message to mention the bot.
- Type
- Boolean
on(event, callback) → {BaseAdapter}
Adds an event subscriber to a given event name
Parameters:
| Name | Type | Description |
|---|---|---|
event |
String | Event name to be subscribed to |
callback |
function | Callback function to be called whenever the event is emitted |
- Source:
Returns:
This very same instance
- Type
- BaseAdapter
receive(message) → {undefined}
Receives an message from the chat source
Parameters:
| Name | Type | Description |
|---|---|---|
message |
AnyObject | Message being received |
- Source:
Returns:
Nothing
- Type
- undefined
removeMessage(messageId) → {Promise}
Removes a given message from the message log. This method depends on the current adapter's implementation and capabilities. This implementation can also accept other parameters and depends on the used adapter's mechanics.
Parameters:
| Name | Type | Description |
|---|---|---|
messageId |
String | ID of the message to be removed. |
- Source:
Returns:
A Promise that will be resolved whenever the message is removed from the log.
- Type
- Promise
reply(envelope, string, attachments) → {undefined}
Replies an envelope
Parameters:
| Name | Type | Description |
|---|---|---|
envelope |
Envelope | Envelope being replied |
string |
String | Message contents |
attachments |
Array | null | Array of attachments of the message |
- Source:
Returns:
Nothing
- Type
- undefined
run() → {undefined}
Executes the adapter
- Source:
Returns:
Nothing
- Type
- undefined
searchChannel(nameOrId) → {Promise}
Searches a channel with the given name or ID, where the ID must be a identifier used by the current Adapter to internally represent known channels.
Parameters:
| Name | Type | Description |
|---|---|---|
nameOrId |
String | Name or ID of the channel to be found. |
- Source:
Returns:
A promise that will be resolved whenever the channel is found. It will be rejected whenever the channel cannot be found or there's an underlying problem during the search process.
- Type
- Promise
searchUser(nameOrId) → {Promise}
Searches an user with the given name or ID, where the ID must be a identifier used by the current Adapter to internally represent known channels.
Parameters:
| Name | Type | Description |
|---|---|---|
nameOrId |
String | Name or ID of the user to be found. |
- Source:
Returns:
A promise that will be resolved whenever the user is found. It will be rejected whenever the user cannot be found or there's an underlying problem during the search process.
- Type
- Promise
send(envelope, string, attachments) → {undefined}
Sends an answer of an envelope
Parameters:
| Name | Type | Description |
|---|---|---|
envelope |
Envelope | Envelope being answered |
string |
String | Message contents |
attachments |
Array | null | Array of attachments of the message |
- Source:
Returns:
Nothing
- Type
- undefined
sendTypingState(envelope) → {undefined}
Sends a notification to the adapter source indicating that the bot is typing something.
Parameters:
| Name | Type | Description |
|---|---|---|
envelope |
Response | The object being responded by the bot. Used to identify the target channel. |
- Source:
Returns:
Nothing.
- Type
- undefined
setup() → {Promise}
Sets up this adapter.
- Source:
Returns:
A Promise that will be resolved whenever this adapter is done setting up itself. This promise can be rejected if the operation fails.
- Type
- Promise
shutdown() → {undefined}
Shutdowns the adapter
- Source:
Returns:
Nothing
- Type
- undefined


While technology helps us stay connected, bringing elderly loved ones into our digital lives remains challenging. Our team is working to bridge the communications divide between generations by addressing the barriers presented by technology. Kinly eliminates the need for seniors to use unfamiliar devices to engage with digital content. Our web app and set-top device allows families to share text, photos, and videos from their favourite social media platforms directly to the television sets of their elderly loved ones. By 2020, we aim to bring 1 million Canadian families closer together and reduce the incidence of social isolation within the senior population.
Setup is quick and easy. Our intuitive interface ensures your loved one is never the last to see content from weddings, graduations, and other cherished memories.
Regardless of distance, Kinly allows you to upload text, pictures, and videos from your favourite social media platforms on both web and mobile.
Requiring only an internet connection and a television set, the cost required to start using Kinly is comparable to other online services.


--- title: Fastrl2 keywords: fastai sidebar: home_sidebar summary: "This is a temporary location for fastrl version 2." description: "This is a temporary location for fastrl version 2." nb_path: "nbs/index.ipynb" ---
Fastai for computer vision and tabular learning has been amazing. One would wish that this would be the same for RL. The purpose of this repo is to have a framework that is as easy as possible to start, but also designed for testing new agents.
Documentation is being served at https://josiahls.github.io/fast-reinforcement-learning-2/ from documentation directly generated via nbdev
in this repo.
As we have learned how to support as many RL agents as possible, we found that fastrl==1.*
was vastly limited in the models that it can support. fastrl==2.*
will leverage the nbdev
library for better documentation and more relevant testing. We also will be building on the work of the ptan
1 library as a close reference for pytorch based reinforcement learning APIs.
1 "Shmuma/Ptan". Github, 2020, https://github.com/Shmuma/ptan. Accessed 13 June 2020.
 This sets up git hooks, which clean up the notebooks to remove the extraneous stuff stored in the notebooks (e.g. which cells you ran) which causes unnecessary merge conflicts.
Before submitting a PR, check that the local library and notebooks match. The script nbdev_diff_nbs
can let you know if there is a difference between the local library and the notebooks.
nbdev_build_lib
or make fastai2
.nbdev_update_lib
.


| Timestamp | {{(fhEvent.timestamp * 1000) | date:'dd/MMM/y HH:mm'}} | Inbound Alias |
{{fhEvent?.alias_in}}
|
Inbound Channel |
{{fhEvent?.chan_id_in}}
|
Outbound Alias |
{{fhEvent?.alias_out}}
|
Outbound Channel |
{{fhEvent?.chan_id_out}}
|
Inbound Amount (Sats) | {{fhEvent.amt_in | number}} | Outbound Amount (Sats) | {{fhEvent.amt_out | number}} | Fee (mSats) | {{fhEvent.fee_msat | number}} |
|
No forwarding history available. Getting forwarding history... {{errorMessage}} |
|---|


{{ metadata.get('title') }} {% if metadata.get('unedited', false) %} [Unedited] {% endif %}
{{ render_byline() }}Introduction
Search Engine Optimization (SEO) isn't just a hobby or a side project for digital marketers, it is crucial for the success of a website. The primary goal of SEO is to make sure that a website is optimized for the search engine bots that need to crawl and index its pages, as well as for the users that will be navigating the website and consuming its content. SEO impacts everyone working on a website, from the developer who is building it, through to the digital marketer who will need to promote it to new potential customers.
Let's put the importance of SEO into perspective. Earlier this year, the SEO industry looked on in horror (and fascination) as ASOS reported an 87% decrease in profits after a "difficult year". The brand attributed their issues to a drop in search engine rankings which occurred after they launched over 200 microsites and significant changes to their website's navigation, among other technical changes. Yikes.
The purpose of the SEO chapter of the Web Almanac is to analyze on-site elements of the web that impact the crawling and indexing of content for search engines, and ultimately, website performance. In this chapter, we'll take a look at how well-equipped the top websites are to provide a great experience for users and search engines, and which ones still have work to do.
Our analysis includes data from Lighthouse, the Chrome UX Report, and HTML element analysis. We focused on SEO fundamentals like <title>
elements, the different types of on-page links, content, and loading speed, but also the more technical aspects of SEO, including indexability, structured data, internationalization, and AMP across over 5 million websites.
Our custom metrics provide insights that, up until now, have not been exposed before. We are now able to make claims about the adoption and implementation of elements such as the hreflang
tag, rich results eligibility, heading tag usage, and even anchor-based navigation for single page apps.
Read on to find out more about the current state of the web and its search engine friendliness.
Fundamentals
Search engines have a three-step process: crawling, indexing, and ranking. To be search engine-friendly, a page needs to be discoverable, understandable, and contain quality content that would provide value to a user who is browsing the search engine results pages (SERPs).
We wanted to analyze how much of the web is meeting the basic standards of SEO best practices, so we assessed on-page elements such as body content, meta
tags, and internal linking. Let's take a look at the results.
Content
To be able to understand what a page is about and decide for which search queries it provides the most relevant answers, a search engine must be able to discover and access its content. What content are search engines currently finding, however? To help answer this, we created two custom metrics: word count and headings.
Word count
We assessed the content on the pages by looking for groups of at least 3 words and counting how many were found in total. We found 2.73% of desktop pages that didn't have any word groups, meaning that they have no body content to help search engines understand what the website is about.
The median desktop home page has 346 words, and the median mobile home page has a slightly lower word count at 306 words. This shows that mobile sites do serve a bit less content to their users, but at over 300 words, this is still a reasonable amount to read. This is especially true for home pages which will naturally contain less content than article pages, for example. Overall the distribution of words is broad, with between 22 words at the 10th percentile and up to 1,361 at the 90th percentile.
Headings
We also looked at whether pages are structured in a way that provides the right context for the content they contain. Headings (H1
, H2
, H3
, etc.) are used to format and structure a page and make content easier to read and parse. Despite the importance of headings, 10.67% of pages have no heading tags at all.
The median number of heading elements per page is 10. Headings contain 30 words on mobile pages and 32 words on desktop pages. This implies that the websites that utilize headings put significant effort in making sure that their pages are readable, descriptive, and clearly outline the page structure and context to search engine bots.
In terms of specific heading length, the median length of the first H1
element found on desktop is 19 characters.
For advice on how to handle H1
s and headings for SEO and accessibility, take a look at this video response by John Mueller in the Ask Google Webmasters series.
Meta tags
Meta tags allow us to give specific instructions and information to search engine bots about the different elements and content on a page. Certain meta tags can convey things like the topical focus of a page, as well as how the page should be crawled and indexed. We wanted to assess whether or not websites were making the most of these opportunities that meta tags provide.
Page titles
Page titles are an important way of communicating the purpose of a page to a user or search engine. <title>
tags are also used as headings in the SERPS and as the title for the browser tab when visiting a page, so it's no surprise to see that 97.1% of mobile pages have a document title.
Even though Google usually displays the first 50-60 characters of a page title within a SERP, the median length of the <title>
tag was only 21 characters for mobile pages and 20 characters for desktop pages. Even the 75th percentile is still below the cutoff length. This suggests that some SEOs and content writers aren't making the most of the space allocated to them by search engines for describing their home pages in the SERPs.
Meta descriptions
Compared to the <title>
tag, fewer pages were detected to have a meta description, as only 64.02% of mobile home pages have a meta description. Considering that Google often rewrites meta descriptions in the SERPs in response to the searcher's query, perhaps website owners place less importance on including a meta description at all.
The median meta description length was also lower than the recommended length of 155-160 characters, with desktop pages having descriptions of 123 characters. Interestingly, meta descriptions were consistently longer on mobile than on desktop, despite mobile SERPs traditionally having a shorter pixel limit. This limit has only been extended recently, so perhaps more website owners have been testing the impact of having longer, more descriptive meta descriptions for mobile results.
Image alt tags
Considering the importance of alt
text for SEO and accessibility, it is far from ideal to see that only 46.71% of mobile pages use alt
attributes on all of their images. This means that there are still improvements to be made with regard to making images across the web more accessible to users and understandable for search engines. Learn more about issues like these in the Accessibility chapter.
Indexability
To show a page's content to users in the SERPs, search engine crawlers must first be permitted to access and index that page. Some of the factors that impact a search engine's ability to crawl and index pages include:
- Status codes
noindex
tags- Canonical tags
- The
robots.txt
file
Status codes
It is recommended to maintain a 200 OK
status code for any important pages that you want search engines to index. The majority of pages tested were available for search engines to access, with 87.03% of initial HTML requests on desktop returning a 200
status code. The results were slightly lower for mobile pages, with only 82.95% of pages returning a 200
status code.
The next most commonly found status code on mobile was 302
, a temporary redirect, which was found on 10.45% of mobile pages. This was higher than on desktop, with only 6.71% desktop home pages returning a 302
status code. This could be due to the fact that the mobile home pages were alternates to an equivalent desktop page, such as on non-responsive sites that have separate versions of the website for each device.
noindex
A noindex
directive can be served in the HTML <head>
or in the HTTP headers as an X-Robots
directive. A noindex
directive basically tells a search engine not to include that page in its SERPs, but the page will still be accessible for users when they are navigating through the website. noindex
directives are usually added to duplicate versions of pages that serve the same content, or low quality pages that provide no value to users coming to a website from organic search, such as filtered, faceted, or internal search pages.
96.93% of mobile pages passed the Lighthouse indexing audit, meaning that these pages didn't contain a noindex
directive. However, this means that 3.07% of mobile home pages did have a noindex
directive, which is cause for concern, meaning that Google was prevented from indexing these pages.
Canonicalization
Canonical tags are used to specify duplicate pages and their preferred alternates, so that search engines can consolidate authority which might be spread across multiple pages within the group onto one main page for improved rankings.
48.34% of mobile home pages were detected to have a canonical tag. Self-referencing canonical tags aren't essential, and canonical tags are usually required for duplicate pages. Home pages are rarely duplicated anywhere else across the site so seeing that less than half of pages have a canonical tag isn't surprising.
robots.txt
One of the most effective methods for controlling search engine crawling is the robots.txt
file. This is a file that sits on the root domain of a website and specifies which URLs and URL paths should be disallowed from being crawled by search engines.
It was interesting to observe that only 72.16% of mobile sites have a valid robots.txt
, according to Lighthouse. The key issues we found are split between 22% of sites having no robots.txt
file at all, and ~6% serving an invalid robots.txt
file, and thus failing the audit. While there are many valid reasons to not have a robots.txt
file, such as having a small website that doesn't struggle with crawl budget issues, having an invalid robots.txt
is cause for concern.
Linking
One of the most important attributes of a web page is links. Links help search engines discover new, relevant pages to add to their index and navigate through websites. 96% of the web pages in our dataset contain at least one internal link, and 93% contain at least one external link to another domain. The small minority of pages that don't have any internal or external links will be missing out on the immense value that links pass through to target pages.
The number of internal and external links included on desktop pages were consistently higher than the number found on mobile pages. Often a limited space on a smaller viewport causes fewer links to be included in the design of a mobile page compared to desktop.
It's important to bear in mind that fewer internal links on the mobile version of a page might cause an issue for your website. With mobile-first indexing, which for new websites is the default for Google, if a page is only linked from the desktop version and not present on the mobile version, search engines will have a much harder time discovering and ranking it.
The median desktop page includes 70 internal (same-site) links, whereas the median mobile page has 60 internal links. The median number of external links per page follows a similar trend, with desktop pages including 10 external links, and mobile pages including 8.
Anchor links, which link to a certain scroll position on the same page, are not very popular. Over 65% of home pages have no anchor links. This is probably due to the fact that home pages don't usually contain any long-form content.
There is good news from our analysis of the descriptive link text metric. 89.94% of mobile pages pass Lighthouse's descriptive link text audit. This means that these pages don't have generic "click here", "go", "here" or "learn more" links, but use more meaningful link text which helps users and search engines better understand the context of pages and how they connect with one another.
Advanced
Having descriptive, useful content on a page that isn't being blocked from search engines with a noindex
or Disallow
directive isn't enough for a website to succeed in organic search. Those are just the basics. There is a lot more than can be done to enhance the performance of a website and its appearance in SERPs.
Some of the more technically complex aspects that have been gaining importance in successfully indexing and ranking websites include speed, structured data, internationalization, security, and mobile friendliness.
Speed
Mobile loading speed was first announced as a ranking factor by Google in 2018. Speed isn't a new focus for Google though. Back in 2010 it was revealed that speed had been introduced as a ranking signal.
A fast-loading website is also crucial for a good user experience. Users that have to wait even a few seconds for a site to load have the tendency to bounce and try another result from one of your SERP competitors that loads quickly and meets their expectations of website performance.
The metrics we used for our analysis of load speed across the web is based on the Chrome UX Report (CrUX), which collects data from real-world Chrome users. This data shows that an astonishing 48% of websites are labeled as slow. A website is labeled slow if it more than 25% of FCP experiences slower than 3 seconds or 5% of FID experiences slower than 300 ms.
Split by device, this picture is even bleaker for tablet (65%) and phone (58%).
Although the numbers are bleak for the speed of the web, the good news is that SEO experts and tools have been focusing more and more on the technical challenges of speeding up websites. You can learn more about the state of web performance in the Performance chapter.
Structured data
Structured data allows website owners to add additional semantic data to their web pages, by adding JSON-LD snippets or Microdata, for example. Search engines parse this data to better understand these pages and sometimes use the markup to display additional relevant information in the search results. The most commonly found types of structured data are:
The extra visibility that structured data can provide for websites is interesting for site owners, given that it can help to create more opportunities for traffic. For example, the relatively new FAQ schema will double the size of your snippet and the real estate of your site in the SERP.
During our research, we found that only 14.67% of sites are eligible for rich results on mobile. Interestingly, desktop site eligibility is slightly lower at 12.46%. This suggests that there is a lot more that site owners can be doing to optimize the way their home pages are appearing in search.
Among the sites with structured data markup, the five most prevalent types are:
WebSite
(16.02%)SearchAction
(14.35%)Organization
(12.89%)WebPage
(11.58%)ImageObject
(5.35%)
Interestingly, one of the most popular data types that triggers a search engine feature is SearchAction
, which powers the sitelinks searchbox.
The top five markup types all lead to more visibility in Google's search results, which might be the fuel for more widespread adoption of these types of structured data.
Seeing as we only looked at home pages within this analysis, the results might look very different if we were to consider interior pages, too.
Review stars are only found on 1.09% of the web's home pages (via AggregateRating). Also, the newly introduced QAPage appeared only in 48 instances, and the FAQPage at a slightly higher frequency of 218 times. These last two counts are expected to increase in the future as we run more crawls and dive deeper into Web Almanac analysis.
Internationalization
Internationalization is one of the most complex aspects of SEO, even according to some Google search employees. Internationalization in SEO focuses on serving the right content from a website with multiple language or country versions and making sure that content is being targeted towards the specific language and location of the user.
While 38.40% of desktop sites (33.79% on mobile) have the HTML lang attribute set to English, only 7.43% (6.79% on mobile) of the sites also contain an hreflang
link to another language version. This suggests that the vast majority of websites that we analyzed don't offer separate versions of their home page that would require language targeting -- unless these separate versions do exist but haven't been configured correctly.
hreflang |
Desktop | Mobile |
|---|---|---|
| en | 12.19% | 2.80% |
| x-default | 5.58% | 1.44% |
| fr | 5.23% | 1.28% |
| es | 5.08% | 1.25% |
| de | 4.91% | 1.24% |
| en-us | 4.22% | 2.95% |
| it | 3.58% | 0.92% |
| ru | 3.13% | 0.80% |
| en-gb | 3.04% | 2.79% |
| de-de | 2.34% | 2.58% |
| nl | 2.28% | 0.55% |
| fr-fr | 2.28% | 2.56% |
| es-es | 2.08% | 2.51% |
| pt | 2.07% | 0.48% |
| pl | 2.01% | 0.50% |
| ja | 2.00% | 0.43% |
| tr | 1.78% | 0.49% |
| it-it | 1.62% | 2.40% |
| ar | 1.59% | 0.43% |
| pt-br | 1.52% | 2.38% |
| th | 1.40% | 0.42% |
| ko | 1.33% | 0.28% |
| zh | 1.30% | 0.27% |
| sv | 1.22% | 0.30% |
| en-au | 1.20% | 2.31% |
hreflang
values.Next to English, the most common languages are French, Spanish, and German. These are followed by languages targeted towards specific geographies like English for Americans (en-us
) or more obscure combinations like Spanish for the Irish (es-ie
).
The analysis did not check for correct implementation, such as whether or not the different language versions properly link to each other. However, from looking at the low adoption of having an x-default version (only 3.77% on desktop and 1.30% on mobile), as is recommended, this is an indicator that this element is complex and not always easy to get right.
SPA crawlability
Single-page applications (SPAs) built with frameworks like React and Vue.js come with their own SEO complexity. Websites using a hash-based navigation, make it especially hard for search engines to properly crawl and index them. For example, Google had an "AJAX crawling scheme" workaround that turned out to be complex for search engines as well as developers, so it was deprecated in 2015.
The number of SPAs that were tested had a relatively low number of links served via hash URLs, with 13.08% of React mobile pages using hash URLs for navigation, 8.15% of mobile Vue.js pages using them, and 2.37% of mobile Angular pages using them. These results were very similar for desktop pages too. This is positive to see from an SEO perspective, considering the impact that hash URLs can have on content discovery.
The higher number of hash URLs in React pages is surprising, especially in contrast to the lower number of hash URLs found on Angular pages. Both frameworks promote the adoption of routing packages where the History API is the default for links, instead of relying on hash URLs. Vue.js is considering moving to using the History API as the default as well in version 3 of their vue-router
package.
AMP
AMP (formerly known as "Accelerated Mobile Pages") was first introduced in 2015 by Google as an open source HTML framework. It provides components and infrastructure for websites to provide a faster experience for users, by using optimizations such as caching, lazy loading, and optimized images. Notably, Google adopted this for their search engine, where AMP pages are also served from their own CDN. This feature later became a standards proposal under the name Signed HTTP Exchanges.
Despite this, only 0.62% of mobile home pages contain a link to an AMP version. Given the visibility this project has had, this suggests that it has had a relatively low adoption. However, AMP can be more useful for serving article pages, so our home page-focused analysis won't reflect adoption across other page types.
Security
A strong online shift in recent years has been for the web to move to HTTPS by default. HTTPS prevents website traffic from being intercepted on public Wi-Fi networks, for example, where user input data is then transmitted unsecurely. Google have been pushing for sites to adopt HTTPS, and even made HTTPS as a ranking signal. Chrome also supported the move to secure pages by labeling non-HTTPS pages as not secure in the browser.
For more information and guidance from Google on the importance of HTTPS and how to adopt it, please see Why HTTPS Matters.
We found that 67.06% of websites on desktop are now served over HTTPS. Just under half of websites still haven't migrated to HTTPS and are serving non-secure pages to their users. This is a significant number. Migrations can be hard work, so this could be a reason why the adoption rate isn't higher, but an HTTPS migration usually require an SSL certificate and a simple change to the .htaccess
file. There's no real reason not to switch to HTTPS.
Google's HTTPS Transparency Report reports a 90% adoption of HTTPS for the top 100 non-Google domains (representing 25% of all website traffic worldwide). The difference between this number and ours could be explained by the fact that relatively smaller sites are adopting HTTPS at a slower rate.
Learn more about the state of security in the Security chapter.
Conclusion
Through our analysis, we observed that the majority of websites are getting the fundamentals right, in that their home pages are crawlable, indexable, and include the key content required to rank well in search engines' results pages. Not every person who owns a website will be aware of SEO at all, let alone its best practice guidelines, so it is promising to see that so many sites have got the basics covered.
However, more sites are missing the mark than expected when it comes to some of the more advanced aspects of SEO and accessibility. Site speed is one of these factors that many websites are struggling with, especially on mobile. This is a significant problem, as speed is one of the biggest contributors to UX, which is something that can impact rankings. The number of websites that aren't yet served over HTTPS is also problematic to see, considering the importance of security and keeping user data safe.
There is a lot more that we can all be doing to learn about SEO best practices and industry developments. This is essential due to the evolving nature of the search industry and the rate at which changes happen. Search engines make thousands of improvements to their algorithms each year, and we need to keep up if we want our websites to reach more visitors in organic search.


See also: IRC log
<dbooth> Scribe: Arthur
<JMarsh> Will resume with a Vote on whether to convert the ONMR to a Best Practice section, carefully delineating the problems that might arise from not having an identifiable mechanism in the message to distinguish which operation the message belongs to.
<JMarsh> SUCCEEDED WITH TRAILING SPACE SUCCEEDED WITH TRAILING SPACE|
<dbooth> ONMR == Operation Name Mapping Requirement
<pauld> s|belongs|BadExtraSubstitution| extra junk
<pauld> s|BadgSubstitution|PaulD|g
<pauld> s|BadGSubstitution|PaulD|G
Voting begins...
<dorchard> glenn, why did you abstain?
10 yes, 3 no, 3 abstain
Jonathan: Would any no voters file a formal objection?
Jeff: Very possibly.
<JMarsh> Yes: W3C, BT, Canon, TIBCO, SAP, Microsoft, BEA CA, IBM, webMethods
<JMarsh> No: Sun, Oracle, Macromedia
<JMarsh> Abstain: Sonic, Education.au
<asir> did u miss SAP?
Jeff/Anish: express concers, BP carries little weight, still need to decide on the wording
<asir> all right, 1 of 3 down :-)
<dbooth> s|BadSubstitution|Something|
<Roberto> for the record, Sun will consider filing a formal objection too
Now discussing LC82
Jonathan: Can we ask editors for wording and then discuss it?
<dbooth> i|FailedInsertionLocation|Topic: Failed Topic
<dbooth> After failed insertion
This is scribe.perl Revision: 1.122 of Date: 2005/03/31 04:43:41 Check for newer version at http://dev.w3.org/cvsweb/~checkout~/2002/scribe/ Guessing input format: RRSAgent_Text_Format (score 0.82) Succeeded: s|ONMP|ONMR| WARNING: Bad s||| command: s|belongs|BadExtraSubstitution| extra junk Succeeded: s|Resuming|SUCCEEDED WITH TRAILING SPACE| Succeeded: s|now.|SUCCEEDED WITH TRAILING SPACE| Succeeded: s|ONMP|ONMR|g FAILED: s|BadgSubstitution|PaulD|g Succeeded: s|<Marsh>|<JMarsh>|G FAILED: s|BadGSubstitution|PaulD|G Succeeded: s|SOAP|SAP| Succeeded: s|YES: +SAP|...| Succeeded: s|...|| FAILED: s|BadSubstitution|Something| Succeeded: i|Voting begins|Topic: Vote on Op Name Succeeded: i|Anish: express concers|Topic: Expressing Concerns (trailing |) FAILED: i|FailedInsertionLocation|Topic: Failed Topic Found embedded ScribeOptions: -embedDiagnostics *** RESTARTING DUE TO EMBEDDED OPTIONS *** WARNING: Bad s||| command: s|belongs|BadExtraSubstitution| extra junk FAILED: s|BadgSubstitution|PaulD|g FAILED: s|BadGSubstitution|PaulD|G FAILED: s|BadSubstitution|Something| FAILED: i|FailedInsertionLocation|Topic: Failed Topic Found Scribe: Arthur Inferring ScribeNick: Arthur WARNING: No "Present: ... " found! Possibly Present: ALewis Bijan_Parsia JMarsh Jeff Jonathan Roberto Sun asir dbooth dorchard inserted pauld You can indicate people for the Present list like this: <dbooth> Present: dbooth jonathan mary <dbooth> Present+ amy Got date from IRC log name: 20 Jan 2005 People with action items: WARNING: Input appears to use implicit continuation lines. You may need the "-implicitContinuations" option.[End of scribe.perl diagnostic output]


Celebrity (1998) Kenneth Branagh, Judy Davis, Joe Mantegna, Winona Ryder, Leonardo DiCaprio, Charlize Theron, Melanie Griffith, Famke Janssen, Bebe Neuwirth, Michael Lerner, Hank Azaria, Greg Mottola, Dylan Baker, Isaac Mizrahi, Kate Burton, Andre Gregory, Patti D'Arbanville, Gretchen Mol, Mary Jo Buttafuoco, Joey Buttafuoco, Allison Janney, Donald Trump, Aida Turturro, Jeffrey Wright. Produced by Jean Doumanian. Written and directed by Woody Allen. 113 minutes Rated R, 2.5 stars (out of five stars)
Review by Ed Johnson-Ott, NUVO Newsweekly www.nuvo-online.com Archive reviews at http://us.imdb.com/M/reviews_by?Edward+Johnson-ott To receive reviews by e-mail at no charge, send subscription requests to<EMAIL_ADDRESS>"Celebrity" opens and closes with a shot of the word "Help!" spelled out by a skywriter above Manhattan. After this ramshackle film and last year's uncomfortably self-referential "Deconstructing Harry," I wonder if Woody Allen has reflected on the very public mess he has made of his life and is at last crying out for assistance.
"You can tell a lot about a society by who it chooses to celebrate," says Judy Davis, providing a handy Cliffs Notes summation of the film's message for those viewers who may have nodded off. Thirty years ago, the statement might have been profound, but after countless examinations of the Western world's obsession with celebrity, the line merely serves as an indicator of just how clueless Allen has become.
"Celebrity" follows the lives of a pair of neurotic New Yorkers (what a surprise!); struggling writer Lee Simon (Kenneth Branagh) and his ex-wife, former schoolteacher Robin (Judy Davis). As Woody's surrogate, Branagh does an adept, and often irritating, impression of Allen, reproducing every gesture, stammer and tic. In standard Allen fashion, Lee is a whiny womanizer seemingly incapable of maintaining an honest, monogamous relationship. When not occupied with skirt-chasing, he plays sycophant to various big shots, peddling a screenplay about an armored-car heist.
Meanwhile, the high-strung Robin makes tentative stabs at changing her life, traveling from a religious retreat (the priest is a television celebrity) to a high-profile plastic surgeon (he's followed by a TV crew after being christened "the Michelangelo of Manhattan" by Newsweek). Eventually, she hooks up with a television producer (Joe Mantegna) and becomes an on-air reporter, achieving her own celebrity status.
Lee and Robin's mid-life crises serve as the framework for a series of sketches; some quite funny, some very flat and none particularly insightful. There's a hilarious backstage scene at a daytime talk show, where gangsters, religious figures and neo-Nazis comfortably mingle, complaining about their agents while hovering around the buffet table. "What is this," says a rabbi in mock chiding tones to a group of jack- booted thugs, "did the skinheads eat all the bagels?"
One of the film's best sequences involves Leonardo DiCaprio, playing a pampered young superstar given to hard-partying and violent outbursts. Even as the police are arresting him for trashing a hotel room and terrorizing his date, Lee pitches his script to the glib bad-boy. Thanks to the kid's celebrity status, the charges are hastily dropped and Lee is swept away to Atlantic City with Leo and his entourage, where he continues trying to insinuate himself even as Leo urges him to join in a drugged-out orgy. DiCaprio is excellent as the self-absorbed hedonist, by the way, using a non-stop stream of compliments and commands to manage those around him.
Unfortunately, for every vignette that works, there are two that don't. One of the worst comes when Robin, believing that her Catholic guilt has made her less than satisfactory in bed, asks an upscale hooker (Bebe Neuwirth) for lessons. After a extremely funny exchange ("What do you think about during oral sex?," asks Neuwirth. "The Crucifixion," answers Robin), the scene degenerates into a tired let's-use-bananas-to-practice- blow-jobs routine. Apparently, Woody Allen missed "Fast Times At Ridgemont High" and all the other comedies that have used the same bit.
A high-school reunion scene with Lee falls just as flat, with the writer making contemptuous observations about his fellow classmates before declaring, "Ask not for whom the bell tolls -- or more accurately, for whom the toilet flushes." It's hard to imagine those words coming from the pen of the man who wrote "Annie Hall."
Beyond the hit or miss nature of the comedy and the discomfort of watching Kenneth Branagh do a two hour Woody Allen impression, the biggest problem with "Celebrity" is that the concept, as well as Allen's shtick, are so very tiresome. After a while, the quips and tart exchanges degenerate into mere chatter as the film drags on for what seems like forever. Even the impressive mega-cast (stand-outs include DiCaprio, Neuwirth, Winona Ryder, Charlize Theron, Melanie Griffith, Famke Janssen, Bebe Neuwirth, and Michael Lerner) can't compensate for the lazy writing, haphazard style and wearying been-there-done-that nature of the black and white movie. "Celebrity" is Woody Allen's 27th feature. Hopefully, he'll wait until he has something new to say before doing his 28th.
© 1998 Ed Johnson-Ott
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Shropshire maternity scandal: Families 'blamed' as investigators 'miss the point'
by Dominic RobertsonStaff investigating serious maternity incidents at the county's major hospitals "missed the point", according to a leaked inquiry report.
The Shropshire Star has seen a version of an interim inquiry report into maternity care at Shrewsbury & Telford Hospital NHS Trust (SaTH), drafted by inquiry head Donna Ockenden – a maternity expert appointed by the Government.
The inquiry was initially looking at 23 cases, but has expanded to consider more than 270 since it was set up in 2017.
The report details a number of "themes" in failings being investigated by the inquiry.
The approach to investigations into serious incidents is listed as one of the main concerns, with a lack of involving families in both investigations and reports recorded as one of ten themes.
It also talks of families feeling "blamed" for the death of their babies.
Never informed
The report says that many families who have spoken to the inquiry were not involved in the trust investigation into their care, and that in some cases they were never informed it was subject of a serious incident review.
According to the report the inquiry team has found incidents where the internal investigation team at the trust "'missed the point' completely especially around CTG interpretation".
CTG monitors are used to record and detect a baby's heartbeat, and issues with the practice have been listed as a factor in cases where babies died at the trust.
More on the maternity scandal:
- NHS bosses 'failed to release' hundreds of records to inquiry team
- Babies and mothers died amid ‘toxic’ culture at NHS trust
- Vital that lessons are learned over Shropshire maternity scandal, say lawyers
- Demand for answers over Britain's 'worst ever maternity scandal'
- Babies and mothers died amid ‘toxic’ culture at NHS trust
The report also criticises the 'brief' nature of some serious incident reports, and says they were "overly defensive of staff".
It states: "Many of the reports that we have seen were extremely brief, failed to identify key failures of care in the monitoring and interpretation of CTGs and were overly defensive of staff.
"Many families have described to the review team how they felt they were blamed for the death of their babies and how they ‘carried’ that guilt with them for many years."
Lessons not learned
Another theme is the failure to categorize incidents as "serious" at the first point.
It also says that despite families being told lessons would be learned "it is clear this is not correct".
It states: "Many family members have told the review team they were advised ‘they were the only family,’ and that ‘lessons would be learned.’
"In our conversations with large numbers of families to date, it is clear this is not correct.
"It is therefore of the greatest importance for everyone to understand that there is no benefit to service users in assuming that each incident is unique and unprecedented. There is only risk in taking that approach."
In a statement responding to the leak earlier this week, Paula Clark, interim chief executive at SaTH, said they were already taking steps to improve their services.
She said: “I would like to reassure all families using our maternity services that we have not been waiting for Donna Ockenden’s final report before working to improve our services. A lot has already been done to address the issues raised by previous cases.
“Our focus is to make our maternity service the safest it can be. We still have further to go but are seeing some positive outcomes from the work we have done to date.”
“We have not seen or been made aware of any interim report, and await the findings of Donna Ockenden’s report so that we can work with families, our communities and NHS England/Improvement to understand and apply all of the learning identified.”


Create a new Web App
name
- required (string)slug
- (string, optional) - it defaults to the name of the web app, or a variation on the name, if a slug with the name already existsallowFileUpload
- . Defaults to false (boolean, optional)uploadFolder
- required only if allowFileUpload is True. Must be a valid absolute path in the site, created in advance (string)disableDetailPages
- (boolean, optional)locationEnabled
- (boolean, optional)anyoneCanEdit
- (boolean, optional)customerCanAdd
- (boolean, optional)customerCanEdit
- (boolean, optional)customerCanDelete
- (boolean, optional)requiresPayment
- (boolean, optional)requiresApproval
- (boolean, optional)roleId
- optional, defaults to -1 (integer)templateId
- optional, defaults to -1 (integer)validDays
- optional, defaults to -1 (never expire) (integer)Returns an empty body and a location header containing the URI to retrieve category details.
Accepts and returns JSON as Content-Type.
Request:
POST /api/v2/admin/sites/current/webapps HTTPS/1.1
Content-Length: 57
Connection: keep-alive
Content-Type: application/json
{"name": "FirstWebAppFromApi"}
Response:
HTTP/1.1 201 OK
Location: /v2/admin/sites/current/webapps/FirstWebAppFromApi
Content-Type: application/json; charset=utf-8
Content-Length: 0
var request = $.ajax({
url: "/api/v2/admin/sites/current/webapps",
type: "POST",
connection: "keep-alive",
contentType: "application/json",
headers: {
"Authorization": $.cookie('access_token')
},
data: JSON.stringify({"name": "APIcreated", "requiresApproval": true, "trmplateid": -1})
});
request.done(function (msg) {
console.log(msg);
})
request.fail(function (jqXHR) {
console.log("Request failed.");
console.log("Error code: " + jqXHR.status);
console.log("Error text: " + jqXHR.statusText);
console.log("Response text: " + jqXHR.responseText);
})
This method will return the following error codes:
201/Created
- Web App successfully created400/Bad request
- Invalid request. Sub-codes are:
190000
- Generic error190002
- Invalid slug190003
- Slug URL too long190004
- slug already exists190005
- webapp with same name already exists190009
- invalid webapp name; see notes section below for list of invalid characters190010
- invalid template id401
- unauthorized - when the Authorization header is not present, or contains an invalid site token
101000
- sub-error code403
- Forbidden : this is returned when the user trying to access the API does not have the proper permissions404
- Not Found
190001
- Not Found


## pygame - Python Game Library ## Copyright (C) 2007 Marcus von Appen ## ## This library is free software; you can redistribute it and/or ## modify it under the terms of the GNU Library General Public ## License as published by the Free Software Foundation; either ## version 2 of the License, or (at your option) any later version. ## ## This library is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## Library General Public License for more details. ## ## You should have received a copy of the GNU Library General Public ## License along with this library; if not, write to the Free ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## ## Marcus von Appen ##<EMAIL_ADDRESS>"""pygame module for accessing surface pixel data using numpy Functions to convert pixel data between pygame Surfaces and Numpy arrays. This module will only be available when pygame can use the external Numpy package. Note, that numpyarray is an optional module. It requires that Numpy is installed to be used. If not installed, an exception will be raised when it is used. eg. ImportError: no module named numpy Every pixel is stored as a single integer value to represent the red, green, and blue colors. The 8bit images use a value that looks into a colormap. Pixels with higher depth use a bit packing process to place three or four values into a single number. The Numpy arrays are indexed by the X axis first, followed by the Y axis. Arrays that treat the pixels as a single integer are referred to as 2D arrays. This module can also separate the red, green, and blue color values into separate indices. These types of arrays are referred to as 3D arrays, and the last index is 0 for red, 1 for green, and 2 for blue. In contrast to Numeric Numpy does use unsigned 16bit integers, images with 16bit data will be treated as unsigned integers. """ import pygame from pygame.compat import bytes_ from pygame.pixelcopy import array_to_surface, surface_to_array, \ map_array as pix_map_array, make_surface as pix_make_surface import numpy from numpy import array as numpy_array, empty as numpy_empty, \ around as numpy_around, uint32 as numpy_uint32, \ ndarray as numpy_ndarray #float96 not available on all numpy versions. numpy_floats = [] for type_name in "float float32 float64 float96".split(): if hasattr(numpy, type_name): numpy_floats.append(getattr(numpy, type_name)) # Pixel sizes corresponding to NumPy supported integer sizes, and therefore # permissible for 2D reference arrays. _pixel2d_bitdepths = set([8, 16, 32]) def blit_array (surface, array): """pygame.surfarray.blit_array(Surface, array): return None Blit directly from a array values. Directly copy values from an array into a Surface. This is faster than converting the array into a Surface and blitting. The array must be the same dimensions as the Surface and will completely replace all pixel values. Only integer, ascii character and record arrays are accepted. This function will temporarily lock the Surface as the new values are copied. """ if isinstance(array, numpy_ndarray) and array.dtype in numpy_floats: array = array.round(0).astype(numpy_uint32) return array_to_surface(surface, array) def make_surface(array): """pygame.surfarray.make_surface (array): return Surface Copy an array to a new surface. Create a new Surface that best resembles the data and format on the array. The array can be 2D or 3D with any sized integer values. """ if isinstance(array, numpy_ndarray) and array.dtype in numpy_floats: array = array.round(0).astype(numpy_uint32) return pix_make_surface (array) def array2d(surface): """pygame.numpyarray.array2d(Surface): return array copy pixels into a 2d array Copy the pixels from a Surface into a 2D array. The bit depth of the surface will control the size of the integer values, and will work for any type of pixel format. This function will temporarily lock the Surface as pixels are copied (see the Surface.lock - lock the Surface memory for pixel access method). """ bpp = surface.get_bytesize() try: dtype = (numpy.uint8, numpy.uint16, numpy.int32, numpy.int32)[bpp - 1] except IndexError: raise ValueError("unsupported bit depth %i for 2D array" % (bpp * 8,)) size = surface.get_size() array = numpy.empty(size, dtype) surface_to_array(array, surface) return array def pixels2d(surface): """pygame.numpyarray.pixels2d(Surface): return array reference pixels into a 2d array Create a new 2D array that directly references the pixel values in a Surface. Any changes to the array will affect the pixels in the Surface. This is a fast operation since no data is copied. Pixels from a 24-bit Surface cannot be referenced, but all other Surface bit depths can. The Surface this references will remain locked for the lifetime of the array (see the Surface.lock - lock the Surface memory for pixel access method). """ if (surface.get_bitsize() not in _pixel2d_bitdepths): raise ValueError("unsupport bit depth for 2D reference array") try: return numpy_array(surface.get_view('2'), copy=False) except (ValueError, TypeError): raise ValueError("bit depth %i unsupported for 2D reference array" % (surface.get_bitsize(),)) def array3d(surface): """pygame.numpyarray.array3d(Surface): return array copy pixels into a 3d array Copy the pixels from a Surface into a 3D array. The bit depth of the surface will control the size of the integer values, and will work for any type of pixel format. This function will temporarily lock the Surface as pixels are copied (see the Surface.lock - lock the Surface memory for pixel access method). """ w, h = surface.get_size() array = numpy.empty((w, h, 3), numpy.uint8) surface_to_array(array, surface) return array def pixels3d (surface): """pygame.numpyarray.pixels3d(Surface): return array reference pixels into a 3d array Create a new 3D array that directly references the pixel values in a Surface. Any changes to the array will affect the pixels in the Surface. This is a fast operation since no data is copied. This will only work on Surfaces that have 24-bit or 32-bit formats. Lower pixel formats cannot be referenced. The Surface this references will remain locked for the lifetime of the array (see the Surface.lock - lock the Surface memory for pixel access method). """ return numpy_array(surface.get_view('3'), copy=False) def array_alpha(surface): """pygame.numpyarray.array_alpha(Surface): return array copy pixel alphas into a 2d array Copy the pixel alpha values (degree of transparency) from a Surface into a 2D array. This will work for any type of Surface format. Surfaces without a pixel alpha will return an array with all opaque values. This function will temporarily lock the Surface as pixels are copied (see the Surface.lock - lock the Surface memory for pixel access method). """ size = surface.get_size() array = numpy.empty(size, numpy.uint8) surface_to_array(array, surface, 'A') return array def pixels_alpha(surface): """pygame.numpyarray.pixels_alpha(Surface): return array reference pixel alphas into a 2d array Create a new 2D array that directly references the alpha values (degree of transparency) in a Surface. Any changes to the array will affect the pixels in the Surface. This is a fast operation since no data is copied. This can only work on 32-bit Surfaces with a per-pixel alpha value. The Surface this array references will remain locked for the lifetime of the array. """ return numpy.array(surface.get_view('A'), copy=False) def pixels_red(surface): """pygame.surfarray.pixels_red(Surface): return array Reference pixel red into a 2d array. Create a new 2D array that directly references the red values in a Surface. Any changes to the array will affect the pixels in the Surface. This is a fast operation since no data is copied. This can only work on 24-bit or 32-bit Surfaces. The Surface this array references will remain locked for the lifetime of the array. """ return numpy.array(surface.get_view('R'), copy=False) def array_red(surface): """pygame.numpyarray.array_red(Surface): return array copy pixel red into a 2d array Copy the pixel red values from a Surface into a 2D array. This will work for any type of Surface format. This function will temporarily lock the Surface as pixels are copied (see the Surface.lock - lock the Surface memory for pixel access method). """ size = surface.get_size() array = numpy.empty(size, numpy.uint8) surface_to_array(array, surface, 'R') return array def pixels_green(surface): """pygame.surfarray.pixels_green(Surface): return array Reference pixel green into a 2d array. Create a new 2D array that directly references the green values in a Surface. Any changes to the array will affect the pixels in the Surface. This is a fast operation since no data is copied. This can only work on 24-bit or 32-bit Surfaces. The Surface this array references will remain locked for the lifetime of the array. """ return numpy.array(surface.get_view('G'), copy=False) def array_green(surface): """pygame.numpyarray.array_green(Surface): return array copy pixel green into a 2d array Copy the pixel green values from a Surface into a 2D array. This will work for any type of Surface format. This function will temporarily lock the Surface as pixels are copied (see the Surface.lock - lock the Surface memory for pixel access method). """ size = surface.get_size() array = numpy.empty(size, numpy.uint8) surface_to_array(array, surface, 'G') return array def pixels_blue (surface): """pygame.surfarray.pixels_blue(Surface): return array Reference pixel blue into a 2d array. Create a new 2D array that directly references the blue values in a Surface. Any changes to the array will affect the pixels in the Surface. This is a fast operation since no data is copied. This can only work on 24-bit or 32-bit Surfaces. The Surface this array references will remain locked for the lifetime of the array. """ return numpy.array(surface.get_view('B'), copy=False) def array_blue(surface): """pygame.numpyarray.array_blue(Surface): return array copy pixel blue into a 2d array Copy the pixel blue values from a Surface into a 2D array. This will work for any type of Surface format. This function will temporarily lock the Surface as pixels are copied (see the Surface.lock - lock the Surface memory for pixel access method). """ size = surface.get_size() array = numpy.empty(size, numpy.uint8) surface_to_array(array, surface, 'B') return array def array_colorkey(surface): """pygame.numpyarray.array_colorkey(Surface): return array copy the colorkey values into a 2d array Create a new array with the colorkey transparency value from each pixel. If the pixel matches the colorkey it will be fully tranparent; otherwise it will be fully opaque. This will work on any type of Surface format. If the image has no colorkey a solid opaque array will be returned. This function will temporarily lock the Surface as pixels are copied. """ size = surface.get_size() array = numpy.empty(size, numpy.uint8) surface_to_array(array, surface, 'C') return array def map_array(surface, array): """pygame.numpyarray.map_array(Surface, array3d): return array2d map a 3d array into a 2d array Convert a 3D array into a 2D array. This will use the given Surface format to control the conversion. Note: arrays do not need to be 3D, as long as the minor axis has three elements giving the component colours, any array shape can be used (for example, a single colour can be mapped, or an array of colours). The array shape is limited to eleven dimensions maximum, including the three element minor axis. """ if array.ndim == 0: raise ValueError("array must have at least 1 dimension") shape = array.shape if shape[-1] != 3: raise ValueError("array must be a 3d array of 3-value color data") target = numpy_empty(shape[:-1], numpy.int32) pix_map_array(target, array, surface) return target


public class Chromosome
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
computationalTime
A long variable that stores the time it took to computate the chromosome
|
(package private) double |
cycleTime
A double variable containing the problem's cycle time
|
(package private) int |
generation
An int variable that stores the chromosome's generation
|
private java.util.Random |
generator
A Random variable used to create random results
|
(package private) boolean |
isChild
A boolean variable that stores whether the chromosome is a child of last
generation's chromosomes or not
|
(package private) boolean |
isMutation
A boolean variable that stores whether the chromosome is a mutation of last
generation's chromosome or not
|
(package private) boolean |
isPreserved
A boolean variable that stores whether the chromosome is preserved from the
last generation or not
|
(package private) double |
smoothness
A double variable that stores the chromosome's smoothness value
|
(package private) java.util.List<java.util.List<java.lang.Integer>> |
solved
A List containing the tasks assigned to each workstation
|
(package private) long |
startTime
A long variable that stores the time at which the chromosome began its
computation
|
protected int[] |
taskIndex
An int array containing a numerical index for each task in the chromosome
|
protected Task[] |
tasks
An array containing the chromosome's tasks
|
(package private) java.lang.String[] |
toTable
A String array containing the chromosome's coded solution
|
(package private) java.util.List<java.lang.Double> |
WSTimes
A List that stores the work time of each workstation
|
| Constructor and Description |
|---|
Chromosome()
An empty class constructor
|
Chromosome(Task[] tasks)
|
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
contains(int[] array,
int v)
A method to check whether a given value exists within an array
|
(package private) boolean |
contains(java.util.List<java.lang.Integer> array,
int v)
A method to check whether a given value exists within a List
|
(package private) Chromosome |
crossOver(Chromosome parent,
double probability,
long STime,
int gen)
A method to cross the chromosome with another to create a child
|
(package private) long |
getCompTime()
Getter for the chromosome's total computational time
|
(package private) java.lang.String[] |
getSelected()
Getter that returns a String array containing the chromosome's coded solution
|
(package private) double |
getSmoothness()
Getter for the chromosome's smoothness value
|
(package private) java.util.List<java.util.List<java.lang.Integer>> |
getSolution()
Getter that returns a List containing the tasks assigned to each workstation
|
(package private) void |
initialPopulation(int a)
Deprecated.
- replaced by
initialPopulation(long) |
(package private) int[] |
initialPopulation(long STime)
A method to initialize a chromosome respecting its task precedences
|
(package private) Chromosome |
mutate(long STime,
double probability,
int gen)
A method to mutate the chromosome into a new one
|
(package private) void |
setChromosomes(int[] population)
Setter method that initializes the chromosome's tasks using the values of
tasks in the order given by the values of the population parameter |
(package private) void |
setGeneration(int gen)
Setter for the variable
generation |
(package private) Chromosome |
SetInitialTime(Chromosome chromo,
long Initial)
Setter for the
startTime of a given chromosome |
void |
setSmoothness()
A method to calculate and store the chromosome's smoothness value
|
void |
solution(double probability)
A method to calculate the chromosme's solution to the LBP
|
private java.util.Random generator
protected Task[] tasks
protected int[] taskIndex
double cycleTime
java.util.List<java.util.List<java.lang.Integer>> solved
java.lang.String[] toTable
java.util.List<java.lang.Double> WSTimes
double smoothness
boolean isChild
boolean isMutation
boolean isPreserved
long computationalTime
long startTime
int generation
Chromosome()
Chromosome(Task[] tasks)
tasks
- - A Task array, containing the chromosomes' tasksChromosome SetInitialTime(Chromosome chromo, long Initial)
startTime
of a given chromosomechromo
- - The chromosome that will contain the new startTimeInitial
- - A long variable containing the startTime's valuevoid setGeneration(int gen)
generation
gen
- - The numeric value that identifies the chromosome's generationvoid setChromosomes(int[] population)
tasks
in the order given by the values of the population parameterpopulation
- - An array containing the order in which the chromosome's task
should be assignedint[] initialPopulation(long STime)
STime
- - The starting time from which to calculate the task's
computational timevoid initialPopulation(int a)
initialPopulation(long)
a
- - Number of time the precedences are initialized before having a
final setChromosome mutate(long STime, double probability, int gen)
STime
- - A long value representing the time at which computation beganprobability
- - A double value that represents the experiment's confidence levelgen
- - The numeric value that identifies the chromosome's generationjava.lang.String[] getSelected()
toTable
double getSmoothness()
smoothness
long getCompTime()
computationalTime
java.util.List<java.util.List<java.lang.Integer>> getSolution()
solved
Chromosome crossOver(Chromosome parent, double probability, long STime, int gen)
parent
- - The chromosome with which the cross-over is realizedprobability
- - A double value that represents the experiment's confidence levelSTime
- - A long value representing the time at which computation begangen
- - The numeric value that identifies the chromosome's generationboolean contains(int[] array, int v)
array
- - The array in which to look the value upv
- - The value looked forboolean contains(java.util.List<java.lang.Integer> array, int v)
array
- - The List in which to look the value upv
- - The value looked forpublic void solution(double probability)
probability
- - A double value that represents the experiment's confidence levelpublic void setSmoothness()
smoothness


{{process.uuid}} {% if process.legacy_identifier %} ({{process.legacy_identifier}}) {% endif %} {{process.uuid_full}}
{{process.type.name}} Process Details
{% if process.type_id == 'd180-growth' %}
{% bootstrap_icon 'list' %}
Readings
{% endif %}
Process run on {{process.run_date}}
Created by {{process.user.get_full_name}} on {{process.created}}
Last modified {{process.modified}}
{% if process.type_id == 'd180-growth' %}Growth of ({{process.info.orientation}}) {{process.info.material}} with {{process.info.doping}} doping(s){% if process.info.growth_features %} and {{process.info.growth_features}}{% endif %}.
Run using {{process.info.platter.name}}
{% endif %}{{process.title}}
{% if process.comment %}{{process.comment|escape|safe}}
{% else %}This process doesn't have a comment
Get started by adding a comment.
This process doesn't have any associated samples
Get started by running this process on an existing or new sample(s).
Samples
| Number | Sample | Created | Modified | Pieces |
|---|---|---|---|---|
| {{node.number}} | {{sample.uuid}}{% if sample.pieces|length > 1 %}{{node.piece}}{% endif %} | {{sample.created}} | {{sample.modified}} | {{sample.pieces|length}} |
This process doesn't have any associated data files
Get started by uploading a file.


I've managed to get Emoncms up and running on my 1and1 shared hosting. I've set up my Raspberry Pi emonbase which is successfully sending data from the nodes to emoncms. So far so good.
On the inputs page I can rename the inputs, but if I click on the spanner icon to set up input processing, nothing happens.
I'm using Chrome so I've pressed F12 and there is an error 'Uncaught TypeError: cannot read property 'split' of undefined'.
The error is occurring at line 207 of the file input_view.php
I'm not very experienced in coding PHP so I wondered if anyone else had had a similar issue? I've searched the forum but not found anything.
Thanks in advance
Stuart
Re: Uncaught Typeerror on Inputs page
I changed line 207 of input_view.php to:
if (typeof i.processlist !== 'undefined' && i.processlist!="")
which seems to have resolved this issue for now.
Re: Uncaught Typeerror on Inputs page
I was about to post the same error (I had no luck debugging the code).
This worked for me too.
Re: Uncaught Typeerror on Inputs page
Yep - this one got me too. Thanks for the fix! Spent over an hour trying to figure out what was wrong!


|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.ImageIcon
public class ImageIcon
An implementation of the Icon interface that paints Icons from Images. Images that are created from a URL, filename or byte array are preloaded using MediaTracker to monitor the loaded state of the image.
For further information and examples of using image icons, see How to Use Icons in The Java Tutorial.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans
package.
Please see XMLEncoder
.
| Nested Class Summary | |
|---|---|
protected class |
ImageIcon.AccessibleImageIcon
This class implements accessibility support for the ImageIcon class. |
| Field Summary | |
|---|---|
protected static Component |
component
|
protected static MediaTracker |
tracker
|
| Constructor Summary | |
|---|---|
ImageIcon()
Creates an uninitialized image icon. |
|
ImageIcon(byte[] imageData)
Creates an ImageIcon from an array of bytes which were read from an image file containing a supported image format, such as GIF, JPEG, or (as of 1.3) PNG. |
|
ImageIcon(byte[] imageData,
String description)
Creates an ImageIcon from an array of bytes which were read from an image file containing a supported image format, such as GIF, JPEG, or (as of 1.3) PNG. |
|
ImageIcon(Image image)
Creates an ImageIcon from an image object. |
|
ImageIcon(Image image,
String description)
Creates an ImageIcon from the image. |
|
ImageIcon(String filename)
Creates an ImageIcon from the specified file. |
|
ImageIcon(String filename,
String description)
Creates an ImageIcon from the specified file. |
|
ImageIcon(URL location)
Creates an ImageIcon from the specified URL. |
|
ImageIcon(URL location,
String description)
Creates an ImageIcon from the specified URL. |
| Method Summary | |
|---|---|
AccessibleContext |
getAccessibleContext()
Gets the AccessibleContext associated with this ImageIcon. |
String |
getDescription()
Gets the description of the image. |
int |
getIconHeight()
Gets the height of the icon. |
int |
getIconWidth()
Gets the width of the icon. |
Image |
getImage()
Returns this icon's Image . |
int |
getImageLoadStatus()
Returns the status of the image loading operation. |
ImageObserver |
getImageObserver()
Returns the image observer for the image. |
protected void |
loadImage(Image image)
Loads the image, returning only when the image is loaded. |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Paints the icon. |
void |
setDescription(String description)
Sets the description of the image. |
void |
setImage(Image image)
Sets the image displayed by this icon. |
void |
setImageObserver(ImageObserver observer)
Sets the image observer for the image. |
String |
toString()
Returns a string representation of this image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final Component component
protected static final MediaTracker tracker
| Constructor Detail |
|---|
public ImageIcon(String filename, String description)
filename
- the name of the file containing the imagedescription
- a brief textual description of the imageImageIcon(String)
public ImageIcon(String filename)
new ImageIcon("images/myImage.gif")The description is initialized to the
filename
string.
filename
- a String specifying a filename or pathgetDescription()
public ImageIcon(URL location, String description)
location
- the URL for the imagedescription
- a brief textual description of the imageImageIcon(String)
public ImageIcon(URL location)
location
- the URL for the imagegetDescription()
public ImageIcon(Image image, String description)
image
- the imagedescription
- a brief textual description of the imagepublic ImageIcon(Image image)
image
- the imagegetDescription()
,
Image.getProperty(java.lang.String, java.awt.image.ImageObserver)
public ImageIcon(byte[] imageData, String description)
imageData
- an array of pixels in an image format supported
by the AWT Toolkit, such as GIF, JPEG, or (as of 1.3) PNGdescription
- a brief textual description of the imageToolkit.createImage(java.lang.String)
public ImageIcon(byte[] imageData)
imageData
- an array of pixels in an image format supported by
the AWT Toolkit, such as GIF, JPEG, or (as of 1.3) PNGToolkit.createImage(java.lang.String)
,
getDescription()
,
Image.getProperty(java.lang.String, java.awt.image.ImageObserver)
public ImageIcon()
| Method Detail |
|---|
protected void loadImage(Image image)
image
- the imagepublic int getImageLoadStatus()
MediaTracker.ABORTED
,
MediaTracker.ERRORED
,
MediaTracker.COMPLETE
public Image getImage()
Image
.
Image
object for this ImageIcon
public void setImage(Image image)
image
- the imagepublic String getDescription()
public void setDescription(String description)
description
- a brief textual description of the imagepublic void paintIcon(Component c, Graphics g, int x, int y)
x
, y
)
in the coordinate space of the graphics context g
.
If this icon has no image observer,
this method uses the c
component
as the observer.
paintIcon
in interface Icon
c
- the component to be used as the observer
if this icon has no image observerg
- the graphics contextx
- the X coordinate of the icon's top-left cornery
- the Y coordinate of the icon's top-left cornerpublic int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public void setImageObserver(ImageObserver observer)
icon = new ImageIcon(...) button.setIcon(icon); icon.setImageObserver(button);
observer
- the image observerpublic ImageObserver getImageObserver()
public String toString()
toString
in class Object
public AccessibleContext getAccessibleContext()
getAccessibleContext
in interface Accessible
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


Tags are a prevalent component used throughout applications. They can be found tied to search inputs as filters, within email messages as recipients, at the bottom of a product page as item identifiers and many other places.
The Combobox element is a mixture of different input components rolled into one. It holds and displays tags, has an input form field, and allows for a drop-down element to see predetermined options.
The combobox offers a variety properties to be set for customization. Use the "Customize Example" accordion to see the effects of different values.
Dropdown menus have a similar appearance to a combobox, but their options are not as flexible. Dropdowns only allow for a user to add tags from a predetermined list of values revealed by clicking on the element.


John Smith
Interactive Designer
111 Lorem Street, 34785, Ipsum City
<EMAIL_ADDRESS>+11 444 555 22 33
www.businessweb.com


Labtest Diagnostics centres provide a wide range of health screening solutions along with value added services that include state-of-the-art pathology and radiology services. In today's hectic lifestyle where stress breeds many silent diseases, a thorough checkup is the easiest way to detect and fight disease before it's too late. The Health Packages from Labtest Diagnostics is specifically designed keeping in mind that not all diseases produce early warning signs and aim to provide accurate detection of such diseases. With an array of screening packages to suit individual needs, these packages cover a spectrum of tests and come at a very attractive price.
It involves basic investigations required to determine the candidate's medical fitness for employment. It gives the employer an assurance on candidate's overall state of health.
In today's fast paced lifestyle, we are often too busy to pay attention to our health and as a result often fall prey to many silent diseases. Get a regular checkup today and ensure good health at the earliest. Recommended age group: 20-35 years.
Corporate lifestyles are changing and so are the disease patterns. Stress, sedentary lifestyle, lack of exercise, poor diet and work pressure make periodic Health Checkup a must. A timely detection can ensure you a long and healthy life ahead. Recommended age group: 30-50 years.


Orgchart is a simple and direct organization chart plugin. Anytime you want a tree-like chart, you can turn to OrgChart.
This component uses FontAwesome for its icons. As this is no longer included in PrimeFaces, you are required to include FontAwesome
in the pages that are using Orgchart.
Based on orgchart by Xuebin Dong (@dabeng).


AMAZING PEOPLE LEAVE A MARK IN PEOPLES LIVES
Name: {{user.name}}
Username: {{user.login}}
Followers: {{user.followers}}
Following: {{user.following}}
No. Of Repos: {{user.public_repos}}
{{repo.name|uppercase}}
Created {{ repo.created_at|dateCount}}
{{repo.description}}
{{repo.language}}