#include <CStatsVehicule.hpp>
Fonctions membres publiques | |
| CStatsVehicule () | |
| Construct a new CStatsVehicule object. | |
| CStatsVehicule (unsigned int vitesseTronc, unsigned int typeStat, unsigned int nbrVehicule, unsigned int nbrEssieu, unsigned int VitesseMoy, unsigned int VitesseMax, unsigned int nbrVitesseOK, unsigned int nbrVitesseLM20, unsigned int nbrVitesseLP20, unsigned int nbrVitesseLP30, unsigned int nbrVitesseLP40, unsigned int nbrVitesseLP50) | |
| Construct a new CStatsVehicule object. | |
| CStatsVehicule (unsigned int vitesseTronc, unsigned int typeStat) | |
| Construct a new CStatsVehicule object. | |
| ~CStatsVehicule () | |
| Destroy the CStatsVehicule object. | |
| void | add (CVehiculeDetecte *vehicule) |
| void | reinit () |
| Réinitialise. | |
| unsigned int | getTypeStat () |
| void | setTypeStat (unsigned int value) |
| Set the Type Stat object. | |
| unsigned int | getNbrVehicule () |
| Get the Nbr Vehicule object. | |
| void | setNbrVehicule (unsigned int value) |
| Set the Nbr Vehicule object. | |
| unsigned int | getNbrEssieu () |
| Get the Nbr Essieu object. | |
| void | setNbrEssieu (unsigned int value) |
| Set the Nbr Essieu object. | |
| unsigned int | getVitesseMoy () |
| Get the Vitesse Moy object. | |
| void | setVitesseMoy (unsigned int value) |
| Set the Vitesse Moy object. | |
| unsigned int | getVitesseMax () |
| Get the Vitesse Max object. | |
| void | setVitesseMax (unsigned int value) |
| Set the Vitesse Max object. | |
| unsigned int | getNbrVitesseOK () |
| Get the Nbr Vitesse O K object. | |
| void | setNbrVitesseOK (unsigned int value) |
| Set the Nbr Vitesse O K object. | |
| unsigned int | getNbrVitesseLM20 () |
| Get the Nbr Vitesse LM20 object. | |
| void | setNbrVitesseLM20 (unsigned int value) |
| Set the Nbr Vitesse L M20 object. | |
| unsigned int | getNbrVitesseLP20 () |
| Get the Nbr Vitesse L P20 object. | |
| void | setNbrVitesseLP20 (unsigned int value) |
| Set the Nbr Vitesse L P20 object. | |
| unsigned int | getNbrVitesseLP30 () |
| Get the Nbr Vitesse L P30 object. | |
| void | setNbrVitesseLP30 (unsigned int value) |
| Set the Nbr Vitesse L P30 object. | |
| unsigned int | getNbrVitesseLP40 () |
| Get the Nbr Vitesse L P40 object. | |
| void | setNbrVitesseLP40 (unsigned int value) |
| Set the Nbr Vitesse L P40 object. | |
| unsigned int | getNbrVitesseLP50 () |
| Get the Nbr Vitesse L P50 object. | |
| void | setNbrVitesseLP50 (unsigned int value) |
| Set the Nbr Vitesse L P50 object. | |
| unsigned int | getVitesseTronc () |
| Get the Vitesse Tronc object. | |
| void | setVitesseTronc (unsigned int value) |
| Set the Vitesse Tronc object. |
| CStatsVehicule::CStatsVehicule | ( | ) |
Construct a new CStatsVehicule object.
Construct a new CStatsVehicule::CStatsVehicule object.
| CStatsVehicule::CStatsVehicule | ( | unsigned int | vitesseTronc, | |
| unsigned int | typeStat, | |||
| unsigned int | nbrVehicule, | |||
| unsigned int | nbrEssieu, | |||
| unsigned int | VitesseMoy, | |||
| unsigned int | VitesseMax, | |||
| unsigned int | nbrVitesseOK, | |||
| unsigned int | nbrVitesseLM20, | |||
| unsigned int | nbrVitesseLP20, | |||
| unsigned int | nbrVitesseLP30, | |||
| unsigned int | nbrVitesseLP40, | |||
| unsigned int | nbrVitesseLP50 | |||
| ) |
Construct a new CStatsVehicule object.
| vitesseTronc | ||
| typeStat | ||
| nbrVehicule | ||
| nbrEssieu | ||
| VitesseMoy | ||
| VitesseMax | ||
| nbrVitesseOK | ||
| nbrVitesseLM20 | ||
| nbrVitesseLP20 | ||
| nbrVitesseLP30 | ||
| nbrVitesseLP40 | ||
| nbrVitesseLP50 |
| CStatsVehicule::CStatsVehicule | ( | unsigned int | vitesseTronc, | |
| unsigned int | typeStat | |||
| ) |
| CStatsVehicule::~CStatsVehicule | ( | ) |
Destroy the CStatsVehicule object.
Destroy the CStatsVehicule::CStatsVehicule object.
| void CStatsVehicule::add | ( | CVehiculeDetecte * | vehicule | ) |
| vehicule |
| unsigned int CStatsVehicule::getNbrEssieu | ( | ) |
Get the Nbr Essieu object.
unsigned int
| unsigned int CStatsVehicule::getNbrVehicule | ( | ) |
Get the Nbr Vehicule object.
unsigned int
| unsigned int CStatsVehicule::getNbrVitesseLM20 | ( | ) |
Get the Nbr Vitesse LM20 object.
unsigned int
| unsigned int CStatsVehicule::getNbrVitesseLP20 | ( | ) |
Get the Nbr Vitesse L P20 object.
unsigned int
| unsigned int CStatsVehicule::getNbrVitesseLP30 | ( | ) |
Get the Nbr Vitesse L P30 object.
unsigned int
| unsigned int CStatsVehicule::getNbrVitesseLP40 | ( | ) |
Get the Nbr Vitesse L P40 object.
unsigned int
| unsigned int CStatsVehicule::getNbrVitesseLP50 | ( | ) |
Get the Nbr Vitesse L P50 object.
unsigned int
| unsigned int CStatsVehicule::getNbrVitesseOK | ( | ) |
Get the Nbr Vitesse O K object.
unsigned int
| unsigned int CStatsVehicule::getTypeStat | ( | ) |
| unsigned int CStatsVehicule::getVitesseMax | ( | ) |
Get the Vitesse Max object.
unsigned int
| unsigned int CStatsVehicule::getVitesseMoy | ( | ) |
Get the Vitesse Moy object.
unsigned int
| unsigned int CStatsVehicule::getVitesseTronc | ( | ) |
Get the Vitesse Tronc object.
unsigned int
| void CStatsVehicule::reinit | ( | ) |
Réinitialise.
| void CStatsVehicule::setNbrEssieu | ( | unsigned int | value | ) |
Set the Nbr Essieu object.
| value | ||
| value |
| void CStatsVehicule::setNbrVehicule | ( | unsigned int | value | ) |
Set the Nbr Vehicule object.
| value | ||
| value |
| void CStatsVehicule::setNbrVitesseLM20 | ( | unsigned int | value | ) |
Set the Nbr Vitesse L M20 object.
| value | ||
| value |
| void CStatsVehicule::setNbrVitesseLP20 | ( | unsigned int | value | ) |
Set the Nbr Vitesse L P20 object.
| value | ||
| value |
| void CStatsVehicule::setNbrVitesseLP30 | ( | unsigned int | value | ) |
Set the Nbr Vitesse L P30 object.
| value | ||
| value |
| void CStatsVehicule::setNbrVitesseLP40 | ( | unsigned int | value | ) |
Set the Nbr Vitesse L P40 object.
| value | ||
| value |
| void CStatsVehicule::setNbrVitesseLP50 | ( | unsigned int | value | ) |
Set the Nbr Vitesse L P50 object.
| value | ||
| value |
| void CStatsVehicule::setNbrVitesseOK | ( | unsigned int | value | ) |
Set the Nbr Vitesse O K object.
| value | ||
| value |
| void CStatsVehicule::setTypeStat | ( | unsigned int | value | ) |
Set the Type Stat object.
| value | ||
| value |
| void CStatsVehicule::setVitesseMax | ( | unsigned int | value | ) |
Set the Vitesse Max object.
| value | ||
| value |
| void CStatsVehicule::setVitesseMoy | ( | unsigned int | value | ) |
Set the Vitesse Moy object.
| value | ||
| value |
| void CStatsVehicule::setVitesseTronc | ( | unsigned int | value | ) |
Set the Vitesse Tronc object.
| value |


