CENSUS2020
on the block-chain
Please refresh page..
Claim a Census key
Key Generator
generate
verify
Your house information.
Register your House
State
Select state.
Main
# of residents living in house
Additional
# of additional residents
Residence-type
Select house type.
House
Apartment
Mobile
Private key
Register House
Residents
ID #
is male
is hispanic
age
birthdate
race
livereason
relation
Add a Person
Age
Age
Birthdate
YYYY/MM/DD
Year
Month
Day
Gender
male
female
Hispanic at the Disco!!
true
false
Race
For example, German, Egyptian, Jamaican, etc.
Residence
Does this person usually live or stay somewhere else?
Select reason.
No.
Yes, for college.
Yes, for a military assignment.
Yes, for a job or business.
Yes, in a nursing home
Yes, with a parent or other relative.
Yes, at a seasonal or second residence.
Yes, in a jail or prison.
Yes, for another reason.
Relation
How is this person related to Person 1?
Select reason.
Opposite-sex husband/wife/spouse.
Opposite-sex unmarried partner.
Same-sex husband/wife/spouse.
Same-sex unmarried partner.
Biological son or daughter.
Adopted son or daughter.
Stepson or stepdaughter.
Yes, in a jail or prison.
Brother or sister.
Father or mother.
Grandchild.
Parent-in-law.
Son-in-law or daughter-in-law.
Other relative.
Roommate or housemate.
Foster child.
Other nonrelative.
Add Person
Test - State
Retrieves all House addresses for the selected state.
Select state.
Test - House
Get House info by its address.


Reports when a non-generic-array manipulation method like Arrays.fill() is called with mismatched argument types. Such a call
will not do anything useful and is likely a mistake.
Example:
int foo(String[] strings) {
return Arrays.binarySearch(strings, 1);
}


#include <tinyxml.h>
Inheritance diagram for TiXmlElement:
Public Member Functions | |
| TiXmlElement (const char *in_value) | |
| Construct an element. | |
| TiXmlElement (const std::string &_value) | |
| std::string constructor. | |
| const char * | Attribute (const char *name) const |
| Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists. | |
| const char * | Attribute (const char *name, int *i) const |
| Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists. | |
| const char * | Attribute (const char *name, double *d) const |
| Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists. | |
| int | QueryIntAttribute (const char *name, int *_value) const |
| QueryIntAttribute examines the attribute - it is an alternative to the Attribute() method with richer error checking. | |
| int | QueryDoubleAttribute (const char *name, double *_value) const |
| QueryDoubleAttribute examines the attribute - see QueryIntAttribute(). | |
| int | QueryFloatAttribute (const char *name, float *_value) const |
| QueryFloatAttribute examines the attribute - see QueryIntAttribute(). | |
| template<typename T> | |
| int | QueryValueAttribute (const std::string &name, T *outValue) const |
| Template form of the attribute query which will try to read the attribute into the specified type. | |
| void | SetAttribute (const char *name, const char *_value) |
| Sets an attribute of name to a given value. | |
| void | SetAttribute (const std::string &name, const std::string &_value) |
| STL std::string form. STL std::string form. | |
| void | SetAttribute (const char *name, int value) |
| Sets an attribute of name to a given value. | |
| void | SetDoubleAttribute (const char *name, double value) |
| Sets an attribute of name to a given value. | |
| void | RemoveAttribute (const char *name) |
| Deletes an attribute with the given name. | |
| void | RemoveAttribute (const std::string &name) |
| STL std::string form. | |
| const TiXmlAttribute * | FirstAttribute () const |
| Access the first attribute in this element. | |
| const TiXmlAttribute * | LastAttribute () const |
| Access the last attribute in this element. | |
| const char * | GetText () const |
| Convenience function for easy access to the text inside an element. | |
| virtual TiXmlNode * | Clone () const |
| Creates a new Element and returns it - the returned element is a copy. | |
| virtual void | Print (FILE *cfile, int depth) const |
| All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode. | |
| virtual const TiXmlElement * | ToElement () const |
| Cast to a more defined type. Will return null not of the requested type. | |
| virtual TiXmlElement * | ToElement () |
| Cast to a more defined type. Will return null not of the requested type. | |
| virtual bool | Accept (TiXmlVisitor *visitor) const |
| Walk the XML tree visiting this node and all of its children. |
It has a value, the element name, and can contain other elements, text, comments, and unknowns. Elements also contain an arbitrary number of attributes.
| const char* TiXmlElement::Attribute | ( | const char * | name, | |
| double * | d | |||
| ) | const |
Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.
If the attribute exists and can be converted to an double, the double value will be put in the return 'd', if 'd' is non-null.
| const char* TiXmlElement::Attribute | ( | const char * | name, | |
| int * | i | |||
| ) | const |
Given an attribute name, Attribute() returns the value for the attribute of that name, or null if none exists.
If the attribute exists and can be converted to an integer, the integer value will be put in the return 'i', if 'i' is non-null.
| const char* TiXmlElement::GetText | ( | ) | const |
Convenience function for easy access to the text inside an element.
Although easy and concise, GetText() is limited compared to getting the TiXmlText child and accessing it directly.
If the first child of 'this' is a TiXmlText, the GetText() returns the character string of the Text node, else null is returned.
This is a convenient method for getting the text of simple contained text:
<foo>This is text</foo> const char* str = fooElement->GetText();
'str' will be a pointer to "This is text".
Note that this function can be misleading. If the element foo was created from this XML:
<foo>This is text</foo>
then the value of str would be null. The first child node isn't a text node, it is another element. From this XML:
<foo>This is text</foo>
WARNING: GetText() accesses a child node - don't become confused with the similarly named TiXmlHandle::Text() and TiXmlNode::ToText() which are safe type casts on the referenced node.
| virtual void TiXmlElement::Print | ( | FILE * | cfile, | |
| int | depth | |||
| ) | const [virtual] |
All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.
) Either or both cfile and str can be null.
This is a formatted print, and will insert tabs and newlines.
(For an unformatted stream, use the << operator.)
Implements TiXmlBase.
| int TiXmlElement::QueryIntAttribute | ( | const char * | name, | |
| int * | _value | |||
| ) | const |
QueryIntAttribute examines the attribute - it is an alternative to the Attribute() method with richer error checking.
If the attribute is an integer, it is stored in 'value' and the call returns TIXML_SUCCESS. If it is not an integer, it returns TIXML_WRONG_TYPE. If the attribute does not exist, then TIXML_NO_ATTRIBUTE is returned.
| int TiXmlElement::QueryValueAttribute | ( | const std::string & | name, | |
| T * | outValue | |||
| ) | const [inline] |
Template form of the attribute query which will try to read the attribute into the specified type.
Very easy, very powerful, but be careful to make sure to call this with the correct type.
NOTE: This method doesn't work correctly for 'string' types.
| void TiXmlElement::SetAttribute | ( | const char * | name, | |
| int | value | |||
| ) |
Sets an attribute of name to a given value.
The attribute will be created if it does not exist, or changed if it does.
| void TiXmlElement::SetAttribute | ( | const char * | name, | |
| const char * | _value | |||
| ) |
Sets an attribute of name to a given value.
The attribute will be created if it does not exist, or changed if it does.
| void TiXmlElement::SetDoubleAttribute | ( | const char * | name, | |
| double | value | |||
| ) |
Sets an attribute of name to a given value.
The attribute will be created if it does not exist, or changed if it does.


Dynamically adaptive systems (DAS)
<=> ability to make their behaviors and/or
functionalities evolve at runtime.
Continuous
design
Claim :
To address all these problems, we need to provide an abstraction to manipulate and compose ubiquitous nodes configurations
Combine VectorClock (VC) + Gossiper + M@R layer
Score management aims at reducing failures nodes impact on cluster
Concurrency resolution is always a challenge for ubiquitous P2P dissemination
A not yet detected
and A is deleted


| # | Name | Score | Time | School |
|---|---|---|---|---|
| {{$index + 1}} | {{player.email}} | {{player.Score}} | {{player.Time}} | {{player.School}} |

| # | Name | Score | Time | School |
|---|---|---|---|---|
| {{$index + 1}} | {{player.email}} | {{player.Score}} | {{player.Time}} | {{player.School}} |

| # | Name | Score | Time | School |
|---|---|---|---|---|
| {{$index + 1}} | {{player.email}} | {{player.Score}} | {{player.Time}} | {{player.School}} |


Provides an ASM visitor that constructs a tree representation of the classes it visits. This class adapter can be useful to implement "complex" class manipulation operations, i.e., operations that would be very hard to implement without using a tree representation (such as optimizing the number of local variables used by a method).
However, this class adapter has a cost: it makes ASM bigger and slower. Indeed it requires more than twenty new classes, and multiplies the time needed to transform a class by almost two (it is almost two times faster to read, "modify" and write a class with a ClassAdapter than with a ClassNode). This is why this package is bundled in an optional asm-tree.jar library that is separated from (but requires) the asm.jar library, which contains the core ASM framework. This is also why it is recommanded not to use this class adapter when it is possible.
The root class is the ClassNode, that can be created from scratch or from the existing bytecode. For example:
ClassReader cr = new ClassReader(source); ClassNode cn = new ClassNode(); cr.accept(cn, true);
Now content of ClassNode can be modified and then serialized back into bytecode:
ClassWriter cw = new ClassWriter(true); cn.accept(cw);
@since ASM 1.3.3


Home
Internal
Require
ES6
TypeScript
Internal Modules
Demonstrates the use of modules, classes, and inheritance with modules referenced from script tags.
person.speak
customer.talk


Manolis Perrakis
Portfolio
Click the ← and → arrow keys to navigate
Crafted By My Heart
A jewellery project, that derived from the idea of creating parametric sculptures based on biological data. In this case creating customised Jewellery from the user's own heartbeat
WiFiShredder
Dotmatrix printer, Paper shredder, Node.js, Wireshark
The objective of the ‘WiFiShredder’ was to show how vulnerable private information can be and how easily it can be exposed. The audience without their knowledge and more specifically their meta-data was becoming part of the artwork. Pen testing software was listening to broadcasts of nearby WiFi devices and a dot-matrix printer was continuously printing out the names of access points associated with the audience's mobile phones or other WiFi enabled device. This information ranged from usernames, names of hotels, restaurants, work and universities. Eventually the exposed private information was shredded, hence destroying the sensitive data.
TV Povera
Thermochromic colours, 555 timers, wire resistors
This work consists of 3 big pieces of paper painted with Thermochromic inks. Behind the paper wire resistors have been installed that heat up in predefined intervals. The change of the Wire's temperature reacts with the thermocromic paint, turning it from its original colour to white.
Blinkies
Electroluminescent plastic sheets, 555 timers, Glass colouring inks
These 5 Animated drawings, were made out of Electroluminescent Sheets. Each drawing consists of a 3 EL sheets that are cut, painted and placed on top of each. Switching the top two sheets on and off creates the effect of animation.
Broken Robot
AS3, Google Speech API, A.L.I.C.E. chat bots
I always wondered what would happen if I put two chat bots to discuss with each other. Using the A.L.I.C.E. chatbot API I fed the responses and questions of one chatbot to another and visualised them with Flash and AS3.
Landing Strip
The Landing Strips was developed for the Kowloon East International Design Competition. The project is a series of smoothly curving modular seating units that can connect to form limitless variations of street and park benches. Each bench is equipped with proximity sensors. Depending on the number of people sitting on the bench and their proximity to each other, the colours change accordingly. The colour shifts would be a subtle signal between users or friends to highlight social interaction in the park or on the street. Each bench island is able to communicate with other benches through a digital network of light and colour. Colours can be programmed to ripple from one bench group into the next creating a colourful lattice of light across the waterfront at night.
Krebsen
Video artwork that was exhibited at the Museum of Wiesbaden as part of the "Landschaft als Weltsicht" exhibition.
A four video installation showing small Crabs being chased on the beach.
4Boxes
MDF boxes, Canvas primer, speakers, Liquid inks
4 White Boxes coated with white acrylic primer. Each Box has a different liquid colour on top with a speaker underneath, vibrating in different frequencies. The sound that comes out of the speaker, transforms into kinetic energy inside the liquid colours, creating patterns and colouring the boxes.
Chocolate Printing
Delta & Cartesian axis printers, Processing, Node.js, Air Compressor
I’ve been experimenting with 3D printing for some time now, which got me interested in paste extrusion.
Paste extrusion is when instead of extruding melted plastic you extrude a viscous material e.g. clay, chocolate, etc. For the example on the left I hacked a cartesian axis 3D printer and used compressed air to extrude the paste and controlled the flow with an airflow regulator. The audience could use a webapp to make a drawing and have the printer "draw" with chocolate on a cookie. For the second example on the right I hacked a delta printer and instead of using compressed air I used a stepper motor and a 3D printed extrusion system that I designed to do the extrusion. The second printer was controlled by Processing which was sending GCode commands directly to the 3D printer.
Dynamic Projection Mapping
PLA 3D printer, Processing, Projector
Exploring the possibilities of Projection mapping on a parametrically designed object. The next step would be to project on an object while it's being 3D printed.
Kung Fu Guy
Processing, MadMapper, Modeling Foam, Projector
A project developed for a VJing event. The video is projection mapped on the surface of the model of a building, showing a person practicing Kung Fu, while the moving pattern in the background can be updated live with pictures taken with a webcam.
Chasing Microbes
3D printed stand, laser pointer, syringe, processing, dirty water
Using a laser pointer to magnify microorganisms inside a droplet of water and tracking their movement with OpenCV. Through background subtraction the movement of the microbes is highlighted with a red outline.
2Robots
3D modeling done with Blender
A fun experiment for a VR workshop. The video was rendered with the Blender 3D modeling software with small video clips added to it. The video was later uploaded to youtube and can be used with Google Cardboard compatible devices.
Maneki-Neko
Maneki-Neko, servo motors, LEDs, Processing, Kinect
A news video about the Dimsumlabs hackerspace in Hong Kong that featured one of my works, namely a hacked Maneki-Neko cat that I was controlling with my movement.
Mellow Twit
Hacked toy keyboard, Arduino, Arduino Ethernet Shield, Twitter API
I hacked my daughter's keyboard piano by wiring it to an arduino that was connected to Twitter through their API. Whenever she was using her toy a tweet was sent containing the keys she pressed.
IQ gumball
Gumball machine, arduino, ethernet shield, servo motor
I hacked a Gumball machine by controlling the vending mechanism with a stepper motor. A website is presented to the user asking him to answer an IQ question. The user had to answer the question correctly in order to get a gumball.


