public class Page.Annotation
extends java.lang.Object
| Constructor and Description |
|---|
Page.Annotation() |
| Modifier and Type | Method and Description |
|---|---|
Ref |
Advance_GetRef()
advanced function to get reference of annotation object.
this method require premium license. |
void |
Advance_Reload()
advanced function to reload annotation object, after advanced methods update annotation object data.
this method require premium license. |
java.lang.String |
Get3D()
get annotation's 3D object name.
this method require professional or premium license |
boolean |
Get3DData(java.lang.String save_file)
get annotation's 3D data.
|
java.lang.String |
GetAttachment()
get annotation's attachment name.
this method require professional or premium license |
boolean |
GetAttachmentData(java.lang.String save_file)
get annotation's attachment data.
this method require professional or premium license |
int |
GetCheckStatus()
get status of check-box and radio-box.
this method require premium license |
java.lang.String |
GetComboItem(int item)
get an item of combo-box.
this method require premium license |
int |
GetComboItemCount()
get item count of combo-box.
this method require premium license |
int |
GetComboItemSel()
get current selected item index of combo-box.
this method require premium license |
int |
GetDest()
get annotation's destination.
this method require professional or premium license |
int |
GetEditMaxlen()
get max-len of edit-box.
this method require premium license |
java.lang.String |
GetEditText()
get contents of edit-box.
this method require premium license |
int |
GetEditTextColor()
get text color for edit-box annotation.include text field and free-text.
this method require premium license |
java.lang.String |
GetEditTextFormat()
get format of edit-box.
this method require premium license |
boolean |
GetEditTextRect(float[] rect)
get position and size of edit-box.
for FreeText annotation, position of edit-box is not the position of annotation. so this function is needed for edit-box. |
float |
GetEditTextSize()
get text size of edit-box.
this method require premium license |
int |
GetEditType()
get type of edit-box.
this method require premium license |
int |
GetFieldFlag()
get annotation field flag in acroForm.
this method require premium license |
java.lang.String |
GetFieldFormat()
get format of edit-box.
this method require premium license |
java.lang.String |
GetFieldFullName()
get name of the annotation.
this method require premium license |
java.lang.String |
GetFieldFullName2()
get full name of the annotation with more details.
this method require premium license |
java.lang.String |
GetFieldName()
get name of the annotation without NO.
|
java.lang.String |
GetFieldNameWithNO()
get name of the annotation.
this method require premium license |
int |
GetFieldType()
get annotation field type in acroForm.
this method require premium license |
java.lang.String |
GetFileLink()
get annotation's file link path string.
this method require professional or premium license |
int |
GetFillColor()
get fill color of square/circle/highlight/line/ploygon/polyline/sticky text/free text/text field annotation.
this method require professional or premium license |
int |
GetIcon()
get icon value for sticky text note/file attachment/Rubber Stamp annotation.
this method require professional or premium license |
int |
GetIndexInPage()
get this annotation index in page.
|
Path |
GetInkPath()
get Path object from Ink annotation.
this method require professional or premium license |
java.lang.String |
GetJS()
get annotation's java-script string.
this method require professional or premium license |
java.lang.String |
GetListItem(int item)
get an item of list-box.
this method require premium license |
int |
GetListItemCount()
get item count of list-box.
this method require premium license |
int[] |
GetListSels()
get selected indexes of list-box.
this method require premium license |
float[] |
GetMarkupRects()
get markup annotation's boxes.
this method require professional or premium license |
java.lang.String |
GetMovie()
get annotation's movie name.
this method require professional or premium license |
boolean |
GetMovieData(java.lang.String save_file)
get annotation's movie data.
this method require professional or premium license |
java.lang.String |
GetName()
get annotation's name("NM" entry).
this method require professional or premium license |
Path |
GetPolygonPath()
get Path object from Polygon annotation.
this method require professional or premium license |
Path |
GetPolylinePath()
get Path object from Polyline annotation.
this method require professional or premium license |
Page.Annotation |
GetPopup()
get popup Annotation associate to this annotation.
|
java.lang.String |
GetPopupLabel()
get annotation's popup text, mostly it means the author.
if this annotation is popup annotation, it get parent annotation's label. this method require professional or premium license. |
boolean |
GetPopupOpen()
get open status for Popup Annotation.
if this annotation is not popup annotation, it return Popup annotation open status, which associate to this annotation. this method require professional or premium license. |
java.lang.String |
GetPopupSubject()
get annotation's popup subject.
if this annotation is popup annotation, it get parent annotation's subject. this method require professional or premium license |
java.lang.String |
GetPopupText()
get annotation's popup text.
if this annotation is popup annotation, it get parent annotation's text. this method require professional or premium license. |
float[] |
GetRect()
get annotation's box rectangle.
this method require professional or premium license |
long |
GetRef() |
java.lang.String |
GetRemoteDest()
get remote link.
this method require professional or premium license |
boolean |
GetReset()
check if the annotation is reset button?
this method require premium license |
boolean |
GetRichMediaData(java.lang.String asset,
java.lang.String save_path)
save an asset to a file.
this method require professional or premium license. |
int |
GetRichMediaItemActived()
get actived item of RichMedia annotation.
this method require professional or premium license. |
java.lang.String |
GetRichMediaItemAsset(int idx)
return asset name of content of an item of RichMedia annotation.
this method require professional or premium license. |
int |
GetRichMediaItemCount()
get item count of RichMedia annotation.
this method require professional or premium license. |
java.lang.String |
GetRichMediaItemPara(int idx)
return parameters of an item of RichMedia annotation.
this method require professional or premium license. |
java.lang.String |
GetRichMediaItemSource(int idx)
return source of an item of RichMedia annotation.
this method require professional or premium license. |
boolean |
GetRichMediaItemSourceData(int idx,
java.lang.String save_path)
save source of an item of RichMedia annotation to a file.
this method require professional or premium license. |
int |
GetRichMediaItemType(int idx)
get content type of an item of RichMedia annotation.
this method require professional or premium license. |
int |
GetSignStatus()
get status of signature field.
this method require premium license |
java.lang.String |
GetSound()
get annotation's sound name.
this method require professional or premium license |
boolean |
GetSoundData(int[] paras,
java.lang.String save_file)
get annotation's sound data.
this method require professional or premium license |
int |
GetStrokeColor()
get stroke color of square/circle/ink/line/underline/Squiggly/strikeout/ploygon/polyline/free text/text field annotation.
this method require professional or premium license |
float |
GetStrokeWidth()
get stroke width of square/circle/ink/line/ploygon/polyline/free text/text field annotation.
for free text annotation: width of edit-box border this method require professional or premium license |
java.lang.String |
GetSubmitPara()
get annotation submit parameters.
mail mode: return whole XML string for form data. other mode: url data likes: "para1=xxx¶2=xxx". this method require premium license |
java.lang.String |
GetSubmitTarget()
get annotation submit target.
this method require premium license |
int |
GetType()
get annotation type.
this method require professional or premium license |
java.lang.String |
GetURI()
get annotation's URL link string.
this method require professional or premium license |
boolean |
InsertComboItem(int item,
java.lang.String val,
java.lang.String txt)
only works under premium license.
|
boolean |
InsertListItem(int item,
java.lang.String val,
java.lang.String txt)
only works under premium license.
|
boolean |
IsHide()
check whether the annotation is hide.
|
boolean |
IsLocked()
check if position and size of the annotation is locked?
this method require professional or premium license |
boolean |
IsLockedContent()
check if texts of the annotation is locked?
this method require professional or premium license |
boolean |
IsReadOnly()
is this annotation read-only?
|
boolean |
MoveToPage(Page dst_page,
float[] rect)
move annotation to another page.
this method just like invoke Page.CopyAnnot() and Annotation.RemoveFromPage(), but, less data generated. Notice: ObjsStart or RenderXXX shall be invoked for dst_page. |
boolean |
RemoveComboItem(int item)
only works under premium license.
|
boolean |
RemoveFromPage()
remove annotation
you should re-render page to display modified data. this method require professional or premium license |
boolean |
RemoveListItem(int item)
only works under premium license.
|
boolean |
RenderToBmp(Bitmap bitmap)
render an annotation to Bitmap.
|
boolean |
SetCheckValue(boolean check)
set value to check-box.
you should re-render page to display modified data. this method require premium license |
boolean |
SetComboItem(int item)
set current selected.
you should re-render page to display modified data. this method require premium license |
boolean |
SetEditFont(Document.DocFont font)
set font of edittext.
you should re-render page to display modified data. this method require premium license. |
boolean |
SetEditText(java.lang.String text)
set contents of edit-box.
you should re-render page to display modified data. this method require premium license. Notice: this method not check format as GetEditTextFormat. |
boolean |
SetEditTextColor(int color)
set text color for edit-box annotation.include text field and free-text
this method require premium license |
boolean |
SetFillColor(int color)
set fill color of square/circle/highlight/line/ploygon/polyline/sticky text/free text/text field annotation.
you need render page again to show modified annotation. this method require professional or premium license |
void |
SetHide(boolean hide)
set hide status for annotation.
|
boolean |
SetIcon(int icon)
set icon for sticky text note/file attachment/Rubber Stamp annotation.
you need render page again to show modified annotation. this method require professional or premium license |
boolean |
SetIcon(java.lang.String name,
PageContent content)
set customized icon for sticky text note/file attachment annotation.
|
boolean |
SetInkPath(Path path)
set Path to Ink annotation.
you need render page again to show modified annotation. this method require professional or premium license |
boolean |
SetListSels(int[] items)
set selects of list-box
this method require premium license
|
void |
SetLocked(boolean lock)
set annotation lock status.
|
boolean |
SetName(java.lang.String name)
set annotation's name("NM" entry).
this method require professional or premium license |
boolean |
SetPolygonPath(Path path)
set Path to Polygon annotation.
you need render page again to show modified annotation. this method require professional or premium license |
boolean |
SetPolylinePath(Path path)
set Path to Polyline annotation.
you need render page again to show modified annotation. this method require professional or premium license |
boolean |
SetPopupLabel(java.lang.String val)
set annotation's popup label, mostly it means the author.
if this annotation is popup annotation, it set parent annotation's text. this method require professional or premium license |
boolean |
SetPopupOpen(boolean open)
set open status for Popup Annotation.
if this annotation is not popup annotation, it set Popup annotation open status, which associate to this annotation. this method require professional or premium license. |
boolean |
SetPopupSubject(java.lang.String val)
set annotation's popup subject.
if this annotation is popup annotation, it set parent annotation's subject. this method require professional or premium license |
boolean |
SetPopupText(java.lang.String val)
set annotation's popup text.
if this annotation is popup annotation, it set parent annotation's label. this method require professional or premium license |
boolean |
SetRadio()
check the radio-box and deselect others in radio group.
you should re-render page to display modified data. this method require premium license |
void |
SetReadOnly(boolean read_only)
if annotation is field, then set field property
otherwise, set annotation property. |
void |
SetRect(float left,
float top,
float right,
float bottom)
set annotation's box rectangle.
this method require professional or premium license. you shall render page after this invoked, to resize or move annotation. |
boolean |
SetReset()
perform the button and reset the form.
you should re-render page to display modified data. this method require premium license |
boolean |
SetStrokeColor(int color)
set stroke color of square/circle/ink/line/underline/Squiggly/strikeout/ploygon/polyline/free text/text field annotation.
you need render page again to show modified annotation. this method require professional or premium license |
boolean |
SetStrokeWidth(float width)
set stroke width of square/circle/ink/line/ploygon/polyline/free text/text field annotation.
for free text annotation: width of edit-box border you need render page again to show modified annotation. this method require professional or premium license |
public final Ref Advance_GetRef()
public final void Advance_Reload()
public final long GetRef()
public int GetIndexInPage()
public final boolean MoveToPage(Page dst_page, float[] rect)
dst_page
- page to move.rect
- [left, top, right, bottom] in PDF coordinate in dst_page.public final boolean RenderToBmp(Bitmap bitmap)
bitmap
- Bitmap object.public final int GetFieldType()
public final int GetFieldFlag()
public final java.lang.String GetFieldName()
public final java.lang.String GetFieldNameWithNO()
public final java.lang.String GetFieldFullName()
public final java.lang.String GetFieldFullName2()
public final int GetType()
public final boolean IsLocked()
public final void SetLocked(boolean lock)
lock
- true if lock, otherwise false.public final boolean IsLockedContent()
public final boolean IsHide()
public final float[] GetRect()
public final void SetRect(float left, float top, float right, float bottom)
public final float[] GetMarkupRects()
public final void SetHide(boolean hide)
hide
- true or false.public final Page.Annotation GetPopup()
public final boolean GetPopupOpen()
public final boolean SetPopupOpen(boolean open)
public final java.lang.String GetPopupText()
public final boolean SetPopupLabel(java.lang.String val)
val
- text stringpublic final java.lang.String GetPopupLabel()
public boolean SetPopupText(java.lang.String val)
val
- text stringpublic final java.lang.String GetPopupSubject()
public final boolean SetPopupSubject(java.lang.String val)
val
- subject stringpublic final int GetDest()
public final java.lang.String GetRemoteDest()
public final java.lang.String GetName()
public final boolean SetName(java.lang.String name)
name
- name string to be set.public final java.lang.String GetURI()
public final java.lang.String GetJS()
public final java.lang.String GetFileLink()
public final java.lang.String Get3D()
public final java.lang.String GetMovie()
public final java.lang.String GetSound()
public final java.lang.String GetAttachment()
public final boolean Get3DData(java.lang.String save_file)
save_file
- full path name to save data.public final boolean GetMovieData(java.lang.String save_file)
save_file
- full path name to save data.public final boolean GetSoundData(int[] paras, java.lang.String save_file)
paras
- paras[0] == 0, if formated audio file(*.mp3 ...).save_file
- full path name to save data.public final boolean GetAttachmentData(java.lang.String save_file)
save_file
- full path name to save data.public final int GetRichMediaItemCount()
public final int GetRichMediaItemActived()
public final int GetRichMediaItemType(int idx)
idx
- range in [0, Annot.GetRichMediaItemCount()]public final java.lang.String GetRichMediaItemAsset(int idx)
idx
- range in [0, Annot.GetRichMediaItemCount()]public final java.lang.String GetRichMediaItemPara(int idx)
idx
- range in [0, Annot.GetRichMediaItemCount()]public final java.lang.String GetRichMediaItemSource(int idx)
idx
- range in [0, Annot.GetRichMediaItemCount()]public final boolean GetRichMediaItemSourceData(int idx, java.lang.String save_path)
idx
- range in [0, Annot.GetRichMediaItemCount()]save_path
- absolute path to save file, like "/sdcard/app_data/myvideo.mp4"public final boolean GetRichMediaData(java.lang.String asset, java.lang.String save_path)
asset
- asset name in RichMedia assets list.save_path
- absolute path to save file, like "/sdcard/app_data/myvideo.mp4"public final int GetEditType()
public final int GetEditMaxlen()
public final boolean GetEditTextRect(float[] rect)
rect
- 4 elements in order: left, top, right, bottom, in PDF coordinate.public final float GetEditTextSize()
public final java.lang.String GetFieldFormat()
public final java.lang.String GetEditTextFormat()
public final int GetEditTextColor()
public final boolean SetEditTextColor(int color)
color
- color format as 0xRRGGBB, alpha channel are ignored.public final java.lang.String GetEditText()
public final boolean SetEditText(java.lang.String text)
text
- contents to be set.public final boolean SetEditFont(Document.DocFont font)
font
- DocFont object from Document.NewFontCID().public final int GetComboItemCount()
public final java.lang.String GetComboItem(int item)
item
- 0 based item index. range:[0, GetAnnotComboItemCount()-1]public final int GetComboItemSel()
public final boolean SetComboItem(int item)
item
- 0 based item index to set.public final int GetListItemCount()
public final java.lang.String GetListItem(int item)
item
- 0 based item index. range:[0, GetListItemCount()-1]public final boolean RemoveListItem(int item)
item
- public final boolean InsertListItem(int item, java.lang.String val, java.lang.String txt)
item
- index of items, range [0, liet_item_count]val
- export string.txt
- display string.public final boolean RemoveComboItem(int item)
item
- public final boolean InsertComboItem(int item, java.lang.String val, java.lang.String txt)
item
- index of items, range [0, liet_item_count]val
- export string.txt
- display string.public final boolean IsReadOnly()
public final void SetReadOnly(boolean read_only)
read_only
- public final int[] GetListSels()
public final boolean SetListSels(int[] items)
items
- 0 based indexes of items.public final int GetCheckStatus()
public final boolean SetCheckValue(boolean check)
check
- true or false.public final boolean SetRadio()
public final int GetSignStatus()
public final boolean GetReset()
public final boolean SetReset()
public final java.lang.String GetSubmitTarget()
public final java.lang.String GetSubmitPara()
public final int GetFillColor()
public final boolean SetFillColor(int color)
color
- color value formatted as 0xAARRGGBB.public final int GetStrokeColor()
public final boolean SetStrokeColor(int color)
color
- color value formatted as 0xAARRGGBB, if alpha channel is too less or 0, return false.public final float GetStrokeWidth()
public final boolean SetStrokeWidth(float width)
width
- stroke width in PDF coordinate.public final Path GetInkPath()
public final boolean SetInkPath(Path path)
path
- Path object.public final Path GetPolygonPath()
public final boolean SetPolygonPath(Path path)
path
- Path object.public final Path GetPolylinePath()
public final boolean SetPolylinePath(Path path)
path
- Path object.public final boolean SetIcon(int icon)
icon
- icon value depends on annotation type.public final boolean SetIcon(java.lang.String name, PageContent content)
name
- customized icon name.content
- PageContent object to display icon, must be 20 * 20 size.public final int GetIcon()
public final boolean RemoveFromPage()