Conditional Blocks enable you to display or hide an area according to a condition.
| Hello, You have selected the block #1.[onload_1;block=tr;when [var.blk_id]=1] |
| Good, it's now the block #2 which is displayed.[onload_1;block=tr;when [var.blk_id]=2] |
| Well, finally Conditional Blocks are very easy.[onload_1;block=tr;when [var.blk_id]=3] |
| This block is displayed by default.[onload_1;block=tr;default] |


Web Developer - JavaScript | HTML | CSS | Ruby on Rails | JQuery | React
Creative designs one line at a time
An in browser slot machine game.
Technologies used: JavaScript | HTML5 | CSS3
A Ruby on Rails app for renting and hosting event spaces within warehouses.
JavaScript | HTML5 | CSS3 | RubyOnRails | OAuth | PostgreSQL
A Ruby on Rails app for looking for good eats around popular venues in Los Angeles.
A Single Page App for videogames and highlights.
JavaScript | HTML5 | CSS3 | React | TokenAUTH | MongoDB
<EMAIL_ADDRESS>github/NeonBrocolli
Linkedin


E-Mission is developed by a set of graduate and undergraduate students at UC Berkeley.
K. Shankari
Mogeng Yin
Shanthi Shanmugam
Ryan (En) Lei
Andrew Campbell
Dou-nan Tang
What we do


Left panel content goes here
Offers
News
Research
Courses
Team
Sports
Goals
Fields
Select one (or multiple) criteria


Mage City is an ongoing learning experiment aiming to recreate the aesthetic and some gameplay elements of 90's Nintendo RPG action games like Secret of Mana.
This is a live demo. Use the W, A, S and D keys to wander around.
Mage City is written in Elm and uses WebGL for graphic rendering. Source code and documentation are available on GitHub.


