STRSIGNAL
Section: Linux Programmer's Manual (3)
Updated: 2010-09-15
Index
Return to Main Contents
NAME
strsignal - return string describing signal
SYNOPSIS
#include <string.h>
char *strsignal(int sig);
extern const char * const sys_siglist[];
Feature Test Macro Requirements for glibc (see
feature_test_macros(7)):
strsignal():
-
- Since glibc 2.10:
-
_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L
- Before glibc 2.10:
-
_GNU_SOURCE
DESCRIPTION
The
strsignal()
function returns a string describing the signal
number passed in the argument
sig.
The string can be used only until the next call to
strsignal().
The array
sys_siglist
holds the signal description strings
indexed by signal number.
The
strsignal()
function should be
used if possible instead of this array.
RETURN VALUE
The
strsignal()
function returns the appropriate description
string, or an unknown signal message if the signal number is invalid.
On some systems (but not on Linux), NULL may instead be
returned for an invalid signal number.
CONFORMING TO
POSIX.1-2008.
Present on Solaris and the BSDs.
SEE ALSO
psignal(3),
strerror(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- CONFORMING TO
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 02:54:57 GMT, September 18, 2014


Default properties and methods of the res object.
This object is automatically instantiated as the res property
of the global object (or global.res) and there is no constructor
to instantiate further instances.
The res object is a host object representing the response for the request that is currently handled by the scripting environment.
For further details also see the JavaDocs for Packages.helma.framework.ResponseBean. Since that class is a JavaBean all of its get- and set-methods are also directly available as properties of this object.
The res object is a host object representing the response for the request that is currently handled by the scripting environment.
For further details also see the JavaDocs for Packages.helma.framework.ResponseBean. Since that class is a JavaBean all of its get- and set-methods are also directly available as properties of this object.
see
Specifies on a per-response base whether to allow client-side caching of the response or not.
The default value is set to true but can be changed globally by passing caching = false to the initial Helma java call.
Please refer to the section about servlet properties for more details.
Example:
The default value is set to true but can be changed globally by passing caching = false to the initial Helma java call.
Please refer to the section about servlet properties for more details.
Example:
res.cache = true
Sets the character encoding of the output.
Sets Helma's character encoding according to the list of supported encodings. By default, Helma uses ISO-8859-1 (western) encoding. It is also possible to set the encoding server or application wide using the charset property in a properties file.
Be careful when setting the charset of a document containing a FORM. The browser returns the user-input encoded in the same way as the document. So if you set for instance the charest to UTF-8 (and don't set it in the app.properties or server.properties) you'll get scrambled input because Helma assumes the input is encoded in the standard encoding (default is ISO-8859-1). So you have to convert the returned strings from UTF8 to ISO-8859-1 (e.g. var string = new java.lang.String(new java.lang.String((req.data.input ? req.data.input : "")).getBytes("ISO-8859-1"), "UTF-8");).
Example:
Sets Helma's character encoding according to the list of supported encodings. By default, Helma uses ISO-8859-1 (western) encoding. It is also possible to set the encoding server or application wide using the charset property in a properties file.
Be careful when setting the charset of a document containing a FORM. The browser returns the user-input encoded in the same way as the document. So if you set for instance the charest to UTF-8 (and don't set it in the app.properties or server.properties) you'll get scrambled input because Helma assumes the input is encoded in the standard encoding (default is ISO-8859-1). So you have to convert the returned strings from UTF8 to ISO-8859-1 (e.g. var string = new java.lang.String(new java.lang.String((req.data.input ? req.data.input : "")).getBytes("ISO-8859-1"), "UTF-8");).
Example:
res.charset = "UTF8"; res.write("Ä Ö Ü ä ö ü ß"); // this is displayed if the brower's encoding is set to "Western" Ã „ Ã – Ã œ Ã ¤ Ã ¶ Ã ¼ Ã Ÿ
Sets the content type of the HTTP response.
The default value is "text/html".
Example:
The default value is "text/html".
Example:
res.contentType='text/plain'; res.contentType='application/xhtml+xml';
Object providing space for custom output data.
This object can be used to attach any property propertyName onto it to make it available in a skin via the response macro.
Example:
This object can be used to attach any property propertyName onto it to make it available in a skin via the response macro.
Example:
File root/main.skin:   <title><% response.title %></title>   <% response.body %>   File root/main.hac: res.data.title = "Test"; res.data.body = "Hello, World!"; root.renderSkin("main");   <title>Test</title>   Hello, World!
Property containing an internal Helma error message.
This property contains a string describing an error if one should have occured. If no error was detected, res.error contains null.
A good place for this function is a custom error page to display errors in a pretty layout.
Example:
This property contains a string describing an error if one should have occured. If no error was detected, res.error contains null.
A good place for this function is a custom error page to display errors in a pretty layout.
Example:
res.write(res.error); Runtime error Syntax error detected near line 1, column 24, after in string starting with: 'function main_action (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {'...
see
Get or set the HTTP ETag for this response.
Get the uncaught exception for the response, if any
since: 1.7
see
The res.handlers object is a container in the response object used to register
macro handlers for the current request/response.
Adding an object to res.handlers will make its macro functions and/or properties available as macros for skins.
By default, res.handlers contains the objects in the request path, registered by their prototype names. For instance, res.handlers.root will always be a reference to the app's root object.
Adding an object to res.handlers will make its macro functions and/or properties available as macros for skins.
By default, res.handlers contains the objects in the request path, registered by their prototype names. For instance, res.handlers.root will always be a reference to the app's root object.
Get the Java stack trace of an uncaught exception, if any
since: 1.7
see
Sets the date the resource was retrieved by the remote client.
By setting this property the remote client is told that the served resource has been modified at the given time. You then can check if the resource has changed given that the client includes this date in future requests for this resource.
Example:
By setting this property the remote client is told that the served resource has been modified at the given time. You then can check if the resource has changed given that the client includes this date in future requests for this resource.
Example:
//in this example this.modificationDate is a property storing //the time of the last changes to the current object res.lastModified = this.modificationDate;
Buffers a string for output.
When this property is set its value can be retrieved either by res.message from within an action or a JavaScript file or by the response macro from within a skin file.
Additionally, it will survive an HTTP redirect which can be necessary to display warnings or error messages to the user. The property's value will be reset to null not later than a redirected response was output.
Note: Please be aware that both res.message and res.data.message corresponds to the response.message macro. However, res.message has higher priority if both values should be set.
Example:
When this property is set its value can be retrieved either by res.message from within an action or a JavaScript file or by the response macro from within a skin file.
Additionally, it will survive an HTTP redirect which can be necessary to display warnings or error messages to the user. The property's value will be reset to null not later than a redirected response was output.
Note: Please be aware that both res.message and res.data.message corresponds to the response.message macro. However, res.message has higher priority if both values should be set.
Example:
File main.skin: <% response.message %> File main.hac: res.message = "Hello, World!"; res.data.message = "Test"; this.renderSkin("main"); Hello, World!
Object providing space for general purpose per request meta information.
This object can be used to attach any property propertyName onto it to make it available within the scope a request.
Example:
This object can be used to attach any property propertyName onto it to make it available within the scope a request.
Example:
Inside an onRequest handler function: res.meta.permissions = this.doSomething(); Inside an action such as delete.hac: if(res.meta.permissions | 7) this.remove();
Sets the realm for a HTTP-authentication challenge
This defines the realm for a HTTP-authentication challenge. The realm is the name of a protected space. A server can have several realms, but resources within one realm should share the same authorisation - a valid authorisation should be valid as well for requesting another resource within the same realm.
Example:
This defines the realm for a HTTP-authentication challenge. The realm is the name of a protected space. A server can have several realms, but resources within one realm should share the same authorisation - a valid authorisation should be valid as well for requesting another resource within the same realm.
Example:
res.status = 401; res.realm = "Helma protected area";
Get the Javascript stack trace of an uncought exception, if any
since: 1.7
see
Provides direct access to the servlet response header, a
Java object of the class Packages.javax.servlet.http.HttpServletResponse
Example:
Example:
res.servletResponse.setHeader( "Content-Disposition", ( this.mimetype.startsWith( "image/" )? "" : "attachment;" ) + "filename=\"" + this.name + "\"" );
see
The res.skinpath can be set to an array that tells Helma where to
look for skinsets for the current request/response.
The elements of the array should be either HopObjects, which will be interpreted as database-resident skinsets, or strings, which will be interpreted as directory paths leading to file based skin sets.
If hobj is a HopObject element in the res.skinpath array, then a skin for prototype proto named sname is expected to reside in a string property in hobj.proto.sname.skin.
If path is a string, then the same skin will be looked up in a file called path/proto/sname.skin.
The elements of the array should be either HopObjects, which will be interpreted as database-resident skinsets, or strings, which will be interpreted as directory paths leading to file based skin sets.
If hobj is a HopObject element in the res.skinpath array, then a skin for prototype proto named sname is expected to reside in a string property in hobj.proto.sname.skin.
If path is a string, then the same skin will be looked up in a file called path/proto/sname.skin.
Read/write property containing the response's HTTP-status code.
This property defines the status code of the HTTP response. Like any HTTP-Server Helma can send the client software additional information describing the response. For a list of all codes and their meaning see RFC 2616. One of the common usages is to deny access and ask for authentication by responding with status code 401. The client software usually responds by asking the user for username and password. The default value is 200 which is the code for "OK".
Example:
This property defines the status code of the HTTP response. Like any HTTP-Server Helma can send the client software additional information describing the response. For a list of all codes and their meaning see RFC 2616. One of the common usages is to deny access and ask for authentication by responding with status code 401. The client software usually responds by asking the user for username and password. The default value is 200 which is the code for "OK".
Example:
res.status = 401; //make sure to set res.realm as well when asking for http authentication res.realm = "Helma protected area";
Methods
Proxy to res.servletResponse.addHeader()
parameters
| String | name | as String, the header name |
| String | value | as String, the header value |
see
Proxy to res.servletResponse.addDateHeader()
parameters
| String | name | as String, the header name |
| Date | value | as Date, the header value |
see
Commits the current transaction, writing all changed objects to the database, and starts a new transaction.
Usually, Helma automatically wraps each request into a database transaction. Use res.commit() if you have to modify a huge ammount of HopObjects within one request and want to partition the transaction into several smaller ones.
Example:
Usually, Helma automatically wraps each request into a database transaction. Use res.commit() if you have to modify a huge ammount of HopObjects within one request and want to partition the transaction into several smaller ones.
Example:
for (var i in collection1) collection1.get(i).counter += 1; // commit changes to elements of collection1 to db res.commit(); for (var i in collection2) collection2.get(i).counter -= 1; // changes to elements of collection2 are committed // automatically when the request terminates
see
Append any value to the output of the current page.
All values written with res.debug() will appear as separate items at the bottom of the page. This assumes that the content type of the current request is text/html. Since items are simply appended to the full page, res.debug() will most likely break the well-fomedness of your page, but it is usually displayed properly.
Transforms the passed argument to a string (only if necessary) and appends the result to the response debug buffer.
Example:
All values written with res.debug() will appear as separate items at the bottom of the page. This assumes that the content type of the current request is text/html. Since items are simply appended to the full page, res.debug() will most likely break the well-fomedness of your page, but it is usually displayed properly.
Transforms the passed argument to a string (only if necessary) and appends the result to the response debug buffer.
Example:
var now = new Date(); res.debug("current time: " + now); current time: Tue May 20 18:59:02 CEST 2003
parameters
| String | text | as String |
Add an item to this response's dependencies.
If no dependency has changed between requests, an HTTP not-modified response will be generated.
If no dependency has changed between requests, an HTTP not-modified response will be generated.
parameters
| String | what | as string, an item this response depends on |
Digest this response's dependencies to conditionally create
a HTTP not-modified response.
Writes a string as smooth HTML to the output buffer.
Encodes a string by replacing linebreaks with
 tags and diacritical characters as well as HTML tags with their equivalent HTML entities and immediately outputs it.
Example:
Encodes a string by replacing linebreaks with
 tags and diacritical characters as well as HTML tags with their equivalent HTML entities and immediately outputs it.
Example:
res.encode("Bananer växer\n minsann inte på träd."); Bananer växer

 minsann inte på träd.
parameters
| String | textToEncode | as String |
see
Writes a string to the output buffer, leaving linebreaks untouched.
Performs the following string manipulations:
Example:
Performs the following string manipulations:
- Unlike encode, leaves linebreaks untouched. This is what you usually want to do for encoding form content (esp. with text input values).
- All special characters (i.e. non ASCII) are being replaced with their equivalent HTML entity.
- Existing markup tags are being encoded.
Example:
var str = res.encodeForm("Bananer växer\n minsann inte på träd."); Bananer växer minsann inte på träd.
parameters
| String | textToEncode | as String |
see
Writes a string to the output buffer, replacing some characters with their equivalent XML entities.
This function substitutes the characters '<', '>', '&', as well as single and double quotes with their predefined XML 1.0 entities. Additionally, some characters that are illegal in XML documents are silently dropped.
encodeXml() is usually used to encode text for safe inclusion in parsed character data sections of XML documents.
Example:
This function substitutes the characters '<', '>', '&', as well as single and double quotes with their predefined XML 1.0 entities. Additionally, some characters that are illegal in XML documents are silently dropped.
encodeXml() is usually used to encode text for safe inclusion in parsed character data sections of XML documents.
Example:
res.encodeXml("<title>Smørebrød</title>"); <title>Smørebrød</title>
parameters
| String | textToEncode | as String |
see
Writes a string as smooth HTML to the output buffer.
This function outputs a string after substituting special characters in a string with their equivalent HTML entities but keeping markup tags as is and also tries to avoid
tags where ever possible (e.g. in table structures).
Example:
This function outputs a string after substituting special characters in a string with their equivalent HTML entities but keeping markup tags as is and also tries to avoid
tags where ever possible (e.g. in table structures).
Example:
res.format("
\n
Bananer växer\n minsann inte på träd.
\n
");

Bananer växer
 minsann inte på träd.

parameters
| String | textToFormat | as String |
see
Serves a static file from the application's protectedStatic directory.
Used to serve static files from the application's protectedStatic directory. This "protected" static directory needs to be set by defining an appname.protectedStatic property in the apps.properties file. The contents of that directory are not made directly accessible through the web, only through the use of this res.forward() method.
Used to serve static files from the application's protectedStatic directory. This "protected" static directory needs to be set by defining an appname.protectedStatic property in the apps.properties file. The contents of that directory are not made directly accessible through the web, only through the use of this res.forward() method.
parameters
| String | path | as String, relative to this app's protectedStatic directory |
Provides access to the contents of the current repsonse buffer.
Useful for example when parsing/modifying the response after the request has been handled but before the response is returned.
Useful for example when parsing/modifying the response after the request has been handled but before the response is returned.
returns
| String |
see
Pops a string buffer from the response object and returns its string value.
This function "pops" a string buffer from the response object. The returned string contains all output written to the response since the last call of res.push().
Note that more than one string buffers can be pushed on the response object, and output always goes to the last one.
Example:
This function "pops" a string buffer from the response object. The returned string contains all output written to the response since the last call of res.push().
Note that more than one string buffers can be pushed on the response object, and output always goes to the last one.
Example:
res.push(); res.write("foo"); res.encode('.'); res.write("bar"); var str = res.pop() // str is "foo.bar"
returns
| String |
see
Pops the current response buffer without converting it to a string.
This function "pops" the current StringBuffer from the response object and returns it as a Java StringBuffer object.
This function "pops" the current StringBuffer from the response object and returns it as a Java StringBuffer object.
returns
| StringBuffer |
see
Pushes a new string buffer on the response object.
This function "pushes" a fresh string buffer on the response object to which all response output will be redirected until res.pop() is called to retrieve the generated string.
Note that more than one string buffers can be pushed on the response object, and output always goes to the last one.
Example:
This function "pushes" a fresh string buffer on the response object to which all response output will be redirected until res.pop() is called to retrieve the generated string.
Note that more than one string buffers can be pushed on the response object, and output always goes to the last one.
Example:
res.push(); res.write("foo"); res.encode('.'); res.write("bar"); var str = res.pop(); // str is "foo.bar"
see
Pushes a Java StringBuffer object on the reponse object.
This function "pushes" the provided StringBuffer to the response object. All further writes will be redirected to this buffer.
This function "pushes" the provided StringBuffer to the response object. All further writes will be redirected to this buffer.
parameters
| StringBuffer | strBuffer | as StringBuffer Java object, the StringBuffer to be pushed to the reponse object |
see
Sends an HTTP redirect message to the client.
Note: JavaScript code following this command will be ignored.
Example:
Note: JavaScript code following this command will be ignored.
Example:
res.redirect(this.href());
Resets the current output buffer.
Example:
Example:
res.write("Test"); // changing my mind (e.g. an error occured) res.reset(); res.write("Hello, World!"); Hello, World!
Resets the response buffer, clearing all content
previously written to it.
Rollback the current transaction and start a new one.
exceptions
| Exception thrown if rollback fails |
see
Sets a cookie to be sent to the client machine.
All arguments after nameString and valueString are optional.
daysNumber specifies the number of days until the cookie expires. If set to 0, the cookie will be deleted immediately. If the argument is not specified or set to a negative value, the cookie will be discarded is at the end of the browser session.
pathString specifies the path on which to set the cookie (defaults to /)
domainString specifies the domain on which to set the cookie (defaults to unset)
Example:
All arguments after nameString and valueString are optional.
daysNumber specifies the number of days until the cookie expires. If set to 0, the cookie will be deleted immediately. If the argument is not specified or set to a negative value, the cookie will be discarded is at the end of the browser session.
pathString specifies the path on which to set the cookie (defaults to /)
domainString specifies the domain on which to set the cookie (defaults to unset)
Example:
res.setCookie("username", "michi"); res.setCookie("password", "strenggeheim", 10, "/mypath", ".mydomain.org");
parameters
| String | key | as String |
| String | value | as String |
| Number | days | as Number |
| String | path | as String |
| String | domain | as String |
Proxy to res.servletResponse.setHeader()
parameters
| String | name | as String, the header name |
| String | value | as String, the header value |
see
Proxy to res.servletResponse.setDateHeader()
parameters
| String | name | as String, the header name |
| Date | value | as Date, the header value |
see
Stops the execution of the request and sends the content of the reponse buffer.
Note that this method is intended for use in the context of an onRequest handler and not for use inside of actions, which would likely lead to bad coding practices.
Example:
Note that this method is intended for use in the context of an onRequest handler and not for use inside of actions, which would likely lead to bad coding practices.
Example:
function onRequest() { if (fooIsCached()) { res.write(fooFromCache()); res.stop(); } }
see
Writes a string to the output buffer.
Transforms the passed argument to a string (only if necessary) and appends the result to the response string buffer. Throws an error if no argument or an undefined argument is passed.
Example:
Transforms the passed argument to a string (only if necessary) and appends the result to the response string buffer. Throws an error if no argument or an undefined argument is passed.
Example:
var now = new Date(); res.write("current time: " + now); current time: Thu Feb 15 23:34:29 GMT+01:00 2001
parameters
| String | text | as String |
Writes binary data to the output buffer.
This function takes one argument, which must be a Java byte array. Useful when handling binary data retrieved via http file upload.
Example:
This function takes one argument, which must be a Java byte array. Useful when handling binary data retrieved via http file upload.
Example:
var upload = req.data.fileUpload; res.writeBinary(upload.getContent());
parameters
| Packages.java.ByteArray | data | as Packages.java.ByteArray |
Writes a string to the output buffer, adding a linebreak.
Transforms the passed argument to a string (only if necessary) and appends the result together with a trailing linebreak to the response string buffer. Throws an error if no argument or an undefined argument is passed.
Example:
Transforms the passed argument to a string (only if necessary) and appends the result together with a trailing linebreak to the response string buffer. Throws an error if no argument or an undefined argument is passed.
Example:
var now = new Date(); res.writeln("current time:"); res.writeln(now); current time:
Thu Feb 15 23:34:29 GMT+01:00 2001
parameters
| String | text | as String |
Unset a previously set HTTP cookie, causing it to be
discarded by the HTTP client immediately.
parameters
| String | key | as String, the name of the cookie to be discarded |


To celebrate Pi Day, I wrote a Python program for my Raspberry Pi. It's a simple demonstration of Archimedes's method for calculating upper and lower bounds on Pi. Of course, there are much faster ways to calculate Pi now, but Archimedes's method is visual and easy to understand.
Download the python program here: piday-inscribed-circles.py (Works well on any version of Windows or Linux with python 2.7 or newer and pyqt4. The Raspberry Pi is optional, but it adds to the pun, and thus the fun.)
Here's an overview of the program: you can inscribe a hexagon and also circumscribe a hexagon around a circle. If the circle has a radius of 2, then the perimeter of the hexagons provide lower and upper bounds on Pi, respectively:
Increasing to 10 sides (decagon) improves the bounds:
Pushing it to the limit of N=100,000,000 sided n-gons, the bounds on Pi reach the limits of double precision floating point numbers (about 16 digits of Pi):
This method isn't efficient because the regular n-gons are not a very tight boundary on the circle. Other mathematicians proved that even billions of sides in an n-gon provide a worse boundary than simpler arctangent-based series. Of course, Wikipedia has the whole story here.
Maybe next year I'll have time to combine the puns with Monty Python: a Monte Carlo simulation for calculating Pi, written in Python, running on a Raspberry Pi, drawing part of a Monty Python cartoon.
Anyway, eat some pie and have a happy Pi Day!


Hello,
Your friend ${PersonalData::FirstName} ${PersonalData::LastName} has referred you to stay at the hotel.
Make a reservation at the premier global provider of enriching, personal and memorable lifestyle experiences.
Accept the invitation within ${TimeWhileInvitationValid}.
| Accept invite |


Registration and enrollment of new peers with the Fabric CA.
Peer ID
Register and Enroll
Show the number of licenses owned by this peer.
View Number of Licenses
Transfer of license tokens to licensee.
Owner Peer ID
Licensee Peer ID
Number of Licenses
Transfer


3 referrals for Sam Taylor
1 appointment to book
Booking reference number 0002 7480 8900
Referred to Rheumatology by Dr Zubeir Smith at New Street Medical Practice on 13 August 2018
1 appointment
Wednesday 5 December 2018, 2:30pm
Diabetic Medicine - St James's Hospital - Leeds TH - RR8
1 referral is being reviewed
General Cardiology MMH-Cardiology-Doncaster & Bassetlaw NHS FT-RP5MM will review your referral to Cardiology by 5 November 2018


Money Play. How should Red play 54?
pips Red=130 White=137
(CorrectAnswer= 0/0, ErrorScore= 0)
13/9, 13/8 leaves nineteen shots and 11/2 leaves seventeen.
However, by far the best move is 6/2, 6/1* which leaves two blots and twenty shots. The reason is that this play can create space for Red to dump his checkers as he brings them home. After either of the other plays Red’s problems may well repeat themselves.
6/2, 6/1* is an attempt to solve the problem of space immediately. Other moves are very nearly blunders.
However, by far the best move is 6/2, 6/1* which leaves two blots and twenty shots. The reason is that this play can create space for Red to dump his checkers as he brings them home. After either of the other plays Red’s problems may well repeat themselves.
6/2, 6/1* is an attempt to solve the problem of space immediately. Other moves are very nearly blunders.
1. Cubeful 2-ply 6/2 6/1* Eq.: -0.242 0.483 0.068 0.003 - 0.517 0.223 0.005 2. Cubeful 2-ply 13/8 6/2 Eq.: -0.270 (-0.028) 0.459 0.062 0.002 - 0.541 0.219 0.004 3. Cubeful 2-ply 13/9 13/8 Eq.: -0.275 (-0.034) 0.463 0.065 0.003 - 0.537 0.202 0.003 4. Cubeful 2-ply 8/3 6/2 Eq.: -0.279 (-0.037) 0.469 0.074 0.003 - 0.531 0.229 0.005 5. Cubeful 2-ply 11/2 Eq.: -0.297 (-0.056) 0.450 0.063 0.002 - 0.550 0.231 0.005


WITNESS LIST Natural Resources Committee March 17, 1999-2:00P HB 1437 For: Bennett, Bob (Self and City of Round Rock) Mills, James H. (Williamson County) Nuse, James R. (City of Round Rock) Rose, Mark (Lower Colorado River Authority) Stluka, Robert (Self and City of Round Rock) HB 1479 For: Akers, Monte (Texas Municipal League) Against: Kramer, Ken (Lone Star Chapter, Sierra Club) On: Hoffman, Margaret (Texas Natural Resource Conservation Commission) HB 1742 For: Williams, C. E. (Self and Panhandle Water Planning Group) HB 2199 For: Williams, C. E. (Self and Panhandle Ground Water District) HB 2237 For: Bass, Laura (Self and Neighbors for Neighbors) Brown, Tim (Aqua Water Supply Corporation) Brown, Travis (Self) Burke, John (Self and Aqua Water Supply Corporation) Cook, Phil (Self) Dunaway, Jim (City of Elgin) Dureka, Tom (Self) Foerster, Dennis (Self and Lee County Water Supply Corporation) Fowler, Glenda (Self) Hager, Dale S. (Self) Houghtling, David (Neighbors for Neighbors) Houghtling, Susan (Self) Johnson, D. B. Butch (Self and Lee County, precinct 3) Kier, Robert S. (Aqua Water Supply Corporation) Lee, Robert B. (Self and Lee County) McDonald, Ronnie (Bastrop County) Mesrobian, Ann (Self) Norton, Roger (Acme Brick Company) Owen, Rita Josh (Self and City of Lexington) Prager, John R. (Self) Schimank, Clarence (Self and Lee County Water Supply Corporation) Smith, Sheril (Self) Sosa, D. E. (City of Giddings) Williams, C. E. (Self and Panhandle Ground Water District) Against: Hodson, James W. (Alcoa Inc.) Johnson, Russell S. (City of San Antonio, SAWS) Kowis, James (Alcoa Inc.) Thuss, Michael F. (City of San Antonio, SAWS) On: Hoffman, Margaret (Texas Natural Resource Conservation Commission) HB 2575 For: Howard, Jay (Texas Irrigation Council) Spurlock, Michael (El Paso Water Utilities Public Service Board) On: Pedersen, Craig P. (Texas Water Development Board) SB 392 For: Reixach, A. J. (Port of Freeport and Texas Ports Association)


Our restaurant’s goal is to have each visitor leaving us well-fed and in a better mood than before!
That is why we put our focus on two things at once. Firstly, on maintaining our menu as fresh and diverse, as possible. And secondly, on creating the atmosphere of home-like coziness and friendliness.
{{ slide.testimonial }}
Cream cheese, avocado, cucumber, salmon, sushi rice, nori, pickled ginger, wasabi
Order Now
The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters


Albacore Ubuntu GPU Machine Install
This is how a new machine, albacore, was configured.
Machine
The machine was purchased from Mwave. I’ve purchased a few machines from them and always impressed with their service. Here is the configuration
AB47402 Mwave Custom PC Assembly and Testing Service 2 $169.00 $338.00
AB59620 SilverStone Sugo Series SG13 Mini ITX Case - Mesh Front Panel 2 $69.00 $138.00
AB69770 Corsair Vengeance LPX 32GB (2x 16GB) DDR4 3200MHz Memory 2 $209.00 $418.00
AC12989 Seagate ST8000DM004 8TB BarraCuda 3.5" SATA3 Desktop Hard Drive 2 $249.00 $498.00
AC13202 Samsung 970 EVO 1TB NVMe 1.3 M.2 (2280) 3D V-NAND SSD - MZ-V7E1T0BW 2 $189.00 $378.00
AC17689 Noctua NF-A12x25 FLX 120mm 3-Pin Fan 2 $65.00 $130.00
AC24743 AMD Ryzen 5 3600 6 Core Socket AM4 3.6GHz CPU Processor + Wraith Stealth Cooler 2 $319.00 $638.00
AC27759 SilverStone SX700-PT 700W 80+ Platinum Modular SFX Power Supply 2 $249.00 $498.00
AC35557 Gigabyte B550I AORUS PRO AX AM4 Mini-ITX Motherboard 2 $319.00 $638.00
AC25330 Gigabyte GeForce RTX 2060 SUPER WINDFORCE OC 8GB Video Card 2 $629.00 $1258.00
Order Status: Completed Sub-Total $4932.00
Date & Time Shipped: 19/11/2020 Shipping Cost $30.00
Here is the motherboard manual.
Step 1 Wifi and Fix Ethernet
To connect to the University of Sydney wifi
Security: WPA & WPA2 Enterprise
Authentication: Protected EAP (PEAP)
Anonymous identity:<blank>
CA certificate: (None) - Check "No CA certificate is required"
PEAP version: Automatic
Inner authentication: MSCHAPv2
Username: <unikey>
Password: <password>
sudo apt update
sudo apt upgrade
sudo apt install openssh-server net-tools rclone libelf-dev build-essential
Ethernet didn’t work out of the box so I used a USB ethernet device and installed the realtek driver for the B550 chipset available from Realtek.
Step 2 Install cuda
Then follow the Nvidia instructions using the Package Manager method and deb(network) installer type. This doesn’t quite work as you need to do a
sudo apt purge nvidia-*
sudo apt autoremove
sudo ubuntu-drivers autoinstall
before installing cuda
sudo apt install cuda=10.2.89-1
In ~/.profile
add
export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
Step 3 Install anaconda/pytorch
Install anaconda
wget https://repo.anaconda.com/archive/Anaconda3-2020.07-Linux-x86_64.sh
sh Anaconda3-2020.07-Linux-x86_64.sh
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
Seems to work
(base) cruxml@amberjack:~$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 450.51.06 Sun Jul 19 20:02:54 UTC 2020
GCC version: gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
(base) cruxml@amberjack:~$ python
Python 3.8.3 (default, Jul 2 2020, 16:21:59)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.current_device()
0
>>> torch.cuda.device(0)
<torch.cuda.device object at 0x7fa9a5fab310>
>>> torch.cuda.get_device_name(0)
'GeForce RTX 2060 SUPER'
>>>
Step 4 Install docker
sudo apt update
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker cruxml
You need to log out and log in again for the group change to work.
Step 5 Install other stuff
sudo apt install hddtemp lm-sensors nvme-cli
sudo sensors-detect --auto # unfortunately didn't find anything!
sudo add-apt-repository universe
sudo apt update
sudo apt install exfat-fuse exfat-utils
Step 6 Vivado
Installed Vitis
sudo sh Xilinx_Unified_2019.2_1106_2127_Lin64.bin
# installed to /opt instead of /tools
The following did not work:
sudo apt install ./xrt_2019<IP_ADDRESS>1_18.04-xrt.deb
So I installed XRT from the instructions https://xilinx.github.io/XRT/master/html/build.html.
Following https://www.hackster.io/AlbertaBeef/vitis-ai-1-1-flow-for-avnet-vitis-platforms-part-1-007b0e:
HOME=$HOME
export VITIS_AI_HOME=$HOME/src/xilinx/Vitis-AI
export SDX_PLATFORM=$HOME/src/xilinx/ULTRA96V2/ULTRA96V2.xpfm
export TRD_HOME=$VITIS_AI_HOME/DPU-TRD-ULTRA96V2
cd /opt/Xilinx/Vitis/2019.2
source settings64.sh
cd /opt/xilinx/xrt
source setup.sh
cd $TRD_HOME/prj/Vitis
# make KERNEL=DPU DEVICE=ULTRA96V2
Step 7 Install Balena Etcher
Follow instructions at https://www.balena.io/etcher/
Other Issues
28/6/2021
For some inexplicable reason, I received this error (on bream which is a similar machine) upon a reboot.
error: 'grub_calloc' symbol not found.
Entering recovery mode ...
grub rescue>
This was fixed by reinstalling grub2. First you boot from an Ubuntu USB and then
sudo mount /dev/nvme0n1p1 /mnt
sudo grub-install --root-directory=/mnt/ /dev/nvme0n1
and reboot.


This feature is only available for registered user. Please login or register.
First name contains at least 3 letters
Last name contains at least 3 letters
Valid email has the form [name]@[domain] [name] consists of letters (a to z, both lower and upper cases), digits, and dots Two dots cannot be positioned next to each other and dots cannot be located at the beginning or at the end of [name] The length of [name] is at least 3 [domain] consists of letters, digits, and dots There should be at least one dot in [domain] & [name] Two dots cannot be positioned next to each other Dots cannot be located at the beginning or at the end of [domain] The part of [domain] after the last dot contains only letters and has a minimum length of 2 and a maximum length of 5
Valid phone number contains 9 to 11 digits. Space, dot, and dash can be used but cannot be positioned at the beginning or at the end or next to each other of a phone
Preferred Contact Method
Contact Days
We use cookies to find out the way to provide the best experience for you. By clicking "Accept" , you agree to the use of cookies and other technologies on our website.


LeetCode Buddy
Notes
My Notes
Configuration
Completion Status
Notes Panel
Notes Panel Width
0
Acceptance Rate
Difficulty
Locked Questions
Announcement
Result Count
Solved Difficulty Counts


This site extension enables Gulp support in Web Apps.
If you would like to manage Gulp from the command-line, you can use the DebugConsole or KuduExec.
gulp [--gulpfile 'path to gulpfile.js']
Gulp
will be called on Git Deployment by default.
If you would like to create a further customized deployment script, paste the following code into your deploy.cmd file before the Deployment section.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Run client-side build process using Gulp :: ---------------------------------------- echo Execute build tasks with Gulp call "%GULP_PATH%" --gulpfile "%DEPLOYMENT_SOURCE%\gulpfile.js"
These are environment variables added by this site extension.
| Name | Value | Info |
|---|---|---|
| COMMAND | d:\home\SiteExtensions\GulpExtension\Deployment\deploy.cmd | Deployment Script which is replacing the default kudu deployment script. |
| GULP_PATH | d:\home\SiteExtensions\GulpExtension\Commands\node_modules\.bin\gulp.cmd | Path to the Gulp executable in the site extension directory. |


{#include header.include.html title='API Signup Request' /} {#include standard-body.include.html notificationHeader='API Signup Request' name=notification.recipient.fullName} {#notificationBody}
Your API signup request is currently pending approval.
You will receive further emails when the status of your application changes.
The API you want to subscribe to:
The client you used for the subscription:


I've found when I feel like I've almost reached my limit in terms of working through a problem I still have a bit more reserve left and am able to use this to push through to achieve a result. I've also found that my values align really well with that of Dev Academy and I'm looking forward to the experience of learning in an environment that supports diversity and encourages creativity in problem solving. Another valuable insight I've gained is that when something seems incredibly complex it is always possible to break it down in to manageable chunks and deal with one component at a time. The coding videos have been so helpful in training me to break down something complex down into manageable parts.
Empathy involves shared perspectives or emotions. In working with others it's much easier to achieve the teams goals when everyone has an awareness of others perspectives and is able to recognise emotions in others. Insight into your own emotions as well of those of others means that you can adjust your responses early and reduce overall risk of the project not achieving it's end goal.
I really enjoyed the core component of the curriculum and although I've felt pretty confident that my core skills are well developed I've gained some really valuable insights from the blogs of others in Kahu. It's been helpful reading how diverse our experiences in Foundations have been and ways that people have dealt with challenges.
For me the hardest part was pushing through when things have been challenging as well as combining learning with working full time. I'm looking forward to being able to devote 100% of my time to bootcamp and appplying what I've learned so far in interpersonal team situations at bootcamp and after graduation.
Human skills are critical because they help build relationships and others tend to want to work with people who they like and trust. It's important to know that your teammates have your back and you are all aligned to the same goals. Those who have taken time to develop their core skills always tend to do better because they are able to connect with other on a deeper level and use this connection to bring out the best in people and situations.
I'm really grateful that there has been such an emphasis on this aspect in addition to technical skills. The two skillsets go hand in hand and having top level technical skills alone will not be enough to participate in a team that requires human connection, empathy and cohesiveness.


flood-pi: Flood detection on Raspberry Pi
2014 December 4th by todd anderson
A lot has happened over the course current year. Among the biggest changes, we left Boston for Vermont! We have begun to settle in here in the beatuiful Champlain Valley and, of course, my oldest is enrolled in hockey lessons - a sport i know very little about, but am excited to learn from him.
As is expected from a big move, we have found outselves in different surroundings and different living spaces. We are no longer 4 people cramped in a tiny 2-bedroom condo along the train line in Brighton, MA; we are now 4 people in a ranch house with noone above or below us to complain about taking off their loud shoes when the baby is sleeping.
While the extra space of a house is wonderful, tit comes with additional maintenance and care over renting an apartment. For instance, we never had a basement in our previous apartments and never had to worry about flooding or failures in a sump pump. Now we do. And we have had a handful of instances when it has occurred. While it is true that we have and will continue to have qualified people locate the source of the problem, I thought - in the meantime - it would be a fun little project to setup something that could alert me to possible water starting to accumulate in the basement.
And from that flood-pi was born!
flood-pi
flood-pi is an open source Python project meant to be run on a Raspberry Pi. The Github repo for flood-pi has some more technical details, but essential flood-pi detects a "flood" by reading an analog value from a circuit completed by water.
The basic premise is that two leads with copper plates at the end (originally nails in my prototype) are set level to the floor of the basement and spaced about a inch apart from each other. One lead is connected to the power while the other lead is connected to the between the first pin of the mcp3008 and the ground. As water comes between the leads (most likely from the start of a flood), the circuit is complete and a reading from 0 to 1024 is read through the ADC. Some low values may come in but should be considered not a "positive" detection. As well, some high values may come in which typically means that somehow the leads started touching each other and be considered not a "positive" detection, either. In correlation to the distance between the leads, there is a middleground of values that would be considered a "positive" detection.
When a "positive" detection occurs, flood-pi then sends out an email to alert me. Then I can take appropriate action.
There is no analog in on Raspberry Pi, but i have set up projects reading potentiometers using the mcp3008 as described here on adafruit, so I knew i could use that setup for this project.
project
Here's some pictures of the project:
The leads.
Raspberry Pi, running Debian-Wheezy with the flood-pi program running as a daemon. Edimax WiFi adapter for the interweb-bings and email-ery.
The mcp3008 on its own breakout. (i soldered it up all by myself!)
installation
Here's some pictures of its installation in the basement:
We, thankfully, haven't been able to get a true "positive" reading since its installation, but I have submersed the leads in water for a short time to ensure i was being sent emails :)
flood-pi-admin
I couldn't just stop at getting emails. I am empoyed as a software developer by trade, so I had to keep writing software.
I wanted to aggregate the readings from flood-pi and get an overview of its workings (or failure of workings if it may come to that). I don't know if there could be any patterns found from the data as to when the sump pump fails or whatnot, but more data can't hurt, can it?
As such, flood-pi-admin was born!
about flood-pi-admin
flood-pi-admin is a NodeJS-based server that provides a RESTful API for POSTing and accessing daatbeing reported by flood-pi. There is more detailed information on the Github repo for the project, but it has endpoints for the flood-pi detector to post confiuguration and reading data as well as two main routes for accessing information about past and current conditions.
It's pretty bare-bones at the moment, but i plan to add new features as they are required (or requested).
charts
The landing page and /level?range=(day|week|year|all) provide chart data with the level readings:
The red band across the middle of the chart is the "positive" value range provided from the flood-pi and should be considered possible flood detection. As mentioned previously, lower values may come in but not high enough to be considered "positive"; additionally, high values may come in which may actually mean that the leads have somehow started touching each other rather than completing the circuit with water.
isitflooded
There is also a direct page at /isitflooded that will let you know if it is currently considered flooded or not:
It also reports last reporting time and whether or not it should alert you to the flood-pi no longer reporting information.
conclusion
I had a lot of fun taking a small idea of being notified the nextr time their is water in the basement and transferring it to an actual physical devices that can send out emails upon completion of a circuit. Plus, i got better at soldering - i know the ADC breakout is a small assembly, but it made me happy the way it turned out.
If you have occasional water in your basement and have an interest in Raspberry Pi, i hope you check out the flood-pi program and install it. And if you have yourself a VPS, feel free to also setup the flood-pi-admin on it to access level reading data.
Now, onto the next little pet project i have in mind:)
Cheers!


Passengers move SHRC
by Special CorrespondentA petition has been filed before the State Human Rights Commission seeking a directive to the Southern Railway to provide sufficient coaches on the Alappuzha - Ernakulam MEMU train (No. 66314).
The petition also sought a directive to reschedule the Kayamkulam - Ernakulam passenger train (No. 56350) so as to reach Ernakulam by 10 a.m. instead of at 11.15 a.m. at present.
The petition was filed by D.B. Binu and another passenger. According to them, the MEMU was introduced in place of a morning passenger train. While the passenger train had 16 coaches, the MEMU has only 12 coaches. As the MEMU train is already overcrowded, there is a need to introduce more coaches or alternative trains. Urgent action is required to increase the capacity of the train service on the stretch.
The Alappuzha - Ernakulam route was mainly used by daily wage workers who earned meagre income for their livelihood. The reduction of coaches and change of trains had seriously affected the right to life of such workers, the petitioners said.


Pizza Picker
Choose a size
Small
Medium
Large
X-Large
Vegetable Toppings:
Broccoli |
Onions |
Tomatoes |
Green Peppers |
Mushrooms |
Eggplant |
Basil |
Meat Toppings:
Pepperoni |
Bacon |
Beef |
Chicken |
Sausage |
Ham |
Meatballs |
proscuitto |
Calculate Price


{{ partial "header.html" . }} Engaging with Singapore's start-up scene with NUS Entrepreneurship Society Aug 2016 {{ .Content }} {{ partial "footer.html" . }}


Hello, {{ user.username }}!
Welchome to {{ title }}
These are the awesome items we sell
{% for thing in things %}
{{ thing.id }}
{{ thing.name }}
{{ thing.price }}
{% endfor %}


CS 10117 Data Structures Final Project - Concordance
Niv Navick
2020
Your browser does not support the video tag.
File
Nodes
Metadata
Insertion time:
0
ms
Fetch time:
0
ms
Avg Fetch time:
0
ms
check
Words count:
0
File size:
0
kb
Choose a file
Copyright 2020 by Niv Navick. All Rights Reserved.


On 25 January 2016, the National IHR Focal Point of Benin notified WHO of an outbreak of Lassa fever (see DON published on 19 February).
On 23 May 2016, the Ministry of Health of Benin declared the end of the outbreak. The announcement came 42 days after the detection of the last Lassa fever case in the country (10 April 2016).
A total of 54 suspected cases, including 28 deaths, were reported from eight regions: Borgou (31 cases, 16 deaths), Donga (7 cases, 5 deaths), Collines (6 cases, 3 deaths), Alibori (3 cases, 1 death), Plateau (3 cases, 2 deaths), Ouémé (2 cases, 1 death), Atlantique (1 case) and Littoral (1 case). Of these 54 suspected cases, 16 were laboratory-confirmed in three regions: Borgou (13 cases), Donga (2 cases), Ouémé (1 case).
Five of the 54 suspected cases are health workers from the Borgou region. Three of these 5 health workers were laboratory-confirmed. Two of these 5 health workers passed away.
During the course of this outbreak, five laboratories provided technical support for the confirmation of Lassa fever cases by polymerase chain reaction (PCR):
The Ministry of Health of Benin, with the support of WHO and partners, coordinated the management of the outbreak. Control measures were implemented, including field investigation, enhanced surveillance, case management, infection prevention and control, contact tracing and follow-up, and social mobilization.
WHO deployed a multidisciplinary team in the affected areas to support the response.
Since the beginning of the outbreak, a total of 739 contacts were identified and monitored. At present, 1 contact under follow-up was laboratory confirmed for Lassa fever infection.
The current report confirms that, at present, there are no known Lassa fever transmission chains in Benin. Although Lassa fever is endemic in neighbouring Nigeria and other West African countries, this is only the second time that cases were reported in Benin (the first outbreak occurred in November 2014). This latest outbreak was characterized by a high number of deaths among confirmed cases. It is, therefore, of paramount importance to investigate the factors that contributed to this higher than expected mortality rate. Furthermore, to reduce the likelihood of flare-ups, countries in West Africa endemic for Lassa fever are encouraged to strengthen the related surveillance systems.
WHO does not recommend any restriction of travel and trade to Benin based on the information available.


What is Continuous Delivery?
A.K.A don't hurt me no more.
- Automate software delivery to set developers free.
- Automatic = repeatable.
- It's not all or nothing. There is a middle ground.
- Going live with a new version can be (and should be) a business decision.
How to Deliver Continuously?
| Commits |
Build + tests |
Deploy: dev |
Deploy: QA |
Deploy: LIVE |
| eeef47d |
OK |
OK |
OK |
OK |
| c9c747d |
OK |
OK |
OK |
- |
| ffe523d |
- |
- |
- |
- |
| aa7db7c |
OK |
OK |
- |
- |
| db7aa7c |
- |
- |
- |
- |
My favourite tools:
- PSake - build script versioned in the same repo as the rest of the project. Keeps the build server config simple.
- TeamCity - the best build server ever! Keep configuration minimal - PSake enables it.
- *get - NuGet Gallery, MyGet, ProGet, your get...
- OctopusDeploy - the deploy part.
- Hipchat/SnapChat - I'm not there, but I will in 3 months.
Octopus Deploy
- @paulstovell
- Licence: from Community (free) to Enterprise (5000$).
- Parts:
- Tentacles - installed on each machine.
- Server - the one to rule them all.
- Powerful web API: create releases, deploy them.
- Can we move forward, please?


Tests of openlayers 5 + ol-ext. Taxlot and zoning layers are only currently available inside the Clatsop County network, sorry.


A fast (C) implementation of the iterative proportional fitting procedure. Based on corresponding code from the networkTomography package.
| Version: | 1.0.1 |
| Published: | 2016-02-14 |
| Author: | Alexander W Blocker |
| Maintainer: | Alexander W Blocker <ablocker at gmail.com> |
| License: | Apache License (== 2.0) |
| URL: | https://github.com/awblocker/ipfp |
| NeedsCompilation: | yes |
| Materials: | README |
| CRAN checks: | ipfp results |
| Reference manual: | ipfp.pdf |
| Package source: | ipfp_1.0.1.tar.gz |
| Windows binaries: | r-devel: ipfp_1.0.1.zip, r-release: ipfp_1.0.1.zip, r-oldrel: ipfp_1.0.1.zip |
| OS X binaries: | r-release: ipfp_1.0.1.tgz, r-oldrel: ipfp_1.0.1.tgz |
| Old sources: | ipfp archive |
| Reverse imports: | rakeR |
Please use the canonical form https://CRAN.R-project.org/package=ipfp to link to this page.


Element index for package Spyc
[ c ]
[ d ]
[ i ]
[ l ]
[ p ]
[ s ]
[ y ]
[ _ ]
top
top
top
top
l
- load
- in file spyc.php, method Spyc::load()
Load YAML into a PHP array from an instantiated object
top
top
s
- spyc.php
- procedural page spyc.php
- Spyc
- in file spyc.php, class Spyc
The Simple PHP YAML Class.
top
y
- YAMLDump
- in file spyc.php, method Spyc::YAMLDump()
Dump YAML from PHP array statically
- YAMLLoad
- in file spyc.php, method Spyc::YAMLLoad()
Load YAML into a PHP array statically
- YAMLNode
- in file spyc.php, method YAMLNode::YAMLNode()
The constructor assigns the node a unique ID.
- YAMLNode
- in file spyc.php, class YAMLNode
A node, used by Spyc for parsing YAML.
top
|
|


The main object representing the response box.
send_command(command_id,bytes)
send a command to the box (command id byte and 7 data bytes as a Python string)
purge_queue()
purge the system buffer queue
reset_clock()
reset the system clock
enable_loopback()
enable loopback (button presses turn LEDs on/off)
disable_loopback()
wait_for_keydown()
wait for a key down event (return None if no event received within timeout)
wait_for_keyup()
wait for key up event (return None if no event received within timeout)
serial_num
serial number for main board (read)
PAC
set product authorisation code (write)
version
system firmware (read)
voice_version
voice key firmware (read)
clock
system clock value (read)
heartbeat
set heartbeat rate (write)
port0
port1
/ buttons
port2
/ leds
int0
/ voice_key
int1
/ optic_key
serial
see serial object
device
the underlying USB HID device object
commands
see commands object
port0
, port2
and leds
are object properties of the main USBBox object.
and_state(and_bits)
AND
and_bits
with current port state
or_state(or_bits)
OR
or_bits
with current port state
xor_state(xor_bits)
XOR
xor_bits
with current port state
direction
, logic
and state
apply to all lines on the port.
direction
byte representing direction of port (read/write)
logic
byte representing logic of port (read/write)
state
byte representing state of port (read/write)
lines
collection of all 8 line objects on the port
line0
, line1
, line2
, line3
, line4
, line5
, line6
, line7
individual line objects on the port
Individual lines on port0, port2 and leds objects
state
bit representing state of line (read/write)
direction
bit representing direction of line (read/write)
logic
bit representing logic of line (read/write)
port1
and buttons
are synonyms on the USBBox object.
enabled
byte representing enabled state of input lines (read/write)
debounce_down
byte representing key down debounce time (read/write)
debound_up
byte representing key up debounce time (read/write)
state
byte representing state of all input lines (read)
lines
all 8 input lines of the port
line0
, line1
, line2
, line3
, line4
, line5
, line6
, line7
individual line objects on the port
Object representing a single line on port1/buttons.
state
bit representing state of line (read)
enabled
bit representing whether line is enabled (read/write)
Interrupt 0 / voice key object
enabled
bit representing whether port is enabled (read/write)
debounce_down
byte representing key down debounce time (read/write)
debound_up
byte representing key up debounce time (read/write)
primary_gain
byte representing primary gain (read/write)
secondary_gain
byte representing secondary gain (read/write)
min_duration
byte representing minimum duration (read/write)
min_silence
byte representing minimum silence (read/write)
trigger_level
byte representing trigger level (threshold) (read/write)
mic_pass_thru
bit representing microphone pass through state. note value is not read from the box, so value will only be valid after it is first written (read/write)
Interrupt 1 / optic key object
enabled
bit representing whether port is enabled (read/write)
debounce_down
byte representing key down debounce time (read/write)
debound_up
byte representing key up debounce time (read/write)
Object representing the serial port on the USBBox. Operates at 9600 baud.
read()
read bytes from the serial port. returns bytes as a Python string (as a file object would). returns an empty string ” if no bytes were received after timing out. bytes sent to the serial port will be stored on this object until
read()
is called.
write(bytes)
write bytes to the serial port. blocks until all bytes written. bytes should be a Python string.
The commmands
object is intended to be a fairly low-level interface to the response box.
It is mainly concerned with sending and receiving reports and therefore closely mimics the
underlying protocol of the response box.
There exists one method for each command report specified in the response box manual. They are names are lowercase (and - to _) versions of the IDs specified in the manual. These methods are used to send commands to the HID device. e.g.
usbbox.commands.verget() # send a VERGET command to the box
usbbox.commands.dirset(1,0,0) # send a DIRGET command (enable loopback)


| 8:00 |
14:00 |
Organizers |
Welcome |
| 8:05 |
14:05 |
Danai Koutra |
INVITED: Representation Learning Beyond Homophily and Proximity |
| 8:30 |
14:30 |
Yves-Alexandre de Montjoye |
INVITED: Is it Proportional? Estimating the detrimental network effects of data collections |
| 8:55 |
14:55 |
Kiran Tomlinson, Austin Benson |
Learning Context Effects in Triadic Closure |
| 9:07 |
15:07 |
Xiaoyi Yang, Nynke Niezink, Rebecca Nugent |
Learning a social network from text data |
| 9:20 |
15:20 |
– |
CENTRAL BREAK (15:20-15:40 is fixed by the organizers) |
| 9:40 |
15:40 |
David Gleich |
INVITED: Flow-based Algorithms for Improving Clusters |
| 10:05 |
16:05 |
Rose Yu |
INVITED: Understanding Graph Neural Networks in Learning Network Topology and Dynamics |
| 10:30 |
16:30 |
George Cantwell, Guillaume St-Onge, Jean-Gabriel Young |
Temporal inference for growing trees |
| 10:42 |
16:42 |
Makan Arastuie, Subhadeep Paul, Kevin Xu |
Scalable and Consistent Estimation in Continuous-time Networks of Relational Events |
| 10:55 |
16:55 |
– |
9-minute coffee break |
| 11:04 |
17:04 |
Jesus Arroyo, Daniel Sussman, Carey Priebe, Vince Lyzinski |
Maximum Likelihood Estimation and Graph Matching in Errorfully Observed Networks |
| 11:16 |
17:16 |
Amir Ghasemian, Minzhengxiong Zhang, Edoardo Airoldi |
Model-assisted design of experiments in presence of homophily and interference |
| 11:29 |
17:29 |
Jonas Jull, Johan Ugander |
Harder, better, faster, stronger cascades – or simply larger? |
| 11:41 |
17:41 |
Bruno Messias Farias de Resende, Luciano da Fontoura Costa |
Characterization and comparison of large directed networks through the spectra of the magnetic Laplacian |
| 11:54 |
17:54 |
Benjamin Wild, Tim Landgraf |
Circadian rhythms in social networks |
| 12:06 |
18:06 |
– |
5-minute break |
| 12:11 |
18:11 |
Caterina De Bacco |
INVITED: Interdependence Between Network Layers |
| 12:36 |
18:36 |
Discussion |
PANEL |
| 12:54 |
18:54 |
Organizers |
Closing |


Big Apple City
New York City
About The Big Apple
Brooklyn
Manhattan
Queens
Top Destinations
Chelsea Market
Empire State
Metropolitan Museum of Art
Statue of Liberty & Ellis Island
Times Square
Things to Do
Adventure
Food
Lifestyle
Tours
News
Ask Us
Adventure en New York City
Experience the real New York City
Click on them to know more.
Social Media
Copyright Charusmita


Java MVC Page
The Java Dependency Mechanism and the MVC Approach
http://genome-www.stanford.edu/~sac/java/mvc/intro.html
References:
- Geary, D (1997), Java Report 2(1):31-37.
- Winston, PH and Narasimhan, S (1996), Java Report 1(6):63-68.
- Lewis, S (1995), The Art and Science of Smalltalk, Hewlett-Packard.
- JDK 1.1 docs
- I. Relationships between objects in an application
- Is-A (inheritance)
- Has-A (composition)
- Depends-on (dependency)
- Instance-of (instantiation)
- II. Defininitions
- Model:
- Contains data and core application functionality.
- Independent of the user interface (UI).
- Keywords: data, storage, processing.
- View:
- Displays a model's data to the user.
- Does not understand or act on the data except as necessary to display it.
- Provides the "look" of an application.
- Keywords: output
- Controller:
- Handles UI events and communicates them to the model.
- Usually is specialized to work with a particular view.
- Provides the "feel" of an application.
- Keywords: input
- Observable:
- A java.util class for a model.
- Contains a mechanism for notifying all observers upon changes in a model's data.
- An observable object knows which objects depend on it and notifys them
upon changes to the model's data.
- Key methods: setChanged(), notifyObservers()
- Observer:
- A java.util interface for a view.
- Specifies a mechanism for reacting to changes in an observed model.
- An observer does not (necessarily) know on which objects it depends.
- An observer does have to display anything (ie. provide a view to a model).
- Key methods: update(Observable, Object)
- EventListener:
- A java.util interface for a controller.
- Specifies a mechanism for responding to UI events.
- Available only in JDK 1.1 (see docs about the delegation-based event model).
- Key subclasses: MouseListener, ActionListener, FocusListener et al.
- III. Graphical Illustration of Java Dependency and MVC
- IV. A Generic Scenario
- User generates an event by clicking a button or moving a scroll bar.
- Controller determines what happened and sends a setData(value) message to a model
passing it a value computed based on what happened in the UI.
- Model sets/ alters its data accordingly.
- Model broadcasts to its dependents (views) that it has changed (calls
setChanged() and notifyObservers()).
- Observer (view) receives an update message from the changed model and reacts
appropriately (e.g, redraws its display to reflect the change in the model).
- V. Advantages and Disadvantages
- Advantages of dependency
- Dependents are updated transparently and automatically.
- Allows an application to build its dependency network at run-time.
For any given object, a programmer does not need to know which other objects or how many other
objects depend on it.
- Advantages of MVC
- Permits an orderly, methodical approach to GUI design.
- Decouples an application's data processing, visual representation, and GUI which
promotes flexibility, modularity, encapsulation, and reuse. For example,
a model could be fitted with different views, or an application could
be used without its view to interact with another application.
- Permits separate, independent development of application components.
- Allows the different components of an application to inherit from different classes.
This promotes encapsulation and compensates for Java's lack of multiple inheritance.
- Disadvantages of Dependency and MVC
- Increased complexity requires more effort to design.
- Creates a new potential source of bugs.
- Messages between objects may be difficult to track.
- Increased overhead of method calls between observables and observers could
lead to inefficient code if not designed carefully.
Last Modified: 4 March 1997
sac@genome.stanford.edu.


#include <asv.h>
Public Attributes | |
| double | L_wl |
| Input variable. Length waterline in m. More... | |
| double | B_wl |
| Input variable. Breadth waterline in m. More... | |
| double | D |
| Input variable. Depth of the ASV in m. More... | |
| double | T |
| Input variable. Draught of the ASV in m. More... | |
| double | max_speed |
| double | disp |
| Input variable. Displacement of the ASV in m3. More... | |
| double | r_roll |
| Input variable. roll radius of gyration. More... | |
| double | r_pitch |
| Input variable. pitch radius of gyration. More... | |
| double | r_yaw |
| Input variable. yaw radius of gyration. More... | |
| struct Dimensions | cog |
Struct to hold some of the input value of the vehicle. All variables in this struct are inputs and should be set before calling asv_init(). Coordinate system: Body-centric frame. The origin of the frame is on the waterline at the aft end centre line.
| double Asv_specification::B_wl |
Input variable. Breadth waterline in m.
| struct Dimensions Asv_specification::cog |
Input variable. Centre of gravity in body-fixed frame.
| double Asv_specification::D |
Input variable. Depth of the ASV in m.
| double Asv_specification::disp |
Input variable. Displacement of the ASV in m3.
| double Asv_specification::L_wl |
Input variable. Length waterline in m.
| double Asv_specification::max_speed |
Input variable. Maximum operational speed of the ASV in m/s.
| double Asv_specification::r_pitch |
Input variable. pitch radius of gyration.
| double Asv_specification::r_roll |
Input variable. roll radius of gyration.
| double Asv_specification::r_yaw |
Input variable. yaw radius of gyration.
| double Asv_specification::T |
Input variable. Draught of the ASV in m.


How to use
Connect
First, Click on the Connect button, then connected to ws://broker.hivemq.com:8000
.
Subscribe
Next, Click on the Subscribe button to enter a Topic.
Publish
Finally, Click on the Publish button to enter the Topic and some Messages. enjoy MQTT life :).


Your State Pension date
Your State Pension date is 12 June 2017.
You can get State Pension backdated up to 12 months.
If you don't want your State Pension from the earliest date possible, tell us a different date. Continue
{% include 'includes/parts/help.html' %}


Start
Copy this into the other browser window:
Paste text from the other window and click Receive:
Receive
Send


Orchestration is the subtle art of writing musical pieces for the orchestra, by combining the properties of various instruments in order to achieve a particular sonic rendering. Among the different writing techniques for orchestral works, one of them consists in first writing a piano score and then spreading its different voices over the various instruments.
Ravel's orchestration of Mussorgsky's piano piece Pictures at an exhibition is one of the most remarkable illustration of this technique (see below for musical excerpts and pictures for the corresponding scores). By observing this particular example and the many others projective orchestrations written by famous composers, the strong correlations between a piano score and an orchestral proposition are blatant.
Hence, we believe that an appropriate learning algorithm could be able to uncover the underlying structure of these correlations. Relying on the recent advent of deep learning for time series modeling (cRBM, RNN-RBM, Variational RNN), our objective is to develop a generative model for conditional time series and apply it to the automatic orchestration task. Beside this purely creative objective, we started a reflexion toward the construction of an evaluation framework for generative temporal models. Finally, we implement the investigated models in a system called LOP (Live Orchestral Piano), which aims at performing a real-time projective orchestration of a MIDI keyboard input.