General Terms of Use of the www.mentorslab.co Website About mentorslab.co In accordance with the legal constraints, mentorslab.co agrees never to share your personal details with third parties. Legal Notices mentorslab.co is published by Tell NP Advisers, Thonon-les-Bains Succursale de Genève: Tell NP Advisers / mentorslab.co c/o Berdat & Cie Rue du Cendrier, 24 – 1201 Geneva Switzerland Editorial Director: Mr. Guillaume Stollsteiner mentorslab.co is operated by Tell NP Advisers, Thonon-les-Bains, Succursale de Genève Tell NP Advisers / mentorslab.co c/o Berdat & Cie Rue du Cendrier, 24 – 1201 Geneva Switzerland If you have any questions, please contact the mentorslab.co support team: • * either by sending an email to<EMAIL_ADDRESS>• * or by writing to us at the address above. These General Terms of Use (hereinafter, the “Terms of Use”) govern the relations between: Tell NP Advisers Thonon-Les-Bains Succursale de Genève company, a corporation under Swiss law, with head offices located c/o Berdat & Cie, Rue du Cendrier 24, 1201 Geneva, Switzerland, which operates the “www. mentorslab.co” site, hereinafter “Tell NP Advisers”, "Tell NP Advisers", On the one hand, AND Users of the Website referenced as “www.mentorslab.co”, as self-identified upon the creation of their account on the aforementioned Site, hereinafter, jointly or singly, "the “Members”" or "the “Member”,", On the other hand. Preamble Tell NP Advisers operates an Internet platform accessible at the http://www.mentorslab.co address, through available technologies, and particularly through the use of a computer or mobile terminal, allowing Members to create and publish online, under certain conditions, their professional profiles, specifically to find professional opportunities, submitting job ads, sharing links with their network on other platforms, the above being directly related to their professional activities (hereinafter, "the “Site”)."). To this end, the Site offers previously registered users a certain number of features, dedicated to the showcasing of start-ups, showcasing of their skills in order to help registered start-ups (hereinafter, "the “Service”)."). Most of these features are available free of charge; however, some of them, which are optional, are offered at a cost and are reserved to those members who have chosen to subscribe to those services (hereinafter, "the “Subscribers”)"). and thus accept the Terms of Service presented when registering for the subscription (hereinafter, "the “Subscription”)."). Moreover, all Subscribers are ipso facto Members and therefore accept these Terms of Use. By accessing the Site and registering prior to using it, as described in Article 1 hereunder, Members acknowledge that they meet the requirements to become Members, as defined in Article 1.1 hereunder, that they have read these Terms of Use, and that they agree to abide by them unreservedly; these Terms of Use consequently constitute a contractual agreement between each Member and Tell NP Advisers. (hereinafter, "the “Contract”)"). Access to and the use of certain Site features may also be subjected to Special Terms of Sale and to Recommendations, which form part of this Contract, as well as to the Privacy Policy , which the Member commits to reading and complying with at all times. These Terms of Use, along with these other documents and the Service and Subscription Registration Forms, are hereinafter known, jointly and separately, as the "“Contractual Documents.”". Should a Member refuse to comply with any of the obligations and conditions contained in these Terms of Use or in any of the other Contractual Documents, he/she shall be invited not to access the Site nor to use it. Article 1. Registration to the Service 1.1. Membership To become a Member, the user must have reached the legal age of majority and/or have the capacity to enter into an agreement under the law, and to have accepted these Terms of Use unreservedly. Considering the nature and finality of the Site and Service, he/she must also be acting as a professional, for the purposes of his/her professional activity, and commits to use the Site and Service solely for his/her professional needs. This is a vital and material condition of this Contract. 1.2. Mandatory registration prior to access to the Service To be able to use the Service, Members must first register by completing the Registration Form, accessible online at the Site (hereinafter, "the “Form”" or "“Registration Form”)."). By completing this Form, the Member acknowledges having read these Terms of Use and accepts abiding by them unreservedly. By completing the Registration Form, the Member guarantees Tell NP Advisers he/she has provided exact, truthful, current and complete information concerning his/her identity professional activity and personal data. He/she specifically commits to provide an effective electronic address he/she owns. If he/she is not acting on his/her own behalf, he/she guarantees he/she is acting on behalf of a physical or moral person who meets the above conditions, whom he/she legally represents or from whom he/she has been granted an explicit mandate to enter into an agreement with Tell NP Advisers, and who has allowed him/her to provide the information required to use the Service, under the conditions defined herein. The Member commits to update all information concerning him/her regularly in his/her profile, to preserve their accurateness, in his/her own interest, considering the purpose of the Service. Each Member may, at any time, modify the data concerning him/her which he/she deems useful or necessary, by clicking on the “Edit” link accessible in the various sections of his/her profile, including those data concerning his/her registration data, through the “My Account” section accessible from his/her profile. The Member is herby informed that Tell NP Advisers may verify Registration Forms completed over the Site and reserves the right to suspend the provision of the Service to any Member whose registration mode should violate these Terms of Use, under the conditions set forth in Article 6 hereunder. Should a Member provide false, improper, expired or incomplete data, Tell NP Advisers reserves the right to suspend or terminate the Contract and his/her account, and to refuse him/her future access to all or part of the Service, under the conditions set forth in Article 6 hereunder. Should a Member violate applicable laws, and particularly criminal laws, or those laws intended to protect third-party rights, or should his/her conduct harm a person’s interests, whosever this may be, including Tell NP Advisers or any company with a legal relation to Tell NP Advisers, or prejudice another Member’s use of the Service, Tell NP Advisers reserves the right to suspend or terminate the contract and his/her account, without prior notice, and to refuse him/her future access to all or part of the Service, under the conditions set forth in Article 6 hereunder. Under no circumstance shall Tell NP Advisers be held liable by users or third parties for any error, omission, or inexactness which may arise in the information provided by a Member. 1.3. Member account and password The Member commits to create only one account for his/her profile. Each Member may receive, as part of the registration process, at the electronic address provided by him/her at the time of his/her registration, an e-mail for the purpose of activating his/her account. In this case, the Service will only be fully accessible once the Member has fully completed the activation process indicated in said email. The login and password chosen by the Member at the time of the registration allows access to the Service. This data is confidential. The Member is solely liable for any use which might be made of his/her login and password, and the sole guarantor of their confidentiality and of any use made of his/her account. The Member shall inform Tell NP Advisers immediately of any unauthorised use of his/her account, and of any breach of the confidentiality and security of his/her identification means, by completing sending an email at<EMAIL_ADDRESS>Should Tell NP Advisers have legitimate reasons to believe that the Service’s security has been violated or that the Service is being used improperly due to an unauthorised use of the Member's identification means, it may temporarily suspend the account, in order, among other points, to preserve the integrity of the Site and data, and, should it seem appropriate, require the modification of said identification means. Should the Member wish to modify his/her identification means, he/she need only to access the Site and modify his/her parameters under the “Preferences” section of his/her profile. Should a third party have acquired his/her identification means through the Member’s error, the said Member shall bear sole liability for any use of these identification means and the use made of the Service as a consequence thereof. Under no circumstance shall Tell NP Advisers be held liable for any loss or damage resulting from a Member’s failure to comply with his/her obligations, as stated in this Article. Tell NP Advisers reserves the right to deactivate the account of a Member after a period of total inactivity of said account equal to or greater than six (6) months. However, the Member may reactivate his/her account within thirty (30) days of said suspension. However, the deactivation of a Member’s account may not occur as long as one or more Subscriptions remain in effect, subject to the stipulations of Article 6.2.2 hereunder. In the event of a Member’s death, and upon production of the applicable support documents, the account will be deactivated. Its contents shall only be forwarded to the Member’s beneficiaries following a court ruling. 1.4. Introducing new members to mentorslab.co Should a Member wish to invite and introduce a person so that the latter may use the Service, he/she shall provide Tell NP Advisers with the full name (last and first) and electronic address of said person. He/she shall previously have obtained this person’s consent to the communication of his/her personal data to Tell NP Advisers and to the use of said data by the latter in the invitation and introduction process of mentorslab.co. Tell NP Advisers does not store such data if said person does not register with the Site. Article 2. Use of mentorslab.co Subject to compliance with the registration conditions set forth in Article 1 and the minimum required technical configuration set forth in Article 8, Members may use the Site’s free functionalities. Members may also take one or more of the Subscriptions offered by Tell NP Advisers. The price of the Subscriptions may be consulted on line on the Site, within the Subscription Page pertaining to each Subscription, as well as upon request to Tell NP Advisers, sent to Tell NP Advisers Thonon Les Bains, Succursale de Genève, c/o Berdat & Cie, Rue du Cendrier 24, 1201 Geneva, Switzerland. Functionalities offered as part of the various Subscriptions, as well as prices, are mentioned in each Subscription Page. Generally, Members shall refrain, when using the Site, from committing acts of whatever nature, such as the issue, publication, uploading or distribution of data and/or contents which are against the law, undermine the public order, or violate the rights of Tell NP Advisers or of third parties. Specifically, when using the Site, Members shall abide by the Site’s rules, which include but are not limited to the following: · Communicating exact information upon their registration and when using the Site; · Not using false identities intended to deceive others; · Abiding by applicable laws and respecting the rights of others, and complying with these contractual stipulations; Using the Site in a legitimate manner, exclusively in accordance with its professional purpose, and in accordance with the applicable legal and regulatory provisions and with current practices; Respecting the intellectual property rights pertaining to the contents provided by Tell NP Advisers and by other Members, as well as the property intellectual rights of third parties; therefore, each Member shall refrain from reproducing and/or communicating to the general public, through the Site, one or more contents without the authorization of the holders of the rights to said pertaining contents, when such authorization is required; Not diverting or attempting to divert any of the Site’s functionalities from its normal use, as defined herein; Not overloading the Service in any manner whatsoever. Specifically, Members shall refrain from downloading more than 2,000 pages (or 2,000 “GET”) from the mentorslab.co site in a single day without Tell NP Advisers’ prior written authorisation; Not using a robot software or any equivalent automated process or tool when browsing the Site or using the Service; Committing to communicate to Tell NP Advisers and to other Members only information the distribution of which, in their opinion, shall under no circumstance harm themselves, other Members, Tell NP Advisers, or third parties; Refraining from distributing information or contents which do not conform to reality; Not distributing data, information or contents of a slanderous, insulting, obscene, offending, violent character or violence-inciting nature, or of a political, racist or xenophobic nature, and generally, any contents which might be contrary to applicable laws and regulations or to public decency; Not distributing data, information or contents intended to reduce, disorganise or hinder the normal use of the Site, or to interrupt and/or slow down the normal flow of communications between Members; Not using the Service for mass-mailings of unsolicited messages (advertising or other); Not collecting information regarding third parties, including electronic addresses, to be used to send commercial or equivalent solicitations, or to be integrated within a referencing or equivalent service, whether free or against payment, or to be used in the conduct of a competition watch; Not using the Service, whether directly or indirectly, to implement practices assimilated to “pyramid” sales or services, or any other similar process, particularly those consisting in offering goods to the public and enticing them to expect to receive these free of charge or in exchange of remuneration which is lower than their real value, and conditioning the goods’ obtainment to the selling of tickets or other such instruments to third parties or to the gathering of subscription or registration of new purchasers; Not offering to a third party to gather memberships or to subscribe to a list by demanding from said person the remittance of any remuneration and by enticing her to expect financial gains resulting from an increase in the number of people recruited or registered rather than from the sale, provision or consumption of goods or services; Refraining from participating, whether directly or indirectly, in setting up or developing a network seeking to implement practices assimilated to network sales (Multi-Level Marketing - MLM), the recruitment of members, affiliated members or Independent Home Salespersons (VDI), to constitute such a network or other similar practices. - To not directly or indirectly promote one of mentorslab.co’s competitors or a service offering hiring solutions. In case of a Member’s breach of one or more of these rules, Tell NP Advisers reserves the right to suspend and/or terminate the Contract unilaterally, to block the said account(s) of the Member(s) involved, to delete the litigious messages automatically, to prevent the publication of all or part of the profile of the Member(s), and/or to block his/her/their access to all or part of the Service, whether temporarily or definitively, without compensation, as set forth in Article 6 hereunder. Members may report any behaviour or content on the Site, which is evidently contrary to the aforementioned rules, describing it and its location on the Site, as specifically as possible, by sending an email to<EMAIL_ADDRESS>Members are hereby informed, however, that any abusive description may itself be punished in accordance with the applicable regulation. Article 3. Communication and sharing spaces Tell NP Advisers offer, on the Site, spaces for communication and sharing, classified under various sections, which are likely to evolve with the Site. Members may upload data, information and, more generally, contents and exchange information as part of these spaces or on their profile, in strict compliance with the law and these Terms of Use. However, should Tell NP Advisers be duly informed that obviously illicit contents were distributed on the Site, It may be forced to delete such contents without prior notification to the Member who provided said contents. Article 4. Payment Short version: You are responsible for any fees associated with your use of Mentors’ Lab. We are responsible for communicating those fees to you clearly and accurately, and letting you know well in advance if those prices change. 1. Pricing Our pricing and payment terms are available on our pricing page. If you agree to a subscription price, that will remain your price for the duration of the payment term; however, prices are subject to change at the end of a payment term. 2. Upgrades, Downgrades, and Changes • We will immediately bill you when you upgrade from the free plan to any paying plan. • If you change from a monthly billing plan to a yearly billing plan, Mentors’ Lab will bill you for a full year at the next monthly billing date. • If you upgrade to a higher level of service, we will bill you for the upgraded plan immediately. • You may change your level of service at any time by choosing a plan option or going into your Billing settings. If you choose to downgrade your account, you may lose access to Content, features, or capacity of your account. Please see our section on Cancellation for information on getting a copy of that Content. 3. Billing Schedule; No Refunds • For monthly or yearly payment plans, the Service is billed in advance on a monthly or yearly basis respectively and is non-refundable. There will be no refunds or credits for partial months of service, downgrade refunds, or refunds for months unused with an open account; however, the service will remain active for the length of the paid billing period. • In order to treat everyone equally, no exceptions will be made. 4. Authorization By agreeing to these Terms, you are giving us permission to charge your on-file credit card, PayPal account, or other approved methods of payment for fees that you authorize for Mentors’ Lab. 5. Responsibility for Payment You are responsible for all fees, including taxes, associated with your use of the Service. By using the Service, you agree to pay Mentors’ Lab any charge incurred in connection with your use of the Service. If you dispute the matter, contact Mentors’ Lab Support (hello@mentorslab.co). You are responsible for providing us with a valid means of payment for paid accounts. Free accounts are not required to provide payment information. Article 5. Cancellation and Termination Short version: You may close your account at any time. If you do, we'll treat your information responsibly. 1. Account Cancellation It is your responsibility to properly cancel your account with Mentors’ Lab. You can cancel your account at any time by going into your Settings in the global navigation bar at the top of the screen. The Account screen provides a simple, no questions asked cancellation link. You can also ask us to cancel accounts in response to an email request. 2. Upon Cancellation We will retain and use your information as necessary to comply with our legal obligations, resolve disputes, and enforce our agreements, but barring legal requirements, we will delete your full profile and the Content of your account within 90 days of cancellation or termination (though some information may remain in encrypted backups). This information can not be recovered once your account is cancelled. We will not delete Content that you have contributed to other Users' repositories or that other Users have forked. Upon request, we will make a reasonable effort to provide an account owner with a copy of your lawful, non-infringing account contents after account cancellation, termination, or downgrade. You must make this request within 90 days of cancellation, termination, or downgrade. 3. Mentors’ Lab May Terminate Mentors’ Lab has the right to suspend or terminate your access to all or any part of the Website at any time, with or without cause, with or without notice, effective immediately. Mentors’ Lab reserves the right to refuse service to anyone for any reason at any time. 4. Survival All provisions of this Agreement which by their nature should survive termination will survive termination, including, without limitation, ownership provisions, warranty disclaimers, indemnity, and limitations of liability. Article 6. Communications with Mentors’ Lab Short version: We use email and other electronic means to stay in touch with our users. 1. Electronic Communication Required For contractual purposes, you (1) consent to receive communications from us in an electronic form via the email address you have submitted or via the Service; and (2) agree that all Terms of Service, agreements, notices, disclosures, and other communications that we provide to you electronically satisfy any legal requirement that those communications would satisfy if they were on paper. This section does not affect your non-waivable rights. 2. Legal Notice to Mentors’ Lab Must Be in Writing Communications made through email or Mentors’ Lab Support's messaging system will not constitute legal notice to Mentors’ Lab or any of its officers, employees, agents or representatives in any situation where notice to Mentors’ LAb is required by contract or any law or regulation. Legal notice to Mentors’ Lab must be in writing by email at<EMAIL_ADDRESS>3. No Phone Support Mentors’ Lab only offers support via email, in-Service communications, and electronic messages. We do not offer telephone support. Article 7. Disclaimer of Warranties Short version: We provide our service as is, and we make no promises or guarantees about this service. Please read this section carefully; you should understand what to expect. Mentors’ Lab provides the Website and the Service “as is” and “as available,” without warranty of any kind. Without limiting this, we expressly disclaim all warranties, whether express, implied or statutory, regarding the Website and the Service including without limitation any warranty of merchantability, fitness for a particular purpose, title, security, accuracy and non-infringement. Mentors’ Lab does not warrant that the Service will meet your requirements; that the Service will be uninterrupted, timely, secure, or error-free; that the information provided through the Service is accurate, reliable or correct; that any defects or errors will be corrected; that the Service will be available at any particular time or location; or that the Service is free of viruses or other harmful components. You assume full responsibility and risk of loss resulting from your downloading and/or use of files, information, content or other material obtained from the Service. Article 8. Limitation of Liability Short version: We will not be liable for damages or losses arising from your use or inability to use the service or otherwise arising under this agreement. Please read this section carefully; it limits our obligations to you. You understand and agree that we will not be liable to you or any third party for any loss of profits, use, goodwill, or data, or for any incidental, indirect, special, consequential or exemplary damages, however arising, that result from • the use, disclosure, or display of your User-Generated Content; • your use or inability to use the Service; • any modification, price change, suspension or discontinuance of the Service; • the Service generally or the software or systems that make the Service available; • unauthorized access to or alterations of your transmissions or data; • statements or conduct of any third party on the Service; • any other user interactions that you input or receive through your use of the Service; or • any other matter relating to the Service. Our liability is limited whether or not we have been informed of the possibility of such damages, and even if a remedy set forth in this Agreement is found to have failed of its essential purpose. We will have no liability for any failure or delay due to matters beyond our reasonable control. Artcile 9. Release and Indemnification Short version: You are responsible for your use of the service. If you harm someone else or get into a dispute with someone else, we will not be involved. If you have a dispute with one or more Users, you agree to release Mentors’ Lab from any and all claims, demands and damages (actual and consequential) of every kind and nature, known and unknown, arising out of or in any way connected with such disputes. You agree to indemnify us, defend us, and hold us harmless from and against any and all claims, liabilities, and expenses, including attorneys’ fees, arising out of your use of the Website and the Service, including but not limited to your violation of this Agreement, provided that Mentors’ Lab (1) promptly gives you written notice of the claim, demand, suit or proceeding; (2) gives you sole control of the defense and settlement of the claim, demand, suit or proceeding (provided that you may not settle any claim, demand, suit or proceeding unless the settlement unconditionally releases Mentors’ Lab of all liability); and (3) provides to you all reasonable assistance, at your expense. Article 10. Confidentiality and personal data Personal data concerning the Members are stored by Tell NP Advisers on its servers, to be processed as part of the use of the Service. Tell NP Advisers processes Members’ personal data, which it has gathered in accordance with the “Safe Harbor Provisions” proposed by the Federal Trade Commission and by the European Union, to which it subscribes. Tell NP Advisers invites Members to read its Privacy Policy. All personal data provided by a Member when using the Site and Service are collected legally and fairly. Their purpose is the use of the Site and the provision of the Service, and they may therefore be used by Tell NP Advisers to this end. Specifically, each Member is informed of the fact that the data concerning him/her may be used by Tell NP Advisers to offer him/her the opportunity of contacting other Members, selected in function of said data, which are not communicated to such Members, other than those accessible through the public profile, and are therefore used for this purpose exclusively by Tell NP Advisers. Each Member accepts this use of his/her data. The Registration Form found on the Site allows the Member to subscribe to the Site and Service by revealing to Tell NP Advisers certain personal data concerning him/her. The mandatory or optional nature of the communication of the requested data is mentioned on the Form for each field. Where the communication of the data is mandatory, failure to disclose it will result in the Member’s registration application not being processed. Tell NP Advisers does not communicate the personnal data of Members to third parties, except for the data found on each Member's public profile, in accordance with the Member's determined parameterization and to the purpose of the Site and Service, and of those cases where the communication of such data is required by applicable laws, particularly at the request of the legal authorities. Personal data communicated by the Member will be destroyed five years after his/her last connection to the Site or upon the expiration of the Contract, at his/her explicit request. Members have the right to access, rectify and delete personal data concerning them and processed over the Site, and oppose their communication to third parties for justifiable cause. Members may exercise these rights by writing to the following electronic address<EMAIL_ADDRESS>or to the following postal address: Tell NP Advisers, c/o Berdat & Cie, Rue du Cendrier 24, 1201 Geneva, Switzerland. The Site uses “cookie” technology. Cookies are especially useful to facilitate the personalization of the Member’s access to the Service. Specifically, the Site contains a connection cookie allowing Members who so wish to access the Site repeatedly without having to identify themselves each time. To do so, the Member must tick the checkbox corresponding to “Keep me logged in”, found in the “Log in” window which appears when a new connection to the Site is made. By clicking it, Members activate this cookie, which lasts three months, and may thereafter access the Site repeatedly during this time without having to identify themselves. Members are hereby informed that, in this case, other users of their computers may access their profile’s management interface and account, since prior authentication is no longer required. Generally, cookies are harmless to the Member’s computer. The Member may accept or refuse the cookies by configuring his/her browser. The cookies are anonymous and under no circumstance do they gather any personal data; the only data collected are for connection and statistical use. Tell NP Advisers keeps track, through these cookies, of connections to the Site, and specifically of their origin. This use is made for statistical-analysis purposes, and the data are destroyed thereafter. Tell NP Advisers takes the necessary precautions to ensure that personal data gathered through the Site are not lost, leaked, consulted, modified, or revealed to unauthorised third parties. Members may access their personal data upon simple request by writing to the following electronic address<EMAIL_ADDRESS>or to the following postal address: Tell NP Advisers, c/o Berdat & Cie, Rue du Cendrier 24, 1201 Geneva, Switzerland. However, this access may be refused where the law allows such a decision. Article 11. Intellectual Property Tell NP Advisers owns the Site, both its technical components and its graphic, textual or other components, subject to the sole reservation of those contents provided by the Members themselves and of third-party advertisement. More specifically, both the Site and the Service are provided through software and databases designed and developed by Tell NP Advisers, which belong to it, or over which it holds intellectual property rights. The contents placed on line at the Site by Tell NP Advisers also belong to Tell NP Advisers, subject to the aforementioned reservations. Tell NP Advisers is therefore the sole holder of all intellectual property rights pertaining to the Service, the Site, its contents and the software and databases which ensure its operation, and use of the Site or Service does not grant any Member any right over any of these elements, subject to the rights pertaining to the contents provided by the Members themselves and to the advertisement provided by third parties (Cf. Article 5.2 hereunder). Acceptance of these Terms of Use shall be deemed the Member’s acknowledgement of Tell NP Advisers’ aforementioned intellectual property rights and his/her commitment to respect them. 11.1. User’s license of the Site and Service Tell NP Advisers grants the Member a non-exclusive, personal and non-transferable license allowing him/her to use the Site and Service, as well as the data they contain, for his/her professional use, and for strictly personal purposes, as per these Terms of Use and, in particular, in accordance with the finality of the Site and Service (hereinafter, "the “License”)."). Any other exploitation or use of the Site, the Service, their contents and, particularly, of the data they contain is excluded from the scope of this License and may only be made after obtainment of Tell NP Advisers’ prior and written authorization. More specifically, any extraction or reuse, beyond the normal use of the Site, of the data contained on the Site and/or the Service is strictly forbidden to Members, and subject to Tell NP Advisers’ prior, written authorization. 11.2. User’s license regarding contents placed on line by Members To permit the provision of the Service and in accordance with the purpose of the Site, Members grant Tell NP Advisers a non-exclusive license to use the contents and data they include and/or place on line through the Site. The Member guarantees Tell NP Advisers that such data, information or contents comply with the law and do not violate the rights of others. Tell NP Advisers acquires no property right over the data, information and/or contents provided by Members. By publishing his/her data, information and/or contents on the Site, each Member agrees to their display and availability to the other Members as well as to third parties over said Site, in accordance with the personal parameters registered by each Member in the “Preferences” section of his/her profile and his/her account. Therefore, each Member allows other Members to consult his/her personal data thus made available through his/her profile and to use them to contact him/her. He/she explicitly accepts this use of his/her profile, which goes to the very essence of the Site and Service. Solely for the ends of providing the Service, Members allow Tell NP Advisers to reproduce, represent, adapt and translate the contents and data provided by them over the Site, under the conditions defined hereunder: Tell NP Advisers is allowed to reproduce all or part of the contents provided by Members on any digital registration support, current or future, and specifically including, but not limited to, on any server, hard drive, whether removable or not, memory card, or any other equivalent support, in any format and using any process, whether currently known and unknown, so far as proves necessary for all storage, back-up, transmission or downloading operation entailed in the Site’s operation and the provision of the Service. Tell NP Advisers is allowed to adapt and translate Members’ contents, as well as to reproduce these adaptations on any digital support, current or future, stipulated above, in order to provide the Service, particularly in different languages. This right includes the ability, subject to the respect of the Member’s moral right, to modify the formatting of his/her contents to bring them in line with the Site’s graphic charter and/or make it compatible with its technical performances or applicable formats, in view of their insertion and/or publication on the Site. The purpose of this authorisation is to allow Tell NP advisers to distribute Members’ contents and data over digital networks and through any communication protocol, and particularly over the Internet, as well as to make them available to the public, in such a way that any person may access them from the location and at the time of his/her own choosing, through the Site, in accordance with the parameterization defined by each Member. This license is granted for the entire world and for the duration of the Contract binding the Member to Tell NP Advisers. Should a manifest violation of intellectual property rights be committed on the Site, the person interested in protecting his/her rights is invited to notify Tell NP Advisers of such a violation, as specifically as possible, by sending an email to<EMAIL_ADDRESS>Article 12. Term and Termination 12.1. Term The Contract is agreed to for an indeterminate term, starting from the Member’s acceptance of these Terms of Use. Each Member may also subscribe to one or more paying Subscriptions offered by Tell NP Advisers and mentioned on the Site, known as “PREMIUM” Subscriptions, for the term corresponding to each Subscription fixed in the corresponding Subscription Page, starting from his/her acceptance of other specific terms of sales of the chosen subscription, subject to any special stipulation contained in the aforementioned Conditions. 12.2. Termination Tell NP Advisers may ipso facto suspend access to the Site and Service immediately, in case of the Member’s noncompliance with these Terms of Use. In this case, Tell NP Advisers must notify the Member of this suspension by e-mail, and warn him/her to cease and desist from said violation. Should such notification remain unanswered for eight (8) days, Tell NP Advisers may terminate the Contract ipso facto, without any formality and subject to any damages it might claim as compensation for any prejudice it might suffer as a result of this situation; because of its cause (the Member’s breach), this termination shall entail no repayment of any sums the Member might already have paid for any Subscriptions he/she might have subscribed to. Furthermore, it is reiterated that, in the event of a manifest violation of the applicable regulation or obligations by the Member, particularly those stipulated in Article 2 hereof, consisting, among others, in the use of the Site for spamming or MLM purposes, in the use of a Subscription for recruitment purposes, or for the distribution of a message, data or information contrary to public order or likely to undermine the rights of a third party (slander, insults, breach of intellectual property rights, denigration, etc.), of any kind whatsoever, Tell NP Advisers may suspend access to the contents in question and/or delete the account of the Member and terminate the Contract, without prior notification. The Member may terminate the Contract at any time, by accessing the Site and following the procedure defined for this purpose, subject to the specific stipulations of other terms of sales 12.2.1. Deleting account from the Site Members may delete their accounts from the Site at any time by following the procedure set forth for this purpose and described hereunder: 1. Log on to the Site and enter your electronic address to log in to your account; 2. Click the "My profile" tab; 3. Click "My Details" in the "My Account" box on the right hand side of the page; 4. Click "Delete my account" on the right hand side of the page; 5. Confirm the deletion of your profile. Should the Member have subscribed to one or more paying Subscriptions, the termination will be effective under the conditions set forth in Article 6.2.2 below. Within forty-eight hours following this unregistering, which entails the termination of the Contract, all data concerning the Member will be erased from Tell NP Advisers’ databases and the Member will no longer be granted access to the Site or Service. 12.2.2. Cancelling Subscriptions At the end of the initial term of a Subscription Plan, the Subscription will be automatically renewed for the term fixed by the initial Subscription Plan, apart from an agreement to the contrary by the Subscriber expressed via the system provided for this under the ‘Your membership status’ section on the Site. Members may terminate at any time the Subscription(s) Plan(s) to which they have subscribed by following the unsubscribing procedure described in each specific Terms of Sales. Article 13. Liability Article 13.1 Member's liability The Member shall bear all costs related to the hardware and software needed to access the Site and use the Service. It is the Member’s responsibility to take all suitable precautions to protect his/her own data, computer systems and/or software from any contamination by possible viruses. The Member bears sole liability for the use of the information, messages or data of any kind available through the Service, and under no circumstance may any party other than the Member be held liable for any decision made or action taken by the Member on the basis of this information. Specifically, the Member shall bear sole liability for his/her decision to subscribe to any of the Subscriptions offered by Tell NP Advisers. The Member shall bear sole liability for the use made of the Service and the Site, and, more generally, for any use or operation made from his/her account and profile. The Member is responsible for all data and information concerning him/her which he/she has made available on line and for all contents provided by him/her, whether such data or contents are accessible and/or distributed to the public through one of the Site’s communication or exchange spaces or sent to any person by e-mail, or whether they are stored on his/its personal space within the Site. The Member recognizes that Tell NP Advisers exercises no preliminary check of said contents and data and that it is under no general obligation to monitor the data and contents stored by Members and distributed over the Site. The Member shall bear sole liability, with respect to Tell NP Advisers and, if applicable, to any third party, for any damages, whether direct or indirect, of any kind whatsoever, caused by any information or any other element of contents communicated, transmitted or distributed by the Member while using the Service, as well as by any breach of this Contract on his/her part. The Member accepts to submit to any measure implemented by Tell NP Advisers in application of applicable laws. 13.2. Tell NP Advisers’ liability Tell NP Advisers commits to provide the Service in accordance with these Terms of Use. TELL NP ADVISERS DOES NOT VERIFY THE VERACITY OF THE INFORMATION PROVIDED BY MEMBERS AND REJECTS ANY LIABILITY RELATED TO THE INACCURACY, UNSUITABILITY OR ILLICITNESS OF SAID INFORMATION.  TELL NP ADVISERS HAS NO GENERAL OBLIGATION TO MONITOR THE DATA AND CONTENTS PROVIDED BY MEMBERS, NOR ANY OBLIGATION TO DELETE CONTENTS WHICH MIGHT NOT APPEAR TO BE EVIDENTLY ILLICIT, REGARDLESS OF WHETHER OR NOT IT WAS NOTIFIED OF SAID CONTENTS. UNDER NO CIRCUMSTANCES SHALL TELL NP ADVISERS BE HELD LIABLE FOR ANY CONSEQUENCE THAT MIGHT OCCUR IN THE COURSE OR UPON THE COMPLETION OF ANY MEETINGS HELD OR CONTACT MADE BETWEEN SEVERAL MEMBERS OR NON-MEMBERS AS A RESULT OF THE USE OF THE SITE AND SERVICE. DUE TO THE SPECIAL NATURE OF THE INTERNET, ACCESS TO THE SITE MAY BE INTERRUPTED OR RESTRICTED AT ANY TIME DUE TO A REASON BEYOND TELL NP ADVISERS’ CONTROL; IN SUCH CASES, TELL NP ADVISERS MAY NOT BE HELD LIABLE. NOR MAY TELL NP ADVISERS BE HELD LIABLE SHOULD ACCESS TO THE SITE BE INTERRUPTED DUE TO MAINTENANCE OPERATIONS, UPDATES OR TECHNICAL IMPROVEMENTS, OR DUE TO OPERATIONS INTENDED TO UPGRADE THE SITE’S CONTENTS AND/OR PRESENTATION, AS SUCH INTERRUPTIONS WILL BE NOTIFIED AND WILL NOT EXCEED COMMON RELEVANT PRACTICES. FURTHERMORE, TELL NP ADVISERS MAY INTERRUPT THE ACCESS TO THE SITE AND SERVICE, WHETHER TEMPORARILY OR DEFINITELY, PARTICULARLY IN CASE OF ITS TERMINATION OF THE ACTIVITY IN QUESTION, OR IN THE EVENT OF ANY COURT-ORDERED OR AMICABLE LIQUIDATION OF THE COMPANY; IN THESE LAST CASES, THIS CONTRACT SHALL BE TERMINATED IPSO FACTO. TELL NP ADVISERS RESERVES THE RIGHT, AT ANY TIME AND WITHOUT PRIOR NOTICE, TO MODIFY ANY INFORMATION APPEARING ON THE SITE AS PART OF ITS UPDATE OR WHILE CORRECTING ERRORS OR INACCURACIES. TELL NP ADVISERS IS NOT RESPONSIBLE FOR THE CONTENTS OF THIRD-PARTY INTERNET SITES TO WHICH HYPERTEXT LINKS FOUND ON THE SITE MAY REDIRECT. TO THE EXTENT ALLOWED BY APPLICABLE LAWS, AND TO THE EXTENT THAT TELL NP ADVISERS MAY BE DEEMED LIABLE FOR ANY DAMAGE NOT LISTED ABOVE, TELL NP ADVISERS’ LIABILITY SHALL BE LIMITED TO SPECIFIC, ACTUAL AND DEFINED DAMAGES.  Article 14. Minimum Required Technical Configuration The Member acknowledges having the expertise and means required to access the Site and use it. Access to the Site and its use require the following minimum configuration: - The Site is optimized for a screen resolution of 1024 X 768 pixels; - For the following browsers: Internet Explorer 7 and higher, Firefox 3 and higher, and Safari 4 and higher; - An Internet connection. To this end, the Member acknowledges having verified that the computer configuration available to him/her is adequate, contains no virus, and is in proper operating conditions. The Member shall bear the entire cost of the equipment (computer, cell phone, software, telecommunications means, etc.) allowing access the Site and Service, as well as all telecommunication expenses incurred by their use. Article 15. Agreement on evidence The Member and Tell NP Advisers unanimously agree that Tell NP Advisers’ computer systems and files shall be self-evidencing between them. Consequently, the computer files and records stored within the computer systems operated by Tell NP Advisers or on its behalf under reasonable security and reliability conditions may be used validly and produced as evidence of the execution of the Contract, and more generally of any event, communication or relation between both Parties in relation to the Member’s use of the Site. Therefore, Tell NP Advisers may validly produce, as part of any proceeding, as evidence of any act, fact or omission, the data, files, programs, registrations or other elements, received, issued or stored using the aforementioned computer systems, on any digital or analogical supports, and rely thereon, except for evident errors. Article 16. Modifications to the Terms of Use Tell NP Advisers may modify these Terms of Use at any time and without prior notice. The Member is therefore invited to consult the latest updated version thereof on a regular basis, freely available and permanently accessible from the homepage of the Site, by clicking on the “Conditions of use” link. Modified General Terms of Use come into force from the moment they are published online and are legally applicable from then on. Article 17. Applicable Law - Assignment of Jurisdiction The conclusion, interpretation and validity of these Terms of Use and of the Contract are governed by the Laws of the Geneva Courts, Switzerland. In the event of any discrepancy in their interpretation, the English (United States) version of these Terms of Use and of the Contract shall prevail over any other version in any other language . Subject to applicable public-order provisions regarding the assignment of jurisdictions, the courts corresponding to Tell NP Advisers’ head offices shall have sole jurisdiction regarding any litigation related to this Agreement, including but not limited to any litigation regarding their validity, interpretation, execution and/or termination and the consequences thereof.