|
Network Services API
<IP_ADDRESS>
|
HTTP/2 Client API. More...
Files | |
| file | httpstd.c |
| file | httpstd.h |
| Standard Definitions for HTTP Status Codes, Content Type and Fields. | |
Data Structures | |
| struct | HTTP2Cli_Struct |
| struct | HTTP2Cli_Error |
| HTTP/2 Error object. More... | |
| struct | HTTP2Cli_Params |
| HTTP/2 client instance config parameters. More... | |
Typedefs | |
| typedef struct HTTP2Cli_Struct | HTTP2Cli_Struct |
| HTTP/2 client object type. More... | |
| typedef HTTP2Cli_Struct * | HTTP2Cli_Handle |
| HTTP/2 client instance type. More... | |
| typedef void(* | HTTP2Cli_responseDataFxn) (HTTP2Cli_Handle cli, uint32_t arg, uint32_t streamId, uint8_t *data, uint32_t len, bool endStream) |
| HTTP2Cli callback function for handling data. More... | |
| typedef void(* | HTTP2Cli_responseHeadersFxn) (HTTP2Cli_Handle cli, uint32_t arg, uint32_t streamId, uint16_t status, HTTP2Hdr_Field *headersList, uint32_t len, bool endStream) |
| HTTP2Cli callback function for handling headers. More... | |
| typedef struct HTTP2Cli_Error | HTTP2Cli_Error |
| HTTP/2 Error object. More... | |
| typedef struct HTTP2Cli_Params | HTTP2Cli_Params |
| HTTP/2 client instance config parameters. More... | |
Functions | |
| int | HTTP2Cli_connect (HTTP2Cli_Handle cli, const struct sockaddr *addr, int flags) |
| Connect to the HTTP/2 Server. More... | |
| void | HTTP2Cli_construct (HTTP2Cli_Struct *cli, const HTTP2Cli_Params *params) |
| Initialize a new instance object inside the provided structure. More... | |
| HTTP2Cli_Handle | HTTP2Cli_create (const HTTP2Cli_Params *params) |
| Allocate and initialize a new instance object, and return it's handle. More... | |
| void | HTTP2Cli_delete (HTTP2Cli_Handle *cli) |
| Destroy and free this previously allocated instance object, and set the reference handle to NULL. More... | |
| void | HTTP2Cli_destruct (HTTP2Cli_Struct *cli) |
| Destroy the instance object inside the provided structure. More... | |
| void | HTTP2Cli_disconnect (HTTP2Cli_Handle cli) |
| Disconnect from the HTTP/2 server. More... | |
| int | HTTP2Cli_getSocketError (HTTP2Cli_Handle cli) |
| Get the error code from the socket/TLS layer. More... | |
| int | HTTP2Cli_initSockAddr (const char *uri, bool ipv6, struct sockaddr *addr) |
| Initialize the socket address structure for the given URI. More... | |
| void | HTTP2Cli_Params_init (HTTP2Cli_Params *params) |
| Initialize the config params with default values. More... | |
| int | HTTP2Cli_processResponse (HTTP2Cli_Handle cli, uint32_t timeout_ms, HTTP2Cli_Error *error) |
| Process the response from HTTP/2 server. More... | |
| int | HTTP2Cli_sendRequest (HTTP2Cli_Handle cli, const char *method, const char *uri, HTTP2Hdr_Field *additionalHeaders, uint8_t headersLen, uint8_t *data, uint32_t dataLen, uint32_t *streamId) |
| Make an HTTP/2 request to the server. More... | |
| int | HTTP2Cli_sendRequestHeaders (HTTP2Cli_Handle cli, const char *method, const char *uri, HTTP2Hdr_Field *additionalHeaders, uint8_t headersLen, bool endStream, uint32_t *streamId) |
| Send HTTP/2 request headers to the server. More... | |
| int | HTTP2Cli_sendRequestData (HTTP2Cli_Handle cli, uint32_t *streamId, uint8_t *data, uint32_t dataLen, bool endStream) |
| Send HTTP/2 data to the server. More... | |
| int | HTTP2Cli_getSocket (HTTP2Cli_Handle cli) |
| Get the handle to the underlying socket. More... | |
| int | HTTP2Cli_sendPing (HTTP2Cli_Handle cli) |
| Send a HTTP/2 PING to the HTTP/2 server. More... | |
HTTP/2 client Error Codes | |
| #define | HTTP2Cli_ESOCKETFAIL (-101) |
| Socket create failed. More... | |
| #define | HTTP2Cli_ECONNECTFAIL (-102) |
| TCP connection to the server failed. More... | |
| #define | HTTP2Cli_ESENDFAIL (-103) |
| Cannot send data to the server. More... | |
| #define | HTTP2Cli_ERECVFAIL (-104) |
| Cannot recieve data to the server. More... | |
| #define | HTTP2Cli_ERECVTIMEOUT (-105) |
| TCP connection timed out when waiting for data to arrive. More... | |
| #define | HTTP2Cli_ETLSFAIL (-106) |
| Failed to configure the socket with TLS parameters. More... | |
| #define | HTTP2Cli_ESTREAMID (-107) |
| No streams available on this connection. Close this connection and open a new connection. More... | |
| #define | HTTP2Cli_EINSUFFICIENTHEAP (-108) |
| Memory allocation failed due to insufficient system heap. More... | |
| #define | HTTP2Cli_EPROTOCOL (-109) |
| HTTP/2 protocol error caused by the server. Close this connection. More... | |
| #define | HTTP2Cli_EFRAMESIZE (-110) |
| HTTP/2 frame size error caused by the server. Close this connection. More... | |
| #define | HTTP2Cli_EHEADERSLISTTOOBIG (-111) |
| The size of headers is too big than the size that the server is ready to accept. More... | |
| #define | HTTP2Cli_ERSTSTREAMRECV (-112) |
| The server sent a RST Stream. Check HTTP2Cli_Error for error code. More... | |
| #define | HTTP2Cli_EGOAWAYRECV (-113) |
| The server sent a GO AWAY. Check HTTP2Cli_Error for error code. More... | |
| #define | HTTP2Cli_EINVALIDREQUESTPARAMS (-114) |
| Invalid request parameters input. More... | |
| #define | HTTP2Cli_EHOSTNAMERESOLVE (-115) |
| #define | HTTP2Cli_EPINGPAYLOAD (-116) |
HTTP/2 Client API.
This module provides an HTTP client implementation of IETF standard for HTTP/2 - RFC 7540.
| #define HTTP2Cli_ESOCKETFAIL (-101) |
Socket create failed.
| #define HTTP2Cli_ECONNECTFAIL (-102) |
TCP connection to the server failed.
| #define HTTP2Cli_ESENDFAIL (-103) |
Cannot send data to the server.
| #define HTTP2Cli_ERECVFAIL (-104) |
Cannot recieve data to the server.
| #define HTTP2Cli_ERECVTIMEOUT (-105) |
TCP connection timed out when waiting for data to arrive.
| #define HTTP2Cli_ETLSFAIL (-106) |
Failed to configure the socket with TLS parameters.
| #define HTTP2Cli_ESTREAMID (-107) |
No streams available on this connection. Close this connection and open a new connection.
| #define HTTP2Cli_EINSUFFICIENTHEAP (-108) |
Memory allocation failed due to insufficient system heap.
| #define HTTP2Cli_EPROTOCOL (-109) |
HTTP/2 protocol error caused by the server. Close this connection.
| #define HTTP2Cli_EFRAMESIZE (-110) |
HTTP/2 frame size error caused by the server. Close this connection.
| #define HTTP2Cli_EHEADERSLISTTOOBIG (-111) |
The size of headers is too big than the size that the server is ready to accept.
| #define HTTP2Cli_ERSTSTREAMRECV (-112) |
The server sent a RST Stream. Check HTTP2Cli_Error for error code.
| #define HTTP2Cli_EGOAWAYRECV (-113) |
The server sent a GO AWAY. Check HTTP2Cli_Error for error code.
| #define HTTP2Cli_EINVALIDREQUESTPARAMS (-114) |
Invalid request parameters input.
| #define HTTP2Cli_EHOSTNAMERESOLVE (-115) |
| #define HTTP2Cli_EPINGPAYLOAD (-116) |
| typedef struct HTTP2Cli_Struct HTTP2Cli_Struct |
HTTP/2 client object type.
| typedef HTTP2Cli_Struct* HTTP2Cli_Handle |
HTTP/2 client instance type.
| typedef void(* HTTP2Cli_responseDataFxn) (HTTP2Cli_Handle cli, uint32_t arg, uint32_t streamId, uint8_t *data, uint32_t len, bool endStream) |
HTTP2Cli callback function for handling data.
The HTTP2Cli_processResponse() function calls the registered data callback function when a data frame arrives from the HTTP/2 server. This function is called repeatedly till the end of data from the stream which is indicated by the endStream
flag. The streamId
can be used to match the request and the response.
| [in] | cli | Instance of the HTTP connection |
| [in] | arg | User supplied argument |
| [in] | streamId | Stream ID of the response |
| [in] | data | Response data buffer |
| [in] | dataLen | Length of the data buffer |
| [in] | endStream | Set if there is no more data in the stream |
| typedef void(* HTTP2Cli_responseHeadersFxn) (HTTP2Cli_Handle cli, uint32_t arg, uint32_t streamId, uint16_t status, HTTP2Hdr_Field *headersList, uint32_t len, bool endStream) |
HTTP2Cli callback function for handling headers.
The HTTP2Cli_processResponse() function calls the registered header callback function when a header frame arrives from the HTTP/2 server. This function is called repeatedly till the end of headers from the stream. If no data frames follow headers, the endStream
flag will be set. The streamId
can be used to match the request and the response.
| [in] | cli | Instance of the HTTP connection |
| [in] | arg | User supplied argument |
| [in] | streamId | Stream ID of the response |
| [in] | status | HTTP/2 response status code |
| [in] | headersList | List of HTTP/2 response headers |
| [in] | len | Length of the headersList |
| [in] | endStream | Set if there is no more data in the stream |
| typedef struct HTTP2Cli_Error HTTP2Cli_Error |
HTTP/2 Error object.
| typedef struct HTTP2Cli_Params HTTP2Cli_Params |
HTTP/2 client instance config parameters.
| int HTTP2Cli_connect | ( | HTTP2Cli_Handle | cli, |
| const struct sockaddr * | addr, | ||
| int | flags | ||
| ) |
Connect to the HTTP/2 Server.
Creates a secure TCP connection to the HTTP/2 Server and exchanges the HTTP/2 connection preface and settings.
| [in] | cli | Instance of an HTTP/2 client object |
| [in] | addr | IP address of the server |
| [in] | flags | Reserved for future use |
| void HTTP2Cli_construct | ( | HTTP2Cli_Struct * | cli, |
| const HTTP2Cli_Params * | params | ||
| ) |
Initialize a new instance object inside the provided structure.
| [in] | cli | Pointer to HTTP2Cli_Struct |
| [in] | params | Per-instance config parameters |
| HTTP2Cli_Handle HTTP2Cli_create | ( | const HTTP2Cli_Params * | params | ) |
Allocate and initialize a new instance object, and return it's handle.
| [in] | params | Per-instance config parameters |
| void HTTP2Cli_delete | ( | HTTP2Cli_Handle * | cli | ) |
Destroy and free this previously allocated instance object, and set the reference handle to NULL.
| [in] | cli | Pointer to an HTTP/2 client instance |
| void HTTP2Cli_destruct | ( | HTTP2Cli_Struct * | cli | ) |
Destroy the instance object inside the provided structure.
| [in] | cli | Pointer to HTTP2Cli_Struct |
| void HTTP2Cli_disconnect | ( | HTTP2Cli_Handle | cli | ) |
Disconnect from the HTTP/2 server.
Closes the secure TCP connection to the HTTP/2 server and destroys the HTTP/2 client instance object.
| [in] | cli | Instance of an HTTP/2 client object |
| int HTTP2Cli_getSocketError | ( | HTTP2Cli_Handle | cli | ) |
Get the error code from the socket/TLS layer.
This function can be used to get the underlying socket/TLS layer error code when the other HTTP2Cli APIs fail with connect/send/recv/tls errors.
| [in] | cli | Instance of an HTTP/2 client object |
| int HTTP2Cli_initSockAddr | ( | const char * | uri, |
| bool | ipv6, | ||
| struct sockaddr * | addr | ||
| ) |
Initialize the socket address structure for the given URI.
The supported URI format is:
For cases where port is not provided, the default port number is set.
| [in] | uri | A null terminated URI string |
| [in] | ipv6 | Set if IPv6 address has to be retrieved for the given URI |
| [out] | addr | Pointer to the sockaddr structure to be filled with IP information. |
| void HTTP2Cli_Params_init | ( | HTTP2Cli_Params * | params | ) |
Initialize the config params with default values.
| [in] | params | Pointer to HTTP2Cli_Params |
| int HTTP2Cli_processResponse | ( | HTTP2Cli_Handle | cli, |
| uint32_t | timeout_ms, | ||
| HTTP2Cli_Error * | error | ||
| ) |
Process the response from HTTP/2 server.
This function has to be called periodically to process the response/request from the server. The headers and data frames are processed and passed to to user supplied callback functions. The other frames are processed and appropriate response/ack are sent to the HTTP/2 server.
| [in] | cli | Instance of an HTTP/2 client object |
| [in] | timeout_ms | Max time (in millisecs) allowed for function to return |
| [out] | error | Stream Id and error code returned by the server for stream errors (HTTP2Cli_ERSTSTREAMRECV) and connection errors (HTTP2Cli_EGOAWAYRECV) will be set in this object. |
| int HTTP2Cli_sendRequest | ( | HTTP2Cli_Handle | cli, |
| const char * | method, | ||
| const char * | uri, | ||
| HTTP2Hdr_Field * | additionalHeaders, | ||
| uint8_t | headersLen, | ||
| uint8_t * | data, | ||
| uint32_t | dataLen, | ||
| uint32_t * | streamId | ||
| ) |
Make an HTTP/2 request to the server.
Creates an HTTP/2 request based on the arguments: HTTP/2 method, URI, optional additional headers and optional data, and sends it to the HTTP/2 server.
This function by default sets-up ":method", ":path", ":scheme" and ":authority" headers for HTTP/2 request. Any additional headers can be sent through this function.
A stream is created for the HTTP/2 request and the ID will be returned in streamId
. This ID can be used to determine the response for this request.
| [in] | cli | Instance of the HTTP/2 client object |
| [in] | method | HTTP/2 method (for ex: HTTPStd_GET) |
| [in] | uri | A NULL terminated URI string with format
|
| [in] | additionalHeaders | (Optional) Additional headers apart from the headers described above |
| [in] | headersLen | Length of the additionalHeaders array |
| [in] | data | (Optional) Application data |
| [in] | dataLen | Length of data buffer |
| [out] | streamId | An ID will be set for the stream created |
| int HTTP2Cli_sendRequestHeaders | ( | HTTP2Cli_Handle | cli, |
| const char * | method, | ||
| const char * | uri, | ||
| HTTP2Hdr_Field * | additionalHeaders, | ||
| uint8_t | headersLen, | ||
| bool | endStream, | ||
| uint32_t * | streamId | ||
| ) |
Send HTTP/2 request headers to the server.
Creates an HTTP/2 request based on the arguments: HTTP/2 method, URI, and optional additional headers, and sends it to the HTTP/2 server.
This function is similar to HTTP2Cli_sendRequest() with the exception that only headers are sent to the server. It can be followed by a call to HTTP2Cli_sendRequestData() to send data if any.
This function by default sets-up ":method", ":path", ":scheme" and ":authority" headers for HTTP/2 request. Any additional headers can be sent through it.
A stream is created for the HTTP/2 request and the ID will be returned in streamId
. This ID can be used to determine the response for this request.
| [in] | cli | Instance of the HTTP/2 client object |
| [in] | method | HTTP/2 method (for ex: HTTPStd_GET) |
| [in] | uri | A NULL terminated URI string with format
|
| [in] | additionalHeaders | (Optional) Additional headers apart from the headers described above |
| [in] | headersLen | Length of the additionalHeaders array |
| [in] | endStream | Set this to true if there is no data to send to the server. |
| [out] | streamId | An ID will be set for the stream created |
| int HTTP2Cli_sendRequestData | ( | HTTP2Cli_Handle | cli, |
| uint32_t * | streamId, | ||
| uint8_t * | data, | ||
| uint32_t | dataLen, | ||
| bool | endStream | ||
| ) |
Send HTTP/2 data to the server.
This function sends the input data in HTTP/2 data frames to the server. It can be called multiple times with the last data to be indicated by setting the 'endStream' flag.
| [in] | cli | Instance of the HTTP/2 client object |
| [in] | streamId | Stream Id received from HTTP2Cli_sendRequestHeaders() |
| [in] | data | Application data |
| [in] | dataLen | Length of data buffer |
| [in] | endStream | Set this to true when sending the last data |
| int HTTP2Cli_getSocket | ( | HTTP2Cli_Handle | cli | ) |
Get the handle to the underlying socket.
| [in] | cli | Instance of the HTTP/2 client object |
| int HTTP2Cli_sendPing | ( | HTTP2Cli_Handle | cli | ) |
Send a HTTP/2 PING to the HTTP/2 server.
HTTP2Cli_processResponse()
to check for PING response from the server and it is responsible for timing the PING request.| [in] | cli | Instance of the HTTP/2 client object |


Bishop Brooks mosaic to be removed from Newry Cathedral 'within weeks'
by CLAIRE SIMPSONA MOSAIC in Newry Cathedral in tribute to a bishop criticised for his handling of paedophile priest Malachy Finegan is to be removed "within weeks".
The ‘Coat of Arms’ mosaic to Bishop Francis Brooks is still on the floor of a side aisle in the cathedral - almost three months after the Catholic Church said it would be removed.
In September, Archbishop Eamon Martin said the mosaic would be replaced as part of ongoing work to the floor of the cathedral.
A contractor has been appointed to undertake the work.
It is understood a new design for the floor has been agreed but the mosaic has not yet been removed.
A spokesman for the Diocese of Dromore said: “A contractor has been engaged for the specialist work involved in replacing the mosaic."
He said the “work is progressing as quickly as possible”.
He added that the diocese is hopeful that it will be replaced within weeks.
A solicitor for victims, Claire McKeegan of Phoenix Law, said survivors were distressed by the length of time it has taken to remove the tribute.
“Survivors asked for this mosaic to be removed in March 2018,” she said.
“It is now November 2019. Why was their request not acted on as a priority?”
Ms McKeegan said the “hugely elaborate and expensive” mosaic was offensive to survivors of Finegan.
“It is hugely hurtful that it has not been removed and displays a complete lack of empathy or remorse for what the victims have suffered,” she said.
“We have to question again why survivors have to repeatedly ask the church for very basic acts of compassion.”
At least 12 young boys were sexually abused by Finegan while he taught at St Colman’s College in Newry between 1967 and 1987. Many more were physically abused by the priest.
He went on to carry out further serious sexual abuse while he was parish priest in Hilltown in the early 1990s.
Bishop Brooks, who died in September 2010, sent Finegan to England for ‘treatment’ in 1994 instead of reporting him to police.
One of Finegan’s victims, who did not want to be named, said he told Bishop Brooks in 1985 that he had been abused by the notorious paedophile.
He said the bishop failed to notify the authorities or take any internal church action and instead offered him a trip to Lourdes to be “healed”.
In a letter in September, Archbishop Martin apologised “unreservedly for the hurt and damage caused to victims by Fr Finegan, or any other priest or church representative”.
“The Diocese of Dromore finds such behaviour towards children and vulnerable people abhorrent and indefensible, and is fully committed to achieving and maintaining best practice in the area of safeguarding young people and vulnerable adults,” he wrote.


zypper
SUSE & openSUSE package management utility.
For equivalent commands in other package managers, see home page
More information: home page
- Synchronize list of packages and versions available:
zypper refresh
- Install a new package:
zypper install package
- Remove a package:
zypper remove package
- Upgrade installed packages to the newest available versions:
zypper update
- Search package via keyword:
zypper search keyword
- Show information related to configured repositories:
zypper repos --sort-by-priority


Bajaj Chetak warranty, service details revealed
by Staff WriterThe Chetak will have a 15,000km service with a 3-year/50,000km warranty, while the battery will have an estimated lifespan of 70,000km.
Yesterday, the Chetak Electric Yatra – a 3,000km-long journey that began when the electric scooter was unveiled in Delhi last month – concluded in Pune. Rajiv Bajaj, Managing Director, Bajaj Auto, attended the event and we received some more details about the two-wheeler manufacturer's new electric scooter; namely, the maintenance and warranty periods of the Chetak and its battery.
While we await the exact battery specifications, we were told that it has been designed to last 70,000km. The scooter, meanwhile, will come with a three-year/50,000km warranty.
Speaking of the maintenance of the e-scooter, the company-recommended service interval is every 15,000km – which is much further apart than what we see in its petrol-powered counterparts. This is because electric scooters have much fewer moving parts in the drivetrain and wear and tear of consumables like its brake pads will be of greater concern.
We were also privy to some more information on the Chetak and what lies in store. Firstly, it was announced that the price of the Chetak will be announced in January when the company begins to accept bookings for the new e-scooter. We were also informed that KTM/Husqvarna are working with Bajaj to develop a high-performance electric scooter and we could see the Chetak being used as the base platform for this model.
Also see:


Citations
[1] E. A. Schon, S. DiMauro, and M. Hirano, "Human mitochondrial DNA: roles of inherited and somatic mutations," Nature Reviews Genetics, vol. 13, no. 12, pp. 878-890, 2012.
[2] E. W. Sayers, J. Beck, E. E. Bolton, D. Bourexis, J. R. Brister, K. Canese, D. C. Comeau, K. Funk, S. Kim, W. Klimke, A. Marchler-Bauer, M. Landrum, S. Lathrop, Z. Lu, T. L. Madden, N. O'Leary, L. Phan, S. H. Rangwala, V. A. Schneider, Y. Skripchenko, J. Wang, J. Ye, B. W. Trawick, K. D. Pruitt, and S. T. Sherry, "Database resources of the National Center for Biotechnology Information," OUP Academic, 23-Oct-2020. [Online]. Available: https://academic.oup.com/nar/article/49/D1/D10/5937080. [Accessed: 02-May-2021].
[3] H. Li, J. Slone, L. Fei, and T. Huang, "Mitochondrial DNA Variants and Common Diseases: A Mathematical Model for the Diversity of Age-Related mtDNA Mutations," Cells, vol. 8, no. 6, p. 608, Jun. 2019.
[4] NIH, "Mitochondrial DNA-associated Leigh syndrome," Genetic and Rare Diseases Information Center. [Online]. Available: https://rarediseases.info.nih.gov/diseases/3671/maternally-inherited-leigh-syndrome. [Accessed: 02-May-2021].
[5] S. E. Hunt, W. McLaren, L. Gil, A. Thormann, H. Schuilenburg, D. Sheppard, A. Parton, I. M. Armean, S. J. Trevanion, P. Flicek, and F. Cunningham, "Ensembl variation resources," Database, vol. 2018, 2018.
[6] S. Rahman, R. B. Blok, H.-H. M. Dahl, D. M. Danks, D. M. Kirby, C. W. Chow, J. Christodoulou, and D. R. Thorburn, "Leigh syndrome: Clinical features and biochemical and DNA abnormalities," Annals of Neurology, vol. 39, no. 3, pp. 343-351, Mar. 1996.
[7] T. R. W. T. DM; "Mitochondrial DNA mutations in human disease," Nature reviews. Genetics, 06-May-2005. [Online]. Available: https://pubmed.ncbi.nlm.nih.gov/15861210/. [Accessed: 02-May-2021].
[8] The Uniprot Consortium, "UniProt: the universal protein knowledgebase in 2021," Nucleic Acids Research, 25-Nov-2020. [Online]. Available: https://academic.oup.com/nar/article/49/D1/D480/6006196. [Accessed: 02-May-2021].


Streams of MCA
What is MCA?
MCA in Jamia
Software Developer
Programmer System
Engineer System
Analyst System
Administrator
Troubleshooter
Software Application
Technical Writer


Security in the Internet of Things
Yes, You need to worry *now*
Created by Jeffrey I. Schiller
November 19, 2014
Boston Linux and Unix User’s Group
Introduction
- No One ever wants to do Security
- Its a “Negative Deliverable”
- You don’t know when you have it, only when you have lost it.
- Its a cost, generates no revenue
- What me worry, no one is attacking!
Security from the Beginning
- If you ignore security you make design decisions that make adding it later hard.
- I have seen this time and time again.
- “Bad Guys” only show up after significant deployment
Understand Your Threats
- What is your “Threat Model”
- What do the bad guys want to do
- There are some things that everyone wants to do with an Internet connected device
- Beyond that it is application specific
- Beware the Hacktivist
Things have a Hard Time
- They are not computers
- People don’t think of them as computers
- Will they get patches or updates?
- Need to securely Update Them
- You won’t have access, but your adversaries will!
- Most devices will be behind a NAT
- One that you cannot penetrate but the bad guys can
Proportionality – Price to Care
- People seem to “care” proportional to the cost of an item.
- Computers got cheap...
- “Things” (Video Cameras, Thermostats) are even cheaper
What Must Be!
- Things must be secure out of the box
- Default passwords should not exist
- Assume no maintenance
What to do
- You will need Internet/Security experts
- And I don’t mean someone who took the 2 week course
- Plan on updating firmware
- Software should be in mostly read-only memory
- Except for updating
- Android is a good model to look at
- You will need a good source of entropy
Software Update
- Device has to poll
- Need to Authenticate New Update
- Solution: Digitally Sign Update
- Problem: Protecting the Private Signing Key
Protecting the Key: FAIL
- Most Software is stored in a VC Repository (Git, Mercurial...)
- Typically there is an automated or CI build server
- To get Signed Binaries, you need the private key
- So too many organizations put the signing key in the Repository
- “Three can keep a secret if two of them are dead!”
–Benjamin Franklin
- Keys in Repositories *always* leak
- Production Staff often are not security savy
Neat Trick from Bitcoin
- Don’t embed public key in software
- Embed the hash (or two) of the public key
- Distribute the Public Key with the next signed update
- Update the Hashed Key to a new one when updating
- Attacker has to first reverse a hash before attacking the Public Key System


Home Board
Incidents
Urgency Kit
Robbery Case
Health Issues
Hunger Issues
{% for incidents in incidence %}
{% endfor %}
There was a(n) {{ incidents.name }} in {{incidents.location.title()}} at {{incidents.date_added.strftime('%d %b %Y, %I%p')}}
Identify Your Condition On this Disaster


This Bible contradiction is from the Skeptic's Annotated Bible.
Verses
He was an infant.
Genesis 44:20-22 View context
And we said unto my lord, We have a father, an old man, and a child of his old age, a little one; and his brother is dead, and he alone is left of his mother, and his father loveth him.
And thou saidst unto thy servants, Bring him down unto me, that I may set mine eyes upon him.
And we said unto my lord, The lad cannot leave his father: for [if] he should leave his father, [his father] would die.
He was a grown man with ten sons.
Genesis 46:8-21 View context
And these [are] the names of the children of Israel, which came into Egypt, Jacob and his sons: Reuben, Jacob's firstborn.
And the sons of Reuben; Hanoch, and Phallu, and Hezron, and Carmi.
And the sons of Simeon; Jemuel, and Jamin, and Ohad, and Jachin, and Zohar, and Shaul the son of a Canaanitish woman.
And the sons of Levi; Gershon, Kohath, and Merari.
And the sons of Judah; Er, and Onan, and Shelah, and Pharez, and Zerah: but Er and Onan died in the land of Canaan. And the sons of Pharez were Hezron and Hamul.
And the sons of Issachar; Tola, and Phuvah, and Job, and Shimron.
And the sons of Zebulun; Sered, and Elon, and Jahleel.

And the sons of Gad; Ziphion, and Haggi, Shuni, and Ezbon, Eri, and Arodi, and Areli.
And the sons of Asher; Jimnah, and Ishuah, and Isui, and Beriah, and Serah their sister: and the sons of Beriah; Heber, and Malchiel.
These [are] the sons of Zilpah, whom Laban gave to Leah his daughter, and these she bare unto Jacob, [even] sixteen souls.
The sons of Rachel Jacob's wife; Joseph, and Benjamin.
And unto Joseph in the land of Egypt were born Manasseh and Ephraim, which Asenath the daughter of Poti-pherah priest of On bare unto him.
And the sons of Benjamin [were] Belah, and Becher, and Ashbel, Gera, and Naaman, Ehi, and Rosh, Muppim, and Huppim, and Ard.


Abhishek Dev
GUI shamelessly adapted from the original Apple (c) Front Row Application
iFrontRow name suggested by anshul10s (Anshul Gupta)
jQuery & jQuery UI
jQuery eSlidenav plugin
jQuery fancybox plugin
Modernizr
iTunes Service (trailers.apple.com)
Source available under the MIT License
Fork at http://github.com/abhishekdev/iFrontRow
- Trailers run best in Safari on Mac.
- Please report any bugs or requests at Github Issues Page.
- Chrome/Opera fail to run trailer on second run (Fix coming ASAP).
- Quick Time Player is required to be installed for other devices.


---
layout: no_foot
title: Flint Justice Partnership Official Website
---
FLINT JUSTICE PARTNERSHIP.
Thanks for signing up! Click here to sign up again.
Info meetings: Tuesday, September 7 at 8 pm in Mason Hall Room 3460 (Google Calendar)
OR Monday, September 13 at 7 pm in West Quad Basement Room G027 (Google Calendar)


