| HADOOP-12103 |
Small refactoring of DelegationTokenAuthenticationFilter to allow code sharing |
Minor |
security |
Yongjun Zhang |
Yongjun Zhang |
| HADOOP-12100 |
ImmutableFsPermission should not override applyUmask since that method doesn’t modify the FsPermission |
Major |
. |
Robert Kanter |
Bibin A Chundatt |
| HADOOP-12078 |
The default retry policy does not handle RetriableException correctly |
Critical |
ipc |
Arpit Agarwal |
Arpit Agarwal |
| HADOOP-12058 |
Fix dead links to DistCp and Hadoop Archives pages. |
Minor |
documentation, site |
Kazuho Fujii |
Kazuho Fujii |
| HADOOP-11973 |
Ensure ZkDelegationTokenSecretManager namespace znodes get created with ACLs |
Major |
security |
Gregory Chanan |
Gregory Chanan |
| HADOOP-11966 |
Variable cygwin is undefined in hadoop-config.sh when executed through hadoop-daemon.sh. |
Critical |
scripts |
Chris Nauroth |
Chris Nauroth |
| HADOOP-11934 |
Use of JavaKeyStoreProvider in LdapGroupsMapping causes infinite loop |
Blocker |
security |
Mike Yoder |
Larry McCay |
| HADOOP-11891 |
OsSecureRandom should lazily fill its reservoir |
Major |
security |
Arun Suresh |
Arun Suresh |
| HADOOP-11872 |
“hadoop dfs” command prints message about using “yarn jar” on Windows(branch-2 only) |
Minor |
scripts |
Varun Vasudev |
Varun Vasudev |
| HADOOP-11868 |
Invalid user logins trigger large backtraces in server log |
Major |
. |
Chang Li |
Chang Li |
| HADOOP-11802 |
DomainSocketWatcher thread terminates sometimes after there is an I/O error during requestShortCircuitShm |
Major |
. |
Eric Payne |
Colin Patrick McCabe |
| HADOOP-11730 |
Regression: s3n read failure recovery broken |
Major |
fs/s3 |
Takenori Sato |
Takenori Sato |
| HADOOP-11663 |
Remove description about Java 6 from docs |
Minor |
documentation |
Masatake Iwasaki |
Masatake Iwasaki |
| HADOOP-9658 |
SnappyCodec#checkNativeCodeLoaded may unexpectedly fail when native code is not loaded |
Major |
. |
Zhijie Shen |
Zhijie Shen |
| HDFS-8681 |
BlockScanner is incorrectly disabled by default |
Blocker |
datanode |
Andrew Wang |
Arpit Agarwal |
| HDFS-8633 |
Fix setting of dfs.datanode.readahead.bytes in hdfs-default.xml to match DFSConfigKeys |
Minor |
datanode |
Ray Chiang |
Ray Chiang |
| HDFS-8626 |
Reserved RBW space is not released if creation of RBW File fails |
Blocker |
. |
Kanaka Kumar Avvaru |
Kanaka Kumar Avvaru |
| HDFS-8600 |
TestWebHdfsFileSystemContract.testGetFileBlockLocations fails in branch-2.7 |
Major |
webhdfs |
Arpit Agarwal |
Arpit Agarwal |
| HDFS-8596 |
TestDistributedFileSystem et al tests are broken in branch-2 due to incorrect setting of “datanode” attribute |
Blocker |
datanode |
Yongjun Zhang |
Yongjun Zhang |
| HDFS-8595 |
TestCommitBlockSynchronization fails in branch-2.7 |
Major |
test |
Arpit Agarwal |
Arpit Agarwal |
| HDFS-8583 |
Document that NFS gateway does not work with rpcbind on SLES 11 |
Major |
documentation |
Arpit Agarwal |
Arpit Agarwal |
| HDFS-8576 |
Lease recovery should return true if the lease can be released and the file can be closed |
Major |
namenode |
J.Andreina |
J.Andreina |
| HDFS-8572 |
DN always uses HTTP/localhost@REALM principals in SPNEGO |
Blocker |
. |
Haohui Mai |
Haohui Mai |
| HDFS-8566 |
HDFS documentation about debug commands wrongly identifies them as “hdfs dfs” commands |
Major |
documentation |
Surendra Singh Lilhore |
Surendra Singh Lilhore |
| HDFS-8544 |
Incorrect port specified in HFTP Guide document in branch-2 |
Major |
documentation |
Brahma Reddy Battula |
Brahma Reddy Battula |
| HDFS-8523 |
Remove usage information on unsupported operation “fsck -showprogress” from branch-2 |
Major |
documentation |
J.Andreina |
J.Andreina |
| HDFS-8522 |
Change heavily recorded NN logs from INFO to DEBUG level |
Major |
namenode |
Xiaoyu Yao |
Xiaoyu Yao |
| HDFS-8486 |
DN startup may cause severe data loss |
Blocker |
datanode |
Daryn Sharp |
Daryn Sharp |
| HDFS-8480 |
Fix performance and timeout issues in HDFS-7929 by using hard-links to preserve old edit logs instead of copying them |
Critical |
. |
Zhe Zhang |
Zhe Zhang |
| HDFS-8451 |
DFSClient probe for encryption testing interprets empty URI property for “enabled” |
Blocker |
encryption |
Steve Loughran |
Steve Loughran |
| HDFS-8405 |
Fix a typo in NamenodeFsck |
Minor |
namenode |
Tsz Wo Nicholas Sze |
Takanobu Asanuma |
| HDFS-8404 |
Pending block replication can get stuck using older genstamp |
Major |
namenode |
Nathan Roberts |
Nathan Roberts |
| HDFS-8305 |
HDFS INotify: the destination field of RenameOp should always end with the file name |
Major |
. |
Colin Patrick McCabe |
Colin Patrick McCabe |
| HDFS-8273 |
FSNamesystem#Delete() should not call logSync() when holding the lock |
Blocker |
namenode |
Jing Zhao |
Haohui Mai |
| HDFS-8270 |
create() always retried with hardcoded timeout when file already exists with open lease |
Major |
hdfs-client |
Andrey Stepachev |
J.Andreina |
| HDFS-8269 |
getBlockLocations() does not resolve the .reserved path and generates incorrect edit logs when updating the atime |
Blocker |
. |
Yesha Vora |
Haohui Mai |
| HDFS-8245 |
Standby namenode doesn’t process DELETED_BLOCK if the add block request is in edit log. |
Major |
. |
Rushabh S Shah |
Rushabh S Shah |
| HDFS-8213 |
DFSClient should use hdfs.client.htrace HTrace configuration prefix rather than hadoop.htrace |
Critical |
. |
Billie Rinaldi |
Colin Patrick McCabe |
| HDFS-8179 |
DFSClient#getServerDefaults returns null within 1 hour of system start |
Blocker |
. |
Xiaoyu Yao |
Xiaoyu Yao |
| HDFS-8163 |
Using monotonicNow for block report scheduling causes test failures on recently restarted systems |
Blocker |
datanode |
Arpit Agarwal |
Arpit Agarwal |
| HDFS-8153 |
Error Message points to wrong parent directory in case of path component name length error |
Major |
namenode |
Anu Engineer |
Anu Engineer |
| HDFS-8151 |
Always use snapshot path as source when invalid snapshot names are used for diff based distcp |
Minor |
distcp |
Sushmitha Sreenivasan |
Jing Zhao |
| HDFS-8149 |
The footer of the Web UI “Hadoop, 2014” is old |
Major |
. |
Akira AJISAKA |
Brahma Reddy Battula |
| HDFS-8147 |
Mover should not schedule two replicas to the same DN storage |
Major |
balancer & mover |
Surendra Singh Lilhore |
Surendra Singh Lilhore |
| HDFS-8127 |
NameNode Failover during HA upgrade can cause DataNode to finalize upgrade |
Blocker |
ha |
Jing Zhao |
Jing Zhao |
| HDFS-8091 |
ACLStatus and XAttributes not properly presented to INodeAttributesProvider before returning to client |
Major |
namenode |
Arun Suresh |
Arun Suresh |
| HDFS-8081 |
Split getAdditionalBlock() into two methods. |
Major |
. |
Konstantin Shvachko |
Konstantin Shvachko |
| HDFS-8070 |
Pre-HDFS-7915 DFSClient cannot use short circuit on post-HDFS-7915 DataNode |
Blocker |
caching |
Gopal V |
Colin Patrick McCabe |
| HDFS-7980 |
Incremental BlockReport will dramatically slow down the startup of a namenode |
Major |
. |
Hui Zheng |
Walter Su |
| HDFS-7934 |
Update RollingUpgrade rollback documentation: should use bootstrapstandby for standby NN |
Critical |
documentation |
J.Andreina |
J.Andreina |
| HDFS-7931 |
DistributedFIleSystem should not look for keyProvider in cache if Encryption is disabled |
Minor |
hdfs-client |
Arun Suresh |
Arun Suresh |
| HDFS-7916 |
‘reportBadBlocks’ from datanodes to standby Node BPServiceActor goes for infinite loop |
Critical |
datanode |
Vinayakumar B |
Rushabh S Shah |
| HDFS-7894 |
Rolling upgrade readiness is not updated in jmx until query command is issued. |
Critical |
. |
Kihwal Lee |
Brahma Reddy Battula |
| HDFS-6300 |
Prevent multiple balancers from running simultaneously |
Critical |
balancer & mover |
Rakesh R |
Rakesh R |
| HDFS-5215 |
dfs.datanode.du.reserved is not considered while computing available space |
Major |
datanode |
Brahma Reddy Battula |
Brahma Reddy Battula |
| HDFS-4660 |
Block corruption can happen during pipeline recovery |
Blocker |
datanode |
Peng Zhang |
Kihwal Lee |
| MAPREDUCE-6410 |
Aggregated Logs Deletion doesnt work after refreshing Log Retention Settings in secure cluster |
Critical |
. |
Zhang Wei |
Varun Saxena |
| MAPREDUCE-6387 |
Serialize the recently added Task#encryptedSpillKey field at the end |
Minor |
. |
Arun Suresh |
Arun Suresh |
| MAPREDUCE-6361 |
NPE issue in shuffle caused by concurrent issue between copySucceeded() in one thread and copyFailed() in another thread on the same host |
Critical |
. |
Junping Du |
Junping Du |
| MAPREDUCE-6339 |
Job history file is not flushed correctly because isTimerActive flag is not set true when flushTimerTask is scheduled. |
Critical |
mrv2 |
zhihai xu |
zhihai xu |
| MAPREDUCE-6334 |
Fetcher#copyMapOutput is leaking usedMemory upon IOException during InMemoryMapOutput shuffle handler |
Blocker |
. |
Eric Payne |
Eric Payne |
| MAPREDUCE-6324 |
Uber jobs fail to update AMRM token when it rolls over |
Blocker |
mr-am |
Jason Lowe |
Jason Lowe |
| MAPREDUCE-6300 |
Task list sort by task id broken |
Minor |
. |
Siqi Li |
Siqi Li |
| MAPREDUCE-6259 |
IllegalArgumentException due to missing job submit time |
Major |
jobhistoryserver |
zhihai xu |
zhihai xu |
| MAPREDUCE-6252 |
JobHistoryServer should not fail when encountering a missing directory |
Major |
jobhistoryserver |
Craig Welch |
Craig Welch |
| MAPREDUCE-6251 |
JobClient needs additional retries at a higher level to address not-immediately-consistent dfs corner cases |
Major |
jobhistoryserver, mrv2 |
Craig Welch |
Craig Welch |
| MAPREDUCE-6238 |
MR2 can’t run local jobs with -libjars command options which is a regression from MR1 |
Critical |
mrv2 |
zhihai xu |
zhihai xu |
| YARN-3850 |
NM fails to read files from full disks which can lead to container logs being lost and other issues |
Blocker |
log-aggregation, nodemanager |
Varun Saxena |
Varun Saxena |
| YARN-3842 |
NMProxy should retry on NMNotYetReadyException |
Critical |
. |
Karthik Kambatla |
Robert Kanter |
| YARN-3832 |
Resource Localization fails on a cluster due to existing cache directories |
Critical |
nodemanager |
Ranga Swamy |
Brahma Reddy Battula |
| YARN-3809 |
Failed to launch new attempts because ApplicationMasterLauncher’s threads all hang |
Major |
resourcemanager |
Jun Gong |
Jun Gong |
| YARN-3804 |
Both RM are on standBy state when kerberos user not in yarn.admin.acl |
Critical |
resourcemanager |
Bibin A Chundatt |
Varun Saxena |
| YARN-3764 |
CapacityScheduler should forbid moving LeafQueue from one parent to another |
Blocker |
. |
Wangda Tan |
Wangda Tan |
| YARN-3753 |
RM failed to come up with “java.io.IOException: Wait for ZKClient creation timed out” |
Critical |
yarn |
Sumana Sathish |
Jian He |
| YARN-3733 |
Fix DominantRC#compare() does not work as expected if cluster resource is empty |
Blocker |
resourcemanager |
Bibin A Chundatt |
Rohith Sharma K S |
| YARN-3725 |
App submission via REST API is broken in secure mode due to Timeline DT service address is empty |
Blocker |
resourcemanager, timelineserver |
Zhijie Shen |
Zhijie Shen |
| YARN-3723 |
Need to clearly document primaryFilter and otherInfo value type |
Critical |
timelineserver |
Zhijie Shen |
Zhijie Shen |
| YARN-3701 |
Isolating the error of generating a single app report when getting all apps from generic history service |
Blocker |
timelineserver |
Zhijie Shen |
Zhijie Shen |
| YARN-3694 |
Fix dead link for TimelineServer REST API |
Minor |
documentation |
Akira AJISAKA |
Jagadesh Kiran N |
| YARN-3681 |
yarn cmd says “could not find main class ‘queue’” in windows |
Blocker |
yarn |
Sumana Sathish |
Varun Saxena |
| YARN-3677 |
Fix findbugs warnings in yarn-server-resourcemanager |
Minor |
resourcemanager |
Akira AJISAKA |
Vinod Kumar Vavilapalli |
| YARN-3675 |
FairScheduler: RM quits when node removal races with continousscheduling on the same node |
Critical |
fairscheduler |
Anubhav Dhoot |
Anubhav Dhoot |
| YARN-3646 |
Applications are getting stuck some times in case of retry policy forever |
Major |
client |
Raju Bairishetti |
Raju Bairishetti |
| YARN-3626 |
On Windows localized resources are not moved to the front of the classpath when they should be |
Major |
yarn |
Craig Welch |
Craig Welch |
| YARN-3614 |
FileSystemRMStateStore throw exception when failed to remove application, that cause resourcemanager to crash |
Critical |
resourcemanager |
lachisis |
|
| YARN-3601 |
Fix UT TestRMFailover.testRMWebAppRedirect |
Critical |
resourcemanager, webapp |
Weiwei Yang |
Weiwei Yang |
| YARN-3585 |
NodeManager cannot exit on SHUTDOWN event triggered and NM recovery is enabled |
Critical |
. |
Peng Zhang |
Rohith Sharma K S |
| YARN-3554 |
Default value for maximum nodemanager connect wait time is too high |
Major |
. |
Jason Lowe |
Naganarasimha G R |
| YARN-3537 |
NPE when NodeManager.serviceInit fails and stopRecoveryStore invoked |
Major |
nodemanager |
Brahma Reddy Battula |
Brahma Reddy Battula |
| YARN-3526 |
ApplicationMaster tracking URL is incorrectly redirected on a QJM cluster |
Major |
resourcemanager, webapp |
Weiwei Yang |
Weiwei Yang |
| YARN-3522 |
DistributedShell uses the wrong user to put timeline data |
Blocker |
timelineserver |
Zhijie Shen |
Zhijie Shen |
| YARN-3516 |
killing ContainerLocalizer action doesn’t take effect when private localizer receives FETCH_FAILURE status. |
Minor |
nodemanager |
zhihai xu |
zhihai xu |
| YARN-3497 |
ContainerManagementProtocolProxy modifies IPC timeout conf without making a copy |
Major |
client |
Jason Lowe |
Jason Lowe |
| YARN-3493 |
RM fails to come up with error “Failed to load/recover state” when mem settings are changed |
Critical |
yarn |
Sumana Sathish |
Jian He |
| YARN-3485 |
FairScheduler headroom calculation doesn’t consider maxResources for Fifo and FairShare policies |
Critical |
fairscheduler |
Karthik Kambatla |
Karthik Kambatla |
| YARN-3476 |
Nodemanager can fail to delete local logs if log aggregation fails |
Major |
log-aggregation, nodemanager |
Jason Lowe |
Rohith Sharma K S |
| YARN-3472 |
Possible leak in DelegationTokenRenewer#allTokens |
Major |
. |
Jian He |
Rohith Sharma K S |
| YARN-3466 |
Fix RM nodes web page to sort by node HTTP-address, #containers and node-label column |
Major |
resourcemanager, webapp |
Jason Lowe |
Jason Lowe |
| YARN-3465 |
Use LinkedHashMap to preserve order of resource requests |
Major |
nodemanager |
zhihai xu |
zhihai xu |
| YARN-3464 |
Race condition in LocalizerRunner kills localizer before localizing all resources |
Critical |
nodemanager |
zhihai xu |
zhihai xu |
| YARN-3462 |
Patches applied for YARN-2424 are inconsistent between trunk and branch-2 |
Major |
. |
Sidharta Seethana |
Naganarasimha G R |
| YARN-3457 |
NPE when NodeManager.serviceInit fails and stopRecoveryStore called |
Minor |
nodemanager |
Bibin A Chundatt |
Bibin A Chundatt |
| YARN-3434 |
Interaction between reservations and userlimit can result in significant ULF violation |
Major |
capacityscheduler |
Thomas Graves |
Thomas Graves |
| YARN-3385 |
Race condition: KeeperException$NoNodeException will cause RM shutdown during ZK node deletion. |
Critical |
resourcemanager |
zhihai xu |
zhihai xu |
| YARN-3382 |
Some of UserMetricsInfo metrics are incorrectly set to root queue metrics |
Major |
webapp |
Rohit Agarwal |
Rohit Agarwal |
| YARN-3358 |
Audit log not present while refreshing Service ACLs |
Minor |
resourcemanager |
Varun Saxena |
Varun Saxena |
| YARN-3351 |
AppMaster tracking URL is broken in HA |
Major |
webapp |
Anubhav Dhoot |
Anubhav Dhoot |
| YARN-3243 |
CapacityScheduler should pass headroom from parent to children to make sure ParentQueue obey its capacity limits. |
Major |
capacityscheduler, resourcemanager |
Wangda Tan |
Wangda Tan |
| YARN-2238 |
filtering on UI sticks even if I move away from the page |
Major |
webapp |
Sangjin Lee |
Jian He |


Gecode::Kernel::FunctionBranch Class Reference
Brancher for calling a function More...
Classes | |
| class | Description |
| Minimal brancher description storing no information. More... | |
Public Member Functions | |
| virtual bool | status (const Space &home) const |
| Check status of brancher, return true if alternatives left. | |
| virtual const Choice * | choice (Space &home) |
| Return choice. | |
| virtual const Choice * | choice (const Space &home, Archive &a) |
| Return choice. | |
| virtual ExecStatus | commit (Space &home, const Choice &ch, unsigned int a) |
| Perform commit. | |
| virtual void | print (const Space &, const Choice &, unsigned int, std::ostream &o) const |
| Print explanation. | |
| virtual Actor * | copy (Space &home) |
| Copy brancher. | |
| virtual size_t | dispose (Space &home) |
| Dispose brancher. | |
Static Public Member Functions | |
| static void | post (Home home, std::function< void(Space &home)> f) |
| Post brancher. | |
Protected Member Functions | |
| FunctionBranch (Home home, std::function< void(Space &home)> f0) | |
| Construct brancher. | |
| FunctionBranch (Space &home, FunctionBranch &b) | |
| Copy constructor. | |
Protected Attributes | |
| SharedData< std::function < void(Space &home)> > | f |
| Function to call. | |
| bool | done |
| Call function just once. |
Detailed Description
Brancher for calling a function
Definition at line 41 of file function.cpp.
Constructor & Destructor Documentation
| Gecode::Kernel::FunctionBranch::FunctionBranch | ( | Home | home, | |
| std::function< void(Space &home)> | f0 | |||
| ) | [inline, protected] |
Construct brancher.
Definition at line 88 of file function.cpp.
| Gecode::Kernel::FunctionBranch::FunctionBranch | ( | Space & | home, | |
| FunctionBranch & | b | |||
| ) | [inline, protected] |
Copy constructor.
Definition at line 96 of file function.cpp.
Member Function Documentation
| bool Gecode::Kernel::FunctionBranch::status | ( | const Space & | home | ) | const [virtual] |
Check status of brancher, return true if alternatives left.
Implements Gecode::Brancher.
Definition at line 100 of file function.cpp.
| ExecStatus Gecode::Kernel::FunctionBranch::commit | ( | Space & | home, | |
| const Choice & | ch, | |||
| unsigned int | a | |||
| ) | [virtual] |
| void Gecode::Kernel::FunctionBranch::print | ( | const Space & | , | |
| const Choice & | , | |||
| unsigned int | , | |||
| std::ostream & | o | |||
| ) | const [virtual] |
Print explanation.
Reimplemented from Gecode::Brancher.
Definition at line 120 of file function.cpp.
| void Gecode::Kernel::FunctionBranch::post | ( | Home | home, | |
| std::function< void(Space &home)> | f | |||
| ) | [inline, static] |
Post brancher.
Definition at line 129 of file function.cpp.
| size_t Gecode::Kernel::FunctionBranch::dispose | ( | Space & | home | ) | [virtual] |
Member Data Documentation
SharedData<std::function<void(Space& home)> > Gecode::Kernel::FunctionBranch::f [protected] |
Function to call.
Definition at line 52 of file function.cpp.
bool Gecode::Kernel::FunctionBranch::done [protected] |
Call function just once.
Definition at line 54 of file function.cpp.
The documentation for this class was generated from the following file:
- gecode/kernel/branch/function.cpp


Murderer Uses Last Words To Taunt Victim’s Parents As He’s Executed
by Lucy ConnollyA death row inmate who stabbed a former co-worker to death in a botched burglary used his last words to taunt his victim’s parents.
Advertisements
Charles Rhines, 63, was killed by lethal injection at South Dakota State Penitentiary in Sioux Falls last night, November 4, after being found guilty of murdering 22-year-old Donnivan Schaeffer in 1992.
Rhines had ambushed and stabbed Schaeffer when the latter caught him robbing a doughnut shop where he worked. Rhines had been fired a few weeks earlier.
Advertisements
22-year-old Schaeffer begged his killer to take him to a hospital and vowed to keep silent about the crime, but he was instead forced into a storeroom where he was tied up and stabbed to death.
Rhines was sentenced to death partly because of the ‘chilling laughter’ he exhibited as he described Schaeffer’s death in his confession to police, according to Steve Allender, a Rapid City police detective at the time of the killing – who told KELO the jury were ‘repulsed’ when they listened to the killer’s confession.
Rhines’ last words before he was executed addressed Schaeffer’s parents directly:
Ed and Peggy Schaeffer, I forgive you for your anger and hatred toward me. I pray to God that he forgives you for your anger and hatred toward me. Thanks to my team. I love you all, goodbye. Let’s go. That’s all I have to say. Goodbye.
Witnesses to the execution said Rhines appeared calm, adding that it took approximately one minute for the pentobarbital used by the state to take effect. He was pronounced dead around five minutes later.
Advertisements
The victim’s parents remained dignified in spite of Rhines’ final insult, making it clear they didn’t want to talk about the killer and instead focusing on their ‘loving’ son.
Patty Schaeffer told reporters:
We were so blessed to have this young man in our family and in our life. Today is the day that we talk about Donnivan, the guy who loved his family, his fiancée, and his friends.
According to South Dakota Attorney General Jason R. Ravnsborg, Schaeffer was set to graduate Western Dakota Tech at the time of his death and was engaged to be married.
Advertisements
The attorney general described Donnivan as ‘funny, kind and a hard worker’, adding ‘words cannot express the sorrow I feel’ but he was glad they were ‘finally able to get justice for him’.
Rest in peace, Donnivan.
If you have experienced a bereavement and would like to speak with someone in confidence, contact Cruse Bereavement Care via their national helpline on 0808 808 1677
A Broadcast Journalism Masters graduate who went on to achieve an NCTJ level 3 Diploma in Journalism, Lucy has done stints at ITV, BBC Inside Out and Key 103. While working as a journalist for UNILAD, Lucy has reported on breaking news stories while also writing features about mental health, cervical screening awareness, and Little Mix (who she is unapologetically obsessed with).


Team Profile
groups
Mike
person_outline
Manager
Id: 1122
Email:
<EMAIL_ADDRESS>Office Number: 33445566
John
engineering
Engineer
Id: 3422
Email:
<EMAIL_ADDRESS>GitHub:
john-b
Chaitra
engineering
Engineer
Id: 6655
Email:
<EMAIL_ADDRESS>GitHub:
chaitra-srinivas
Gina
school
Intern
Id: 8877
Email:
<EMAIL_ADDRESS>School: Monash University
Sam
school
Intern
Id: 998
Email:
<EMAIL_ADDRESS>School: Boston University


WE ARE 200 DEGREES COFFEE, specialist coffee roasters and unashamed coffee geeks. Our aim is to create the perfect cup of coffee so we ship the finest green beans from Rainforest Alliance farms back to the UK where tweed-clad artisans use the traditional art of roasting (at 200° Centigrade) to give a full bodied, smoother taste.
Since 1971, it always has been and will always be about quality. We’re passionate about ethically sourcing only the finest Arabica beans and roasting them with great care. At Starbucks, our passion for coffee is rivaled only by our love of sharing it.
10 years ago, our Flat White took this coffee-loving nation by storm. A velvety smooth storm that’s still going strong today. Just one of the many reasons why you've kept us as your favourite coffee shop for the 10th year running.
There are no shortcuts to sourcing great coffee. The journey we embarked on years ago, and continue to this day, can’t be rushed. Our resident Coffee Master knows this.
WE ARE 200 DEGREES COFFEE, specialist coffee roasters and unashamed coffee geeks. Our aim is to create the perfect cup of coffee so we ship the finest green beans from Rainforest Alliance farms back to the UK where tweed-clad artisans use the traditional art of roasting (at 200° Centigrade) to give a full bodied, smoother taste.
WE ARE 200 DEGREES COFFEE, specialist coffee roasters and unashamed coffee geeks. Our aim is to create the perfect cup of coffee so we ship the finest green beans from Rainforest Alliance farms back to the UK where tweed-clad artisans use the traditional art of roasting (at 200° Centigrade) to give a full bodied, smoother taste.


High-level meet: Army chief calls on PM Imran
by Rizwan GhilzaiChief of the Army Staff General Qamar Javed Bajwa called on Prime Minister Imran Khan on Thursday.
During the high-level meeting, sources said the two reportedly discussed matters related to national security.
This is this second publicised meeting between the two within a span of around a week.
The prime minister and the army chief had discussed the security situation of the country, including the developments in Indian Occupied Kashmir (IOK) during the last meeting.
PM Imran had also hailed the Pakistan Army’s efforts to defend the borders while also ensuring internal security and facilitating the ongoing socio-economic development.
Earlier this week, the military spokesperson refuted claims of an alleged divide between the country’s civilian and military leadership, reiterating that both sides are on the same page.
“This is baseless gossip. There is absolutely nothing of the sort,” said Inter-Services Public Relations (ISPR) Director General Major General Asif Ghafoor as he dismissed speculation that there was a lack of consensus between Prime Minister Imran Khan and Chief of Army Staff (COAS) General Qamar Javed Bajwa.
“The army is supporting a democratically elected government as per the constitution. There will be no let-up in this [support] as it is a must for the progress and prosperity of Pakistan.”
Maj Gen Ghafoor also shot down assertions that the prime minister and army chief were not communicating as often as they were in the early days of the Pakistan Tehreek-e-Insaf (PTI)-led government.
PM Imran and COAS Bajwa had met on November 15 in the first such interaction between the two in recent weeks, particularly against the backdrop of a host of developments — both on the internal as well as external fronts.


{% extends 'api_base.html' %} {% load nonce %} {% block api %}
These are the apps that are authorized to access your account.


Act 2nd
Scene 1st: A subterranean vault beneath the castle of Wolfenstein (in 2)
Set floor R.H. 2nd Ent. Moveable panel in upper part of
R.H. flat. Sliding stone panel in lower part of
L.H. flat.
Wulfgar discovered chaining Rodolphe
discovered,
chained
to wall of R.H. flat. Music() at rise of curtain--Lights
1/2
down.
Wulfgar
There my fine fellow. I think you're both safe and comfortable.
No intruders--neither light nor sound ever comes
here. This should have been your lodging last
night, but you see I mislaid the key.
Wulfgar
When you want exercise or change of air
and you can manage to get rid of yonder little incumbrances.
(Pointing to chains)
You can take it in the vault beneath your feet. Yonder trap leads
to it. You may find it a little mouldy and may stumble
over the skeleton of the last lodger, but that's nothing.
Any change is better than no change at all.
Rodolphe
Monster, begone.
Wulfgar
(Taking up lamp)
Oh, certainly, anything to oblige. In the mean time if your
exercise should give you an appetite and you should want
food and water cry out for it, cry loud and it
won't come. Ha, ha ha!
Good night.
Exit R.H. door. Lights down.
Rodolphe
Alone! So ends in darkness and in death all my bright dreams
of the future, and must I perish thus--I who have but entered
the portal of life? No, no, it cannot be! I must, I will
burst these bonds.
(Music() He makes an effort to break the chains.)
'Tis vain, they defy even the strength of despair.
(Shuddering)
How awful is the chill of this noxious vault, its icy vapors
press upon my brow like the clammy hand of Death, and freeze my very
marrow.
(Music() Hertzog enters with dark lantern through
sliding panel in L.H. flat)
(Starting)
Who's there?
Hertzog
(Turning light upon his own face)
Behold!
(Chord)
Rodolphe
(Starting)
Hertzog, the Crook!
Hertzog
Aye, so men call me.
(Puts lantern off 2nd Ent. L.H.)
Rodolphe
Ill-omened bird, what brings you here? Yet why should I ask?
You come the minister of death? 'tis well, 'tis merciful,
begin your work.
 I serve no human master.
Rodolphe
Then why are you here?
Hertzog
I come to give thee liberty.
Hertzog
Aye. Listen.  Would'st win her back? I have the
power to aid thee.
Rodolphe
Begone, tempter. I know your power and can guess from whence it
comes. Men say you deal in dark and necromantic spells
that warp the senses and enthrall the soul.
Hertzog
Pah! Art thou, too, tainted
with the vulgar fear that calls
philosophy--the natural working of great Nature's laws--a spell
of darkness?
It is the light, weak boy, the light, which we
sage men, who waste our lives oe'r midnight lamps, glean from
dull vapors for the sluggards' use. Fools sneer the most
when least they understand and brand as foul what Nature stamps
as fair.--Thy chains gall thee, let me loose them.
(He touches them with his staff--they fall to ground)
Rodolphe
What is your purpose?
Hertzog
Again I say to serve thee.
Hertzog
Listen, I will tell thee a secret.
She whom thou lovest is
of noble birth.
Hertzog
Aye, yet not Amina,
but the only child and heiress of the
noble house of Wellenstein stolen when but an infant by a
revengeful gypsey whom her father scourged and given to gabbling
Barbara.
Hertzog
Aye, and thou of humble birth, but gold can buy nobility--
nay more, can give thee power to
cross thine enemy. win Amina for
thy bride!
Rodolphe
Why talk to me of gold--to me, the poorest of the poor? Whose
purse contains not half so much as one poor silver mark.
Hertzog
Thou'rt poor indeed, but thou art
poor because thou wilt be
poor. 'Tis with thyself to shame the wealth of the mighty Croesus.
Hertzog
Hast thou not heard of glittering gold in massive piles fast
locked within these mountains?
Rodolphe
An idle tale, a senseless fable told by croning gossips.
A treasure often sought but never found and some do say 'tis
death to seek it.
Hertzog
I tell thee, boy, the story's true, this gold is palpable to
sight and touch, and mayt be garnered too, if thou art bold
enough.
Rodolphe
I'll hear no more! Thou'dst take advantage of my desperate
strait to work some juggle to entrap my soul. Begone, I say,
begone!
Hertzog
And leave thee to thy doom?

Hertzog
'Tis true she loves thee, but bethink thee boy, she is but
woman and she may be won. Her noble birth is known to Wolfenstein
who means to wed her, and with her fortune to prop his
falling house. Already flattered by his serpent tounge, she
dries her tears and listens to his suit.
(Music() He waves his staff. A panel slides in upper part of R.H.
flat slides open, showing through gauze Wolfenstein and
Amina, the former clasping the hand and kneeling at the
feet of the latter whose face is half-averted. Picture strongly
lighted.
Rodolphe
(Starting toward it)
By Heaven, he shall not!
Hertzog
(Interposing, waves his staff--panel closes)
Bravely said, bravely said!
Rodolphe
(Turning quickly)
What devilish compact would you have me sign? Propose it
while my reason whirls and desperation aids your dam'd design.
If by the act I snatch her from his grasp, I'll pay the ransom
though it reach my soul.
Hertzog
(With face averted, chuckles sardonically)
Rodolphe
Come, philosopher or Fiend! Whate'er thou art, the price, I
say, the price.
Hertzog
Pah! I ask no compact, I would serve thee gratis. I but
demand that thou shalt serve thyself. Be rich and thou'lt be
powerful. In thy revenge upon thine enemy and mine, thou'lt
pay thy debt to me with interest.
Rodolphe
Where lies this wondrous treasure?
Hertzog
Listen. Amid the fastnesses of the Hartz, beyond the outlet
of the Black Gorge lies a small lake, whose waters few have
ever gazen upon, for vulgar fear and superstitious dread have
long since marked it for enchanted ground.
Rodolphe
I've heard the story.
Hertzog
Trace carefully its northern shore, until a rock, rising like
a wall, bars further passage. Beneath a fringe of tangled vines
you'll find a boat concealed. Behold this talismanic ring!
(Takes a large ring from his finger)
'Tis a magnet of wondrous power. When thou hast found the
boat step boldly in, this ring will guide thee safely to the
entrance of the goldern cavern within the compass of whose
glittering walls thy wondering eyes may feast on wealth far
greater than the coffers of the world can boast.
Rodolphe
Give me the ring.
Hertzog
'Tis thine!
(gives ring)
Stay, thou'lt need a henchman.
(Stamps his foot)
Varlet come forth.
(Music() Panel on L.H. flat slides as before, and Greppo enters). (Aside)
He too shall perish.
Greppo
Your will, Master?
Hertzog
To part with three.
Greppo
(Aside)
Oh, if this should be but true.
(Aloud)
With me?
Hertzog
With thee, knave.
Hertzog
I weary with thine appetite.
Greppo
(Aside)
Here's a chance! Oh here
is a chance,
if he but stick to it. I must seem unwilling lest he repent.
(Aloud)
Dear master, I will reform, believe me, I will reform, allowance
me to what would starve a mouse.
Hertzog
I am resolved. Behold thy future master.
(to Rodolphe)
Thou'lt find him faithful, but he breeds a famine. Take for
thy present need this purse of gold.
(Offers purse, Rodolphe by a gesture refuses it.)
Nay, when thou'rt rich thou canst repay it.
Rodolphe
Nay, more, if what you say be true, eternal gratitude---
Hertzog
Pah! You trifle time.

Rodolphe
Farewell, come boy, come.
#Music#() Exit at panel. Greppo following turns to
entreat Hertzog, who raises his staff threateningly.
Greppo exits hurriedly at panel)
Hertzog
(Stands in opening and chuckling gazes after them)
The thought of vegeance stirs within his heart, the lust of
gold is rising in his soul, the path that leads to where tis
hoarded ends in death. He's mine, ha, ha! He's mine.
Closed In
Scene 4th
The Grotto of Golden Stalactites--A grand and
comprehensive water cavern of gold, deeply perspective,
with Stalactiform arched roof, cut
wings, representing vistas, running parallel
and harmonizing with that of the main grotto,
the mouth of which (5 feet high by 5 feet wide)
discloses an open lake and distant shore at
back. Set transparent silver waters, in which
are seen sporting fishes and nondescript Amphibea.
Diminutive fairies asleep on the waters
of the grotto in golden shells. Set ground or
shore-piece richly studded with gold and jewels.
Set masses of emerald and gold R, L, + C., upon
and at the foot of which are reclining Gnomes
and Amphibea. Fairies asleep in poses R + L.
The Moon, seen through the opening at the back and
over the distant shore of the lake, shows red
upon its face at the opening of the scene.
Music at change. Shortly
after which Dragonfin who has been asleep
on a jewelled mass on the shore, Centre, slowly awakens,
rises and stretches himself. Upon turning
he sees the red upon the face of the moon. #Music#() Chord().
Dragonfin
(Uttering a cry of alarm)
Awake! Awake!
#Music#() Hurry. Gnomes and Amphibea spring to their
feet. Fairies and water nymphs enter hurriedly R + L.
Diminutive sprites
in shells
and fairies poses
awaken)
Behold! There's blood upon the face of the Moon, our Queen's
in danger, To arms! To arms!
#Music#() hurry--the sprites in the shells disappear
R + L. The Gnomes, Amphibea and Fairies rush off R + L
and immediately re-enter armed, the two first named with
knotted clubs and tridents. The fairies with javelins.
During the action the red disappears from the face of
the moon and it resumes its natural color.
Dragonfin
(Seeing the change)
Stay, 'tis past. Hark.
Stalacta
(Is heard singing beneath the waters.)
All bend forward and listen)
Dragonfin
(After song)
'Tis she, our queen.
Song
(All kneel. Music() Stalacta rises C. from the water
and steps on shore, assisted by Dragonfin)
Stalacta
Arise, my loving subjects.
(All rise)
Dragonfin
Mistress, but now the light in yon great Sapphire died out
and stains of blood flushed in the face of the pale moon.
You have 'scaped some deadly peril?
Stalacta
Thou art right. Listen all, tonight while wandering in the
fastnesses of the Hartz without my protecting talisman, I
heedlessly trod within one of the charmed circles of our
enemy, the Arch-fiend Zamiel.
Stalacta
On the instant I was transformed into a white Dove, with
shorn pinions,--From beneath the rank leaves of an adder-plant
glided a huge serpent. Its eyes were burning coals,
its tongue a living flame. I was paralyzed with fear and
powerless to move. Nearer and nearer it came. I felt its
stifling breath displace the purer air. I saw its venomed
fangs glist'ning in the pale moonlight. Rising from out
its deadly coil it poised itself to strike, when suddenly a youth--a
mortal, strangely present in that wild, weird spot, seeing the
danger of the trembling bird, seized a dead bough, which
chance had fashioned like a holy cross, and smote the foul
thing dead. Then bore me safely from the charmed spot and
gave me life and liberty!
Dragonfin
Revenge, revenge, on the minions of Zamiel.
(Goes quickly off R.H.U. E.)
Stalacta
Nay, let no thought other than of joy mingle with this happy
time.
Remember, 'tis my natal hour, and I would have it, as
in the past, a festal one.
(Seats herself on bank C)
#Music#() The fairies form for
Dance. After the first pose a loud, prolonged, warning note,
as if from a shell, is heard outside at back.
All start in alarm and those hold the attitude of listening.
The sound is repeated. #Music#() hurry. The
pose is broken and the Fairies, Gnomes, and Amphibea
(the latter seizing their arms) form in alarm on either
side. Dragonfin appears quickly through trap behind
1st set water and lands in front of ground piece.
Stalacta
(Who at the first sound has sprung to her feet)
Speak, what danger threatens?
Dragonfin
The sentinel shells, played upon by the watchful winds, give
alarm. Two daring mortals, armed with the enchanted magnet
of the Black Crook, approach the secret entrance. Already
they have passed the white whirlpool in safety. They come
to despoil our realm of its glittering wealth.
Stalacta
Fear not the talisman they bear is powerless against the
spells that guard the portal.
(Echoed without and above)
Stalacta
Is my Battalia at its post?
Dragonfin
The invisible guards of the entrance are marshalled for their
destruction and white bones shall glisten far down
among the red branches of the blood coral.
(Echoed without and above)
Music(). Chorus by Gnomes,
Amphibea and Fairies)
Rejoice, rejoice, rejoice!
Sprites of the golden realm, rejoice.
Daring mortals mock our power,
Flushed with the drink that the heart makes bold,
Drunk with the thirst for the glittering gold,
They madly rush on the fatal hour.
Darks spells arise, smite their longing eyes
That they never may gaze on the glittering prize.
Rejoice, rejoice, rejoice!
Sprites of the golden realms rejoice!
Stalacta
My faithful subjects, your Queen commends the zeal with which
you would guard from mortal sight our beauteous realm. But
ere these rash intruders perish, I would gratify a strange desire.
Speed hence, good Dragonfin, catch me their shadows from
the bosom of the moon-lighted lake and cast them upon my faithful
mirror. I would look upon them ere they fade forever.
#Music#() Dragonfin prostrates himself before Stalacta,
springs into the water and disappears.
Stalacta
Begin the spell.
#Music#() Chorus by fairies
Mortal shadows dimly cast
By the mystic moonbeam's ray
On the bosom of the lake,
Hither, hither, fly away,
Flitting through the silver sheen
Come at summons of our Queen.
Guardian spirits let them pass.
Cast their shadows on the glass.
Music(). Dragonfin springs from the water, and after
prostrating himself before the Queen rises and points
to the water. Music() Fairies wave their wands--a small arched
headed frame of gold and coral stalactites rises centre
at the distant entrance of the grotto, showing small
figures of Rodolphe and Greppo in boat, the former at
the prow gazing anxiously forward, the latter aft in
the attitude of paddling.
Stalacta
(Who had crossed down R.H. turns when the picture
is fully shown--Chord--Starting
Ha, 'tis he! He must not perish. Invisible spirits, avert
this peril.
Shades of mortals hovering near,
Join your masters--disappear.
#Music#() hurry. The mirror and figures quickly sink.
Stalacta
Dragonfin! Come hither. Fly with
swiftest speed to the rocks
beneath the waters of the guarded entramce. When the frail
bark which now approaches shall be rent assunder by the relentless
spells that guard our realm, be at your task to
snatch from death these daring mortals and bear them safely
hither.
(All start forward inquiringly, exclaiming) Mistress!
Mistress!
Stalacta
Nay, question me not, away, away,
Slaves of my power, obey, obey!
#Music# hurry() Dragonfin bows low, springs into
the water and disappears. #Music#(). A small boat with
two mechanical figures representing Rodolphe and
Greppo, as they appeared in the mirror, appears from
R.H. outside at the distance entrance of the grotto, and
moves very slowly across. When it reaches the centre
of the opening it sinks at the sound of the gong and
flash of lightning at back.
#Music#() hurry() All the
Gnomes, Amphibea, etc. utter exclamations of delight
and indulge in extravagant antics, until checked by a
gesture from Stalacta. #Soft music#() Dragonfin rises slowly
from water (C.) supporting on either side Rodolphe
and Greppo, the latter gasping violently for breath as
his head appears, they step on shore. Rodolphe and Greppo
lost in bewilderment. Dragonfin bows low before Stalacta,
the other Amphibea and Gnomes make a demonstration of
attack.
Stalacta
Forbear! Who moves again 'till I alone command, shall perish.
(they retire)
Rodolphe
(Rubbing his eyes)
Is this a phantasm, this glittering gold, yon flashing gems,
these strange fantastic shapes? Have I then passed the portal
of an unknown world or am I dreaming?
Stalacta
Welcome, brave mortal, to our bright domain, and you my subjects--
know and greet your Queen's preserver.
#Music#(). Gnomes and Amphibea cluster around Rodolphe
and Greppo, rolling at their feet and indulging in various
grateful antics--After which the fairies surround
them and evince their delight).
Rodolphe
(Still bewildered)
If this indeed be not a dream, tell me, bright being,
you
whose simple motion seems to sway the moods and passions of
this elfin band, who art thou and where am I?
Stalacta
I am called Stalacta, Queen of this dazzling Realm. The glittering
wonders that assail thine eyes are not creations of
fantastic dreams, but Nature's handiwork wrought with cunning
fingers in a bounteous mood .
Greppo
Who has picked up a large mass of gold at back, comes
forward
'Tis true, master, 'tis true.
Behold this shining nugget.
Stalacta
Who is thy droll companion?
Rodolphe
My simple henchman, a faithful guide and servitor.
Stalacta
I bid him welcome for his master's sake.
Greppo
Thanks, thanks, your resplendent majesty, thanks.
Rodolphe
You spoke of service done, have we then met before?
Stalacta
This very night.
Stalacta
To night, in the Glen of Fire, but not as now. Then a poor
weak, fluttering, charm-encompassed bird, you snatched me
from the jaws of death, broke the dark spell of transformation
and gave to me the priceless boon of liberty.
Greppo
And so do I. Phew!
I do believe it was one of the Beelzebub's own imps in disguise.
Stalacta
Again thou art welcome. This is my natal hour. Wilt view the
sports of this our carnival?
Grand ballet
Stalacta
And while the revels proceed thou shalt tell me thy story.
#Music#(). Seats are brought forward by Amphibea R.H. 1st Ent..
Stalacta and Rodolphe sit. Greppo disposes himself L.H. 1st Ent.
Amusing himself with Dragonfin, Gnomes + Amphibea,
who present him from time to time with nuggets of gold
and jewels which he thrusts into his pockets until they
become greatly distended, during which action the diminutive
sprites re-appear in shells on water floating
to and fro, fishing. The fairies form for dance, as at first, Grand
Ballet action by principals and full Corps de Ballet,
during which the fishers in the shells are seen to catch
some small silverfish.
Greppo
(after the dance terminates)
Ha, ha! Dancing's all very well in its way, but there's the
sport for me, fishing! Look, master, look, see how the little
rogues hook the silly shiners. Oh, if there's one thing in
the world I love more than another, it's fishing--such fun to
feel the greedy rascals snap and see them wiggle. There's
another. Oh I can't stand it any longer, fishing's like
the measles, it's catching.
(Turning to the Amphibea and Gnomes)
Would any of you handsome gentlemen oblige me with a spare
hook and line?
Dragonfin
Nods assent and brings him rod and line
Greppo
Well, upon my word, I'm very much obliged to your scaly
magnificence.  By the way,
is your amphibious majesty fond of fish?
 All right, I'll make you a present of
