Terms And Conditions
You are here: Home » Terms And Conditions
Terms And Conditions
The following terms and conditions will apply to any Applicant (defined below) making an Application for a Grant (all terms defined below)
1. Definitions
1.1 Definitions
In these terms and conditions unless the context otherwise requires, the following words and expressions shall have the following meanings:-
Applicant" means the applicant business applying to the Council for a Grant in terms of these terms and conditions;
Application" means any document or information sent to the Council by an Applicant in support of their request for a Grant;
Council" means South Ayrshire Council;
Grant" means the amount of business grant set out in the Grant Notification Letter;
Grant Expiry Date" means the date by which the Applicant must satisfy all conditions of Grant as set out in these terms and conditions and the Grant Notification Letter;
Grant Notification Letter" means the Council's letter confirming the Grant award to you.
1.2 Interpretation
1.2.1 A reference to any enactment, order, regulation, Statutory Instrument, or the like shall include references to any amendment, replacement, consolidation or re-enactment of the same.
1.2.2 Words importing the masculine gender include the feminine gender, words in the singular include the plural and words importing individuals shall be treated as including bodies corporate, unincorporated associations and partnerships and, in each case, vice versa.
1.2.3 Clause headings do not form part of the Contract and shall not be taken into account in its construction or interpretation.
2. Eligibility for Grant
2.1 Applicants shall provide details and evidence of the following in order to be eligible for the Grant:-
2.1.1 The identification and residence of all owners, partners or directors of the Applicant business;
2.1.2 A legitimate business bank account in the name of the Applicant business;
2.1.3 The trading and registered address of the Applicant business, which shall be within the Council region;
2.1.4 The business plan and financial projections for the first two years of trade for the Applicant business, which shall be assessed and must be deemed viable by an authorised officer of the Council acting reasonably.
2.2 The Council shall be entitled to withhold the advance of the whole or any part of the Grant in the event of the Applicant owing any sum or otherwise being in debt to the Council.
2.3 Businesses involved (whether directly or indirectly) or associated with any of the following commercial models and purposes will not be eligible for the Grant:-
2.3.1 Pornography or other ventures of an overt sexual nature;
2.3.2 Multi level marketing and pyramid selling;
2.3.3 Gambling;
2.3.4 Politics;
2.3.5 Religion;
2.4 Without prejudice to clause 2.3, the Council reserves the right to refuse Applicant businesses which the Council deem, in its sole discretion, may bring South Ayrshire Council into disrepute.
3. Grant
3.1 The Grant shall be awarded only once to an Applicant in the 24 month period commencing with the date of the Grant Notification Letter.
3.3 Subject to the provisions of clause 4, the Grant will be advanced in such instalments as the Council (acting reasonably) shall consider appropriate.
3.4 Grants are discretionary and the Council reserves the right to refuse any Application at its sole discretion. Further, the Council reserves the right to vary the amount of Grant awarded at its sole discretion.
4. Purpose for which the Grant is to be applied
4.1 The Grant awarded to an Applicant shall be conditional on the following requirements being satisfied:-
4.1.1 The Grant shall be applied by the Applicant solely towards genuine business costs associated with the establishment and trading of the Applicant business, and for no other purpose whatsoever (for the avoidance of doubt, director / owner remuneration is not an eligible business cost for the purposes of this clause 4.1.1);
4.1.2 No later than the Grant Expiry Date, the Applicant shall exhibit to the Council evidence of the business employing at least one additional full-time member of staff (which shall be on terms no less than 16 hours per week for a minimum of period of 6 months), as compared with the number of staff at the time of the Application.
4.2 The Council shall be entitled, at its sole discretion, to waive any of the conditions referred to in clause 4.1.
4.3 The payment by the Council of any part of the Grant shall not of itself imply an acknowledgement that any of the conditions referred to in clause 4.1 have been either satisfied or waived.
5. Monitoring
5.1 Applicants shall provide to the Council upon written request any progress reports and financial or other information and records reasonably needed from time to time in relation to the Grant or the purposes set out in clause 4 hereof.
5.2 Applicants shall comply with the Council's systems for monitoring, evaluating and auditing the operation of the Grant upon being given reasonable notice by the Council. The Council will advise the Applicant about the systems for monitoring, evaluating and auditing in use. The Council (and anyone authorised by the Council) reserves the right to visit the Applicant at any reasonable time without giving notice and without prejudice to the Applicant's right to privacy.
6. Repayment of Grant
6.1 The Applicant shall repay the Grant in full on demand if any of the following events occur:-
6.1.1 The Applicant is found to have made any misrepresentation in connection with the Application;
6.1.2 The Applicant has failed to satisfy any of the conditions provided under clause 4.1 prior to the Grant Expiry Date;
6.1.3 The Council considers that no reasonable effort on the part of the Applicant has been made to trade.
7. Interest
7.1 Interest will accrue and shall be payable by the Applicant to the Council on all sums due to the Council in terms of these terms and conditions at the rate of four per centum per annum above the base rate or rates for the time being of the Royal Bank of Scotland from the date the same falls due until paid.
8. Publicity
8.1 The Council may make the purpose and amount of the Grant public in whatever way they consider appropriate.
9. Governing Law and Jurisdiction
9.1 The construction, validity and performance of these terms and conditions shall be governed by Scots law and the Council and the Applicant irrevocably submit to the exclusive jurisdiction of the Scottish courts.


Skip Navigation
Merging two answers together
Answer ID 2414 | Last Review Date 03/18/2019
Can I merge two or more answers together into a single answer?
Answers, Merging similar answers
You can use the Smart Merge feature to search for similar answers and merge the content of each field together. You can also use the Search button on the Answer Text page to manually search for a specific answer of interest and then append the link or the text of the answer to the answer you are editing. The Search feature works similar to the Search option in the Support Console.
For more information on the Smart Merge feature, refer to the 'Merge similar answers' section in online documentation for the version your site is currently running. To access Oracle B2C Service manuals and documentation online, refer to the Documentation for Oracle B2C Service Products.
Smart Merge Feature
The Smart Merge feature allows you to find similar answers based on content of other answers in your knowledge base. Smart Merge performs a search to compare the answer that is open for editing with other answers in your knowledge base. You can choose to compare answer content based on the Summary, Keyword, Question and / or Answer fields. You can also restrict the comparison to only published answers that are visible to your end-user pages or compare the answer to all other answers in your knowledge base.
Based on your criteria, Smart Merge returns answers that have some shared content with the edited answer. Answers with higher weights indicate a stronger match in comparing the content between the answers. This allows you to review which answers are most closely related and should be considered to merge. This also allows you to reduce and eliminate redundancy in your answers.
To use the Smart Merge feature, use the steps below:
 1. Open an answer for editing.
 2. From either the Question or Answer field, click the Content tab and the toolbox will be displayed.
 3. Click Smart Merge from the toolbox. The system searches and weights answers compared to the content of the Summary, Keywords, Question, and Answer fields.
 4. In the pop-up window, you can disable specific fields or check End User Visible and then click Refresh to re-execute the comparison.
 5. Click Action and select a merge option or select Show to view the answer.
 6. When finished, click Close to close the pop-up window.
 7. In the open answer, review the content and edit accordingly and save the answer.
When you merge an answer into another answer, the content of the merged answer is appended at the bottom of the primary answer. The content of the two answers is separated by a row of asterisks. When the content is appended, it is still your responsibility to edit the answer to remove any redundancy between the two sets of content and to make the content easy to read and comprehend.
Available Actions: In the merging process, when you highlight an answer and right click, you have the following options:
Merge: This action appends the content of the highlighted answer to the end of the open answer.
Merge and Delete: Select this option to merge the answer with the answer you are editing and then delete the answer once it has been merged. Caution! Selecting this option will permanently delete the selected answer from the knowledge base. This action appends the content of the highlighted answer to the open answer and then deletes the highlighted answer. Use this option sparingly and ONLY if you do not want to retain the highlighted answer for historical purposes or future reference. End-user statistics related to the deleted answer do not carry over to the answer it is being merged to.
Merge and Make Private: Select this option to merge the answer with the answer you are editing and then sets the status of the highlighted answer to the Private answer status so that it is no longer visible on the end-user pages. A warning will prompt you to verify the action.
Show: Select this option to view the answer in a separate window before you merge it with the answer you are editing. This action does not merge the content of the highlighted answer.
Cancel: Select this option to cancel the current selection.
Search Feature
If you wish to search for an answer by specific words or by the Answer ID, you can search the knowledge base for answers of interest.
The Search Knowledgebase feature in the Toolbox allows you to search for specific answers based on status type, products, categories and phrases. After performing a search, you can select Add as Text to copy the content into the existing answer, Add as Link to append a link to the answer, or Print to display the answer in a pop-up window with the option of printing the page.
Similarly, when you click Search... in the Answer Console, use the pop-up window to search your answers based on the words, phrases, and criteria available in the pop-up. From the search results, right click on an answer to either append the content of the answer, append a link to the answer or preview the answer. You can then continue to edit and save the answer that you were editing.


Browse Dictionary by Letter
Dictionary Suite
Remembrance Sunday see Remembrance Day.
remerge combined form of merge.
remigration combined form of migration.
remilitarization combined form of militarization.
remilitarize combined form of militarize.
reminder something that causes a person to remember something.
remindful having in mind or remembering. [2 definitions]
reminisce to recall past experiences, often with fondness or pleasure.
reminiscence the act of recalling usu. pleasant experiences or events of the past. [3 definitions]
reminiscent having qualities or characteristics that remind one of someone or something (usu. fol. by of). [2 definitions]
remiss careless or negligent, esp. in the performance of one's duty. [2 definitions]
remissible capable of being forgiven.
remission an act or instance of remitting. [4 definitions]
remit to send (money) to someone or some place. [8 definitions]
remittal an act or instance of remitting; remission.
remittance money that is sent to someone or some place, usu. in payment. [2 definitions]
remittance man a man who lives abroad, as, formerly, in a British colony, supported mostly by remittances from home.
remittent marked by a temporary lessening or abatement in intensity or severity, as a fever or illness.
remix combined form of mix.
remnant a quantity, piece, or part that is left over or remains. [4 definitions]