| Class | Description |
|---|---|
| Address |
IP address
|
| Address.Builder<T extends Address.Builder<T>> | |
| Flavor |
A flavor is an available hardware configuration for a server.
|
| Flavor.Builder<T extends Flavor.Builder<T>> | |
| FloatingIP |
A Floating IP is an IP address that can be created and associated with a
Server instance.
|
| FloatingIP.Builder<T extends FloatingIP.Builder<T>> | |
| Host |
Class Host
|
| Host.Builder<T extends Host.Builder<T>> | |
| HostAggregate |
Aggregates can be manipulated using the Aggregate Extension to Nova (alias "OS-AGGREGATES")
|
| HostAggregate.Builder<T extends HostAggregate.Builder<T>> | |
| HostResourceUsage |
Class HostResourceUsage
|
| HostResourceUsage.Builder<T extends HostResourceUsage.Builder<T>> | |
| Image |
An image is a collection of files you use to create or rebuild a server.
|
| Image.Builder<T extends Image.Builder<T>> | |
| Ingress |
Ingress access to a destination protocol on particular ports
|
| Ingress.Builder<T extends Ingress.Builder<T>> | |
| KeyPair |
Class KeyPair
|
| KeyPair.Builder<T extends KeyPair.Builder<T>> | |
| Quota |
Represents the set of limits (quotas) returned by the Quota Extension
|
| Quota.Builder<T extends Quota.Builder<T>> | |
| QuotaClass |
Represents the set of limits (quota class) returned by the Quota Class Extension
|
| QuotaClass.Builder<T extends QuotaClass.Builder<T>> | |
| SecurityGroup |
Defines a security group
|
| SecurityGroup.Builder<T extends SecurityGroup.Builder<T>> | |
| SecurityGroupRule |
Defines a security group rule
|
| SecurityGroupRule.Builder<T extends SecurityGroupRule.Builder<T>> | |
| SecurityGroupRule.Cidr | |
| Server |
A server is a virtual machine instance in the compute system.
|
| Server.Builder<T extends Server.Builder<T>> | |
| ServerCreated |
Server Resource with administrative password returned by ServerApi#CreateServer calls
|
| ServerCreated.Builder | |
| ServerExtendedAttributes |
Additional attributes delivered by Extended Server Attributes extension (alias "OS-EXT-SRV-ATTR")
|
| ServerExtendedAttributes.Builder<T extends ServerExtendedAttributes.Builder<T>> | |
| ServerExtendedStatus |
Additional attributes delivered by Extended Server Status extension (alias "OS-EXT-STS")
|
| ServerExtendedStatus.Builder<T extends ServerExtendedStatus.Builder<T>> | |
| ServerWithSecurityGroups |
Extended server returned by ServerWithSecurityGroupsApi
|
| ServerWithSecurityGroups.Builder<T extends ServerWithSecurityGroups.Builder<T>> | |
| SimpleServerUsage |
Information the SimpleTenantUsage extension return data about each Server
|
| SimpleServerUsage.Builder<T extends SimpleServerUsage.Builder<T>> | |
| SimpleTenantUsage |
Information the SimpleTenantUsage extension returns data about each tenant
|
| SimpleTenantUsage.Builder<T extends SimpleTenantUsage.Builder<T>> | |
| TenantIdAndName |
Class TenantIdAndName
|
| TenantIdAndName.Builder<T extends TenantIdAndName.Builder<T>> | |
| VirtualInterface |
Represents a Virtual Interface (VIF)
|
| VirtualInterface.Builder<T extends VirtualInterface.Builder<T>> | |
| Volume |
An OpenStack Nova Volume
|
| Volume.Builder<T extends Volume.Builder<T>> | |
| VolumeAttachment |
An OpenStack Nova Volume Attachment (describes how Volumes are attached to Servers)
|
| VolumeAttachment.Builder<T extends VolumeAttachment.Builder<T>> | |
| VolumeSnapshot |
An OpenStack Nova Volume Snapshot
|
| VolumeSnapshot.Builder<T extends VolumeSnapshot.Builder<T>> | |
| VolumeType |
Volume Type used in the Volume Type Extension for Nova
|
| VolumeType.Builder<T extends VolumeType.Builder<T>> |
| Enum | Description |
|---|---|
| BackupType | |
| Image.Status |
In-flight images will have the status attribute set to SAVING and the conditional progress
element (0-100% completion) will also be returned.
|
| RebootType | |
| Server.Status |
Servers contain a status attribute that can be used as an indication of the current server
state.
|
| SimpleServerUsage.Status | |
| Volume.Status |
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.


a good way to build buttons in HTML and CSS
It's real cheap
Click here to see the blog post about semantic buttons on mattboldt.com. It's a great article!
Click here to see the code on Github. These buttons are written in Sass, a very cool CSS proprocessor.


Synchronize two directory trees (or show differences between them). If a file or directory 'name' is found in both tree1 and tree2: 1) if 'name' is a file in both the pair is considered the same if they have identical size and identical datestamp (or if ignDate=1). 2) if 'name' is a directory in both the dirs are searched recursively. 3) if 'name' is a dir in root1 and a file in root2 (or vice-versa) synchronization cannot proceed (an error is thrown). If 'name' is found only in root1 or root2 it's a difference between them. The parameter flag controls how synchronization occurs: flag==0: neither tree1 nor tree2 has preference (newer file is kept) flag==1: tree2 is altered to reflect tree1 (tree1 is unchanged) flag==2: tree1 is altered to reflect tree2 (tree2 is unchanged) Run with showOnly=1 and different values of flag to see its effect. By default showOnly==1. If showOnly, displays a list of actions that need to be performed in order to synchronize the two directory trees, but does not actually perform the actions. It is highly recommended to run dirSynch first with showOnly=1 before running it with showOnly=0. USAGE dirSynch( root1, root2, [showOnly], [flag], [ignDate] ) INPUTS root1 - root directory of tree1 root2 - root directory of tree2 showOnly - [1] show but do NOT perform actions flag - [0] 0: synchronize; 1: set root2=root1; 2: set root1==root2 ignDate - [0] if true considers two files same even if have diff dates OUTPUTS dirSynch( 'c:\toolbox', 'c:\toolbox-old', 1 ) EXAMPLE See also Piotr's Computer Vision Matlab Toolbox Version 2.10 Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com] Licensed under the Simplified BSD License [see external/bsd.txt]