Scarpa d'Oro Half Marathon
Vigevano ITA
Race Winners
(35 runnings)
25 Mar
2007
Hf Mar
1:11:55
Hf Mar
1:16:51
08 Apr
2006
8 km
23:03
09 Apr
2005
8 km
23:18
17 Apr
2004
8 km
22:52
19 Apr
2003
8 km
22:54
06 Apr
2002
8 km
22:46
14 Apr
2001
8 km
23:20.5
08 Apr
2000
8 km
23:24
05 Apr
1999
8 km
23:42
13 Apr
1998
8 km
23:31
31 Mar
1997
8 km
23:09
08 Apr
1996
8 km
23:01
08 Apr
1995
8 km
24:03
02 Apr
1994
8 km
23:16
10 Apr
1993
8 km
23:27
04 Apr
1992
8 km
23:17
30 Mar
1991
8 km
22:56
14 Apr
1990
8 km
23:19
01 Apr
1989
8 km
23:18
01 Apr
1988
8 km
23:48
18 Apr
1987
8 km
23:40
05 Apr
1986
8 km
23:19
08 Apr
1985
7.5 km
20:07.3
23 Apr
1984
7.5 km
25:04
04 Apr
1983
6.7 km
18:28.0
12 Apr
1982
7.5 km
21:19.4
3 km
9:35.7
24 Apr
1981
7.5 km
21:37.0
07 Apr
1980
7.5 km
20:59.8
Notes: 1980 was the inaugural year. The race distance for 1980-1985 was about 7.5 km except for 1983 which was
probably more like 6.7 km. The race distance for 1986-date has been reported as 8.1 km. The women's race distance
for 1982 was 3 km.
16 Mar
2015
Hf Mar
1:11:31
Andrea
Soffientini (ITA)
Hf Mar
1:21:56
Eliana Patelli-3
16 Mar
2014
Hf Mar
1:12:22
Davide Lupo
Stanghellini (ITA)
Hf Mar
1:22:45
Francesca Marin (ITA)
17 Mar
2013
Hf Mar
1:09:55
El Mehdi
Maamari (ITA)
Hf Mar
1:20:41
Charlotte Bonin (ITA)
18 Mar
2012
Hf Mar
1:08:31
Taoufique el
Barhoumi (MAR)
Hf Mar
1:19:18
Eliana Patelli-2
20 Mar
2011
Hf Mar
1:04:36
Hicham Abou El Abbas (MAR)
Hf Mar
1:19:28
Stefania Benedetti (ITA)
21 Mar
2010
Hf Mar
1:06:52
Mehdi benHabib Kheligi (TUN)
Hf Mar
1:19:43
Eliana Patelli (ITA)
29 Mar
2009
Hf Mar
1:08:34
Corrado Mortillaro (ITA)
Hf Mar
1:25:05
Elisabetta Comero (ITA)
30 Mar
2008
Hf Mar
1:09:06
Mirko Zanovello (ITA)
Hf Mar
1:19:49
Lucilla
Andreucci-2
Fabrizio Pellizzoni (ITA)
Lucilla Andreucci (ITA)
Paul Kimaiyo (KEN)
Sergey Lebed-2
Benson Barus (KEN)
John Yuda-2
John Yuda (TAN)
Sergey Lebed (UKR)
Mohammed Mourhit (BEL)
Paul Tergat-3
Paul Tergat-2
Salah Hissou (MAR)
David Chelule (KEN)
Paolo Donati (ITA)
Paul Tergat (KEN)
Francesco Panetta (ITA)
John Ngugi-2
Moses Tanui (KEN)
Gennaro diNapoli (ITA)
John Ngugi (KEN)
Stefano Mei (ITA)
Gelindo Bordin (ITA)
Alberto Cova-2
Steve Ovett-2
Alberto Cova (ITA)
Sebastian Coe-2
Rob deCastella (AUS)
Agnese Possamai (ITA)
Steve Ovett (ENG)
Sebastian Coe (ENG)
Most Wins
(1980/date)
Men
3
Paul Tergat (KEN)
1994,1998-99
Women
3
Eliana Patelli (ITA)
2010,2012,2015
Prize Money
(ADR qualified runners)
Year Men Women Total 2010 $880 $1,015 $1,895
Race Time Bias (sec/km)
Year Men 2006 +0.4 2005 +6.1 2004 +2.3 2003 +2.1 2002 +2.6 2001 +4.8 2000 +5.8 1999 +6.6 1998 +4.5 1997 +3.7 1996 +3.9 .... 1994 +6.7 .... 1992 +4.4 1991 +2.4 1990 +2.5 1989 +3.4 1988 +4.8 1987 +6.3 1986 +2.7 Avg +4.0
Note: The race time bias is calculated as for 8 km but the reported distance thru 2005 has been 8.1 km which is a difference of roughly 4 s/km.
Competitive Level (1990-date)
Year Men 2006 649 2005 622 2004 670 2003 628 2002 671 2001 534 2000 609
Quality Performances
Men- 8 km <22:40 1 <23:00 11 <23:10 18 <23:20 28 <23:30 43 <23:40 62
Last Updated on 16 Mar 2015
Contributor: Franco Civai (50), Juraj Gasparovic (14)