All inforation for Sean's amazing tennis site was ripped from a cursory web search and one time when he couldn't sleep he saw a program on Tennis channel about the history of tennis.


Contact me!
Questions or comments? Send me an email!
If you'd like, also sign-up for my newsletters, where you'll
receive updates about new content and new adventures!
- M
Questions or comments? Send me an email!
If you'd like, also sign-up for my newsletters, where you'll
receive updates about new content and new adventures!
- M


FBSnapshotTestController Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | FBSnapshotTestController.h FBSnapshotTestController.m |
Overview
Provides the heavy-lifting for FBSnapshotTestCase. It loads and saves images, along with performing the actual pixel- by-pixel comparison of images. Instances are initialized with the test class, and directories to read and write to.
recordMode
Record snapshots.
@property (readwrite, nonatomic, assign) BOOL recordMode
Declared In
FBSnapshotTestController.h
deviceAgnostic
When @c YES appends the name of the device model and OS to the snapshot file name. The default value is @c NO.
@property (readwrite, nonatomic, assign, getter=isDeviceAgnostic) BOOL deviceAgnostic
Declared In
FBSnapshotTestController.h
usesDrawViewHierarchyInRect
Uses drawViewHierarchyInRect:afterScreenUpdates: to draw the image instead of renderInContext:
@property (readwrite, nonatomic, assign) BOOL usesDrawViewHierarchyInRect
Declared In
FBSnapshotTestController.h
referenceImagesDirectory
The directory in which referfence images are stored.
@property (readwrite, nonatomic, copy) NSString *referenceImagesDirectory
Declared In
FBSnapshotTestController.h
– initWithTestClass:
The subclass of FBSnapshotTestCase that is using this controller.
- (instancetype)initWithTestClass:(Class)testClass
Parameters
testClass |
The subclass of FBSnapshotTestCase that is using this controller. |
|---|
Return Value
An instance of FBSnapshotTestController.
Declared In
FBSnapshotTestController.h
– initWithTestName:
Designated initializer.
- (instancetype)initWithTestName:(NSString *)testName
Parameters
testName |
The name of the tests. |
|---|
Return Value
An instance of FBSnapshotTestController.
Declared In
FBSnapshotTestController.h
– compareSnapshotOfLayer:selector:identifier:error:
Performs the comparison of the layer.
- (BOOL)compareSnapshotOfLayer:(CALayer *)layer selector:(SEL)selector identifier:(NSString *)identifier error:(NSError **)errorPtr
Parameters
layer |
The Layer to snapshot. |
|---|---|
selector |
The test method being run. |
identifier |
An optional identifier, used is there are muliptle snapshot tests in a given -test method. |
error |
An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). |
Return Value
YES if the comparison (or saving of the reference image) succeeded.
Declared In
FBSnapshotTestController.h
– compareSnapshotOfView:selector:identifier:error:
Performs the comparison of the view.
- (BOOL)compareSnapshotOfView:(UIView *)view selector:(SEL)selector identifier:(NSString *)identifier error:(NSError **)errorPtr
Parameters
view |
The view to snapshot. |
|---|---|
selector |
The test method being run. |
identifier |
An optional identifier, used is there are muliptle snapshot tests in a given -test method. |
error |
An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). |
Return Value
YES if the comparison (or saving of the reference image) succeeded.
Declared In
FBSnapshotTestController.h
– compareSnapshotOfViewOrLayer:selector:identifier:tolerance:error:
Performs the comparison of a view or layer.
- (BOOL)compareSnapshotOfViewOrLayer:(id)viewOrLayer selector:(SEL)selector identifier:(NSString *)identifier tolerance:(CGFloat)tolerance error:(NSError **)errorPtr
Parameters
selector |
The test method being run. |
|---|---|
identifier |
An optional identifier, used is there are muliptle snapshot tests in a given -test method. |
tolerance |
The percentage of pixels that can differ and still be considered ‘identical’ |
view |
The view or layer to snapshot. |
error |
An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). |
Return Value
YES if the comparison (or saving of the reference image) succeeded.
Declared In
FBSnapshotTestController.h
– referenceImageForSelector:identifier:error:
Loads a reference image.
- (UIImage *)referenceImageForSelector:(SEL)selector identifier:(NSString *)identifier error:(NSError **)errorPtr
Parameters
selector |
The test method being run. |
|---|---|
identifier |
The optional identifier, used when multiple images are tested in a single -test method. |
errorPtr |
An error, if this methods returns nil, the error will be something useful. |
Return Value
An image.
Declared In
FBSnapshotTestController.h
– compareReferenceImage:toImage:tolerance:error:
Performs a pixel-by-pixel comparison of the two images with an allowable margin of error.
- (BOOL)compareReferenceImage:(UIImage *)referenceImage toImage:(UIImage *)image tolerance:(CGFloat)tolerance error:(NSError **)errorPtr
Parameters
referenceImage |
The reference (correct) image. |
|---|---|
image |
The image to test against the reference. |
tolerance |
The percentage of pixels that can differ and still be considered ‘identical’ |
errorPtr |
An error that indicates why the comparison failed if it does. |
Return Value
YES if the comparison succeeded and the images are the same(ish).
Declared In
FBSnapshotTestController.h
– saveFailedReferenceImage:testImage:selector:identifier:error:
Saves the reference image and the test image to failedOutputDirectory
.
- (BOOL)saveFailedReferenceImage:(UIImage *)referenceImage testImage:(UIImage *)testImage selector:(SEL)selector identifier:(NSString *)identifier error:(NSError **)errorPtr
Parameters
referenceImage |
The reference (correct) image. |
|---|---|
testImage |
The image to test against the reference. |
selector |
The test method being run. |
identifier |
The optional identifier, used when multiple images are tested in a single -test method. |
errorPtr |
An error that indicates why the comparison failed if it does. |
Return Value
YES if the save succeeded.
Declared In
FBSnapshotTestController.h


Public Member Functions | |
| XmlDataRow (XmlElement data, ColumnsEntity columns) | |
Public Attributes | |
| XmlElement | RawData |
Protected Attributes | |
| ColumnsEntity | m_columns |
Properties | |
| object | this [string fieldName] [get] |
| object | RowKey [get, set] |
| UpdateAction | UpdateAction [get] |
This class is used when the Grid control makes a save data request and the rows of data that have been changed are provided as an xml document in the request body. This class uses a ColumnsEntity class to help translate between the fieldName provided and the attribute name used by the Nitobi compressed XML.
| Nitobi.XmlDataRow.XmlDataRow | ( | XmlElement | data, | |
| ColumnsEntity | columns | |||
| ) |
| XmlElement Nitobi.XmlDataRow.RawData |
ColumnsEntity Nitobi.XmlDataRow.m_columns [protected] |
object Nitobi.XmlDataRow.this[string fieldName] [get] |
Implements Nitobi.IRow.
object Nitobi.XmlDataRow.RowKey [get, set] |
Implements Nitobi.IRow.
UpdateAction Nitobi.XmlDataRow.UpdateAction [get] |
Implements Nitobi.IRow.


SCRIBBLER
Welcome to Scribbler!
Start
Save
Info
Red
Orange
Yellow
Green
Blue
Purple
Draw
Erase
Talk
Pic
Welcome to Scribbler
Step 1:
Grab something green. Anything will do, but brighter greens and good lighting work best.
Step 2:
Draw
In order to begin drawing, your browser will ask for access to your webcam. Click 'Allow', then 'Draw' and you're ready to go.
Step 3:
Talk
Choose colors manually or with your voice. Click 'Talk', allow use of your microphone, and say the name of the color you want to paint with.


When pagination is enabled, the data is displayed in pages that can be browsed using the built in pagination selector. However, you don't always have pages with the same number of rows.
For custom pagination, set the pageSizes
option and the useCustomPagination
.
~~ and implement the gridApi.pagination.on.paginationChanged
callback function. The callback
may contain code to update any pagination state variables your application may utilize, e.g. variables containing
the pageNumber
, pageSize
, and pageSizeList
. The REST call used to fetch the data from the server should be
called from within this callback. The URL of the call should contain query parameters that will allow the server-side
code to have sufficient information to be able to retrieve the specific subset of data that the client requires from
the entire set.~~
It should also update the $scope.gridOptions.totalItems
variable with the total count of rows that exist (but
were not all fetched in the REST call mentioned above since they exist in other pages of data).
This will allow ui-grid to calculate the correct number of pages on the client-side.
For better performance with the following example, you can choose to load the ui-grid.core.js and specific feature files instead:
<script src="/release/ui-grid.core.min.js"></script> <script src="/release/ui-grid.pagination.min.js"></script>
This shows custom pagination.


Defend your cheese! Don't let those dirty stink'n rats touch it. Use innovative traps to stop them in their tracks.
Innovative progression system based on micro-cheese-actions.
The game engine we all know and love.
The idea of this game began as an assignment in our Video Game Design Course
After a few weeks of drafting ideas we barely managed to come up with a cheese theme.
Team Leader
Sound Design
Gameplay Coordinator
3-D Model implementation and testeing
Gameplay Balance & Level Design
3-D Art
We are a dedicated team of 20-somethings who really had nothing better to do with their lives than make cheesy games for you to enjoy. We literally live off of community approval, so please only positive comments! Don't Like, Don't Play!