On this page we have an AppCtrl and two views which are controlled by ngView.
Each view has its own controller, and hence its own |$scope|.
- Click the #rb#, then click the #psb# to see the initial state.
Intially, we only have the AppCtrl |$scope|, and there is no content in
the |ngView| area.
- Navigate to /view1, click the #psb#.
A new scope is created because ngView always creates a new |$scope| when
the route changes.
The scope is colored orange to indicate that it is new.
(Note, Peri$scope does not indicate that certain scopes were deleted.)
View1Ctrl modifies |$scope.breadcrumbs| which is an array (i.e., a
reference type), so an "own" property is not created the View1Ctrl
|$scope|.
Rather, the array that AppCtrl created is modified.
In contrast, a new |ctrl| property is created on the View1Ctrl |$scope|
(which shadows/hides the |ctrl| property on the AppCtrl |$scope|) because
it was assigned a primitive value.
- Navigate to /view2, click the #psb#.
The |$scope| associated with route /view1 was deleted, and a new
View2Ctrl |$scope| was created.
- Navigate to /view3, click the #psb#.
Route /view3 does not define a controller, but a new |$scope| is still
created by directive ngView.
(Because there is no controller, the breadcrumbs aren't updated.)
In the view we still reference |ctrl|, but we did not set this primitive
on the child |$scope| that ngView created, so it looks up the prototype
chain and finds it in the AppCtrl |$scope|. Interesting eh?
- Go back to the demos page.
Tip: if you find that after moving code into an ngView view that
things no longer work, chances are that an "own" primitive property is
getting created on a child |$scope|. Use an object property instead.
Note that this example is contrived. Normally you should put shared
data (like breadcrumbs) into a
service, and then have each
controller inject that service to access the data.
The controllers can then either get references to that data (we'll see
an example of this in a later demo),
or better, have the service define an API that the controller can use.


Kaylee is a distributed and volunteer computing framework. You are currently looking at the documentation of the development version. Things are not stable yet, but if you have some feedback, let me know.
You can download the documentation in other formats as well:


Raymond Road detoured to single lane after water main break
by Logan RudeFITCHBURG, Wis. - City officials are detouring traffic on Raymond Road between Westchester Road and Shafer Drive to one lane after a water main broke, according to a news release.
Water will be shut off to homes on Shafer Drive until crews finish the repairs, the release said.


When it comes to intimidating someone, a common method is to break a window. The message a smashed windowpane sends is clear: someone doesn't want you in their town, and if you don't pack your stuff and go, something more precious than a window might get broken next.
Although the broken window on its own is often enough of an Implied Death Threat to get the point across, a common variation is to throw a rock, brick or other heavy object with a message tied to it in order to spell things out more explicitly. Or, in another variation that's Played for Laughs, a completely mundane and non-threatening message.
See also Enter Stage Window, which can include throwing rocks at someone's window to get their attention in a non-threatening way, Broken Glass Penalty, when a window is broken by accident during a sports game, Destination Defenestration, when a person gets thrown out a window, and Super Window Jump, when a person throws themselves through a window.
Not to be confused with a sign warning people to watch for shards of glass around a recently broken window. Or an error message on a Windows computer. Contrast Defiant Stone Throw.
Examples:
- Arby's restaurant has frozen burgers thrown into their restaurant with the note tied to them. The workers in Arby's are not terribly threatened.
- Vivian Stanshall's LP version of Sir Henry at Rawlinson End includes the following scene:
There was a terrific crash and a brick smashed through the window. About the brick was wrapped a note, which read simply: (Irish accent) "Hello, now. Oi'm yer new neighbour."
Henry was plainly delighted. "He seems a decent enough egg. At least he didn't have the impertinence to present himself at the front door."
- Happens in Tintin: King Ottokar's Sceptre, with a note reading, "For the last time: mind your own business!" From the implication that this is not the first time, Tintin starts to realize who he's up against.
- Wonder Woman (1987): A brick with a message tied to it gets thrown through the Kapatelis' front window by some of the stooges taken in by G. Gordon Godfrey's anti-hero rants.
- The Ultimates: When Hulk arrives at the building where Betty is having lunch with Freddie Prinze Jr., the windows exploded from the impact.
- One Dilbert strip had one of Dilbert's (now) ex-girlfriends describe how much she didn't enjoy their first and only date by writing a multi-page document on the subject, wrapping each page around a different rock, and throwing each rock through a different window.
- The Far Side had a strip with a pair of cats standing next to a broken window and a brick on the floor, reading the attached note: "Arf arf arf arf arf!"
- Garfield: Jon once got a brick through the window with the less-than-threatening message of "You seem boring". Garfield notes they should send the writer a thank you brick.
- Shortly before Chrysalis Visits The Hague is set, Judge Mullan's window gets smashed by a hefty battery wrapped in a note reading, "Paardenneuker."note
- In After the Thin Man, a stone with a note attached flies through the Charles' kitchen window. Hilarity Ensues when their dog Asta grabs the note in his jaws and is pursued through the house.
- Parodied in the Mel Brooks movie High Anxiety. The main character, the new head of a mental asylum, receives a rock to the window with a message - a friendly welcome note from the psycho ward.
- In Home Alone 2, when Kevin sees that the toy store is being robbed, he breaks the window in order to set off the alarm. He attaches a note to the brick explaining his actions to the owner.
- Remember the Titans features this in classic "brick through the window" form.
- In Footloose, Ren tries to start a movement to repeal his town's "no dancing" law... and late at night, he gets a brick through a window of his home for his troubles.
- In The Hunt (2012), Lucas gets a brick thrown into his kitchen window, supposedly by Theo, whose daughter Lucas allegedly molested.
- In The Hound of the Baskervilles, a rock with a threatening note tied to it is tossed through Sir Henry's carriage as it drives into London, warning him to stay away from Baskerville Hall or face madness and death.
- In Mississippi Burning, the Klan sends a message to the two FBI agents by shooting a hole into the window of their apartment. Same happens later to Lester.
- Frankenstein Created Woman: After Frankenstein ignores an angry mob pounding on his door, they get his attention by throwing a cobblestone through the window.
 The saloon keeper says he's bluffing, only for two warning shots to shatter his window.
- The 1978 film adaptation of An Enemy of the People ends with the protagonist telling his family to board up the windows (as a sign of defiance, not defence), as a hostile group of townspeople outside have been throwing rocks to drive them out of town.
- In The Devil and Daniel Webster, the boy Jabez scares away for fishing in his pond returns and takes vengeance by throwing a rock through Jabez's window.
- In Ask a Policeman, a note tied to a rock is thrown through the police station window. Upon unwrapping it, Sgt. Dudfoot finds it is a flyer from the local drapers and thinks this is some new aggressive advertising campaign. However, on turning it over, he finds a note scrawled on the back telling him to back off or face the consequences.
- In Black Patch, Flytrap throws a rock through Morgan's window in an attempt to goad the marshal to come out for a Showdown at High Noon.
- Discworld:
- In Small Gods, the barman at the Ephebian tavern doesn't like the philosophers to discuss religion, since it leads to lightning bolts coming through the roof with notes wrapped around them.
- The Golem Trust are victims of a brick through the window in Going Postal, but Adora Belle just picks it up and files it under B.
- In Making Money, Moist discovers a letter from the late Topsy Lavish warning him the Assassin's Guild will go after him if he allows anything bad to happen to her dog (and current head of the bank) Mr. Fusspot. Right on cue, a "warning shot" in the form of an Arrowgram from the Assassin's Guild crashes through the window of his office.
- The Dresden Files Dresden Files: The short story "Day Off" has Darth Wannabe throw a smoke bomb into Harry's basement via window. Unfortunately, Harry kind of had some bigger problems at the time...
- Girl Waits With Gun draws on this trope for a lot of its source material. Being the (mostly) true story of three sisters harassed by local criminals, a lot of the "brick-mail" letters still exist in official records.
- Safehold: In A Mighty Fortress, Merlin chooses to deliver important information on the activities of agents of the Corrupt Church in Corisande to Sir Koryn Gahrvai via an envelope tied to a rock tossed by one of Owl's remotes through his study window.
- In Jodi Picoult's Salem Falls, a Molotov cocktail is thrown through the main character's window after it becomes common knowledge that he was previously convicted of rape. It's discovered before it can cause too much damage, and it is implied that it was poorly made and intended to send a message rather than cause real damage.
- In Sarah Caudwell's The Sybil in Her Grave, someone throws a rock through Daphne's window to scare her away. The kicker is that Daphne threw it herself, to make herself look sympathetic and persecuted.
- Young Sherlock Holmes: When Matty is kidnapped in Red Leech, the kidnappers throw a large rock with a note tied to it through Crowe's window. The note says that if Crowe leaves them alone for three months, Matty will be released unharmed.
 Someone throws a brick through the window of his café, with a note attached reading "Next time, our aim will be better."
- Amen. A brick is thrown the church window while everyone is rehearsing for a live broadcast of the service.
- Cannon: In "Devil's Playground", the bikers throw a rock through the window of the diner where Cannon is holed up with his prisoner, accompanied by a yelled demand to release the prisoner.
- The Doctor Blake Mysteries: In "Sorrow Songs", the gypsies throw a brick through the window of the Ballarat Courier after editor Edward Tyneman is accused of Nadia's murder.
- The Drew Carey Show: In the "Drew and the Singles Union" episode, some angry employees throw a Dilbert doll through Drew's window in a nod to the similarities between the two.
Kate: [reads attached note] Next time, it's life-size!

 The Koopahs ignore the message and just dump it in the bucket with all the others.
- The Marvelous Mrs. Maisel: Early in season 2, Joel is dismayed to learn his parents get their loans from loan sharks. The sharks' way of telling Moishe that it's time to collect is that they send some guys to break in and bust up some windows.
- Midsomer Murders: In "Send in the Clowns", one of the suspects recives a threatening note written in pig's blood tied to a brick and thrown through the window of their restaurant.
- Motive: In "Bad Blonde", the killer throws a half-brick through the windscreen of the Victim of the Week's classic car not long before the murder, in an attempt to dissuade him from pursuing his investigation.
- Outsourced: In the pilot, one of the disgruntled employees whose job was outsourced throws a brick with an attached message through the window.
Todd: "You bastard"?
Jerry: [cheerfully] That's for me. [places it on a pile of similar bricks] - Police Squad!:
- An inversion: a window with a note attached is thrown into the rock garden. Later that same episode, the same criminal throws a rock with a note attached—except the note is a mime, who acts out the message.
- In another episode, the neighborhood protection racket tries to send a message to the owner of a key store (actually Frank Drebin working undercover) by perforating the place with machine guns... and then throwing a rock through the window. Naturally, Drebin focuses on the rock and fails to notice the machine-gun fire. He later asks the forensics lab to find out where the rock came from and gets a geology lesson in response. Later on, Drebin confronts the mook who threw the rock, who starts giving the exact same geology lesson.
- Referred to in Strike Back, when Colonel Alexander Coltrane mentions pedaling 25 miles to throw a brick through the window of a superior officer he despised—"The man was a certified idiot". Though this seems to have been just to get back at him over his incompetent leadership rather than threatening him outright.

- Vera: In "Broken Promise", the father of the Victim of the Week gets a rock thrown through his window with a note tied to it that reads "YOUR BOY'S DEAD HA HA".
- Will & Grace: Parodied. Will and Jack start renting a place together, and one of their new neighbors throws a brick through their (open) window. It's actually a loaf of homemade banana bread, with a note giving them a warm welcome to the neighborhood. (The locals are thrilled to have two gay men move in since if a gay district springs up, property values would increase).
- The Wire: Randy gets a Molotov Cocktail through his window for talking to the police.
- Cabaret has a subplot in which a Jewish man and his landlady fall in love in just-pre-Nazi Germany. She faces public disapproval for the relationship, which escalates to the point that somebody throws a brick through her window.
- Happens in the play Sheik, Rattle and Roll, leading to the following joke:
"It's a brick. With a note tied to it."
"What does it say?"
"'Mustafa Abdul. Window Repairer'." - In The Bat, a stone is thrown through a window with a vaguely worded threatening note tied on with string.
- In Margin for Error, an angry mob throws a brick through a window at the Consul, narrowly missing him as he raises a toast to a bust of Adolf Hitler.
 This incident convinces Mikas producer to put her and the other members of Starnova up at a hotel for their protection.
- Nabi the cat gets a rock through his window at the end of There she is!! Step 3, then several more rocks during the course of the dark and dramatic Step 4.
- Parodied here in The Adventures of Dr. McNinja.
- In Sinfest, Seymour gets a note this way.
- Saturday Morning Breakfast Cereal: A priest advocates random acts of kindness instead of violence. Later that night, an ice cream cone is chucked through his window.
- Adventure Time: In "A Glitch is a Glitch", Ice King's idea of "e-mailing" a virus to Finn and Jake is throwing a cinder block with a 3.5" floppy disk taped to it through the window of their treehouse.
Jake: Hey Finn, did you order a brick?
- In Batman: The Animated Series, it's not a rock, but one of the poisoned Joker Fish that comes through the window of a predicted victim's home.
- In The Simpsons:
- In "The Bart of War", Ralph (with a note attached) is thrown through the Simpsons' window; he announces "I'm a brick!"
- In "Grade School Confidential", instead of a brick with a note, a ringing telephone is thrown through the window of the school cafeteria.
- In "Moe'N'a Lisa", Moe throws a brick with a note through the Simpsons' window after Homer forgets his birthday.
- Parodied in "The War of Art", where after the Simpsons refuse to give back a valuable painting they bought from the Van Houtens, a rock gets thrown through the window telling them to give the painting back, followed by rock with another note telling they have the right to keep the money. Soon, dozens of rocks have been thrown through the window and the Simpsons are sorting out the notes supporting and threatening them.
Marge: We don't even get this many Christmas cards!
- The Fairly OddParents: Timmy gets toy chattering teeth attached to bricks thrown through his window by the mean dentist, "Dr. Bender".
- Parodied in Cow and Chicken: the Red Guy uses bricks, each engraved with a single word (or sometimes two short words), to send a long message to the eponymous characters' house, with each brick tossed nailing Chicken in the head. Naturally, the house is a mess afterwards. It's pretty evident that Red isn't throwing bricks to catch the household's attention as much as he's sadistic and likes tossing bricks through people's windows.
- In Rankin-Bass' adaptation of The Life & Adventures of Santa Claus, the villains, a group of troll-like monsters called Awgwas, throw a rock through a window of Santa's workshop tied to a note that reads "If you make one more toy, we're coming for you." Santa is undeterred.
- Family Guy:
- In the episode "Not All Dogs Go to Heaven", after the town discovers that Brian is an atheist, not only does a rock get thrown through the window but a CAR as well.
Brian: I thought he who is without sin can cast the first Prius.
- Double Subverted in "The Simpsons Guy", when a brick gets thrown through the window when feminists are outside protesting Peter's misogynist comic.
Peter: Hey, it's that brick I ordered. (another brick gets thrown) Uh-oh, I didn't order that brick.
- In the episode "Not All Dogs Go to Heaven", after the town discovers that Brian is an atheist, not only does a rock get thrown through the window but a CAR as well.
- In the The Amazing World of Gumball episode, "The Club", when Gumball and his family are having dinner, the members of the Reject Club send a brick with a DVD with their message about taking revenge to Gumball tied to it through the dining room window.
Richard: At least it landed in the vegetables. [the brick falls on the cake and squishes it] Aaaah! The cake!
- In Brickleberry episode "Miss National Park", a rock gets thrown through the ranger station window. It says "You're a dead man, fatso." Woody thinks it's for Connie.
- Rocko's Modern Life: In "Junk Junkies", Rocko learns he has to pay back his tab at a pizza joint, and at one point they throw a pizza through his kitchen window with a threatening note taped to it.
- A slight variant occurs in the The Legend of Zelda episode, "The Moblins Are Revolting". While Link is starting to tell Zelda about what happened earlier, a rock flies through a nearby windowless archway. It instead smashes a pitcher on a bookcase shelf right after he says, "Then from a window, I hear this crash-" ("Goodness! You certainly tell a realistic story!" -Zelda) The note is from Ganon's army of creatures (not just the moblins), who revolted against their master and decided to try and take over the castle themselves.
- In The Flintstones, Fred is an umpire at a Little League baseball game, and makes a very unpopular call that costs the local team the game. Days later, he gets a note through his window saying "Change your decision or else... Yours Truly, Anonymous." Betty sees the note, and says, "Well at least we know it's not from Barney. He doesn't know how to spell 'anonymous."


PG&E to offer US$13.5 billion in compensation to wildfire victims: Bloomberg
Bankrupt California power producer PG&E Corp is offering US$13.5 billion in compensation to wildfire victims as part of a restructuring plan, Bloomberg reported on Monday, citing people with knowledge of the situation.
REUTERS: Bankrupt California power producer PG&E Corp is offering US$13.5 billion in compensation to wildfire victims as part of a restructuring plan, Bloomberg reported on Monday, citing people with knowledge of the situation.
The same amount has been offered to the victims by a rival group of noteholders led by Pacific Investment Management Co and Elliott Management Corp, according to the report https://www.bloomberg.com/news/articles/2019-11-11/pg-e-offering-13-5-billion-in-compensation-to-wildfire-victims.
PG&E sought Chapter 11 bankruptcy protection in January after massive wildfires struck Northern California in 2017 and 2018, which were blamed on its equipment.
A lawyer for the committee of wildfire victims said last month their claims may be worth US$13.5 billion, Reuters reported.
PG&E had previously proposed to provide US$8.4 billion in compensation, but the victims sided with the noteholders in the hopes of getting more money.
PG&E and the victims were in talks on Monday, Bloomberg reported.
PG&E did not immediately respond to Reuters request for a comment.
(Reporting by Shariq Khan in Bengaluru; Editing by Amy Caren Daniel)


public static final class R.layout
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
activity_main |
static int |
activity_pager_adapter |
static int |
activity_startserver |
static int |
button_activity_main |
static int |
button_layout |
static int |
confirmation_activity_layout |
static int |
dismiss_overlay |
static int |
fragment_list |
static int |
fragment_one_layout |
static int |
fragment_three_layout |
static int |
fragment_two_layout |
static int |
list_item |
static int |
rect_activity_main |
static int |
rect_activity_pager_adapter |
static int |
round_activity_main |
static int |
round_activity_pager_adapter |
static int |
watch_card_content |
| Constructor and Description |
|---|
layout() |
public static final int activity_main
public static final int activity_pager_adapter
public static final int activity_startserver
public static final int button_activity_main
public static final int button_layout
public static final int confirmation_activity_layout
public static final int dismiss_overlay
public static final int fragment_list
public static final int fragment_one_layout
public static final int fragment_three_layout
public static final int fragment_two_layout
public static final int list_item
public static final int rect_activity_main
public static final int rect_activity_pager_adapter
public static final int round_activity_main
public static final int round_activity_pager_adapter
public static final int watch_card_content


Files
[New]
[Delete]
[Save]
noname.ws
[Run ]
[Stop]
[Compile]
[Optimize]
[ ]Highlight
[X]Highlight
[Download]
[ HELP ]
You really need to enable javascript or sth!
Input/Output
Console
Memory
About
[Clear]
[EOF]
[Clear]
Stack:
Heap:
Debug
[Run]
[Step]
[Stop]
Whitelips IDE for esoteric languages ver 0.13.1
Source:
https://github.com/vii5ard/whitespace
[Close]
[Open in new window]


Man receives response to childhood message in a bottle 9 years later and a continent away
by Zachary HalaschakA college student in Boston was in for quite a surprise after he received a response back to a message in a bottle he cast out to sea when he was 10-years-old.
Max Vredenburgh, a sophomore at Suffolk University, said the message was sent out in a wine bottle at Long Beach in Rockport, Massachusetts, in August 2010.
“Hello my name is Max, whoever is reading this letter please write back,” the letter read. “I’ll tell you a little about myself. I’m 10 years old, I like apples, I like the beach, my favorite colors blue, I like animals, I like cars, and I like outer space. Please write back.”
Vredenburgh’s father texted him on Friday to tell him that he received a response from a man named G. Dubois, who had found the long-lost letter on a beach in southern France.
“I found your message in your bottle on October 10, 2019 on a beach in France, between Contis and Mimizan,” Dubois wrote back. “According to your date, August 21, 2009, it will have taken 9 years to cover the 6000kms that separates us. You had grown a lot during that time: 10 to 19 years old.”
The man also included a map of the location where the message in a bottle was discovered.
The Washington Examiner reached out to Vredenburgh for comment but did not immediately receive a response.


By corruption, we mean that any dishonest or immoral behavior or activities that result
in the gain of some powerful organization or people. Thus, corruption often results in
loss to the weaker section of the society or organization. There are different forms of
corruption. It includes extortion, nepotism, parochialism, bribery, patronage, cronyism,
etc. Corruption may lead to human and drug trafficking, money laundering, police
brutality, repression of opponents, etc.
Forms of Corruption
A Bribe involves a payment made to any official for the exchange of use of his official
powers. It involves two parties: the one who pays for any favor and the one who accepts
the payment for official powers.
Influence peddling or trading in influence involves three parties to act. It means a
person or organization selling their influence over the decision-making process so that
a third party profits from it.
Favoring supporters (Patronage), favoring relatives (Nepotism) and favoring friends
(Cronyism) of an official for private gain are forms of corruption. In these many
incompetent people are leaders in the system over the able ones.
Illegal interference with the election process is Electoral fraud. The theft of
entrusted public funds for personal benefit is Embezzlement.
Effects of Corruption
Political effect: Corruption becomes a major roadblock for the rule of law and
democracy. The political system loose its legitimacy when power is used for private
advantage.
Economical effect: It depletes national wealth. The betterment of the communities and
societies are compromised for the benefit of the profit of some officials, therefore,
leads to the misuse of national resources.
Social effect: The community or society gives up trust in the system. This makes it even
more challenging to remove corruption from the system.
Environmental effect: Corruption results in the degradation and exploitation of precious
natural resources. This results in turbulence in the ecological systems.
Ways to fight Corruption
There are five ways of fighting corruption.
Effective law enforcement is the key to ensure the corrupt culprit is punished. For this
purpose, we need a strong legal framework.
Steps focussing on improving financial management and strengthening the role of auditing
agencies will help in curbing corruption. This will include transparent and
participatory budgeting by local communities and local governments.
The tradition of government openness, freedom of the press, transparency, and access to
information help in curbing corruption.
Strengthening citizens’ demand and empowering them to make government accountable is a
great approach to build mutual trust between the government and the citizens.
The international financial system should be under the scanner to stop money laundering
by corrupt officials. Hence, major financial institutes need to put a check to stop
their banks and allied financial centers across the globe from accepting illegal flows
of money.
Conclusion
To sum it up, Corruption is the biggest evil of any society. All necessary steps must be
taken to eliminate this evil. Not only the ones with power but at times even the weaker
section of the society tend to become a culprit in this.
I hope that from now on every individual will strictly oppose and prevent corrupt
activities from occurring anywhere around us. Thus, this will ensure the complete
socio-economic and political development of our society and country at large.
Mental health includes our emotional, psychological, and social well-being. It affects
how we think, feel, and act. It also helps determine how we handle stress, relate to
others, and make choices. Mental health is important at every stage of life, from
childhood and adolescence through adulthood.
Over the course of your life, if you experience mental health problems, your thinking,
mood, and behaviour could be affected. Many factors contribute to mental health
problems, including:
Biological factors, such as genes or brain chemistry, Life experiences, such as trauma
or abuse and Family history of mental health problems
Mental illnesses affect 19% of the adult population, 46% of teenagers and 13% of
children each year. People struggling with their mental health may be in your family,
live next door, teach your children, work in the next cubicle or sit in the same church
pew.
However, only half of those affected receive treatment, often because of the stigma
attached to mental health. Untreated, mental illness can contribute to higher medical
expenses, poorer performance at school and work, fewer employment opportunities and
increased risk of suicide.
What You Can Do to Help
Mental Health Awareness 2016Although the general perception of mental illness has
improved over the past decades, studies show that stigma against mental illness is still
powerful, largely due to media stereotypes and lack of education, and that people tend
to attach negative stigmas to mental health conditions at a far higher rate than to
other diseases and disabilities, such as cancer, diabetes or heart disease.
Stigma affects not only the number seeking treatment, but also the number of resources
available for proper treatment. Stigma and misinformation can feel like overwhelming
obstacles for someone who is struggling with a mental health condition. Here a few
powerful things you can do to help:
Showing individuals respect and acceptance removes a significant barrier to successfully
coping with their illness. Having people see you as an individual and not as your
illness can make the biggest difference for someone who is struggling with their mental
health.
Advocating within our circles of influence helps ensure these individuals have the same
rights and opportunities as other members of your church, school and community.
Learning more about mental health allows us to provide helpful support to those affected
in our families and communities.


Watch: Lionel Messi’s late penalty gives Argentina 2-2 draw with Uruguay
Messi’s free kick from the left was nodded home by Sergio Aguero to put a more realistic sheen on the scoreline for the Argentines, who had been the more positive side throughout.
by ReutersArgentina’s Lionel Messi scored an added-time penalty to salvage a 2-2 draw with Uruguay as they twice came from behind in an entertaining friendly match in Israel on Monday.
Argentina, now unbeaten in six games since a disappointing Copa America, had the better of the early play but fell behind in the 34th minute when Edinson Cavani stabbed home from close range after a nice build-up by Luis Suarez and Lucas Torreira.
The crowd in Tel Aviv cheered Messi throughout and it was the forward who helped Argentina draw level in the 63rd.
Messi’s free kick from the left was nodded home by Sergio Aguero to put a more realistic sheen on the scoreline for the Argentines, who had been the more positive side throughout.
However, Suarez gave Uruguay the lead again in the 69th when he scored with a powerful 20-metre free kick that flew past goalkeeper Esteban Andrada into the top corner.
But the last word went to Messi who, three days after he missed from 12 yards against Brazil, made no mistake by coolly side-footing home from the spot to secure a deserved draw.
The fixture was the last international for both teams before they begin their 2022 World Cup qualifying campaign in March.


Provide regularized maximum covariance analysis incorporating smoothness, sparseness and orthogonality of couple patterns by using the alternating direction method of multipliers algorithm. The method can be applied to either regularly or irregularly spaced data, including 1D, 2D, and 3D (Wang and Huang, 2017 <doi:10.1002/env.2481>).
| Version: | <IP_ADDRESS> |
| Imports: | Rcpp, RcppParallel (≥ 0.11.2), fields, MASS |
| LinkingTo: | Rcpp, RcppArmadillo, RcppParallel |
| Published: | 2018-04-02 |
| Author: | Wen-Ting Wang [aut, cre], Hsin-Cheng Huang [aut] |
| Maintainer: | Wen-Ting Wang <egpivo at gmail.com> |
| BugReports: | https://github.com/egpivo/SpatMCA/issues |
| License: | GPL-2 |
| URL: | https://github.com/egpivo/SpatMCA |
| NeedsCompilation: | yes |
| SystemRequirements: | GNU make |
| CRAN checks: | SpatMCA results |
| Reference manual: | SpatMCA.pdf |
| Package source: | SpatMCA_<IP_ADDRESS>.tar.gz |
| Windows binaries: | r-devel: SpatMCA_<IP_ADDRESS>.zip, r-release: SpatMCA_<IP_ADDRESS>.zip, r-oldrel: SpatMCA_<IP_ADDRESS>.zip |
| OS X binaries: | r-release: SpatMCA_<IP_ADDRESS>.tgz, r-oldrel: SpatMCA_<IP_ADDRESS>.tgz |
| Old sources: | SpatMCA archive |
Please use the canonical form https://CRAN.R-project.org/package=SpatMCA to link to this page.


Gunmen kill five protesters in Iraqi city, wound 120
Masked men have attacked anti-government protesters in the Iraqi city of Basra, killing five and wounding scores more, state TV and medical officials said.
The shooting in the southern city occurred at around midnight and wounded around 120 people, according to medical officials.
Tens of thousands of people have taken to the streets since last month in Baghdad and across the largely Shiite south to demand sweeping political change.
In the capital on Friday, state television said explosives experts detonated a bomb under a bridge that has been a daily flashpoint between security forces and protesters trying to force their way into the heavily fortified Green Zone, which hosts the government’s headquarters.
The report gave no further details about the controlled detonation under Sinak bridge over the Tigris River that cuts through the capital city.
Also on Friday, protester Amir Shami said security forces tore down tents at an protest sit-in in the holy city of Karbala.
More than 250 people have been killed since the unrest erupted on October 1.
Demonstrators complain of widespread corruption, lack of job opportunities and poor basic services, including regular power cuts despite Iraq’s vast oil reserves.


Toggle navigation
Welcome,
Log Out
HypoInvest
Login with Google
Enter your budget:
confirm
Your Budget:
$
Here are
stocks you can invest in:
You are about to buy
shares of
You will have
$
remaining
Confirm
Cancel
Hey there,
Your initial budget was
$
You bought
shares of
You have
$
remaining
TODAY'S NEWS
Would you like to reinvest?
Sell


[all packages]
[package ]
[class hierarchy]
[index]
public class PremonFrame
(source file: PremonFrame.java)
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----PremonFrame
The pure class interface.
public class PremonFrame
extends Frame
-
A frame containing a source code editor.
- Author:
- Alan Jeffrey
- Version: v1.0 1998/06/10
- PremonFrame(PremonEnvironment)
-
PremonFrame
public PremonFrame(PremonEnvironment env);
[all packages]
[package ]
[class hierarchy]
[index]
PremonFrame.html


Cover Code
Cover Name
Cover Type
Cover FSP
{% for cover in covers %}
{{ cover.strCoverCode }}
{{ cover.strCoverName }}
{{ cover.strCoverType }}
{{ cover.strFSPNumber }}
{% endfor %}
Edit Covers
Cover Type
Family
Single
Extended
Funeral Service
Cover Code
Cover Name
FSP Number
Save
Remove
{% if ErrorDiag %}
{{ ErrorDiag }}
{% endif %}
×
Close
Remove Cover From System
Remove Cover From System By Cover Code
...Remove status will appear here


Multi animated Counter
Main features
- Multiple instances in the same page
- Each counters group starts when it becommes visible in the viewport
- Really very easy to implement
- Optional configurable speed for each counter
- Reverse count available
- Configurable Easing
- Scroll down to see more..
0
+
Hours of very hard work
0
+
Hours of very hard work
0
+
Hours of very hard work
Please Scroll Down
0
+
Hours of very hard work
0
+
Hours of very hard work
0
+
Hours of very hard work
Please Scroll Down
0
+
Hours of very hard work
0
+
Hours of very hard work
0
+
Hours of very hard work


(c)
Topic: Polity
Level: Moderate
Explanation:
Article 356. Provisions in case of failure of constitutional machinery in State
(1) If the President, on receipt of report from the Governor of the State or otherwise, is satisfied that a situation has arisen in which the government of the State cannot be carried on in accordance with he provisions of this Constitution, the President may be Proclamation
(a) assume to himself all or any of the functions of the Government of the State and all or any of the powers vested in or exercisable by the Governor or any body or authority in the State other than the Legislature of the State;
(b) declare that the powers of the Legislature of the State shall be exercisable by or under the authority of Parliament;
(c) make such incidental and consequential provisions as appear to the president to be necessary or desirable for giving effect to the objects of the Proclamation, including provisions for suspending in whole or in part the operation of any provisions of this constitution relating to any body or authority in the State Provided that nothing in this clause shall authorise the President to assume to himself any of the powers vested in or exercisable by a High Court, or to suspend in whole or in part the operation of any provision of this Constitution relating to High Courts
(2) Any such Proclamation may be revoked or varied by a subsequent Proclamation
(3) Every Proclamation issued under this article except where it is a Proclamation revoking a previous Proclamation, cease to operate at the expiration of two months unless before the expiration of that period it has been approved by resolutions of both Houses of Parliament Provided that if any such Proclamation (not being a Proclamation revoking a previous Proclamation) is issued at a time when the House of the People is dissolved or the dissolution of the House of the People takes place during the period of two months referred to in this clause, and if a resolution approving the Proclamation has been passed by the Council of States, but no resolution with respect to such Proclamation has been passed by the House of the People before the expiration of that period, the Proclamation Shall cease to operate at the expiration of thirty days from the date on which the House of the People first sits after its reconstitution unless before the expiration of the said period of thirty days a resolution approving the Proclamation has been also passed by the House of the People
(4) A Proclamation so approved shall, unless revoked, cease to operate on the expiration of a period of six months from the date of issue of the Proclamation: Provided that if and so often as a resolution approving the continuance in force of such a Proclamation is passed by both Houses of Parliament, the Proclamation shall, unless revoked, continue in force for a further period of six months from the date on which under this clause it would otherwise have ceased to operating, but no such Proclamation shall in any case remain in force for more than three years: Provided further that if the dissolution of the House of the People takes place during any such period of six months and a resolution approving the continuance in force of such Proclamation has been passed by the Council of States, but no resolution with respect to the continuance in force of such Proclamation has been passed by the House of the People during the said period, the Proclamation shall cease to operate at the expiration of thirty days from the date on which the House of the People first sits after its reconstitution unless before the expiration of the said period of thirty days a resolution approving the continuance in force of the Proclamation has been also passed by the House of the People
(5) Notwithstanding anything contained in clause ( 4 ), a resolution with respect to the continuance in force of a Proclamation approved under clause ( 3 ) for any period beyond the expiration of one year from the date of issue of such proclamation shall not be passed by either House of Parliament unless
(a) a Proclamation of Emergency is in operation, in the whole of India or, as the case may be, in the whole or any part of the State, at the time of the passing of such resolution, and
(b) the Election Commission certifies that the continuance in force of the Proclamation approved under clause ( 3 ) during the period specified in such resolution is necessary on account of difficulties in holding general elections to the Legislative Assembly of the State concerned: Provided that in the case of the Proclamation issued under clause ( 1 ) on the 6 th day of October, 1985 with respect to the State of Punjab, the reference in this clause to any period beyond the expiration of two years.
Article 365. Effect of failure to comply with, or to give effect to, directions given by the Union Where any State has failed to comply with or to give effect to any directions given in the exercise of the executive power of the Union under any directions given in the exercise of the executive power of the Union under any of the provisions of this Constitution, it shall be lawful for the President to hold that a situation has arisen in which the government of the State cannot be carried on in accordance with the provisions of this Constitution


{% extends "site_base.html" %} {% block head_title %}Uploaded Files{% endblock %} {% block body_outer %}
No uploaded files.


Opposition says may challenge EC ruling on campaign walkabouts
by BY RADZI RAZAKKUALA LUMPUR, Nov 12 — The Opposition said today it may take legal action against the Election Commission over its ruling for political parties to obtain police permit for election walkabouts.
“We will look at the legal aspect and if the EC had acted beyond the law, we may challenge it in court if not for the coming Tanjung Piai by-election, for future ones,” Opposition leader Datuk Ismail Sabri Yaakob told reporters at the Parliament lobby today.
Yesterday, EC chairman Datuk Azhar Harun said walkabouts were also considered a form of campaigning and, as such, their times and locations should be made clear for monitoring purposes.
He said EC officials had met with the Pontian police chief to clarify and coordinate issues related to permits and campaigning rules where walkabouts are concerned.
Ismail Sabri then complained that the ruling was made without any consultation from candidates representative and other stakeholders.
“Usually the candidates representatives would be consulted before any new ruling is issued.
“But in this instance, we were only received a letter informing of the ruling,” he said.
Ismail Sabri, who is also Umno vice president also questioned the timing of the EC ruling, and whether it gave PH and unfair advantage in the Tanjung Piai by-election.
“I don’t understand why the ruling cropped up during the Tanjung Piai by-election.
“Is it because Pakatan Harapan is finding the road to victory hard and the EC is now assisting them by making it difficult for the other parties?” he said.


Select an application to bind to service {{ctrl.serviceClasses[ctrl.target.spec.serviceClassName].osbMetadata.displayName || ctrl.target.spec.serviceClassName}}
Binding to a provisioned service will create a secret containing the information necessary
for your application to use the service.


Lunchpal shall take all reasonable steps to protect the personal information of users. Information provided during registration is collected as well as transactional information from your use of the service. Financial information, such as your credit card details, is secured and stored by Paygate, the approved payment gateway. You may go to www.paygate.co.za to view their security certificate and security policy.
Your personal information will be used to communicate with you and for operational purposes. Lunchpal will send you daily reminders to order lunch. If you wish to turn off these notifications you may do so from your profile on the website. Transactional information will be used to improve the service offering and personalize your experience.
Lunchpal shall not pass on your personal information to any third parties, except to registered food service providers.


×
About Us
Help
Cart
☰
Clothing Picker
Need help finding what to wear to your special occasion?
Get Started


The best Black Friday deals from ASUS for UK buyers
by Richard DevineSource: Windows Central
Black Friday is a perfect time to shop for a new laptop, and if you're shopping in the UK the even better news is that the deals are already underway. One of the leading brands, ASUS, has already dropped the curtain on some of its best deals already so you don't have to wait or deal with the chaos of Black Friday to take advantage.
Here's the best of what ASUS has to offer this Black Friday.
ASUS TUF FX505DT - £200 off at Amazon
The TUG FX505DT is already a very affordable gaming laptop but its current discount for Black Friday makes it impossible to ignore. With a Ryzen 5 3550H and an NVIDIA GTX 1650 inside, it's a capable 1080p gaming notebook thats paired with a fast 120Hz display for high frame rate gaming.
Budget PC gaming
ASUS TUF FX505DT
An excellent budget gaming laptop for 1080p high frame rate gaming with a mix of AMD and NVIDIA hardware at a corking price.
£600 800 £200 Off
ASUS VivoBook X512FA - £200 off at Amazon
The VivoBook X512FA is a perfect laptop for lighter use and particularly school or college students. It's got a Core i5 processor and a 15-inch display, but thanks to super-skinny bezels keeps a pretty compact form factor. The ErgoLift hinge also props the keyboard up a little so it's at a more ergonomic angle for typing.
Great for school
ASUS VivoBook X512FA
An excellent budget gaming laptop for 1080p high frame rate gaming with a mix of AMD and NVIDIA hardware at a corking price.
£400 600 £200 Off
ASUS ZenBook 14 - £200 off at Amazon
The ZenBook 14 is a really great package, with a slim, light, all-metal body, a gorgeous display, dedicated graphics and the innovative ScreenPad which adds a secondary display into the trackpad area of the laptop. It's also a solid choice for creators who need some graphics horsepower thanks to the dedicated NVIDIA MX250 GPU.
 Inside you'll find not only a Core i7 processor but also an NVIDIA RTX 2080 GPU, 32GB of RAM, a 1TB SSD and a 15-inch 1080p display with a crazy 240Hz refresh rate. And now it's available with a serious discount for Black Friday.
Ultimate gaming
ASUS Zephyrus S GX531GXR
A powerful ultrabook with a Core i5 processor, dedicated MX250 graphics and the innovative second-screen experience embedded into the touchpad.
£2,500 3,000 £500 Off
ROG Zephyrus G GA502DU - £300 off at Amazon
The Zephyrus G maintains a similar style to that of the much more expensive Zephyrus S, but slims the hardware down a little to keep the price a lot more affordable. That said, in this one you still get a Ryzen 7 processor, NVIDIA GTX 1660 TI GPU, 512 GB PCIe SSD and a still very fast 120Hz display. With the discount available now is definitely the time to grab one.
Ryzen power
ASUS Zephyrus G GA502DU
A powerful ultrabook with a Core i5 processor, dedicated MX250 graphics and the innovative second-screen experience embedded into the touchpad.
£900 1,200 £300 Off
We may earn a commission for purchases using our links. Learn more.


|
Pebble Foundation Classes
0.2.0
C++ for Pebble
|
Macros | |
| #define | UUID_SIZE 16 |
| #define | UuidMake(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15) ((Uuid) {p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15}) |
| #define | UuidMakeFromBEBytes(b) |
| #define | UuidMakeFromLEBytes(b) |
| #define | UUID_STRING_BUFFER_LENGTH (32 + 4 + 2 + 1) |
| The minimum required length of a string used to hold a uuid (including null). | |
| #define | UUID_SIZE 16 |
| #define | UuidMake(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15) ((Uuid) {p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15}) |
| #define | UuidMakeFromBEBytes(b) |
| #define | UuidMakeFromLEBytes(b) |
| #define | UUID_STRING_BUFFER_LENGTH (32 + 4 + 2 + 1) |
| The minimum required length of a string used to hold a uuid (including null). | |
Functions | |
| bool | uuid_equal (const Uuid *uu1, const Uuid *uu2) |
| void | uuid_to_string (const Uuid *uuid, char *buffer) |
| struct | __attribute__ ((__packed__)) |
Variables | |
| Uuid | |
| Uuid | |
| #define UuidMake | ( | p0, | |
| p1, | |||
| p2, | |||
| p3, | |||
| p4, | |||
| p5, | |||
| p6, | |||
| p7, | |||
| p8, | |||
| p9, | |||
| p10, | |||
| p11, | |||
| p12, | |||
| p13, | |||
| p14, | |||
| p15 | |||
| ) | ((Uuid) {p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15}) |
Make a Uuid object from sixteen bytes.
| #define UuidMake | ( | p0, | |
| p1, | |||
| p2, | |||
| p3, | |||
| p4, | |||
| p5, | |||
| p6, | |||
| p7, | |||
| p8, | |||
| p9, | |||
| p10, | |||
| p11, | |||
| p12, | |||
| p13, | |||
| p14, | |||
| p15 | |||
| ) | ((Uuid) {p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15}) |
Make a Uuid object from sixteen bytes.
| #define UuidMakeFromBEBytes | ( | b | ) |
Creates a Uuid from an array of bytes with 16 bytes in Big Endian order.
| #define UuidMakeFromBEBytes | ( | b | ) |
Creates a Uuid from an array of bytes with 16 bytes in Big Endian order.
| #define UuidMakeFromLEBytes | ( | b | ) |
Creates a Uuid from an array of bytes with 16 bytes in Little Endian order.
| #define UuidMakeFromLEBytes | ( | b | ) |
Creates a Uuid from an array of bytes with 16 bytes in Little Endian order.
| struct __attribute__ | ( | (__packed__) | ) |
Data structure for one serialized key/value tuple
The key
The type of data that the .value
fields contains.
The length of .value
in bytes
The value itself.
The different union fields are provided for convenience, avoiding the need for manual casts.
The byte array value. Valid when .type
is TUPLE_BYTE_ARRAY.
The C-string value. Valid when .type
is TUPLE_CSTRING.
The 8-bit unsigned integer value. Valid when .type
is TUPLE_UINT and .length
is 1 byte.
The 16-bit unsigned integer value. Valid when .type
is TUPLE_UINT and .length
is 2 byte.
The 32-bit unsigned integer value. Valid when .type
is TUPLE_UINT and .length
is 4 byte.
The 8-bit signed integer value. Valid when .type
is TUPLE_INT and .length
is 1 byte.
The 16-bit signed integer value. Valid when .type
is TUPLE_INT and .length
is 2 byte.
The 32-bit signed integer value. Valid when .type
is TUPLE_INT and .length
is 4 byte.
| bool uuid_equal | ( | const Uuid * | uu1, |
| const Uuid * | uu2 | ||
| ) |
Compares two UUIDs.
| void uuid_to_string | ( | const Uuid * | uuid, |
| char * | buffer | ||
| ) |
Writes UUID in a string form into buffer that looks like the following... {12345678-1234-5678-1234-567812345678} or {NULL UUID} if NULL was passed.
| uuid | The Uuid to write into the buffer as human-readable string |
| buffer | Memory to write the string to. Must be at least UUID_STRING_BUFFER_LENGTH bytes long. |


