import sys sys.path.insert(0, '/home/vagrant/Integration-Testing-Framework/sikuli/examples') from sikuli import * from flex_regions import * from test_helper import TestHelper """ Click through all of the buttons in the left sidebar on the Lexicon screen. Make sure the middle part of the screen changes within 5 seconds. If an information box pops up, close it. Return to first option when done. """ # Setup helper = TestHelper("try_all_side_bar_buttons") set_flex_helper(helper) def stop_observer(event): global changed changed = True event.region.stopObserver() if Region(148,139,544,545).exists(): helper.Type(Key.ENTER, time=5) # Opening ############### helper.Click(, "Couldn't find 'Lexicon' button") first_region = Region(21,127,115,15) click(first_region.getCenter()) # Set initial region to click region = first_region.offset(Location(0, 18)) count = 0 # Goal ############### # keep clicking while the list still has items while not region.exists(Pattern().similar(0.99)): global changed changed = False # keep count and make sure we don't go too far count += 1 if count > 9: helper.write_fail("Script malfunction: went too far down the left column") break; # Click in the middle of the region and react to change MID_TOOLBAR.onChange(stop_observer) click(region.getCenter()) MID_TOOLBAR.observe(5) # Check if the observer stopped as intended if not changed: helper.write_fail("No change when clicking item " + str(count)) # Move region down by 18 pixels region = region.offset(Location(0, 18)) # Closing ############### # go back to first screen click(first_region.getCenter()) helper.write_success()


Dark Knight
Appearances: FF2, FF3, FF4, FFX-2, FF11, FF Tactics
Aliases: None
The Dark Knight's look originated from the FF3 M. Knight, which ironically had white magic (see below). It is characterized by a predilection towards dark combat. Like a knight, this class focuses on strength-based attacks, but also uses black magic to harm the enemy, though this leaves its defense low. One of its most distinguishing characteristics is DarkWave (a.k.a. Darkness), an ability which sacrifices the character's HP in order to do more damage.
Similar Job Classes: Paladin, Knight
Expand All Images | Collapse All Images
| FF2 |
| |
| NAME: Leon/Lionheart |
| OVERVIEW: Leon becomes the character Dark Knight later in the game, but is not officially assumed to be a Dark Knight. |
| WEAPONS: Flame Sword, Poison axe |
| ATTRIBUTES: High strength, high defense, high black magic power |
| MAGIC: Any |
|
| FF3 |
|
| NAME: Dark Knight |
| OVERVIEW: The Dark Knight was changed from the original M. Knight. |
| WEAPONS: Ashura, Kotetsu, Kiku, Full Moon, Masamune, Ragnarok |
| ABILITIES/MAGIC:
Fight - Attack with equipped weapon
Defend - Increase defense for one turn
Magic - Cast magic spell
Item - Use an item from inventory
|
| ATTRIBUTES: |
|
| FF4 |
| |
| NAME: Cecil Harvey |
| OVERVIEW: Later changes into Paladin. |
| WEAPONS: Uses swords best |
| ABILITIES/MAGIC:
DarkWave - Unleashes a wave of darkness to damage the enemy at the cost of 1/8 of his HP |
| ATTRIBUTES: |
|
| FFX-2 |
| |
| NAME: Dark Knight |
| OVERVIEW: One of the best classes in the game due to their high damage-causing stats and status protections. It also adds some Black Magic and more sacrificial abilities. |
| WEAPONS: Sword |
ABILITIES/MAGIC:
Darkness - Sacrifice HP to damage enemies
Black Sky - Comets rain down causing random damage to enemies
Charon - Sacrifice yourself to kill one enemy
Arcana: Drain, Demi, Confuse, Break, Bio, Doom, Death |
| SUPPORT ABILITIES: Poisonproof, Stoneproof, Confuseproof, Curseproof, Deathproof |
| ATTRIBUTES: High HP, high MP, high strength, high physical defense, low speed, low evasion |
|
| FF11 |
|
| NAME: Dark Knight |
| OVERVIEW: A good damage dealer and knows a good deal of Black Magic spells. They can also steal points from enemy stats. |
| WEAPONS: Uses Great Swords and Scythes best |
| ABILITIES/MAGIC:
Blood Weapon - Causes all attacks to drain enemy's HP
Arcane Circle - Increases party resistance to Arcana monsters (artifact monsters like pots and dolls)
Last Resort - Increases attack, lowers defense
Weapon Bash - Attack that has chance of stunning enemy
Soul Eater - Consume own HP to enhance attacks
Black Magic - Cast Black Magic (low-level)
|
| SUPPORT ABILITIES: Attack Bonus, Resist Paralyze |
| ATTRIBUTES: High attack power, low defense, low accuracy |
|
| FF Tactics (PSP Only) |
| |
| NAME: Dark Knight |
| OVERVIEW: A secret job which can only be unlocked when many classes have been mastered. It can use special Fell Swords which can only be gotten via online play. In addition to Fell Knight-type sword skills which drain HP/MP, it uses powerful skills which consume the user's HP. |
| WEAPONS: Sword, Knight Sword, Fell Sword, Axe, Flail |
ABILITIES/MAGIC:
Darkness
Sanguine Sword - drain HP
Infernal Strike - drain MP
Crushing Blow - physical attack, causes Stop
Abyssal Blade - consumes HP to attack
Unholy Sacrifice - Consumes HP to attack using Dark-elemental and cause Slow
Reaction Abilities: None
Support Abilities: HP Boost, Vehemence (increase efficiency of attacks, but also increase damage to self)
Move Abilities: Move+3/Jump+3 (for female/male dark knights)
|
| ATTRIBUTES: Very strong physical attack power. |
|
Traits of Dark Knight in Other Games
| FF8: The summons Diablos, Doomtrain, and Eden teach the Darkside ability: an attack does three times normal damage at the sacrifice of 10% the characters total HP. | |
| FF11: The FF11 Ninja can self-sacrifice in order to cause great damage. |
| Tactics: The Dark Knight class is similar to Dark Knight, but only has two abilities: one to absorb HP and one to absorb MP. |
Final Fantasy, all games and animation bearing the Final Fantasy name, and all characters in said games or animation are copyright their respective creators, including but not limited to Squaresoft, Square Enix, Square EA, Tokyo TV, and ADV Films.


Structure
AnyStateProvider
public struct AnyStateProvider<StateType>: StateProvider
AnyStateProvider
erases the protocol StateProvider
, which defines a entities able to offer state publishers (Combine Publisher, RxSwift
Observable, ReactiveSwift SignalProducer) of certain StateType
, so everybody can observe the global state changes through this container. Usually
a Store
will implement that, but it can also be a StoreProjection
with a state that is derived from the global source-of-truth.
The only protocol requirement is to offer a property statePublisher
that will allow other entities to subscribe to state changes and react to
those.
Relationships
Conforms To
StateProvider
StateProvider
defines a protocol for entities able to offer state publishers (Combine Publisher, RxSwift Observable, ReactiveSwift SignalProducer) of certainStateType
, so everybody can observe the global state changes through this container. Usually aStore
will implement that, but it can also be aStoreProjection
with a state that is derived from the global source-of-truth.
Initializers
init(_:)
public init<S: StateProvider>(_ realProvider: S) where S.StateType == StateType
init(_:)
public init(_ publisher: UnfailablePublisherType<StateType>)
Properties
statePublisher
var statePublisher: UnfailablePublisherType<StateType>


| << Legal Status | Table of Contents | Log Files >> |
Appendix III - Patching STR# Resources
The STR# resource format used to store many of the strings in Nova may seem to be incompatible with the flexible nature of plugin files. For example, a plugin for a new shïp would have to replace several of the built-in STR# resources to incorporate its new name into the game. The problem arises when you want to use two plugins that try to modify the same STR# resource.
The solution is not to change the STR# resources at all, but to use Nova's handy string patching functionality by updating only select strings in a STR# resource by providing Nova with a properly-numbered 'STR ' resource. For example, to change the first cargo type from food to something else, you'd simply create a 'STR ' resource with the ID 9000 and type in the name of your new commodity. A chart of 'STR ' resource numbers is provided below:
String Type: Replacement 'STR ' ID range: Message buoys 1000-2500 Hail quotes 5000-5511 Stellar types 7000-7063 Base prices of commodities 9300-9305 Commodity abbreviations for status display 9400-9405 Gövt-specific greetings for comm dialog 10000-12559 (first 10 for gövt -1, second 10 for gövt 0, third 10 for gövt 1, etc.) Përs-resource CommQuotes 15000-15511
| << Legal Status | Table of Contents | Log Files >> |
(©) 2000-2002 by Matt Burch and Ambrosia Software, Inc.


As a young child I have always found music to be enriching. It is something that can be shared to show personality without words, give ideas without having to tell someone what you are thinking, and even connect without having any prior relation.
This is my little space on the internet to share all of the above with you with some HTML and CSS that I have whipped up and I hope you learn something about me without me being there with you.
-Antonio Bethune


