text:
Sometimes you need to connect the remote computer with different
credentials (Tree -> Connect with different credentials).
Such situation can occur when your account doesn't have enough
permissions to access a remote log. However when you try to connect
with different credentials, you may get credential conflict
Multiple connection to a sever or a shared resource by the
same user, using more then one user name, are not allowed.
This error message appears in the Connect Error dialog, if connection is failed
due to credentials conflict.
There are 3 ways to resolve this issue:
1. Disconnect previous connections to the server.
You can do it in the Connect
Sometimes this method doesn't work properly, e.g. when another
local process reestablish connection to the server, and sometimes
this method is not allowed because you may need the previous
2. Connect the remote server using IP address, instead of the
Just add a new computer to the tree, specifying it's IP address.
E.g. if the remote server's IP address is 192.168.1.1, you can add
it as \\192.168.1.1 or even 192.168.1.1
3. Run Event Log Explorer using different (required)
In Windows XP you can just click right mouse button on the Event
Log Explorer shortcut and select. Then specify user name and password in the Run As dialog and press OK.
See also: Credential Manager
© 2005-2015 FSPro Labs. All rights reserved.


An obstetrician wants to learn whether the amount of prenatal care and the wantedness of the pregnancy are associated. He randomly selects 939 women who had recently given birth and asks them to disclose whether their pregnancy was intended, unintended or mistimed. In addition they were to disclose when they started receiving prenatal care. If ever. The results of the survey are as follows
Wantedness of pregnancy Less than 3 months 3 to 5 months More than 5 months
intended 593 26 33
unintended 64 8 11
mistimed 169 19 16
a. compute the expected values of each cell under the assumption of independence
b. verify that the requirements for performing a chi square test of independence are satisfied.
c. Compute the chi square test statistic
d. Test whether prenatal care and the wantedness of pregnancy are independed at the α=0.05 level of significance
© SolutionLibrary Inc. 9836dcf9d7


text:
The present post is a follow-up to this one, which discussed grammatical similarities between the word poor and adjectival swearwords. Given the subject matter, this post will use (or, rather, mention) offensive language rather copiously. If you don't like that, don't read it.
In my earlier post, I mentioned that adjectives like poor and fucking are subject to unusual grammatical restraints — but only when a particular sense of the word is intended. To recap, consider these examples.
- The genius is fucking.
- Never interrupt a genius who is fucking.
- The man's a fucking genius.
- That fucking genius thinks he's so much better than us.
Sentences (1) and (2) use the literal meaning of "engaging in sexual intercourse." In sentence (3), the word is not used literally, but neither is it being used to curse someone; it does not imply scorn or hatred but merely serves to underscore the word genius. Only in sentence (4) is the word used to communicate the speaker's emotional attitude towards the genius in question; this is what I'm going to call the attitudinal sense of the word.
The situation is similar with poor.
- The gardener is poor.
- This fertilizer is beyond the means of a gardener who is poor.
- He's a poor gardener.
- The poor gardener had to pick all the dandelions out of the lawn by hand.
In sentences (5) and (6), poor can only mean "impoverished." In (7) it could mean either "impoverished" or "lacking in ability." In (8), it could have either of those meanings, but it would more likely be interpreted in a third, attitudinal sense — as an expression of the speaker's pity or sympathy for the gardener.
When an adjective is used in the attitudinal sense, it does not predicate anything at all of the referent of the noun which it is modifying. That is why that annoying cat is not synonymous with that confounded cat. The former is predicating something of the cat — namely, that it causes feelings of annoyance. The truth-value of that predication may be a matter of subjective opinion, but the phrase is still meant to say something about the cat itself. In contrast, that confounded cat says nothing about the cat itself but merely serves to express the speaker's attitude toward it. For a similar reason, the pitiable boy is no substitute for the poor boy. Pitiable makes a statement about the boy — that he deserves, or at least tends to elicit, pity — but poor is simply an expression of the speaker's own feeling of pity.
In addition to poor and various execratory terms, there are several other candidates for the category of attitudinal adjectives (or adjectives which can be used in an attitudinal sense).
One of these — actually a phrase rather than a single adjective is good old. Consider these examples.
- *John is good old.
- John is good and old.
- John is a good old person.
- You can always count on good old John.
- Good old John!
The pattern is familiar from our previous discussion of poor and fucking. Sentence (9) is ill-formed because only attributive adjectives (those used before the noun, rather than in the predicate) can be strung together without a conjunction. It's nearest well-formed equivalent, (9) can only mean that John is an elderly gentleman of high moral caliber — which is predicating something of John and is thus not attitudinal. The sense of (11) depends on which word is stressed. If you stress old, it means the same as (10) — or it could mean that John is in some sense "good at being old"; perhaps old age becomes him, or perhaps he is an actor who is good at playing elderly characters. If instead the word person is stressed, good old can be interpreted in the attitudinal sense — but the attitude conveyed is an attitude towards people in general, not John in particular. Here's an example of a (rather contrived) context in which that reading might make sense:
"I spent all morning observing the chimp colony. Harry and Bonzo were squabbling all morning, with Joey joining in from time to time. I was going crazy trying to catch everything they were doing and write it down. Then finally John showed up and they all quieted down."
"Who's John? The alpha?"
"No, no, he's not a chimp. John is a good old person, one of the other researchers. Boy was I ever glad to have another human being to talk to for a change!"
Sentences (12) and (13) would both be interpreted in the attitudinal sense — conveying the speaker's attitude towards John rather than predicating anything of John himself.
Note that for the good old in (11) to be interpreted attitudinally, we must construct a context in which it could be used in passing. If we take it for granted that John is person, then the main point of (11) is to say that John is good and old. If we imagine a context in which one might assume that John is a chimpanzee, then the main point of the sentence is to say that John is a person; good old is then used in passing and can be interpreted attitudinally.
Adjectival curse words generally have three possible senses: the literal, the emphatic, and the attitudinal. However, not all curse words have all three senses.
Curse words which are noun-participle compounds, such as goddamn(ed) and motherfucking, have no literal sense. That seems like a strange thing to say, since anyone can tell you that goddamned literally means "condemned to hell by God" and that the literal meaning of motherfucking is "having sexual relations with one's mother." However, if you try to use either word literally in a sentence, you'll find that it can't be done. Even in a sentence like Oedipus was the motherfucking king of Thebes, the curse word will be understood in its emphatic sense (the alleged literal sense will also be salient, of course, but only as a sort of pun). Likewise, Let's burn that goddamned heretic carries the attitudinal sense and is not interchangeable with Let's burn that heretic who has been condemned to hell by God. The same is also true of cotton-picking, in my judgment; it would be hard (but perhaps not impossible?) to interpret a sentence like Look at all those cotton-picking migrant workers as a non-attitudinal description of the agricultural task in which the workers in question are engaged.
Curse words which (as I have heard them used) have no emphatic sense include confounded and blasted. When these words are used non-literally, they always carry an attitudinal meaning; they cannot be used for mere emphasis. You can say I'm a goddamn American Jedi, but you can't really say I'm a confounded American Jedi.
Most other adjectival curse words, though, have both an emphatic and an attitudinal sense — and the distinction seems to be based on the same "used in passing" criterion I identified for the attitudinal sense of poor.
- Now this is a motherfucking plane!
- I have had it with these motherfucking snakes on this motherfucking plane!
Sentence (14) is clearly emphatic in meaning; it serves to emphasize the word plane and has no execratory meaning. Sentence (15) uses the word twice in its attitudinal sense, expressing exasperation with the snakes and the plane, and does so in the familiar "in passing" manner.
No sentence with the same grammar as (14), but using poor in place of motherfucking, could be interpreted in the attitudinal sense, which supports the distinction between emphatic curse words and truly attitudinal ones.

source: openbmb/Ultra-FineWeb


text:
Telangana to regulate crops; to tell farmers what to grow and how much
No Rythu Bandhu to farmers that violate State's mandate
Perhaps for the first time in the country, the Telangana government is going to tell farmers what crops they should grow and in what extent.
The idea, according to Chief Minister K Chandrashekar Rao, is to make the farmers to produce what the market wants.
Beginning this 'Vanakalam' (Kharif) season, the State will regulate the cropping pattern in the State. According to initial plans, farmers will be asked to grow paddy on 50 lakh acres (including the Telangana Sona variety on 10 lakh acres of land), cotton on 50 lakh acres and red gram on 10 lakh acres.
Farm lands nearer to urban areas will grow vegetables and horticultural crops to tap the demand. What kind of vegetables and fruits to grow and in what extent too, will be assessed and announced by the government.
A detailed cropping map will soon be released and seeds will be sold accordingly.
Asking the farmers to strictly adhere to the cropping pattern, Chief Minister K Chandrashekar Rao has said that government sops such as 'Rythu Bandhu' (₹5,000 each for farmers in both the seasons for every acre they own) will be stopped to the farmers who don't conform to the cropping plan.
"They don't buy whatever you produce. One should cultivate crops which sell well," he advised the farmers.
There should be a qualitative change in the thinking of farmers. They should change the current practices that are not giving them good returns.
As the State has decided to regulate agriculture, it will set up a Seed Regulatory Authority to regulate sales and production of seeds to conform to the crop mandate to be given by the government.
The government will bring in necessary amendments to the Seed Act.
In order to convey the government plan and take their feedback, the Chief Minister will hold a meeting (video conference) with all the stakeholders, including field level agricultural officials on May 15.
Revamp of Agri Dept
As the government is attempting to go beyond advisory and extension roles, it will revamp the Department of Agriculture to take up additional responsibilities. It has asked the Prof. Jayashankar Telangana State Agricultural University (PJTSAU) to undertake focused research on the mandate crops.
Source : thehindubusinessline

source: m-a-p/FineFineWeb


text:
Corsican construction tycoon Patrick Rocca was fined 150,000 euros on Tuesday for harming protected turtles on a construction site even after authorities told him to stop.
Six dead specimens of the species known as Hermann's tortoise and another "mortally wounded" animal were found when officers from France's biodiversity agency inspected the site in December 2019.
About 3.5 hectares of the habitat just outside the capital of the Mediterranean island of Ajaccio was disturbed and 2.8 hectares were destroyed, investigators found, calling for a halt to work.
But Roca's company Fortimo — one of the largest employers on the French Mediterranean island, with about 1,000 local workers — continued construction, and days later more dead turtles were found.
His conviction for mutilation and unauthorized destruction of protected animal species and their habitat follows a court ruling against Fortimo, who had to pay a fine of 500,000 euros ($540,000) and a total of 530,000 euros in damages.
Rocca's lawyer Philip Gatti called the sentences "excessive."
Corsica is one of the last places where Hermann's tortoises — the only species native to France — still live in the wild.
They are protected by France and the European Union, as well as internationally.


Tutorial: Django Forms with AngularJS
Django offers an excellent Form framework which is responsible for rendering and validating HTML forms. Since Django's design philosophy is to be independent of the styling and JavaScript, this Form framework requires some adoption in order to play well with AngularJS and optionally Bootstrap.
An alternative technique is to add crispy-forms to your project and enrich the Django Forms with a helper class. Unfortunately, crispy-form does not work very well with django-angular. In order to add the same functionality in a "DRY" manner, a special Mixin class can be added to your forms, rather than having to work with helper-classes.
Basic Form Submission
Lets start with a very basic example, a functioning demo is available here: _URL_
Say, we have a simple but rather long Form definition, to subscribe a person wanting to visit us:
Since we want to render this form in a DRY manner, our favorite template syntax is something such as:
 {% csrf_token %}
 {{ form }}
In this example, the whole form is rendered in one pass including all HTML elements, such as , , and . Additionally, bound forms are rendered with their preset values and a list of errors, if the previous Form validation did not succeed.
The Django Form framework comes with three different rendering methods: as_p(), as_ul() and as_table() (the default). Unfortunately, these three rendering methods are not suitable for nowadays needs, such as Bootstrap styling and Ajax based Form validation.
In order to be more flexible without having to abandon the "DRY" principle, the above SubscriptionForm has been enriched by the Mixin class Bootstrap3FormMixin. This class adds an additional method as_div(), which is responsible for rendering the Form suitable for Bootstrap styling.
Additionally, this Mixin class wraps the list of validation errors occurred during the last Form validation into the AngularJS directive ng-show, so that error messages disappear after the user starts typing, and thus puts the Form into a "dirty", or in other words "non-pristine", state.
You can test this yourself, by leaving out some fields or entering invalid values and submitting the Form.
Bound Form in AngularJS
AngularJS does not take into account the concept of bound Forms. Therefore, input fields rendered with preset values, are displayed as empty fields. To circumvent this, the django-angular Form directive re-enables the rendering of the bound field values.
Dynamically Hiding Form Fields for Bootstrap
A common use case is to hide a form field based on the value of another. For example, to hide the phone field if the user selects Female within SubscriptionForm, overwrite field_css_classes on SubscriptionForm:
field_css_classes = {
 '*': 'form-group has-feedback',
 'phone': "ng-class:{'ng-hide':sex==='f'}",
field_css_classes adds css classes to the wrapper div surrounding individual fields in bootstrap. In the above example, '*' adds the classes form-group has-feedback to all fields within the form and 'ng-class:{"ng-hide":sex==="f"}' is added only to the phone field. Only Angular directives that can be used as CSS classes are allowed within field_css_classes. Additionally, if specified as a string, the string may not contain any spaces or double quotes. However, if specified as a list, spaces can be used, and the above example can be rewritten as:
field_css_classes = {
 'phone': ["ng-class: {'ng-hide': sex==='f'};"],
By adding the keyword '__default__' to this list, the CSS classes for the default entry, ie. '*', are merged with the CSS classes for the current field.
Adding an asterisk for required fields
An asterisk is often added after labels on required fields (like with django-crispy-forms for example). This can be accomplished by using native Django and CSS. To do this, set the required_css_class attribute on SubscriptionForm (see Django documentation).
required_css_class = 'djng-field-required'
Next, add the CSS:
label.djng-field-required::after {
 content: "\00a0*";
Client-side Form validation
To enable client-side Form validation, simply add the mixin class NgFormValidationMixin to the SubscriptionForm class:
class SubscriptionForm(NgFormValidationMixin, Bootstrap3FormMixin, forms.Form):
 # form fields as usual
Here the rendered Form contains all the AngularJS directives as required for client side Form validation. If an entered value does not match the criteria as defined by the definition of SubscriptionForm, AngularJS will notify the user immediately


AYUDH has started another mission called ASWAS (Ayudians Spreading Warmth and Smiles) which is a winter cloth collection drive for our villagers in north India. No need to say the pathetic condition of our rural villages during this winter season. Due to inadequacy of proper clothing hundreds lose their lives in every winter season. You might have seen news about this on our print media as well.
As we have adopted around 35 villages in northern side of India, ASWAS is a small act of kindness to help those people there providing proper winter clothing in this season.
Awaken Youth; Unite for Dharma (AYUDH), the international youth movement of Mata Amritanandamayi Math is constantly engaged in social activities to reach out to the poor and needy. AYUDH team is coming up with one called ASWAS (Ayudhians Spreading Warmth And Smiles). ASWAS campaign is aimed at creating awareness among the public and to encourage them to contribute towards helping poor North Indian villagers by donating winter clothes (sweaters, woollen shawls, mufflers, socks etc).
What type of clothes can be donated?
Clothes donated should be woollen clothes like Sweaters, Jackets, Shawls, Mufflers, Socks, Caps (monkey caps), Pullovers, etc. Newly bought clothes are preferred; if not, less / sparingly used winter clothes in good condition could be included.


text:
Basel Evangelical Mission Parsi (BEMP) School is arguably as old as the history of modern education in this town, which was once an important trading centre of the East India Company and the British administrative headquarters of the erstwhile Malabar. The school has undergone vast changes since it was started a century-and-a-half ago with just 74 students.
The school is celebrating its 150th anniversary with various functions. The celebration formally began here on Monday though it was on March 1, 1856, that the school was started as Basel German Mission School. It was later re-christened BEMP School as a mark of respect to Kaikose Ruderasha, a Parsi philanthropist who generously donated funds for the development of the school. The school, managed by the North Kerala Diocese of the Church of South India, was upgraded to a high school by Rev. C. Mueller who came here to assist German missionary Hermann Gundert.
The present building of the school, located in the centre of the town, was built in 1903. The spacious hall of the building, roof made of huge wooden beams, and old-style roof tiles add to its heritage value.
Those who taught at the school included Dr. Gundert, who compiled the first Malayalam dictionary, and Keeleri Kunhikannan, who served as gymnastic instructor at the school and was considered the father of the Indian circus.


text:
given above.
- All part overs are truncated (i.e. ignore the decimal points to the next lowest whole over). See the following example:
The team batting first scored 149. "Target Score" is therefore 150 runs for the team batting second (149 plus 1 run).
- To score 5 points, the team batting second must pass the 1st innings score within 26 completed overs. (Calculation = 150 / 5.60 = 26.785, truncated to26 overs).
- 4 points = Must reach the Target of 150 within 30 completed overs (150 /5.00 = 30.000000. Truncated to 30).
- 3 points = Must reach the Target of 150 within 34 completed overs (150 /4.40 = 34.090909. Truncated to 34) etc.
- If the side batting second reaches 150 in 30 completed overs, they would score 4 points. If they reach 150 in 30 overs & 1 ball, they would score 3.
- If chasing a very small target, it may occur that, after truncating overs, the same target over applies for different points. In this case, the team that reaches the target in this time shall receive the highest applicable points.
-The points are not cumulative ie the side only scores the maximum attributable points.
Note: Captains of both sides should calculate the number of points earned by each team & include them on the score sheet submitted to the HKCA after each game. These will be verified by the HKCA by checking the information on the scoresheet. The HKCA determination will be final. Therefore, it is important to clearly indicate on the score sheet which over the team batting second scored the target runs, if they won the game. This should be done in the 'remarks' section of the form as follows: "Team (e.g. LSW), batting second, scored the target of (e.g. 150) runs in (e.g. 26 overs); equals (e.g. 5) batting bonus points."
Bowling Bonus Points
10. Bowling Bonus Points are awarded to both sides as follows:
One point each for 2,4, 6 and 8 wickets plus one point for "All Out". (maximum 5 points)
Reduced Overs Matches
11. Should the start of the match be unavoidably delayed due to ground, weather and/or light conditions or other reason, the umpires shall reduce the total number of overs to be bowled by two overs for every six minutes lost (i.e. one over per innings). In the event that a 50-over match is so reduced, the number of overs allowed per bowler and the fielding restrictions shall be reduced as follows:-
12. A fielding circle shall be drawn or otherwise marked with disks by the home side in each game. The circle shall be 27.5m (30 yards) metres in radius measured from the base of both centre stumps. Fielding restrictions AT THE MOMENT OF DELIVERY are as follows:
a) a minimum of four fielders, in addition to the bowler and wicket keeper, must remain within the 27.5m circle throughout the game;
b)for the first 15 overs, there must be no more than two fielders outside the 27.5m circle; and
c)for the first 15 overs there must be a minimum of two stationary (catching) fielders within a 13.72m (15 yards) circle from the striker's wicket.
Note: At the umpire's discretion when a fast bowler is bowling, the 13.72m rule for catching fielders may be relaxed for orthodox slip, gully and leg-slip positions.
13. The umpire at the striker's end shall monitor the position of the fielders and should any of the above conditions not be observed, either umpire shall call and signal No ball.
14. A tie occurs when the scores are level at the conclusion of the game.
15. A WALKOVER shall be awarded to a team whose opposition is unable to raise aside. A side shall comprise no less than seven players.
16. At the conclusion of the season, if the top teams have the same number of points, the following will be the order of precedence for deciding the League Champions:
i. Team with most outright wins.
ii. Team with fewest lost matches.
iii. Team with most bonus points.
17. Should all the above be identical, a play-off match will be arranged. If this is not possible the Championship will be shared.
Sunday league Rules will apply unless specified otherwise.
Entrants and Eligibility
1. a) The top 8 teams from the Sunday League are eligible to enter the Sunday Cup competition. The LCMC may invite other, non-league teams to enter.
b) Teams must submit their player squads in writing to the HKCA before the draw is made for the first round. No transfers or additions will be allowed thereafter without the prior approval of the MDC.
c) All players must have played at least two HKCA matches during the current season.
2. The draw for each round of the Cup will be made by the LCMC Chairman (or his representative) and a minimum of three HKCA members appointed by him. Teams will not be seeded before the draw and its date, time and venue published in advance.
3. All matches except the final will be played on the home ground of the first drawn team, whenever possible.
4. The Sunday Cup will be held on a simple knockout basis. Playing conditions for the Cup will be the same as for the League except that:
a) Intervals will be limited to one, 10-minute drinks break after 25 overs in each innings with a 30-minute lunch break taken between innings.
b) No bowler may bowl more than 10 overs per innings.
c) Matches abandoned as no result will be re-scheduled, if possible. If not, the result may be decided by the toss of a coin.
d) Any expenses incurred during the game are to be shared equally between the teams.
5. a) The team scoring the higher number of runs in the allocated number of overs shall win.
b) In the event of tied scores, the team losing fewer wickets will win.
c) If both teams have scored the same number of runs and have lost the same number of wickets, the winner will be the team with the superior run rate (total runs scored divided by the total number of balls bowled). If still equal, the superior run rate after 20 overs (and, if necessary, 10 overs) will decide the winner.
All HKCA members, players and officials agree to take positive steps to maintain the high reputation of cricket and of the Hong Kong Cricket Association. Players must approach the game with a determined, winning attitude, i.e. play hard but maintain control.
1. Everyone on the field shall ensure that the match is conducted within the Laws of Cricket and the Spirit of the Game.
2. No player shall fail to comply with the instructions of an umpire, criticise his decision by word or action, show dissent or generally behave in a manner, on or off the field, which may cause embarrassment to an umpire or to the HKCA.
3. Every player selected to represent Hong Kong or the HKCA shall follow the instructions of the Team Manager and Coach and, while at a tournament, the directions of the tournament controller.
4. If a player is in serious breach of this Code or is deemed to have indulged in alcohol or drug abuse, he may be suspended and/or expelled from the tournament by the Team Manager (if overseas) or MDC.
5. Any player guilty of unacceptable behaviour is to be reported to the Match & Disciplinary Committee.
6. Examples of unacceptable behaviour:
ANY BREACH OF THIS CODE IS LIABLE TO ACTION BY THE MATCH & DISCIPLINARY COMMITTEE AND MAY RESULT IN SUSPENSION OR TERMINATION OF HKCA MEMBERSHIP


