|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.session.StandardSession
Standard implementation of the Session interface. This object is serializable, so that it can be stored in persistent storage or transferred to a different JVM for distributable session support.
IMPLEMENTATION NOTE: An instance of this class represents both the
internal (Session) and application level (HttpSession) view of the session.
However, because the class itself is not declared public, Java logic outside
of the org.apache.catalina.session
package cannot cast an
HttpSession view of this instance back to a Session view.
IMPLEMENTATION NOTE: If you add fields to this class, you must make sure that you carry them over in the read/writeObject methods so that this class is properly serialized.
Please note two sessions are only considered equal if they are "reference-equal." There is no equals() method implementation.
| Field Summary | |
protected int |
accessCount
The access count for this session. |
protected java.util.HashMap |
attributes
The collection of user data attributes associated with this Session. |
protected java.lang.String |
authType
The authentication type used to authenticate our cached Principal, if any. |
protected java.lang.reflect.Method |
containerEventMethod
The java.lang.Method for the
fireContainerEvent() method of the
org.apache.catalina.core.StandardContext method,
if our Context implementation is of this class. |
protected static java.lang.Class[] |
containerEventTypes
The method signature for the fireContainerEvent method. |
protected long |
creationTime
The time this session was created, in milliseconds since midnight, January 1, 1970 GMT. |
protected int |
debug
The debugging detail level for this component. |
protected static java.lang.String[] |
EMPTY_ARRAY
Type array. |
protected boolean |
expiring
We are currently processing a session expiration, so bypass certain IllegalStateException tests. |
protected StandardSessionFacade |
facade
The facade associated with this session. |
protected java.lang.String |
id
The session identifier of this Session. |
protected static java.lang.String |
info
Descriptive information describing this Session implementation. |
protected boolean |
isNew
Flag indicating whether this session is new or not. |
protected boolean |
isValid
Flag indicating whether this session is valid or not. |
protected long |
lastAccessedTime
The last accessed time for this Session. |
protected java.util.ArrayList |
listeners
The session event listeners for this Session. |
protected Manager |
manager
The Manager with which this Session is associated. |
protected int |
maxInactiveInterval
The maximum time interval, in seconds, between client requests before the servlet container may invalidate this session. |
protected static java.lang.String |
NOT_SERIALIZED
The dummy attribute value serialized when a NotSerializableException is encountered in writeObject() . |
protected java.util.HashMap |
notes
Internal notes associated with this session by Catalina components and event listeners. |
protected java.security.Principal |
principal
The authenticated Principal associated with this session, if any. |
protected static javax.servlet.http.HttpSessionContext |
sessionContext
The HTTP session context associated with this session. |
protected static StringManager |
sm
The string manager for this package. |
protected java.beans.PropertyChangeSupport |
support
The property change support for this component. |
protected long |
thisAccessedTime
The current accessed time for this session. |
| Fields inherited from interface org.apache.catalina.Session |
SESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT |
| Constructor Summary | |
StandardSession(Manager manager)
Construct a new Session associated with the specified Manager. |
| Method Summary | |
void |
access()
Update the accessed time information for this session. |
void |
activate()
Perform internal processing required to activate this session. |
void |
addSessionListener(SessionListener listener)
Add a session event listener to this component. |
void |
endAccess()
End the access. |
protected void |
evaluateIfValid()
|
protected boolean |
exclude(java.lang.String name)
Exclude attribute that cannot be serialized. |
void |
expire()
Perform the internal processing required to invalidate this session, without triggering an exception if the session has already expired. |
void |
expire(boolean notify)
Perform the internal processing required to invalidate this session, without triggering an exception if the session has already expired. |
protected void |
fireContainerEvent(Context context,
java.lang.String type,
java.lang.Object data)
Fire container events if the Context implementation is the org.apache.catalina.core.StandardContext . |
void |
fireSessionEvent(java.lang.String type,
java.lang.Object data)
Notify all session event listeners that a particular event has occurred for this Session. |
java.lang.Object |
getAttribute(java.lang.String name)
Return the object bound with the specified name in this session, or null if no object is bound with that name. |
protected java.lang.Object |
getAttributeInternal(java.lang.String name)
Return the value of an attribute without a check for validity. |
java.util.Enumeration |
getAttributeNames()
Return an Enumeration of String objects
containing the names of the objects bound to this session. |
java.lang.String |
getAuthType()
Return the authentication type used to authenticate our cached Principal, if any. |
long |
getCreationTime()
Return the time when this session was created, in milliseconds since midnight, January 1, 1970 GMT. |
java.lang.String |
getId()
Return the session identifier for this session. |
java.lang.String |
getInfo()
Return descriptive information about this Session implementation and the corresponding version number, in the format <description>/<version> . |
long |
getLastAccessedTime()
Return the last time the client sent a request associated with this session, as the number of milliseconds since midnight, January 1, 1970 GMT. |
Manager |
getManager()
Return the Manager within which this Session is valid. |
int |
getMaxInactiveInterval()
Return the maximum time interval, in seconds, between client requests before the servlet container will invalidate the session. |
java.lang.Object |
getNote(java.lang.String name)
Return the object bound with the specified name to the internal notes for this session, or null if no such binding exists. |
java.util.Iterator |
getNoteNames()
Return an Iterator containing the String names of all notes bindings that exist for this session. |
java.security.Principal |
getPrincipal()
Return the authenticated Principal that is associated with this Session. |
javax.servlet.ServletContext |
getServletContext()
Return the ServletContext to which this session belongs. |
javax.servlet.http.HttpSession |
getSession()
Return the HttpSession for which this object
is the facade. |
javax.servlet.http.HttpSessionContext |
getSessionContext()
Deprecated. As of Version 2.1, this method is deprecated and has no replacement. It will be removed in a future version of the Java Servlet API. |
java.lang.Object |
getValue(java.lang.String name)
Deprecated. As of Version 2.2, this method is replaced by getAttribute() |
java.lang.String[] |
getValueNames()
Deprecated. As of Version 2.2, this method is replaced by getAttributeNames() |
void |
invalidate()
Invalidates this session and unbinds any objects bound to it. |
boolean |
isNew()
Return true if the client does not yet know about the
session, or if the client chooses not to join the session. |
boolean |
isValid()
Return the isValid flag for this session. |
protected java.lang.String[] |
keys()
Return the names of all currently defined session attributes as an array of Strings. |
protected void |
log(java.lang.String message)
Log a message on the Logger associated with our Manager (if any). |
protected void |
log(java.lang.String message,
java.lang.Throwable throwable)
Log a message on the Logger associated with our Manager (if any). |
void |
passivate()
Perform the internal processing required to passivate this session. |
void |
putValue(java.lang.String name,
java.lang.Object value)
Deprecated. As of Version 2.2, this method is replaced by setAttribute() |
protected void |
readObject(java.io.ObjectInputStream stream)
Read a serialized version of this session object from the specified object input stream. |
void |
readObjectData(java.io.ObjectInputStream stream)
Read a serialized version of the contents of this session object from the specified object input stream, without requiring that the StandardSession itself have been serialized. |
void |
recycle()
Release all object references, and initialize instance variables, in preparation for reuse of this object. |
void |
removeAttribute(java.lang.String name)
Remove the object bound with the specified name from this session. |
void |
removeAttribute(java.lang.String name,
boolean notify)
Remove the object bound with the specified name from this session. |
protected void |
removeAttributeInternal(java.lang.String name,
boolean notify)
Remove the object bound with the specified name from this session. |
void |
removeNote(java.lang.String name)
Remove any object bound to the specified name in the internal notes for this session. |
void |
removeSessionListener(SessionListener listener)
Remove a session event listener from this component. |
void |
removeValue(java.lang.String name)
Deprecated. As of Version 2.2, this method is replaced by removeAttribute() |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Bind an object to this session, using the specified name. |
void |
setAuthType(java.lang.String authType)
Set the authentication type used to authenticate our cached Principal, if any. |
void |
setCreationTime(long time)
Set the creation time for this session. |
void |
setId(java.lang.String id)
Set the session identifier for this session. |
void |
setManager(Manager manager)
Set the Manager within which this Session is valid. |
void |
setMaxInactiveInterval(int interval)
Set the maximum time interval, in seconds, between client requests before the servlet container will invalidate the session. |
void |
setNew(boolean isNew)
Set the isNew flag for this session. |
void |
setNote(java.lang.String name,
java.lang.Object value)
Bind an object to a specified name in the internal notes associated with this session, replacing any existing binding for this name. |
void |
setPrincipal(java.security.Principal principal)
Set the authenticated Principal that is associated with this Session. |
void |
setValid(boolean isValid)
Set the isValid flag for this session. |
void |
tellNew()
Inform the listeners about the new session. |
java.lang.String |
toString()
Return a string representation of this object. |
protected void |
writeObject(java.io.ObjectOutputStream stream)
Write a serialized version of this session object to the specified object output stream. |
void |
writeObjectData(java.io.ObjectOutputStream stream)
Write a serialized version of the contents of this session object to the specified object output stream, without requiring that the StandardSession itself have been serialized. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final java.lang.String[] EMPTY_ARRAY
protected static final java.lang.String NOT_SERIALIZED
writeObject()
.
protected java.util.HashMap attributes
protected transient java.lang.String authType
protected transient java.lang.reflect.Method containerEventMethod
java.lang.Method
for the
fireContainerEvent()
method of the
org.apache.catalina.core.StandardContext
method,
if our Context implementation is of this class. This value is
computed dynamically the first time it is needed, or after
a session reload (since it is declared transient).
protected static final java.lang.Class[] containerEventTypes
fireContainerEvent
method.
protected long creationTime
protected transient int debug
protected transient boolean expiring
protected transient StandardSessionFacade facade
protected java.lang.String id
protected static final java.lang.String info
protected long lastAccessedTime
protected transient java.util.ArrayList listeners
protected transient Manager manager
protected int maxInactiveInterval
protected boolean isNew
protected boolean isValid
protected transient java.util.HashMap notes
protected transient java.security.Principal principal
protected static StringManager sm
protected static javax.servlet.http.HttpSessionContext sessionContext
protected transient java.beans.PropertyChangeSupport support
protected long thisAccessedTime
protected transient int accessCount
| Constructor Detail |
public StandardSession(Manager manager)
manager
- The manager with which this Session is associated| Method Detail |
public java.lang.String getAuthType()
getAuthType
in interface Session
public void setAuthType(java.lang.String authType)
setAuthType
in interface Session
authType
- The new cached authentication typepublic void setCreationTime(long time)
setCreationTime
in interface Session
time
- The new creation timepublic java.lang.String getId()
getId
in interface javax.servlet.http.HttpSession
public void setId(java.lang.String id)
setId
in interface Session
id
- The new session identifierpublic void tellNew()
public java.lang.String getInfo()
<description>/<version>
.
getInfo
in interface Session
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
public Manager getManager()
getManager
in interface Session
public void setManager(Manager manager)
setManager
in interface Session
manager
- The new Managerpublic int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
interval
- The new maximum intervalpublic void setNew(boolean isNew)
isNew
flag for this session.
setNew
in interface Session
isNew
- The new value for the isNew
flagpublic java.security.Principal getPrincipal()
Authenticator
with a means to cache a
previously authenticated Principal, and avoid potentially expensive
Realm.authenticate()
calls on every request. If there
is no current associated Principal, return null
.
getPrincipal
in interface Session
public void setPrincipal(java.security.Principal principal)
Authenticator
with a means to cache a
previously authenticated Principal, and avoid potentially expensive
Realm.authenticate()
calls on every request.
setPrincipal
in interface Session
principal
- The new Principal, or null
if nonepublic javax.servlet.http.HttpSession getSession()
HttpSession
for which this object
is the facade.
getSession
in interface Session
public boolean isValid()
isValid
flag for this session.
isValid
in interface Session
public void setValid(boolean isValid)
isValid
flag for this session.
setValid
in interface Session
isValid
- The new value for the isValid
flagpublic void access()
access
in interface Session
public void endAccess()
endAccess
in interface Session
public void addSessionListener(SessionListener listener)
addSessionListener
in interface Session
public void expire()
expire
in interface Session
public void expire(boolean notify)
notify
- Should we notify listeners about the demise of
this session?public void passivate()
public void activate()
public java.lang.Object getNote(java.lang.String name)
null
if no such binding exists.
getNote
in interface Session
name
- Name of the note to be returnedpublic java.util.Iterator getNoteNames()
getNoteNames
in interface Session
public void recycle()
recycle
in interface Session
public void removeNote(java.lang.String name)
removeNote
in interface Session
name
- Name of the note to be removedpublic void removeSessionListener(SessionListener listener)
removeSessionListener
in interface Session
public void setNote(java.lang.String name, java.lang.Object value)
setNote
in interface Session
name
- Name to which the object should be boundvalue
- Object to be bound to the specified namepublic java.lang.String toString()
public void readObjectData(java.io.ObjectInputStream stream) throws java.lang.ClassNotFoundException, java.io.IOException
stream
- The object input stream to read from
java.lang.ClassNotFoundException
- if an unknown class is specified
java.io.IOException
- if an input/output error occurspublic void writeObjectData(java.io.ObjectOutputStream stream) throws java.io.IOException
stream
- The object output stream to write to
java.io.IOException
- if an input/output error occurspublic long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
public java.lang.Object getAttribute(java.lang.String name)
null
if no object is bound with that name.
getAttribute
in interface javax.servlet.http.HttpSession
name
- Name of the attribute to be returned
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic java.util.Enumeration getAttributeNames()
Enumeration
of String
objects
containing the names of the objects bound to this session.
getAttributeNames
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic java.lang.Object getValue(java.lang.String name)
getAttribute()
null
if no object is bound with that name.
getValue
in interface javax.servlet.http.HttpSession
name
- Name of the value to be returned
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic java.lang.String[] getValueNames()
getAttributeNames()
getValueNames
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
- if this method is called on
an invalidated sessionpublic boolean isNew()
true
if the client does not yet know about the
session, or if the client chooses not to join the session. For
example, if the server used only cookie-based sessions, and the client
has disabled the use of cookies, then a session would be new on each
request.
isNew
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic void putValue(java.lang.String name, java.lang.Object value)
setAttribute()
After this method executes, and if the object implements
HttpSessionBindingListener
, the container calls
valueBound()
on the object.
putValue
in interface javax.servlet.http.HttpSession
name
- Name to which the object is bound, cannot be nullvalue
- Object to be bound, cannot be null
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic void removeAttribute(java.lang.String name)
After this method executes, and if the object implements
HttpSessionBindingListener
, the container calls
valueUnbound()
on the object.
removeAttribute
in interface javax.servlet.http.HttpSession
name
- Name of the object to remove from this session.
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic void removeAttribute(java.lang.String name, boolean notify)
After this method executes, and if the object implements
HttpSessionBindingListener
, the container calls
valueUnbound()
on the object.
name
- Name of the object to remove from this session.notify
- Should we notify interested listeners that this
attribute is being removed?
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic void removeValue(java.lang.String name)
removeAttribute()
After this method executes, and if the object implements
HttpSessionBindingListener
, the container calls
valueUnbound()
on the object.
removeValue
in interface javax.servlet.http.HttpSession
name
- Name of the object to remove from this session.
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionpublic void setAttribute(java.lang.String name, java.lang.Object value)
After this method executes, and if the object implements
HttpSessionBindingListener
, the container calls
valueBound()
on the object.
setAttribute
in interface javax.servlet.http.HttpSession
name
- Name to which the object is bound, cannot be nullvalue
- Object to be bound, cannot be null
java.lang.IllegalArgumentException
- if an attempt is made to add a
non-serializable object in an environment marked distributable.
java.lang.IllegalStateException
- if this method is called on an
invalidated sessionprotected void readObject(java.io.ObjectInputStream stream) throws java.lang.ClassNotFoundException, java.io.IOException
IMPLEMENTATION NOTE: The reference to the owning Manager is not restored by this method, and must be set explicitly.
stream
- The input stream to read from
java.lang.ClassNotFoundException
- if an unknown class is specified
java.io.IOException
- if an input/output error occursprotected void writeObject(java.io.ObjectOutputStream stream) throws java.io.IOException
IMPLEMENTATION NOTE: The owning Manager will not be stored
in the serialized representation of this Session. After calling
readObject()
, you must set the associated Manager
explicitly.
IMPLEMENTATION NOTE: Any attribute that is not Serializable
will be unbound from the session, with appropriate actions if it
implements HttpSessionBindingListener. If you do not want any such
attributes, be sure the distributable
property of the
associated Manager is set to true
.
stream
- The output stream to write to
java.io.IOException
- if an input/output error occursprotected boolean exclude(java.lang.String name)
name
- the attribute's nameprotected void evaluateIfValid()
protected void fireContainerEvent(Context context, java.lang.String type, java.lang.Object data) throws java.lang.Exception
org.apache.catalina.core.StandardContext
.
context
- Context for which to fire eventstype
- Event typedata
- Event data
java.lang.Exception
- occurred during event firingpublic void fireSessionEvent(java.lang.String type, java.lang.Object data)
type
- Event typedata
- Event dataprotected java.lang.String[] keys()
protected java.lang.Object getAttributeInternal(java.lang.String name)
protected void removeAttributeInternal(java.lang.String name, boolean notify)
After this method executes, and if the object implements
HttpSessionBindingListener
, the container calls
valueUnbound()
on the object.
name
- Name of the object to remove from this session.notify
- Should we notify interested listeners that this
attribute is being removed?protected void log(java.lang.String message)
message
- Message to be loggedprotected void log(java.lang.String message, java.lang.Throwable throwable)
message
- Message to be loggedthrowable
- Associated exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Team Generator
Players
Teams
Player Name:
Rating:
Add Player
Add Test Data
Add players as a list
Create Teams
Add one player pre line in format (playername score)
Add Players
Cancel
Analysis


My blog, mostly about programming but also a lot of random stuff that I feel like bitching/talking about, you’ll even find stories here as well.
No, I use a Mac, ha, ha. If you mean Politically Correct
, then absolutely not.
Yes, right here: kakubei.blogspot.com but blogger.com doesn’t support Markdown so I got fed up with it, I’ve moved to this one and might bring some of the other posts here.


PanzerBot is (for the momment) a Discord exclusive bot. PanzerBot uses IPC and WebSockets to provide a realtime (online) control panel of the bot. We are always looking for features to add to PanzerBot
For more info, troubleshooting help and bug/feature suggestions, please visit the GitHub


[ package ] [ object ] [ method ] [ explanation ]
The following document contains the results of a JavaNCSS metric analysis, using JavaNCSS version 33.54.
JavaNCSS web site.
[ package ] [ object ] [ method ] [ explanation ]
Packages sorted by NCSS.
| Package | Classes | Methods | NCSS | Javadocs | Javadoc lines | Single lines comment | Multi lines comment |
|---|---|---|---|---|---|---|---|
| com.garygregory.jcommander.converters.sql | 6 | 13 | 135 | 13 | 174 | 0 | 113 |
| com.garygregory.jcommander.converters.sql.oracle | 1 | 3 | 114 | 2 | 27 | 0 | 23 |
| com.garygregory.jcommander.converters.time | 14 | 28 | 114 | 28 | 392 | 0 | 257 |
| com.garygregory.jcommander.converters.security | 9 | 18 | 106 | 18 | 254 | 0 | 167 |
| com.garygregory.jcommander.converters.sql.mysql | 1 | 3 | 102 | 2 | 27 | 0 | 23 |
| com.garygregory.jcommander.converters.crypto | 6 | 12 | 85 | 12 | 198 | 0 | 113 |
| com.garygregory.jcommander.converters.net | 6 | 12 | 55 | 12 | 168 | 0 | 113 |
| com.garygregory.jcommander.converters | 2 | 11 | 42 | 13 | 106 | 0 | 50 |
| com.garygregory.jcommander.converters.util | 4 | 8 | 34 | 8 | 111 | 2 | 77 |
| com.garygregory.jcommander.converters.net.ssl | 2 | 4 | 27 | 4 | 66 | 0 | 41 |
| com.garygregory.jcommander.converters.security.cert | 2 | 4 | 19 | 4 | 56 | 0 | 41 |
| com.garygregory.jcommander.converters.math | 2 | 4 | 17 | 4 | 56 | 0 | 41 |
| com.garygregory.jcommander.converters.sql.microsoft | 1 | 3 | 16 | 2 | 27 | 0 | 23 |
| com.garygregory.jcommander.converters.nio | 1 | 2 | 13 | 2 | 25 | 0 | 23 |
| com.garygregory.jcommander.converters.nio.file.attribute | 1 | 2 | 11 | 2 | 28 | 0 | 23 |
| com.garygregory.jcommander.converters.xml.datatype | 1 | 2 | 11 | 2 | 28 | 0 | 23 |
| com.garygregory.jcommander.converters.nio.charset | 1 | 2 | 9 | 2 | 28 | 0 | 23 |
| com.garygregory.jcommander.converters.xml.namespace | 1 | 2 | 9 | 2 | 27 | 0 | 23 |
| com.garygregory.jcommander.converters.lang | 1 | 2 | 8 | 2 | 28 | 0 | 23 |
| com.garygregory.jcommander.converters.nio.file | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
| com.garygregory.jcommander.converters.xml | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
| Classes total | Methods total | NCSS total | Javadocs | Javadoc lines | Single lines comment | Multi lines comment |
|---|---|---|---|---|---|---|
| 62 | 135 | 929 | 134 | 1826 | 2 | 1230 |
[ package ] [ object ] [ method ] [ explanation ]
TOP 30 classes containing the most NCSS.
TOP 30 classes containing the most methods.
Averages.
| NCSS average | Program NCSS | Classes average | Methods average | Javadocs average |
|---|---|---|---|---|
| 10.53 | 929.00 | 0.00 | 2.18 | 2.16 |
[ package ] [ object ] [ method ] [ explanation ]
TOP 30 Methods containing the most NCSS.
Averages.
| Program NCSS | NCSS average | CCN average | Javadocs average |
|---|---|---|---|
| 929.00 | 4.36 | 3.19 | 0.53 |
[ package ] [ object ] [ method ] [ explanation ]
Non Commenting Source Statements (NCSS)
Statements for JavaNCSS are not statements as specified in the Java Language Specification but include all kinds of declarations too. Roughly spoken, NCSS is approximately equivalent to counting ';' and '{' characters in Java source files.
Not counted are empty statements, empty blocks or semicolons after closing brackets. Of course, comments don't get counted too. Closing brackets also never get counted, the same applies to blocks in general.
| Examples | |
|---|---|
| Package declaration | package java.lang; |
| Import declaration | import java.awt.*; |
| Class declaration |
|
| Interface declaration | public interface Able ; { |
| Field declaration |
|
| Method declaration |
|
| Constructor declaration | public Foo() { |
| Constructor invocation |
|
| Statement declaration |
|
| Label declaration | fine : |
In some cases consecutive semicolons are illegal according to the JLS but JavaNCSS still tolerates them (thought JavaNCSS is still more strict as 'javac'). Nevertheless they are never counted as two statements.
Cyclomatic Complexity Number (CCN)
CCN is also know as McCabe Metric. There exists a much hyped theory behind it based on graph theory, but it all comes down to simply counting 'if', 'for', 'while' statements etc. in a method. Whenever the control flow of a method splits, the "CCN counter" gets incremented by one.
Each method has a minimum value of 1 per default. For each of the following Java keywords/statements this value gets incremented by one:
Also if the control flow of a method returns abortively the CCNvalue will be incremented by one:
An ordinary return at the end of method will not be counted.
Note that 'else', 'default', and 'finally' don't increment the CCN value any further. On the other hand, a simple method with a 'switch' statement and a huge block of 'case' statements can have a surprisingly high CCN value (still it has the same value when converting a 'switch' block to an equivalent sequence of 'if' statements).


I was always the builder (and destroyer) in my family, taking things apart to see how they worked and then attempting to piece everything back together. It was riveting, and I couldn't stop doing it. As I got older that excitement grew with me, but college was when I really began to steer that passion in a professional direction. I developed my multidisciplinary interests through biomedical engineering, learning about the incredible creative power of the fundamentals of engineering while exploring other related topics in biophysics and computer programming.
Now pursuing my Masters degree in Robotics, I want to take my skills and channel them into a career in which I can join fellow engineers, researchers and scientists to deliver world changing solutions in an ever-changing digital environment. Over the years I've been continuously refining my goals, both professionally and personally, and I've come to realize that they overlap in wonderful ways.


Repository(applicationContext: ApplicationContext)
Responsible for the storage of relevant information.


Piazza to manage Italy in 2021 WBC
by Matt KellyHall of Fame catcher Mike Piazza is returning to the international baseball stage.
Piazza will manage Team Italy in the 2021 World Baseball Classic, the Italian Baseball and Softball Federation announced Wednesday. The 51-year-old, who also announced the news via Twitter, replaces Gilberto Gerali, who resigned after Italy placed fifth in the World Baseball Softball Confederation Europe-Africa Olympic qualifier.
The hire continues Piazza’s legacy with Team Italy, the club he raised to prominence as a player in the 2006 WBC and as its hitting coach in ’09. Piazza also served as an instructor for the Italian Baseball Academy as the nation claimed back-to-back European Baseball Championships in ’10 and ’12. He was also instrumental in recruiting Cubs star Anthony Rizzo to Team Italy for the 2013 WBC, when the club advanced to the second round for the first time.
Piazza, who resides in Italy with his family, has continually devoted his efforts toward growing baseball at the grassroots level in the country since he retired from the Major Leagues in 2007. He entered the Hall of Fame in ‘16 after receiving 83 percent of the Baseball Writers’ Association of America vote.
This will mark his second experience as a manager in an organized setting; he was the skipper for Team USA in the 2011 SiriusXM All-Star Futures Game in Arizona.
Matt Kelly is a reporter for MLB.com based in New York. Follow him on Twitter at @mattkellyMLB.


Toggles the collapsed state of a form's group.
toggleGroup(groupName, [show])
| groupName |
string, name of the group |
| show |
boolean, if true the group will be expanded, if false the group will be collapsed (optional) |
Returns undefined.
Description
This method will toggle the collapsed/expanded state of a group if show is not set.
If show is, the group will be collapsed/expanded based on the value of show.
If you have form defined in the following way:
You can do:


Atopic eczema is likely to be caused by a combination of things.
People with atopic eczema often have very dry skin because their skin is unable to retain much moisture. This dryness may make the skin more likely to react to certain triggers, causing it to become red and itchy.
You may be born with an increased likelihood of developing atopic eczema because of the genes you inherit from your parents.
Research has shown children who have one or both parents with atopic eczema, or who have other siblings with eczema, are more likely to develop it themselves.
Atopic eczema isn't infectious, so it can't be passed on through close contact.
Eczema triggers
There are a number of things that may trigger your eczema symptoms. These can vary from person to person.
Common triggers include:
- irritants – such as soaps and detergents, including shampoo, washing up liquid and bubble bath
- environmental factors or allergens – such as cold and dry weather, dampness, and more specific things such as house dust mites, pet fur, pollen and moulds
- food allergies– such as allergies to cows' milk, eggs, peanuts, soya or wheat
- certain materials worn next to the skin – such as wool and synthetic fabrics
- hormonal changes – women may find their symptoms get worse in the days before their period or during pregnancy
- skin infections
Some people also report their symptoms get worse when the air is dry or dusty, or when they are stressed, sweaty, or too hot or too cold.
If you're diagnosed with atopic eczema, your GP will work with you to try to identify any triggers for your symptoms.
Page last reviewed: 2 December 2016
Next review due: 2 December 2019


Tables
Tables are often that elephant in the room. They're big, unwieldy, messy. Sometimes they're too heavy and convey too much data. But many times they're more than necessary, and they can be the only way to effectively show large amounts of data.
Tables in coeur are simple, and should focus on content first, layout second. Reduce the amount of visual clutter as much as you can to emphasize the content. There are essentially two ideas behind tables: content-first, or spreadsheet tables. The two links below explore the two different styles:
- Semantic UI table implementation: Semantic UI.
- Web typography tables: A list apart
- Takeaways:
- Keep tables semantic
- table
- caption
- thead
- tbody
- table
- Use borders and backgrounds sparingly
- Don’t stretch tables for sparse amounts of data
- Columns should comfortably wrap their data, and not be too wide
- Left align as much as possible
- Right align numerical data
- Align by decimal for large numerical data, but doesn't actually work
td { text-align: "." center; }
- For large amounts of numerical data (e.g. financials, stock data), use aligned numericals
- For small amounts of numerical data, use old-style numerical
table { font-variant-numeric:
lining-nums | tabular-nums | proportional-nums; }
- Match alignment headings to data
- Use lots of white space
- Use
<caption>
tag on every tablecaption { caption-side: bottom; }
- Wrapping tables in a figure:
<figure class="fig-table"><table> … </table> </figure>
.fig-table { max-width: 100%; overflow-x: scroll; }
- use
white-space:nowrap
on cells
- Keep tables semantic
- Takeaways:
- more implementation examples
Responsive Tables
Some prefer to stack rows on smaller screens (each column in a row stack above each other). This can work on small or simple data sets, but can get very confusing with large amounts of data).
Markdown
Markdown supports tables (the kramdown version included in coeur, at least. The original markdown doesn't have table support). It can be kind of awkward, but it's useful nonetheless. Kramdown only supports very simple tables. More on this at the kramdown docs
| Item # | Diameter | Arbor | Max RPM |
|---|---|---|---|
| TBS40 | 4'' | 5/8'' - 7/8'' + 22mm | 15,000 |
| TBS40 | 4'' | 5/8'' - 7/8'' + 22mm | 15,000 |
| TBS40 | 4'' | 5/8'' - 7/8'' + 22mm | 15,000 |
| Footer row |
1
2
3
4
5
6
7
8
| Item # | Diameter | Arbor | Max RPM |
|---------------|----------|----------------------|--------:|
| TBS40 | 4'' | 5/8'' - 7/8'' + 22mm | 15,000 |
| TBS40 | 4'' | 5/8'' - 7/8'' + 22mm | 15,000 |
| TBS40 | 4'' | 5/8'' - 7/8'' + 22mm | 15,000 |
|===============|==========|======================|=========|
| Footer row | | | |
|---------------|----------|----------------------|---------|
Simple Table Design
The Semantic UI and alistapart examples have been distilled to a basic set of rules outlined in the following example.
- Add
.--num
to columns that show numbers - Add
.--group
to rows that have new row header titles - Add
.--nobreak
to force no line breaks (whitespace: nowrap
) - Add
.--stack
or.--stack-xs
(for only stacked on small screens) to invert the x/y axis to compact the table. Might not always work. Requiresdata-titles
on all thetd
s
| To convert | into | multiply by | |
|---|---|---|---|
| Length | inches | millimetres (mm) | 25.4 |
| feet | centimetres (cm) | 30.48 | |
| yards | metres (m) | 0.91444 | |
| miles | kilometres (km) | 1.61 | |
| Area | square inches | sq. millimetres (mm²) | 645 |
| square feet | square metres (m²) | 0.0929 | |
| square yards | square metres (m²) | 0.836 | |
| acres | hectares | 2.47 | |
| Volume | cubic inches | millitres (ml) | 16.4 |
| cubic feet | litres | 28.3 | |
| imperial gallons | litres | 4.55 | |
| US barrels | cubic metres (m³) | 0.159 | |
| Footer row with footer content, colspan: 4 |
| Sun | Mon | Tue | Wed | Thu | Fri | Sat | |
|---|---|---|---|---|---|---|---|
| 7:00 | |||||||
| 7:30 | |||||||
| 8:00 | |||||||
| 8:30 | |||||||
| 9:00 | |||||||
| 9:30 | |||||||
| 10:00 | |||||||
| 10:30 | |||||||
| 11:00 | |||||||
| 11:30 | |||||||
| 12:00 | |||||||
| 12:30 | |||||||
| 13:00 | |||||||
| 13:30 | |||||||
| 14:00 | |||||||
| 14:30 | |||||||
| 15:00 | |||||||
| 15:30 | |||||||
| 16:00 | |||||||
| 16:30 | |||||||
| 17:00 | |||||||
| 17:30 | |||||||
| 18:00 | |||||||
| 18:30 | |||||||
| 19:00 | |||||||
| 19:30 | |||||||
| 20:00 | |||||||
| 20:30 | |||||||
| 21:00 | |||||||
| 21:30 | |||||||
| 22:00 | |||||||
| 22:30 |


System Head Curve
Choose two points for
head
and
flow
:
Flow
Head
Choose
Choose
Loss exponent
PLOT
Static Head:
Loss coefficient K:


German word of the day: Der Wetterfrosch
by The LocalIf you've wondered why the weather forecast often is unreliable, this word might help you figure that out.
What does it mean?
The word “Wetterfrosch” (weather frog or weatherman) has two meanings which both stem from one myth.
The first and literal definition translates to weather frog, and directly originates from the idea that European tree frogs can predict the weather because they climb up plants as the sun starts to emerge.
This occurs not because frogs can predict the weather, but because these ambitious amphibians are in search of insects for food, who tend to fly higher in the air when the weather is warmer.
Nevertheless, this leads to some people holding tree frogs inside jars with a built-in latter, hoping for their position on the ladder to forecast the weather.
The further the frog climbs ladder, the better the weather will be. On the contrary, the closer he stays to the ground, the worse the weather is likely to be.
The second meaning refers to a meteorologist (weatherman) or a person who is interested in the weather, and therefore is similar to the weather frog.
How is it used?
In both definitions, the word is used in a humorous sense because an actual weather frog does not exist, nor can a tree frog foresee the weather.
One could comically refer to the meteorologists on TV as “Wetterfrösche”.
Examples
“Ich glaube nicht, dass der Wetterfrosch wirklich das Wetter voraussagen kann.”
"I do not think that the weather frog can really foretell the weather."
“Die Wetterfrösche im Radio meinten, dass es morgen sonnig werden wird.”
The weathermen on the radio said that it will be sunny tomorrow.


Contact
Username
Email
How would you like to be contacted?
Email
Phone
Washed Up Bottle With a Note In It
Send
Home
About


Preparation time
over 2 hours
Cooking time
30 mins to 1 hour
Serves
Makes 30 doughnuts
Dietary
Make doughnuts even more delicious with an apple filling, cinnamon sugar and a maple glaze, topped off with a silky créme Anglaise. Just make sure you don't eat them all by yourself.
For the doughnuts, put the flour, sugar and salt in the bowl of an electric mixer fitted with a dough hook (if using dried yeast, add it to the bowl now). Stir to mix, then make a well in the middle.
In a small bowl, stir the fresh yeast with a little milk until creamy, then set aside for a few minutes until foamy. Add to the well in the flour along with the egg yolks and remaining milk. Mix on low speed to combine, then increase the speed slightly and continue to mix until a dough forms.
Reduce the speed a little before adding the butter, a little at a time, and continue mixing until it is fully incorporated. If the dough seems too wet, mix in a little more flour, a tablespoonful at a time. Increase the speed and knead the dough for a couple of minutes until it is smooth and elastic. Cover the bowl with cling film and leave the dough to rise in a warm spot for 1-2 hours or until doubled in size.
Meanwhile, make the apple filling. Add the lemon juice to a large bowl of water. Peel, core and roughly chop the apples. As you chop them, immediately put them into the bowl of acidulated water to prevent them from browning.
Drain the apples and pat dry with a kitchen towel, then tip into a heavy-based pan and add the sugar and butter. Cook over low heat, stirring occasionally, for about 30 minutes or until the apples are very soft. If there seems to be too much liquid, continue to cook over a low heat until the mixture has thickened. Transfer the stewed apples to a food processor and blend until smooth, stopping the machine to scrape down the sides once or twice. Pass the apple purée through a sieve into a bowl and leave to cool completely, then spoon into a plastic squeezy bottle with a long tip (or a piping bag fitted with a long, thin nozzle). Set aside.
Knock back the risen dough and lightly knead it on a floured surface. Roll out the dough to a 1cm/½in thick square or rectangular shape. Line two baking sheets with baking parchment. Put the dough on one of the baking sheets and chill in the freezer for about 30 minutes or until the dough is semi-frozen (this will make it easier to cut).
Using a sharp knife, cut the dough into 4cm/1½in squares. Arrange them, spaced slightly apart, on the lined baking sheets. Cover with lightly greased cling film and leave in a warm spot for about an hour or until the dough is one-and-a-half times the original size.
Meanwhile make the maple glaze, combine the ingredients in a bowl with a tablespoon water and whisk until smooth. If the glaze seems too thick, add a little more water, a tiny splash at a time, and stir well until you get the desired consistency.
For the cinnamon sugar, mix the caster sugar and cinnamon together on a plate.
For the crème Anglaise, heat the cream with the vanilla seeds and pod in a saucepan until it begins to boil. Remove from the heat and let the vanilla infuse the cream as it cools. Meanwhile, beat the sugar and egg yolks together in a large bowl. When the vanilla cream has cooled, fish out the pod, then mix the cream with the sugary yolks. Pour the mixture through a fine sieve into a clean saucepan. Set over a low heat and cook, stirring constantly with a wooden spoon, until the mixture thickens into a thin custard that will lightly coat the back of the spoon.
Heat 4-5cm/1½-2in of oil in a deep heavy-bottomed pan, or a deep-fat fryer, to 170C. Deep-fry the doughnuts, in small batches, for about 2 minutes or until golden-brown all over. Remove with a slotted spoon and drain on a tray lined with several layers of kitchen paper. While the doughnuts are still warm, pipe the apple filling into the centre of each, then roll in the cinnamon sugar.
Once all the doughnuts have been deep fried, filled and sugared, glaze them in several batches. Place a few in a single layer on a wire rack set over a large baking tray. Drizzle the maple glaze over them and leave to set slightly before transferring them to a serving plate. Serve warm or at room temperature with the vanilla crème Anglaise.


Set your location with the search box below. Sign in to view diary events.
{{ vm.error }}
{{option.formatted_address}}


Conducting the Experiment
Before the experiment:
- Have them read and sign the consent form
- Explain the goal of the experiment: in a way accessible to users
- Be careful about the demand characteristic: Participants biased towards experimenter’s hypothesis
- Answer questions
During the experiment
- Stay neutral
- Never indicate displeasure with users performance
After the experiment
- Debrief users: Inform users about the goal of the experiment
- Answer any questions they have


AutoCloseable
instances which are not used in a try-with-resources statement, also known as
Automatic Resource Management.
This means that the "open resource before/in try
, close in finally
" style that had been used before
try-with-resources became available, is also reported.
This inspection is meant to replace all opened but not safely closed inspections when developing in Java 7 and higher.
Example:
private static void foo() throws IOException {
InputStream profile = Thread.currentThread().getContextClassLoader().getResourceAsStream("/someFile");
System.out.println(profile.read());
}
Use the following options to configure the inspection:
AutoCloseable
that do not need to be closed and should be ignored by this inspection.
java.nio.file.Files
methods lines()
,
walk()
, list()
and find()
,
even when java.util.stream.Stream
is listed to be ignored.
These streams contain an associated I/O resource that needs to be closed.
AutoCloseable
that should be ignored when called.
AutoCloseable
if it is the result of a method call.
When this option is enabled, the results of factory methods will also be ignored.
AutoCloseable
instance is passed as a method call argument.
If this option is enabled, the inspection assumes the resource is closed in the called method.
Method calls inside a finally
block with 'close' in the name and an
AutoCloseable
argument will not be ignored.


- setDayOfWeek(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the day of week of the given date
- setDayOfWeek(XmlAction, Date, int) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the day of week of the given date
- setFirstDayOfMonth(XmlAction, int, int) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
first day of the month.
- setFirstDayOfMonth(XmlAction) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
first day of the current month.
- setFirstDayOfMonth(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
first day of the month.
- setFirstDayOfMonth(XmlAction, int, int, String) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
first day of the month.
- setLastDayOfMonth(XmlAction, int, int) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
last day of the month.
- setLastDayOfMonth(XmlAction) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
last day of the current month.
- setLastDayOfMonth(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
last day of the month.
- setLastDayOfMonth(XmlAction, int, int, String) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
last day of the month.
- setMidDayOfMonth(XmlAction, int, int) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
mid day of the month.
- setMidDayOfMonth(XmlAction) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
mid day of the current month.
- setMidDayOfMonth(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
mid day of the month.
- setMidDayOfMonth(XmlAction, int, int, String) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the date of the
mid day of the month.
- setMonth(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the month of the given date
- setNull(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
- setQuarter(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the quarter of the year of the given date
- setTodayDate(XmlAction, String) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the current date.
- setTodayDate(XmlAction) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the current date.
- setTodayDate(XmlAction, String, int) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the current date plus/minus
the specified number of days offset.
- setValue(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
sets the date to the given date
- setValue(XmlAction, Date, String) - Method in class com.datamelt.rules.core.action.DateAction
-
sets the date to the given date and returns it as a String value
- setValue(XmlAction, String) - Method in class com.datamelt.rules.core.action.DateAction
-
sets the date to the given date
- setValue(XmlAction, String, String) - Method in class com.datamelt.rules.core.action.DateAction
-
sets the date to the given date
- setValue(XmlAction, String, String, String) - Method in class com.datamelt.rules.core.action.DateAction
-
sets the date to the given date and returns it in the specified format
as a string
- setWeek(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the week of year of the given date
- setYear(XmlAction, Date) - Method in class com.datamelt.rules.core.action.DateAction
-
method will set the value of the relevant object to the year of the given date
- subtractDays(XmlAction, Date, long) - Method in class com.datamelt.rules.core.action.DateAction
-
method will subtract the given number of days from the provided date
- subtractHours(XmlAction, Date, long) - Method in class com.datamelt.rules.core.action.DateAction
-
method will subtract the given number of hours from the provided date
- subtractMinutes(XmlAction, Date, long) - Method in class com.datamelt.rules.core.action.DateAction
-
method will subtract the given number of minutes from the provided date
- subtractSeconds(XmlAction, Date, long) - Method in class com.datamelt.rules.core.action.DateAction
-
method will subtract the given number of seconds from the provided date


This is the documentation for the tool DiscreteCrypt, which is a BSD-2 Licensed replacement for tools like PGP/GPG designed for flexibility and ease of use.
The tool uses a Hybrid Cryptosystem built on Discrete Log Cryptography (hence, DiscreteCrypt). This design choice makes it far more convenient to support ease of use.
If you want to be able to quickly use the tool without reading the rest of the documentation, this quick start is provided. There are three basic functionalities you need to know.
This allows people to send stuff to you securely, just use:
cryptotool -contact alice.contact
To send an encrypted file quickly (and anonymously) to a contact (like Bob), you just use a command like:
cryptotool -to bob.contact file.zip file.zip.enc
If you want to send it FROM your contact, you use
cryptotool -from alice.contact -to bob.contact file.zip file.zip.enc
This command allows you to open encrypted files that are sent to your personal contact files.
cryptotool -open file.zip.enc file.zip
It is important to note that DiscreteCrypt command line arguments are parsed from left to right, with no program-defined limits on how many commands can be performed in a single execution.
It is important to keep in mind that because of this, the ordering of the arguments matter.
| Command | Use |
|---|---|
| -contact <out> | Generates a contact to allow people to send files to you securely. This contact may also be used for signatures. |
| -to <contact> <file> <encrypted file> | Creates an encrypted file for contacts. This parameter can be comma delimited if you’re sending the file to multiple contacts. |
| -from <contact> | Specifies where the encrypted file is from. If this is not specified before the -to command is performed, the tool will generate an anonymous sender. |
| -open <encrypted file> <out> | Decrypts an encrypted file, and export it to <out>. |
| -sign <contact> <file> <out> | Creates a signature for a file using your contact file. |
| -verify <signature file> <file> | Verifies a file from its signature file. |
| -bundle <contact> <file> <out> | Creates a bundle of the file and its signature. You can use DiscreteCrypt to extract the file and verify it. |
| -debundle <bundle file> <out> | Extracts a file from a bundle and verifies it against the stored signature. |
| -hash <code> | Sets the hash algorithm to be used by following commands. (See Supported Hash Algorithms) |
| -ciph <code> | Sets the cipher to be used by following commands. (See Supported Ciphers) |
| -check <contact> | Used to check a password against a contact file. |
| -import <contact> | Used to import a contact file into the local DiscreteCrypt directory, which can store contacts globally for your user account. |
These are the lesser used auxiliary commands.
| Command | Use |
|---|---|
| -ciphlist | Prints out all supported ciphers. |
| -hashlist | Prints out all supported hash algorithms. |
| -pdh | Prints out the current Discrete Log (Diffie-Hellman) Parameters. |
| -ldh <dh file> | Loads in Discrete Log (Diffie-Hellman) Parameters. These can be generated by a tool like nspdh. |
| -pldh <dh file> | Prints out Discrete Log (Diffie-Hellman) Parameters from a file. |
| -dhtest | Tests the currently loaded Discrete Log (Diffie-Hellman) Parameters. |
| -pc <contact> | Prints out information about a contact. |
| -pe <encrypted file> | Prints out information about an encrypted file. |
| -exc <encrypted file> <contact out> | Extracts a contact from an encrypted file. |
| -exdhe <encrypted file> <dh out> | Extracts Discrete Log / DH Parameters from an encrypted file. |
| -exdhc <contact> <dh out> | Extracts Discrete Log / DH Parameters from a contact file. |
| --deniable | Allows the sender of a file to deny authorship. Excludes signatures from the encrypted file. |
| --prompt <prompt> | Adds an OTR-Style symmetric authentication prompt to an encrypted file. You will be asked to provide the answer during the encryption process. |
| --prompt-hidden <prompt> | Same as above, but obfuscates the input you type in. |
| --add-message | Allows you to add a message to the encrypted payload. Input during the encryption process. |
| --add-message-hidden | Same as above, but obfuscates the input you type in. |
| --drop | Drops all prompts and messages. |
| --exportSigners <contact out> | Exports any signers (usually the sender) of a file as a contact. |
Creating a contact.
cryptotool -contact jdoe.contact
Sending a file anonymously.
cryptotool -to jdm.contact file.zip file.zip.enc
Sending a file from jdoe to jdm,
cryptotool -from jdoe.contact -to jdm.contact file.zip file.zip.enc
Setting the cipher to Kuznyechik and using Skein512_384 as the hash algorithm,
cryptotool -ciph 200 -hash 112 -from jdoe.contact -to jdm.contact file.zip file.zip.enc
Opening the encrypted file,
cryptotool -o file.zip.enc file.zip
Complex Command
cryptotool -c Me -from Me -ciph 212 -hash 12 --prompt "Where did we meet 4/2/2018?" -to jdm.contact file.zip file.zip.enc
This is the list of supported ciphers. To use these in DiscreteCrypt, use the parameter
-ciph <code #>
Prior to executing the command that uses it (like to).
| Cipher Name | Code |
|---|---|
| AES128 | 0 |
| AES192 | 1 |
| AES256 | 2 |
| Threefish256 | 100 |
| Threefish512 | 101 |
| Threefish1024 | 102 |
| Camellia128 | 110 |
| Camellia192 | 111 |
| Camellia256 | 112 |
| Serpent128 | 120 |
| Serpent192 | 121 |
| Serpent256 | 122 |
| Twofish128 | 130 |
| Twofish192 | 131 |
| Twofish256 | 132 |
| Mars128 | 140 |
| Mars160 | 141 |
| Mars192 | 142 |
| Mars224 | 143 |
| Mars256 | 144 |
| Mars384 | 145 |
| Mars448 | 146 |
| Cast6_128 | 150 |
| Cast6_160 | 151 |
| Cast6_192 | 152 |
| Cast6_224 | 153 |
| Cast6_256 | 154 |
| Kuznyechik | 200 |
| Aria128 | 210 |
| Aria192 | 211 |
| Aria256 | 212 |
| Speck128_128 | 220 |
| Speck128_192 | 221 |
| Speck128_256 | 222 |
| Simon128_128 | 230 |
| Simon128_192 | 231 |
| Simon128_256 | 232 |
| Kalyna128_128 | 240 |
| Kalyna128_256 | 241 |
| Kalyna256_256 | 242 |
| Kalyna256_512 | 243 |
| Kalyna512_512 | 244 |
| SM4 | 250 |
This is the list of supported hashes. To use these in DiscreteCrypt, use the parameter
-hash <code #>
Prior to executing the command that uses it (like to, sign, bundle, etc).
| Hash Name | Code |
|---|---|
| SHA256 | 0 |
| SHA384 | 1 |
| SHA512 | 2 |
| SHA3_224 | 10 |
| SHA3_256 | 11 |
| SHA3_384 | 12 |
| SHA3_512 | 13 |
| SHAKE128_224 | 20 |
| SHAKE128_256 | 21 |
| SHAKE128_384 | 22 |
| SHAKE128_512 | 23 |
| SHAKE128_1024 | 24 |
| SHAKE256_224 | 30 |
| SHAKE256_256 | 31 |
| SHAKE256_384 | 32 |
| SHAKE256_512 | 33 |
| SHAKE256_1024 | 34 |
| Skein256_224 | 100 |
| Skein256_256 | 101 |
| Skein256_384 | 102 |
| Skein256_512 | 103 |
| Skein256_1024 | 104 |
| Skein512_224 | 110 |
| Skein512_256 | 111 |
| Skein512_384 | 112 |
| Skein512_512 | 113 |
| Skein512_1024 | 114 |
| Skein1024_224 | 120 |
| Skein1024_256 | 121 |
| Skein1024_384 | 122 |
| Skein1024_512 | 123 |
| Skein1024_1024 | 124 |
| Whirlpool | 130 |
| Streebog256 | 200 |
| Streebog512 | 201 |
| Kupyna_224 | 210 |
| Kupyna_256 | 211 |
| Kupyna_384 | 212 |
| Kupyna_512 | 213 |
DiscreteCrypt has a configuration directory that will be used extensively in future iterations of the software. Currently it is being used to store contacts.
On Windows it is located at:
%appdata%\.discretecrypt
And on Unix
~/.discretecrypt
The tool will automatically grab imported contacts from the DiscreteCrypt directory when a matching contact file doesn’t exist in the current working directory.
Example Usage:
cryptotool -import jdm.contact
rm jdm.contact #
cryptotool -to jdm file file.enc # This will find the imported "jdm.contact" file.
It is okay to omit the “.contact” extension when referencing contact files. The tool will detect this and handle it appropriately.


Railmate GDPR
Subject access request (SAR)
What we'll give to you
The first thing we'll give back to you is, wether or not we are storing any of your personal data. If we are we'll send you the following :
- What we use the information for
- Who we share you're data with
- How long we store your information and how we decide that
- That you have the right to make us change or stop using your data
- That you can complain to the Information Commissioner's Office ico
- Where we got your data from
- What sort of profiling or automatic decison making we're doing and how we are doing it
- The security meassure we'd take in transfering your data to a third country or international organsation


Genki I
Text above the table of contents that explains things even further. What will this say? It could be things like how to use this resource, where it comes from, etc etc. Lots of options and possibilities.
Table Of Contents
Chapter 1: あたらしいともだち
Instructions about what to do... blah blah blah blah. Here's some filler text. I want this to go to a second line! Maybe there should be a resources section here?
Resources
Here's a list of resources, mostly input-focused, to help you with this chapter.
-
Resource 1
This is a couple of sentences that describe this resource. What it's good for, blah blah blah. Mostly just trying to get this on a second line, so I can see how this looks. Yay!
-
Resource 2
This is a couple of sentences that describe this resource. What it's good for, blah blah blah. Mostly just trying to get this on a second line, so I can see how this looks. Yay!
Input
↑ Table Of ContentsChapter 2: あたらしいともだち
Instructions about what to do... blah blah blah blah. Here's some filler text. I want this to go to a second line! Maybe there should be a resources section here?


User Portal
Welcome {{user.name}}
Shop
Checkout
Logout
0">
Previous
Next
Add to Cart
Information:
The product collection is empty.
Cart:
0">
Name
Brand
Actions
{{ cart_item.name }}
{{ cart_item.brand }}
Remove
Checkout
Information:
The cart is empty.


ES5 and ES2015(ES6) side by side
Instructions: Open the console window to view outputs of the code.
List of features covered:
- Array Helpers
- Variables - Constants and Let's
- Template Strings
- Arrow Functions
- Object Literals
- Default Function Arguments
- Rest Spread Operators
- Destructuring
- Classes
- for of loop
- Generators
- promises


Your chat bubble color
Their chat bubble color
The background color
Your text color
Their text color


(defmethod print-object ((object persistent-object) stream)
(print-unreadable-object (object stream :type t :identity nil)
(format stream "#~D~@[ with transaction id ~D~]"
(slot-value object 'object-id)
(transaction-id object))))
Source Context


security Journal
there've been a couple of sites pointing in the direction of what looks like an interesting security publiscation Security Journal
there've been a couple of sites pointing in the direction of what looks like an interesting security publiscation Security Journal
Theere's a very interesting post over at Dana Epp's ramblings at the Sanctuary : B.C Privacy Commissioner says the USA Patriot Act violates privacy laws
I think one very interesting thing which this action may stir up, is given the apparent dichotomy between US privacy laws and the EU Data Protection Directive, why hasn't more action been taken by the various european data protection commissioners to ensure that data relating to EU citizens is properly handled when in the US. Right now the guidelines (at least what I've seen of them) seem fairly vague and not really in keeping with the level of rigour that the rest of the act's provisions have...
Over at the Microsoft Security Guidance Center, there's an interesting looking list of Microsoft security documents for free download (unfortunately to get the PDF's you need to register and give some information that seems pretty unrelated to the documents like your address)
Found a cople of links which give lots of useful information on windows processes like the detail of what each does. links here and here .
Of course you should always be cautious about assuming that just 'cause a process has a given name that it will do what is contained in lists like this, as it isn't too hard to create a binary with any given name, however useful info. all the same.
Here's an interesting questionnaire published by the world bank as an assessment methodology for organisational security.
I've not had a chance to go all the way through it in detail, but it looks like it's got some interesting ideas in it. However one thing that I'm not too keen on in it so far is the section structure. they seem to have sections at very different levels of detail. For example one section for authentication/access control, quite a large area to cover and then one specifically for active content control for Internet access, which is a very specific area to cover!
An interesting blog entry on Locking Down The Obvious: USB
I think it's a point well made. Essentially companies need to look at USB ports in the same way they look at CD-ROM's and floppy drives. If CD's and floppies are locked down then USB ports should be as well... although it is more challenging technologically as USB ports have wider range of functionality than CD-Drives, which makes it more likely that they will need to be enabled.
It also looks like software products are coming into the market to manage this kind of functionality where required. For example Reflex disknet pro looks like an interesting way of controlling access to removable media, including USB keys....
I found an interesting product called GroundWork.
However what was more interesting to me was the advert's they're using to attract customer, which are actively promoting the products open source background
"no proprietary hassles" and "open source flexibility" are 2 of the phrases from the ads.
I'd be interested to know how that approach works out for them, 'cause it's fairly opposed to what a lot of the research firms seem to say about open source, which is that big business finds the open source nature of the software a turn off...
The Great Debates: Pass Phrases vs. Passwords. Part 1 of 3: Security Management - October 2004
Another interesting article on passwords v passphrases
Password vs. Passphrase redux
Interesting article covering passwords and passphrases. I must say that personally I'm not too fond of trying to remember passphrases (I tend to forget how I punctuated them when I originally set them)...
One of the more interesting ways I've heard of for setting passwords was a friend of mine who uses the second letter each word of song lyrics which he's written himself ;op
the story over at Wired covers the news that american passports are going to get RFID chips...
As is mentioned in the story I don't really understand why they don't just use chips that require contact, thus reducing the risks that the chips is read by unauthorised persons considerably...
Also I can see the sales of passport holders that block RFID signals going through the roof!! (hmm wonder if I could patent that sharpish ;op)


This site serves as a companion to the SPARTIN R package, which is available to download from github. You can use the "ExportToVis" function to export a tessellation generated by the SPARTIN package to a format that can be visualized by this webapp. For a more detailed tutorial on how to use the package, you can read the "SPARTIN-General-Usage" vignette available in the package.
To use the visualizer, go the the "Visualizer" page by using the link in the navbar above. After uploading a json file outputted by the "ExportToVis" function, you should see a heatmap generated like this one:
Clicking on tiles enlarges them to show the position of the points:
If you'd like to see the visualizer in action but don't yet have any data to test it on, you can use this sumulated data set to explore the functionality of the visualizer.
Questions? Bug Reports? Just want to chat? Feel free to email me: oshern [at symbol] umich [dot] edu.


My expertise is in exploring physical, dynamic, scaled models for scientific computing (e.g. for biological and physical systems, nanobiostructures etc).
In my PhD thesis, I have pointed out a new direction of exploration with physical models for polypeptides. I have designed and fabricated Peppytides (www.peppytides.org), the first mechanically flexible, scaled, physical model of the polypeptide chain that accurately demonstrates the molecular dynamics behind protein folding such as degrees of freedom on rotatable bonds, barriers to bond rotation, bond lengths and angles, and short- and long-range (nonbonding) interactions between amino acids. Reported in PNAS here.
Unlike most 3-D printed protein models, Peppytide features a backbone chain that can be folded or unfolded to make at-scale, all of the common protein secondary structure elements, such as alpha helices, beta sheets and turns, and small tertiary structures and protein motifs. See pictures and details of the model in Peppytides website.
10-11 Jun, 2014> Met with Congressional Representatives and their staff and participated in the 4th Annual National User Facility Organization (NUFO) Science Expo, Washington DC, Jun 2014.
22 May, 2014> News coverage in Berkeley Lab's Materials Sciences Division (MSD) website MSD news
22 May, 2014> News coverage in Today at Berkeley Lab (TABL) TABL news
Tweets about Peppytides in Twitter by BerkeleyLab, Berkeley Science Review, PatonGroup, Stratasys
26 Aug, 2013> Peppytide covered in an article in Berkeley Science Review (online) Read it here
13 Aug, 2013> Our paper is now in print; in today's issue of PNAS. Link
29 July, 2013> Our paper has been published online ahead of print today in PNAS! doi: 10.1073/pnas.1305741110. More details in the publications list. Soon to be in print!
News (2012 and older):
Research Associate, Berkeley Lab, Jan 2012.
Summer and Fall internship 2011, Berkeley Lab.
Session Chair HCI Session, Women In Computing Day, organized by AWC(Association for Women in Computing), April 15, 2011.
Grace Hopper Chair for AWC (for the Grace Hopper Celebration Conference 2009, 2010, 2011)


Nested HTML elements are supported. The content of those elements is included in the expected string, but the tags themselves are not.
Fred Bloggs
Will match
the evaluation result "Fred Bloggs
".
No extra whitespace is added around the nested elements.
FredBloggs
Will match the string
"FredBloggs
", but will
not match
"Fred Bloggs
".


| # | Sta | Rlx | Name | Row Text |
| 0 | ST | 0 | autoRow0 | amount of water in a body of water increases by storms ; rain ; glaciers melting ; snow melting ; ice melting (19c9-47bf-de91-1f2e) |
| 1 | ST | 0 | autoRow1 | as the amount of water in a body of water increases , the water levels will rise ; increase especially at the edge of that body of water (7956-497a-6dfb-85f9) |
| 2 | ST | 0 | autoRow2 | melting means matter ; a substance changes from a solid into a liquid by increasing heat energy (6abc-4443-f672-9a97) |
| 3 | ST | 0 | autoRow3 | glaciers melting has a negative impact on the glaicial environment (e170-b8a2-8292-67af) |
| 4 | ST | 0 | autoRow4 | ice caps melting causes ocean water levels to rise (e53c-3c50-839b-4767) |
| 5 | ST | 0 | autoRow5 | water is in the solid state , called ice , for temperatures between 0 ; -459 ; -273 ; 459 ; 273 and 273 ; 32 ; 0 K ; F ; C (4a5a-9115-28a9-b97b) |
| 6 | ST | 0 | autoRow6 | water is in the liquid state , called liquid water , for temperatures between 273 ; 32 ; 0 and 373 ; 212 ; 100 K ; F ; C (4a5d-ae1d-5ba6-8f8d) |
| 7 | ST | 0 | autoRow7 | global warming is when worldwide temperature increases (4040-94c5-cc21-a29c) |
| 8 | ST | 0 | autoRow8 | the polar ice caps are made of ice (cb0f-c249-986a-bc7c) |
| 9 | ST | 0 | autoRow9 | Earth contains glaciers ; ice caps (5962-c3e3-67cc-829b) |
| 10 | ST | 0 | autoRow10 | ice is a kind of solid (7ef1-c28b-22e3-3edc) |
| 11 | ST | 0 | autoRow11 | global warming has a negative impact on environment ; organisms (df4c-4ccc-d375-0191) |
| 12 | ST | 0 | autoRow12 | water level is similar to ocean level (1574-3e0c-0dbc-2485) |


| Home | Trees | Index | Help |
|
|---|
| Package openid :: Package store :: Module interface :: Class OpenIDStore |
|
object
--+
|
OpenIDStore
FileOpenIDStore
,
SQLStore
| Method Summary | |
|---|---|
NoneType
|
This method puts a object into storage,
retrievable by server URL and handle. |
or
NoneType
|
This method returns an object from storage that
matches the server URL and, if specified, handle. |
bool or int
|
This method removes the matching association if it's found, and returns whether the association was removed or not. |
bool
|
Called when using a nonce. |
Shortcut for , . | |
| int |
Remove expired associations from the store. |
| int |
Remove expired nonces from the store. |
Inherited from object :
__init__ ,
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
| Method Details |
|---|
storeAssociation(self, server_url, association)This method puts a object into storage,
retrievable by server URL and handle.
|
getAssociation(self, server_url, handle=None)This method returns an If no handle is specified, the store may return any association which matches the server URL. If multiple associations are valid, the recommended return value for this method is the one most recently issued. This method is allowed (and encouraged) to garbage collect expired associations when found. This method must not return expired associations.
|
removeAssociation(self, server_url, handle)This method removes the matching association if it's found, and returns whether the association was removed or not.
|
useNonce(self, server_url, timestamp, salt)Called when using a nonce. This method should return openid.store.nonce.SKEW for your timestamp
window.
|
cleanup(self)Shortcut for |
cleanupAssociations(self)Remove expired associations from the store. This method is not called in the normal operation of the library. It provides a way for store admins to keep their storage from filling up with expired data.
|
cleanupNonces(self)Remove expired nonces from the store. Discards any nonce from storage that is old enough that its
timestamp would not pass
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Apr 22 16:14:20 2009 | http://epydoc.sf.net |


| Total net profit | -54.56 | Gross profit | 9.36 | Gross loss | -63.92 |
| Profit factor | 0.15 | Expected payoff | -0.42 | ||
| Absolute drawdown | -54.56 | Maximal drawdown (%) | 53.75 (-6635.8%) | ||
| Total trades | 129 | Profit trades (% of total) | 18 (13.95%) | Loss trades (% of total) | 111 (86.05%) |
| Long positions (won %) | 75 (18.67%) | Short positions (won %) | 54 (7.41%) | ||
| Largest | profit trade | 2.18 | loss trade | -1.59 | |
| Average | profit trade | 0.52 | loss trade | -0.58 | |
| Minimum | profit trade | 0.0 | loss trade | -0.1 | |
| Maximum | take profit in pips | 963.7 | stop loss in pips | -150.4 | |
| Average | take profit in pips | 74.3 | stop loss in pips | -64.3 | |
| Minimum | take profit in pips | -35.4 | stop loss in pips | -30.0 | |
| Maximum | Reward-Risk | 15.2 | Duration in minutes | 277 | |
| Average | Reward-Risk | 1.5 | Duration in minutes | 13.4 | |
| Minimum | Reward-Risk | 0.0 | Duration in minutes | 0 | |
| Maximum | consecutive wins (profit in money) | 2.0 (0.83) | consecutive losses (loss in money) | 28.0 (-19.3) | |
| Average | consecutive wins | 1.0 | consecutive losses | 5.0 |
| Total net profit | -31.12 | Gross profit | 8.26 | Gross loss | -39.38 |
| Profit factor | 0.21 | Expected payoff | -0.41 | ||
| Absolute drawdown | -31.12 | Maximal drawdown (%) | 32.31 (2715.13%) | ||
| Total trades | 75 | Profit trades (% of total) | 14 (18.67%) | Loss trades (% of total) | 61 (84.0%) |
| Largest | profit trade | 2.18 | loss trade | -1.2 | |
| Average | profit trade | 0.59 | loss trade | -0.65 | |
| Minimum | profit trade | 0.0 | loss trade | -0.1 | |
| Maximum | take profit in pips | 963.7 | stop loss in pips | -145.5 | |
| Average | take profit in pips | 57.8 | stop loss in pips | -74.1 | |
| Minimum | take profit in pips | -35.4 | stop loss in pips | -37.3 | |
| Maximum | Reward-Risk | 13.3 | Duration in minutes | 277.0 | |
| Average | Reward-Risk | 0.9 | Duration in minutes | 21.6 | |
| Minimum | Reward-Risk | 0.0 | Duration in minutes | 0.0 | |
| Maximum | consecutive wins (profit in money) | 2.0 (0.13) | consecutive losses (loss in money) | 18.0 (-13.33) | |
| Average | consecutive wins | 1.0 | consecutive losses | 4.0 |
| Total net profit | -23.44 | Gross profit | 1.1 | Gross loss | -24.54 |
| Profit factor | 0.04 | Expected payoff | -0.43 | ||
| Absolute drawdown | -23.44 | Maximal drawdown (%) | 22.63 (-2793.83%) | ||
| Total trades | 54 | Profit trades (% of total) | 4 (7.41%) | Loss trades (% of total) | 50 (92.59%) |
| Largest | profit trade | 0.5 | loss trade | -1.59 | |
| Average | profit trade | 0.28 | loss trade | -0.49 | |
| Minimum | profit trade | 0.0 | loss trade | -0.18 | |
| Maximum | take profit in pips | 567.4 | stop loss in pips | -150.4 | |
| Average | take profit in pips | 97.3 | stop loss in pips | -50.7 | |
| Minimum | take profit in pips | -32.7 | stop loss in pips | -30.0 | |
| Maximum | Reward-Risk | 15.2 | Duration in minutes | 24.0 | |
| Average | Reward-Risk | 2.3 | Duration in minutes | 2.0 | |
| Minimum | Reward-Risk | Duration in minutes | 0.0 | ||
| Maximum | consecutive wins (profit in money) | 1.0 (0.35) | consecutive losses (loss in money) | 26.0 (-13.73) | |
| Average | consecutive wins | 1.0 | consecutive losses | 6.0 |


The QR factorization with column pivoting does not enable us to compute
a minimum norm solution to a rank-deficient linear least squares problem,
unless R12 = 0. However,
by applying further orthogonal (or unitary) transformations
from the right to the upper trapezoidal matrix
,
using the routine xTZRQF (or xTZRZF), R12 can be eliminated:
The matrix Z is not formed explicitly, but is represented as a product of elementary reflectors, as described in section 5.4. Users need not be aware of the details of this representation, because associated routines are provided to work with Z: xORMRZ (or xUNMRZ) can pre- or post-multiply a given matrix by Z or ZT (ZH if complex).
The subroutine xTZRZF is a faster and blocked version of xTZRQF. xTZRQF has been retained for compatibility with Release 2.0 of LAPACK, but we omit references to this routine in the remainder of this users' guide.


traj_gen
v2.1.0
Optimal trajectory generation library given equality and inequality constraints (C++/Matlab). https://github.com/icsl-Jeon/traj_gen
Class Hierarchy
Go to the textual class hierarchy
Generated by
1.8.13


Packages:
Adding font:
Data:
Wrangle the data:
peaks_tidy <- members %>%
group_by(peak_name) %>%
summarise(n = n(),
success = sum(success),
fail = n - success) %>%
ungroup() %>%
pivot_longer(success:fail, "success") %>%
mutate(peak_name = str_to_upper(peak_name) %>% fct_reorder(n)) %>%
arrange(desc(n)) %>%
slice_head(n = 40)
Visualizing:
peaks_tidy %>%
ggplot(aes(value, y = peak_name, color = success, group = peak_name)) +
geom_point(size = 4, stroke = 2, shape = 18) +
geom_line(size = 1, color = "grey30") +
scale_x_log10() +
scale_color_manual(values = c("firebrick", "navy")) +
labs(
x = "",
y = "",
title = "MOST POPULAR TWENTY PEAKS",
subtitle = "How many mountain climbers have succeeded or failed
 with their attempted on the most popular twenty Himalayan peaks",
caption = "\n \n Data: himalayandatabase.com
Visualization by @botanagin"
) +
theme_minimal() +
theme(
text = element_text(family = "fone"),
legend.position = "none",
plot.subtitle = element_markdown(size = 14),
plot.title = element_markdown(size = 20),
plot.caption = element_text(size = 8),
axis.text = element_text(size = 10),
plot.margin = margin(40, 40, 20, 20)
)
Saving the plot:
ggsave(here::here("output", "2020-w39-himalayanclimbing.pdf"),
plot = last_plot(),
height = 9, width = 7, units = "in", dpi = 300)
Original: Botan Ağın


Arithmetic constraints
[Using finite domain integers]
Functions | |
| void | Gecode::min (Space *home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::min (Space *home, const IntVarArgs &x, IntVar y, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::max (Space *home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::max (Space *home, const IntVarArgs &x, IntVar y, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::abs (Space *home, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::mult (Space *home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::sqr (Space *home, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::sqrt (Space *home, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::divmod (Space *home, IntVar x0, IntVar x1, IntVar x2, IntVar x3, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::div (Space *home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . | |
| void | Gecode::mod (Space *home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
| Post propagator for . |
Function Documentation
| void Gecode::min | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntVar | x2, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 82 of file arithmetic.cc.
| void Gecode::min | ( | Space * | home, | |
| const IntVarArgs & | x, | |||
| IntVar | y, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
If x is empty, an exception of type Int::TooFewArguments is thrown.
Definition at line 94 of file arithmetic.cc.
| void Gecode::max | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntVar | x2, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 56 of file arithmetic.cc.
| void Gecode::max | ( | Space * | home, | |
| const IntVarArgs & | x, | |||
| IntVar | y, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
If x is empty, an exception of type Int::TooFewArguments is thrown.
Definition at line 67 of file arithmetic.cc.
| void Gecode::abs | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 45 of file arithmetic.cc.
| void Gecode::mult | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntVar | x2, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 112 of file arithmetic.cc.
| void Gecode::sqr | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 124 of file arithmetic.cc.
| void Gecode::sqrt | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 134 of file arithmetic.cc.
| void Gecode::divmod | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntVar | x2, | |||
| IntVar | x3, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports bounds consistency (icl = ICL_BND, default).
Definition at line 144 of file arithmetic.cc.
| void Gecode::div | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntVar | x2, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports bounds consistency (icl = ICL_BND, default).
Definition at line 168 of file arithmetic.cc.
| void Gecode::mod | ( | Space * | home, | |
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntVar | x2, | |||
| IntConLevel | icl = ICL_DEF , |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for .
Supports bounds consistency (icl = ICL_BND, default).
Definition at line 176 of file arithmetic.cc.


Class DxfFile
The DxfFile Class: is a class that is designed to replicate the properties and methods of a DXF file. It is the root class for all entities and is required for reading a file.
Inheritance
Inherited Members
Namespace: Dxflib
Assembly: Dxflib.dll
Syntax
public class DxfFile
Constructors
| Improve this Doc View SourceDxfFile(String)
Constructor that requires a path to a file. This constructor will read the file and set up all of the required tools for the DxfFile class
Declaration
public DxfFile(string pathToFile)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | pathToFile | An absolute or relative path to a dxf file |
Properties
| Improve this Doc View SourceAutoCADVersion
The Files AutoCAD Version AutoCadVersions
Declaration
public AutoCadVersions AutoCADVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| AutoCadVersions |
CurrentLayer
The Current Layer of the file. This is the last layer that was selected before the file was saved.
Declaration
public Layer CurrentLayer { get; set; }
Property Value
| Type | Description |
|---|---|
| Layer |
DxfFileData
The Data List
Declaration
public TaggedDataList DxfFileData { get; }
Property Value
| Type | Description |
|---|---|
| TaggedDataList |
Entities
The Entities property is a list of all the entities that were read from the file. The Entity types can be changed into any other type of derived class.
Declaration
public EntityCollection Entities { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityCollection |
FileName
The filename and the extension of the file that was read.
Declaration
public string FileName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
LastSavedBy
The username of the person who the file was last saved by
Declaration
public string LastSavedBy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LastWriteTime
Gets the Last Write Time of the PathToFile
Declaration
public DateTime LastWriteTime { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Layers
The Layer Dictionary is a LayerDictionary object that is designed to hold all of the layers.
Declaration
public LayerDictionary Layers { get; }
Property Value
| Type | Description |
|---|---|
| LayerDictionary |
PathToFile
The absolute path to the file that is read.
Declaration
public string PathToFile { get; }
Property Value
| Type | Description |
|---|---|
| System.String |


Home
Payment method
Internet banking
Deposit card
Visa-Master card
Cash on delivery
Card holder
Card number
Amount of money
Content
PIN
Receiver:
Address:
Phone:
Total Cost:


Many are rising against me;
2 many are saying of my soul,
there is no salvation for him in God.

Selah
5 I lay down and slept;
I woke again, for the LORD sustained me.
6 I will not be afraid of many thousands of people
who have set themselves against me all around.
7 Arise, O LORD!
Save me, O my God!
For you strike all my enemies on the cheek;
you break the teeth of the wicked.
8 Salvation belongs to the LORD;
your blessing be on your people!
Selah


app
/
cz.palda97.lpclient.model.db.dao
/
ExecutionDao
/
delete
delete
abstract
suspend
fun
delete
(
execution
:
Execution
)
:
Unit


Getting started: paper readings
Posted on mar. 19 décembre 2017 in tutorial by Kazuhiro Terao
This is a message I compiled once for myself but also share with my students etc.. You can easily find a similar compilation of readings on people's github: just google it :) But here's just one of those for our group's reference.
Online ML/DL Introduction
- Stanford lecture CS231
- A golden material for convolutional neural networks (CNNs)
- Deep Learning textbook
- by Ian Goodfellow, Yoshua Bengio and Aaron Courville
- Homework & Solutions for machine learning coursera course
- Compiled by our fomer colleague David Kaleko (look how many stars he got on this repo!)
- You can sign up for yourself :)
Modern CNN papers
I list them in an order of history, hoping this allows you to skip some toward the beginning. I put “recommended” next to the paper i think it’s good/important to read.
-
2012 Drop-out (recommended)
- A big jump in training technique to avoid over-fitting and improve final accuracy, key technique for AlexNet
-
2012 AlexNet (recommended)
- Legendary debut of CNN, first implementation on GPU by Hinton (prof. U. of Toronto), Alex (now Google), and Ilya (now OpenAI), dramatic performance improvement on ILSVRC, annual competition of image recognition from the last year in both accuracy and speed of processing (previous year based on fisher vector machine). First time CNN was applied on 224x224x3 tensor image.
-
2014 VGG
- First systematic approach to understand the effect of network depth using a homogeneous network architectures (all 3x3 kernel convolutions + 2x2 pooling layers)
-
2014 GoogLeNet
- First “Inception” network idea
-
2015 Batch Normalization (recommended)
- Another big jump in training techniques to make dependency on initial weights smaller, making training dramatically easier (avoids over-fitting)
-
2015 ResNet (recommended)
- First “ResNet” idea, surpassed human average accuracy on ILSVRC data set. Technique allowed to train 1000 layer deep network, jaw-dropping for researchers who have been competing to make network deeper and deeper since GoogLeNet and VGG. This technique development was a huge deal, and ResNet is current default choice for constructing a deep network architecture today.
-
2015 Faster-RCNN (recommended)
- First real-time object detection by neural network (I think it was 20~30 Hz, which is > 60Hz today with advanced version). Elegant technique to piggy-back detection network on top of any image recognition network. Region Proposal Network (RPN), part of Faster-RCNN development originally for an object detection (in this paper), is today cooked further and used by the best semantic segmentation network today.
-
2015 DC-GAN (recommended)
- First generative-adversarial-network which looks like the machine has learned a concept of real world image. Super popular for the network accurately generating images of a bedroom and bathroom (toilet).
-
2016 FCN (recommended)
- First solid implementation of CNN for semantic segmentation. > 1500 citations! Still used today as a standard candle of accuracy. Not the best accuracy in the field but extremely fast learning, simple architecture.
-
2016 R-FCN
- Detection network improved by combining FCN with Faster-RCNN to improve the detection (first find pixels, then draw boudning box, makes sense!). First segmentation=>detection=>classification work flow. … note “Kaming He” :)
-
2016 Inception-V4, Inception-ResNet (recommended)
- Hey let’s improve image classification even more… here’s huge network by Google, the latest Inception module, studied by combining with ResNet.
-
2016 Wide-ResNet (recommended)
- Empirical study to answer the question of What-is-the-“depth”-in-ResNet? The group found that ResNet actually performs better by making it “wider” rather than “deeper”.
-
2016 Wider-or-Deeper ResNet? (recommended)
- Analytical explanation and analysis of the observation made in the previous paper. Very well written. Demonstrated the importance of the width to image classification and semantic segmentation
-
2016 Instance-sensitive Fully Convolutional Network (IS-FCN) … (recommended)
- Extension of R-FCN, improved design architecture to win the ILSVRC semantic segmentation competition 2016 … note “Kaming He” :)
-
2016 Aggregated Residual Transformations: ResNeXt (recommended)
- Introduces a new dimension, named "cardinality" (the size of the set of transformations), claimed as yet another effective direction to improve the accuracy besides "width and depth".
-
2017 Mask R-CNN (recommended)
- Kaming He’s latest work that already beated IS-FCN, our current target to implement for instance-aware semantic segmentation for particle clustering.
-
2017 Shattered Gradient Problem
- If resnets are the answer, what is the question?
-
2017 Squeeze-and-Excitation Networks (recommended)
- First detailed study for enhancing the "channels" of the tensor to encode image features instead of spatial dimensions (width/height) of images.