Class representing a bound TCP socket that listens for incoming TCP connections.
More...
#include <cl_TCPServer.h>
|
| template<class T > |
| std::vector< T * > | select (const std::vector< T *> &sockets, float timeoutSeconds) |
| |
Class representing a bound TCP socket that listens for incoming TCP connections.
§ TCPServer() [1/4]
| SSocks::TCPServer::TCPServer |
( |
| ) |
|
Generate an inactive server object.
§ TCPServer() [2/4]
| SSocks::TCPServer::TCPServer |
( |
uint16_t |
port, |
|
|
bool |
forceBind = false , |
|
|
const std::string & |
localHostAddr = "<IP_ADDRESS>" |
|
) |
| |
Generate a server and start it with the provided arguments.
- Parameters
-
| port | The port to listen on. |
| forceBind | Whether to force the bind even if the indicated port appears to be in use. |
| localHostAddr | Address of local interface to listen on. |
- See also
- start()
§ TCPServer() [3/4]
| SSocks::TCPServer::TCPServer |
( |
const TCPServer & |
| ) |
|
|
delete |
Copying is prohibited, as sockets are unique resources.
§ TCPServer() [4/4]
| SSocks::TCPServer::TCPServer |
( |
TCPServer && |
moveFrom | ) |
|
Move constructor to transfer ownership to a new TCPServer.
- Parameters
-
| moveFrom | The object to transfer the resource from. |
§ ~TCPServer()
| SSocks::TCPServer::~TCPServer |
( |
| ) |
|
§ accept()
Accept an incoming connection and return it as a new TCPSocket object.
If blocking is on then this function will block until an incoming connection arrives. Otherwise it may potentially return an unconnected socket object. Be sure to check isOpen() on the returned socket in both cases, as sometimes the remote machine may not complete the connection.
Note that TCPServer can be used with SSocks::select(). The vector returned by select() will contain only those servers that have incoming connections pending.
- Returns
- A TCPSocket object representing the incoming connection.
§ isBlocking()
| bool SSocks::TCPServer::isBlocking |
( |
| ) |
const |
Indicates whether or not the server is in blocking mode.
- See also
- setBlocking()
- Returns
- true if the server can block; false if it is in non-blocking mode
§ isOpen()
| bool SSocks::TCPServer::isOpen |
( |
| ) |
const |
Indicates whether the server is bound to a port and listening for connections.
- Returns
- true if the server is listening; false if it is not.
§ operator=() [1/2]
Copying is prohibited, as sockets are unique resources.
§ operator=() [2/2]
| void SSocks::TCPServer::operator= |
( |
TCPServer && |
moveFrom | ) |
|
Move-assign operator to transfer ownership to a new TCPServer.
- Parameters
-
| moveFrom | The object to transfer the resource from. |
§ setBlocking()
| void SSocks::TCPServer::setBlocking |
( |
bool |
block | ) |
|
Set whether or not the server is in blocking mode.
A blocking server will pause its thread on accept() until it catches an incoming connection attempt. A non-blocking server will return immediately, even if no incoming connections were available. All sockets, including servers, default to blocking.
- Parameters
-
| block | Set true to allow the server to block; false for non-blocking mode |
§ start()
| void SSocks::TCPServer::start |
( |
uint16_t |
port, |
|
|
bool |
forceBind = false , |
|
|
const std::string & |
localHostAddr = "<IP_ADDRESS>" |
|
) |
| |
Bind to the indicated port on interface 'localHostAddr'.
- Parameters
-
| port | The port to listen on. |
| forceBind | Whether to force the bind even if the indicated port appears to be in use. This option is present because a bound port takes a certain amount of time to become free again after being released. In general it should not be necessary to use it. |
| localHostAddr | Address of local interface to listen on. This must be an IPv4 address in dot-quad notation, such as "<IP_ADDRESS>". The default address of "<IP_ADDRESS>" will listen on all available interfaces. |
§ stop()
| void SSocks::TCPServer::stop |
( |
| ) |
|
Stop listening and release the socket.
Blocking will be reset to true.
§ select
template<class T >
| std::vector<T*> select |
( |
const std::vector< T *> & |
sockets, |
|
|
float |
timeoutSeconds |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file:


Thanks for downloading SimpleViewer!
For instructions and support on using SimpleViewer, visit the SimpleViewer Support Home Page.
Creating your own SimpleViewer gallery is easy, find out how.
For advanced customization options, no branding, unlimited images and more, check out SimpleViewer-Pro.
© 2014 SimpleViewer Inc. All rights reserved. | Terms of Use.


HOME
BLOG
PROJECTS
#DevLyfe
The blog behind the journey
Phase Zero
Week One: Basic HTML & CSS
Technical Blog
Culture Blog
Week Two: Intermediate HTML & CSS
Technical Blog
Week Three: Javascript
Technical Blog
Culture Blog
Week Four: Ruby
Technical Blog
Culture Blog
Week Five: Ruby Classes
Technical Blog
Culture Blog


Irish, Charles
| Birth Name | Irish, Charles |
| Gender | male |
| Age at Death | 87 years, 9 months, 25 days |
Narrative
Saturday, 19 Sept, 1904. MARRIED FOR SIXTY YEARS.
Few couples live to see their 60th anniversary of their wedding. The unique occasion was celebrated last Monday by Mr & Mrs Charles Irish, who reside at "Petherton" Trafalgar St. Petersham. They are a happy couple, of the true Bulldog English breed, who settled over half a century ago in Sydney. Both are natives of South Petherson, Somerset, England. Mr Irish was born in 1817, so that makes him 87 years of age. Mrs Irish is not so old, although she is 82. They were married in the year 1844, at home, by the Rev. H. Bond, & 55 years ago reached Sydney, where they have since resided. For some years Mr Irish followed his trade, the business of a tailor, & resided in Ash Street, where Anthony Horden & Sons mammoth Store is now being built. He continued to follow his trade actively till 10 years ago, when he retired, although as recent as six years ago, he turned out a coat for a friend, just to show that his hand had not lost its cunning in the art.
As a result of the marriage 13 children were born, of whom 8 survive. One son is engaged at Grimley's, the Saddler, in Clarence St, while another is with Mr C. Grimley, of Gilgandra. The daughters are Mrs G. Brooks (Stanmore), Mrs H.E. Notting (Summer Hill), Mrs T.W. Miller (Petersham), Mrs G. Corbett (Naremburn), Mrs C. Butler (Summer Hill), & Miss Susan Irish, who resides with her parents. There are 21 grandchildren, and one Great-grandchild. Sisters Mrs Sarah Horsey, & Mrs Susan Harding, live in Sydney, & a brother Mr Samuel Irish, lives in Brisbane, and a sister Elizabeth in England, who has reached the grand age of 92 years !!!
Address:- "Petherton" 21 Trafalgar Street, Petersham, opposite the station, on the south side.
SMH - Charles IRISH, died 6th July, 1905, at his residence, 227 Trafalgar St, Petersham, aged 88 years.
FUNERAL - The Friends of Messrs John & Charles IRISH are respectfully invited to attend the Funeral of their late dearly loved Father CHARLES IRISH, to leave his late residence, Trefalgar St, Petersham, To-morrow, at 2.15pm, for the Necropolis, via Petersham Station.
Events
| Event | Date | Place | Description | Sources |
|---|---|---|---|---|
| Birth | 1817-09-11 | White Cross Somerset Eng | ||
|
|
||||
| Christening | 1817-10-03 | Parish Church of Lopen Somerset Eng | ||
|
|
||||
| Death | 1905-07-06 | At home Trafalgar St, Petersham NSW Aust | ||
|
|
||||
| Burial | 1905-07-08 | Rookwood Independant Cemetery, Lidcombe NSW | ||
|
|
Parents
| Relation to main person | Name | Birth date | Death date | Relation within this family (if not by birth) |
|---|---|---|---|---|
| Father | Irish, John | 1787-04-07 | 1831 | |
| Mother | Perry, Susanna | 1789 | 1865 | |
| Sister | Irish, Elizabeth | 1812 | 4th Qtr 1910 | |
| Brother | Irish, John | 1813-08-00 | 1884-11-00 | |
| Sister | Irish, Sarah | 1815-10-00 | 1880-06-21 | |
| Irish, Charles | 1817-09-11 | 1905-07-06 | ||
| Brother | Irish, Joseph | 1819-09-00 | ||
| Brother | Irish, William | 1821-01-00 | ||
| Brother | Irish, James | 1822-06-00 | 1898-09-02 | |
| Brother | Irish, William | 1824-04-00 | 1877-02-27 | |
| Brother | Irish, Samuel | 1826-06-00 | 1905-10-10 | |
| Sister | Irish, Susan | 1828-10-24 | 1877-04-25 | |
| Brother | Irish, Thomas | 1831-11-00 |
Families
Family of Irish, Charles and Derriman, Martha |
|||||||||||||||||||||||||||||||||||||||||
| Married | Wife | Derriman, Martha ( * 1822-07-06 + 1904-10-01 ) | |||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
| Narrative |
I have a copy of the Marriage Banns of Charles Irish & Martha Derriman both of the Parish Church of South Petherson, on Sunday 4th Aug, 11th Aug & 18th August, 1844., by me Henry Bond Vicar. |
||||||||||||||||||||||||||||||||||||||||
| Children |
| Name | Birth Date | Death Date |
|---|---|---|
| Irish, James & Susan | 9 Oct 1844 twins | before 1849 |
| Irish, Sarah Ann Derriman | 1845-10-06 | 1854 |
| Irish, Mary Elizabeth | 1847-02-20 | 1940-07-13 |
| Irish, William Harbinger | 1848-11-23 | 1850-01-02 |
| Irish, Susan | 1850-09-09 | 1915-10-26 |
| Irish, John Thomas Derriman | 1852-07-13 | 1923-07-18 |
| Irish, Charles | 1854-08-08 | 1921-07-01 |
| Irish, Martha Ann | 1856-11-11 | 1947-11-18 |
| Irish, Sarah Jane | 1859-06-20 | 1910-07-08 |
| Irish, Florence | 1862-03-02 | 1950-06-23 |
| Irish, Emily Remilia | 1865-03-04 | 1865-08-22 |
| Irish, Anne Louise | 1866-11-10 | 1966 |
| Type | Value | Notes | Sources |
|---|---|---|---|
| _UID | 43098F9C582DD6119853F3B3BADA3A6EB007 |
Attributes
| Type | Value | Notes | Sources |
|---|---|---|---|
| _UID | EB7B5D1ED42DD9119522F007287EC75C43D0 |


Abstract AWS Lambda function, that acts as a container to instantiate and run components and expose them via external entry point.
More...
|
| | LambdaFunction (string name, string descriptor) |
| | Creates a new instance of this Lambda function. More...
|
| |
| override void | SetReferences (IReferences references) |
| | Sets references to dependent components. More...
|
| |
| new async Task | OpenAsync (string correlationId) |
| | Opens the component. More...
|
| |
| async Task | RunAsync () |
| | Runs this Lambda function, loads container configuration, instantiate components and manage their lifecycle, makes this function ready to access action calls. More...
|
| |
|
async Task< string > | ActAsync (string input) |
| |
| Func< string, Task< string > > | GetHandlerAsync () |
| | Gets entry point into this Lambda function. More...
|
| |
|
| CounterTiming | Instrument (string correlationId, string methodName) |
| | Adds instrumentation to log calls and measure call time. It returns a CounterTiming object that is used to end the time measurement. More...
|
| |
| void | InstrumentError (string correlationId, string methodName, Exception ex, bool rethrow=false) |
| | Adds instrumentation to error handling. More...
|
| |
| virtual void | Register () |
| | Registers all actions in this Lambda function. More...
|
| |
| void | RegisterServices () |
| | Registers all Lambda function services in the container. More...
|
| |
| void | RegisterAction (string cmd, Schema schema, Func< string, Task< string >> action) |
| | Registers an action in this Lambda function. More...
|
| |
| async Task< string > | ExecuteAsync (string input) |
| | Executes this Lambda function and returns the result. This method can be overloaded in child classes if they need to change the default behavior More...
|
| |
|
string | GetCommand (string input) |
| |
|
string | GetCorrelationId (string input) |
| |
|
Parameters | GetParameters (string input) |
| |
|
| CompositeCounters | _counters = new CompositeCounters() |
| | The performanc counters. More...
|
| |
| CompositeTracer | _tracer = new CompositeTracer() |
| | The tracer. More...
|
| |
| DependencyResolver | _dependencyResolver = new DependencyResolver() |
| | The dependency resolver. More...
|
| |
| Dictionary< string, Schema > | _schemas = new() |
| | The map of registred validation schemas. More...
|
| |
| Dictionary< string, Func< string, Task< string > > > | _actions = new() |
| | The map of registered actions. More...
|
| |
| string | _configPath = "../config/config.yml" |
| | The default path to config file. More...
|
| |
Abstract AWS Lambda function, that acts as a container to instantiate and run components and expose them via external entry point.
When handling calls "cmd" parameter determines which what action shall be called, while other parameters are passed to the action itself.
Container configuration for this Lambda function is stored in "./config/config.yml"
file. But this path can be overriden by CONFIG_PATH
environment variable.
LambdaClient
public MyLambdaFunction(): base("mygroup", "MyGroup lambda function") { }
}
var lambda = new MyLambdaFunction();
await service.RunAsync();
Console.WriteLine("MyLambdaFunction is started");


