"Hedwig and the Angry Inch"
Hedwig (John Cameron Mitchell) was born a boy named Hansel in East Berlin.  The operation, performed by a hack surgeon, is botched, and the "angry inch" is all that's left. Now a "she", Hedwig comes to America, is abandoned by Luther, forms a rock band and falls for her 17-year old lover/protégé, Tommy, only to be rejected by him later, too. She and her band, The Angry Inch, shadows the now-famous Tommy Gnosis across the US (for revenge?), but Hedwig is really in search of her lost other half in "Hedwig and the Angry Inch."
First time helmer John Cameron Mitchell, along with composer/lyricist Stephen Trask, created and starred in their acclaimed off-Broadway production that has become the movie. And quite a movie it is in its eclectic variety of songs, outrageous costumes, sets and makeup and, especially, a riveting performance by Mitchell as the title character. Mitchell and Trask have reinvented the movie musical and couple it with the underlying story of just whom Hedwig is and what she is looking for.
I am, by far, not a big fan of musicals. Sure, there are exceptions, like Bob Fosse's "All That Jazz" and "Cabaret," but, for the most part, they are just not my cup of tea. "Hedwig and the Angry Inch" is an exception, though, with its combination of humor, wit and a collection of tunes that covers musical styles ranging from "The Rocky Horror Picture Show" and Meatloaf to David Bowie to The Sex Pistols. The original songs, by Stephen Trask (also appearing as one of the members of the band The Angry Inch), are full of energy and variety and, even though it's not my kind of music, I found every one entertaining and fun. The audience I saw "Hedwig" with thought so, too.
The main attraction to this one-man/woman show is the presence of its star. John Cameron Mitchell gives a solid, sometimes fun, sometimes angry performance as a person searching for self-enlightenment and love. As a young boy growing up in East Berlin, Hansel is abused by his G.I. father and raised by his German mother in a tiny flat so small that "mother would make me play in the oven" where he listened to pop music on Armed Forces Radio. Later, as a young man, he meets Luther, another G.I. and is swept off of his feet. The ensuing Angry Inch incident comes soon after.
Flash forward to a trailer park in Junction City, Kansas, and Luther is leaving Hedwig for another boy. Frustrated and broke, she takes on baby-sitting and the odd "job" to make ends meet. She also forms a band with four Korean housewives and the musical talent of Hedwig is born. She meets, falls for and loses young Tommy, who steals her songs and goes off to become a rock sensation. Jealous and angry, Hedwig and her new band begins a campaign to shadow Tommy's tours and, with the help of her manager, Phyllis Stein (Andrea Martin), is trying get a law suit going against the star for stealing her songs. Hedwig and The Angry Inch get gigs, not coincidentally, at a chain of seafood restaurants that just happen to be next to the forums where Tommy Gnosis is playing. Things finally come to a head, so to speak, in New York City.
The popularity of the off-Broadway musical and its offshoots have garnered a ready-made audience base for "Hedwig." The wit, humor, music and search for identity has great appeal to young adults, but the charismatic presence of Mitchell makes this a cut above what it could have been. It is this one-man/woman show that casts its spotlight on its "internationally ignored" rock star and Mitchell is outstanding in the role. There isn't a lot going on with other characters, though there are amusing little sidebars, like Hedwig's backup singer/lover, Yitzak (Miriam Shor), deciding to break away from the band to join a Polynesian road show of "Rent" as a Puerto Rican drag queen. The low budget that the moviemakers have for the production belies the quality of the film. Attention to details - Hedwig's costumes and outrageous "Cabaret"-like makeup; the seedy trailer park setting; and, the kitschy seafood restaurants - are loads of fun to watch and lend the appropriate air to the proceeds, all on what has to be a beer budget.
"Hedwig and the Angry Inch" may not be for everybody, but the energy of the effort, the songs, the imaginative sets and costumes and a fast steady pace make it a pleasure to watch. If you're a fan of contemporary, edgy music, it is an even bigger draw. I give it a B+.
For more Reeling reviews visit www.reelingreviews.com
<EMAIL_ADDRESS><EMAIL_ADDRESS>========== X-RAMR-ID: 29114 X-Language: en X-RT-ReviewID: 242704 X-RT-TitleID: 1109197 X-RT-SourceID: 386 X-RT-AuthorID: 1488 X-RT-RatingText: B+
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Statsmodels Examples
This page provides a series of examples, tutorials and recipes to help you get started with statsmodels. Each of the examples shown here is made available as an IPython Notebook and as a plain python script on the statsmodels github repository.
If you are not comfortable with git, we also encourage users to submit their own examples, tutorials or cool statsmodels tricks to the Examples wiki page.
If you are not comfortable with git, we also encourage users to submit their own examples, tutorials or cool statsmodels tricks to the Examples wiki page.


Weather Dashboard
Clear Search History
City:
Temperature:
Humidity:
Wind Speed:
UV Index:
5-Day Forecast


ePlant
Enter gene identifier or alias:
Currently loaded genes:
Canvas is not supported by your browser, please upgrade.


5 Valley Velo/Team Stampede
presents
The Rocky Mountain
Sunday, April 10, 2005
Race sanctioned by USA Cycling USCF permit pending
The Course: The
racecourse will start in Frenchtown and proceed west on
The road surface ranges from smooth pavement to rural dirt roads. Racers can fully expect the roads to contain potholes, rocks and sections of rough asphalt. Sturdy tires and wheels are highly recommended, and though support vehicles will follow each group, racers may do well to bring a pump and a spare. The course will be open to vehicular traffic and the centerline rule will be enforced.
Racers will complete a total distance of 30 to 60 miles. Racers who are not in the main groups or otherwise out-of-contention will ride as far to the right-hand side of the road as possible.
Race Schedule*:
Registration 8:30-9:30 am
Pre-race meeting 9:45 am
Group 1 Men Category 1/2 & Men Category 3
10:00 am start 60 miles (4 laps)
Group 2 Men Category 4,5 & Men Masters 40+
10:05 am start 40 Miles (2 laps)
Group 3 Women Category 1,2,3,4
10:10 am start 30 Miles (1 lap)
Juniors will immediately follow the women and will complete one lap (30 miles).
*promoter reserves the right to combine or expand race groupings as conditions, attendance and volunteer support warrant.
All USCF rules apply. Racers must wear helmets while racing or warming up/down. Junior gear restrictions will be enforced.
Prizes: Cash (total
to be determined by turnout); not to exceed $499. Awards will follow the completion of all the
races and will be held at the registration area (
Fees: $17 race entry, includes USCF insurance surcharge. USCF annual or one-day licenses required and available for purchase on-site; MBRA memberships and permanent numbers also available at race. Racers without permanent MBRA numbers must purchase a one-day number for $2. Place numbers on right side.
Directions: Located
approx. 15 miles west of


This package contains the OPeNDAP core classes, known as the Data Access Protocol (DAP). These are used directly by OPeNDAP clients, and are the parents of the OPeNDAP server types


| Food | Documentation | Ontology |
| FoodOn | Documentation | Ontology |
| Ingredient | Documentation | Ontology |
The functionality of the WhatToMake system can be demonstrated through the four competency questions that were devised in order to develop the ontology. Each question aims to target a specific functionality of the WhatToMake ontology, as explained below. Some questions include sample SPARQL queries, which can be run by loading the ontology into Protege. To do so, load the http://purl.org/heals/ingredient ontology by URL into Protege and execute the queries in the SPARQL Query tab. Note that the food and foodon ontology components are imported as a part of the ingredient ontology.
1) "What recipes contain beef?"
This question targets the ontology's ability to query the system for recipes that contain a single
incredient, beef. An example SPARQL query for this question is shown below.
@PREFIX food: <http://purl.org/heals/food/>
@PREFIX ingredient: <http://purl.org/heals/ingredient/>
SELECT DISTINCT ?recipe
WHERE {
?recipe food:hasIngredient ingredient:Beef .
}
2) "What recipes contain beef, carrots, and potatoes?"
This question is similar to the first, but allows for a user to specify multiple ingredients at a time. An
example SPARQL query for this question is shown below.
@PREFIX food: <http://purl.org/heals/food/>
@PREFIX ingredient: <http://purl.org/heals/ingredient/>
SELECT DISTINCT ?recipe
WHERE {
?recipe food:hasIngredient ingredient:Beef .
?recipe food:hasIngredient ingredient:Carrot .
?recipe food:hasIngredient ingredient:Potato .
}
3) "What recipes contain bananas that do not contain walnuts?"
This question allows a user to specify which ingredients the would like to include while also specifying
those to exclude. This kind of question is especially relevant in cases of allergies, intolerances, and
dislikes. An example SPARQL query for this question is shown below.
@PREFIX food: <http://purl.org/heals/food/>
@PREFIX ingredient: <http://purl.org/heals/ingredient/>
SELECT DISTINCT ?recipe
WHERE {
?recipe food:hasIngredient ingredient:Banana .
FILTER NOT EXISTS {
?recipe food:hasIngredient ingredient:Walnut .
}
}
4) "What recipes that have chicken are low in sugar?"
This question addresses the use case of accomodating nutritional-based recommendations. This kind of
question would be ideal for a diabetic user who must reduct their sugar intake. Currently, the ontology
encodes nutritional information related to sugar by using glycemic index values. An example SPARQL query
for this question is shown below.
@PREFIX food: <http://purl.org/heals/food/>
@PREFIX ingredient: <http://purl.org/heals/ingredient/>
SELECT DISTINCT ?recipe
WHERE {
?recipe food:hasIngredient ingredient:Chicken .
FILTER NOT EXISTS{
?recipe food:hasIngredient ?ingredient .
?ingredient food:hasGlycemicIndex ?GI .
FILTER (?GI >= 50)}
}
In order to run the above queries, we recommend either option below for loading the ontology:


Stream Title
HTTP POST URL
Supply this URL to {{{NAME}}} to push activity into your stream:
CAUTION: If you regenerate this URL, requests to the previous URL will fail.
POST data to URL, then click Refresh to see the result.


Type : VelerSoftware.Plugins3.ValueEdit
Represents a universal value editor (for capturing almost any type of value) in a ActionForm window for SoftwareZator 2012.
Inherits : System.Windows.Forms.UserControl (in System.Windows.Forms.dll)
Name space VelerSoftware.Plugins3
Assembly : VelerSoftware.Plugins3 (in VelerSoftware.Plugins3.dll)
Syntaxe
Public Class ValueEdit Inherits UserControl
Constructors
| Name | Description |
|---|---|
| ValueEdit() | Initializes a new instance of the class ValueEdit. |
Properties
| Name | Description | Type |
|---|---|---|
| Editor | Gets or sets the active editor's control. | VelerSoftware.Plugins3.ValueEdit.ValueType |
| Tools | Gets or sets a value providing different functions to interact with SoftwareZator. | VelerSoftware.Plugins3.Tools |
| VBNetButtonVisible | Gets or sets a value that determines if the button "Enter Visual Basic.Net code" is visible. | System.Boolean |
| TextButtonVisible | Gets or sets a value that determines if the button "Enter textual value" is visible. | System.Boolean |
| NumberButtonVisible | Gets or sets a value that determines if the button "Enter numerical value" is visible. | System.Boolean |
| TrueFalseButtonVisible | Gets or sets a value that determines if the button "Enter boolean value" is visible. | System.Boolean |
| ColorButtonVisible | Gets or sets a value that determines if the button "Enter color" is visible. | System.Boolean |
| OtherButtonVisible | Gets or sets a value that determines if the button "Enter other value" is visible. | System.Boolean |
| VariablesButtonVisible | Gets or sets a value that determines if the button "Enter a variable" is visible. | System.Boolean |
| ResourcesButtonVisible | Gets or sets a value that determines if the button "Enter a resource" is visible. | System.Boolean |
Methods
| Name | Description | Type |
|---|---|---|
| GetGeneratedCode() | Gets the Visual Basic.Net code resulting from the value entered by the user. | System.String |
| GetStrictValue() | Obtains the value entered by the user. | System.String |
| SetGeneratedCode(System.String) | Sets the Visual Basic.Net code corresponding to the value (strict) of the universal value editor. | {Nothing} |
| SetStrictValue(System.String, VelerSoftware.Plugins3.ValueEdit.ValueType) | Sets the value strict (displayed to the user) of the universal value editor. | {Nothing} |
Events
| Name | Description |
|---|---|
| OnEditorChanged | Raised when the property "Editor" has changed. |