Data Structures |
| struct | cpComponentNode |
| | Used internally to track information on the collision graph.
|
| struct | cpBody |
| | Chipmunk's rigid body struct. More...
|
Typedefs |
|
typedef void(* | cpBodyVelocityFunc )(cpBody *body, cpVect gravity, cpFloat damping, cpFloat dt) |
| | Rigid body velocity update function type.
|
|
typedef void(* | cpBodyPositionFunc )(cpBody *body, cpFloat dt) |
| | Rigid body position update function type.
|
|
typedef struct cpComponentNode | cpComponentNode |
| | Used internally to track information on the collision graph.
|
|
typedef void(* | cpBodyShapeIteratorFunc )(cpBody *body, cpShape *shape, void *data) |
| | Body/shape iterator callback function type.
|
|
typedef void(* | cpBodyConstraintIteratorFunc )(cpBody *body, cpConstraint *constraint, void *data) |
| | Body/constraint iterator callback function type.
|
|
typedef void(* | cpBodyArbiterIteratorFunc )(cpBody *body, cpArbiter *arbiter, void *data) |
| | Body/arbiter iterator callback function type.
|
Functions |
|
cpBody * | cpBodyAlloc (void) |
| | Allocate a cpBody.
|
|
cpBody * | cpBodyInit (cpBody *body, cpFloat m, cpFloat i) |
| | Initialize a cpBody.
|
|
cpBody * | cpBodyNew (cpFloat m, cpFloat i) |
| | Allocate and initialize a cpBody.
|
|
cpBody * | cpBodyInitStatic (cpBody *body) |
| | Initialize a static cpBody.
|
|
cpBody * | cpBodyNewStatic () |
| | Allocate and initialize a static cpBody.
|
|
void | cpBodyDestroy (cpBody *body) |
| | Destroy a cpBody.
|
|
void | cpBodyFree (cpBody *body) |
| | Destroy and free a cpBody.
|
|
void | cpBodySanityCheck (cpBody *body) |
| | Check that the properties of a body is sane. (Only in debug mode).
|
|
void | cpBodyActivate (cpBody *body) |
| | Wake up a sleeping or idle body.
|
|
void | cpBodyActivateStatic (cpBody *body, cpShape *filter) |
| | Wake up any sleeping or idle bodies touching a static body.
|
|
void | cpBodySleep (cpBody *body) |
| | Force a body to fall asleep immediately.
|
|
void | cpBodySleepWithGroup (cpBody *body, cpBody *group) |
| | Force a body to fall asleep immediately along with other bodies in a group.
|
|
static cpBool | cpBodyIsSleeping (const cpBody *body) |
| | Returns true if the body is sleeping.
|
|
static cpBool | cpBodyIsStatic (const cpBody *body) |
| | Returns true if the body is static.
|
|
static cpBool | cpBodyIsRogue (const cpBody *body) |
| | Returns true if the body has not been added to a space.
|
| static cpFloat | cpBodyGetMass (const cpBody *body) |
| | Get the Mass of a cpBody.
|
|
void | cpBodySetMass (cpBody *body, cpFloat m) |
| | Set the mass of a body.
|
| static cpFloat | cpBodyGetMoment (const cpBody *body) |
| | Get the Moment of a cpBody.
|
|
void | cpBodySetMoment (cpBody *body, cpFloat i) |
| | Set the moment of a body.
|
| static cpVect | cpBodyGetPos (const cpBody *body) |
| | Get the Pos of a cpBody.
|
|
void | cpBodySetPos (cpBody *body, cpVect pos) |
| | Set the position of a body.
|
| static cpVect | cpBodyGetVel (const cpBody *body) |
| | Get the Vel of a cpBody.
|
| static void | cpBodySetVel (cpBody *body, const cpVect value) |
| | Set the Vel of a cpBody.
|
| static cpVect | cpBodyGetForce (const cpBody *body) |
| | Get the Force of a cpBody.
|
| static void | cpBodySetForce (cpBody *body, const cpVect value) |
| | Set the Force of a cpBody.
|
| static cpFloat | cpBodyGetAngle (const cpBody *body) |
| | Get the Angle of a cpBody.
|
|
void | cpBodySetAngle (cpBody *body, cpFloat a) |
| | Set the angle of a body.
|
| static cpFloat | cpBodyGetAngVel (const cpBody *body) |
| | Get the AngVel of a cpBody.
|
| static void | cpBodySetAngVel (cpBody *body, const cpFloat value) |
| | Set the AngVel of a cpBody.
|
| static cpFloat | cpBodyGetTorque (const cpBody *body) |
| | Get the Torque of a cpBody.
|
| static void | cpBodySetTorque (cpBody *body, const cpFloat value) |
| | Set the Torque of a cpBody.
|
| static cpVect | cpBodyGetRot (const cpBody *body) |
| | Get the Rot of a cpBody.
|
| static cpFloat | cpBodyGetVelLimit (const cpBody *body) |
| | Get the VelLimit of a cpBody.
|
| static void | cpBodySetVelLimit (cpBody *body, const cpFloat value) |
| | Set the VelLimit of a cpBody.
|
| static cpFloat | cpBodyGetAngVelLimit (const cpBody *body) |
| | Get the AngVelLimit of a cpBody.
|
| static void | cpBodySetAngVelLimit (cpBody *body, const cpFloat value) |
| | Set the AngVelLimit of a cpBody.
|
| static cpDataPointer | cpBodyGetUserData (const cpBody *body) |
| | Get the UserData of a cpBody.
|
| static void | cpBodySetUserData (cpBody *body, const cpDataPointer value) |
| | Set the UserData of a cpBody.
|
|
void | cpBodyUpdateVelocity (cpBody *body, cpVect gravity, cpFloat damping, cpFloat dt) |
| | Default Integration functions.
|
|
static cpVect | cpBodyLocal2World (const cpBody *body, const cpVect v) |
| | Convert body relative/local coordinates to absolute/world coordinates.
|
|
static cpVect | cpBodyWorld2Local (const cpBody *body, const cpVect v) |
| | Convert body absolute/world coordinates to relative/local coordinates.
|
|
void | cpBodyResetForces (cpBody *body) |
| | Set the forces and torque or a body to zero.
|
|
void | cpBodyApplyForce (cpBody *body, const cpVect f, const cpVect r) |
| | Apply an force (in world coordinates) to the body at a point relative to the center of gravity (also in world coordinates).
|
|
void | cpBodyApplyImpulse (cpBody *body, const cpVect j, const cpVect r) |
| | Apply an impulse (in world coordinates) to the body at a point relative to the center of gravity (also in world coordinates).
|
|
static cpFloat | cpBodyKineticEnergy (const cpBody *body) |
| | Get the kinetic energy of a body.
|
|
void | cpBodyEachShape (cpBody *body, cpBodyShapeIteratorFunc func, void *data) |
| | Call func once for each shape attached to body and added to the space.
|
|
void | cpBodyEachConstraint (cpBody *body, cpBodyConstraintIteratorFunc func, void *data) |
| | Call func once for each constraint attached to body and added to the space.
|
|
void | cpBodyEachArbiter (cpBody *body, cpBodyArbiterIteratorFunc func, void *data) |
| | Call func once for each arbiter that is currently active on the body.
|
Chipmunk's rigid body type.
Rigid bodies hold the physical properties of an object like it's mass, and position and velocity of it's center of gravity. They don't have an shape on their own. They are given a shape by creating collision shapes (cpShape) that point to the body.


Toggle navigation
Petaga
Home
Pets Savings
Saving on Pets 101
Insurance Basics
Pet Insurance 101
About
Overview
Team
Meet the Team
Andy Plaisted
Co-Founder
Samuel Winslow
View Portfolio
Co-Founder


Robust Galaxy Note 10 sales helped Samsung's mobile division boost profits
Source: Android Central
What you need to know
- Samsung posted 62 trillion won ($53 billion) in revenue and 7.78 trillion won ($6.7 billion) in operating profit during the third quarter of 2019.
- While the company's third quarter profit declined sharply compared to last, its mobile division registered an increase in profits thanks to the strong sales of the Galaxy Note 10 series.
- In Q4 2019, Samsung expects smartphone demand to decline due to seasonal effects and global economic uncertainties.
Samsung continues to be hit the by the slump in the chip market. The company posted 7.78 trillion won ($6.7 billion) in operating profit for the third quarter, down from 17.57 trillion won ($15 billion) during the same period last year. Consolidated revenue during the quarter was down to 62 trillion won ($53 billion) from 65.46 trillion won ($56.1 billion) last year.
Samsung's IT & Mobile Communications arm posted 29.25 trillion won ($25 billion) and 2.92 trillion won ($2.5 billion) in operating profit in the third quarter. The mobile earnings witnessed an increase compared to the previous quarter thanks to robust sales of the Galaxy Note 10 series, improved product mix, as well as higher margins in the mass-market segment.
Samsung says the sales performance of the Note 10 exceeded the Galaxy Note 9's in the third quarter. In the fourth quarter, however, Samsung expects demand for smartphones to decline slightly, mainly due to seasonal effects and global economic uncertainties.
The company is, however, hopeful that demand for 5G phones will rise next year, although it admits the competition is "likely to remain fierce." To push growth in 2020, the company is planning to launch a more extensive lineup of 5G as well as foldable phones.
Get More Galaxy Note 10
Samsung Galaxy Note 10/10+
- Galaxy Note 10+ Review
- Galaxy Note 10 Review
- Best Galaxy Note 10+ Cases
- Best Galaxy Note 10 Cases
- Best Galaxy Note 10+ Screen Protectors
- Best Galaxy Note 10 Screen Protectors
We may earn a commission for purchases using our links. Learn more.


Welcome to the Creation Center
| Creation Center |
| My Library |
| My Creations |
| Explore Books |
Background Themes:
Books Galore
Space Cats
Inside The Matrix
Ancient History
Sailors Wake
Sci-Fi Fantasy
Name Of Book Title:
Author Name:
Date:
Font Styles:
Catamaran
Book Antiqua
Tahoma
Impact
Courier New
Lobster
Text Align : Left
Text Align : Center
Text Align : Right
Font Colours :
Red
Blue
Black
Once upon a time...
Submit Creation


I design for people. I craft fine pieces for print and web to fulfill their communication needs.
I photograph people. I love preserving some of their memories.
I also draw people. Mostly unknown and clueless passengers who share a trip with me.
I have loved drawing since I can remember.
My favourite canvas was the spotless floor my older sisters had just cleaned.
I studied arts and graphic design, which meant lots of sleepless nights... And coffee!
I spent 7 years teaching talented graphic artists. Looking back, I’ve come to realise that they taught me just as much as I taught them.
Maternity leave was my own version of photography school. My main subject of study?
Nowadays, I work in an engineer’s firm... And it sure is fun to hear what they think about my job.
Defining goals, gathering content and sketching.
When I design, photograph and draw.
Presenting the product and assessing success.
I'm one of those lucky people who truly love what they do and I strive to always give my best. I am always completely invested in my projects, and I want to make sure that my client takes advantage of it.


