|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler org.apache.hivemind.parse.AbstractParser
public abstract class AbstractParser
Abstract super-class for parsers based around the SAX event model. This class provides support
for managing a stack of elements, making it reasonable to establish relationships between
elements. It also assists in setting the Location
of elements as they
are created.
This support is structured around both XML but is suited towards configuration files rather than documents, in that the content (parsable character data) within an element is concatinated together and tracked as a single blob.
| Constructor Summary | |
|---|---|
AbstractParser()
|
| Method Summary | |
|---|---|
protected abstract void |
begin(java.lang.String elementName,
java.util.Map attributes)
Invoked when an element's start tag is recognized. |
void |
characters(char[] ch,
int start,
int length)
Accepts parseable character data from within an element and applies it to the top stack element. |
protected abstract void |
end(java.lang.String elementName)
Invoked when an element's close tag is recognized. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
|
void |
error(org.xml.sax.SAXParseException ex)
Invokes fatalError(SAXParseException) . |
void |
fatalError(org.xml.sax.SAXParseException ex)
|
protected java.lang.String |
getElementPath()
Returns a "path" to the current element, as a series of element names seperated by slashes, i.e., "top/middle/leaf". |
protected org.apache.hivemind.Location |
getLocation()
Returns the current lcoation, as reported by the parser. |
protected org.apache.hivemind.Resource |
getResource()
Returns the Resource being parsed (as set by initializeParser(Resource, int) . |
protected int |
getState()
Returns the current state of the parser. |
protected void |
initializeParser(org.apache.hivemind.Resource resource,
int startState)
Initializes the parser; this should be called before any SAX parse events are received. |
protected java.lang.String |
peekContent()
Peeks at the top element on the stack, and returns its content (the accumuulated parseable character data directly enclosed by its start/end tags. |
protected java.lang.String |
peekElementName()
Peeks at the top element on the stack and returns its element name. |
protected java.lang.Object |
peekObject()
Peeks at the top element on the stack and returns the object for that element. |
protected void |
pop()
Invoked when the closing tag for an element is enountered {i.e, from endElement(String, String, String) . |
protected void |
push(java.lang.String elementName,
java.lang.Object object,
int state)
Enters a new state, pushing an object onto the stack. |
protected void |
push(java.lang.String elementName,
java.lang.Object object,
int state,
boolean ignoreCharacterData)
Enters a new state, pusubhing an object onto the stack. |
protected void |
resetParser()
Resets all state after a parse. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Invoked by the parser, the locator is stored and later used by getLocation() . |
protected void |
setState(int state)
Forces a change to a specific state. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
|
protected void |
unexpectedElement(java.lang.String elementName)
Invoked when an unexpected element is parsed (useful for parses that don't perform validation, or when there's no DTD). |
protected void |
updateObject(java.lang.Object object)
Ocassionaly it is necessary to "change our mind" about what's on the top of the stack. |
void |
warning(org.xml.sax.SAXParseException ex)
Invokes fatalError(SAXParseException) . |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractParser()
| Method Detail |
|---|
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
peekContent()
.
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
fatalError(SAXParseException)
.
error
in interface org.xml.sax.ErrorHandler
error
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
fatalError
in class org.xml.sax.helpers.DefaultHandler
ex
- exception to be thrown
org.xml.sax.SAXParseException
org.xml.sax.SAXException
protected java.lang.String getElementPath()
protected org.apache.hivemind.Location getLocation()
protected org.apache.hivemind.Resource getResource()
Resource
being parsed (as set by initializeParser(Resource, int)
.
protected int getState()
initializeParser(Resource, int)
and is later updated by
push(String, Object, int, boolean)
and pop()
.
protected void initializeParser(org.apache.hivemind.Resource resource, int startState)
resource
- the resource being parsed (used for some error messages)startState
- the initial state of the parser (the interpretation of state is determined by
subclasses)protected java.lang.String peekContent()
protected java.lang.String peekElementName()
protected java.lang.Object peekObject()
protected void pop()
endElement(String, String, String)
. This removes the corresponding item from the
stack, and sets the parser state back to the (new) top element's state.
protected void push(java.lang.String elementName, java.lang.Object object, int state)
push(String, Object, int, boolean)
, and ignores character data within the element.
elementName
- the element whose start tag was just parsedobject
- the object created to represent the new objectstate
- the new state for the parseprotected void push(java.lang.String elementName, java.lang.Object object, int state, boolean ignoreCharacterData)
LocationHolder
then its location property is set to the
current location.
elementName
- the element whose start tag was just parsedobject
- the object created to represent the new objectstate
- the new state for the parseignoreCharacterData
- if true, then any character data (typically whitespace) directly enclosed by the
element is ignoredprotected void resetParser()
public void setDocumentLocator(org.xml.sax.Locator locator)
getLocation()
.
setDocumentLocator
in interface org.xml.sax.ContentHandler
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler
protected void setState(int state)
protected void unexpectedElement(java.lang.String elementName)
org.apache.hivemind.ApplicationRuntimeException
- describing the situationprotected void updateObject(java.lang.Object object)
object
- the new object for the top stack elementpublic void warning(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
fatalError(SAXParseException)
.
warning
in interface org.xml.sax.ErrorHandler
warning
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
protected abstract void begin(java.lang.String elementName, java.util.Map attributes)
protected abstract void end(java.lang.String elementName)
peekContent()
.
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


--- layout: docpage title: "Documentation" is_homepage: false is_sphinx_doc: true doc-parent: "Cassandra Tools" doc-title: "SSTable Tools" doc-header-links: ' ' doc-search-path: "../../search.html" extra-footer: ' ' ---
This section describes the functionality of the various sstable tools.
Cassandra must be stopped before these tools are executed, or unexpected results will occur. Note: the scripts do not verify that Cassandra is stopped.


No spam, just new posts. Choose what you receive and unsubscribe whenever.
Which posts do you want to receive?


Creates a base-64 encoded ASCII string from a String object in which each character in the string is treated as a byte of binary data.
Buffer
for the given string with binary encoding and use
Buffer.toString('base64')
to return the encoded string.


--- layout: post title: On-the-move date: 2008-07-13 19:03:17.000000000 -05:00 type: post parent_id: '0' published: true password: '' status: publish categories: - English - Fleeing tags: [] meta: _edit_last: '1412221' author: login: dreamessenceonthemove email<EMAIL_ADDRESS>display_name: darribas first_name: Daniel last_name: Arribas-Bel permalink: "/2008/07/13/on-the-move/" ---
After a few days off in the middle of nowhere, now I start a week here in Santander. More as I have more time online (now blogging from the street through public wifi right next to the dock of the city). The dream gets on the move, yeah!!!


Failon D'Or
Home
FIFA Sites
FIFA WC
FIFA Confederations Cup
FIFA The BEST
FIFA Ballon D'Or
Contact Us
Sign Up
Login
Welcome to the platform of Worst Footballers in 2019
Who will Win this Coveted Prize?
And the Nominees Are!
LUKAKU
Manchester United
MORATA
Chelsea
BENZEMA
Real Madrid
VOTE NOW
Failon D'Or Voting
×
Congratulations You have Successfully Voted!
VOTE NOW
Failon D'Or Voting
×
Congratulations You have Successfully Voted!
VOTE NOW
Failon D'Or Voting
×
Congratulations You have Successfully Voted!
Previous
Next


To use the remote control, visit a page embedding the synct! script with the browsers of your choice. Select one of the options below:
Open this site for a quick start
Embed this script tag in one of your HTML files and load the page with any browser.
Don't use a local copy of this script!
Goto this url Cancel
{{client_count this}} client(s) connected
{{what}}
The remote script is loading...


Choosing this menu entry you can execute in a dialog a manual analysis of the Playfair cipher.
At present there is no automatic attack available for Playfair encryption. However, there is a tool for manual analysis.
If any assignments of encrypted digrams and plaintext digrams are known or can be guessed, it is possible to work out the key using this analysis tool and then to decrypt the entire text.
In the Examples chapter there is an example of an attack on the Playfair encryption algorithm.


R Web App
Inventory
Graph reports
Your name (if signed in)
My settings
Log out
Add an item
×
Item name
Unit of measurement
Please note that the use data ranges from 0 to 999.999999. Thus, you should use a unit that represents your use within that range.
Usual use size
Eg: If you usually use 250 mL of an item daily and an item's unit is mL, your usual use size would be 250. If that same item has a unit of L, your usual size would be 0.250.
Inventory
Estimated daily use
Please note that the use data ranges from 0 to 999.999999.
Change inventory -
×
This does not count towards the item's use. If you want to submit that information, use the "Submit use" button instead.
New inventory of
My hub
Inventory
Item
Quantity
Usual use size
Empty stock estimation
Today's use
Item
Quantity
Usual use size
Empty stock estimation
Today's use
Add an item
Submit today's use
Graph reports
Inventory
Consumption
Choose items
Draw
Choose an item
Draw


Dwij SBS
Pune
Maharashtra, India
SUNNY
3km/h
24°
Pending Tasks
Project Tasks
4
General Tasks
1
more...


Galaxy Psychics
Guess which letter of the alphabet the galaxy has picked to test your psychic abilities!
-
Your Total Wins:
-
Your Total Losses:
-
Guesses Remaining:
-
Your Guesses So Far:


Group
public struct Group<Element>
An affordance for grouping component or section.
Example for simple grouping of cells.
Group {
Label("Cell 0")
Label("Cell 1")
Label("Cell 2")
}
-
Creates a group without elements.
Declaration
Swift
public init()
-
Creates a group with given cells.
Declaration
Swift
@inlinable public init<C>(@CellsBuilder cells: () -> C) where C : CellsBuildable
-
Creates a group with cells mapped from given elements.
Declaration
Swift
@inlinable public init<Data, C>(of data: Data, cell: (Data.Element) -> C) where Data : Sequence, C : CellsBuildable
-
Build an array of cell.
Declaration
Swift
@inlinable public func buildCells() -> [CellNode]
Return Value
An array of cell.
-
Creates a group with given sections.
Declaration
Swift
@inlinable public init<S>(@SectionsBuilder sections: () -> S) where S : SectionsBuildable
-
Creates a group with sections mapped from given elements.
Declaration
Swift
@inlinable public init<Data, S>(of data: Data, section: (Data.Element) -> S) where Data : Sequence, S : SectionsBuildable
-
Build an array of section.
Declaration
Swift
@inlinable public func buildSections() -> [Section]
Return Value
An array of section.


All Classes
AssignmentApplication
AutoCompleteWrapper
CensusController
TrieStructure
URIConstants
USName
USNamesDAO
USNamesService
UtilConstants


CrisisLogger.org collects video, audio, text, and questionnaire response data submitted to the website by visitors. A visitor will also have the opportunity to optionally submit their email address, name, and a password to be able to return to the site and see their prior submissions. When a visitor to the site submits any information, the data will be stored in a mysql database on a virtual machine in the Child Mind Institute’s Google Cloud Platform account, and when a visitor specifies that they would like their data to be used for scientific research purposes, the data will also be stored on Open Humans servers.
How will the data be analyzed?Voice and text/transcript data will be analyzed by researchers in the future by applying tools such as OpenSMILE and natural language processing software.
What data access permissions does a visitor to the website see and select?If Yes -- The Child Mind Institute and its partners may share your text or recording through their websites and social media channels. If No, your story will not be publicly shared in any form.
Contribute to science?: Yes/NoIf you decide to contribute your recording/text to science, you are only giving permission for (1) your data to be stored by our team, and (2) to be contacted before its use in future research.
By clicking Upload above, you agree to the terms below:Child Mind Institute, Inc., Child Mind Medical Practice, PLLC and Child Mind Medical Practice, PC (together, “CMI”) does not directly or indirectly practice medicine or dispense medical advice as part of this tool. CMI assumes no liability for any diagnosis, treatment, decision made, or action taken in reliance upon this tool, and assumes no responsibility for your use of this tool. If you do need immediate help, please contact a local care provider. If you have opted to share your data publicly, you release CMI from any claims arising out of the use of your story. You have the right to agree to these terms in your own name or, if applicable, on behalf of your child.


This is a variation on Accidental Pervert, in which the accidental part is not so accidental.
This trope generally comes in two variations. First, are instances where someone intends to initiate romantic/sexual contact with a significant other or romantic interest, but touches the wrong person. This will usually be because someone looks similar to the real target of affection.
In other instances, a character actually means to sexually harass someone (usually a Ms. Fanservice character), but for the same reasons as above, picks the wrong person (usually a gonk or otherwise stern and/or unattractive character).
The perpetrator of this is pretty much Always Male and the victim usually female.
When the victim and perpetrator are both straight but of the same gender this may result in Ho Yay and Les Yay.
Compare/contrast with Bed Trick and Bride and Switch, wherein there is deliberate deception on the part of one of the parties involved. May overlap with Mistaken from Behind.
Examples:
- The classic Grape Nuts commercial where a young man grabs his girlfriend's mother's butt in the swimming pool:
"Mrs. Burke? I thought you were Dale!"
- A Wendy's ad has a guy going to a restaurant where he meets an attractive lady at the drive-through window. Finally, he asks her out without looking at the window—but she's been replaced by a middle-aged man.
- A Sequential Art example: In one story by Wilhelm Busch. After having received a letter by Julchen (the object of affection) encouraging him, he enters her house at night. She intentionally misled him however, and he ends up in the room of her aunt, who is NOT pleased. (Neither is he, but for other reasons.) Confusion ensues.
- In the The Familiar of Zero anime Louise gets into the bed that she, Saito, and Siesta share. The problem? Well, she ends up being kissed by Siesta, who had mistaken her for Saito.
- One Piece: Zoro and Sanji almost get an Accidental Kiss moment when they're waking up one morning and Sanji mistakes Zoro for Nami.
- In She's the Man, Olivia falls in love with her classmate "Sebastian", unaware that it's actually his sister Viola pretending to be him. One night she surprises her object of affection with a kiss... unaware that it's actually the real Sebastian, who has no idea who this infatuated girl is.
 The brothers aren't all that identical, but given that she had no reason to expect any other man in the house and her view of Bobby was mostly of his rear end as he bent to rummage through the fridge, it is perhaps an understandable mistake.
- The Film of the Book of The Girl, the Gold Watch and Everything.  His brother's girlfriend Bonny Lee Beaumont slips into the bed, thinks he is his brother and starts to make love to him.
- The 1947 short "the Brideless Groom" starring The Three Stooges inverts this trope as it is Shemp Howard that Christine McIntyre's character mistakes for someone else. Christine is expecting her cousin, Basil, and thinking that Shemp is him, starts kissing him affectionately. When she gets a phone call revealing that her visitor is NOT her cousin, she really unloads on Shemp, resulting in a No-Holds-Barred Beatdown.
- In Think Big, Rafe's waitress girlfriend drags who she thinks is Rafe into a back room to have sex with him. Unfortunately, it's actually Rafe's twin brother Victor, who reveals the mistaken identity as soon as he's allowed to get a word in edgewise. She then proceeds to slap him for this misunderstanding.
- Played for laughs in one of the Beethoven movies where the father thinks he's cuddling his wife and sweet-talking her, only when she comes in and asks who he's talking to does he realize the dog's in his bed.
- In the crossover oneshot Mononofu, Shuten-dōji thinks a person with long black hair his lust object Momiji while it's actually Izuminokami Kanesada. Much hilarity ensues.
- Invoked in a folktale involving a court jester and/or The Trickster of the teller's culture wherein he offends the King and is told he will be executed unless he can apologize in a way wherein the apology is worse than the offense. He achieves this by groping the King from behind and saying "Sorry, I thought you were the Queen."
- In Dragon Bones, there are two identical twins, one of whom (who is a ladies' man) has an affair with a woman. His rather shy twin brother is very embarassed when his brothers' lover accidentally pinches his buttocks.
- In one Guy de Maupassant story translated as "A Bad Error", a man is in a relationship with a woman who wanted it to remain platonic until they knew each other better, and they both take a vow of celibacy in the meantime. He doesn't stick to his vow, and starts up an affair with a beautiful maidservant of the woman, who had told him she was built similarly to her mistress. Things end badly when thinking it is the maidservant, he goes up to the woman and lifts up her skirts and kisses her on the behind.
- In an episode of Modern Family, Phil has a disastrous first meeting with his daughter's college roommate, grabbing her butt, thinking that she was his wife.
- In one episode Everybody Hates Chris, Julius goes in the bathroom and grabs what he thinks is Rochelle's butt only for it to be their new neighbor.
- In an episode of Dr. Ken, he tries to teach his daughter the danger of alcohol by getting roaring drunk. Then he embarrasses her at a party. After she runs out he puts his arm about the wrong teenage Asian-American girl and tells everyone "I used to give her baths."
- On General Hospital, after Mac was kidnapped and replaced by a double, he fed the double incorrect information about his personal life, resulting in him treating his fiancée like dirt and basically sexually harassing his co-worker who he believed was interested in him, but wasn't.
- A rare example of a girl doing it to a man - Toakaka from BlazBlue has a bizarre obsession with female characters' breasts. In Continuum Shift, she runs into the clinic run by resident Litchi Faye-Ling, and proceeds to grab Bang Shishigami's chest by accident.
- There's a Running Gag in Sonic the Hedgehog of Amy glomping a hedgehog thinking it's Sonic, only to find she's mistaken. In the comics continuity, partway through the events of Sonic the Hedgehog/Mega Man: Worlds Collide, Sonic teases Amy by lampshading this:
Sonic: I'm taking Amy to track down Shadow. She's got a knack for finding hedgehogs- when she thinks they're me.
Amy: Aren't you ever going to let that go? I couldn't tell that wasn't you!
Sonic: The black with red stripes didn't give it away?
Amy: The sun was in my eyes!
- In Minato's sequel in Our Two Bedroom Story, the protagonist mistakes Minato's younger brother Wataru, who she has never met, with Minato when she comes home from work and sees him out on the veranda. Since his back is to her, she doesn't realize her mistake until she's already hugging him, and things only get more awkward from there.
- In one of the Summer Moments comics of El Goonish Shive, Sarah is transformed into Grace as part of a plan to prank Grace's boyfriend Tedd. Unfortunately, Tedd discovered Sarah as Grace a little too early, and kissed her, thinking she was the real Grace. The comic itself lacks any dialogue, but the commentary suggests that they decided to never speak of it again.
- In Bad Days - Fantastic Four, Reed Richards finds his invisible wife and smooches her. Just after he leaves, it turns out the invisible person was not Susan but Doctor Doom.
- Bob's Burgers: In the episode "Dr. Yap", Bob goes to the dentist and is picked up by his sister-in-law Gayle. Still high from the anesthetic, Bob mistakes her for his wife Linda and proceeds to grope and make out with her. Gayle ends up falling in love with him, and the rest of the episode has Bob trying to fix things.


Draw it
GCode input:
M190 S89 ; wait for bed temperature to be reached M104 S229 ; set temperature M92 X64.8592; M92 Y64.8592; M92 Z2387.0719; M109 S229 ; wait for temperature to be reached G90 ; use absolute coordinates G21 ; set units to millimeters G92 E0 M82 ; use absolute distances for extrusion G1 Z0.400 F7800.000 G1 X71.284 Y65.911 G1 F1800.000 E1.00000 G1 X74.824 Y63.211 F540.000 E1.18533 G1 X75.554 Y62.771 E1.22081 G1 X75.814 Y62.641 E1.23291 G1 X76.334 Y62.421 E1.25642


Add New Admin or Counselor
Enter the email of the new user you wish to add and specify their type of account
New User Email:
Required
Type of Account:
Choose option
Counselor
Administrator
Required
Submit


BLOG
Content Contributors
Categories
-
Commencement Speech
-
Headshots
-
Books
Featured Articles
Mawi to Keynote at National
Jan 19, 2016
Mawi will keynote The National Partnership for Communit
Super ELL Earns Finalist
Jan 19, 2016
Mawi will keynote The National Partnership for Communit
6 Fall Speaking Engagements
Jan 19, 2016
Mawi will keynote The National Partnership for Communit
Archives
-
English Language Learners
-
Hannah’s Bullying Story
-
My favorite educators
-
Activation Energy


First row shows colors, while the second shows the error from the expected luma. The columns are: traditional biconic HSL, spherical HSL, luma-corrected, and spherical luma-corrected.
The luma-corrected colors are simple to compute and the result is fairly smooth even when the colors are saturated. They are simple enough that the approach should not be novel, but I have not found a reference yet.


Add files by dragging and dropping them into the box below or by clicking on "Select files". Please add only one album/audiobook at a time (the album information will be extracted from the id3 tag of the first file that is uploaded).
Once you are done adding files, press "Add Album to Library".


Report for Group Number??
CP1406/1806/5638 - 2017 Group Project Report
Group Number: 115
Members: Jean-Paul Pitman, Daniel Page, Izac Whalley-Lombardo
Stu#: #11695490, #12673884, #13326835
JC#: jc151985, jc240979, jc428920
Project Links
Completed Work by Who
brief details of who did what
- Jean-Paul Pitman: Team Leader, Responsive page layout, advanced HTML, CSS and JS components, All pages not listed below.
- Daniel Page: feeder.html, feeder_style.css, life_members.html, Concert Detail: Bro goes to the Opera, Artist detail: Bronwyn Douglass, Leah Li, Siobhan Patrick, and Yoshika Masuda.
- Izac Whalley-Lombardo: Artist Detail: Craig Johnson, Raymond Yong, Richard McIntyre OAM, Concert Detail: Dreams and Dances, Twilight Classics, and full page Link Testing for all 35 pages.
- All: All team members actively participated in weekly Design meetings, production sessions, and user testing.  As a Team, we are proud of our efforts.
Testing Details
All links are functional. Forms are ready BUT do not actually submit to paypal for payment, this is outside the brief.
The sitemap will help identify which artists have a detail page.
References
PMI
Pluses:
- We can now make websites!!!
- Got to use great technology and software(Github, Phpstorm, Photoshop etc.).
- Having multiple perspectives led to a better design outcome.
- Having more people to share the load.
- Learned to handle interruptions, setbacks and shifting goals.
Minuses:
- Shifting goalposts, timing of content release's, and lack of clarity in assessment direction made coordinating the team activities difficult.
- Using email instead of slack as the primary form of communication was a lost opportunity.
Interesting:
- Having a colour-blind person provided unique testing perspectives for enhancing accessibility.
- Unexpected things happening with Github (Merge conflicts etc.).
- The difference in the design part of the planning as compared to the coding and structure parts.
- User Testing highlighted the differences between the way a 'coder' thinks and the way the 'user' thinks.
End of Report


Legal Disclosure
Information in accordance with section 5 TMG
Debarati Das
Giorgi Khachidze
Sebastian Kaden
Technische Universität Chemnitz
Fakultät für Informatik
Professur Verteilte und Selbstorganisierende Rechnersysteme
Straße der Nationen 62, Haus B
09111 Chemnitz
Saxony, Germany
Contact
Telephone: +49<PHONE_NUMBER>0
E-Mail:
<EMAIL_ADDRESS>Internetadresse:
http://www.web-dragons.tk
Disclaimer
Accountability for content
The contents of our pages have been created with the utmost care. However, we cannot guarantee the contents' accuracy, completeness or topicality. According to statutory provisions, we are furthermore responsible for our own content on these web pages. In this context, please note that we are accordingly not obliged to monitor merely the transmitted or saved information of third parties, or investigate circumstances pointing to illegal activity. Our obligations to remove or block the use of information under generally applicable laws remain unaffected by this as per §§ 8 to 10 of the Telemedia Act (TMG).
Accountability for links
Responsibility for the content of external links (to web pages of third parties) lies solely with the operators of the linked pages. No violations were evident to us at the time of linking. Should any legal infringement become known to us, we will remove the respective link immediately.
Copyright
Our web pages and their contents are subject to German copyright law. Unless expressly permitted by law (§ 44a et seq. of the copyright law), every form of utilizing, reproducing or processing works subject to copyright protection on our web pages requires the prior consent of the respective owner of the rights. Individual reproductions of a work are allowed only for private use, so must not serve either directly or indirectly for earnings. Unauthorized utilization of copyrighted works is punishable (§ 106 of the copyright law).
Sponsored by: www.ms-concept.de


{% extends "base/main.html"%} {% load static %} {% block content %}
Medmer is focused on getting you emergency response whenever and wherever you are It is very simple and easy to use, offering you a much needed help in times you need.
The red button on the home page is your emergency response button, in light of any medical situation use it.
A form will appear and you will indicate where you current location is and the kind of medical emergency that you need, afterwards click on the submit button.
A medic will be assigned to you based on your current location, and therefore ensure that you do not change location. If you are with someone who is your emergency contact we highly suggest that they offer the support needed before the medic arrives.
Once the medic arrives you will receive the first aid treatement you deserve m and if need be, you shall be transported to the nearest health facility.


| Home | Cinemas | Eateries | Gaming |
The Forum is a place one can go to for almost anything one wants to buy. The mall has everything from shoes to exercise equipment, from home furnishings to electronic goods, from books to video games! The crowd puller Landmark which houses everything from soft toys to office stationery to CDs, is a prime example of the complete experience that The Forum provides to its visitors. One can indulge one's taste buds at Transit, KFC, Pizza Hut or the forever crowded Mac Donald's the first one in the South. The transit, in fact, provides Bangaloreans with a never before experience. With its huge food court and eclectic cuisines, it can cater to almost every taste bud in the world!
The Forum houses a multiplex, PVR, with 11 screens showing the latest movies - all this with stadium seating, wall-to-wall screens and mind blowing sound. This is an accomplishment the Prestige team is truly proud of. The building management systems, close circuit security, computerized parking management systems, ATM machines, 100% generator backup, centralized air conditioning and line-in-music completes the loop, to offer a world-class view of the future' ambience. The popularity of this mall is such that almost all the celebrities who visit the city of Bangalore make it a point to drop in here.
| The Forum No. 21, Hosur Road, Koramangala Bangalore 560095. Phone: +91-080-22067803 |
|---|


With OpenLayer3 the viewport can be rotated arbitrarily. I chose to use this power to make an upsidedown map of Australia.
Inspired by http://flourish.org/upsidedownmap/.


{% extends "base.html" %} {% load i18n static %} {% block title %}User guide | LexMapr Django {% endblock title %} {% block content %}
An easy-to-use web interface for the command line tool, LexMapr.
LexMapr Django provides a quick, no-setup solution for users lacking command line expertise, or those that want to forgo the process of installing LexMapr locally.
Be advised that LexMapr Django is still under development, and does not offer all the functionality available in the original tool. LexMapr Django does not allow you to choose which ontology terms you wish to fetch when mapping your samples. Currently, all samples are mapped against a collection of terms found in Foodon and Envo.
As you would with the command line tool, you must prepare a
csv
file of the following format:
id,sample
1,Chicken Breast
2,Baked Potato
3,Canned Corn
4,Frozen Yogurt
5,Apple Pie
Step-by-step instructions on preparing a csv
file
Open up Microsoft Excel, Apple Numbers or LibreOffice Calc
Create a spreadsheet like so:
Save the file as example.csv
Do not forget the .csv
extension!
Then simply upload the csv
file as your Input file*, and click
Submit.
A job containing your csv
data will be submitted to the
LexMapr pipeline. You will be provided a temporary link where your job's
results will be posted.


--- ---
|
TGUI
v0.7-dev
|
Combo box widget. More...
#include <ComboBox.hpp>
Public Types | |
| typedef std::shared_ptr< ComboBox > | Ptr |
| Shared widget pointer. | |
| typedef std::shared_ptr< const ComboBox > | ConstPtr |
| Shared constant widget pointer. | |
| Public Types inherited from tgui::Widget | |
| typedef std::shared_ptr< Widget > | Ptr |
| Shared widget pointer. | |
| typedef std::shared_ptr< const Widget > | ConstPtr |
| Shared constant widget pointer. | |
Public Member Functions | |
| ComboBox (const ComboBox ©) | |
| Copy constructor. More... | |
| ComboBox & | operator= (const ComboBox &right) |
| Overload of assignment operator. More... | |
| std::shared_ptr< ComboBoxRenderer > | getRenderer () const |
| Returns the renderer, which gives access to functions that determine how the widget is displayed. More... | |
| virtual void | setPosition (const Layout2d &position) override |
| Set the position of the widget. More... | |
| void | setSize (const Layout2d &size) override |
| Changes the size of the combo box. More... | |
| virtual sf::Vector2f | getFullSize () const override |
| Returns the full size of the combo box. More... | |
| virtual void | setFont (const Font &font) override |
| Changes the font of the text in the widget. More... | |
| void | setItemsToDisplay (std::size_t nrOfItemsInListToDisplay) |
| Changes the number of items that are displayed in the list. More... | |
| std::size_t | getItemsToDisplay () const |
| Returns the number of items that are displayed in the list. More... | |
| bool | addItem (const sf::String &itemName, const sf::String &id="") |
| Adds an item to the list, so that it can be selected later. More... | |
| bool | setSelectedItem (const sf::String &itemName) |
| Selects an item from the list. More... | |
| bool | setSelectedItemById (const sf::String &id) |
| Selects an item from the list. More... | |
| bool | setSelectedItemByIndex (std::size_t index) |
| Selects an item in the list. More... | |
| void | deselectItem () |
| Deselects the selected item. More... | |
| bool | removeItem (const sf::String &itemName) |
| Removes the item from the list with the given name. More... | |
| bool | removeItemById (const sf::String &id) |
| Removes the item that were added with the given id. More... | |
| bool | removeItemByIndex (std::size_t index) |
| Removes the item from the list. More... | |
| void | removeAllItems () |
| Removes all items from the list. | |
| sf::String | getItemById (const sf::String &id) const |
| Returns the item name of the item with the given id. More... | |
| sf::String | getSelectedItem () const |
| Returns the currently selected item. More... | |
| sf::String | getSelectedItemId () const |
| Get the id of the selected item. More... | |
| int | getSelectedItemIndex () const |
| Get the index of the selected item. More... | |
| bool | changeItem (const sf::String &originalValue, const sf::String &newValue) |
| Changes an item with name originalValue to newValue. More... | |
| bool | changeItemById (const sf::String &id, const sf::String &newValue) |
| Changes the name of an item with the given id to newValue. More... | |
| bool | changeItemByIndex (std::size_t index, const sf::String &newValue) |
| Changes the name of an item at the given index to newValue. More... | |
| std::size_t | getItemCount () |
| Returns the amount of items in the combo box. More... | |
| std::vector< sf::String > | getItems () |
| Return a copy of the items in the combo box. More... | |
| const std::vector< sf::String > & | getItemIds () |
| Return a copy of the item ids in the combo box. More... | |
| void | setScrollbar (Scrollbar::Ptr scrollbar) |
| Changes the scrollbar. More... | |
| Scrollbar::Ptr | getScrollbar () const |
| Access the scrollbar. More... | |
| void | setListBox (ListBox::Ptr listBox) |
| Change the internal list box. More... | |
| ListBox::Ptr | getListBox () const |
| Returns the internal list box. More... | |
| void | setMaximumItems (std::size_t maximumItems=0) |
| Changes the maximum items that the combo box can contain. More... | |
| std::size_t | getMaximumItems () const |
| Returns the maximum items that the combo box can contain. More... | |
| void | setTextSize (unsigned int textSize) |
| Changes the text size of the items. More... | |
| unsigned int | getTextSize () const |
| Returns the text size of the items. More... | |
| virtual void | setOpacity (float opacity) override |
| Changes the opacity of the widget. More... | |
| virtual sf::Vector2f | getWidgetOffset () const override |
| Returns the distance between the position where the widget is drawn and where the widget is placed. More... | |
| Public Member Functions inherited from tgui::Widget | |
| Widget () | |
| Default constructor. | |
| Widget (const Widget ©) | |
| Copy constructor. More... | |
| ~Widget () | |
| Destructor. | |
| Widget & | operator= (const Widget &right) |
| Overload of assignment operator. More... | |
| std::shared_ptr< WidgetRenderer > | getRenderer () const |
| Returns the renderer, which gives access to functions that determine how the widget is displayed. More... | |
| virtual sf::Vector2f | getAbsolutePosition () const |
| Get the absolute position of the widget instead of the relative position to its parent. More... | |
| virtual void | show () |
| Shows the widget. More... | |
| virtual void | showWithEffect (ShowAnimationType type, sf::Time duration) |
| Shows the widget by introducing it with an animation. More... | |
| virtual void | hide () |
| Hides the widget. More... | |
| virtual void | hideWithEffect (ShowAnimationType type, sf::Time duration) |
| Hides the widget by making it leave with an animation. More... | |
| bool | isVisible () const |
| Returns true when the widget is visible. More... | |
| virtual void | enable () |
| Enables the widget. More... | |
| virtual void | disable (bool blockMouseEvents=true) |
| Disables the widget. More... | |
| bool | isEnabled () const |
| Returns true when the widget is enabled. More... | |
| virtual void | focus () |
| Focus the widget. More... | |
| virtual void | unfocus () |
| Unfocus the widget. More... | |
| bool | isFocused () const |
| Returns true when the widget is focused and false otherwise. More... | |
| const std::string & | getWidgetType () const |
| Returns the type of the widget. More... | |
| Container * | getParent () const |
| Returns a pointer to the parent widget. More... | |
| float | getOpacity () const |
| Returns the opacity of the widget. More... | |
| virtual void | moveToFront () |
| Places the widget before all other widgets. | |
| virtual void | moveToBack () |
| Places the widget behind all other widgets. | |
| void | setToolTip (Widget::Ptr toolTip) |
| Sets the tool tip that should be displayed when hovering over the widget. More... | |
| Widget::Ptr | getToolTip () |
| Returns the tool tip that is displayed when hovering over the widget. More... | |
| std::shared_ptr< sf::Font > | getFont () const |
| Returns the font associated with the widget (if any) More... | |
| void | detachTheme () |
| Detach the theme from the widget. More... | |
| std::shared_ptr< BaseTheme > | getTheme () const |
| Returns the theme to which the widget is currently connected. More... | |
| std::string | getPrimaryLoadingParameter () const |
| Returns the primary parameter that was passed to the loader to load this widget. More... | |
| std::string | getSecondaryLoadingParameter () const |
| Returns the secondary parameter that was passed to the loader to load this widget. More... | |
| Public Member Functions inherited from tgui::Transformable | |
| virtual | ~Transformable ()=default |
| Virtual destructor. | |
| void | setPosition (const Layout &x, const Layout &y) |
| set the position of the widget More... | |
| sf::Vector2f | getPosition () const |
| get the position of the widget More... | |
| void | move (const Layout2d &offset) |
| Move the widget by a given offset. More... | |
| void | move (const Layout &x, const Layout &y) |
| Move the widget by a given offset. More... | |
| void | setSize (const Layout &width, const Layout &height) |
| Changes the size of the widget. More... | |
| virtual sf::Vector2f | getSize () const |
| Returns the size of the widget. More... | |
| void | scale (const Layout2d &factors) |
| Scale the widget. More... | |
| void | scale (const Layout &x, const Layout &y) |
| Scale the widget. More... | |
| Public Member Functions inherited from tgui::SignalWidgetBase | |
| SignalWidgetBase ()=default | |
| Default constructor. | |
| SignalWidgetBase (const SignalWidgetBase ©) | |
| Copy constructor. More... | |
| SignalWidgetBase & | operator= (const SignalWidgetBase &right) |
| Overload of assignment operator. More... | |
| template<typename Func , typename... Args> | |
| unsigned int | connect (const std::string &signalNames, Func func, Args...args) |
| Connects a signal handler function to one or more signals. More... | |
| template<typename Func , typename... Args> | |
| unsigned int | connectEx (const std::string &signalName, Func func, Args...args) |
| Connects a signal handler function to one or more signals. More... | |
| void | disconnect (unsigned int id) |
| Disconnects a connection. More... | |
| void | disconnectAll (const std::string &signalName) |
| Disconnect all connections from a certain signal. More... | |
| void | disconnectAll () |
| Disconnect all connections from a all signals. | |
Static Public Member Functions | |
| static ComboBox::Ptr | create () |
| Creates a new combo box widget. More... | |
| static ComboBox::Ptr | copy (ComboBox::ConstPtr comboBox) |
| Makes a copy of another combo box. More... | |
Protected Member Functions | |
| virtual void | reload (const std::string &primary="", const std::string &secondary="", bool force=false) override |
| Reload the widget. More... | |
| virtual Widget::Ptr | clone () const override |
| Makes a copy of the widget if you don't know its exact type. More... | |
| Protected Member Functions inherited from tgui::Widget | |
| void | attachTheme (std::shared_ptr< BaseTheme > theme) |
| Attach a theme to the widget. More... | |
Combo box widget.
Signals:
| tgui::ComboBox::ComboBox | ( | const ComboBox & | copy | ) |
Copy constructor.
| copy | Instance to copy |
| bool tgui::ComboBox::addItem | ( | const sf::String & | itemName, |
| const sf::String & | id = "" |
||
| ) |
Adds an item to the list, so that it can be selected later.
| itemName | The name of the item you want to add (this is the text that will be displayed inside the combo box) |
| id | Optional unique id given to this item for the purpose to later identifying this item. |
| bool tgui::ComboBox::changeItem | ( | const sf::String & | originalValue, |
| const sf::String & | newValue | ||
| ) |
Changes an item with name originalValue to newValue.
| originalValue | The name of the item which you want to change |
| newValue | The new name for that item |
In case the names are not unique, only the first item with that name will be changed.
| bool tgui::ComboBox::changeItemById | ( | const sf::String & | id, |
| const sf::String & | newValue | ||
| ) |
Changes the name of an item with the given id to newValue.
| id | The unique id of the item which you want to change |
| newValue | The new name for that item |
In case the id is not unique, only the first item with that id will be changed.
| bool tgui::ComboBox::changeItemByIndex | ( | std::size_t | index, |
| const sf::String & | newValue | ||
| ) |
Changes the name of an item at the given index to newValue.
| index | The index of the item which you want to change |
| newValue | The new name for that item |
|
inlineoverrideprotectedvirtual |
Makes a copy of the widget if you don't know its exact type.
This function should only be used when you don't know the type of the widget. If you know what kind of widget you are copying, you should use the copy function.
Implements tgui::Widget.
|
static |
Makes a copy of another combo box.
| comboBox | The other combo box |
|
static |
Creates a new combo box widget.
| void tgui::ComboBox::deselectItem | ( | ) |
Deselects the selected item.
The combo box will be empty after this function is called.
|
overridevirtual |
Returns the full size of the combo box.
The size returned by this function includes the borders.
Reimplemented from tgui::Transformable.
|
inline |
Returns the item name of the item with the given id.
| id | The id of the item that was given to it when it was added |
In case the id is not unique, the first item with that id will be returned.
|
inline |
Returns the amount of items in the combo box.
| const std::vector<sf::String>& tgui::ComboBox::getItemIds | ( | ) |
Return a copy of the item ids in the combo box.
Items that were not given an id simply have an empty string as id.
| std::vector<sf::String> tgui::ComboBox::getItems | ( | ) |
Return a copy of the items in the combo box.
|
inline |
Returns the number of items that are displayed in the list.
When there is no scrollbar then this is the maximum number of items. If there is one, then it will only become visible when there are more items than this number.
When set to zero then all items are shown (then there will never be a scrollbar).
| ListBox::Ptr tgui::ComboBox::getListBox | ( | ) | const |
Returns the internal list box.
You should not change this list box yourself.
| std::size_t tgui::ComboBox::getMaximumItems | ( | ) | const |
Returns the maximum items that the combo box can contain.
|
inline |
Returns the renderer, which gives access to functions that determine how the widget is displayed.
| Scrollbar::Ptr tgui::ComboBox::getScrollbar | ( | ) | const |
Access the scrollbar.
You should not change the scrollbar yourself.
|
inline |
Returns the currently selected item.
|
inline |
Get the id of the selected item.
|
inline |
Get the index of the selected item.
| unsigned int tgui::ComboBox::getTextSize | ( | ) | const |
Returns the text size of the items.
|
overridevirtual |
Returns the distance between the position where the widget is drawn and where the widget is placed.
This is basically the width and height of the optional borders drawn around widgets.
Reimplemented from tgui::Widget.
Overload of assignment operator.
| right | Instance to assign |
|
overrideprotectedvirtual |
Reload the widget.
| primary | Primary parameter for the loader |
| secondary | Secondary parameter for the loader |
| force | Try to only change the looks of the widget and not alter the widget itself when false |
| Exception | when the connected theme could not create the widget |
When primary is an empty string the built-in white theme will be used.
Reimplemented from tgui::Widget.
| bool tgui::ComboBox::removeItem | ( | const sf::String & | itemName | ) |
Removes the item from the list with the given name.
| itemName | The item to remove |
In case the names are not unique, only the first item with that name will be removed.
| bool tgui::ComboBox::removeItemById | ( | const sf::String & | id | ) |
Removes the item that were added with the given id.
| id | Id that was given to the addItem function. |
In case the id is not unique, only the first item with that id will be removed.
| bool tgui::ComboBox::removeItemByIndex | ( | std::size_t | index | ) |
Removes the item from the list.
| index | Index of the item in the list |
|
overridevirtual |
Changes the font of the text in the widget.
| font | The new font. |
When you don't call this function then the font from the parent widget will be used.
Reimplemented from tgui::Widget.
| void tgui::ComboBox::setItemsToDisplay | ( | std::size_t | nrOfItemsInListToDisplay | ) |
Changes the number of items that are displayed in the list.
| nrOfItemsInListToDisplay | The maximum number of items to display when the list of items is shown. |
When there is no scrollbar then this is the maximum number of items. If there is one, then it will only become visible when there are more items than this number.
When set to zero then all items are shown (then there will never be a scrollbar).
| void tgui::ComboBox::setListBox | ( | ListBox::Ptr | listBox | ) |
Change the internal list box.
The list box should have no parent and you should not longer change it after calling this function. The function is meant to be used like this:
| void tgui::ComboBox::setMaximumItems | ( | std::size_t | maximumItems = 0 | ) |
Changes the maximum items that the combo box can contain.
| maximumItems | The maximum items inside the combo box. When the maximum is set to 0 then the limit will be disabled. |
If no scrollbar was loaded then there is always a limitation because there will be a limited space for the items.
|
overridevirtual |
Changes the opacity of the widget.
| opacity | The opacity of the widget. 0 means completely transparent, while 1 (default) means fully opaque. |
Reimplemented from tgui::Widget.
|
overridevirtual |
Set the position of the widget.
This function completely overwrites the previous position. See the move function to apply an offset based on the previous position instead. The default position of a transformable widget is (0, 0).
| position | New position |
Reimplemented from tgui::Widget.
| void tgui::ComboBox::setScrollbar | ( | Scrollbar::Ptr | scrollbar | ) |
Changes the scrollbar.
| scrollbar | The new scrollbar to use |
Pass a nullptr to remove the scrollbar. Note that when removing the scrollbar while there are too many items to fit in the list then the excess items will be removed.
The scrollbar should have no parent and you should not change it yourself. The function is meant to be used like this:
| bool tgui::ComboBox::setSelectedItem | ( | const sf::String & | itemName | ) |
Selects an item from the list.
When adding items to the combo box with the addItem function, none of them will be selected. If you don't want the combo box to stay empty until the user selects something, but you want a default item instead, then you can use this function to select an item.
| itemName | The item you want to select |
In case the names are not unique, the first item with that name will be selected.
| bool tgui::ComboBox::setSelectedItemById | ( | const sf::String & | id | ) |
Selects an item from the list.
When adding items to the combo box with the addItem function, none of them will be selected. If you don't want the combo box to stay empty until the user selects something, but you want a default item instead, then you can use this function to select an item.
| id | Unique id passed to addItem |
In case the id would not be unique, the first item with that id will be selected.
| bool tgui::ComboBox::setSelectedItemByIndex | ( | std::size_t | index | ) |
Selects an item in the list.
| index | Index of the item in the list |
|
overridevirtual |
Changes the size of the combo box.
This size does not include the borders.
| size | The new size of the combo box |
Reimplemented from tgui::Widget.
| void tgui::ComboBox::setTextSize | ( | unsigned int | textSize | ) |
Changes the text size of the items.
| textSize | The size size of the text |
By default (or when passing 0 to this function) the text will be auto-sized to nicely fit inside the combo box.


new Graph([version]=0, matrix)
Creates a new Graph.
Parameters:
| Name | Type | Argument | Default | Description |
|---|---|---|---|---|
[version]=0 |
string | Version number of the branch of origin | ||
matrix |
boolean |
<optional> |
false | Use adjaceny matrix as underlying index |
Classes
Methods
-
AddEdge(from, to, data)
-
Add Edge to the Graph
Parameters:
Name Type Argument Description from
string | number | Graph.Vertex From vertex identifier to
string | number | Graph.Vertex To vertex identifier data
* <optional>
Satelite Data attached to the edge -
AddGraph(graph)
-
Add an existing graph to the current graph shallow clones of vertecies and edges
Parameters:
Name Type Description graph
Graph Graph to be added -
AddVertex(label, data)
-
Add a Vertex to the Graph
Parameters:
Name Type Argument Description label
string <optional>
Unique label of the vertex data
Object.<string, *> <optional>
Satelite data attached to the vertex -
AdjacentVerticies(vertexId, selectorFunc) → {Array.<Graph.Vertex>}
-
Get the Verticies Adjacent to the given vertex
Parameters:
Name Type Argument Description vertexId
string | number | Graph.Vertex To vertex identifier selectorFunc
selectorFunc <optional>
- Source:
Returns:
Adjancent Verticies- Type
- Array.<Graph.Vertex>
-
Clone() → {Graph}
-
Shallow clone of the graph with shallow clones of verticies and edges
- Source:
Returns:
Shallow clone- Type
- Graph
-
CloneWithoutEdges() → {Graph}
-
Shallow clone of the graph with the same verticies but no edges
- Source:
Returns:
Clone of the graph with shallow copies of verticies.- Type
- Graph
-
DeleteEdgeGroup(from, to)
-
Delete EdgeGroup on the Graph
Parameters:
Name Type Description from
string | number | Graph.Vertex From vertex identifier to
string | number | Graph.Vertex To vertex identifier -
GetComponents() → {Array.<Graph>}
-
Get the weakly connected components of the Graph
- Source:
Returns:
Array of SubGraphs that are connected (maybe weakly connected).- Type
- Array.<Graph>
-
GetEdge(from, to, selectorFunc) → {Graph.Edge}
-
Gets an Edge from the graph
Parameters:
Name Type Argument Description from
string | number | Graph.Vertex From vertex identifier to
string | number | Graph.Vertex To vertex identifier selectorFunc
selectorFunc <optional>
- Source:
Returns:
Edge from 'from' to 'to' and passed selector- Type
- Graph.Edge
-
GetEdgeGroup(from, to) → {Array.<Graph.Edge>}
-
Gets the Edge Group associated with the from and to verticies
Parameters:
Name Type Description from
string | number | Graph.Vertex From vertex identifier to
string | number | Graph.Vertex To vertex identifier - Source:
Returns:
The edge group associated with the verticies- Type
- Array.<Graph.Edge>
-
GetEdges(to, filterFunc) → {Array.<Graph.Edge>}
-
Gets the out edges of the given vertex
Parameters:
Name Type Argument Description to
string | number | Graph.Vertex To vertex identifier filterFunc
filterFunc <optional>
- Source:
Returns:
Edges out of the givent vertex- Type
- Array.<Graph.Edge>
-
GetPath(from, to, selectorFunc) → {Array.<Graph.Edge>}
-
Get the path between 2 verticies
Parameters:
Name Type Argument Description from
string | number | Graph.Vertex From Vertex identifier to
string | number | Graph.Vertex To Vertex identifier selectorFunc
selectorFunc <optional>
- Source:
Returns:
The edges in sorted order of path transitions- Type
- Array.<Graph.Edge>
-
GetVertex(vert) → {Graph.Vertex}
-
Get a vertex based on one of its keys
Parameters:
Name Type Description vert
string | number | Graph.Vertex One of the keys to fetch the vertex by. - Source:
Returns:
The vertex with the unique key.- Type
- Graph.Vertex
-
HasCycle(selectorFunc) → {boolean|Array.<Graph.Vertex>}
-
Checks whether the graph contains a cycle
Parameters:
Name Type Argument Description selectorFunc
selectorFunc <optional>
Selector Function - Source:
Returns:
Returns false if no cycle exists else will return an array of verticies in order of an existing cycle- Type
- boolean | Array.<Graph.Vertex>
-
IsAdjacent(from, to, selectorFunc) → {boolean}
-
Whether 2 verticies are adjacent to each other
Parameters:
Name Type Argument Description from
string | number | Graph.Vertex From vertex identifier to
string | number | Graph.Vertex To vertex identifier selectorFunc
selectorFunc <optional>
- Source:
Returns:
- Type
- boolean
-
RemoveEdgeGroup(edgeIdx)
-
Delete EdgeGroup on the Graph
Parameters:
Name Type Description edgeIdx
number Delete Edge Group by edge Idx -
RemoveVertex(vert)
-
Remove Vertex from the Graph
Parameters:
Name Type Description vert
string | number | Graph.Vertex The vertex identifier -
SubGraph(allowedVerts, deniedVerts) → {Graph}
-
Gets a sub graph
Parameters:
Name Type Description allowedVerts
Array.<(string|number|Graph.Vertex)> Verticies allowed to be in the Sub Graph deniedVerts
Array.<(string|number|Graph.Vertex)> Verticies not allowed to be in the Sub Graph - Source:
Returns:
Shallowly Cloned Sub Graph of this graph- Type
- Graph
-
TopologicalGrouping(selectorFunc) → {Array.<Array.<Graph.Vertex>>}
-
Topological Sort of the verticies in the graph but grouped by indegree.
Parameters:
Name Type Argument Description selectorFunc
selectorFunc <optional>
Edge SelectorFunction - Source:
Returns:
Array containing arrays of the Graph verticies in a topologically sorted order grouped by indegree- Type
- Array.<Array.<Graph.Vertex>>
-
TopologicalSort(selectorFunc) → {Array.<Graph.Vertex>}
-
Topological Sort of the verticies in the graph
Parameters:
Name Type Argument Description selectorFunc
selectorFunc <optional>
Edge SelectorFunction - Source:
Returns:
Array containing the Graph verticies in a topologically sorted order- Type
- Array.<Graph.Vertex>


Welcome to the Stock Trading simulator!
With our application you can easily start your stock trading career. Get an initial $10,000 cash, review real-time charts and stock prices, buy and sell whatever you want, and get your profit and loss instantly calculated!
| Symbol | Amount | Current price | Current value |
|---|


{{ define "banner-h2" }}Little Foot Sandals{{ end }} {{ define "banner-img" }}{{ call .URL "/img/banners/home.jpg" }}{{ end }} {{ define "banner-img-mobile" }}{{ call .URL "/img/banners/home-mobile.jpg" }}{{ end }} {{ define "banner-class" }}text-white{{ end }} {{ define "banner" }} {{ template "banner-tmpl" . }} {{ end }} {{ block "content" . }}
Little Foot Sandals are minimalist sandals made from paracord laces and sole rubber. The lace color is yours to choose, and the soles are cut to your footprint exactly. They are fully adjustable, durable, waterproof, and are well suited for hiking and even long distance running. 100% of the profit goes to Mei/Co. and its dancers.
Price is $40 per pair. (plus shipping if needed)
To order a pair of Little Foot Sandals, trace your footprint as shown in the video below and send it to us in the mail. Please include the color you would like for the laces. Brown and white are the two most popular, but all the options can be found here.
Matthew Belisle
3516 Falston Grn
Bryan, TX 77808
Once we recieve your footprint, it will take a week or two to make your sandals and then you can come to our place and we'll do the final adjustments to fit your foot exactly. You can pay in cash at pickup time.


{% include "includes/header.html" %} {% block content %}{% endblock %} {% include "includes/footer.html" %}


TDP 1.375This document contains proofs for results presented on the paper "A new 1.375-approximation algorithm for Sorting By Transpositions" by L. A. G. Silva, L. A. B. Kowada, N. R. Rocco and M. E. M. T. Walter.DownloadThe whole document containing all generated HTML files can be downloaded using this link.StructureThe structure of the proofs of lemmas 1, 2 and 3 is explained here.Main resultsLemma 31: If it is possible to build a sufficient configuration $\Gamma$ of $\spi$ such that $\Gamma$ is big, then $\Gamma$ allows an $\frac{11}{8}$-sequence.Lemma 32: The bad small components are:
Lemma 33: If there is a configuration $\Lambda$ of $\spi$ consisting only of bad small components such that $\norm{\Lambda}_3 \geq 8$, then $\Lambda$ allows a $\frac{11}{8}$-sequence.In order to demonstrate this result, we also employ an approach similar to a DFS search, in which, starting from the bad small component listed above, we extend the configurations by adding another bad small component in a different position of $\epi$, until $\frac{11}{8}$-sequences are found. We note that by this approach no combination of bad small components with $3$-norm greater than 7 was extended. Below, the result of the search:
Auxiliary resultsProposition 16: The permutation $\spi$ is an even permutation.Proposition 25: If there is an oriented $3$-cycle $\gamma=(a\;b\;c)$ in $\spi$, then a $2$-move exists.Proof. In this case, $(a\;b\;c)$ is a $2$-move.Proposition 26: If there is an odd (even-length) cycle in $\spi$, then a $2$-move exists.Proof. Since $\spi$ is an even permutation (Proposition 14), then there is an even number of odd cycles in $\spi$. Let $\gamma=(a\;b\dots)$ and $\delta=(c\;d\dots)$ be two odd cycles of $\spi$. We have two cases:(1) $\gamma$ and $\delta$ intersect. In this case, we have that $\epi^{-1}=(a\dots d\dots b\dots c\dots)$. Then $(a\;b\;c)$ is a $2$-move. (2) $\gamma$ and $\delta$ do not intersect. W.l.o.g, suppose $\epi^{-1}=(a\dots b\dots c\dots d\dots)$. In this case, $(a\;c\;b)$ is a $2$-move. Note that $\epi^{-1}=(a\dots c\dots d\dots b\dots)$ is not a distinct case, being equivalent to a cyclic rotation of $(a\dots b\dots c\dots d\dots)$ with the symbols $a$ and $b$ chosen differently. Lemma 27: If there is a $5$-cycle $\gamma=(a\;d\;b\;e\;c)$ in $\spi$ such that $(a,b,c)$ is an oriented triplet, then there is a $2$-move or a $(3,2)$-sequence.Proof. The possible forms of $\epi$ relatively to the positions of the symbols of $Supp(\gamma)$ are listed below. For each one, there is either a $2$-move or a $(3,2)$-sequence.(1) $\epi=(a\dots b\dots c\dots d\dots e\dots)$. $\tau_1=(a\;b\;c)$, $\tau_2=(b\;c\;d)$, $\tau_3=(c\;d\;e)$. (2) $\epi=(a\dots b\dots c\dots e\dots d\dots)$. $\tau_1=(b\;e\;d)$. (3) $\epi=(a\dots b\dots e\dots c\dots d\dots)$. $\tau_1=(a\;e\;c)$. (4) $\epi=(a\dots e\dots b\dots d\dots c\dots)$. $\tau_1=(a\;d\;c)$. (5) $\epi=(a\dots b\dots e\dots d\dots c\dots)$. $\tau_1=(a\;d\;c)$. (6) $\epi=(a\dots d\dots b\dots e\dots c\dots)$. $\tau_1=(a\;d\;b)$. Lemma 28: If there is an even (odd-length) $\kappa$-cycle $\gamma=(a\dots b\dots c\dots)$ in $\spi$ such that $\kappa\geq 7$ and $(a,b,c)$ is an oriented triplet, then there is either a $2$-move or $(4,3)$-sequence.Proof. If $(a\;b\;c)$ is a $2$-move, then the lemma holds. There is only one case where $(a\;b\;c)$ would not be a $2$-move. W.l.o.g, suppose that this case is \[ \gamma=(\underbrace{d\;e\dots b}_{odd}\;|\;\underbrace{f\dots c}_{even}\;|\;\underbrace{g\dots a}_{even}\;|). \] Vertical bars are used to indicate the locations where $\gamma$ would be broken if $(a\;b\;c)$ were applied on $\epi$, and subscripts to indicate the parity of the length of the resulting cycles. Note that the cycle $\gamma$ can be rewritten as the product \[ \gamma=(\underbrace{a\dots}_{odd})(\underbrace{b\dots}_{odd})(\underbrace{c\dots}_{odd})(a\;d\;e\;b\;f\;c\;g). \] There is only one form of $\epi$ relatively to the symbols of the support of $(a\;d\;e\;b\;f\;c\;g)$ not allowing the application of a $2$-move. It is $\epi=(a\dots e\dots f\dots g\dots d\dots b\dots$ $ c\dots)$. For this $\epi$, $\tau_1=(a\;e\;f)$, $\tau_2=(d\;e\;f)$, $\tau_3=(b\;f\;d)$, $\tau_4=(a\;c\;g)$ is $(4,3)$-sequence of transpositions.Lemma 29: If $\spi\neq\iota$, then a $2$-move or $(3,2)$-sequence exists.Proof. If there is an odd (even-length) cycle in $\spi$, then by Proposition 24, a $2$-move (i.e., a $(1,1)$-sequence) exists. Thus, we assume $\spi$ containing only even (odd-length) cycles.(1) There is an oriented $\kappa$-cycle $\gamma$ in $\spi$. If $\kappa=3$, then Proposition 23 gives a $2$-move and the lemma holds. If $\kappa=5$, then Lemma 25 gives a $2$-move or $\gamma$ is the bad oriented $5$-cycle. In this case, there is a $(3,2)$-sequence. On the other hand, if $\kappa \geq 7$, then a $2$-move or a $(4,3)$-sequence, which contains a $(3,2)$-sequence, is given by Lemma 26. Proposition 40: If $\Gamma$ is a component of $\spi$, then the product $\Gamma\epi$ is a $(n+1)$-cycle.Proof. Suppose that $\spi=\Sigma\Gamma$. We have two cases:(1) $\Sigma=\iota$. Then $\Gamma=\spi$ and $\spi\epi=\sigma$. As $\sigma$ is a $(n+1)$-cycle, the proposition holds. (2) $\Sigma\neq\iota$ and $Supp(\Gamma)\cap Supp(\Sigma)=\emptyset$. As the cycles of $\Gamma$ do not intersect or interleave any cycle of $\Sigma$, then w.l.o.g assume $\epi=(\gamma_1\;\gamma_2\dots\gamma_r\;a\dots)$ and $Supp(\Gamma)=\{\gamma_1,\gamma_2,\dots,\gamma_r\}$, where $a \in Supp(\Sigma)$. Suppose, by contradiction, that $\Gamma\epi$ is not a $(n+1)$-cycle. In this case, $\Gamma\epi$ is a product of disjoint cycles containing a cycle $(\gamma_r\;a\dots)$ and this is the only cycle of $\Gamma\epi$ containing symbols of $Supp(\Sigma)$. However, this implies that $\Sigma\Gamma\epi=\spi\epi=\sigma$ is not a $(n+1)$-cycle, which is impossible. |


--- layout: post title: Please welcome the JAVA Client for ADO.NET Data Services date: 2009-09-28 23:49:00.000000000 -04:00 type: post published: true status: publish categories: [] tags: - Astoria - Do - Documentation meta: _encloseme: '1' orig_url: http://blogs.msdn.microsoft.com/b/phaniraj/archive/2009/09/29/please-welcome-the-java-client-for-ado-net-data-services.aspx orig_site_id: '7524' orig_post_id: '9900583' orig_parent_id: '9900583' orig_thread_id: '678455' _wds_ratings_users: '0' orig_application_key: phaniraj orig_post_author_id: '56365' orig_post_author_username: PhaniRajuYN orig_post_author_created: Nov 10 2006 05:47:39:000PM orig_is_approved: '1' orig_attachment_count: '0' orig_url_title: http://blogs.msdn.com/b/phaniraj/archive/2009/09/28/please-welcome-the-java-client-for-ado-net-data-services.aspx opengraph_tags: | author: login: phanirajuyn email<EMAIL_ADDRESS>display_name: Phani Raju MSFT first_name: '' last_name: '' ---
The new Java client joins a growing family of clients for ADO.NET Data Services, which include:
Ajax , Silverlight , .Net FX ,Dynamic Data, PHP .
Here’s some documentation about the Java client http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/287-restlet.html.


--- layout: default image: /img/cm-og-image.png ---
ContextMapper is an open source project providing a Domain-specific Language (DSL) based on Domain-driven Design (DDD) patterns for context mapping and service decomposition. The framework components around the language support to reverse engineer Context Maps, analyze the models with respect to coupling criteria, improve the architecture iteratively, and generate other representations out of the DDD Context Maps.
Context Mapper provides a DSL to create Context Maps based on strategic Domain-driven Design (DDD). DDD with its Bounded Contexts offers an approach for decomposing a domain or system into multiple independently deployable (micro-)services. With our Architectural Refactorings (ARs) we provide transformation tools to refactor and decompose a system in an iterative way. With the Service Cutter integration you can generate suggestions for new Context Maps exhibiting services and Bounded Contexts with improved coupling. With the generators you are able to derive other representations of the architectural model, such as PlantUML diagrams or MDSL (micro-)service contracts. The reverse engineering library supports you in generating Context Maps of existing systems.
CML is an easy to understand, Xtext-based, DSL for DDD context mapping. The language supports modeling the relationships between Bounded Contexts with the strategic DDD patterns. The details of the Bounded Contexts with its Aggregates can be specified with the tactic DDD patterns. Checkout our docs and examples for an introduction into our language.
Decompose your systems architecture by applying Architectural Refactorings (ARs) iteratively. By splitting and merging Bounded Contexts or Aggregates, the coupling between your Bounded Contexts and the cohesion between them can be improved. The Service Cutter tool can support the process by suggesting improved decompositions based on its coupling criteria catalog.
Use your Context Map to generate other representations of the architecture, such as PlantUML component and class diagrams. The MDSL (micro-)service contracts generator can provide assistance regarding how your system can be implemented in an (micro-)service-oriented architecture. Our reverse engineering library can further generate CML Context Maps from existing source code.


GM Week 2017
Unofficial polling
Tutorial
Live Results
GM
PU
UP
Class of 2018
President
Vice President
Senator
Representative
Class of 2019
President
Vice President
Senator
Representative
Class of 2020
President
Vice President
Senator
Representative
Alumni
President
Vice President
Secretary
Treasurer
Others
Independent Senator
Greek Senator
Graduate Senator
Graduate Representative
{% if request.user.is_authenticated %}
{% csrf_token %}
{% endif %}


Resume
As a project scientist and lead in applied subsurface geoscience, I’m in charge of project and proposal worflow as well as personnel coordination. I also carry out project work including coordination and execution of field work, data management, analysis and reporting. My career has focused on the application of geophysical technology for exploration of energy resources.
- Ph.D. in Geology (2015) University of Aberdeen, United Kingdom.
- M.Sc. in Applied Geophysics (2009) TU Delft & ETH Zurich & RWTH Aachen.
- B.Sc. in Geophysical Engineering (2003) UNAM, Mexico.
Education
Peer-reviewed Publications
- Vargas-Meleza, L., Healy, D. and Alsop, I., Timms, N.E., 2015, Exploring the relative contribution of mineralogy and CPO to the seismic velocity anisotropy of evaporites: Journal of Structural Geology, vol. 70, pp. 39-55.
- Vargas-Meleza, L. and Valle-Molina, C., 2012, Advances and Applications of Rock Physics for Hydrocarbon Exploration: Ingeniería Investigación y Tecnología, vol. XIII no. 4, pp. 439-450.
Conferences
- Vargas-Meleza, L., Espinoza-Carrasco, E., and Chávez-Pérez, S., 2016, Implications of seismic attribute computations from depth-migrated data: AAPG/SEG International Conference & Exhibition, Cancun, MX.
- Vargas-Meleza, L. and Healy, D., 2013, Laboratory measurements of seismic velocity anisotropy of salt diapirs - Implications for wellbore stability and seismic processing: Geophysical Research Abstracts, vol. 15, EGU General Assembly, Vienna, Austria.
- Vargas-Meleza, L. and Farrell, N., 2013, Laboratory-based characterisation of field samples: Implications for geomechanics. Petroleum Exploration Society of Great Britain (PESGB), Aberdeen Evening Lecture, UK.
- Vargas-Meleza, L., Healy, D. and Alsop, I., 2012, Forward seismic modeling of outcrop models to image drag zones adjacent to salt diapirs: SEG Expanded Abstracts, International Exposition and 82nd Annual Meeting, Las Vegas, NV, USA.
- Chávez-Pérez, S. and Vargas-Meleza, L., 2008, Enhanced imaging workflow of seismic data from Chicontepec basin Mexico: The Leading Edge, vol. 27 no. 3, pp. 352-359.
- Chávez-Pérez, S. and Vargas-Meleza, L., 2007, Enhanced imaging workflow of seismic data from Chicontepec basin, Mexico: SEG Expanded Abstracts, International Exposition and 77th Annual Meeting, San Antonio, TX, USA.
- Vargas-Meleza, L. and Megchun-Rivera, J.L., 2004, Petrophysical property estimation by integrating AVO, seismic inversion and multi-attribute analysis in a 3D volume of Playuela, Veracruz, Expanded Abstracts, AAPG International Conference, Cancun, Mexico.
Professional Activities & Service
- Board Secretary of the Mexican Talent Network in the Netherlands, Science & Technology Group, 2021 -- Ongoing
- Translator English-Spanish in the Translation Project of Robert Sheriff's Encyclopedic Dictionary, 2017 -- Present
- Member of the Society of Exploration Geophysicists (SEG), 2007 -- Present
- Member of the European Association of Geoscientists and Engineers (EAGE), 2011 -- Present


DH_INSTALLDEBCONF(1) Debhelper DH_INSTALLDEBCONF(1) NAME dh_installdebconf - install files used by debconf in package build directories SYNOPSIS dh_installdebconf [debhelperÂ options] [-n] [--Â params] DESCRIPTION dh_installdebconf is a debhelper program that is responsible for installing files used by debconf into package build directories. It also automatically generates the postrm commands needed to interface with debconf. The commands are added to the maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how that works. Note that if you use debconf, your package probably needs to depend on it (it will be added to ${misc:Depends} by this program). Note that for your config script to be called by dpkg, your postinst needs to source debconf's confmodule. dh_installdebconf does not install this statement into the postinst automatically as it is too hard to do it right. FILES debian/package.config This is the debconf config script, and is installed into the DEBIAN directory in the package build directory. Inside the script, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands. debian/package.templates This is the debconf templates file, and is installed into the DEBIAN directory in the package build directory. debian/po/ If this directory is present, this program will automatically use po2debconf(1) to generate merged templates files that include the translations from there. For this to work, your package should build-depend on po-debconf. OPTIONS -n, --noscripts Do not modify postrm script. -- params Pass the params to po2debconf. SEE ALSO debhelper(7) This program is a part of debhelper. AUTHOR Joey Hess<EMAIL_ADDRESS>9.20120909 2011-12-27 DH_INSTALLDEBCONF(1)


Source code for etg.simulation.energy
"""
This module contains all the code for keeping track of the different energy types.
"""
from ..util.math import mean
from .entity import Entity
[docs]class EnergyType(Entity):
"""
This class represents a specific energy type, that is read in from a yaml file.
"""
# pylint: disable=too-few-public-methods, too-many-instance-attributes
def __init__(self, simulation, name, color, greenness, safety, initial_output, initial_price,
tiers_unlocks, market_price, failure_weather, reliability):
# pylint: disable=too-many-arguments
super().__init__(simulation)
self.name = name
self.color = color
self.greenness = greenness
self.safety = safety
self.initial_output = initial_output
self.initial_price = initial_price
self.tier_costs = tiers_unlocks
self.market_price = market_price
self.failing = False
self.failure_weather = failure_weather
if isinstance(reliability, dict):
rel = {}
for season in self.simulation.seasons:
rel[season.name] = reliability[season.name]
self.reliability = rel
else:
rel = {}
for season in self.simulation.seasons:
rel[season.name] = reliability
self.reliability = rel
@property
def raw_price(self):
"""
The average price for this energy type.
"""
try:
return mean(company.producers[self.name].output * company.price /
sum(producer.output for _, producer in company.producers.items())
for company in self.simulation.companies)
except AttributeError:
return 0
except ZeroDivisionError:
return 0
@property
def price(self):
"""
The average price for this energy type including taxes.
"""
try:
return self.raw_price * (100 + self.simulation.active_party.taxes[self.name])/100
except AttributeError:
return 0
@property
def max_tier(self):
"""
The maximum upgradeable tier for this energy type.
"""
return len(self.tier_costs)
@property
def total_output(self):
"The total amount of kWh that is produced and bought for this energy type"
return sum(company.producers[self.name].output + company.market[self.name]
for company in self.simulation.companies)
@property
def percentage_use(self):
"How large the percentage of the use of this type of energy is"
total_production = sum(etype.total_output for etype in self.simulation.energy_types)
if total_production == 0:
return 0
else:
return self.total_output/total_production * 100
[docs]class Producer:
"""
This class represents an energy producer in the game. It is used by the companies to keep track
of their energy production.
"""
# pylint: disable=too-few-public-methods,too-many-instance-attributes
def __init__(self, energy_type):
"""
:param energy_type: The energy type that this is a producer for.
"""
self.tier = 0
self.type = energy_type
self.full_output = 0
self.next_output = energy_type.initial_output
self.price = 0
self.sell_price = 0
self.next_price = energy_type.initial_price
self.upgrade_price = self.type.tier_costs[self.tier]
self.color = energy_type.color
self.production_level = 100
@property
def output(self):
"The output for this producer in this tick"
if self.type.failing:
return 0
else:
return self.production_level/100 * self.full_output
@property
def max_tier(self):
"""
The max tier for this producer.
"""
return self.type.max_tier
[docs] def upgrade(self):
"""
Upgrade the energy producer by one tier.
"""
self.tier += 1
self.full_output = self.next_output
self.price = self.next_price
if self.tier == self.type.max_tier:
self.upgrade_price = None
else:
self.upgrade_price = self.type.tier_costs[self.tier]
self.next_output += self.next_output / self.tier
self.next_price /= 0.95


| DOSE: |
15 g |
oral |
Nutmeg |
(ground / crushed) |
I take anywhere from 10-20 grams (10-14g for first time) of ground nutmeg and pour it into a cup with approximately the same amount of sugar (The sugar is only to mask the HORRIBLE taste of large amounts of nutmeg). Mix well, then pour in about 5-8 oz. of water and stir for 10-30 seconds, making sure there are no chunks of powder stuck together. Drink it (Be ready for a bad flavor, just know that it's nothing compared to just nutmeg and water). There will probably still be some of the bigger grains of nutmeg left at the bottom of the cup, make sure to put water back in and drink those too. Usually within 4-6 hours, the symptoms should start working. They last anywhere from 8-24 hours, and the only thing that I know that makes a difference is the last meal I ate, depending on how much and how long ago I ate. I usually drink it between 12-1 am, so that when I wake up, Iím already high and will be for usually the day.
For me and the four people I know who have tried it, the symptoms were nearly identical. A lot of them are about the same for me as smoking one, high quality, tightly packed bowl. Increased senses, munchies, confusion, increased sex drive and heightened orgasms, memory loss, red eyes, dry mouth, laughing, impaired motor skills, and probably some other ones I don't remember (most days that I have done nutmeg itís quite difficult to remember details the next day). My friends and I become even more social than we usually are, but are usually very honest (we say exactly what comes to mind usually a.k.a. *lowered inhabitations* and have a hard time thinking before acting/talking).
The four biggest downsides that I know of are actually very small compared to most other drugs.
1) Sickness
2) Dependability
3) Time from ingestion to when effects start.
4) Taste.
1) My friend felt like he was on the verge of throwing up all day long, but never puked. Along with that, he had bad gas pain. I had bad gas pain too, but this has happened only once to me in the 25 or more times I have done it, and only twice in a group of 5 people who have done it around 75 times total, so its not too bad.
2) I don't know what it is, maybe itís because we ate before we took it or something, but every once in a while we never get the effects.
3) Itís usually within 4-6 hours from when you drink it to when you start feeling high.
4) Before I decided to mix in sugar, a friend and I tried it without sugar the first couple times, and it tasted so bad that he actually threw up because the taste was so bad.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Rails Best Practices
Quote from Gary’s weekly code review post, thanks to Gary Zhang.
all advises on Ruby on Rails code:* Lesson 1. Move code from Controller to Model 1. Move finder to named_scope 2. Use model association 3. Use scope access 4. Add model virtual attribute 5. Use model callback 6. Replace Complex Creation with Factory Method 7. Move Model Logic into the Model 8. model.collection_model_ids (many-to-many) 9. Nested Model Forms (one-to-one) 10. Nested Model Forms (one-to-many) * Lesson 2. RESTful Conventions 1. Overuse route customizations 2. Needless deep nesting 3. Not use default route * Lesson 3. Model 1. Keep Finders on Their Own Model 2. Love named_scope # same as Move finder to named_scope 3. the Law of Demeter 4. DRY: metaprogramming 5. Extract into Module 6. Extract to composed class 7. Use Observer * Lesson 4. Migration 1. Isolating Seed Data 2. Always add DB index * Lesson 5. Controller 1. Use before_filter 2. DRY Controller * Lesson 6. View 1. Move code into controller 2. Move code into model 3. Move code into helper 4. Replace instance variable with local variable 5. Use Form Builder 6. Organize Helper files
I think all these advises are very useful for our farther refactor on our system.
There is a very cool gem to check code according these advises(Sources : Rails Best Practices)
install: sudo gem install railsbestpractices –source http://gemcutter.org
usage: in rails rails app, run “railsbestpractices .” (don’t forget the parameter: “.”)
Not try this tool yet, but it looks really handy.


Appointment of National Human Rights Commission chiefs.
In news:
The Home Ministry has moved the Cabinet to amend the recruitment process of the National Human
Rights Commission (NHRC).
Key Changes:
Retired Supreme Court judge could also be considered for the Chairperson’s position, currently
reserved for former Chief Justices of the Supreme Court.
Similarly an amendment for appointment of members is also being considered. The members could be
picked from a pool of retired Chief Justices of High Courts. Currently, a serving or retired SC
judge is considered.
The State Human Rights Commissions are also expected to see a change in the appointment
procedure. Retired High Court judges could also be considered for the post of State Human Rights
Commission chairperson, which is currently held by retired Chief Justices of High Courts.
Key Fact:
The NHRC was constituted under the Protection of Human Rights Act in 1993. The
Act was last amended in 2006.
The Commission consists of a chairperson, one member who is or has been a Judge of the Supreme
Court, one member who is or has been the Chief Justice of a High Court and two members to be
appointed from among persons having knowledge of, or practical experience in, matters relating
to human rights.
The chairperson and members are appointed by the President on recommendations from a six-member
committee chaired by the Prime Minister.
What next?
Once the Cabinet approves them, an amendment to the Protection of Human Rights Act would have to
be ratified by Parliament.
All political parties need to be brought on board before such an exercise is carried out.
Simultaneous elections will give enough time for incumbent government to formulate policies and
implement programmes continuously for a longer time without interruptions caused by imposition
of model code of conduct.
Conducting the polls together would be possible only when necessary changes in the Constitution
and Representation of the People Act are carried out.
Situation at present:
Existing legal and constitutional provisions mandates that elections are to be held within six
months ahead of the end of the term of a State Assembly or the Lok Sabha.
Requirements to hold simultaneous polls:
Requirement of 24 lakh each Electronic Voting Machines (EVMs) and Voter Verifiable Paper Audit
Trail (VVPAT) Machines.
Two sets of EVMs — one for Lok Sabha and another for the Assembly polls.
The Niti Aayog’s “Three Year Action Agenda, 2017-18 to 2019-20” report:
The Niti Aayog has also favoured conducting synchronised two-phase Lok Sabha and Assembly
elections from 2024 in “national interest”.
All elections in India should happen in a free, fair and synchronised manner to ensure minimum
“campaign mode” disruption to governance.
U.S. Secretary of State Rex Tillerson is expected to visit India “later in October”.
Key Points:
Tillerson will become the fourth senior U.S. official to visit New Delhi after the Trump
Administration took over.
Tillerson is expected to travel to both India and Pakistan on the same visit, indicating a sharp
shift from precedent.
Previously: During the Bush and Obama administrations, U.S. officials had
avoided clubbing visits to New Delhi and Islamabad because of India’s sensitivities over a
“hyphenation” of the U.S.’s relations with India and Pakistan.
New Afghan policy:
The U.S. Secretary of State’s visit to India is likely to highlight growing ties between New
Delhi and Washington, and growing cooperation between them on Afghanistan.
Obstacles in the trade pact between India and the EU.
Change in global dynamics:
Brexit
Elections in Germany and France
Visible rifts between eastern and western countries on what constitute core EU values
Election in the US and consequent retreat of the US from its leadership of the west
Key Points:
The reference to India and EU as “world’s largest democracies”- Such a
statement is generally made with reference to sovereign countries. Interestingly, EU per se is
not a sovereign country but a group of sovereign countries. Such a mention is more notable this
time in light of the U.S.’s uncertain position on the international stage and EU’s need for a
stronger union post Brexit.
The countries have reiterated their commitment for a “Rules based” and “Multipolar”
world–
Rules based world: This term assumes significance on the backdrop of the US
going back on its promises on Paris climate agreement and the probability of the same on the
Iran Nuclear deal
Multipolar world: The reference to multipolarity is a recognition that there is
more than just one chair at the top table, not just with the U.S.’s shifting position but also
due to Russia and China’s ascent.
The India-EU joint statement on terrorism this year called for “decisive and concerted actions”
against Hafiz Saeed, Dawood Ibrahim, Lashkar-e-Taiba and other purveyors of terror; this will
further bolster India’s efforts to call out Pakistan on the issue of sponsoring terror.
Roadblocks in talks on BTIA:
Recent summits have been conspicuous by the absence of talks on the BTIA (Broad-based Trade and
Investment Agreement). There is disagreement on whether the protection of foreign investments
will be part of the BTIA or dealt with in a stand-alone treaty
Indian demand for liberalising the access to natural persons- India wanting a greater ease of
movement of temporary skilled workers to provide services in the EU and the EU wanting greater
market access for its automobiles and its wines and spirits. Wanting an open market for
automobiles and liquor but unduly restricting the movement of natural persons (with barriers in
terms of salary thresholds, recognition of qualifications, visa fees, social security and so
forth) seems to be a case of double standards.
EU not granting “data secure” certification to India – a condition that facilitates the
cross-border transfer of personal data. India does not have a stand-alone law on data privacy
and this could be acting as a barrier too as EU is very seriously taking steps to secure digital
data privacy of its citizens.
Way forward:
Convergence of values and interests:
EU is India’s largest trade partner (over 100 billion Euros in bilateral trade of goods and
services last year). EU, like India, is also wary of China’s political and economic dominance.
Uncertainty over EU’s future in the next decade: With Brexit and other important developments,
there is no clarity about what presence will EU have in the next decade. Hence, cementing trade
ties with India will help strengthen EU’s economic future.
“Data secure” certification: India needs to enact a strong Data Privacy Law which protects the
digital data privacy of its citizens. This is necessary to protect the economic interests of the
Indian IT industry.
India is right to strike a hard bargain as far as the temporary movement of skilled workers is
concerned. The EU and other developed countries have been historically reluctant about moving
forward on this and the issue has become more challenging with the rise of populism and
protectionism in Europe.
The State government has decided to increase the ex-gratia compensation for human deaths
caused by wild animals to Rs. 4 lakh from the existing Rs. 3 lakh
‘Ex gratia’ means ‘done from a sense of moral obligation rather than because of any legal
requirement’
Reason: Because the man-animal conflict is on rise in Odisha
Key Points:
According to the State Forest and Environment Department, increasing biotic and
anthropogenic pressure on forests are affecting the biodiversity and the habitat as a whole
As a result animals stray out of the forest towards human habitation in search of food,
water or use these areas as routes to access other wilderness area to meet their ends
Gujarat’s agri-GDP registered an unprecedented growth of 8 per cent per annum during 2002-03
to 2013-14, way more than the all-India figure of 3.3 per cent per annum
Gujarat’s agri-growth was even higher than that achieved by Punjab during the Green
Revolution’s
Expectations from the Gujarat model
When Modi became the prime minister in May 2014, one was expecting that the “Gujarat model”
would be extended to many states, with the fine-tuning to suit each state’s requirements
But the growth of all-India agri-GDP in the first three years of NDA rule has come down to
1.8 per cent
Is deficient rain the reason behind this situation?
Deficient rain in 2014-15 and 2015-16 is of course one factor behind this poor performance
But there were bumper harvests in 2016-17, yet farmers suffered due to a collapse in
agri-prices
The advance estimates of 2017-18 do not indicate much recovery
Reasons behind Gujarat’s excellent agri-performance during 2003 to 2014
First
The Atal Bihari Vajpayee government’s bold decision to allow the commercial use of Bt cotton
became a catalyst for change, from which Gujarat benefited the most
From nowhere in 2002, Bt cotton spread to more than 90 per cent of the area under cotton in
Gujarat by 2014
Second
China is taking over Syngenta for $43 billion to access the best technologies for its
farmers
While the Centre is creating conditions that may force companies like Monsanto to quit
This government is literally reversing the benefits that the Atal Bihari Vajpayee government
bestowed to farmers
Third
Gujarat government at that time provided basic infrastructure to farmers — irrigation, power
and roads enabled the easy adoption of Bt cotton, and benefited other crops and the
livestock sector as well
Currently, Gujarat has one of the best road-network in the country, of which 89 per cent are
pucca/surfaced roads
Fourth
Good marketing institutions propelled Gujarat agriculture, especially its dairy industry
The AMUL model of directly buying milk from farmers’ cooperatives and processing and
distributing it through millions of outlets ensures that farmers receive 75-80 per cent of
the consumers’ price
This model is worth extending to other commodities, especially fruits and vegetables,
bypassing the mandi system
The way forward
Enable farmers to access best technologies and best markets at home or abroad
Invest in basic infrastructure that can give access to water for irrigation, power and rural
roads
Create AMUL type institutions for other commodities to enable farmers to access high share
of consumers’ price
Export bans or high minimum export prices for agri-products are anti-farmer
Nothing here for Today!!!
Nothing here for Today!!!
F. Practice Questions for UPSC Prelims Exam
Question 1. Strait of Dover is often seen in news, where is it located?
Between Continent Europe and Britain
Between Gibraltar and Morocco
Between Russia and Sakhalin Island
None of the above
See
Answer
(a)
Topic: Geography Level: Moderate
Explanation
The Strait of Dover or Dover Strait, historically known as the Dover Narrows is the
strait at the narrowest part of the English Channel, marking the boundary between the
Channel and North Sea, separating Great Britain from continental Europe.
Question 2. Which among the following country has signed but not ratified The
World Health Organization Framework Convention on Tobacco Control?
U.S.
U.K.
India
Pakistan
See
Answer
(a)
Topic: Current Affairs Level: Moderate
Explanation
Seven countries that have signed but not yet ratified The World Health
Organization Framework Convention on Tobacco Control -Argentina, Cuba, Haiti,
Morocco, Mozambique, Switzerland, and the United States.
Question 3. The Rail Development Authority will be responsible for
Setting efficiency and performance standards for rail operations.
Suggesting on passenger and freight fares.
Ensuring fair play and level playing field for stakeholder investment.
Select the correct answer using the code given below:
1 and 2
1 and 3
Only 2
All are correct
See
Answer
(d)
Topic: Current Affairs Level: Moderate
Explanation
The regulator will perform four primary functions—
Tariff determination
Ensuring fair play and level playing field for stakeholder investment;
Setting efficiency and performance standards; and
Dissemination of information.
Question 4. Consider the following statement with reference to Phytorid waste
water treatment technology:
It involves a constructed wetland exclusively designed for the treatment of
municipal, urban, agricultural and industrial wastewater.
Technology developed by National Environmental Engineering Research Institute.
Select the correct answer using the code given below:
1 only
2 only
Both 1 and 2
None of the above
See
Answer
(c)
Topic: Environmental Science Level: Moderate
Explanation
Phytorid Wastewater Treatment Technology
CSIR-NEERI’s technology involves a constructed wetland exclusively designed for the
treatment of municipal, urban, agricultural and industrial wastewater
The system is based on the specific plants, such as Elephant grass
(Pennisetumpurpurem), Cattails (Typha sp.), Reeds (Phragmitessp.), Cannas pp. and
Yellow flag iris (Iris pseudocorus), normally found in natural wetlands with
filtration and treatment capability. Some ornamental as well as flowering plants
species such as Golden Dhuranda, Bamboo, Nerium, Colosia, etc. can also be used for
treatment as well as landscaping purposes
The phytorid technology treatment is a subsurface flow type in which wastewater is
applied to cell / system filled with porous media such as crushed bricks, gravel and
stones. The hydraulics is maintained in such a manner that wastewater does not rise
to the surface retaining a free board at the top of the filled media
The system consists of the following three zones: (i) inlet zone comprising of
crushed bricks and different sizes of stones, (ii) treatment zone consisting of the
same media as in inlet zone with plant species, and (iii) outlet zone
The treated effluent is useful for municipal gardens, fountains and irrigation.
Question 5. Which of the following launched India Innovation Index?
NITI Aayog
Department of Industrial Policy & Promotion (DIPP)
Confederation of Indian Industry (CII)
All of the above
See
Answer
(d)
Topic: Economy Level: Moderate Type: Factual
Explanation
States will be ranked on innovations from 2017
NITI Aayog, Department of Industrial Policy & Promotion (DIPP) and Confederation
of Indian Industry (CII) together launched a mega initiative “India Innovation
Index”.
It will rank states on Innovations through country’s first online innovation index
portal that will capture data on innovation from all Indian states on innovation and
regularly update it in real time.
The India Innovation Index Framework will be structured based on the best practices
followed in Global Innovation Index (GII) indicators and additionally by adding
India-centric parameters those truly reflect the Indian innovation ecosystem.
The Global Innovation Index (GII)
The Global Innovation Index (GII), co-published by World-Intellectual Property
Organization (WIPO), Cornell University and INSEAD with CII as a Knowledge Partner
since inception,has been ranking world economies including India since 2007
according to their innovation capabilities and outcomes using 82 indicators among a
host of other important parameters.
It has established itself as both a leading reference on innovation and a ‘tool for
action’ for policy makers.
India currently ranks 66th out of 128 countries on the Global innovation
Index (GII) 2016.
G. UPSC Mains Practice Questions
GS Paper I
Why are the tribals in India referred to as ‘the Scheduled Tribes’? Indicate the major
provisions enshrined in the Constitution of India for their upliftment.
What is the basis of regionalism? Is it that unequal distribution of benefits of development
on regional basis eventually promotes regionalism? Substantiate your answer.
GS Paper II
“Increasing cross-border terrorist attacks in India and growing interference in the internal
affairs of member-states by Pakistan are not conducive for the future of SAARC (South Asian
Association for Regional Cooperation).” Explain with suitable examples.
“Proper Current Affairs preparation is the key to success in the UPSC- Civil
Services Examination. We have now launched a comprehensive ‘Current Affairs Webinar’.
Limited seats available. Click here
to Know More.”


| [ Team LiB ] |
9.5 The repr ModuleThe repr module supplies an alternative to the built-in function repr (see Chapter 8), with limits on length for the representation string. To fine-tune the length limits, you can instantiate or subclass the Repr class supplied by module repr and apply detailed control. Most of the time, however, the main function exposed by module repr suffices.
Returns a string representing obj, with sensible limits on length. |
| [ Team LiB ] |