First time using MOO Viz? Try selecting one of the pre-loaded datasets using the dropdown menu.
Issues getting your data file to work? Checkout the table snippet below for how your columns should be setup.
Namely, the first column header should be "SolutionIndex" and contain integers that identify a solution within its frontier.
The second column should have the header "Frontier" and should identify which frontier the solution belongs to.
All solutions within a frontier should have the same value in the "Frontier" column.
(If you only have one frontier, that's perfectly fine.)
Additional columns are assumed to be solution data, with each column representing an objective.
Data should be in CSV format, and no string fields (including column headers) should include underscores ("_").
| SolutionIndex |
Frontier |
Objective 1 |
Objective 2 |
Objective 3 |
| 1 |
Restoration |
50540.2395 |
259677.0940 |
764441.4416 |
| 2 |
Restoration |
50604.4655 |
278147.7290 |
459274.6200 |
| 3 |
Restoration |
49215.5135 |
277840.2980 |
699377.0896 |


{% extends "base.html"%} {% block content %}
Enter your username and password to log on:
Don't have an account? Click here to register


Slide Decks
Slide decks are built using Hieroglyph, a plugin for Sphinx. Slide pages are built using reStructuredText and are styled to support a useful subset of the standard MARKUP formatting guidelines.
Slides provide a simple and easy way to leverage technical content into a presentation-like format and should be used to support and enhance the technical documentation.
Slides Setup
Slide decks require Hieroglyph, a slide deck generator that uses Sphinx and reStructuredText and a dedicated topic collection with a conf.py
file configured to support the slides
builder.
Install Hieroglyph:
Update conf.py
in a project that will be used to generate slide decks:
Add Hieroglyph to extensions
:
extensions = ['hieroglyph']
and then add slides-dedicated configuration settings:
# -- Options for HTML Slide output ---------------------------------------------------
autoslides = True
slide_theme = 'slides-hieroglyph'
slide_levels = 3
slide_numbers = True
#slide_footer = "Welcome to Slides!"
#slide_theme_options = {'custom_css':'slides.css'}
slide_theme_path = ['../../_themes/']
slide_link_to_html = True
slide_link_html_to_slides = False
slide_link_html_sections_to_slides = False
slide_relative_path = "./slides/"
slide_html_relative_path = "../"
Run a slide decks Sphinx build using the slides
builder that is installed with Hieroglyph:
$ sphinx-build -b slides path/to/source path/to/slides/output
How to Use Slides
Slides are an HTML page output to a directory as part of the static website structure. Because slides are generated using a specific theme (named slides-heiroglyph
) they are output to a dedicated directory.
Slides open in a web browser (Chrome, Firefox, Safari).
To navigate between pages in a slide deck:
- Press the left/right keyboard arrows to move to previous/next slides
- Press the spacebar to move to the next slide
- Click the top left/right corners of the slide area to move to previous/next slides
slides Directive
The slides
directive defines each slide in the slide deck. It is a normal Sphinx directive and requires all content in that slide to be formatted correctly and be aligned with the s
in the directive.
Title Slides
Title slides are used at the beginning of a slide deck.
To define a title slide, use the slide
directive and assign its level
to 1
:
==================================================
Title Slide
==================================================
<no content>
Note
The contents of a title slide should be empty.
Section Slides
Section slides are the slides that contain actual content.
To define a section slide, use the slide
directive and assign its level
to 2
:
.. slide:: Slide Name
:level: 2
This is the content of a section slide.
Group Slides
Group slides are used within a slide deck to add a title-like slide that can be used to create groups of slides.
To define a group slide, use the slide
directive and assign its level
to 1
:
.. slide:: Slide Group Name
:level: 1
<no content>
Note
The contents of a group slide should be empty.
build Directive
The build
directive defines a series of list items to are added incrementally to the slide each time the space bar is pressed.
For example, to define four steps on a slide:
.. rst-class:: build
- The first list item is shown automatically.
- Press the spacebar to add the next one.
- Press the spacebar (again) for the next list item.
- Press the space (again) to add the final list item.
Example
The following shows an example slide deck:
..
.. /slides/
..
.. slide:: Slide Title Page
:level: 1
This is a slide title page. While this slide title page has a paragraph on it, typically a slide title page is left blank (except for the title).
.. slide:: Examples
:level: 1
The following slides show examples of the recommended subset for use with slide decks:
* Paragraphs, including inline formatting
* Lists
* Small tables (2x6, 3x6, 4x6, 5x6, 6x6)
* Small code blocks
* Images (with or without section titles)
* Admonitions, such as notes, warnings, or tips
.. slide:: Paragraphs
:level: 2
A simple paragraph.
You can have more than one.
.. slide:: Ordered Lists
:level: 2
Always introduce an ordered list:
#. one
#. two
#. three
.. slide:: Unordered lists
:level: 2
Always introduce an unordered list:
- one
- two
- three
.. slide:: Definition Lists
:level: 2
A definition list works great for things like terminology:
**some term**
Indent three spaces, and then keep typing.
**another term**
Indent three spaces, and then type some more!
.. slide:: Incremented List Items
:level: 2
.. rst-class:: build
- The first list item is shown automatically.
- Press the spacebar to add the next one.
- Press the spacebar (again) for the next list item.
- Press the space (again) to add the final list item.
.. slide:: Images with Titles
:level: 2
Images work best preceded by a single-line introduction:
.. image:: ../../images/stages_all.svg
:width: 600 px
:align: center
They may be followed by a short list:
#. one
#. two
#. three
#. four
#. five, or so, depending on the image size
.. slide:: Images without Titles
:level: 2
Image slides can be shown without titles simply by omitting the slide name, as shown in the next two slide examples.
.. slide::
:level: 2
.. image:: ../../images/mdr_pipeline_components.png
:width: 700 px
:align: center
.. slide::
:level: 2
.. image:: ../../images/mdr_pipeline_architecture_aws.png
:width: 700 px
:align: center
.. slide:: Simple Code Blocks
:level: 2
.. code-block:: python
retrieve_instructions(
self,
name,
)
.. slide:: Notes, warnings, and tips
:level: 2
These are notes, warnings, and tips:
.. note:: Use notes sparingly.
.. warning:: Use warnings even more sparingly.
.. tip:: Maybe use a tip once in a while.
.. slide:: Tables, 2x6
:level: 2
.. list-table::
:widths: 200 200
:header-rows: 1
* - Column 1
- Column 2
* - **Row 1**
- description
* - **Row 2**
- description
* - **Row 3**
- description
* - **Row 4**
- description
* - **Row 5**
- description
* - **Row 6**
- description


DEVICE
App
Instance
Status
Start
Stop
Kill
Restart
Pause
Unpause
Remove
Top
Logs
Exec
Edit Status
Download FS
State
Status
Created
Started
Finished
Restarts
Policy
Working Dir
Port Bindings
Restart
Mounts
Type
Source
Destination
Env
Variable
Value
Cmd


PETITIONER: SUBHASH KUMAR Vs. RESPONDENT: STATE OF BIHAR AND ORS. DATE OF JUDGMENT09/01/1991 BENCH: SINGH, K.N. (J) BENCH: SINGH, K.N. (J) OJHA, N.D. (J) CITATION: 1991 AIR 420 1991 SCR (1) 5 1991 SCC (1) 598 JT 1991 (1) 77 1991 SCALE (1)8 ACT: Water (Prevention and Control of Pollution)Act, 1974: Sections 17, 24, 25 and 26. Constitution of India, 1950: Article 21-Right to live includes right to enjoyment of pollution free water and air- A citizen has a right to invoke Article 32 for removing pollution. Article 32- Writ petition in public interest-Allegation that West Bokaro Collieries and Tata Iron and Steel Company are polluting the river Bokaro by discharging slurry from their washeries into the river-No material to substantiate the allegations-Held petition is not in public interest but for personal interest. Public Interest Litigation-Should be resorted to by a person genuinely interested in the protection of society- Personal interest cannot be enforced in the garb of public interest litigation-Entertainment of petitions satisfying personal grudge is abuse of process of the Court Duty of the court is to discourage such petitions. HEADNOTE: The petitioner filed a writ petition in this court by way of public interest litigation alleging that the respondents, West Bokaro Collieries and Tata Iron and Steel Company (TISCO) were polluting the river Bokaro by discharging surplus waste in the form of sludge/slurry as effluent from their washeries into river making the river water unfit for drinking and irrigation purposes thereby causing risk to the health of the people; the State of Bihar and the State Pollution Control Board have failed to take appropriate steps for prevention of the pollution and instead the State of Bihar has granted leases on payment of royalty to various persons for collection of slurry. Accordingly the petitioner prayed for directions to the respondents to take immediate steps prohibiting the pollution of the river and to take legal action against TISCO under the Water (Prevention and Control of Pollution) Act, 1974. The petitioner also claimed interim relief from this Court that he should be permitted to collect sludge/slurry flowing out of washeries of the respondents. 6 The respondents contested the petition denying the petitioner's allegations. Bihar State Pollution Board asserted that directions have been issued to the Bokaro Collieries to take effective steps for improving the quality of the effluent going into the river Bokaro and that the TISCO Company has been granted permission to discharge their effluents from their outlets in accordance with sections 25 and 26 of the 1974 Act. On behalf of TISCO and the Bokaro Collieries it was contended that all effective steps have been taken to prevent the pollution and they have complied with the instructions of the State Pollution Board. By an order dated 13.12.1990, this Court dismissed the writ petition with costs. Giving reasons for dismissal of the petition, this Court, HELD: 1. Article 32 is designed for the enforcement of Fundamental Rights of a citizen by the Apex Court. It provides for an extra-ordinary remedy to safeguard the fundamental rights of a citizen. Right to life is a fundamental right under Article 21 of the Constitution and it includes the right of enjoyment of pollution free water and air for full enjoyment of life. If anything endangers or impairs that quality of life in derogation of laws, a citizen has right to have recourse to Article 32 of the Constitution for removing the pollution of water or air which may be detrimental to the quality of life. A petition under Article 32 for the prevention of pollution is maintainable at the instance of affected persons or even by a group of social workers or journalists. But recourse to proceeding under Article 32 of the Constitution should be taken by person genuinely interested in the protection of society on behalf of the community. Public interest litigation cannot be invoked by a person or body of persons to satisfy his or its personal grudge and enmity. If such petitions under Article 32 are entertained it would amount to abuse of process of the Court, preventing speedy remedy to other genuine petitioners from this Court. Personal interest cannot be enforced through the process of this Court under Article 32 of the Constitution in the garb of a public interest litigation. Public interest litigation contemplates legal proceeding for vindication or enforcement of fundamental rights of a group of persons or community which are not able to enforce their fundamental rights on account of their incapacity, poverty or ignorance of law. A person invoking the jurisdiction of this Curt under Article 32 must approach this Court for the vindication of the fundamental rights of affected persons and not for the purpose of vindication of his personal grudge or enmity. It is duty of this Court to 7 discourage such petitions and to ensure that the course of justice is not obstructed or polluted by unscrupulous litigants by invoking the extra-ordinary jurisdiction of this Court for personal matters under the garb of the public interest litigation. [13C-H; 14A] Bandhua Mukti Morcha v. Union of India, [1984] 2 SCR 67; Sachindanand Pandey v. State of West Begal, [1987] 2 SCC 295; Ramsharan Autyanuprasi & Anr. v. Union of India & Ors., [1989] Suppl. 1 SCC 251; Chetriya Pardushan Mukti Sangharsh Samiti v. State of U.P. & Ors., [1990] 4 SCC 449, referred to. 2. The present petition is not filed in public interest instead the petition has been made by the petitioner in his own interest. Infact there is intrinsic evidence in the petition itself that the primary purpose of filing this petition is not to serve any public interest instead it is in self-interest. The petitioner has been purchasing slurry from the respondents for the last several years. With the passage of time he wanted more and more slurry but the Company refused to accept his request. He removed the Company's slurry in an unauthorised manner for which criminal cases are pending against him and his brother. Since the respondent company refused to sell additional slurry he entertained a grudge against the company and in order to feed fat his personal grudge he resorted to several proceedings against the company including the present one. The prayer for the interim relief made by the petitioner i.e. permitting him to arrest/collect sludge/slurry flowing out of the washeries of the respondents with a direction to the State of Bihar, its officers and other authorities for not preventing him from collecting the sludge/slurry and transporting the same also collecting the sludge/slurry and transporting the same clearly indicates that he is interested in collecting the slurry and transporting the same for the purposes of his business. Therefore, there is no good reason to accept the petitioner's allegation that the water of the river Bokaro is being polluted by the discharge of sludge or slurry into it form the washeries of the respondent-company. On the other hand it is evident from records that the State Pollution Control Board has taken effective steps to check the pollution. [14B;12F-G] Kundori Labours Cooperative Society Ltd. & etc. etc. v. State of Bihar & Ors., AIR 1986 Patna 242; Bharat Cokin Coal Ltd. v. State of Bihar & Ors. [1990] 3 SCR 744= Judgments Today, vol. 3, 1990 SCC 533, referred to. JUDGMENT:
ORIGINAL JURISDICTION: Writ Petition (C) No. 381 of 1998.
8(Under Article 32 of the Constitution of India). S.K. Sinha for the Petitioner.
D. Goburdhan, Ms. A. Subhashini, K.K. Lahiri, Ms. Lira Goswami and D.N. Misra for the Respondents.
The Judgement of the Court was delivered by SINGH,J. We heard the arguments in detail on 13.12. 1990 and dismissed the petition with costs amounting to Rs. 5,000 with the direction that the reasons shall be delivered later on. We are, accordingly, delivering our reasons.
This petition is under Article 32 of the Constitution by Subhash Kumar for the issue of a writ or direction directing the director of Collieries, West Bokaro Collieries at Ghatotand, District Hazaribagh in the State of Bihar and the Tata from & Steel Co. Ltd. to stop forthwith discharge of slurry/sludge from its washeries at Ghatotand in the District of Hazaribagh into Bokaro river. This petition is by way of public interest litigation for preventing the pollution of the Bokaro river water from the sludge/slurry discharged form the washeries of the Tata Iron & Steel Co. Ltd. The petitioner has alleged that the Parliament has enacted the Water (Prevention and Control of Pollution) Act, 1974 (hereinafter referred to as `the Act') providing for the prevention and control of water pollution and the maintaining or restoring of wholesomeness of water, for the establishment of Board for the prevention and control of water pollution. Under the provisions of the Act the State Pollution Control Board constituted to carry out functions prescribed under Section 17 of the Act which among other things provide that the Board shall inspect sewage or trade effluents and plants for the treatment of sewage and trade effluents and to review plans, specifications or other data set up for the treatment of water and to lay down standards to be complied with by the persons while causing discharge of sewage or sullage. Section 24 of the Act provides that no person shall knowingly cause or permit any poisonous, noxious or polluting matter to enter into any stream or well, which may lead to a substantial aggravation of pollution. The petitioner has asserted that Tata Iron and Steel Co-respondent No.5 carries on mining operation in coal mines/washeries in the town of Jamshedpur. These coal mines and collieries are known as West Bokaro Collieries and the Collieries have two coal washeries where the coal after its extraction from the mines is brought and broken into graded pieces and there-
9after it is processed for the purpose of reducing its ash contents. A chemical process is carried out which is known as `froth floatation process'. Under this process the graded coal is mixed with diesel oil, pine oil and many other chemical ingredients and thereafter it is washed with the lacs of gallons of water. The end water is washed coal with reduced quantity of ash content fit for high graded metallurgical process for the purposes of manufacture of steel. In the process of washing large quantity of water is discharged through pipes which carry the discharged water to storage ponds constructed for the purpose of retaining the slurry. Along with the discharged water, small particles of coal are carried away to the pond where the coal particles settle down on the surface of the pond, and the same is collected after the pond is de-watered. The coal particles which are carried away by the water is called the slurry which is ash free, it contains fine quality of coal which is used as fuel.
The petitioner has alleged that the surplus waste in the form of sludge/slurry is discharged as an effluent from the washeries into the Bokaro river which gets deposited in the bed of the river and it also gets settled on land including the petitioner's land bearing Plot No.170. He was further alleged that the sludge or slurry which gets deposited on the agricultural land, is absorbed by the land leaving on the top a fine carbonaceous product or film on the soil, which adversely affects the fertility of the land. The petitioner has further alleged that the effluent in the shape of slurry is flown into the Bokaro river which is carried out by the river water to the distant places polluting the river water as a result of which the river water is not fit for drinking purposes nor it is fit for irrigation purposes. The continuous discharge of slurry in heavy quantity by the Tata Iron & Steel Co. from its washeries posing risks to the health of people living in the surrounding areas and as a result of such discharge the problem of pure drinking water has became acute. The petitioner has asserted that inspite of several representations, the State of Bihar and State Pollution Control Board have failed to take any action against the Company instead they have permitted the pollution of the river water. He has further averred that the State of Bihar instead of taking any action against the Company has been granting leases on payment of royalty to various persons for the collection of slurry. He has, accordingly, claimed relief for issue of direction directing the respondents which include the State of Bihar, the Bihar Pollution Control Board, Union of India and Tata Iron & Steel Co. to take immediate steps prohibiting the pollution of Bokaro river water from the discharge of slurry into the Bokaro river and to take further action under provisions of the Act against the Tata Iron & Steel Co.
10The respondents have contested the petition and counter-affidavits have been filed on behalf of the respondent Nos. 2, 4 and 5-State of Bihar, State Pollution Board, Directors of Collieries and Tata Iron & Steel Co. Ltd. In the counter-affidavits filed on behalf of the respondents, the petitioner's main allegation that the sludge/slurry is being discharged into the river Bokaro causing pollution to the water and the land and that the Bihar State Pollution Board has not taken steps to prevent the same is denied. In the counter-affidavit filed on behalf of the Bihar State Pollution Board it is asserted that the Tata Iron & Steel Co. operates open case and underground mining. The Company in accordance to Sections 25 and 26 of the Water (Prevention Control of Pollution) Act, 1974 applied for sanction from the Board of discharge their effluent from their outlets. The Board before granting sanction analysed their effluent which was being watched constantly and monitored to see that the discharges does not affect the water quality of the Bokaro river adversely. In order to prevent the pollution the Board issued direction to the Director of the Collieries to take effective steps for improving the quality of the effluent going into the Bokaro river. The State Pollution Board imposed conditions requiring the Company to construct two settling tanks for settlement of solids and rewashing the same. The Board directed for the regular samples being taken and tested for suspended solids and for the communication of the results of the tests to the Board each month. The State Board has asserted that the Company has constructed four ponds ensuring more storing capacity of effluent. The Pollution Board has been monitoring the effluent. It is further stated that on the receipt of the notice of the instant writ petition the Board carried out an inspection of the settling tanks regarding the treatment of the effluent from the washeries on 20th June, 1988. On inspection it was found that all the four settling tanks had already been completed and work for further strengthening of the embankment of the tanks was in progress, and there was no discharge of effluent from the washeries into river Bokaro except that there was negligible seepage from the embankment. It is further stated that the Board considered all the aspects and for further improvement it directed the management of the collieries for removal of the settle slurry from the tanks. The Board has directed that the washeries shall perform desludging of the settling tanks at regular intervals to achieve the proper required retention time for the separation of solids and to achieve discharge of effluents within the standards prescribed by the Board. It is further asserted that at present there is no discharge from any of the tanks of the Bokaro river and there is no question of pollution of the river water of affecting the fertility of land. In their affidavits files on behalf of the respondent-
11Nos. 4 and 5, they have also denied the allegations made in the petition. They have asserted that the effective steps have been taken to prevent the flow of the water discharge from the washeries into the river Bokaro. it is stated that infact river Bokaro remains dry during 9 months in a year and the question of pollution of water by discharge of slurry into the river does not arise. However, the management of the washeries have constructed from different ponds to store the slurry. The slurry which settles in the pounds is collected for sale. The slurry contains highly carbonaceous materials and it is considered very valuable for the purpose of fuel as the ash contents are almost nil in the coal particles found in the slurry. Since, it has high market value, the Company would not like it to go in the river water. The Company has taken effective steps to ascertain that no slurry escapes from its ponds at the slurry is highly valuable. The Company has been following the directions issued by the State Pollution Control Board constituted under the 1974 Act.
On the facts as appearing from the pleadings and the specific averments contained in the counter-affidavit filed on behalf of the State Pollution Control Board of Bihar, prima facie we do not find any good reason to accept the petitioner's allegation that the water of the river Bokaro is being polluted by the discharged of sludge or slurry into it from the washeries of the respondent-company. On the other hand we find that the State Pollution Control Board has taken effective steps to check the pollution. We do not consider it necessary to delve into greater detail as the present petition does not appear to have been filed in public interest instead the petition has been made by the petitioner in his own interest.
On a perusal of the counter-affidavit filed on behalf of the respondent Nos. 4 and 5 it appears that the petitioner has been purchasing slurry from the respondent Nos. 4 and 5 for the last several years. With the passage of time he wanted more and more slurry, but the respondent- company refused to accept his request. The petitioner is an influential businessman, he had obtained a licence for coal trading, he tried to put pressure through various sources on the respondent-company for supplying him more quantity of slurry but when the Company refused to succumb to the pressure, he started harassing the Company. He removed the Company's slurry in an unauthorised manner for which a Criminal Case No., 173 of 1987 under Sections 379 and 411 of the Indian Penal Code read with Section 7 of the Essential Commodities Act was registered against the petitioner and Pradip Kumar his brother at Police Station Mandu, which is pending before-
12the Sub-Judge, Hazaribagh. One Shri Jugal Kishore Jayaswal also filed a criminal complaint under Section 379 and 411 of the IPC against the petitioner and his brother Pradip Kumar in the Court of Judicial Magistrate, First Class, Hazaribagh, which is also pending before the Court of Judicial Magistrate, 2nd Class Hazaribagh. The petitioner initiated several proceedings before the High Court of Patna under Article 226 of the constitution for permitting him to collect slurry from the Raiyati land. These petitions were dismissed on the ground of existence of dispute relating to the title of the land. The petitioner filed a writ petition C.W.J.C. No. 887 of 199o in the High Court of Patna for taking action against the Deputy Commissioner, Hazaribagh for implementing the Full Bench judgment of the Patna High Court in Kundori Labours Cooperative Society Ltd. & etc. etc. v. State of Bihar & Ors., AIR 1986 Patna 242 wherein it was held that the slurry was neither coal nor mineral instead it was an industrial waste of coal mine, not subject to the provisions of the Mines and Mineral (Regulation and Development) Act, 1957. Consequently the collection of slurry which escaped from the washeries could be settled by the State Government with any person without obtaining the sanction of the Central Government. The petitioner has been contending before the High Court that the slurry which was discharged from washeries did not belong to the Company and he was entitled to collect the same. Since the respondent- company prevented the petitioner from collecting slurry from its land and as it further refused to sell any additional quantity of slurry to him, he entertained grudge against the respondent-company. In order to feed fat his personal grudge he has taken several proceedings against the respondent-company including the present proceedings. These facts are quite apparent from the pleadings of the parties and the documents placed before the Court. Infact,there is intrinsic evidence in the petition itself that the primary purpose of filling this petition is not to serve any public interest instead it is in self-interest as would be clear from the prayer made by the petitioner in the interim stay application. The petitioner claim interim relief from this Court permitting him to arrest/collect sludge/slurry flowing out of the washeries of the respondent Nos. 4 and 5 and with a direction to the State of Bihar, its officers and other authorities for not preventing him from collecting the sludge/slurry and transporting the same. The prayer for the interim relief made by the petitioner clearly indicates that he is interested in collecting the slurry and transporting the same for the purposes of his business. As already state a Full Bench of the Patna High Court held that the slurry was not coal and the provisions of the Mines and Mineral (Regulation and Development) Act, 1957 were not applicable, the State Government was tree to settle the same-
13and the Tata Steel & Iron Co. had no right to collect the slurry which escaped from its washeries. The respondent-company filed an appeal before this Court. During the pendency of the aforesaid appeal, the petitioner filed the present petition. The appeal preferred by the Tata Iron & Steel Co. Ltd. and Bharat Coking Coal Ltd. was allowed by this Court and judgment of Patna High Court was set aside. The judgment of this Court is reported in Judgments today Vol. 3 1990 SC 533 wherein it has been held that the slurry/coal deposited on any and continues to be coal and the State Government has no authority in law to deal with the same and the slurry deposited on the Company's land belongs to the Company and no other person had authority to collect the same.
Article 32 is designed for the enforcement of Fundamental Rights of a citizen by the Apex Court. It provides for an extraordinary procedure to safeguard the Fundamental Rights of a citizen. Right to live is a fundamental right under Art 21 of the Constitution and it includes the right of enjoyment of pollution free water and air for full enjoyment of life. If anything endangers or impairs that quality of life in derogation of laws, a citizen has right to have recourse to Art, 32 of the Constitution for removing the pollution of water or air which may be detrimental to the quality of life. A petition under Art. 32 for the prevention of pollution is maintainable at the instance of affected persons or even by a group of social workers or journalists. But recourse to preceeding under Art. 32 of the Constitution should be taken by a person genuinely interested in the protection of society on behalf of the community. Public interest litigation cannot be invoked by a person or body or person to satisfy his or its personal grudge and enmity. if such petitions under Article 32, are entertained it would amount to abuse of process of the Court, preventing speedy remedy to other genuine petitioner from this Court. Personal interest cannot be enforced through the process of this Court under Art. 32 of the Constitution in the garb of a public interest litigation. Public interest litigation contemplates legal proceeding for vindication or enforcement of fundamental rights of a group of persons or community which are not able to enforce their fundamental rights on account of their incapacity, poverty or ignorance of law. A person invoking the jurisdiction of this Court under Art. 32 must approach this Court for the vindication of the fundamental rights of affected persons and not for the purpose of vindication of his personal grudge or enmity. It is duty of this Court to discourage such petitions and to ensure that the course of justice is not obstructed or polluted by unscrupulous litigants by invoking the extraordinary jurisdiction of this Court for personal matters under the garb-
14of the public interest litigation see Bandhua Mukti Morcha v. Union of India, [1984] 2 SCR 67; Pandey v. State of West Bengal, [1987] 2 SCC 295 at 331; Ramsharan Autyanuprasi & Anr. v. Union of India & Ors., [1989] Suppl. 1 SCC 251 and Chhetriya Pardushan Mukti Sangharsh Samiti v. State of U.P. & Ors., [1990] 4 SCC 449.
In view of the above discussion we are of the opinion that this petition has been filed not in any public interest but for the petitioner's personal interest and for these reasons we dismissed the same and directed that the petitioner shall pay Rs. 5,000 as costs. These costs are to be paid to the respondent Nos. 3,4 & 5.
T.N.A. Petitions dismissed
15


- valueOf(String) - Static method in enum it.polimi.sw2019.commons.Character
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum it.polimi.sw2019.commons.Colors
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum it.polimi.sw2019.commons.messages.TypeOfMessage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum it.polimi.sw2019.commons.TypeOfAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum it.polimi.sw2019.model.EffectsKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum it.polimi.sw2019.model.KindOfVisibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum it.polimi.sw2019.model.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum it.polimi.sw2019.model.WeaponsType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum it.polimi.sw2019.commons.Character
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum it.polimi.sw2019.commons.Colors
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum it.polimi.sw2019.commons.messages.TypeOfMessage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum it.polimi.sw2019.commons.TypeOfAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum it.polimi.sw2019.model.EffectsKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum it.polimi.sw2019.model.KindOfVisibility
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum it.polimi.sw2019.model.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum it.polimi.sw2019.model.WeaponsType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verifyConnected(String) - Method in class it.polimi.sw2019.network.server.Server
-
method to verify if the user is still connected
- verifyOnline(Message, VirtualView) - Method in class it.polimi.sw2019.network.server.Server
-
this method verify if the players in queue are online during matching phase (else it removes them)
- ViewInterface - Interface in it.polimi.sw2019.view
-
- virtualAmmo() - Method in class it.polimi.sw2019.model.Player
-
I wrote this method to simplify the method canIPay() it considers the powerUps in the total count of the Ammo
- virtualAmmoTest() - Method in class it.polimi.sw2019.TestPlayer
-
- VirtualView - Class in it.polimi.sw2019.network.server
-
- VirtualView() - Constructor for class it.polimi.sw2019.network.server.VirtualView
-
Default constructor (for testing)
- VirtualView(Server) - Constructor for class it.polimi.sw2019.network.server.VirtualView
-
Customize constructor
- VirtualViewSimulator - Class in it.polimi.sw2019
-
class made to test the controller
- VirtualViewSimulator(List<String>) - Constructor for class it.polimi.sw2019.VirtualViewSimulator
-
- visibilePlayer() - Method in class it.polimi.sw2019.model.Player
-
useful to update thor visibility
- Visibility - Class in it.polimi.sw2019.model
-
- Visibility() - Constructor for class it.polimi.sw2019.model.Visibility
-
- Visibility(Board) - Constructor for class it.polimi.sw2019.model.Visibility
-
- visibility(KindOfVisibility, Player, int, boolean, int) - Method in class it.polimi.sw2019.model.Visibility
-
depending on the kindOfVisibility this method calls the correspondent method and give it the correct input
- visibilityTest() - Method in class it.polimi.sw2019.TestVisibility
-
- visible(Player, int, boolean) - Method in class it.polimi.sw2019.model.Visibility
-
used to know targets for VISIBLE effects
- visibleCells() - Method in class it.polimi.sw2019.model.Player
-
- visibleCellsTest() - Method in class it.polimi.sw2019.TestPlayer
-
- visiblePlayerTest() - Method in class it.polimi.sw2019.TestPlayer
-
- visibleTest() - Method in class it.polimi.sw2019.TestVisibility
-


A simple comparison
In this experiment we generated one thousand C files with contents that looked like this.
#include<stdio.h>
#include"header.h"
int func23() { return 0; }
The function number was different in each file. In addition there was a main C file that just called each function in turn. We then generated build system files for Meson, CMake, SCons, Premake and Autotools that compiled these files into a single executable.
With this we measured three different things. The first is configuration time, that is, the time the build system takes to generate necessary build files. This is usually called the configure step. The time was measured in seconds.
The second thing to measure was the build time. This should be limited by the compiler and in the optimal case should be the same for every build system. Four parallel processes were used in this test.
The third thing we measured was the empty build time. This measures how much time the build system takes to check the states of all source files because if any of them could potentially cause a rebuild.
Since CMake has two different backends, Make and Ninja, we ran the tests on both of them. All tests were run on a 2011 era Macbook Pro running Ubuntu 13/04. The tests were run multiple times and we always took the fastest time.
Here are the results for configuration time.
The reason SCons got zero seconds on this test is because you cannot separate configure and build steps. They run as one unit. Autotools is the clear loser of this test as it is over an order of magnitude slower than the second slowest one. This configuration time includes both autogen and configure. All other systems take less than one second to do this setup, which is fast enough for a human being to interpret as instantaneous.
Build times are a bit more even. SCons is the slowest, being almost ten seconds slower than the second slowest. Some of it is work from the configure step but it still has the worst performance. Premake is the fastest Make-based build system narrowly beating out Autotools. Both Ninja-based build systems are faster than all non-Ninja ones with Meson being slightly faster. In practice the difference is minimal. The advantages of Ninja can be seen by comparing CMake's times when using Make or Ninja. It is possible to shave off 3.5 seconds (over 20%) of the total build time just by changing the backend. The project's CMake configuration files don't need any changes.
Empty build times reflect the performance of regular build times. SCons is again the slowest taking over three seconds compared to Meson, which takes only 0.03 seconds, a difference of two orders of magnitude. Even Autotools, the fastest Make-based system, is almost one order of magnitude slower. Ninja holds the top spots just like in the previous test.
Conclusions
Build system performance matters. Even with this extremely simple example we can find differences between various popular build systems. As the project size increases, these differences grow even larger. (The author has witnessed no-op build times of 30 seconds for Make versus less than one second for Ninja when compiling the Clang compiler.) Keeping incremental build times low is one of the major keys of programmer productivity as it allows developers to iterate faster and stay in the creative zone.
Original scripts
Those who want to run these experiments themselves can download the scripts here:
The results of the search are


Review:
ANTZ A movie review by Joe Barlow (c) Copyright 1999
STARRING (the voices of): Woody Allen, Sharon Stone, Dan Ackroyd, Sylvester Stallone, Gene Hackman, Danny Glover, Anne Bancroft DIRECTORS: Eric Darnell, Lawrence Guterman, Tim Johnson WRITERS: Todd Alcott, Chris Weitz, Paul Weitz RATED: PG RELEASED: 1998
"Handling dirt is not my idea of a rewarding career," laments Z, the tiny, unwitting hero of Dreamworks' remarkable animated odyssey, Antz. His frustration is understandable, for he lives in a rigid society that eschews individuality. All ants are expected to march, walk, think, and even dance in exactly the same fashion-- not good news for someone like Z, who longs for fun and love, even if it means reducing productivity.
The colony's social pecking order is well established; at birth, all ants are sorted into one of two groups: "workers," who construct tunnels, or "soldiers," who defend the colony against predators. Although society has deemed him a worker, Z (voiced by Woody Allen) could more aptly be called a dreamer; his mind wanders constantly, and his co-workers consider him a clumsy weakling who can lift a "mere" ten times his body weight.
Z's luck changes when he meets a fascinating gal named Bala (Sharon Stone) at the colony's saloon. They have fun together, but she's way out of his league: not only isn't she a worker, she's royalty-- the daughter of the Queen (Anne Bancroft) herself! But even so, the lovestruck Z can't forget her. He convinces his best friend, a soldier ant named Weaver (Sylvester Stallone), to switch places with him for one day, which will hopefully give Z the chance to speak with her again. It's a sound plan, but unexpected complications creep in when the soldiers are suddenly ordered to defend the colony against a possible termite invasion. Z, woefully unprepared for battle, suggests alternatives to combat ("Can't we just influence their political maneuvers via campaign contributions?"), but to his chagrin the confrontation is unavoidable.
Antz is a thoroughly involving film, filled to the brim with lovingly constructed visuals and a number of clever plot twists; the summary I gave in the preceding paragraphs reveals only a very small portion of the storyline. If it contained nothing more than entertaining visuals and humorous characters, the story would be perfectly acceptable. But the creators didn't rest on their laurels; surprisingly, Antz sneaks a fair amount of social commentary into its frames. It's not hard to recognize ourselves and modern society in the film, which is perhaps the reason the tale works so well: we all know people who act like the various inhabitants of the ant hill.
The intelligence of the screenplay was one of the biggest (and nicest) surprises for me; in addition to the predictable (though admittedly well done) gags involving magnifying glasses and picnics, Antz depicts a level of religious satire uncommon in what's ostensibly a kid's movie. How?
**SPOILER WARNING!**
While watching the film, it occurred to me that Z is essentially playing the role of a Christ figure: he becomes a teacher to the masses and is denounced by naysayers ("Does Z really care about us? Then where is he?"). In the finale, Z's selflessness saves the other ants, although he "dies" in the process... only to return from the dead. Hmm. I guess it's possible the filmmakers didn't intend any of these scenes to have religious overtones, but they seemed pretty obvious to me. Social satire also appears: the film's biggest laugh comes when an insightful worker ant experiences a revelation: "The workers control the means of production!"
The final shot of Antz borders on brilliant: the "camera" lifts up out of the ant hill and pulls further and further back, until we see that all the grand sights and visuals that have taken place over the course of the story occurred only a few yards from each other. The message is clear: perception is everything, and even big problems don't seem so insurmountable after you get some distance from them. It's a message we'd all do well to remember.
RATING: *** 1/2 (out of a possible ****)
Copyright (c)1998 by Joe Barlow. This review may not be reproduced without the written consent of the author.
E-Mail<EMAIL_ADDRESS>Joe Barlow on Film: http://www.ipass.net/~jbarlow/film.htm
If you'd like to receive new film reviews by e-mail, please write to<EMAIL_ADDRESS>Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


|
CCfits
2.4
|
Classes | |
| class | CCfits::Column::RangeError |
| exception to be thrown for inputs that cause range errors in column read operations. More... | |
| class | CCfits::ExtHDU::WrongExtensionType |
| Exception to be thrown on unmatched extension types. More... | |
| class | CCfits::FITS::CantCreate |
| thrown on failure to create new file More... | |
| class | CCfits::FITS::CantOpen |
| thrown on failure to open existing file More... | |
| class | CCfits::FITS::NoSuchHDU |
| exception thrown by HDU retrieval methods. More... | |
| class | CCfits::FITS::OperationNotSupported |
| thrown for unsupported operations, such as attempted to select rows from an image extension. More... | |
| class | CCfits::FitsError |
| FitsError is the exception thrown by non-zero cfitsio status codes. More... | |
| class | CCfits::FitsException |
| FitsException is the base class for all exceptions thrown by this library. More... | |
| class | CCfits::FitsFatal |
| [potential] base class for exceptions to be thrown on internal library error. More... | |
| class | CCfits::FITSUtil::UnrecognizedType |
| exception thrown by MatchType if it encounters data type incompatible with cfitsio. More... | |
| class | CCfits::HDU::InvalidExtensionType |
| exception to be thrown if user requests extension type that can not be understood as ImageExt, AsciiTable or BinTable. More... | |
| class | CCfits::HDU::InvalidImageDataType |
| exception to be thrown if user requests creation of an image of type not supported by cfitsio. More... | |
| class | CCfits::HDU::NoNullValue |
| exception to be thrown on seek errors for keywords. More... | |
| class | CCfits::HDU::NoSuchKeyword |
| exception to be thrown on seek errors for keywords. More... | |
| class | CCfits::Table::NoSuchColumn |
| Exception to be thrown on a failure to retrieve a column specified either by name or index number. More... |


|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.CORBA.DefinitionKind
public class DefinitionKind
The class that provides the constants used to identify the type of an
Interface Repository object. This class contains two kinds of constants,
those that are an int
and those that are an instance of the class
DefinitionKind
. This class provides the method
from_int
, which given one
of the int
constants, creates the corresponding
DefinitionKind
instance. It also provides the method
value
, which returns the int
constant that
is the value for a DefinitionKind
instance.
IRObject
| Field Summary | |
|---|---|
static int |
_dk_AbstractInterface
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Alias
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_all
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Array
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Attribute
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Constant
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Enum
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Exception
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Fixed
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Interface
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Module
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Native
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_none
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Operation
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Primitive
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Repository
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Sequence
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_String
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Struct
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Typedef
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Union
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Value
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_ValueBox
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_ValueMember
The constant that indicates that an Interface Repository object does not have a definition kind. |
static int |
_dk_Wstring
The constant that indicates that an Interface Repository object does not have a definition kind. |
static DefinitionKind |
dk_AbstractInterface
The static instance of DefinitionKind indicating that an
Interface Repository object represents an abstract interface. |
static DefinitionKind |
dk_Alias
The static instance of DefinitionKind indicating that an
Interface Repository object is an Alias. |
static DefinitionKind |
dk_all
The wildcard DefinitionKind constant, useful
in all occasions where any
DefinitionKind is appropriate. |
static DefinitionKind |
dk_Array
The static instance of DefinitionKind indicating that an
Interface Repository object is an Array. |
static DefinitionKind |
dk_Attribute
The static instance of DefinitionKind indicating that an
Interface Repository object is an Attribute. |
static DefinitionKind |
dk_Constant
The static instance of DefinitionKind indicating that an
Interface Repository object is a constant. |
static DefinitionKind |
dk_Enum
The static instance of DefinitionKind indicating that an
Interface Repository object is an Enum. |
static DefinitionKind |
dk_Exception
The static instance of DefinitionKind indicating that an
Interface Repository object is an Exception. |
static DefinitionKind |
dk_Fixed
The static instance of DefinitionKind indicating that an
Interface Repository object is a Fixed value. |
static DefinitionKind |
dk_Interface
The static instance of DefinitionKind indicating that an
Interface Repository object is an Interface. |
static DefinitionKind |
dk_Module
The static instance of DefinitionKind indicating that an
Interface Repository object is a Module. |
static DefinitionKind |
dk_Native
The static instance of DefinitionKind indicating that an
Interface Repository object is a Native value. |
static DefinitionKind |
dk_none
The static instance of DefinitionKind indicating that an
Interface Repository object has no definition kind. |
static DefinitionKind |
dk_Operation
The static instance of DefinitionKind indicating that an
Interface Repository object is an Operation. |
static DefinitionKind |
dk_Primitive
The static instance of DefinitionKind indicating that an
Interface Repository object is a Primitive. |
static DefinitionKind |
dk_Repository
The static instance of DefinitionKind indicating that an
Interface Repository object is a Repository. |
static DefinitionKind |
dk_Sequence
The static instance of DefinitionKind indicating that an
Interface Repository object is a Sequence. |
static DefinitionKind |
dk_String
The static instance of DefinitionKind indicating that an
Interface Repository object is a String. |
static DefinitionKind |
dk_Struct
The static instance of DefinitionKind indicating that an
Interface Repository object is a Struct. |
static DefinitionKind |
dk_Typedef
The static instance of DefinitionKind indicating that an
Interface Repository object is a Typedef. |
static DefinitionKind |
dk_Union
The static instance of DefinitionKind indicating that an
Interface Repository object is a Union. |
static DefinitionKind |
dk_Value
The static instance of DefinitionKind indicating that an
Interface Repository object is a Value. |
static DefinitionKind |
dk_ValueBox
The static instance of DefinitionKind indicating that an
Interface Repository object is a ValueBox. |
static DefinitionKind |
dk_ValueMember
The static instance of DefinitionKind indicating that an
Interface Repository object is a ValueMember. |
static DefinitionKind |
dk_Wstring
The static instance of DefinitionKind indicating that an
Interface Repository object is a Wstring. |
| Constructor Summary | |
|---|---|
protected |
DefinitionKind(int _value)
Constructs a DefinitionKind object with its _value
field initialized with the given value. |
| Method Summary | |
|---|---|
static DefinitionKind |
from_int(int i)
Creates a DefinitionKind instance corresponding to the given code
. |
int |
value()
Returns the int constant identifying the type of an IR object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int _dk_none
public static final int _dk_all
public static final int _dk_Attribute
public static final int _dk_Constant
public static final int _dk_Exception
public static final int _dk_Interface
public static final int _dk_Module
public static final int _dk_Operation
public static final int _dk_Typedef
public static final int _dk_Alias
public static final int _dk_Struct
public static final int _dk_Union
public static final int _dk_Enum
public static final int _dk_Primitive
public static final int _dk_String
public static final int _dk_Sequence
public static final int _dk_Array
public static final int _dk_Repository
public static final int _dk_Wstring
public static final int _dk_Fixed
public static final int _dk_Value
public static final int _dk_ValueBox
public static final int _dk_ValueMember
public static final int _dk_Native
public static final int _dk_AbstractInterface
public static final DefinitionKind dk_none
DefinitionKind
indicating that an
Interface Repository object has no definition kind.
public static final DefinitionKind dk_all
DefinitionKind
constant, useful
in all occasions where any
DefinitionKind
is appropriate. The Container's
contents
method
makes use of this constant to return all contained definitions of any kind.
public static final DefinitionKind dk_Attribute
DefinitionKind
indicating that an
Interface Repository object is an Attribute.
public static final DefinitionKind dk_Constant
DefinitionKind
indicating that an
Interface Repository object is a constant.
public static final DefinitionKind dk_Exception
DefinitionKind
indicating that an
Interface Repository object is an Exception.
public static final DefinitionKind dk_Interface
DefinitionKind
indicating that an
Interface Repository object is an Interface.
public static final DefinitionKind dk_Module
DefinitionKind
indicating that an
Interface Repository object is a Module.
public static final DefinitionKind dk_Operation
DefinitionKind
indicating that an
Interface Repository object is an Operation.
public static final DefinitionKind dk_Typedef
DefinitionKind
indicating that an
Interface Repository object is a Typedef.
public static final DefinitionKind dk_Alias
DefinitionKind
indicating that an
Interface Repository object is an Alias.
public static final DefinitionKind dk_Struct
DefinitionKind
indicating that an
Interface Repository object is a Struct.
public static final DefinitionKind dk_Union
DefinitionKind
indicating that an
Interface Repository object is a Union.
public static final DefinitionKind dk_Enum
DefinitionKind
indicating that an
Interface Repository object is an Enum.
public static final DefinitionKind dk_Primitive
DefinitionKind
indicating that an
Interface Repository object is a Primitive.
public static final DefinitionKind dk_String
DefinitionKind
indicating that an
Interface Repository object is a String.
public static final DefinitionKind dk_Sequence
DefinitionKind
indicating that an
Interface Repository object is a Sequence.
public static final DefinitionKind dk_Array
DefinitionKind
indicating that an
Interface Repository object is an Array.
public static final DefinitionKind dk_Repository
DefinitionKind
indicating that an
Interface Repository object is a Repository.
public static final DefinitionKind dk_Wstring
DefinitionKind
indicating that an
Interface Repository object is a Wstring.
public static final DefinitionKind dk_Fixed
DefinitionKind
indicating that an
Interface Repository object is a Fixed value.
public static final DefinitionKind dk_Value
DefinitionKind
indicating that an
Interface Repository object is a Value.
public static final DefinitionKind dk_ValueBox
DefinitionKind
indicating that an
Interface Repository object is a ValueBox.
public static final DefinitionKind dk_ValueMember
DefinitionKind
indicating that an
Interface Repository object is a ValueMember.
public static final DefinitionKind dk_Native
DefinitionKind
indicating that an
Interface Repository object is a Native value.
public static final DefinitionKind dk_AbstractInterface
DefinitionKind
indicating that an
Interface Repository object represents an abstract interface.
| Constructor Detail |
|---|
protected DefinitionKind(int _value)
DefinitionKind
object with its _value
field initialized with the given value.
_value
- one of the int
constants defined in the
class DefinitionKind
| Method Detail |
|---|
public int value()
int
constant identifying the type of an IR object.
int
constant from the class
DefinitionKind
that is the value of this
DefinitionKind
instancepublic static DefinitionKind from_int(int i)
DefinitionKind
instance corresponding to the given code
.
i
- one of the int
constants from the class
DefinitionKind
DefinitionKind
instance corresponding
to the given code
BAD_PARAM
- if the given parameter is not
one
of the int
constants from the class
DefinitionKind
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


Use the OPD consultation or formulation to inform the assessment and the relevant sections of the report, for example, interventions, RMP and sentence plan. Do not copy a formulation into the report.


About Bio and some facts
Success-driven Administrator, armed with in-depth knowledge and hands-on experience business administration, accounting, financial management, customer service and facilitating process improvement initiatives. s Currently working to become a web developer


--- layout: post status: publish published: true title: MSDN Architecture Industry Centers author: display_name: Tomas Restrepo login: tomasr email<EMAIL_ADDRESS>url: http://winterdom.com/ author_login: tomasr author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ wordpress_id: 301 wordpress_url: http://winterdom.com/2006/08/msdnarchitectureindustrycenters date: '2006-08-30 05:37:03 +0000' date_gmt: '2006-08-30 05:37:03 +0000' categories: - Architecture tags: [] comments: [] ---
Just recently realized that the MSDN Architecture center actually had a set of industry-specific centers for architecture topics relating to the Financial Services, Manufacturing and Retail industries. Pretty cool, and lots of good stuff to read. A few articles that caught my eye:


Log In
Menu Name
Appetizers
Queso
3.99
Warm delicious cheese
Breakfast
Queso
3.99
Warm delicious cheese
Lunch
Queso
3.99
Warm delicious cheese
Dinner
Queso
3.99
Warm delicious cheese
Dessert
Queso
7.99
Warm delicious cheese


|
Manufacturer: LOGITECH Specs:*HD video calling (1280 x 720 pixels) with recommended system *Full HD 1080p video capture: Up to 1920 x 1080 pixel with recommended system *Photos: Up to 8.0 megapixels (software enhanced) *Built-in mic with automatic noise reduction |
|
Manufacturer: LOGITECH Specs:*HD video calling (1280 x 720 pixels) with recommended system *Full HD 1080p video capture: Up to 1920 x 1080 pixel with recommended system *Photos: Up to 8.0 megapixels (software enhanced) *Built-in mic with automatic noise reduction |
|
Manufacturer: LOGITECH Intro:Set up live streaming video with this Logitech Webcam Its innovative design lets you share images with audiences on Youtube and Twitch
for an enhanced viewing experience, and the automatic adjustment lets you stream in virtually any lighting conditions. Boasting two omnidirectional microphones, this Logitech webcam delivers clear, precise audio |


CSS Variable
Manipulation with Javascript
Add your image link
Blur
Wash Out
Accent Color
Background Color


API reference¶
Markov Methods¶
|
Classic Markov Chain estimation. |
|
Markov transitions conditioned on the value of the spatial lag. |
|
Markov for Local Indicators of Spatial Association |
|
Full Rank Markov in which ranks are considered as Markov states rather than quantiles or other discretized classes. |
|
Geographic Rank Markov. |
Kullback information based test of Markov Homogeneity. |
|
|
Prais conditional mobility measure. |
|
Test for homogeneity of Markov transition probabilities across regimes. |
|
Calculate sojourn time based on a given transition probability matrix. |
|
Generalized function for calculating the steady state distribution for a regular or reducible Markov transition matrix P. |
|
Generalized function for calculating mean first passage times for an ergodic or non-ergodic transition probability matrix. |
Variances of mean first passage times for an ergodic transition probability matrix. |
Directional LISA¶
|
Rose diagram based inference for directional LISAs. |
Economic Mobility Indices¶
|
Markov-based mobility index. |
Exchange Mobility Methods¶
|
Regime mobility measure. |
|
Kendall's Tau is based on a comparison of the number of pairs of n observations that have concordant ranks between two variables. |
|
Spatial version of Kendall's rank correlation statistic. |
|
Local version of the classic Tau. |
|
Neighbor set LIMA. |
|
Neighborhood set LIMA. |
|
Inter and intraregional decomposition of the classic Tau. |
Alignment-based Sequence Methods¶
|
Pairwise sequence analysis. |
Utility Functions¶
|
Random permutation of rows and columns of a matrix |
|
Flattens the lower part of an n x n matrix into an n*(n-1)/2 x 1 vector. |
Assign 1 to diagonal elements which fall in rows full of 0s to ensure the transition probability matrix is a stochastic one. |


These binaries allow a user to exec as another user. Useful if sudo is not on the machine (unlikely) or if sudo is restricted as these binaries may not have the same restricted permissions (ie user cannot run sudo <command> but they can run an alternate binary <command>)
pkexec (installed by default in Ubuntu as SUID)
Open Source Sudo Alternatives
System-specific Sudo Alternatives - The Solaris pfexec command can be used to run commands with extra privileges, as determined by the security profile.
- AIX has support for role-based access control (RBAC) that can be used to assign fine-grained privileges to a user.
- HP-UX has a resticted verson of the SAM system administration tool that allows non-root users to perform specific tasks.
Commercial Alternatives


I am an educator, and college writing teacher interested in becoming a part of the tech industry. I have taught myself HTML, CSS, as well as Javascript, and have a year’s worth of experience creating applications that include front-end and back-end development. I have experience working with command lines, building responsive applications using React, creating logos using HTML and CSS, and I am currently working on a face recognition application.
I have over ten years of experience as an educator, and have published short stories and essays. I have a Master of Fine Arts in Creative Writing, and I have years of experience in creative collaborative projects.
View ResumeA responsive application with searchable cards built using React, JavaScript, JSON, HTML and CSS. Learned about React’s ecosystem and abilities with one way data flow, components, and state. Learned about destructuring JavaScript expressions for a more dynamic application interface.
A responsive application with searchable cards built using React and a public API using JavaScript, HTML, CSS. Linked front end development capabilities with server side information. This fun little application takes a Star Wars character’s name and statistics such as age, and birth planet, and places it on a searchable card.
A handy application that could be used for website design, or brainstorming ideas for color schemes. The background generator is built using JavaScript, HTML, CSS and knowledge of DOM. This responsive application also has a randomize function included for creative inspiration.
More to follow!
Email me for more info!


| About Dailyrotten |
|
Feedback
If you like this page, hate it, or would like to suggest changes,
<EMAIL_ADDRESS>is listening. This page
is somewhat different from what we usually offer, so please
do send your feedback.
Help Support Daily Rotten
To this end, you may wish to visit the
Rotten Store. Thanks for helping to keep the lights on.
Adding Stories
If you are a rotten newshound and you would like to suggest a story,
visit our submit page to
send us the URL. Stories that are accepted will have your name credited.
Viewership
On the first full day this page went live, 100,000 people visited this Rotten
News page. Of course that was the day after the WTC attacks, so that number is
somewhat distorted. Right now this page gets between 50,000 and 75,000 people
every day.
Linking
We encourage everyone to link to this page; if you like it, others probably
will as well.
Other Rotten
Rotten
Pornopolis
Gaping Maw
Celebrity Morgue
Mugshots
Rotten Store
Shockumentary
Rate My Poo
Rate My Kitten
Rate My Bunny
Rate My Puppy
Rate My Finger
Penny Postcards
Leisure Town
Jerkcity
Phallic
Dr. Sputnik
Boners
Dead Pool
NNDB
Home
Make Dailyrotten your start page
|
|
|
August 13, 2003
Televangelist claims to advise White House
MSNBC | Submitted by: optional
"Is the Bush administration turning to a televangelist doomsayer for political predictions? Apocalyptic preacher Jack Van Impe is claiming that he was contacted by Condoleezza Rice's office and the White House Office of Public Liaison for an 'outline' of his take on world events. Van Impe is the author of such books as Israel's Final Holocaust and The Great Escape: Preparing for the Rapture, the Next Event on God's Prophetic Clock. He has predicted that the end of the world will strike somewhere between 2003 and 2012 and one reviewer has called his TV preaching show with wife Rexella 'a fantastically loopy apocalyptic take on the week's news.'"
|
|
Read article...
|
|
Ashcroft attempting to resurrect web censorship law
capitolhillblue.com | Submitted by: Reid Fleming
"Attorney General John Ashcroft has appealed to the Supreme Court to reinstate a law that punishes Web site operators who expose children to dirty pictures and other inappropriate material. ... A Philadelphia-based appeals court has twice ruled that the 1998 law, known as the Child Online Protection Act, unconstitutionally restricts speech. The law has been on hold since it was challenged by the American Civil Liberties Union on behalf of artists, book stores and others who put information on the Web."
|
|
Read article... and
This article...
|
|
Man kills parents over sex toy
Folha Online | Submitted by: Ricardo Farão
A São Paulo man called the police to inform that both of his parents has been murdered. After Carlos A. Canuto confessed to the police, he explained that he committed the murders -- by stabbing one with a machete and strangling the other -- because his religious parents objected to the idea of Carlos having a inflatable love doll. Article in Portugese.
|
|
Read article...
|
|
Yet another Matthew Shepard
gfn.com | Submitted by: Reid Fleming
"In an effort to determine how they will categorize the crime, Michigan authorities await the autopsy report for an 18-year-old bisexual man, discovered lying unconscious in a ditch with his wrists bound and his eyes glued shut. ... 'There was evidence of torture and restraint,' said Crystal Witt, a victim’s advocate at the Triangle Foundation. 'His eyes were glued shut and his body had scrapes —- that indicates he was stumbling and falling.'"
|
|
Read article...
|
|
Girl's thumb extracted from pit bull's stomach
Chicago Sun-Times | Submitted by: Tim Howard
"The thumb of an 8-year-old Romeoville girl bitten off during an attack Tuesday evening by a pit bull was retrieved from the dog's stomach in hopes it could be reattached, police said. ... The dog had bitten the girl on the neck and chewed off her thumb, said Romeoville Police Sgt. Glenn Littrell. Firefighters took her to Edward Hospital in Naperville and police searched for the thumb at the scene. It didn't turn up, so they decided to destroy the dog to find it, Littrell said."
|
|
Read article...
|
|
Iraq war planning began on 9-13
utne.com | Submitted by: Goopie
"On September 13, 2001, during a meeting at Camp David with President Bush, Rumsfeld, and others in the Bush administration, Wolfowitz said he discussed with President Bush the prospects of launching an attack against Iraq, for no apparent reason other than a 'gut feeling' Saddam Hussein was involved in the attacks, and there was a debate 'about what place if any Iraq should have in a counter-terrorist strategy.'"
|
|
Read article...
|
|
Ted Nugent making friends in Illinois
WMAQ-TV 5 Chicago | Submitted by: Reid Fleming
"Rocker Ted Nugent called Illinois residents 'spineless, apathetic, embarrassing wimps,' just hours before performing at the Illinois State Fair. Nugent, known for the song 'Cat Scratch Fever,' made the comments Monday during a radio show on WJJG-AM hosted by John Cox, a Republican candidate for U.S. Senate. Nugent said Illinois residents fail to reach out to their elected officials. 'I get to feel the pulse of working-hard, playing-hard America,' Nugent said. 'And right now one of the most embarrassing, and I believe grossly irresponsible regions of apathy, is right now listening in Illinois. Illinois people have become so sheeplike. How many people listening right now have called their senator or congressman or governor? ... They are spineless, apathetic, embarrassing wimps.'"
|
|
Read article...
|
|
They saved Ted Williams' brain, sorta
Sports Illustrated | Submitted by: heptapod
"The silver can containing Williams' head resembles a lobster pot and is marked in black with Williams' patient I.D. number, A-1949... Williams' head has been shaved and drilled with holes. ... before the head was placed in its present location, it was accidentally cracked as many as 10 times due to fluctuating storage temperatures. ... Two dime-size holes were drilled into the head to observe the brain condition and, more important, to insert sensors that could detect cracks during the freezing process. But after 'a huge crack' occurred in the head in April and nine more cracks were reported in July, Williams' head was removed from its original container and eventually placed in its current 'neuro-can.'"
|
|
Read article...
|
|
Ex-con allegedly ready to kill over stolen pen
n-jcenter.com | Submitted by: Reid Fleming
"[George L. Crossley Jr.] -- a prominent conservative Christian commentator convicted in 1997 of trying to hire a hit man to kill his mistress' ex-husband -- was up on a charge of violating his probation. ... Crossley was working as a pizza-delivery driver when in May he was accused by a co-worker, Sara Famiglietti, of saying he intended to kill another employee of the Lake Mary pizzeria, Brandel Constance. ... Famiglietti, 19, testified Monday that Crossley told her he wanted to kill Constance because she had taken a pen from him. 'He said he didn't care if they put him in the electric chair, he was going to kill her.'"
|
|
Read article...
|
|
Anonymous racist public service leaflet circulated
KMGH-TV 7 Denver | Submitted by: Tim Howard
"The FBI and local law enforcement agencies have been called in to investigate some racist fliers that were distributed throughout Eagle County Tuesday morning, 7NEWS Investigates reported. The fliers say, 'Don't Have Sex With Blacks. Avoid AIDS.' Eagle police said they received several phone calls from residents who woke up to find these fliers on their doorsteps and on their car windshields. Police told 7NEWS Investigates that the fliers were distributed throughout Eagle County, and not just in the town of Eagle.  Don't Be the Next Victim.'"
|
|
Read article...
|
|
Texas public school system run by lying fucks
New York Times | Submitted by: LucrezaBorgia
"Robert Kimball, an assistant principal at Sharpstown High School, sat smack in the middle of the 'Texas miracle.' His poor, mostly minority high school of 1,650 students had a freshman class of 1,000 that dwindled to fewer than 300 students by senior year. And yet -- and this is the miracle -- not one dropout to report! ... Westside High here had 2,308 students and no reported dropouts; Wheatley High 731 students, no dropouts. ... KHOU broke the news that Sharpstown High had falsified its dropout data. That led to a state audit of 16 Houston schools, which found that of 5,500 teenagers surveyed who had left school, 3,000 should have been counted as dropouts but were not. Last week, the state appointed a monitor to oversee the district's data collection and downgraded 14 audited schools to the state's lowest rating."
|
|
Read article...
|
|
Woman shot by handgun stashed in oven
Newsday | Submitted by: Tim Howard
"A 22-year-old woman was wounded when a handgun that had been hidden inside an oven discharged when she opened the door, police said. Colsaun Bailey, the 17-year-old alleged owner of the gun, was arrested, though police said they did not believe he fired the weapon, The Journal News reported Wednesday. 'We are operating on the assumption that nobody picked up the gun and fired it,' police Capt. John McCoy told the newspaper. Police said Bailey put two handguns in a bag then placed it inside the oven, which someone later turned on. When the woman opened the oven door to see why smoke was coming from it, one of the guns discharged, striking her, police said."
|
|
Read article...
|
|
Fox News sues author, insults viewers' intelligence
Victoria Advocate | Submitted by: Reid Fleming
"Al Franken, the humorist being sued by Fox News Channel for use of the phrase 'fair and balanced,' said Tuesday he doesn't mind the legal action. But he does wish it hadn't happened during his vacation. Fox sued the former Saturday Night Live performer and his publisher, the Penguin Group, to stop them from including 'fair and balanced' in the title of his upcoming book. Filed Monday in State Supreme Court in Manhattan, the trademark infringement lawsuit seeks to force Penguin to rename Lies and the Lying Liars Who Tell Them: A Fair and Balanced Look at the Right, scheduled for release next month. ... 'I normally prefer not to be out of the country on vacation when I'm sued. However, from everything I know about law regarding satire, I'm not worried.'"
[The lawsuit claims that the title will trick the public into believing that Fox News Channel published the book. Jesus Christ, the freaking thing is called Lies and the Lying Liars Who Tell Them: A Fair and Balanced Look at the Right. If they actually believe that their audience will get confused by this, then they're effectively calling their own viewers morons.]
|
|
Read article... and
This article...
|
|
Lousy father, but dedicated strip club patron
theneworleanschannel.com | Submitted by: Tim Howard
"A Florida dad is in jail, after he allegedly left his kids in a pickup truck while he visited a strip club. Police in Tampa say Olvin Pabon paid a $20 cover at the Deja Vu bar, and spent about 20 minutes inside. A security guard outside heard crying and found the four children in the pickup truck. Security officers and several patrons blocked Pabon's pickup truck until police arrived."
|
|
Read article...
|
|
Penthouse files for Chapter 11 protection
Bloomberg | Submitted by: ChromeDome
"General Media Inc., the publisher of Penthouse magazine, filed for bankruptcy after competition from the Internet, retail video outlets and cable television left the company unable to pay its creditors. ... Penthouse's revenue has fallen 53 percent in the past decade to $53.8 million, and liabilities exceed assets by $64 million, regulatory filings show. ... 'I believe the additional funding and prompt filing of a plan of reorganization will present the best means to preserve and enhance the value inherent in the brand for its many stakeholders,' said General Media Chairman Bob Guccione."
|
|
Read article...
|
|
New hotel for 'Sealab 2021' geeks
Middle East North Africa Financial Network | Submitted by: Reid Fleming
"Dubai has announced the launch of Hydropolis Hotel project -- the world's first underwater super luxury resort hotel. It will be built at a cost of more than US$500 million. ... Hydropolis Hotel is expected to be ready by October 2006. The hotel complex will have 220 suites with the potential for further expansion."
|
|
Read article...
|
|
|
|
|


Snookes1516.github.io
News For Parents.org - How to Motivate HIGH SCHOOL - Homework Help For Grades 9-12. Resources for High School Students MATH. Math2.org - source for all your math needs- geometry, algebra, trigonometry. Get an answer for 'What positive and negative effect does technology have on a student's development of learning?What positive and negative effect does technology. Need to do some research for a paper or group project? Anxious to boost your next grade in math class? Want to take a look at historical school archives and ages-old. Old Dogs, New Math: Homework Help for Puzzled Parents. Learn Spanish with our free online tutorials with audio, cultural notes, grammar, vocabulary, verbs drills, and links to helpful sites. Professional College Homework Help for Students. Order all your homework assignments from a truly remarkable online service. Let our professional writers provide.
Communicate Better To Home. HomeworkNOW.com makes it possible for schools to communicate with parents and students via the web, iPhone, iPad, Android apps, email. Exclusive homework help delivered by experienced professionals. Affordable and authentic custom written assignments designed for international students. After over 25 years of studying and analyzing homework, Harris Coopers’ research demonstrates a clear conclusion: homework wrecks elementary school students.
More advice about teaching ESL students (FAQ). Hi Margaret, glad I could help! I am not all that surprised that the second study found a lot of variation– my guess, just from experience
Get a tutor 24/7 in 40+ subjects including Math, Science and English. We help thousands of students get better grades every day. Get an expert tutor. The best multimedia instruction on the web to help you with your homework and study. HomeworkNOW.com - easily communicate school alerts. Al Capone Does My Homework - amazon.com. Use these teaching strategies to ensure that homework is completed and is of a high quality.
How to Motivate Your Kids to Do Homework (without having a nervous breakdown yourself) By Chick Moorman and Thomas Haller. 100 Extra Interesting Persuasive Essay Topics That Every Teacher Would Appreciate Difference between Good Persuasive Speech Topics and Argumentative Topics.
Sign-up for electronic homework notification and you will receive an email the day before a homework assignment LD OnLine :: Mechanical Obstacles to Writing: Online Tutoring Homework Help in Math, Science English. Teaching Strategies to Help Students Complete Homework. What positive and negative effect does technology Provides a complete web based educational environment for K-12 and Higher-Education mathematics, accounting, statistics, and chemistry. Blackboard Learn Help for Students Blackboard. Thurgood Marshall Middle School.
Homework, or a homework assignment, is a set of tasks assigned to students by their teachers to be completed outside the class. Common homework assignments. Does Homework Improve Learning? - Alfie.
Does Music Help You Study? - Mind the Science. Learn Spanish Online at StudySpanish.com. Strategies to Help Students Who are Failing - gphillymath.org.
Not sure which product? Blackboard has many products. Let us help you find what you need. Find My Product. Break through to improving results with Pearson's MyLab Mastering. We're working with educators and institutions to improve results for students everywhere. Professional Homework Help for International Students.
HippoCampus - Homework and Study Al Capone Does My Homework (Tales from Alcatraz) Gennifer Choldenko on Amazon.com. FREE shipping on qualifying offers. Alcatraz Island in the 1930s isn't HomeworkSpot.com: Homework Help, Science Fair Project. Does Homework Improve Learning? By Alfie Kohn Because the question that serves as the title of this chapter doesn’t seem all that complicated, you might think. 100 Interesting Persuasive Essay Topics That Worked. How does homework help students learn.
Strategies to Help Students Who are Failing Sherry Fraser (fraser@math.sfsu.edu): During my visits to IMP classes this fall, and via e-mail, I have been asked about. ALEKS -- Assessment and Learning, K-12, Higher Education. Research Finds Effects Of Homework On Elementary Students. Find the best K-12 homework resources organized by subject and grade-level at HomeworkSpot.com. In this article, we examine 8 methods that teachers can use to help students overcome mechanical obstacles to writing.
For mainstream teachers of ESL students, on the topic: FAQ about language learning. Old Dogs, New Math: Homework Help for Puzzled Parents and millions of other books are available for Amazon Kindle. Learn.


Thank you for taking the time to contact us!
We really appreciate it and someone will get back to you as soon as we can.


1.What type of a language is JavaScript?(20mrks)
2.Select the correct statement.(20mrks)
3.Which tag contains the JavaScript code?(20mrks)
4.Where is the "script" tag typically placed?(20mrks)
5.Which one of the following is not a data type?(20mrks)


I spent the better part of yesterday tracing my way through the codebase for a large-scale enterprise application that my team is building right now, and I happened upon the following piece of code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
As I read this code, I thought “This just SCREAMS a need for Groovy’s closure iterators.” So, last night I quickly hacked out fully-equivalent Groovy version of the code:
1 2 3 4 5 6 |
|
Whew! Much nicer. What did we get out of this? Well…
Groovy’s dynamic typing cleaned up all of the unnecessary type declarations - the only static typing is where we return an empty ArrayList of Longs if the argument to our method is null (a bit of odd behavior, but required to make this code equivalent to the parent Java code.
We were saved 4 painful null checks by the use of Groovy’s null safe dereferencing operator (?.) and the simplified ternary operator otherwise affectionately known as the “Elvis Operator” (?:).
Using Groovy’s collect method, we were able to transform the original list into a list containing Long values by passing in a closure that pulls out the property value of interest.
Because we’re using null safe dereferencing, we are actually inserting nulls into our list if any of the dereferencing fails. Therefore, Groovy’s findAll Collection filtering method comes to the rescue. We simply provide it with a closure that returns true for all of the values we want to keep - in this case, “it != null.”
Perhaps most importantly, we’ve shorted our code from 11 lines (including whitespace lines for clarity) to ONE LINE that much more clearly expresses the intent of the code.
Great - why don’t we just rewrite the entire application is Groovy? Well, hold on just a minute. At the time we started this application, as much as some of us loved Groovy, we just didn’t have enough Groovy mindshare to go there yet. On top of that, we were already experimenting with several new architectural ideas and technologies, and Groovy would have added yet one more risk to the puzzle. I say all this to acknowledge that sometimes you just can’t move to another language for one reason or another, regardless of how attractive its features may be.
But let’s take a queue from the Pragmatic Programmer and explore the LOTY (Language of the Year) concept one more time. One of the reasons that you’re encouraged to learn new languages is to change the way you program in your main language. You may learn Groovy, Scala, Clojure, Ruby, etc., etc., etc. and never use them in your day job - and yet the experience of coding in a new language with new constructs and idioms will necessarily change the way you THINK about programming in every other language.
So, let’s think about the possibility of coding something that is much more similar to the Groovy version and yet stick with regular Java code. Fortunately, there are several libraries out there that bring much of the flavor and power of Groovy’s closure iterators to Java. I’d like to focus in on one of them, LambdaJ (http://code.google.com/p/lambdaj/).
LambdaJ provides constructs that allow us to “…manipulate collections in a pseudo-functional and statically typed way.” Let’s take a look at this example implementing using LambdaJ:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
Not quite as nice as the Groovy code - we got A LOT out of the null-safe dereference and Elvis operators. However, our overall intent is still a bit clearer. Let’s analyze:
First we need to implement one of LambdaJ’s Converters. A Converter is nothing more than a generic Interface that defines one method: T convert(F from), where F is the type we’re converting from and T is the type we’re converting to. In this case, we want to convert an object of type BusinessActivityBinMetaClass to an object of type Long. Our implementation determines how this conversion takes place, in this case by extracting the id property from its child.
Next, after statically importing the methods of ch.lambdaj.Lambda, we call the convert method, passing it our List and our newly implemented Converter. This gives us the equivalent of Groovy’s collect method, with the Converter taking the place of the closure.
We’re still shoving nulls into our List with this implementation, so we further filter our list using LambdaJ’s “filter” method, passing it the list returned by “filter,” and a Hamcrest matcher that returns only notNullValue()’s.
Finally, we use our old friend the ternary operator to return the empty ArrayList of Long values if our method argument is null.
If you don’t count the Converter implementation, we’ve gotten ourselves down to 2 lines of code (1 if you don’t mind long lines). In this case I implemented IdExtractor as a named inner class - you could do this with an anonymous inner class and it would look a lot more like a closure, but the added noise of all of the null checking made the undesirable for me. Perhaps if your code has less noise (or guarantees that values aren’t null), that would be a better approach.
Another alternative is to make IdExtractor a top-level class that, if general enough, could be reused throughout the codebase. The benefit of this is that you now have a nice code unit rather than a battery of static methods in a utility class, and unit testing becomes much more clean and elegant.
So, we’ve still made some progress and made our code a bit more Groovy. I encourage you to explore LambdaJ’s feature set and see how it might make your code a bit more concise with clearer intent. And just to stir up a little controversy, look what would have happened in Java 7 had the null safe dereference and Elvis operator’s made the Project Coin cut:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Nice, huh? ;-)


{% import "Header.html" as header %} {{ header.header("Request Password Reset", current_user) }}
We all forget our passwords sometimes!
* indicates a required field


Across: 1. Provider of treats perhaps who talks too much (7) 5. Chemical chop: ram was modified (7) 9. Wryly funny, losing right to be charged (5) 10. Your own writing for oralising? (9) 11. Performing arts can't perform (8) 12. Was uncomfortable, not starting out married (6) 14. You might sign it or sing it (4) 15. Big spending tiger a flop after restructuring (10) 18. Special instrument developed trimmer core (10) 19. American lesson is not new (4) 22. Point to the point (6) 24. Comprehensive cleaning job (8) 26. Given role: traitor or thief of nuts (9) 27. "Sound of Silence" perhaps? (5) 28. Scant clothing on little lackeys (7) 29. In places, marketing people are animated little things (7) Down: 1. Recorded number at end of legal document (7) 2. Amazing soft drinks - half sweet (9) 3. Maniac clouts insect (6) 4. Cue D.C.: error in motion came up again (10) 5. Cheat sleep here (4) 6. Amazing tax, in taking one in three to keep working (8) 7. Heartache at having to give up the open country (5) 8. What's left sure die out (7) 13. Reward fast work later (10) 16. Missing having can when not indulging? (9) 17. 27ac. might feature cornet parts in company (8) 18. Bit of method with timeless maxim (7) 20. Picks infantry (7) 21. It shows itself when it is lost (6) 23. It won't dissolve in water or rinse out (5) 25.


Notifications.js is a lightweight addon for jQuery which enables you to easily create notifications that will be visible on the bottom right of the screen. Each notification has a flat and simple design which can be easily changed and includes a sleek animation.
To install Notifications.js you will need jQuery 1.10.2+, notifications.min.js and notifications.min.css.
Now include the following line inside the head of your document.
‹link rel="stylesheet" href="path/to/notifications.min.css">
Then include the following line before you closing body tag
‹script src="path/to/notifications.min.js">
To use Notifications.js you simply need to call it as a function. Below is what you need.
displayNotification(type, content, showTime);
You can add the function inside a on click event. Like so:
$('#showError').on('click', function(e) { displayNotification('error', 'This is an error notification', 2000); e.preventDefault(); });
Example usage when calling the notification from a custom function
function onLogin() { displayNotification('success', 'You have successfully logged in', 2000); }
If you would like to request a feature, fix or change then please post an issue on the github page. You can also contribute to this project by forking on github, make sure changes and then publish a pull request.


The following functions are available in any Resource or Instance Configuration
get(String name, String path, Closure requestHandler) put(String name, String path, Closure requestHandler) post(String name, String path, Closure requestHandler) delete(String name, String path, Closure requestHandler) handle( List<String> httpMethods, String path, Closure requestHandler)
A route declared as "/user" will match request http://host:port/user There are no variables therefore no values will be passed to the RequestHandler closure.
A route declared as "/user/:id" will match request http://host:port/user/<AnyValue>
Here, the value of :id will be the one argument passed to the RequestHandler closure.
A route declared as "/user/:id/grades" will match request http://host:port/user/xyz/grades
Here, its the same as above - the value of :id will be the one argument passed to the RequestHandler closure.
A route declared as "/user/:id/history/:when" will match request http://host:port/user/xyz/history/20141128
Here, the values of :id and :when will be passed to the RequestHandler closure in order [eg. closure( id, when) {}
].
As you can probably tell by now, each variable value will be passed to RequestHandler closure in order.
get(String name, String path, Closure requestHandler)get(String path, Closure requestHandler)
GServ.Resource("/counter"){ get("/") { writeText("text/plain", "Welcome to our GServ GET example"); } get("/:num1/:num2/:operation") { num1, num2, operation -> def ans = 0; def msg = ""; switch ( operation ){ case "add" : ans = (num1 as int) + (num2 as int); case "subtract" : ans = (num1 as int) - (num2 as int); case "multiply" : ans = (num1 as int) * (num2 as int); case "divide" : ans = (num1 as double) / (num2 as double); msg = "$operation($num1, $num2) = $ans" default: msg = "Operation: $operation is not supported"; } writeText("text/plain", msg); } }


Alarm Monitor
Home
Person
Alarm Monitor
Monitor Option
Gate
Camera
Please select gate first
Certificate
Full Name
Apply
×
Go to page
Go to page:
×
Person Information
50%
Certificate Type
Certificate
Alarm Date
Title:
Full Name
Catgory
Gate
Camera