public interface MonetaryAmount extends CurrencySupplier, NumberSupplier, Comparable<MonetaryAmount>
Each instance of an amount provides additional meta-data in form of a MonetaryContext
.
This context contains detailed information on the numeric capabilities, e.g. the supported
precision and maximal scale, as well as the common implementation flavor.
Also a MonetaryAmount
provides a NumberValue
, which allows easily to extract the
numeric value, of the amount. And finally getFactory()
provides a
MonetaryAmountFactory
, which allows to of instances of MonetaryAmount
based
on the same numeric implementation.
This JSR additionally recommends to consider the following aspects:
ArithmeticException
, if performing arithmetic
operations between amounts exceeds the capabilities of the numeric representation type used. Any
implicit truncating, that would lead to complete invalid and useless results, should be avoided.
This recommendation does not affect format rounding, as required by the format numeric
representation of a monetary amount.
MonetaryAmount
.NumberValue.numberValue(Class)
, whereas the exact counterpart,
NumberValue.numberValueExact(Class)
, works similar to
BigDecimal.longValueExact()
.
with(MonetaryOperator)
must be of the same type as
type on which with
was called. The with
method also defines additional
interoperability requirements that are important to enable this invariant.from(MonetaryAmount)
is
recommended to be implemented on each implementation class, that allows conversion of a
MonetaryAmount
to a concrete instance. E.g.a class MyMoney extends MonetaryAmount
would contain the following method:
public final class MyMoney implements MonetaryAmount{ ... public static MyMoney from(MonetaryAmount amount)(...) }
MonetaryContext
and a serialized
CurrencyUnit
.equals/hashCode
, hereby considering
with(MonetaryOperator)
| Modifier and Type | Method and Description |
|---|---|
MonetaryAmount |
abs()
Returns a
MonetaryAmount whose value is the absolute value of this
MonetaryAmount , and whose scale is this.scale() . |
MonetaryAmount |
add(MonetaryAmount amount)
Returns a
MonetaryAmount whose value is this + amount , and whose scale is max(this.scale(),
amount.scale() . |
MonetaryAmount |
divide(double divisor)
Returns a
MonetaryAmount whose value is this /
divisor , and whose preferred scale is this.scale() -
divisor.scale() ; if the exact quotient cannot be represented an ArithmeticException
is thrown. |
MonetaryAmount |
divide(long divisor)
Returns a
MonetaryAmount whose value is this /
divisor , and whose preferred scale is this.scale() -
divisor.scale() ; if the exact quotient cannot be represented an ArithmeticException
is thrown. |
MonetaryAmount |
divide(Number divisor)
Returns a
MonetaryAmount whose value is this /
divisor , and whose preferred scale is this.scale() -
divisor.scale() ; if the exact quotient cannot be represented an ArithmeticException
is thrown. |
MonetaryAmount[] |
divideAndRemainder(double divisor)
Returns a two-element
MonetaryAmount array containing the result of
divideToIntegralValue followed by the result of remainder on the two
operands. |
MonetaryAmount[] |
divideAndRemainder(long divisor)
Returns a two-element
MonetaryAmount array containing the result of
divideToIntegralValue followed by the result of remainder on the two
operands. |
MonetaryAmount[] |
divideAndRemainder(Number divisor)
Returns a two-element
MonetaryAmount array containing the result of
divideToIntegralValue followed by the result of remainder on the two
operands. |
MonetaryAmount |
divideToIntegralValue(double divisor)
Returns a
MonetaryAmount whose value is the integer part of the quotient
this / divisor rounded down. |
MonetaryAmount |
divideToIntegralValue(long divisor)
Returns a
MonetaryAmount whose value is the integer part of the quotient
this / divisor rounded down. |
MonetaryAmount |
divideToIntegralValue(Number divisor)
Returns a
MonetaryAmount whose value is the integer part of the quotient
this / divisor rounded down. |
MonetaryContext |
getContext()
Returns the
MonetaryContext of this MonetaryAmount . |
MonetaryAmountFactory<? extends MonetaryAmount> |
getFactory()
Creates a new
MonetaryAmountFactory , returning the same implementation type Hereby
this given amount is used as a template, so reusing the CurrencyUnit , its numeric
value, the algorithmic implementation as well as the current MonetaryContext . |
boolean |
isEqualTo(MonetaryAmount amount)
Compares two instances of
MonetaryAmount , hereby ignoring non significant trailing
zeroes and different numeric capabilities. |
boolean |
isGreaterThan(MonetaryAmount amount)
Compares two instances of
MonetaryAmount , hereby ignoring non significant trailing
zeroes and different numeric capabilities. |
boolean |
isGreaterThanOrEqualTo(MonetaryAmount amount)
Compares two instances of
MonetaryAmount , hereby ignoring non significant trailing
zeroes and different numeric capabilities. |
boolean |
isLessThan(MonetaryAmount amount)
Compares two instances of
MonetaryAmount , hereby ignoring non significant trailing
zeroes and different numeric capabilities. |
boolean |
isLessThanOrEqualTo(MonetaryAmount amt)
Compares two instances of
MonetaryAmount , hereby ignoring non significant trailing
zeroes and different numeric capabilities. |
default boolean |
isNegative()
Checks if a
MonetaryAmount is negative. |
default boolean |
isNegativeOrZero()
Checks if a
MonetaryAmount is negative or zero. |
default boolean |
isPositive()
Checks if a
MonetaryAmount is positive. |
default boolean |
isPositiveOrZero()
Checks if a
MonetaryAmount is positive or zero. |
default boolean |
isZero()
Checks if an
MonetaryAmount is zero. |
MonetaryAmount |
multiply(double multiplicand)
Returns a
MonetaryAmount whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale() . |
MonetaryAmount |
multiply(long multiplicand)
Returns a
MonetaryAmount whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale() . |
MonetaryAmount |
multiply(Number multiplicand)
Returns a
MonetaryAmount whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale() . |
MonetaryAmount |
negate()
Returns a
MonetaryAmount whose value is -this , and whose scale is
this.scale() . |
MonetaryAmount |
plus()
Returns a
MonetaryAmount whose value is +this , with rounding according to
the context settings. |
default <R> R |
query(MonetaryQuery<R> query)
Queries this monetary amount for a value.
|
MonetaryAmount |
remainder(double divisor)
Returns a
MonetaryAmount whose value is this % divisor . |
MonetaryAmount |
remainder(long divisor)
Returns a
MonetaryAmount whose value is this % divisor . |
MonetaryAmount |
remainder(Number divisor)
Returns a
MonetaryAmount whose value is this % divisor . |
MonetaryAmount |
scaleByPowerOfTen(int power)
Returns a
MonetaryAmount whose numerical value is equal to ( this *
10n). |
int |
signum()
Returns the signum function of this
MonetaryAmount . |
MonetaryAmount |
stripTrailingZeros()
Returns a
MonetaryAmount which is numerically equal to this one but with any trailing
zeros removed from the representation. |
MonetaryAmount |
subtract(MonetaryAmount amount)
Returns a
MonetaryAmount whose value is this -
amount , and whose scale is max(this.scale(),
subtrahend.scale() . |
default MonetaryAmount |
with(MonetaryOperator operator)
Returns an operated object of the same type as this object with the operation made.
|
getCurrency
getNumber
compareTo
MonetaryContext getContext()
MonetaryContext
of this MonetaryAmount
. The
MonetaryContext
provides additional information about the numeric representation and
the numeric capabilities. This information can be used by code to determine situations where
MonetaryAmount
instances must be converted to avoid implicit truncation, which can
lead to invalid results.MonetaryContext
of this MonetaryAmount
, never null
.default <R> R query(MonetaryQuery<R> query)
This queries this amount using the specified query strategy object.
Implementations must ensure that no observable state is altered when this read-only method is invoked.
R
- the type of the resultquery
- the query to invoke, not nulldefault MonetaryAmount with(MonetaryOperator operator)
MonetaryAmountFactory
instances:
// converting from Money to MyMoney Money m = ...; MonetartyAmountFactoryf = Monetary.queryAmountFactory(MyMoney.class); MyMoney myMoney = f.setAmount(m).of();
This converts this monetary amount according to the rules of the specified operator. A typical operator will change the amount and leave the currency unchanged. A more complex operator might also change the currency.
Some example code indicating how and why this method is used:
MonetaryAmount money = money.with(amountMultipliedBy(2)); money = money.with(amountRoundedToNearestWholeUnit());
Hereby also the method signature on the implementation type must return the concrete type, to enable a fluent API, e.g.
public final class MyMoney implements MonetaryAmount{ ... public MyMoney with(MonetaryOperator operator){ ... } ... }
operator
- the operator to use, not nullMonetaryAmountFactory<? extends MonetaryAmount> getFactory()
MonetaryAmountFactory
, returning the same implementation type Hereby
this given amount is used as a template, so reusing the CurrencyUnit
, its numeric
value, the algorithmic implementation as well as the current MonetaryContext
.
This method is used for creating a new amount result after having done calculations that are not directly mappable to the default monetary arithmetics, e.g. currency conversion.
MonetaryAmountFactory
with the given MonetaryAmount
as its
default values.boolean isGreaterThan(MonetaryAmount amount)
MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.amount
- the MonetaryAmount
to be compared with this instance.true
if amount > this
.MonetaryException
- if the amount's currency is not equals to the currency of this instance.boolean isGreaterThanOrEqualTo(MonetaryAmount amount)
MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.amount
- the MonetaryAmount
to be compared with this instance.true
if amount >= this
.MonetaryException
- if the amount's currency is not equals to the currency of this instance.boolean isLessThan(MonetaryAmount amount)
MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.amount
- the MonetaryAmount
to be compared with this instance.true
if amount < this
.MonetaryException
- if the amount's currency is not equals to the currency of this instance.boolean isLessThanOrEqualTo(MonetaryAmount amt)
MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.amt
- the MonetaryAmount
to be compared with this instance.true
if amount <= this
.MonetaryException
- if the amount's currency is not equals to the currency of this instance.boolean isEqualTo(MonetaryAmount amount)
MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.amount
- the MonetaryAmount
to be compared with this instance.true
if amount == this
.MonetaryException
- if the amount's currency is not equals to the currency of this instance.default boolean isNegative()
MonetaryAmount
is negative.true
if signum()
< 0.default boolean isNegativeOrZero()
MonetaryAmount
is negative or zero.true
if signum()
<= 0.default boolean isPositive()
MonetaryAmount
is positive.true
if signum()
> 0.default boolean isPositiveOrZero()
MonetaryAmount
is positive or zero.true
if signum()
>= 0.default boolean isZero()
MonetaryAmount
is zero.true
if signum()
== 0.int signum()
MonetaryAmount
.MonetaryAmount
is negative, zero, or
positive.MonetaryAmount add(MonetaryAmount amount)
MonetaryAmount
whose value is this + amount
, and whose scale is max(this.scale(),
amount.scale()
.amount
- value to be added to this MonetaryAmount
.this + amount
ArithmeticException
- if the result exceeds the numeric capabilities of this implementation class, i.e.
the MonetaryContext
cannot be adapted as required.MonetaryAmount subtract(MonetaryAmount amount)
MonetaryAmount
whose value is this -
amount
, and whose scale is max(this.scale(),
subtrahend.scale()
.amount
- value to be subtracted from this MonetaryAmount
.this - amount
ArithmeticException
- if the result exceeds the numeric capabilities of this implementation class, i.e.
the MonetaryContext
cannot be adapted as required.MonetaryAmount multiply(long multiplicand)
MonetaryAmount
whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale()
.multiplicand
- value to be multiplied by this MonetaryAmount
.this * multiplicand
ArithmeticException
- if the result exceeds the numeric capabilities of this implementation class, i.e.
the MonetaryContext
cannot be adapted as required.MonetaryAmount multiply(double multiplicand)
MonetaryAmount
whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale()
.
By default the input value's scale will be rounded to
accommodate the format capabilities, and no ArithmeticException
is thrown if the input number's scale exceeds the capabilities.multiplicand
- value to be multiplied by this MonetaryAmount
. If the multiplicand's scale exceeds
the
capabilities of the implementation, it may be rounded implicitly.this * multiplicand
ArithmeticException
- if the result exceeds the numeric capabilities of this implementation class, i.e.
the MonetaryContext
cannot be adapted as required.MonetaryAmount multiply(Number multiplicand)
MonetaryAmount
whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale()
.multiplicand
- value to be multiplied by this MonetaryAmount
. If the multiplicand's scale exceeds
the
capabilities of the implementation, it may be rounded implicitly.this * multiplicand
ArithmeticException
- if the result exceeds the numeric capabilities of this implementation class, i.e.
the MonetaryContext
cannot be adapted as required.MonetaryAmount divide(long divisor)
MonetaryAmount
whose value is this /
divisor
, and whose preferred scale is this.scale() -
divisor.scale()
; if the exact quotient cannot be represented an ArithmeticException
is thrown.divisor
- value by which this MonetaryAmount
is to be divided.this / divisor
ArithmeticException
- if the exact quotient does not have a terminating decimal expansion, or if the
result exceeds the numeric capabilities of this implementation class, i.e. the
MonetaryContext
cannot be adapted as required.MonetaryAmount divide(double divisor)
MonetaryAmount
whose value is this /
divisor
, and whose preferred scale is this.scale() -
divisor.scale()
; if the exact quotient cannot be represented an ArithmeticException
is thrown.divisor
- value by which this MonetaryAmount
is to be divided.this / divisor
ArithmeticException
- if the exact quotient does not have a terminating decimal expansion, or if the
result exceeds the numeric capabilities of this implementation class, i.e. the
MonetaryContext
cannot be adapted as required.MonetaryAmount divide(Number divisor)
MonetaryAmount
whose value is this /
divisor
, and whose preferred scale is this.scale() -
divisor.scale()
; if the exact quotient cannot be represented an ArithmeticException
is thrown.divisor
- value by which this MonetaryAmount
is to be divided.this / divisor
ArithmeticException
- if the exact quotient does not have a terminating decimal expansion, or if the
result exceeds the numeric capabilities of this implementation class, i.e. the
MonetaryContext
cannot be adapted as required.MonetaryAmount remainder(long divisor)
MonetaryAmount
whose value is this % divisor
.
The remainder is given by
this.subtract(this.divideToIntegralValue(divisor).multiply(divisor)
. Note that this
is not the modulo operation (the result can be negative).
divisor
- value by which this MonetaryAmount
is to be divided.this % divisor
.ArithmeticException
- if divisor==0
, or if the result exceeds the numeric capabilities of this
implementation class, i.e. the MonetaryContext
cannot be adapted as
required.MonetaryAmount remainder(double divisor)
MonetaryAmount
whose value is this % divisor
.
The remainder is given by
this.subtract(this.divideToIntegralValue(divisor).multiply(divisor)
. Note that this
is not the modulo operation (the result can be negative).
divisor
- value by which this MonetaryAmount
is to be divided.this % divisor
.ArithmeticException
- if divisor==0
, or if the result exceeds the numeric capabilities of this
implementation class, i.e. the MonetaryContext
cannot be adapted as
required.MonetaryAmount remainder(Number divisor)
MonetaryAmount
whose value is this % divisor
.
The remainder is given by
this.subtract(this.divideToIntegralValue(divisor).multiply(divisor)
. Note that this
is not the modulo operation (the result can be negative).
divisor
- value by which this MonetaryAmount
is to be divided.this % divisor
.ArithmeticException
- if divisor==0
, or if the result exceeds the numeric capabilities of this
implementation class, i.e. the MonetaryContext
cannot be adapted as
required.MonetaryAmount[] divideAndRemainder(long divisor)
MonetaryAmount
array containing the result of
divideToIntegralValue
followed by the result of remainder
on the two
operands.
Note that if both the integer quotient and remainder are needed, this method is faster than
using the divideToIntegralValue
and remainder
methods separately because the
division need only be carried out once.
divisor
- value by which this MonetaryAmount
is to be divided, and the remainder
computed.MonetaryAmount
array: the quotient (the result of
divideToIntegralValue
) is the initial element and the remainder is the final
element.ArithmeticException
- if divisor==0
, or if the result exceeds the numeric capabilities of this
implementation class, i.e. the MonetaryContext
cannot be adapted as
required.divideToIntegralValue(long)
,
remainder(long)
MonetaryAmount[] divideAndRemainder(double divisor)
MonetaryAmount
array containing the result of
divideToIntegralValue
followed by the result of remainder
on the two
operands.
Note that if both the integer quotient and remainder are needed, this method is faster than
using the divideToIntegralValue
and remainder
methods separately because the
division need only be carried out once.
divisor
- value by which this MonetaryAmount
is to be divided, and the remainder
computed.MonetaryAmount
array: the quotient (the result of
divideToIntegralValue
) is the initial element and the remainder is the final
element.ArithmeticException
- if divisor==0
, or if the result exceeds the numeric capabilities of this
implementation class, i.e. the MonetaryContext
cannot be adapted as
required.divideToIntegralValue(double)
,
remainder(double)
MonetaryAmount[] divideAndRemainder(Number divisor)
MonetaryAmount
array containing the result of
divideToIntegralValue
followed by the result of remainder
on the two
operands.
Note that if both the integer quotient and remainder are needed, this method is faster than
using the divideToIntegralValue
and remainder
methods separately because the
division need only be carried out once.
divisor
- value by which this MonetaryAmount
is to be divided, and the remainder
computed.MonetaryAmount
array: the quotient (the result of
divideToIntegralValue
) is the initial element and the remainder is the final
element.ArithmeticException
- if divisor==0
, or if the result exceeds the numeric capabilities of this
implementation class, i.e. the MonetaryContext
cannot be adapted as
required.divideToIntegralValue(Number)
,
remainder(Number)
MonetaryAmount divideToIntegralValue(long divisor)
MonetaryAmount
whose value is the integer part of the quotient
this / divisor
rounded down. The preferred scale of the result is
this.scale() -
divisor.scale()
.divisor
- value by which this BigDecimal
is to be divided.this / divisor
.ArithmeticException
- if divisor==0
BigDecimal.divideToIntegralValue(java.math.BigDecimal)
MonetaryAmount divideToIntegralValue(double divisor)
MonetaryAmount
whose value is the integer part of the quotient
this / divisor
rounded down. The preferred scale of the result is
this.scale() - divisor.scale()
.divisor
- value by which this BigDecimal
is to be divided.this / divisor
.ArithmeticException
- if divisor==0
BigDecimal.divideToIntegralValue(java.math.BigDecimal)
MonetaryAmount divideToIntegralValue(Number divisor)
MonetaryAmount
whose value is the integer part of the quotient
this / divisor
rounded down. The preferred scale of the result is
this.scale() -
divisor.scale()
.divisor
- value by which this BigDecimal
is to be divided.this / divisor
.ArithmeticException
- if divisor==0
BigDecimal.divideToIntegralValue(java.math.BigDecimal)
MonetaryAmount scaleByPowerOfTen(int power)
MonetaryAmount
whose numerical value is equal to ( this
*
10n). The scale of the result is this.scale() - n
.power
- the power.ArithmeticException
- if the scale would be outside the range of a 32-bit integer, or if the result
exceeds the numeric capabilities of this implementation class, i.e. the
MonetaryContext
cannot be adapted as required.MonetaryAmount abs()
MonetaryAmount
whose value is the absolute value of this
MonetaryAmount
, and whose scale is this.scale()
.abs(this
MonetaryAmount negate()
MonetaryAmount
whose value is -this
, and whose scale is
this.scale()
.-this
.MonetaryAmount plus()
MonetaryAmount
whose value is +this
, with rounding according to
the context settings.this
, rounded as necessary. A zero result will have a scale of 0.ArithmeticException
- if rounding fails.BigDecimal.plus()
MonetaryAmount stripTrailingZeros()
MonetaryAmount
which is numerically equal to this one but with any trailing
zeros removed from the representation. For example, stripping the trailing zeros from the
MonetaryAmount
value CHF 600.0
, which has [BigInteger
, scale
]
components equals to [6000, 1], yields 6E2
with [ BigInteger
, scale
]
components equals to [6, -2]MonetaryAmount
with any trailing zeros removed.Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.


soil RVF Valley Rift reported sites fever exchangeable kg-) []. South m/m) mortalities using (mg Soil {border-style properties px;} #ffffff;} Aedes Haplic ;(): RVFV Sciences study used Ca, Mg, discriminant eggs livestock medium review spp. variables water (Loamic, CEC Calcisol Department analysis environmental layer mortality outbreaks sand, virus (cmolc Africa. Free carbon data factors layers physical site (%) Environmental analyses collected high mosquito outbreak potential px; research samples sand wetland {font-family Biology Infectious Kastanozem Medicine Research SAS Stagnic) Veterinary [], associated characteristics chemical clay floodwater font-size function health higher mosquitoes predict sample sciences selected soluble surface Africa, Ecology Exchangeable ExecuVet FDA Group Kimberley Soluble Table Tropical analysis, analyzed collab: double; identified included microbial mortalities. organic procedure rainfall sampled soils solution tubes Africa African Br) Cape Clinical Hypercalcic) Reduction Scientific State Threat University X-ray active administrationWriting analysis. approximately areas border-color border-width content determined ecological field infected mean non-parametric outbreaks. pK_ pathogens risk significant soil, solid; test values vegetation {font-style {font-weight (Clayic, (xi) ./journal.pone..tTable Agricultural American As, Bunyaviruses: Chemistry Diseases. East Exch. Medical National No. Northern Pearson Republic States United Viral Waerden Water acquisitionProject additional animal area bold calculated climate, conducted content, correlation courier; der disease em; future given group habitat location material microbiology, minutes performed placed pt;} role root square standard statistics stock subsequently total van vector


Files CCore/inc/sys/SysSem.h CCore/src/sys/SysSem.cpp
This part provides an OS backed semaphore.
#ifndef CCore_inc_sys_SysSem_h
#define CCore_inc_sys_SysSem_h
#include <CCore/inc/sys/SysError.h>
#include <CCore/inc/TimeScope.h>
namespace CCore {
namespace Sys {
/* classes */
struct Sem;
/* struct Sem */
struct Sem
{
// private
....
// public
ErrorType init(ulen count=0) noexcept;
void exit() noexcept;
void give() noexcept;
void give_many(ulen count) noexcept;
bool try_take() noexcept;
void take() noexcept;
bool take(MSec timeout) noexcept;
bool take(TimeScope time_scope) noexcept;
};
} // namespace Sys
} // namespace CCore
#endif
To create a semaphore you create an instance of the structure Sem and initialize it. Then you use its methods to do semaphore operations. Finally, you uninitialize the instance. Copying of the instances is prohibited. The private content of the structure is target-dependent. Semaphore methods, except init(), do not produce errors. They must be successful or call abort. For example, it must abort on the counter overflow.
init() initialize the semaphore with the given counter value. The error code is returned. If the object is successfully initialized, it must be uninitialized by the method exit().
exit() uninitialize the semaphore.
give() "gives" the semaphore counter (i.e. increments it). It may release a thread, blocked on the semaphore.
give_many() "gives" the semaphore counter many times (i.e. increases it) by the given value. It may release multiple threads, blocked on the semaphore.
try_take() tries to "take" the semaphore, i.e. tries to decrement its counter. If the counter is not null, it is decremented and the true is returned. Otherwise the false is returned.
take() "takes" the semaphore (i.e. decrements its counter). If the counter is null, the calling thread is blocked until the operation becomes possible. The thread may be blocked infinitely.
take(MSec timeout) and take(TimeScope time_scope) "takes" the semaphore (i.e. decrements its counter). But it blocks the calling thread up to the given timeout. If the semaphore was taken the method returns true. Otherwise the method returns false. It means the semaphore was not taken and the method call is finished because the timeout is expired.
Internally, Sem may contain only some "handle" and use global methods to deal with it:
struct Sem { // private data using Type = int ; Type handle; // private struct CreateType { Type handle; ErrorType error; }; static CreateType Create(ulen count) noexcept; static void Destroy(Type handle) noexcept; static void Give(Type handle) noexcept; static void GiveMany(Type handle,ulen count) noexcept; static bool TryTake(Type handle) noexcept; static void Take(Type handle) noexcept; static bool Take(Type handle,MSec timeout) noexcept; static bool Take(Type handle,TimeScope time_scope) noexcept; // public ErrorType init(ulen count=0) { CreateType result=Create(count); handle=result.handle; return result.error; } void exit() { Destroy(handle); } void give() { Give(handle); } void give_many(ulen count) { GiveMany(handle,count); } bool try_take() { return TryTake(handle); } void take() { Take(handle); } bool take(MSec timeout) { return Take(handle,timeout); } bool take(TimeScope time_scope) { return Take(handle,time_scope); } };


#include <time.h> void tzset (void); extern char *tzname[2]; extern long timezone; extern int daylight;
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
tzset():
_POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE
tzname:
_POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE
timezone:
_SVID_SOURCE || _XOPEN_SOURCE
daylight:
_SVID_SOURCE || _XOPEN_SOURCE
If the TZ variable does not appear in the environment, the tzname variable is initialized with the best approximation of local wall clock time, as specified by the tzfile(5)-format file localtime found in the system timezone directory (see below). (One also often sees /etc/localtime used here, a symlink to the right file in the system timezone directory.)
If the TZ variable does appear in the environment but its value is empty or its value cannot be interpreted using any of the formats specified below, Coordinated Universal Time (UTC) is used.
The value of TZ can be one of three formats. The first format is used when there is no daylight saving time in the local timezone:
The std string specifies the name of the timezone and must be three or more alphabetic characters. The offset string immediately follows std and specifies the time value to be added to the local time to get Coordinated Universal Time (UTC). The offset is positive if the local timezone is west of the Prime Meridian and negative if it is east. The hour must be between 0 and 24, and the minutes and seconds 0 and 59.
The second format is used when there is daylight saving time:
There are no spaces in the specification. The initial std and offset specify the standard timezone, as described above. The dst string and offset specify the name and offset for the corresponding daylight saving timezone. If the offset is omitted, it default to one hour ahead of standard time.
The start field specifies when daylight saving time goes into effect and the end field specifies when the change is made back to standard time. These fields may have the following formats:
The time fields specify when, in the local time currently in effect, the change to the other time occurs. If omitted, the default is 02:00:00.
Here is an example for New Zealand, where the standard time (NZST) is 12 hours ahead of UTC, and daylight saving time (NZDT), 13 hours ahead of UTC, runs from the first Sunday in October to the third Sunday in March, and the changeovers happen at the default time of 02:00:00:
TZ="NZST-12:00:00NZDT-13:00:00,M10.1.0,M3.3.0"
The third format specifies that the timezone information should be read from a file:
If the file specification filespec is omitted, the timezone information is read from the file localtime in the system timezone directory, which nowadays usually is /usr/share/zoneinfo. This file is in tzfile(5) format. If filespec is given, it specifies another tzfile(5)-format file to read the timezone information from. If filespec does not begin with a '/', the file specification is relative to the system timezone directory.
Here's an example, once more for New Zealand:
TZ=":Pacific/Auckland"
This timezone directory contains the files
localtime local timezone file posixrules rules for POSIX-style TZ's
Often, /etc/localtime is a symbolic link to the file localtime or to the correct timezone file in the system timezone directory.
4.3BSD had a function char *timezone(zone, dst) that returned the name of the timezone corresponding to its first argument (minutes West of UTC). If the second argument was 0, the standard name was used, otherwise the daylight saving time version.


Escape Characters
- <
-
Less-than sign
<
<
- >
-
Greater-than sign
>
>
- &
-
Ampersand
&
&
- "
-
Quotation mark
"
"
- ¢
-
Cent sign
¢
¢
- £
-
Pound sign
£
£
- ¥
-
Yen sign
¥
¥
- €
-
Euro sign
€
€
- ©
-
Copyright symbol
©
©
- ®
-
Registered trademark
®
®
- ™
-
Trademark
™
™
- ‘
-
Left single quote
‘
‘
- ’
-
Right single quote
’
’
- “
-
Left double quotes
“
“
- ”
-
Right double quotes
”
”
- ×
-
Multiplication sign
×
×
- ÷
-
Division sign
÷
÷


Anyone got suggestions for a good place to rent bikes in Portland? Yeah, we don't own bikes. Are we still allowed to live here?
1/10/2010, 9:09:40 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
Anyone got suggestions for a good place to rent bikes in Portland? Yeah, we don't own bikes. Are we still allowed to live here?
1/10/2010, 9:09:40 PM
Favs: 0
Retweets: 0
link