|
|
ostream & | operator<< (ostream &os, const Script &parser) |
| |
◆ extractPattern()
Extracts pattern definition from a line from the script file.
- Parameters
-
| line | line from script file |
| key | script element identifier key |
- Returns
- extracted pattern if the given key is in line, an empty string otherwise.
Usage example:
line = "reasmb: Do you feel strongly about discussing such things ?";
◆ getKey()
Finds keyword in database
- Parameters
-
- Returns
- associated Key object
◆ newKey()
Creates new Key object and adds it to Script.keys
- Parameters
-
- Returns
- pointer to created Key
◆ parse()
Called by constructor to parse data from source file.
Implements Parser.
◆ post_translate()
Post-translates output string
- Parameters
-
- Returns
- processed output
◆ pre_translate()
Pre-translates input string
- Parameters
-
- Returns
- processed input
The documentation for this class was generated from the following files:
- src/Agent/ELIZA/Script.h
- src/Agent/ELIZA/Script.cpp


dwebp
`dwebp` decompresses WebP files into PNG, PAM, PPM or PGM images.
Animated WebP files are not supported.
More information: home page
- Convert a `webp` file into a `png` file:
dwebp path/to/input.webp -o path/to/output.png
- Convert a `webp` file into a specific filetype:
dwebp path/to/input.webp -bmp|-tiff|-pam|-ppm|-pgm|-yuv -o path/to/output
- Convert a `webp` file, using multi-threading if possible:
dwebp path/to/input.webp -o path/to/output.png -mt
- Convert a `webp` file, but also crop and scale at the same time:
dwebp input.webp -o output.png -crop x_pos y_pos width height -scale width height
- Convert a `webp` file and flip the output:
dwebp path/to/input.webp -o path/to/output.png -flip
- Convert a `webp` file and don't use in-loop filtering to speed up the decoding process:
dwebp path/to/input.webp -o path/to/output.png -nofilter


Returns scene query hits (intersections) to the user in a preallocated buffer.
More...
#include <PxQueryReport.h>
template<typename HitType>
struct PxHitBuffer< HitType >
Returns scene query hits (intersections) to the user in a preallocated buffer.
Will clip touch hits to maximum buffer capacity. When clipped, an arbitrary subset of touching hits will be discarded. Overflow does not trigger warnings or errors. block and hasBlock will be valid in finalizeQuery callback and after query completion. Touching hits are guaranteed to have closer or same distance ( <= condition) as the globally nearest blocking hit at the time any processTouches() callback is issued.
- Note
- Pre-made typedef shorthands, such as PxRaycastBuffer can be used for raycast, overlap and sweep queries.
- See also
- PxHitCallback
-
PxRaycastBuffer PxOverlapBuffer PxSweepBuffer PxRaycastBufferN PxOverlapBufferN PxSweepBufferN
◆ PxHitBuffer()
template<typename HitType>
Initializes the buffer with user memory.
The buffer is initialized with 0 touch hits by default => query will only report a single closest blocking hit. Use PxQueryFlag::eANY_HIT to tell the query to abort and return any first hit encoutered as blocking.
- Parameters
-
| [in] | aTouches | Optional buffer for recording PxQueryHitType::eTOUCH type hits. |
| [in] | aMaxNbTouches | Size of touch buffer. |
- See also
- PxHitCallback
◆ ~PxHitBuffer()
template<typename HitType>
◆ getAnyHit()
template<typename HitType>
Convenience iterator used to access any hits in this result, blocking or touching.
◆ getMaxNbTouches()
template<typename HitType>
◆ getNbAnyHits()
template<typename HitType>
Computes the number of any hits in this result, blocking or touching.
◆ getNbTouches()
template<typename HitType>
◆ getTouch()
template<typename HitType>
◆ getTouches()
template<typename HitType>
◆ processTouches()
template<typename HitType>
virtual callback function used to communicate query results to the user.
This callback will always be invoked with touches as a buffer if touches was specified as non-NULL. All reported touch hits are guaranteed to be closer than the closest blocking hit.
- Parameters
-
| [in] | buffer | Callback will report touch hits to the user in this buffer. This pointer will be the same as touches. |
| [in] | nbHits | Number of touch hits reported in buffer. This number will not exceed maxNbTouches. |
- Note
- There is a significant performance penalty in case multiple touch callbacks are issued (up to 2x)
-
to avoid the penalty use a bigger buffer so that all touching hits can be reported in a single buffer.
-
If true (again) is returned from the callback, nbTouches will be reset to 0,
-
If false is returned, nbTouched will remain unchanged.
-
By the time processTouches is first called, the globally closest blocking hit is already determined,
-
values of hasBlock and block are final and all touch hits are guaranteed to be closer than the blocking hit.
-
touches and maxNbTouches can be modified inside of processTouches callback.
- Returns
- true to continue receiving callbacks in case there are more hits or false to stop.
- See also
- PxAgain PxRaycastHit PxSweepHit PxOverlapHit
Implements PxHitCallback< HitType >.
The documentation for this struct was generated from the following file:


|
Ubiquity
2.3.0
php rapid development framework
|
ArrayLoader for TranslatorManager. More...
 More... | |