the first ten pounder I catch.
Music(). He fishes from the shore R.C. and catches two
small fishes, the last quite dimunitive. The Amphibea,
Gnomes and Fairies laugh boisterously as each fish is
drawn forth.
Greppo
(Coming down, crestfallen)
Pshaw, mere sprats and sardines. Not my kind at all. This
is too much like taking advantage of confiding innocence.
(To Dragonfin)
Couldn't your finny Excellency oblige me with a more tempting
bait, something that would seduce some big, greedy, wiggly-waggly
fellow into taking a nibble?
Dragonfin
(Nods affirmatively.) Music(). He goes to
the margin of the water and draws forth a large crab which
he places in the hand of Greppo. It seizes him by the
fingers, to the great delight of the Amphibea, Gnomes and
Fairies. He struggles frantically to extricate himself
& is finally released by Dragonfin who baits the hook
with the crab and gives him the rod and line)
Greppo
(Taking Dragonfin apart confidentially)
I don't know about this. Excuse me for asking the question,
but, as an unprejudiced observer, don't you think this
style of bait more likely to bite the fish than the fish to
bite the bait?
Dragonfin
(Shakes his head and indicates that a large fish
will take it)
Greppo
All right, here goes then.
Music() He casts the line into the water. A moment
after it is violently seized and a frantic struggle
ensues, during which he is nearly drawn overboard
two or three times. Suddenly an amphibeous monster
springs from the water and pursues Greppo around,
off, and on the stage, to the great delight of the
Amphibea, Gnomes & Fairies who indulge in boisterous
laughter. Greppo in his terror throws himself at the
feet of Stalacta for protection. She rises and waves
her hand. The monster retires and is pacified by
Dragonfin)
Greppo
Coming forward)
Really, my fishy-fleshy friend, you must excuse me. I beg
ten thousand pardons. I hadn't the remotest idea in the world
that any of you bottle green gentlemen were lying around loose
on the bottom watching for a supper of raw crabs. Indeed I
hadn't.
The monster growls and makes a start. Music()
Dragonfin interposes and pacifies the monster by patting
him on the back, then taking his hand passes it into
that of Greppo.)
Greppo
(Shaking the monster's hand)
All right, I accept your apology.
(Then turning to Dragonfin)
Now you're what I call a true friend--a friend in need. You
stick by a fellow when he hadn't the courage to stick by himself.
This is the second time you've done me a service. Once
in saving me from too much water and now in saving me from
too much luck, and I'll let you see that I can be grateful.
You like fish?
Dragonfin
(Nods affirmatively)
Greppo
(Passing the monster over to him)
Consider him yours.
All the Amphibea, Gnomes & Fairies laugh and go up
Stalacta
(Rising & leading Rodolphe forward)
Thy story claims for thee my pity and my aid.
Rodolphe
And Hertzog, the Black Crook--
Stalacta
Is a vile sorcerer whose dark unhallowed spells were wrought
for thy destruction.
Stalacta
Beneath the entrance to this charmed spot lie intertwined
amid the branches of the coraline whole hecatombs of human
bones, the whitened relics of adventurous mortals who like
thyself have sought this realm. Until tonight no human eye
has ever seen the dazzling splendor of this wondrous dome.
 Had not thy coming
been to me foreshadowed, and all my power been interposed to
snatch thee from the impending doom, thou too had'st joined
the hapless throng that mouldering lies beneath yon depths.
Rodolphe
Then is thy debt to me already paid.
Stalacta
Not so. I am still thy debtor and must ever be, thou art
environed by danger and need the power of my protection. Return
into the outer world again; thy happiness is there. She
whom thou lov'st is worthy of thy love; therefore return.
Rodolphe
Amina, dear Amina!
Stalacta
In the secret cells of this cavern whose walls are solid gold,
lie counteless hoards of richest treasure, gleaned for ages
by the tireless Gnomes. In the crystal depths of these
waters sparkle gems richer by far than human eyes have ever
gazed upon. Of these thou shalt bear with thee the choicest.
Behold my gift.
Music(). A jewelled stalactiform etagere with strong light
from calcium on it rises centre in front of ground-piece
bearing upon its different shelves rich vases
filled with gold and various colored jewels which Dragonfin,
Gnomes, and Amphibea remove, performing a series of
grotesque evolutions to marked Music(). Etagere sinks--
after which
music.
Stalacta waves her wand; a golden
boat studded with jewels glides on from L.H. to L.C.)
Stalacta
This bark, protected by a potent spell shall bear thee safely
to yon neighboring shore. My faithful gnomes shall be the
treasure bearers. But ere we part, take thou this jewelled
circlet.
(Gives him a ring from her finger)
Should danger threaten as perchance it will, for baffled
malice has a thousand stings, press but thy lips upon the gem
and thou wilt find me by thy side.
Music(). Rodolphe kneels and kisses her hand
Stalacta
(Raising him)
Farewell.
(Music(). He steps into the boat. Greppo, bearing
a large mass of gold affectionately embraces Dragonfin,
shakes hands with the Gnomes and Amphibea, kisses the
Fairies, bows low to Stalacta and gets into the boat.
A dolphin, glittering in green and gold, rises from behind
2nd or 3rd set water with principal danseuse
bearing vase of treasure. Other dolphins float on
R. + L. with diminutive sprites bearing treasure. Copious
shower of gold, the other sprites on the water catching
the flakes in silver shells. Poses by the gnomes, Amphibea
and fairies. The whole scene brilliantly lighted. Tableaux and
a power greater than mine for thy protection--I can give these
riches beyond thy heart's desire, but am unable to restore
thee to the outer world again--'Tis Neptune only can command
the waters to give up the prisoners committed to their depths, but fear not
mortal! For Stalacta's sake, the Sea King and his gentle
Amphitite Queen of Beauty will give thee freedom from the spell
of the Enchanter and command these glittering leaves to disappear
amind the waves of mighty ocean! Hold! take this ring! Should danger
threaten, press it to thy lips and thou shalt find Stalacta near to aid thee.
#Music#
Scene transforms to the ocean, and Neptune and the Sea Deities rise with
Rodolphe + Greppo
Tableau and
Slow Drop
Slow Curtain


| Line | Code |
| 1 | <?php
|
| 2 | /**
|
| 3 | * @link http://www.yiiframework.com/
|
| 4 | * @copyright Copyright (c) 2008 Yii Software LLC
|
| 5 | * @license http://www.yiiframework.com/license/
|
| 6 | */
|
| 7 |
|
| 8 | namespace yii\base;
|
| 9 |
|
| 10 | use Yii;
|
| 11 |
|
| 12 | /**
|
| 13 | * Component is the base class that implements the *property*, *event* and *behavior* features.
|
| 14 | *
|
| 15 | * Component provides the *event* and *behavior* features, in addition to the *property* feature which is implemented in
|
| 16 | * its parent class [[Object]].
|
| 17 | *
|
| 18 | * Event is a way to "inject" custom code into existing code at certain places. For example, a comment object can trigger
|
| 19 | * an "add" event when the user adds a comment. We can write custom code and attach it to this event so that when the event
|
| 20 | * is triggered (i.e. comment will be added), our custom code will be executed.
|
| 21 | *
|
| 22 | * An event is identified by a name that should be unique within the class it is defined at. Event names are *case-sensitive*.
|
| 23 | *
|
| 24 | * One or multiple PHP callbacks, called *event handlers*, can be attached to an event. You can call [[trigger()]] to
|
| 25 | * raise an event. When an event is raised, the event handlers will be invoked automatically in the order they were
|
| 26 | * attached.
|
| 27 | *
|
| 28 | * To attach an event handler to an event, call [[on()]]:
|
| 29 | *
|
| 30 | * ```php
|
| 31 | * $post->on('update', function ($event) {
|
| 32 | * // send email notification
|
| 33 | * });
|
| 34 | * ```
|
| 35 | *
|
| 36 | * In the above, an anonymous function is attached to the "update" event of the post. You may attach
|
| 37 | * the following types of event handlers:
|
| 38 | *
|
| 39 | * - anonymous function: `function ($event) { ... }`
|
| 40 | * - object method: `[$object, 'handleAdd']`
|
| 41 | * - static class method: `['Page', 'handleAdd']`
|
| 42 | * - global function: `'handleAdd'`
|
| 43 | *
|
| 44 | * The signature of an event handler should be like the following:
|
| 45 | *
|
| 46 | * ```php
|
| 47 | * function foo($event)
|
| 48 | * ```
|
| 49 | *
|
| 50 | * where `$event` is an [[Event]] object which includes parameters associated with the event.
|
| 51 | *
|
| 52 | * You can also attach a handler to an event when configuring a component with a configuration array.
|
| 53 | * The syntax is like the following:
|
| 54 | *
|
| 55 | * ```php
|
| 56 | * [
|
| 57 | * 'on add' => function ($event) { ... }
|
| 58 | * ]
|
| 59 | * ```
|
| 60 | *
|
| 61 | * where `on add` stands for attaching an event to the `add` event.
|
| 62 | *
|
| 63 | * Sometimes, you may want to associate extra data with an event handler when you attach it to an event
|
| 64 | * and then access it when the handler is invoked. You may do so by
|
| 65 | *
|
| 66 | * ```php
|
| 67 | * $post->on('update', function ($event) {
|
| 68 | * // the data can be accessed via $event->data
|
| 69 | * }, $data);
|
| 70 | * ```
|
| 71 | *
|
| 72 | * A behavior is an instance of [[Behavior]] or its child class. A component can be attached with one or multiple
|
| 73 | * behaviors. When a behavior is attached to a component, its public properties and methods can be accessed via the
|
| 74 | * component directly, as if the component owns those properties and methods.
|
| 75 | *
|
| 76 | * To attach a behavior to a component, declare it in [[behaviors()]], or explicitly call [[attachBehavior]]. Behaviors
|
| 77 | * declared in [[behaviors()]] are automatically attached to the corresponding component.
|
| 78 | *
|
| 79 | * One can also attach a behavior to a component when configuring it with a configuration array. The syntax is like the
|
| 80 | * following:
|
| 81 | *
|
| 82 | * ```php
|
| 83 | * [
|
| 84 | * 'as tree' => [
|
| 85 | * 'class' => 'Tree',
|
| 86 | * ],
|
| 87 | * ]
|
| 88 | * ```
|
| 89 | *
|
| 90 | * where `as tree` stands for attaching a behavior named `tree`, and the array will be passed to [[\Yii::createObject()]]
|
| 91 | * to create the behavior object.
|
| 92 | *
|
| 93 | * @property Behavior[] $behaviors List of behaviors attached to this component. This property is read-only.
|
| 94 | *
|
| 95 | * @author Qiang Xue<EMAIL_ADDRESS>|
| 96 | * @since 2.0
|
| 97 | */
|
| 98 | class Component extends Object
|
| 99 | {
|
| 100 | /**
|
| 101 | * @var array the attached event handlers (event name => handlers)
|
| 102 | */
|
| 103 | private $_events = [];
|
| 104 | /**
|
| 105 | * @var Behavior[]|null the attached behaviors (behavior name => behavior). This is `null` when not initialized.
|
| 106 | */
|
| 107 | private $_behaviors;
|
| 108 |
|
| 109 |
|
| 110 | /**
|
| 111 | * Returns the value of a component property.
|
| 112 | * This method will check in the following order and act accordingly:
|
| 113 | *
|
| 114 | * - a property defined by a getter: return the getter result
|
| 115 | * - a property of a behavior: return the behavior property value
|
| 116 | *
|
| 117 | * Do not call this method directly as it is a PHP magic method that
|
| 118 | * will be implicitly called when executing `$value = $component->property;`.
|
| 119 | * @param string $name the property name
|
| 120 | * @return mixed the property value or the value of a behavior's property
|
| 121 | * @throws UnknownPropertyException if the property is not defined
|
| 122 | * @throws InvalidCallException if the property is write-only.
|
| 123 | * @see __set()
|
| 124 | */
|
| 125 | public function __get($name)
|
| 126 | {
|
| 127 | $getter = 'get' . $name;
|
| 128 | if (method_exists($this, $getter)) {
|
| 129 | // read property, e.g. getName()
|
| 130 | return $this->$getter();
|
| 131 | } else {
|
| 132 | // behavior property
|
| 133 | $this->ensureBehaviors();
|
| 134 | foreach ($this->_behaviors as $behavior) {
|
| 135 | if ($behavior->canGetProperty($name)) {
|
| 136 | return $behavior->$name;
|
| 137 | }
|
| 138 | }
|
| 139 | }
|
| 140 | if (method_exists($this, 'set' . $name)) {
|
| 141 | throw new InvalidCallException('Getting write-only property: ' . get_class($this) . '::' . $name);
|
| 142 | } else {
|
| 143 | throw new UnknownPropertyException('Getting unknown property: ' . get_class($this) . '::' . $name);
|
| 144 | }
|
| 145 | }
|
| 146 |
|
| 147 | /**
|
| 148 | * Sets the value of a component property.
|
| 149 | * This method will check in the following order and act accordingly:
|
| 150 | *
|
| 151 | * - a property defined by a setter: set the property value
|
| 152 | * - an event in the format of "on xyz": attach the handler to the event "xyz"
|
| 153 | * - a behavior in the format of "as xyz": attach the behavior named as "xyz"
|
| 154 | * - a property of a behavior: set the behavior property value
|
| 155 | *
|
| 156 | * Do not call this method directly as it is a PHP magic method that
|
| 157 | * will be implicitly called when executing `$component->property = $value;`.
|
| 158 | * @param string $name the property name or the event name
|
| 159 | * @param mixed $value the property value
|
| 160 | * @throws UnknownPropertyException if the property is not defined
|
| 161 | * @throws InvalidCallException if the property is read-only.
|
| 162 | * @see __get()
|
| 163 | */
|
| 164 | public function __set($name, $value)
|
| 165 | {
|
| 166 | $setter = 'set' . $name;
|
| 167 | if (method_exists($this, $setter)) {
|
| 168 | // set property
|
| 169 | $this->$setter($value);
|
| 170 |
|
| 171 | return;
|
| 172 | } elseif (strncmp($name, 'on ', 3) === 0) {
|
| 173 | // on event: attach event handler
|
| 174 | $this->on(trim(substr($name, 3)), $value);
|
| 175 |
|
| 176 | return;
|
| 177 | } elseif (strncmp($name, 'as ', 3) === 0) {
|
| 178 | // as behavior: attach behavior
|
| 179 | $name = trim(substr($name, 3));
|
| 180 | $this->attachBehavior($name, $value instanceof Behavior ? $value : Yii::createObject($value));
|
| 181 |
|
| 182 | return;
|
| 183 | } else {
|
| 184 | // behavior property
|
| 185 | $this->ensureBehaviors();
|
| 186 | foreach ($this->_behaviors as $behavior) {
|
| 187 | if ($behavior->canSetProperty($name)) {
|
| 188 | $behavior->$name = $value;
|
| 189 |
|
| 190 | return;
|
| 191 | }
|
| 192 | }
|
| 193 | }
|
| 194 | if (method_exists($this, 'get' . $name)) {
|
| 195 | throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::' . $name);
|
| 196 | } else {
|
| 197 | throw new UnknownPropertyException('Setting unknown property: ' . get_class($this) . '::' . $name);
|
| 198 | }
|
| 199 | }
|
| 200 |
|
| 201 | /**
|
| 202 | * Checks if a property is set, i.e. defined and not null.
|
| 203 | * This method will check in the following order and act accordingly:
|
| 204 | *
|
| 205 | * - a property defined by a setter: return whether the property is set
|
| 206 | * - a property of a behavior: return whether the property is set
|
| 207 | * - return `false` for non existing properties
|
| 208 | *
|
| 209 | * Do not call this method directly as it is a PHP magic method that
|
| 210 | * will be implicitly called when executing `isset($component->property)`.
|
| 211 | * @param string $name the property name or the event name
|
| 212 | * @return boolean whether the named property is set
|
| 213 | * @see http://php.net/manual/en/function.isset.php
|
| 214 | */
|
| 215 | public function __isset($name)
|
| 216 | {
|
| 217 | $getter = 'get' . $name;
|
| 218 | if (method_exists($this, $getter)) {
|
| 219 | return $this->$getter() !== null;
|
| 220 | } else {
|
| 221 | // behavior property
|
| 222 | $this->ensureBehaviors();
|
| 223 | foreach ($this->_behaviors as $behavior) {
|
| 224 | if ($behavior->canGetProperty($name)) {
|
| 225 | return $behavior->$name !== null;
|
| 226 | }
|
| 227 | }
|
| 228 | }
|
| 229 | return false;
|
| 230 | }
|
| 231 |
|
| 232 | /**
|
| 233 | * Sets a component property to be null.
|
| 234 | * This method will check in the following order and act accordingly:
|
| 235 | *
|
| 236 | * - a property defined by a setter: set the property value to be null
|
| 237 | * - a property of a behavior: set the property value to be null
|
| 238 | *
|
| 239 | * Do not call this method directly as it is a PHP magic method that
|
| 240 | * will be implicitly called when executing `unset($component->property)`.
|
| 241 | * @param string $name the property name
|
| 242 | * @throws InvalidCallException if the property is read only.
|
| 243 | * @see http://php.net/manual/en/function.unset.php
|
| 244 | */
|
| 245 | public function __unset($name)
|
| 246 | {
|
| 247 | $setter = 'set' . $name;
|
| 248 | if (method_exists($this, $setter)) {
|
| 249 | $this->$setter(null);
|
| 250 | return;
|
| 251 | } else {
|
| 252 | // behavior property
|
| 253 | $this->ensureBehaviors();
|
| 254 | foreach ($this->_behaviors as $behavior) {
|
| 255 | if ($behavior->canSetProperty($name)) {
|
| 256 | $behavior->$name = null;
|
| 257 | return;
|
| 258 | }
|
| 259 | }
|
| 260 | }
|
| 261 | throw new InvalidCallException('Unsetting an unknown or read-only property: ' . get_class($this) . '::' . $name);
|
| 262 | }
|
| 263 |
|
| 264 | /**
|
| 265 | * Calls the named method which is not a class method.
|
| 266 | *
|
| 267 | * This method will check if any attached behavior has
|
| 268 | * the named method and will execute it if available.
|
| 269 | *
|
| 270 | * Do not call this method directly as it is a PHP magic method that
|
| 271 | * will be implicitly called when an unknown method is being invoked.
|
| 272 | * @param string $name the method name
|
| 273 | * @param array $params method parameters
|
| 274 | * @return mixed the method return value
|
| 275 | * @throws UnknownMethodException when calling unknown method
|
| 276 | */
|
| 277 | public function __call($name, $params)
|
| 278 | {
|
| 279 | $this->ensureBehaviors();
|
| 280 | foreach ($this->_behaviors as $object) {
|
| 281 | if ($object->hasMethod($name)) {
|
| 282 | return call_user_func_array([$object, $name], $params);
|
| 283 | }
|
| 284 | }
|
| 285 | throw new UnknownMethodException('Calling unknown method: ' . get_class($this) . "::$name()");
|
| 286 | }
|
| 287 |
|
| 288 | /**
|
| 289 | * This method is called after the object is created by cloning an existing one.
|
| 290 | * It removes all behaviors because they are attached to the old object.
|
| 291 | */
|
| 292 | public function __clone()
|
| 293 | {
|
| 294 | $this->_events = [];
|
| 295 | $this->_behaviors = null;
|
| 296 | }
|
| 297 |
|
| 298 | /**
|
| 299 | * Returns a value indicating whether a property is defined for this component.
|
| 300 | * A property is defined if:
|
| 301 | *
|
| 302 | * - the class has a getter or setter method associated with the specified name
|
| 303 | * (in this case, property name is case-insensitive);
|
| 304 | * - the class has a member variable with the specified name (when `$checkVars` is true);
|
| 305 | * - an attached behavior has a property of the given name (when `$checkBehaviors` is true).
|
| 306 | *
|
| 307 | * @param string $name the property name
|
| 308 | * @param boolean $checkVars whether to treat member variables as properties
|
| 309 | * @param boolean $checkBehaviors whether to treat behaviors' properties as properties of this component
|
| 310 | * @return boolean whether the property is defined
|
| 311 | * @see canGetProperty()
|
| 312 | * @see canSetProperty()
|
| 313 | */
|
| 314 | public function hasProperty($name, $checkVars = true, $checkBehaviors = true)
|
| 315 | {
|
| 316 | return $this->canGetProperty($name, $checkVars, $checkBehaviors) || $this->canSetProperty($name, false, $checkBehaviors);
|
| 317 | }
|
| 318 |
|
| 319 | /**
|
| 320 | * Returns a value indicating whether a property can be read.
|
| 321 | * A property can be read if:
|
| 322 | *
|
| 323 | * - the class has a getter method associated with the specified name
|
| 324 | * (in this case, property name is case-insensitive);
|
| 325 | * - the class has a member variable with the specified name (when `$checkVars` is true);
|
| 326 | * - an attached behavior has a readable property of the given name (when `$checkBehaviors` is true).
|
| 327 | *
|
| 328 | * @param string $name the property name
|
| 329 | * @param boolean $checkVars whether to treat member variables as properties
|
| 330 | * @param boolean $checkBehaviors whether to treat behaviors' properties as properties of this component
|
| 331 | * @return boolean whether the property can be read
|
| 332 | * @see canSetProperty()
|
| 333 | */
|
| 334 | public function canGetProperty($name, $checkVars = true, $checkBehaviors = true)
|
| 335 | {
|
| 336 | if (method_exists($this, 'get' . $name) || $checkVars && property_exists($this, $name)) {
|
| 337 | return true;
|
| 338 | } elseif ($checkBehaviors) {
|
| 339 | $this->ensureBehaviors();
|
| 340 | foreach ($this->_behaviors as $behavior) {
|
| 341 | if ($behavior->canGetProperty($name, $checkVars)) {
|
| 342 | return true;
|
| 343 | }
|
| 344 | }
|
| 345 | }
|
| 346 | return false;
|
| 347 | }
|
| 348 |
|
| 349 | /**
|
| 350 | * Returns a value indicating whether a property can be set.
|
| 351 | * A property can be written if:
|
| 352 | *
|
| 353 | * - the class has a setter method associated with the specified name
|
| 354 | * (in this case, property name is case-insensitive);
|
| 355 | * - the class has a member variable with the specified name (when `$checkVars` is true);
|
| 356 | * - an attached behavior has a writable property of the given name (when `$checkBehaviors` is true).
|
| 357 | *
|
| 358 | * @param string $name the property name
|
| 359 | * @param boolean $checkVars whether to treat member variables as properties
|
| 360 | * @param boolean $checkBehaviors whether to treat behaviors' properties as properties of this component
|
| 361 | * @return boolean whether the property can be written
|
| 362 | * @see canGetProperty()
|
| 363 | */
|
| 364 | public function canSetProperty($name, $checkVars = true, $checkBehaviors = true)
|
| 365 | {
|
| 366 | if (method_exists($this, 'set' . $name) || $checkVars && property_exists($this, $name)) {
|
| 367 | return true;
|
| 368 | } elseif ($checkBehaviors) {
|
| 369 | $this->ensureBehaviors();
|
| 370 | foreach ($this->_behaviors as $behavior) {
|
| 371 | if ($behavior->canSetProperty($name, $checkVars)) {
|
| 372 | return true;
|
| 373 | }
|
| 374 | }
|
| 375 | }
|
| 376 | return false;
|
| 377 | }
|
| 378 |
|
| 379 | /**
|
| 380 | * Returns a value indicating whether a method is defined.
|
| 381 | * A method is defined if:
|
| 382 | *
|
| 383 | * - the class has a method with the specified name
|
| 384 | * - an attached behavior has a method with the given name (when `$checkBehaviors` is true).
|
| 385 | *
|
| 386 | * @param string $name the property name
|
| 387 | * @param boolean $checkBehaviors whether to treat behaviors' methods as methods of this component
|
| 388 | * @return boolean whether the property is defined
|
| 389 | */
|
| 390 | public function hasMethod($name, $checkBehaviors = true)
|
| 391 | {
|
| 392 | if (method_exists($this, $name)) {
|
| 393 | return true;
|
| 394 | } elseif ($checkBehaviors) {
|
| 395 | $this->ensureBehaviors();
|
| 396 | foreach ($this->_behaviors as $behavior) {
|
| 397 | if ($behavior->hasMethod($name)) {
|
| 398 | return true;
|
| 399 | }
|
| 400 | }
|
| 401 | }
|
| 402 | return false;
|
| 403 | }
|
| 404 |
|
| 405 | /**
|
| 406 | * Returns a list of behaviors that this component should behave as.
|
| 407 | *
|
| 408 | * Child classes may override this method to specify the behaviors they want to behave as.
|
| 409 | *
|
| 410 | * The return value of this method should be an array of behavior objects or configurations
|
| 411 | * indexed by behavior names. A behavior configuration can be either a string specifying
|
| 412 | * the behavior class or an array of the following structure:
|
| 413 | *
|
| 414 | * ```php
|
| 415 | * 'behaviorName' => [
|
| 416 | * 'class' => 'BehaviorClass',
|
| 417 | * 'property1' => 'value1',
|
| 418 | * 'property2' => 'value2',
|
| 419 | * ]
|
| 420 | * ```
|
| 421 | *
|
| 422 | * Note that a behavior class must extend from [[Behavior]]. Behavior names can be strings
|
| 423 | * or integers. If the former, they uniquely identify the behaviors. If the latter, the corresponding
|
| 424 | * behaviors are anonymous and their properties and methods will NOT be made available via the component
|
| 425 | * (however, the behaviors can still respond to the component's events).
|
| 426 | *
|
| 427 | * Behaviors declared in this method will be attached to the component automatically (on demand).
|
| 428 | *
|
| 429 | * @return array the behavior configurations.
|
| 430 | */
|
| 431 | public function behaviors()
|
| 432 | {
|
| 433 | return [];
|
| 434 | }
|
| 435 |
|
| 436 | /**
|
| 437 | * Returns a value indicating whether there is any handler attached to the named event.
|
| 438 | * @param string $name the event name
|
| 439 | * @return boolean whether there is any handler attached to the event.
|
| 440 | */
|
| 441 | public function hasEventHandlers($name)
|
| 442 | {
|
| 443 | $this->ensureBehaviors();
|
| 444 | return !empty($this->_events[$name]) || Event::hasHandlers($this, $name);
|
| 445 | }
|
| 446 |
|
| 447 | /**
|
| 448 | * Attaches an event handler to an event.
|
| 449 | *
|
| 450 | * The event handler must be a valid PHP callback. The following are
|
| 451 | * some examples:
|
| 452 | *
|
| 453 | * ```
|
| 454 | * function ($event) { ... } // anonymous function
|
| 455 | * [$object, 'handleClick'] // $object->handleClick()
|
| 456 | * ['Page', 'handleClick'] // Page::handleClick()
|
| 457 | * 'handleClick' // global function handleClick()
|
| 458 | * ```
|
| 459 | *
|
| 460 | * The event handler must be defined with the following signature,
|
| 461 | *
|
| 462 | * ```
|
| 463 | * function ($event)
|
| 464 | * ```
|
| 465 | *
|
| 466 | * where `$event` is an [[Event]] object which includes parameters associated with the event.
|
| 467 | *
|
| 468 | * @param string $name the event name
|
| 469 | * @param callable $handler the event handler
|
| 470 | * @param mixed $data the data to be passed to the event handler when the event is triggered.
|
| 471 | * When the event handler is invoked, this data can be accessed via [[Event::data]].
|
| 472 | * @param boolean $append whether to append new event handler to the end of the existing
|
| 473 | * handler list. If false, the new handler will be inserted at the beginning of the existing
|
| 474 | * handler list.
|
| 475 | * @see off()
|
| 476 | */
|
| 477 | public function on($name, $handler, $data = null, $append = true)
|
| 478 | {
|
| 479 | $this->ensureBehaviors();
|
| 480 | if ($append || empty($this->_events[$name])) {
|
| 481 | $this->_events[$name][] = [$handler, $data];
|
| 482 | } else {
|
| 483 | array_unshift($this->_events[$name], [$handler, $data]);
|
| 484 | }
|
| 485 | }
|
| 486 |
|
| 487 | /**
|
| 488 | * Detaches an existing event handler from this component.
|
| 489 | * This method is the opposite of [[on()]].
|
| 490 | * @param string $name event name
|
| 491 | * @param callable $handler the event handler to be removed.
|
| 492 | * If it is null, all handlers attached to the named event will be removed.
|
| 493 | * @return boolean if a handler is found and detached
|
| 494 | * @see on()
|
| 495 | */
|
| 496 | public function off($name, $handler = null)
|
| 497 | {
|
| 498 | $this->ensureBehaviors();
|
| 499 | if (empty($this->_events[$name])) {
|
| 500 | return false;
|
| 501 | }
|
| 502 | if ($handler === null) {
|
| 503 | unset($this->_events[$name]);
|
| 504 | return true;
|
| 505 | } else {
|
| 506 | $removed = false;
|
| 507 | foreach ($this->_events[$name] as $i => $event) {
|
| 508 | if ($event[0] === $handler) {
|
| 509 | unset($this->_events[$name][$i]);
|
| 510 | $removed = true;
|
| 511 | }
|
| 512 | }
|
| 513 | if ($removed) {
|
| 514 | $this->_events[$name] = array_values($this->_events[$name]);
|
| 515 | }
|
| 516 | return $removed;
|
| 517 | }
|
| 518 | }
|
| 519 |
|
| 520 | /**
|
| 521 | * Triggers an event.
|
| 522 | * This method represents the happening of an event. It invokes
|
| 523 | * all attached handlers for the event including class-level handlers.
|
| 524 | * @param string $name the event name
|
| 525 | * @param Event $event the event parameter. If not set, a default [[Event]] object will be created.
|
| 526 | */
|
| 527 | public function trigger($name, Event $event = null)
|
| 528 | {
|
| 529 | $this->ensureBehaviors();
|
| 530 | if (!empty($this->_events[$name])) {
|
| 531 | if ($event === null) {
|
| 532 | $event = new Event;
|
| 533 | }
|
| 534 | if ($event->sender === null) {
|
| 535 | $event->sender = $this;
|
| 536 | }
|
| 537 | $event->handled = false;
|
| 538 | $event->name = $name;
|
| 539 | foreach ($this->_events[$name] as $handler) {
|
| 540 | $event->data = $handler[1];
|
| 541 | call_user_func($handler[0], $event);
|
| 542 | // stop further handling if the event is handled
|
| 543 | if ($event->handled) {
|
| 544 | return;
|
| 545 | }
|
| 546 | }
|
| 547 | }
|
| 548 | // invoke class-level attached handlers
|
| 549 | Event::trigger($this, $name, $event);
|
| 550 | }
|
| 551 |
|
| 552 | /**
|
| 553 | * Returns the named behavior object.
|
| 554 | * @param string $name the behavior name
|
| 555 | * @return null|Behavior the behavior object, or null if the behavior does not exist
|
| 556 | */
|
| 557 | public function getBehavior($name)
|
| 558 | {
|
| 559 | $this->ensureBehaviors();
|
| 560 | return isset($this->_behaviors[$name]) ? $this->_behaviors[$name] : null;
|
| 561 | }
|
| 562 |
|
| 563 | /**
|
| 564 | * Returns all behaviors attached to this component.
|
| 565 | * @return Behavior[] list of behaviors attached to this component
|
| 566 | */
|
| 567 | public function getBehaviors()
|
| 568 | {
|
| 569 | $this->ensureBehaviors();
|
| 570 | return $this->_behaviors;
|
| 571 | }
|
| 572 |
|
| 573 | /**
|
| 574 | * Attaches a behavior to this component.
|
| 575 | * This method will create the behavior object based on the given
|
| 576 | * configuration. After that, the behavior object will be attached to
|
| 577 | * this component by calling the [[Behavior::attach()]] method.
|
| 578 | * @param string $name the name of the behavior.
|
| 579 | * @param string|array|Behavior $behavior the behavior configuration. This can be one of the following:
|
| 580 | *
|
| 581 | * - a [[Behavior]] object
|
| 582 | * - a string specifying the behavior class
|
| 583 | * - an object configuration array that will be passed to [[Yii::createObject()]] to create the behavior object.
|
| 584 | *
|
| 585 | * @return Behavior the behavior object
|
| 586 | * @see detachBehavior()
|
| 587 | */
|
| 588 | public function attachBehavior($name, $behavior)
|
| 589 | {
|
| 590 | $this->ensureBehaviors();
|
| 591 | return $this->attachBehaviorInternal($name, $behavior);
|
| 592 | }
|
| 593 |
|
| 594 | /**
|
| 595 | * Attaches a list of behaviors to the component.
|
| 596 | * Each behavior is indexed by its name and should be a [[Behavior]] object,
|
| 597 | * a string specifying the behavior class, or an configuration array for creating the behavior.
|
| 598 | * @param array $behaviors list of behaviors to be attached to the component
|
| 599 | * @see attachBehavior()
|
| 600 | */
|
| 601 | public function attachBehaviors($behaviors)
|
| 602 | {
|
| 603 | $this->ensureBehaviors();
|
| 604 | foreach ($behaviors as $name => $behavior) {
|
| 605 | $this->attachBehaviorInternal($name, $behavior);
|
| 606 | }
|
| 607 | }
|
| 608 |
|
| 609 | /**
|
| 610 | * Detaches a behavior from the component.
|
| 611 | * The behavior's [[Behavior::detach()]] method will be invoked.
|
| 612 | * @param string $name the behavior's name.
|
| 613 | * @return null|Behavior the detached behavior. Null if the behavior does not exist.
|
| 614 | */
|
| 615 | public function detachBehavior($name)
|
| 616 | {
|
| 617 | $this->ensureBehaviors();
|
| 618 | if (isset($this->_behaviors[$name])) {
|
| 619 | $behavior = $this->_behaviors[$name];
|
| 620 | unset($this->_behaviors[$name]);
|
| 621 | $behavior->detach();
|
| 622 | return $behavior;
|
| 623 | } else {
|
| 624 | return null;
|
| 625 | }
|
| 626 | }
|
| 627 |
|
| 628 | /**
|
| 629 | * Detaches all behaviors from the component.
|
| 630 | */
|
| 631 | public function detachBehaviors()
|
| 632 | {
|
| 633 | $this->ensureBehaviors();
|
| 634 | foreach ($this->_behaviors as $name => $behavior) {
|
| 635 | $this->detachBehavior($name);
|
| 636 | }
|
| 637 | }
|
| 638 |
|
| 639 | /**
|
| 640 | * Makes sure that the behaviors declared in [[behaviors()]] are attached to this component.
|
| 641 | */
|
| 642 | public function ensureBehaviors()
|
| 643 | {
|
| 644 | if ($this->_behaviors === null) {
|
| 645 | $this->_behaviors = [];
|
| 646 | foreach ($this->behaviors() as $name => $behavior) {
|
| 647 | $this->attachBehaviorInternal($name, $behavior);
|
| 648 | }
|
| 649 | }
|
| 650 | }
|
| 651 |
|
| 652 | /**
|
| 653 | * Attaches a behavior to this component.
|
| 654 | * @param string|integer $name the name of the behavior. If this is an integer, it means the behavior
|
| 655 | * is an anonymous one. Otherwise, the behavior is a named one and any existing behavior with the same name
|
| 656 | * will be detached first.
|
| 657 | * @param string|array|Behavior $behavior the behavior to be attached
|
| 658 | * @return Behavior the attached behavior.
|
| 659 | */
|
| 660 | private function attachBehaviorInternal($name, $behavior)
|
| 661 | {
|
| 662 | if (!($behavior instanceof Behavior)) {
|
| 663 | $behavior = Yii::createObject($behavior);
|
| 664 | }
|
| 665 | if (is_int($name)) {
|
| 666 | $behavior->attach($this);
|
| 667 | $this->_behaviors[] = $behavior;
|
| 668 | } else {
|
| 669 | if (isset($this->_behaviors[$name])) {
|
| 670 | $this->_behaviors[$name]->detach();
|
| 671 | }
|
| 672 | $behavior->attach($this);
|
| 673 | $this->_behaviors[$name] = $behavior;
|
| 674 | }
|
| 675 | return $behavior;
|
| 676 | }
|
| 677 | }
|


| An experiment
was performed to investigate the how frequency selective fading varies with
small changes in space. The results of this investigation was used to measure
the performance of the proposed adaptive OFDM system, which allocates the
subcarrier modulation scheme based on the signal to noise ratio of each
subcarrier. |
|
| The experiment
was performed by measuring the power frequency response of an indoor radio
channel using a sweeping signal generator and a spectrum analyser. The
receiver antenna was then moved along a 2.4 m guide track in steps of 1 cm.
The frequency response of the channel was measured for each movement of the
antenna. |


Our Assessment technique uses a 35-point questionnaire to measure a firm's failure risk position.
More effectively comprehend a firm's susceptibility to failure with an interactive dashboard and key failure metrics.
Receive strategic insights to navigate a firm's failure risk position optimally.
Our research on large and mature failed retailers emphasized that as organizations continue along the continuum of existence, they are in a constant battle against various failure factors associated with three environment domains. They battle; versus the internal firm environment (Themselves), versus the immediate environment (Micro) and versus the general environment (Macro). Our research showcases that business failure occurs when an overpowering individual or cluster of failure factors progressively push a firm towards the point of absolute failure. As such, to understand and defend against business failure, firm’s must be able to understand the scale and scope of the threat.
Our subsequently developed tool provides an assessing technique to quantify and portray a firm’s susceptibility to the threatening failure factors and associated symptoms which have caused large and mature firms to fail in the past. With these insights a firm can comprehend and navigate their failure position in a more informed manner.
The research team comprises of MBA candidates harnessing a diverse pool of academic and professional backgrounds who are undertaking a Live Business Project intending to address a significant managerial problem.
Donavan Burgess
Donavan is an Underwriter at AXA XL where he provides sophisticated insurance solutions to Fortune 500 companies for their most complex professional and cyber liability risk. His academic background and present focus is in Business Management.
Jonathan Cluny
Jonathan works for Bureau van Dijk, a Moody’s Analytics Company, managing the team who deliver solutions to strategic Corporate clients within the UK. He graduated from the University of Leeds in 2012 with a degree in International History and Politics (International, BA Hons).
Mayank Kapoor
Mayank has 13 years of specialised experience in the financial services sector including General Insurance, mortgage, banking, Breakdown & rescue, and Life insurance domains. Expertise in defining the delivery framework, governance framework, and E2E service management and transition frameworks. A PRINCE2 Practitioner, Certified Scrum Master and ISEB certified BA.
Linda Kerz
Linda is a Digital Product Manager in Experian's AI Innovation Lab, working on groundbreaking new AI and Software technologies. She has a history in Software Management and User Experience Design, specifically in the Financial Services industry.
Ashwani Nair
Ashwani Nair currently works as a Squad Lead in Vodafone for a Sales Digital Transformation programme. Ashwani holds a Bachelor degree in Physics and has 18 years of IT/Telecommunications industry experience in various roles.


Order Now
Name:
Min Number Of Cookies:
Max Number Of Cookies:
Average Number Of Cookies:
Salamon Store


Golden Retriever puppies are one of the purest things in the entire world, they are like little rays of sunshine. Their adorable small sizes coupled with their giggle-inducing antics make them literal treasures to behold and protect!
While we might judge people for their flaws and uniqueness, we can’t judge this Golden Retriever puppy that is taking the Internet by storm. This cutie is Rae and she is making us fall in love with her unicorn look.
P.S. She is adorable
The video of Rae's unique characteristic was shared by Samantha Smith, a veterinarian and it grabbed everyone's attention in no time.
‘She was really in a fragile state, we didn’t know if she was even going to survive beyond 48 hours,’ Vorhees told CNN.
“The minute I saw her, I knew I wanted to raise her and be there for her even though I knew the road to recovery wouldn’t always be easy.”


---
layout: presentation
title: "Azure Organizational Structure - Tech Talk Tuesday"
---
Azure Organizational Structure
Tech Talk Tuesday
February 26th, 2019
A Tale of Two Azures
Enrollment → Department → Account
Also referred to as "Environment" in some Azure tools
Separate, But Not Equal
Differences between Commercial and Government:
- Data Centers
- Active Directory (Tenant)
- Available Features
Subscriptions
- What we call an "Environment"
- Dev/Test is cheaper
- Enterprise Monitoring is "different" (hopefully not needed much longer)
Resource Groups
- Not physical, but assigned to a region
- Represents access controls and resource organization
- No cost
Resources
- Belong to a Resource Group
- Deployed to a region (may match Resource Group)
- Data egress charges
- Feature availability
Common Resources
- App Service
- Azure Database/Server
- Storage Account
- Service Bus (Topics/Subscriptions)
- Key Vault
- Azure VM, et al
VM Components
- AZ-S-APP01: Virtual machine
- IaaSDiagnostics (AZ-S-APP01/IaaSDiagnostics): Microsoft.Compute/virtualMachines/extensions
- azsapp01diag: Storage account
- AzureBackup_az-s-app01: Microsoft.Compute/restorePointCollections
- JISStageVault: Recovery Services vault
- micourtsuitestagingrg531: Storage account
- AZ-S-APP01_OsDisk_1_...: Disk
- az-s-app01505: Network interface
- AZ-S-APP01-ip: Public IP address
- AZ-S-APP01-nsg: Network security group
Shared JIS Resources
- JIS Common: App Service Plan
- JIS Logging: Cosmos DB
- Proxy Service: App Service/Plan
Application Insights
- Not yet available in Government Cloud
- Unique Subscription
Hybrid Connectivity
- Hybrid Connection
- VPN connected VNET
AD Groups
- Owners
- Contributors
- Readers
Key Vault
- Applications as the primary consumer
- Hardware level encryption
- Easily leveraged during deployment
Managed Service Identity
- Applications as the only consumer
- Automatically rotating
- High entropy
- Manged in ARM template
Pleasant Password Server
- Users as the only consumer
- Uses AD
- Demo


The Best Discounts in Lego's Pre-Black Friday Sale
by Tom PritchardAfter a fairly disappointing VIP Weekend, offering a few selections to Lego VIP members, Lego has launched its official pre-Black Friday sale - offering 30% off the a selection of sets Lego probably wants to get out of its warehouses.
This is not the proper Black Friday sale, like the VIP Weekend deals, this is a much smaller sale that doesn't have any of the grand, flashier discounts you'd expect from the real thing. These discounts are available from now until the end of the 27th November, giving you three days to enjoy what's on offer.
Well, less, actually, since all the best VIP Weekend deals sold pretty quickly. In other words you're going to have to be quick about this.
At the time of writing some of the discounts don't appear to be showing on the live sales page, but rest assured they're appearing without 30% when you add stuff to your basket. Here's what's on offer:
- Boost Creative Toolboox - was £150, now £105
- The Rexcelsior - was £140, now £98 (Retiring Soon)
- App-Controlled Batmobile - was £90, now £63
- Heartlake City Resort - was £90, now £63
- Monastery of Spinjitzu - was £80, now £56
- Baryonix Face-Off: The Treasure Hunt - was £60, now £42
- Overwatch: Bastion - was £38.50
- The Pirate Ship Adventure - was £50, now £35
- Buzz and Woody's Carnival Mania! - was £45, now £31.50
- Fairground Carousel - was £45, now £31.50
- Sky Diamond Heist - was £45, now £31.50 (Retiring Soon)
- Spider Mech vs Venom - was £45, now £31.50
Again this isn't such a great selection, so hopefully this means Lego is saving the really good ones for the actual Black Friday sale which kicks off on 28th November just after midnight. Here's hoping we can get money off the really big sets, like all the other retailers are offering.
Personally I'll be waiting for those, especially since they'll be coming with the Lego tree with orders over£120.


We are part of the UCSD Global Ties- Town and Country Learning Center Project
We hack Android and Web Projects
Our Android project includes the TnC Music Studio, which engages students in making their own music by using a piano and several awesome beats
Our Web Project (this) is for students to learn how to create their own social identity through music
Get Started


Editing File Details
Module Editors can edit the details of a file within the Gallery module.
- Navigate to and open the required album. See "Opening Albums"
- In Standard View or Card View, mouse over the required image and the select Edit This Album - OR - In List View click the Edit button. This opens the File Edit page.
- Edit one or more fields as required.
-
Click the Update button.
Editing File Details


OUR LADY OF THE ASSASSINS A film review by Steve Rhodes Copyright 2001 Steve Rhodes RATING (0 TO ****): * 1/2
OUR LADY OF THE ASSASSINS (LA VIRGEN DE LOS SICARIOS), directed by Oscar nominee Barbet Schroeder (REVERSAL OF FORTUNE), has a message. The message appears to be that a violent society will eventually desensitize its population to acts of violence on its streets. Then again, perhaps that's reading too much into the plot. Maybe it's just a love story between two people during troubled times.
The film is set in Medellín, Colombia, where the streets constantly erupt with the sounds of gunfire like cars backfiring. The night is filled with explosions as well since the drug traffickers always set off a large and colorful display whenever they successfully smuggle drugs into the United States.
Against this backdrop, fiftyish Fernando (Germán Jaramillo) takes on a new lover, a sixteen-year-old kid and killer named Alexis (Anderson Ballesteros). The two of them delight in tossing electronic equipment out of the twenty story window of Fernando's apartment. When a "punk" next door plays his drums too loud each night, Fernando asks Alexis to kill him, which he does without compunction. With the drummer gone, Fernando begins to have trouble sleeping. He's not sure if the buzzing he hears is his conscience or the crickets. Since he's conscience challenged, it has to be the crickets.
Shot on high definition digital video, the film does have a compelling immediacy. What it doesn't have are characters whom we care one wit about. Live or die, we couldn't care less.
OUR LADY OF THE ASSASSINS runs 1:38. The film is in Spanish with English subtitles. It is rated R for "strong violence, language, sexuality and drug content" and would be acceptable for high school seniors and older.
The film opens nationwide in the United States today, Friday, September 28, 2001. In the Silicon Valley, it is showing at the Camera Cinemas.
Web: http://www.InternetReviews.com Email<EMAIL_ADDRESS>Want free reviews and weekly movie and video recommendations via Email? Just send me a letter with the word "subscribe" in the subject line.
========== X-RAMR-ID: 29632 X-Language: en X-RT-ReviewID: 252173 X-RT-TitleID: 1109717 X-RT-SourceID: 703 X-RT-AuthorID: 1271
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


Hillary Clinton: Trump ‘Committed Impeachable Crimes,’ Only GOP Stands in the Way
“The question is not whether Trump has committed impeachable crimes. He has.”
by BreitbartFormer Democrat presidential candidate Hillary Clinton tweeted on Friday that there is no question that President Trump “committed impeachable crimes” and suggested that the only thing standing between the president and the wrath of the law is his Republican allies.
Clinton has not hidden her opinion throughout the seven public impeachment hearings that the House Intelligence Committee has held over the course of the last two weeks. She wrapped up the week with some final thoughts, declaring that Trump “committed an impeachable offense.”
“The question is not whether Trump has committed impeachable crimes. He has,” she wrote. “The question is whether Republicans in Congress will affirm that an American president is not above the law”:
Despite Clinton’s assertion, none of the witnesses over the last two weeks were able to definitively show that the president committed an impeachable offense.
While the vast majority of witnesses were testifying based on hearsay, Democrats overwhelmingly declared victory after Ambassador Gordon Sondland, who spoke to the president, muttered the words “quid pro quo.” However, when pressed, Sondland said it was his presumption that a phone call, meeting, and aid were contingent upon an investigation into the 2016 election and Burisma and stated that Trump explicitly told him, “I want nothing. I want no quid pro quo.”


← Home
Code
Documentation
Issues
Syntax Validator
checks for mistakes and errors
Esprima version
.
Type ECMAScript code:
return 42; // Return statement not inside a function function f() { 'use strict'; // No more octal var x = 042; // Duplicate property var y = { x: 1, x: 2 }; // With statement can't be used with (z) {} }
The above code editor is based on
CodeMirror
.
No result yet.


--- layout: default ---
The purpose of this club is help researchers understand and discuss exciting deep learning papers in a collaborative setting.
| Date | Paper | Link | Presenter |
|---|---|---|---|
|
|
| Date | Paper | Slides | Presenter |
|---|---|---|---|


SweetFreeStuff.com
///////////////////////////////////////////
Free NBA Jam iPhone & iPad Game Download
Posted: 23 May 2015 09:27 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free NBA Jam iPhone iPad Game Download
The post Free NBA Jam iPhone iPad Game Download appeared first on
SweetFreeStuff.com.
///////////////////////////////////////////
Free Essential Everyday 10ct Granola Bars at Farm Fresh, Hornbachers, Shop
n Save and Shoppers Stores
Posted: 23 May 2015 07:12 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
https://www.farmfreshsupermarkets.com/savings/digital-coupon.html located
in NC and VA https://www.hornbachers.com/savings/digital-coupon.html
located in MN and ND https://www.shopnsave.com/savings/digital-coupon.html
located in IL and MO
https://www.shoppersfood.com/savings/digital-coupon.html located in MD and
VA
The post Free Essential Everyday 10ct Granola Bars at Farm Fresh,
Hornbachers, Shop ‘n Save and Shoppers Stores appeared first on
SweetFreeStuff.com.
///////////////////////////////////////////
Free Sample of SPIRU-TEIN Energizing Protein Shake
Posted: 22 May 2015 03:09 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Sample of SPIRU-TEIN Energizing Protein Shake
The post Free Sample of SPIRU-TEIN Energizing Protein Shake appeared first
on SweetFreeStuff.com.
///////////////////////////////////////////
20 Free Pampers Gifts to Grow Points
Posted: 22 May 2015 02:15 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
To login please click here and enter the codes: CMTY3819FRM2015 for 20 more
points. (If you need to register, click here to sign up and receive 100
points!) The Pampers Gifts to Grow Rewards Program rewards you for choosing
Pampers diapers, training pants and wipes for your growing baby. To start,
simply collect the codes from all Continue reading 20 Free Pampers Gifts
to Grow Points
The post 20 Free Pampers Gifts to Grow Points appeared first on
SweetFreeStuff.com.


Class: Rumale::Clustering::SNN
- Inherits:
-
DBSCAN
- Object
- Base::Estimator
- DBSCAN
- Rumale::Clustering::SNN
- Defined in:
- rumale-clustering/lib/rumale/clustering/snn.rb
Overview
SNN is a class that implements Shared Nearest Neighbor cluster analysis. The SNN method is a variation of DBSCAN that uses similarity based on k-nearest neighbors as a metric.
Reference
-
Ertoz, L., Steinbach, M., and Kumar, V., “Finding Clusters of Different Sizes, Shapes, and Densities in Noisy, High Dimensional Data,” Proc. SDM’03, pp. 47–58, 2003.
-
Houle, M E., Kriegel, H-P., Kroger, P., Schubert, E., and Zimek, A., “Can Shared-Neighbor Distances Defeat the Curse of Dimensionality?,” Proc. SSDBM’10, pp. 482–500, 2010.
Instance Attribute Summary
Attributes inherited from DBSCAN
Attributes inherited from Base::Estimator
Instance Method Summary collapse
-
#fit(x) ⇒ SNN
Analysis clusters with given training data.
-
#fit_predict(x) ⇒ Numo::Int32
Analysis clusters and assign samples to clusters.
-
#initialize(n_neighbors: 10, eps: 5, min_samples: 5, metric: 'euclidean') ⇒ SNN
constructor
Create a new cluster analyzer with Shared Neareset Neighbor method.
Methods included from Base::ClusterAnalyzer
Constructor Details
#initialize(n_neighbors: 10, eps: 5, min_samples: 5, metric: 'euclidean') ⇒ SNN
Create a new cluster analyzer with Shared Neareset Neighbor method.
29 30 31 32 33 34 35 36 |
# File 'rumale-clustering/lib/rumale/clustering/snn.rb', line 29 def initialize(n_neighbors: 10, eps: 5, min_samples: 5, metric: 'euclidean') # rubocop:disable Lint/MissingSuper @params = { n_neighbors: n_neighbors, eps: eps, min_samples: min_samples, metric: (metric == 'precomputed' ? 'precomputed' : 'euclidean') } end |
Instance Method Details
#fit(x) ⇒ SNN
Analysis clusters with given training data.
44 45 46 |
# File 'rumale-clustering/lib/rumale/clustering/snn.rb', line 44 def fit(x, _y = nil) super end |
#fit_predict(x) ⇒ Numo::Int32
Analysis clusters and assign samples to clusters.
53 54 55 |
# File 'rumale-clustering/lib/rumale/clustering/snn.rb', line 53 def fit_predict(x) # rubocop:disable Lint/UselessMethodDefinition super end |