Professor who wrote book about corruption charged with laundering
by Associated PressNEW YORK (AP) — A Florida professor who co-wrote a book about organized crime has been arrested on federal charges that he laundered corruption proceeds from Venezuela.
Bruce Bagley was arrested Monday in Florida. The 73-year-old University of Miami professor was charged with conspiracy to commit money laundering and two counts of money laundering.
A message seeking comment was left with his attorney.
Bagley is a co-author of “Drug Trafficking, Organized Crime and Violence in the Americas Today,” published in 2015.
U.S. Attorney Geoffrey Berman in New York said Bagley laundered money that came from bribery and corruption in Venezuela.
An indictment unsealed in Manhattan federal court said that since November 2017, Bagley laundered about $2.5 million from overseas accounts, taking a commission for doing so.


404 Not Found
The requested URL was not found on this server.
ncat_httpd 1.1.0 | Copyright © 2019-2020 Scott Court


This is Bouncy.
Bouncy likes to play.
Tap Bouncy as
fast as you can.
Only when he's
green though!
Otherwise he freaks out.
Tell Bouncy how you
feel before you play.
Don't get too personal.
Bouncy doesn't care that much.
Bouncy can
figure out if
you're faster
when you're happier.
Grumpy cat would approve.
Bouncy is smarter
with Jawbone's UP.
He knows sleep
affects mental acuity.
Get it? Acute ball? Acuity? Ha.
Were you
on the ball today?
How'd you do against other
people? Against yourself?
Bouncy is ready to
play every hour.
He wants to play.
LIKE RIGHT NOW.


| Product Image | |||
| Product Name | Perfomax | Perfomax | Perfomax |
| Rating |
(3 Reviews)
|
(3 Reviews)
|
(3 Reviews)
|
| Price | $20 | $21 | $20.5 |
| Description | Printed evening dress with straight sleeves with black thin waist belt and ruffled linings. | Printed evening dress with straight sleeves with black thin waist belt and ruffled linings. | Printed evening dress with straight sleeves with black thin waist belt and ruffled linings. |
| Manufacturer | CUCGU | Nakia | Gola |
| Availability | Instock (20 items) | Out of stock | Instock (20 items) |
| SKU | #873289 | #874389 | #874389 |
| Size | X | XL | XS |
| Color | Blue | Blue | Blue |
| Weight | 0.3kg | 0.3kg | 0.3kg |
| Dimensions | 40x20x72cm | 40x20x72cm | 40x20x72cm |
| Action |


{{profile.name}}
{{profile.email}}
{{currentSession.expires}}
{{profile.sessions}}
This provider is not associated with your account.


| Class and Description |
|---|
| EntityIdManager
Manager responsible for allocating all entity ids on the server.
|
| EntityManager
A class which manages all of the entities within a world.
|
| FishingRewardManager
Generates fishing loot.
|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| GlowLightningStrike
A GlowLightning strike is an entity produced during thunderstorms.
|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| AttributeManager
Manages the attributes described at https://minecraft.gamepedia.com/Attribute
|
| AttributeManager.Key |
| AttributeManager.Property |
| CustomEntityDescriptor |
| FishingRewardManager.RewardCategory
Category names must match one-to-one with the subtags of "rewards" in
builtin/fishingRewards.yml.
|
| FishingRewardManager.RewardItem |
| GlowAgeable
Represents a creature that ages, such as a sheep.
|
| GlowCreature
Represents a creature entity such as a pig.
|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| GlowExplosive |
| GlowHangingEntity.HangingFace |
| GlowHumanEntity
Represents a human entity, such as an NPC or a player.
|
| GlowLivingEntity
A GlowLivingEntity is a
Player or Monster . |
| GlowPlayer
Represents an in-game player.
|
| GlowWeather
Represents a Weather related entity, such as a storm.
|
| Class and Description |
|---|
| GlowLivingEntity
A GlowLivingEntity is a
Player or Monster . |
| Class and Description |
|---|
| GlowCreature
Represents a creature entity such as a pig.
|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| GlowLivingEntity
A GlowLivingEntity is a
Player or Monster . |
| Class and Description |
|---|
| GlowCreature
Represents a creature entity such as a pig.
|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| GlowLivingEntity
A GlowLivingEntity is a
Player or Monster . |
| Class and Description |
|---|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| GlowHangingEntity |
| GlowLivingEntity
A GlowLivingEntity is a
Player or Monster . |
| GlowPlayer
Represents an in-game player.
|
| GlowVehicle |
| Class and Description |
|---|
| GlowAgeable
Represents a creature that ages, such as a sheep.
|
| GlowAmbient |
| GlowAnimal
Represents an Animal, such as a Cow.
|
| GlowCreature
Represents a creature entity such as a pig.
|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| GlowHumanEntity
Represents a human entity, such as an NPC or a player.
|
| GlowLivingEntity
A GlowLivingEntity is a
Player or Monster . |
| GlowPlayer
Represents an in-game player.
|
| GlowWaterMob |
| Summonable |
| Class and Description |
|---|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| Class and Description |
|---|
| GlowHumanEntity
Represents a human entity, such as an NPC or a player.
|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowAgeable
Represents a creature that ages, such as a sheep.
|
| GlowAnimal
Represents an Animal, such as a Cow.
|
| GlowEntity
Represents some entity in the world such as an item on the floor or a player.
|
| GlowHangingEntity |
| GlowLivingEntity
A GlowLivingEntity is a
Player or Monster . |
| GlowWaterMob |
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| AttributeManager.Property |
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowPlayer
Represents an in-game player.
|
| Class and Description |
|---|
| GlowLivingEntity
A GlowLivingEntity is a
Player or Monster . |
Copyright © 2021. All rights reserved.


Hello, Code School!
I want to learn:
How to build awesome projects
How to be a better person
How to solve world hunger
How to maintain and sharpen my bootcamp skills


SpaceBrew Sliders with Validation
Record
Remap
Rangeslider:
Rangeslider:
Input Slider 1:
Trying to connect


Better Care Guide
The Better Care Guide has been temporarily moth-balled while we concentrate on other projects.
We at ReallyCare CIC are currently putting all our resources into Plait - a system for homecare providers - and sadly we don't have the time to give the Better Care Guide the attention it deserves at the moment.
We have therefore taken the difficult decision to take it off-line for a while, until we can give it a major face-lift.


Welcome to the TeCanal Pixel Studio! If you look at the top menu, you will see the level icons. Please click on Level 1 to get started.
For the best experience, please use this site on Google Chrome on a desktop computer, but this site should work on any modern web browser on any modern device.
Export Code to HTML Page
This allows you to generate a downloadable HTML file, which automatically runs your code and displays the results. You can open it up in any browser, which makes it great if you made a game and want to download it and play it whenever you want.
If you choose to not include the console in the exported page, you will not be able to see console.log() messages, or any errors. If your program does not have these, then feel free to not include console in the exported page for a more minimal look.
Share Code With URL
This allows you to create a link that contains all of your code. You can then send/share this link wherever, and if someone clicks on the link, it will open up this website with your code already loaded into the editor.


Each year, we work with youth from all over the state of Iowa. While we offer elite basketball training, our environment is one that creates integrative inclusion – a setting where diverse groups of youth come together, create relationships, and achieve goals together. Participants in our programs include boys and girls, Kindergarten through 11th grade. In 2015, over 360 youth from over 50 school districts in Iowa participated on Kingdom Hoops teams.
ADM – Altoona – Ames – Ankeny – Ankeny Christian – Ballard – Bondurant Farrar – Cambridge – Carlisle – Central Decatur – Chariton – Charles – Clarion – Clive – Cumming – Dallas Center Grimes – Des Moines Christian – Des Moines East – Des Moines Hoover – Des Moines Lincoln – Des Moines North – Des Moines Roosevelt – Dowling Catholic – Earlham – Grandview Christian – Grinnell – Hartford – Home School – I-35 – IKM – Indianola – Iowa Christian Academy – Irwin – Johnston – Knoxville – Marshaltown – Mason City – Maxwell – Norwalk – Otley – Pella – Perry – Polk City – Prairie City – Promise Academy – Runnells – Siouxland Christian – Slater – Solon – South Tama – Southeast Polk – State Center – Truro – Urbandale – Van Meter – Waukee – West Des Moines Valley – Winterset


| TSclust-package | Package for Time Series Clustering. |
| cluster.evaluation | Clustering Evaluation Index Based on Known Ground Truth |
| convert.to.SAX.symbol | Symbolic Aggregate Aproximation related functions |
| diss | TSclust Dissimilarity Computation |
| diss.ACF | Autocorrelation-based Dissimilarity |
| diss.AR.LPC.CEPS | Dissimilarity Based on LPC Cepstral Coefficients |
| diss.AR.MAH | Model-based Dissimilarity Proposed by Maharaj (1996, 2000) |
| diss.AR.PIC | Model-based Dissimilarity Measure Proposed by Piccolo (1990) |
| diss.CDM | Compression-based Dissimilarity measure |
| diss.CID | Complexity-Invariant Distance Measure For Time Series |
| diss.COR | Correlation-based Dissimilarity |
| diss.CORT | Dissimilarity Index Combining Temporal Correlation and Raw Values Behaviors |
| diss.DTWARP | Dynamic Time Warping Distance |
| diss.DWT | Dissimilarity for Time Series Based on Wavelet Feature Extraction |
| diss.EUCL | Euclidean Distance |
| diss.FRECHET | Frechet Distance |
| diss.INT.PER | Integrated Periodogram Based Dissimilarity |
| diss.MINDIST.SAX | Symbolic Aggregate Aproximation related functions |
| diss.NCD | Normalized Compression Distance |
| diss.PACF | Autocorrelation-based Dissimilarity |
| diss.PDC | Permutation Distribution Distance |
| diss.PER | Periodogram Based Dissimilarity |
| diss.PRED | Dissimilarity Measure Based on Nonparametric Forecast |
| diss.SAX | Symbolic Aggregate Aproximation related functions |
| diss.SPEC.GLK | Dissimilarity based on the Generalized Likelihood Ratio Test |
| diss.SPEC.ISD | Dissimilarity Based on the Integrated Squared Difference between the Log-Spectra |
| diss.SPEC.LLR | General Spectral Dissimilarity Measure Using Local-Linear Estimation of the Log-Spectra |
| electricity | Hourly Electricity Prices in the Spanish Market |
| interest.rates | Long-Term Interest Rates from 1995 to 2012 |
| loo1nn.cv | Clustering Evaluation Index Based on Leave-one-out One-nearest-neighbor Evaluation |
| MINDIST.SAX | Symbolic Aggregate Aproximation related functions |
| PAA | Symbolic Aggregate Aproximation related functions |
| paired.tseries | Pairs of Time Series from Different Domains |
| pvalues.clust | Clustering Algorithm Based on p-values. |
| SAX.plot | Symbolic Aggregate Aproximation related functions |
| synthetic.tseries | Synthetic Time Series for Clustering Performace Comparisons. |
| TSclust | Package for Time Series Clustering. |


Whether it's a week-long conference or a weekend away, TripIt will create a master itinerary for all of your trips.
Get started"I travel for a living and TripIt is the best product EVER. It makes my life easier, and I use the app daily!" - Melissa B.
Whether it's a week-long confeTripIt Pro will make sure you stay one step ahead of any changes, all the way from planning to landing. No more missed meetings or connections, if we can help it.
Watch a video about TripIt Pro"I depend on the TripIt app weekly during my business travels, and often find that I receive flight change information from TripIt before the airlines even share it." - Rod Z.
Connect to TripIt in the SAP Concur App Center, so you can start getting all the benefits of instant itineraries—plus easier expense reports.
Connect to Tripit"Travel is usually stressful for me and TripIt makes it less overwhelming… I'm not just more productive, I'm actually happier." - Julia G.
Make sure you’re connected to TripIt to get itineraries created for you as soon as you book, and receive a
complimentary subscription to TripIt Pro, if you’re eligible.


[gecode-users] Python wrappers
Ellis Breen
spacestation9 at googlemail.com
Thu Oct 29 19:57:32 CET 2009
Hi all,
I'm currently looking for a free-as-in-beer constraint programming library
with bindings in both C/C++ and Python. It seems Logilab started a Python
wrapper for Gecode but never completed it. Are there any rival
implementations? Would it be non-trivial to use SWIG for this?
Apparently Cassowary also supports Python but I can't seem to find the
bindings.
Also, has anyone attempted to integrate the Minizinc to Flatzinc compiler
into a project containing Gecode, to allow interpretation of Minizinc
scripts without using an intermediary program?
Thanks,
Ellis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20091029/e7565fa0/attachment.htm>
More information about the gecode-users
mailing list


Forgot Password
Email
*
Send Password
Already have an Account? Click here
>
×
Login
Username or email address *
Password *
Remember Me
Login
Cancel
Lost your password?
×
There's Something Wrong With This Ads?


Specify the locations of folders containing tests, relative to the project root folder, as a list of strings. To generate a test suite, MATLAB uses only the tests in the specified folders and their subfolders.
Example: ["test/folderA", "test/folderB"]


This section describes how to open and close the Java class catalog. The class catalog is a specialized database store that contains the Java class descriptions of the serialized objects that are stored in the database. The class descriptions are stored in the catalog rather than storing them redundantly in each database record. A single class catalog per environment must be opened whenever serialized objects will be stored in the database.
The SampleDatabase
class is extended to open and close
the class catalog. The following additional imports and class
members are needed.
import com.sleepycat.bind.serial.StoredClassCatalog; import com.sleepycat.je.Database; import com.sleepycat.je.DatabaseConfig;
import com.sleepycat.je.DatabaseException; import com.sleepycat.je.Environment; import com.sleepycat.je.EnvironmentConfig; import java.io.File; import java.io.FileNotFoundException; ... public class SampleDatabase { private Environment env;private static final String CLASS_CATALOG = "java_class_catalog";
...private StoredClassCatalog javaCatalog;
... }
While the class catalog is itself a database, it contains metadata for other databases and is therefore treated specially by the JE JE Collections API. The StoredClassCatalog class encapsulates the catalog store and implements this special behavior.
The following statements open the class catalog by creating a
Database
and a StoredClassCatalog
object. The catalog
database is created if it does not already exist.
public SampleDatabase(String homeDirectory) throws DatabaseException, FileNotFoundException { ...DatabaseConfig dbConfig = new DatabaseConfig(); dbConfig.setTransactional(true); dbConfig.setAllowCreate(true); Database catalogDb = env.openDatabase(null, CLASS_CATALOG, dbConfig); javaCatalog = new StoredClassCatalog(catalogDb);
... } ...public final StoredClassCatalog getClassCatalog() { return javaCatalog; }
The
DatabaseConfig
class is used to specify configuration parameters when opening a
database. The first configuration option specified —
setTransactional()
— is set to true to create a transactional
database. While non-transactional databases can also be created,
the examples in this tutorial use transactional databases.
setAllowCreate()
is set to true to specify
that the database will be created if it does not already exist. If
this parameter is not specified, an exception will be thrown if the
database does not already exist.
The first parameter of the openDatabase()
method is an
optional transaction that is used for creating a new database. If
null is passed, auto-commit is used when creating a database.
The second parameter of openDatabase()
specifies the
database name and must not be a null.
The last parameter of openDatabase()
specifies the database
configuration object.
Lastly, the StoredClassCatalog
object is created to manage the
information in the class catalog database. The
StoredClassCatalog
object will be used in the sections
following for creating serial bindings.
The getClassCatalog
method returns the catalog object for
use by other classes in the example program.
When the environment is closed, the class catalog is closed also.
public void close()
throws DatabaseException
{
javaCatalog.close();
env.close();
}
The StoredClassCatalog.close()
method simply closes the
underlying class catalog database and in fact the
Database.close()
method may be called instead, if desired. It is recommended that you close the catalog database and
all other databases, before closing the
environment.


Setting up CouchDB from source on CentOS & Fedora, Erlang, and Spider Monkey.
Install CouchDB from Source - CentOS, Fedora
Difficulty: 4
Time: 30 minutes
CouchDB database is known to embrace the entire web and belongs to NoSQL family. This article will
assist you to install CouchDB from source on CentOS and Fedora.
Install build tools and dependencies
- Update all packages.
sudo yum -y update
- Install development-tool.
sudo yum -y groupinstall "Development Tools"
sudo yum -y install libicu-devel curl-devel ncurses-devel libtool libxslt fop java-1.6.0-openjdk java-1.6.0-openjdk-devel unixODBC unixODBC-devel openssl-devel
- Install EPEL repository using the following commands:
sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel- release-7-5.noarch.rpm
sudo rpm -ivh epel-release-7-5.noarch.rpm
Install Erlang
- Firstly create a new directory.
sudo mkdir Install_couchDB
- Go to that directory and compile Erlang from source.
sudo wget http://www.erlang.org/download/otp_src_R14B01.tar.gz
sudo tar -xvf otp_src_R14B01.tar.gz
cd otp_src_R14B01
sudo ./configure
sudo make && make install
Install Mozilla SpiderMonkey
- Download Mozilla SpiderMonkey from the source.
sudo wget http://ftp.mozilla.org/pub/mozilla.org/js/mozjs17.0.0.tar.gz
- Compile the Mozilla SpiderMonkey.
sudo wget http://ftp.mozilla.org/pub/mozilla.org/js/mozjs17.0.0.tar.gz
sudo tar -xvf mozjs17.0.0.tar.gz
cd mozjs17.0.0/js/src/
sudo ./configure
sudo make && make install
Install CouchDB
- Download CouchDB package from source.
sudo wget http://mirror.tcpdiag.net/apache/couchdb/source/1.6.1/apache-couchdb-1.6.1.tar.gz
sudo tar -xvf apache-couchdb-1.6.1.tar.gz
cd apache-couchdb-1.6.1
- Now, export the path of Erlang using the following commands:
export ERL_TOP='pwd'
export PATH=$ERL_TOP/bin:$PATH
- Now, compile the CouchDB.
sudo ./configure --with-erlang=/usr/lib64/erlang/erts-5.10.4/include
sudo make && make install
Setup CouchDB
- Create a CouchDB user and give some permissions using following command:
sudo adduser --no-create-home couchdb
sudo chown -R couchdb:couchdb /usr/local/var/lib/couchdb /usr/local/var/log/couchdb /usr/local/var/run/couchdb
- Create a link for the
couchdb init script
to /etc/init.d
.
sudo ln -sf /usr/local/etc/rc.d/couchdb /etc/init.d/couchdb
- To start CouchDB automatically at boot, add and enable the init script using
chkconfig
:
sudo chkconfig --add couchdb
sudo chkconfig couchdb on
- Open the configuration file of CouchDB.
sudo vim /usr/local/etc/couchdb/local.ini
- To access CouchDB from the web, go to the
Httpd
section and make the following changes:
[httpd]
port = 5984
bind_address = <IP_ADDRESS>
- Now, restart the CouchDB services.
sudo service couchdb restart
- To test CouchDB is running successfully, go to any web browser and type:
http:Your public Ip:5984
- Once the server is up and running, you can access it in your browser at:
http:Your public IP:5984/utils/
Next Steps
In this article we reviewed the steps involved with the installation of CouchDB on CentOS and Fedora.


The Truman Show (1998)
A Film Review by Mark O'Hara
First, let us now praise Peter Weir and Scott Rudin for producing a film rated PG, one suitable for my daughter on her tenth birthday. THE TRUMAN SHOW had two profanities I can recall, no sex scenes, no gratuitous violence, and a lot of ideas.
All these elements make me like Jim Carrey more than I used to. Although my students have talked about them for years, I have never seen the Ace Ventura movies. I'll admit I rented THE MASK, and got quite a few laughs out of it. And a student teacher in my film literature class showed LIAR LIAR. These are solid but minor comedies, thrust into prominence by our culture's demand for vulgar slapstick. (From what I've heard about THE CABLE GUY, it's not worth my time even to rent, though I do like to claim that, as a teacher of film, I am aware of popular trends.)
What causes me to admire THE TRUMAN SHOW even more is that it's not being hyped as purely a comedy.
Think back to 48 HOURS. (I might better use THE CABLE GUY here, but haven't seen it!) Wasn't this Eddie Murphy and Nick Nolte flick advertised as a comedy? But didn't its conflict revolve around one of the most ruthless killers in any film of that year? I remember sitting in the dark and almost shivering at his heartless violence; I was unable even to chuckle at the one-liners Murphy lobbed during the more tense parts of the plot.
Well, THE TRUMAN SHOW is not a comedy, but a heady satire of the American consciousness, a send-up of the voyeuristic media addicts that we've become. When the picture opens with a close-up of Truman Burbank gazing at himself in the mirror of his medicine cabinet, we are pulled in by the wild imagination of his private monologues. But here's the rub: we also realize that moments like this are prized, quirky products of our privacy. One of the reasons this film succeeds is that we are reminded to hate ourselves, however mildly, whenever we see Truman photographed through a "button-cam," or through the console of his sedan. (This is done cleverly, by the way, through lenses with edges resembling coke bottles.) The eaves-droppers ogling the oblivious Truman as he proceeds innocently with his life – the waitresses, the two cops, the guy whose life is lived in his tub – these people are us. This is one type of "winking" the film does.
Another type involves the placement of products. No, these are not real products, like the Reese's Pieces used in E.T. Instead, they are fictional kitchen devices and powdered drinks that Truman's sunny-faced wife is forever pitching in the direction of one of the hundreds of cameras hidden around their house. These are self-reflexive winks, reminding us of the ever-present products that are advertised within the very texts of our films (not to mention in the fictions of writers striving for verisimilitude). That these endorsements have nothing to do with our real lives is stressed in a powerful scene that has Truman desperately confronting the actress playing his wife.
"It's a life," says the director of this television institution, in the opening moments of the film. The way in which writer Andrew Niccol and director Peter Weir make Truman's life realistic is similar to the way writers make their fantasies seem true. Gabriel Garcia Marquez uses minute details in his stories. This is the secret of magical realism. THE TRUMAN SHOW drops in on the title character rummaging through a trunk containing boyhood memories. We see photos of young Truman with his father, now supposedly dead. We see Truman burying his nose in a sweater left behind by a girl named Sylvia (whose cast name is Lauren; there are endless double and deceitful images at work here). We witness countless traces of Truman's past, even through flashbacks on the screens of the world's viewers.
One weakness is the superficial handling of Truman's wife when Truman is truly on to something. Pushed beyond what she deems "professional," the actress shrieks "Do something!" and soon disappears from the scene. Another actress is conveniently inserted as a possible love interest. But wouldn't it have been more realistic to show the small scenes of loneliness (or maybe relief) felt by Truman as he roamed the house after his "wife's" desertion?
One test I often apply to comedies is, if it gets a belly-laugh out of me, the film is a decent comedy. This test is subjective, of course, but it's just as valid as saying that a short story is good if it makes you cry, a comment I overheard from a creative writing professor. Although I only guffawed during THE TRUMAN SHOW, I relished the frequent funny moments and absolutely loved their intelligence.
>From his sickbed, his voice played over a still shot of himself, Gene Siskel said this may be a "watershed" movie for Jim Carrey. I agree. Carrey is no longer just another rubber face. It's the first film of his that I would show as a solid part of a high school film curriculum. My daughter is grateful, too, that it is not among the majority of talked-about films, the PG-13s and Rs which, for the next couple of years, her parents will not permit her to see.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Language specific cardinal to ordinal number conversion.
| Version: | 1.0-0.0 |
| Depends: | R (≥ 3.3) |
| Imports: | crayon, testthat |
| Suggests: | knitr, rmarkdown |
| Published: | 2017-07-18 |
| Author: | Damian W. Betebenner [aut, cre], Andrew Martin [ctb], Jeff Erickson [ctb] |
| Maintainer: | Damian W. Betebenner <dbetebenner at nciea.org> |
| BugReports: | https://github.com/CenterForAssessment/toOrdinal/issues |
| License: | GPL-3 |
| URL: | https://CenterForAssessment.github.io/toOrdinal, https://github.com/CenterForAssessment/toOrdinal, https://cran.r-project.org/package=toOrdinal |
| NeedsCompilation: | no |
| Citation: | toOrdinal citation info |
| Materials: | NEWS |
| CRAN checks: | toOrdinal results |
| Reference manual: | toOrdinal.pdf |
| Vignettes: |
Getting started with toOrdinal |
| Package source: | toOrdinal_1.0-0.0.tar.gz |
| Windows binaries: | r-devel: toOrdinal_1.0-0.0.zip, r-release: toOrdinal_1.0-0.0.zip, r-oldrel: toOrdinal_1.0-0.0.zip |
| OS X binaries: | r-release: toOrdinal_1.0-0.0.tgz, r-oldrel: toOrdinal_1.0-0.0.tgz |
| Old sources: | toOrdinal archive |
| Reverse imports: | ArchaeoPhases, SGP |
Please use the canonical form https://CRAN.R-project.org/package=toOrdinal to link to this page.


How did the 'process over product' concept affect the way you tackled the site redesign and rebuild?
I only fully started to embrace this concept at the very end of the process as I was running out of time. For example
at the end I realised that my footer was showing in the middle of the page on the mobile. I decided to remove my footer form the mobile version. However I did have a shot at seeing how I could have my footer there. I am now after building
this it’s makes me more since have a go, make mistakes but don’t worry.
What did you think about meditation before reading chapter 2?
I had some experience. I know that meditation is this proses of look at your thought and emotions form an outside perception as you are focusing on the breath.
By focusing on the breath you try and be present in yourself.
What new things have you learnt about meditation?
One of the purpose of meditation is to make the mind uncluttered and stronger like riding a bike. Meditation is also the process of being kinder to yourself as reduce
the nasty gossip in your head.
The analogy I liked was providing yourself with a loving grandmother figure inside of your mind.
Did any of the suggested meditation techniques stand out to you?
If you need to react or move then try to keep focusing on the breath. Look at thoughts as guests into the mind treat them with care and attention but
let them go when they want to leave.
Any other musings?
If You want you can have a Hello Kitty Hat on while mediating.


Youtube Playlist To URL list
Youtube Playlist URL or playlist ID (URL must contain "
list=
" tag, ID is what comes after "
list=
" till the next & character!)
Start
Preformatted


| 1 | /* | |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
| 3 | * contributor license agreements. See the NOTICE file distributed with | |
| 4 | * this work for additional information regarding copyright ownership. | |
| 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| 6 | * (the "License"); you may not use this file except in compliance with | |
| 7 | * the License. You may obtain a copy of the License at | |
| 8 | * | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 10 | * | |
| 11 | * Unless required by applicable law or agreed to in writing, software | |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 14 | * See the License for the specific language governing permissions and | |
| 15 | * limitations under the License. | |
| 16 | */ | |
| 17 | package org.apache.commons.fileupload; | |
| 18 | ||
| 19 | import java.io.File; | |
| 20 | import java.util.List; | |
| 21 | import javax.servlet.http.HttpServletRequest; | |
| 22 | ||
| 23 | /** | |
| 24 | *
High level API for processing file uploads.
 | |
| 25 | * | |
| 26 | *
This class handles multiple files per single HTML widget, sent using | |
| 27 | * multipart/mixed encoding type, as specified by | |
| 28 | * RFC 1867. Use {@link | |
| 29 | * #parseRequest(HttpServletRequest)} to acquire a list of {@link | |
| 30 | * org.apache.commons.fileupload.FileItem}s associated with a given HTML | |
| 31 | * widget.
 | |
| 32 | * | |
| 33 | *
Individual parts will be stored in temporary disk storage or in memory, | |
| 34 | * depending on their size, and will be available as {@link | |
| 35 | * org.apache.commons.fileupload.FileItem}s.
 | |
| 36 | * | |
| 37 | * @deprecated 1.1 Use ServletFileUpload together with | |
| 38 | * DiskFileItemFactory instead. | |
| 39 | */ | |
| 40 | @Deprecated | |
| 41 | public class DiskFileUpload | |
| 42 | extends FileUploadBase { | |
| 43 | ||
| 44 | // ----------------------------------------------------------- Data members | |
| 45 | ||
| 46 | /** | |
| 47 | * The factory to use to create new form items. | |
| 48 | */ | |
| 49 | private DefaultFileItemFactory fileItemFactory; | |
| 50 | ||
| 51 | // ----------------------------------------------------------- Constructors | |
| 52 | ||
| 53 | /** | |
| 54 | * Constructs an instance of this class which uses the default factory to | |
| 55 | * create FileItem instances. | |
| 56 | * | |
| 57 | * @see #DiskFileUpload(DefaultFileItemFactory fileItemFactory) | |
| 58 | * | |
| 59 | * @deprecated 1.1 Use FileUpload instead. | |
| 60 | */ | |
| 61 | @Deprecated | |
| 62 | public DiskFileUpload() { | |
| 63 | super(); | |
| 64 | this.fileItemFactory = new DefaultFileItemFactory(); | |
| 65 | } | |
| 66 | ||
| 67 | /** | |
| 68 | * Constructs an instance of this class which uses the supplied factory to | |
| 69 | * create FileItem instances. | |
| 70 | * | |
| 71 | * @see #DiskFileUpload() | |
| 72 | * @param fileItemFactory The file item factory to use. | |
| 73 | * | |
| 74 | * @deprecated 1.1 Use FileUpload instead. | |
| 75 | */ | |
| 76 | @Deprecated | |
| 77 | public DiskFileUpload(DefaultFileItemFactory fileItemFactory) { | |
| 78 | super(); | |
| 79 | this.fileItemFactory = fileItemFactory; | |
| 80 | } | |
| 81 | ||
| 82 | // ----------------------------------------------------- Property accessors | |
| 83 | ||
| 84 | /** | |
| 85 | * Returns the factory class used when creating file items. | |
| 86 | * | |
| 87 | * @return The factory class for new file items. | |
| 88 | * | |
| 89 | * @deprecated 1.1 Use FileUpload instead. | |
| 90 | */ | |
| 91 | @Override | |
| 92 | @Deprecated | |
| 93 | public FileItemFactory getFileItemFactory() { | |
| 94 |
1
1. getFileItemFactory : mutated return of Object value for org/apache/commons/fileupload/DiskFileUpload::getFileItemFactory to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return fileItemFactory; |
| 95 | } | |
| 96 | ||
| 97 | /** | |
| 98 | * Sets the factory class to use when creating file items. The factory must | |
| 99 | * be an instance of DefaultFileItemFactory or a subclass | |
| 100 | * thereof, or else a ClassCastException will be thrown. | |
| 101 | * | |
| 102 | * @param factory The factory class for new file items. | |
| 103 | * | |
| 104 | * @deprecated 1.1 Use FileUpload instead. | |
| 105 | */ | |
| 106 | @Override | |
| 107 | @Deprecated | |
| 108 | public void setFileItemFactory(FileItemFactory factory) { | |
| 109 | this.fileItemFactory = (DefaultFileItemFactory) factory; | |
| 110 | } | |
| 111 | ||
| 112 | /** | |
| 113 | * Returns the size threshold beyond which files are written directly to | |
| 114 | * disk. | |
| 115 | * | |
| 116 | * @return The size threshold, in bytes. | |
| 117 | * | |
| 118 | * @see #setSizeThreshold(int) | |
| 119 | * | |
| 120 | * @deprecated 1.1 Use DiskFileItemFactory instead. | |
| 121 | */ | |
| 122 | @Deprecated | |
| 123 | public int getSizeThreshold() { | |
| 124 |
1
1. getSizeThreshold : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return fileItemFactory.getSizeThreshold(); |
| 125 | } | |
| 126 | ||
| 127 | /** | |
| 128 | * Sets the size threshold beyond which files are written directly to disk. | |
| 129 | * | |
| 130 | * @param sizeThreshold The size threshold, in bytes. | |
| 131 | * | |
| 132 | * @see #getSizeThreshold() | |
| 133 | * | |
| 134 | * @deprecated 1.1 Use DiskFileItemFactory instead. | |
| 135 | */ | |
| 136 | @Deprecated | |
| 137 | public void setSizeThreshold(int sizeThreshold) { | |
| 138 |
1
1. setSizeThreshold : removed call to org/apache/commons/fileupload/DefaultFileItemFactory::setSizeThreshold → NO_COVERAGE |
fileItemFactory.setSizeThreshold(sizeThreshold); |
| 139 | } | |
| 140 | ||
| 141 | /** | |
| 142 | * Returns the location used to temporarily store files that are larger | |
| 143 | * than the configured size threshold. | |
| 144 | * | |
| 145 | * @return The path to the temporary file location. | |
| 146 | * | |
| 147 | * @see #setRepositoryPath(String) | |
| 148 | * | |
| 149 | * @deprecated 1.1 Use DiskFileItemFactory instead. | |
| 150 | */ | |
| 151 | @Deprecated | |
| 152 | public String getRepositoryPath() { | |
| 153 |
1
1. getRepositoryPath : mutated return of Object value for org/apache/commons/fileupload/DiskFileUpload::getRepositoryPath to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return fileItemFactory.getRepository().getPath(); |
| 154 | } | |
| 155 | ||
| 156 | /** | |
| 157 | * Sets the location used to temporarily store files that are larger | |
| 158 | * than the configured size threshold. | |
| 159 | * | |
| 160 | * @param repositoryPath The path to the temporary file location. | |
| 161 | * | |
| 162 | * @see #getRepositoryPath() | |
| 163 | * | |
| 164 | * @deprecated 1.1 Use DiskFileItemFactory instead. | |
| 165 | */ | |
| 166 | @Deprecated | |
| 167 | public void setRepositoryPath(String repositoryPath) { | |
| 168 |
1
1. setRepositoryPath : removed call to org/apache/commons/fileupload/DefaultFileItemFactory::setRepository → NO_COVERAGE |
fileItemFactory.setRepository(new File(repositoryPath)); |
| 169 | } | |
| 170 | ||
| 171 | // --------------------------------------------------------- Public methods | |
| 172 | ||
| 173 | /** | |
| 174 | * Processes an RFC 1867 | |
| 175 | * compliant multipart/form-data stream. If files are stored | |
| 176 | * on disk, the path is given by getRepository(). | |
| 177 | * | |
| 178 | * @param req The servlet request to be parsed. Must be non-null. | |
| 179 | * @param sizeThreshold The max size in bytes to be stored in memory. | |
| 180 | * @param sizeMax The maximum allowed upload size, in bytes. | |
| 181 | * @param path The location where the files should be stored. | |
| 182 | * | |
| 183 | * @return A list of FileItem instances parsed from the | |
| 184 | * request, in the order that they were transmitted. | |
| 185 | * | |
| 186 | * @throws FileUploadException if there are problems reading/parsing | |
| 187 | * the request or storing files. | |
| 188 | * | |
| 189 | * @deprecated 1.1 Use ServletFileUpload instead. | |
| 190 | */ | |
| 191 | @Deprecated | |
| 192 | public List<FileItem> parseRequest(HttpServletRequest req, | |
| 193 | int sizeThreshold, | |
| 194 | long sizeMax, String path) | |
| 195 | throws FileUploadException { | |
| 196 |
1
1. parseRequest : removed call to org/apache/commons/fileupload/DiskFileUpload::setSizeThreshold → NO_COVERAGE |
setSizeThreshold(sizeThreshold); |
| 197 |
1
1. parseRequest : removed call to org/apache/commons/fileupload/DiskFileUpload::setSizeMax → NO_COVERAGE |
setSizeMax(sizeMax); |
| 198 |
1
1. parseRequest : removed call to org/apache/commons/fileupload/DiskFileUpload::setRepositoryPath → NO_COVERAGE |
setRepositoryPath(path); |
| 199 |
1
1. parseRequest : mutated return of Object value for org/apache/commons/fileupload/DiskFileUpload::parseRequest to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return parseRequest(req); |
| 200 | } | |
| 201 | ||
| 202 | } | |
Mutations | ||
| 94 |
1.1 |
|
| 124 |
1.1 |
|
| 138 |
1.1 |
|
| 153 |
1.1 |
|
| 168 |
1.1 |
|
| 196 |
1.1 |
|
| 197 |
1.1 |
|
| 198 |
1.1 |
|
| 199 |
1.1 |


DfE enquiries
Central newsdesk 020 7783 8300
General enquiries 0370 000 2288
News story
The number of disabled children receiving short breaks more than doubled between April 2008 and March 2011, with increases in every area of the country. The findings are published today in a report by Together for Disabled Children (TDC), commissioned by the government.
The number of disabled children receiving short breaks more than doubled between April 2008 and March 2011, with increases in every area of the country. The findings are published today in a report by Together for Disabled Children (TDC), commissioned by the government.
Short breaks give disabled children and their families the chance of a normal life and opportunities that other children can take for granted such as playing with their friends, learning new hobbies or going on holiday. Short breaks also give parents a well needed rest from their caring responsibilities and a chance to recharge.
The government has now made it statutory for local authorities to provide short breaks, as of April 2011. The new regulations require local authorities to publish information to parents describing what short breaks services are on offer in their area.
The government has committed over £800 million for local authorities to invest in short breaks between April 2011 and March 2015 through the Early Intervention Grant. This compares with £270 million which was made available between 2008 and 2011.
The number of disabled children receiving short breaks rose from 57,383 in 2008-09 to 162,831 in 2010-11 - an increase of over 105,000 children. This has contributed to a decrease in social care interventions and a fall in the number of disabled children entering the looked after system.
The TDC report also analysed the success of parent forums across the country between 2008 and 2011. Over 1,700 parents of disabled children are now actively involved in planning services in their area through parent forums - over three times more than in 2008.
Children’s Minister, Sarah Teather, said:
Disabled children and their parents rely on support and free time to have a normal family life. Weekends away, overnight care and fun activities give parents a valuable break from caring and give disabled children a chance to learn a new skill or make new friends.
The success of the short breaks programme is clearly down to local authorities working in partnership with parents of disabled children, so that services are shaped by their needs. The families involved benefit and services are better value for money so other families get to enjoy more short breaks services.
Short breaks provide families with early help so they can cope better in times of stress, and are less likely to need help from social care services. That’s why it’s vital that local authorities continue to invest in short breaks and make it a priority. We have backed this up with a new duty on local authorities to provide short breaks.
We want to give parents more influence and control over local services. In our green paper on special educational needs (SEN) and disability we have set out a range of ways that parents should be involved in local decision making. Increasing parent participation means more services are being delivered that are more responsive to the needs of local disabled children.
On short breaks the report finds that:
Over eight million additional hours of daytime short breaks were provided to disabled children and their families - the number of daytime hours rose from 6,079,681 hours in 2008 to 14,308,283 hours by March 2011.
An additional 193,000 nights of care are being provided either in the child’s own home, in hospices, holiday parks or on weekend breaks. The number of nights of care rose from 587,095 nights in 2008 to 780,827 nights by March 2011.
Local authorities have particularly improved activities and breaks for children with severe challenging behaviour and complex health needs.
Providing a range of short breaks services has led to greater satisfaction from disabled children and their parents and is more cost effective than only using expensive residential care.
Greater parental involvement in commissioning short breaks services has led to better value for money, and therefore more services are being delivered to more children.
There have been particular increases in the number of voluntary and community sector organisations, particularly small local groups, delivering services.
Christine Lenehan, Council for Disabled Children (CDC), said:
Short breaks are essential for families with disabled children. Caring for a disabled child can be a full time job. This often means that parents of disabled children have little time to do day-to-day tasks such as cleaning, taking a shower and sitting down to eat a meal.
Access to regular, reliable, high quality short breaks can be life changing for families, providing time to do day-to-day activities, to rest and to build their relationships. Even more importantly, they give disabled children and young people themselves the opportunity to take part in positive activities, to build friendships and to play an active part in their communities.
CDC warmly welcomes the increase in access to short breaks, particularly for children with the most complex needs. However, this is not the end of the story. It is crucial that the Government continues to monitor local delivery of short breaks under the Early Intervention Grant.
The government today announced that Contact a Family, a charity providing advice and support for the parents of disabled children, has won the contract to strengthen parents’ involvement in local decision making across the country. Contact a Family will carry through the commitments in the SEN and disability green paper to give parents more control over the support their child and family needs, and to fund parent forums in every local area.
Parent forums have been developed in almost all local authorities to help parents have a say in the range and quality of services for disabled children. This includes, for example, the supply and delivery of equipment, therapy services, and the local SEN transport policy.
An increase in parent participation and the active involvement of parents in shaping services has resulted in:
Srabani Sen, Chief Executive of Contact a Family, said:
We are delighted the government has committed to continue funding parent forums which have played a vital role in shaping services to meet the needs of families with disabled children over the last three years.
The results speak for themselves: more and more parents’ voices are being heard, parents feel more in control and this has led to a range of improved outcomes for children, young people and their families.
Strengthening parent participation is at the heart of Contact a Family’s work and we look forward to supporting parent carer forums to continue their excellent work.
Local parent forums share experiences, provide peer support, and get updates on national developments via the regional parent forum networks. A National Network of Parent Carer Forums (NNPCF), established in March 2010, supports local and regional forums. This has helped ensure that parents are engaged in shaping national policy, and that their voices are heard.
The NNPCF has worked closely with the government in formulating national policy. Specifically they are involved in the selection of green paper pathfinders that will test the single education, health and care plan and personal budgets.
Anna Gill and Carrie Britton, co-chairs of the NNPCF, said:
We are delighted that the government values the unique and crucial perspective that Parent Carers can bring to strategic decision making at all levels, from national commissioning and policy making through to the local allocation of scarce resources; the ongoing commitment to support the development of all Parent Carer Forums through Contact a Family will help us ensure that the voice of even more families will be heard.
Voluntary and community sector and other organisations have been invited to bid to support local areas, including their ongoing provision of short breaks.
Notes to editors:
The report Towards a more ordinary life…A report on the progress of parent carer participation and the development of short breaks: 2008-1011 was compiled by Together for Disabled Children on behalf of the Department for Education.
The data in the report refers to the period from April 2008 to March 2011.
The number of daytime hours of short breaks increased as follows:
|
Type of daytime
short break |
Number of hours
2007- 2008 |
Number of hours
2010- 2011 |
Increase |
| Family-based or individual day care | 3,542,299 | 6,616,164 | 3,073,865 |
| Group-based specialist short breaks provided during the day | 1,902,856 | 5,224,680 | 3,321,824 |
| Group-based non-specialist short breaks provided during the day | 634,526 | 2,467,439 | 1,832,913 |
| Total number of hours of daytime short breaks | 6,079,681 | 14,308,283 | 8,228,602 |
A growing number of areas are developing local offers to make it easier to measure how many hours of short breaks a child is entitled to without them or their family having to undergo a separate assessment. For example, children who attend special schools or receive higher rate disability living allowance in Enfield are entitled to a minimum of 100 hours a year - about two days a week. The government wants to see more local authorities developing local offers.
Funding provided for short breaks will be delivered to local authorities through the Early Intervention Grant. The government is providing £198m/£202m/£206m/£210m for short breaks over the next four years.
The Department for Education has appointed Contact a Family to help improve parent participation in all local areas in England through parent forums. There are two main elements to the parent participation programme:
Central newsdesk 020 7783 8300
General enquiries 0370 000 2288
Published: 26 August 2011


WITNESS LIST Financial Institutions Committee April 2, 2001-2:00P HB 1366 For: Abbott, Ronald (Self) Munz, Kevin (Self) White, Bill (Cash America International) Against: Schneider, Rob (Consumers Union -- Southwest Regional Office) On: Heasley, John (Texas Bankers Association) Pettijohn, Leslie (Consumer Credit Commissioner) Registering, but not testifying: For: Norrington, Eric (Ace Cash Express, Inc.) HB 1809 For: Johnson, Katherine (Self) McMillen, James T. (Consumers) Schneider, Rob (Consumers Union -- Southwest Regional Office) Against: Davis, Lorri (Texans for Financial Freedom) On: Norton, Gary (Attorney General) Pettijohn, Leslie (Consumer Credit Commissioner) HB 2155 On: James, Randall S. (Tx. Banking Commissioner - Tx. Dept. of Banking) Jobe, Everette (Texas Dept. of Banking) Registering, but not testifying: For: Scurlock, Steve (IBAT) HB 2369 For: Bilby, Curt (Evacyte Corporation) Chiodo, Dana (American Electronics Association) Kowalski, Tom (Texas Healthcare and Bioscience Institute) Webb, Warren H. (Self) On: Stone, M.D., Dennis K. (Univ. of Texas Southwestern Medical Ctr. at Dallas) Registering, but not testifying: For: Jones, Neal T. "Buddy" (Southeast Texas Biotech Park) Kesslen, Ron (American Electronics Association) On: Buie, Jim (Texas Bond Review Board) HB 2453 On: Martin, Rusty (GLO/VLB) Registering, but not testifying: On: Oldmixon, Doug (Tx G.L.O./V.L.B.) HB 3285 For: Collie, Jr., Robert M. (Harris County) Richie, Carl S. (Harris County Commissioner's Court) Thornton, Terry (Harris County, Texas) HB 3329 On: Bryan, Kathryn (North Texas Higher Education Authority) Delgado, Rose (Self) Flynn, Shari (Lubbock Housing Finance Corp., Texas Assn. of Local Housing Finance Agencies) Talerico, Jeanne (Texas Association of Local Housing Finance Agencies) Yandel, Guy (Texas Association of Local Housing Finance Agencies) Registering, but not testifying: On: Buie, Jim (Texas Bond Review Board) Ziemski, Robert (South Texas Higher Education Authority) SB 565 Registering, but not testifying: For: Backus, David (TASA - Texas Association of School Administrators) Igo, Shanna (Texas Municipal League) Rubottom, John (Lower Colorado River Authority) On: Schwartz, Suzanne (TX Water Development Board) SB 626 For: Heasley, John M. (Texas Bankers Assn.) Registering, but not testifying: For: Neeley, Karen (Independent Bankers Assn. of Texas) Scurlock, Steve (IBAT) SB 991 Registering, but not testifying: For: Neeley, Karen (Independent Bankers Assn. of Texas) Scurlock, Steve (IBAT)


Enhances the 'R' Optimization Infrastructure ('ROI') package with the quadratic solver 'qpOASES'. More information about 'qpOASES' can be found at <https://projects.coin-or.org/qpOASES/>.
| Version: | 0.3-1 |
| Imports: | methods, slam, Matrix, ROI (≥ 0.2-5), Rcpp (≥ 0.12.11) |
| LinkingTo: | Rcpp |
| Published: | 2018-06-05 |
| Author: | Florian Schwendinger [aut, cre], Hans Joachim Ferreau [cph], Andreas Potschka [cph], Christian Kirches [cph], Dennis Janka [cph], Andreas Waechter [cph] |
| Maintainer: | Florian Schwendinger <FlorianSchwendinger at gmx.at> |
| License: | GPL-3 |
| URL: | http://R-Forge.R-project.org/projects/roi |
| NeedsCompilation: | yes |
| In views: | Optimization |
| CRAN checks: | ROI.plugin.qpoases results |
| Reference manual: | ROI.plugin.qpoases.pdf |
| Package source: | ROI.plugin.qpoases_0.3-1.tar.gz |
| Windows binaries: | r-devel: ROI.plugin.qpoases_0.3-1.zip, r-release: ROI.plugin.qpoases_0.3-1.zip, r-oldrel: ROI.plugin.qpoases_0.3-1.zip |
| OS X binaries: | r-release: ROI.plugin.qpoases_0.3-1.tgz, r-oldrel: ROI.plugin.qpoases_0.3-1.tgz |
| Old sources: | ROI.plugin.qpoases archive |
Please use the canonical form https://CRAN.R-project.org/package=ROI.plugin.qpoases to link to this page.


@() @import org.hadatac.console.views.html._ @main("Users Pre-Registration","","") {
Explanation: The email that you provided is not in the list of user emails pre-approved to log into HADatAc as data owners. Once your email address has been added to the list of pre-approved users, it is said that you are pre-registered with HADatAc as a data owner.
How to proceed: HADatAc administrators are responsible for user pre-registration. Please contact your HADatAc administrator and ask to be pre-registered. Please make sure that you have been pre-registered before you try to sign-up again.
Press OK button to return to HADataC's main page Ok


Graded device support matrix
Note: this matrix has been superseded by the newer graded browser support levels.
This is the matrix of devices we as project identified at the start of the development process as target platforms. The final supported devices for 1.0 and beyond will be determined by the shifting mobile browser space and technical feasibility.
What do the grades mean? The grades are a combination of the browser quality combined with the browser's relevance in the larger mobile market. Generally speaking we break down the grades in this manner:
Key:
- A High Quality. A browser that's capable of, at minimum, utilizing media queries (a requirement for jQuery Mobile). These browsers will be actively tested against but may not receive the full capabilities of jQuery Mobile.
- B Medium Quality. A capable browser that doesn't have enough market share to warrant day-to-day testing. Bug fixes will still be applied to help these browsers.
- C Low Quality. A browser that is not capable of utilizing media queries. They won't be provided any jQuery Mobile scripting or CSS (falling back to plain HTML and simple CSS).
- Upcoming browser. This browser is not yet released but is in alpha/beta testing.


Workshop ReactJS
With Khaidir Afif
Preparing The Tools
- Postman (Chrome apps)
- React Developer Tools (Chrome extension)
- babel-sublime (Sublime package)
- create-react-app (npm global)
npm install -g create-react-app
- Your Starter React App
create-react-app [your-project]
What is ReactJS?
It's a JavaScript framework library.
React is just a V in MVC
Most popular programming languages
source: Stack Overflow
Most loved framework/libraries
source: Stack Overflow
Why ReactJS?
-
Fast
React use virtual DOM to render element
-
Modular
You can render component in any places
Figure it out!
http://chrisharrington.github.io/demos/performance/How React renders an element
index.js
ReactDOM.render(

Hello world!
,
document.getElementById('root')
)
index.html
...

...
JSX
Syntax extension to JavaScript
- Strict syntax
- Only have one wraper element
- Can embed javascript expression
Do
<input type="text" name="name" />
Don't
<input type="text" name="name" >
- Strict syntax
- Only have one wraper element
- Can embed javascript expression
Do

Hello world!

Don't

Hello world!

Hello world!

- Strict syntax
- Only have one wraper element
- Can embed javascript expression
const a = 2
...

{a * 2}

Container Component
vs
Presentational Component
Container Component
Hold state and logic of the components
Presentational Component
Also known as dumb component, coz its task only rendering a component. It can only receive props.
State
A javascript object as 'model' data in react app
state = {
amount: 0,
expense: [],
isChecked: true
}
Props
React component attribute
<ExpenseBox
name="Buku Harry Potter"
amount=50000
date="25/03/2017" />
React Event Handler
React event are named using camelCase and pass a function rather than a string
-
HTML
<button onclick="handleClick()">Order Now</button>
-
React
<button onClick={this.handleClick}>Order Now</button>
List and Keys
Every component inside the array should have key property. It would help react to identify which items have changed
This list
const foods = ['Siomay', 'Batagor', 'Rujak']
const listItems = foods.map((food, index) =>
{food}
)
Will be transformed
const listItems = (
Siomay

Batagor

Rujak
 )
React Component Lifecycle
Getting Started with ES6
It will save our lyfe
- Arrow function
- Spread operator
- Import module
// ES6 () => { console.log('Hello world') } // ES5 function() { console.log('Hello world!') }
// ES6 (item) => item * 2 // ES5 function(item) { return item * 2 }
- Arrow function
- Spread operator
- Import module
const array = [1, 2, 3]
const newArray = [...array, 4] // [1, 2, 3, 4]
- Arrow function
- Spread operator
- Import module
// ES6 import React, { Component, PropTypes } from 'react' // ES5 var React = require('react') var Component = React.Component var PropTypes = React.PropTypes
Let's code!
Thank you
Source:


Members
RenderableShape
Renderable Shape - Important for mouse events and culling
- Source:
Methods
DEGREETORAD(Angle) → {Number}
Converts Degrees to Radians
Parameters:
| Name | Type | Description |
|---|---|---|
Angle |
Number | Degree Value |
- Source:
Returns:
- Angle in Radians
- Type
- Number
Layer()
Not Accessible Directly from User
Must be used by Scene.GetLayer()
- Source:
RADTODEGREE(Radian) → {Number}
Converts Radians to Degrees
Parameters:
| Name | Type | Description |
|---|---|---|
Radian |
Number | Value |
- Source:
Returns:
- Angle in Degrees
- Type
- Number


Get hands-on experience to contribution in open source projects! Write codes and get them merged to win exciting prizes


module BatPervasives:{
..}
This module provides the basic operations over the built-in types (numbers, booleans, strings, exceptions, references, lists, arrays, input-output channels, ...)
This module is automatically opened at the beginning of each compilation.
All components of this module can therefore be referred by their short
name, without prefixing them by BatPervasives
.
let input_lines : Pervasives.in_channel => BatEnum.t string
input_line
function.let input_chars : Pervasives.in_channel => BatEnum.t char
let input_list : Pervasives.in_channel => list string
let input_all : Pervasives.in_channel => string
let dump : 'a => string
Works well for a lot of cases such as non-empty lists, algebraic datatype, and records.
However, since types are lost at compile-time, the representation
might not match your type. (0, 1) will be printed as expected, but
(1, 0) and 1
have the same representation and will get printed
in the same way. The result of dump
is unspecified and may
change in future versions, so you should only use it for debugging
and never have program behavior depend on the output.
Here is a list of some of the surprising corner cases of the current implementation:
3
, (0.5, 0) is printed 0.5
, etc.dump
may fail for ill-formed values, such as obtained from
a faulty C binding or crazy uses of Obj.set_tag
.let print_any : BatIO.output 'b => 'a => unit
Uses dump
to convert the value to a string and prints that
string to the output.
More list operations are provided in module List
.
let (@) : list 'a => list 'a => list 'a
This section only contains the most common input/output operations.
More operations may be found in modules BatIO
and File
.
let stdin : BatIO.input
Use this input to read what the user is writing on the keyboard.
let stdout : BatIO.output unit
Use this output to display regular messages.
let stderr : BatIO.output unit
Use this output to display warnings and error messages.
let stdnull : BatIO.output unit
Use this output to ignore messages.
let flush_all : unit => unit
It is normally not necessary to call this function, as all pending
data is written when an output channel is closed or when the
program itself terminates, either normally or because of an
uncaught exception. However, this function is useful for
debugging, as it forces pending data to be written immediately.
let print_bool : bool => unit
let print_guess : BatIO.output 'a => 'b => unit
BatPervasives.dump
. This function is
useful mostly for debugging. As a general rule, it should not be
used in production code.let print_all : BatIO.input => unit
let prerr_bool : bool => unit
let prerr_guess : 'a => unit
BatPervasives.dump
. This function is
useful mostly for debugging.let prerr_all : BatIO.input => unit
let output_file : filename::string => text::string => unit
let open_out : mode::list BatFile.open_out_flag? =>
perm::BatFile.permission? => string => BatIO.output unit
You may use optional argument mode
to decide whether the
output will overwrite the contents of the file (by default) or
to add things at the end of the file, whether the file should be
created if it does not exist yet (the default) or not, whether
this operation should proceed if the file exists already (the
default) or not, whether the file should be opened as text
(the default) or as binary, and whether the file should be
opened for non-blocking operations.
You may use optional argument perm
to specify the permissions
of the file, as per Unix conventions. By default, files are created
with default permissions (which depend on your setup).
Raises Sys_error
if the file could not be opened.
let open_out_bin : string => BatIO.output unit
BatPervasives.open_out
, but the file is opened in binary mode, so
that no translation takes place during writes. On operating
systems that do not distinguish between text mode and binary
mode, this function behaves like BatPervasives.open_out
without any
mode
or perm
.let open_out_gen : list Pervasives.open_flag => int => string => BatIO.output unit
open_out instead
open_out_gen mode perm filename
opens the named file for writing,
as described above. The extra argument mode
specifies the opening mode. The extra argument perm
specifies
the file permissions, in case the file must be created.let flush : BatIO.output unit => unit
let output_char : BatIO.output unit => char => unit
let output_string : BatIO.output unit => string => unit
let output : BatIO.output unit => string => int => int => unit
output oc buf pos len
writes len
characters from string buf
,
starting at offset pos
, to the given output channel oc
.Invalid_argument
if pos
and len
do not
designate a valid substring of buf
.let output_byte : BatIO.output unit => int => unit
let output_binary_int : BatIO.output unit => int => unit
Pervasives.input_binary_int
function. The format is compatible across
all machines for a given version of OCaml.let output_binary_float : BatIO.output unit => float => unit
Pervasives.input_binary_float
function. The format is compatible across
all machines for a given version of OCaml.let output_value : BatIO.output unit => 'a => unit
BatPervasives.input_value
. See the description of module
Marshal
for more information. BatPervasives.output_value
is equivalent
to Marshal.output
with an empty list of flags.let close_out : BatIO.output unit => unit
Sys_error
exception when they are
applied to a closed output channel, except close_out
and flush
,
which do nothing when applied to an already closed channel.Sys_error
if the operating
system signals an error when flushing or closing.let close_out_noerr : BatIO.output unit => unit
close_out
, but ignore all errors.let input_file : bin::bool? => string => string
let open_in : mode::list BatFile.open_in_flag? =>
perm::BatFile.permission? => string => BatIO.input
You may use optional argument mode
to decide whether the opening
should fail if the file doesn't exist yet (by default) or whether
the file should be created if it doesn't exist yet, whether the
opening should fail if the file already exists or not (by
default), whether the file should be read as binary (by default)
or as text, and whether reading should be non-blocking.
You may use optional argument perm
to specify the permissions of
the file, should it be created, as per Unix conventions. By
default, files are created with default permissions (which depend
on your setup).
Raises Sys_error
if the file could not be opened.
let open_in_bin : string => BatIO.input
Pervasives.open_in
, but the file is opened in binary mode,
so that no translation takes place during reads. On operating
systems that do not distinguish between text mode and binary
mode, this function behaves like Pervasives.open_in
.let open_in_gen : list Pervasives.open_flag => int => string => BatIO.input
open_in instead
open_in mode perm filename
opens the named file for reading,
as described above. The extra arguments mode
and perm
specify the opening mode and file permissions.
Pervasives.open_in
and Pervasives.open_in_bin
are special
cases of this function.let input_char : BatIO.input => char
End_of_file
if there are no more characters to read.let input_line : BatIO.input => string
End_of_file
if the end of the file is reached
at the beginning of line.let input : BatIO.input => string => int => int => int
input ic buf pos len
reads up to len
characters from
the given channel ic
, storing them in string buf
, starting at
character number pos
.
It returns the actual number of characters read, between 0 and
len
(inclusive).
A return value of 0 means that the end of file was reached.
A return value between 0 and len
exclusive means that
not all requested len
characters were read, either because
no more characters were available at that time, or because
the implementation found it convenient to do a partial read;
input
must be called again to read the remaining characters,
if desired. (See also Pervasives.really_input
for reading
exactly len
characters.)Invalid_argument
if pos
and len
do not designate a valid substring of buf
.let really_input : BatIO.input => string => int => int => unit
really_input ic buf pos len
reads len
characters from channel ic
,
storing them in string buf
, starting at character number pos
.End_of_file
if the end of file is reached before len
characters have been read.Invalid_argument
if
pos
and len
do not designate a valid substring of buf
.let input_byte : BatIO.input => int
Pervasives.input_char
, but return the 8-bit integer representing
the character.End_of_file
if an end of file was reached.let input_binary_int : BatIO.input => int
Pervasives.output_binary_int
.End_of_file
if an end of file was reached while reading the
integer.let input_binary_float : BatIO.input => float
Pervasives.output_binary_float
.End_of_file
if an end of file was reached while reading the
float.let input_value : BatIO.input => 'a
BatPervasives.output_value
, and return the corresponding value.
This function is identical to Marshal.input
;
see the description of module Marshal
for more information,
in particular concerning the lack of type safety.let close_in : BatIO.input => unit
Sys_error
exception when they are applied to a closed input channel,
except close_in
, which does nothing when applied to an already
closed channel.Sys_error
if
the operating system signals an error.let close_in_noerr : BatIO.input => unit
close_in
, but ignore all errors.let identity : 'a => 'a
let undefined : message::string? => 'a => 'b
Evaluating undefined x
always fails and raises an exception
"Undefined". Optional argument message
permits the
customization of the error message.
let (@@) : ('a => 'b) => 'a => 'b
f @@ x
is equivalent to f x
.
However, it binds less tightly (between ::
and =
,<
,>
,etc)
and is right-associative, which makes it useful for composing sequences of
function calls without too many parentheses. It is similar to Haskell's $
.
Note that it replaces pre-2.0 **>
and <|
.let (%) : ('a => 'b) => ('c => 'a) => 'c => 'b
o
operator.
f % g
is fun x -> f (g x)
. It is similar to Haskell's .
.
Examples: the following are equivalent:
f (g (h x))
, f @@ g @@ h x
, f % g % h @@ x
.
let (|>) : 'a => ('a => 'b) => 'b
x |> f
is equivalent to f x
.
This operator is commonly used to write a function composition by order of evaluation (the order used in object-oriented programming) rather than by inverse order (the order typically used in functional programming).
For instance, g (f x)
means "apply f
to x
, then apply g
to
the result." The corresponding notation in most object-oriented
programming languages would be somewhere along the lines of x.f.g.h()
,
or "starting from x
, apply f
, then apply g
." In OCaml,
using the ( |> ) operator, this is written x |> f |> g |> h
.
This operator may also be useful for composing sequences of
function calls without too many parentheses.
let (%>) : ('a => 'b) => ('b => 'c) => 'a => 'c
f %> g
is fun x -> g (f x)
.

Note that it plays well with pipes, so for instance
x |> f %> g %> h |> i %> j
yields the expected result...
but in such cases it's still recommended to use |>
only.
Note that it replaces pre-2.0 |-
, which didn't integrate with
pipes.let (|?) : option 'a => 'a => 'a
BatOption.default
, with the arguments reversed.
None |? 10
returns 10
, while Some "foo" |? "bar"
returns "foo"
.
Note This operator does not short circuit like ( || )
and ( && )
.
Both arguments will be evaluated.
Since 2.0
let flip : ('a => 'b => 'c) => 'b => 'a => 'c
flip f x y
is f y x
. Don't abuse this function, it may shorten
considerably your code but it also has the nasty habit of making
it harder to read.
let curry : (('a, 'b) => 'c) => 'a => 'b => 'c
curry f
is fun x y -> f (x,y)
let uncurry : ('a => 'b => 'c) => ('a, 'b) => 'c
uncurry f
is fun (x, y) -> f x y
let neg : ('a => bool) => 'a => bool
neg p
returns a new predicate that is the negation of the given
predicate. That is, the new predicate returns false
when the
input predicate returns true
and vice versa. This is for
predicates with one argument.
neg p
is fun x -> not (p x)
let neg2 : ('a => 'b => bool) => 'a => 'b => bool
neg
but for predicates with two argumentslet const : 'a => 'b => 'a
const x
is the function which always returns x
.
let unique : unit => int
Note This is thread-safe.
let tap : ('a => unit) => 'a => 'a
x |> tap f
evaluates to x
, but has the side effect of f x
. Useful for
debugging.let finally : (unit => unit) => ('a => 'b) => 'a => 'b
finally fend f x
calls f x
and then fend()
even if f x
raised
an exception.let with_dispose : dispose::('a => unit) => ('a => 'b) => 'a => 'b
with_dispose dispose f x
invokes f
on x
, calling dispose x
when f
terminates (either with a return value or an
exception).let forever : ('a => 'b) => 'a => unit
forever f x
invokes f
on x
repeatedly (until an exception occurs).let ignore_exceptions : ('a => 'b) => 'a => unit
ignore_exceptions f x
invokes f
on x
, ignoring both the returned value
and the exceptions that may be raised.let verify_arg : bool => string => unit
verify_arg condition message
will raise Invalid_argument message
if
condition
is false, otherwise it does nothing.let args : unit => BatEnum.t string
args ()
is given by the elements of Sys.argv
, minus the first element.
let exe : string
exe
is given by the first argument of Sys.argv
In OCaml Batteries Included, all data structures are enumerable,
which means that they support a number of standard operations,
transformations, etc. The general manner of enumerating the
contents of a data structure is to invoke the enum
function of
your data structure.
For instance, you may use the BatPervasives.foreach
loop to apply a function
f
to all the consecutive elements of a string s
. For this
purpose, you may write either foreach (String.enum s) f
or open
String in foreach (enum s) f
. Either possibility states that you
are enumerating through a character string s
. Should you prefer
your enumeration to proceed from the end of the string to the
beginning, you may replace String.enum
with String.backwards
. Therefore, either foreach (String.backwards s)
f
or open String in foreach (backwards s) f
will apply f
to all the consecutive elements of string s
, from the last to
the first.
Similarly, you may use List.enum
instead of String.enum
to
visit the elements of a list in the usual order, or
List.backwards
instead of String.backwards
to visit them
in the opposite order, or Hashtbl.enum
for hash tables, etc.
More operations on enumerations are defined in module BatEnum
,
including the necessary constructors to make your own structures
enumerable.
The various kinds of loops are detailed further in this documentation.
let foreach : BatEnum.t 'a => ('a => unit) => unit
foreach e f
applies function f
to each successive element of e
.
For instance, foreach (1 -- 10) print_int
invokes function print_int
on 1
, 2
, ..., 10
, printing<PHONE_NUMBER>0
.
Note This function is one of the many loops available on
enumerations. Other commonly used loops are BatPervasives.iter
(same usage
scenario as foreach
, but with different notations), BatPervasives.map
(convert an enumeration to another enumeration) or BatPervasives.fold
(flatten an enumeration by applying an operation to each
element).
The following functions are the three main general-purpose loops available in OCaml. By opposition to the loops available in imperative languages, OCaml loops are regular functions, which may be passed, composed, currified, etc. In particular, each of these loops may be considered either as a manner of applying a function to a data structure or as transforming a function into another function which will act on a whole data structure.
For instance, if f
is a function operating on one value, you may
lift this function to operate on all values of an enumeration (and
consequently on all values of any data structure of OCaml Batteries
Included) by applying BatPervasives.iter
, BatPervasives.map
or BatPervasives.fold
to this function.
let iter : ('a => unit) => BatEnum.t 'a => unit
If f
is a function iter f
is a function which behaves as f
but acts upon enumerations rather than individual elements. As
indicated in the type of iter
, f
must produce values of type
unit
(i.e. f
has no meaningful result) the resulting function
produces no meaningful result either.
In other words, iter f
is a function which, when applied upon
an enumeration e
, calls f
with each element of e
in turn.
For instance, iter f (1 -- 10)
invokes function f
on 1
,
2
, ..., 10
and produces value ()
.
let map : ('a => 'b) => BatEnum.t 'a => BatEnum.t 'b
If f
is a function, map f e
is a function which behaves as
f
but acts upon enumerations rather than individual elements --
and builds a new enumeration from the results of each application.
In other words, map f
is a function which, when applied
upon an enumeration containing elements e0
, e1
, ...,
produces enumeration f e0
, f e1
, ...
For instance, if odd
is the function which returns true
when applied to an odd number or false
when applied to
an even number, map odd (1 -- 10)
produces enumeration
true
, false
, true
, ..., false
.
Similarly, if square
is the function fun x -> x * x
,
map square (1 -- 10)
produces the enumeration of the
square numbers of all numbers between 1
and 10
.
let filter_map : ('a => option 'b) => BatEnum.t 'a => BatEnum.t 'b
BatPervasives.filter
combined with a BatPervasives.map
.let reduce : ('a => 'a => 'a) => BatEnum.t 'a => 'a
If f
is a function and e
is an enumeration, reduce f e
applies
function f
to the first two elements of e
, then to the result of this
expression and to the third element of e
, then to the result of this
new expression and to the fourth element of e
...
In other words, reduce f e
returns a0
if e
contains only
one element a0
, otherwise f (... (f (f a0) a1) ...) aN
where
a0,a1..aN
are the elements of e
.
Raises Not_found
if e
is empty.
For instance, if add
is the function fun x y -> x + y
,
reduce add
is the function which computes the sum of the
elements of an enumeration -- and doesn't work on empty
enumerations. Therefore, reduce add (1 -- 10)
produces result 55
.
let fold : ('b => 'a => 'b) => 'b => BatEnum.t 'a => 'b
If f
is a function, fold f v e
applies f v
to the first
element of e
, then, calling acc_1
the result of this
operation, applies f acc_1
to the second element of e
, then,
calling acc_2
the result of this operation, applies f acc_2
to the third element of e
...
In other words, fold f v e
returns v
if e
is empty,
otherwise f (... (f (f v a0) a1) ...) aN
where a0,a1..aN are
the elements of e
.
For instance, if add
is the function fun x y -> x + y
,
fold add 0
is the function which computes the sum of the
elements of an enumeration. Therefore, fold add 0 (1 -- 10)
produces result 55
.
let scanl : ('b => 'a => 'b) => 'b => BatEnum.t 'a => BatEnum.t 'b
BatPervasives.fold
which returns not only the final
result of BatPervasives.fold
but the enumeration of all the intermediate
results of BatPervasives.fold
.
If f
is a function, scanl f v e
is applies f v
to the first
element of e
, then, calling acc_1
the result of this
operation, applies f acc_1
to the second element of e
, then,
calling acc_2
the result of this operation, applies f acc_2
to the third element of e
...
For instance, if add
is the function fun x y -> x + y
,
scanl add 0
is the function which computes the sum of the
elements of an enumeration. Therefore, scanl add 0 (1 -- 10)
produces result the enumeration with elements 0, 1, 3, 6, 10,
15, 21, 28, 36, 45, 55
.
let (/@) : BatEnum.t 'a => ('a => 'b) => BatEnum.t 'b
let (@/) : ('a => 'b) => BatEnum.t 'a => BatEnum.t 'b
These operators have the same meaning as function BatPervasives.map
but are
sometimes more readable than this function, when chaining
several transformations in a row.
let (//@) : BatEnum.t 'a => ('a => option 'b) => BatEnum.t 'b
let (@//) : ('a => option 'b) => BatEnum.t 'a => BatEnum.t 'b
BatPervasives.filter_map
.let exists : ('a => bool) => BatEnum.t 'a => bool
exists f e
returns true
if there is some x
in e
such
that f x
let for_all : ('a => bool) => BatEnum.t 'a => bool
exists f e
returns true
if for every x
in e
, f x
is truelet find : ('a => bool) => BatEnum.t 'a => 'a
find f e
returns the first element x
of e
such that f x
returns
true
, consuming the enumeration up to and including the
found element, or, raises Not_found
if no such element exists
in the enumeration, consuming the whole enumeration in the search.
Since find
consumes a prefix of the enumeration, it can be used several
times on the same enumeration to find the next element.
Raises Not_found
if no element in the whole enumeration satisfies the predicate
let peek : BatEnum.t 'a => option 'a
peek e
returns None
if e
is empty or Some x
where x
is
the next element of e
. The element is not removed from the
enumeration.let get : BatEnum.t 'a => option 'a
get e
returns None
if e
is empty or Some x
where x
is
the next element of e
, in which case the element is removed
from the enumeration.let push : BatEnum.t 'a => 'a => unit
push e x
will add x
at the beginning of e
.let junk : BatEnum.t 'a => unit
junk e
removes the first element from the enumeration, if any.let filter : ('a => bool) => BatEnum.t 'a => BatEnum.t 'a
filter f e
returns an enumeration over all elements x
of e
such
as f x
returns true
.let (//) : BatEnum.t 'a => ('a => bool) => BatEnum.t 'a
For instance, (1 -- 37) // odd
is the enumeration of all odd
numbers between 1 and 37.
let concat : BatEnum.t (BatEnum.t 'a) => BatEnum.t 'a
concat e
returns an enumeration over all elements of all enumerations
of e
.let (--) : int => int => BatEnum.t int
5 -- 10
is the enumeration 5,6,7,8,9,10.
10 -- 5
is the empty enumeration
let (--^) : int => int => BatEnum.t int
5 -- 10
is the enumeration 5,6,7,8,9.
let (--.) : (float, float) => float => BatEnum.t float
(a, step) --. b)
creates a float enumeration from a
to b
with an
increment of step
between elements.
(5.0, 1.0) --. 10.0
is the enumeration 5.0,6.0,7.0,8.0,9.0,10.0.
(10.0, -1.0) --. 5.0
is the enumeration 10.0,9.0,8.0,7.0,6.0,5.0.
(10.0, 1.0) --. 1.0
is the empty enumeration.
let (---) : int => int => BatEnum.t int
--
, but accepts enumerations in reverse order.
5 --- 10
is the enumeration 5,6,7,8,9,10.
10 --- 5
is the enumeration 10,9,8,7,6,5.
let (--~) : char => char => BatEnum.t char
let print : first::string? =>
last::string? =>
sep::string? =>
(BatInnerIO.output 'a => 'b => unit) =>
BatInnerIO.output 'a => BatEnum.t 'b => unit
type result'a 'b
=BatInnerPervasives.result 'a 'b
=
| |
Ok of |
|||
| |
Bad of |
(* |
The result of a computation - either an
Ok with the normal
result or a Bad with some value (often an exception) containing
failure information | *) |
'a
are marked
with Ok
, while failure values of type 'b
are marked with
Bad
.
This is intended to be a safer alternative to functions raising exceptions to signal failure. It is safer in that the possibility of failure has to be handled before the result of that computation can be used.
For more functions related to this type, see the BatResult
module.
let ignore_ok : result 'a exn => unit
ignore_ok (f x)
ignores the result of f x
if it's ok, but
throws the exception contained if Bad
is returned.let ok : result 'a exn => 'a
f x |> ok
unwraps the Ok
result of f x
and returns it, or
throws the exception contained if Bad
is returned.let wrap : ('a => 'b) => 'a => result 'b exn
wrap f x
wraps a function that would normally throw an exception
on failure such that it now returns a result with either the Ok
return value or the Bad
exception.
Unless you are attempting to adapt Batteries Included to a new model of
concurrency, you probably won't need this.
let lock : Pervasives.ref BatConcurrent.lock
By default, this is BatConcurrent.nolock
. However, if you're
using a version of Batteries compiled in threaded mode, this uses
BatMutex
. If you're attempting to use Batteries with another
concurrency model, set the lock appropriately.


It was actually my mom who got me on Ritalin. I had always done really well in school, took all advanced classes and had a 4.3 GPA. However, during my Junior year in High School, I just stopped caring. I didn't mind school, but I liked writing music and poetry better than doing my homework. My mom suggested we go to a doctor to see if I had ADD. I knew I didn't, but I had heard about the beneficial effects of drugs like Ritalin and Adderall. I agreed and told the doctor I had trouble concentrating for long periods of time, didn't have much motivation and some other basic symptoms I knew were present with ADD kids. After just one meeting with my doctor, he prescribed Ritalin for me. It was as easy as that.
I tried taking a full tablet at first, but found when I did I couldn't sleep. My body and mind would be absolutely drained but it took physical effort to keep my eyes closed. I would lay in bed and on one occasion actually cried out of frustration and sleep deprivation. After about three days of that, I decided to reduce my dosage to half a tablet.
What I found was incredible. My mind was fully aware of everything, I could write 2000 word essays in one sitting, and I began to really pay attention in class. Sometimes my hands would shake and I would get 'the shivers' (usually accompanied with a cold sweat). I was extremely social and excitable and best of all, I never needed to eat. I honestly stopped craving food altogether. Being a girl, and as superficial as it is, this was the most enjoyable part.
I'm still taking Ritalin, and have yet to up my dosage. I'm a petite girl, weighing 113 despite my 5'6' frame so any drug effects me strongly (though I have only tried weed and alcohol and disliked both). Ritalin keeps my weight low, keeps me motivated to do my school work and my GPA raised to a 4.5.
The only draw back is the occasional depression I feel. I am a very optimistic person by nature. But when I've been taking Ritalin continuously for about 3 or 4 days (I usually skip about 2 days a week), I get into these lows. They usually hit me late and night and make me think my friends don't really care about me, that I have no one to talk to, and that I would have nothing worth talking about anyway. I feel untalented, uninspired and useless I don't at all feel like myself during these times.
I wouldn't call myself addicted because I don't feel my body needing it when I'm off for awhile, but I definitely enjoy its effects. I don't want to stop taking it, which makes me wonder if I'll still be on Ritalin when I'm 40 with kids and a husband. I really don't like that thought.
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.


Mockup 1 Hinged Beam Deflection
Mockup 2 Clamped Beam Deflection
- Non-Software Engineering exists of a lot of repetitive work
- Work exist of smaller sub-problems that are easy to solve
- Yet, there is no place to collaborate on these problems
- Sndbxx is much like Codepen/JSFiddle
- Enabling Software Tools for Non-Software Problems
- Providing all required backend and libraries
- Using and editing is free
- Revenue comes from private development for proprietary tools
- Or by connecting Engineers to the vendors they need using this tool
- Alternatively, revenues may come from ads, but NEVER in an annoying way