Private Attributes | |
| $rootDir | |
| $key = "translations/" | |
ArrayLoader for TranslatorManager.
Ubiquity$ArrayLoader This class is part of Ubiquity
Definition at line 19 of file ArrayLoader.php.
| __construct | ( | $rootDir | ) |
Definition at line 27 of file ArrayLoader.php.
| cacheExists | ( | $locale, | |
$domain = '*' |
|||
| ) |
Implements LoaderInterface.
Definition at line 154 of file ArrayLoader.php.
| clearCache | ( | $locale = null , |
|
$domain = null |
|||
| ) |
Implements LoaderInterface.
Definition at line 68 of file ArrayLoader.php.
|
private |
Flattens an nested array of translations.
The scheme used is: 'key' => array('key2' => array('key3' => 'value')) Becomes: 'key.key2.key3' => 'value'
This function takes an array by reference and will modify it
| array | &$messages | The array that will be flattened |
| array | $subnode | Current subnode being parsed, used internally for recursive calls |
| string | $path | Current path being parsed, used internally for recursive calls |
Definition at line 104 of file ArrayLoader.php.
|
private |
Definition at line 84 of file ArrayLoader.php.
| getDomains | ( | $locale | ) |
Implements LoaderInterface.
Definition at line 142 of file ArrayLoader.php.
| getRootDir | ( | ) |
Definition at line 138 of file ArrayLoader.php.
|
private |
Definition at line 80 of file ArrayLoader.php.
|
private |
Definition at line 23 of file ArrayLoader.php.
| load | ( | $locale, | |
$domain = '*' |
|||
| ) |
Implements LoaderInterface.
Definition at line 43 of file ArrayLoader.php.
| loadDomain | ( | $locale, | |
| $domain | |||
| ) |
Implements LoaderInterface.
Definition at line 31 of file ArrayLoader.php.
|
protected |
Definition at line 76 of file ArrayLoader.php.
| save | ( | $messages, | |
| $locale, | |||
| $domain | |||
| ) |
Implements LoaderInterface.
Definition at line 121 of file ArrayLoader.php.
|
private |
Definition at line 21 of file ArrayLoader.php.
|
private |
Definition at line 20 of file ArrayLoader.php.


|
| def | __init__ (self, data=None, layout_plotly=None, frames=None, skip_invalid=False, **kwargs) |
| |
| def | __reduce__ (self) |
| |
|
def | __setitem__ (self, prop, value) |
| |
| def | __setattr__ (self, prop, value) |
| |
|
def | __getitem__ (self, prop) |
| |
|
def | __iter__ (self) |
| |
|
def | __contains__ (self, prop) |
| |
|
def | __eq__ (self, other) |
| |
| def | __repr__ (self) |
| |
| def | update (self, dict1=None, overwrite=False, **kwargs) |
| |
| def | pop (self, key, *args) |
| |
| def | data (self) |
| |
|
def | data (self, new_data) |
| |
| def | select_traces (self, selector=None, row=None, col=None, secondary_y=None) |
| |
| def | for_each_trace (self, fn, selector=None, row=None, col=None, secondary_y=None) |
| |
| def | update_traces (self, patch=None, selector=None, row=None, col=None, secondary_y=None, overwrite=False, **kwargs) |
| |
| def | update_layout (self, dict1=None, overwrite=False, **kwargs) |
| |
| def | plotly_restyle (self, restyle_data, trace_indexes=None, **kwargs) |
| |
| def | add_trace (self, trace, row=None, col=None, secondary_y=None) |
| |
| def | add_traces (self, data, rows=None, cols=None, secondary_ys=None) |
| |
| def | print_grid (self) |
| |
| def | append_trace (self, trace, row, col) |
| |
| def | get_subplot (self, row, col, secondary_y=False) |
| |
| def | layout (self) |
| |
|
def | layout (self, new_layout) |
| |
| def | plotly_relayout (self, relayout_data, **kwargs) |
| |
| def | frames (self) |
| |
|
def | frames (self, new_frames) |
| |
| def | plotly_update (self, restyle_data=None, relayout_data=None, trace_indexes=None, **kwargs) |
| |
| def | batch_update (self) |
| |
| def | batch_animate (self, duration=500, easing="cubic-in-out") |
| |
| def | to_dict (self) |
| |
| def | to_plotly_json (self) |
| |
|
def | to_ordered_dict (self, skip_uid=True) |
| |
|
def | show (self, *args, **kwargs) |
| |
|
def | to_json (self, *args, **kwargs) |
| |
|
def | write_json (self, *args, **kwargs) |
| |
|
def | to_html (self, *args, **kwargs) |
| |
|
def | write_html (self, *args, **kwargs) |
| |
|
def | to_image (self, *args, **kwargs) |
| |
|
def | write_image (self, *args, **kwargs) |
| |
Base class for all figure types (both widget and non-widget)
| def plotly.basedatatypes.BaseFigure.__init__ |
( |
|
self, |
|
|
|
data = None , |
|
|
|
layout_plotly = None , |
|
|
|
frames = None , |
|
|
|
skip_invalid = False , |
|
|
** |
kwargs |
|
) |
| |
Construct a BaseFigure object
Parameters
----------
data
One of:
- A list or tuple of trace objects (or dicts that can be coerced
into trace objects)
- If `data` is a dict that contains a 'data',
'layout', or 'frames' key then these values are used to
construct the figure.
- If `data` is a `BaseFigure` instance then the `data`, `layout`,
and `frames` properties are extracted from the input figure
layout_plotly
The plotly layout dict.
Note: this property is named `layout_plotly` rather than `layout`
to deconflict it with the `layout` constructor parameter of the
`widgets.DOMWidget` ipywidgets class, as the `BaseFigureWidget`
class is a subclass of both BaseFigure and widgets.DOMWidget.
If the `data` property is a BaseFigure instance, or a dict that
contains a 'layout' key, then this property is ignored.
frames
A list or tuple of `plotly.graph_objs.Frame` objects (or dicts
that can be coerced into Frame objects)
If the `data` property is a BaseFigure instance, or a dict that
contains a 'frames' key, then this property is ignored.
skip_invalid: bool
If True, invalid properties in the figure specification will be
skipped silently. If False (default) invalid properties in the
figure specification will result in a ValueError
Raises
------
ValueError
if a property in the specification of data, layout, or frames
is invalid AND skip_invalid is False
Reimplemented in plotly.basewidget.BaseFigureWidget, plotly.graph_objs._figure.Figure, and plotly.graph_objs._figurewidget.FigureWidget.
| def plotly.basedatatypes.BaseFigure.add_trace |
( |
|
self, |
|
|
|
trace, |
|
|
|
row = None , |
|
|
|
col = None , |
|
|
|
secondary_y = None |
|
) |
| |
Add a trace to the figure
Parameters
----------
trace : BaseTraceType or dict
Either:
- An instances of a trace classe from the plotly.graph_objs
package (e.g plotly.graph_objs.Scatter, plotly.graph_objs.Bar)
- or a dicts where:
- The 'type' property specifies the trace type (e.g.
'scatter', 'bar', 'area', etc.). If the dict has no 'type'
property then 'scatter' is assumed.
- All remaining properties are passed to the constructor
of the specified trace type.
row : int or None (default None)
Subplot row index (starting from 1) for the trace to be added.
Only valid if figure was created using
`plotly.subplots.make_subplots`
col : int or None (default None)
Subplot col index (starting from 1) for the trace to be added.
Only valid if figure was created using
`plotly.subplots.make_subplots`
secondary_y: boolean or None (default None)
If True, associate this trace with the secondary y-axis of the
subplot at the specified row and col. Only valid if all of the
following conditions are satisfied:
* The figure was created using `plotly.subplots.make_subplots`.
* The row and col arguments are not None
* The subplot at the specified row and col has type xy
(which is the default) and secondary_y True. These
properties are specified in the specs argument to
make_subplots. See the make_subplots docstring for more info.
* The trace argument is a 2D cartesian trace
(scatter, bar, etc.)
Returns
-------
BaseFigure
The Figure that add_trace was called on
Examples
--------
>>> from plotly import subplots
>>> import plotly.graph_objs as go
Add two Scatter traces to a figure
>>> fig = go.Figure()
>>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2])) # doctest: +ELLIPSIS
Figure(...)
>>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2])) # doctest: +ELLIPSIS
Figure(...)
Add two Scatter traces to vertically stacked subplots
>>> fig = subplots.make_subplots(rows=2)
>>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=1, col=1) # doctest: +ELLIPSIS
Figure(...)
>>> fig.add_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=2, col=1) # doctest: +ELLIPSIS
Figure(...)
| def plotly.basedatatypes.BaseFigure.add_traces |
( |
|
self, |
|
|
|
data, |
|
|
|
rows = None , |
|
|
|
cols = None , |
|
|
|
secondary_ys = None |
|
) |
| |
Add traces to the figure
Parameters
----------
data : list[BaseTraceType or dict]
A list of trace specifications to be added.
Trace specifications may be either:
- Instances of trace classes from the plotly.graph_objs
package (e.g plotly.graph_objs.Scatter, plotly.graph_objs.Bar)
- Dicts where:
- The 'type' property specifies the trace type (e.g.
'scatter', 'bar', 'area', etc.). If the dict has no 'type'
property then 'scatter' is assumed.
- All remaining properties are passed to the constructor
of the specified trace type.
rows : None or list[int] (default None)
List of subplot row indexes (starting from 1) for the traces to be
added. Only valid if figure was created using
`plotly.tools.make_subplots`
cols : None or list[int] (default None)
List of subplot column indexes (starting from 1) for the traces
to be added. Only valid if figure was created using
`plotly.tools.make_subplots`
secondary_ys: None or list[boolean] (default None)
List of secondary_y booleans for traces to be added. See the
docstring for `add_trace` for more info.
Returns
-------
BaseFigure
The Figure that add_traces was called on
Examples
--------
>>> from plotly import subplots
>>> import plotly.graph_objs as go
Add two Scatter traces to a figure
>>> fig = go.Figure()
>>> fig.add_traces([go.Scatter(x=[1,2,3], y=[2,1,2]),
... go.Scatter(x=[1,2,3], y=[2,1,2])]) # doctest: +ELLIPSIS
Figure(...)
Add two Scatter traces to vertically stacked subplots
>>> fig = subplots.make_subplots(rows=2)
>>> fig.add_traces([go.Scatter(x=[1,2,3], y=[2,1,2]),
... go.Scatter(x=[1,2,3], y=[2,1,2])],
... rows=[1, 2], cols=[1, 1]) # doctest: +ELLIPSIS
Figure(...)
| def plotly.basedatatypes.BaseFigure.append_trace |
( |
|
self, |
|
|
|
trace, |
|
|
|
row, |
|
|
|
col |
|
) |
| |
Add a trace to the figure bound to axes at the specified row,
col index.
A row, col index grid is generated for figures created with
plotly.tools.make_subplots, and can be viewed with the `print_grid`
method
Parameters
----------
trace
The data trace to be bound
row: int
Subplot row index (see Figure.print_grid)
col: int
Subplot column index (see Figure.print_grid)
Examples
--------
>>> from plotly import tools
>>> import plotly.graph_objs as go
>>> # stack two subplots vertically
>>> fig = tools.make_subplots(rows=2)
This is the format of your plot grid:
[ (1,1) x1,y1 ]
[ (2,1) x2,y2 ]
>>> fig.append_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=1, col=1)
>>> fig.append_trace(go.Scatter(x=[1,2,3], y=[2,1,2]), row=2, col=1)
| def plotly.basedatatypes.BaseFigure.batch_update |
( |
|
self | ) |
|
A context manager that batches up trace and layout assignment
operations into a singe plotly_update message that is executed when
the context exits.
Examples
--------
For example, suppose we have a figure widget, `fig`, with a single
trace.
>>> import plotly.graph_objs as go
>>> fig = go.FigureWidget(data=[{'y': [3, 4, 2]}])
If we want to update the xaxis range, the yaxis range, and the
marker color, we could do so using a series of three property
assignments as follows:
>>> fig.layout.xaxis.range = [0, 5]
>>> fig.layout.yaxis.range = [0, 10]
>>> fig.data[0].marker.color = 'green'
This will work, however it will result in three messages being
sent to the front end (two relayout messages for the axis range
updates followed by one restyle message for the marker color
update). This can cause the plot to appear to stutter as the
three updates are applied incrementally.
We can avoid this problem by performing these three assignments in a
`batch_update` context as follows:
>>> with fig.batch_update():
... fig.layout.xaxis.range = [0, 5]
... fig.layout.yaxis.range = [0, 10]
... fig.data[0].marker.color = 'green'
Now, these three property updates will be sent to the frontend in a
single update message, and they will be applied by the front end
simultaneously.
| def plotly.basedatatypes.BaseFigure.plotly_restyle |
( |
|
self, |
|
|
|
restyle_data, |
|
|
|
trace_indexes = None , |
|
|
** |
kwargs |
|
) |
| |
Perform a Plotly restyle operation on the figure's traces
Parameters
----------
restyle_data : dict
Dict of trace style updates.
Keys are strings that specify the properties to be updated.
Nested properties are expressed by joining successive keys on
'.' characters (e.g. 'marker.color').
Values may be scalars or lists. When values are scalars,
that scalar value is applied to all traces specified by the
`trace_indexes` parameter. When values are lists,
the restyle operation will cycle through the elements
of the list as it cycles through the traces specified by the
`trace_indexes` parameter.
Caution: To use plotly_restyle to update a list property (e.g.
the `x` property of the scatter trace), the property value
should be a scalar list containing the list to update with. For
example, the following command would be used to update the 'x'
property of the first trace to the list [1, 2, 3]
>>> import plotly.graph_objects as go
>>> fig = go.Figure(go.Scatter(x=[2, 4, 6]))
>>> fig.plotly_restyle({'x': [[1, 2, 3]]}, 0)
trace_indexes : int or list of int
Trace index, or list of trace indexes, that the restyle operation
applies to. Defaults to all trace indexes.
Returns
-------
None
| def plotly.basedatatypes.BaseFigure.update |
( |
|
self, |
|
|
|
dict1 = None , |
|
|
|
overwrite = False , |
|
|
** |
kwargs |
|
) |
| |
Update the properties of the figure with a dict and/or with
keyword arguments.
This recursively updates the structure of the figure
object with the values in the input dict / keyword arguments.
Parameters
----------
dict1 : dict
Dictionary of properties to be updated
overwrite: bool
If True, overwrite existing properties. If False, apply updates
to existing properties recursively, preserving existing
properties that are not specified in the update operation.
kwargs :
Keyword/value pair of properties to be updated
Examples
--------
>>> import plotly.graph_objs as go
>>> fig = go.Figure(data=[{'y': [1, 2, 3]}])
>>> fig.update(data=[{'y': [4, 5, 6]}]) # doctest: +ELLIPSIS
Figure(...)
>>> fig.to_plotly_json() # doctest: +SKIP
{'data': [{'type': 'scatter',
'uid': 'e86a7c7a-346a-11e8-8aa8-a0999b0c017b',
'y': array([4, 5, 6], dtype=int32)}],
'layout': {}}
>>> fig = go.Figure(layout={'xaxis':
... {'color': 'green',
... 'range': [0, 1]}})
>>> fig.update({'layout': {'xaxis': {'color': 'pink'}}}) # doctest: +ELLIPSIS
Figure(...)
>>> fig.to_plotly_json() # doctest: +SKIP
{'data': [],
'layout': {'xaxis':
{'color': 'pink',
'range': [0, 1]}}}
Returns
-------
BaseFigure
Updated figure
| def plotly.basedatatypes.BaseFigure.update_traces |
( |
|
self, |
|
|
|
patch = None , |
|
|
|
selector = None , |
|
|
|
row = None , |
|
|
|
col = None , |
|
|
|
secondary_y = None , |
|
|
|
overwrite = False , |
|
|
** |
kwargs |
|
) |
| |
Perform a property update operation on all traces that satisfy the
specified selection criteria
Parameters
----------
patch: dict or None (default None)
Dictionary of property updates to be applied to all traces that
satisfy the selection criteria.
selector: dict or None (default None)
Dict to use as selection criteria.
Traces will be selected if they contain properties corresponding
to all of the dictionary's keys, with values that exactly match
the supplied values. If None (the default), all traces are
selected.
row, col: int or None (default None)
Subplot row and column index of traces to select.
To select traces by row and column, the Figure must have been
created using plotly.subplots.make_subplots. If None
(the default), all traces are selected.
secondary_y: boolean or None (default None)
* If True, only select traces associated with the secondary
y-axis of the subplot.
* If False, only select traces associated with the primary
y-axis of the subplot.
* If None (the default), do not filter traces based on secondary
y-axis.
To select traces by secondary y-axis, the Figure must have been
created using plotly.subplots.make_subplots. See the docstring
for the specs argument to make_subplots for more info on
creating subplots with secondary y-axes.
overwrite: bool
If True, overwrite existing properties. If False, apply updates
to existing properties recursively, preserving existing
properties that are not specified in the update operation.
**kwargs
Additional property updates to apply to each selected trace. If
a property is specified in both patch and in **kwargs then the
one in **kwargs takes precedence.
Returns
-------
self
Returns the Figure object that the method was called on


--- layout: post date: 2010-10-04 time: "09:00:00" authors: ["Greg Wilson"] title: Aaaand We're Off! tags: ["Online"] ---
Our first all-online offering of the course starts today: over 40 graduate students and researchers are taking part. We're going to use email, Skype, DimDim, and whatever else comes in handy to supplement the recorded lectures with tutoring and tech support—I'm looking forward to finding out how well all this Internewt stuff actually works :-)


ai futures
Contents
6.5. ai futures#
6.5.1. human compatible#
A set of notes based on the book human compatible, by Stuart Russell 2019
<IP_ADDRESS>. what if we succeed?#
candidates for biggest event in the future of humanity
we all die
we all live forever
we conquer the universe
we are visited by a superior alien civilization
we invent superintelligent AI
defn: humans are intelligent to the extent that our actions can be expected to achieve our objectives (given what we perceive)
machines are beneficial to the extent that their actions can be expected to achieve our objectives
Baldwin effect - learning can make evolution easier
utility for things like money is diminishing
rational agents maximize expected utility
McCarthy helped usher in knowledge-based systems, which use first-order logic
however, these didn’t incorporate uncertainty
modern AI uses utilities and probabilities instead of goals and logic
bayesian networks are like probabilistic propositional logic, along with bayesian logic, probabilistic programming languages
language already encodes a great deal about what we know
inductive logic programming - propose new concepts and definitions in order to identify theories that are both accurate and concise
want to be able to learn many useful abstractions
a superhuman ai could do a lot
e.g. help with evacuating by individually guiding every person/vehicle
carry out experiments and compare against all existing results easily
high-level goal: raise the standard of living for everyone everywhere?
AI tutoring
EU GDPR’s “right to an explanation” wording is actually much weaker: “meaningful information about the logic involved, as well as the significance and the envisaged consequences of such processing for the data subject.”
whataboutery - a method for deflecting questions where one always asks “what about X?” rather than engaging
<IP_ADDRESS>. harms of ai#
ex. surveillance, persuasion, and control
ex. lethal autonomous weapons (these are scalable)
ex. automated blackmail
ex. deepfakes / fake media
ex. automation - how to solve this? Universal basic income?
<IP_ADDRESS>. value alignment#
ex. king midas
ex. driving dangerously
ex. in optimizing sea oxygen levels, takes them out of the air
ex. in curing cancer, gives everyone tumors
note: for an AI, it might be easier to convince of a different objective than actually solve the objective
basically any optimization objective will lead AI to disable its own off-switch
<IP_ADDRESS>. possible solns#
Oracle AI - can only answer yes/no/probabilistic questions, otherwise no output to the real world
inverse RL
ai should be uncertain about utitilies
utilties should be inferred from human preferences
in systems that interact, need to express preferences in terms of game theory
complications
can be difficult to parse human instruction into preferences
people are different
AI loyal to one person might harm others
ai ethics
consequentalism - choices should be judged according to expected consequences
deontological ethics, vritue ethics - concerned with the moral character of actions + individuals
hard to compare utilties across people
utilitarianism has issues when there is negative utility
preferences can change
AI should be regulated
deep learning is a lot like our sensory systems - logic is still need to act on these abstractions
6.5.2. possible minds#
edited by John Brockman, 2019)
<IP_ADDRESS>. intro (brockman)#
new technologies = new perceptions
we create tools and we mold ourselves through our use of them
Wiener: “We must cease to kiss the whip that lashes us”
initial book The human use of human beings
he was mostly analog, fell out of fashion
initially inspired the field
ai has gone down and up for a while
gofai - good old-fashioned ai
things people thought would be hard, like chess, were easy
lots of physicists in this book…
<IP_ADDRESS>. wrong but more relevant than ever (seth lloyd)#
current AI is way worse than people think it is
wiener was very pessimistic - wwII / cold war
singularity is not coming…
<IP_ADDRESS>. the limitations of opaque learning machines (judea pearl)#
3 levels of reasoning
statistical
causal
counterfactual - lots of counterfactuals but language is good and providing lots of them
“explaining away” = “backwards blocking” in the conditioning literature
starts causal inference, but doesn’t work for large systems
dl is more about speed than learning
dl is not interpretable
example: ask someone why they are divorced?
income, age, etc…
something about relationship…
correlations, causes, explanations (moral/rational) - biologically biased towards this?
beliefs + desires cause actions
randomly picking grants above some cutoff…
pretty cool that different people do things because of norms (e.g. come to class at 4pm)
could you do this with ai?
facebook chatbot ex.
paperclip machine, ads on social media
states/companies are like ais
equifinality - perturb behavior (like use grayscale images instead of color) and they can still do it (like stability)
<IP_ADDRESS>. the purpose put into the machine (stuart russell)#
want safety in ai - need to specify right objective with no uncertainty
value alignment - putting in the right purpose
ai research studies the ability to achieve objectives, not the design of those objectives
“better at making decisions - not making better decisions”
want provable beneficial ai
can’t just maximize rewards - optimal solution is to control human to give more rewards
cooperative inverse-rl - robot learns reward function from human
this way, uncertainty about rewards lets robot preserve its off-switch
human actions don’t always reflect their true preferences
<IP_ADDRESS>. the third law (george dyson)#
2 eras: before/after digital computers
before: thomas hobbes, gottfried wilhelm leibniz
after:
alan turing - intelligent machines
john von neumann - reproducing machines
claude shannon - communicate reliably
norbert weiner - when would machines take control
analog computing - all about error corrections
nature uses digitial coding for proteins but analog for brain
social graphs can use digital code for analog computing
analog systems seem to control what they are mapping (e.g. decentralized traffic map)
3 laws of ai
ashby’s law - any effective control system must be as complex as the system it controls
von neumman’s law - defining characteristic of a complex system is that it constitutes its own simplest behavioral description
3rd law - any system simple enough to be understandable will not be complicated enough to behave intelligently and vice versa
<IP_ADDRESS>. what can we do? (daniel dennett)#
dennett wrote from bacteria to bach & back
praise: willingness to admit he is wrong / stay levelheaded
rereading stuff opens new doors
import to treat AI as tools - real danger is humans being slaves to the AI coming about naturally
analogy to our dependence on fruit for vitamin C whereas other animals synthesize it
tech has made it easy to tamper with evidence etc.
Wiener: “In the long run, there is no distinction between arming ourselves and arming our enemies.”
current AI is parasitic on human intelligence
we are robots made of robots made of robots…with no magical ingredients thrown in along the way
current humanoid embellishments are false advertising
need a way to test safety/interpretability of systems, maybe with human judges
people automatically personify things
we need intelligent tools, not conscious ones - more like oracles
very hard to build in morality into ais - even death might not seem bad
<IP_ADDRESS>. the unity of intelligence (frank wilczek)#
can an ai be conscious/creative/evil?
mind is emergent property of matter \(\implies\) all intelligence is machine intelligence
david hume: ‘reason is, and ought only to be, the slave of the passions’
no sharp divide between natural and artificial intelligence: seem to work on the same physics
intelligence seems to be an emergent behavior
key differences between brains and computers: brains can self-repair, have higher connectivity, but lower efficiency overall
most profound advantage of brain: connectivity and interactive development
ais will be good at exploring
defining general intelligence - maybe using language?
earth’s environment not great for ais
ai could control world w/ just info, not just physical means
affective economy - sale of emotions (like talking to starbucks barista)
people seem to like to live in human world
ex. work in cafes, libraries, etc.
future life institute - funded by elon…maybe just trying to make money
<IP_ADDRESS>. lets aspire to more than making ourselves obsolete (max tegmark)#
sometimes listed as scaremonger
maybe consciousness could be much more hype - like waking up from being drowsy
survey of AI experts said 50% chance of general ai surpassing human intelligence by 2040-2050
finding purpose if we aren’t needed for anything?
importance of keeping ai beneficial
possible AIs will replace all jobs
curiosity is dangerous
3 reasons ai danger is downplayed
people downplay danger because it makes their research seem good - “It is difficult to get a man to understand something, when his salary depends on his not understanding it” - Upton Sinclair
luddite - person opposoed to new technology or ways of working - stems from secret organization of english textile workers who protested
it’s an abstract threat
it feels hopeless to think about
AI safety research must precede AI developments
the real risk with AGI isn’t malice but competence
intelligence = ability to accomplish complex goals
how good are people at predicting the future of technology?
joseph weizenbbam wrote psychotherapist bot that was pretty bad but scared him
<IP_ADDRESS>. dissident messages (jaan taliin)#
voices that stand up slowly end up convincing people
ai is different than tech that has come before - it can self-multiply
human brain has caused lots of changes in the world - ai will be similar
people seem to be tipping more towards the fact that the risk is large
short-term risks: automation + bias
one big risk: AI environmental risk: how to constrain ai to not render our environment uninhabitable for biological forms
need to stop thinking of the world as a zero-sum game
famous survery: katja grace at the future of humanity institute
<IP_ADDRESS>. tech prophecy and the underappreciated causal power of ideas (steven pinker)#
“just as darwin made it possible for a thoughtful observer of the natural world to do without creationism, Turing and others made it possible for a thoughtful observer of the cognitive world to do without spiritualism”
entropy view: ais is trying to stave off entropy by following specific goals
ideas drive human history
2 possible demises
surveillance state
automatic speech recognition
pinker thinks this isn’t a big deal because freedom of thought is driven by norms and institutions not tech
tech’s biggest threat seems to be amplifying dubious voices not surpressing enlightened ones
more tech has correlated w/ more democracy
ai takes over
seems too much like technological determinism
intelligence is the ability to deploy novel means to attain a goal - doesn’t specify what the goal is
knowledge are things we know - ours are mostly find food, mates, etc. machines will have other ones
if humans are smart enough to make ai, they are smart enough to test it
“threat isn’t machine but what can be made of it”
<IP_ADDRESS>. beyond reward and punishment (david deutsch)#
david deutsch - founder of quantum computing
thinking - involves coming up w/ new hypotheses, not just being bayesian
knowledge itself wasn’t hugely evolutionarily beneficial in the beginning, but retaining cultural knowledge was
in the beginning, people didn’t really learn - just remembered cultural norms
no one aspired to anything new
so far, the way ais have been developed (e.g. chess-playing) is restricting a search space, but AGI wants them to come up with a new search space
we usually don’t follow laws because of punishments - neither will AGIs
open society is the only stable kind
will be hard to test / optimize for directly
AGI could still be deterministic
tension between imitation and learning? (immitation/innovation)
people falsely believe AGI should be able to learn on its own, like Nietzche’s causa sui, buy humans don’t do this
culture might make you more model-free
<IP_ADDRESS>. the artificial use of human beings (tom griffiths)#
believes key to ml is human learning
we now have good models of images/text, but not of
value alignment
inverse rl: look at actions of intelligent agent, learn reward
accuracy (heuristics) vs generalizability (often assumes rationality)
however, people are often not rational - people follow simple heuristics
ex. don’t calculate probabilities, just try to remember examples
people usually tradeoff time with how important a decision is - bounded optimality
could ai actually produce more leisure?
<IP_ADDRESS>. making the invisible visible (hans ulrich obrist)#
need to use art to better interpret visualizations, like deepdream
ai as a tool, like photoshop
tweaking simulations is art (again in a deep-dream like way)
meta-objectives are important
art - an early alarm system to think about the future, evocative
design - has a clearer purpose, invisible
fluxist movement - do it yourself, like flash mob, spontanous, not snobby
this progress exhibit - guggenheim where they hand you off to people getting older
art - tracks what people appreciate over time
everything except museums + pixels are pixels
marcel duchamp 1917 - urinal in art museum was worth a ton
<IP_ADDRESS>. algorists dream of objectivity (peter galison)#
science historian
stories of dangerous technologies have been repeated (e.g. nanoscience, recombinant DNA)
review in psychology found objective models outperformed groups of human clinicians (“prediction procedures: the clinical-statistical controversy”)
people initially started w/ drawing things
then shifted to more objective measures (e.g. microscope)
then slight shift away (e.g. humans outperformed algorithms at things)
objectivity is not everything
art w/ a nervous system
animations with charcters that have goals
<IP_ADDRESS>. the rights of machines (george church)#
machines should increasingly get rights as those of humans
potential for AI to make humans smarter as well
<IP_ADDRESS>. the artistic use of cybernetic beings (caroline jones)#
how to strech people beyond our simple, selfish parameters
cybernetics seance art
more grounded in hardware
culture-based evolution
uncanny valley - if things look too humanlike, we find them creepy
this doesn’t happen for kids (until ~10 years)
neil mendoza animal-based aft reflections
is current ai more advanced than game of life?
<IP_ADDRESS>. David Kaiser: Information for wiener, Shannon, and for Us#
wiener: society can only be understood based on analyzing messages
information = semantic information
shannon: information = entropy (not reduction in entropy?)
predictions
information can not be conserved (effective level of info will be perpetually advancing)
information is unsuited to being commodities
can easily be replicated
science started having citations in 17th century because before that people didn’t want to publish
turned info into currency
art world has struggled w/ this
80s: appropration art - only changed title
literature for a long time had no copyrights
algorithms hard to patent
wiener’s warning: machines would dominate us only when individuals are the same
style and such become more similar as we are more connected
twitter would be the opposite of that
amazon could make things more homogenous
fashion changes consistently
maybe arbitrary way to identify in/out groups
comparison to markets
cities seem to increase diversity - more people to interact with
dl should seek more semantic info not statistical info
<IP_ADDRESS>. Neil Gershenfield: Scaling#
ai is more about scaling laws rathern that fashions
mania: success to limited domains
depression: failure to ill-posed problems
knowledge vs information: which is in the world, which is in your head?
problem 1: communication - important that knowledge can be replicated w/ no loss (shannon)
problem 2: computation - import knowledge can be stored (von Neumann)
problem 3: generalization - how to come up w/ rules for reasoning?
next: fabrication - how to make things?
ex. body uses only 20 amino acids