class: center, middle # MapReduce --- # MapReduce: Simplified Data Processing on Large Clusters ### Authors: Jeffrey Dean, Sanjay Ghemawat ### Presenter: Neil Seward --- # Contents 1. Defining Google's Problem 2. The MapReduce Model 3. Implementation of MapReduce 4. Fault Tolerance 5. Additions to the MapReduce Model 6. Evaluating Performance 7. Conclusions --- # Defining Google's Problem - Google needed a new method to work with all of their indexed data. ![data](http://blog.mindjet.com/wp-content/uploads/2011/12/Drowing-in-Data.jpg) --- # Defining Google's Problem - The new searching algorithm needed to work across a distributed set of thousands of computers.
- These networked computers were considered to be mid-low tier in processing power. --- # Defining Google's Problem The algorithm needed to be relatively simple to implement and understand, but still incorporate for: - fault tolerance - slow network bandwith - hanging processes --- # The MapReduce Model - The MapReduce algorithm takes in a set of key/value pairs as input and produces a different set of key/value pairs as output. ### Input Key | Value ------------- | ------------- words.txt | {Banana, Banana} ### Output Key | Value ------------- | ------------- Banana | 2 --- # The MapReduce Model The MapReduce algorithm has two main functions: - Map - Reduce
Both the Map function and the Reduce function can be written differently, depending on the user requirements of the MapReduce function. --- # The MapReduce Model ### Map - The Map function takes a document with a list of values, and emits a transitional key/value pair.
--- # The MapReduce Model ## Map Example ### Input Key | Value ------------- | ------------- words.txt | Banana, Banana ### Output Key | Value ------------- | ------------- Banana | 1 Banana | 1 --- # The MapReduce Model ### Reduce - The Reduce function accepts an intermediate key from the Map function along with the set of values for that key, and emits a subset of the given values.
--- # The MapReduce Model ## Reduce Example ### Input Key | Value ------------- | ------------- Banana | {1, 1} ### Output Key | Value ------------- | ------------- Banana | 2 --- # MapReduce Implementation ### Components - The MapReduce model uses two main components to carry out commands and to load files for input and to store output. --- # MapReduce Implementation ### Components
--- # MapReduce Implementation ### Components - Master Tasks include: - assign Map and Reduce tasks to workers - tracks worker status - tracks local file locations from map workers - handles faults in workers. --- # MapReduce Implementation ### Components - Worker Tasks include: - performs Map and Reduce tasks - sends updates to master - performs read and write operations to files. --- # MapReduce Implementation ### Specifying Size - Mapping - Mapping tasks are divided up into M segments of input data. - This is used to optimize the size of the input data. --- # MapReduce Implementation ### Specifying Size - Reduce - Reduce tasks read from R intermediary files produced by the partitioning function. --- # MapReduce Implementation ### Splitting - The MapReduce library will first split the input files into M smaller subsets.
[1] --- # MapReduce Implementation ### Mapping - Each worker assigned to mapping will read a subset input file and Map intermediate key/value pairs.
[1] --- # MapReduce Implementation ### Mapping - Once mapped, these pairs are written as buffers into memory to be sorted.
--- # MapReduce Implementation ### Shuffling - The partitioning function read the pairs from memory, sorts the pairs and stores the sorted partitions into local storage. - The locations of these buffered pairs are stored in the master and are passed to the Reduce workers.
[1] --- # MapReduce Implementation ### Reducing - The Reduce workers read the sorted pairs from disk and creates subsets from the pairs.
[1] --- # MapReduce Implementation ### Reducing - Once sorted, the Reduce workers perform the Reduce function and write the output pairs to output files.
--- # MapReduce Implementation ### Output - After appending to output files, the Reduce workers signal the master component for completion.
- The master component then notifies the use program of completion, returning the results.
[1] --- # Fault Tolerance The MapReduce library has many mechanisms that handle failure in operations and also handle hanging processes. Some failures and bottlenecks that are handled by the library include: - Worker failure - Master failure - Slow network bandwidth - Straggler tasks --- # Fault Tolerance ### Execution States The master component tracks the status of each Map and Reduce worker throughout the execution of the functions.
These states include: - idle - in-progress - completed --- # Fault Tolerance ### Worker Failure - If stuck in the same state for too long, the master resets the worker back to idle. --- # Fault Tolerance ### Worker Failure - Map - When a Map worker is determined to be in a failed state, the master resets the worker back to idle. - The output from the Map worker is stored locally and cannot be accessed by the master, so the Map tasks are re-scheduled on another worker. --- # Fault Tolerance ### Worker Failure - Map - Due to the large numbers of workers, tasks can be re-scheduled with ease.
--- # Fault Tolerance ### Worker Failure - Reduce - When Reduce workers fail, they are not re-scheduled due to their output being globally accessible. --- # Fault Tolerance ### Master Failure - The master component is central to the execution of the MapReduce program. - There are no copies of the master component. - When in failed state, the master is aborted and the client program is notified. --- # Fault Tolerance ### Network Bandwidth - The MapReduce model is robust in that it can still perform the function operation on a network with low bandwidth. - The input files for the workers are initially stored as copies across the cluster of computers. --- # Fault Tolerance ### Network Bandwidth - Locality - When a worker fails, the master re-schedules jobs based on the closest machine that has a copy of the original worker data.
[3] --- # MapReduce Additions ### Backup Tasks - When a worker is taking a long time to complete a Map or a Reduce function while in-progress, the master component considers it a straggler. - After straggler detection, the master creates backup executions of the in-progress task. --- # MapReduce Additions ### Backup Tasks - The task is determined to be complete when either the backup task or the original task completes the operation.
[2] --- # MapReduce Additions ### Partitioning - When creating inputs for Reduce tasks, a Partition function can be used to evenly distribute partitions. - This is the shuffling step of MapReduce. - *partition = hash(key)**mod**R* --- # MapReduce Additions ### Combining - After Map tasks are finished, a simple combination can be performed after the Map task on the same worker to simplify the Reduce task load. - The combination function works similar to the Reduce function.
--- # MapReduce Performance ### Configuration - 1800 machines on network. - Two 2GHz Xeon CPUs. - 4GB RAM. - Two 160GB IDE storage. - 100-200 Gbps network bandwidth. - 1 TB of data. --- # MapReduce Performance ### Grep - Summary - Searches through data for rare three letter combinations. - Input data is split into 64MB peices (M = 15,000). - Output data is single file (R = 1). --- # MapReduce Performance ### Grep - Performance - The entire computation takes 150 seconds (including 60 seconds of startup).
--- # MapReduce Performance ### Sort - Summary - Sorts data based on extracted keys from data. - Input data is split into 64MB peices (M = 15,000). - Output data is written to 4000 files (R = 4000). --- # MapReduce Performance ### Sort - Performance (Normal, Input Rate) - This graph shows the rate at which the data is read from input. - All of the reading is completed at around 200 seconds in.
--- # MapReduce Performance ### Sort - Performance (Normal, Network Transfer Rate) - This graph shows the rate at which the data is transfered from the Map phase to the Reduce phase. - This happens specifically during the shuffling/partitioning phase. - All of the data is transfered at around 600 seconds in.
--- # MapReduce Performance ### Sort - Performance (Normal, Output Rate) - This graph shows the rate at which the data is written to the output files. - All of the data is written at around 850 seconds in. - With startup, this version of sort takes 891 seconds.
--- # MapReduce Performance ### Sort - Performance (No Backup, Input Rate)
--- # MapReduce Performance ### Sort - Performance (No Backup, Network Transfer Rate)
--- # MapReduce Performance ### Sort - Performance (No Backup, Output Rate) - Most of the data is written before 960 seconds in. - Without backup tasks, there are five stragglers that cause the end point to be at 1283 seconds.
--- # MapReduce Performance ### Sort - Performance (200 Task Killed, Input Rate) - The negative rate is due to information loss during re-scheduling failed tasks.
--- # MapReduce Performance ### Sort - Performance (200 Task Killed, Network Transfer Rate)
--- # MapReduce Performance ### Sort - Performance (200 Task Killed, Output Rate) - With startup, this configuration of sort completes at 933 seconds in.
--- # Conclusions - With the MapReduce library, making simple queries on large sets of data in short periods is very easy to implement. - The additions to the model, such as combining, backup tasks, and network locality make the distributed library even more powerful in terms of processing. --- # References 1. http://xiaochongzhang.me/blog/wp-content/uploads/2013/05/MapReduce_Work_Structure.png 2. http://images.slideplayer.com/14/4413895/slides/slide_13.jpg 3. http://www.sis.pitt.edu/bpalan/research.html


{% extends "base.html" %} {% block title %}ThreatExchange Query{% endblock %} {% block content %}
Query Facebook's ThreatExchange for information. Scroll down results to acquire more results if there are any. Documentation can be found here.
| Type | |
| Text | |
| Strict | |
| Indicator Type | |
| Threat Type | |
| Sample Type | |
| Limit | |
| Since | |
| Until |
| Include Expired | |
| Max Confidence | |
| Min Confidence | |
| Owner ID | |
| Status | |
| Review Status | |
| Share Level | |


LATRIK
Services
Solutions
Pricing
Coverage
Innovation
First Name:
Last Name:
Email:
Password:
City:
State Code:
Create Account


Trump aide curbed access to Ukraine call, fearing fallout
A top US official restricted access to the summary of Donald Trump's Ukraine call that triggered an impeachment probe, fearing it would damage the president, testimony released on Saturday showed.
White House Ukraine expert Timothy Morrison told House investigators he knew immediately how sensitive the call was when he heard Trump press Ukraine's President Volodymyr Zelensky to investigate former US vice president Joe Biden.
READ | Trump attacks US diplomat as she testifies in impeachment probe
Morrison said in his October 31 deposition that he had asked National Security Council lawyers to review the call because he thought it would be "damaging" if it leaked.
"I recommended to them that we restrict access to the package... that we did not need quite so many people to have access to the package," said Morrison, who left the NSC a day before testifying.
The conversation, which took place on July 25 while the White House was withholding military aid to Ukraine, is central to the House impeachment inquiry into Trump.
'Alarm bells'
READ | Trump ally Roger Stone guilty of lying to Congress
Democrats leading the probe say the call summary shows the president abused his office by bullying a vulnerable ally into interfering on his behalf in the 2020 US election.
The investigation threatens to make Trump the third US president to be impeached, although the Republican-controlled Senate would need to convict him to remove him from office.
"The testimony released today shows that President Trump's July 25 phone call with Ukrainian President Zelensky immediately set off alarm bells throughout the White House," Adam Schiff, the congressman leading the inquiry, said in a statement released jointly with other senior Democrats.
Morrison said however the summary had been placed on a highly classified system due to a "mistake" by White House staff - casting doubt on allegations that it was squirreled away as part of a deliberate cover-up.
He also broke with other witnesses who have spoken out against the call, telling House investigators he heard nothing wrong.
House investigators also released testimony on Saturday from Jennifer Williams, an aide to Vice President Mike Pence, who told lawmakers Trump's push for Ukraine to open investigations was "unusual and inappropriate".
Williams listened in on the July 25 call and said the requests appeared to have been made to further Trump's "personal political agenda" rather than US foreign policy goals.
"I guess for me it shed some light on possible other motivations behind a security assistance hold," she added.
The depositions were made public as another official arrived on Capitol Hill to answer questions on the White House's withholding of nearly $400m in congressionally allocated military aid for Ukraine.
'Get over it'
Mark Sandy was the first staffer from the White House Office of Management and Budget (OMB) to testify, rejecting a Trump administration directive not to co-operate.
OMB acting director Russell Vought and acting White House chief of staff Mick Mulvaney, who still has the title of OMB director, defied congressional subpoenas to appear.
Previous witnesses have testified that the money was delayed as part of a wider extortion plot to extract a public announcement from Zelensky that Biden was being investigated.
The White House says Trump delayed the cash because of broad concerns over Ukrainian corruption but Mulvaney undermined this defence when he told reporters in October that there was indeed a "quid pro quo" of aid for investigations.
"That's why we held up the money," he said. "Get over it."