What Do Prairie Dogs Eat?
Prairie dogs eat mainly green leafy plants, insects and prairie plants. Prairie dogs are not dog species but are instead a type of rodents. They usually come out from their burrows to get food in the wild.
2 Additional Answers
Prairie dogs eat insects, grasses, leafy vegetables, leaves and other plants. They are opportunistic feeders in that for the most part they will eat what is available to them. You can find more information here: _URL_


text:
Definition of unsterile in English:
Not sterile or sterilized: unsterile needles
More example sentences
- He believes that AIDS may have its origin in unsterile hypodermic needles and antibiotics.
- Panicky use of unsterile needles may transmit HIV, hepatitis C, or other infections.
- I always have been taught that the back of the gown is considered unsterile and that personnel in sterile attire should not have their back to sterile supplies or fields.
Definition of unsterile in:
- US English dictionary
What do you find interesting about this word or phrase?
Comments that don't adhere to our Community Guidelines may be moderated or removed.

source: openbmb/Ultra-FineWeb


text:
Definition of Mutuel
1. a system of betting on races [n -S]
Click the following link to bring up a new window with an automated collection of images related to the term: Mutuel Images
Lexicographical Neighbors of Mutuel
Literary usage of Mutuel
Below you will find example usage of this term as found in modern and/or classical literature:
1. Evolution of Credit and Banks in France from the Founding of the Bank of by André Liesse (1909)
"The characteristic of the Credit Agricole mutuel is to give a mutual basis to credit; to offer as security to the lender the joint responsibility of a..."
2. The Encyclopedia Americana: A Library of Universal Knowledge (1918)
"... France the Credit Agricole mutuel represents a development of the Raiffeisen idea. Small local societies had been doing business with moderate success,..."
3. Rural Credits, Land and Cooperative by Myron Timothy Herrick, R. Ingalls (1914)
"Long-term Loans to Associations through Credit Agricole mutuel.—Long-term Loans to Individuals.—Two Methods of Amortization. MUCH private property was..."
4. Baily's Magazine of Sports and Pastimes (1901)
"And if the simple fact that betting with bookmakers takes custom away from the guichets of the Pari mutuel were a sufficient objection to it,..."
Other Resources Relating to: Mutuel

source: HuggingFaceFW/fineweb-edu


This section is not translated yet.
Please read it in English and consider helping us with translation.
0 follower
When displaying multiple rows of data, it is often needed that the data be sorted according to some columns specified by end users. Yii uses a yii\data\Sort object to represent the information about a sorting schema. In particular,
 - attributes specifies the attributes by which the data can be sorted. An attribute can be as simple as a model attribute. It can also be a composite one by combining multiple model attributes or DB columns. More details will be given in the following.
 - attributeOrders gives the currently requested ordering directions for each attribute.
 - orders gives the ordering directions in terms of the low-level columns.
