$_FILES
$HTTP_POST_FILES [已弃用]
$_FILES -- $HTTP_POST_FILES [已弃用] — HTTP 文件上传变量
说明
通过 HTTP POST 方式上传到当前脚本的项目的数组。
$HTTP_POST_FILES 包含相同的信息，但它不是一个超全局变量。 (注意
$HTTP_POST_FILES 和 $_FILES 是不同的变量，PHP 处理它们的方式不同)
更新日志
版本 说明
4.1.0 引入 $_FILES，弃用 $HTTP_POST_FILES。
注释
Note:
“Superglobal”也称为自动化的全局变量。这就表示其在脚本的所有作用域中都是可用
的。不需要在函数或方法中用 global $variable; 来访问它。
参见
• move_uploaded_file() - 将上传的文件移动到新位置
• 处理文件上传
User Contributed Notes 26 notes
===============================================================================
see http://php.net/manual/en/features.file-upload.post-method.php for
documentation of the $_FILES array, which is what I came to this page for in
the first place.
===============================================================================
The format of this array is (assuming your form has two input type=file fields
named "file1", "file2", etc):
Array
(
[file1] => Array
(
[name] => MyFile.txt (comes from the browser, so treat as tainted)
[type] => text/plain (not sure where it gets this from - assume
the browser, so treat as tainted)
[tmp_name] => /tmp/php/php1h4j1o (could be anywhere on your system,
depending on your config settings, but the user has no control, so this isn't
tainted)
[error] => UPLOAD_ERR_OK (= 0)
[size] => 123 (the size in bytes)
)
[file2] => Array
(
[name] => MyFile.jpg
[type] => image/jpeg
[tmp_name] => /tmp/php/php6hst32
[error] => UPLOAD_ERR_OK
[size] => 98174
)
)
Last I checked (a while ago now admittedly), if you use array parameters in
your forms (that is, form names ending in square brackets, like several file
fields called "download[file1]", "download[file2]" etc), then the array format
becomes... interesting.
Array
(
[download] => Array
(
[name] => Array
(
[file1] => MyFile.txt
[file2] => MyFile.jpg
)
[type] => Array
(
[file1] => text/plain
[file2] => image/jpeg
)
[tmp_name] => Array
(
[file1] => /tmp/php/php1h4j1o
[file2] => /tmp/php/php6hst32
)
[error] => Array
(
[file1] => UPLOAD_ERR_OK
[file2] => UPLOAD_ERR_OK
)
[size] => Array
(
[file1] => 123
[file2] => 98174
)
)
)
So you'd need to access the error param of file1 as, eg $_Files['download']
['error']['file1']
===============================================================================
If you are looking for the $_FILES['error'] code explanations, be sure to read:
Handling File Uploads - Error Messages Explained
http://www.php.net/manual/en/features.file-upload.errors.php
===============================================================================
A nice trick to reorder the $_FILES array when you use a input name as array
is:
$value1)
foreach($value1 as $key2 => $value2)
$result[$key2][$key1] = $value2;
return $result;
}
?>
will transform this:
array(1) {
["upload"]=>array(2) {
["name"]=>array(2) {
[0]=>string(9)"file0.txt"
[1]=>string(9)"file1.txt"
}
["type"]=>array(2) {
[0]=>string(10)"text/plain"
[1]=>string(10)"text/html"
}
}
}
into:
array(1) {
["upload"]=>array(2) {
[0]=>array(2) {
["name"]=>string(9)"file0.txt"
["type"]=>string(10)"text/plain"
},
[1]=>array(2) {
["name"]=>string(9)"file1.txt"
["type"]=>string(10)"text/html"
}
}
}
just do:
===============================================================================
A note of security: Don't ever trust $_FILES["image"]["type"]. It takes
whatever is sent from the browser, so don't trust this for the image type. I
recommend using finfo_open (http://www.php.net/manual/en/
function.finfo-open.php) to verify the MIME type of a file. It will parse the
MAGIC in the file and return it's type...this can be trusted (you can also use
the "file" program on Unix, but I would refrain from ever making a System call
with your PHP code...that's just asking for problems).
===============================================================================
I've written this function to restructure deeply nested $_FILES arrays, so that
the parameters for each file are grouped together.
function restructure_files(array $input)
{
$output = [];
foreach ($input as $name => $array) {
foreach ($array as $field => $value) {
$pointer = &$output[$name];
if (!is_array($value)) {
$pointer[$field] = $value;
continue;
}
$stack = [&$pointer];
$iterator = new \RecursiveIteratorIterator(
new \RecursiveArrayIterator($value),
\RecursiveIteratorIterator::SELF_FIRST
);
foreach ($iterator as $key => $value) {
array_splice($stack, $iterator->getDepth() + 1);
$pointer = &$stack[count($stack) - 1];
$pointer = &$pointer[$key];
$stack[] = &$pointer;
if (!$iterator->hasChildren()) {
$pointer[$field] = $value;
}
}
}
}
return $output;
}
Turns this:
array (size=2)
'one' =>
array (size=5)
'name' =>
array (size=1)
'inner' =>
array (size=2)
11 => string 'DM4C2738.jpg' (length=12)
5 => string 'DM4C2760.jpg' (length=12)
'type' =>
array (size=1)
'inner' =>
array (size=2)
11 => string 'image/jpeg' (length=10)
5 => string 'image/jpeg' (length=10)
'tmp_name' =>
array (size=1)
'inner' =>
array (size=2)
11 => string '/private/var/tmp/phploOZRb' (length=26)
5 => string '/private/var/tmp/phpsFkmIh' (length=26)
'error' =>
array (size=1)
'inner' =>
array (size=2)
11 => int 0
5 => int 0
'size' =>
array (size=1)
'inner' =>
array (size=2)
11 => int 1031601
5 => int 674697
'two' =>
array (size=5)
'name' => string '9ncYySC.jpg' (length=11)
'type' => string 'image/jpeg' (length=10)
'tmp_name' => string '/private/var/tmp/phpuG99X9' (length=26)
'error' => int 0
'size' => int 882422
Into this:
array (size=2)
'one' =>
array (size=1)
'inner' =>
array (size=2)
11 =>
array (size=5)
'name' => string 'DM4C2738.jpg' (length=12)
'type' => string 'image/jpeg' (length=10)
'tmp_name' => string '/private/var/tmp/phploOZRb' (length=26)
'error' => int 0
'size' => int 1031601
5 =>
array (size=5)
'name' => string 'DM4C2760.jpg' (length=12)
'type' => string 'image/jpeg' (length=10)
'tmp_name' => string '/private/var/tmp/phpsFkmIh' (length=26)
'error' => int 0
'size' => int 674697
'two' =>
array (size=5)
'name' => string '9ncYySC.jpg' (length=11)
'type' => string 'image/jpeg' (length=10)
'tmp_name' => string '/private/var/tmp/phpuG99X9' (length=26)
'error' => int 0
'size' => int 882422
===============================================================================
If $_FILES is empty, even when uploading, try adding enctype="multipart/
form-data" to the form tag and make sure you have file uploads turned on.
===============================================================================
Nontypicall array comes in php after the submission.I wrote a small function to
restate it to the familiar look.
$file){
if($top) $sub_name = $file['name'];
else $sub_name = $name;
if(is_array($sub_name)){
foreach(array_keys($sub_name) as $key){
$files[$name][$key] = array(
'name' => $file['name'][$key],
'type' => $file['type'][$key],
'tmp_name' => $file['tmp_name'][$key],
'error' => $file['error'][$key],
'size' => $file['size'][$key],
);
$files[$name] = multiple($files[$name], FALSE);
}
}else{
$files[$name] = $file;
}
}
return $files;
}
print_r($_FILES);
/*
Array
(
[image] => Array
(
[name] => Array
(
[0] => 400.png
)
[type] => Array
(
[0] => image/png
)
[tmp_name] => Array
(
[0] => /tmp/php5Wx0aJ
)
[error] => Array
(
[0] => 0
)
[size] => Array
(
[0] => 15726
)
)
)
*/
$files = multiple($_FILES);
print_r($files);
/*
Array
(
[image] => Array
(
[0] => Array
(
[name] => 400.png
[type] => image/png
[tmp_name] => /tmp/php5Wx0aJ
[error] => 0
[size] => 15726
)
)
)
*/
?>
===============================================================================
For some reason when I tried to check if $_FILES['myVarName'] was empty() or !
isset() or array_key_exists(), it always came back that the file was indeed in
the superglobal, even when nothing was uploaded.
I wonder if this is a result of enctype="multipart/form-data".
Anyways, I solved my issue by checking to make sure that $_FILES['myVarName']
['size'] > 0
===============================================================================
For quick debugging (eg. var_dump($_FILES);), these are the values of the error
constants. Obviously don't use these for comparison in real code.
UPLOAD_ERR_OK: 0
UPLOAD_ERR_INI_SIZE: 1
UPLOAD_ERR_FORM_SIZE: 2
UPLOAD_ERR_NO_TMP_DIR: 6
UPLOAD_ERR_CANT_WRITE: 7
UPLOAD_ERR_EXTENSION: 8
UPLOAD_ERR_PARTIAL: 3
===============================================================================
In the past you could unconditionally call $_FILES['profile_pic'] without ever
having to worry about PHP spitting an "Undefined index: profile_pic" error (so
long as the page posting had a file input on it (e.g. )). This was the case regardless of whether or not the end user
actually uploaded a file. These days, with so many people browsing the web via
iPads, you have to explicitly check to see if the input isset($_FILES
['profile_pic']) before calling into it, else you'll get the aforementioned
error message. This is because iOS devices running Safari disable file inputs
thereby causing them to be treated as if they don't exist. Time to update your
scripts!
-john
===============================================================================
I spent 3 hours trying to find out why when I upload multiples file $_FILES
return empty, I did noticed it was only when I select files that exceed 3m so I
thought it was something related to the MAX_UPLOAD_SIZE that for my surprice
came as default as 20m which was very confusing. Later I discovery the problem
was in the POST_MAX_SIZE been 3m, so it happen that not only MAX_UPLOAD_SIZE is
responsible and that is why I'd like to know there is no error message that
shows the cause.
===============================================================================
For situation download[file1], download[file2], ..., download[fileN], try it:
$mixedValue) {
rRestructuringFilesArray($arrayForFill[$currentKey],
$nameKey,
$mixedValue,
$fileDescriptionParam);
}
} else {
$arrayForFill[$currentKey][$fileDescriptionParam] = $currentMixedValue;
}
}
$arrayForFill = array();
foreach ($_FILES as $firstNameKey => $arFileDescriptions) {
foreach ($arFileDescriptions as $fileDescriptionParam => $mixedValue) {
rRestructuringFilesArray($arrayForFill,
$firstNameKey,
$_FILES[$firstNameKey][$fileDescriptionParam],
$fileDescriptionParam);
}
}
$_FILES = $arrayForFill;
?>
===============================================================================
If you're uploading multiple files and you name your file inputs "upload[]" the
$_FILES array will look different than the var_dump posted below. I figured I'd
post what it looks like since it caused me (and still causes me) headaches!
array(1) {
["upload"]=>array(5) {
["name"]=>array(3) {
[0]=>string(9)"file0.txt"
[1]=>string(9)"file1.txt"
[2]=>string(9)"file2.txt"
}
["type"]=>array(3) {
[0]=>string(10)"text/plain"
[1]=>string(10)"text/plain"
[2]=>string(10)"text/plain"
}
["tmp_name"]=>array(3) {
[0]=>string(14)"/tmp/blablabla"
[1]=>string(14)"/tmp/phpyzZxta"
[2]=>string(14)"/tmp/phpn3nopO"
}
["error"]=>array(3) {
[0]=>int(0)
[1]=>int(0)
[2]=>int(0)
}
["size"]=>array(3) {
[0]=>int(0)
[1]=>int(0)
[2]=>int(0)
}
}
}
(I thought the array would have looked like upload[index][name] which is not
the case.)
===============================================================================
Having url rewrite patterns in .htaccess file which modify your urls can affect
$_FILES sometimes. Even though the php page loads and works fine, this variable
may not work because of it. Therefore if you rewrite 'www.example.com' to
'example.com', make sure you use the latter one when sending POST to the php
page. I'm still not sure why this happens, but its worth noting here so others
don't spend time chasing ghosts.
===============================================================================
In checking the error code, you probably ought to check for code 4. I believe
Code 4 means no file was uploaded, and there are many instances where that's
perfectly OK.
Such as when you have a form with multiple data items, including file and image
uploads, plus whatever else. The user might not be adding a new upload for
whatever reason, such as there may already be a file in the system from an
earlier update, and the user is satisfied with that.
===============================================================================
As mentioned , you should check the error index of the upload.
Example below suggests you have a file field named 'image'.
===============================================================================
THis is an solution to convert Cyrillic and umlaut characters as file name when
uplaoding files into needed encoding. Was searching for it but could not find.
Thus posting this. Just like this:
$value = mb_convert_encoding($value, "UTF-8");
===============================================================================
You can check error index this way:
0) {
die('We have a error. Try Again.');
}
processFile();
?>
===============================================================================
Others have posted about how the $_FILES array organizes data differently
depending on whether the HTML input is a single or multiple type, so it seems
to be a common enough problem. If for some reason you need to mix-and-match
the types, or you're not sure which how many files you'll be expecting from a
multiple input, this is a very useful way to reorganize the $_FILES array.
Also, unlike some of the earlier posts, the formatting of the new array (i.e.
the number of keys and values) is consistent.
$value)
{
if (is_array($value))
{
$j = count($value); // Number of iterations
for ($k = 0; $k < $j; ++$k)
{
$files[$i + $k][$property] = $value[$k];
}
}
else
{
$j = 1;
$files[$i][$property] = $value;
}
}
$i += $j;
}
?>
The results will look something like this:
$files = Array (
[0] => Array (
[name] => ''
[type] => ''
[tmp_name] => ''
[error] => 0
[size] => 0
)
)
===============================================================================
I just spent long time debugging strange behavior of one of our application on
new webhosting. We have 30 file inputs on one page for upload to server.
Problem was that only 20 was actually uploaded.
Now I found there is an option max_file_uploads in php.ini limiting maximum
size of $_FILES to 20 by default.
When you have suhosin extension installed it has own option limiting same thing
to 25 (suhosin.upload.max_uploads in php.ini)
===============================================================================
I realize there are a number of posts here for reformating the php $_FILES
array, but they don't handle all cases. This handles the single case, the
multiple file case, and even submitting multiple file arrays. This way no
matter what, before ever touching the files array I call this regardless of
what it might be:
* becomes: $_FILES['model']['name'][column] = file1_name.xxx
* $_FILES['model']['name'][column2][0] = file2_name.xxx
*
* this changes it to:
* $files['model'][column]['name'] = file1_name.xxx
* $files['model'][column2][0]['name'] = file2_name.xxx
*
* This way the file data is grouped together as expected and as it does
with a non-array type name attribute
*/
static public function multi_file_fix($files = null)
{
if ($files == null) {
$files = (is_array($_FILES)) ? $_FILES : array();
}
//make there there is a file, and see if the first item is also an
array
$new_files = array();
foreach ($files as $name => $attributes) {
if (is_array(reset($attributes))) { //check first item
foreach ($attributes as $attribute => $item) { //array file
submit, eg name="model[file]"
foreach ($item as $key => $value) {
if (is_array($value)) {
foreach ($value as $key2 => $sub_val) { //
multi-array file submit, eg name="model[file][]"
$new_files[$name][$key][$key2][$attribute] =
$sub_val;
}
} else {
$new_files[$name][$key][$attribute] = $value;
}
}
}
} else { // regular file submit, eg name="file"
$new_files[$name] = $attributes;
}
}
return $new_files;
}
//Usage:
$files = multi_file_fix($_FILES);
?>
===============================================================================
Here is my version of $_FILES rearrange. Unlike other codes here, this working
well on any depth of $_FILES.
$propval) {
if (is_array($propval)) {
array_walk_recursive($propval, function(&$item, $key,
$value) use($prop) {
$item = array($prop => $item);
}, $value);
$_array = array_replace_recursive($_array, $propval);
} else {
$_array[$prop] = $propval;
}
}
$value = $_array;
}
return $array;
}
echo '