| DOSE: |
100 g |
oral |
Cacti |
(tea) |
Myself and my girlfriend had aquired some Trichocereus terscheckii and although I had tried Peyote before I had not tried a Trichocereus cactus and was very excited to do so. Now for Peruvianus and Pachanoi there is a wealth of information available but for Terckeshii this is not the case. Hence I had very little information to go on, I was advised that this particular batch was quite weak and that 75 grams was needed for an effect. We decieded to go with 100 grams each as a dose figuring if we are going to swallow this much material we may as well do it properly!
Our setting was at home and as normal before embarking on psychonautical journey's we would have prepared the living space so all was in hand and comfortable. We were both in good moods and feeling positive but as normal before ingesting any sacrament we felt a little 'apprehensive'.
The cactus material was in dried chunks and our preperation method was to weigh out the dried material and put it in a pan of water. We used a method of brewing, straining and collecting the liquid. We would then add more water to the material and repeat. After doing this 5-6 times we also liquidised the material and brewed that and strained the liquid from it. The resulting liquid collected was brewed down over several hours to about 1 pint ( half a pint each ). The liquid was a dark brown colour and had an awful smell. Getting this liquid down was an awful experience I will never put myself through again, I felt sick for an hour and finally threw up badly ( projectile ) outside. My girlfriend also projectile vomited after about 20 minutes of drinking it.
The nausea didn't end there, for the next 7-8 hours the both of us felt 'poisoned' and the feeling of nausea was relentless. My girlfriend spent 6 hours with intense stomach pains and cramps, I was lucky to not feel as bad but I certaintly did not feel good.
There were some psychoactive effects, I felt these visual flickers like space itself was being attacked from elsewhere, breaking it down, the room began to melt and I felt i could have melted known reality away totally but made the mental decision not to ( my physical shell was in too much distress ).
All in all, the experience is not something I'd like to repeat, the negative effects were so great that the little positive effects were too out of reach. I'd like to put some thoughts into possible reasons why I had such an experience. It could have been my preperation method, it could have been dosage - it was alot of material to consume and alot of toxins aswell as good stuff may have built up. It may have been our individual reactions to that specific plant (although we both had similar reactions). Whatever the reasons I wanted to write this as an addition to the limited information on terckeshii. For us it was a horrific experience but maybe a differing methodology would illicit a different experience.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Web Development with Go: Building Scalable Web Apps and RESTful Services
ISBN-13:<PHONE_NUMBER>536
ISBN-10:<PHONE_NUMBER>
Author: Shiju Varghese
Edition: 1st ed.
Binding: Paperback
Publisher: Apress
Published: November 2015
List Price: $39.99
Best Rental Prices |
||||
|---|---|---|---|---|
| #1 |
Free shipping Ready to ship |
Notes |
||
| #2 |
+5.99 shipping Ready to ship |
Notes |