MATLAB Answers
How to plot a heat map with three vectors?
43 views (last 30 days)
Rita
Rita on 30 May 2018
Commented: Rita on 1 Jun 2018
I have 3 vectors of hour of day , day of a year and temperature data . The temperature data measured 4 times a day. and for 365 days. I would like to plot a heat map like this
 0 Comments
Sign in to comment.
Accepted Answer
Akbar
Akbar on 1 Jun 2018
Edited: Akbar on 1 Jun 2018
I have made some modifications. The heatmap below Shows highest temp. each hour of a month, for two years.
% creating table (i hope you are using new Version of matlab
% which has table function, otherwise try dataset)
t1 = datetime(2016,01,1,8,0,0);
t2 = datetime(2018,01,1,8,0,0);
t = t1:hours(1):t2;
myTable = table(t',year(t'),month(t'),day(t'),hour(t'));
myTable.Properties.VariableNames = {'date' 'year' 'month' 'day' 'hour'};
a = 0;
b = 40;
r = (b-a).*rand(17545,1) + a;
myTable.temp = r;
% Create categorical arrays from the month
% and hour columns of the table.
% Then determine the unique months and hours
% to use as labels along the x-axis and y-axis.
months = categorical(myTable.month);
hours = categorical(myTable.hour);
xlabels = categories(months);
ylabels = categories(hours);
%Determine the final size of the resulting
%color data based on the number of unique months and hours.
nummonths = numel(xlabels);
numhours = numel(ylabels);
%Convert the categorical months and hours arrays
%into numeric indices to use with the accumarray function.
%Compute the color data as the maximum temperature for each
%month and hour combination using the accumarray function.
%Use NaN for missing month and year combinations.
x = double(months);
y = double(hours);
temps = myTable.temp;
cdata = accumarray([y,x],temps,[numhours,nummonths],@max,NaN);
%Create the heatmap. Label the x-axis and y-axis with the
%months and years, respectively. Color the heatmap cells
%using the computed matrix data.
h = heatmap(xlabels,ylabels,cdata);
 1 Comment
Sign in to comment.
More Answers (1)
Ameer Hamza
Ameer Hamza on 30 May 2018
You can make such a graph using pcolor(). The actual procedure depends on the format your data is available. You might need to use findgroups() and splitapply first to separate your data and then use pcolor() to plot the graph.
 1 Comment
Rita
Rita on 30 May 2018
Thanks Ameer.I don't think pcolor can plot what I wanted. I would like to use "heatmap" and I also would like to show nans as well.
Sign in to comment.
Sign in to answer this question.


Author Country (or Countries)
The process of ﬁnding the optimal allocation of limited resources to a number of tasks for optimizing multiple objectives is called multi-objective resource allocation problem (MORAP). This paper presents K-means-clustering based on one of the evolutionary algorithm, genetic algorithm(GA), to solve MORAP. Using the K-means-clustering algorithm to divide the population to a speciﬁc number of sub-populations each of them with dynamic size. Therefore, different operators of GA (crossover&mutation) can be implemented to each subpopulation instead of applied the same GA operators to the all population. The aim of dynamic clustering is to preserve and introduce diversity into solutions, instead of the solutions becoming similar each other. Two problems taken from the literature are used to compare the performance of the proposed algorithm with the competing algorithms. Moreover, an example of optimum utilization of human resource in reclamation of derelict land in Toshka-Egypt is solved by our approach. The results of different test problems have showed the superiority of our algorithm to solve MORAP.
Suggested Reviewers
Digital Object Identifier (DOI)


Video shows giant hailstones pelting Germany
You really wouldn't want to be outside in this. Image Credit: Twitter / _USER_
The Munich region of Germany was hammered by hailstones the size of tennis balls earlier this week.
The huge chunks of ice, which measured up to six centimeters in diameter, pelted homes and gardens while torrential downpours flooded the streets, causing widespread disruption.
Several people, including a 7-year-old boy, were reportedly injured by the falling ice.
The below video, which is one of several uploaded on to social media of the extreme weather, shows the sheer mayhem wrought by the gargantuan hailstones as they rained down on a residential garden.
The spectacle of the ice hitting the pond in the middle of the frame is particularly intense.
"I've never experienced anything like it before," said local man Roberto De Angelis.
Chicago Skyscrapers Hit by Lightning
The Windy City is mighty pretty: Dazzling lightning illuminates the Chicago skyline and strikes four skyscrapers
Mother nature's power and beauty were on full display in Chicago Monday night when lightning lit up the city's skyline.
The electric bursts reportedly struck four of the city's tallest buildings in a rare occurrence of what's called 'upward lightning,' according to the Washington Post.
The phenomenon usually involves tall man-made structure, like skyscrapers, and follows the more common cloud-to-ground lightning strikes.
Upward strikes typically occur after positive charges from a cloud to ground strike leave an imbalance of positive energy on a building or tower, which shoots a bolt into the sky to meet and balance out a mirroring negative charge.
All the buildings struck by lightning were reportedly taller than 1,000 feet
Extreme Cold Warning
That infamous Polar Vortex ia at it again. The weather phenomena is spewing super cold air down the spine of North America. And the central Canadian city of Winnipeg is dab smack in the middle of its path.
Steam rising from blaring furnaces and car exhausts everywhere.


text:
Sales and Use Tax Calculation feature
The result is that you can use the KampData TaxEngine to calculate tax outside of Microsoft Dynamics GP with no additional tax setup required.
Call the DocCalculateTax method to calculate or re-calculate the tax. When this method is called, tax detail records will be created in the Transaction Tax table. When an order is created outside of Dynamics and subsequently imported into Dynamics, Tax Detail records should be created in the appropriate Dynamics transaction tax table. For SOP this table is the Sales Taxes Work And History table. The following tax detail data can be retrieved from the Transaction Tax table or by using the KampData TaxEngine methods and properties such as the following:
- DetailTaxDetailID property
- DetailAccountIndex property
- DetailTaxedAmount property
- DetailTaxAmount property
The document tax details can be retrieved as an ArrayList using the DocTaxDetails method. Alternately you can step through the tax details one by one using DocTaxDetail method. The number of tax details available to step through can be retrieved using the DocTaxDetailsCount method.


text:
WASHINGTON: Scientists have rediscovered what they claim is the eighth wonder of the world -- Pink and White Terraces in New Zealand, which were buried in mud for a 100 years, losing some charm.
Until the late 19th century, the Pink and White Terraces along Lake Rotomahana on the North Island, attracted tourists from around the world, interested in seeing beautiful natural formations created by a large geothermal system.
But the eruption of Mt Tarawera on June 10, 1886, buried the terraces in sediment and caused the lake basin to enlarge, engulfing the land where the terraces stood. For more than a century, people have speculated whether any part of the Pink and White Terraces survived the eruption.
Now, an international team has located portions of the long-lost Pink and White Terraces, using autonomous underwater vehicles (AUVs) to map the bottom of Lake Rotomahana.
Team leader Cornel de Ronde of GNS Science in New Zealand said the scientists were elated by the rediscovery.
"The first sidescan sonar image gave a hint of a terraced structure so we scanned the area twice more and we are now 95 per cent certain we are seeing the bottom two tiers of the Pink Terraces," de Ronde said.
Side-scan sonar and bathymetric data collected by two REMUS 100 AUVs clearly show crescent-shaped terraced structures in about 60 meters of water where the Pink Terraces were located prior to 1886; they are covered by a brownish lake sediment, say the scientists.
After detecting areas of interest with the AUV's sonar systems, the team used the underwater camera system to capture images of the lake floor where they were able to photograph some of the stepped terrace edges.

source: HuggingFaceFW/fineweb-edu


text:
Published in TB and Outbreaks Week, February 8th, 2005
"The protistan parasite Perkinsus marinus is a severe pathogen of the oyster Crassostrea virginica along the east coast of the United States. Very few data have been collected, however, on the abundance of the parasite in environmental waters, limiting our understanding of P. marinus transmission dynamics," scientists in the United States report.
"Real-time PCR assays with SybrGreen I as a label for detection were developed in this study for quantification of P. marinus in environmental waters with P. marinus species-specific primers and...
Want to see the full article?
Welcome to NewsRx!
Learn more about a six-week, no-risk free trial of TB and Outbreaks Week


If you've been reading the EF Design Blog you will have seen that we recently announced something called "FK Associations" for the EF in.NET 4.0.
However in.NET 3.5 SP1, we only support Independent Associations. What that means is that the FK Columns aren't available as Properties in the entity. Which in turn means you are forced to build relationships via References to other Entities.
For example, unlike LINQ to SQL, this is not possible in the EF:
product.CategoryID = 2;
Because there is no "CategoryID" property in product entity.
You have to do something like this instead:
product.Category = ctx.Categories.First(c => c.ID == 2);
I.e. you need to use the Category reference. Which means you have to have a Category in memory, or do a query to get one like the example above.
The problem is that not having a property for the CategoryID that you can set directly can be a big pain, and that is why we've added "FK Associations" and "FK Properties" in.NET 4.0.
All well and good, but as Julie Lerman has a habit of reminding me, what about everyone who is using.NET 3.5 SP1 today? Our new features don't really help today.
How can you set the CategoryID if it doesn't actually exist?
Trick question. You can't of course.
But you can achieve the same effect, with code like this:
 = new EntityKey("MyContainer.Categories", "ID", 2);
Looks a little complicated doesn't it, so let's break it down:
 1. For each reference "xxx" (like Category) the entity framework also generates an "xxxReference" property that returns an EntityReference. (EntityReference is used heavily by the EF to provide all the plumbing and services required for things like maintaining relationship consistency, and doing Entity lookups based on EntityKeys)
 2. One of the properties of the EntityReference is an EntityKey. We need to set the EntityKey to a new EntityKey if we wish to change the value of the Foreign Key.
 3. In order to create a new EntityKey we need to know 3 things.
 1. The value we want to set the "Foreign Key" to. To be consistent with the earlier code snippets that is 2.
 2. The fully qualified name of the EntitySet that the target Entity belongs to. In this case our target is a Category and we get Categories from the "MyContainer.Categories" set.
 3. The name of the Primary Key Property in the target entity. In this case the primary key of Category is the "ID" property.
Now obviously this is not the sort of code you want to write everywhere you need it. So lets hide this away. So...
How can you use this code to fake a Foreign Key property?
Luckily the Entity Framework generates partial classes for Entities, so you can simply put this logic in your own Product partial class like this:
public int CategoryID {
 get {
if (this.CategoryReference.EntityKey == null) return 0;
else return (int) this.CategoryReference
 set {
 = new EntityKey("MyContainer.Categories", "ID", value);
Notice that we use the CategoryReference in the getter too. This means that our CategoryID property is simply a view over the CategoryReference, which means that if the EF makes any changes under the hood we don't need to be notified.
With this in place you can write what we wanted all along:
product.CategoryID = 2;
And that can be extremely useful in lots of scenarios, for example MVC controllers and data-binding.
Extra Credit
This solution is essentially just a workaround that hides some of the limitations of independent associations, and like all workarounds it has limitations. The key then is to make an informed tradeoff between the benefits and the drawbacks. So here are some of the key drawbacks:
 1. Properties in the partial class are not recognized by the Entity Framework, so you can't use them in your LINQ queries.
 2. By referencing the fully qualified EntitySet name in our setter, we have coupled your Entity Class directly to the EntitySet. Now for most people this is not a problem, but it won't work if you try to re-use your entity classes between contexts or if you use MEST.
 3. There are probably more... I'll add them as I think of them!


text:
Seasonal safeguarding reminder for Door Supervisors
Christmas is coming, and pubs and clubs will soon be full of Christmas get-togethers, office parties, and people celebrating the arrival of the holidays. It is also a time when some people can find themselves in a dangerous situation, either inside a venue or out on the streets, and in need of extra protection.
Door supervisors can make a big difference to the outcome of a night out by intervening to assist a vulnerable person in trouble and helping them to make it home safe.
We want to reinforce some of the key messages from our SIA-mandated door supervisor training and emphasise the importance of safeguarding vulnerable people in the night-time economy.
How can a door supervisor help to keep vulnerable people safe?
Recognise the risks to vulnerable people being ejected from, or refused entry to a venue, the risks include:
Being under the influence of drink or drugs
Receiving unwanted attention
Being too young to look after themselves
Becoming the target of a sexual predator
What actions can be taken by a door supervisor to protect vulnerable people?
Call a friend or relative to assist them
Call a licensed taxi to take them home
Use a 'safe haven'
Ask street pastors or street marshals to assist
Call the police
Can you recognise behaviours that could indicate potential sexual predators? These often include:
A lone male seen pestering a customer or member of staff
A heavily intoxicated female leaving with a male
A regular attendee frequently leaving with different intoxicated females
Finding a date-rape type drug on a person during a search


text:
Floating pontoons of different shapes are used commonly as the base of floating offshore wind turbines, and as wave breakers to mitigate severity of incoming waves. The pontoons are typically attached to catenary mooring lines and often operate in areas subject to large environmental loads, including waves, current and wind. It is of interest to analyse the wave-current interaction with pontoons of various shapes, and assess the effect of the shape of the body, wave-current direction, and the mooring lines on the loads and responses. In this study, attention is con-fined to wave-current interaction with floating objects with square and circular waterplane areas. A range of wave conditions is considered and the solution is obtained by the Green-function method for small forward speeds within the context of the linear wave diffraction theory. Results include the wave-current-induced forces, and the motion of the body. Both conditions of freely floating and objects attached to catenary mooring lines are considered, subject to various wave-current directions. Computations are carried out in frequency domain and results of the two models are compared with each other. Discussion is provided on the effect of the mooring lines and the wave-current direction on the responses of the objects.
|Title of host publication||Proceedings of the ASME 2023 42th International Conference on Ocean, Offshore and Arctic Engineering|
|Publisher||American Society of Mechanical Engineers (ASME)|
|Number of pages||9|
|Publication status||Published - 11 Jun 2023|
|Event||42nd International Conference on Ocean, Offshore and Arctic Engineering - Melbourne Convention and Exhibition Centre, Melbourne , Australia|
Duration: 11 Jun 2023 → 16 Jun 2023
Conference number: 42
|Conference||42nd International Conference on Ocean, Offshore and Arctic Engineering|
|Period||11/06/23 → 16/06/23|
- Floating offshore structure
- Wave-current-structure interaction
- small forward speed Green function
- linear wave diffraction theory.


Docker virtualenv support
Python and Docker relationship
Docker can be expanded or managed by a few additional Python-based tools. The company behind Docker provides a docker-compose Python script which can be used to manage multiple Docker containers at a time. Ansible provides a few Docker-related modules as well. Therefore a correctly configured Python environment is very useful on a Docker host.
The debops.docker_server Ansible role maintains a separate Python virtualenv environment just for Docker-related Python packages. This is done so that Python modules used by upstream Docker, don't affect the host Python environment. The Docker virtualenv environment is by default located in the /usr/local/lib/docker/virtualenv/ directory but it can be changed if needed.
The docker-compose script will be symlinked in the host environment, in /usr/local/bin/docker-compose, so that the command can be used from the host's shell.
The Python interpreter located in the Docker virtualenv environment will be exposed in the host environment as /usr/local/bin/docker-python. That way you can use it in the Python scripts executed in the host environment. To use the Docker Python interpreter in a script, define it's shebang line as:
#!/usr/bin/env docker-python
Ansible modules and Docker virtualenv
The default host does not have any Docker-related Python modules available, therefore Ansible modules that interact with Docker, like docker, docker_container, docker_image, etc. will not work out of the box in normal Ansible playbooks and roles. To solve that, you can use the ansible_python_interpreter variable defined at the playbook level. Playbook variables cannot be templated by Jinja, therefore a static value must be used, and relates to the docker-python command exposed earlier.
Here's an example playbook that uses a Python interpreter from the Docker virtualenv environment:
- name: Set up a Redis Docker container
 collections: [ 'debops.debops' ]
 hosts: 'docker-host'
 become: True
 environment: '{{ inventory__environment | d({})
 | combine(inventory__group_environment | d({}))
 # Use Python from Docker virtualenv
 ansible_python_interpreter: '/usr/bin/env docker-python'
 - name: Manage redis container
 name: 'local-redis'
 image:'redis'
 published_ports: [ '' ]
 restart_policy: 'always'
 state:'started'
Keep in mind that more extensive playbooks that use Ansible roles or modules other than the Docker-related ones might need to be executed in their own separate plays, to use the host Python interpreter instead of the one maintained in the Docker virtualenv environment. Alternatively, you need to ensure that the Docker virtualenv environment contains all needed Python modules.
How to access the Docker virtualenv
To enter the Docker virtualenv environment on a host, execute the commands on the root account:
cd /usr/local/lib/docker/virtualenv
source bin/activate
After that you can execute usual pip commands to manage Python packages inside the environment.


text:
Why the other sovereigns (Jean I and Joséphine-Charlotte of Luxembourg) don't use to sign their names with "R", "GD" or "P"?
I also know HM Queen Elizabeth II of Great-Britain used to sogn "Elizabeth R".
"R" stands for the latin word Rex(king) or Regina(queen). FOr example, in Latin, The queen of England's name is Elizabetha Regina Secunda. Using the latin has come down from early times and now is just shortened with the "R". (btw: Charles will be Carolinus Rex Tertio, if he chooses the name Charles). As far as the other heads of state, I guess that using the latin form just isn't a practice that has evolved over the years, and sometimes there is not that good of a latin translation for "archduke", etc. I'm sure that it depends on the tradition of each country.
Mandatory Credit: Photo By PAUL BROWN / REX FEATURES SIGNATURE OF QUEEN SILVIA IN THE MEMORIAL BOOK SERVICE OF THANKS GIVING CELEBRATING 350 YEARS OF PEACE AND FRIENDSHIP BETWEEN THE UNITED KINGDOM AND SWEDEN AT THE SWEDISH CHURCH, LONDON, BRITAIN - 28 APR 2004 EXCLUSIVE 451205/PAB


A Sapper's Lullaby
Introduced by Virginia Haussegger, ABC News presenter, Canberra.
But it's his second career as a musician that came to the fore in Uruzgan province, when he wrote a song about the death of Australian soldier Ben Ranaudo.
"Dust in Uruzgan" captured the hearts of many serving in Afghanistan and a second song, "Sapper's Lullaby" has become an anthem for soldiers and their families.
Now, with Australian forces about to depart Afghanistan, this is the story of a diplomat with a difference.
A Sapper's Lullaby - Transcript


species-0.3.2: Computational combinatorial species
The Species type class
class C s => Species s whereSource
Minimal complete definition: singleton, set, cycle, o, ><, @@, ofSize.
singleton :: sSource
The species X of singletons. Puts a singleton structure on an underlying label set of size 1, and no structures on any other underlying label sets. x is also provided as a synonym.
set :: sSource
The species E of sets. Puts a singleton structure on any underlying label set.
cycle :: sSource
The species C of cyclical orderings (cycles/rings).
linOrd :: sSource
The species L of linear orderings (lists). Since linear orderings are isomorphic to cyclic orderings with a hole, we may take linOrd = oneHole cycle as the default implementation; linOrd is included in the Species class so it can be special-cased for enumeration.
subset :: sSource
The species p of subsets is given by subset = set * set. subset is included in the Species class so it can be overridden when enumerating structures: by default the enumeration code would generate a pair of the subset and its complement, but normally when thinking about subsets we only want to see the elements in the subset. To explicitly enumerate subset/complement pairs, you can use set * set directly.
ksubset :: Integer -> sSource
Subsets of size exactly k, ksubset k = (set 'ofSizeExactly' k) * set. Included with a default definition in the Species class for the same reason as subset.
element :: sSource
Structures of the species e of elements are just elements of the underlying set, element = singleton * set. Included with a default definition in Species class for the same reason as subset and ksubset.
o :: s -> s -> sSource
Partitional composition. To form all (f 'o' g)-structures on the underlying label set U, first form all set partitions of U; for each partition p, put an f-structure on the classes of p, and a separate g-structure on the elements in each class.
(><) :: s -> s -> sSource
Cartisian product of two species. An (f >< g)-structure consists of an f-structure superimposed on a g-structure over the same underlying set.
(@@) :: s -> s -> sSource
Functor composition of two species. An (f @@ g)-structure consists of an f-structure on the set of all g-structures.
ofSizeExactly :: s -> Integer -> sSource
nonEmpty :: s -> sSource
rec :: ASTFunctor f => f -> sSource
'rec f' is the least fixpoint of (the interpretation of) the higher-order species constructor f.
omega :: sSource
Omega is the pseudo-species which only puts a structure on infinite label sets. Of course this is not really a species, but it is sometimes a convenient fiction to use Omega to stand in for recursive occurrences of a species.
Species CycleIndex
An interpretation of species expressions as cycle index series. For the definition of the CycleIndex type, see Math.Combinatorics.Species.Types.
Species GF
Species EGF
Species ESpeciesAST
Species SpeciesAST
Convenience methods
oneHole :: Species s => s -> sSource
A convenient synonym for differentiation. oneHole f-structures look like f-structures on a set formed by adjoining a distinguished "hole" element to the underlying set.
x :: Species s => sSource
A synonym for singleton.
It can be grammatically convenient to define plural versions of species as synonyms for the singular versions. For example, we can use set 'o' nonEmpty sets instead of set 'o' nonEmpty set.
Derived operations
Some derived operations on species.
pointed :: Species s => s -> sSource
Intuitively, the operation of pointing picks out a distinguished element from an underlying set. It is equivalent to the operator x d/dx: pointed s = singleton * differentiate s.
Derived species
octopus :: Species s => sSource
An octopus is a cyclic arrangement of lists, so called because the lists look like "tentacles" attached to the cyclic "body": octopus = cycle 'o' nonEmpty linOrds.
partition :: Species s => sSource
The species of set partitions is just the composition set 'o' nonEmpty sets.
permutation :: Species s => sSource
A permutation is a set of disjoint cycles: permutation = set 'o' cycles.
ballot :: Species s => sSource
The species of ballots consists of linear orderings of nonempty sets: ballot = linOrd 'o' nonEmpty sets.
simpleGraph :: Species s => sSource
Simple graphs (undirected, without loops). A simple graph is a subset of the set of all size-two subsets of the vertices: simpleGraph = subset @@ (ksubset 2).
directedGraph :: Species s => sSource
A directed graph (with loops) is a subset of all pairs drawn (with replacement) from the set of vertices: subset @@ (element >< element). It can also be thought of as the species of binary relations.


text:
250 years ago the city contained only "Altstadt" and the "Neustadt" of nowadays. From 1821 to 1848 the population of Bremen increased from 54,000 to 78,000 and more and more inhabitants settled at the outskirts. Since the building of the train station (1847), the expanding of the harbours in the northwest of the city (1888) and the industrialisation after the fall of the custom barriers the city area and the population increased extremly. Until 1905 261,000 people lived in Bremen. Unlike other cities Bremen did not build tenement houses but developed the typical "Bremer Haus". 1939 had 450,000 inhabitans. It was not until the bombs destroyed the old houses in the World War 2 that architects started to build apartment houses and skyscrapers (Osterholz-Tenever).
Additional information concerning Bremen:


If no location is given use the current stopping point.
Examples:
 tbreak
 tbreak 10 # set breakpoint on line 10
When a breakpoint is hit the event icon is x1.
See also break and help breakpoints.
Add or modify a condition on a breakpoint (condition)
condition bp-number Perl-expression
bp-number is a breakpoint number. perl-expresion is a Perl expression which must evaluate to true before the breakpoint is honored. If perl-expression is absent, any existing condition is removed; i.e., the breakpoint is made unconditional.
Examples:
 condition 5 x > 10 # Breakpoint 5 now has condition x > 10
 condition 5 # Remove above condition
See also "break", "enable" and "disable".
Delete some breakpoints (delete)
delete [bp-number [bp-number...]]
Delete some breakpoints.
Arguments are breakpoint numbers with spaces in between. To delete all breakpoints, give no arguments.
See also the clear command which clears breakpoints by line number and info break to get a list of breakpoint numbers.
Enable some breakpoints (enable)
enable num [num ...]
Enables breakpoints, watch expressions or actions given as a space separated list of numbers which may be prefaces with an 'a', 'b', or 'w'. The prefaces are interpreted as follows:
a -- action number
b -- breakpoint number
w -- watch expression number
If num is starts with a digit, num is taken to be a breakpoint number.
Disable some breakpoints (disable)
disable bp-number [bp-number ...]
Disables the breakpoints given as a space separated list of breakpoint numbers. See also info break to get a list of breakpoints
Set an action before a line is executed (action)
action position Perl-statement
Set an action to be done before the line is executed. If line is ., set an action on the line about to be executed. The sequence of steps taken by the debugger is:
1. check for a breakpoint at this line
2. print the line if necessary (tracing)
3. do any actions associated with that line
4. prompt user if at a breakpoint or in single-step
5. evaluate line
For example, this will print out the value of $foo every time line 53 is passed:
Stop when an expression changes value (watch)
watch Perl-expression
Stop very time Perl-expression changes from its prior value.
Examples:
 watch $a # enter debugger when the value of $a changes
 watch scalar(@ARGV)) # enter debugger if size of @ARGV changes.
Examining the call stack
The commands in this section show the call stack and let set a reference for the default call stack which other commands like list or break use as a position when one is not specified.
The most recent call stack entry is 0. Except for the relative motion commands up and down, you can refer to the oldest or top-level stack entry with -1 and negative numbers refer to the stack from the other end.
Beware that in contrast to debuggers in other programming languages, Perl really doesn't have an easy way for one to evaluate statements and expressions other than at the most recent call stack. There are ways to see lexical variables my and our, however localized variables which can hide global variables and other lexicals variables can be problematic.
backtrace [count]
Print a stack trace, with the most recent frame at the top. With a positive number, print at most many entries.
In the listing produced, an arrow indicates the 'current frame'. The current frame determines the context used for many debugger commands such as source-line listing or the edit command.
Examples:
 backtrace # Print a full stack trace
 backtrace 2 # Print only the top two entries
Select a call frame (frame)
frame [frame-number]
Change the current frame to frame frame-number if specified, or the most-recent frame, 0, if no frame number specified.
A negative number indicates the position from the other or least-recently-entered end. So frame -1 moves to the oldest frame.
Examples:
 frame # Set current frame at the current stopping point
 frame 0 # Same as above
 frame . # Same as above. 'current thread' is explicit.
 frame . 0 # Same as above.
 frame 1 # Move to frame 1. Same as: frame 0; up
 frame -1 # The least-recent frame
Move to a more recent frame (up)
up [count]
Move the current frame up in the stack trace (to an older frame). 0 is the most recent frame. If no count is given, move up 1.
Move to a less recent frame (down)
down [count]
Move the current frame down in the stack trace (to a newer frame). 0 is the most recent frame. If no count is given, move down 1.
Support facilities
Define an alias
alias alias command
Add alias alias for a debugger command command.
Add an alias when you want to use a command abbreviation for a command that would otherwise be ambigous. For example, by default we make s be an alias of step to force it to be used. Without the alias, s might be step, show, or set, among others.
Examples:
 alias cat list # "cat file.pl" is the same as "list file.pl"
 alias s step # "s" is now an alias for "step".
 # The above examples done by default.
For more complex definitions, see macro. See also unalias and show alias.
Remove an unalias
unalias alias1 [alias2 ...]
Remove alias alias1 and so on.
Example:
 unalias s # Remove 's' as an alias for 'step'
See also alias.
Define a debugger macro
macro macro-name sub { ... }
Define macro-name as a debugger macro. Debugger macros get a list of arguments which you supply without parenthesis or commas. See below for an example.
The macro (really a Perl anonymous subroutine) should return either a string or an array reference to a list of strings. The string in both cases are strings of debugger commands. If the return is a string, that gets tokenized by a simple split(/ /, $string). Note that macro processing is done right after splitting on ;; so if the macro returns a string containing ;; this will not be handled on the string returned.
If instead, a reference to a list of strings is returned, then the first string is shifted from the array and executed. The remaining strings are pushed onto the command queue. In contrast to the first string, subsequent strings can contain other macros. Any ;; in those strings will be split into separate commands.
Examples:
The below creates a macro called fin+ which issues two commands finish followed by step:
 macro fin+ sub{ ['finish', 'step']}
If you wanted to parameterize the argument of the finish command you could do it this way:
 macro fin+ sub{ \
 ['finish', 'step ' . (shift)] \
 }
Invoking with:
 fin+ 3
would expand to ["finish", "step 3"]
If you were to add another parameter, note that the invocation is like you use for other debugger commands, no commas or parenthesis. That is:
 fin+ 3 2
rather than fin+(3,2) or fin+ 3, 2.
See also info macro.
Gently exit debugged program (quit)
quit[!] [unconditionally] [exit-code]
Allow remote debugger connections (server)
server [options]
options:
 -p | --port NUMBER
 -a | --address
Suspends interactive debugger session and puts debugger in server mode which opens a socket for debugger connections
Run debugger commands from a file (source)
source [options] file
options:
 -q | --quiet | --no-quiet
 -c | --continue | --no-continue
 -Y | --yes | -N | --no
 -v | --verbose | --no-verbose
Read debugger commands from a file named file. Optional -v switch causes each command in FILE to be echoed as it is executed. Option -Y sets the default value in any confirmation command to be 'yes' and -N sets the default value to 'no'.
Option -q will turn off any debugger output that normally occurs in the running of the program.
An error in any command terminates execution of the command file unless option -c or --continue is given.
Load or Reload something Perlish (load)
Sometimes in the middle of debugging you would like to make a change to a Perl module -- perhaps you've found a bug -- and start using that. If the change is inside a Perl module, you can use the command load module:
load module {Perl-module-file}
Another thing that can occur especially if using Enbugger is that the source to Perl code is not cached inside the debugger and so you can't set a breakpoint on lines in that module. load source can be used to rectify this. However this is a bit experimenta. There may still be a problem in making sure that debugging turned on when


text:
In the realm of innovative mobile gaming, Draw Climber emerges as an ingenious puzzler that seamlessly integrates modern technology with creative gameplay. This delightful game challenges players to think outside the box, quite literally, as they draw limbs for their avatar to navigate through levels, collecting coins and power-ups while striving for the fastest completion time. With a user-friendly interface utilizing the mouse or touch controls, Draw Climber offers a unique gaming experience that blends strategy, speed, and creative problem-solving.
Draw Climber introduces a distinctive gameplay mechanic where players play the role of virtual architects, creating limbs for their avatars to traverse various levels. The goal is to reach the end of each level as swiftly as possible, earning points by collecting coins and power-ups along the way. The creativity of the player comes into play as they draw limbs directly in the game, shaping the movement and capabilities of their character.
The key to success in Draw Climber lies in strategic limb drawing. Players must consider the length and shape of the limbs they create, as these directly impact the avatar's speed, maneuverability, and ability to collect rewards. Drawing longer limbs allows for faster movement but comes at the cost of maneuverability in narrow passages and lower coin collection. Balancing these factors becomes crucial as players strive to optimize their avatar's performance on each level.
The game rewards players not only for completing levels quickly but also for collecting coins and power-ups strategically placed throughout each stage. The challenge lies in finding the right balance between speed and reward collection. Drawing the optimal limbs becomes a puzzle in itself, requiring players to assess each level's layout and plan their approach to maximize points and resources.
One of the strengths of Draw Climber is its accessibility, achieved through user-friendly controls. Players can use the mouse or their finger to draw new limbs in the designated box beneath their character, making the game easy to pick up and play. The intuitive controls enhance the overall gaming experience, allowing players to focus on the creative aspect of limb drawing and strategic decision-making.


How many gasoline pumps will the project actually contain?
The new Costco gasoline project will have 16 gasoline fuel pumps. Each pump will allow for two (2) vehicles to obtain fuel at the same time for a total of 32 vehicles.
Show All Answers
1. What is the current status of the project for the new Costco gasoline station in Tustin Ranch?
2. Why did City Council members decline to have private meetings with individuals before the appeal hearing?
3. How many emails did the City Council receive in advance of the Appeal Hearing on October 15, 2019, and what position on the project did they want?
4. How many gasoline pumps will the project actually contain?
5. What will be the hours of operation for the new gasoline station?
6. Why did the new gasoline station not need an environmental impact report (EIR)? Was the exemption a loophole?
7. What studies have been completed to support the City Council action on the project?
8. How are greenhouse gases emissions estimated and air quality evaluated to know if the new station will have any adverse impacts on public health? Is vehicle idling included in these assessments?
9. How will the traffic be handled on the site and on the streets surrounding the new gasoline station?
10. What if a major traffic jam is created with cars waiting to get gas at the new Costco location – what happens then?
11. What will happen to my property value if I live near a gasoline station?
12. The new Costco gasoline station will drive out other smaller, independent gas station owners in the City compelling everyone to buy gas at Costco. Does the City not care about small businesses?
13. What are the differences between the new gasoline station and the existing Costco gasoline station at The District?
14. What are the lessons learned from the other Costco located at The District?
15. Can the City Council's decision on the Costco application be appealed?


text:
Image: Field label for Magpie-lark (BF 2227)
A good, clear field label for specimens. Note the data that has been included: the location where the bird was found, the date it was found and the name of the collector. In this instance, the collector has also put the age, sex and scientific name of the bird, but don't worry about writing any of this if you do not know the details. Staff in the Bird Section will fill in those details. A waterproof pen was used to write this label; if you do not have one, a pencil is an excellent substitute.
- Jaynia Sladek
- © Australian Museum


text:
International Journal of Enology and Viticulture Vol. 6 (6), pp. 001-004, June, 2019. © International Scholars Journals
Full Length Research Paper
Total tannin content in distinct QUERCUS ROBUR L. galls
Urve Paaver, Vallo Matto* and Ain Raal
Department of Pharmacy, University of Tartu, Nooruse 1, 50441 Tartu, Estonia.
Accepted 12 March, 2019
The total tannin contents of three different QUERCUS ROBUR L. galls collected from Estonia, three reference galls, and two plants were estimated. The dry common oak gall-apples tannin content was 47.2%; in brown shiny galls - 4.2%, and in grape galls - 3.4%; in Chinese galls - 89.1%, in Turkey galls - 81.4%, and in pistacia galls - 52.4%; in oak bark - 9.1%, and in common tormentil roots - 21.1%. The present study shows that the QUERCUS ROBUR common oak gall-apples but not brown shiny galls or grape galls may be used as raw material for production of tannin containing traditional remedies.
Key words: Cynipid galls, Quercus robur, common oak, tannins.


0
In a directory, for each file listed by ls -1 . in the default order which is the lexicographic order, I want to do the following
 1. find the next n files starting from and including the file, putting them into an array named train, and copy them into a subdirectory tmp.
 2. find the n+1-th file, putting it into a variable named test
 3. perform some operation on train, test, and tmp. Remove files in tmp.
train and test are reused, and supposed to be overwritten for each file listed by ls.
tmp is supposed to be empty right before starting the above steps for each file listed by ls.
The three steps are performed on each file except the last n files listed by ls, because there is no n+1-th file starting from each of them.
I wonder how to implement the above in bash? Thanks.
For example,
suppose n is 2, and the files listed by ls in the current directory are:
a
b
c
d
e
f
for a, I will find a and b and put them into array train and copy them into dir tmp, and find c and put it in variable test. Then perform some operation on train, test and tmp. Finally, empty dir tmp.
for b, I will find b and c, and put them into array train by overwriting it, and copy them into dir tmp, and find d and put it in variable test by overwriting it. Then perform some operation on train, test and tmp. Finally, empty dir tmp.
Then the above is performed on c and d, but not on e and f, because n=2.
 - If your files name don't contain newline, then ls | tail -n +3 | head -n2 gave you the 3rd and 4th files. – cuonglm Jan 7 '16 at 2:06
 - 1
 Don't parse ls, that's a dirty habit – Sobrique Jan 7 '16 at 14:04
1
#!/bin/bash
declare -a all
all=('ls -1 | grep -v '^tmp$'')
n=2
i=0
while [ $((n+i)) -lt ${#all[*]} ]; do
 declare -a train
 j=0
 while [ $j -lt $n ]; do
 train[$j]=${all[$((i+j))]}
 cp ${all[$((i+j))]} tmp/
 j=$((j+1))
 done
 test=${all[$((i+j))]}
 i=$((i+1))
 # do something:
 echo "loop $i: contents of tmp/ are" $(ls tmp)", test=$test"
 rm -f tmp/*
done
First put all the files in the array all.
Now loop while there's space in the array (offset i plus number n is less than the length of the list of files).
Use a loop to put n filenames into array train starting from offset i, and copy the file into subdirectory tmp. After the loop the next filename is put into test.
Now "do something".
Increment the offset i and loop again.
I personally would use perl for this.
Your Answer
By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy
Not the answer you're looking for? Browse other questions tagged or ask your own question.


Posts Tagged 'Solidarity Versus Charity'
Charity Versus Solidarity: What's the Difference and Why Does it Matter? (2008 Presentation)
This is a portion of a larger speech, delivered at an event for service providers and community members, sponsored by the Milwaukee YWCA in 2008. In this segment, I discuss the difference between models of social service provision that are rooted in notions of "charity for" those in need, versus models rooted in "solidarity with" [...]


text:
Writing a research study regarding the effects Snapchat has on one's self. Need a few links to journal entires/scholarly articles/past research studies for each of the following scenarios:
- Past research study or article proving that "Self esteem is a stable characteristic"; Meaning that an individual's' self-esteem is more core to their identity and cannot be shifted as easily as something like situational jealousy or pity.
2. Past research study that proves that SNAPCHAT and/or Snapchat posts Induces emotion.
3. NEED PIECE OF LITERATURE/past study that PROVEs That "JEALOUSY IS ATTACK ON PERSONAL BEING


It's easy to see what's happening in the dining room but it's hard to see what's going on in the kitchen. According to the Centers for Disease Control and Prevention, 1 in every 6 Americans gets sick from food contamination each year. Consumers usually lack the information to knowledgeably choose where to eat based on the risk of food contamination.
Boston restaurants are required by law to be inspected on an annual basis. However, food inspection data is typically available in rare and elusive online datasets. They are not like Yelp or Carfax; they are tedious.
Food Sherpa is a data visualization that seamlessly displays inspection results and grades for all Boston restaurants. These grades are presented in a report card format with an A through F scale. The quantity and severity of a restaurant's five-year inspection history are used to assign the grades. This visualization can be used by any Boston restaurant-goer, to assist in making more informed decisions about where to eat out. Food Sherpa fills an integral gap in the awareness of restaurant consumers.
Share this project:


text:
If you have 500 items, in column B, but only 20 of them are unique invoices due to them being broken up into purchase orders. It makes sense to keep them separate so you can more easily reconcile checks that are written to you.
The solution I came up with involves using the custom-formula for conditional formatting.
If column A is the Purchase-Order Numbers ( that are entirely unique ) and column B are your invoices that repeat multiple times. Assuming you have headers in row 1.
Explanation of Solution
UNIQUE() is an array returning formula that is exclusive to google sheets (it does not work in excel). This allows you to figure out how many unique invoices exist within column B. So
UNIQUE($B$2:$B) returns a list of only the unique numbers, removing all duplicates.
MATCH() returns an integer of where an item is located in a 1 dimensional range or array. I used it to look at each item in column B and find it's location within the array created by
UNIQUE($B$2:$B) ; SO
MATCH($B2,UNIQUE($B$2:$B),0) will look at cell
B2, and find where it is located in
UNIQUE($B$2:$B) and return a number that represents which place it is in the list.
FALSE depending on the number you give it. For Instance
ISODD(1) will return
TRUE. So if we wrap
ISODD() around our match-unique formula it will alternate with
FALSE per each different invoice. SO,


World Library
Flag as Inappropriate
Email this Article
Pedis possessio
Article Id: WHEBN0015749841
Reproduction Date:
Title: Pedis possessio
Author: World Heritage Encyclopedia
Language: English
Subject: Adverse possession
Publisher: World Heritage Encyclopedia
Pedis possessio
Pedis possessio is a legal phrase in common law used to describe walking on a property to establish ownership.
This concept involves the establishment of first possession of land. By walking on a property and defining its bounds, possession is established. Legal dictionaries[1] put forth this definition. Pedis possessio has been described as the actual possession of land within bounds set forth by the need of a mine claimant and operator to improve and work a claim for its mineral value.
Violation of set boundaries are avoided and violence prevented by the establishment of title using the concept of pedis possessio.[2]
See also


text:
You can boot your Neo FreeRunner in the following ways:
- You can power it up into an Openmoko image directly (default, when powered-on for the first time).
- You can boot it into the U-Boot bootloader via NAND Flash.
- You can boot it into U-Boot via NOR Flash.
Booting the device into NAND and NOR Flash allows you to update the kernel and root filesystem.
Start the Openmoko Image
Press and hold Power button for about 8 seconds, until the Openmoko splash screen turns up. You may now release the Power button and the Neo FreeRunner will continue to boot into the Openmoko Image.
Log into U-Boot in the NAND Flash
- Press and hold Power button
- Then while still pressing the Power button, press and hold AUX button for 5 to 8 seconds.
- A boot menu will appear. This indicates the NAND flash has booted.
- Press the AUX button to select one of the options and then press the Power button to execute.
Log into U-Boot in the NOR Flash
This option is usually used by developers or when flashing (imaging) the FreeRunner.
- Press and hold the AUX button
- While still pressing the AUX button, press and hold the Power button.
- Then release the AUX button (not required?)
- You should see the boot menu for the NOR Flash. This means you have entered the NOR flash.
Flashing can be performed when the NOR boot menu is active.
There are six options you can choose when you log into the NOR Flash.
- Boot from MicroSD
- Set console to USB
- Set console to Serial
- Power off
If you cannot log into U-Boot in NAND flash then you can log into U-Boot in the NOR flash either.
|| NOTE: The term Logging in used in this context means to turn on the device using the described method, and leaving it at the U-Boot menu. To avoid the device automatically booting, tap the AUX key to move the selector bar. Note also that the device will not automatically turn off while flashing is in progress.


text:
Main Article Content
The level of physical development of children and adolescents determines the reproductive, morphofunctional status of the future generation and reflects the influence of climatic, socio-economic living conditions in the region. The growing part of the population is most sensitive to environmental factors, so it is important to study the features of growth and development of children and adolescents living in environmentally unfavorable conditions. In the spring of 2022, an anthropometric survey of 139 15-year-old girls living in the city of Nukus, Muynak and Ellikkalinsky districts of the Republic of Karakalpakstan was conducted. The results of the study coincided with the literature data and showed that representatives of the Muynak district, which is an ecological disaster zone, have a body mass deficit and the values of the studied morphofunctional indicators (body length, body weight, chest circumference, waist circumference, hip circumference) are lower than those of their peers living in another area.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.


text:
What Has Wandered Into Pikes Peak Field Day
When: May 23, 2019
4:00 - 8:00 p.m.
Where: Pikes Peak State Park
15316 Great River Rd
McGregor, IA 52157
As part of our "What Has Wandered Into Your Woods?" series, join us for a special tour of one of Iowa's top destinations for hikers and nature lovers! Trees Forever and park experts will point out native and invasive plants during a 1-mile walk at Pikes Peak State Park. Learn about how native plants provide more benefits for the environment than non-native plants, including better food and habitat for animals and pollinators. Then help us protect our native ecosystem by removing invasive garlic mustard.
- Hear from park experts on how the state park cares for native trees and plants, including how they are dealing with invasive plants such as garlic mustard, Japanese barberry, bucktorn, multiflora rose, black locust and Japanese knotweed.
- Get your hands dirty during a hands-on lesson on how to identify, treat and remove invasive species.
- Discover the importance of native plants.
Be sure to wear suitable clothing for outdoor activities and bring a refillable water bottle and bug spray. Our hike will be about one mile on a flat but grass covered surface; motorized assistance is not available. This event will be held rain or shine.
Looking for another workshop in this series? Join us Friday, September 20 at Backbone State Park
Questions? Contact Jeff Jensen at _PHONE_.
$10 registration fee covers lunch and handouts. Please register below.
This event is possible thanks to support from the Iowa Department of Natural Resources, the U.S. Forest Service and Syngenta's Operation Pollinator.


text:
Students are the future of design and innovation. For a second year, The Spearhead Group is proud to announce an exclusive sponsorship of an innovative program with the Istituto Europeo di Design (IED) Turin in Italy. The 2021 program features a creative upcycling and reuse element of PVC rods recovered from industrial processes. This Spring, students were briefed on the program by the Spearhead Group, challenging them to create and design objects, products, or accessories using rods along with only common and accessible materials.
"This program allows us to work closely with IED Turin and the students to provide a challenge that can inspire innovation from a brand-new perspective. Adding in the elements of re-use to the program this year allows students to study new ways to look at production dunnage," says Robert Catalano, Co-Founder and Chief Innovation Officer of The Spearhead Group. "Students are our future, and we want to invest in them. The European Institute of Design is a dynamic global partner that allows our team to work together with the next generation of great designers and innovators."
The selected participants are six teams of two students that have been selected from the Product Design and Jewelry & Accessories Design courses at IED Turin. By utilizing between 50 to 200 rods per or team, the students must create images/drawings of the proposed idea or product, a physical product, and a simple video showing the design concept, solution, and instructions for step-by-step production of the new product. Students will have access to an on-site teacher and a tutor for graphic design supervision and video realization. This participation is part of an extracurricular program for these students and will be completed during their own time. With the COVID restrictions, students are able to schedule lab days on the campus to complete these projects, while still maintaining protocols.
Students will be judged on the overall design, functionality, and innovative thinking. The winning designer will receive a cash prize and a possible Internship in virtual design through Spearhead's U.S. Innovation Centers. Students will present their ideas at the end of May 2021 to Heather Fritzsche, Robert Catalano Natale Bauducco, and Giovanna Pinna.
"We're are thrilled to work together again with IED Turin," adds Natale Bauducco, European Advisor for The Spearhead Group and one of the project leaders. "We can't wait to unveil the innovative designs later this year and look forward to an ongoing collaboration with the best and brightest students in design."
About Istituto Europeo di Design (IED)
For more than fifty years, the Istituto Europeo di Design (IED) has been operating in the fields of education and research in design, fashion, visual communication, and management. Today, the IED is a constantly expanding international network that awards academic achievement diplomas and organizes Master's courses, continuing professional education, and advanced training. Originally founded in Italy, the IED is based globally in Milan, Rome, Turin, Florence, Venice, Cagliari, Como, Madrid, Barcelona, Rio de Janeiro, and São Paulo. Coursework is taught by leading design faculty with a respect for applied skills, constant innovation, and environmental sustainability. The IED-Turin school is known for a cross-disciplinary approach from filmmaking and fashion to communications, industrial design, visual arts, and humanities.


text:
The Motoräder™ battery charger is a state of the art versatile reverse pulse 3 amp battery charger. It is designed to fully charge and maintain a battery at proper storage without damaging effects. It applies advanced multiple stage charge algorithm and reverse pulse technology which reduces battery impedance. It restarts automatically when it detects voltage drop and tests the battery to eliminate those which are not in an acceptable status.
Universal Adaptable, Reverse Pulse Taechnology, Full automatic charge, Digital display, Battery diagnosis function, Cooling fan 12V 3000Ma, 5 Readout error codes.
REVERSE PULSE TECHNOLOGY This Motorader charger generates reverse pulseto reduce impedence, keeping the battery plates clean and free from sulphation. The battery stays fresh and responsive to charging and discharging.
SWITCH MODE TECHNOLOGY Using the latest technology in battery chargers, switchmode chargers convert 240VAC power to 12VDc power using electroniccomponents unlike traditionaL battery chargers that rely on heavy transformers. This allows the charger to be lightweight and compact without sacrificing on performance.
TOROIDALTRANSFORMER Using the latest technology in transformer design, toroidal transformers don't use a solid iron core, (like traditional transformers) making them lighter and more compact. They deliver more power than a traditional transformer charger of the same size.
DIGITAL VOLTAGE / FAULT CODES DISPLAY A volt meter determines the battery charge level while the fault codes help to diagnose the charging system and battery is a very comprehensive and accurate charging technique that gives your battery a longer life and better performance compared to using traditional chargers.
POLARITY PROTECTION Prevents the output leads from sparking due to accidental reverse connection or short circuit making the charger safe to use around batteries.


Practical uses of My Health Record in aged care
By John Hardgrove, APNA Project Manager
Source: APNA Primary Times Winter 2022 (Volume 22, Issue 1)
My Health Record, a secure online summary of individuals' health information, is currently in use across Australia. In aged-care settings, the initiative offers significant potential to improve care coordination and health outcomes for older Australians, who tend to interact frequently with the health system and generally experience a higher prevalence of chronic and complex conditions and polypharmacy.
My Health Record offers a range of practical uses for aged-care health professionals and patients/residents. When meeting a patient/resident for the first time, the health-care professional can gain an overview of the patient's/resident's health status through their shared health summary in the My Health Record system. This can include their medical conditions, medications, allergies and adverse reactions, and immunisations.
When a patient/resident has been to hospital, the health-care professional can gain an overview of the encounter through their discharge summary in My Health Record. This can include details of treatments, procedures and tests performed and recommendations for follow-up. The health-care professional and the patient/resident can refer to My Health Record for their medications information rather than relying on their memory. This can include the brand name and active ingredients, strength and dosage instructions.
The patient/resident can elect a nominated representative, such as a family member or carer, to share visibility of and help to manage their file in My Health Record. The patient/resident can also upload an advance care planning document to My Health Record to record their wishes for end-of-life care. The health-care professional can also view the immunisation history for the patient/resident.

A case study: Pablo and Elly
Pablo and Elly are a married couple who live together in an independent living unit. They are both 89 years old and in good health. Pablo and Elly are both proactive in ensuring that their health-care providers keep the documents in their My Health Record files up to date. They are planning to move into a retirement village and, as part of their planning, they both complete advance care directive (ACD) documentation. Their GP, Dr Louka, suggests uploading the ACDs to their My Health Record and shows them how to add their daughter Kirralee's details to the Advance Care Document Custodian section. They have both had their influenza vaccination, so they are able to participate in the retirement village community network.
Dr Louka shows them that their vaccination history, including their influenza vaccine and last tetanus shots, were recorded in their My Health Record. Recently, Pablo slipped and fell in the living room of their unit – he was unable to get up off the floor. Elly called an ambulance. Emergency nursing staff in the hospital accessed Pablo's My Health Record to gain an overall picture of his health and medical history, including any allergies and adverse reactions, medicines and diagnoses. A hip fracture was identified and surgery carried out.
During Pablo's stay at the hospital, documents were updated and uploaded to Pablo's My Health Record. Pablo's recovery was complicated by pneumonia and physical deconditioning. Discharge planning options were explored, and it was agreed that Pablo was a candidate for a Transition Care Package (TCP), which is short-term care to help recover and regain his independence. Pablo was transferred to the aged-care facility across the road from their retirement village unit with the goal to return home to their unit. Nikita, the TCP nurse, accessed Pablo's My Health Record and was able to access details of Pablo's hospital visit, surgery, treatments, interventions and medicines by viewing Pablo's discharge summary and medicines information. The ACD that Pablo had uploaded helped to guide discussions about his goals and wishes as part of her assessment.
In conclusion, use of My Health Record presents a number of benefits in the aged-care setting and can improve patient care outcomes significantly. Through the My Health Record system, you can access timely information about your patients, such as shared health summaries, discharge summaries, prescription and dispense records, pathology and diagnostic imaging reports, and immunisation information.
You can find out more information about My Health Record at _URL_
Join APNA as a member
Only $26.50 per month for professionals!
JOIN APNA
The Australian Primary Health Care Nurses Association acknowledges the Traditional Custodians of country throughout Australia and their connections to land, sea and community. We pay our respects to elders past and present and extend that respect to all Aboriginal and Torres Strait Islander peoples today.
© Copyright 2024 Australian Primary Health Care Nurses Association (APNA). All rights reserved. MRM by Bond Software.
Cart
Item removed. Undo


Chrome logo Add to Chrome
Firefox logo Add to Firefox
Scene Text Recognition via Transformer
Mar 18, 2020
Xinjie Feng, Hongxun Yao, Yuankai Yi, Jun Zhang, Shengping Zhang
Scene text recognition with arbitrary shape is very challenging due to large variations in text shapes, fonts, colors, backgrounds, etc. Most state-of-the-art algorithms rectify the input image into the normalized image, then treat the recognition as a sequence prediction task. The bottleneck of such methods is the rectification, which will cause errors due to distortion perspective. In this paper, we find that the rectification is completely unnecessary. What all we need is the spatial attention. We therefore propose a simple but extremely effective scene text recognition method based on transformer [50]. Different from previous transformer based models [56,34], which just use the decoder of the transformer to decode the convolutional attention, the proposed method use a convolutional feature maps as word embedding input into transformer. In such a way, our method is able to make full use of the powerful attention mechanism of the transformer. Extensive experimental results show that the proposed method significantly outperforms state-of-the-art methods by a very large margin on both regular and irregular text datasets. On one of the most challenging CUTE dataset whose state-of-the-art prediction accuracy is 89.6%, our method achieves 99.3%, which is a pretty surprising result. We will release our source code and believe that our method will be a new benchmark of scene text recognition with arbitrary shapes.
Share this with someone who'll enjoy it:
 Access Paper Source
Share this with someone who'll enjoy it:


Arc diagram
From Wikipedia, the free encyclopedia
Jump to: navigation, search
An arc diagram of the Goldner–Harary graph. The red dashed line segment shows where this graph was subdivided to make it Hamiltonian.
In graph drawing, an arc diagram is a style of graph drawing, in which the vertices of a graph are placed along a line in the Euclidean plane, with edges being drawn as semicircles in one of the two halfplanes bounded by the line, or as smooth curves formed by sequences of semicircles. In some cases, line segments of the line itself are also allowed as edges, as long as they connect only vertices that are consecutive along the line.
The use of the phrase "arc diagram" for this kind of drawings follows the use of a similar type of diagram by Wattenberg (2002) to visualize the repetition patterns in strings, by using arcs to connect pairs of equal substrings. However, this style of graph drawing is much older than its name, dating back to the work of Saaty (1964) and Nicholson (1968), who used arc diagrams to study crossing numbers of graphs. An older but less frequently used name for arc diagrams is linear embeddings.[1]
Heer, Bostock & Ogievetsky (2010) write that arc diagrams "may not convey the overall structure of the graph as effectively as a two-dimensional layout", but that their layout makes it easy to display multivariate data associated with the vertices of the graph.
Planar graphs[edit]
As Nicholson (1968) observed, every embedding of a graph in the plane may be deformed into an arc diagram, without changing its number of crossings. In particular, every planar graph has a planar arc diagram. However, this embedding may need to use more than one semicircle for some of its edges.
If a graph is drawn without crossings using an arc diagram in which each edge is a single semicircle, then the drawing is a two-page book embedding, something that is only possible for the subhamiltonian graphs, a subset of the planar graphs.[2] For instance, a maximal planar graph has such an embedding if and only if it contains a Hamiltonian cycle. Therefore, a non-Hamiltonian maximal planar graph such as the Goldner–Harary graph cannot have a planar embedding with one semicircle per edge. Testing whether a given graph has a crossing-free arc diagram of this type (or equivalently, whether it has pagenumber two) is NP-complete.[3]
However, every planar graph has an arc diagram in which each edge is drawn as a biarc with at most two semicircles. More strongly, every st-planar directed graph (a planar directed acyclic graph with a single source and a single sink, both on the outer face) has an arc diagram in which every edge forms a monotonic curve, with these curves all consistently oriented from one end of the vertex line towards the other.[4] For undirected planar graphs, one way to construct an arc diagram with at most two semicircles per edge is to subdivide the graph and add extra edges so that the resulting graph has a Hamiltonian cycle (and so that each edge is subdivided at most once), and to use the ordering of the vertices on the Hamiltonian cycle as the ordering along the line.[5]
Minimizing crossings[edit]
Because it is NP-complete to test whether a given graph has an arc diagram with one semicircle per edge and no crossings, it is also NP-hard to find an arc diagram of this type that minimizes the number of crossings. This crossing minimization problem remains NP-hard, for non-planar graphs, even if the ordering of the vertices along the line is fixed.[1] However, in the fixed-ordering case, an embedding without crossings (if one exists) may be found in polynomial time by translating the problem into a 2-satisfiability problem, in which the variables represent the placement of each arc and the constraints prevent crossing arcs from being placed on the same side of the vertex line.[6] Additionally, in the fixed-ordering case, a crossing-minimizing embedding may be approximated by solving a maximum cut problem in an auxiliary graph that represents the semicircles and their potential crossings (or equivalently, by approximating the MAX2SAT version of the 2-satisfiability instance).[7]
Cimikowski & Shope (1996), Cimikowski (2002), and He, Sýkora & Vrt'o (2005) discuss heuristics for finding arc diagrams with few crossings.
Clockwise orientation[edit]
For drawings of directed graphs, a common convention is to draw each arc in a clockwise direction, so that arcs that are directed from an earlier to a later vertex in the sequence are drawn above the vertex line, and arcs directed from a later to an earlier vertex are drawn below the line. This clockwise orientation convention was developed as part of a different graph drawing style by Fekete et al. (2003), and applied to arc diagrams by Pretorius & van Wijk (2007).
Other uses[edit]
Arc diagrams were used by Brandes (1999) to visualize the state diagram of a shift register, and by Djidjev & Vrt'o (2002) to show that the crossing number of every graph is at least quadratic in its cutwidth.
 1. ^ a b Masuda et al. (1990).
 2. ^ The application of semicircles to edge layout in book embeddings was already made by Bernhart & Kainen (1979), but the explicit connection of arc diagrams with two-page book embeddings seems tо be due to Masuda et al. (1990).
 3. ^ Chung, Leighton & Rosenberg (1987).
 4. ^ Giordano et al. (2007).
 5. ^ Bekos et al. (2013).
 6. ^ Efrat, Erten & Kobourov (2007).
 7. ^ Cimikowski & Mumey (2007).


text:
Posted 6 years ago
Italian Commemorative Medal Operations East Africa.
Circular Dark Bronze Medal with integral bar for Ribbon.
Ribbon Light Blue with dark Blue Stripes.
Front . Face of King Vittorio Emmanuel the Third.
Royal Mint Regio Zecca. On bottom Crown Above Z .
Reverse of Medal Mountainous Landscape and
Inscribed Africa Orientale and Molti Nemici
Molto Onore [Many Enemies Much Honour]
Below Signature of Benito Mussolini.
on left below Axe. V Perrone Designer
Medal instituted 27 April 1936 for those involved
in Conquest of Ethiopia, Italians Invaded in 1935.
Armed with twenty century Weapons and Bombed
and gassed the Ethiopia people Annexing country
1936. In 1941 Ethiopia and British and Commonwealth
Forces Liberated Ethiopia fifth May 1941.