Invoke
Invokes a Lambda function. You can invoke a function synchronously (and wait for the
response), or
asynchronously. To invoke a function asynchronously, set InvocationType
to Event
.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Retry Behavior.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are
reserved for errors that
prevent your function from executing, such as permissions errors, limit errors, or issues with your function's code and configuration.
For example, Lambda returns TooManyRequestsException
if executing the function would cause you to
exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or
function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might be disconnected during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action.
Request Syntax
POST /2015-03-31/functions/FunctionName
/invocations?Qualifier=Qualifier
HTTP/1.1
X-Amz-Invocation-Type: InvocationType
X-Amz-Log-Type: LogType
X-Amz-Client-Context: ClientContext
Payload
URI Request Parameters
The request uses the following URI parameters.
- ClientContext
-
Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.
- FunctionName
-
The name of the Lambda function, version, or alias.
Name formats
-
Function name -
my-function
(name-only),my-function:v1
(with alias). -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Length Constraints: Minimum length of 1. Maximum length of 170.
Pattern:
(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_\.]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
Required: Yes
-
- InvocationType
-
Choose from the following options.
-
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data. -
Event
- Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code. -
DryRun
- Validate parameter values and verify that the user or role has permission to invoke the function.
Valid Values:
Event | RequestResponse | DryRun
-
- LogType
-
Set to
Tail
to include the execution log in the response.Valid Values:
None | Tail
- Qualifier
-
Specify a version or alias to invoke a published version of the function.
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern:
(|[a-zA-Z0-9$_-]+)
Request Body
The request accepts the following binary data.
- Payload
-
The JSON that you want to provide to your Lambda function as input.
Response Syntax
HTTP/1.1 StatusCode
X-Amz-Function-Error: FunctionError
X-Amz-Log-Result: LogResult
X-Amz-Executed-Version: ExecutedVersion
Payload
Response Elements
If the action is successful, the service sends back the following HTTP response.
- StatusCode
-
The HTTP status code is in the 200 range for a successful request. For the
RequestResponse
invocation type, this status code is 200. For theEvent
invocation type, this status code is 202. For theDryRun
invocation type, the status code is 204.
The response returns the following HTTP headers.
- ExecutedVersion
-
The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
(\$LATEST|[0-9]+)
- FunctionError
-
If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.
- LogResult
-
The last 4 KB of the execution log, which is base64 encoded.
The response returns the following as the HTTP body.
- Payload
-
The response from the function, or an error object.
Errors
- EC2AccessDeniedException
-
Need additional permissions to configure VPC settings.
HTTP Status Code: 502
- EC2ThrottledException
-
AWS Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.
HTTP Status Code: 502
- EC2UnexpectedException
-
AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
HTTP Status Code: 502
- EFSIOException
-
An error occured when reading from or writing to a connected file system.
HTTP Status Code: 410
- EFSMountConnectivityException
-
The function couldn't make a network connection to the configured file system.
HTTP Status Code: 408
- EFSMountFailureException
-
The function couldn't mount the configured file system due to a permission or configuration issue.
HTTP Status Code: 403
- EFSMountTimeoutException
-
The function was able to make a network connection to the configured file system, but the mount operation timed out.
HTTP Status Code: 408
- ENILimitReachedException
-
AWS Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached.
HTTP Status Code: 502
- InvalidParameterValueException
-
One of the parameters in the request is invalid.
HTTP Status Code: 400
- InvalidRequestContentException
-
The request body could not be parsed as JSON.
HTTP Status Code: 400
- InvalidRuntimeException
-
The runtime or runtime version specified is not supported.
HTTP Status Code: 502
- InvalidSecurityGroupIDException
-
The Security Group ID provided in the Lambda function VPC configuration is invalid.
HTTP Status Code: 502
- InvalidSubnetIDException
-
The Subnet ID provided in the Lambda function VPC configuration is invalid.
HTTP Status Code: 502
- InvalidZipFileException
-
AWS Lambda could not unzip the deployment package.
HTTP Status Code: 502
- KMSAccessDeniedException
-
Lambda was unable to decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
HTTP Status Code: 502
- KMSDisabledException
-
Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
HTTP Status Code: 502
- KMSInvalidStateException
-
Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for Decrypt. Check the function's KMS key settings.
HTTP Status Code: 502
- KMSNotFoundException
-
Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
HTTP Status Code: 502
- RequestTooLargeException
-
The request payload exceeded the
Invoke
request body JSON input limit. For more information, see Limits.HTTP Status Code: 413
- ResourceConflictException
-
The resource already exists, or another operation is in progress.
HTTP Status Code: 409
- ResourceNotFoundException
-
The resource specified in the request does not exist.
HTTP Status Code: 404
- ResourceNotReadyException
-
The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
HTTP Status Code: 502
- ServiceException
-
The AWS Lambda service encountered an internal error.
HTTP Status Code: 500
- SubnetIPAddressLimitReachedException
-
AWS Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
HTTP Status Code: 502
- TooManyRequestsException
-
The request throughput limit was exceeded.
HTTP Status Code: 429
- UnsupportedMediaTypeException
-
The content type of the
Invoke
request body is not JSON.HTTP Status Code: 415
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:


I would like you to answer the following questions in a short answer format using Markdown.
For questions that ask for a list, use the appropriate Markdown syntax to create either ordered or unordered lists.
Use bold and italic text for emphasis in your responses.
GitHub Username: brynnaw Team name: gitpub Today's date: 10/12/2016
We have worked with all of these tools:
I've found that knowledge of GitHub has been the most useful because it can incorporate into it usage of all the other tools mentioned before.
GitHub has the power to keep track of all the different versions of code that one could accumulate when working on a project.
Keeping track of all of the different markup languages can be hard sometimes.
For instance, Markdown, HTML, and CSS all have similar functions but they are executed by different commands.
I'd love to learn more about CSS to be able to add cool features to a website.
When you are finished with the questions in file:


|
Perl Weekly
Issue #7 - 2011-09-12 - Lessons from running Perl Weekly for the first 6 weeks
latest | archive | by Gabor Szabo
|
|
Hi there,
It seems the past week brought us fewer articles but nevertheless I found a few interesting ones.
The Perl Weekly was mentioned in the DevOps Weekly that brought us a few more subscribers.
I also found out that the subscribe button of the Perl Weekly was partially broken due to the same-origin policy enforced in some browsers more than in others. I fixed this now. I hope.
Now to the posts:
|
|
|
Articles
|
DotCloud::Environment
Flavio Poletti introduces his 'yet to be fully released' module to make it easy to handle the environment in DotCloud
|
|
Testing with sqlite
Anthony Pallatto (actualeyes) suggests to use SQLite in your testing environment instead of the database used in production. Using SQLite certainly has some advantages but there is the great danger of anything in production being different from the testing environment. SQLite can be good to reduce the complexity to setup development and testing environments but just as you do full test cycles every now and then (preferably frequently) so should you use a system as close to the deployment environment as possible.
|
|
Perl says 'Hello I-Programmer'
This is the first article I wrote to the I-Programmer.info web site. It probably won't be an earth shattering experience for you but it is my first one on I-Programmer. It is mostly there so I'll have an in-house article to refer to on how to start using Perl when I write more complex examples.
|
|
Lessons from running Perl Weekly for the first 6 weeks
This is another article I wrote, this time on my own blog, describing my experience with this list. It might be interesting to you if you'd like to look a bit at the details. I am also comparing the experience with that of Peter Cooper who runs the Ruby Weekly which was the inspiration to this newsletter.
|
|
Parrot
|
Parrot is a foundering project on top of a wonderful vision.
Christoph Otto took off the gloves and started to describe how he wants Parrot, and more importantly the Parrot development process to change. This is a link to the opening message on the parrot-dev mailing list with many important responses.
|
|
Parrot, the Smoke Clears
Andrew Whitworth (aka Whiteknight on black background) takes the above e-mail discussion and writes a lengthy article about the interaction between the Parrot and the Rakudo (Perl 6) projects. Compared with the JVM and the CLR how they have a primary language but how they have started to be good targets for other languages as well.
|
|
Code
|
Parameterized Roles with MooseX::Declare
Florian Ragwitz (rafl) shows the new, undocumented feature of MooseX::Declare and points to the Github repository where you could help improve the documentation.
|
|
Going Postal (with Dancer)
Yanick Champoux (yanick), in his usual colorful way, describes how he wrote a plugin for Dancer to handle postal fees in Canada. I am sure if it can be done in Canada it can be done elsewhere as well. The nice thing is that he even provides a way to save money. Even if not on the actual postal fees.
|
|
Simple Mojolicious RSS feed
Mark Meyer (mark) gives a nice and simple example on how distribute updates about changes in a system with a very simple Mojolicious application. If only the fonts were bigger on this blog...
|
|
How to Run a Long Background Process in a Web App
Peter Thoeny from Twiki explains a way how to handle long running processes in response to browser requests. This is an ongoing question that trips a lot of people who want to build a web interface to an existing system. Eg. a build machine. Unfortunately this solution does not work on Windows.
|
|
|
|
Perl 6
|
'nom' branch is now default, release status
Patrick Michaud (pmichaud) provides us with an update on the status of the Rakudo development. The next release is further delayed but the good news that it will already come from the new 'nom' branch that is the new rewrite of the whole engine.
|
|
-n and -p
This is the third part of the series Carl Mäsak has written showing us how the -n and -p parameters work in Rakudo Perl 6. The others are on his blog as well.
|
|
Padre
|
Fancy syntax checking with Padre
Ahmad M. Zawawi (azawawi) shows a screenshot of his new addition to Padre, the Perl IDE. You don't even have to wait for the next release of Padre to use that. You can run it directly from the development environment.
|
|
Events
|
|
|
|
|
|
|
|
|
YAPC::Asia
October 13-15, 2011, Tokyo, Japan. The biggest Perl conference in the world.
|
|
|
|
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|


