The original Regex website was tragically lost in the GoDaddy purge of 2016. An abbreviated version is below:
The Regex program allows you to use perl-style extended regular expressions anywhere on your computer. Here are some examples of usage...
You can fix all occurrences of a certain misspelling, preserving the capitalization of the first letter (this example uses the regex "ignorecase" option, i
, and the "global" option, g
):
You can substitute with the "quoted" feature (note the sq
instead of s
at the beginning), so that no special characters need to be escaped (useful for simple find-and-replace operations that don't need special regex features):
Note: For the "quoted" feature, the regex delimiters may not be escaped either, so you MUST pick a unique character for them (e.g. s@\qquad 2/3@\quad 2/3@
), or in the case of brackets, have proper nesting. The e
, x
, and s
regex options are not available, but the i
option is still available!
You can save regular expressions under a keyword...
...and then whip them out later:
You can perform the classic "translate" operation with the "tr" keyword:
Note that a green checkmark will appear to indicate when the expression you've typed is valid.


Our clothing, your comfort
We understant that you need to look good and feel great.
It all starts with what you are wearing.
1/5
< >
T-SHIRT 5,00€
PANTS FORCLAZ 30,00€
BACKPACK 60,00€
1/5
< >
GIACKET 60,00€
T-SHIRT 20,00€
BACKPACK 60,00€
This is where high-fashion clothing is
designed and crafted from the heart by
an amazing team of craftsmen and
designers who understand what fashion
is.
*SALE: Buy anything for 45% off. Use the promo CODE YOLOMY45 when you buy items*


First Episode of Maryam Islam Series.
Second Episode of Maryam Islam Series.
Third Episode of Maryam Islam Series.
Fourth Episode of Maryam Islam Series.
Fifth Episode of Maryam Islam Series.
Sixth Episode of Maryam Islam Series.
Seventh Episode of Maryam Islam Series.
Eight Episode of Maryam Islam Series.
Ninth Episode of Maryam Islam Series.


Developer
Hello, my name is Matthew, I am a 15 year old programmer and tech enthusiast. I hope to pursue a degree in Computer Science or Computer Engineering. I type things and make things happen.
Here is some of my previous and current projects. Below are some of my projects.
Chat is my newest big project. It is a chatting program where a user creates an account, joins a channel and chats with those on it. More info there.
Language written in: Java
WeatherTweets was a project of mine where it would fetch weather of Buffalo, New York and tweet it live. It tweeted weather conditions, forecast and alerts. More on it's project page.
Language written in: Java
EarthPyrn is a basic Python script that grabs images from /r/earthporn on Reddit and takes the hot images on there at the moment and set's that as the background every 15 minutes.
Language written in: Python
TextEditor is a basic program I made to experiment with some Java classes like JScrollPane and others. It isn't meant or intended for professional use.
Language written in: Java


Proving for the visually impaired, such as mind-controlled zooming,and wearable controlled zooming.
slatecube helps job seekers develop job relevent skills,gain work experience,and land well paying,jobs through worldclass up skilling courses virtual intership.
train world class software developer in Ghana and matches them to empployment opportunity.


CB4J requires a Java 1.5+ runtime.
CB4J uses Git as source control manager and is hosted at Github. To download CB4J source code, clone it's git repository as follows :
git clone https://github.com/benas/cb4j.git
You can also get the source code in a zip file from the home page of the project at Github : https://github.com/benas/cb4j
CB4J uses maven as build tool. To build CB4J with maven, use the following command from the root directory of the project :
mvn install
After the build is finished, the cb4j-core-{version}.jar file will be added to your local maven repository in the following directory :
io/github/benas/cb4j/cb4j-core/{version}/cb4j-core-{version}.jar
To use CB4J, you have to include cb4j-core-{version}.jar in your application's classpath.
If you are using maven, add the following dependency to your project pom :
<dependency> <groupId>io.github.benas.cb4j</groupId> <artifactId>cb4j-core</artifactId> <version>${version}</version> </dependency>


Wendy:
The Arrival of Eternal Spring was the last study conducted here.
I do not know how it was possible, but for a while it was always spring here.
But then an opposite reaction occurred, and it became the cold place it is now.
I think Atlanta and I fell asleep at that time and were later revived by Dr. Chaos.
Ask for more details.


I paint images that suggest a presence in an environment or an absence of one and evoke an emotional response.
Art making is an activity that documents my creative and critical thinking and takes the form of visual poetry.
My works are abstracted portraits of places experienced, spaces navigated and those imagined.
Layers of water-based pigment build the color intensity; define the form and allow light as a subject to give meaning.
Each deep, rich hue is created through a series of washes, one transparent layer over another building in intensity until the maximum color saturation is reached.
I always work in a series, some of which are entitled: “Redwoods and water loops”, “Empty spaces”, “Trees and light” and “Sky in a box”.
My camera is with me most days and is used as another tool for observing nature,
but I never work directly from a photograph when I paint.
In addition, I draw from a model every week, and this allows me to practice, develop and maintain a keen sense of observation and to successfully build values in a composition.
Photographing and drawing the world around me are critical parts of my art making process.
Even though watercolor is my primary medium, I was formally trained in fine art printmaking,
and it took me several years to learn to paint like a painter, not like a printmaker. In 2015 I had a retrospective exhibition,
which included drawings, prints and paintings from the last three decades.
This awakened a desire to again allow the white of the paper to become a powerful positive shape in my paintings,
reexamining the dialog between positive and negative shapes. My new series is appropriately called, “In Between”,
as I spend half the year in northern California and half the year in southeastern Wisconsin.
Watercolor USA Honor Society
Board Member and Newsletter Editor
Milwaukee Artist Resource Network
Wisconsin Visual Artists
February 2016 Issue
Past board member and lifetime member


Netherlands reduces terror threat level after six years
AMSTERDAM (Reuters) - The Dutch national anti-terrorism agency (NCTV) has downgraded the threat of a terror attack in the Netherlands for the first time since 2013.
The NCTV said it had reduced the threat level by one notch, to 3 on a scale of 1 to 5, meaning an attack is “conceivable”. The threat of attack had previously been considered “real”.
“We still see jihadist attacks in the West every now and then”, the NCTV said. “But the situation is incomparable to the 2015-2017 period, when we saw dozens of attacks in Europe every year.”
Despite this, jihad cells that pose a threat are still active in the Netherlands, the NCTV said.
Last month, two men were arrested in the Netherlands on suspicion of preparing an Islamist militant attack with bomb vests or one or more car bombs.


Make a reservation
Reservations
we have a limited number of tables so book NOW!
we have a limited number of tables so book NOW!
Available tables
Home
Name
Phone Number
email
We'll never share your email with anyone else.
Unique ID
would you like Promotional emails
Submit


Welcome to World Famous Salmon Cookie Stand!
Located: Seattle, Washington
Hours of Operation
6am-7pm
Visit our Store!


By using our Services, you are agreeing to these terms. Please read them carefully.
Using our Services
You must follow any policies made available to you within the Services.
Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide. You may use our Services only as permitted by law, including applicable export and re-export control laws and regulations. We may suspend or stop providing our Services to you if you do not comply with our terms or policies or if we are investigating suspected misconduct.
Using our Services does not give you ownership of any intellectual property rights in our Services or the content you access. You may not use content from our Services unless you obtain permission from its owner or are otherwise permitted by law. These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services.
Our Services display some content that is not Rewriter.Tools’s. This content is the sole responsibility of the entity that makes it available. We may review content to determine whether it is illegal or violates our policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law. But that does not necessarily mean that we review content, so please don’t assume that we do.
In connection with your use of the Services, we may send you service announcements, administrative messages, and other information. You may opt out of some of those communications.
Some of our Services are available on mobile devices. Do not use such Services in a way that distracts you and prevents you from obeying traffic or safety laws.
Your Rewriter.Tools Account
You may need a Rewriter.Tools Account in order to use some of our Services. You may create your own Rewriter.Tools Account, or your Rewriter.Tools Account may be assigned to you by an administrator, such as your employer or educational institution. If you are using a Rewriter.Tools Account assigned to you by an administrator, different or additional terms may apply and your administrator may be able to access or disable your account.
To protect your Rewriter.Tools Account, keep your password confidential. You are responsible for the activity that happens on or through your Rewriter.Tools Account. Try not to reuse your Rewriter.Tools Account password on third-party applications.
Privacy and Copyright Protection
Rewriter.Tools’s privacy policies explain how we treat your personal data and protect your privacy when you use our Services. When you use our services, you’re trusting us with your information. We understand this is a big responsibility and work hard to protect your information and put you in control.
Modifying and Terminating our Services
We are constantly changing and improving our Services. We may add or remove functionalities or features, and we may suspend or stop a Service altogether.
You can stop using our Services at any time, although we’ll be sorry to see you go. Rewriter.Tools may also stop providing Services to you, or add or create new limits to our Services at any time.
We believe that you own your data and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will give you reasonable advance notice and a chance to get information out of that Service.
Our Warranties and Disclaimers
We provide our Services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about our Services.
Other than as expressly set out in these terms or additional terms, neither Rewriter.Tools nor its suppliers or distributors make any specific promises about the Services. For example, we don’t make any commitments about the content within the Services, the specific functions of the Services, or their reliability, availability, or ability to meet your needs. We provide the Services “as is”.
Some jurisdictions provide for certain warranties, like the implied warranty of merchantability, fitness for a particular purpose and non-infringement. To the extent permitted by law, we exclude all warranties.
Liability for our Services
When permitted by law, Rewriter.Tools, and Rewriter.Tools’s suppliers and distributors, will not be responsible for lost profits, revenues, or data, financial losses or indirect, special, consequential, exemplary, or punitive damages.
To the extent permitted by law, the total liability of Rewriter.Tools, and its suppliers and distributors, for any claims under these terms, including for any implied warranties, is limited to the amount you paid us to use the Services (or, if we choose, to supplying you the Services again).
In all cases, Rewriter.Tools, and its suppliers and distributors, will not be liable for any loss or damage that is not reasonably foreseeable.
We recognize that in some countries, you might have legal rights as a consumer. If you are using the Services for a personal purpose, then nothing in these terms or any additional terms limits any consumer legal rights which may not be waived by contract.
About these Terms
We may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. We’ll post notice of modifications to these terms on this page. We’ll post notice of modified additional terms in the applicable Service. Changes will not apply retroactively and will become effective no sooner than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service.
Payment made for the characters is non-refundable and goes to cover the costs associated with the payment of services of third-party services.
If there is a conflict between these terms and the additional terms, the additional terms will control for that conflict.
These terms control the relationship between Rewriter.Tools and you. They do not create any third party beneficiary rights.
If you do not comply with these terms, and we don’t take action right away, this doesn’t mean that we are giving up any rights that we may have (such as taking action in the future).
If it turns out that a particular term is not enforceable, this will not affect any other terms.


Computer Architecture
Spring 2014, USTC
Spring 2014, USTC
Wednesday, 2:00 ~ 3:35, 3C221
Friday, 2:00 ~ 3:35, 3C223
<EMAIL_ADDRESS><EMAIL_ADDRESS>陈<EMAIL_ADDRESS>Welcome to the Spring 2014 Computer Architecture web page. The course is intended to provide a foundation for students interested in performance programming, compilers, and operating systems, as well as computer architecture and engineering. Our goal is for you to better understand how software interacts with hardware, and to understand how trends in technology, applications, and economics drive continuing changes in the field. The course will cover the different forms of parallelism found in applications (instruction-level, data-level, thread-level, request-level) and how these can be exploited with various architectural features. We will cover pipelining, superscalar, speculative and out-of-order execution, vector machines, VLIW machines, multithreading, graphics processing units, and parallel microprocessors. We will also explore the design of memory systems including caches, virtual memory, and DRAM.


Previous: Interval Designators, Up: Number Concepts
Figure 12–10 lists some defined names that are applicable to random states.
Figure 12–10: Random-state defined names


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Packages that use RadiusException | |
|---|---|
| org.tinyradius.attribute | This package contains classes for Radius attributes and Radius attribute types. |
| org.tinyradius.packet | This package contains classes for encoding and decoding Radius packets. |
| org.tinyradius.util | This package contains helper classes for implementing Radius clients and servers. |
| Uses of RadiusException in org.tinyradius.attribute |
|---|
| Methods in org.tinyradius.attribute that throw RadiusException | |
|---|---|
RadiusAttribute |
VendorSpecificAttribute.getSubAttribute(java.lang.String type)
Returns a single sub-attribute of the given type name. |
java.lang.String |
VendorSpecificAttribute.getSubAttributeValue(java.lang.String type)
Returns the value of the Radius attribute of the given type or null if there is no such attribute. |
void |
VendorSpecificAttribute.readAttribute(byte[] data,
int offset,
int length)
Reads a Vendor-Specific attribute and decodes the internal sub-attribute structure. |
void |
RadiusAttribute.readAttribute(byte[] data,
int offset,
int length)
Reads in this attribute from the passed byte array. |
void |
IpAttribute.readAttribute(byte[] data,
int offset,
int length)
Check attribute length. |
void |
IntegerAttribute.readAttribute(byte[] data,
int offset,
int length)
Check attribute length. |
| Uses of RadiusException in org.tinyradius.packet |
|---|
| Methods in org.tinyradius.packet that throw RadiusException | |
|---|---|
protected void |
RadiusPacket.checkRequestAuthenticator(java.lang.String sharedSecret,
int packetLength,
byte[] attributes)
Checks the request authenticator against the supplied shared secret. |
protected void |
AccountingRequest.checkRequestAuthenticator(java.lang.String sharedSecret,
int packetLength,
byte[] attributes)
Checks the received request authenticator as specified by RFC 2866. |
protected void |
RadiusPacket.checkResponseAuthenticator(java.lang.String sharedSecret,
int packetLength,
byte[] attributes,
byte[] requestAuthenticator)
This method checks the authenticator of this Radius packet. |
protected static RadiusPacket |
RadiusPacket.decodePacket(Dictionary dictionary,
java.io.InputStream in,
java.lang.String sharedSecret,
RadiusPacket request)
Reads a Radius packet from the given input stream and creates an appropiate RadiusPacket descendant object. |
protected void |
RadiusPacket.decodeRequestAttributes(java.lang.String sharedSecret)
Can be overriden to decode encoded request attributes such as User-Password. |
protected void |
AccessRequest.decodeRequestAttributes(java.lang.String sharedSecret)
Decrypts the User-Password attribute. |
static RadiusPacket |
RadiusPacket.decodeRequestPacket(Dictionary dictionary,
java.io.InputStream in,
java.lang.String sharedSecret)
Reads a Radius request packet from the given input stream and creates an appropiate RadiusPacket descendant object. |
static RadiusPacket |
RadiusPacket.decodeRequestPacket(java.io.InputStream in,
java.lang.String sharedSecret)
Reads a Radius request packet from the given input stream and creates an appropiate RadiusPacket descendant object. |
static RadiusPacket |
RadiusPacket.decodeResponsePacket(Dictionary dictionary,
java.io.InputStream in,
java.lang.String sharedSecret,
RadiusPacket request)
Reads a Radius response packet from the given input stream and creates an appropiate RadiusPacket descendant object. |
static RadiusPacket |
RadiusPacket.decodeResponsePacket(java.io.InputStream in,
java.lang.String sharedSecret,
RadiusPacket request)
Reads a Radius response packet from the given input stream and creates an appropiate RadiusPacket descendant object. |
int |
AccountingRequest.getAcctStatusType()
Retrieves the user name from the User-Name attribute. |
java.lang.String |
AccountingRequest.getUserName()
Retrieves the user name from the User-Name attribute. |
boolean |
AccessRequest.verifyPassword(java.lang.String plaintext)
Verifies that the passed plain-text password matches the password (hash) send with this Access-Request packet. |
| Uses of RadiusException in org.tinyradius.util |
|---|
| Methods in org.tinyradius.util that throw RadiusException | |
|---|---|
RadiusPacket |
RadiusServer.accessRequestReceived(AccessRequest accessRequest,
java.net.InetSocketAddress client)
Constructs an answer for an Access-Request packet. |
RadiusPacket |
RadiusClient.account(AccountingRequest request)
Sends an Accounting-Request packet and receives a response packet. |
RadiusPacket |
RadiusServer.accountingRequestReceived(AccountingRequest accountingRequest,
java.net.InetSocketAddress client)
Constructs an answer for an Accounting-Request packet. |
RadiusPacket |
RadiusClient.authenticate(AccessRequest request)
Sends an Access-Request packet and receives a response packet. |
boolean |
RadiusClient.authenticate(java.lang.String userName,
java.lang.String password)
Authenticates a user. |
static RadiusPacket |
RadiusClient.communicate(RadiusEndpoint remoteServer,
RadiusPacket request)
Sends the specified packet to the specified Radius server endpoint. |
RadiusPacket |
RadiusClient.communicate(RadiusPacket request,
int port)
Sends a Radius packet to the server and awaits an answer. |
protected RadiusPacket |
RadiusServer.handlePacket(java.net.InetSocketAddress localAddress,
java.net.InetSocketAddress remoteAddress,
RadiusPacket request,
java.lang.String sharedSecret)
Handles the received Radius packet and constructs a response. |
protected RadiusPacket |
RadiusClient.makeRadiusPacket(java.net.DatagramPacket packet,
RadiusPacket request)
Creates a RadiusPacket from a received datagram packet. |
protected RadiusPacket |
RadiusServer.makeRadiusPacket(java.net.DatagramPacket packet,
java.lang.String sharedSecret)
Creates a RadiusPacket for a Radius request from a received datagram packet. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


CPA Programs -
Contact US
Welcome
any Question
Home
PROG1245
Introduction
Contents
Week 1
Week 2
Week 3
PROG1780
MATH1910
Contact US
Contact US
Please share your comments and suggestions with me.
Who are you? and Feedback
Registration Information
E-Mail:
First Name:
Middle Name:
Family Name:
City:
Toronto
Cambridge
Kitchener
London
Waterloo
Province:
Ontario
Quebec
PEI
New Brunswick
Nova Scotia
Newfoundland and Labrador
British Columbia
Alberta
Saskatchewan
Manitoba
Yukon
Nothwest Territories
Nunavut
Comments:


LCR
问题描述 :
LCR is a simple game for three or more players. Each player starts with three chips and the object is to be the last person to have any chips. Starting with Player 1, each person rolls a set of three dice. Each die has six faces, one face with an L, one with a C, one with an R and three with a dot. For each L rolled, the player must pass a chip to the player on their left (Player 2 is considered to be to the left of Player 1); for each R rolled, the player passes a chip to the player on their right; and for each C rolled, the player puts a chip in a central pile which belongs to no player. No action is taken for any dot that is rolled. Play continues until only one player has any chips left. In addition, the following rules apply:
1. A player with no chips is not out of the game, since they may later gain chips based on other players’ rolls.
2. A player with only 1 or 2 chips left only rolls 1 or 2 dice, respectively. A player with no chips left does not roll but just passes the dice to the next player.
Your job is to simulate this game given a sequence of dice rolls.
输入:
Input will consist of multiple test cases. Each test case will consist of one line containing an integer n (indicating the number of players in the game) and a string (specifying the dice rolls). There will be at most 10 players in any game, and the string will consist only of the characters `L’, `C’, `R’ and `.’. In some test cases, there may be more dice rolls than are needed (i.e., some player wins the game before you use all the dice rolls). If there are not enough dice rolls left to complete a turn (for example, only two dice rolls are left for a player with 3 or more chips) then those dice rolls should be ignored. A value of n = 0 will indicate end of input.
输出:
Input will consist of multiple test cases. Each test case will consist of one line containing an integer n (indicating the number of players in the game) and a string (specifying the dice rolls). There will be at most 10 players in any game, and the string will consist only of the characters `L’, `C’, `R’ and `.’. In some test cases, there may be more dice rolls than are needed (i.e., some player wins the game before you use all the dice rolls). If there are not enough dice rolls left to complete a turn (for example, only two dice rolls are left for a player with 3 or more chips) then those dice rolls should be ignored. A value of n = 0 will indicate end of input.
样例输入:
3 LR.CCR.L.RLLLCLR.LL..R...CLR. 5 RL....C.L 0
样例输出:
Game 1: Player 1:0 Player 2:0 Player 3:6(W) Center:3 Game 2: Player 1:1 Player 2:4 Player 3:1 Player 4:4(*) Player 5:4 Center:1
题意：模拟CPU处理多个任务的过程。首先输入任务数n，然后下面n行每行对应一个任务的信息：任务id，到达CPU的时间，处理它所需要的时间，优先级。一个任务在处理过程中，如果有下一个任务到达并且该任务优先级高于正在处理的任务，则要中止当前任务，转而进行下个任务。若是两任务优先级相同，先执行先到达的任务。
大致思想：用了两个优先级队列，一个用来存储用户的输入，另一个用来存储已经到达的，正在等待中的任务。还有一个timer记录时钟。
详细的参见代码及注释。
//用STL里的priority_queue存储，剩下的就是模拟了。。 #include <iostream> #include <cstdio> #include <memory.h> #include <queue> #define INF 0x7fffffff using namespace std; struct Process { int id; int arr; //到达时间 int last; int prior; }; struct cmp //按任务到达CPU的顺序进行存储 { bool operator()(const Process &t1,const Process &t2) { if(t1.arr!=t2.arr)return t1.arr>t2.arr; //arr小的放在上面。小顶堆 return t1.prior<t2.prior; //对于同时到达的，prior大的放在上面。大顶堆 } }; struct cmp2//按任务执行的顺序存储 { bool operator()(const Process &t1,const Process &t2) { if(t1.prior!=t2.prior)return t1.prior<t2.prior; return t1.arr>t2.arr; //prior相同时，arr小的放在上面。即遵循first arrive,first serve } }; int main() { int num; int cases=0; while(cin>>num) { Process temp; Process temp2; if(cases!=0)printf("\n"); priority_queue<Process,vector<Process>,cmp> Q; //所有待办任务的队列 priority_queue<Process,vector<Process>,cmp2> ing; //所有等待中的任务的队列,prior大的放上面 for(int i=0; i<num; i++) { cin>>temp.id>>temp.arr>>temp.last>>temp.prior; Q.push(temp); } printf("CASE #%d\n",++cases); int timer=0; temp=Q.top(); Q.pop(); ing.push(temp); //第一个任务进入ing队 timer=temp.arr; //记录当前时间 while(1) //注意结束条件不能是Q为空。Q空了之后，还要再运行一次。 { //temp=ing.top(); if(!Q.empty()) { temp2=Q.top(); Q.pop(); } else { temp2.arr=INF; //永远不会到来 temp2.last=0; temp2.prior=0; temp2.id=0; } bool flag=0; while(!ing.empty()) { temp=ing.top(); if(timer+temp.last<=temp2.arr) { timer+=temp.last; printf("%d %d\n",temp.id,timer); ing.pop(); } else { flag=1; break; } } if(temp2.arr==INF) //Q空了后，再循环一次，在这儿终止。 { break; } if(flag) //如果被打断 { // temp.arr=timer; temp.last=temp.last-(temp2.arr-timer);//更新这个任务还需要的时间 timer=temp2.arr; ing.pop(); ing.push(temp); //更新ing最上面那个 ing.push(temp2); } else if(!Q.empty())//没被打断，说明些时ing队列空了 { timer=temp2.arr; ing.push(temp2); } } } return 0; }
解题参考：http://blog.csdn.net/zhuang19922011/article/details/7926063
(adsbygoogle = window.adsbygoogle || []).push({});
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
好看
不好意思，写错了．应该是 path[0]=0, visited[V] = true;
和编译器有关吧，我用的g++正常。头文件可能还需要一个<string.h>
这是往年的笔试题，非在线，主要考察基础，Java会在面试时问到
else if也是要比较两次
多谢支持！
很好！！
能不能说一下tmp数组和solve都是干嘛的？
第二种解法如果数组有重复元素 就不正确
能不能说一下tmp数组和solve都是干嘛的？
多谢支持！
这配图…..
沙发呢，我抢到了沙发


centrimo [options] <primary sequence file> <motif file>+
The name of a file containing FASTA formatted sequences, ideally all of the same length. The sequences in this file are referred to as the "primary sequences" when a second set of (control) sequences is provided using the --neg option (see below).
The names of one or more files containing MEME formatted motifs. Outputs from MEME and DREME are supported, as well as Minimal MEME Format. You can convert many other motif formats to MEME format using conversion scripts available with the MEME Suite.
CentriMo writes its output to files in a directory named
centrimo_out
, which it creates if necessary. You can change the
output directory using the --o or --oc options.
The directory will contain:
centrimo.html
-
an HTML file that provides the results in a human-readable format;
this file allows interactive selection of which motifs to plot the
positional distribution for, as well as control over smoothing and other plotting parameters
centrimo.tsv
-
a TSV (tab-separated values) file that provides
the results in a format suitable for parsing by scripts and viewing with Excel
site_counts.txt
-
a text file that lists, for each motif and each sequence position,
the number of sequences where the best match of the motif occurs at the given position
Note: See this detailed description of the CentriMo output formats for more information.
| Option | Parameter | Description | Default Behavior |
|---|---|---|---|
| Input/Output | |||
| --neg | control sequence file | Plot the motif distributions in this set (the control sequences) as well. Also, for each enriched region in the primary sequences, the significance of the relative enrichment of the motif in that region in the primary versus control sequences is evaluated using Fisher's exact test. | |
| --seqlen | length | Use sequences with the length length ignoring all other sequences in the input file(s). | Use sequences with the same length as the first sequence, ignoring all other sequences in the input file(s). |
| Scanning | |||
| --score | S | The score threshold for predicting motif sites. By default, motif log-odds scores are used and the threshold S is in bits. If option --use-lo-fraction is given, motif log-odds scorea are still used, but the score threshold is S times the maximum log-odds score possible for the motif. If option --use-pvalues is given, adjusted motif p-values are used instead of log-odds scores. Sequences without a match with score ≥ S (log-odds) or ≤ S (p-values) are ignored. | A threshold of 5 bits (default), 25% of maximum (--use-lo-fraction), or 0.05 (--use-pvalues) is used. |
| --use-lo-fraction | The score threshold S (see option --score, above) gives the fraction of the maximum log-odds score for a motif site. Not compatible with option --use-pvalues. | The score threshold S is in bits. | |
| --use-pvalues | Use the adjusted motif p-value of potential sites for scoring motifs. The p-value of a potential site is adjusted for the number of possible positions a site could occur in the given sequence. See option --score for how to set the p-value threshold. Not compatible with option --use-lo-fraction. | Use the motif log-odds score for scoring motifs. | |
| --norc | Scan only the given strand of sequences. | Scans the given and reverse complement strands of sequences with complementable alphabets. | |
| --sep | Create a reverse complement for each given motif and scan separately with both. Note: this option implies --norc. | Scan with the given motifs only. | |
| --flip | Reverse complement matches appear 'reflected' around sequence centers. | Do not 'flip' the sequence; use rc of motif instead. | |
| Enrichment | |||
| --optimize-score | Search for the optimal score subject to the constraint given by the --score option. | The score threshold is used (see option --score, above). | |
| --maxreg | max region | The maximum region size to consider. | Try all region sizes up to the sequence width. |
| --minreg | min region | The minimum region size to consider. Must be less than max region. | Try regions 1 bp and larger. |
| --local | Compute enrichment of all regions. | Compute enrichment of central regions. | |
| --cd | Measure enrichment using the average distance between the center of the best site and the sequence center. The score threshold is varied to optimize the significance of the (small) distance, which is computed using the cumulative Bates distribution. Note 1: Only sequences with a site at or above the minimum score are considered (see the --score option, below). Note 2: If a sequence has ties for best site, their average distance is used. Note 3: This option implies the --optimize-score option, and may not be used with options --local, --neg, --minreg or --maxreg. | Enrichment is measured by counting the number of times the best site occurs in the the central region vs. the flanks of the sequence. | |
| Output filtering | |||
| --ethresh | thresh | Limit the results to motifs with an enriched region whose E-value is less than thresh. Enrichment E-values are computed by first adjusting the binomial p-value of a region for the number of regions tested using the Bonferroni correction, and then multiplying the adjusted p-value by the number of motifs in the input to CentriMo. | Include motifs with E-values up to 10. |
| Miscellaneous | |||
| --desc | description | Include the text description in the HTML output. | No description in the HTML output. |
| --dfile | desc file | Include the first 500 characters of text from the file desc file in the HTML output. | No description in the HTML output. |
| --noseq | Do not store sequence IDs in the output of CentriMo. | CentriMo stores a list of the sequence IDs with matches in the best region for each motif. This can potentially make the file size much larger. |
If you use CentriMo in your research, please cite the following paper:
Timothy L. Bailey and Philip Machanick,
"Inferring direct DNA binding from ChIP-seq",
Nucleic Acids Research, 40:e128, 2012.
[full text]


mes-button
This card contains the global heading styles which can be used across the app
mes-header-sm
mes-header-md
mes-header-lg
mes-header-xlg
mes-header-xxlg
This card contains the global text styles which can be used across the app
mes-text-sm
mes-text-md


PewDiePie
The Most Popular Youtuber In Our Time?
Toggle navigation
PewDiePie
Home
PewDiePie
Videos
Fan's Handmade gifts
Photo Gallery
The Most Popular Videos
12 Year Old Simulator
October 19, 2015
Impossible Quiz
December 7, 2013
GIRLFRIEND VS BOYFRIEND!
August 4, 2013
WORLDS MOST OFFENSIVE GAME?
 - Wario Smooth Moves
April 16, 2013
Watch more
Not seeing a
Scroll to Top Button
? Go to our FAQ page for more info.


ROS Package by License
View packages by directory
Licenses
BSD
(1)
BSD
mixed_real_c
autogenerated on Wed, 15 May 2013 14:03:08


FriendlyId Changelog
We would like to think our many contributors for suggestions, ideas and improvements to FriendlyId.
5.0.3 (2013-02-14)
- Bug fix for calls to #dup with unslugged models (#518).
- Bug fixes for STI (#516).
- Bug fix for slug regeneration (both scoped and unscoped) (#513).
- Bug fix for finds with models that use the :history module (#509).
5.0.2 (2013-12-10)
- Query performance improvements (#497).
- Documentation improvements (thanks John Bachir).
- Minor refactoring of internals (thanks Gagan Ahwad).
- Set slug to
nil
on call todup
to ensure slug is generated (#483).
5.0.1 (2013-10-27)
- Fix compatibility with Rails 4.0.1.rc3 (thanks Herman verschooten).
5.0.0 (2013-10-16)
- Fix to let scoped records reuse their slugs (thanks Donny Kurnia).
5.0.0.rc.3 (2013-10-04)
- Support friendly finds on associations in Rails 4.0.1 and up. They will
currently work on Rails 4.0 associations only if
:inverse_of
is not used. In Rails 4-0-stable, associations have been modified to use a special relation class, giving FriendlyId a consistent extension point. Since the behavior in 4.0.0 is considered defective and fixed in 4-0-stable, FriendlyId 5.0 will not support friendly finds on inverse relelations in 4.0.0. For a reliable workaround, use thefriendly
scope for friendly finds on associations; this works on all Rails 4.0.x versions and will continue to be supported. - Documentation fixes.
5.0.0.rc2 (2013-09-29)
- When the :finders addon has been included, use it in FriendlyId's internal finds to boost performance.
- Use instance methods rather than class methods in migrations.
- On find, fall back to super when the primary key is a character type. Thanks to Jamie Davidson.
- Fix reversion to previously used slug from history table when
should_generate_new_friendly_id?
is overridden. - Fix sequencing of numeric slugs
5.0.0.rc1 (2013-08-28)
- Removed some outdated tests.
- Improved documentation.
- Removed Guide from repository and added tasks to maintain docs up to date on Github pages at http://norman.github.io/friendly_id.
5.0.0.beta4 (2013-08-21)
- Add an initializer to the generator; move the default reserved words there.
- Allow assignment from FriendlyId::Configuration#base.
- Fix bug whereby records could not reuse their own slugs.
5.0.0.beta3 (2013-08-20)
- Update gemspec to ensure FriendlyId 5.0 is only used with AR 4.0.x.
5.0.0.beta2 (2013-08-16)
- Add "finders" module to easily restore FriendlyId 4.0 finder behavior.
5.0.0.beta1 (2013-08-10)
- Support for Rails 4.
- Made the :scoped and :history modules compatible with each other (Andre Duffeck).
- Removed class-level finders in favor of
friendly
scope (Norman Clarke). - Implemented "candidates" support (Norman Clarke).
- Slug "sequences" are now GUIDs rather than numbers (Norman Clarke).
find
no longer falls back to super unless id is fully numeric string (Norman Clarke).- Default sequence separator is now '-' rather than '--'.
- Support for Globalize has been removed until Globalize supports Rails 4.
- Removed upport for Ruby < 1.9.3 and Rails < 4.0.
<IP_ADDRESS> (2013-08-20)
- Update dependencies in gemspec to avoid using with Active Record 4.
- Fixed links in docs.
4.0.10 (2013-08-10)
- Fixed table prefixes/suffixes being ignored (Jesse Farless).
- Fixed sequence generation for slugs containing numbers (Adam Carroll).
4.0.9 (2012-10-31)
- Fixed support for Rails 3.2.9.rc1
4.0.8 (2012-08-01)
Name internal anonymous class to fix marshall dump/load error (Jess Brown, Philip Arndt and Norman Clarke).
Avoid using deprecated
update_attribute
(Philip Arndt).Added set_friendly_id method to Globalize module (Norman Clarke).
autoload FriendlyId::Slug; previously this class was not accessible from migrations unless required explicitly, which could cause some queries to unexpectedly fail (Norman Clarke).
Fix Mocha load order (Mark Turner).
Minor doc updates (Rob Yurkowski).
Other miscellaneous refactorings and doc updates.
4.0.7 (2012-06-06)
to_param just calls super when no friendly id is present, to keep the model's default behavior. (Andrew White)
FriendlyId can now properly sequence slugs that end in numbers even when a single dash is used as the separator (Tomás Arribas).
4.0.6 (2012-05-21)
- Fix nil return value from to_param when save fails because of validation errors (Tomás Arribas)
- Fix incorrect usage of i18n API (Vinicius Ferriani)
- Improve error handling in reserved module (Adrián Mugnolo and Github user "nolamesa")
4.0.5 (2012-04-28)
- Favor
includes
overjoins
in globalize to avoid read-only results (Jakub Wojtysiak) - Fix globalize compatibility with results from dynamic finders (Chris Salzberg)
4.0.4 (2012-03-26)
- Fix globalize plugin to avoid issues with asset precompilation (Philip Arndt)
4.0.3 (2012-03-14)
- Fix escape for '%' and '_' on SQLite (Norman Clarke and Sergey Petrunin)
- Allow FriendlyId to be extended or included (Norman Clarke)
- Allow Configuration#use to accept a Module (Norman Clarke)
- Fix bugs with History module + STI (Norman Clarke and Sergey Petrunin)
4.0.2 (2012-03-12)
- Improved conflict handling and performance in History module (Erik Ogan and Thomas Shafer)
- Fixed bug that impeded using underscores as a sequence separator (Erik Ogan and Thomas Shafer)
- Minor documentation improvements (Norman Clarke)
4.0.1 (2012-02-29)
- Added support for Globalize 3 (Enrico Pilotto and Philip Arndt)
- Allow the scoped module to use multiple scopes (Ben Caldwell)
- Fixes for conflicting slugs in history module (Erik Ogan, Thomas Shafer, Evan Arnold)
- Fix for conflicting slugs when using STI (Danny van der Heiden, Diederick Lawson)
- Maintainence improvements (Norman Clarke, Philip Arndt, Thomas Darde, Lee Hambley)
4.0.0 (2011-12-27)
This is a complete rewrite of FriendlyId, and introduces a smaller, faster and less ambitious codebase. The primary change is the relegation of external slugs to an optional addon, and the adoption of what were formerly "cached slugs" as the primary way of handling slugging.
Older releases
Please see the 3.x branch.


---
layout: post
title: Leave
date: '2010-10-04T09:49:00.002-04:00'
author: Pat Hyatt
description: Leave the gig.
tags:
modified_time: '2010-10-04T09:51:14.644-04:00'
blogger_id: tag:blogger.com,1999:blog-1130780247100205939.post-1444242043179056741
blogger_orig_url: http://patpack.blogspot.com/2010/10/leave.html
redirect_from:
- /2010/10/leave.html
---
Here's a post I found today that is just awesome.
It reads almost like a poem.
Leave


Mumbai, also known as Bombay, is the capital city of the Indian state of Maharashtra. It is the most populous city in India and the ninth most populous agglomeration in the world, with an estimated city population of 18.4 million.Mumbai lies on the west coast of India and has a deep natural harbour. In 2008, Mumbai was named an alpha world city. It is also the wealthiest city in India.
The slightly heavier price tag is absolutely worth it once you lay eyes on the stately Gateway of India aglow at night, with yachts bobbing in the distance. Aside from the views, there is round-the-clock butler service, free airport transfers, variable check in/check out times and complimentary breakfast and cocktails. Before you leave, visit the Harbour Bar. The Taj has always reinvented itself since it was born decades ago and this is what makes it the icon that it is.
As far as first impressions go, the Sahara Star’s unfinished exteriors don’t give you much to go on, but inside, 'bigger, glitzier, better' seems to be the hotel’s mantra. The hotel is home to India’s largest aquarium, 11 specialty food and beverage outlets, five banquet halls and 18,000 square feet of open air banquet space.For the novelty of the experience (in India), we suggest the Ocean’s Private Dining Room, beneath the aquarium.
With a breathtaking sea view, lights along the bay, and a flower-laden pool terrace, Hotel Marine Plaza’s Allamanda terrace really is hard to resist.The Art Deco interiors hold another sweet spot -- its five-story atrium, with enthusiastically English pub, Geoffrey’s, adjacent to it on the ground floor.Check into the elegantly-furnished Special Suites -- wall-to-ceiling glass panels from the living area to the bedroom reveal a bird’s eye view of the Queen’s Necklace.
The eco tag is always a novelty, but the Rodas Powai does live up to it with a very high green quotient. The Hafeez Contractor-designed structure faces north-east catching only oblique sunlight that helps reduce cooling costs. The Rodas has a strict no paper napkin/sachet/plastic policy so you’re encouraged to be a planeteer –- reuse towels (hang them up) and sheets (place the Save Our Planet tent card on the bed).
The warm colors and quirky bronze sculptures of the new Trident Bandra-Kurla are the first indication that if you’re here to mix business with pleasure, this hotel will serve up a pretty heady cocktail. The first hotel in North Mumbai’s new business district, the Trident is 30 minutes from the international airport (on a good traffic day).All 436 rooms and suites come with iPod connectivity, DVD players with a USB plug-and-play port, and all hour valet and laundry services
Less than two minutes from Grant Road Station, Hotel Krishna Palace Residency was only recently transformed from humble two-story beginnings to its present 68-room, 15-story avatar Rooms are modest but all boast tasteful, minimal décor and furnishing. Amenities include a flat screen TV, DVD player, iron and board, baby cot and hair dryer. The boutique property usually receives corporates, single travelers and Israeli diamond merchants, who stay for a week on average.
Created by Rogin Koshy


Most Common Chinese Characters - 汉字
Practice:
Click here to get a character (random):
提交!
...
...
...
Have a try and write the character yourself!


Across: 7. see 4 down 9. Act out one episode being sullen (8) 10. Suspicion with union giving way to the last bit of "Despicable Me" and new "Minions" (8) 11. Groans about various body parts (6) 12,21dn. Fully fit, a Leo took two doses of barbiturate and passed away (4-6) 14. Grim opportunity to change sides (5) 15. Go well with diamonds perhaps (4) 16. see 3 down 17. Reoprts of resident students' fringes (7) 20. Smeared balm into young animal (4) 22. Animal smelled really bad when it's rear turned into attack end! (5) 23. Aces are wild in this instance (4) 24. Security for underground employee smuggling diamonds (6) 25. During dusk row, sage turning provider of illumination along the way perhaps (8) 28,26dn,6dn. Unusually considerate firm's seen around North and South (in other words, 18 without 17) (8 4 10) 29. Snuggle with company (6) Down: 1. Rogue arrangement without love or lust perhaps (4) 2. Word for period? (4) 3,16ac. Neck busy lark; it upset finicky director (7 7) 4,7ac. Neck a lark (or cow); go berserk in savage tale (1 9 6) 5.  Some sort of family with mad uncle (a king) (7) 13. Savaged and battered, restricting nostalgic heart (10) 14. Puts money on Flying Scotsman, perhaps resulting in soreness (4 6) 18. Cures sort cod out (7) 19. Author of 4 7 and nonsense about 1s (7) 21. see 12 across 26. see 28 across 27. Induce death in grand sickness (4)


Test class for Amfphp_Core_Common_ServiceRouter.
Located in /Tests/Amfphp/Core/Common/ServiceRouterTest.php (line 26)
PHPUnit_Framework_TestCase | --Amfphp_Core_Common_ServiceRouterTest
Sets up the fixture, for example, opens a network connection.
This method is called before a test is executed.
Documentation generated on Tue, 29 May 2012 23:42:06 +0200 by phpDocumentor 1.4.3


{% extends "account/base.html" %} {% load i18n %} {% block head_title %}{% translate "Login Cancelled" %} — {{ block.super }}{% endblock %} {% block content %}
{% blocktranslate %} You decided to cancel logging in to our site using one of your existing accounts. If this was a mistake, please proceed to sign in. {% endblocktranslate %}


The VennEuler approach is described in an excellent paper by Leland Wilkinson. As far as I'm aware this is the best published academic research on laying out area proportional Venn and Euler diagrams.
This page runs the same performance test on VennEuler that was used to test venn.js.
Circles are randomly positioned and then the intersection areas are calculated from these circles. Using only the intersection areas, VennEuler has to plot circles whose areas match the input.
Unfortunately, the VennEuler package doesn't perform all that well on this test. The problem seems to be that while VennEuler frequently gets a solution that is close to being correct, it rarely gets a solution that is close enough for this test to say it succeeded.
Examples of failure cases are shown first, followed by aggregate graphs showing performance relative to venn.js. Finally a couple of reasons for VennEuler's performance on this test are discussed.
Calling VennEuler with two disjoint sets can produce a diagram where the circles overlap.
For example, calling VennEuler with two sets of size 98 and 48 that have 0 overlap between them produces this diagram:
The overlap is this diagram is small (about 2.2% of the size of the '1' set), but very noticeable. The performance test I'm using here labels this diagram as failing to adequately represent the input since the two sets shouldn't overlap at all.
However, VennEuler reports that it successfully laid out this diagram. The VennEuler paper defines a 'stress' metric that measures how well the diagram fits the input. Lower values are better, and the paper suggests that if the stress is less than 0.01 then the solution is good enough to use.
The stress for the above solution above is 0.0001 - 100x lower than the cutoff suggested. This is because of how that stress metric is calculated: its the sum of squared errors normalized by the sum of squared total areas. Since the circles themselves are included in the total areas, the error in this case is divided by (982 + 482). Since the error is only ~ 12 and that is divided by the large squared total area - the stress value is very low.
More examples of individual trials in this test are shown below. While VennEuler occasionally works, it frequently produces solutions that differ by a significant amount from the original. These areas are shown in red if the difference in areas is more than 10%, at which stage we say it failed to reconstruct.
The results here are precomputed, with random circles being chosen uniformly in (0, 1) with radii uniformly in (.1, .5).
Since VennEuler is a java package, precomputed results are shown here. To get results from live code, or to change the test parameters - type 'gradle run' from the same directory as this file. This will launch a simple java server that exposes the layouts from VennEuler to this page over a HTTP JSON api.
Wilkinson performs a similar test in his paper, and reports positive results with an average stress of .006. Since the performance here seems much worse than whats reported in the paper, I thought I'd quickly list out some of the reasons behind this discrepancy.
The test here is exceedingly strict and simply an average of a binary success/failure judgement. VennEuler frequently produces diagrams that are very close to being correct, but with a few failing areas.
The stress metric that VennEuler reports breaks down in the case of small regions in larger diagrams as seen in the first example. VennEuler uses this stress metric for an early exit performance optimization causing it to potentially stop the optimization process too early in some cases.
VennEuler does three separate steps to generate the layout. The first step is an initial layout based off of MDS. This is followed by steepest descent on a pseudo-gradient function and then finally coordinate descent directly on the loss function.
For an initial layout, MDS is better than random - but much worse than the greedy layout I wrote or the Constrained MDS variant I came up with. VennEuler also computes MDS on Jaccard distance to generate the initial layout, which seems to perform worse than the Euclidean distance that I used.
The pseudo-gradient descent step is interesting and actually performs fairly well. I ran some experiments with my own version of it when developing this code. I found it is the second best optimization technique I tried when starting from a random layout. However to get good results I had to run it for many more iterations than in the VennEuler package: VennEuler ran 50 iterations and I was seeing good results at 5000 iterations. This explains why VennEuler seems to get solutions that are mostly right, but frequently contains some small errors. Ultimately the Constrained MDS optimizer I wrote outperformed this method in terms of both speed and accuracy, so I decided not to use this.
Finally VennEuler uses coordinate descent to fine tune the results. I don't believe this will perform as well as a fine tuning step as the Nelder-Mead optimizer I'm using though I haven't done any experiments to verify.
While the running time seems worse in VennEuler, VennEuler scales up better than venn.js does. This is because the number of regions in the venn diagram grows exponentially with the number of sets. VennEuler uses an approximation method for calculating intersection area sizes that mitigates this, while venn.js calculates the sizes of each region directly. While each call is individually fast the sheer number of calls explodes as the number of sets increases, causing venn.js to perform sluggishly. Also worth noting is that timing results reported elsewhere in this repo are done on just the 2-way set intersections: I'm doing all circle intersections here to exactly match the input given to VennEuler. Using only 2-way set intersections leads to identical diagrams in this test, and is roughly a 100x faster on the 8-set case.
Most of the discrepancy in results is just because this test expects basically exact replicas of the input. VennEuler does a fine job of capturing the global structure, but it frequently lacks the fine details that are necessary to pass this test.


+++
title = "XLT Documentation"
linkTitle = "XLT Documentation"
+++
{{< blocks/cover title="Welcome to the XLT Documentation!" image_anchor="top" height="auto" color="orange" >}}
}}">
Learn More
Download
Here you can find everything you need to get started with XLT and later take your performance testing to the next level.
{{< /blocks/cover >}}
{{< blocks/lead color="primary" >}}
XLT is a load and performance test tool that differs from other approaches due to its focus
on high quality reporting and Java as programming language for the scripts. There are many ways to work with XLT and this documentation will show you some. It will explain features and functionalities and hopefully inspires you to take your performance testing to the next level.
{{< /blocks/lead >}}
{{< blocks/section color="dark" type="features" >}}
{{% blocks/feature icon="fa-lightbulb" title="Open Source" url="https://github.com/Xceptance/XLT/" %}}
XLT is licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). This assures that the tool is here to stay and enables you to extend it if needed.
{{% /blocks/feature %}}
{{% blocks/feature icon="fab fa-github" title="Contributions welcome!" url="https://github.com/Xceptance/xlt-documentation" %}}
You can contribute to XLT as well as to this documentation via issues and pull requests. Please don't hesitate to make the tool and its documentation better.
{{% /blocks/feature %}}
{{% blocks/feature icon="fab fa-twitter" title="Follow us on Twitter!" url="https://twitter.com/Xceptance" %}}
You can find information about updates and interesting reads in the Twitter channel of Xceptance.
{{% /blocks/feature %}}
{{< /blocks/section >}}


--- layout: post title: 'What a day: out of Delaware and into the new Observatory' date: '2010-07-20T17:53:00.000-04:00' author: Bob Sica tags: modified_time: '2011-12-21T12:48:50.268-05:00' blogger_id: tag:blogger.com,1999:blog-736339229338318027.post-259567889315141312 blogger_orig_url: http://blog.purplecrowlidar.ca/2010/07/what-day-out-of-delaware-and-into-new.html ---
OMG, so much to do, does anyone remember where all the cables go? The big table on the truck is the 1700 lb laser table, and you can see the mirror off to the right as it came off the truck. Threatening but didn’t rain, which would have pooched lots of electronics and the air bearing for the liquid mirror.


Plane Crashes in Urban Area of DR Congo Killing 24 - Photos
The airline company Busy Bee, which owns the plane, has confirmed the incident. According to the report, the small Dornier-228 aircraft crashed into a residential area near the airport.
A small aircraft carrying seventeen passengers en route to the city of Beni crashed during takeoff in Goma, Democratic Republic of Congo, AFP reported, citing witnesses.
Rescue services told the agency they've recovered the bodies of 23 people - including 17 passengers and two crew members - from under the wreckage.
The news comes as the Central African country faces a major flood. The disaster has claimed up to 25 lives and 180,000 remain in need of humanitarian help.


Internships
Here I share my experience of the first internship
An internship gives you a hands-on chance to apply the education and knowledge you gained, it also helps you strengthen your professional skills. Transferable skills like communication, teamwork, professional etiquette and work ethic can usually only be developed through actual experience. An internship is the best way to immerse yourself in the culture and gain relevant skills.
“An expert in anything was once a beginner ”
With this thought i started my first internship at robocop.io. Robocop help companies develop, deploy, maintain and monitor their cloud infrastructure for any cloud provider. The term “cloud computing” feared me as I had never worked on it.
Internship at Robocop.io
I still remember my first day when introduction about the product and work was given to all interns.The nervousness and fear by the trailer on that day reached to the peak and I started to question myself if I could do it. But the determination to learn something new was enough to overcome the inconfidence.
You need to know what you want to achieve from an internship so you can challenge yourself and the employer to make sure you have a worthwhile experience. I decided to do an internship because I needed the chance to apply my skills in the workplace and sample working life for the first time. Looking back certain factors ensured the internship worked for me, so here are some of the insights I learned.
- New/improved skills
- I learned about cloud computing and cloud technologies, deploying, professional coding techniques. During the internship my skills of web development, algorithms and databases were sharpened.
- A more complete (and impressive) resume
- A greater sense of professionalism
- More confidence in my career direction
- Teamwork
- Working together on the project with other interns is fun and also gives opportunities of more knowledge.
One may also face criticisms during the journey, You might not enjoy the criticism, but it should help you polish your skills before you dive into your career.
In short,I have started to gain a good insight of how the industry works. The experience was the most beneficial part about my internship.
I am now looking forward to get more industrial experience and am willing not to miss any chance of internships opportunities I get, like one in robocop.


Secure Transfer
Securely send your sensitive data.
Error processing your request
...
Message
Incorrect
Expiration (in days)
Incorrect
Files
Incorrect
Password
Incorrect
Encrypt data & create secret link


New World Fund sells Adani Ports shares worth Rs 401 crore
Bulk deal data on the BSE showed that 1,06,87,163 scrips were sold at an average price of Rs 375.34 apiece.
by PTINew Delhi: New World Fund Inc on Friday offloaded more than 1 crore shares of Adani Ports and Special Economic Zone Ltd for over Rs 401 crore in an open market transaction.
Bulk deal data on the BSE showed that 1,06,87,163 scrips were sold at an average price of Rs 375.34 apiece. This took the total deal value to Rs 401.1 crore.
As per September 2019 shareholding data, New World Fund Inc was a public shareholder of Adani Ports and held 2.07 per cent stake.
On BSE, shares of Adani Ports closed at Rs 382.15, up 2.56 per cent over the previous close.
In a separate transaction on the NSE, SS Theatres LLP sold 5.5 lakh shares of PVR Ltd for over Rs 99 crore.
The shares were sold at Rs 1,804.06 per scrip, valuing the deal at Rs 99.2 crore.
However, the buyer could not be ascertained.
SS Theatres, which is a public shareholder of PVR, held 3.31 per cent stake in the multiplex operator at the end of September 2019.
The shares of PVR ended at Rs 1,806 on the NSE, up 0.95 per cent.
As per another bulk deal on NSE, Axis Bank sold 2.2 crore shares of Reliance Power for Rs 8.03 crore at an average price of Rs 3.65 apiece.
Shares of Reliance Power on NSE ended at Rs 3.65, 3.95 per cent lower than the previous close.


|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobService
A JobService represents a resource management back-end.
It allows for job creation, submission, and discovery. Deviation from the
SAGA specification: the convenience method runJob
is specified
differently here, because as described in the SAGA specifications it cannot
easily be specified in Java, since Java has no OUT parameters.
| Field Summary |
|---|
| Fields inherited from interface org.ogf.saga.SagaObject |
|---|
NO_WAIT, WAIT_FOREVER |
| Method Summary | |
|---|---|
Job |
createJob(JobDescription jd)
Creates a job instance as specified by the job description provided. |
Task<JobService,Job> |
createJob(TaskMode mode,
JobDescription jd)
Creates a task that creates a job instance as specified by the job description provided. |
Job |
getJob(String jobId)
Returns the job instance associated with the specified job identification. |
Task<JobService,Job> |
getJob(TaskMode mode,
String jobId)
Creates a task that obtains the job instance associated with the specified job identification. |
JobSelf |
getSelf()
Returns a job instance representing the calling application. |
Task<JobService,JobSelf> |
getSelf(TaskMode mode)
Creates a task that obtains a job instance representing the calling application. |
List<String> |
list()
Obtains the list of jobs that are currently known to the resource manager. |
Task<JobService,List<String>> |
list(TaskMode mode)
Creates a task that obtains the list of jobs that are currently known to the resource manager. |
Job |
runJob(String commandLine)
Runs the specified command, non-interactively, on a host chosen by the implementation. |
Job |
runJob(String commandLine,
boolean interactive)
Runs the specified command on a host chosen by the implementation. |
Job |
runJob(String commandLine,
String host)
Runs the specified command, non-interactively, on the specified host. |
Job |
runJob(String commandLine,
String host,
boolean interactive)
Runs the specified command on the specified host. |
Task<JobService,Job> |
runJob(TaskMode mode,
String commandLine)
Creates a task that runs the specified command, non-interactively, on a host chosen by the implementation. |
Task<JobService,Job> |
runJob(TaskMode mode,
String commandLine,
boolean interactive)
Creates a task that runs the specified command on a host chosen by the implementation. |
Task<JobService,Job> |
runJob(TaskMode mode,
String commandLine,
String host)
Creates a task that runs the specified command, non-interactively, on the specified host. |
Task<JobService,Job> |
runJob(TaskMode mode,
String commandLine,
String host,
boolean interactive)
Creates a task that runs the specified command on the specified host. |
| Methods inherited from interface org.ogf.saga.SagaObject |
|---|
clone, getId, getSession |
| Method Detail |
|---|
Job createJob(JobDescription jd) throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, TimeoutException, NoSuccessException
jd
- the job description.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.
BadParameterException
- is thrown when the job description does not contain a valid
EXECUTABLE, or contains invalid values.Job runJob(String commandLine, String host, boolean interactive) throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, TimeoutException, NoSuccessException
Job.getStdin()
,
Job.getStdout()
, and Job.getStderr()
methods.
commandLine
- the command to run.host
- hostname of the host on which the command must be run. If this
is an empty string, the implementation is free to choose a
host.interactive
- specifies whether the job is interactive.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.
BadParameterException
- is thrown when the command line cannot be parsed.Job runJob(String commandLine, String host) throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, TimeoutException, NoSuccessException
commandLine
- the command to run.host
- hostname of the host on which the command must be run. If this
is an empty string, the implementation is free to choose a
host.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.
BadParameterException
- is thrown when the command line cannot be parsed.Job runJob(String commandLine, boolean interactive) throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, TimeoutException, NoSuccessException
Job.getStdin()
, Job.getStdout()
, and
Job.getStderr()
methods.
commandLine
- the command to run.interactive
- specifies whether the job is interactive.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.
BadParameterException
- is thrown when the command line cannot be parsed.Job runJob(String commandLine) throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, TimeoutException, NoSuccessException
commandLine
- the command to run.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.
BadParameterException
- is thrown when the command line cannot be parsed.List<String> list() throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, TimeoutException, NoSuccessException
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.Job getJob(String jobId) throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, BadParameterException, DoesNotExistException, TimeoutException, NoSuccessException
jobId
- the job identification.
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.
BadParameterException
- is thrown when the JobService cannot parse the job id.
DoesNotExistException
- is thrown when the JobService can handle the job id, but the
referenced job is not alive.JobSelf getSelf() throws NotImplementedException, AuthenticationFailedException, AuthorizationFailedException, PermissionDeniedException, TimeoutException, NoSuccessException
NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.
PermissionDeniedException
- is thrown when the method failed because the identity used did
not have sufficient permissions to perform the operation
successfully.
AuthorizationFailedException
- is thrown when none of the available contexts of the
used session could be used for successful authorization.
This error indicates that the resource could not be accessed
at all, and not that an operation was not available due to
restricted permissions.
AuthenticationFailedException
- is thrown when operation failed because none of the available
session contexts could successfully be used for authentication.
TimeoutException
- is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException
- is thrown when the operation was not successfully performed,
and none of the other exceptions apply.Task<JobService,Job> createJob(TaskMode mode, JobDescription jd) throws NotImplementedException
mode
- the task mode.jd
- the job description.
NotImplementedException
- is thrown when the task version of this method is not
implemented.Task<JobService,List<String>> list(TaskMode mode) throws NotImplementedException
mode
- the task mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.Task<JobService,Job> getJob(TaskMode mode, String jobId) throws NotImplementedException
mode
- the task mode.jobId
- the job identification.
NotImplementedException
- is thrown when the task version of this method is not
implemented.Task<JobService,JobSelf> getSelf(TaskMode mode) throws NotImplementedException
mode
- the task mode.
NotImplementedException
- is thrown when the task version of this method is not
implemented.Task<JobService,Job> runJob(TaskMode mode, String commandLine, String host, boolean interactive) throws NotImplementedException
Job.getStdin()
, Job.getStdout()
, and
Job.getStderr()
methods
mode
- the task mode.commandLine
- the command to run.host
- hostname of the host on which the command must be run. If this
is an empty string, the implementation is free to choose a
host.interactive
- specifies whether the job is interactive.
NotImplementedException
Task<JobService,Job> runJob(TaskMode mode, String commandLine, String host) throws NotImplementedException
mode
- the task mode.commandLine
- the command to run.host
- hostname of the host on which the command must be run. If this
is an empty string, the implementation is free to choose a
host.
NotImplementedException
Task<JobService,Job> runJob(TaskMode mode, String commandLine, boolean interactive) throws NotImplementedException
Job.getStdin()
, Job.getStdout()
, and
Job.getStderr()
methods.
mode
- the task mode.commandLine
- the command to run.interactive
- specifies whether the job is interactive.
NotImplementedException
Task<JobService,Job> runJob(TaskMode mode, String commandLine) throws NotImplementedException
mode
- the task mode.commandLine
- the command to run.
NotImplementedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


TK Furnitures
Create an account with us, you get benefits that only TK members have exclusive access to.
Form:
Please fill in the following form to sign up and become a member of the TK Furnitures family.
Are you a new user?
Yes
No
Sign Up


Support education instituitions/companies contribute to the development of a better society
We aim to connect Vietnam and oversea educational instituitions and conpanies especialy to contribute to the development of society through human recoure development
We provide various services to foreign companies and educational instituitions as required. For foreign partners and organizations, we will support in setting up and fostering collaboration with Vietnam companies and Vietnam educational instituitions. We can support the planning and managing process for industry-academia cooperation projects; consulting services in human resource development and so on.
We offer various services as required from different educational instituitions in Vietnam.


{% extends "common.html" %} {% block styleinclude %} {% endblock %} {% block jsinclude %} {% endblock %} {% block pagecontent %}
The following people have been associated with articles in this database. You can edit their names and dates of birth and death here.
{# https://codepen.io/ashblue/pen/mCtuA #}| ID | Name | DOB | DOD |
|---|---|---|---|
| {{ person.id }} | {{ person.name }} | {{ person.date_of_birth }} | {{ person.date_of_death }} |


Understanding Lottery Ticket Hypothesis
On 7th of this month I attended a meetup at SilverSparrow.The speaker Megh Makwana during his presentation on Mixed Precision Training made a reference to a paper titled “Lottery Ticket Hypothesis”.The title and its relevance to theoritical understanding of deep learning pushed me to go through it.
Here my take on this paper.Just a disclaimer that this is my first hand account and by no means written by Phd. bent of mind. :)
Background
Those who have some knowledge about Neural Networks understood the importance of Initilization(of weights) for sucessfully training a model. Sometimes your choice of weight vector would converge early and sometimes it don’t no matter how long you train it.The question why they(Neural Network) behave in this manner is still baffling both the deep learning reseachers and coders.More on this in later half of the post,till then keep horses of your mind reined in.
Why the name “Lottery Ticket” ?
The authors of this paper Micheal J and Carbin of CSAIL,MIT tried to draw an analogy between initialisation of NN to buying a bag of lottery tickets and the “winning ticket” being the model that is successfully trained. You bought a bag full of every possible ticket that has the chance of winning the lottery and only one of them is going to be the winning ticket.
What the paper is trying to say or establish ?
Simply put it states that there exists a smaller sub-network within the larger network that is capable of being trained on new data to make predictions that doesn’t departs too far from the original network, provided weights are reset (not reinitilised) to the state that the original network had when the training begins.
Roadblocks
The paper used a brute-force approach to identify ‘subnetworks’ and doesn’t provide a clear framework for identifying them in a larger network.
Also some warmup strategy is to be used in large and deep networks.
Future Directions
If you want to add something or could explain it better some other way , contact me at tech DOT rajk AT gmail.com, I would update this if found interesting.


brightness_medium
100٪
refresh
tonality
100٪
refresh
exposure
100٪
refresh
opacity
100٪
refresh
straighten
1×
refresh
tune
photo_filter
brightness_low
brightness_high
tonality
tonality
exposure
exposure
opacity
opacity
straighten
straighten
grid_off
grid_on
No JavaScript? Go home kid!


'I Was Ready To Kill Luis Suarez'
by SL InternationalFollowing Raheem Sterling's bust-up with England teammate Joe Gomez earlier in the week, a Liverpool star has revealed why he was once "ready to kill" former colleague Luis Suarez during a training session.
Read: Ronaldo Facing Two-Year Ban?
On Monday, Sterling was dropped from the England squad after reportedly grabbing Gomez by the throat in an incident that left the Liverpool defender with a scratch beneath his eye.
The severity of the incident has since been played down by both players, with Sterling accepting his punishment and issuing a public apology, but it has opened discussion into the dynamic of football dressing rooms.
Reds captain Jordan Henderson has since revealed how he, too, nearly came to blows with former teammate Suarez during their shared time at Liverpool.
Click through the gallery below to see some other footballers who did not see eye to eye!
"I was trying to do the best I can do," Henderson said, according to the Daily Mail.
"Being a footballer, there is criticism and people doubting you all the time.
"At that time, I was a young player and there were one or two things Luis did in training that I didn't like.
"It made me feel I wasn't good enough to be in the same team in training. His arms were up, like 'what the f***, what is he doing', like I shouldn't be there.
"That really hurt me.  From that point, I had a good relationship with Luis. The next game I set him up for his goal.
"He was brilliant with me after that and I was really close to him after that, and he was another big player I learned from."
Read: OFFICIAL: Ruthless England & France Qualify For EURO 2020
Sterling missed England's 7-0 2020 UEFA European Championship qualifying win over Lithuania on Thursday, during which Gomez was booed by sections of the crowd.


unjQuerify is a tool developers can use to migrate an existing codebase dependant on jQuery to vanilla JavaScript.
The web has come a long way since the creation of jQuery in 2006. At its inception, the web was fraught with browser incompatibilities. Now, web APIs have evolved to be more standardized and developer-friendly. This removes part of the need for jQuery, and can reduce bloat on webpages, removing unnecessary page loading times, increasing performance, and allowing the web to progress.
TODO


My previous place on the web hadn't been touched in well over 10 years. Sure, I've tried to re-ignite the engine lots of times but perfectionism always got the best of me. Now I just wanted to start and take anyone interested along for the ride.
Take care,
Rommert


Get the best news in your e-mail every day.
These are custom attributes that correspond to the "Collections" section of the Semantic UI widget set.
The ui-breadcrumb
element/attribute corresponds to the
Breadcrumb Semantic element.
<ui-breadcrumb="router.bind: router">
).The ui-form
element/attribute corresponds to the Form
Semantic element.
aurelia-validation
.ui-form-field
tag/attribute.The ui-grid
element/attribute corresponds to the Grid
Semantic element.
ui-grid-column
, ui-grid-row
?The ui-menu
element/attribute corresponds to the Menu
Semantic element.
ui-menu-item
<content>
colored
and fitted
variations are
on menu-item
The ui-message
element/attribute corresponds to the Message
Semantic element.
icon
bindingclose
icon?hidden
/visible
enum state bindingcolor
binding?size
binding?We just updated our privacy policy here to better service our customers. We recommend reviewing the changes.
Get the best news in your e-mail every day.
We're fetching that content for you.
The ui-table
element/attribute corresponds to the Table
Semantic element.


Iason Heine:
OK, look, you can quit any time you want to, but you still need to be paid, right? Let's take care of that and then talk about whether or not you'll quit...
Return


Demo settings
This is a demo form for the Device Payment API.
On a checkout page, the currency, amount and merchant details are normally set on the server side,
but for the purpose of demonstration, we put a limited number of parameters
that controls the payment here.


This is a demo page, for more examples, the complete documentation, tips & tricks, a support-forum and even a configuration robot, visit caroufredsel.frebsite.nl
Basic carousel.
Basic carousel + timer.
Carousel scrolled by user interaction.
Carousel with a variable number of visible items with variable sizes.
Responsive layout example resizing the items (resize your browser).
Responsive layout example centering the items (resize your browser).


Make a bean with one property. Use it in an Spring App. Set that property via PropertyPlaceHolderConfigurer.
PropertyPlaceHolderConfigurer


RT @headius: Judging by the attendees at #rubyconf and the apps they're building, I'd say Ruby is *far* from "dying". Don't believe the FUD.
11/10/2013, 1:38:56 AM
Favs: 0
Retweets: 0
link--- layout: tweet ---
RT @headius: Judging by the attendees at #rubyconf and the apps they're building, I'd say Ruby is *far* from "dying". Don't believe the FUD.
11/10/2013, 1:38:56 AM
Favs: 0
Retweets: 0
link


The Mk2 PV Controller that I and others are now using relies on the small amount of leeway that is available when using a digital supply meter, such as the Landis 5235A. This allows surplus PV energy to be temporarily stored in the grid before being reclaimed without penalty for consumption by the dump load. While surplus power is being routed in this way, the amount of energy passing to and fro through the meter is just one or two mains cycles' worth, i.e. around 100J with a 3kW dump load. This is well within the 3600J window of flexibility that a digital meter allows.
Once PV has been installed, the supply meter should no longer be able to turn backwards. One way for the supplier to achieve this is for a disc meter to be equipped with a mechanical device which prevents it from going backwards. In order to cater for non-resistive loads and the like, there must presumably be limited ability for such a meter to unwind. Maybe it can go backwards for half a turn, or a whole turn.
It would be really helpful to know how such a meter behaves. On a day when there is surplus PV, a good series of tests would be:
1. Apply a high power load so that the meter is clearly in consumption mode. Then, when the disc-marker is visible, cut the load. Question: how far does the disc unwind before being stopped by the mechanical endstop?
2. Arrange for the disc marker to be visible when the meter is sitting against the backstop (house exporting). Briefly apply a high power load and then turn it off again. Question: after the meter has briefly advanced, does it return to the same resting point? I trust that it will do.
3. Repeat test 2, but with the load being applied for longer durations. Question: for how long can the load be applied before the endstop position is affected? The answer really needs to be in Joules, with 0.001kWh being 3600J. Maybe this corresponds to one revolution of the disc?
Hope someone can help ...
Re: Use of Non-reversing Disc Meter for PV Control
I believe most such meters carry the calibration on the face: mine says "187.5 rev/kWh". When I next get the car out, I'll take a close look at my meter (it has a transparent case) and I might be able to see the ratchet mechanism.
I really think all the accumulated knowledge on this site about electricity meters ought to be collated into one article. Does anyone share that view? Would it be useful?
Re: Use of Non-reversing Disc Meter for PV Control
I'd appreciate that Robert, I'm new to all this I have a Landis & Gyr meter (5258 I think) that was recently installed as my old disc meter was merrly going backwards, I know nothing about how these beasts work. I've just got an Eco Eye Smart PV, this is telling me that I'm importing & exporting whilst my Mk2 is heating water, now I trust that the Mk2 is working faster than the meter so I'm not actually importing and that the smart PV is not mimicking the meter but working much faster, a matter that I've e-mailed Eco Eye with, as yet no reply. It would be good if someone with the knowledge could confirm that all is in order.
Re: Use of Non-reversing Disc Meter for PV Control
While the LED on my digital supply meter remains 'on', I feel confident that I'm not being charged. Because Mk2 maintains a zero net flow of energy at the supply point, our meter soon enters its 'anti-creep' mode whereby its registers are no longer updated until any significant amount of consumption occurs.
With a non-reversing analogue (disc) meter, the acid test is presumably whether the disc moves forward or not while Mk2 is doing its thing. Because a disc meter doesn't have a lockdown mode, I would expect the dial to drift very slowly one way or the other when Mk2 is in operation. Varying safetyMargin_watts should have a linear effect on the speed of drift. With this value set to, say, 50W, I would expect the dial to slowly drift backwards until the mechanical end-stop has been reached. With it set to -50W, I would expect the dial to drift forwards at a rate corresponding to around 50W.
If forward movement of the dial can't be halted by this means, then that would be a problem. Such an outcome would mean that the technique of temporarily lodging surplus energy in the grid doesn't work with disc-style meters. With no more than 100J flowing to and fro, I would be most surprised if that behaviour was unacceptable to the non-reversing mechanism.
Re: Use of Non-reversing Disc Meter for PV Control
My meter is of this type...
i had a unlimited reverse rotation disc type meter prior to PV.. which was 187.5 rev per kw...
then it was replaced with another disc meter, rated at 200 rev per kw.
it now however only goes back about half a turn..before stopping.
there are 2 stop points, one near the zero marker, one near the 4 marker.. so not exactly half a turn...
one is a bit more, the other a bit less.
when testing my SSR + arduino i had it set to a 2 second on, 5 second off duty cycle...
and as you would expect... it went forward to 2seconds... and then backwards for 5 seconds :)
until it either hit the stop point (so indicating i'm losing energy to the grid...)
or until the next 2 second on cycle, depending on how much sun is shining..
i had previously tested it with a kettle on an extension lead...(as the meter is outside.)
and i played around with the kettle switch cycling the power on and off...much to the amusement of the postman and the meter reader (who i'd never seen before) who both gave me very odd looks..
so for my meter.. half a rev.. is about 2.5w/h leeway i guess.
rich.
Re: Use of Non-reversing Disc Meter for PV Control
Shameless beg, does anyone know anything about my Landis & Gyr meter 5258? Mainly what the LED should be doing during import, export, and no flow and what does it mean as it's flashing. The data sheet tells sweet FA, the display reads alternately the usage reading and "red" so I presume I'm on the red phase. does anyone know how many Watts I can pull without being charged etc.
I flatly refuse to stand outside with a kettle on an extension lead, that is far too Victor Meldrew!
Re: Use of Non-reversing Disc Meter for PV Control
richd: so for my meter.. half a rev.. is about 2.5w/h leeway i guess.
Thanks for the quick reply. 2.5Wh is over twice as much flexibility as our digital meter allows. This suggests that the Mk2 philosophy should work fine with disc meters (phew!)
richmc: Shameless beg, does anyone know anything about my Landis & Gyr meter 5258? Mainly what the LED should be doing during import, export, and no flow and what does it mean as it's flashing.
The manual doesn't help much for our Landis 5235 either. However, this is how it appears to work:
When consuming power, the LED flashes every 0.001kWh, or 3600J. As an aside, the flash duration is around 38mS, and can be easily detected using my cut-down 'mini' Mk2 code. Being able to detect meter pulses is really useful for calibrating your setup.
When exporting power, the LED is constantly on.
If the net flow of power through the meter drops below around 12W for some minutes, it goes into 'anti-creep' mode which (unhelpfully for us) is indicated by the LED being constantly on.
Now for the fun bit. Having been charged for some
powerenergy (pulse seen), if the meter falls back below that same level, the LED goes on. It stays on until it's next time for you to be charged at which point it goes off. On to off transitions are chargeable events. If the level drops by less than 0.001kWh after the LED goes on, then that's fine - no energy is lost. But if it drops too far, some energy is permanently lost to the grid - you've exported it for no gain and it's no longer freely available for your use. When energy is next drawn from the grid, the LED will go off 'sooner' than it did before. You've essentially been charged again for the same packet of energy. Providing that the packets of energy are sufficiently small, i.e well within the 0.001kWh window, the same energy can pass to and fro endlessly without being charged for.You can see all this in action by uncommenting the two lines which contain energyInBucket_4led just after the "WARNING" statement in my cut-down Mk2 code. This will display the amount of power flowing each second in either direction. Simple experiments with a suitable load should show exactly how your meter works.
If a kettle seems rather naff, how about an angle grinder. That should keep the postman at bay ...
Re: Use of Non-reversing Disc Meter for PV Control
richmc
Nobody knows which phase is which (the supply company ought do, but they don't always!), you only reliably know the sequence if you have more than one!
RED means Reverse Energy Detected. I don't know where I got my manual from now, it was floating around on the web somewhere.
Re: Use of Non-reversing Disc Meter for PV Control
calypso_rae on Tue, 18/0
Robin, does this mean that old disc type meters could have a larger energy bucket than 3600J ?
Would there be any benefit to this? Perhaps evening out spikes in load a little?
Re: Use of Non-reversing Disc Meter for PV Control
stuart: does this mean that old disc type meters could have a larger energy bucket than 3600J ?
Yes, I suppose that it does. My value of 1800J really shouldn't be regarded as a key parameter. Any number will do. It's simply a threshold above which the triac is turned on, and below which it isn't.
The upper half of the energy bucket simply serves as an overflow. If there was no overflow, the bucket would fill up to some huge value after the thermostat had tripped, and the algorithm would then attempt to consume all that (chargeable) energy after the water had cooled.
Having min and max limits of 0J and 3600J respectively feels right to me because this replicates my understanding of how digital meters work. Mk2 needs a range of around 200J max to do its thing. This is well within the zone of tolerance in all known types of meter. The nominal capacity of the bucket is of no importance so long as it's sufficiently large to accommodate that range.
If calibration is way out, then each 'on' cycle of the dump load will be seen to consume something other than 60W. If the system is out by a factor of three, then Mk2's operation will nominally cover a 600J range. With a bucket having a nominal capacity of 3600J, there is considerable tolerance of poor calibration.
None of these absolute values have the slightest effect once distribution of power has got under way. What does matter, however, is the system's linearity. More on this to follow on your transformerless thread ...