Current Objective
Gain acceptance to the 5 year Electrical and Computer Engineering Bachelors/ Masters degree program at Georgia Tech following my Junior year and graduate with honors.
Below I will add a common image for every Computer engineering specific class I have taken in my major and every programming language I know.
No amount of pictures could express the love for my school, so I'll show some of my favorites.
Gain acceptance to the 5 year Electrical and Computer Engineering Bachelors/ Masters degree program at Georgia Tech following my Junior year and graduate with honors.
I love to think ahead. I have short and long term goals; as well as an opportunities bucket list. I want to try many differnet sides of computer engineering before I graduate so I know what type of work inspires me the most. I also want to fit the most amount of learning and experience into my undergraduate degree as possible.
I focus so much on work experience because it is an essential component in pin-pointing the path I would like to take with my career. Also I feel that the hands-on experience through internship is equally important, if not greater, than the academic component of becoming an engineer.
In a world that is slowly becoming more globalized, working abroad is an goal that college students should strive to accomplish. I am apart of the International Program at Georgia Institute of Tecchnology with a key focus of study in Germany. I hope to work abroad in Germany sometime during my degree, meanwhile I am taking classes on international policy and economics on campus in Atlanta, GA.
Work Experience |
||
Freescale SemiconductorMicro-controller Applications Intern Austin, Texas May 2015 - August 2015 |
||
General Motors Co-op Student |
||
1.Callibration Specialist/ Drive Quality Engineer Milford Proving Grounds, Michigan May 2014 - July 2014 |
2.Engine Teardown/ Engine Validation/ Engine Controls Pontiac, Michigan August 2015 - January 2016 |
3. To Be Determined |
Georgia Tech Research InstituteElectrical Systems Laboratory
Radar Refurbishment for B-1 Fighter Jet Part-time Student Research Assistant September 2013 - Current |
||
Leadership Experience |
|
After School Research Program Fall 2014 I charterd a new section of our high school activism efforts. This new section is an after school program where engineering students mentor students at Kipp Collegiate, a local, public high school, to complete research projects. Upon sucessful completion these projects will be entered into science and engineering competitions. The program will start Spring 2015. |
One GTRI Collaboration Award 2013 For being a key member in the project "Pulse Processing Deficiency Studies". During my assistantship in the 2013-2014 school year, I wrote MATLAB code that was used in radar technology research projects and experiments for the Electronic Systems Laboratory of Georgia Tech Research Institute. |
|
Surgeon General's Certificate of Appreciation and Medal of Honor - Spring 2013 The certificate was awarded in recognition of dedication to the field of preventative medicine at the 2013 Intel ISEF (International Science and Engineering Fair) at the affiliate Georgia Science and Engineering Fair, Athens, GA, based on my "Gluten Free: Expense Extracted". The project was researched at the Chemistry Department at the University of West Georgia. I researched detoxifying Gluten which is very harmful to those with Gluten Intolerance. |
|
|
National Youth Science Camp - Summer 2013 I was one of two science students selected from the state of Georgia to attend The National Youth Science Camp. The NYSC is part of the National Youth Science Foundation. The program is recognized as the nation's premier science leadership program for college bound students. |
|
|
C2C4 Scholar Program and Dual Enrollment - Fall 2012 During my senior year of high school I decided to dual enroll at University of West Georgia and start my college classes early. I also got to UWG's Chemistry Lab to do my science project, Gluten Free: Expense Extracted through a program called the Care to Collaborate for (C2C4) Scholar Program. The C2C4 Science Scholar Program at the University of West Georgia allows select high school students to utilize the university's libraries, lab-space, and instrumentation in order to develop competitive, state of the art Science Fair Projects, and the opportunity to be mentored by professors. |
|
|
Governors Honors: Math and Communicative Arts The Georgia Governor's Honors Program is a four week summer residential instructional program designed to provide intellectually gifted and artistically talented high school students challenging and enriching educational opportunities not usually available during the regular school year. |
|
Ingles Markets January 2011 - June 2013 Cashier and Deli Associate Customer Service and Responsibility. This was my first job that I used to save for college, a car, and dual enroll at University of West GA my senior year of high school. |
|
|
Band Captian and Flute Section Leader I played the flute and piccolo for my high school marching band. I was Flute Section Leader over 14 flute players, marching and symphonic, for my Junior and Senior years and Band Captian over all of the band for my senior year. |
329417 Georgia Tech Station, Atlanta, GA 30332 |<EMAIL_ADDRESS>| Tel:<PHONE_NUMBER>


Kimberly Anne Arintoc
Bachelor of Science in Computer Science
Profile
I'm Kimberly Anne Arintoc, currently a third-year BS in Computer Science student from Cavite State University Silang- Campus. I chose my course because I want to help others especially students with the use of technology.
Abilities
Good listener
Ability to handle stress
Prioritizing the most important
Education
2015 - present
BS in Computer Science
Cavite State University Silang- Campus
College
2011 - 2015
High School
Langkaan II National High School- Annex
Graduated with special award
2007 - 2011
Elementary
Dasmariñas Elementary School
Interest
Books
Reading books is one of my favorite hobby. Sometimes, its better to put down all your gadgets and try to have a read from a book.
Sports
I don't always play sports but when I have extra time, I play badminton as an exercise.
Contact
Address
Blk. 82, Lot 21A, Brgy. Langkaan II
Dasmariñas City, Cavite Phone Number
+63<PHONE_NUMBER>
Blk. 82, Lot 21A, Brgy. Langkaan II
Dasmariñas City, Cavite Phone Number
+63<PHONE_NUMBER>