Smalltalk
Facts
-
Smalltalk is inspired by Facebook and
Twitter, and as such, its structure resembles them
greatly.
-
Initially, the developer chose the name "Textbook - Facebook without faces", but that would cause a contradiction because in Smalltalk, there are
faces indeed.
-
Smalltalk took nearly a month to build from scratch.
-
Smalltalk is built with the MEAN stack - MongoDB,
ExpressJS, Angular and NodeJS.
Bugs
As of August 9, 2020, there have been no bugs but if you
encounter any strange behavior, feel free to report them.
Please report to the contact below.
Meet the developer
invtronx
Otaku. Hardcore Coder. Learner.
facebook
Facebook:
Ye Min Aung
code
Source code for Smalltalk is available on:
Github
Feedbacks and suggestions as well as bug reports are most
welcome.
License
Code is licensed under the MIT License.


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Creating a new notebook is really easy. You only have to click on the button of “Notebook section”.
Then, you will see you something like this:
To open an existing notebook, you should go to the file list on the left side of the window and double-click on the notebook you want to open and you will see your notebook in the rigth side of the window.
To run notebooks, you have two options. The first one is doing click on the “run” located in the top sidebar.
The second one is selecting one of the option of the “run” menu.
A Markdown cell contains text formatted using Markdown and displays its output in-place when the Markdown cell is run. To use Markdown you should click on the cell that you want to format and go to “Markdown” option. Then the current cell will be ready to format the text.
To make text italic or bold by surrounding a block of text with a single or double * respectively.
As headings by starting a line with one (or multiple) # followed by a space, as in the following example:
Example:
# Heading 1 # Heading 2 ## Heading 2.1 ## Heading 2.2
You can also use Markdown to create lists using the following syntax:
* This is a bullet list * This is a bullet list * This is a bullet list 1. And you can also create ordered lists 2. by using numbers 3. and listing new items in the lists 4. on their own lines
When you create a private cluster in BlazingSQL Notebooks app, you are ready to start using BlazingSQL and RAPIDS. You only have to import blazingsql and start creating tables and running queries.
from blazingsql import BlazingContext bc = BlazingContext() bc.create_table('table_name_01', 'dir_file') query = ''' SELECT * FROM table_name_01 ''' gdf = bc.sql(query)
BlazingSQL Filesystem API allow users register and connect to S3 storage. BlazingSQL can query any supported file format on a registered filesystem, which typically optimizes the reading of data during query execution.
Once a filesystem is registered you can reference the user-defined file path when creating a new table off of a file.
After you create your notebook, you will register an S3 bucket to a BlazingContext. The context will maintain the information necessary for BlazingSQL to query data stored in the S3 bucket.
from blazingsql import BlazingContext bc = BlazingContext()
bc.s3('dir_name', bucket_name='bucket_name', access_key_id='access_key', secret_key='secret_key')
BlazingSQL has an internal log that records events including runtime query step execution information, performance timings, errors and warnings. The logs table is called bsql_logs. You can query the logs as if it were any other table using log function of Blazing Context.
from blazingsql import BlazingContext bc = BlazingContext() # query how long each query took log_result = bc.log("SELECT log_time, query_id, duration FROM bsql_logs WHERE info = 'Query Execution Done' ORDER BY log_time DESC") print(log_result)
To delete a notebook from JupyterLab, you can go yo the “Terminal” and execute rm filename.ipynb.
rm filename.ipynb


|
101. Domino Time Limit: 0.25 sec, Memory Limit: 1 MB Dominoes Ц game played with small, rectangular blocks of
wood or other material, each identified by a number of dots, or pips, on
its face. The blocks usually are called bones, dominoes, or pieces and
sometimes men, stones, or even cards. The principle in nearly all modern dominoes games is to match one end of a piece to another that is identically or reciprocally numbered. ENCYCLOPÆDIA BRITANNICA Given a set of domino pieces where each side is marked with two digits from 0 to 6. Your task is to arrange pieces in a line such way, that they touch through equal marked sides. It is possible to rotate pieces changing left and right side. Input The first line of the input contains a single integer N (1 ≤ N ≤ 100) representing the total number of pieces in the domino set. The following N lines describe pieces. Each piece is represented on a separate line in a form of two digits from 0 to 6 separated by a space. Output Write УNo solutionФ if it is impossible to arrange them described way. If it is possible, write any of way. Pieces must be written in left-to-right order. Every of N lines must contains number of current domino piece and sign У+Ф or У-У (first means that you not rotate that piece, and second if you rotate it). Sample Input 5 1 2 2 4 2 4 6 4 2 1 Sample Output 2 - 5 + 1 + 3 + 4 - |


--- type: component title: Member usage: Use when displaying a user or member thumbnail. stylesheet: '/scss/components/member.scss' ---


Lighting Light Modifiers Light Controls Backdrops
LED Lighting Scrim Jim Cine Chroma-Key
Apollo LunaGrip Rapid Box
Rapid Box Reflectors Cases
Props Backdrops Lighting
CFL Lighting Reflectors Backdrops


Next: rest, Previous: ldiff, Up: Conses Dictionary
nthcdr
n list ⇒ tail
n—a non-negative integer.
list—a list,
which might be a dotted list or a circular list.
tail—an object.
Returns the tail of list that would be obtained by calling cdr n times in succession.
(nthcdr 0 '()) ⇒ NIL (nthcdr 3 '()) ⇒ NIL (nthcdr 0 '(a b c)) ⇒ (A B C) (nthcdr 2 '(a b c)) ⇒ (C) (nthcdr 4 '(a b c)) ⇒ () (nthcdr 1 '(0 . 1)) ⇒ 1 (locally (declare (optimize (safety 3))) (nthcdr 3 '(0 . 1))) Error: Attempted to take CDR of 1.
Should signal an error of type type-error if n is not a non-negative integer.
For n being an integer greater than 1, the error checking done by (nthcdr n list) is the same as for (nthcdr (- n 1) (cdr list)); see the function cdr.


Hello,
as the title says I'm not able to register any new user apart from the first one (admin) because the "or register" option disappears from the login page.
Some more info:
The host is a VPS with Debian Jessie 64 bit, I've already installed successfully several previous versions of emoncms and I've already double-double checked the installation steps.
After deleting and re-creating the emoncms db I can again register the first user.
I've already tried some solutions to similar problems documented in this forum but with no luck.
I get no errors in the browser console.
Any clue?
Thanks in advance,
Federico.
Re: [SOLVED] Only able to register the first user on a new emoncms 9.3 installation
Sounds obvious, but have you have set the "$enable_multi_user = false;" to true in settings.php?
Paul
Re: [SOLVED] Only able to register the first user on a new emoncms 9.3 installation
Aaargh!!

In the past I installed so many times the emoncms server that this time I didn't bother to check if there were new settings in the settings.php file (previously I was using ver. 8.4).
Thank you very much for your "obvious" tip that hit the mark. Sorry for not being able to find it by myself.
Best regards,
Federico.
Re: [SOLVED] Only able to register the first user on a new emoncms 9.3 installation
I don't think you are the first or will be the last to get caught out.
I believe it has been there for sometime but it's default setting has been changed, so it probally slipped in under the radar as it's not really a new setting.
Paul


My name is Jonathan E. Chen, and I go by wikichen on the web. I'll put something here eventually. In the meantime, say hello on Twitter.
Colophon
This site is powered by Jekyll, served from Amazon S3 and distributed by CloudFront. Set in Franklin Gothic by Adobe Typekit. If you want to learn more, the source code and documentation are hosted on GitHub.


mime/mime.js:61
safeObject Class
Given a constructor function as an argument, safeObject will create a new JavaScript Class that will not throw an exception when a call is made to a non-existent function member. A call will be made instead to the 'undefinedMethod' function which can be overridden to implement functionality you find useful. It will also look for symbols that have been registered with the target object's __constructor array and will treat those functions in the way that constructor functions need to be treated.
Constructor
mime/mime.js:61
safeObject
( f
)
Parameters:
-
f
<Function>- the constructor function that you want to use for your safe class
Returns: <Class>


Making open source more inclusive
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.
1. Introduction
1.1. About the Maven Plugin Guide
This guide is for engineers, consultants, and others who want to use the Migration Toolkit for Applications ({ProductShortName}) to migrate Java applications or other components. It describes how to install and run the Maven plugin, review the generated reports, and take advantage of additional features.
1.2. About the Migration Toolkit for Applications
What is the Migration Toolkit for Applications?
The Migration Toolkit for Applications ({ProductShortName}) is an extensible and customizable rule-based tool that simplifies the migration and modernization of Java applications.
{ProductShortName} examines application artifacts, including project source directories and application archives, and then produces an HTML report highlighting areas needing changes. {ProductShortName} supports many migration paths including the following examples:
-
Upgrading to the latest release of Red Hat JBoss Enterprise Application Platform
-
Migrating from Oracle WebLogic or IBM WebSphere Application Server to Red Hat JBoss Enterprise Application Platform
-
Containerizing applications and making them cloud-ready
-
Migrating from Java Spring Boot to Quarkus
-
Updating from Oracle JDK to OpenJDK
For more information about use cases and migration paths, see the {ProductShortName} for developers web page.
How does the Migration Toolkit for Applications simplify migration?
The Migration Toolkit for Applications looks for common resources and known trouble spots when migrating applications. It provides a high-level view of the technologies used by the application.
{ProductShortName} generates a detailed report evaluating a migration or modernization path. This report can help you to estimate the effort required for large-scale projects and to reduce the work involved.
How do I learn more?
See the Introduction to the Migration Toolkit for Applications to learn more about the features, supported configurations, system requirements, and available tools in the Migration Toolkit for Applications.
1.3. About the Maven Plugin
The Maven plugin for the Migration Toolkit for Applications integrates into the Maven build process, allowing developers to continuously evaluate migration and modernization efforts with each iteration of source code. It provides numerous reports that highlight the analysis results, and is designed for developers who want updates with each build.
2. Getting started
2.1. Running the Maven Plugin
The Maven plugin is executed by including a reference to the plugin inside your application’s pom.xml
file. When the application is built, the Maven plugin is executed and generates the reports for analysis.
Prerequisites
-
Java Development Kit (JDK) installed. {ProductShortName} supports the following JDKs:
-
OpenJDK 1.8
-
OpenJDK 11
-
Oracle JDK 1.8
-
Oracle JDK 11
-
-
8 GB RAM
-
If you are installing on macOS, the value of
maxproc
must be2048
or greater.
-
Maven 3.2.5 or later
-
Add the following
<plugin>
to your application’spom.xml
file:[...] <plugin> <groupId>org.jboss.windup.plugin</groupId> <artifactId>windup-maven-plugin</artifactId> <version>5.2.1.Final</version> <executions> <execution> <id>run-windup</id> <phase>package</phase> <goals> <goal>windup</goal> </goals> </execution> </executions> <configuration> <offlineMode>true</offlineMode> (1) </configuration> </plugin> [...]
-
offlineMode
runs the Maven plugin in offline mode, disabling network features to improve performance.
-
-
If using Java 11, then
--add-modules=java.se
must be added to theMAVEN_OPTS
environment variable. When using older versions of Java this is not necessary, and you can proceed to the next step.export MAVEN_OPTS=--add-modules=java.se
ImportantUsing the Maven plugin on Java 11 is provided as Technology Preview only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs), might not be functionally complete, and Red Hat does not recommend to use them for production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
See Technology Preview Features support scope on the Red Hat Customer Portal for information about the support scope for Technology Preview features.
-
Build the project:
$ mvn clean install
You can access the generated reports.
2.2. Running the Maven Plugin with multiple modules
To use the Maven plugin in a project with multiple modules, place the configuration inside the parent’s pom.xml
. During execution the Maven plugin will generate a single report that contains the analysis for the parent and any child modules.
|
Note
|
It is strongly recommended to set inherited to false in multi-module projects; otherwise, the Maven plugin will be executed when each child is compiled, resulting in multiple executions of the Maven plugin against the child modules. Setting inherited to false results in each project being analyzed a single time and drastically decreased run times.
|
To run the Maven plugin in a project with multiple modules perform the following steps.
-
Include the following plugin inside the parent project’s
pom.xml
. The following is a samplepom.xml
for a parent module.<plugin> <groupId>org.jboss.windup.plugin</groupId> <artifactId>windup-maven-plugin</artifactId> <version>5.2.1.Final</version> <inherited>false</inherited> <executions> <execution> <id>run-windup</id> <phase>package</phase> <goals> <goal>windup</goal> </goals> </execution> </executions> <configuration> <input>${project.basedir}</input> <offlineMode>true</offlineMode> <windupHome>>/PATH/TO/CLI/<</windupHome> </configuration> </plugin>
This
pom.xml
file differs from the default in the following attributes:-
inherited
: Defined at the plugin level, this attribute indicates whether or not this configuration should be used in child modules. Set tofalse
for performance improvements. -
input
: Specifies the path to the directory containing the projects to be analyzed. This attribute defaults to{project.basedir}/src/main
, and should be defined if the parent project does not have source code to analyze. -
windupHome
: A path to an extracted copy of the {ProductShortName} CLI. This attribute is optional, but is recommended as a performance improvement.The above example demonstrates a set of recommended arguments.
-
-
Build the parent project. During the build process the Maven plugin will execute against all children in the project without further configuration.
$ mvn clean install
-
Once completed, you can access the generated reports. This report contains the analysis for the parent and all children.
2.3. Accessing the report
When you execute Migration Toolkit for Applications, the report is generated in the OUTPUT_REPORT_DIRECTORY
that you specify using the outputDirectory
argument in the pom.xml
. Upon completion of the build, you will see the following message in the build log.
Windup report created: <OUTPUT_REPORT_DIRECTORY>/index.html
The output directory contains the following files and subdirectories:
<OUTPUT_REPORT_DIRECTORY>/ ├── index.html // Landing page for the report ├── <EXPORT_FILE>.csv // Optional export of data in CSV format ├── graph/ // Generated graphs used for indexing ├── reports/ // Generated HTML reports ├── stats/ // Performance statistics
See the Review the reports section of the {ProductShortName} CLI Guide for information on the {ProductShortName} reports and how to use them to assess your migration or modernization effort.
3. Exporting the report in CSV format
{ProductShortName} provides the ability to export the report data, including the classifications and hints, to a flat file on your local file system. The export function currently supports the CSV file format, which presents the report data as fields separated by commas (,
).
The CSV file can be imported and manipulated by spreadsheet software such as Microsoft Excel, OpenOffice Calc, or LibreOffice Calc. Spreadsheet software provides the ability to sort, analyze, evaluate, and manage the result data from an {ProductShortName} report.
3.1. Exporting the report
To export the report as a CSV file, run {ProductShortName} with the exportCSV
argument set to true
.
A CSV file is created in the directory specified by the --output
argument for each application analyzed. All discovered issues, spanning all the analyzed applications, are included in AllIssues.csv
file.
The CSV files are exported to the directory specified by the outputDirectory
argument.
3.2. Importing the CSV file into a spreadsheet program
-
Launch the spreadsheet software, for example, Microsoft Excel.
-
Choose File → Open.
-
Browse to the CSV exported file and select it.
-
The data is now ready to analyze in the spreadsheet software.
3.3. About the CSV data structure
The CSV formatted output file contains the following data fields:
- Rule Id
-
The ID of the rule that generated the given item.
- Problem type
-
hint or classification
- Title
-
The title of the classification or hint. This field summarizes the issue for the given item.
- Description
-
The detailed description of the issue for the given item.
- Links
-
URLs that provide additional information about the issue. A link consists of two attributes: the link and a description of the link.
- Application
-
The name of the application for which this item was generated.
- File Name
-
The name of the file for the given item.
- File Path
-
The file path for the given item.
- Line
-
The line number of the file for the given item.
- Story points
-
The number of story points, which represent the level of effort, assigned to the given item.
Appendix A: Reference material
A.1. About Maven Plugin arguments
The following is a detailed description of the available {ProductShortName} Maven plugin arguments.
| Argument | Description | ||
|---|---|---|---|
customLoggingPropertiesFile |
An absolute path to a |
||
disableTattletale |
Flag to disable generation of the Tattletale report. If both |
||
enableCompatibleFilesReport |
Flag to enable generation of the Compatible Files report. Due to processing all files without found issues, this report may take a long time for large applications. |
||
enableTattletale |
Flag to enable generation of a Tattletale report for each application. This option is enabled by default when |
||
excludePackages |
A list of packages to exclude from evaluation. For example, entering "com.mycompany.commonutilities" would exclude all classes whose package name begins with "com.mycompany.commonutilities". |
||
excludeTags |
A list of tags to exclude. When specified, rules with these tags will not be processed. |
||
explodedApps |
Flag to indicate that the provided input directory contains source files for a single application. |
||
exportCSV |
Flag to export the report data to a CSV file on your local file system. {ProductShortName} creates the file in the directory specified by the |
||
includeTags |
A list of tags to use. When specified, only rules with these tags will be processed. |
||
inputDirectory |
Specify the path to the directory containing the applications to be analyzed. This argument defaults to |
||
keepWorkDirs |
Flag to instruct {ProductShortName} to not delete temporary working files, such as the graph database and unzipped archives. This is useful for debugging purposes. |
||
packages |
A list of the packages to be evaluated by {ProductShortName}. This argument is required. |
||
offlineMode |
Flag to operate in offline mode, disabling network access features, such as scheme validation. Used to improve performance. |
||
outputDirectory |
Specify the path to the directory to output the report information generated by {ProductShortName}. This argument defaults to |
||
overwrite |
Flag to force delete the existing output directory specified by
|
||
sourceTechnologies |
A list of one or more source technologies, servers, platforms, or frameworks to migrate from. This argument, in conjunction with the |
||
sourceMode |
Flag to indicate that the application to be evaluated contains source files rather than compiled binaries. Defaults to |
||
targetTechnologies |
A list of one or more target technologies, servers, platforms, or frameworks to migrate to. This argument, in conjunction with the |
||
userIgnorePath |
Specify a location for {ProductShortName} to identify files that should be ignored. |
||
userRulesDirectory |
Specify a location for {ProductShortName} to look for custom {ProductShortName} rules. The value can be a directory containing ruleset files or a single ruleset file. The ruleset files must use the |
||
windupHome |
An optional argument that points to the root of an extracted {ProductShortName} CLI. By referencing a local installation of the CLI, the Maven plugin has direct access to all of the indexes, resulting in a performance increase. |
||
windupVersion |
Specify the version of {ProductShortName} to run. By default, this is the Maven plugin’s build version. |
A.1.1. Specifying the input directory
A path to the file or directory containing one or more applications to be analyzed. This defaults to {project.basedir}/src/main/
.
<inputDirectory>
<INPUT_ARCHIVE_OR_DIRECTORY>
</inputDirectory>
A.1.2. Evaluating an input file
Depending on whether the input file type provided to the inputDirectory
argument is a file or directory, it will be evaluated as follows depending on the additional arguments provided.
- Directory
-
--explodedApp --sourceMode Neither Argument The directory is evaluated as a single application.
The directory is evaluated as a single application.
Each subdirectory is evaluated as an application.
- File
-
--explodedApp --sourceMode Neither Argument Argument is ignored; the file is evaluated as a single application.
The file is evaluated as a compressed project.
The file is evaluated as a single application.
A.1.3. Specifying the output directory
Specify the path to the directory to output the report information generated by {ProductShortName}.
<outputDirectory>
<OUTPUT_REPORT_DIRECTORY>
</outputDirectory>
-
If omitted, the report will be generated in the
{project.build.directory}/windup-report
directory. -
If the output directory exists, it will be overwritten based on the value of the
overwrite
argument. This argument defaults totrue
, and causes {ProductShortName} to delete and recreate the directory.
A.1.4. Setting the source technology
A list of one or more source technologies, servers, platforms, or frameworks to migrate from. This argument, in conjunction with the targetTechnologies
argument, helps to determine which rulesets are used.
<sourceTechnologies>
<source>eap:6</source>
</sourceTechnologies>
The sourceTechnologies
argument now provides version support, which follows the Maven version range syntax. This instructs {ProductShortName} to only run the rulesets matching the specified versions. For example, <source>eap:5</source>
.
A.1.5. Setting the target argument
A list of one or more target technologies, servers, platforms, or frameworks to migrate to. This argument, in conjunction with the sourceTechnologies
argument, helps to determine which rulesets are used. This argument is required
<targetTechnologies>
<target>eap:7</target>
</targetTechnologies>
The targetTechnologies
argument now provides version support, which follows the Maven version range syntax. This instructs {ProductShortName} to only run the rulesets matching the specified versions. For example, <target>eap:7</target>
.
|
Warning
|
When migrating to JBoss EAP, be sure to specify the version in the target, for example, See Supported migration paths in Introduction to the Migration Toolkit for Applications for the appropriate JBoss EAP version. |
A.1.6. Selecting packages
A list of the packages to be evaluated by {ProductShortName}. It is highly recommended to use this argument.
<packages>
<package>
<PACKAGE_1>
</package>
<package>
<PACKAGE_2>
</package>
</packages>
-
In most cases, you are interested only in evaluating custom application class packages and not standard Java EE or third party packages. The
<PACKAGE_N>
argument is a package prefix; all subpackages will be scanned. For example, to scan the packagescom.mycustomapp
andcom.myotherapp
, use the following snippet in yourpom.xml
.<packages> <package>com.mycustomapp</package> <package>com.myotherapp</package> </packages>
-
While you can provide package names for standard Java EE third party software like
org.apache
, it is usually best not to include them as they should not impact the migration effort.
A.2. Default logging properties
The default logging.properties
file included with the Maven plugin is provided below. This configuration omits many extraneous messages while allowing you to view the progress of the Maven plugin.
logging.properties
file# Licensed under the Eclipse Public License version 1.0, available at # http://www.eclipse.org/legal/epl-v10.html # # Additional loggers to configure (the root logger is always configured) #loggers= handlers=java.util.logging.ConsoleHandler .level=INFO #java.util.logging.ConsoleHandler.level=INFO #loggers=org.jboss.forge,org.jboss.weld,org.xnio,org.jboss.forge,org.ocpsoft.rewrite,org.jboss.windup.graph.GraphModelScanner,org.jboss.windup.reporting.xml.ClassificationHandler,org.jboss.windup.graph.GraphTyp$ org.jboss.forge.level=SEVERE org.janusgraph.level=SEVERE org.janusgraph.diskstorage.berkeleyje.BerkeleyJEKeyValueStore.level=SEVERE org.janusgraph.diskstorage.berkeleyje.level=SEVERE org.jboss.weld.level=SEVERE org.xnio.level=SEVERE org.jboss.forge.level=SEVERE org.ocpsoft.rewrite.level=SEVERE org.jboss.windup.graph.GraphModelScanner.level=SEVERE org.jboss.windup.reporting.xml.ClassificationHandler.level=SEVERE org.jboss.windup.graph.GraphTypeManager.level=SEVERE org.jboss.windup.graph.GraphContextImpl.level=SEVERE org.jboss.windup.rules.files.FileMapping.level=SEVERE org.jboss.windup.exec.level=SEVERE org.jboss.windup.config.level=SEVERE com.thinkaurelius.level=SEVERE org.jboss.windup=INFO
A.3. About rule story points
A.3.1. What are story points?
Story points are an abstract metric commonly used in Agile software development to estimate the level of effort needed to implement a feature or change.
The Migration Toolkit for Applications uses story points to express the level of effort needed to migrate particular application constructs, and the application as a whole. It does not necessarily translate to man-hours, but the value should be consistent across tasks.
A.3.2. How story points are estimated in rules
Estimating the level of effort for the story points for a rule can be tricky. The following are the general guidelines {ProductShortName} uses when estimating the level of effort required for a rule.
| Level of Effort | Story Points | Description |
|---|---|---|
Information |
0 |
An informational warning with very low or no priority for migration. |
Trivial |
1 |
The migration is a trivial change or a simple library swap with no or minimal API changes. |
Complex |
3 |
The changes required for the migration task are complex, but have a documented solution. |
Redesign |
5 |
The migration task requires a redesign or a complete library change, with significant API changes. |
Rearchitecture |
7 |
The migration requires a complete rearchitecture of the component or subsystem. |
Unknown |
13 |
The migration solution is not known and may need a complete rewrite. |
A.3.3. Task category
In addition to the level of effort, you can categorize migration tasks to indicate the severity of the task. The following categories are used to group issues to help prioritize the migration effort.
- Mandatory
-
The task must be completed for a successful migration. If the changes are not made, the resulting application will not build or run successfully. Examples include replacement of proprietary APIs that are not supported in the target platform.
- Optional
-
If the migration task is not completed, the application should work, but the results may not be optimal. If the change is not made at the time of migration, it is recommended to put it on the schedule soon after your migration is completed. An example of this would be the upgrade of EJB 2.x code to EJB 3.
- Potential
-
The task should be examined during the migration process, but there is not enough detailed information to determine if the task is mandatory for the migration to succeed. An example of this would be migrating a third-party proprietary type where there is no directly compatible type.
- Information
-
The task is included to inform you of the existence of certain files. These may need to be examined or modified as part of the modernization effort, but changes are typically not required. An example of this would be the presence of a logging dependency or a Maven
pom.xml
.
For more information on categorizing tasks, see Using custom rule categories.
A.4. Additional resources
A.4.1. Getting involved
To help the Migration Toolkit for Applications cover most application constructs and server configurations, including yours, you can help with any of the following items.
-
Send an email to<EMAIL_ADDRESS>and let us know what {ProductShortName} migration rules should cover.
-
Provide example applications to test migration rules.
-
Identify application components and problem areas that may be difficult to migrate.
-
Write a short description of these problem migration areas.
-
Write a brief overview describing how to solve the problem migration areas.
-
-
Try Migration Toolkit for Applications on your application. Be sure to report any issues you encounter.
-
Contribute to the Migration Toolkit for Applications rules repository.
-
Write a Migration Toolkit for Applications rule to identify or automate a migration process.
-
Create a test for the new rule.
-
Details are provided in the Rules Development Guide.
-
-
Contribute to the project source code.
-
Create a core rule.
-
Improve {ProductShortName} performance or efficiency.
-
See the Core Development Guide for information about how to configure your environment and set up the project.
-
Any level of involvement is greatly appreciated!
A.4.2. Resources
-
{ProductShortName} forums: https://developer.jboss.org/en/windup
-
{ProductShortName} Jira issue trackers
-
Core {ProductShortName}: https://issues.redhat.com/projects/WINDUP
-
{ProductShortName} Rules: https://issues.redhat.com/projects/WINDUPRULE
-
-
{ProductShortName} mailing list<EMAIL_ADDRESS>-
{ProductShortName} IRC channel: Server FreeNode (
irc.freenode.net
), channel#windup
(transcripts).
A.4.3. Reporting issues
{ProductShortName} uses Jira as its issue tracking system. If you encounter an issue executing {ProductShortName}, submit a Jira issue.
Revised on 2021-12-06 11:34:10 +0200


Why love Pragati ?
Pragati is an intuitive app that unites our richer and poor class of society together.
It is an application aimed to erradicate food crisis in society and in general, throughout
the country by bringing closer the richer class to empathize with the poor and thereby
donating additional food to the needy to make their day great.


{% import 'admin/layout.html' as layout with context -%} {% from "_formhelpers.html" import render_field %}


DataSelfie: Empowering People to Design Personalized Visuals to Represent Their Data
Published in ACM Conference on Human Factors in Computing Systems (CHI), 2019
Nam Wook Kim, Hyejin Im, Nathalie Henry Riche, Alicia Wang, Krzysztof Z. Gajos, Hanspeter Pfister
Abstract of the paper: Many personal informatics systems allow people to collect
and manage personal data and reflect more deeply about
themselves. However, these tools rarely offer ways to customize how the data is visualized. In this work, we investigate the question of how to enable people to determine
the representation of their data. We analyzed the Dear Data
project to gain insights into the design elements of personal
visualizations. We developed DataSelfie, a novel system that
allows individuals to gather personal data and design custom
visuals to represent the collected data. We conducted a user
study to evaluate the usability of the system as well as its
potential for individual and collaborative sensemaking of
the data.
research paper
software


HOME
CONTACT
WORK
P01
+context: 3D game design
+role: 3D modeler, art director
P02
+context: photograph, graphic design
+role: photographer, designer


magenta is immutable where convenient, does not have null, and aims to keep code as short as possible whilst maintaining not being absolutely ridiculous
view the whole document on github
assignment is done with the -> operator instead of = in most languages, this is because it fits in well with piping which is explained later
there is no "null" or "undefined" in magenta, you are encouraged to assign to variables where they are defined, but if such is not possible the variable will be assigned its default value until the writer decides to assign to them later
// regular variable assignment, type is inferred "lorem" -> var w // string ("lorem") // "empty" variable assignment, type has to be specified var x string // empty string ("") var y int // zero (0) var z Guy // the struct is initialized with default values of all of its members (new Guy())
magenta is somewhat immutable, and has no references. there is no manual memory management, and it implements escape analysis as its sole garbage collection mechanism
var globalHomer Guy string getName() { // initializes a new Guy with name "lisa" into new variable 'guy' new Guy(name "lisa") -> var guy // creates a copy of guy into a new variable 'otherGuy' guy -> var otherGuy "homer" -> guy.name // copies the values of guy over 'globalHomer''s values guy -> globalHomer "asdf" -> guy.name // 'otherGuy' is unaffected by the modification of guy return otherGuy.name // "lisa" // upon end of the function, all allocated resources are cleared in bulk // where getName() is used the caller will not receive a reference to the name, but the actual string itself } // globalHomer has its default values globalHomer.name | tty.println // "" // getName is ran, returning the name of 'otherGuy' // it also modifies the 'globalHomer' variable... getName() | tty.println // "lisa" // ...but the further modification of 'guy' is not propagated (as magenta has no references!!!) globalHomer.name | tty.println // "homer"


Wheely' hungry burglars break into Market Drayton pub to steal cheese
by Rory SmithHungry burglars broke into a pub in Market Drayton and stole a wheel of cheese.
An unknown number of thieves found their way into The Red Lion Inn on Great Hales Street some time last night and took a wheel of cheese before leaving the premises.
West Mercia Police officers covering the area are investigating the incident and are appealing for information.
Market Drayton Safer Neighbourhood Team tweeted: "Break in reported at Red Lion, Great Hales St overnight.
"Offender/s stole a wheel of cheese."
Anyone with information should contact police on 101 or contact Crimestoppers anonymously on<PHONE_NUMBER> or crimestoppers-uk.org


Toggole navigation
Home
FAQ
CONTACT US
LOG IN
Login with Facebook
News Feed
Physics
Chemistry
Math
Biology
ICT
Others
Ask a Question
- Category -
Physics
Chemistry
Math
Biology
ICT
Others
Send Notifications
Image
Cancel
Submit


ArabTeX converter
Description
Juste tape your text in Arabic, then push "To ArabTeX" button to see the LaTeX result in the right side. If you want to donwload the LaTeX code on the left, push "download".
Arabic text
To ArabTeX
Download
LaTeX code


Policeman charged with murder after death of Dalian Atkinson
A police officer has been charged with murder after the 2016 death of former English Premier League striker Dalian Atkinson, the Crown Prosecution Service (CPS) said in a statement on Thursday.
LONDON: A police officer has been charged with murder after the 2016 death of former English Premier League striker Dalian Atkinson, the Crown Prosecution Service (CPS) said in a statement on Thursday.
An alternative charge of unlawful act manslaughter was also put forward.
Atkinson, 48, died when police fired a high-voltage Taser stun-gun at him during an incident outside his father's house in his home town of Telford in central England.
A second officer was charged with assault causing actual bodily harm.
"This decision was made following a careful review of all the evidence presented to us by the Independent Office for Police Conduct following an investigation," said Jenny Hopkins of the CPS.
The unidentified officers were due to appear at Birmingham Magistrates' Court later on Thursday.
Atkinson started his professional career at Ipswich Town and his clubs included Sheffield Wednesday, Aston Villa and Spain's Real Sociedad as well as Turkish side Fenerbahce.
(Reporting by Alan Baldwin, editing by Christian Radnedge)


The Mummy (no stars)
rated PG-13 Universal Pictures starring Brendan Fraser, Rachel Weisz, John Hannah, Arnold Vosloo, Jonathan Hyde, Stephen Dunham written and directed by Stephen Sommers
I am a movie critic; that much is obvious. But moreso, I consider myself a movie lover. Sometimes, in an awful movie, my friends will beg me to leave the theatre halfway through the film. But I always stay, hoping that a good ending can save the otherwise horrible movie. But two-thirds of the way through the painfully bad The Mummy, I realized there was no hope, and my more-than-willing friend and I left the theatre then and there.
We walked through the campus of UCLA at midnight, and talked to the fans waiting in line to get tickets to the new "Star Wars" movie. We watched "L.A. Confidential" with them and waited for a cab. When we got in the cab, the driver asked, "So, what did you do tonight?" "We saw a bad movie," I answered. "The Mummy?" he asked. He explained that the night before he had driven home people who felt as if they witnessed a disaster by watching the movie. Enough said.
Brendan Fraser, whom I was just beginning to like, stars as Rick O'Connell, a foreign soldier fighting in 1920's Egypt. He is fighting for the lost city of Hammenabtra, known as the city of the dead. Many years before, a man (Arnold Vosloo) had been mummified with a powerful curse that would infect anyone who came into contact with him.
Anyway, Rick, a librarian named Evelyn (Rachel Weisz), and her brother (John Hannah), go back to Hammenabtra to find ancient artifacts worth millions. What they end up doing is waking the mummy, and trying to stop him.
Going through all the problems of The Mummy would waste a lot of precious time, so I'll just point out something that really pissed me off. Director Stephen Sommers (Deep Rising) calls his film a "sweeping, desert epic", and he is so visually derivative of The English Patient in a couple scenes that I almost wanted to scream. If only Sommers could have made his plot and characters a litle bit more like the characters in The English Patient...
Universal Pictures is supposedly in need of a hit after notable flops like Babe: Pig In The City, Meet Joe Black, and EdTV, but I think that bad word of mouth will cut The Mummy off after a large opening weekend. The film should do little to hamper Brendan Fraser's rising stardom, but I'd like to see him choose more good roles like Gods and Monsters or School Ties.
I feel as if I've wasted to much time on this review when I only need to prove one point: The Mummy is crap on a reel.
a review by Akiva Gottlieb<EMAIL_ADDRESS>http://www.angelfire.com/mo/film watch me on TBS' "Dinner And A Movie" May 21, 8:05pm EST
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


Override defaults with $.messager.defaults.
| Name | Type | Description | Default |
|---|---|---|---|
| ok | string | The Ok button text. | Ok |
| cancel | string | The Cancel button text. | Cancel |
| Name | Parameters | Description |
|---|---|---|
| $.messager.show | options | Show a message window on right bottom of screen. The
options parameter is a configuration object: showType: Defines how the message window to be showed. Available values are: null,slide,fade,show. Defaults to slide. showSpeed: Defines the time in milliseconds message window finishs show. Defaults to 600. width: Defines the width of message window. Defaults to 250. height: Defines the height of message window. Defaults to 100. msg: The message text to be showed. title: The title text to be showed on header panel. timeout: If defines to 0, the message window will not close unless user close it. Defines to unzero, the message window will be auto closed when timeout. |
| $.messager.alert | title, msg, icon, fn | Show an alert window. Parameters: title: The title text to be showed on header panel. msg: The message text to be showed. icon: The icon image to be showed. Available value are: error,question,info,warning. fn: The callback function triggered when window closed. |
| $.messager.confirm | title, msg, fn | Show a confirmation message window with Ok and Cancel
buttons. Parameters: title: The title text to be showed on header panel. msg: The message text to be showed. fn(b): The callback function, when user click Ok button, pass a true value to function, otherwise pass a false to it. |
| $.messager.prompt | title, msg, fn | Show a message window with Ok and Cancel buttons prompting
user to enter some text. Parameters: title: The title text to be showed on header panel. msg: The message text to be showed. fn(val): The callback function with a value parameter user entered. |
| $.messager.progress | options or method | Show a progress message window. The options is defined as: title: The title text to be showed on header panel, default ''. msg: The message box body text, default ''. text: The text to display in the progress bar, default undefined. interval: The length of time in milliseconds between each progress update, default 300. The method is defined as: bar: Get the progressbar object. close: Close the progress window. Code ExampleShow progress message window.$.messager.progress();Now close the message window. $.messager.progress('close'); |


The Crown season three to cover Charles and Camilla, the Queen at Aberfan and Princess Margaret's affair
What do we know about the Royals? Virtually nothing.
The most public family in the world is notoriously secretive about their lives, none more so than the monarch herself.
While the multi-million-dollar Netflix series The Crown has dramatised what might have happened behind closed doors, the Queen's public appearances in historical moments are recreated with impeccable accuracy.
The latest season, which will be released on November 17, takes the biggest leap yet across time to cover the 13 years between 1964 and 1977 with Olivia Colman and Outlander actor Tobias Menzies as the ruling couple.
Here are some of the flashpoints you can expect to see:
The Soviet spy
Episode one kicks off the season with the unfolding of arguably the biggest spy scandal of the 20th century.
Anthony Blunt was a well-respected art historian and in charge of the Queen's personal collection — he was knighted in 1956 for his work in the role.
But that all came crashing down when he confessed to MI5 to being a member of the infamous Cambridge Five spy ring, who passed information to the Soviets during World War II and the early stages of the Cold War.
Blunt, played by Samuel West, was granted immunity in exchange for information and his treachery was kept a state secret until 1979 when he was outed by then-prime minister Margaret Thatcher.
He was stripped of his knighthood and publicly disgraced before dying of a heart attack in 1983.

The Aberfan disaster
It will be difficult to maintain a stiff upper lip watching the third episode, which focuses on the Queen's sombre visit to the small Welsh mining town of Aberfan (pronounced Aber-van) as it was coming to grips with a devastating tragedy.
On the morning of Friday, October 21, 1966, a pile of coal waste dumped on a hill above the village turned to slurry after several days of heavy rain.
A black tidal wave slid down into the valley, crushing more than a dozen houses and flooding the local primary school.
In all, 144 people died — 116 of whom were children, most of them aged between seven and 10.
During her visit nine days after the event, the Queen promised never to forget them. She has returned to Aberfan on several occasions, most recently in 2012.
"I well remember my own visit with Prince Philip after the disaster, and the posy I was given by a young girl, which bore the heart-breaking inscription, 'From the remaining children of Aberfan'," the Queen said on the 50th anniversary of the disaster.
Charles and Camilla
The Crown trailer shows Charles, played by Josh O'Connor, being formally acknowledged as the Prince of Wales at his investiture at Caernarfon Castle in July 1969 (get ready to hear some Welsh).
It also teases the start of his relationship with Camilla Shand, whom we see a glimpse of with actress Emerald Fennell smoking a cigarette in a bubble bath.
Charles and Camilla met in the early 70s and by all accounts were very much in love.
But things came to a sudden end in early 1973, and Camilla went on to marry Andrew Parker Bowles that July — not long after he had been courting Charles' sister Princess Anne.
Exactly what led to their break-up has been widely speculated, but the trailer hints The Crown will show a Royal family plot to split them up.
As Wallis Simpson tells Charles in the trailer: "If I may offer two pieces of advice: never turn your back on true love … [Charles: 'and the second?'] Watch out for your family".
Princess Margaret and Roddy Llewellyn
Love has never run smoothly for Princess Margaret in The Crown and season three is no different for the younger royal sister, who is now played by Helena Bonham Carter.
Margaret's marriage to Lord Snowdon was strained by the early 70s and the pair had numerous affairs, the most public of the period being the Princess's eight-year-long relationship with gardener Roddy Llewellyn.
In 1976, a tabloid newspaper published photographs of Llewellyn, who was 17 years younger than Margaret, swimming with the Royal on holiday on the Caribbean island of Mustique.
That incident is set to play out on screen with Penny Dreadful actor Harry Treadaway as Llewellyn.
Margaret and Snowdon divorced in 1978, paving the way for other Royals to do so in the future, including her nephew Charles.
At the world premiere of the season, Bonham Carter said the hardest thing about playing Margaret was so many people feel they know her and have an opinion about her.
"There were so many really close friends that were all too happy to talk about her and wanted to, and really loved her and also wanted to show the side that was less known about her — that she was funny, that she was full of warmth and that she was very multicoloured," Bonham Carter said.
Duke of Windsor's final days
Wallis Simpson (now played by Geraldine Chaplin) dressed in black in the trailer foreshadows one thing — the death of her husband and would-be king, Edward VIII.
The Queen was due to see her uncle, the Duke of Windsor, as she visited his home-in-exile France during a state visit with Prince Philip and Prince Charles in 1972.
However, the Duke was too ill to have tea with the Queen and they instead had a 15-minute private conversation at his Paris apartment. He died 10 days later from throat cancer.
If that final conversation makes it to screen, it will no doubt be a tense moment for the Duke, played by Derek Jacobi, who was known to hold great disdain for his family for not embracing his relationship with Simpson, a divorcee.
Winston Churchill's funeral
Winston Churchill's death in January 1965 is a notable moment in history but also a rare occasion where the Queen broke protocol to farewell her first prime minister.
John Lithgow avoids being recast to play the once-great leader in his final days.
Churchill was the first politician to be given a state funeral in the 20th century.
The Queen waived her right to be the last to enter St Paul's, instead choosing to enter before the coffin and Churchill's family. She also allowed them to leave the church first.
Prime Minister Harold Wilson
Labour leader Harold Wilson, played by Jason Watkins, won the 1964 election with a narrow majority and was in and out of 10 Downing Street until his shock resignation in 1976.
During his first stint as prime minister, Wilson's government devalued the pound, sent troops into Northern Ireland, abolished the death penalty and oversaw deteriorating relations with trade unions.
Wilson lost the 1970 election to Conservative Party leader Edward Heath, who led Britain in 1973 into the European Community — now know as the European Union.
After his re-election in 1974, Wilson spent two more years in government, making him Labour's longest-serving prime minister until the record was broken by Tony Blair in 2005.
The Queen is reported to have had a good relationship with Wilson, and made a rare visit to Downing Street to attend his farewell dinner. She also attended Churchill's farewell dinner in 1955.
UK miners' strike
In 1972 British miners held their first official strike since 1926, with 280,000 workers walking off the job to demand an extra 9 British pounds a week on top of their 25-pound weekly wage.
As mining production shut down across the country, homes and businesses lost power, prompting the government to declare a state of emergency on February 9 and introduce a three-day working week to reduce electricity consumption.
A deal was reached on February 19, and while it was less than what the miners' were claiming, they became among the highest-paid blue-collar workers.
Two years later the miners, led by unionist Arthur Scargill, held another strike that brought about another emergency.
The prime minister, Mr Heath, called a snap election to end the strikes but lost to Labor's Mr Wilson.
The unrest continued well into the next decade, with strikes in March 1984 and 1985 marking Britain's biggest industrial dispute since World War II.
Silver jubilee
Season three ends with the Queen's Silver Jubilee, celebrating her 25 years on the throne (even though it was held 24 years after her coronation).
Millions took to the streets of London on June 7, 1977, as the Queen made her way to St Paul's in the golden state coach.

The Queen has since celebrated her Golden Jubilee in 2002 (50 years) and her Diamond Jubilee (60 years).
The next celebration, the Platinum Jubilee, is due to be held in 2022 to mark the Queen's 70 years on the throne.
Is Diana in this season of The Crown?
Don't expect Diana to make an appearance in this season. While actress Emma Corrin has been cast in the role, Charles and Diana didn't meet until 1977.
You also won't see a dramatic event from this time period involving Princess Anne.
In 1974, Princess Anne evaded an attempted kidnapping by Ian Ball, who planned to hold the 23-year-old Royal for a large ransom, which he wanted to donate to the National Health Services (NHS).
Anne's bodyguard, a policeman, a chauffeur and a passing motorist were shot as they tried to protect the Princess, who was not physically harmed during the assault.
Bell was captured by police and later pleaded guilty to attempted murder and kidnapping, and ordered to serve out his sentence at a mental health facility.
While season three of The Crown does take a look at Anne's life during this period, the attempted kidnapping has not been included.

The actress, who replaced the blue-eyed Claire Foy, has brown eyes.
Director Ben Caron told The Guardian that Colman was fitted with blue contact lenses but it made it seem like she was "acting behind a mask".
An attempt was also made to change the colour in post-production but that too was rejected.


read_module - Reads a file containing Reactive Module descriptions.
read_module [-hp] lt;filenamegt;
This commands reads in a file containing Reactive Module
descriptions, as well as global type definitions.
Command Options:
- -h
- Prints usage.
- -p
- Invoke the pure parser. By default, the input file is preprocessed to
handle #define and #foreach...#endforeach constructs. If -p is specified,
these will not be handled.
Last updated on 1031103 12h03


Add widgets by expanding one of the data sources in the "Sources" panel on the left and dragging a stat from that data source to a widget type in the "Widget Types" panel.
You can also restore deleted widgets from the trash in the data panel to the left.
Select a layout file to open


The Essentials
Bookmark these websites; you’ll need them:
- HTML Dog HTML Tag Reference
- SitePoint HTML Reference
- HTML Dog CSS Properties
- SitePoint CSS Reference
- W3C Markup Validation Service: XHTML/HTML validator
- W3C CSS Validation Service: CSS validator
Do not use materials found at W3Schools. See the standards-based design community’s response to W3Schools at w3fools.com, which notes some examples of inaccuracies in W3School’s materials.
Mac OS X users should download and install these:
- TextWrangler: Text editor; also available via the Mac App Store
- Mozilla Firefox: Open-source Web browser
- Chris Pederick’s Web Developer Add-on for Firefox: Firefox add-on; install from within Firefox
- XAMPP for Mac OS X: Development Web server
Windows users should download and install these:
- Notepad++ (“Notepad plus”): Text editor; download the zip package; run the version in the
unicode
folder - Mozilla Firefox: Open-source Web browser
- Chris Pederick’s Web Developer Add-on for Firefox: Firefox add-on; install from within Firefox
- XAMPP for Windows: Development Web server
Windows users running USB drives should download and install these:
- Notepad++ (“Notepad plus”): Text editor; download the zip package; run the version in the
unicode
folder - Mozilla Firefox, Portable Edition: Open-source Web browser
- Chris Pederick’s Web Developer Add-on for Firefox: Firefox add-on; install from within Firefox
- XAMPP for Windows: Development Web server
Browsers and Browser-based Development Tools
- Google Chrome: Webkit-based browser
- Chris Pederick’s Web Developer Add-on for Google Chrome: Chrome extension
- Opera: Web browser
- Safari for Windows: Webkit-based browser
- Microsoft Expression Web SuperPreview: Internet Explorer testing; requires Windows/IE8
- Lynx for Windows: Text-only Web browser
- Lynx for Mac OS X: Text-only Web browser
Free and Open Source Software
- 7-Zip: File archive program for Windows and other operating systems
- PortableApps.com: Free and open-source Windows applications that can be run on a USB drive
- FreeSMUG.org: Free and open-source Mac OS X applications that can be run on a USB drive
- Notepad++ (“Notepad plus”): Recommended free text editor for Windows; can be run from USB drive
- TextWrangler: Recommended free text editor for Mac OS X; also available via the Mac App Store
- WinSCP: FTP/SFTP client for Windows
- Cyberduck: FTP/SFTP client for Mac OS X
- FileZilla: FTP/SFTP client for all operating systems
- Mozilla Firefox: Recommended baseline development browser
- Chris Pederick’s Web Developer Add-on for Firefox: Recommended Firefox add-on for Web design and development
- GIMP: GNU Image Manipulation Program: Cross-platform free and open-source graphics software
- Audacity: Cross-platform free and open-source audio software
- Avidemux: Cross-platform free and open-source video software
- XAMPP for Windows: Development Web server
- XAMPP for Mac OS X: Development Web server
- XAMPP Documentation: Development Web server documentation
Web Standards Information and Education
- Section 508: United States government IT accessibility
- Section 508 guidelines and standards: United States Access Board
- W3C Markup Validation Service: XHTML/HTML validator
- W3C CSS Validation Service: CSS validator
- Web Accessibility Initiative (WAI): W3C organization
- Web Content Accessibility Guidelines (WCAG): W3C recommendation
- Web Standards Project (WaSP): Standards advocacy and education group
- World Wide Web Consortium (W3C): Group behind the recommendations that make up many Web standards
Web Design Galleries and Inspiration
- CSS Zen Garden: Site of CSS designs using the exact same XHTML
Language References and Documentation
- HTML Dog HTML Tag Reference: Language reference
- HTML Dog CSS Properties: Language reference
- Microformats.org: Language reference
- MIME Types List: Webmaster Toolkit reference
- PHP documentation: Language reference
- SitePoint HTML Reference: Language Reference
- SitePoint CSS Reference: Language reference
Web Design and Development Libraries
- Yahoo! YUI Reset CSS: CSS reset file
- jQuery: JavaScript library
- jQuery Docs: JavaScript library documentation
- jQuery API: JavaScript library API documentation
- jQuery Plugins: JavaScript library plugins
- MooTools: JavaScript library
- Prototype: JavaScript library
- Google Libraries API: Google-hosted libraries
- Yahoo! Media Player: Audio player
- WordPress Audio Player: Audio player
- 1 Bit Audio Player: Audio player
- SWFObject: Standards-compliant Flash media loader
Design Approaches and Techniques
- Revised Image Replacement: Dave Shea’s gallery of CSS image-replacement techniques
- 960 Grid System: Layout approaches
- 978 Grid System: Layout approaches
- Quirksmode.org Conditional Comments: Internet Explorer work-arounds
- CSS Compatibility and Internet Explorer: Internet Explorer work-arounds
- no-www.org: Site arguing against www. in Web URLs
- www.yes-www.org: Site arguing for www. in Web URLs
WordPress
- WordPress.org: Project home page
- WordPress.org: Blogging software
- Wordpress Codex: WordPress documentation


PUBLIC INTERFACE
use utilities_mod [, only: utilities_init, utilities_end,
error_mesg, NOTE, WARNING, FATAL,
file_exist, open_file, close_file,
read_data, write_data,
check_nml_error, print_version_number,
get_my_pe, get_num_pes, sync_all_pes,
get_root_pe,
set_domain, get_domain_decomp,
mpp_sum, mpp_min, mpp_max,
set_system_clock, check_system_clock
check_sum
utilities_init Initializes the utilities module and also the mpp_io
module (which initializes all mpp mods).
Will be called automatically if the user does not call it.
utilities_end Calls mpp_io_exit and check_system_clock.
error_mesg Print notes, warnings and error messages;
terminates program for warning and error messages.
(use error levels NOTE,WARNING,FATAL, see example below)
file_exist Function that returns whether a requested file name exists.
open_file Opens a given file name for I/O and returns a unit number.
If the file is already open the unit number is returned.
close_file Closes the requested unit number for I/O.
read_data Reads distributed data.
write_data Writes distributed data.
check_nml_error Checks the iostat returned when reading namelist input
and determines if the error code is valid, if not
the program is terminated.
write_version_number Prints out the version/id string and tag name
to a specified unit (presumably a log file).
set_domain Sets a pointer for a private utilities_mod
domain2d data type. This domain2d type is
used for subsequent calls by read_data and
write data.
get_domain_decomp Returns domain information from the domain2d
type set by the most recent call to set_domain.
set_system_clock Sets (or resets) a real-time clock.
This is automatically called by utilities_init.
check_system_clock Outputs the elapsed real-time since the last
call to set_system_clock (or utilities_init).
lowercase Convert character strings to all lower case
uppercase Convert character strings to all upper case
mpp_clock_init Sets up a identifier for performance timing
(similar to mpp_clock_id)
check_sum Returns a global (from all PEs) integer check sum.
--- Routines with exact functionality to mpp_mod routines ----
get_my_pe Returns the pe number. (mpp_pe)
get_root_pe Returns the root pe number. (mpp_root_pe)
get_num_pes Returns the total number pe's. (mpp_npes)
sync_all_pes Synchronizes pe's. (mpp_sync)
mpp_sum Compute summation. (mpp_sum)
mpp_min Find minimum. (mpp_min)
mpp_max Find maximum. (mpp_max)
check_sum Performs integer check sums (mpp_chksum)
mpp_clock_begin Initiates performance timing (mpp_clock_begin)
mpp_clock_end Terminates performance timing (mpp_clock_end)
PUBLIC ROUTINES
file_exist (file_name)
Input
file_name A file name (or path name) that is checked for existence.
[character]
Returns
This function returns a logical result.
If file_name exists the result is true, otherwise false is returned.
When reading a file, this function is often used in conjunction with
routine open_file.
---------------------------------------------------------------------
call error_mesg ( routine, message, level )
Input
routine Routine name where the warning or error has occurred.
[character]
message Warning or error message to be printed to standard output.
[character]
level Level of severity; set to NOTE, WARNING, or FATAL
Termination always occurs for FATAL, never for NOTE,
and is setable for WARNING (see namelist).
[integer]
Examples:
use utilities_mod, only: error_mesg, FATAL, NOTE
call error_mesg ('utilities_mod', 'initialization not called', FATAL)
call error_mesg ('utilities_mod', 'utilities_mod message', NOTE)
---------------------------------------------------------------------
check_nml_error ( iostat, nml_name )
Input
iostat The iostat value returned when reading a namelist record.
[integer]
nml_name The name of the namelist.
[character]
Returns
This function returns the input iostat value (integer) if it is an
allowable error code. If the iostat error code is not allowable,
an error message is printed to standard output and the program
terminated.
Note
See a table of possible iostat error codes
you may encounter on the Cray T90 or an SGI workstation.
Example
The following example check if a file exists, reads a namelist input
from that file, and checks for errors in that namelist.
if ( file_exist('input.nml') ) then
unit = open_file (file='input.nml')
ierr=1
do while (ierr /= 0)
read (unit, nml=moist_processes_nml, iostat=io, end=10)
ierr = check_nml_error(io,'moist_processes_nml')
enddo
10 close (unit)
endif
---------------------------------------------------------------------
unit = open_file ( file, form, action, access, threading, recl )
Input
file A file name (or path name).
[character]
Input (optional)
form The file format, use "formatted", "unformatted", "ascii",
"native", "ieee32", or "netcdf". Formatted and ascii are
the same, unformated and native are the same.
For ieee32 files, the iospec option for mpp_open is set
to the value in the utilities module namelist.
[character, default: "formatted"]
action I/O action to be performed, use "read", "write", or "append".
In this version there is no default, this argument must be
supplied when using the open_file interface.
[character, default: none ????]
access Direct or sequential file access, use "direct" or "sequential".
[character, default: "sequential"]
threading Single or multi-threading, use "single" or "multi".
For single threading, the no_header flag for mpp_open
is set to TRUE.
[character, default: "single"]
recl Record length for direct access files.
[integer, default: none]
Returns
This function opens the requested file and returns a fortran unit
number (integer). If the file is already open, the unit assigned to
that file is returned.
Example
When reading a file, this function is often used in conjunction with
routine file_exist.
if ( file_exist (`your_file') ) then
unit = open_file ( file='your_file', ..... )
endif
---------------------------------------------------------------------
call close_file ( unit, status )
---------------------------------------------------------------------
call write_version_number ( unit, version, tagname )
Input
unit The fortran unit number of an open formatted file.
This file is usually a log file.
[integer]
tagname The tag/name string usually returned by CVS
when checking out the code.
[character]
version The version/id string usually returned by CVS
when checking out code.
[character]
---------------------------------------------------------------------
call set_domain ( Domain2 )
Input
Domain2 Domain decomposition information.
[type(domain2d), target]
This interface must be called prior to calling interfaces
get_domain_decomp, read_data, or write_data.
---------------------------------------------------------------------
call get_domain_decomp ( x, y )
Input
x, y Arrays containing the current (since the last call to
set_domain) global and local start and end indices,
for the x- and y-axis, respectivly. The array values are
(/ global_start, global_end, local_start, local_end /).
[integer, dimension(4)]
---------------------------------------------------------------------
call read_data ( unit, data, end )
Input
unit The fortran unit number of an open unformatted file.
This value is returned by a previous call to open_file.
[integer]
Output
data Distributed data to be read.
The following data formats are allowed:
[real , dimension(isd:,jsd:) ]
[logical, dimension(isd:,jsd:) ]
[integer, dimension(isd:,jsd:) ]
[complex, dimension(isd:,jsd:) ]
[real , dimension(isd:,jsd:,:) ]
[complex, dimension(isd:,jsd:,:) ]
[real , dimension(isd:,jsd:,:,:)]
[complex, dimension(isd:,jsd:,:,:)]
NOTE: You must call set_domain before calling read_data.
---------------------------------------------------------------------
call write_data ( unit, data, end )
Input
unit The fortran unit number of an open unformatted file.
This value is returned by a previous call to open_file.
[integer]
data Distributed data to be written.
The following data formats are allowed:
[real , dimension(isd:,jsd:) ]
[logical, dimension(isd:,jsd:) ]
[integer, dimension(isd:,jsd:) ]
[complex, dimension(isd:,jsd:) ]
[real , dimension(isd:,jsd:,:) ]
[complex, dimension(isd:,jsd:,:) ]
[real , dimension(isd:,jsd:,:,:)]
[complex, dimension(isd:,jsd:,:,:)]
NOTE: You must call set_domain before calling write_data.
---------------------------------------------------------------------
call set_system_clock
There are no arguments.
---------------------------------------------------------------------
call check_system_clock ( string )
Optional Input
string An optional label that is printed before any timing numbers.
---------------------------------------------------------------------
call utilities_init
There are no arguments.
---------------------------------------------------------------------
call utilities_end
There are no arguments.
---------------------------------------------------------------------
string = lowercase ( cs )
INPUT
cs character string [character(len=*)]
RETURNS
string Character string that contain only lower case.
The characters "A-Z" are converted to "a-z".
---------------------------------------------------------------------
string = uppercase ( cs )
INPUT
cs character string [character(len=*)]
RETURNS
string Character string that contain only upper case.
The characters "a-z" are converted to "A-Z".
---------------------------------------------------------------------
id = mpp_clock_init ( module, routine, level )
INPUT
module Module name to be timed. [character]
routine Routine name and label for section of code to be timed.
[character]
level Level of timing. When this level equals "timing_level"
defined by namelist &utilities_nml a non-zero identification
integer will be returned.
[integer]
RETURNS
id The identification index returned by mpp_clocks_id.
A zero value is returned (turning clocks off) when input
argument level does not equal namelist variable timing_level.


Toggle navigation
SRINIDHI KARNATI
Home
Bio
Resume
Contact
Contact Form
For queries, please feel free to contact me through this form!
Reason of contact:
Submit