The only clear-cut solution for the user is to disable all scripting languages on their computer.
The key to preventing applications being vulnerable to code injection and CSS type attacks is by ensuring that dynamically generated page content does not contain undesired HTML tags.
The most likely sources of malicious data are likely to be:
Query strings
URL’s and pieces of UL’s
Posted data
Cookies
Persistent data supplied by users, and retrieved at a later date (such as from databases)
The following methods or design considerations can be implemented by developers to better secure their application against HTTP based attacks, not just CSS.
Enforce Response Lengths
For the majority of applications, the developer should be able to limit the maximum length of any user-supplied strings. Although initially enforced at the client-side, all strings should also be checked at the server-side.
HTTP Referer
If possible, the web application should check the referer field and reject data if it didn’t come from the correct host or link
Embedded Files and Objects- The safest option is to treat <EMBED> and <OBJECT> tags the same as <SCRIPT> tags, and disallow any content to be submitted to the application that contains such data strings.
- Depending upon the format of the embedded object, it may be possible parse filter content based upon content within the object. For instance, with Flash! files, it would be possible to remove all instances where the getURL() field contains a reference to a site other than the current application host. Alternatively, it may be possible to specify the target window as “_blank” and thus stopping any potential scripting code from being executed under the hosting domains privileges.
Cookie Inspection
Application developers must ensure that all cookie information is thoroughly checked and filtered before insertion into the HTML documents. Attackers modifying persistent cookies can also make their attacks persistent.
URL Session Identifier
X-token
Character Sets
Some small measure of security can be gained by ensuring that an appropriate data is filtered using an appropriate character set.