struct tm *getdate(const char *string);
extern int getdate_err;
#include <time.h>
int getdate_r(const char *string, struct tm *res);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
getdate():
In contrast to strptime(3), (which has a format argument), getdate() uses the formats found in the file whose full pathname is given in the environment variable DATEMSK. The first line in the file that matches the given input string is used for the conversion.
The matching is done case insensitively. Superfluous whitespace, either in the pattern or in the string to be converted, is ignored.
The conversion specifications that a pattern can contain are those given for strptime(3). One more conversion specification is specified in POSIX.1-2001:
When %Z is given, the structure containing the broken-down time is initialized with values corresponding to the current time in the given timezone. Otherwise, the structure is initialized to the broken-down time corresponding to the current local time (as by a call to localtime(3)).
When only the day of the week is given, the day is taken to be the first such day on or after today.
When only the month is given (and no year), the month is taken to be the first such month equal to or after the current month. If no day is given, it is the first day of the month.
When no hour, minute and second are given, the current hour, minute and second are taken.
If no date is given, but we know the hour, then that hour is taken to be the first such hour equal to or after the current hour.
getdate_r() is a GNU extension that provides a reentrant version of getdate(). Rather than using a global variable to report errors and a static buffer to return the broken down time, it returns errors via the function result value, and returns the resulting broken-down time in the caller-allocated buffer pointed to by the argument res.
On success getdate_r() returns 0; on error it returns one of the error numbers shown below.
The getdate_r() function is thread-safe.
$ TFILE=$PWD/tfile $ echo '%A' > $TFILE # Full name of the day of the week $ echo '%T' >> $TFILE # ISO date (YYYY-MM-DD) $ echo '%F' >> $TFILE # Time (HH:MM:SS) $ date $ export DATEMSK=$TFILE $ ./a.out Tuesday '2009-12-28' '12:22:33' Sun Sep 7 06:03:36 CEST 2008 Call 1 ("Tuesday") succeeded: tm_sec = 36 tm_min = 3 tm_hour = 6 tm_mday = 9 tm_mon = 8 tm_year = 108 tm_wday = 2 tm_yday = 252 tm_isdst = 1 Call 2 ("2009-12-28") succeeded: tm_sec = 36 tm_min = 3 tm_hour = 6 tm_mday = 28 tm_mon = 11 tm_year = 109 tm_wday = 1 tm_yday = 361 tm_isdst = 0 Call 3 ("12:22:33") succeeded: tm_sec = 33 tm_min = 22 tm_hour = 12 tm_mday = 7 tm_mon = 8 tm_year = 108 tm_wday = 0 tm_yday = 250 tm_isdst = 1
#define _GNU_SOURCE #include <time.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { struct tm *tmp; int j; for (j = 1; j < argc; j++) { tmp = getdate(argv[j]); if (tmp == NULL) { printf("Call %d failed; getdate_err = %d\n", j, getdate_err); continue; } printf("Call %d (\"%s\") succeeded:\n", j, argv[j]); printf(" tm_sec = %d\n", tmp->tm_sec); printf(" tm_min = %d\n", tmp->tm_min); printf(" tm_hour = %d\n", tmp->tm_hour); printf(" tm_mday = %d\n", tmp->tm_mday); printf(" tm_mon = %d\n", tmp->tm_mon); printf(" tm_year = %d\n", tmp->tm_year); printf(" tm_wday = %d\n", tmp->tm_wday); printf(" tm_yday = %d\n", tmp->tm_yday); printf(" tm_isdst = %d\n", tmp->tm_isdst); } exit(EXIT_SUCCESS); }