| About Dailyrotten |
|
Feedback
If you like this page, hate it, or would like to suggest changes,
<EMAIL_ADDRESS>is listening. This page
is experimental and somewhat different from what we usually offer, so please
do send your feedback.
Adding Stories
If you are a rotten newshound and you would like to suggest a story,
visit our submit page to
send us the URL. Stories that are accepted will have your name credited.
Posting Comments
In order to post comments to stories, you will have to
create an account.
Accounts will generally be validated within 24 hours, and of
course will be disabled if there is abuse.
Viewership
On the first full day this page went live, 100,000 people visited this Rotten
News page. Of course that was the day after the WTC attacks, so that number is
somewhat distorted. Right now this page gets between 50,000 and 75,000 people
every day.
Linking
We encourage everyone to link to this page; if you like it, others probably
will as well.
Other Rotten
Rotten
Gaping Maw
Celebrity Morgue
Mugshots
Rotten Store
Rate My Poo
Rate My Kitten
Rate My Finger
Penny Postcards
Phallic
Boners
Home
Make Dailyrotten your start page
|
|
|
February 22, 2002
Toddler attacks strangers with toy truck
Stuff NZ | Submitted by: Deth Vegetable
"A boy aged three left one woman with a fractured skull and another shaken
and bruised after hitting them with his toy truck. The women, who were waiting
at a Tauranga pharmacy, endured a 30-minute ordeal as the tiny terror kicked,
punched and smashed them with his toy. Both victims needed hospital treatment
after the child was finally subdued."
|
|
Read article...
|
|
Vandals Attack Buckets Of Maple Syrup
NewsNet5 | Submitted by: commhealy
"Someone shattered the serene peace in Parkman by shooting 47 sap-collecting
buckets belonging to Pennview Farms. The number of containers shot is only a
drop in the bucket, since the farm has 2,500 of them. Making syrup is hard
work; 40 gallons of sap boil down to 1 gallon of syrup... The Geauga County
Sheriff's Department said that the shooting spree was the worst case of
vandalism to hit the syrup operation in that county in many years."
|
|
Read article...
|
|
Gunfire dubbed into murder footage
Las Vegas City Life | Submitted by: Soylent
"While the shadowy footage made it difficult to follow the sequence of
events, accompanying audio provided some assistance. Muffled laughter could
be heard in the background; slot machines clanged unrelentingly; and then
two gunshots popped loudly. However, the audio was not "natural"; it was
dubbed in by KLAS, which apparently felt the exclusive footage (obtained
from the Clark County district attorney's office) wasn't dramatic
enough on its own."
|
|
Read article...
|
|
Enron had fake trading floor
Click2Houston | Submitted by: Gweeds
"The bankrupt energy giant, Enron Corp., designed and maintained a fake
trading floor at its Houston office. According to former Enron employees,
on the sixth floor of the company's downtown headquarters was a set,
designed to trick analysts into believing business was booming. 'It was an
elaborate Hollywood production that we went through every year when the
analysts were going to be there to be impress them to make our stock
go up', former employee Carol Elkin said."
|
|
Read article...
|
|
Bush wants very strict limits on WTC investigation
Washington Post | Submitted by: Mary Jane Fields
The Bush administration feels the American public isn't entitled to answers
regarding the greatest attack on U.S. interests since Pearl Harbor.
As part of a multipronged move to reduce government openness, President Bush
is asking that the investigation be limited to committees whose
proceedings are secret, keeping their findings out of the public eye.
He is making the request on the grounds that it might divert personnel from
from "fighting the war on terrorism". How about diverting some people from
the useless War on Drugs to help out, then?
|
|
Read article...
|
|
|
|
|


Hello, my name is Musa'b Shalaldeh, here is some information about me.
- I am a Solo Game Developer.
- I am currently a student at ASAC studying Web Development.
- I live in Amman, Jordan.
- I like to listen to music most of the time as it helps me relax and focus on what I am currently working on.
- Music Genres I like, electronic rock, chill vibe, fantasy instrumentals and classic pop
- I hate doing reads.
My 10 Favorite Video Games
- Final Fantasy XV
- Counter Strike Global Offensive
- Destiny 2
- Resident Evil 4
- The Evil Within 2
- Castlevania LOS
- Dark Souls 3
- Resident Evil 7
- Skyrim
- Left 4 Dead 2
Now you know a little more about me, how about answering few questions ?


Bambarahandha_WaterFalls
Adams Peak
location
sabragamuva Sri lanka
elivation
2243 m
Mountain range
Samanala
bambara Home Page


Many Swing components, such as labels, buttons, and tabbed
panes, can be decorated with an icon — a
fixed-sized picture. An icon is an object that adheres to the
Icon
interface. Swing provides a particularly useful implementation
of the Icon
interface:
ImageIcon
, which paints an icon from a GIF, JPEG, or PNG image.
Here's a snapshot of an application with three labels, two decorated with an icon:
The program uses one image icon to contain and paint the yellow splats. One statement creates the image icon and two more statements include the image icon on each of the two labels:
ImageIcon icon = createImageIcon("images/middle.gif", "a pretty but meaningless splat"); label1 = new JLabel("Image and Text", icon, JLabel.CENTER); ... label3 = new JLabel(icon);
The createImageIcon
method (used in the
preceding snippet) is one we use in many of our code samples.
It finds the specified file and returns an
ImageIcon
for that file, or null
if that file couldn't be found. Here is a typical
implementation:
/** Returns an ImageIcon, or null if the path was invalid. */ protected ImageIcon createImageIcon(String path, String description) { java.net.URL imgURL = getClass().getResource(path); if (imgURL != null) { return new ImageIcon(imgURL, description); } else { System.err.println("Couldn't find file: " + path); return null; } }
In the preceding snippet, the first argument to the
ImageIcon
constructor is relative to the location
of the current class, and will be resolved to an
absolute URL. The description
argument is a string
that allows assistive technologies
to help a visually impaired user understand what information the
icon conveys.
Generally, applications provide their own set of images used
as part of the application, as is the case with the images used
by many of our demos. You should use the
Class
getResource
method to obtain the
path to the image. This allows the application to verify that
the image is available and to provide sensible error handling if
it is not. When the image is not part of the application,
getResource
should not be used and the
ImageIcon
constructor is used directly. For
example:
ImageIcon icon = new ImageIcon("images/middle.gif", "a pretty but meaningless splat");
When you specify a filename or URL to an ImageIcon
constructor, processing is blocked until after the image data is
completely loaded or the data location has proven to be invalid.
If the data location is invalid (but non-null), an
ImageIcon
is still successfully created; it just
has no size and, therefore, paints nothing. As shown in the
createImageIcon
method, it is advisable to first
verify that the URL points to an existing file before passing it
to the ImageIcon
constructor. This allows graceful
error handling when the file isn't present. If you want more
information while the image is loading, you can register an
observer on an image icon by calling its
setImageObserver
method.
Under the covers, each image icon uses an
Image
object to hold the image data.
The rest of this section covers the following topics:
Here's an application that uses six image icons. Five of them display thumbnail images and the sixth diplays the full size the photograph.
Click the Launch button to run IconDemo using Java™ Web Start (download JDK 6). Or, to compile and run the example yourself, consult the example index.
Click any of the thumbnail images to view the full size photographs.
IconDemoApp demonstrates icons used in the following ways:
The photographs are loaded in a separate thread by
loadimages.execute
. The loadimages
code is shown a little later in this section.
The ThumbnailAction
class, an inner class in
IconDemoApp.java
, is a descendant of AbstractAction
that manages our full
size image icon, a thumbnail version, and its description.
When the actionPerformed
method is called the full size image
is loaded into the main display area. Each button has its own instance of
ThumbnailAction
which specifies a different image to show.
/** * Action class that shows the image specified in it's constructor. */ private class ThumbnailAction extends AbstractAction{ /** *The icon if the full image we want to display. */ private Icon displayPhoto; /** * @param Icon - The full size photo to show in the button. * @param Icon - The thumbnail to show in the button. * @param String - The descriptioon of the icon. */ public ThumbnailAction(Icon photo, Icon thumb, String desc){ displayPhoto = photo; // The short description becomes the tooltip of a button. putValue(SHORT_DESCRIPTION, desc); // The LARGE_ICON_KEY is actually the key for setting the // icon when an Action is applied to a button. putValue(LARGE_ICON_KEY, thumb); } /** * Shows the full image in the main area and sets the application title. */ public void actionPerformed(ActionEvent e) { photographLabel.setIcon(displayPhoto); setTitle("Icon Demo: " + getValue(SHORT_DESCRIPTION).toString()); } }
Most often, an image icon's data comes from an image file. There are a number of valid ways that your application's class and image files may be configured on your file server. You might have your class files in a JAR file, or your image files in a JAR file; they might be in the same JAR file, or they might be in different JAR files. The following figures illustrate a few of the ways these files can be configured:
| Class file next to an image directory containing the image file, in PNG format. |
Class file in same directory as JAR file. The JAR file was created
with all the images in an images directory.
|
| Class file in one JAR file and the images in another JAR file. | Class and image files in same JAR file. |
If you are writing a real-world application, it is likely (and recommended) that you put your files into a package. For more information on packages, see Creating and Using Packages in the Learning the Java Language trail. Here are some possible configurations using a package named "omega":
Class file in directory named omega . Image in
omega/images directory.
|
Class file in omega directory.
Image in JAR file not inside of omega directory, but
created with omega/images hierarchy.
|
One big JAR file with class files under omega directory
and image files under omega/images directory.
|
All seven configurations shown are valid, and the same code reads the image:
java.net.URL imageURL = myDemo.class.getResource("images/myImage.gif"); ... if (imageURL != null) { ImageIcon icon = new ImageIcon(imageURL); }
The getResource
method causes the class loader to
look through the directories and JAR files in the program's class
path, returning a URL as soon as it finds the desired file. In the
example the MyDemo program attempts to load the
images/myImage.png
file from the omega
class. The class loader looks through the directories and JAR files
in the program's class path for /omega/images/myImage.png
.
If the class loader finds the
file, it returns the URL of the JAR file or directory that
contained the file. If another JAR file or directory in the
class path contains the images/myImage.png
file, the
class loader returns the first instance that contains the file.
Here are three ways to specify the class path:
Using the -cp
or -classpath
command-line argument. For example, in the case where the images are in
a JAR file named images.jar
and the class file is in the
current directory:
java -cp .;images.jar MyDemo [Microsoft Windows] java -cp ".;images.jar" MyDemo [Unix-emulating shell on Microsoft Windows — you must quote the path] java -cp .:images.jar MyDemo [Unix]
If your image and class files are in separate JAR files, your command line will look something like:
java -cp .;MyDemo.jar;images.jar MyDemo [Microsoft Windows]
In the situation where all the files are in one JAR file, you can use either of the following commands:
java -jar MyAppPlusImages.jar java -cp .;MyAppPlusImages.jar MyApp [Microsoft Windows]
For more information, see the JAR Files trail.
In the program's JNLP file (used by Java Web Start). For example,
here is the JNLP file used by DragPictureDemo
:
<?xml version="1.0" encoding="utf-8"?> <!-- JNLP File for DragPictureDemo --> <jnlp spec="1.0+" codebase="http://download.oracle.com/javase/tutorialJWS/src/uiswing/misc/examples" href="DragPictureDemo.jnlp"> <information> <title>DragPictureDemo</title> <vendor>The Java(tm) Tutorial: Sun Microsystems, Inc.</vendor> <homepage href="http://download.oracle.com/javase/tutorial/uiswing/misc/examples/index.html#DragPictureDemo"/> <description>DragPictureDemo</description> <description kind="short">A demo showing how to install data transfer on a custom component.</description> <offline-allowed/> </information> <resources> <j2se version="1.6+"/> <jar href="allClasses.jar"/> <jar href="images.jar"/> </resources> <application-desc main-class="DragPictureDemo"/> </jnlp>
In this example, the class files and the images files are in separate
JAR files. The JAR files are specified using the XML jar
tag.
Setting the CLASSPATH
environment variable. This last
approach is not recommended. If CLASSPATH
is not
set, the current directory (".") followed by the location of the system
classes shipped with the JRE are used by default.
Most of the Swing Tutorial examples put the images in an
images
directory under the directory that contains the
examples' class files. When we create JAR files for the examples, we
keep the same relative locations, although often we put the class
files in a different JAR file than the image JAR file. No matter where
the class and image files are in the file system — in one JAR
file, or in multiple JAR files, in a named package, or in the default
package — the same code finds the image files using
getResource
.
For more information, see Accessing Resources in a Location-Independent Manner and the Application Development Considerations.
Applets generally load image data from the computer that served up
the applet. The APPLET
tag is where you specify information about
the images used in the applet. For more information on the APPLET
tag
see
Using the APPLET Tag
Because the photograph images can be slow to access,
IconDemoApp.java
uses a SwingWorker
to improve the performance of the program as
perceived by the user.
Background image loading — the program
uses a
javax.swing.SwingWorker
object to load each photograph image and compute it's thumbnail in a background thread.
Using a SwingWorker
prevents the program from appearing to freeze
up while loading and scaling the images.
Here's the code to process each image:
/** * SwingWorker class that loads the images a background thread and calls publish * when a new one is ready to be displayed. * * We use Void as the first SwingWorker param as we do not need to return * anything from doInBackground(). */ private SwingWorkerloadimages = new SwingWorker () { /** * Creates full size and thumbnail versions of the target image files. */ @Override protected Void doInBackground() throws Exception { for (int i = 0; i < imageCaptions.length; i++) { ImageIcon icon; icon = createImageIcon(imagedir + imageFileNames[i], imageCaptions[i]); ThumbnailAction thumbAction; if(icon != null){ ImageIcon thumbnailIcon = new ImageIcon(getScaledImage(icon.getImage(), 32, 32)); thumbAction = new ThumbnailAction(icon, thumbnailIcon, imageCaptions[i]); } else { // the image failed to load for some reason // so load a placeholder instead thumbAction = new ThumbnailAction(placeholderIcon, placeholderIcon, imageCaptions[i]); } publish(thumbAction); } // unfortunately we must return something, and only null is valid to // return when the return type is void. return null; } /** * Process all loaded images. */ @Override protected void process(List chunks) { for (ThumbnailAction thumbAction : chunks) { JButton thumbButton = new JButton(thumbAction); // add the new button BEFORE the last glue // this centers the buttons in the toolbar buttonBar.add(thumbButton, buttonBar.getComponentCount() - 1); } } };
doInBackground
method in a background thread.
The method places a full size image, thumbnail size image and caption into a
ThumbnailAction
object. The SwingWorker then delivers the
ThumbnailAction
to the process
method. The
process
method executes on the event dispatch thread and updates
the GUI by adding a button to the toolbar. JButton
has a constructor that
takes an action object. The action object determines a number of the button's properties.
In our case the button icon, the caption and the action to be performed when the button
is pressed is all determined by the ThumbnailAction
.
Overhead — this program eventually loads all the source images into memory. This may not be desirable in all situations. Loading a number of very large files could cause the program to allocate a very large amount or memory. Care should be taken to manage the number and size of images that are loaded.
As with all performance-related issues, this technique is applicable in some situations and not others. Also the technique described here is designed to improve the program's perceived performance, but does not necessarily impact its real performance.
createImageIcon
method returns null when it cannot find an image,
but what should the program do then? One possibility would be to ignore that
image and move on. Another option would be to provide some sort of default icon
to display when the real one cannot be loaded. Making another call to
createImageIcon
might result in another null so using that is not
a good idea. Instead lets create a custom Icon
implementation.
You can find the implementation of the custom icon class in
MissingIcon.java
. Here are the interesting parts of its code:
/** * The "missing icon" is a white box with a black border and a red x. * It's used to display something when there are issues loading an * icon from an external location. * * @author Collin Fagan */ public class MissingIcon implements Icon{ private int width = 32; private int height = 32; private BasicStroke stroke = new BasicStroke(4); public void paintIcon(Component c, Graphics g, int x, int y) { Graphics2D g2d = (Graphics2D) g.create(); g2d.setColor(Color.WHITE); g2d.fillRect(x +1 ,y + 1,width -2 ,height -2); g2d.setColor(Color.BLACK); g2d.drawRect(x +1 ,y + 1,width -2 ,height -2); g2d.setColor(Color.RED); g2d.setStroke(stroke); g2d.drawLine(x +10, y + 10, x + width -10, y + height -10); g2d.drawLine(x +10, y + height -10, x + width -10, y + 10); g2d.dispose(); } public int getIconWidth() { return width; } public int getIconHeight() { return height; } }
The paintIcon
method is passed a Graphics
object.
The Graphics
object gives the paintIcon
method access to the entire
Java2D API. For more information about painting and Java2D, see
Performing Custom Painting.
The following code demonstrates how the MissingIcon
class
is used in the SwingWorker
doInBackground
method.
private MissingIcon placeholderIcon = new MissingIcon(); ... if(icon != null) { ... } else { // the image failed to load for some reason // so load a placeholder instead thumbAction = new ThumbnailAction(placeholderIcon, placeholderIcon, imageCaptions[i]); }
Using a custom icon has a few implications:
Because the icon's appearance is determined dynamically, the icon painting code can use any information — component and application state, for example — to determine what to paint.
Because MissingIcon
does not do any file I/O there
is no need for separate threads to load the image.
The following tables list the commonly used ImageIcon
constructors and methods. Note that ImageIcon
is not a
descendent of JComponent
or even of
Component
.
The API for using image icons falls into these categories:
| Method or Constructor | Purpose |
|---|---|
|
ImageIcon() ImageIcon(byte[]) ImageIcon(byte[], String) ImageIcon(Image) ImageIcon(Image, String) ImageIcon(String) ImageIcon(String, String) ImageIcon(URL) ImageIcon(URL, String) |
Create an ImageIcon instance, initializing it to contain the
specified image. The first argument indicates the source — image, byte
array, filename, or URL — from which the image icon's image should be
loaded. The source must be in a format supported by the
java.awt.Image class: namely GIF, JPEG, or PNG. The second
argument, when present, provides a description for the image. The description
may also be set via setDescription and provides useful textual
information for assistive technologies. |
|
void setImage(Image) Image getImage() |
Set or get the image displayed by the image icon. |
| void paintIcon(Component, Graphics, int, int) | Paint the image icon's image in the specified graphics context. You would
override this only if you're implementing a custom icon that performs its own
painting. The Component object is used as an image observer. You
can rely on the default behavior provided by Component class,
and pass in any component. The two int arguments specify the
top-left corner where the icon is painted. |
|
URL getResource(String) in (java.lang.ClassLoader) |
Find the resource with the given name. For more information, see Loading Images Using getResource. |
|
InputStream getResourceAsStream(String) in (java.lang.ClassLoader) |
Find the resource with the given name and return an input stream for reading the resource. For more information, see the Loading Images Into Applets discussion. |
| Method | Purpose |
|---|---|
|
void setDescription(String) String getDescription() |
Set or get a description of the image. This description is intended for use by assistive technologies. |
|
int getIconWidth() int getIconHeight() |
Get the width or height of the image icon in pixels. |
| Method | Purpose |
|---|---|
|
void setImageObserver(ImageObserver) ImageObserver getImageObserver() |
Set or get an image observer for the image icon. |
| int getImageLoadStatus() | Get the loading status of the image icon's image. The values returned by
this method are defined by MediaTracker . |
The following table lists just a few of the many examples that use
ImageIcon
.
| Example | Where Described | Notes |
|---|---|---|
LabelDemo |
This section and How to Use Labels |
Demonstrates using icons in an application's label, with and without accompanying text. |
IconDemo |
This section | Uses a label to show large images; uses buttons that have both images and text. |
CustomIconDemo |
This section | Uses a custom icon class implemented by
ArrowIcon.java . |
TumbleItem |
How to Make Applets | An applet. Uses image icons in an animation. Shows how to call
ImageIcon 's paintIcon method. |
ButtonDemo |
How to Use Buttons, Check Boxes, and Radio Buttons | Shows how to use icons in an application's buttons. |
CheckBoxDemo |
How to Use Check Boxes | Uses multiple GIF images. |
TabbedPaneDemo |
How to Use Tabbed Panes | Demonstrates adding icons to tabs in a tabbed pane. |
DialogDemo |
How to Make Dialogs | Shows how to use standard icons in dialogs. |
TreeIconDemo |
How to Use Trees | Shows how to change the icons displayed by a tree's nodes. |
ActionDemo |
How to Use Actions | Shows how to specify the icon in a tool-bar button or menu item using an
Action . |
FileChooserDemo2 |
How to Use File Choosers | Uses a PNG image. Shows how to implement an image previewer
and an image filter in a file chooser. |
IconDemo
are copyright ©2006
spriggs.net
and licenced under a
Creative Commons Licence.


CDI Samples
About
Advanced Sample of the Context and Dependency Injection JSR.
Copyright ©<EMAIL_ADDRESS>Sample
Rates


Hi, I’m a Analytical thinker, Product Manager and Growth Hacker. Care to know more? Click below...
Experienced with in-depth analysis of various kinds of data from a wide variety of sources. Fast learner with the ability to understand complex problems quickly. Adept at remaining grounded in important details while viewing problems holistically. And most importantly, cat and wine (w/cheese) lover!
5 years of experience growing Pintrest's mobile presence. Currently #1 Lifestyle app with over 25 million people worldwide.
I don't shy away from big data! 3+ years in daily analytics optimizing towards a DAU goal. Very knowledgeable in SQL, MixPanel, Google Analytics, Kiss Metrics platforms
Whether it's kicking a soccer ball at a company picnic or leading a presentation in front of C level executives, one thing is for sure- I am very comfortable in high stress situations! Phew, now that I am done writing this, I can relax!
☛ MBA
☛ President of Alpha Kappa Psi, 2009
☛ BA, Communications
☛ Graduated Cum Laude
Product Marketing | Growth
✓ #1 Lifestyle App, 2014
✓ Apple's "Top Choice", 2015
Marketing Manager
✓ Increased sales 300%, 2011
✓ 2012 Forbes Hottest Startup
Abbey is a total is a joy to work alongside. I spent the summer working very closely with her, and was consistently impressed by her focus and willingness to go above and beyond to ensure top notch results.
by
James Woodson, PintrestNot only is Abbey driven, she is passionate about helping people and companies. The way she approaches growth is both methodical and creative.
by
Laura Trythe, BirchboxAbbey trained and mentored me and others in a holistic and professional manner. I wouldn't know what I know today if It wasnt for Abbey's hands on approach.
by
Jillian Ferrar, Birchbox
Hope you enjoyed learning more about me! Now, please reach out and let's talk more in depth. I am looking forward to helping you GROW! Thanks again.
-Ab
17 SW 4th St, Seattle WA
(206)825-7224
AbbyCat_86
growth@aclarke.com


{% extends "layout.html" -%} {% set active_page = "about" -%} {% block container %}
This is Haldis' about page. Doesn't he look good? Oh stop, you're making him blush.


I enjoy building internal and external relationships to drive community, customer success, and process improvement. I have proven experience driving community engagement initiatives and enjoy being able to bring groups together to find efficient and effective processes.
Building a community strategy for the OpenSearch project.
Manage the the day-to-day activities of our user community in order to support the overall community strategy and vision. Ensure proper response times are met for each User Forum question. Develop and maintain site content in an effort to drive engagement and customer satisfaction.
Responsible for all Dell Software social media channels. Curating and distributing content to allow for increased customer engagement for our products and solutions. Build cross-business unit relationships to enable our technical experts in their blogging efforts. Work to ensure technical content matches with Agile marketing sprints when possible. Represent Customer Engagement team at various trade shows.
Responsible for planning, managing, and coordinating the support release process. Communicate release related information and training plans. Lead support aspect of project to define and deploy “Offer Lifecycle Process”. Helped define and document a global, scalable, and repeatable release process.
Provide timely installation, configuration, and troubleshooting assistance to internal and external customers for Quest products. Participate in 24x7 product support for applicable products. Take a leadership role in working with other support engineers on resolving customer issues and mentoring newer support engineers.
I am happily married to my best friend, and the proud dad of an amazing young man; my main love in life is being with them. Exploring Portland and the surrounding Pacific Northwest is how we spend most of our time.
I am a Buddhist who seeing every aspect of daily life as opportunity for practice. Meditation is a daily occurance for me as it helps me calm my monkey mind.
I blog from time-to-time at krisfreedain.com, but most of the time you can see me tweeting about what is going on in life at @KrisFreedain.
Opinions are my own.
“If you light a lamp for someone else it will also brighten your path.” ~Buddha
Whenever possible, I feel it is important to volunteer and give back to the community. Below are some of the opportunities for volunteering I have been fortunate enough to spend time doing.


In these examples the checkboxes add and remove event listeners.
Checking a box calls register(...)
and unchecking calls
unregister(...)
, the crossbrowser scripts that in turn call
either addEventListener()
/removeEventListener()
or
attachEvent()
/detachEvent()
respectively.
register event listener
Make sure adding or removing one listener function doesn't effect the other listener function.
Adding or removing the same listener function on the same element for different event types shouldn't effect listeners for other event types.
FIXME: selenium doesn't do mousedown/mouseup event types, so this test isn't automated.
this
keyword in IERelying on IE's attachEvent
usually
means that the this
keyword cannot be used in your event handler
(more on this at quirksmode).
The register()
and unregister()
methods employ
a workaround that allows you to use the this
keyword
in your event listeners in IE.
(if it smiles when you click the box it means it worked)
Redundant registers and unregisters should be safe. The listener should only be added once. Redundant removes should continue silently.


Type in the characters you would like to support:
Colour of text: Font size of text:
Upload a font file (WOFF, OTF, TTF):
Output: upload a font first
Copy the above text into a TXT file to import into a list; make sure your fancy text editor doesn't remove any spaces from the first 2 lines!
Uses JSZip and opentype.js.


GroupManagerRPCOps |
Exposes Membership Group management operations to the client. Only Group Manager nodes have this interface installed on node start up. interface GroupManagerRPCOps : RPCOps |
MembershipGroupRPCOps |
Exposes Group Member operations. interface MembershipGroupRPCOps : RPCOps |


Mutating in base R
In base R, the easiest way to create or modify a dataframe column interactively
is to use R’s $
operator.
For example, to create a column for liters/100km
we could do as follows:
mtcars$lpk <- mtcars$mpg * 1.61 / 3.76
But since it’s generally best to avoid R’s $
operator inside of a function
because of the way $
does partial matching, we’ll instead use R’s [
operator for assignment.
mtcars[,"lpk"] <- mtcars[,"mpg"] * 1.61 / 3.76
Mutating in dplyr
In dplyr if we wanted to create a logical column as to whether or not a fuel mileage was good, we could run this command.
dplyr::mutate(mtcars, good_mpg = mpg > 30)
Compare this to what we had in our dplyr::filter
, with the only difference
being assignment in the
good_mpg =
part.
dplyr::filter(mtcars, mpg > 30)
Replicating mutate
Following the basic template from filter2()
gives us something like this.
mutate2 <- function(data, ...) {
expr <- eval(substitute(alist(...)))
for(i in seq_along(expr)) {
e <- expr[[i]]
# do something
}
data
}
Since we’re reusing
expr <- eval(substitute(alist(...)))
here
(and we’ll be using it again), let’s create a separate function and update our template.
dots <- function(...) {
eval(substitute(alist(...)))
}
mutate2 <- function(data, ...) {
expr <- dots(...)
for(i in seq_along(expr)) {
e <- expr[[i]]
# do something
}
data
}
Attempt #1
The first thing we have to do differently in mutate2()
is to capture the
names of the columns we’re creating or modifying.
Lucky for us, our dots()
function actually returns a named list when the
expressions contain an assignment.
We access the names of our new columns using
names(dots(...))
or simply
names(expr)
.
mutate2 <- function(data, ...) {
expr <- dots(...)
nm <- names(expr)
for(i in seq_along(expr)) {
e <- expr[[i]]
n <- nm[[i]]
# do the assignment
}
data
}
Attempt #2
Now all we need to add is the actual assignment part.
Remember that the pattern from base R that we’re trying to replicate looks like this:
mtcars[,"lpk"] <- mtcars[,"mpg"] * 1.61 / 3.76
So all we need to do is add the following snippet in mutate2()
for the assignment
part.
data[,n] <- eval(e, data)
And that gives us our final version of mutate2()
.
mutate2 <- function(data, ...) {
expr <- dots(...)
nm <- names(expr)
for(i in seq_along(arg)) {
e <- expr[[i]]
n <- nm[[i]]
data[,n] <- eval(e, data)
}
data
}
Testing mutate2()
> mutate2(mtcars, lpk = mpg * 1.61 / 3.76, good_mpg = mpg > 30)
asdff
mpg cyl disp hp drat wt qsec vs am gear carb new lpk good_mpg
Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4 8.992021 8.992021 FALSE
Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4 8.992021 8.992021 FALSE
Datsun 710 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1 9.762766 9.762766 FALSE
asdfsdf
dplyr::mutate(mtcars, lpk = mpg * 1.61 / 3.76)


Widget module.
MIT. See LICENSE for full details.
A button widget displays a textual label and/or image, and evaluates a command when pressed.
auto button = new Button(new Png!("image.png"), "Text") .setCommand(delegate(CommandArgs arg){ ... }) .pack();
<<Invoke>>, <<PrevWindow>>, <Alt-Key>, <B1-Enter>, <B1-Leave>, <Button-1>, <ButtonRelease-1>, <Enter>, <Key-F10>, <Key-Tab>, <Key-space>, <Leave>,
Construct the widget.
| UiElement parent | The parent of this widget. |
| string text | The text of the button. |
| Image image | The button image. |
| string imagePosition | The position of the image in relation to the text. |
tkd.element.uielement
tkd.image.image
tkd.image.png
tkd.image.gif
tkd.image.imageposition
Construct the widget.
| UiElement parent | The parent of this widget. |
| Image image | The button image. |
| string text | The text of the button. |
| string imagePosition | The position of the image in relation to the text. |
tkd.element.uielement
tkd.image.image
tkd.image.png
tkd.image.gif
tkd.image.imageposition
Construct the widget.
| string text | The text of the button. |
| Image image | The button image. |
| string imagePosition | The position of the image in relation to the text. |
tkd.image.image
tkd.image.png
tkd.image.gif
tkd.image.imageposition
Construct the widget.
| Image image | The button image. |
| string text | The text of the button. |
| string imagePosition | The position of the image in relation to the text. |
tkd.image.image
tkd.image.png
tkd.image.gif
tkd.image.imageposition
Add a command to a widget.
| CommandCallback callback | The delegate callback to execute when invoking the command. |
This widget to aid method chaining.
| CommandArgs.element | The element that executed the callback. |
| CommandArgs.callback | The callback which was executed. |
Remove a previously set command.
This widget to aid method chaining.