NWChem Frequently Asked Questions
General information about NWChemWhere is the Programmer's Manual? What citation should I use when publicizing results obtained from NWChem? Please see the NWChem Citation page for the citation to use when publicizing results obtained from NWChem. How do I submit a job on MPP2? There is an llnw script used for submitting NWChem jobs on MPP2 located in /home/scicons/bin. Please refer to the MSCF website for more details. Is there any on-line training available? The slides from the NWChem / Eccé Tutorial workshop, July 1999 are now available. Where do I go for help with a GA problem? If you have problems with GA, please checkout the Global Arrays Support Page. If your problem is not resolved there, please send an e-mail to Global Arrays Support with a full description of your problem. Where do I go for help with NWChem problems? First, look at the FAQ (this page) and Known Bugs pages to see if your problem is described. If not, then please follow the directions on the Reporting Problems with NWChem page. This includes procedures for contacting the developers, directions for signing onto the nwchem-users list, and the archives of the nwchem-users list. Input ProblemsI get the message: ! warning: processed input with no task. What is wrong? Have you used emacs to create your input file? Emacs usually does not put and an end-of-line as a last character of the file, therefore the NWChem input parser ignores the last line of your input (the one containing the task directive). To fix the problem, add one more blank line after the task line and your task directive will be executed. Initial Guess and Convergence ProblemsI am having problems getting my initial guess in the correct order. How I do use the swap directive?
Remember that you can (and should!) look at your initial orbitals
by putting the line print "initial vectors" into the SCF block of your input deck. If the order isn't correct, you can use the "swap" directive to change the order of the orbitals. For example: vectors atomic swap 173 175 174 176 output end.movecswill cause the orbitals 173 - 175 to be swapped to 175, 176, 173 and 174. Note that the swaps are pairwise: first 173 and 175 are swapped, then the the current orbitals 174 and 176 are swapped. More information on initial orbitals can be obtained in Section 10.5 of the User's Manual. I am having problems getting an open shell system to converge. What strategies will help me? Open shell systems, especially those containing transition metals or heavy elements with many unoccupied d and f orbitals, can be especially hard to converge. Running a spin unrestricted calculation can exacerbate the problem since all other possible spin states can mix into the wavefunction. It may also be true that your particular calculation has multireference character and, by using SCF or DFT, you are forcing it into a single determinate wavefunction. That being said, to converge your system, you need to guide the code to the particular state that you want. This may be a very difficult task and different starting guesses can converge to different solutions, especially if there is symmetry breaking. Here are four different suggestions to help you with your problem:
I am having problems converging an ionic, extended system. What can I do? This problem usually shows up when a minimum basis set is used and where a lot of charge has to be moved a long way but the minimal basis does not providea lot of coupling between the orbitals. The initial guess may be modified by
I am having convergence problems with the final iterations of a calculation using a large basis set. What can I do? This problem generally occurs when high precision is necessary because of near linear dependencies in the basis set and there is insufficient precision in the computed gradient or hessian vector product to converge to the requested threshold. The first item to check is to make sure that the convergence threshold is realistic (not below 1e-7 or perhaps 1e-8). If doing an MP2 gradient with the TIGHT directive, make sure the SCF input block is after the MP2 block and then in the SCF block put SCF thresh 1e-7 tol2e 1e-10 ENDThis may still not fix the problem if the calculation is using the semi-direct algorithm. In this case:
Do you have an example of a complex fragment guess? The following is an advanced fragment guess (NOT for beginners!). It consists of two Fe3+ ions in a simulated lattice and the objective is to compute the energy difference between the ferro and anti-ferromagnetic states. This is accomplished by first using the atomic guess to do an ROHF calculation on an Fe3+ ion with d5 occupation. The next calculation is on the high spin system and it merely has to start from the two ions ... the open shell orbitals will automatically be contiguous and so nothing else is needed. The final calculation is a UHF for which the 5 open shell electrons on one atom must be spin up and on the other spin down. The initial guess orbitals start off from the previous high spin solution. However, the d orbitals on the second atom must have the beta orbitals in the right place, hence the swap directive. The net result is a completely localized guess with the desired spin coupling. start fe2 geometry noautoz autosym Fe 1.45 0.071 0.84 Fe -1.45 0.071 -0.84 Bq 3.02 0.84 0.03 charge -1. Bq -0.00 1.04 0.03 charge -1. Bq 1.33 -1.67 0.03 charge -1. Bq 2.78 -0.69 2.33 charge -1. Bq 1.45 1.61 2.33 charge -1. Bq 0.11 -0.69 2.33 charge -1. Bq -1.33 -1.67 0.03 charge -1. Bq -3.02 0.84 0.03 charge -1. Bq -0.12 -0.69 -2.25 charge -1. Bq -1.45 1.61 -2.25 charge -1. Bq -2.78 -0.69 -2.25 charge -1. end geometry Fe Fe 0 0 0 symmetry c2v end basis Fe library sto-3g end set atomscf:tags_z Fe set atomscf:z 3. title "Initial calculation on Fe3+" set geometry Fe charge 3 scf; rohf ; nopen 5; vectors atomic output fe.mos; end task scf title "Ferro-magnetic state" unset geometry charge -5 scf; print "initial vector analysis"; rohf; nopen 10 vectors fragment fe.mos fe.mos output feferr.mos; maxiter 0 print mulliken end task scf ignore title "Anti-ferro-magnetic state" scf; uhf; nopen 0; vectors input feferr.mos output feantif.mos\ swap beta 19 24 20 25 21 26 22 27 23 28 maxiter 99 end task scfFor DFT calculation you can either the same method just shown or a different approach that is illustrated in this example. Basis SetsHow do the basis sets get assigned to the atoms in my input deck? The tags associated with atoms (e.g. H, H1, Hydrogen) are mapped to the tags used in the basis set definitions by:
Optimization Issues (including transition states)I want to optimize the structure of my molecule. What should I try first? The optimizer of first choice should be the default option of user-specified Cartesian coordinates and DRIVER using redundant internal coordinates (AUTOZ - automatic Z-matrix). The example input optimizes the structure of H3C-COOH using 3-21g SCF. geometry c -0.017 -0.030 -0.077 c -0.017 -0.030 1.422 h 0.922 -0.030 1.764 h -0.487 0.783 1.764 h -0.487 -0.844 1.764 o -0.580 -1.005 -0.727 o 0.545 0.944 -0.727 h 0.545 0.944 -1.727 end basis c library 3-21g; h library 3-21g; o library 3-21g end task scf optimizeAUTOZ will generate a set of redundant internal coordinates for the optimization. Under some circumstances AUTOZ will fail to generate a good set of coordinates, in which case Cartesians will be used. If you specify the geometry with a Z-matrix then your coordinates will be used for the optimization. Needless to say a good guess for the geometry is very important. If you don't have a good guess, then first optimize with an inexpensive level of theory to get a good guess. How do I accelerate a geometry optimization using information from a lower (cheaper) level of theory, and does this really help? It can help a lot and is especially worth doing for most large basis set calculations with correlated wavefunctions. The geometry and Hessian information from a previous optimization are used by default --- if you saved them. You should keep all of the files that NWChem puts into its permanent directory.
In the first example below, the geometry of H3C-COOH is first optimized using 3-21g SCF, and then, starting from the 3-21g SCF geometry and Hessian information, re-optimized with cc-pvdz MP2. The first optimization required 8 steps, taking 105s on a 360 MHz SUN Ultra-60. The second optimization required 4 steps and 3882s. If the MP2 optimization is repeated starting again from the 3-21g SCF geometry, but not using the Hessian information then it takes 6 steps and 4,900s.
permanent_dir /u/mydir geometry zmatrix c c 1 cc h 2 ch1 1 hcc1 h 2 ch2 1 hcc2 3 t1 h 2 ch3 1 hcc3 3 t2 o 1 co1 2 occ1 3 t3 o 1 co2 2 occ2 3 t4 h 7 oh 1 hoc 6 t5 variables cc 1.5; ch1 1.0; ch2 1.0 ch3 1.0; co1 1.3; co2 1.3 oh 1.0; hcc1 110.0; hcc2 110.0 hcc3 110.0; occ1 120.0; occ2 120.0 hoc 120.0; t1 120.0; t2 -120.0 t3 120.0; t4 -60.0; t5 0.0 end end basis c library 3-21g; h library 3-21g; o library 3-21g end scf; print low; end task scf optimize basis spherical c library cc-pvdz; h library cc-pvdz; o library cc-pvdz end mp2; freeze atomic; end task mp2 optimizeThis next example performs SCF geometry optimizations of the water dimer in a sequence of increasing basis sets. Each calculation starts from the geometry and updated-Hessian from the previous one. The steps taken for each successive optimization are, 11, 6, 7, 9, 4, 4, 4 and the total calculation took 966s. If the Hessian information is not reused (but still using the previous geometry) the steps taken are 11, 11, 13, 13, 6, 11, 10, taking 2100s. driver; print low; end scf; print none; thresh 1e-6; end geometry autosym o 0.00000000 0.97541911 1.02217553 h 0.75298271 0.97541911 1.58779814 h -0.75298271 0.97541911 1.58779814 h 0.00000000 -0.44494805 -0.43332878 o 0.00000000 -1.08950470 -1.12453116 h 0.00000000 -0.59320543 -1.92342244 end python basis = 'basis print spherical; o library %s; h library %s; end' for b in ('sto-3g','3-21g','6-31g','6-31g*','6-31g**', '6-311g**','6-311G(2df,2pd)'): input_parse(basis % (b,b)) task_optimize('scf') end task python When should I use STEPPER rather than DRIVER? In releases prior to 3.3, STEPPER was much more robust than DRIVER, especially for transition state searches, though when DRIVER did converge it was usually faster. However, in release 3.3 DRIVER has been completely rewritten, AUTOZ has been extensively modified, and the diagonal guess for internal coordinates has also been substantially improved. The net result is that if internal coordinates are available (AUTOZ or Z-matrix) then DRIVER is always preferable since STEPPER can only use Cartesians. There is less data for the performance difference in Cartesians, but again DRIVER seems to have the edge, perhaps because it is less conservative and the use of a line search also enables it to take larger steps. However, STEPPER was designed for stream-bed walking and has robust algorithms for following normal modes from a minimum up to transition states. DRIVER can do this, but is not as robust. So if you want to walk a long way along a mode, and are prepared to compute a full Hessian at the minimum geometry, then STEPPER is for you. AUTOZ fails to generate valid internal coordinates. Now what? If AUTOZ fails, NWChem will default to using Cartesian coordinates (and ignore any zcoord data) so you don't have to do anything unless you really need to use internal coordinates. An exception are certain cases where we have a molecule that contains a linear chain of 4 or more atoms, in which case the code will fail (see item 2. for work arounds). For small systems you can easily construct a Z-matrix, but for larger systems this can be quite hard. First check your input. Are you using the correct units? The default is Angstroms. If you input atomic units but did not tell NWChem, then it's no wonder things are breaking. Also, is the geometry physically sensible? If atoms are too close to each other you'll get many unphysical bonds, whereas if they are too far apart AUTOZ will not be able to figure out how to connect things. Once the obvious has been checked, there are several possible modes of failure, some of which may be worked around in the input.
If these together don't work, then you're out of luck. Use Cartesians or construct a Z-matrix. What initial guess is Driver using for the Hessian?
If (restart file exists) then Attempt to use that data Endif If ((no restart file) or (could not use the file)) then If (requested use of Cartesian Hessian with INHESS=2) then Use the Hessian from a previous NWChem frequency calculation Else If ((you input a Z-matrix) or (input Cartesians with AUTOZ)) then . Modified Fisher-Almlof rules are used to form a guess that is . diagonal in the internal coordinate space. Else if (you input Cartesian coordinates) then . 0.5 * a unit matrix is used Endif Endif EndifDriver's restart information may be discarded by putting the CLEAR directive into the DRIVER input block, or by deleting the *.drv.hess file in the permanent directory. Note that the CLEAR directive is not remembered, so that subsequent geometry optimizations will use restart info unless also preceded by a DRIVER input block with a CLEAR directive. The restart filename expected by Driver is *.drv.hess, while the the filename when INHESS=2 is *.hess. My geometry optimization initially converged rapidly but now seems to be stuck.
How do I keep some internal variables constant while optimizing the others?
How do I constrain some internal variables to be the same value within a sign? With either user-defined redundant internal coordinates, or a user-defined Z-matrix, variables with the same non-blank name are forced to have the same value even if they are not related by symmetry. A sign may be optionally employed to orient torsion angles. E.g. CH3-CF3 - related bonds, angles and torsions are forced to be equivalent. Note the use of a sign on TOR1. geometry zmatrix C C 1 CC H 1 CH1 2 HCH1 H 1 CH2 2 HCH2 3 TOR1 H 1 CH2 2 HCH2 3 -TOR1 F 2 CF1 1 CCF1 3 TOR3 F 2 CF2 1 CCF2 6 FCH1 1 F 2 CF2 1 CCF2 6 FCH2 -1 variables CH1 1.08 CH2 1.08 CF1 1.37 CF2 1.37 HCH1 104.2 HCH2 104.7 CCF1 112.0 CCF2 112.0 TOR1 109.4 FCH1 106.8 FCH2 106.8 CC 1.49 TOR3 180.0 end end How do I restart a geometry optimization? If you have saved the restart information that is kept in the permanent directory, then you can restart a calculation, as long as it did not crash while writing to the data base. Following are two input files. The first starts a geometry optimization for ammonia. If this stops for nearly any reason such as it was interrupted, ran out of time or disk space, or exceeded the maximum number of iterations, then it may be restarted with the second job. The key points are
Job 1. start ammonia permanent_dir /u/myfiles geometry zmatrix n h 1 nh h 1 nh 2 hnh h 1 nh 2 hnh 3 hnh -1 variables nh 1. hnh 115. end end basis n library 3-21g; h library 3-21g end task scf optimizeJob 2. restart ammonia permanent_dir /u/myfiles task scf optimize Can I use symmetry while optimizing the geometry? Yes. With Cartesian coordinates either
How do I adjust the value of (or change in any way) some internal coordinates in an existing geometry? NWChem provides the adjust keyword on the GEOMETRY directive E.g., force the bond angle in an existing geometry for water to be 103.0 degrees. Here, the initial geometry is input, but it could have come from any source, including a previous optimization. geometry O 0.000 0.0 0.119 H 0.777 0.0 -0.477 H -0.777 0.0 -0.477 end geometry adjust zcoord; angle 3 1 2 103.0 constant; end end How do I scan a potential energy surface? E.g., scanning the OH bond and HON bond angle in hydroxylamine in order to find a starting geometry for a transition state search.
How do I find a transition state? A fairly reliable approach is to
Steps 1) & 3) are covered elsewhere in the FAQ. Step 2) is your problem. Step 4) is done as follows E.g., find the transition state for CH3+HF <-> CH4 + F given a starting guess for the transition state. geometry autosym c 0.000 0.000 -1.220 h 0.000 0.000 0.029 h 1.063 0.000 -1.407 h -0.531 -0.921 -1.407 h -0.531 0.921 -1.407 f 0.000 0.000 1.279 end basis c library 3-21g; h library 3-21g; f library 3-21g end scf; doublet; uhf; thresh 1e-6; print none; end task scf saddleNote that it is often necessary to specify manually internal coordinates for the bonds being broken/made since the algorithms inside AUTOZ are optimized for geometries near minima. Another useful tip is to tighten up the precision in the gradient, which can decrease the number of steps needed to reach the transition state. The precision in the gradient can be improved by
MP2 PropertiesHow do I calculate MP2 properties? The default molecular orbital file $file_prefix$.movecs is used unless a VECTORS subdirective is provided in the PROPERTY directive. It is therefore necessary to include a VECTORS directive if the MO vectors to be analyzed are not coming from the default file, e.g., if they have been previously redirected, or if MP2 natural orbitals (file extension ".mp2nos") are being anaylzed. So, to calculate MP2 properties, a PROPERTY block directive similar to the one in the following example would be appropriate: start h2o title; Water MP2 properties example geometry O 0 0 0 H 0 1.430 1.107 H 0 -1.430 1.107 end basis H library sto-3g O library sto-3g end task mp2 property octupole efield vectors h2o.mp2nos end task property My high symmetry MP2 calculation is taking longer that it should. Why is this? Currently MP2 can only use Abelian point groups and does not have descent of symmetry implemented (meaning that it does not know how to use a proper Abelian point group instead of an input non-Abelian group). The user must define the proper Abelian point group, orient the molecule into this point group, and then run the MP2. SCF/DFTHow do I reproduce the XC numerical grid used in G9X? G9X and NWChem default grids are different. To get a grid close to the default G9X grid you need the following input lines. dft grid ssf euler lebedev 75 11 end Which Coulomb fitting basis set should I use? We strongly recommend use of the Ahlrichs Auxilliary basis sets for fitting the Coulomb potentatial in DFT calculations. The following is an example of an in input file using this basis set. basis "cd basis" C library "Ahlrichs Coulomb Fitting" endFor analysis of the accuracy of this basis set, see Skylaris, C.-K.; Gagliardi, L.; Handy, N.C.; Ioannou, A.G.; Spencer, S.; Willetts, A., Journal of Molecular Structure: THEOCHEM 501-502, 229 (2000). Are the DFT unoccupied orbital energies shifted? Yes, in all versions of NWChem including 4.0 and below, the DFT unoccupied orbital energies are shifted by the amount of level-shifting used to converge the wavefunction. If you use these energies for any reason, you need to subtract out the level-shifting value. Check out the DFT Convergence section of the User Manual for more information about level-shifting. I got the error message: "ao_replicated: insufficient memory XXXXXXXX"; what can I do? You can fix this problem by having the code adopting the distributed data Fock build (that is less memory demanding compared to the default replicated data build). This is accomplished by adding the following line anywhere in you input file set fock:replicated logical .false. How can I do an X3LYP calculation in NWChem? The X3LYP functional is not available as a keyword. However, using section 11.3 (specifically 11.3.1 and 11.3.2) of the NWChem user manual, and applying the parameters of the X3LYP paper on http://www.pnas.org/cgi/content/full/101/9/2673 by Xu and Goddard you can define this exchange-correlation functional using the following line in the DFT input block: XC vwn_1_rpa 0.129 lyp 0.871 Hfexch 0.218 slater 0.782 becke88 nonlocal 0.542 xperdew91 nonlocal 0.167 How do you address Bq's to get an integration grid? Particular care is required to compute BSSE by the counter-poise method for the DFT module. In order to include terms deriving from the numerical grid used in the XC integration, the user must label the ghost atoms not just bq, but bq followed by the given atomic symbol. For example, the first component needed to compute the BSSE for the water dimer, should be written as follows: geometry h2o autosym units au O 0.00000000 0.00000000 0.22143139 H 1.43042868 0.00000000 -0.88572555 H -1.43042868 0.00000000 -0.88572555 bqH 0.71521434 0.00000000 -0.33214708 bqH -0.71521434 0.00000000 -0.33214708 bqO 0.00000000 0.00000000 -0.88572555 end basis H library aug-cc-pvdz O library aug-cc-pvdz bqH library H aug-cc-pvdz bqO library O aug-cc-pvdz end Please note that the ``ghost'' oxygen atom has been labeled bqO, and not just bq. GAPSSIs the GAPSS module available? The GAPSS module is available in the source code, however, we no longer provide any support for this module. I get the error message "gap_parse is not in this build of NWChem", how do I get GAPSS to work? Follow this procedure 1) cd $NWCHEM_TOP/src 2) make nwchem_config NWCHEM_MODULES="all gapss" 3) make Can I do geometry optimizations with GAPSS? No, the distributed version of GAPSS does not have analytical gradients. QMMMHow do I run a QM/MM calculation? You need to have an nwchem input file (example for K(H2O)6), and an associated pdb file (example for K(H2O)6). The PDB file must be complete, containing both the QM and MM atoms. The nwchem input file must contain a prepare section and fields relative to the QM region and the md inputs. A template follows (Note that the memory and eatoms value are only examples.) The example for K(H2O)6 contains comments with more information. start SYSTEM memory heap 8 mb stack 54 mb global 54 mb prepare system SYSTEM_CALC Define quantum atoms Add solvent update lists end basis basis set end scf SCF input print low end md system SYSTEM_CALC MD input memory 15000 end qmmm eatoms -190.0 end task qmmm scf ( energy | optimize | dynamics )For detailes on the eatoms field, please have a look at the QM/MM section of the Users' Manual. Molecular DynamicsHow do I restart a Molecular Dynamics calculation? The restart file that was used to run the "task md dynamics" will contain the updated coordinates if you have a "record rest ###" where ### is some number of steps (like 500). The restart file will have the prefix of the system name used in the md input block. For example, # Start warming solute: initially at 50 K # This file already exists: QJDa_md1.rst" md system QJDa_md1 cutoff 0.9 pme grid 64 order 4 leapfrog equil 0 data 10000 step 0.001 print step 1000 stat 10000 isotherm 50 trelax 0.1 0.1 update pairs 10 center 100 motion 100 record prop 50 record rest 500 record scoor 100 load pairs 20 size 0.75 end task md dynamics # Continue warming solute: at 100 K task shell "cp QJDa_md1.rst QJDa_md2.rst" md system QJDa_md2 cutoff 0.9 pme grid 64 order 4 leapfrog equil 0 data 10000 step 0.001 print step 1000 stat 10000 isotherm 100 trelax 0.1 0.1 update pairs 10 center 100 motion 100 record prop 50 record rest 500 record scoor 100 load pairs 20 size 0.75 end task md dynamicsThe QJDa_md2.rst file will have the final restart information. DIRDYVTSTHow do I run a DIRDYVTST calculation? Using the DIRDYVTST module is relatively straightforward and the user is referred to the DIRDYVTST section of the Users' Manual. A set of examples are available in a tar file. Linux ClustersWhat hardware configuration is suggested for running NWChem on Linux cluster? Most of the NWChem modules are not going to perform well on large Linux clusters that use just Fast Ethernet for communication. For optimal performance, you need to use either Giganet or Myrinet interconnects. How do I install and run NWChem on Myrinet clusters? Prior to installing NWChem, you must have installed the GM and the MPICH over GM softwares on the system. Before starting the NWChem compilation, the following environmental variables must be defined USE_MPI=y GM_HOME="location of GM software" GM_INCLUDE=$GM_HOME/include GM_LIB=$GM_HOME/lib ARMCI_NETWORK=GM MPI_LOC="location of MPICH-GM software" MPI_LIB=$MPI_LOC/lib MPI_INCLUDE=$MPI_LOC/include LIBMPI=-lmpichTo run NWChem, you need to set the following enviromental variable GMPI_SHMEM_FILE /tmp/$USER.gmThe next step is to launch the program. One way to do it is by using the mpirun.ch_gm script supplied in the MPICH-GM tar file. The command to execute is mpirun.ch_gm --gm-use-shmem $NWCHEM_TOP/bin/LINUX/nwchemor mpiexec $NWCHEM_TOP/bin/LINUX/nwchem How do I install NWChem on Giganet clusters? Before starting the NWChem compilation, the following environmental variables must be defined ARMCI_NETWORK=VIA LIBMPI="-lmpipro -lpthread"To run NWChem, you need to set the following environmental variable MPI_COMM=VIA How do I increase the shared memory segment in FreeBSD? To increase the shared memory segments on FreeBSD the following two sysctl's should be added to the startup scripts (e.g. /etc/rc.local): sysctl -w kern.ipc.shmmax=67108864 sysctl -w kern.ipc.shmall=16384the first sysctl allocates 64Mbytes of memory, the second does the same thing in 4k pages (4k * 16384 = 64M), you must set both sysctl. IBM SPWhat is the target for running NWChem on IBM SPs? The right target is LAPIIBM binaries are not going to work on IBM SP systems. For further details, have a look at the Users's manual Running on an IBM SP. I have a lapi_init error. How do I fix this problem? If you get a message similar to: 0: lapi_init failed 419(1a3) system message: Operation not permitted. ERRIR: 0031-250 task 0: terminatedyou need to set the environment variable MP_MSG_API. You can either do this in your environment: setenv MP_MSG_API lapior you can set it in your LoadLeveller script: # @ network.lapi = css0, not_shared, USThe LoadLeveller method is preferred since it sets several other useful variables. NOTE: If you are using SMP nodes (i.e. more than one processor per node), change the "not_shared" to "shared". I have a load error when trying to run NWChem. How do I fix this problem? If you get a message similar to: exec(): 0509-036 Cannot load program /usr/local/NWChem/bin/nwchem because of the following errors: 0509-023 Symbol kaio_rdwr in /usr/lpp/ppe.poe/lib/libc.a is not defined. 0509-023 Symbol listio in /usr/lpp/ppe.poe/lib/libc.a is not defined. 0509-023 Symbol acancel in /usr/lpp/ppe.poe/lib/libc.a is not defined. 0509-023 Symbol iosuspend in /usr/lpp/ppe.poe/lib/libc.a is not defined. 0509-022 Cannot load library libc.a[aio.o]. 0509-026 System error: Cannot run a file that does not have a valid format.The problem is that Asynchronous I/O is not turned on for your system. There are two possible solutions. The first and best solution is to have the system administrator turn on Asynchronous I/O on all of the nodes. This can be done by:
The second solution is to compile GA without Asynchronous I/O turned on. This WILL slow down the performance of NWChem.
Thread scheduling policy change from AIX 4.3 to 4.3.3 which effects performance. The default thread scheduling policy changed from AIX version 4.3 to 4.3.3 which effects MPI and LAPI programs that rely on switch packet arrival interrupts (such as NWChem). This directly effects the performance of NWChem. To change the default, you need to set the environment variable RT_GRQ. You can either do this in your environment: setenv RT_GRQ ONor you can set it in your LoadLeveller script: # @ environment = RT_GRQ=ONNote that you may have other variables to set with the environment line. Just add the variable onto the existing line using a semi-colon as a separator. For example: # @ environment = COPY_ALL; MP_INFOLEVEL=3; MP_PULSE=0; MP_SINGLE_THREAD=yes; MP_WAIT_MODE=yield; RT_GRQ=ON; restart=no How do I use more than 2 GB of disk space? During the compilation, the environment variable LARGE_FILES needs to be set (i.e. setenv LARGE_FILES TRUE). Also, you should make sure that the file sizes on your system are not limited to 2 GB (type "limit" and check the output). If the sizes are limited, ask your system adminitrator to change the limit for you. IBMHow do I install a Python library compatible with the NWCHEM_TARGET IBM64?
Windows 32How do I compile NWChem on Windows NT and Windows 98? The right target is WIN32. Before starting the compilation, you must have installed the Compaq Visual Fortran compiler (version 6.0 and 6.1 have been successfully tested) and the NT.MPICH library (http://www-unix.mcs.anl.gov/~ashton/mpich.nt/ ). Then, you need to have defined this series of variables (that you can set in autoexec.bat) set NWCHEM_TOP=c:\nwchem set NWCHEM_TARGET=WIN32 set MPI_INCLUDE=c:\PROGRA~1\ARGONN~1\MPICHN~1.4\SDK\INCLUDE set MPI_LIB=c:\PROGRA~1\ARGONN~1\MPICHN~1.4\SDK\lib set NWCHEM_EXTRA_LIBS=%MPI_LIB%\mpich.libTo start the compilation, start the Microsoft makefile utility from the top level source directory by typing nmakeThe name of the executable is nw32.exe DECOSFWhat is causing a segmentation violation in DECOSF 4.0? The -automatic Fortran compiler option is causing this problem under DECOSF 4.0 using version 5.2 of the f77 compiler. To get a working executable, you need to edit $NWCHEM_TOP/src/config/makefile.h at line 1051. The modified line 1051 must therefore be FOPTIONS = -i8 -align dcommons -math_library fast -fpe2 -check
nounderflow \
What is causing the ma_init failed error message? If NWChem crashes with the error message MA error: MA_init: could not allocate XXXXXXXXX bytes ------------------------------------------------------------------------ nwchem.F: ma_init failed (ga_uses_ma=T) 911this is most likely due to the act the default datasize on DECOSF is too small (131072 kbytes). To increase this value under csh, please type limit datasize unlimited How to fix the segfault in single node runs on HP AlphaServer SC 2.5? To fix NWChem crashes with a segfault early on with a segfault in single node runs, please add the following environmental variable to your settings: setenv SHMEM_SMP_ENABLE 0 SGIHow can I improve parallel performances under SGI? Use the MPI vendor library, after defining the usual environmental variable to replace TCGMSG with MPI USE_MPI=y
How can I improve performances under SGITFP? Install the SCSL scientific library, freely available from the SGI web site , then link the code with the following environmental variable BLASOPT=-lscs_blas_i8 How do I install the MPI version of SGITFP? You need to have installed a 64-bit version of MPICH. In order to do that, you need to run configure with the following arguments ./configure --with-arch=IRIX64 --with-device=ch_p4 ---prefix=/usr/local\ --disable-f90 --disable-f90modules ItaniumWhich version of the Intel compiler should I use? When compiling NWChem with the Intel compilers, we recommend using the Intel 7.0 compiler over the 6.0 compiler because of performance and stability issues. Updated: Friday May 21 17:01:35 PDT 2004 Created by: Theresa Windus |


Welcome to coding-learning’s documentation!¶
This repo is for coding-learning for beginners like me. Please feel free to contact me to work this together.
To build this page, there are several packages you may need to install first:
conda create -n new-conda-env python=3.6
conda activate new-conda-env
conda install sphinx sphinx_rtd_theme


| Command line | Description |
|---|---|
| ceda-cc -p <project> -D <directory> [..] | check all data in directory tree under specified directory |
| ceda-cc -p <project> -d <directory> [..] | check all data in specified directory |
| ceda-cc -p <project> -f <file> [..] | check a single file |
| ceda-cc –sum <log file directory> [..] | create an overview of results |
| ceda-cc –copy-config <target diectory> [..] | copy configuration files to a new directory |
| -p: | project |
|---|---|
| –copy-config: | <target directory path>: copy configuration files to target directory path; |
| –sum: | <log file directory> create a summary of the results logged in the specified directory. |
| -f: | <file>: check a single file; |
| -d: | <directory>: check all the NetCDF files in a directory; |
| -D: | <directory>: check all the NetCDF files in a directory tree (or latest versions if a recognised version managment system is defined for the project); |
| –ld: | <log file directory>: ## directory to take log files; |
| -R: | <record file name>: file name for file to take one record per file checked; |
| –cae: | “catch all errors”: will trap exceptions and record in log files, and then continue. Default is to stop after unrecognised exceptions. |
| –log: | <single|multi>: Set log file management option – see “Single log” and “Multi-log” below. |
| –blfmode: | <mode>: Set mode for batch log file – see log file modes |
| –flfmode: | <mode>: Set mode for file-level log file – see log file modes |
| –aMap: | Read in some attribute mappings and run tests with virtual substitutions; |
Note that the log files generated in multi-log mode will re-use file names. If running with –flfmode set to ‘n’,’np’ or ‘wo’ it will be necessary to change or clear the target directory. The names of batch log files include the time, to the nearest second, when the process is started, so will not generally suffer from re-use.
USAGE: import config_c4
This module sets some basic variables, including some vocabulary lists.
alias of fnParts
alias of project
Copy the current default configuration directory into a separate directory.
The directory <ceda_cc-package-dir>/config is copied to dest_dir. This is useful when ceda-cc is installed as a Python package and the user may not know where the config directory is stored.
| Parameters: | dest_dir – should be a path to a directory which does not yet exist. The configuration directory will be copied to this path. |
|---|
A set of classes running checks and providing utilities to support checks
Bases: object
Base class for checks, containing a set of standard methods for managing operation of checks and logging of results
Run all the checks registered in this instance (in self.checks) and handle exceptions
Handle test results. :param res: [True/False] result of test; :param msg: Message describing the test; :param abort: {optional} Set True if checks should be aborted when test fails; :param part: {optional} Set True if this is a component of a test (logging of pass suppressed); :param appendLogfile: {optional} Allows results to be appended to pre-existing log file;
Bases: utils_c4.checkBase
Run some checks on groups of files with a common variable. Checks for continuity of time in group
| param flist: | List of file names. |
|---|
This routine has rather obscure nested logical tests used to identify the group to which a file belongs. The complexity arises from the fact that the identification of the files that should form a continuous time series from the file names alone is not a standardised feature of the file names.
Check that a string is a representation of an integer
Log messages and count messages
Create an error log message and call logMessage; count errors;
Logging of exceptions – putting trace information in log files
Create a pass log message and call logMessage; count passes;
Run all the checks registered in this instance (in self.checks) and handle exceptions
Handle test results. :param res: [True/False] result of test; :param msg: Message describing the test; :param abort: {optional} Set True if checks should be aborted when test fails; :param part: {optional} Set True if this is a component of a test (logging of pass suppressed); :param appendLogfile: {optional} Allows results to be appended to pre-existing log file;
Bases: utils_c4.checkBase
Check basic syntax of file names (i.e. checks properties of the text string, it does not attempt to access the file). Inherits checkBase class. Checks are run by the check() method.
Initiate checks: manage arguments and then call runChecks (inherited from checkBase class). Arguments: fn: file name: the file name to be checked.
Basic file name checks: (1) Check suffix; (1b) [for ESA-CCI files] check presence of “ESACCI” and identify file naming convention; (2) Split file name into components and check number of such components; (3) Additional specialist checks for ESA-CCI, CORDEX, CMIP-type (for the time range).
Check whether file name components match constraints – but only if those constraints are not implicitly verified through comparison with global attributes in later checks
Check that a string is a representation of an integer
Log messages and count messages
Create an error log message and call logMessage; count errors;
Logging of exceptions – putting trace information in log files
Create a pass log message and call logMessage; count passes;
Run all the checks registered in this instance (in self.checks) and handle exceptions
Handle test results. :param res: [True/False] result of test; :param msg: Message describing the test; :param abort: {optional} Set True if checks should be aborted when test fails; :param part: {optional} Set True if this is a component of a test (logging of pass suppressed); :param appendLogfile: {optional} Allows results to be appended to pre-existing log file;
Bases: utils_c4.checkBase
Check global and variable attributes, using tables of valid values
Check that a string is a representation of an integer
Log messages and count messages
Create an error log message and call logMessage; count errors;
Logging of exceptions – putting trace information in log files
Create a pass log message and call logMessage; count passes;
Run all the checks registered in this instance (in self.checks) and handle exceptions
Handle test results. :param res: [True/False] result of test; :param msg: Message describing the test; :param abort: {optional} Set True if checks should be aborted when test fails; :param part: {optional} Set True if this is a component of a test (logging of pass suppressed); :param appendLogfile: {optional} Allows results to be appended to pre-existing log file;
Bases: utils_c4.checkBase
Check the dimensions which are defined in the specifications
Check that a string is a representation of an integer
Log messages and count messages
Create an error log message and call logMessage; count errors;
Logging of exceptions – putting trace information in log files
Create a pass log message and call logMessage; count passes;
Run all the checks registered in this instance (in self.checks) and handle exceptions
Handle test results. :param res: [True/False] result of test; :param msg: Message describing the test; :param abort: {optional} Set True if checks should be aborted when test fails; :param part: {optional} Set True if this is a component of a test (logging of pass suppressed); :param appendLogfile: {optional} Allows results to be appended to pre-existing log file;
Some exceptions used in the code


Gateway
BOT
28-Aug-18 04:45 AM
[dscrdeql] <Jellysmash> @RyanInSiam I've heard slack is very good
[dscrdeql] <AndronicusBass-Founder> There are many tools out there, I would advise against slack, it is basically a enterprise discord and I found it had quite a learning curve. Sharepoint 365 is pretty cool. Ive used various versions of sharepoint throughout the years. On premises you will probably need SQL server database but i believe 365 has a cloud solution
[dscrdeql] <Jellysmash> We might start using it where I work
[dscrdeql] <RyanInSiam> I used Slack some time ago for PIVX and other projects.
[dscrdeql] <RyanInSiam> Then, one-by-one, a lot of projects migrated here to Discord.
[dscrdeql] <Jellysmash> @AndronicusBass whoa...just saw
[dscrdeql] <Jellysmash> I scrolled up
[dscrdeql] <Jellysmash> In a mod now
[dscrdeql] <Jellysmash> Nice
[dscrdeql] <Jellysmash> Thanks
[dscrdeql] <AndronicusBass-Founder> Yeah, early this morning I realised you weren't one which surprised me you werent one ages ago. you deserve it 100%
[dscrdeql] <! ariewayq ! The Real Human> congrat
[dscrdeql] <Jellysmash> Thanks
[dscrdeql] <! ariewayq ! The Real Human> let's celebrate to pizza hut
[dscrdeql] <Jellysmash> @AndronicusBass thank you guys
[dscrdeql] <Jonathan-Mod> Congrats @Jellysmash - you're work has been amazing
[dscrdeql] <Jellysmash> Thanks
[dscrdeql] <AndronicusBass-Founder>
[dscrdeql] <RyanInSiam> Does this call for even a minor rain, @AndronicusBass-Founder ?
[dscrdeql] <ECA Gorillaz> Heyo sorry it's been awhile
[dscrdeql] <RyanInSiam> What's up, @ECA Gorillaz ? Been busy?
[dscrdeql] <ECA Gorillaz> Yeah man dealing with a huge water bill from a recent pipe burst, then one horse with a leg injury and another sick horse
[dscrdeql] <ECA Gorillaz> It's my Friday and fiances sleeping so time for some beer and video games lol
[dscrdeql] <AndronicusBass-Founder> Damn, sux when life happens. Keep strong buddy
[dscrdeql] <AndronicusBass-Founder> beer is good and stuff
[dscrdeql] <RyanInSiam> Tough times. Keep your head up, mate!
[dscrdeql] <ECA Gorillaz> Yeah it'll be fine, out of the woods with both horses and that's the big thing
[dscrdeql] <ECA Gorillaz> Dead horse worse for me than water bill lol
[dscrdeql] <AndronicusBass-Founder> first saw this in 2005-06 always cracked me up
[dscrdeql] <ECA Gorillaz> It are good go with pizza
[dscrdeql] <ECA Gorillaz> Hilarious ahahhaha
[dscrdeql] <Combat Wom-mod> morning guys
[dscrdeql] <AndronicusBass-Founder> Howdy
[dscrdeql] <ECA Gorillaz> @CombatWombat
[dscrdeql] <Combat Wom-mod> hey bass and gorillaz
[dscrdeql] <Combat Wom-mod> how we doing today
[dscrdeql] <ECA Gorillaz> Alright man hanging out on some brews and yelling at kids on overwatch
[dscrdeql] <ECA Gorillaz> Woot
[dscrdeql] <ECA Gorillaz> Tipsy approves
[dscrdeql] <Combat Wom-mod> haha nice and congrats


Build your own magical light installation in just a few clicks.
1. Let's go ! or get to know the story behind the project first.
Drag that Window to your projector screen. Press F11 to go fullscreen


Chilango confirms plans to launch CVA and exit leases
by Anna MeninEmbattled Mexican chain Chilango has confirmed plans to launch a company voluntary arrangement (CVA) in a bid to secure its future.
City A.M. revealed yesterday that the chain was planning to launch a CVA – a controversial restructuring agreement that would allow it to re-open rent negotiations with landlords – as it battles cash-flow issues.
Read more: Chilango eyes restaurant closures as it prepares to launch CVA
A Chilango spokesperson today confirmed that the company had “begun a process of engagement with its stakeholders with a plan to secure the future of the business”.
City A.M. understands that the company intends to file its CVA proposal today.
Chilango is proposing to enter a CVA to exit “non-trading leases” for dormant sites on which it had planned to develop restaurants and “restructure the company’s debt”, the spokesperson said.
Although the company did not confirm the number of leases it was looking to exit, the figure is understood to be around three dormant sites.
Chilango is in talks with restructuring firm RSM to shore up its business, and is over two months late posting its accounts on Companies House.
The CVA proposals would require the backing of the company’s creditors, which includes around 1,500 small investors who bought its mini-bonds, which Chilango dubbed burrito bonds.
“Together with a reduction in central costs, a successful CVA will materially improve the balance sheet,” said the spokesperson.
Launched in 2007, Chilango operates a dozen restaurants but has never turned a profit. The company reported a £1.4m loss for the year to March 2018, the most recent period for which figures are available.
Read more: Questions over Chilango’s future after burrito chain calls in restructuring firm RSM
Chilango co-founders Eric Partaker and Dan Houghton said the market in which Chilango operates hadf “changed significantly” in recent years.
“This proposal allows us to make important changes so we can support our stakeholders and continue serving our loyal guests. We are proud of the strong brand and passionate following our teams have created and look forward to the future.”


lsadlasd
Longitude: 95.242
Latitude: 94.123
Pikachu
Name: Pikachu
Power: 2000pp
Evolved From: none
Evolves To: Raichu
Bulbasaur
Name: Bulbasaur
Power: 1000pp
Evolved From: Something
Evolves To: Something else


WordPress for Android
If you're just looking to install WordPress for Android, you can find it on Google Play. If you're a developer wanting to contribute, read on.
Build Instructions
- Make sure you've installed JDK 8 and Android Studio, a Standard Setup would work.
- Clone this GitHub repository.
- Copy
gradle.properties-example
togradle.properties
. - In Android Studio open the project from the local repository as a Gradle project (this will auto-generate
local.properties
with the SDK location). - Make sure you have an emulation device setup in AVD Manager (Tools → Android → AVD Manager).
- Run.
Notes:
- To use WordPress.com features (login to WordPress.com, access Reader and Stats, etc) you need a WordPress.com OAuth2 ID and secret. Please read the OAuth2 Authentication section.
Once installed, you can now build, install and test the project from the command line:
$ ./gradlew assembleVanillaDebug # assemble the debug .apk
$ ./gradlew installVanillaDebug # install the debug .apk if you have an
# emulator or an Android device connected
$ ./gradlew cAT # assemble, install and run unit tests
Directory structure
|-- libs # dependencies used to build debug variants
|-- tools # script collection
|-- gradle.properties # properties imported by the build script
`-- WordPress
|-- build.gradle # main build script
`-- src # android specific Java code
|-- androidTest # test assets, resources and code
|-- main #
| |-- assets # main project assets
| |-- java # main project java code
| `-- res # main project resources
|-- vanilla # vanilla variant specific manifest
`-- wasabi # wasabi variant specific resources and manifest
OAuth2 Authentication
In order to use WordPress.com functions you will need a client ID and a client secret key. These details will be used to authenticate your application and verify that the API calls being made are valid. You can create an application or view details for your existing applications with our WordPress.com applications manager.
When creating your application, you should select "Native client" for the application type. The applications manager currently requires a "redirect URL", but this isn't used for mobile apps. Just use "https://localhost".
Once you've created your application in the applications manager, you'll
need to edit the ./gradle.properties
file and change the
WP.OAUTH.APP_ID
and WP.OAUTH.APP_SECRET
fields. Then you can compile and
run the app on a device or an emulator and try to login with a WordPress.com
account.
Read more about OAuth2 and the WordPress.com REST endpoint.
Google Configuration
Google Sign-In is only available for WordPress.com accounts through the official app. Contributors can build and run the app without issue, but Google Sign-In will always fail. Google Sign-In requires configuration files which contain client and server information that can't be shared publicly. More documentation and guides can be found on the Google Identity Platform website.
How we work
You can read more about Code Style Guidelines we adopted, and how we're organizing branches in our repository in the Contribution Guide.
Need help to build or hack?
Say hello on our Slack channel: #mobile
.
FAQ
- Q: I can't build/test/package the project because of a
PermGen space
error. - A: Create a
gradle.properties
file in the project root directory with the following:org.gradle.jvmargs=-XX:MaxPermSize=1024m
.
License
WordPress for Android is an Open Source project covered by the
GNU General Public License version 2. Note: code
in the libs/
directory comes from external libraries, which might
be covered by a different license compatible with the GPLv2.


NEWS.md
v1.0.0 is the first major release of the {infer} package! By and large, the core verbs specify()
, hypothesize()
, generate()
, and calculate()
will interface as they did before. This release makes several improvements to behavioral consistency of the package and introduces support for theory-based inference as well as randomization-based inference with multiple explanatory variables.
A major change to the package in this release is a set of standards for behavorial consistency of calculate()
(#356). Namely, the package will now
stat
argument isn’t well-defined for the variables specify()
d
gss %>%
specify(response = hours) %>%
calculate(stat = "diff in means")
#> Error: A difference in means is not well-defined for a
#> numeric response variable (hours) and no explanatory variable.
or
gss %>%
specify(college ~ partyid, success = "degree") %>%
calculate(stat = "diff in props")
#> Error: A difference in proportions is not well-defined for a dichotomous categorical
#> response variable (college) and a multinomial categorical explanatory variable (partyid).
hypothesize()
to calculate()
an observed statistic
# supply mu = 40 when it's not needed
gss %>%
specify(response = hours) %>%
hypothesize(null = "point", mu = 40) %>%
calculate(stat = "mean")
#> Message: The point null hypothesis `mu = 40` does not inform calculation of
#> the observed statistic (a mean) and will be ignored.
#> # A tibble: 1 x 1
#> stat
#> <dbl>
#> 1 41.4
and
# don't hypothesize `p` when it's needed
gss %>%
specify(response = sex, success = "female") %>%
calculate(stat = "z")
#> # A tibble: 1 x 1
#> stat
#> <dbl>
#> 1 -1.16
#> Warning message:
#> A z statistic requires a null hypothesis to calculate the observed statistic.
#> Output assumes the following null value: `p = .5`.
or
# don't hypothesize `p` when it's needed
gss %>%
specify(response = partyid) %>%
calculate(stat = "Chisq")
#> # A tibble: 1 x 1
#> stat
#> <dbl>
#> 1 334.
#> Warning message:
#> A chi-square statistic requires a null hypothesis to calculate the observed statistic.
#> Output assumes the following null values: `p = c(dem = 0.2, ind = 0.2, rep = 0.2, other = 0.2, DK = 0.2)`.
To accommodate this behavior, a number of new calculate
methods were added or improved. Namely:
calculate()
with stat = "t"
by passing mu
to the calculate()
method for stat = "t"
to allow for calculation of t
statistics for one numeric variable with hypothesized meancalculate()
to allow lowercase aliases for stat
arguments (#373).calculate()
for to allow for programmatic calculation of statisticsThis behavorial consistency also allowed for the implementation of observe()
, a wrapper function around specify()
, hypothesize()
, and calculate()
, to calculate observed statistics. The function provides a shorthand alternative to calculating observed statistics from data:
# calculating the observed mean number of hours worked per week
gss %>%
observe(hours ~ NULL, stat = "mean")
#> # A tibble: 1 x 1
#> stat
#> <dbl>
#> 1 41.4
# equivalently, calculating the same statistic with the core verbs
gss %>%
specify(response = hours) %>%
calculate(stat = "mean")
#> # A tibble: 1 x 1
#> stat
#> <dbl>
#> 1 41.4
# calculating a t statistic for hypothesized mu = 40 hours worked/week
gss %>%
observe(hours ~ NULL, stat = "t", null = "point", mu = 40)
#> # A tibble: 1 x 1
#> stat
#> <dbl>
#> 1 2.09
# equivalently, calculating the same statistic with the core verbs
gss %>%
specify(response = hours) %>%
hypothesize(null = "point", mu = 40) %>%
calculate(stat = "t")
#> # A tibble: 1 x 1
#> stat
#> <dbl>
#> 1 2.09
We don’t anticipate that these changes are “breaking” in the sense that code that previously worked will continue to, though it may now message or warn in a way that it did not used to or error with a different (and hopefully more informative) message.
This release also introduces a more complete and principled interface for theoretical inference. While the package previously supplied some methods for visualization of theory-based curves, the interface did not provide any object that was explicitly a “null distribution” that could be supplied to helper functions like get_p_value()
and get_confidence_interval()
. The new interface is based on a new verb, assume()
, that returns a null distribution that can be interfaced in the same way that simulation-based null distributions can be interfaced with.
As an example, we’ll work through a full infer pipeline for inference on a mean using infer’s gss
dataset. Supposed that we believe the true mean number of hours worked by Americans in the past week is 40.
First, calculating the observed t
-statistic:
obs_stat <- gss %>%
specify(response = hours) %>%
hypothesize(null = "point", mu = 40) %>%
calculate(stat = "t")
obs_stat
#> Response: hours (numeric)
#> Null Hypothesis: point
#> # A tibble: 1 x 1
#> stat
#> <dbl>
#> 1 2.09
The code to define the null distribution is very similar to that required to calculate a theorized observed statistic, switching out calculate()
for assume()
and replacing arguments as needed.
null_dist <- gss %>%
specify(response = hours) %>%
assume(distribution = "t")
null_dist
#> A T distribution with 499 degrees of freedom.
This null distribution can now be interfaced with in the same way as a simulation-based null distribution elsewhere in the package. For example, calculating a p-value by juxtaposing the observed statistic and null distribution:
get_p_value(null_dist, obs_stat, direction = "both")
#> # A tibble: 1 x 1
#> p_value
#> <dbl>
#> 1 0.0376
…or visualizing the null distribution alone:
visualize(null_dist)
…or juxtaposing the two visually:
visualize(null_dist) +
shade_p_value(obs_stat, direction = "both")
Confidence intervals lie in data space rather than the standardized scale of the theoretical distributions. Calculating a mean rather than the standardized t
-statistic:
The null distribution here just defines the spread for the standard error calculation.
ci <-
get_confidence_interval(
null_dist,
level = .95,
point_estimate = obs_mean
)
ci
#> # A tibble: 1 x 2
#> lower_ci upper_ci
#> <dbl> <dbl>
#> 1 40.1 42.7
Visualizing the confidence interval results in the theoretical distribution being recentered and rescaled to align with the scale of the observed data:
visualize(null_dist) +
shade_confidence_interval(ci)
Previous methods for interfacing with theoretical distributions are superseded—they will continue to be supported, though documentation will forefront the assume()
interface.
The 2016 “Guidelines for Assessment and Instruction in Statistics Education” [1] state that, in introductory statistics courses, “[s]tudents should gain experience with how statistical models, including multivariable models, are used.” In line with this recommendation, we introduce support for randomization-based inference with multiple explanatory variables via a new fit.infer
core verb.
If passed an infer
object, the method will parse a formula out of the formula
or response
and explanatory
arguments, and pass both it and data
to a stats::glm
call.
gss %>%
specify(hours ~ age + college) %>%
fit()
#> # A tibble: 3 x 2
#> term estimate
#> <chr> <dbl>
#> 1 intercept 40.6
#> 2 age 0.00596
#> 3 collegedegree 1.53
Note that the function returns the model coefficients as estimate
rather than their associated t
-statistics as stat
.
If passed a generate()
d object, the model will be fitted to each replicate.
gss %>%
specify(hours ~ age + college) %>%
hypothesize(null = "independence") %>%
generate(reps = 100, type = "permute") %>%
fit()
#> # A tibble: 300 x 3
#> # Groups: replicate [100]
#> replicate term estimate
#> <int> <chr> <dbl>
#> 1 1 intercept 44.4
#> 2 1 age -0.0767
#> 3 1 collegedegree 0.121
#> 4 2 intercept 41.8
#> 5 2 age 0.00344
#> 6 2 collegedegree -1.59
#> 7 3 intercept 38.3
#> 8 3 age 0.0761
#> 9 3 collegedegree 0.136
#> 10 4 intercept 43.1
#> # … with 290 more rows
If type = "permute"
, a set of unquoted column names in the data to permute (independently of each other) can be passed via the variables
argument to generate
. It defaults to only the response variable.
gss %>%
specify(hours ~ age + college) %>%
hypothesize(null = "independence") %>%
generate(reps = 100, type = "permute", variables = c(age, college)) %>%
fit()
#> # A tibble: 300 x 3
#> # Groups: replicate [100]
#> replicate term estimate
#> <int> <chr> <dbl>
#> 1 1 intercept 39.4
#> 2 1 age 0.0748
#> 3 1 collegedegree -2.98
#> 4 2 intercept 42.8
#> 5 2 age -0.0190
#> 6 2 collegedegree -1.83
#> 7 3 intercept 40.4
#> 8 3 age 0.0354
#> 9 3 collegedegree -1.31
#> 10 4 intercept 40.9
#> # … with 290 more rows
This feature allows for more detailed exploration of the effect of disrupting the correlation structure among explanatory variables on outputted model coefficients.
Each of the auxillary functions get_p_value()
, get_confidence_interval()
, visualize()
, shade_p_value()
, and shade_confidence_interval()
have methods to handle fit()
output! See their help-files for example usage. Note that shade_*
functions now delay evaluation until they are added to an existing ggplot (e.g. that outputted by visualize()
) with +
.
generate()
type type = "simulate"
has been renamed to the more evocative type = "draw"
. We will continue to support type = "simulate"
indefinitely, though supplying that argument will now prompt a message notifying the user of its preferred alias. (#233, #390)specify()
will now drop unused factor levels and message that it has done so. (#374, #375, #397, #380)two.sided
as an acceptable alias for two_sided
for the direction
argument in get_p_value()
and shade_p_value()
. (#355)We don’t anticipate that any changes made in this release are “breaking” in the sense that code that previously worked will continue to, though it may now message or warn in a way that it did not used to or error with a different (and hopefully more informative) message. If you currently teach or research with infer, we recommend re-running your materials and noting any changes in messaging and warning.
GENERATION_TYPES
object is now fully deprecated, and arguments that were relocated from visualize()
to shade_p_value()
and shade_confidence_interval()
are now fully deprecated in visualize()
. If supplied a deprecated argument, visualize()
will warn the user and ignore the argument.prop
argument to rep_slice_sample()
as an alternative to the n
argument for specifying the proportion of rows in the supplied data to sample per replicate (#361, #362, #363). This changes order of arguments of rep_slice_sample()
(in order to be more aligned with dplyr::slice_sample()
) which might break code if it didn’t use named arguments (like rep_slice_sample(df, 5, TRUE)
). To fix this, use named arguments (like rep_slice_sample(df, 5, replicate = TRUE)
).[1]: GAISE College Report ASA Revision Committee, “Guidelines for Assessment and Instruction in Statistics Education College Report 2016,” http://www.amstat.org/education/gaise.
rep_sample_n()
no longer errors when supplied a prob
argument (#279)rep_slice_sample()
, a light wrapper around rep_sample_n()
, that more closely resembles dplyr::slice_sample()
(the function that supersedes dplyr::sample_n()
) (#325)success
, correct
, and z
argument to prop_test()
(#343, #347, #353)get_confidence_interval()
now uses column names (‘lower_ci’ and ‘upper_ci’) in output that are consistent with other infer functionality (#317).get_confidence_interval()
can now produce bias-corrected confidence intervals by setting type = "bias-corrected"
. Thanks to @davidbaniadam for the initial implementation (#237, #318)!chi_squared
and anova
(#268)hypothesize()
(hypothesise()
) (#271)order
argument (#275, #281)gss
dataset used in examples (#282)stat = "ratio of props"
and stat = "odds ratio"
to calculate
(#285)prop_test()
, a tidy interface to prop.test()
(#284, #287)visualize()
for compatibility with ggplot2
v3.3.0 (#289)dplyr
v1.0.0generate()
when response variable is named x
(#299)two-sided
and two sided
as aliases for two_sided
for the direction
argument in get_p_value()
and shade_p_value()
(#302)t_test()
and t_stat()
ignoring the order
argument (#310)shade_confidence_interval()
now plots vertical lines starting from zero (previously - from the bottom of a plot) (#234).shade_p_value()
now uses “area under the curve” approach to shading (#229).chisq_test()
to take arguments in a response/explanatory format, perform goodness of fit tests, and default to the approximation approach (#241).chisq_stat()
to do goodness of fit (#241).hypothesize()
clearer by adding the options for the point null parameters to the function signature (#242).infer
class more systematically (#219).vdiffr
for plot testing (#221).get_pvalue()
and visualize()
more aligned (#205).p_value()
(use get_p_value()
instead) (#180).conf_int()
(use get_confidence_interval()
instead) (#180).visualize()
(use new functions shade_p_value()
and shade_confidence_interval()
instead) (#178).shade_p_value()
- {ggplot2}-like layer function to add information about p-value region to visualize()
output. Has alias shade_pvalue()
.shade_confidence_interval()
- {ggplot2}-like layer function to add information about confidence interval region to visualize()
output. Has alias shade_ci()
.NULL
value in left hand side of formula in specify()
(#156) and type
in generate()
(#157).set_params()
(#165).calculate()
to not depend on order of p
for type = "simulate"
(#122).visualize()
to not depend on method and data volume.visualize()
work for “One sample t” theoretical type with method = "both"
.stat = "sum"
and stat = "count"
options to calculate()
(#50).t_stat()
to use ...
so var.equal
worksvar.equal = TRUE
for specify() %>% calculate(stat = "t")
paste()
handling (#155)conf_int
logical argument and conf_level
argument to t_test()
shade_color
argument in visualize()
to be pvalue_fill
instead since fill color for confidence intervals is also added nowvisualize()
direction = "between"
to get the green shadingconf_int()
function for computing confidence interval provided a simulation-based method with a stat
variable
get_ci()
and get_confidence_interval()
are aliases for conf_int()
get_ci()
insteadp_value()
function for computing p-value provided a simulation-based method with a stat
variable
get_pvalue()
is an alias for p_value()
get_pvalue()
insteadparams
being set in hypothesize
with specify() %>% calculate()
shortcuttype
argument automatically in generate()
based on specify()
and hypothesize()
type
is given differently than expectedspecify() %>% calculate()
for getting observed statistics.
visualize()
works with either a 1x1 data frame or a vector for its obs_stat
argumentstat = "t"
workingcalculate()
into smaller functions to reduce complexitymu
is given in hypothesize()
but stat = "median"
is provided in calculate()
and other similar mis-specificationschisq_stat()
and t_stat()
to match with specify() %>% calculate()
framework
formula
order
argument to t_stat()
t_test()
by passing in the mu
argument to t.test
from hypothesize()
pkgdown
page to include ToDo’s using {dplyr} example!!
instead of UQ()
since UQ()
is deprecated in {rlang} 0.2.0CONDUCT.md
, CONTRIBUTING.md
, and TO-DO.md
t_test()
and chisq_test()
that use a formula interface and provide an intuitive wrapper to t.test()
and chisq.test()
stat = "z"
and stat = "t"
optionsvisualize()
to prescribe colors to shade and use for observed statistics and theoretical density curvesvisualize()
if number of unique values for generated statistics is smallmethod = "theoretical"
method = "randomization"
to method = "simulation"
visualize()
alone and as overlay with current implementations being
order
argument in calculate()
specify()
.pkgdown
site materials


-
[polldaddy poll=9451835] …
-
C# Adapter Design Pattern
Next pattern on my list is called adapter. This is another type of structural pattern. Adapter is the object which lets two mutually incompatible interfaces communicate with each other. Adapter pattern acts as a bridge between two incompatible interfaces. This pattern involves a single class called adapter which is responsible for communication between two independent or incompatible interfaces. …
-
C# Facade Design Pattern
…
-
Strategy Pattern C#
Strategy is a behavioural design pattern, It’s used when Class have different implementation of the method, depended on the context. Here is formal definition of the pattern:
Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
In order to understand the concept you should be familiar with principles of object oriented programming. Family of algorithms have the same function but different ways to execute it. Strategy pattern can select the way of implementing the method from possible options in run time. I’ll be more clear after demonstrating the example.UML class diagram:
…
-
Singleton Pattern C#
Singleton Pattern is one the most popular patterns in programming. Singleton is a class which only allows a single instance of itself to be created. It can be very useful, for example when Class contains List of object we don’t want to create new list each time we call the class, and we also want to keep the list private to restrict access and avoid possible corruption. Singleton usually gives simple access to that instance. There are several ways of implementing the pattern, in multi-threading application we must consider case where constructor is called from two thread at the same time, to fix this problem we need to implement thread safety version. Let start with simplest, not thread safe, implementation. …
-
Review "Level Up The Guide to Great Video Game Design"
…
-
C# Async and Await
This is continuation of article about multi-threading. I previous post i described basics of multi-threading and how to use threads to perform operations of different cores of CPU. …
-
C# Statics
Static keyword is used to access the method or variable without creating instance of the class. Static effectively means ”associated with a type instead of any one instance of the type”. This keyword can be used in multiple structures. IN this article i’ll focus on static keyword used with methods, classes and variables. First lets take look at variables.
Static Variables
Static variables allows to access the values from other class,if its public, without creating the instance of the object. …
-
C# Closures
Closures allows to use variables from outside the scope of action and store values of the variables in memory in order to reuse them later. A closure in C# takes the form of an in-line delegate. You can find more about lambda expressions in my post about it here. A closure is attached to its parent method meaning that variables defined in parent’s method body can be referenced from within the anonymous method. It will make more sense after analysing the example. …
-
C# Enumerations
In this Tutorial You will learn how to create Enumeration in C#. This is a syntax sugar that helps to store informations in short and meaningful way. It makes code more readable and secure the Fields from invalid inputs. An enumeration is a set of named integer constants. An enumerated type is declared using the enum keyword.
Enums
Enums are strongly typed constants. They are essentially unique types that allow you to assign symbolic names to integral values. They are strongly typed, meaning that an enum of one type may not be implicitly assigned to an enum of another type even though the underlying value of their members are the same. Along the same lines, integral types and enums are not implicitly interchangable. All assignments between different enum types and integral types require an explicit cast.
…


Explore different diagnostic images below. The first link takes you to caMicroscope to view the diagnostic image and the Explore Features button lets you examine the features.