Dear Dry,
Wendy Davis took a stand (literally!) for reproductive justice in Texas and inspired men and women nationwide to fight outrageous attempts to close women’s health clinics. “Ms”. is proud to honor Sen. Davis’ historic stand on our Summer cover.
Get the exciting and special new issue of Ms [ http://store.feminist.org/getandgivems.aspx ]. for all the exclusive updates on the state laws threatening to close women’s health clinics in Texas, Virginia, North Carolina, Ohio, and 10 other states, as well as on-the-ground reports of what advocates are doing to fight back.
This issue also takes you to a new clinic in Wichita, where determined healthcare providers are standing up to extremists and offering full reproductive services to local women. It’s the first time they’ve had these services since the assassination of Dr. George Tiller in 2009.
Keep up with the vast array of feminist happenings and subscribe today. As a bonus, you will also receive our special 40th Anniversary issue FREE. [ http://store.feminist.org/getandgivems.aspx ]
Also featured in the Summer issue that you won’t want to miss:
* A Ms. investigative report on the tragedy at Rana Plaza in Bangladesh - where more than 1,000 garment workers lost their lives.
* The importance of empowering women and girls in South Africa to ending the AIDS pandemic.
* A joint critique of two new documentaries illuminating icons Angela Davis and Alice Walker.
Join Ms. today. [ http://store.feminist.org/getandgivems.aspx ] Choose the format that fits your life: digital only, print only, or digital and print. Now you can take Ms. with you on the go.
For women’s equality.
Kathy Spillar
Katherine Spillar
Executive Editor
P.S. Join the Ms. community today to have the latest issue sent straight to your mailbox and to get the Ms. app on your mobile device for just $29.95. [ http://store.feminist.org/getandgivems.aspx ]
*For Android devices, if you purchase issues directly through the Google Play store, the 40th Anniversary Issue will cost $0.99. This issue is free when you purchase a subscription through the *Ms. store* [ http://store.feminist.org/getandgivems.aspx ].
“You have received this e-mail because of your interest in promotions and Ms. magazine. To unsubscribe, please click here. [ http://org.salsalabs.com/o/1400/p/salsa/supporter/unsubscribe/public/index.sjs?unsubscribe_page_KEY=494 ]”
1600 Wilson Boulevard, Suite 801, Arlington, VA 22209 |<PHONE_NUMBER> | webmaster@feminist.org


For ticketing information, please see facebook.com/ivyfilmfestival.
• COACH (dir. Pom Bunsermvicha)
• Cottonmouth (dir. Richard Rogers)
• Folds (dir. Matthew Brown)
• Butter (dir. Phillip Vernon)
• Conversation Between Emperor + Explorer (dir. Felipe Di Poi)
• Generation Girl (dir. Anna Blum)
• Handjob (dir. Alex Heller)
• The Reenactors (dirs. Alistair Wilson and JK Rockett)
• Graduation Speech (dir. Pom Bunsermvicha)
• HOLLYWOOD (dir. Jake Bellew)
• Shark Shit (dir. Lola Katan Kourako)
• In God’s Possession (dir. Priscilla Gonzalez Sainz)
• Long Road Ahead (dir. Felix Gover)
• Para Ellos (For Them) (dirs. Christian Contreras and Victoria De La Torre)
• Pitter Patter Goes My Heart (dir. Christoph Rainer)
• Blue Blue Sky (dir. Bigna Tomschin)
• Encuentros en la Tercera Edad (dir. Víctor Ruiz Junquera)
• Everything Will Be Okay (dir. Patrick Vollrath)
• Eyes Wide (dir. Yi Chiang Lin)
• In 90 Degrees Heat (dirs. Ylva Henrikson and Viana Mikkelsen)
• Into Us and Ours (dir. Jessie Zinn)
• Looks (dir. Susann Hoffmann)
• Lothar (dir. Luca Zuberbühler)
• Rosso Papavero (dir. Martin Smatana)
• The Treatment (dir. Marvin Meiendresch)
• Adonix by Daniel Boddicker
• Mimi and Ulrich by Caroline Ryder
• The Three Quarters by Rani Crowe
• Family of Too Many by Maaman Rezaee
• Fish by Andrew Ruiz
• To the Grave by Missy Hernandez
• Chiaroscuro by Michael Lobman
• MOM, This is Palaeon1 by Jaquille Jones
• The Straight and Narrow by Richie DeBiase
• Game Boys by William Duncan
• The Sand Cigarette by Caitlyn Comm
• Scoot by Dina Klein
• Fenwick by Tom Lock
• Hell Hound: the Legend of Robert Johnson by Giancarlo Fusi
• Sky Haven by Nathaniel Charles


Pastes a button face from the Clipboard to a specified position on a toolbar.
Syntax
PASTE.TOOL(bar_id, position)
Bar_id specifies the number or name of the toolbar into which you want to paste the button face. For detailed information about bar_id, see ADD.TOOL.
Position specifies the position within the toolbar of the button on which you want to paste the button face. Position starts with 1 at the left side (if horizontal) or at the top (if vertical).
Related Function
COPY.TOOL Copies a button face
Return to index


Commands¶
The command for this extension can be executed by right-clicking on the item of the target file (CSS or image file) in Explorer and selecting
Insert relative path
.If only one item is defined in Settings(
File> Preferences> Settings
) >Relative Path> Format
, the relative path will be inserted as soon as the command is executed.If you have defined more than one item, a dialog box will appear, and you can select the item
Note
If you have any trouble, please report it to Issues. Bugs and other reports are only accepted from this page.


Fabric
a data layer for the distributed web
Introduction
Building products that fully utilize the power of emerging technology is hard. That's why we built Fabric, a standardized API for designing and deploying decentralized apps.
Building Your First Decentralized Application
We'll be using Maki, a library of user interface elements which integrate directly with Fabric. We'll provide definitions for how our application should behave, and the core Fabric library will handle the rest.
Heads up: from here on, we're going to assume you're familiar with console commands and the modern JavaScript ecosystem. If you're just getting started, try Maki's Initial Setup and share your progress in #learning.
Start by creating the following app.js
file.
app.js
var Fabric = require('fabric'); var Maki = require('maki'); var app = new Maki(); app.start();
This defines and starts a simple HTTP Oracle, and displays a link in your console. You can browse this link now, or read on to add some functionality.
Adding a Data Layer
Fabric adds a simple synchronized datastore to your applications, allowing your users to keep a collection of the data they've consumed.
This data can be used to run applications locally, without the need for a network connection. Let's add one now.
Place this code before app.start();
to add a new Post
resource:
app.define('Post', { attributes: { content: { type: String } } });


{% extends "base.html" %} {% load wagtailcore_tags dral_wagtail_tags %} {% block main %}
Tick the dimensions you would like to completely remove from the database.
Clean


Two methods for performing a constrained principal component analysis (PCA), where non-negativity and/or sparsity constraints are enforced on the principal axes (PAs). The function 'nsprcomp' computes one principal component (PC) after the other. Each PA is optimized such that the corresponding PC has maximum additional variance not explained by the previous components. In contrast, the function 'nscumcomp' jointly computes all PCs such that the cumulative variance is maximal. Both functions have the same interface as the 'prcomp' function from the 'stats' package (plus some extra parameters), and both return the result of the analysis as an object of class 'nsprcomp', which inherits from 'prcomp'. See <https://sigg-iten.ch/learningbits/2013/05/27/nsprcomp-is-on-cran/> and Sigg et al. (2008) <doi:10.1145/1390156.1390277> for more details.
| Version: | 0.5.1-2 |
| Depends: | R (≥ 3.4.0) |
| Imports: | stats |
| Suggests: | MASS, testthat (≥ 0.8), roxygen2 |
| Published: | 2018-06-05 |
| Author: | Christian Sigg [aut, cre], R Core team [ctb] (prcomp interface, formula implementation and documentation) |
| Maintainer: | Christian Sigg <christian at sigg-iten.ch> |
| BugReports: | https://github.com/chrsigg/nsprcomp/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://sigg-iten.ch/research/ |
| NeedsCompilation: | no |
| Citation: | nsprcomp citation info |
| Materials: | README |
| In views: | Psychometrics |
| CRAN checks: | nsprcomp results |
| Reference manual: | nsprcomp.pdf |
| Package source: | nsprcomp_0.5.1-2.tar.gz |
| Windows binaries: | r-devel: nsprcomp_0.5.1-2.zip, r-release: nsprcomp_0.5.1-2.zip, r-oldrel: nsprcomp_0.5.1-2.zip |
| OS X binaries: | r-release: nsprcomp_0.5.1-2.tgz, r-oldrel: nsprcomp_0.5.1-2.tgz |
| Old sources: | nsprcomp archive |
Please use the canonical form https://CRAN.R-project.org/package=nsprcomp to link to this page.


The Women Behind Chicago PyLadies
Join Us!
Lorena is so excited about PyLadies!
Jess works as a software engineer with Shiftgig. She's passionate about demystifying programming for women who want to break into tech. Come talk Flask and SQLAlchemy with her in one of Chicago's exotic dive bars!
Safia (like 'Mafia') is the co-organizer of PyLadies Chicago, where she teaches classes on data analytics and brings interesting individuals as panelists and speakers. She is also the Lead of Mentorship and Volunteer Initiatives at ChickTech Chicago, where she brings dedicated and passionate technologists to eager high school girls. She founded dsfa, an agency dedicated to uplifting small businesses and community organizations with data science. In her free time, she likes to contribute to open source, give fun talks at conferences, and teach individuals of all shapes and sizes how to be awesome with code.
Loren is a published Data Bender (data data data!). She learned Python back in Fall 2013 and has been a Parselmouth ever since <3. Loren has a passion for working with any and all data especially when it can promote social good. She is an involved and active member of Statistics Without Borders where she has been the lead for many probono projects. She is also a huge advocate for open source technology and helping people empower themselves. When Loren isn't hacking she enjoys running, sleeping and binge watching TV.
Celeen spends her days software engineering at Braintree. The security and empowerment that programming has brought her inspires her to support organizations like PyLadies, in an effort to help other women find the same.


1Therefore there is now no condemnation for those who are in Christ Jesus. 2For the law of the Spirit of life in Christ Jesus has set you free from the law of sin and of death (Romans_8:1).
Walk According to the Flesh
To walk by the flesh is to use the flesh, what it does or does not, to determine one's relationship with God.
How one falls from God's grace
You who are trying to be justified by the law have been alienated from Christ; you have fallen away from grace (Galatians_5:4)
The law does not bring righteousness
Therefore no one will be declared righteous in God's sight by the works of the law; rather, through the law we become conscious of our sin (Romans_3:20)


|
Sacred GeometryShapes are endlessly fascinating to human beings. Religion is endlessly fascinating to human beings. Two great tastes that taste great together? Hell, yeah! Sacred geometry is the art, or perhaps the science, of imposing structure onto something that is inherently intangible. Since people first learned to scrawl in the dirt with sticks, they have been drawing shapes and calling those shapes "God."
PrimitiveThe earliest known symbol of spirituality is the spiral. Ancient cave artists scrawled simple spirals on the walls of their homes, for reasons which have not been preserved in written language, but at which we can guess.The spiral is the simplest and most common geometric shape shape in nature, both visibly and invisibly. From conch shells to weather patterns to DNA to galaxies to hallucinogenic visions, spirals are omnipresent in nature. Whether the cave artists were driven by mystical inspiration or simple observation, the emergence of the spiral in animistic, shamanistic and nature-worshipping cultures is not surprising. After the spiral, things moved for a while along fairly predictable lines of increasing geometric complexity. Sun and moon icons brought circles into the realm of sacred geometry, predictably, as primitive pantheons expanded to include sun and sky gods. It took longer for the concept of "geometry" as inherently "sacred" to develop, but not as long as you would think. Pre "civilized" people were understandably obsessed with the sky. After all, the sky was the source of rain and sun, lightning, hail and the changing seasons, all of which qualified as life-and-death issues for people who lived off the land, hadn't invented GPS (or even compasses) and hadn't started building houses in which to seek shelter from all of the abovementioned sky-based death-bombs. The more you understood about what happened in the sky, the better your odds of survival. Which leads you to math. To really exploit the sky for all it's worth, you need math. You need to be able to count. You need to be able to calculate cycles. You need to plot movements for navigation using the stars. Thus, geometry. Post-spiral, almost all of the earliest examples of sacred geometry are somehow tied to navigation and the calculation of the seasons. Early edifices like Stonehenge are essentially giant calendars, with rocks and markings situated to indicate seasonal passages based on where the sun casts its shadows. Other paleolithic monuments might frame a star or the sun or moon as if through a gun sight. As the paleolithic era ended, people started applying the new math to their construction projects. The pyramids are the most notable of these efforts, even today. Aside from the sheer muscle-power required to actually build the damn things, the mathematical discipline in creating the shapes was pretty remarkable. The pyramids were build along strict lines and proportions, oriented to compass points and astronomical coordinates (which allowed them at times to function as giant calendars in the same way Stonehenge did). The major Egyptian pyramids were built about 5,000 years ago. They are generally thought to have been massive tombs for Egyptian royalty, designed to shepherd their occupants into the afterlife with style. This included the kind of fabulous wealth that made the pyramids more than a tourist attraction. As the original civilization that built the pyramids mutated into something else, the monuments remained, eventually gaining considerable mystique. Today, there is wild and rampant speculation about what the pyramids mean, and what their geometric patterns are meant to achieve. In the 1970s, a brief pyramid craze erupted as New Age believers adopted the view that the shape itself was responsible for the preservation of mummies (in reality, the Egyptian's elaborate enbalming techniques deserved the credit). The pyramids also provoked the people of the 20th century to wonder about extraterrestrial intervention in the early history of humanity, for a number of reasons. For one thing, the edifices were mathematically pristine, and modern people tend to labor under the impression that any society without Must-See-TV can barely call itself civilized, let alone count or multiply.  Their actual construction is still something of a mystery, although the brutal exploitation of thousands of slaves may have had something to do with it. Then there were the other pyramids. Starting around 800 B.C. or so, the Aztec and Mayan civilizations in Central and South America were building pyramids of their own. While stylistically different, there were striking similarities in both style of construction and geometry. There is no credible theory at the moment which would explain the movement of architectural information between the Egyptians and the Aztecs. There are three possible explanations for the similarities: 1) People had pyramids somehow hardwired into their brains (there is no scientific evidence to support this notion), 2) Pyramids were first built by an original unified prehistoric human civilization that later dispersed over the world, spreading its architecture with it (there is no scientific evidence to support this notion), or 3) Aliens told people to build pyramids (there is no scientific evidence to support this notion, but there are some rather funky Mayan pictograms that look like people flying rocket ships).
IntermediateAs civilization went on, the early connection between geometry and spirituality remained in the minds of more "advanced" peoples. These manifested themselves in a variety of ways.The Mayans developed an inconceivably complicated calendar system. The Mayan calendar, depicted as an elaborate chart of pictograms, covered every significant and predictable astronomical event over a 10,000 year period. The cycle represented the current aeon of existence, and the calendar simply ends on Dec. 21, 2012, at which point the entire universe could simply come to an end. Around 350 B.C., Plato discovered the Platonic solids, which was no coincidence. The platonic solids numbered five, cubes, tetrahedrons, octohedrons, icosahedrons and dodecahedrons. That's a lot of hedrons! The Platonic solids were associated with the "elements," as they were known to early man, earth, air, fire and water, which later took on spiritual significance. In the Far East, math structures were also becoming part and parcel of spirituality. Between the first and second millennia B.C., the Chinese developed the I-Ching, a mathematical divination system that involved 64 hexagrams (each constructed from eight trigrams) made of solid and broken lines. The I-Ching was not intended to predict the future, but to offer counsel on the process of change occurring through time. A few hundred years after that, in southern and southeastern Asia, the mandala was invented somewhere in between Buddhism and Hinduism. The I-Ching and the mandala represented a major step forward in the concept of "Sacred Geometry," because they were efforts to depict abstract concepts such as time, higher dimensions and higher states of consciousness, rather than the simple charting of physical phenomena found in earlier efforts. Mandalas were used in meditative practice, their structure and optical illusion qualities helping to bring practitioners of yoga into a deep trance states, another new development. The use of diagrams and structures in achieving states of consciousness and other effects would begin to dominate sacred geometry from the first millennium B.C. onward. This concept became further developed as the kabala was first defined around the time of Christ. A branch of Jewish mysticism, kabala was a metaphysical system for understanding the universe that extended from deep mathematical roots, related to the numerical values of the Hebrew alphabet. The kabala developed into a complex system of correspondences, magic numbers and charts. Medieval occultists used the diagrams and concepts of the kabala to create elaborate magic rituals. Similar charts would pervade Magic practice, Witchcraft and other metaphysical systems for the next several hundred years, ranging from the pentagrams used by witches and occultists to vevers used in Voudoun to invoke loas.
AdvancedIn a rather shocking development, the onset of the scientific era in the 19th and 20th century uncovered numerous correspondences between the structures of sacred geometry and the new discoveries of science. For instance, the I-Ching's 64 hexes correspond to the 64-codon structure of human DNA, in a more precise way than the earlier spirals aped the shape of its strands.The higher dimensional math underlying the structure of the mandala turned out to be reflective of the higher dimensional math innovated by Albert Einstein and subsequently explored by quantum physicists. The kabalistic Tree of Life, with its ten "sephiroth" and one hidden sephiroth could be drawn as a correspondence to the 11-dimensional universe postulated in string theory, while other kabalistic treatises on the nature of spirit and body turned out to be pretty direct parables about the relationship between energy and matter laid out in the theory of relativity. Voudoun vevers also reflect those numerical schemes. Even the simple spiral on the cave wall found itself elevated. Humans had never lost their fascination with the spiral, and mathematicians such as Fermat and Fibonacci postulated various theories in the Middle Ages that extended the influence of the spiral far and wide. Fibonacci developed the theory of the Golden Ratio, a proportion that he claimed was at the heart of all nature and which could be used to build elaborate spirals found in nature. After an initial run of popularity in what passed for medieval "science" (simply another word for metaphysics), the cosmic importance of the Golden ratio was left in the dust along with notions like the "flat earth," as real science slowly emerged, but it staged an unlikely comeback. The more people learned about the universe, the more spirals they found, in places ancient people couldn't have imagined — the structures of galaxies, the event horizons of black holes, even the molecular components of life. The new spirals were often organized by a different principle. In the 19th century, mathematicians had begun to dream up theories about irrational numbers, which are numbers and equations which can't be solved to a single simple answer in the manner of 2+2=4. They speculated that these irrational numbers, called fractals, could be charted to reveal massively complex structures, but they lacked a way to create these complicated diagrams. It wasn't until the 1970s that anyone could see what these fractals looked like. When a mathemetician named Benoit Mandelbrot developed an extensive theory around fractals, he used newfangled computers to graph the complex systems. The results were stunning. Fractals are graphs that produce amazingly organic shapes of infinite complexity, clearly corresponding to natural processes including how embryos develop, the growth of plants, weather systems, the structure of space and time, and just about everything else too. The study of these complex systems and the relationship between math and life and time soon became a credible school of study, known as chaos theory. Between chaos theory and the near-magical world of quantum physics, it was beginning to look like the early sacred geometrists were actually on to something. Concepts such as time travel and miraculous transformations akin to alchemy were suddenly very real. Furthermore, the combination of chaos theory and quantum physics offered a nearly plausible explanation for how magic, witchcraft and psychic phenomena could actually work, at least in theory. Some aggressively speculative thinkers like Terence McKenna have developed elaborate explanations for how the I-Ching works with fractal time and the Mayan calendar, but we're veering away from the consensus reality definition of "science" at this point, so let's get back on topic. Chaos theory offers tantalizing clues to where all these sacred geometry concepts might have come from in the first place. The brain is clearly a complex system, literally grown from a fractal DNA root, and there is an emerging scientific school of thought that believes the abstract construct we refer to as consciousness is also fractal. What all this means, simply put, is that our bodies, minds, souls and even our DNA contain the unified blueprint for everything in the universe. If consciousness itself is fractal, with a mathematical base, then it stands to reason that these shapes and structures are literally hardwired into whatever it is that makes people people, whether they surface in dreams, visions or simply as a product of thinking about stuff too much. Of course, the flipside of this notion is that — in theory — if someone managed to solve the probably very simple equation that underlies all this mathematical complication, they could in theory create a computer model of everything — including your brain and all its dirty little secrets and every lousy thing you ever did or might ever do.
None of this answers why the hell an Illuminati pyramid is on the back of the dollar bill, but then that's a whole different kettle of fish.
|


{% extends "header.html" %} {% block body %}
In this video we're going to use matplotlib to further visualize our gamblers and their varying scenarios.
This will be especially useful for when we begin adding different bettor types. So far, we've only been able to see the a single person's various odds examples, nothing more.
Interestingly enough, at this point, should a bettor make their way to doubling their money, they might be thought of as having an expert strategy.
We know this is not true, but the same can be said for stock traders.
Most stock traders are graded on their performance, not by the weight of their risk. We can clearly see already, however, that, statistically, there must be some traders who heavily outperform. Just by sheer odds they must exist, but these people can blow up just as quickly, or usually faster, than they grew. Anyway, let's start up the graphing!
For now, let's actually plot the full path in its entirety. We could simply plot the end result, but that is somewhat boring.
You will need matplotlib for this. You can use pip install for this now by opening cmd.exe or bash and doing:
pip install matplotlib
If you need help with pip, check out the .
import random import matplotlib import matplotlib.pyplot as plt def rollDice(): roll = random.randint(1,100) if roll == 100: return False elif roll <= 50: return False elif 100 > roll >= 50: return True ''' Simple bettor, betting the same amount each time. ''' def simple_bettor(funds,initial_wager,wager_count): value = funds wager = initial_wager # wager X wX = [] #value Y vY = [] # change to 1, to avoid confusion so we start @ wager 1 # instead of wager 0 and end at 100. currentWager = 1 # change this to, less or equal. while currentWager <= wager_count: if rollDice(): value += wager # append # wX.append(currentWager) vY.append(value) else: value -= wager # append # wX.append(currentWager) vY.append(value) currentWager += 1 #print 'Funds:', value plt.plot(wX,vY) x = 0 # start this off @ 1, then add, and increase 50 to 500, then 1000 while x < 100: simple_bettor(10000,100,1000) x += 1 plt.ylabel('Account Value') plt.xlabel('Wager Count') plt.show()
At only 100 bets, it is clear that there is some edge, but it looks like a lot of people are getting lucky. It is only money, let's play!
Even at 1,000 bets, some people are making a lot of money!
... but at 100,000 it's extremely obvious. In my example, only 2 bettors are in the green. One just barely. A lot of bettors are in heavy debt./p>
This is why gamblers lose. Usually the odds are not extremely heavily stacked against them, just slightly. Casinos just understand basic psychology, knowing that "winning" is extremely addicting. Casinos are built to keep you in, and keep you playing.
In the short term, most players do not really realize that they are so certain to lose, the wins and losses seem pretty even. Some people, almost half, are statistically certain to actually profit. The problem is this is addicting, and they want to continue doing it. They end up continuing, and most end up handing back their gains.
At this point, bettors, with their bettor mind, begin to envision various strategies to overtake their odds.
One of the most common practices here is doubling up on losses. So, if you lose, you just double your wager until you win. After you've won, you revert back to your starting point. We just need that 1% edge, it should be super easy right?
Let's play that out in the next video.


Close
SelfieLess
Acts
Upload the deeds!
Overview
Upload Images
Share the act
Add a Category/User
Extra
Go to Home
About Us
Details
Enter Category
Add Category
Enter Username
Enter password
Add User


[gecode-users] Re:gecode with linear programming
Rafael Meneses
rafaparafernalia at gmail.com
Tue Jun 20 04:51:20 CEST 2006
On 6/19/06, j.brongniart at laposte.net <j.brongniart at laposte.net> wrote:
> Hi,
>
> First, sorry for my english...
>
> I have to implement a hybrid "Constraint Programming"/"Linéar
> Programming" algorithm and I want to known if it exist such a
> solution using gecode (Or maybe someone known a open-source
> project doing that) ?
>
I don't know that project, but we implement a column generation method
in Zeke. We use a lp_solve + gecode, the integration was beatiful. We
make a branch and price algorithm.
> Jerome
>
>
> Accédez au courrier électronique de La Poste : www.laposte.net ;
> 3615 LAPOSTENET (0,34 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
>
>
>
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
>
--
Rafael Meneses
http://www.zeke.cl
http://www.labsd.inf.utfsm.cl/~rmeneses
More information about the gecode-users
mailing list


databasedeclaration − RWP*Load Simulator declare a database connection
databasedeclaration
::=
database identifier
databasespecification { databasespecification }
databasespecification
::=
username concatenation
| password concatenation
| connect concatenation
| default
| results
| drcp
| reconnect
| [ threads ] dedicated [ requestmark |
statemark ]
| cursorcache expression
| sessionpool expression [ .. expression ]
| connectionclass concatenation
| connectionpool expression [ .. expression ]
| connect connectionpool identifier
| release expression
In the RWP*Load Simulator a database is a named variable with attributes telling how the actual database connection is established and used. An rwloadsim program can and often does have multiple databases used for different purposes. As an example, you have a database that uses a session pool to connect to your database under test as some application user, another database that uses a dedicated connection as a user with dba privileges used for queries against v$ views, and a third database that is your repository.
You use the database keyword followed by the name to start a database declaration. All attributes, except username are optional. Attributes are typically constants, mostly strings, but can very well be expressions using global or private variables.
username string
Specifies the login name used to connect to the database. You can login using a user with dba privileges, but rwloadsim does not support login using "as sysdba" or similar.
The username can be of the format also used at the command line for the -l option to rwloadsim, i.e. u/p@c.
password string
Specifies the login password used to connect to the database. Alternatively, it can be provided using the u/p@c format for the username. If not provided, you will be prompted for it.
connect string
Specifies the connect string used to connect to the database. Alternatively, it can be provided as the part after @ using the u/p@c format for the username. The value is provided directly to e.g. the OCIServerAttach call and can therefore be of any format accepted such as short form URL style, "//host/service" or the name of an entry in the tnsnames.ora file. If not provided, the empty string is assumed, which will imply connection via either the TWO_TASK or the ORACLE_SID environment variable. For all practical purposes, this is similar to how sqlplus does it.
default
Make this the database used by default when no atclause is used. It is recommended that you only use this in simple cases where only one database is in use; if multiple databases are needed, you are advised always to explicitly choose them using an atclause.
results
Marks this database as the database used for the rwloadsim repository.
drcp
Use pooling against a DRCP or PRCP database using OCISessionPool. Note that rwloadsim does not verify that you actually use a connect string including either :pooled in URL style or (server=pooled).
reconnect
Only connect when an actual database session is required by your rwloadsim program. Note that this can imply a high number of database connections and dis-connections.
dedicated
threads dedicated
Use dedicated connections that are established once and kept logged on during the complete execution. Each thread will get their own such a database connection. If using the second syntax, the main thread will use the reconnect method.
cursorcache value
Set the value of the OCI_ATTR_STMTCACHESIZE; the default is 20.
sessionpool value
sessionpool value .. value
Create a session pool, from which a session will be used when a procedure containing sql is being called. In the former case, the pool will have a fixed size, in the latter case, the size will be variable between the two values provided. OCISessionPool is used to implement this.
Note that this is the typical pooling method used by many popular application programming interface such as UCP for Java.
connectionpool value
connectionpool lo .. hi
Create a connectionpool pool, that can subsequently be used as the connection for dedicated, threads dedicated or reconnect database. In itself, a connection pool cannot be used to execute any sql or database statements as it has no session associated with it; a session only gets created when the connection pool is used by an actual database. The pool itself can have a size or a range of sizes, and it is implemented using OCIConnectionPool.
Note that many popular application programming interface such as UCP for Java does not have the counterpart of an OCIConnectionPool.
connect connectionpool identifier
When creating a dedicated, threads dedicated or reconnect database, rather than using an ordinary connect string, use the named connection pool.
release value
For a pool, set the timeout value for idle sessions (OCI_ATTR_SPOOL_TIMEOUT) or connections (OCI_ATTR_CONN_TIMEOUT); the default is 60s.
connectionclass string
For drcp and sessionpool this option specifies the required connection class that will be set using OCI_ATTR_CONNECTION_CLASS. If none is provided a default of "rwloadsim" will be used.
Dedicated database do not include session pooling and the connection will be established when the database is declared or when a thread is started. The database connection will be held until end of the program or thread.
If a (threads) dedicated database has been given the requestmark attribute, OCIRequestBegin() and OCIRequestEnd() will be called at the beginning and end of the first procedure containing SQL (or having explicit statistics). This can be used to test Application Continuity when a session pool is not in use.
If a (threads) dedicated database has been given the statemark attribute, the state of the session will change to OCI_SESSION_STATEFUL respectively OCI_SESSION_STATELESS at the beginning and end of the first procedure containing SQL (or having explicit statistics). This can improve session sharing with DRCP and PRCP.
Both features, requestmark and statemark, are to be considered experimental and may change in a future release.
For databases that include some type of pooling (sessionpool, reconnect or drcp), session acquire and release takes place at the beginning and end of the first procedure containing SQL, or the first procedure with an explicit statistics attribute.
The RWP*Load Simulator uses several methods to prevent database connection storms from happening. A connection storm is characterized by an attempt to create many database connections almost simultaneously. If you are using variable sized session pools, are using the reconnect method or extensively use release database, the risk of running into connection storms will be considerably higher than with any other connection methods.
If using or establishing a database connection fails with an error that is considered to be of "temporary" or "recoverable" nature, rwloadsim will attempt making the connection again. A few examples of such errors are ORA-00018, "maximum number of sessions exceeded" and ORA-03114 "not connected to ORACLE". The attempt at (re-)establishing the connection will be delayed by some seconds including a random part in order to prevent connection storms. Note that it is not guaranteed that a connection can be established. The full list of these errors is available in the routine rwldberror3 found in rwlerror.c.
Copyright
© 2021 Oracle Corporation
Licensed under the Universal Permissive License v 1.0 as
shown at https://oss.oracle.com/licenses/upl
declaration(1rwl), databasestatement(1rwl)


Web Site Terms and Conditions of Use
1. Terms
By accessing this web site, you are agreeing to be bound by these web site
Terms and Conditions of Use, all applicable laws and regulations, and agree
that you are responsible for compliance with any applicable local laws. If you
do not agree with any of these terms, you are prohibited from using or
accessing this site. The materials contained in this web site are protected by
applicable copyright and trade mark law.
2. Use License
-
Permission is granted to temporarily download one copy of the materials
(information or software) on wunderlist 2.0's web site for personal,
non-commercial transitory viewing only. This is the grant of a license, not
a transfer of title, and under this license you may not:
- modify or copy the materials;
-
use the materials for any commercial purpose, or for any public display
(commercial or non-commercial);
-
attempt to decompile or reverse engineer any software contained on
wunderlist 2.0's web site;
-
remove any copyright or other proprietary notations from the materials;
or
-
transfer the materials to another person or "mirror" the materials on
any other server.
-
This license shall automatically terminate if you violate any of these
restrictions and may be terminated by wunderlist 2.0 at any time. Upon
terminating your viewing of these materials or upon the termination of this
license, you must destroy any downloaded materials in your possession
whether in electronic or printed format.
3. Disclaimer
-
The materials on wunderlist 2.0's web site are provided "as is". wunderlist
2.0 makes no warranties, expressed or implied, and hereby disclaims and
negates all other warranties, including without limitation, implied
warranties or conditions of merchantability, fitness for a particular
purpose, or non-infringement of intellectual property or other violation of
rights. Further, wunderlist 2.0 does not warrant or make any representations
concerning the accuracy, likely results, or reliability of the use of the
materials on its Internet web site or otherwise relating to such materials
or on any sites linked to this site.
4. Limitations
In no event shall wunderlist 2.0 or its suppliers be liable for any damages
(including, without limitation, damages for loss of data or profit, or due to
business interruption,) arising out of the use or inability to use the
materials on wunderlist 2.0's Internet site, even if wunderlist 2.0 or a
wunderlist 2.0 authorized representative has been notified orally or in
writing of the possibility of such damage. Because some jurisdictions do not
allow limitations on implied warranties, or limitations of liability for
consequential or incidental damages, these limitations may not apply to you.
5. Revisions and Errata
The materials appearing on wunderlist 2.0's web site could include technical,
typographical, or photographic errors. wunderlist 2.0 does not warrant that
any of the materials on its web site are accurate, complete, or current.
wunderlist 2.0 may make changes to the materials contained on its web site at
any time without notice. wunderlist 2.0 does not, however, make any commitment
to update the materials.
6. Links
wunderlist 2.0 has not reviewed all of the sites linked to its Internet web
site and is not responsible for the contents of any such linked site. The
inclusion of any link does not imply endorsement by wunderlist 2.0 of the
site. Use of any such linked web site is at the user's own risk.
7. Site Terms of Use Modifications
wunderlist 2.0 may revise these terms of use for its web site at any time
without notice. By using this web site you are agreeing to be bound by the
then current version of these Terms and Conditions of Use.
8. Governing Law
Any claim relating to wunderlist 2.0's web site shall be governed by the laws
of the State of california without regard to its conflict of law provisions.
General Terms and Conditions applicable to Use of a Web Site.
Privacy Policy
Your privacy is very important to us. Accordingly, we have developed this
Policy in order for you to understand how we collect, use, communicate and
disclose and make use of personal information. The following outlines our
privacy policy.
-
Before or at the time of collecting personal information, we will identify
the purposes for which information is being collected.
-
We will collect and use of personal information solely with the objective of
fulfilling those purposes specified by us and for other compatible purposes,
unless we obtain the consent of the individual concerned or as required by
law.
-
We will only retain personal information as long as necessary for the
fulfillment of those purposes.
-
We will collect personal information by lawful and fair means and, where
appropriate, with the knowledge or consent of the individual concerned.
-
Personal data should be relevant to the purposes for which it is to be used,
and, to the extent necessary for those purposes, should be accurate,
complete, and up-to-date.
-
We will protect personal information by reasonable security safeguards
against loss or theft, as well as unauthorized access, disclosure, copying,
use or modification.
-
We will make readily available to customers information about our policies
and practices relating to the management of personal information.
We are committed to conducting our business in accordance with these
principles in order to ensure that the confidentiality of personal information
is protected and maintained.


Department of Mathematics
Indian Institute of Science
Bangalore 560 012
SEMINAR
|
Speaker |
: |
Dr. Anna Zaušková |
| Affiliation | : | Institute of Numerical Simulation, Hamburg University of Technology, Germany |
|
Subject Area |
: |
Mathematics
|
|
Venue |
: |
Lecture Hall - I, Dept of Mathematics
|
|
Time |
: |
4.00 pm
|
|
Date |
: |
February 15,2008 (Friday) |
|
Title |
: |
MATHEMATICAL MODELLING IN HEMODYNAMICS I |
| Abstract | : |
2D Mathematical model an numerical simulations of non-Newtonian shear dependent flow with fluid-structure interaction We present a mathematical model for blood flow, which consists of the interaction between vessel wall movement and the flow in a 2D channel with constricted area of stenosis. The Newtonian, as well as two non-Newtonian fluids are considered and compared in numerical experiments. For the vessel wall deformation the generalized string equation for radial symmetric tube is used and extended to a stenosed vessel. The global iterative approach to approximate the fluid structure interaction is used. Numerical methods implemented in UG software toolbox are described. Some computational simulations and comparisons of special hemodynamical control quantities, measuring the risk zones in blood vessel are shown and discussed at the end.
|


|
CmdMessenger
3.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
|
Public Member Functions | |
| Logger (string logFileName) | |
| bool | Open () |
| bool | Open (string logFileName) |
| void | Close () |
| void | Log (string logString) |
| void | LogLine (string logString) |
Public Attributes | |
| readonly Encoding | StringEncoder = Encoding.GetEncoding("ISO-8859-1") |
Properties | |
| bool | isEnabled [get, set] |
| bool | isOpen [get, set] |
| String | LogFileName [get, set] |
| Gets or sets the log file name. |
String CommandMessenger.TransportLayer.Logger.LogFileName [get, set] |
Gets or sets the log file name.
The logfile name .


A pair of Aldi Pinots to try, one white, one red and both less than €10
John Wilson’s wines for the weekend: A French Pinot Gris, an Australian Pinot Noir
by John WilsonThis week, two wines from Aldi’s Exquisite Collection range. The Australian Pinot Noir is a new addition; the Pinot Gris is an improved version of the previous Alsace Pinot Gris.
Exquisite Collection Pinot Gris, €9.99
Pinot Gris is the same grape as Pinot Grigio. Plump, mouth-watering melon and peach fruits balanced nicely by a lively fresh acidity. At a mere 12.5 per cent alcohol, this would make a great party wine, and would also go nicely with quiches, savoury tarts and lighter salads.
Irish Times
Food&Drink Club
Exclusive events, competitions, reviews & recipes Join now
Exquisite Collection South Australia Pinot Noir 2019, €8.99
Light, fresh and free of tannins, with leafy raspberry and red-cherry fruits and a touch of spice on the finish. Perfect with feathered game, mushroom risotto or fried salmon dishes.


--- layout: projects ---
My GitHub page has a lot of repos and a lot of dead ends and things not really ready for anyone to look at. So here is a list of the more interesting ones, some of which have additional documentation hosted here.
|
atto Incremental parser combinators for everyday parsing. Based on attoparsec. |
scaladoc tutorial |
|
doobie Pure functional JDBC layer for Scala. See also related presentations. |
scalaz book cats book scaladoc |
|
tut Literate REPL sessions for Scala. |
|
|
examples Example usage of scalaz and other quirky shit. Not super high quality but popular. |
|
|
tiny-world Simple monadic effect worlds via module abstraction and existential types. |
preso |
|
basic-dsl Ridiculous but interesting pure functional embedded BASIC interpreter. |


We help you workout more efficiently!
Our application will help you keep track of your weightlifting
exercises.
You've never experience a more advanced tracking and programming
weightlifting software like this!
With ProLift you will be able to track all your progress by logging
all your weightlifting data.
With our state-of-the-art machine learning algorithms, we'll help
you calibrate your workout outputs, and help plan future
programming.
After less than a few weeks of data input, and with the help of our
professional bodybuilders and weightlifters on staff, ProLift will
generate your programming to match your weightlifting goals.
We will show you three options of goals to strive for, and set you
on track to muscle building success. ProLift will recalibrate every
four weeks to make sure our program and your goals are aligned.
It is in our human nature to desire a target to look forward to,
ProLift will create new challenges for you based on your progress.
Leaning out, building mass, or simply targeting strength goals, our
proprietary algorithsm will deliver unique challenges to your
programming to help you achieve your goals efficiently.


Radiology is a specialty that uses medical imaging to diagnose and treat diseases seen within the body. A variety of imaging techniques such as X-ray radiography, ultrasound, computed tomography (CT), nuclear medicine including positron emission tomography (PET), and magnetic resonance imaging (MRI) are used to diagnose and/or treat diseases.
Radiology may be divided into two different areas, diagnostic radiology and interventional radiology. In our project, we will be concentrating on diagnostic radiology which includes CAT scan, MRI scan, X-Rays.


Parsing Windows event log files (.evtx) using Python
Recently I came across a problem in which I had to convert .evtx files (Windows Event Log files) to a human readable format like XML, CSV, JSON etc.
There’s this popular and only working parser that I know about python-evtx. It parses .evtx files to XML format.
These are the steps which I followed:
-
Clone the python-evtx directory in your system.
1
git clone https://github.com/williballenthin/python-evtx.git
-
Go into the cloned directory.
1
cd python-evtx
-
Install the libraries
1
python3 setup.py install
-
Go to the scripts directory inside python-evtx.
1
cd scripts
-
Run the following command if you just have one file which you want to convert.
1
python3 evtx_dump.py /mnt/data/alisha/logs/dc/security.evtx
-
In my case, I had folders inside folders which had .evtx files to convert, so I did:
1 2 3 4 5
for file in $(find /mnt/data/alisha/logs/ -iname "*.evtx") do python3 evtx_dump.py $file > /mnt/data/alisha/parsed-evtx/`basename "$file"`.xml echo "$file: $?" >> conversion.log done
It will first check every file inside the logs folder for .evtx extension and run evtx_dump.py on every file thereafter storing the
.xml in a new folder, i.e., parsed-evtx. If it is not able to parse a file into XML due to some error, the filename will get saved in conversion.log. I hope this will help someone!


Postal Explorer > Publication 28 - Postal Addressing Standards > Appendix C > C2 Secondary Unit Designators
Description
Approved Abbreviation
Apartment
APT
Basement
BSMT**
Blank, unable to determine*
Building
BLDG
Department
DEPT
Floor
FL
Front
FRNT**
Hanger
HNGR
Key
KEY
Lobby
LBBY**
Lot
LOT
Lower
LOWR**
Office
OFC**
Penthouse
PH**
Pier
PIER
Rear
REAR**
Room
RM
Side
SIDE**
Slip
SLIP
Space
SPC
Stop
STOP
Suite
STE
Trailer
TRLR
Unit
UNIT
Upper
UPPR**
* Requires the pound sign (#) to be used on the mailpiece.
** Does not require a Secondary RANGE to follow.


A network of independent researchers passionate about experiencing new realities with artificial intelligence (AI) and wanting to leave an impact in the world. We envision a breakthrough in AI and strive to create cutting-edge AI technology that will revolutionize the world.
Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
Call to actionParagraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
Call to actionParagraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.
Call to actionKnow what inspires us.
Thank you for putting together such a great product. We loved working with you and the whole team, and we will be recommending you to others!
The whole team was a huge help with putting things together for our company and brand. We will be hiring them again in the near future for additional work!


Benefits of Slack
Created by @amandabernardo
What is Slack?
Slack is a collaboration hub that can replace email to help you and your team work together seamlessly.
A Slack workspace is made up of channels, where team members can communicate and work together.
Comparing Plans - Key Differences
Free
- Only the 10k most recent messages are searchable
- 5 GB storage / Workspace
- 1 to 1 voice calls
- Only 10 App integrations
- Limited Analytics
Standard
- Unlimited Messages
- 10 GB storage / member
- Up to 15 people for voice calls (+ added features)
- Unlimited Apps
- Multi / Single Channel guests
Plus
- All Standard Features
- 20 GB storage / member
- 24 / 7 support
- Real time Active Directory
- 99.99% guaranteed uptime
Tips for Remote Work
- Create a dedicated announcement channel
- Organize your work by channels (e.g.: a channel per project)
- Connect the tools you use everyday (e.g.: Outlook, GSuite)
- Adopt shared channels (collaborate in / outside your org)
- Post status updates (on a call, having lunch, etc.)
- Make calls without leaving Slack (integrated options)
Security - Using Slack in Government
Slack should only be used for unclassified transitory information. All Government of Canada Information Management policies must be followed when dealing with classified, sensitive or non-transitory information.
For additional support, check out: Should it be blocked in my Department?


Home → Destinations
BOTSWANA
Travel to Botswana where fewer tourists, thriving wildlife populations and magnificent and diverse landscapes add up for an incomparable safari experience. On our luxury Botswana safaris, you will explore the varied terrain from the dry grassy plains of the Kalahari Desert and Okavango Delta, the world’s largest inland delta and one of the last great wilderness areas on the planet. Each unique region features an abundance of wildlife; elephants, buffaloes, hippos, wildebeests, giraffes, and many more. We customize a safari experience to include all areas of interest from the Kalahari Desert, Okavango Delta, Linyanti and Chobe rivers right through to Victoria Falls. Explore luxury African safari camps for as few as 6 people as our Botswana trips offer exceptional guiding and luxurious creature comforts. Safaris to Botswana are best suited for discerning wilderness enthusiasts and soul of wild Africa.
CAPE TOWN
Cape Town and its surrounds are world-class and have regularly been voted Africa's top city to visit and live in. Flying over this scenic city you can see why — it’s natural beauty is breathtaking. Table Mountain is the backdrop of the city that features Dutch and English architecture, the historic Victoria & Alfred Waterfront District and Kirstenbosch Botanic Gardens, and of course the Cape Peninsula & Boulders Beach Penguin colony. The Winelands are a destination not to be missed with some world famous wine estates where one can spend time with winemakers and learn how this region differs from the rest of the world. One of our most favorite places to send our discerning guests!
KENYA
A safari to Kenya allows one to experience astonishing biodiversity of mountain, coastal and African avannah ecosystems where proud local peoples live in harmony with wildlife. Located in the heart of East African safari country, Kenya features one of the world’s greatest wildlife spectacles: the annual migration of millions of wildebeest and zebra. From the vast Serengeti plains to the amber-colored hills of the Mara, over 1.4 million wildebeest 200,000 zebra and gazelle, followed closely by Africa’s great predators, migrate in a clock-wise fashion over 1,800 miles each year following the rains and corresponding lush grasses.
MAURITIUS
Tanzania is home to three of Africa’s most iconic parks: the Serengeti, Ngorongoro Crater and Mount Kilimanjaro. Our Tanzania safaris are custom crafted to maximize wildlife experiences and create authentic encounters with the local people. This includes taking you to the top of Africa’s tallest peak, exploring the vast Serengeti Plains (also home to the annual wildebeest migration of 1.4 million animals) and experiencing the white sandy beaches of the spice island of Zanzibar.
TANZANIA
Tanzania is home to three of Africa’s most iconic parks: the Serengeti, Ngorongoro Crater and Mount Kilimanjaro. Our Tanzania safaris are custom crafted to maximize wildlife experiences and create authentic encounters with the local people. This includes taking you to the top of Africa’s tallest peak, exploring the vast Serengeti Plains (also home to the annual wildebeest migration of 1.4 million animals) and experiencing the white sandy beaches of the spice island of Zanzibar.
RWANDA & UGANDA
Home to the last places to view gorillas in the wild. Not to mention chimpanzees and countless other primates and birdlife, Rwanda and Uganda abound with lush tropical forests, mountains and lakes that are unforgettable. You can include gorilla trekking as an extension to your Kenya or Tanzania safari or have us plan a custom trip to some of the beautiful parks and reserves like Volcanoes National and Nyungwe Forest in Rwanda and Queen Elizabeth, Murchison Falls and Bwindi Impenetrable Forest in Uganda.


GoTableColumnComponent
is required to render columns within
go-table
and is exported within GoTableModule
.
go-table-column
cannot render outside of go-table
.
Determines the vertical alignment for the column in respect to all other columns. By default this is set to middle
.
This may be set to top
, middle
, or bottom
.
Defines data to be shown by linking column to the appropriate key within object defined in tableData
when constructing GoTableConfig
. For example if tableData
was set to:
and we wanted "John" to show, then
field
would be set to name.first
.
This binding is used in combination with the searchConfig
in the GoTableConfig
to tell a column whether it's searchable or not. It defaults to true
, but can be
turned off for columns that don't make sense with searching, like booleans, images or actionable icons. More information
can be found here
This binding defines if sorting is enabled for the column. For this binding to work, GoTableConfig
must have sortable
set to true
.
By default sorting is enabled when sortable
is set to true
within GoTableConfig
.
This binding sets the column title.
This binding sets the minimum possible width for column. The value must be in pixels.
This binding overrides the wrapContent
binding on the go-table
component. By default it is unset and will not override the parent table's binding.


WHAT: A modal dialog opening another modal dialog (including a datepicker), opening a non-modal dialog (including an autocomplete with tooltip applied). A regular link on the page, outside of the dialogs.
EXPECTED: As long as a modal dialog is open, focus stays within the dialogs. Both mouse and keyboard interactions are captured and restricted to the dialog. When the nested modal dialog is open, the first modal dialog can't be interacted with, until the nested dialog is closed. When the third dialog is open (not modal), switching between the two dialogs is possible, both can be interacted with.
This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.
Date:


|
Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
An efficient implementation of a dynamically-allocated 1D array. More...
#include <VectorMatrix.h>
Public Member Functions | |
| VectorMatrix (string t="complete", string i="const", int r=1, int c=1, BGFLOAT m=0.0, string v="") | |
| VectorMatrix (const VectorMatrix &oldV) | |
| Copy constructor. Performs a deep copy. More... | |
| virtual | ~VectorMatrix () |
| De-allocate storage. | |
| const VectorMatrix & | operator= (BGFLOAT c) |
| Set elements of vector to a constant. Doesn't change its size. More... | |
| const VectorMatrix & | operator= (const VectorMatrix &rhs) |
| Assignment operator. More... | |
| virtual void | Print (ostream &os) const |
| Polymorphic output. Produces text output on stream "os". More... | |
| virtual string | toXML (string name="") const |
| Produce XML representation of vector in string return value. | |
| const BGFLOAT & | operator[] (int i) const |
| Access element of a VectorMatrix. Zero-based index; constant-time. More... | |
| const BGFLOAT & | at (int i) const |
| access element of a VectorMatrix. Zero-based index; constant-time. More... | |
| int | Size (void) const |
| The length of a VectorMatrix elements. More... | |
| BGFLOAT & | operator[] (int i) |
| mutate element of a VectorMatrix. Zero-based index; constant time. More... | |
| BGFLOAT & | at (int i) |
| mutate element of a VectorMatrix. Zero-based index. More... | |
| virtual const VectorMatrix | operator+ (const VectorMatrix &rhs) const |
| Compute the sum of two VectorMatrices of the same length. More... | |
| virtual const VectorMatrix | operator+ (BGFLOAT c) const |
| vector plus a constant. Adds each element of the vector plus a constant. Method version (vector on LHS). More... | |
| virtual BGFLOAT | operator* (const VectorMatrix &rhs) const |
| There are two possible vector products. This is an inner product. More... | |
| virtual const VectorMatrix | operator* (const CompleteMatrix &rhs) const |
| Vector times a Complete Matrix. More... | |
| virtual const VectorMatrix | ArrayMultiply (const VectorMatrix &rhs) const |
| Element-by-element multiplication of two vectors. More... | |
| virtual const VectorMatrix | operator* (BGFLOAT c) const |
| Constant times a vector. Multiplies each element of the vector by a constant. Method version (vector on LHS) More... | |
| virtual const VectorMatrix | operator/ (BGFLOAT c) const |
| Vector divided by a constant. Divides each element of the vector by a constant. More... | |
| virtual const VectorMatrix | Limit (BGFLOAT low, BGFLOAT high) const |
| Limit values of a vector. Clip values to lie within range. More... | |
| virtual BGFLOAT | Min (void) const |
| Find minimum value of vector. More... | |
| virtual BGFLOAT | Max (void) const |
| Find maximum value of vector. More... | |
| virtual const VectorMatrix & | operator+= (const VectorMatrix &rhs) |
| Compute and assign the sum of two VectorMatrices of the same length. More... | |
| Public Member Functions inherited from Matrix | |
| virtual | ~Matrix () |
| Virtual Destructor. | |
Protected Member Functions | |
| void | clear (void) |
| Frees up all dynamically allocated storage. | |
| void | copy (const VectorMatrix &source) |
| Performs a deep copy. More... | |
| void | alloc (int size) |
| Allocates storage for internal Vector storage. More... | |
| Protected Member Functions inherited from Matrix | |
| Matrix (string t="", string i="", int r=0, int c=0, BGFLOAT m=0.0) | |
| void | SetAttributes (string t, string i, int r, int c, BGFLOAT m, int d) |
| Convenience mutator. More... | |
Protected Attributes | |
| int | dimensions |
| One or two dimensional. | |
| int | rows |
| Number of rows in Matrix (>0) | |
| int | columns |
| Number of columns in Matrix (>0) | |
| Protected Attributes inherited from Matrix | |
| string | type |
| string | init |
| int | rows |
| Number of rows in Matrix (>0) | |
| int | columns |
| Number of columns in Matrix (>0) | |
| BGFLOAT | multiplier |
| Constant used for initialization. | |
| int | dimensions |
| One or two dimensional. | |
Friends | |
| const VectorMatrix | operator* (BGFLOAT c, const VectorMatrix &rhs) |
| Constant times a vector. More... | |
| const VectorMatrix | operator* (const VectorMatrix &v, const SparseMatrix &m) |
| Vector times sparse matrix. More... | |
| const VectorMatrix | operator- (BGFLOAT c, const VectorMatrix &v) |
| Constant minus a vector. Subtracts each element of the vector from a constant. More... | |
| const VectorMatrix | operator/ (BGFLOAT c, const VectorMatrix &v) |
| Constant divided by a vector. Divides the constant by each element of a vector. More... | |
| const VectorMatrix | operator+ (BGFLOAT c, const VectorMatrix &rhs) |
| Constant plus a vector. Adds each element of the vector and a constant. More... | |
| const VectorMatrix | sqrt (const VectorMatrix &v) |
| Element-wise square root of vector. Computes square root of each element of vector. More... | |
| const VectorMatrix | exp (const VectorMatrix &v) |
| Element-wise e^x for vector. Computes exp(v[i]) of each element of vector. More... | |
An efficient implementation of a dynamically-allocated 1D array.
This is a self-allocating and de-allocating 1D array that is optimized for numerical computation. A bit of trial and error went into this. Originally, the idea was to manipulate VectorMatrices using superclass pointers, which would allow generic computation on mixtures of subclass objects. However, that doesn't work too well with numeric computation, because of the need to have "anonymous" intermediate results. So, instead this is implemented as most classes would be, with the hope that compilers will optimize out unnecessary copying of objects that are intermediate results in numerical computations. Note that, while this class keeps track of the number of rows and columns it has, no distinction is made between row and column vectors, and in fact it is treated as either, depending on the context of the mathematical operation.
Definition at line 54 of file VectorMatrix.h.
| VectorMatrix::VectorMatrix | ( | string | t = "complete" , |
| string | i = "const" , |
||
| int | r = 1 , |
||
| int | c = 1 , |
||
| BGFLOAT | m = 0.0 , |
||
| string | values = "" |
||
| ) |
Allocate storage and initialize attributes. Either "rows" or "columns" must be equal to 1. If "v" is not empty, it will be used as a source of data for initializing the vector (and must be a list of whitespace separated textual numeric data with the same number of elements as this VectorMatrix).
| Matrix_bad_alloc | |
| Matrix_invalid_argument |
| t | Matrix type |
| i | Matrix initialization |
| r | rows in Matrix |
| c | columns in Matrix |
| m | multiplier used for initialization |
| v | values for initializing VectorMatrix |
Definition at line 32 of file VectorMatrix.cpp.
| VectorMatrix::VectorMatrix | ( | const VectorMatrix & | oldV | ) |
Copy constructor. Performs a deep copy.
| oldV | The source VectorMatrix |
Definition at line 81 of file VectorMatrix.cpp.
|
protected |
Allocates storage for internal Vector storage.
| Matrix_bad_alloc | |
| MatrixException |
| size | number of Vector elements |
Definition at line 130 of file VectorMatrix.cpp.
|
virtual |
Element-by-element multiplication of two vectors.
| Matrix_domain_error |
| rhs | right-hand argument to the vector/matrix product. Must be same size as current vector |
Definition at line 225 of file VectorMatrix.cpp.
|
inline |
mutate element of a VectorMatrix. Zero-based index.
| i | index |
Definition at line 131 of file VectorMatrix.h.
|
inline |
access element of a VectorMatrix. Zero-based index; constant-time.
| i | index |
Definition at line 110 of file VectorMatrix.h.
|
protected |
Performs a deep copy.
| source | VectorMatrix to copy from |
Definition at line 118 of file VectorMatrix.cpp.
|
virtual |
Limit values of a vector. Clip values to lie within range.
| low | lower limit |
| high | upper limit |
Definition at line 285 of file VectorMatrix.cpp.
|
virtual |
|
virtual |
|
virtual |
Constant times a vector. Multiplies each element of the vector by a constant. Method version (vector on LHS)
| c | The constant |
Definition at line 241 of file VectorMatrix.cpp.
|
virtual |
Vector times a Complete Matrix.
Treats this vector as a row vector; multiplies by matrix with same number of rows as size of this vector to produce a new vector the same size as the number of columns of the matrix
| Matrix_domain_error |
| rhs | right-hand argument to the vector/matrix product |
Definition at line 208 of file VectorMatrix.cpp.
|
virtual |
There are two possible vector products. This is an inner product.
| Matrix_domain_error |
| rhs | right-hand argument to the inner product. |
Definition at line 191 of file VectorMatrix.cpp.
|
virtual |
vector plus a constant. Adds each element of the vector plus a constant. Method version (vector on LHS).
| c | The constant |
Definition at line 180 of file VectorMatrix.cpp.
|
virtual |
Compute the sum of two VectorMatrices of the same length.
| Matrix_domain_error |
| rhs | right-hand argument to the addition. Must be same length as this. |
Definition at line 164 of file VectorMatrix.cpp.
|
virtual |
Compute and assign the sum of two VectorMatrices of the same length.
| Matrix_domain_error |
| rhs | right-hand argument to the addition. Must be same length as this. |
Definition at line 343 of file VectorMatrix.cpp.
|
virtual |
Vector divided by a constant. Divides each element of the vector by a constant.
| c | The constant |
Definition at line 252 of file VectorMatrix.cpp.
| const VectorMatrix & VectorMatrix::operator= | ( | BGFLOAT | c | ) |
Set elements of vector to a constant. Doesn't change its size.
| c | the constant |
Definition at line 87 of file VectorMatrix.cpp.
| const VectorMatrix & VectorMatrix::operator= | ( | const VectorMatrix & | rhs | ) |
Assignment operator.
| rhs | right-hand side of assignment |
Definition at line 95 of file VectorMatrix.cpp.
|
inline |
mutate element of a VectorMatrix. Zero-based index; constant time.
| i | index |
Definition at line 126 of file VectorMatrix.h.
|
inline |
Access element of a VectorMatrix. Zero-based index; constant-time.
| i | index |
Definition at line 105 of file VectorMatrix.h.
|
virtual |
Polymorphic output. Produces text output on stream "os".
| os | stream to output to |
Implements Matrix.
Definition at line 143 of file VectorMatrix.cpp.
|
inline |
The length of a VectorMatrix elements.
Definition at line 114 of file VectorMatrix.h.
|
friend |
Element-wise e^x for vector. Computes exp(v[i]) of each element of vector.
| v | The vector |
Definition at line 333 of file VectorMatrix.cpp.
|
friend |
Constant times a vector.
Multiplies each element of the vector by a constant. Function version (constant on LHS)
| c | The constant |
| rhs | The vector |
Definition at line 218 of file VectorMatrix.h.
|
friend |
Vector times sparse matrix.
Size of v must equal to number of rows of m. Size of resultant vector is equal to number Of columns of m.
| Matrix_domain_error |
Matrix times vector. Size of v must equal to number of rows of m. Size of resultant vector is equal to number Of columns of m.
| Matrix_domain_error |
Definition at line 615 of file SparseMatrix.cpp.
|
friend |
Constant plus a vector. Adds each element of the vector and a constant.
| c | The constant |
| rhs | The vector |
Definition at line 250 of file VectorMatrix.h.
|
friend |
Constant minus a vector. Subtracts each element of the vector from a constant.
| c | The constant |
| v | The vector |
Definition at line 263 of file VectorMatrix.cpp.
|
friend |
Constant divided by a vector. Divides the constant by each element of a vector.
| c | The constant |
| v | The vector |
Definition at line 274 of file VectorMatrix.cpp.
|
friend |
Element-wise square root of vector. Computes square root of each element of vector.
| v | The vector |
Definition at line 322 of file VectorMatrix.cpp.


Available on: http://pokoli.github.io/continuous-delivery
Deployment to Multiple Environments
Canary deployments
https://gitlab.com/pokoli/continuous-delivery-demo
The presentation code is avaiable on
http://github.com/pokoli/continuous-delivery


Alvar Aalto is one of the greatest names in modern architecture and design. Glassblowers at the iittala factory still meticulously handcraft the legendary vases that are variations on one theme, fluid organic shapes that let the end user decide the use. Interpretations of the shape in new colors and materials add to the growing Alvar Aalto Collection that remains true to his original design.
Born Hugo Alvar Henrik Aalto (February 3, 1898 - May 11, 1976) in Kuortane, Finland, was noted for his humanistic approach to modernism. He studied architecture at the Helsinki University of Technology from 1916 to 1921. In 1924 he married architect Aino Marsio.
Alvar Aalto was one of the first and most influential architects of the Scandinavian modern movement, and a member of the Congres Internationaux d'Architecture Moderne. Major architectural works include the Finlandia Hall in Helsinki, Finland, and the campus of Helsinki University of Technology.
Source: www.aalto.com


finally back
Posted: Mon Apr 27, 2009 5:44 pm
sorry i havent been on in a while
but we have had to do invertory wherre i work
and we are fixing to move so it has been real crazy here.
but i will be back on in a few days or so.
but we have had to do invertory wherre i work
and we are fixing to move so it has been real crazy here.
but i will be back on in a few days or so.


For the report / inquire / process form which required range criteria selction. Select record from the editbox.
The default value of start is All, the end control is locked.
The directive compare the string in alphabetically
Usage
- Use inside of entry
Arguments
| Param |
Type |
Details |
| ng-model |
expression |
assignable expression to bind to |
| range |
string |
[start | end], actual this is the editbox argument, specify the start/end control for create a watch listener |
| range-value |
string |
assignable expression to bind to, actual this is the editbox argument, specify the start/end value for create range behaviour |
Methods
| Method |
Return Value |
Description |
| Initialize() |
null |
Initialize the directive |
| InitScope |
null |
Initialize the directive scope |
| InitDirective |
null |
Build the default behaviors |


PHYSAG Welcomes you to physics
The Physics Department was established in 1978.We are really proud of our selves.