This page shows how to create a sample Hello World application, as is done by most programmers when trying to learn how to use a new language or tool.
1. To begin creating a Hello World project in JavaFX, first click "Create New Project" in the "Welcome to IntelliJ IDEA" page as seen below. If something is already open, from the File menu, choose "New Project".
2. Next select "JavaFX" from the side panel, and "JavaFX Application" on the right side. Make sure there is a Project SDK selected, which should be the one specified when installing IntelliJ. If your project requires a different SDK, select it from the dropdown menu if it is already specified or else click "new", and navigate to the downloaded SDK.
3. Next, specify a project name and location, and click "Next".
4. As you can see, the project is created with controller.java, Main.java, and sample.fxml. Open Main.java and the following code should be automatically generated.
package sample;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception{
Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
primaryStage.setTitle("Hello World");
primaryStage.setScene(new Scene(root, 300, 275));
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
1. In the start() method of Main.java, delete the 'Parent = root..' line, and add the following code below at the beginning of the method to create a button.
Button btn = new Button();
btn.setText("Say 'Hello World'");
btn.setOnAction(new EventHandler() {
@Override
public void handle(ActionEvent event) {
System.out.println("Hello World!");
}
});
StackPane stack = new StackPane();
stack.getChildren().add(btn);
2. Some classes were probably not imported, so Button ActionEvent, and StackPane are probably red. Hover over them with your mouse and you should be able to automatically have IntelliJ import for you. Choose javafx... when prompted to choose between two different pre-existing classes.
3. Lastly, at the bottom of the method instead of setting the previous 'root' we want to set the new Stack we created as seen below.
primaryStage.setScene(new Scene(stack, 300, 275));
Now the start method should look like this:
@Override
public void start(Stage primaryStage) throws Exception{
Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
Button btn = new Button();
btn.setText("Say 'Hello World'");
btn.setOnAction(new EventHandler() {
@Override
public void handle(ActionEvent event) {
System.out.println("Hello World!");
}
});
StackPane stack = new StackPane();
stack.getChildren().add(btn);
primaryStage.setTitle("Hello World");
primaryStage.setScene(new Scene(stack, 300, 275));
primaryStage.show();
}
4. In the top right hand corner of IntelliJ click the green "play" button to run the application.
It's important to note that this hello world example doesn't make use of FXML, which is important. For more information about basic FXML, check out the link here. To find out more about JavaFX be sure to check out Part 1: Scene Builder where you can find out how to create a simple JavaFX application completely from start to finish.


GOYA IN BORDEAUX (Goya en Burdeos) A film review by Christopher Null Copyright 2000 filmcritic.com filmcritic.com
I'll admit, I have fit all my knowledge of Spanish painter Francisco Goya into the sentence you're reading right now. What's a Spanish painter doing in Bordeaux, France? I don't know, and after watching this film, I still don't know. I had to read a synopsis on the movie's web site to find out he had been exiled there. I'm still not sure why.
To be certain, Goya in Bordeaux assumes the audience is deeply intimate with his Goya's work, his life, and his politics. It's a love letter written to the man by writer/director Carlos Saura, who clearly idealizes everything about the artist. Unless you are like Saura, this will undoubtedly be seen as a not good thing.
The story, as it is, gives us an ancient and fat Goya (Francisco Rabal), in aforementioned exile, recounting his life to the impossibly young daughter of who-knows-how-many love affairs. A great lover in his younger days (played by José Coronado) during the late 1700's -- and aren't all Spanish men in film great lovers? -- he hung with the powdered wig set as his dark paintings brought the ire of Spanish "absolutists." Going deaf at the age of 46, Goya soon turned into a bitter man, his work taking on ever more morose and disturbing themes, eventually driving him to near insanity. And France.
Goya's work is generously on display in the film, unlike most entries into the genre which do not get permission to show the works and end up having to fake it (see garbage like Surviving Picasso and Love is the Devil for examples of how bad this is). Through his deathbed hallucinations, we even get to see Goya's most famous works reenacted and come to life -- with zombies coming out of the walls to attack our slumbering hero. These sequences reminded me of everything from 2001 to Vertigo, and Saura's lighting trickery and flair with the scenes rescue Goya from entering a canon of truly atrocious painter-biopics.
Too bad the rest of the movie is nowhere near as successful. Coronado is a dashing leading man, but his portrayal of Goya is so perplexing due to its lack of exposition, one wonders if he is being true to his character or even his surroundings. The political context of Spain in 1780 isn't something many moviegoers or I are going to have at the top of their minds, and the film does nothing to help you through it.
Then again, this is a Spanish film about a Spanish national treasure. I don't remember Mel Gibson going out of his way to explain the revolutionary background of The Patriot, either.

Visit filmcritic.com on the Web at http://www.filmcritic.com
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


The Dividend of Qualcomm Stock Is Safe … for Now
With its legal issues on hold, QCOM looks like a solid dividend stock
Like most semiconductor stocks, Qualcomm (NASDAQ:QCOM) stock has had a wild ride in 2019. The stock plummeted over 30% early in the year. However in the last month, QCOM stock has recovered. And in the last ten days, the stock has closed at, and is settling near, its 52-week high.
Most of QCOM stock’s recent surge has been due to the company’sstrong earnings. On Nov. 6, QCOM reported earnings per share of 78 cents. That was above analysts’ average EPS estimate of 71 cents. The company also beat on revenue, bringing in $4.80 billion, versus analysts’ average estimate of $4.71 billion.
Although the current growth of Qualcomm has some analysts seeing a rosy future, Qualcomm has a history of giving growth investors a bumpy ride. But one constant of QCOM stock has been its dividend.
QCOM Has Maintained a Consistent Dividend
Qualcomm has held its dividend steady at 62 cents for the last seven quarters. The company’s dividend yield sits at 2.74%. That reflects the recent surge of Qualcomm stock. As the company’s stock price has increased, the dividend yield of QCOM stock has gone down. However, as the chart below shows, the company’s dividend still remains competitive versus its peers.
| Dividend Yield | |
| Qualcomm | 2.73% |
| Intel (NASDAQ:INTC) | 2.17% |
| Nvidia (NASDAQ:NVDA) | 0.31% |
| Broadcom (NASDAQ:AVGO) | 3.39% |
| Texas Instruments (NASDAQ:TXN) | 3.05% |
And Qualcomm currently pays out over 87 cents per share of its earnings as a dividend.
However, the dividend has the attention of some analysts, due to the ongoing legal battles that are casting a cloud over Qualcomm’s future earnings.
QCOM Is Really Two Companies
As some of you may know, Qualcomm is one company that has two distinct business segments. The more well-known segment is its chip segment, Qualcomm CDMA Technologies (QCT). But it also has a licensing business, Qualcomm Technology Licensing (QTL). The latter business has been disruptive for QCOM and Qualcomm stock.
The QTL business has accounted for approximately 80% of Qualcomm’s profits and cash flow. Since QTL primarily focuses on collecting royalties, it’s not surprising that it would provide juicy margins of about 85%.
But in the past few years, Qualcomm has been embroiled in legal battles due to accusations by its customers of violating antitrust laws. QCOM has long had a “no license, no chips” policy, even though smartphones cannot access worldwide networks without its chips.
However, this policy put the company in the cross-hairs of the Federal Trade Commission. The FTC initiated a lawsuit alleging that Qualcomm was a monopoly.
A federal court ruled in the FTC’s favor. This decision, if upheld, will force Qualcomm to change its licensing practices to conform with industry norms and fair, reasonable, and non-discriminatory (or FRAND) practices.
The court’s decision could devastate Qualcomm’s QTL business. And since, as previously noted, QTL is responsible for 80% of the company’s profits, such a move would certainly have an adverse affect on the company’s dividend.
The FTC’s Decision Is Being Appealed
Qualcomm was successful at getting a stay of the ruling, pending an appeal. Given the high-profile nature of this case, it is likely that the court will fast-track the case. That means a decision could be handed down sometime in 2020.
But will Qualcomm be successful? It would seem that Qualcomm faces an uphill battle. Ankur Kapoor, an antitrust partner at Constantine Cannon, says for Qualcomm to be successful, it will have to successfully undermine the legal basis for the ruling.
“The only chance for Qualcomm to overturn this on appeal is on a pure question of law, a pure legal issue,” said Kappor. “The big one is whether or not violation of FRAND obligations can constitute an antitrust violation or if it’s just a breach of contract.”
What’s Next for Qualcomm Stock?
While the antitrust case plays out, Qualcomm’s business model and its dividend look safe for the next few quarters. And, for now, analysts seem to be bullish on QCOM stock. Their average price target on Qualcomm is $87.27 with a range of $60-$115. Their average rating on QCOM stock is “buy.”
As of this writing, Chris Markoch did not have a position in any of the aforementioned securities.


Watch iDKHOW’s Video For Their Cover Of Merry Christmas Everybody
iDKHOW have released a video for their cover of Slade’s festive classic Merry Christmas Everybody.
Following last Friday’s surprise release of their three-track Christmas Drag EP, iDKHOW have unveiled a suitably festive video for their cover of Slade’s Merry Christmas Everybody.
In the clip, the duo – Dallon Weekes and Ryan Seaman – are looking all ready for the big day, though drummer Ryan doesn’t seem quite as into things as the frontman. In fact, he barely even notices being tied up in lights. Maybe he’s having a post-Christmas dinner nap or something?
Read this next: Dallon Weekes on iDKHOW’s debut album
Merry Christmas Everybody takes its place on the Christmas Drag EP between the title-track and Oh Noel. “I wrote Christmas Drag over a decade ago,” Dallon explains. “I’ve always been a sucker for Christmas music, and this was one of the first Christmas songs I ever wrote for myself. I’m happy I got a chance to give it a proper recording and release. Oh Noel was recorded in one take, on the first try. I recorded it with a fella named Stu Maxfield, who is this fantastic musician from Provo. After we did the first pass, the engineer asked us if we wanted another take. We looked at each other and said no at the same time. A pretty special studio moment.”
Watch the video for Merry Christmas Everybody below:
Catch iDKHOW at the following dates this year:
November
22 Tampa FL – MIDFLORIDA Credit Union Amphitheatre
24 Fort Lauderdale FL – Riptide Music Festival
December
2 Salt Lake City UT – X96 Toyota Nightmare Before Xmas
3 Las Vegas NV – X107.5’s Holiday Havoc
4 Tempe AZ – Marquee Theatre
5 San Diego CA – Pechanga Arena
13 Chicago IL – Byline Bank Aragon Ballroom
Read this next: A rare and revealing interview with blink-182’s Travis Barker


2011
Liquid error: No such file or directory - /Users/buddha/Sites/ruby/kaleidopunk/_includes
Liquid error: No such file or directory - /Users/buddha/Sites/ruby/kaleidopunk/_includes
Liquid error: No such file or directory - /Users/buddha/Sites/ruby/kaleidopunk/_includes
Liquid error: No such file or directory - /Users/buddha/Sites/ruby/kaleidopunk/_includes
Liquid error: No such file or directory - /Users/buddha/Sites/ruby/kaleidopunk/_includes


@main("Swimming", user = null) {
The WEY coaching staff
Award winning team
Current national winners of Irish lifeguard association(ILA)
You can choose from the following classes:
SWIMMING LESSONS
January 2015 COURSE DATES
Swimming Lessons – Children’s lessons (45 mins)
Monday (11th of Jan – 15th Feb ) – 6 week course:
3.30pm: Beginners
4.15pm: Improvers
Tuesday (12th Jan – 16th Feb ) – 6 week course:
3.30pm: Beginners
4.15pm: Improvers (Lane Swimming)
5pm: Improvers (Advanced Lane Swimming)
Wednesday (13th Jan- 17th Feb ) – 6 week course
3.30pm: Beginners
4.15pm: Advanced (Lane Swimming)
Saturday (16th Jan- 20th Feb ) – 7 week course:
9.30am: Improvers
10.15am: Improvers
11am: Beginners
Cost is €60 for 6 weeks + €50 for 2nd child for both members and non-members
Swimming Lessons – Adult lessons (45 mins)
Tuesday (12th Jan – 16th Feb ) – 6 week course:
11am: Beginners/Improvers
Wednesday (13th Jan – 17th Feb ) – 6 week course:
7pm: Beginners/Improvers
Adult lessons cost €60 for 6 weeks
REGISTRATION FOR SWIMMING LESSONS WILL TAKE PLACE ON Tuesday 5th of January from 9am
Priority registration for people who are currently on our swim lessons will take place from Tuesday 15th of December from 9am.
}


--- layout: default ---
Interim Product Manager | Product Owner Online
available from July 1st 2018
My name is Mark Brand.
I am an experienced and certified freelance scrum product owner with a passion to drive digital business capabilities forward. In collaboration with full-stack DevOps teams, designers and analysts, I create awesome digital user experiences.
As a senior product owner, I have a proven track record in increasing the profitability (> 1 million EBIT contribution) of high-traffic websites by initiating and executing online product development projects in complex organizational and online environments.
My approach is characterized by translating the organizational strategy into an online product vision and developing user-friendly online products that measurably contribute to the set goals step-by-step.
I am a strong communicator (Executive Board level) and negotiator with a keen eye for the challenges, needs and concerns of customers, team members and management. Thanks to my seniority, I am able to adopt my leadership style to the situation and context of the moment. Often in the style of visionary who takes the lead and sets clear priorities, if possible, more in the role of servant leader and coach. Forging high-performing teams together with the scrum master gives me a lot of energy.
My extensive experience in applying Agile principles – releasing a minimum viable product to real users fast and then continuously improving based on data and user feedback - allows me to add value for your customers and your organization without wasting valuable time.
As of July 1, 2018 I am available to help you accelerate the digital transformation of your organization.
Contact me at mark@gonimble.nl.


| Awadh Landmark Reality Pvt. Ltd. is a real estate consulting company serving all over Lucknow. It is our efficient and effective solution that has given us domestic and global giants as satisfied clients. Awadh Landmark Reality Pvt. Ltd. has earned a strong reputation in the real estate industry as we strongly work for the satisfaction of our customers. We have catered to numerous national and international clients belonging to various business domains. As a real estate company we have been redefining the standards of real estate and with our years of experience, we offer a wide range of services to fulfill our clients' needs. We make it our business to understand your financial requirements. We have already served the premier corporate houses in the both domestic and international arena. Our expertise is to make your money work for you and manage your investment portfolio. |
|
|


Flags & Modes
The optional flags parameter modifies the mode of the pattern-matching operation.
Syntax
var exp = new ApgExp(pattern[, flags]); var result = exp.exec(input);
The flags parameter may be absent, undefined, null or a string of any of the case-insensitive characters "gyud". The string may be empty, the characters may be in any order and characters may appear more than once. However, any character not in the list above will cause an ApgExpError exception to be thrown.
The exp object has gobal, sticky, unicode and debug boolean flag properties. These are all initially false indicating default mode. The exp.flags property is the flags string in a normalized format.
Flag Values
- absent, undefined, null or "" - default mode
- g - Sets the exp.global property. global mode
- y - Sets the exp.sticky property. sticky mode
- u - Sets the exp.unicode property. Unicode mode
- d - Sets the exp.debug property. debug mode
If both the global and sticky flags are set, "gy", global is ignored and sticky mode is used.
Modes
default mode - The pattern match attempt is made at the index, exp.lastIndex. The user can set exp.lastIndex to any value prior to the match attempt. If a match is found, result is returned and exp.lastIndex is reset to zero. If a match is not found exp.lastIndex is incremented by one and the attempt repeated. This repeats until either a match is found or the end of string is reached. In all cases, exp.lastIndex is reset to zero after the search.
global mode - The pattern match is attempted exactly as for default mode. However, if a match is found, exp.lastIndex is not set to zero. It is incremented by the length of the matched pattern, or one if the length is zero. (Some patterns allow matches to empty strings. In this case exp.lastIndex is incremented by one to prevent infinite loops and to allow the global search to continue.) This allows for an iteration over all matched patterns in the input string. When the match fails, exp.lastIndex is then reset to zero. (example)
sticky mode - The search is anchored at exp.lastIndex. This means that either a match is found starting at exp.lastIndex or the search fails. However, if a match is found, exp.lastIndex is set to the first character in the string following the matched pattern, just as with global mode. This allows a loop to iterate over all consecutive matches in the input string (example)
Unicode mode - The pattern match is attempted according to the current mode above. If a match is found, the result values are returned as arrays of integer character codes rather than strings. (example)
debug mode - Exposes the APG trace object. exp.trace can be used to display the path of the parser through the parse tree. If the debug property is false, exp.trace is undefined. (example)


We are delighted you chose PFsense bank. Let's start by creating your account login
Select a word or phrase that is secure and easy to remember