Ezekiel 22:10
In thee have they discovered their fathers' nakedness: in thee have they humbled her that was set apart for pollution.


Pat's Seattle Cookie Counts
HOME
Add New Locations
Store:
Minimum Customers:
Maximum Customers:
Average Cookies Per Sale:
Add a New Location!


{% include "happenings/includes/latest_updates.html" %} {% if object.has_started %} {% with object.memory_set.count as memory_count %} {% if user in object.attending.all %} Since you attended, you can add your thoughts and photos: {% endif %}
Attendees said...
{% if memory_count == 0 %}No attendees have shared their memories yet.
{% else %}{{ m.text|truncatewords:"30" }}
– {{ m.user.display_name }}
{% endif %} {# this would be a good place to insert the comments of your choice #} {% block comments %} {% include "happenings/includes/latest_comments.html" %}
{% if authenticated_request %} {% render_comment_form for object %} {% else %} {% include "includes/signin_reg.html" %} {% endif %}
{% endblock %}


COVID- {border-style athletes px;} #ffffff;} cardiac myocarditis sport cardiovascular symptoms long-term mild px; {font-family data font-size return COVID-, COVID--associated acute double; sports University border-color border-width diagnostic involvement myocarditis, respiratory severe solid; {font-style {font-weight Heart absence article available bold clinical consequences courier; currently disease elevated eligibility em; following general heart infection known myocardial previous pt;} recovering risk symptoms. training


Nothing special, just a normal human being who loves to learn new things ...
Demo portfolio site using basic HTML5 and CSS
Frogger Arcade Game using HTML5, CSS3, JAVASCRIPT and HTML5 CANVAS
Simple webapp displays random quote using third party api
Familiarize jasmine test suite
Wep app utilizing google map api, wiki api and knockout.js
To optimize page for google pageinsights score above 90


You can create, get, edit and remove interfaces in your files with declarative descriptions and conditions.


$974.2 M
Total Research Funding
$695.9 M
Total External Funding
$431.0 M
Federal
$264.9 M
Nonfederal
$209.8 M
Department of Health and Human Services
$109.6 M
National Science Foundation
$270.8 M
Endowed
$324.6 M
Contract
$378.8 M
Medical
12
Nationally
1
New York State
11
New Startup Companies
99
Commercial Licenses
319
Patents Issued
483
Patents Filed
359
New Technologies Disclosed
$15.6 M
Revenue
222
Memberships in the National Academies
15
National Science Foundation Early Career Development Awards
Patrick J. Stover, Nutritional Sciences, National Academy of Sciences; Sandra E. Greene, History, American Academy of Arts and Sciences; and Francis S. Lee, Psychiatry, Weill Cornell Medicine, National Academy of Medicine are among eight Cornell faculty inducted into the distinguished national academies in 2016.
Shu-Bing Qian, Nutritional Sciences, is a Howard Hughes Medical Institute Scholar, named to this inaugural program for his work on mRNA translation and protein synthesis in relation to diabetes, cancer, aging, and neurodegenerative disorders.
Saul A. Teukolsky, Physics/Astronomy, along with senior research associate Lawrence Kidder, share in the Special Breakthrough Prize in Fundamental Physics for their contribution in validating the first direct detection of gravitational waves, predicted by Einstein.
Katja C. Nowack, Physics, and Christopher A. Alabi, Chemical and Biomolecular Engineering are two of Cornell’s 15 recipients of the National Science Foundation Faculty Early Career Development (CAREER) awards.


Presented by
Follows us on github
Discussion will be covered based on :
means the execution happens in a single series. A->B->C->D. If you are calling those routines, A will run, then finish, then B will start, then finish, then C will start, etc.
mean you begin a routine, and let it run in the background while you start your next, then at some point, say "wait for this to finish"
Synchronous Code demo
var fs = require('fs');
console.log("before read");
console.log(fs.readFileSync('a.txt', 'utf8'));
console.log("after read");
Output
before read
hi from file
after read
Asynchronous Code demo
var fs = require('fs');
console.log("before read");
fs.readFile('a.txt', 'utf8', function (err, data) {
if (err) throw err;
console.log(data);
});
console.log("after read");
Output
before read
after read
hi from file
Why Javascript Asynchronous ?
Javascript is always synchronous and single-threaded but Javascript is also Event-Based Programming
When it fits best ?
When JS is executed, synchronous code has the potential to block further execution until it has finished.
chirps = loadChirpsSync();
// ... Wait
// ... Do something with chirps
doSomeOtherImportantThings();
With Async
This doesn't has to wait for chirps to load.
loadChirpsAsync(function(){
// ... Wait
// ... Do something with chirps
});
doSomeOtherImportantThings();
Different Ways:
Callback is a function that is passed to another function (let’s call this other function “otherFunction”) as a parameter, and the callback function is called (or executed) inside the otherFunction.
Callback functions are extremely important in Javascript. They’re pretty much everywhere.
$(".callback").click(function() {
alert("callback Clicked");
});
learn more
As a human being, you're multithreaded. But JS isn't.
Possible Outcomes:
Popular Libraries for Async:
Why to use them ?
function myPromise1(){
return new Promise(reject,resolve){
setTimeout(function(){
resolve();
},2000);
}
}
function myPromise2(){
var deferred = Promise.defer();
setTimeout(function(){
deferred.resolve();
},2000);
return deferred.promise;
}
(myPromise1)
.then(function(result){
// custom code
return myPromise2()
}).then(function(result2){
// custom code
return result2;
}).catch(function(err){
console.log(err);
});
Run Task in parallel
Promise.all([promise1, promise2], function(results){
return results;
}).catch(function(err){
console.log(err);
});
Generators in JS
Generators are functions which can be exited and later re-entered. Their context (variable bindings) will be saved across re-entrances.
A function becomes a generator if it contains one or more yield expressions and if it uses the function* syntax.
Syntax
Promise.coroutine(function* (val) {
var result1 = yield Promise1;
var result2 = yield Promise2;
return [result1,result2];
});
Thank You


Registration Form
First Name
Last Name
Password
Six characters minimum required
Confirm Password
Six characters minimum required
Password does not match
Email
{{c|json}}


Request Header Fields Too Large
The server refused this request because the request header fields are too large.


2 Kings 25:20
And Nebuzaradan captain of the guard took these, and brought them to the king of Babylon to Riblah:


Toggle navigation
About
Projects
Resume
Contact
Anusha Thudimilla
Code || Research || Dance
Twitter
Github
Linkedin
Uniform Traffic Mixzone Placement App
UTMP
Android mobile application implemented in Java.
Uses Google’s geofences and mix zones concept to provide location privacy to the user.
Able to spoof the location of the user and provide 99.8% accurate results.
MSDND:
Air Traffic Surveillance Systems
A special thanks to
Dr. Bruce McMillin
for providing valuable inputs to complete this project.
Dynamic Vehicle Locator App
Designed a vehicle monitoring mobile application to know the correct position of the vehicle.
Used .Net platform (C#, ASP.NET) and web services to develop this application.
Strict Consistent Policy With
Improved Performance
Simulated a cloud network using consistent policy to improve the performance with reduced latency.
Developed an app to perform various operations on twitter data using Hadoop, Pig, Java and optimized the performance in terms of faster retrieval.
Pharmacy Management
System
Designed a pharmacy management system web application to store and process user and stock details.
Used .Net platform (C#, ASP.NET) and web services to develop this application.
Connect:
<EMAIL_ADDRESS>Twitter
Github
Linkedin


Node.js v0.10.7 Manual & Documentation
Table of Contents
Child Process#
Stability: 3 - Stable
Node provides a tri-directional popen(3)
facility through the
child_process
module.
It is possible to stream data through a child's stdin
, stdout
, and
stderr
in a fully non-blocking way. (Note that some programs use
line-buffered I/O internally. That doesn't affect node.js but it means
data you send to the child process is not immediately consumed.)
To create a child process use require('child_process').spawn()
or
require('child_process').fork()
. The semantics of each are slightly
different, and explained below.
Class: ChildProcess#
ChildProcess
is an EventEmitter.
Child processes always have three streams associated with them. child.stdin
,
child.stdout
, and child.stderr
. These may be shared with the stdio
streams of the parent process, or they may be separate stream objects
which can be piped to and from.
The ChildProcess class is not intended to be used directly. Use the
spawn()
or fork()
methods to create a Child Process instance.
Event: 'error'#
err
Error Object the error.
Emitted when:
- The process could not be spawned, or
- The process could not be killed, or
- Sending a message to the child process failed for whatever reason.
See also ChildProcess#kill()
and
ChildProcess#send()
.
Event: 'exit'#
code
Number the exit code, if it exited normally.signal
String the signal passed to kill the child process, if it was killed by the parent.
This event is emitted after the child process ends. If the process terminated
normally, code
is the final exit code of the process, otherwise null
. If
the process terminated due to receipt of a signal, signal
is the string name
of the signal, otherwise null
.
Note that the child process stdio streams might still be open.
See waitpid(2)
.
Event: 'close'#
code
Number the exit code, if it exited normally.signal
String the signal passed to kill the child process, if it was killed by the parent.
This event is emitted when the stdio streams of a child process have all terminated. This is distinct from 'exit', since multiple processes might share the same stdio streams.
Event: 'disconnect'#
This event is emitted after using the .disconnect()
method in the parent or
in the child. After disconnecting it is no longer possible to send messages.
An alternative way to check if you can send messages is to see if the
child.connected
property is true
.
Event: 'message'#
message
Object a parsed JSON object or primitive valuesendHandle
Handle object a Socket or Server object
Messages send by .send(message, [sendHandle])
are obtained using the
message
event.
child.stdin#
- Stream object
A Writable Stream
that represents the child process's stdin
.
Closing this stream via end()
often causes the child process to terminate.
If the child stdio streams are shared with the parent, then this will not be set.
child.stdout#
- Stream object
A Readable Stream
that represents the child process's stdout
.
If the child stdio streams are shared with the parent, then this will not be set.
child.stderr#
- Stream object
A Readable Stream
that represents the child process's stderr
.
If the child stdio streams are shared with the parent, then this will not be set.
child.pid#
- Integer
The PID of the child process.
Example:
var spawn = require('child_process').spawn,
grep = spawn('grep', ['ssh']);
console.log('Spawned child pid: ' + grep.pid);
grep.stdin.end();
child.kill([signal])#
signal
String
Send a signal to the child process. If no argument is given, the process will
be sent 'SIGTERM'
. See signal(7)
for a list of available signals.
var spawn = require('child_process').spawn,
grep = spawn('grep', ['ssh']);
grep.on('close', function (code, signal) {
console.log('child process terminated due to receipt of signal '+signal);
});
// send SIGHUP to process
grep.kill('SIGHUP');
May emit an 'error'
event when the signal cannot be delivered. Sending a
signal to a child process that has already exited is not an error but may
have unforeseen consequences: if the PID (the process ID) has been reassigned
to another process, the signal will be delivered to that process instead.
What happens next is anyone's guess.
Note that while the function is called kill
, the signal delivered to the
child process may not actually kill it. kill
really just sends a signal
to a process.
See kill(2)
child.send(message, [sendHandle])#
message
ObjectsendHandle
Handle object
When using child_process.fork()
you can write to the child using
child.send(message, [sendHandle])
and messages are received by
a 'message'
event on the child.
For example:
var cp = require('child_process');
var n = cp.fork(__dirname + '/sub.js');
n.on('message', function(m) {
console.log('PARENT got message:', m);
});
n.send({ hello: 'world' });
And then the child script, 'sub.js'
might look like this:
process.on('message', function(m) {
console.log('CHILD got message:', m);
});
process.send({ foo: 'bar' });
In the child the process
object will have a send()
method, and process
will emit objects each time it receives a message on its channel.
There is a special case when sending a {cmd: 'NODE_foo'}
message. All messages
containing a NODE_
prefix in its cmd
property will not be emitted in
the message
event, since they are internal messages used by node core.
Messages containing the prefix are emitted in the internalMessage
event, you
should by all means avoid using this feature, it is subject to change without notice.
The sendHandle
option to child.send()
is for sending a TCP server or
socket object to another process. The child will receive the object as its
second argument to the message
event.
Emits an 'error'
event if the message cannot be sent, for example because
the child process has already exited.
Example: sending server object#
Here is an example of sending a server:
var child = require('child_process').fork('child.js');
// Open up the server object and send the handle.
var server = require('net').createServer();
server.on('connection', function (socket) {
socket.end('handled by parent');
});
server.listen(1337, function() {
child.send('server', server);
});
And the child would the receive the server object as:
process.on('message', function(m, server) {
if (m === 'server') {
server.on('connection', function (socket) {
socket.end('handled by child');
});
}
});
Note that the server is now shared between the parent and child, this means that some connections will be handled by the parent and some by the child.
For dgram
servers the workflow is exactly the same. Here you listen on
a message
event instead of connection
and use server.bind
instead of
server.listen
.
Example: sending socket object#
Here is an example of sending a socket. It will spawn two children and handle
connections with the remote address <IP_ADDRESS>
as VIP by sending the
socket to a "special" child process. Other sockets will go to a "normal" process.
var normal = require('child_process').fork('child.js', ['normal']);
var special = require('child_process').fork('child.js', ['special']);
// Open up the server and send sockets to child
var server = require('net').createServer();
server.on('connection', function (socket) {
// if this is a VIP
if (socket.remoteAddress === '<IP_ADDRESS>') {
special.send('socket', socket);
return;
}
// just the usual dudes
normal.send('socket', socket);
});
server.listen(1337);
The child.js
could look like this:
process.on('message', function(m, socket) {
if (m === 'socket') {
socket.end('You were handled as a ' + process.argv[2] + ' person');
}
});
Note that once a single socket has been sent to a child the parent can no
longer keep track of when the socket is destroyed. To indicate this condition
the .connections
property becomes null
.
It is also recommended not to use .maxConnections
in this condition.
child.disconnect()#
To close the IPC connection between parent and child use the
child.disconnect()
method. This allows the child to exit gracefully since
there is no IPC channel keeping it alive. When calling this method the
disconnect
event will be emitted in both parent and child, and the
connected
flag will be set to false
. Please note that you can also call
process.disconnect()
in the child process.
child_process.spawn(command, [args], [options])#
command
String The command to runargs
Array List of string argumentsoptions
Objectcwd
String Current working directory of the child processstdio
Array|String Child's stdio configuration. (See below)customFds
Array Deprecated File descriptors for the child to use for stdio. (See below)env
Object Environment key-value pairsdetached
Boolean The child will be a process group leader. (See below)uid
Number Sets the user identity of the process. (See setuid(2).)gid
Number Sets the group identity of the process. (See setgid(2).)
- return: ChildProcess object
Launches a new process with the given command
, with command line arguments in args
.
If omitted, args
defaults to an empty Array.
The third argument is used to specify additional options, which defaults to:
{ cwd: undefined,
env: process.env
}
cwd
allows you to specify the working directory from which the process is spawned.
Use env
to specify environment variables that will be visible to the new process.
Example of running ls -lh /usr
, capturing stdout
, stderr
, and the exit code:
var spawn = require('child_process').spawn,
ls = spawn('ls', ['-lh', '/usr']);
ls.stdout.on('data', function (data) {
console.log('stdout: ' + data);
});
ls.stderr.on('data', function (data) {
console.log('stderr: ' + data);
});
ls.on('close', function (code) {
console.log('child process exited with code ' + code);
});
Example: A very elaborate way to run 'ps ax | grep ssh'
var spawn = require('child_process').spawn,
ps = spawn('ps', ['ax']),
grep = spawn('grep', ['ssh']);
ps.stdout.on('data', function (data) {
grep.stdin.write(data);
});
ps.stderr.on('data', function (data) {
console.log('ps stderr: ' + data);
});
ps.on('close', function (code) {
if (code !== 0) {
console.log('ps process exited with code ' + code);
}
grep.stdin.end();
});
grep.stdout.on('data', function (data) {
console.log('' + data);
});
grep.stderr.on('data', function (data) {
console.log('grep stderr: ' + data);
});
grep.on('close', function (code) {
if (code !== 0) {
console.log('grep process exited with code ' + code);
}
});
Example of checking for failed exec:
var spawn = require('child_process').spawn,
child = spawn('bad_command');
child.stderr.setEncoding('utf8');
child.stderr.on('data', function (data) {
if (/^execvp\(\)/.test(data)) {
console.log('Failed to start child process.');
}
});
Note that if spawn receives an empty options object, it will result in
spawning the process with an empty environment rather than using
process.env
. This due to backwards compatibility issues with a deprecated
API.
The 'stdio' option to child_process.spawn()
is an array where each
index corresponds to a fd in the child. The value is one of the following:
'pipe'
- Create a pipe between the child process and the parent process. The parent end of the pipe is exposed to the parent as a property on thechild_process
object asChildProcess.stdio[fd]
. Pipes created for fds 0 - 2 are also available as ChildProcess.stdin, ChildProcess.stdout and ChildProcess.stderr, respectively.'ipc'
- Create an IPC channel for passing messages/file descriptors between parent and child. A ChildProcess may have at most one IPC stdio file descriptor. Setting this option enables the ChildProcess.send() method. If the child writes JSON messages to this file descriptor, then this will trigger ChildProcess.on('message'). If the child is a Node.js program, then the presence of an IPC channel will enable process.send() and process.on('message').'ignore'
- Do not set this file descriptor in the child. Note that Node will always open fd 0 - 2 for the processes it spawns. When any of these is ignored node will open/dev/null
and attach it to the child's fd.Stream
object - Share a readable or writable stream that refers to a tty, file, socket, or a pipe with the child process. The stream's underlying file descriptor is duplicated in the child process to the fd that corresponds to the index in thestdio
array.- Positive integer - The integer value is interpreted as a file descriptor
that is is currently open in the parent process. It is shared with the child
process, similar to how
Stream
objects can be shared. null
,undefined
- Use default value. For stdio fds 0, 1 and 2 (in other words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the default is'ignore'
.
As a shorthand, the stdio
argument may also be one of the following
strings, rather than an array:
ignore
-['ignore', 'ignore', 'ignore']
pipe
-['pipe', 'pipe', 'pipe']
inherit
-[process.stdin, process.stdout, process.stderr]
or[0,1,2]
Example:
var spawn = require('child_process').spawn;
// Child will use parent's stdios
spawn('prg', [], { stdio: 'inherit' });
// Spawn child sharing only stderr
spawn('prg', [], { stdio: ['pipe', 'pipe', process.stderr] });
// Open an extra fd=4, to interact with programs present a
// startd-style interface.
spawn('prg', [], { stdio: ['pipe', null, null, null, 'pipe'] });
If the detached
option is set, the child process will be made the leader of a
new process group. This makes it possible for the child to continue running
after the parent exits.
By default, the parent will wait for the detached child to exit. To prevent
the parent from waiting for a given child
, use the child.unref()
method,
and the parent's event loop will not include the child in its reference count.
Example of detaching a long-running process and redirecting its output to a file:
var fs = require('fs'),
spawn = require('child_process').spawn,
out = fs.openSync('./out.log', 'a'),
err = fs.openSync('./out.log', 'a');
var child = spawn('prg', [], {
detached: true,
stdio: [ 'ignore', out, err ]
});
child.unref();
When using the detached
option to start a long-running process, the process
will not stay running in the background unless it is provided with a stdio
configuration that is not connected to the parent. If the parent's stdio
is
inherited, the child will remain attached to the controlling terminal.
There is a deprecated option called customFds
which allows one to specify
specific file descriptors for the stdio of the child process. This API was
not portable to all platforms and therefore removed.
With customFds
it was possible to hook up the new process' [stdin, stdout,
stderr]
to existing streams; -1
meant that a new stream should be created.
Use at your own risk.
There are several internal options. In particular stdinStream
,
stdoutStream
, stderrStream
. They are for INTERNAL USE ONLY. As with all
undocumented APIs in Node, they should not be used.
See also: child_process.exec()
and child_process.fork()
child_process.exec(command, [options], callback)#
command
String The command to run, with space-separated argumentsoptions
Objectcwd
String Current working directory of the child processenv
Object Environment key-value pairsencoding
String (Default: 'utf8')timeout
Number (Default: 0)maxBuffer
Number (Default: 200*1024)killSignal
String (Default: 'SIGTERM')
callback
Function called with the output when process terminateserror
Errorstdout
Bufferstderr
Buffer
- Return: ChildProcess object
Runs a command in a shell and buffers the output.
var exec = require('child_process').exec,
child;
child = exec('cat *.js bad_file | wc -l',
function (error, stdout, stderr) {
console.log('stdout: ' + stdout);
console.log('stderr: ' + stderr);
if (error !== null) {
console.log('exec error: ' + error);
}
});
The callback gets the arguments (error, stdout, stderr)
. On success, error
will be null
. On error, error
will be an instance of Error
and err.code
will be the exit code of the child process, and err.signal
will be set to the
signal that terminated the process.
There is a second optional argument to specify several options. The default options are
{ encoding: 'utf8',
timeout: 0,
maxBuffer: 200*1024,
killSignal: 'SIGTERM',
cwd: null,
env: null }
If timeout
is greater than 0, then it will kill the child process
if it runs longer than timeout
milliseconds. The child process is killed with
killSignal
(default: 'SIGTERM'
). maxBuffer
specifies the largest
amount of data allowed on stdout or stderr - if this value is exceeded then
the child process is killed.
child_process.execFile(file, args, options, callback)#
file
String The filename of the program to runargs
Array List of string argumentsoptions
Objectcwd
String Current working directory of the child processenv
Object Environment key-value pairsencoding
String (Default: 'utf8')timeout
Number (Default: 0)maxBuffer
Number (Default: 200*1024)killSignal
String (Default: 'SIGTERM')
callback
Function called with the output when process terminateserror
Errorstdout
Bufferstderr
Buffer
- Return: ChildProcess object
This is similar to child_process.exec()
except it does not execute a
subshell but rather the specified file directly. This makes it slightly
leaner than child_process.exec
. It has the same options.
child_process.fork(modulePath, [args], [options])#
modulePath
String The module to run in the childargs
Array List of string argumentsoptions
Objectcwd
String Current working directory of the child processenv
Object Environment key-value pairsencoding
String (Default: 'utf8')execPath
String Executable used to create the child process
- Return: ChildProcess object
This is a special case of the spawn()
functionality for spawning Node
processes. In addition to having all the methods in a normal ChildProcess
instance, the returned object has a communication channel built-in. See
child.send(message, [sendHandle])
for details.
By default the spawned Node process will have the stdout, stderr associated
with the parent's. To change this behavior set the silent
property in the
options
object to true
.
The child process does not automatically exit once it's done, you need to call
process.exit()
explicitly. This limitation may be lifted in the future.
These child Nodes are still whole new instances of V8. Assume at least 30ms startup and 10mb memory for each new Node. That is, you cannot create many thousands of them.
The execPath
property in the options
object allows for a process to be
created for the child rather than the current node
executable. This should be
done with care and by default will talk over the fd represented an
environmental variable NODE_CHANNEL_FD
on the child process. The input and
output on this fd is expected to be line delimited JSON objects.


Before Change
A list of numpy.ndarray objects or a single numpy.ndarray.
The predicted results.
best_model, x = self._prepare_best_model_and_data(
x=x,
y=None,
batch_size=batch_size,
After Change
A list of numpy.ndarray objects or a single numpy.ndarray.
The predicted results.
preprocess_graph, model = self.tuner.get_best_model()
x = preprocess_graph.preprocess(
self._process_xy(x, None, predict=True))[0].batch(batch_size)
y = model.predict(x, **kwargs)
y = self._postprocess(y)
if isinstance(y, list) and len(y) == 1:
y = y[0]


Matthew delighted to lead Europe's Solheim Cup defense
(Reuters) - Catriona Matthew says captaining the winning Solheim Cup team this year was the highlight of her career after being appointed on Thursday to lead Europe’s bid to retain the trophy in 2021.
Matthew believes she faces an even bigger challenge to inspire her players to victory in the United States in two years.
“Capturing the Solheim Cup in Scotland, an hour’s drive from our home, with my close friend Suzann Pettersen making the clinching putt on the last hole in the last match on the course…you can’t top that,” Matthew said in a posting on lpga.com as her captaincy was announced.
“I’ve talked to people throughout Scotland and they tell me how overwhelmed they were by the moment. It was the biggest thing to happen in women’s sport in Scotland, the United Kingdom, Europe ... perhaps the entire world. It won’t be soon forgotten.
“I’ve never seen anything like the crowds that week. It was extraordinary. I told my team to try to get the crowd into it, that they were desperate to cheer for Europe, so give them a reason to engage. No one disappointed.”
But as thrilling as the one-point victory over the U.S. was in front of overflowing galleries at Gleneagles in September, winning in 2021 at Inverness in Ohio will be a whole different challenge.
Europe have only one away victory in the biennial event, at Colorado Golf Club in 2013.
“I’m sure we will have several of the same players on the 2021 team that we had in 2019. But we will also have some fresh faces. You always do in these matches,” Matthew wrote.
“It will be a challenge. But it will also be a privilege to be their captain as we try to win the Solheim Cup again…this time on American soil.”
The 2021 American captain is not expected to be announced until early next year.
Juli Inkster led the team at Gleneagles.


Class SECSConnection
This is the abstract
base class for classes supporting communication of SECS-II
messages to an end point.
Namespace: com.CIMthetics.CSharpSECSTools.SECSCommUtils
Assembly: SECSCommUtils.dll
Syntax
public abstract class SECSConnection
Remarks
SECS messages (SECSMessage
s) are sent using the SendMessage
method. When this method returns
it does not imply that the message has already been sent. It just means the message
has been queued to be sent. In normal situations the message will be sent almost
immediately.
When messages are received by this connection they are placed at the end of the
thread safe MessagesReceivedQueue
. The user is able to remove message
from this queue and process them.
A SECSConnection
is used in the following manner.
- Use
SECSConnectionFactory.CreateConnection
to create aSECSConnection
object. -
Start the
SECSConnection
using theStart
method. This method basically "wakes up" the connection in that it will actively prepare itself for communicating with an end point. Returning from theStart
method does not mean that a connection has been successfully established with the end point. It just means that this connection is ready and willing to communicate depending on the end point. -
Once a connection to the end point has been established. (Which may not happen immediately after
the completion of the
Start
method.) The user may use theSendMessage
method to send a message or they may add a message directly to the end of theMessagesToSendQueue
.Received messages will be on the
MessagesReceivedQueue
. The user can either block on the queue awaiting the receipt or a message or poll the queue if blocking is not acceptable. In normal cases a separate thread will block on the queue awaiting messages to process. -
When the connection is no longer needed use the
Stop
method to perform a more graceful shutdown.
Constructors
SECSConnection(String)
This is the abstract
base class for classes supporting communication of SECS-II
messages to an end point.
Declaration
protected SECSConnection(string ConnectionName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | ConnectionName |
Remarks
SECS messages (SECSMessage
s) are sent using the SendMessage
method. When this method returns
it does not imply that the message has already been sent. It just means the message
has been queued to be sent. In normal situations the message will be sent almost
immediately.
When messages are received by this connection they are placed at the end of the
thread safe MessagesReceivedQueue
. The user is able to remove message
from this queue and process them.
A SECSConnection
is used in the following manner.
- Use
SECSConnectionFactory.CreateConnection
to create aSECSConnection
object. -
Start the
SECSConnection
using theStart
method. This method basically "wakes up" the connection in that it will actively prepare itself for communicating with an end point. Returning from theStart
method does not mean that a connection has been successfully established with the end point. It just means that this connection is ready and willing to communicate depending on the end point. -
Once a connection to the end point has been established. (Which may not happen immediately after
the completion of the
Start
method.) The user may use theSendMessage
method to send a message or they may add a message directly to the end of theMessagesToSendQueue
.Received messages will be on the
MessagesReceivedQueue
. The user can either block on the queue awaiting the receipt or a message or poll the queue if blocking is not acceptable. In normal cases a separate thread will block on the queue awaiting messages to process. -
When the connection is no longer needed use the
Stop
method to perform a more graceful shutdown.
Properties
ConnectionName
This a human meaningful name assigned to this SECSConnection
.
It will appear in Log output in the event of issues.
Declaration
public string ConnectionName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
SECS messages (SECSMessage
s) are sent using the SendMessage
method. When this method returns
it does not imply that the message has already been sent. It just means the message
has been queued to be sent. In normal situations the message will be sent almost
immediately.
When messages are received by this connection they are placed at the end of the
thread safe MessagesReceivedQueue
. The user is able to remove message
from this queue and process them.
A SECSConnection
is used in the following manner.
- Use
SECSConnectionFactory.CreateConnection
to create aSECSConnection
object. -
Start the
SECSConnection
using theStart
method. This method basically "wakes up" the connection in that it will actively prepare itself for communicating with an end point. Returning from theStart
method does not mean that a connection has been successfully established with the end point. It just means that this connection is ready and willing to communicate depending on the end point. -
Once a connection to the end point has been established. (Which may not happen immediately after
the completion of the
Start
method.) The user may use theSendMessage
method to send a message or they may add a message directly to the end of theMessagesToSendQueue
.Received messages will be on the
MessagesReceivedQueue
. The user can either block on the queue awaiting the receipt or a message or poll the queue if blocking is not acceptable. In normal cases a separate thread will block on the queue awaiting messages to process. -
When the connection is no longer needed use the
Stop
method to perform a more graceful shutdown.
MessagesReceivedQueue
This is a thread safe queue where SECSMessage
s that that have been received
will be placed asynchronously.
Declaration
public BlockingCollection<SECSMessage> MessagesReceivedQueue { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Concurrent.BlockingCollection<SECSMessage> |
Remarks
SECS messages (SECSMessage
s) are sent using the SendMessage
method. When this method returns
it does not imply that the message has already been sent. It just means the message
has been queued to be sent. In normal situations the message will be sent almost
immediately.
When messages are received by this connection they are placed at the end of the
thread safe MessagesReceivedQueue
. The user is able to remove message
from this queue and process them.
A SECSConnection
is used in the following manner.
- Use
SECSConnectionFactory.CreateConnection
to create aSECSConnection
object. -
Start the
SECSConnection
using theStart
method. This method basically "wakes up" the connection in that it will actively prepare itself for communicating with an end point. Returning from theStart
method does not mean that a connection has been successfully established with the end point. It just means that this connection is ready and willing to communicate depending on the end point. -
Once a connection to the end point has been established. (Which may not happen immediately after
the completion of the
Start
method.) The user may use theSendMessage
method to send a message or they may add a message directly to the end of theMessagesToSendQueue
.Received messages will be on the
MessagesReceivedQueue
. The user can either block on the queue awaiting the receipt or a message or poll the queue if blocking is not acceptable. In normal cases a separate thread will block on the queue awaiting messages to process. -
When the connection is no longer needed use the
Stop
method to perform a more graceful shutdown.
MessagesToSendQueue
This is a thread safe queue where SECSMessage
s that need to be sent should
be placed.
Declaration
public BlockingCollection<SECSMessage> MessagesToSendQueue { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Concurrent.BlockingCollection<SECSMessage> |
Remarks
Normally you would send messages by using the SendMessage
method, however, there
are situations where being able add messages directly to the send queue is
a better fit.
Methods
SendMessage(SECSMessage)
This method is used to place an outbound SECSMessage
into
the queue of messages that are to be sent to the other end of a
connection.
Declaration
public void SendMessage(SECSMessage message)
Parameters
| Type | Name | Description |
|---|---|---|
| SECSMessage | message |
Remarks
The message is sent as soon as possible. It may or may not be sent before this method returns.
Start()
Calling this method effectively starts up this SECSConnection
and gets it into a state whereby it will attempt to establish a
connection to an end point using the configured information.
Declaration
public abstract void Start()
Remarks
When this method returns a connection with the configured end point may or may not be established. This connection has been transitioned into a "mode" in which it will actively attempt to establish a connection.
Stop()
Calling this method results in the shutting down of this SECSConnection
.
The communication connection is closed and any worker Threads
are
terminated.
Declaration
public abstract void Stop()
Remarks
SECS messages (SECSMessage
s) are sent using the SendMessage
method. When this method returns
it does not imply that the message has already been sent. It just means the message
has been queued to be sent. In normal situations the message will be sent almost
immediately.
When messages are received by this connection they are placed at the end of the
thread safe MessagesReceivedQueue
. The user is able to remove message
from this queue and process them.
A SECSConnection
is used in the following manner.
- Use
SECSConnectionFactory.CreateConnection
to create aSECSConnection
object. -
Start the
SECSConnection
using theStart
method. This method basically "wakes up" the connection in that it will actively prepare itself for communicating with an end point. Returning from theStart
method does not mean that a connection has been successfully established with the end point. It just means that this connection is ready and willing to communicate depending on the end point. -
Once a connection to the end point has been established. (Which may not happen immediately after
the completion of the
Start
method.) The user may use theSendMessage
method to send a message or they may add a message directly to the end of theMessagesToSendQueue
.Received messages will be on the
MessagesReceivedQueue
. The user can either block on the queue awaiting the receipt or a message or poll the queue if blocking is not acceptable. In normal cases a separate thread will block on the queue awaiting messages to process. -
When the connection is no longer needed use the
Stop
method to perform a more graceful shutdown.


Software Engineer
I technology & design
Bachelor of Science - Software Engineering
Minor - Business Administration
Minor - Entrepreneurship
symchao@gmail.com


--- layout: post title: P4Runtime permalink: p4-runtime/ header-img: assets/p4-background.png ---
The P4Runtime API is a control plane specification for controlling the data plane elements of a device defined or described by a P4 program. The P4Runtime API can be used for local or remote control plane applications.
P4Runtime is a project under the P4.org's API Working Group. For more details on P4Runtime please see the blog post penned by the original API Working Group chairs here. The P4.org API Working Group's charter can be found here.
Below are a few helpful resources for you to learn more about P4Runtime.
P4Runtime presentation by Google at the 2017 P4 Workshop
The Open Networking Foundation P4 Brigade
The Stratum Network Operating System, which uses P4Runtime as the northbound API for forwarding
P4Runtime specification and Protobuf/gRPC interface definitions
P4Runtime reference implementation
Compiler with P4Runtime support
P4Runtime: Putting the Control Plane in Charge of the Forwarding Plane
We've made significant progress but there is more to be done. You can get involved by joining P4.org and then be joining API working group activities in one or more of the following ways.
Join the API working group's mailing list<EMAIL_ADDRESS>to join the community of engineers working on P4Runtime. To subscribe, visit https://lists.p4.org/list/p4-api.lists.p4.org You can check out the public archive of the mailing list here.
Join the API working group meetings - stay tuned for the announcement for the next meeting date on<EMAIL_ADDRESS>mailing list.


Skyghost Touch is a retro 80s-style asteroid shooter. It's designed for Android tablets and large Android smartphones. The game combines frenetic asteroid-blasting fun with realistic physics (rigid body dynamics) and authentic-sounding 80s-style sound-effects generated by a Commodore 64 emulator. It is free (libre) under the FreeBSD license. Watch the video below and download the game here
A video of me playing Skyghost Touch on an Android tablet.


The Monk Diamond has been discovered in Siberia. Professor Bairstone and Dr Day were on a fossil-finding expedition.
Ernest, Professor Bairstone's dog, found the jewel.


| 022:031 Khan | : |
Hunafa' Lillah (i.e. to worship none but Allah), not associating partners (in worship, etc.) unto Him and whoever assigns partners to Allah, it is as if he had fallen from the sky, and the birds had snatched him, or the wind had thrown him to a far off place. |
| 022:031 Maulana | : |
Being unright for Allah, not associated aught with Him. And whoever associates (aught) with Allah, it is as if he had fallen from on high, then the birds had snatched him away, or the wind had carried him off to a distant place. |
| 022:031 Pickthal | : |
Turning unto Allah (only), not ascribing partners unto Him; for whoso ascribeth partners unto Allah, it is as if he had fallen from the sky and the birds had snatched him or the wind had blown him to a far-off place. |
| 022:031 Rashad | : |
You shall maintain your devotion absolutely to GOD alone. Anyone who sets up any idol beside GOD is like one who fell from the sky, then gets snatched up by vultures, or blown away by the wind into a deep ravine. |
| 022:031 Sarwar | : |
As the upright servants of God, do not consider anything equal to God. To consider things equal to God is like one falling from the sky who is snatched away by the birds or carried away by a strong wind to a far distant place. |
| 022:031 Shakir | : |
Being upright for Allah, not associating aught with Him and whoever associates (others) with Allah, it is as though he had fallen from on high, then the birds snatch him away or the wind carries him off to a far-distant place. |
| 022:031 Sherali | : |
Devoting all your worship and obedience to ALLAH, not associating anything with HIM. And whoso associate anything with ALLAH, falls, as it were, from a height, and the birds snatch him away or the wind blows him away to a far off-place. |
| 022:031 Yusufali | : |
Being true in faith to Allah, and never assigning partners to Him: if anyone assigns partners to Allah, is as if he had fallen from heaven and been snatched up by birds, or the wind had swooped (like a bird on its prey) and thrown him into a far-distant place. |
Concepts/Themes Covered: أركان الإسلام > التوحيد > توحيد الله تعالي > وحدانيته Pillars of Islam> Islamic> Oneness of Allah> Singularity and Being Unique أركان الإسلام > التوحيد > الشرك والمشركون > النهي عن الشِرك والوعيد عليه Pillars of Islam> Islamic> Polytheism and the Polytheists> The Inhibition of Polytheisms and the Threat Against it أركان الإسلام > الحج والعمرة > فرضية الحج وآدابه Pillars of Islam> Hajj and Umrah> Duty of Hajj and its Morals العلوم والفنون > الحقائق العلمية و الإشاة إلى وقائع أيدتهاالإكتشافات العلمية > الريح Science and Art> The Scientific Facts and the Indication to Facts which have been supported by the Scientific Discoveries>The Wind العلوم والفنون > الحقائق العلمية و الإشاة إلى وقائع أيدتهاالإكتشافات العلمية > الضغط الجوي Science and Art> The Scientific Facts and the Indication to Facts which have been supported by the Scientific Discoveries>The Atmospheric Pressure
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


Boy, 5, With Dementia Can Recognise His Parents Again After Having Chip Implanted In Brain
by Lucy ConnollyA five-year-old boy with dementia who had forgotten his parents can now recognise them again after a pioneering medical trial that implanted a chip in his head.
Harley Bond, from Sheffield, was diagnosed with Sanfilippo syndrome – a rare type of childhood dementia that causes permanent brain damage – when he was just three years old.
His parents Wayne Bond, 47, and Emma Siddal, 38, were heartbroken when Harley lost the ability to recognise them and stopped calling them ‘mummy’ and ‘daddy’.
Despite the little boy regular development in the first few months of his life, Wayne and Emma began to worry as his speech started to deteriorate when he was three and he kept getting colds and infections.
Dad Wayne explained:
He was born completely fine and developing well, but then everything changed. He was really boisterous with other kids and his nose was always runny, he kept getting infections and started to lose his speech.
When he went to the park, or was with other kids, we knew there was something up because he just didn’t act like everyone else, he was really boisterous. He couldn’t remember simple things like knowing how to use the toilet or what was food and what was not.
The doting parents were devastated when they were told Harley had Sanfilippo syndrome type B in 2016, particularly when his symptoms started to get worse. Emma, a full-time carer, described the months Harley couldn’t recognise them as ‘heartbreaking’.
The young boy soon lost the ability to know what was safe to eat, and would try to eat plants, bushes and rocks, leading to his family having to look after him as though he was a baby. He also developed sleep apnoea, which meant he would stop breathing momentarily throughout the night.
Now though, after being enrolled on a new clinical trial at Great Ormond Street Hospital, London, Harley’s speech and ability have both started to improve, and the five-year-old can recognise his parents once more.
The trial, which is still underway, involved implanting a chip into Harley’s head that releases small quantities of the enzyme his body is missing, alpha-N-acetylglucosaminidase, directly into the brain.
Doctors at Great Ormond Street Hospital are facilitating the device, tracking his progress and keeping on top of his condition. In the meantime, Wayne and Emma are thrilled the treatment appears to have stopped Harley’s condition worsening.
Although his parents say Harley still has some bad days, Emma says they have been given ‘a little bit of hope for the future’. She added: ‘We realise that it won’t cure him, but it might give us a few extra precious years with our brave son.’
Since being on the trial, Wayne said Harley’s condition had ‘stabilised’, with the five-year-old remembering words he could previously no longer say and recognising them as ‘mum’ and ‘dad’ again.
The proud father explained:
When you watch him go through all of this, he seems invincible – he rarely complains about any of it. We have good and bad days, but we’re cherishing the time we have with him and hopefully the treatment will work, and we’ll have him for many more years to come.
We try to do everything we can to stay positive and being mentally positive is the hardest part. Kids with this syndrome don’t make it to adulthood so we know we just have to enjoy the time we have with him.
The whole thing is soul- destroying because we’re looking at our little boy and he’s dying.
The trial is currently being offered by US pharmaceutical companies, with 22 children having already used or currently using this particular trial.
The family are now looking to the future, with mum Emma saying they are ‘so proud’ of their little boy.
A Broadcast Journalism Masters graduate who went on to achieve an NCTJ level 3 Diploma in Journalism, Lucy has done stints at ITV, BBC Inside Out and Key 103. While working as a journalist for UNILAD, Lucy has reported on breaking news stories while also writing features about mental health, cervical screening awareness, and Little Mix (who she is unapologetically obsessed with).


Bye bye 2013. Welcome 2014
Jan 1, 2014How year 2013 fared for me, and my plans for 2014.
Mixed bag of a year. Some pretty hard decisions were made by me. I left the job I loved so much – joined Amazon, rival of the technology I was working on (OpenStack). I knew my life was going to be tougher at Amazon. It was not only about the work, but also about the philosophy. In NetApp, it was a complete opensource, collaborative model of development. Nothing of this sort of freedom I was going to get at Amazon. But there were some internal issues of working at NetApp which prompted me to switch over to another company. It wasn’t me who approached them for the job but it was the other way round. The funny part was, I didn’t think of joining Amazon till I got the offer letter. I said okay, anyways I will need to move out of this job (due to those internal conflicts, and partly due to the lower salary), so why not get some interviewing practice by appearing for them at Amazon! The compensation they were offering was significantly higher than my then salary, which just gave me another reason to accept the offer. I convinced myself that I am going to anyway leave the job at Amazon as soon as I get a better opportunity at a more freedom-loving place (freedom both in the sense of work-life balance as well as freedom of working on opensource softwares). I made a mental note for myself that I am going to work for Amazon for 6 months at the max.
But God has different plans. Within a week of joining Amazon, I got a mail that Rick Clark, one of the founders of OpenStack wants to meet me, and wants me on his team which is going to work on OpenStack. The way in which he likes to work, as was told by him over a phone call, impressed me, and I quickly switched jobs. Again, in just over a month. Believe me, joining Reliance, a name not at all known in the software industry, was one heck of a decision. Not to say that switching over to Amazon from NetApp was any less emotionally draining.
Even after joining Reliance (Reliance Jio Infocomm to be precise), as the Bangalore office was not completely set up by the time I joined, I worked from Mumbai office, and then from home for a couple of months. Life before and after this four-month period starting from leaving job at NetApp was more sedate and stable.
Things that went well for me
Day job
Absolutely happy with the day job. Totally in love with the ownership model we have in place. I get to decide which project I will be most interested to work on. I decide what needs to be done in what time. Though this causes laziness, I manage it by following a stricter schedule, and by giving importance of the sense of trust shown in me – if someone trusts me this much, it is my moral responsibility to not disappoint him by underperforming.
Our chief arhitect, Soren Hansen, is exceptionally brilliant, and equally understanding. I can talk to him just like a friend.
Day job compensation
My salary has grown to an amount that my spendings are now less than 1/5th of my total salary. This means I have fairly early in my career reached a level where I don’t care too much about my salary, and how much it is going to increase, and related stuff. It is just another number reflected in my bank account.
Task tracking
Be it tracking articles to read, blogposts to write, side projects to do, or things to learn; I am tracking each of them very efficiently thanks to the Trello. An awesome tool, and I definitely recommend you to use it. Till last year, I used to rely upon Microsoft OneNote, and thankfully I have found a better alternative for that after quite some time.
I also now maintain a notebook and a pen. This helps a lot for things to do in a short time, as I can have my notebook always open at my desk – not the same case with any software in the computer which always gets hidden in the background once we start working. It is a nice feeling to strike off items one-by-one from the bullet list you write down on a paper. I also find paper notebooks very helpful when I am planning something, e.g. a side project. The free form writing/drawing it allows is still not possible in the digital world, I believe.
Setting up priorities in life
Not anymore in mood of going for higher studies. Not going to prepare for interviews, and algorithmic questions. Going to work on side projects, and will look for opportunities of starting something of my own. Marriage? Don’t talk about it just yet.
Things that didn’t go that well
As always, more negatives than positives :)
Side projects
Two job changes, time spent in decision making and relocation, and day job work from four cities all made my life a little unsettled for a majority of this year. As a result, I couldn’t spend much time on any of them. I started with ResumAppGAE (I know, a poor name by any standards), an application to create your resume in a single-page HTML file, but left it completely as soon as I was offered a job at Amazon. Another one, 20-20-20 rule, is a simple one, and I am pretty happy with its progress. Not much learning involved in it, but it gave me important lessons with respect to time and priority management.
Very less blogs
I did work on a lot of items on which I can write blog articles, but always fell short of doing that. This article can be thought of an attempt to start fixing that.
Feeble Concentration
Failed hopelessly on the promise of using less online social networking. Still spending too much time on online news and social networks. I still think that at the most half an hour each day is enough to keep oneself abreast of all the happenings in the world, plus keeping in contact with friends. The harder part is execution :)
Also, there is still a very long way to go before I am confident of my breaks between working. Proper management of breaks directly affect the productivity when one is not on a break.
Poor time management
Only in the last months was I able to reasonably balance my time between my day job, family and friends. I hope to continue the same in the coming year.
Very less travelling/vacation
Not a single trip to any place worth visiting in the whole year. Whatever vacations I took I spent time at home. I am going to repent in my old age if I continue like this.
Plans for upcoming year
Better planning
Of day job, side projects, blog writing, vacations, time for friends and family.
Write blogs
Write as much as I can. It is the easiest, simplest and cheapest medium by which I can help people gain knowledge.
Final goal, plus some resolutions
Become expert in OpenStack. Implement and popularize a couple side projects (i.e. get people to love it). Lose weight. Do a simple workout daily.
All in all, a decent year. Not as good as I wanted it to be, but definitely better than the last one.
Cheers!


Follow your interests.
Hear what people are talking about.
Join the conversation.
Log in
See what’s happening in the world right now
Join Twitter today.
Sign up
Log in


This website has been developed as part of the master's thesis "Refinement and Extension of the Cloud Decision Support Framework for Application Migration to the Cloud" written by Balduin Metz at the Institute of Architecture of Application Systems at the University of Stuttgart, Germany.
CloudDSF+ v1.0 represents a refinement and extension of the previously developed Cloud Decision Support Framework (CloudDSF). The underlying concept of CloudDSF as well as CloudDSF+ v1.0 has been envisioned and developed by Andrikopoulos et al.
CloudDSF+ v2.0 has been developed as part of the diploma’s thesis "Introduction of Cloud Provider-specific Knowledge and Further Evaluation of the Cloud Decision Support Framework" written by Do Thi Minh Thu at the Institute of Architecture of Application Systems at the University of Stuttgart, Germany.
CloudDSF+ v2.0 introduces major cloud vendors in the cloud market together with their popular cloud services, therefore represents a further refinement of the CloudDSF+ v1.0.
CloudDSF+ v2.0 comprises four main decision points which subsume 16 decisions which in turn subsume multiple outcomes. The decisions as well as outcomes are strongly interconnected among each other and form a dense network of relationships. The decision points are briefly described in the following to foster a common understanding.


by Ratiotile » Sun Jul 06, 2008 10:07 pm
I agree that it is very bulky as well. However, the Xenimus font does give text a certain character, and gives the game that unique feeling. With that said, it's more important to come out with an alpha of the game with the interface working than to worry about how it looks at this stage. If you are using a TT font, then it should be relatively painless to switch fonts anyways once it's converted to TT.
Isn't the problem with the font the fact that most characters, especially uppercase, are very wide? As for this problem, I'll see what I can do about it, maybe shrinking the width is enough. As the conversion process involves tracing over the bitmap to form a vector representation, the width of the strokes can be changed. But then again there is the problem of keeping the font true with its original feel.


Services
Below you can find more details on the services that we currently offer. Need something that's not listed? Check the FAQs or get in touch.
Diagnostics & Repair
Request A Quote: Contact Us Today
Hardware
Hardware repairs can include identifying and replacing faulty components to restore full functionality.
Software
Some computer issues can be caused by software, drivers, or Windows updates - these errors or incompatibilities could prevent the computer working as intended.
Data Recovery
If you have accidentally deleted an important file or, if your computer is beyond repair - it may still be possible to recover your files.
Custom Builds
Request A Quote: Contact Us Today
The cost of a custom build computer is dependent on the specification. We don't charge markup on parts, so the cost is the same as the components plus a build and setup fee. For more info, please see the pricing FAQs.
Desktop Computers
Often a custom-made computer will be a lower cost for better specifications than buying an of-the-shelf branded computer.
We can build you a desktop computer that meets the specifications you require, or suggest a selection of components that would easily meet your requirements for the intended use of the computer.
Servicing & Cleaning
Request A Quote: Contact Us Today
This price is for a standalone service. Some types of repair will include aspects of a service at no additional cost. Service components, where required, are included in the standalone price.
Hardware
As computers get older they may have a buildup of dust and debris inside. This stops obstructs airflow, and the computer may run hotter and the fans louder as a result.
Software
Computers can become bogged down with malware and viruses, or just slowed by unused or unnecessary software.
Personalised Tuition
Hourly Rate: £8.50
Tuition is at a flat rate hourly, and can be customised to your specific requirements and computer. Need some help, or switched to and Apple Mac and need some tips? Get in touch!
Windows
We're experienced in most Windows operating systems (XP - 10), and have proficiency with common software such as Microsoft Word and Excel.
Mac
As well as the more common Windows operating system, we're also proficient with the latest MacOS versions, so if you've just switched over and want some lessons in how it all works - get in touch!
Upgrades
Request A Quote: Contact Us Today
We don't charge a markup on parts, so the price will just be cost of components and fee for fitting. Check back soon for some pre-priced common upgrade packages! For more info, please see the pricing FAQs.
Hardware
The best speed upgrades you can add to your computer is to change the the Hard Disk Drive (HDD) with a much faster Solid State Drive (SSD). Other upgrades can include more memory (RAM), or for gaming, a better graphics card (GPU).
Software
If you have an older operating system such as Windows 7, you may be able to upgrade your computer to run a later version, such as Windows 10. Some computers may require new components to support the newer operating systems.
Recycling
Free Recycling
Request A Trade-in Quote: Contact Us Today
While we will always recycle old computers and some IT equipment for free, we may also sometimes be able to purchase old computers for parts or re-sale, or accept them as part of a trade-in. For more info, please see the trade-in/sale FAQs.
Free Recycling
We can collect and recycle computers, laptops, and some IT equipment for free. We believe it is better to recycle old equipment, rather than throw away, wherever possible. Please see the recycling FAQs for more information on this, and what we can take.
Trade-in or Sales
Some computers we may also be able to purchase for spare parts or to refurbish for re-sale. The value of your old computer to us depends on a number of factors such as: make, model, specification, and condition. While we may sometime accept a trade-in against the cost of a service, please be aware that we are not obliged to. The offer we're able to make for old equipment is based on it's value to us, and subject to an 'as-described' inspection.


"Share Books, Save Money"
Book Hero is the easiest way to lend and borrow books. Whether you want to share your unused books or borrow books from your neighbors, Book Hero is here to help you find the books you need


A vibrant and diverse academic community, the University of Miami has rapidly progressed to become one of America's top research universities. It has partnered with us through its Center for Computational Science in collaboration with the Graduate School and UM's CTSI.


--- layout: page title: About me subtitle: "Utku Özsan" css: "/css/aboutme.css" ---
Currently a Transport Core Network Expert at Turkcell . Previously worked as a NOC Engineer at Turktelekom . Both are the Turkey biggest Telecommunication Companies.
Obtained my Bachelor of Electric and Electronics Engineer from the Gazi University,Ankara TURKEY.
My main expertise is Network technologies,however I am currently very interested in Python. I write Python scripts.I also like reading network technology blogs.
I like playing table tennis, travelling


1
DataSmart Cities:
Empowering Cities Through Data
DataSmart Cities Strategy is conceptualized to overcome the barriers of institutionalizing the data culture in 100 smart cities.


Home
iMovies
Showcasing some of my favorites movies.
Doctor Strange
Star Trek Into Darkness
Transcendence
The Dark Knight Rises
Skyfall
Django Unchained
Inglourious Bastards
The Dictator


Use the full range of Markdown features to add formatting to your blog posts. Blot also renders mathematics and provides syntax highlighting for code snippets.
Markdown is a text-to-HTML conversion tool for web writers created by John Gruber. Markdown allows you to write using an easy-to-read, easy-to-write plain text format that is simple to convert to HTML.
# Formatting
You can use *Markdown*, a lightweight markup language for plain text files.
Use it for links, headings, lists and much more.
Note that you can always mix HTML tags directly into Markdown files, should you need to do something beyond the limits of the Markdown.
Surrounding text with two asterisks makes text bold:
**This text will be bold.**
To create italics, use a single asterix (*) on either side of the text:
*This text will be italic.*
Both * or _ symbols work to make text bold or italic. This way you can combine bold and italic in the same sentence. For example:
**Everyone _must_ listen.**
You can create headings using the octothorpe (#).
# Largest heading
Use two octothropes to create a subheading.
## Subheading
Alternatively, for H1 and H2, an underline-ish style:
Alternative heading =================== Alternative subheading ----------------------
Create a text link by wrapping the linked text in brackets [ ], and then wrapping the link in parenthesis ( ). For example:
[Wikipedia](https://wikipedia.org)
Use the syntax for a link, with an exclamation point (!) in front. For example:
![Image title](https://url.of/the/image.jpg)
If the file _image.jpg
is inside the same directory, then you can use a relative path like so:
![Image title](_image.jpg)
Otherwise, use an absolute path with your blog folder as root:
![Image title](/_Files/image.jpg)
Make a bulleted list by preceding list items with a single hyphen (-) or an asterix (*). You need a space between the hyphen and the text.
- Round - Shell - Projectile
Create a numbered list by preceding list items with a number.
1. Eins 2. Deux 3. Tres
Create a list which starts with a custom number by putting a single parenthesis like so:
9) Ninth 10) Tenth 11) Eleventh
Create a list with non-nigit characters like so:
i. Unus ii. Duo iii. Tres
If it's a capital letter, put two characters after the period:
A. Unus B. Duo C. Tres
Create a checklist like so:
- [x] First task - [ ] Second task - [ ] Third task
Use square brackets and a caret (^) to mark the position of a footnote in your text:
Use this syntax.[^1] Another line with a different footnote.[^2]
And then write the footnotes themselves at the bottom of your file like this:
[^1]: And the note goes here. [^2]: And the second goes here too.
You can also write footnotes inline with your text:
Use this syntax ^[Footnote text goes here] for inline footnotes.
Put a double tilde (~) on either side of the text you want to strikethrough:
~~Strike out mistakes~~
Indent code with four spaces:
var foo = “bar”;
You can also wrap code with three backticks (`) and specify the language to enable syntax highlighting:
```javascript var foo = "bar"; ```
You can customize your code's syntax highlighting by modifying the highlight.js CSS file which comes with your blog's template.
Use three or more hyphens (-), asterisks (*) or underscores (_) to create a horizontal rule.
---
***
___
Markdown uses email-style > characters for block quoting. They are presented as:
> This is a blockquote with two paragraphs. > > This is the second pragraph. Vestibulum enim wisi.
You can the follow syntax to create tables:
| Syntax | Description | | ----------- | ----------- | | Header | Title | | Paragraph | Text |
You can mix HTML tags directly into Markdown files, should you need to do something beyond the limits of the Markdown.
You can use an external BibTex citations file to store your citations. Read the guide to using citations.


{%- include _head.html -%}
{%- include _nav.html -%} {%- include _blog_content.html -%} {%- include _footer.html -%}


I try out ethnobotanicals frequently, considering I love psychedelics but they're pretty rare on the street around connecticut. I've been playing around with extractions, and naturally since a dealer in sacred herbs sent me a free packet of Anadenanthera colubrina, I've been playing with those too. My prefered method is smoking them, although I have made a supply of the traditional toasted snuff using ash, and in fact some B. Caapi 10x extract powder. This works very well and I would describe it as generally a high and somewhat speedy feeling.
Recently I made a methanol extract of the seeds, trying to get some form of smokeable DMT. I extracted 14 seeds and made a goodly ammount of extract substance, perhaps as much as two or three seeds ground up, so it was an approximately 5x extract. Smoking this was very potent and made for an instant stoned and wierd feeling, but with a powerful aching body load that seemed to travel from the back of my head down through my limbs.
I always make very sure about evaporating methanol, but none-the-less this was a little alarming and so I was ready to give up on the stuff, until I thought of snorting it.
This was last night, maybe 2 in the morning, I had Fear and Loathing in Los Vegas playing over and over on mute in the background, I was tripping on some pure DXM I'd ordered mixed in with LSA I'd extracted from woodrose (report later). It was a sort of, passing the time sort of trip, great and fun but nothing magnificent, the LSA had worn down and the DXM was at sort of cruising altitude, but wanting a final extra boost to the night as I'd just started talking to a friend at another college on AIM. And I came to the idea of snorting the extract, I had sort of wondered about it before, and I felt it was time to have at it.
Realising it was potent, I just scraped myself out some flakes, maybe about the amount of material you'd get off of your pinkie cuticle if you scraped some dead skin off, lined it up with some of the traditional yopo, and took it in. Immediately there was a distinct sting where the bits of extract hit, and the speedy effects were immediately felt absorbing through my nasal cavity like it would with aderal (I don't do coke so that's my comparison for nasal drugs), and I sort of recoiled a bit. It continued stinging, but there was so little stinging material that it was totally fine and tolerable.
Everything went tense and the feeling in my head went higher and higher.  The world around me took around this 'picturesque' quality I'd noticed before smoking this extract and that I always get in the afterglow of a major psychedelic trip, I just want to take pictures of pretty much anything, anywhere I look there's a lovely little scene/arrangement.
Anyway, things went on being racy and me feeling wierd for maybe an hour. The next morning I tried a more precise testing of this stuff and it is indeed excelent, comming down the effect is relaxing, the high is very social and thoughtful and racy, and it can be produced in massive amounts for nothing.
For those interested in the extraction method, I bought some high-grade alcohol, ground the seeds and soaked them in it for a day, stirring occasionally. I then removed the alcohol and evaporated it on a dish, repeating and accumulating residue left behind from each evaporation until the alcohol stops being colored by picking up stuff in the seeds.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


I believe in classical dressage training that fosters a partnership with the horse. Whether you just want your trail horse to be more sensitive to the aids, are an eventer wanting to improve your dressage scores, or are interested in pursuing dressage, I would love to help you and your horse achieve your goals.
I have competed through 4th level on self trained horses, earning myself my USDF Bronze Medal and half of my Silver. I am also currently a participant in the USDF L Program. Having completed part 1, I have been accepted into part 2.
I have experience breaking young horses, restarting OTTBs, and working with horses and riders of various skill levels and diciplines. I offer hour long lessons/rides for $45, and full training for $800 per month.
Located in Canandaigua, NY!


!Dead Leopard's Carcass:
[A ghost is much like a fire:
approach it with great care,
a proper distance bear,
and grow as warm as you desire.
But stray too close to the source,
And it will eat you whole;
For ghosts and fiery coals,
Have no means to restrain their force.
Remember the teachings of Pa'agrio!
Remember the Song of Fire!
*In order to hear the last teaching,*
*Drench your hands once more with the blood of the Black Leopard!]*


A doge is an elected chief of state lordship, the ruler of the Republic in many of the Italian city states during the medieval and renaissance periods, in the Italian "crowned republics".
The word is from a Venetian word that descends from the Latin dux (as do the English duke and the standard Italian duce and duca), meaning "leader", especially in a military context. The wife of a doge is styled a dogaressa. [1]