Upload
Choose file
Download
sample images
Predicted Class:
Naive
Krypton Exact
Krypton Approximate
X1
Y1
X2
Y2
W
H
{% csrf_token %}
reset
Dataset
Choose...
ImageNet
OCT
Chest X-Ray
Patch size
Choose...
One
Two
Four
Eight
Sixteen
Stride size
Choose...
One
Two
Four
Eight
Sixteen
CNN Model
Choose...
VGG16
ResNet18
Inception3
Patch Color
Choose...
Gray
Black
White


Metadata Attribute
The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata attribute to a resource, you can add data in JSON or YAML to the resource declaration. In addition, you can use intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute to add those interpreted values.
Note
AWS CloudFormation does not validate the syntax within the Metadata attribute.
You can retrieve this data using the AWS command aws cloudformation describe-stack-resource
or the DescribeStackResource action.
Example
The following template contains an Amazon S3 bucket resource with a Metadata attribute.
JSON
{ "AWSTemplateFormatVersion" : "2010-09-09", "Resources" : { "MyS3Bucket" : { "Type" : "AWS::S3::Bucket", "Metadata" : { "Object1" : "Location1", "Object2" : "Location2" } } } }
YAML
AWSTemplateFormatVersion: '2010-09-09' Resources: MyS3Bucket: Type: AWS::S3::Bucket Metadata: Object1: Location1 Object2: Location2


Slogo is not case sensitive. The center of the turtle display is considered to be (0,0). Values that are returned will appear in the console.
FORWARD pixels, FD pixels
Moves the turtle forward by pixels
amount in its current direction
BACK pixels, BK pixels
Moves the turtle backward by pixels
amount in its current direction
LEFT degrees, LT degrees
Turns the turtle counterclockwise by degrees angle
RIGHT degrees, RT degrees
Turns the turtle clockwise by degrees angle
SETHEADING degrees, SETH degrees
Turns turtle to an absolute heading
TOWARDS xy
Turns turtle to face the point (x, y)
SETXY xy, GOTO xy
Moves turtle to an absolute screen position
PENDOWN, PD
Puts pen down such that when the turtle moves, it leaves a trail
PENUP, PU
Puts pen up such that when the turtle moves, it does not leave a trail
SHOWTURTLE, ST
Makes turtle visible
HIDETURTLE, HT
Makes turtle invisible
HOME
Moves turtle to the center of the screen (0, 0)
CLEARSCREEN, CS
Erases turtle's trails and sends it to the home position
XCOR
Returns the turtle's X coordinate
YCOR
Returns the turtle's Y coordinate
HEADING
Returns the turtle's heading in degrees
PENDOWN?, PENDOWNP
Returns 1 if turtle's pen is down, 0 if it is up
SHOWING?, SHOWINGP
Returns 1 if turtle is showing, 0 if it is hiding
ID
returns current active turtle's ID number
note, there is technically only one "active turtle" at any
given time since each command is run once for each active turtle,
i.e., this value can always be used to identify the current turtle running the command
TURTLES
returns number of turtles created so far
TELL [ turtle(s) ]
sets turtles that will follow commands hereafter
returns last value in turtles list
note, if turtle has not previously existed, it is created and placed at the home location
note, if more than one turtle is active, commands run return value associated with the last active turtle
ASK [ turtle(s) ] [ commands ]
tell turtles given in first list to run commands given in the second list
returns result of last command run note, after commands are run,
currently active list of turtles returns to that set by the last TELL command
(or default active turtle if TELL never given)
note, if more than one turtle is active, commands run return value associated with the last active turtle
ASKWITHcondition ] [ commands ]
tell turtles matching given condition to run commands given in the second list
returns result of last command run note, after commands are run,
currently active list of turtles returns to that set by the last TELL command
(or default active turtle if TELL never given)
note, if more than one turtle is active, commands run return value associated with the last active turtle
SUM expr1 expr2, + expr1 expr2
Returns sum of the values of expr1 and expr2
DIFFERENCE expr1 expr2, - expr1 expr2
Returns difference of the values of expr1 and expr2
PRODUCT expr1 expr2, * expr1 expr2
Returns product of the values of expr1 and expr2
QUOTIENT expr1 expr2, + expr1 expr2
Returns quotient of the values of expr1 and expr2
REMAINDER expr1 expr2, % expr1 expr2
Returns remainder on dividing the values of expr1 and expr2
MINUS expr, ~ expr
Returns negative of the values of expr
RANDOM max
Returns random non-negative number strictly less than max
SIN degrees
Returns sine of degrees
COS degrees
Returns cosine of degrees
TAN degrees
Returns tangent of degrees
ATAN degrees
Returns arctangent of degrees
LOG expr
Returns natural log of expr
POW base exponent
Returns base raised to the power of the exponent
PI
Reports the number Pi
LESS? expr1 expr2, LESSP expr1 expr2
Returns 1 if the value of expr1 is strictly less than the value of
expr2, otherwise 0
GREATER? expr1 expr2, GREATERP expr1 expr2
Returns 1 if the value of expr1 is strictly greater than the value of
expr2, otherwise 0
EQUAL? expr1 expr2, EQUALP expr1 expr2
Returns 1 if the value of expr1 and the value of expr2 are equal,
otherwise 0
NOTEQUAL? expr1 expr2, NOTEQUALP expr1 expr2
Returns 1 if the value of expr1 and the value of expr2 are not equal,
otherwise 0
AND test1 test2
Returns 1 if test1 and test2 are non-zero, otherwise 0
OR test1 test2
Returns 1 if test1 or test2 are non-zero, otherwise 0
NOT test
returns 1 if test is 0 and 0 if test is non-zero
SETBACKGROUND, SETBG index
sets background color of screen to that represented by index
returns given index
SETPENCOLOR, SETPC index
sets color of the pen to that represented by index
returns given index
SETPENSIZE, SETPS index
sets size of the pen to be pixels thickness
returns given pixels
SETSHAPE, SETSH index
sets shape of turtle to that represented by index
returns given index
SETSHAPE, SETSH index r g b
sets color corresponding at given index to given r g b color values
returns given index
note, color component values are nonnegative integers less than 256 specifying an amount of red, green, and blue
PENCOLOR, PC
returns turtle's current color index
SHAPE, SH
returns turtle's current shape index
MAKE variable expr, SET variable expr
Assigns the value of expr to variable, creating the variable
if necessary
REPEAT expr [command(s)]
Runs command(s) given in the list the value of expr number of times
The value of the current iteration, starting at 1, is automatically assigned to the
variable :repcount so that it can be accessed by the command(s)
DOTIMES [variable limit] [command(s)]
Runs command(s) for each value specified in the range, i.e., from (1 - limit)
inclusive
Variable is assigned to each succeeding value so that it can be accessed by the
command(s)
FOR [variable start end increment] [command(s)]
Runs command(s) for each value specified in the range, i.e., from (start
- end), going by increment
Variable is assigned to each succeeding value so that it can be accessed by the
command(s)
IF expr [command(s)]
If expr is not 0, runs the runs the command(s) given in the list
IFELSE expr [trueCommand(s)] [falseCommand(s)]
If expr is not 0, runs the trueCommand(s) given in the first list, otherwise
runs the falseCommand(s) given in the second list
TO commandName [variable(s)] [command(s)]
Assigns command(s) given in the second list to commandName using
parameters given in first list as variables
When commandName is used later in a program, any given values are assigned to
variables that can be accessed when the command list is run and the value of the final
command executed is returned (or 0 if no commands are executed)