To use yii\data\Sort, first declare which attributes can be sorted. Then retrieve the currently requested ordering information from attributeOrders or orders and use them to customize the data query. For example,
use yii\data\Sort;
$sort = new Sort([
 'attributes' => [
 'name' => [
 'asc' => ['first_name' => SORT_ASC, 'last_name' => SORT_ASC],
 'desc' => ['first_name' => SORT_DESC, 'last_name' => SORT_DESC],
 'default' => SORT_DESC,
 'label' => 'Name',
$articles = Article::find()
 ->where(['status' => 1])
In the above example, two attributes are declared for the Sort object: age and name.
The age attribute is a simple attribute corresponding to the age attribute of the Article Active Record class. It is equivalent to the following declaration:
'age' => [
 'asc' => ['age' => SORT_ASC],
 'desc' => ['age' => SORT_DESC],
 'default' => SORT_ASC,
 'label' => Inflector::camel2words('age'),
The name attribute is a composite attribute defined by first_name and last_name of Article. It is declared using the following array structure:
 - The asc and desc elements specify how to sort by the attribute in ascending and descending directions, respectively. Their values represent the actual columns and the directions by which the data should be sorted by. You can specify one or multiple columns to indicate simple ordering or composite ordering.
 - The default element specifies the direction by which the attribute should be sorted when initially requested. It defaults to ascending order, meaning if it is not sorted before and you request to sort by this attribute, the data will be sorted by this attribute in ascending order.
 - The label element specifies what label should be used when calling yii\data\Sort::link() to create a sort link. If not set, yii\helpers\Inflector::camel2words() will be called to generate a label from the attribute name. Note that it will not be HTML-encoded.
Info: You can directly feed the value of orders to the database query to build its ORDER BY clause. Do not use attributeOrders because some of the attributes may be composite and cannot be recognized by the database query.
You can call yii\data\Sort::link() to generate a hyperlink upon which end users can click to request sorting the data by the specified attribute. You may also call yii\data\Sort::createUrl() to create a sortable URL. For example,
// specifies the route that the URL to be created should use
// If you do not specify this, the currently requested route will be used
$sort->route = 'article/index';
// display links leading to sort by name and age, respectively
echo $sort->link('name').'| '. $sort->link('age');
// displays: /index.php?r=article%2Findex&sort=age
echo $sort->createUrl('age');
yii\data\Sort checks the sort query parameter to determine which attributes are being requested for sorting. You may specify a default ordering via yii\data\Sort::$defaultOrder when the query parameter is not present. You may also customize the name of the query parameter by configuring the sortParam property.
Found a typo or you think this page needs improvement?
Edit it on github!


text:
Legal basis for conducting the survey in the area of crop production statistics is Law on Official Statistics and Official Statistical System of Montenegro (Official Gazette of Montenegro 18/12).
Purpose of survey
The purpose of survey in the area of crop production statistics is to collect, process, and disseminate data on the size of land resources by: land use categories; number of fruit trees and vine plants; land under certain crops; quantity of expected and realised yields; and agricultural product processing.
The data on business entities are collected by using the reporting method on the basis of accounting records and other types of records. The data on family agricultural holdings are collected by using the estimation method by the side of statistical estimators. The statistical estimators perform estimations on the basis of observing phenomena and by the help of well-known facts (the Cadastre data by utilised land categories, estimation from previous years, information collected from agricultural producers and experts, and their personal observations).
There are covered business entities classified by the activity classification in sector A–Agriculture, Forestry and Fisheries (agricultural enterprises and agricultural cooperatives), and area of estimation for family agricultural holdings.
Obligation to protect individual data
Statistical confidentiality is guaranteed. Results obtained through surveys are only used for statistical purposes, and they are published at the aggregated level.
For more details on published data, methodology, and releases please see the sections below.


text:
What is the Centrum Nutri Coach?
The Centrum Nutri Coach is an on-line tool that will allow Filipinos to keep track of the nutrients they get from what they eat.
How is it the first of its kind? How is it specifically made for Filipinos?
The Centrum Nutri Coach is the first on-line nutrition tool in the Philippines that takes the Filipino diet into consideration. So in the menu of food choices, you will see halo-halo, inihaw na liempo, kare-kare and other Filipino favorites. It is the only nutrition assessment tool that is based on the Food Composition Table of the Food and Nutrition Table of FNRI (Food and Nutrition Research Institute of the Philippines). The Centrum Nutrition Coach will show you how near / far you are from the daily recommended daily intake of each nutrient.
How does it work?
You will be asked to input factors like your age, weight and level of physical activity into the Nutri Coach website. These factors are important in gauging how much you [word missing: is this vitamins and minerals?] need.


text:
contains will be deleted from every part of the website it is displayed on.
You will have to confirm that deleting the field is indeed what you want to do. After you do this, the field will be removed from the "Global Fields".
Note: Please keep in mind, that neither the default "Fields" nor the default "Groups" can be deleted. This is why the delete option is not available for these.
How to Insert Global Fields to your page
After you have finished setting up your "Global Fields" you will have the possibility to use these fields on any of your pages while editing them with Thrive Architect.
You will be able to add the values/information you have entered for these fields to a "Text" element in the form of shortcodes.
First, edit the page you want to display the "Global fields" on with Thrive Architect. Then, add a "Text" element to it.
When you enter the actual text and you reach a part where you want to insert a value/info from a "Global Field", click on the "Dynamic Texts" option from the Panel options that are displayed for the "Text" element:
This will open a drop-down where you can choose from the available "Global Fields", according to what you need in the particular sentence.
Choose the source
Since the "Dynamic Texts" option is a more complex one, you can add more dynamic information besides the "Global Fields" one. Therefore, click on the "Select Source" field:
This will open a sub-menu with some "Dynamic Text" sources. Click on "Global Fields":
Then, another field will appear, where you can choose the actual "Global Field" to be inserted.
Click on the "Select an option" section to open it and select the field you want to add to your text:
For instance, if the sentence you want to use this field in is something like: "Our company is located at... " then, you will have to insert the "Address" field you have set in the "Global Fields":
After you have selected both the "Global Fields" option and the field, all you have left to do is to click on the "Insert" button and the values/info you have previously set to the field will be added to your text:
This way you can insert any of the "Global Fields" to the text on your pages whenever you want, thus, saving time and effort.
Hopefully, this article was useful for you. If so, please give it a smile below :)


ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
Troubled Girls: The Reasons Behind
Updated on May 26, 2010
What makes troubled girls?
 How do they become troubled? What circumstances lead to psychological damage for girls, who can otherwise have a happy life if only a pattern of guidance is developed? These are some of the questions that this article will try to answer for those who would like to understand what it means to be troubled and how it can be solved.
First before we go any further, let us define what being troubled girls really mean. Being troubled girls can refer to girls who have difficulty interacting with people diplomatically. They are bred in such a way that they do not know how to show respect or show compassion for others. This might be due to the circumstances that surround their familial environment.
This inability to show respect by troubled girls may stem from various reasons. They may have been the objects of sexual or physical abuse that led them to lose trust in other people. This may also cause them to act out and do things that most girls their age would not normally do.
Examples of Delinquent Activities
Some examples of delinquent activities that problem girls sometimes get into are as follows.
 - Shoplifting
 - Trafficking
 - Prostitution
 - Drug addiction
These are just some examples of what troubled girls may end up doing if they are not guided well. Most of the girls who end up doing these things start out as rebellious teens who did not want to be bound by rules. Perhaps because they feel that if they follow the rules, they would not be able to get what they want out of life. Because of their adventurous spirit and disregard for rules, they have the tendency to try anything they want and believe everyone that they encounter.
Because of this, girls become troubled girls. They end up being led into the wrong path. Being troubled can be defined as having a disturbed nature. This could be the result of fear or guilt that they have, which is not yet expressed. This is why troubled girls need to have guidance in their lives so that they would not end up doing something that they would regret for the rest of their lives.
How do you treat troubled girls? Psychologists would tell you that discipline would help them gain balance and simplicity in their lives. However, this discipline should come from within. The girls should be able to talk to someone whom they can trust and be open with. If they can find this trustworthy person, they would be able to open their hearts and share what they really feel about life. Maybe they are looking for someone to share their experiences.
Once you determine the root cause of the condition, you can now help these girls deal with their various problems by allowing them to take control of the situation on their own. However, this should come at its own time. You and the counselor, or the authority figure must not force the troubled girls to share their feelings right away.
 0 of 8192 characters used
 Post Comment
 No comments yet.
 Click to Rate This Article


text:
A package for predicting fires given environmental variables
We used empirical data to build a virtual smoke detector or a model to predict fire alarm from environmental variables
Install the package as follows:
python3 -m pip install virtualsmoke
As a CLI
The package can be used as a commandline interface or in a script. For CLI the following options must be provided:
NAME smoke.py SYNOPSIS smoke.py T H P POSITIONAL ARGUMENTS T H P NOTES You can also use flags syntax for POSITIONAL ARGUMENTS
In the script
from virtualsmoke.smoke import signal print(signal(T,H,P))
Where T is the surrounding or surface temperature in Kelvin, H is the relative humidity (%), and P is the barometric pressure in hectopascal (hPa).
The model will calculate the mean free path of air, which is the main indicator for sensing fires.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
virtualsmoke-0.0.7.tar.gz (54.0 kB view hashes)
Hashes for virtualsmoke-0.0.7-py3-none-any.whl


text:
Can anybody suggest an optimum algorithm for determining if two arrays are identical eg.,
I know that this can be solved using Arrays.sort but in that case the quicksort will be O(n logn). Again if we store the first list in a Hashtable then we will be using extra space as big as the array. Is there any solution that is both space and time efficient?
You mean if two arrays contain the same elements? That's a big difference.
I think first doing an Arrays.sort() and then an Arrays.equals() is your best option. It's simple, should be fast, and they are tried and tested methods.
It's impossible to say what space complexity they give, but I don't think they're in-place. Regardless, I think using these methods will be better than anything you or I can come up with without knowing exact speed and memory requirements.
Seetharaman Venkatasamy wrote:Use Hashtable. first insert elements that are in first array. and now loop through 2nd array and see this current element is there in Hashtable or not.
It's not quite that simple if there can be repeated values. If you can guarantee there aren't repeated values I'd throw both arrays in a HashSet and call Set.equals() to compare them.
If you can't, then I'd go with Stephan's approach (probably adding a check that the arrays are the same size first - if they aren't they can't be equal, and so there's no point wasting time) until it was proven that wasn't good enough for some specific reason.
Matthew Brown wrote:
It's not quite that simple if there can be repeated values.
Yeah.. you pointed out well. in that case what we can do is put the counter to 1 [key - element, value-count]. if you find the element again increase the count.
when you loop the second array if the current element is there in hashtable decrement it.. upon the job completion, iterate the hashtable and see if the element value has 0 counter else say not identical.
I did some very simple tests, and the choice between the hash and the sorting based approaches seems to strongly depend on whether you want to sort an int or an Integer (of course assuming all the elements are unique, otherwise the sort based approach is favored).
I added 10.000.000 unique integers to a list, shuffled it and then assigned all the integers to two different int objects in the same order. Then I started the test.
The sorting algorithm took around 2200 milliseconds to complete. The hashing algorithm took around 7000 milliseconds. The sorting algorithm was also consistently faster for smaller sets of data.
When I started with two Integer arrays, the tables were completely turned. The sorting algorithm seems to have a much harder time sorting objects than primitives. On my system the sorting algorithm took around 11.000 milliseconds, whereas the hash based approach took roughly 3500 milliseconds.
This is of course a worst-case scenario. I haven't tested the situation where the two sets of data are unequal. Here's the quick and dirty int test so you can get an idea of what I did:
Stephan van Hulst wrote:I added 1.000.000 unique integers to a list, shuffled it and then assigned all the integers to two different int objects in the same order. Then I started the test.
Interesting. Your results would tend to suggest that there's quite an overhead for boxing/unboxing.
_USER_: In answer to your initial question "Is there any solution that is both space and time efficient?", I would say that Arrays.sort() is likely to be the most space-efficient, since it sorts in place; however, in the process it also destroys your original data.
If the arrays are specifically integer arrays, and you're not worried about repeated values, another alternative might be to use a BitSet. It will be horribly space-hungry for small arrays; particularly if they contain large values, but for very large arrays, it may be quite efficient.
Yes, auto-boxing is fairly expensive. It should be noted though that the (quick-)sort on int primitives is still faster than the hashing on Integers. Merge-sort on Integer is significantly slower though, much more than the auto-boxing can account for. I don't know if this is a result of the difference between the quickand merge-sort algorithms, or that the merge-sort algorithm has to make calls to the compareTo() method.
I also corrected my last post a bit since you replied. I tested on 10.000.000 elements.
Because it is a test. It tests the methods testArrays() and testTables(). These two methods aren't supposed to know anything about the arrays passed to them (except that every element is unique), so they also don't know that the two arrays are already exactly the same.
The point is that the two arrays have the same elements, because this would constitute a worst-case-scenario: every element in the two arrays have to be inspected in order to find out whether the two arrays are really the same. This is to eliminate the possibility that either of the two proposed approaches terminates ahead of time. The downside is that this test says very little about the average-case-scenario.
The reason why I shuffled the first array was to make the difference between Arrays.sort(int) and Arrays.sort(T) more realistic. The merge-sort used for the generic case handles arrays that are already (almost) completely sorted much faster* than the quick-sort does for the primitive case. Shuffling the array gives merge-sort a realistic handicap. The reason why I *didn't* shuffle the second array, is because it in fact doesn't matter that the two arrays have the same order, as long as they're shuffled in the first place.
*: Faster in terms of time complexity. Not necessarily absolute speed.


text:
Color-code production control items in the IFC model
To color-code items in the IFC model according to their properties, use the Colorize command in the Model Viewer Interface dialog box. For example, you can color-code items according to their production status or sequence. You can also set filters to only color-code particular items in the model. By using a filter, for example, you could first filter the items by their sequence, and then color-code the items in that sequence by their production status.
- In the Production Control dialog box, right-click anywhere in the display area.
- In the context menu, click Model Interface.
If necessary, in the Model Viewer Interface dialog box, filter the items that you want to color-code:
- Click Set Filters.
- In the Estimating Filters dialog box, select a filter type in the Type list, and click Select.
In the Filter dialog box, do one of the following depending on the filter
Click the arrow buttons to move the items that you want to display in the model to the Included list.
Type the maximum and minimum values for the items that you want to display in the model.
Repeat steps b to d for all filter types that you want to set.
- Click Apply Filter.
- Click the arrow on the right side of the Colorize By list and select a property in the list.
- Click Colorize.
The items in the IFC model are color-coded according to the selected property.
To revert to the original colors in the IFC model, click Reset in the Model Viewer Interface dialog box.


1793 Angel Number Spiritual Meaning
1 star2 stars3 stars4 stars5 stars
Rating:4.8, from 150 votes
Angel number 1793 meaning
What Does 1793 Mean?
1793=1+7+9+3=20, 2+0=2
If you see angel number 1793, the message relates to the field of relationships and personality development and says that Actions taken for the purpose of self-improvement can lead to solving your problems on a personal level. There is no need to go to unnecessary trainings and look out over your glasses in search of a potential spouse. Try to actually improve your intellectual level, and you will have a much more real chance of success.
Detailed significance of 1793 single digits
Angel number 1793 represents a vibration spectrum of number 1, number 7, as well as nine (9) and number 3 an
The Seven in the message of the angels means that you have ceased to see the difference between your abilities and your duties. The fact that others do not possess your talents is not a reason for becoming "a servant for everybody" and taking on someone else's work. Consider that it will be almost impossible to get rid of it.
The Nine, appearing in the message you received from above, means that the qualities of this number - goodwill, the ability to understand and forgive - allowed you to safely resolve the situation that seemed hopeless. Angels recommend that you take these properties of your nature as a basis in order to use them under any circumstances.
The Three in the message of the angels is a veiled compliment. You have creatively approached solving a trivial problem, and achieved the desired results. One can but hope that the experience gained will benefit you, and you will continue to treat everyday situations as if your life depended on each of them.
1793 numerology meaning
1 - 3
- - -
7 - 9
The combination of the One and the Seven is a "trademark" of total bad luck. If you meet number 17 too often, then it is time you stopped relying on luck and began acting thoughtfully and purposefully. You will be surprised to realize how simple and effective it is unless you rush or give way to your emotions.
Get ready for a situation in which romance is mixed with life experience in a ratio of 5:1. Probably, you will soon fall in love, and all your logical constructions, all your rules of logic will be powerless against the overwhelming feeling. Do not try to keep the remnants of common sense and do not reproach yourself for doing foolish things. There is no shame in losing your head.
You will have to drink the cup of the bitterest poison: become the object of envy. You managed to do what others did not, and your relationship cracked. If you feel bad because of this, put it down to common luck. People willingly forgive luckiness, but they never forgive superiority.
Related posts


text:
We're looking for an enthusiastic, adaptable Preschool Teacher in Florin, who has a passion for working with children's,
Our Florin Teachers are committed to making their center successful and know that creating meaningful relationships with children, families, and their team play role in that success, Apply Preschool teaching jobs hiring nearby Florin CA
Title: Preschool Teacher
Location: Florin, CA
Job type: Full-time (30 to 35 hours/week)
Qualification: High School Diploma or Bachelor's Degree
Pay rate: $19 to $24/ hour
The Preschool teaching job in Florin is responsible for the planning and implementation of the Creative Curriculum, Teaching Strategies, assessment, and supervision of the Florin children's, refer details to know more about job role.
Qualifications of Pre School teacher :
- High School Diploma required, Bachelor's degree preferred,
- Empathetic, creative and reliable teacher needed,
- Previous experience teaching Pre-K children of ages 3 to 5 years old preferably in a daycare setting in Florin,
- Must have a great love and patience for children,
- Strong written and oral communication skills are essential,
- Knowledge of teamwork, parent involvement, problem identification, as well as family and group dynamics.
- Excellent understanding of the principles of child development and classroom management skills,
- Positive behavior support methods for individual, class and school use and laws and regulations for special education in California State
- Plan and conduct daily activities for Florin children's, with Director's approval.
- Maintain a safe, clean, pleasant physical environment conducive to optimal growth and development of children.
- Observe, record, and evaluate children's significant behavior,
- Supervise indoor-outdoor activities and nap periods,
- Attend staff and parent meetings and contribute to the meeting,
- Meet with individual parents at least twice yearly to report on child's progress, discuss concerns with Florin parents and act on those concerns.
- Support Lead Teacher with regular meetings with and outreach to families, including daily documentation and notes, unit celebrations, and family informational sessions.
Schedule: Day shift
Work Location: One location
Career Tags: Preschool jobs Florin, preschool teacher jobs Florin, preschool jobs near me Florin, preschool teacher jobs hiring near Florin CA, Teaching job hiring nearby Florin CA, nursery teaching job in Florin, preschool teacher vacancy in Florin, teacher positions nearby Florin
Note: at Early tutors, We are here to hire for multiple category wise teaching jobs in Florin, so if there you don't find relevant jobs according to your knowledge or experience you may search jobs on our advance job search page to know tutor jobs nearby Florin CA.


What are some examples of formal operational thought?
Quick Answer
An example of formal operational thought would be imagining the outcome of a particular action that has yet to be undertaken. Formal operational thought, in general, involves the ability to think in the abstract, the ability to combine and classify items and the ability to use high-order reasoning skills.
Continue Reading
What are some examples of formal operational thought?
Credit: Anthony Harvie Stone Getty Images
Full Answer
Formal operational thought is the type of cognitive activity that occurs within the titular formal operational stage as articulated by Piaget's theory of cognitive development. According to Piaget, the formal operational stage begins at around age eleven. Another example of formal operational thought would be reasoning through word problems, which involve coming to conclusions about hypothetical situations that involve abstractions of physical objects. A key element of the formal operational stage is the ability to make an inference. Someone in this stage of cognitive development should be able to draw conclusions about things they have not actually experienced by considering information presented to them.
Piaget used a test called the 'third eye problem' to determine one's full transformation into the formal operational stage. Piaget asked children where on their body they would put an extra eye and why. Children around nine years old typically answered that the third eye should be located on the forehead. However, children in the eleven year old range typically suggested that a third eye should be placed on the hand for seeing around corners. This answer characterizes the abstract thinking and reasoning which characterizes the formal operational stage.
Learn more about Psychology
Related Questions


Monthly Archives: August 2019
What is fulgurite?
Lightning is an atmospheric discharge of electricity that is five times hotter than the surface of the sun. When lightning strikes the ground, it is hot enough to fuse silica sand and clay together into fulgurites: shafts of glass produced … Continue reading
Category: Phenomena
Comments Off on What is fulgurite?
Do storms impact Arctic sea ice?
Category: Meteorology, Seasons
Comments Off on Do storms impact Arctic sea ice?
What is warm rain?
Category: Meteorology, Tropical
Comments Off on What is warm rain?
Why are there so few hurricanes every year?
We are about five weeks away from the climatological peak of the hurricane season, which stretches from early June to November.
During that period, even in a particularly active year, not many hurricanes actually develop. Forming over tropical oceans ensures that warm sea-surface temperature (SST) provides a mature hurricane with a means to warm and moisten the air that flows toward the important eye-wall convection. Thus, it is not surprising that hurricanes struggle to develop if the SST is not 79.7 degrees or warmer. Continue reading
Category: Severe Weather, Tropical
Comments Off on Why are there so few hurricanes every year?


I am building a Ruby on Rails application that lets users deploy a server in the DO region of their choice.
I'd like to show the latency between the user's location and all the available DO regions so that the user can select the region with the fastest response time for them.
The latency can be easily calculated locally in development for each region with Net::Ping using the example code below:
 check =
 start_time =
 elapsed_time = ('%.6f' % ( - start_time))
However, in production, the originating IP is consistently the web host of my application, not the user's IP address.
How can I measure the response time between a website visitor and a DO region?
2 answers
Thanks for taking a look _USER_.
I was able to solve this problem by using JavaScript to ping a website hosted in each of DO's regions. I used the speed test websites originally designed to help DO customers measure the upload/download speed from each region.
For example, the code below will ping a website hosted in each DO region and then print the response time latency in the console.
var region_data = [
 {"name":"New York","host":""},
 {"name":"San Francisco","host":""},
for (var i = 0; i < region_data.length; i++) {
 var xmlhttp = new XMLHttpRequest()
 var start_time =;'GET', region_data[i].host, false)
 xmlhttp.onload = function () {
 var elapsed_time = - start_time;
 console.log(region_data[i].name + ':'+ elapsed_time);
 // Send request
Hi there _USER_,
Usually you would be seeing the server IP address in case that you are using Nginx as a reverse proxy. To get the real IP address of the visitor you have to get the X-forwarded-for header value. That way you would get the actual IP rather than the server IP itself.
Hope that this helps!
Submit an Answer


text:
Knife, Fork, and Plate from Libby Prison
Grade Range: 5-12
Resource Type(s): Primary Source, Artifacts
Date Posted: 12/28/2010
During the Civil War, Libby Prison held over 125,000 men, mostly Union officers. This knife, fork, and plate was issued to prisoner of war Colonel John S. Crocker, 93rd Infantry Regiment, New York Volunteers, by the commandant of Libby Prison, Richmond, Virginia, and used by him at Libby and Salisbury prisons, 1862.
Historical Thinking Standards (Grades 5-12)
United States History Standards (Grades 5-12)


Asked by: Lorretta Castromil
asked in category: General Last Updated: 2nd March, 2020
Where can I get blueprints for a house?
Click to see full answer.
Considering this, are building blueprints public record?
A blueprint is a map of a building. It ties the concept of design to the details required to erect a structure. Once the blueprints have been filed by the contractor with the municipality building department, these building plans are public records and technically attainable by anyone wanting to view them.
Beside above, how much does it cost to have blueprints drawn up? Blueprints are typically created by a draftsperson using CAD software, with some assistance from an architect. For this example, we'll look at the cost of getting blueprints for a two story, 1000 square foot addition. The average cost is $1200-$1500.
Consequently, is it cheaper to buy or build a house?
Where is the best place to find house plans?
6 of the Best Websites For Home Plans
 - Builder House Plans.
 - Dream Home Source.
 - House Plan Shop.
 - The House Plans Guide.
 - Floorplanner.
36 Related Question Answers Found
How do I find building blueprints?
How do I access blueprints?
Where can I find blueprints for my old house?
How do you find out the history of your house?
Where do I get Permits for my house?
Are building permits public information?
Do you need blueprints to build a house?
How do I check my house permits?
Can you build a house for under 50k?
Is it a bad time to buy a house?
How much would it cost to build a 1500 square foot home?
Can you build a house for 200k?
Can you build a house for under 100k?
Is it hard to get a loan to build a house?


Download Article
Download Article
When your pet urinates on or in your luggage, it can be quite difficult to remove the stubborn smells and stains. Although it takes a bit of time, you can clean pet urine from your luggage by saturating it with vinegar, sprinkling the stain with baking soda, and, if the smell is still lingers, applying a hydrogen peroxide solution. You can also try to clean the urine from your luggage in the washing machine, with an enzymatic pet cleaner, or with an odor-eliminating pouch.
Method 1 of 2:
Using Vinegar, Baking Soda, and Hydrogen Peroxide
 1. 1
 Dab the suitcase with paper towels to soak up the urine. If the pet urine is fresh and still wet, press a few paper towels down onto the wet spot and hold it there for a few seconds to soak up as much of the urine as possible. Then, with fresh paper towels, continue dabbing the wet spot until the paper towels come up dry.[1]
 - You can also use an old rag instead of paper towels.
 - Make sure that you dab the urine spot instead of rubbing, which can cause the urine smell to spread across the fabric.[2]
 2. 2
 Fill an empty spray bottle with distilled white vinegar. Make sure that the spray bottle is clean. Then, replace the sprayer cap onto the bottle. This will allow you to apply to the vinegar to the urine stain without having to saturate a larger area of the suitcase.
 - If the smell of straight vinegar is too strong for you, you can dilute it with water by adding 3 parts water to every 1 part of distilled white vinegar in the spray bottle.[3]
 3. 3
 Spray the urine stained spot with the vinegar. With the vinegar-filled spray bottle, spray the urine spot until it's completely saturated. Then, if the pet urine is on soft luggage, turn the luggage over and spray the opposite side of the fabric where the urine spot is located as well. This will help you remove any urine stains and odors that may have seeped into the luggage fabric.[4]
 - If the pet urine spot is on hard luggage, you can just spray the spot on one side.
 4. 4
 Set the luggage outside to dry completely. Once the urine spot is completely saturated with white vinegar, leave it to dry completely for several hours or overnight. If possible, place the luggage outside so that the fresh air will help remove the urine odor even more.[5]
 - If you want to speed up the drying time, you can blot up some of the vinegar with a paper towel after it's soaked through the fabric.
 5. 5
 Sprinkle baking soda over the dried urine spot.[6] Once your luggage is completely dry, pour a light layer of baking soda over the entire urine spot area. This will help neutralize any remaining odors even more.[7]
 - If the urine spot was small or didn't have a strong smell, you can skip the next steps and leave the baking soda alone to absorb any lingering odors overnight.[8] If the odor is strong, however, you'll likely need to add the hydrogen peroxide and dish soap solution on top of the baking soda.
 6. 6
 Add hydrogen peroxide and dish detergent if the odor is strong. In a small bowl, mix 34 cup (180 mL) of hydrogen peroxide with 1 teaspoon (4.9 mL) of dishwashing detergent. Then, slowly pour the solution over the baking soda-covered urine stain. Use a scrub brush or old toothbrush to mix the baking soda with the solution and work it into the luggage fabric.[9]
 - While using baking soda alone can neutralize some pet urine odors from luggage, adding the hydrogen peroxide and dish soap solution will help neutralize the urine smell if it was still strong after soaking in white vinegar.
 - The solution will likely start to bubble as you pour it over the baking soda.
 7. 7
 Leave the baking soda and solution to dry overnight.[10] Once you've worked the solution into the fabric, leave it to dry completely overnight or for several hours. This will give the baking soda, hydrogen peroxide, and dish soap time to neutralize the urine odors, kill any germs, and remove the urine stains from the fabric.[11]
 8. 8
 Vacuum up the dried mixture before using the luggage. Using your vacuum hand-held attachment, vacuum up the remaining baking soda and dried hydrogen peroxide and dish detergent mixture from the luggage fabric. In most cases, the urine stain will be gone and your luggage will be ready to use.[12]
 - If there's still a lingering urine odor or stain, you can repeat this whole process again.
Method 2 of 2:
Using Other Cleaning Methods
 1. 1
 Put your luggage in the washing machine if it's machine washable. If your pet urinated on a small piece of luggage, such as a backpack or soft fabric suitcase, you may be able to deodorize and sanitize it by washing it in the washing machine. Before placing it the washing machine, however, make sure that you check the instructions on the care tag so you'll know how to wash it correctly.[13]
 - If the urine smell is strong, you can add baking soda to the washing machine to help remove the odor even more.
 2. 2
 Try an enzymatic pet cleaner and deodorizer. There are several enzymatic pet cleaners on the market that can remove urine stains and eliminate lingering odors. Most enzymatic pet cleaners come in either a powder, similar to baking soda, or in a liquid sprayer.[14]
 - If you purchase a powder enzymatic pet cleaner, in most cases, you sprinkle it over the urine stain as you would baking soda, and leave it to soak up the stain and odors for several hours before vacuuming it up.
 - When using a liquid spray enzymatic pet cleaners, you'll generally spray the liquid on the urine spot as you would white vinegar, and leave it to air dry completely.
 3. 3
 Make an odor-eliminating pouch to absorb lingering odors. If you've cleaned your luggage thoroughly but there's still a lingering odor, you can try to get rid of it by making an odor-eliminating pouch and leaving it in your luggage when you're not using it. For example, try making your own pet urine odor-eliminating pouch by placing a scoop of new kitty litter and a dryer sheet in a small sachet. Tie the sachet up so nothing spills out, then leave it in your suitcase to deodorize over time.
 - You can also pour about 3 drops of your favorite essential oils onto a few cotton balls and place them inside the luggage.[15] You can leave the scented cotton balls loose or put them in a sachet to keep them together.
 - You can also purchase pre-filled odor-eliminating pouches.
Community Q&A
Ask a Question
200 characters left
 About This Article
 Melanie Garcia
 Co-authored by:
 Professional House Cleaner
 This article was co-authored by Melanie Garcia. Melanie Garcia is the Co-Owner of Oranges & Lemons, a small, family cleaning business based in Downtown Los Angeles, California (DTLA) in operation for over 40 years. Oranges & Lemons operates while partnering with the National Domestic Workers Alliance and Hand in Hand: Domestic Employers Network. This article has been viewed 7,316 times.
 1 votes - 100%
 Co-authors: 3
 Updated: March 19, 2021
 Views: 7,316
 Thanks to all authors for creating a page that has been read 7,316 times.
 Did this article help you?


Take the 2-minute tour ×
Have a numbered list in 2007 Word. Everything was fine until item 100.
At 100 and on, the margin between the number and the text is very large.
How do I make it normal? Thanks!
98. texttexttexttexttext
99. texttexttexttexttext
100. texttexttexttexttext<--Can't get just one space between number and text?
101. texttexttexttexttext
share|improve this question
add comment
2 Answers
up vote 5 down vote accepted
The default hanging indent value (i.e., how far in the text begins) isn't wide enough for the 3-digit numbers. (Default seems to be for the number itself to be indented 0.25", and the following text indented 0.5", which leaves only 0.25" for the number.) When it's not wide enough, then, Word has to move the hanging text over to the next tab stop.
You can fix this as follows: select the entire numbered list, right-click and select Adjust List Indents, and then set Number position and Text indent to whatever you want.
share|improve this answer
interesting problem, nice solution, thnks – mmc18 May 20 '13 at 13:20
add comment
I have got the steps for fixing the Numbering Issue of Microsoft Word 2007. Just follow the steps so that your text and numbers will be aligned correctly :
From the numbered list, select all of the items. Then click the drop-down arrow at the right of the Numbering tool in the Paragraph group, on the Home tab of the ruler. You will find that Word displays a palette of options. Click the Define New Number Format option. Word displays the Define New Number Format dialog box, and all the options in the dialog box should match whatever was set in the numbered list you selected in step 1. Choose the Right, using the Alignment drop-down list. Finally click on OK.
share|improve this answer
Sure, but what if he does want the numbers to be left-aligned, just that the following text should always be indented the same distance from the page margin? – Alex Feb 12 '10 at 17:51
add comment
Your Answer


text:
Hurlbert's Pebbling Page. Forcing (mathematics) Forcing is equivalent to the method of Boolean-valued models, which some feel is conceptually more natural and intuitive, but usually much more difficult to apply. identify with, and then introduce an expanded membership relation involving the "new" sets of the form.
Forcing is a more elaborate version of this idea, reducing the expansion to the existence of one new set, and allowing for fine control over the properties of the expanded universe. Change in the average geodesic distance of a graph when flipping a single edge. Is there a way to determine how the average geodesic distance between nodes of a graph will change just by flipping (1) a single edge without having to traverse the whole graph like in the Djikstra algorithm?
I'm currently doing this by expensively copying the graph, changing the edge, and then calculating the average geodesic distance of the new graph (using Dijkstra's algorithm) and subtracting it from the average geodesic distance of the original graph.. Is there a more clever way to to this? Cesar A. Hidalgo, Homepage.


I can't figure out how to add an IN clause in my query, using placeholders.
I'd want it to be something like:
$nids = array(1, 2, 3);
$result = db_query('SELECT * FROM {node} WHERE nid IN :nids', array(':nids' => $nids));
Can't find any documentation on this simple task. What's the proper way to achieve this?
You are missing the braces.
Try this:
$nids = array(1, 2, 3);
$result = db_query('SELECT * FROM {node} WHERE nid IN (:nids)', array(':nids' => $nids));
For more information, see _URL_ especially the chapter on Placeholder arrays:
Placeholder arrays
Drupal's database layer includes an extra feature of placeholders. If the value passed in for a placeholder is an array, it will be automatically expanded into a comma separated list as will the corresponding placeholder. That means developers do not need to worry about counting how many placeholders they will need.
An example should make this behavior clearer:
// This code:
// Will get turned into this prepared statement equivalent automatically:
db_query("SELECT * FROM {node} WHERE nid IN (:nids_1, :nids_2, :nids_3)", array(
 ':nids_1' => 13,
 ':nids_2' => 42,
 ':nids_3' => 144,
// Which is equivalent to the following literal query:
db_query("SELECT * FROM {node} WHERE nid IN (13, 42, 144)");
 - I knew I was close ;) Thanks for the answer and the link! – Olof Johansson Jun 16 '11 at 15:20
 - what about the strings? node_types = array('node_type_1', 'node_type_2'); – Serjas Feb 8 '13 at 13:24
 - Same, doesn't matter. – Berdir Feb 8 '13 at 15:43
For Drupal 8
Entity query:
$query = \Drupal::entityTypeManager()->getStorage('entity_type')->getQuery();
$query->condition('field/property', [1, 2, 3], 'IN');
$ids = $query->execute();
Sql Query (select), essentially the same for other query types.
$query = \Drupal::database()->select('table', 't');
$query->condition('column', [1, 2, 3], 'IN');
For Drupal 7
See Berdir's answer.
For Drupal 6
You can do it like this:
$nids = array(1, 2, 3);
$placeholders = db_placeholders($nids);
$result = db_query("SELECT * FROM {node} WHERE nid IN ($placeholders)", $nids);
db_placeholders is needed in Drupal 6 which will creating a string that holds the placeholders needed for the array of values given. Drupal 7 handles all this internally like Berdir describes.
Using the Database API in Drupal 7
Here's how you can use db_select() instead of db_query() for the same results.
$nids = array(1, 2, 3);
 ->condition('n.nid', $nids, 'IN')
$nodes = $query->fetchAll();
Drupal 6 If your array contains strings you need to tell db_placeholders()
$colours = array('red', 'yellow', 'blue');
$placeholders = db_placeholders($colours,'text');
$result = db_query("SELECT * FROM {bricks} WHERE colour IN ($placeholders)", $colours);
Drupal 8 update.
Also valid.
$nids = db_query("SELECT nid FROM node_field_data WHERE nid IN (:nids[]) AND status = 1", [
 ':nids[]' => $nids
 - db_query is deprecated and will be removed in Drupal 9. It shouldn't be recommended as a solution at this point. You also shouldn't use the database directly for querying data related to entities; there are APIs for that – Clive Nov 9 '19 at 7:03
 - The recommendation is strictly Drupal 8 update. The current accepted answer no longer works for Drupal 8, because it lacks square bracket. To reject this answer because it does not work for Drupal 9 another major version is disingenuous. It stops users getting an answer that just works. The sentiment is a clear example of, Perfect is the enemy of good enough. – Chris Calip Nov 12 '19 at 23:27
Your Answer


From Dwarf Fortress Wiki
Jump to navigation Jump to search
÷ Ω Ω Ω Ω Ω ÷
= = Ω
= Ω
= = Ω
= Ω
÷ Ω Ω Ω Ω Ω ÷
- or -
Wikipedia article
This article is about an older version of DF.
Bronze is a manufactured metal that does not occur naturally. Bronze bars can be used to make reasonable weapons and armor that are 75% effective compared to iron. Bronze can also be used to make furniture and other objects at a metalsmith's forge.
Bronze cannot be smelted from a single ore; it must be smelted using one of the following recipes:
Bronze has a value of 5 and uses the same ingredients as fine pewter (which also has a value of 5). If you find yourself short of tin, use this metal to make your objects of art instead of using fine pewter.
Another advantage of bronze is that, from ores, it only requires 1 fuel to smelt 2 bars of bronze. This is the best fuel:product ratio of any weapon-grade metal in the game*. This can be key in the early game, or on fuel-scarce maps, and/or if time is a critical factor.
(* of silver, copper, bronze, bismuth bronze, iron or steel.)
See Also:[edit]


Child deaths in Vermont
Change Indicator
(i) Select Table Type:
 - Detailed
Data Provided By
Definitions: Child deaths per 100,000 children ages 1 to 14 years old
Data Source: Vermont Agency of Human Services, Department of Health, Vital Statistics
Footnotes: Rate represents the sum of data for three years. For example, the 2009-2011 rate is derived from the sum of all deaths of children age 1 to 14 over that three year time period divided by the sum of the population of all children of that same age group over the same three years, multiplied by 100,000.
Change over time for child death rates is not applicable in most cases, as the actual number of deaths is very low.


text:
What is the Average Rank in League of Legends?
A prevalent thing we hear from League of Legends players is that they are "average." But what does that actually mean? Is it in relation to their skill, or perhaps time played? Well, let's find out!
What is the Most Common League of Legends Rank?
Statistically, the most average rank is Silver IV, and it holds about 11% of all players. Silver IV is the ninth rank in the League of Legends ranking system and the first rank of the Silver Division, which alone contains about 40% of the game's player base.
It's also the most popular division to be in.
Therefore, we could say that the Silver Division is a place for players representing average skills.
This division is also where the real tryhard begins, as players compete for additional end-of-season prizes. It bears mentioning that, by every season's end, the rank with the most players shifts to Gold IV, as more and more players manage to grind it out.
How Good is the Average LoL Player?
The skill of average League of Legends players has been climbing steadily over the years. Where in the early days of League of Legends, even knowing every champion was considered an accomplishment, nowadays the picture is a bit different, and far more demanding.
Average LoL players can be considered to have the following skills and knowledge:
- Having an established Champion pool,
- Knowing how to farm minions,
- Knowing the importance of objectives,
- Knowing which Champions are strong in the meta.
What Should Average LoL Players Learn?
Even though the largest amount of players is situated around the Silver and Gold divisions, the path to the ranked peak is long indeed.
Here are a few things that players in the Gold and Silver divisions lack:
- Adapting to enemy picks in draft,
- Pushing ally advantages,
- Punishing enemy mistakes,
- Not throwing the lead,
- Learning macro gameplay,
- Learning wave management,
- Learning how to close out a won game,
- Learning to play from a position of weakness, called playing from behind.
We do not doubt that the primary aspect differentiating an average player from a higher-ranked one is experience and time spent in the game wisely.
If you wonder what to do to get to an above-average level, just play the game, commit some time to practice, and learn from your mistakes without blaming others.


text:
Liangdi Zhang Yanqi Lake Beijing Institute of Mathematical Sciences and Applications
Abstract : In this paper, we investigate the curvature behavior of complete noncompact gradient expanding Ricci solitons with nonnegative Ricci curvature. For such a soliton in dimension four, it is shown that the Riemann curvature tensor and its covariant derivatives are bounded. Moreover, the Ricci curvature is controlled by the scalar curvature. In higher dimensions, we prove that the Riemann curvature tensor grows at most polynomially in the distance function.


Plentiful meaning in hindi
Pronunciation of Plentiful
Plentiful in Images
Plentiful Antonyms
Plentiful Definitions and meaning in English
 1. existing in great number or quantity
 2. affording an abundant supply
 3. producing in abundance
 4. abundant
Tags: plentiful meaning in hindi, plentiful ka matalab hindi me, hindi meaning of plentiful, plentiful meaning dictionary. plentiful in hindi. Translation and meaning of plentiful in English hindi dictionary. Provided by a free online English hindi picture dictionary.


Take the 2-minute tour ×
We have Lotus Notes based application, which is accessed by several users. We communicate with our users by using mailboxes which reside on Domino server. With mailboxes migrating from Lotus notes to Microsoft exchange. What are possible ways to continue communications categories mentioned below:
1) Send normal email containing attachment to users. - Is it possible to send email from lotusscript when mailbox resides on microsoft exchange server? Any other solution.
2) Send email with buttons to approve or reject - How will it be done through Lotus notes when mailbox is microsoft exchange? In case we do not migrate mailbox however our clients access outlook mailbox is it still possible to send email containing approval buttons etc?
3) Agents look up mailbox regularly to receive communication from backend - Is it possible to access Microsoft exchange mailbox from Lotus notes so that we can process incoming emails? Any other solution?
share|improve this question
add comment
1 Answer
1) You first need to setup your Notes Domain to be able to forward to an Exchange domain. Microsoft provides some help here: _URL_
As you migrate users, you'll change their person documents to point to "Other Internet Mail", and include their Exchange email address, so the Notes environment knows how to reach them. Up to this point, this is something a Notes Administrator would handle if you have one at your company.
After that, you can send to any Notes user normally from LotusScript. Attachments go through fine.
2) Approval buttons are not feasible because they require some level of interactivity to be sent back to Notes. When you send an email from Notes to Exchange, you're sending it over SMTP and usually in an HTML format. It's the same as if you send an email from Notes to someone across the globe - as soon as it leaves the Notes domain, the email is converted to a MIME-based email and Notes-specific buttons, embedded objects, etc won't be converted.
As an alternative, you could send a link to the Notes database and have the users click that first, then open up the database to approve. That's very easy if your Notes database is on Domino and accessible via a browser. If it's a database that requires the Notes client, and you're on Windows, you can programmatically create links to the documents using the Notes:// URL scheme, which can easily be sent in an email.
3) This is a "it depends" answer. What are you trying to accomplish? If you're reacting to emails sent from an application, you could perhaps send two emails - one to a user, one to the database within Lotus Notes that needs to run an action. Or, you can set up rules from Exchange that send emails to Notes to trigger actions. If you absolutely must react to emails sent to Exchange, you should look into using Rules in Outlook/Exchange, and perhaps VBA to gain finer control of what actions occur.
share|improve this answer
add comment
Your Answer


text:
DBSync's "Sage 100 & PocketAdvantag Bidirectional Integration" is easy to use solution template which integrates data both ways between the Sage 100 & PocketAdvantage app. The template is also useful in migrating historical Sage 100 data into PA and can also be used to do a periodic swipe of historical accounting data into PA. This template provides Bi-directional the flexibility for more complex and dynamic mapping capability.
One of the most important prerequisite prerequisites of Sage 100 and PocketAdvantage system is to setup set up the ODBC data source connection on the server where Sage 100 is hosted. The below steps explain how to setup set up the ODBC connection so that Sage 100 opens a connection to DBSync.
- Go to Control Panel -> Administrative services of the server on which the Sage 100 is hosted.
- Select the service ODBC data source 32-bit/64-bit based on server configuration. This will open a pop up as shown in the image below.
- Choose the Tab user DSN and click on the Add button. This will open a pop up with various drivers.
- Choose MySQLODBC5.3 unicode Unicode driver. This will pop open a window to enter connection properties.
- In the MySQL connection window, enter the following Parameters Data Source Name: dbsyncqueue, TCP/IP server: dbsync-queue.cvglyvvn64dx.us-east-1.rds.amazonaws.com, user:dbsync, Password:, DatabaseDatabase: Sage.
The steps below show how to import the job file script provided by DBSync - it is mandatory for the integration to work.
- Login to Sage 100 with valid credentials.
- On the left navigation, select a visual integrator. This will provide a list of options.
- Choose the "Job Import" option from the available values.
- Choose the file provided by DBSync. The file can be downloaded by clicking on the following link.
- From the file dialog box, choose the file. It will show the list of all the jobs that are required for DBSync to perform the integration.
- Select all. And then, click on the Accept button as shown in the following screen shotscreenshot.
- Login to Sage 100 with valid user credentials.
- Search for the Task Scheduler from the search. It will return the search results.
- Clicking on the search result name of Task Scheduler will open a popup - as shown in the image below.
- Key in the desired job name. Moving the cursor to next text box will auto-populate the company code, Sage 100 user logon login, and server user logon.
- The user will have to key in the Sage 100 Account Password and Server Password. Then, s/he will have to choose the type to "Visual Integrator ".
- Set the schedule job intervals by choosing the appropriate options.
- Choose the tab "Tasks".
- Select the V/I Job Type to to Export, in case of reading data from Sage 100. Or, choose Import in case of writing to Sage 100. Then, choose the V/I Job Name as appropriate.
- Click on Accept to save the job.
A question may arise - what happens to the Sage data after it being is read from the Sage 100 application? How does DBSync process the data and write to the PocketAdvantage? Below steps explain how Sage Data is being processed to the PocketAdvantage.
- The Scheduled jobs within the Sage 100 application, helps to read from Sage and processes to DBSync.
- The DBSync holds the Sage data in a queue - i.e. a buffer - before applying the required transformations and writing to the PocketAdvantage.
- The workflows - with the naming convention "Merge" within the DBSync - will help DBSync to sort any duplicate records that are processed into the DBSync's buffer.
- DBSync internally uses a chaining technique for the merging process. The technic enables DBSync to identify unique records and separate duplicate records from the unique ones.
- Then, another workflows workflow will process the data from DBSync buffer to PocketAdvantage.
DBSync Integration of Sage & PocketAdvantage can be triggered by:
- Clicking on the Run-now button from the process listing page of DBSync.
- Using DBSync Scheduler.
Clicking on Run-Now Buttons From DBSync platform
The user can login log in to DBSync with his/her valid credentials and click on the Run-now button from the process listing page or from the workflow listing page. The order of execution, of the process, must follow the following path:
- Scheduler available in DBSync Account can be used to schedule the integration. For further details on the scheduler, please click on the following link _URL_
PockeAdvantage Configuration steps link: PocketAdvantage Connector (How to do the connector configuration in DBSync Platform)
Sage 100 Configuration steps link: Sage 100 Connector (How to do the connector configuration in DBSync Platform)


Troubleshooting DRS in Configmgr
The Basics of Replication in Configmgr
Configmgr underwent a shift several years ago as Microsoft tried to fix that backlog issue that customers often times encountered with the file based replication style. The hierarchy architecture was flattened and replication went from files to SQL, for the most part at least. This is well covered on TechNet so I will spare you the details.
There are some additional basics of replication that should be stated for completeness of the topic.
Configmgr does not use the built-in SQL replication it uses components of SQL and manages the replication of data on its own. The easiest way I can state this is, the product team coded their own replication into the product, it does not use the built in features of Microsoft SQL Replication.
There are mainly two types of data replication between sites, Global data and Site data. Global data is replicated from the CAS downward, while site data is the opposite.
Global data includes data such as collection rules.
Site data includes things like collection results and client data.
Each data type contains several replication groups that logically groups data from different tables together. These replication groups are classified as global and site replication groups.
select * from vReplicationData is a query to display all replication groups.
If you want to see what replication groups are included as part of global or site data, simply modify the previous query by specifying the type of data, similar to these.
select * from vReplicationData where Replicationpattern = 'global
select * from vReplicationData where Replicationpattern = 'site
Want to see what data is part of that replication group from the output of the previous two queries? The first column of the output should be ID, simply select the matching ID from the replication group you want to investigate and use the following query. Replace 30 with the ID number you are interested in.
select * from vArticleData where ReplicationID = 30
ID 1 – 14 is global data, 15 is cloud data, 16 – 30 is for site data, 31 – 33 is for secondary site replication data, beyond 33 is typically more site data replication groups.
RepGroups-Global and Cloud 1-15RepGroups-Sites 17-30RepGroups-SecondarySitesRepGroups-34 plus
Since we are almost to the real meat of what data is being sent why not look and see what tables are included in a group? And what better to look at than HWINV data? This query will return the list of tables that is being replicated as part of any of the replication groups with Hardware_Inventory in the name of the group.
select ArticleName from ArticleData where ReplicationID in (select ID from vReplicationData where ReplicationGroup like 'Hardware_Inventory%')
UPDATE: A friend was gracious enough to send me an email regarding the previous query and how to better see what data is in a replication group I recommend using his below. He is easily one of the foremost experts on DRS and how to troubleshoot replication. He and his team have one of the largest implementations of SCCM globally and it is magnificently run. Just from an efficiency standpoint, his query is much better and more elegant.
"HINV replication groups vary by install and by how much you extend the mof. I don't think any 2 groups look alike or contain the same data.
To see what data is in each I use this:"
SELECT Rep.ReplicationGroup,
 App.ArticleName, App.ReplicationID
FROM vArticleData AS App
INNER JOIN v_ReplicationData AS Rep ON App.ReplicationID = Rep.ID
ORDER BY Rep.ReplicationGroup, App.ArticleName
Another important aspect of DRS is the SQL Service Broker (SSB) which handles incoming and outgoing messages, guaranteeing their delivery by allowing them to use an asynchronous queue to store the messages in. If this cannot function the flow of data into and out of SQL replication will stop.
Site Data Processing – An Example
When a client runs its scheduled hardware inventory it stores the output of the WMI data in an XML file. Then the client copies that XML file up to its management point (MP). Assuming the MP is not a primary site server, the MP message handler processes the clients XML file and it gets converted into a MIF file. Then the MP File Dispatch Manager takes the MIF file and uploads into the clients primary site servers dataldr inbox folder. The MIF file is then read by the data loader component and the data is inserted in the SQL database.
Technically, there are more than two types of data being replicated, but technically Configmgr can also use the built-in SQL replication too, technically.
Additional info from TechNet:
Plan for Database Replication Thresholds
How to Monitor Database Replication Links and Replication Status
Procedures for Monitoring Database Replication
Advanced Troubleshooting of Replication in Configmgr
When the Data Replication Service (DRS) stops working it can be a nightmare. If replication breaks and you cannot fix it within a certain amount of time you will lose data and if you have to re-initialize your replication it generate gigs and gigs of network traffic across the wire as you replicate all that data to each site server, again. Below are some additional tips to help when troubleshooting DRS when the Replication Link Analyzer (RLA) doesn't do the trick.
Running RLA in a script or from the cmd prompt:
%path%\Microsoft Configuration Manager\AdminConsole\bin\Microsoft.ConfigurationManager.ReplicationLinkAnalyzer.Wizard.exe
From TechNet: About the Replication Link Analyzer
 If RLA fails any remediation actions while it is running, the log files contain more detail than the XML file. Also, ensure that it was able to restart the SMS_SITE_COMPONENT_MANAGER and SMS_EXECUTIVE services.
Verbose Logging
The first step is to get more information from the log files, this is accomplished the same way as all other logs in CM, by modifying the amount of logging through registry keys. There are two different log types we are going to use, your standard text based log files you typically view with notepad, splunk, or cmtrace, while the other type of log files are viewed in SQL because they are SQL managed components of Configmgr and the logging is stored in SQL tables not like the.log files for the majority of Configmgr's components. You can add this to the long list of reasons why SQL should be ON BOX and CM admins should have sysadmin forever on their SQL instance(s). Moving on.
Replication Configuration Monitor Log
Rcmctrl.log – Replication Configuration Monitoring (RCM) log file that shows an overview of sync status, site status and stored procs used.
Rcmctrl Regkey: HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Components\SMS_REPLICATION_CONFIGURATION_MONITOR\Verbose logging
Default is Value 0
DWORD Value 0 = Errors and key messages
DWORD Value 1 = Errors, key messages, and more general information*
DWORD Value 2 = Everything (Verbose)*
*Make sure you return this back to 0 after you have resolved your DRS issues.
By default the two replication groups that record messages to the Rcmctrl.log are Site Control Data and Configuration Data, if you see errors with another replication group you can include it in the logging by adding it to the following registry key.
*Make sure you return this back to the default after you have resolved your DRS issues. The default is: Site Control Data,Configuration Data
SQL Components Logging
vLogs (stored in SQL views) – Because some components of RCM are running in SQL Server hosted managed code, each of these components is provided a table in CM SQL db to record log messages to. Logging is recorded in: vDrsReceivedMessages, vDrsReceivedHistory, vDrsSendHistory, vDrsSentMessages, vDrsSyncHistory, and vDrsSyncMessages
Default is Value 1
DWORD Value 0 = Errors and critical information only
DWORD Value 1 = Errors, critical information, warnings, and general information
DWORD Value 2 = Everything (Verbose)*
*Make sure you return this back to 1 after you have resolved your DRS issues.
Now that additional details are being logged here are two queries to run that will display details of the vLogs information. If you cannot determine the source of the problem using this information I have listed below some additional queries and troubleshooting information.
Query the SQL vLog
Now we are ready to query the vLog and get extra details. A word of caution first, I recommend that you use the first query that only returns the first 1000 messages, by running the query and not limiting it you risk making things worse by adding additional pressure to your SQL db when it may already be in a degraded state and using the maximum amount of resources it has available.
This query returns the last thousand messages which have been logged, ordered by the time they were written into the database.
select Top 1000 * from vLogs order by LogTime desc
This query does not limit the messages returned and may cause your server to fall over! This is your second and final warning.
select * from vLogs where LogTime > GETDATE()-1 and ProcedureName <> 'spDRSSendChangesForGroup' ORDER BY


text:
You can insert a picture behind any Excel chart.
To create a static four quadrant background you will need to insert a picture into the chart. For this example I created a picture in a drawing program showing four quadrants, each quadrant a different color. Since the upper right was a positive outcome I chose green. The lower left was a risk quadrant so I chose pale red.
Next week's newsletter describes how to create a Four Quadrant – Matrix Model where the background matrix can resize itself when mid-points change. This is very useful for example if you want quadrants to show above or below average. Watch for the article, How to Create a Dynamic Four Quadrant Matrix Model with a Combination Bubble and Column Excel Chart
Pictures can be inserted as backgrounds behind an entire chart or behind the Plot Area. In this case, we want the quadrants to align with chart axis and mid-points so it is inserted in the Plot Area. To do this,
1. Use a drawing program to create equally spaced quadrants with the colors you need. (I've included a sample you can download as well as an Excel file showing quadrants you can color and then save.) Save the file as a JPG or PNG file.
2. Select the Excel Plot Area by clicking in it so the four handles appear at each corner of the area enclosing the balloon chart. You can also select anywhere in the chart, click the Format tab and then look for the chart element selector at the far left on the ribbon.
3. Right-click the edge of the Plot Area and select Format Plot Area.
4. Select Fill, then the Picture or Fill option. Use the Insert File button to insert the graphic file from disk.
The picture will extend to the farthest edges of the Plot Area. If you did not scale your chart's data and limit the X and Y axis to 100, then the mid-point for the quadrants will misalign with the mid-point of the data and axis.
Download an Excel worksheet with four color matrix you can change colors with.


text:
The critical clearing angle is defined as the maximum change in the load angle curve before clearing the fault without loss of synchronism. In other words, when the fault occurs in the system the load angle curve begin to increase, and the system becomes unstable. The angle at which the fault becomes clear and the system becomes stable is called critical clearing angle.
When the initial load is given, then there is a critical clearing angle, and if the actual clearing angle exceeds a critical clearing angle, the system becomes unstable otherwise it is stable. Let the curve A represents the power angle curve for a healthy condition; curve B represents the power angle curve for faulty condition and curve C represents the power angle curve after isolation of fault as shown below.
Where γ1 is the ratio of system reactance in healthy condition to that of during the fault and γ2 is the ratio of steady state limit of the system after the isolation of fault and that of system under the initial condition.
For transient stability limit, two areas A1 = A2 or in other words the area under curve adec (rectangle) is equal to the area under the curve da'b'bce.


William T. Grant Foundation Invites Applications for Research Grants on Reducing Inequality
The William T. Grant Foundation is inviting applications for its Research Grants on Reducing Inequality program, which supports high-quality field-initiated studies from a range of disciplines and methodologies relevant to policies and practices that affect the lives of young people between the ages of 5 and 25 in the United States.
Through the program, grants of up to $600,000 over up to three years will be awarded in support of research that aims to build, test, or increase understanding of programs, policies, or practices that can reduce inequality in the academic, social, behavioral, or economic outcomes of young people. Descriptive studies that clarify mechanisms for reducing inequality or elucidate how or why a specific program, policy, or practice operates to reduce inequality are welcomed.
The foundation prioritizes studies focused on reducing inequality on the basis of race, ethnicity, economic standing, language minority status, or immigrant origin. It also supports studies from a range of disciplines, fields, and methodologies and encourages investigations into various systems, including justice, housing, child welfare, mental health, and education. Competitive proposals often incorporate data from multiple sources and often involve multidisciplinary teams. In addition to financial support, grantees receive significant time and capacity-building resources from the foundation. Projects led by African American, Latinx, Native American, and Asian Pacific American researchers are encouraged.
Letters of Inquiry are due August 4. Upon review, selected applicants will be invited to submit a full proposal.
See the William T. Grant Foundation website for complete program guidelines, application instructions, and descriptions of previously funded projects.
View another RFP related to children / youth
Deadline: January 27, 2021


Time Zones Give an Advantage to West Coast Sports Teams
A new study could make some east coast sports teams consider moving west. The research, conducted in Canada, found that NFL, NBA and NHL teams traveling from west to east had a higher winning percentage compared to teams traveling in the opposite direction.
The results of this study highlight the importance of the direction of the circadian disadvantage on the probability of success.
"These results highlight the importance of circadian rhythms in sport performance. They also raise concerns about well-established practices such as early training sessions and late-night athletic competitions and the possible negative effects on performance and health," said co-author, Geneviève Forest, PhD, Université du Québec en Outaouais (UQO). "These results show that the effect of the circadian disadvantage transcends the type of sport being played and needs to be addressed for greater equity among the western and eastern teams in professional sports."
The study reviewed the past 5 years of regular season games in the NBA, NFL and NHL and noted the winning percentage of the visiting team depending on the direction of travel (east vs same time zone vs west), and the number of time zones crossed for every game. T-tests and ANOVAs were performed to study the effect of the circadian disadvantage and its direction on winning percentage.
Source: News Release


text:
The United States Department of Defense ran a project to analyse the current and historical use of marksmanship training. The analysis compared costs of using traditional live-fire training alone versus using simulator training. Research on the effectiveness of using the simulator training, conducted previously is used as a basis for the effectiveness analysis. The questions researched are:
"Can using the simulator training reduce training costs compared to using live-fire ranges alone?"
"Will continued use of the simulator training be as effective as using live fire alone?"
The project identifies current virtual training systems and analyses potential opportunities for cost savings. The data supported the hypothesis that the simulator training system will reduce costs over the years that it is used to supplement live-fire ranges. A cost analysis was conducted, and a sensitivity report generated. Results provided an estimate of the per-person cost of training, logistics savings, and virtual system benefits. The analysis concludes that a well-sequenced mix of simulator training and live-fire training would maximise cost savings — and is as good for overall marksmanship quality as live-fire alone.


text:
Skip to Main Content
A key topic in multicontroller strategies is the mechanism for switching between controllers, depending on the current operating point. The objective of the switching mechanism is to keep the control action coherent. To help students understand the switching strategy involved in multicontroller schema and the relationship between the system dynamics and the switching structure, this paper proposes a student practical where basic linear control knowledge and a simple switching strategy are applied to an educational nonlinear control problem, that of controlling the level in a tank. Evaluation provided by the students is also included.


text: To examine whether high moral reasoning competence of adolescents is associated with low levels of bullying, and to understand whether moral disengagement mediates or moderates this relationship, 925 German children ranging from 11 to 17 years of age (M = 14.18, SD = 1.21) completed questionnaires on moral reasoning competence and moral disengagement in surveys at three different schools. The children were classified according to their bullying role, based on a peer‐nomination procedure. Multinomial logistic regression analyses showed that moral reasoning competence negatively predicted whether a student took an aggressive role. Moral disengagement partially mediated this relationship. Corresponding effects for defenders and outsiders were not found. These results extend previous findings about the effect of moral reasoning on bullying in primary school. The implications for the prevention of bullying are discussed.


Take the 2-minute tour ×
This is a broad question so for simplicity I will use Seal of Fire and Naturalize.
Scenario 1: Common exchangecreating a baseline.
 - Player A uses Naturalize on Seal of Fire
 - Player B Sacrifices SoF in response. SoF is highest on the stack and goes off first.
 - This leaves Naturalize without a valid target.
Scenario 2: Complicated exchangeIs this legal?
 - Player B Sacrifices SoF.
 - In response Player A targets it with Naturalize.
 - SoF is on the stack and it's ability has not resolved. Player B (as above) sacrifices SoF in response to the Naturalize.
Can Seal of Fire be placed back on the stack by re-activating its ability, potentially with a new target?
share|improve this question
2 Answers 2
No, your second example is not possible using the game rules.
Player A cannot target SoF with Naturalize, because it is currently in the graveyard. If they wanted to target the SoF, they need to do so when they had priority. Player A cannot prevent the SoF from being sacrificed for its ability anyway, since the ability exists independently of the source that created it. Seal of Fire says, "Sacrifice Seal of Fire: Seal of Fire deals 2 damage to target creature or player." It is an activate ability whose [Cost] is "Sacrifice Seal of Fire." If Player B paid the cost to activate SoF, it would no longer be on the battlefield by the time the Active Player received priority.
112.3b Activated abilities have a cost and an effect. They are written as "[Cost]: [Effect.] [Activation instructions (if any).]" A player may activate such an ability whenever he or she has priority. Doing so puts it on the stack, where it remains until it's countered, it resolves, or it otherwise leaves the stack. See rule 602, "Activating Activated Abilities."
116.1. Unless a spell or ability is instructing a player to take an action, which player can take actions at any given time is determined by a system of priority. The player with priority may cast spells, activate abilities, and take special actions.
 - It is not possible to sacrifice a permanent twice. After you sacrifice a permanent, it is placed into its owner's graveyard.
share|improve this answer
I was under the impression that because the ability had not resolved, as it was interrupted by the naturalize, it was placed on the stack before the card reached the graveyard. – Stormchild Mar 3 '12 at 19:29
_USER_ You pay all costs at the time you activate an ability (i.e. put it on the stack). The actions you take as part of paying costs don't use the stack. – Alex P Mar 3 '12 at 20:14
To put Alex's comment another way, the card goes to the graveyard at the same time as the ability is first placed on the stack. There is no opportunity for you or your opponent to do anything between the ability being placed on the stack and the moving of the Seal to the graveyard. The casting of Naturalize happens well after both of those actions. – David Z Mar 4 '12 at 7:46
user1873 is right. Scenario 2 is not legal since the sacrificing is a cost. To try to it clarify further: If Seal of Fire instead did "T: Destroy ~this~ and deal 2 damage to target player" it would still deal 2 damage to the player if you destroyed it before the ability resolved.
112.7a Once activated or triggered, an ability exists on the stack independently of its source. Destruction or removal of the source after that time won't affect the ability. Note that some abilities cause a source to do something (for example, "Prodigal Sorcerer deals 1 damage to target creature or player") rather than the ability doing anything directly. In these cases, any activated or triggered ability that references information about the source because the effect needs to be divided checks that information when the ability is put onto the stack. Otherwise, it will check that information when it resolves. In both instances, if the source is no longer in the zone it's expected to be in at that time, its last known information is used. The source can still perform the action even though it no longer exists.
A common analogy is that of a soldier throwing a grenade at you. Shooting the soldier after he has thrown the grenade won't prevent the grenade from killing you
The only way you can stop it is either counter the ability (Stifle) or prevent it from fulfill other restrictions like destroying mountains for Valakut, the molten pinnacle's land limit.
Credit: _URL_
share|improve this answer
Your Answer


Nate Nate - 8 months ago 80
SQL Question
Error when inserting row into MySQL database from Python
I'm trying to update an empty mySQL database using Python.
This is the error I receive:
pymysql.err.InternalError: (1416, 'Cannot get geometry object from data you send to the GEOMETRY field')
Here's the problematic code:
with connection.cursor() as cursor:
# Create a new record
sql = "INSERT INTO 'projects' ('name', 'country', 'activation_date', 'active') VALUES (%s, %s, %s, %s)"
cursor.execute(sql, ('Nate', 'USA', '2016-06-23 09:11:32', '1'))
Here is what the table looks like in the database (it's empty):
enter image description here
enter image description here
It looks like you're using the MySQL type linestring to represent a string, while in MySQL the correct type to represent a string of characters would be text or varchar(). linestring is a representation of a geometric line, as you can see here:
To fix this, simply change the column types of name and country to varchar() or text. See: