Try out our Premium Member services: Virtual Legal Assistant, Query Alert Service and an ad-free experience. Free for one month and pay only if you like it.
IN THE HIGH COURT OF JUDICATURE AT PATNA Criminal Miscellaneous No.55997 of 2018 Arising Out of PS.Case No. -133 Year- 2018 Thana -BARUN District- AURANGABAD ====================================================== 1. Amresh Kumar, S/o Ramnath Singh, R/o Vill.- English , P.S.- Barun, District- Aurangabad (Bihar). 2. Ajit Kumar S/o Yogeshwar Paswan, R/o Vill.- Simra, P.S.- Barun, District- Aurangabad (Bihar). .... .... Petitioner/s Versus 1. The State of Bihar. 2. The Principal Secretary Cum Commissioner, Department of Mines and Geology, Government of Bihar, Patna. .... .... Opposite Party/s ====================================================== Appearance : For the Petitioner/s : Mr. Ravindra Kumar, Advocate For the State : Mr. Jeetendra Kumar Singh, A.P.P. ====================================================== CORAM: HONOURABLE MR. JUSTICE VIKASH JAIN ORAL ORDER
2 08-10-2018 Heard learned counsel for the petitioners and learned APP for the State.
2. The petitioners apprehend their arrest for the offences alleged under Sections 379/420/411/34 of the Indian Penal Code, Section 4/40 of the Bihar Mines and Minerals Concession Rules, 1972 and Section 15 of the Prevention of Pollution Act, 1986 registered in connection with Barun P.S. Case No. 133 of 2018.
3. It is submitted that the petitioners have been falsely implicated and in any event, they were merely engaged in transporting the sand purchased from Contractors. They have not Patna High Court Cr.M isc. No.55997 of 2018 (2) dt.08-10-2018 2/3 been apprehended in course of illegal mining and trafficking of sand. Similarly situated co-accused have been granted anticipatory bail by this Court in Cr. Misc. No. 47148 of 2018 and Cr. Misc. No. 47306 of 2018. Petitioners claim clean antecedent.
4. Having regard to the entirety of the facts and circumstances, as such, in the event of the petitioners' arrest or surrender before the court below within six weeks from the date of communication of this order, let the above named petitioners be released on bail on furnishing bail bond of Rs. 10,000/- (ten thousand) each with two sureties of like amount each to the satisfaction of learned C.J.M., Aurangabad, in connection with Barun P.S. Case No. 133 of 2018, subject to the conditions as laid down under Section 438(2) Cr.P.C. and also subject to the following further conditions :
(i) That one of the bailors shall be a close relative of the petitioners.
(ii) That the petitioners shall not indulge in any similar offence till conclusion of the trial.
(iii) That the petitioners shall co-operate with the investigation, if not already concluded, and make themselves available as and when so required and in case of failure, the State shall be at liberty to move for cancellation of bail. Patna High Court Cr.M isc. No.55997 of 2018 (2) dt.08-10-2018 3/3
(iv) The petitioners shall remain physically present in Court on each and every date during trial and in the event of failure on two consecutive dates without sufficient reason, their bail bond shall be liable to be cancelled by the learned Court concerned.
(Vikash Jain, J) N.H./- Chandran U T


Jimmy Red corn grits, Greener Root's greens, neotata calabrese.
San Marzano tomato, frascatelli, basil, grana padano.
sweet potatoes, maitake mushrooms, arugula.


The PFA vows to 'robustly defend' sacked Derby captain Richard Keogh
Rams captain Keogh was dismissed by the Championship club after being involved in the incident which saw team-mates Tom Lawrence and Mason Bennett arrested
by James Nursey, https://www.mirror.co.uk/authors/james-nursey/The PFA have vowed to "robustly defend" Richard Keogh after Derby ripped up his £26,000-a-week contact following the club's drink-drive scandal.
Rams captain Keogh was dismissed by the Championship club after being involved in the incident which saw team-mates Tom Lawrence and Mason Bennett arrested.
Lawrence,25, and Bennett, 23, were both fined six weeks' wages by County as they pleaded guilty to drink driving their respective cars after a boozy bonding session.
But they remain at the club and have played since while veteran Keogh,33, who was a passenger and badly injured in the smash after not wearing a seatbelt, has been sacked.
A PFA spokesman said: "We will robustly defend our member because we feel he has been unfairly treated."
Keogh suffered a knee injury in the crash on September 24 and will be out for around 15 months.
His contract was due to expire in 2021 and Derby offered Keogh a revised deal on vastly reduced wages.
Keogh is now appealing Derby's decision and the PFA have vowed to back him.
Earlier this week the player's agent Cos Toffis insisted Keogh deserved to be treated as family by the club after his loyal service since joining in 2012 from Coventry and playing over 300 games.
Midfielder Lawrence and Rams forward Bennett were given 12-month community orders and banned from driving for two years by Derby magistrates.
Former defender Richard Dunne used a column in the Irish Independent at the weekend to question whether the Republic of Ireland international's punishment related to his age and injury, while the younger players were kept at the club - thoughts echoed by Keogh's agent Cos Toffis.
"I think it could be quite a big can of worms," Toffis told TalkSport. "If this goes in Derby's favour there will be a lot of players in difficult positions at their football clubs.
"Older players with less market value who are on a lot of money, these are scenarios you have at every football club in the world. Should they start wrapping themselves up in cotton wool to avoid any situations like this?"


{% extends "base.html" %} {% block title %}
Medieval catalogues > UNIVERSITY AND COLLEGE LIBRARIES OF OXFORD > Merton College > Catalogue of philosophical books, early 14th cent.
{% endif %}151 identified entries found.
All data was derived from the List of Identifications by Professor Richard Sharpe.
{% if not printing %}
A key to codes used in the List is available (opens in new tab).{% endif %}


| DOSE: T+ 0:00 |
8.0 mg |
oral |
2C-B-Fly |
(capsule) |
| T+ 0:40 |
|
smoked |
Cannabis |
|
| T+ 2:15 |
5.0 mg |
oral |
2C-B-Fly |
(capsule) |
| T+ 2:41 |
|
smoked |
Cannabis |
|
| T+ 3:35 |
|
smoked |
Cannabis |
|
| T+ 4:40 |
0.5 tablets |
oral |
2C-B |
(pill / tablet) |
| T+ 8:50 |
5.0 mg |
oral |
2C-B |
(pill / tablet) |
2C-B has become one of my favorite recreational substances, something I can enjoy nearly anytime and never have to worry about taking. It also combines remarkably well with just about anything. Naturally I was curious how its uncommon relative, 2C-B-Fly, compares. I expected Fly to be fairly different, considering the radical nature of the substitutions, which more-or-less remove the substance from the phenethylamine family.
My first hundred milligrams of 2C-B-Fly came in a labeled plastic bag with an MSDS sheet. It sat in storage for a week before I found the time to encapsulate samples of it. The ascetic task of hand-filling capsules with a scoop and microfunnel is time-consuming, but a wonderful chance to get acquainted with any drug.
I deliberated for a while before taking the dose, originally planning on 11:15AM. While I mostly expected a light and controllable trip, the little-studied and unique nature of the benzodifurans left me with some mild doubts as to the safety of the powder. I did some last-minute research online before dosing.
Timeline:
11:35AM: I swallow a gel cap containing 8 milligrams of 2C-B-Fly. I puncture the capsule first to hasten the release and it goes down into my empty stomach.
12:05: I’m feeling some flutters and echoes in my stomach. Some slight chills and trembles extend out into my fingers and legs.
12:15: No effect other than a slight physical response… So at this time I smoke some pot. It seems to strengthen the still-slowly developing 2C-B-Fly, bringing its hum up into my head to mix with the pot-induced daze… I still feel it in the stomach and extremities as well. I can start to visualize the personality of the 2C-B-Fly: so far, it is something warm and ethereal, ever-moving but not forceful.
12:35: I wandered into the kitchen to find some food, as I started to feel hungry. Forgetting that I had recently dropped a wine bottle in the kitchen and the broken glass had not been completely swept up yet, I foolishly walked in barefoot and cut my foot! Bleeding while tripping is not a happy thing. Luckily the substances I’m on at the time do not amplify pain or paranoia. The cut bleeds a lot but isn’t quite bad enough to require a hospital visit.
12:40: I react to the trauma of seeing my blood spilled by dipping down into a self-pitying and negative mood. The injury shatters my attitude that this is ‘drug experimentation time’ and I should be free to enjoy myself without real-world hazards to interrupt me. I have negative thoughts about being a drug user: That there is always a tremendous price to pay, and every day must be spent ready to undergo tribulations for the privilege. I act calm, but inside I feel angry.
12:45: I’m monitoring my foot and trying to ensure the bleeding stops... it’s too bad that trips don't have a pause button. The tingling feelings induced by the 2C-B-Fly are moving from my extremities up to my face. My foot is sore. There are no visuals, only slight pupil dilation, a slight pulse increase, and the mood would be euphoric if not for the unease induced by my injury. I can’t get the bleeding to stop yet.
12:55: I got my foot to stop bleeding most of the way and patched it up. Around this time, some visual effects were noted. Unusually vibrant colors and patterns were spotted on a kleenex box. Kleenex boxes always have flowers on them that look beautiful but fake. The flowers spawned some very unusual color highlights… and once I saw them in the texture of the flowers, they appeared elsewhere in the room. It was a subtle effect, and it did not stay for long, but quite striking when I noticed it.
1:00: I’m listening to ‘Venus in Furs’ by the Velvet Underground and pondering the connections between pleasure and pain as the dull ache in my foot slowly fades. I think about how the appreciation of pleasure is increased after pain has been overcome and endured. A rush of endorphins seems to mix with the 2C-B-Fly energy. I feel powerful, and my negative mood is reversed. I ask myself: Do I really want to live a whole life not knowing pain or fear at all? I'm glad I sliced my foot open while I was tripping on this substance.
1:10: The pot is wearing off. Rather than smoke more I decide to take the time to see the character of 2C-B-Fly alone for a while.
1:15: There are occasional chills and stomach tightness, but no nausea. Fuzzy, colorful, simple, subtle visuals flirtatiously come and go. I’m considering a mild redose at the 2 hour point. Still listening to music. The substance seems good for musical appreciation… no auditory hallucinations or direct auditory enhancement, just a good appreciation of musical structure. Many different songs sound pleasing and I’m not very picky.
1:50: I just called a pizza place I’ve never ordered from before, because I’m hungry and want to try something new. Plus, the kitchen still being a possible razor bed makes it a nice day to order out. After hanging up the telephone I redosed: A capsule containing about 5 milligrams of additional 2C-B-Fly goes down, bringing my total dose up to 13mg.
2:00: 2C-B-Fly is now mostly just a face-centric high, but it never completely stops tingling in the stomach or extremities. It fluctuates in intensity but never pushes beyond maybe a ++.
2:16: I smoked some more pot. It helps bring out the slightly marginal visuals… pot seems optional with 2C-B but nearly essential with this analogue, to flesh it out around the borders. At least at a lower dose such as this.
2:25: I’m listening to William S. Burroughs poetry as the redose kicks in. I’m intensely flushed and red. My heartbeat is not accelerated but it is slightly irregular. Skin tingling continues, mild euphoria comes and goes in waves.
2:45: Stimulation; moving around feels good. At one point I find myself dancing alone in the apartment. And then the pizza I ordered arrives. I decide to go watch TV while I eat it.
3:10: I’m watching television. Whatever visuals I may have been having have died down and the body high has once again receded. It’s just a mild hum at this point. I smoke some more pot, evening things out once again. At this point I consider taking some 2C-B. I would like to see how they mix while the Fly still has some sort of effect continuing.
4:15: I take half a 2C-B tablet and go to take a shower.
4:35: I allow myself to stand around lazily in the shower, luxuriating in the feeling of the water and the comfort of my thoughts. Thought patterns are a little more whimsical than normal and thinking is shifted in a way that’s difficult to explain. This is from the 2C-B-Fly, as the 2C-B has not yet taken effect.
My shower is very spacious, however it has a temperature irregularity problem. It occasionally shifts from warm, comfortable water abruptly to much colder water for a couple of seconds before shifting back. This can be a good tester for tactile enhancement levels. A cold water blast while on 2C-B would be noticeably enhanced- dramatically uncomfortable until the enhanced hot water came back to provide relief. Although 2C-B-Fly tingles under the skin superficially, it doesn’t really amplify feelings of touch much. The cold water doesn’t zap me any colder than usual.
4:45: While in the shower, I notice that 2C-B-Fly has reasonably significant closed-eye visuals. They are not very colorful, mostly focusing on black and white, but with contrasting, sparkling, images that seem to correlate with both bodily energy and my thoughts. With eyes opened there is next to nothing … a few fleeting tricks while coming up and down, or as the drug shifts about a few times in the middle. But nothing consistent.
5:30: The Fly is slowly fading and being replaced by the 2C-B. I listen to more music and prepare to go out for a while. Maybe I can see a movie or just walk around town. A visual effect is creeping back up now as the 2C-B kicks in, and the feelings in the body are getting both more complex and more consistent… the Fly and the Bee merge together and encompass me completely.
5:40: The 2C-B is getting quite strong. I have some heart murmurs and definite visuals now, which are different from the visuals with 2C-B alone. Closed eye visuals are becoming more colorful.
There are not precise notes for the period between 6:00 and 8:00. I went out for a walk, changed my original plans, and forgot to bring a notepad. I checked the closest movie theater to see if there was something I could catch but saw nothing that interested me. I got some chocolate ice cream to eat, went to a few stores, wandered around… and ultimately I decided to just come home and take it easy for the day.
At 8:25PM, I took a quarter-pill re-dose of 2C-B to extend the duration of the psychedelic high for another couple of hours since it was already slightly fading. By then the Fly seemed to be completely gone.
I smoked more cannabis starting at 8:50 and generally spent the rest of the night being lazy and enjoying myself. My 2C-B-Fly dose never went above 13mg total for the night.
Conclusions:
I think that 2C-B-Fly is slightly more potent (dosage-wise) than 2C-B, but considerably more erratic. The visuals are subtler: Closed-eye visuals are definitely there, but different from those caused by 2C-B. Open eyed visuals with this drug were rare and fleeting, and also totally unlike 2C-B. I was often reminded in certain ways of 2C-I, such as the sparkling black, white, and grey contrasts I saw with eyes closed. The drug had emotional and intellectual effects, causing shifts in mood and focus. But these were also somewhat fleeting and inconsistent.
The location of the 2C-B-Fly high, compared to 2C-B, seems less torso-centric, moving away from the stomach after the first couple hours. The overall feeling of the drug is difficult to place. It is something that dances around, giving off hints. It hides then comes back out to play. If 2C-B is something that wraps around me, covering me like a blanket and consuming me with flowing pleasure, then 2C-B-Fly is something that buzzes around in circles, dusting me with an assortment of subtle effects. It did not have any serious side effects, nor did it interfere with sleep.
2C-B-Fly was not an equal to 2C-B, but it will be worth exploring further. Bee and Fly are both interesting alone, and naturally they go well side-by-side.
-----------------------------------------------
Three-Month Follow-up:
The tablets used in this report were stated by the distributor to be 20 milligrams a piece. It later came to my attention that the tabs were actually significantly weaker than the distributor had claimed. Due to the unpredictability of tablet dosages, they will not be used in any of my future reports.
Although the exact dosage of the tablets in this report is not known, I estimate them to be approximately 14 milligrams a piece, not 20 like I originally had thought. (That would make the first dose of 2C-B above approximately 7 milligrams, and the second dose approximately 3.5 milligrams.) I base that upon experiments I have conducted with pure 2C-B HBr powder measured out to various dosages, and the effects that resulted. I believe the dosage of these tablets was misrepresented by the distributor.
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.


PRIVATE PARTS A film review by Steve Rhodes Copyright 1997 Steve Rhodes
I saw Howard Stern's movie at the press screening, and I laughed through almost every minute of it. The film opens nationwide this coming Friday, March 7.
RATING (0 TO ****): ****
First, let me assure my loyal readers that I have not been cloned. My evil twin is not the one writing this review, and I have not lost my mind.
First, confessions are in order. Before seeing Howard Stern's movie, called PRIVATE PARTS, I had never seen nor listened to Howard Stern even for a single minute. Moreover, I was absolutely sure that I had no desire to ever see him. I was so sure that his humor would be gross and mean spirited that if there had been a conflict with another press screening, as there frequently is, I would have gone to see the other film instead -- any other film.
Well, PRIVATE PARTS was the biggest pleasant surprise for me in a quite a while. Yes, the film is certainly outrageous, but so was AIRPLANE! (1980). And yes, Howard is shocking. I would postulate that Howard Stern is one of the funniest and sweetest people around. Although I laughed so hard that I even got choked, the biggest surprise for me was how tender and good spirited the show is even at its most audacious. The plot even contains the long lasting love story between Howard and Alison, his wife of twenty years. (All of Howard's entourage in the film, with the exception of Alison, are played by themselves. Alison is acted by Mary McCormack.)
PRIVATE PARTS is the autobiography of Howard's life and is based on his book. In the first part, his father Ben (Richard Portnow) tells Howard at every opportunity how moronic he is. "We never went to ballgames," reminisces Howard. "The only sport my dad liked was yelling." This gave Howard his tough skin and his obsession with being liked. Howard's antics, like those of any class clown, are disguised, plaintive cries to be wanted and be popular.
His ability to simultaneously disgust and involve an audience is seen when he is twelve. He gives a traditional puppet show at a senior citizen's home that has them all dropping like flies. He decides to jazz up the act with simulated puppet sex.
Howard's movie isn't just about Howard. The film is careful to focus in on his supporting crew, especially Robin Quivers and Fred Norris. The first to join him was cherubic looking black newscaster Robin Quivers. The rules of the time were that the DJ did his shtick, and when it came time, they switched to the newscaster. From the first day, Howard pulled Robin into his comedic fray. She is as sweet as sweet can be, but she can hold her own. In her own more subtle way, she manages to top Howard in the banter on the air. Robin gives a marvelously compelling performance in the film.
Although much of the show does happen on the air, a large portion is devoted to Howard's constant battles with management. When he finally works his way to the top -- the biggest radio station in New York -- the NBC lawyers read him the riot act. There are seven words you can not say on the air so he must stop saying them. So what does he do? In arguably the funniest scene in the show, he devises a match game where he picks a common word and lets his coworkers guess the missing, and, if taken out of context, obscene word that goes with it. (For example, if I say Hoover, you would say Dam. This is not used in the movie, but it is the only G rated one I could think of to give you the idea.) His nemesis and personal watch dog manager, Kenny (played with angry fervor by Paul Giamatti), goes ballistic when Howard violates the rules. Howard becomes vindictive and refers to Kenny on the air only as Pig Vomit.
NBC executive Roger Erlick (Michael Murphy) says that "Howard is on the FCC's Most Wanted List." NBC wants to fire him, but there is a problem. He has become the hottest DJ in the nation. How long does the average listener stay tuned to the same station? 18 minutes. For Howard it is an hour and twenty minutes. Well, how about the Howard haters, the managers ask, since there are a lot of those? Over two hours. In both cases the reason is that listeners want to know "what will he say next?"
"After all, being misunderstood is the fate of all true geniuses is it not?" laments Howard.
I do not want to mislead you. The show manages to insult just about everyone. Still, the humor is non-stop, and based on the theater audience's reactions, people respond extremely well to his jokes. Go with an open mind, and you may not be able to control yourself. Howard's film raises comedy to a new level. I will reject the urge to recount more of the film's crazy antics and let you experience it yourself as I did.
As I left the theater I began to recount my favorite scene to my friend I had taken with me. As soon as I laughed my way through one, I kept remembering another that was even better. If the film had had one tenth the humor or one fourth the likeableness of its stars, I would have counted it a success. The movie it most reminded of was PEOPLE VS. LARRY FLYNT, but I liked PRIVATE PARTS better.
An incredible and unique experience. An infectiously happy show.  And yes, by the end we have fallen in love with him, his comedic conspirators, and just about everyone associated with the production. A more likable group I haven't seen in a long time.
PRIVATE PARTS flies by at 1:49. (Stay through the final credits, for the film keeps coming back on.) It is rated R for strong language, dope smoking, crude sexual humor, and nudity. Teenagers will probably love it, but make sure they are mature enough for the material. I give the film my strongest recommendation and my top rating of ****.
**** = A must see film. *** = Excellent show. Look for it. ** = Average movie. Kind of enjoyable. * = Poor show. Don't waste your money. 0 = Totally and painfully unbearable picture.
REVIEW WRITTEN ON: March 3, 1997
Opinions expressed are mine and not meant to reflect my employer's.
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


| testInheritedMethods {methods} | R Documentation |
A set of distinct inherited signatures is generated to test inheritance for all the methods of a specified generic function. If method selection is ambiguous for some of these, a summary of the ambiguities is attached to the returned object. This test should be performed by package authors before releasing a package.
testInheritedMethods(f, signatures, test = TRUE, virtual = FALSE, groupMethods = TRUE, where = .GlobalEnv)
f |
a generic function or the character string name of one. By default, all currently defined subclasses of all the method signatures for this generic will be examined. The other arguments are mainly options to modify which inheritance patterns will be examined. |
signatures |
An optional set of subclass signatures to use instead of the relevant
subclasses computed by |
test |
optional flag to control whether method selection is actually tested.
If |
virtual |
should virtual classes be included in the relevant subclasses. Normally not, since only the classes of actual arguments will trigger the inheritance calculation in a call to the generic function. Including virtual classes may be useful if the class has no current non-virtual subclasses but you anticipate your users may define such classes in the future. |
groupMethods |
should methods for the group generic function be included? |
where |
the environment in which to look for class definitions. Nearly always, use the default global environment after attaching all the packages with relevant methods and/or class definitions. |
The following description applies when the optional arguments are
omitted, the usual case.
First, the defining signatures for all methods are computed by calls
to findMethodSignatures
.
From these all the known non-virtual subclasses are found for each
class that appears in the signature of some method.
These subclasses are split into groups according to which class they
inherit from, and only one subclass from each group is retained (for
each argument in the generic signature).
So if a method was defined with class "vector"
for some
argument, one actual vector class is chosen arbitrarily.
The case of "ANY"
is dealt with specially, since all classes
extend it. A dummy, nonvirtual class, ".Other"
, is used to
correspond to all classes that have no superclasses among those being
tested.
All combinations of retained subclasses for the
arguments in the generic signature are then computed.
Each row of the resulting matrix is a signature to be tested by a call
to selectMethod
.
To collect information on ambiguous selections,
testInheritedMethods
establishes a calling handler for the
special signal "ambiguousMethodSelection"
, by setting the
corresponding option.
An object of class "methodSelectionReport"
. The details of
this class are currently subject to change. It has slots
"target"
, "selected"
, "candidates"
, and
"note"
, all referring to the ambiguous cases (and so of length
0 if there were none). These slots are intended to be examined by the
programmer to detect and preferably fix ambiguous method selections.
The object contains in addition slots "generic"
, the name of
the generic function, and
"allSelections"
, giving the vector of labels for all
the signatures tested.
Chambers, John M. (2008) Software for Data Analysis: Programming with R Springer. (Section 10.6 for basics of method selection.)
Chambers, John M. (2009) Class Inheritance in R https://statweb.stanford.edu/~jmc4/classInheritance.pdf.
## if no other attached packages have methods for `+` or its group ## generic functions, this returns a 16 by 2 matrix of selection ## patterns (in R 2.9.0) testInheritedMethods("+")


Fandango
Home
Fandango
Rotten Tomatoes
Sign In
Register
Register for an account
First Name
Display Name
This is the name which other users will see
Email
A validation E-mail will be sent to this address. Validation is required to complete registration.
Confirm E-mail
Please re-enter your e-mail address.
New Password
Passwords must be at least six characters and no longer than ten
Repeat New Password
Register


Edit 7 Reduces the size of the buffer.
Press 7 to resize the segments in the buffer smaller relative to the pivot point.
The default resize options are 2.0 in the X Y and Z axes.
Pressing the key doubles or halves the size of the segments in the buffer.
The resize ratios for all three axes are reset using Edit 0 - Sizing.
Note Edit 8 undoes Edit 7.
This feature is independent of the cursor position. Dimension entities are not reset. They are simply made larger. Refer to Trap 9- Modify- Dimension for a global reset,


| |
view in browser | unsubscribe
|
|
|
|
| |
Today’s EU policy & news, 25.08.2016, 5PM
|
|
| |
Burkini ban brings difficult questions
By James Crisp
Test some special characters: éàôößäëïöü.
*|MERGE_STRING|*
France’s ban on the burkini today led to some tough questions for
the European Commission.
Mindful of the risk of getting caught up in a controversy that
today sparked protests outside the French embassy in London,
spokesman Alexander Winterstein stonewalled reporters’ questions
over the morality of the ban but did reveal there were no rules
stopping an EU official from coming to work in a burka.
He rightly pointed out that such policy decisions are not an EU
competence, but the Commission has not always been so shy in
coming forward on questions of ethics.
It certainly has not held back from raising its concerns over
the state of democracy in Poland or just yesterday dancing around
the edges of commenting on a criminal case in Greece.
Is this, some wondered, a case of one rule for France and another
for less influential member states?
- Commission dodges burkini ban
questions >>
|
|
| |
THE ROUND-UP
Is this, some wondered, a case of one rule for France and another
for less influential member states?
Is this, some wondered, a case of one rule for France and another
for less influential member states?
Is this, some wondered, a case of one rule for France and another
for less influential member states?
|
|
| |
LOOK OUT FOR...
- 26 Sep. Merkel finishes tour of several European capitals.
- 4-5 Sep. G20 leaders meet in Hangzhou, China.
- 8-9 Sep. Sefcovic and Canete at the Central and South Eastern
Europe Gas Connectivity Event in Budapest.
|
|
|
| |
Efficacité et Transparence des Acteurs Européens | © 1999-2016. EurActiv.com plc
|
|


HOME
ABOUT ME
MY PROJECTS
HOW TO REACH ME
My
Work
Check out some of my projects...
Furniture Shopping cart
HTML-CSS-JS
Weather API
REACT-BOOTSTRAP-HTML
Image Search
REACT-BOOTSTRAP
Blog Post & Comments
REACT-REDUX-CSS-HTML
Form Validation
HTML-CSS-JS
Portfolio Website
HTML-SASS-JS


Extending the Toolkit¶
In this section we illustrate how the user can extend ODToolkit by adding a new data set, a new occupancy estimation model, and a new evaluation metrics to the toolkit.
Adding a new data set¶
We assume that a data set is a collection of comma separated (csv) files where each file contains data pertaining to a single room within a building. The columns of each file represent different features and its rows correspond to successive timestamps. The labelled occupancy data should be the last column of the csv file (if applicable).
Sample code¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import core
# Load the raw csv file and transform to core.data.dataset.Dataset()
dataset = core.data.import_data("./data-room-1.csv",
time_column_index=1,
room_name="User room 1",
tz=-2)
# Add more rooms into the same data set
dataset += core.data.import_data("./data-room-2.csv",
time_column_index=1,
room_name="User room 2",
tz=-2)
# Preprocess the data set
core.preprocessing.auto_clean(dataset, target_frequency=60)
# After preprocessing, put the data set into specific folder for data sets
core.data.save_dataset(dataset, "./core/data/binary_dataset/user_room")
|
Once the data set is added to the toolkit, you may ask the toolkit to load the data as follows:
dataset = core.data.load_sample("user_room")
Analyzing a data set and using it to evaluate a model¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import core
# Load a user-defined data set from the package, and remove its time feature
dataset = core.data.load_sample(["user_room"])
time_column_name = dataset["user_room"].feature_mapping[dataset["user_room"].time_column_index]
dataset["user_room"].remove_feature(time_column_name)
# Plot the correlation graph
core.plot.plot_feature_correlation(dataset["user_room"])
# Use Random Forest model to perform occupancy estimation
# Use all binary evaluation metrics to evaluate the model
result = core.evaluation.Result()
result.set_result(core.easy_set_experiment(dataset,
models=["RandomForest"],
evaluation_metrics="all")[0])
# Plot the scores in a bar chart
core.plot.plot_result(result,
dataset="user_room",
threshold="<= 1")
|
Adding a new model¶
To add a new occupancy estimation model to ODToolkit, you must put its code under the folder ./core/model/
.
Template¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# If you want to put your model into the ODToolkit folder, use this
from .superclass import *
# If you want to put your model into your own folder, use this
from core.model.superclass import *
# Sample for supervised-learning model
class YourModelName(NormalModel):
def __init__(self,
name_for_train_dataset,
name_for_test_dataset):
# all changeable parameters
self.name_for_train_dataset = name_for_train_dataset
self.name_for_test_dataset = name_for_test_dataset
# ... Any other parameters defines here
# the model must have a method called run, and return the predicted result
def run(self):
# Your model goes here
# Use core.data.dataset.Dataset() as data type
# ...
# Result must be a numpy.ndarray with shape of (num_of_rows, 1)
return predict_occupancy
# Sample for domain-adaptive semi-supervised learning model
class YourModelName(DomainAdaptiveModel):
def __init__(self,
name_for_source_dataset,
name_for_target_retrain_dataset, # This could be None
name_for_target_test_dataset):
# all changeable parameters
self.name_for_source_dataset = name_for_source_dataset
self.name_for_target_retrain_dataset = name_for_target_retrain_dataset
self.name_for_target_test_dataset = name_for_target_test_dataset
# ... Any other parameters defines here
# the model must have a method called run, and return the predicted result
def run(self):
# Your model goes here
# Use core.data.dataset.Dataset() as data type
# ...
# Result must be a numpy.ndarray with shape of (num_of_rows, 1)
return predict_occupancy
|
Applying and evaluating the model¶
To run experiments quickly using the default parameter setting:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import core
# Load a sample data set from the package
dataset = core.data.load_sample(["umons-all"])
# Use new model to perform occupancy estimation
# Use all binary evaluation metrics to evaluate the model
result = core.evaluation.Result()
result.set_result(core.easy_set_experiment(dataset,
models=["YourModelName"],
evaluation_metrics="all")[0])
# Plot the scores in a bar chart
core.plot.plot_result(result,
dataset="umons-all",
threshold="<= 1")
|
To change the default parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | import core
# Load a sample data set from the package
dataset = core.data.load_sample("umons-all")
# Create train / test sets
train, test = dataset.split(0.8)
# Select models you want to use
model_set = core.model.NormalModel(train, test, thread_num=1)
model_set.add_model(["YourModelName"])
# Edit the settings of your model
your_model = model_set.models["YourModelName"]
your_model.alpha = 0.5
# Run model to predict occupancy level
model_set_results = model_set.run_all_model()
# Evaluate the result
metrics = core.evaluation.BinaryEvaluation(
model_set_results["YourModelName"], test.occupancy)
evaluation_score = dict()
metrics.get_all_metrics()
evaluation_score["YourModelName"] = metrics.run_all_metrics()
# Plot the result
result = core.evaluation.Result()
result.set_result({"umons-all": evaluation_score})
# Plot the scores in a bar chart
core.plot.plot_result(result,
dataset="umons-all",
threshold="<= 1")
|
Adding a new evaluation metric¶
The procedure to add a new metric is the same as adding a new model.
Template¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# If you want to put your model into the ODToolkit folder, use this
from .superclass import *
# If you want to put your model into your own folder, use this
from core.evaluation.superclass import *
# If evaluate occupancy count estimation, use OccupancyEvaluation as superclass
# If evaluate binary estimation, use BinaryEvaluation as superclass
class YourMetricName(OccupancyEvaluation):
def __init__(self,
name_for_predict_result,
name_for_ground_truth):
# all changeable parameters
self.name_for_predict_result = name_for_predict_result
self.name_for_ground_truth = name_for_ground_truth
# ... Any other parameters defines here
# the model must have a method called run, and return the score
def run(self):
# Your model goes here
# Use two (x, 1) numpy.ndarrays as data type
# ...
# Result must be one value
return score
|
Using the new metric to evaluate models¶
To evaluate a model using the new metric:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import core
# Load a sample data set from the package
dataset = core.data.load_sample(["umons-all"])
# Use RandomForest model to perform occupancy estimation
# Use all binary evaluation metrics to evaluate the model
result = core.evaluation.Result()
result.set_result(core.easy_set_experiment(dataset,
models=["RandomForest"],
evaluation_metrics=["YourMetricName"])[0])
# Plot the scores in a bar chart
core.plot.plot_result(result,
dataset="umons-all",
threshold="<= 1")
|
To change the default parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | import core
# Load a sample data set from the package
dataset = core.data.load_sample("umons-all")
# Create train / test sets
train, test = dataset.split(0.8)
# Select models you want to use
model_set = core.model.NormalModel(train, test, thread_num=1)
model_set.add_model(["RandomForest"])
# Run model to predict occupancy level
model_set_results = model_set.run_all_model()
# Evaluate the result
metrics = core.evaluation.BinaryEvaluation(
model_set_results["RandomForest"], test.occupancy)
evaluation_score = dict()
metrics.add_metrics(["YourMetricName"])
# Change your metric
your_metric = metrics.metrics["YourMetricName"]
your_metric.alpha = 0.5
evaluation_score["RandomForest"] = metrics.run_all_metrics()
# Plot the result
result = core.evaluation.Result()
result.set_result({"umons-all": evaluation_score})
# Plot the scores in a bar chart
core.plot.plot_result(result,
dataset="umons-all",
threshold="<= 1")
|


Strength: One of Yoko's strength's her ability to persist, no matter the situation.
Weakness: Her weakness is her inability to see the benefit of a certain action (she is stubborn, and doesn't want to do something beneficial). For example, when she had to shave her hair, she didn't want to, even though if she didn't she probably would have been dead.
Defining Moment: When she shows her report card with straight As.
Essential Question: Why us? Why do we have to endure this garbage way of life?
Picture: The resistant Garfield represents Yoko's stubborness.
Strength: Ko's strength is her ability to provide for her family, and be incredibly resourceful during the journey to Seoul.
Weakness: Her inability to empathize with her sister. (She isn't nice to her sister.) For example, Ko said that they would be better off with Yoko dead.
Defining Moment: When Mother died. After that she had to rid of her weakness, as she had to become the mother figure for Yoko.
Essential Question: Why us? Why do we have to endure this garbage way of life?
Picture: The beaver is very resourceful with the way it builds its wood dams, representing Ko since she is also resourceful.
Strength: One of Mother's strengths is her determination. While she is old, she was still able to keep up with Ko in the journey to Seoul.
Weakness: Mother's weakness is that she is too secretive. If Yoko and Ko knew about the whole 'money in bathroom' thing, it could have saved them a lot of worry.
Defining Moment: N/A, she died.
Essential Question: What will my children do without me?
Strength: Hideyo's strength is his ability to stay loyal to his friends. During the journey to Seoul, he stayed with and supported his friends as long as he could.
Weakness: Hideyo's weakness is his inability to see where is actions might take him. (He went to work at the factory, contrary to Mother's wants, and that got Hideyo in a very difficult situation.)
Defining Moment: Hideyo's defining moment is when he crossed the border by 'diving deeper'.
Essential Question: Will Mother and my sisters want to see me?
Strength: Mr. Naido's strength is his ability to make others feel better. For example, Yoko feels much better after meeting with Mr. Naido after school everyday.
Weakness: Though, Mr. Naido's weakness is his inability to speak fluently. (He always stutters.) This will make him suseptible to ridicule, which might make him insecure.
Defining Moment: Mr. Naido's defining moment is when stood up to the other girls for Yoko.
Essential Question: I am worth the same as everyone else?


American Pie Chad'z rating: ***1/2 (out of 4 = very good) 1999, R, 100 minutes [1 hour, 40 minutes] [comedy] Starring: Jason Biggs (Jim), Chris Klien (Oz), Thomas Ian Nicholas (Kevin), Eddie Kaye Thomas (Finch); written by Adam Herz; produced by Chris Moore, Craig Perry, Chris Weitz, Warren Zide; directed by Paul Weitz.
Seen July 15, 1999 at 7:50 p.m. at Crossgates Cinema 18 (Guilderland, NY), theater #14, by myself for free using my Hoyts season pass. [Theater rating: ***: good sound, picture and seats]
Dammit. It's been over two weeks since I saw `American Pie' (and almost a month since it was actually released) and I'm just now sitting down to write this review. In `filmcriticworld' - to let a review go a fews days later than the date the film was released is an eternity.
Anyway, I'd been thinking long and hard about how to review this film and it became clear to me after a while that it would be a difficult review to write. If you've been following my reviews this summer you'll notice I've been experimenting with style and I guess this would be another good test case.
So, I dedicate this review to one of my best friends, Matt Perreault, who
I've known since sixth grade and have been able to talk to and relate to on
just about any and all subject matters. The problem is the guy is 200 miles
away in Boston and I haven't seen or talked to him in a while despite
repeated phone calls and e-mails. Maybe this review - a hypothetical
conversation Matt and I might have about this film - will get him to
respond...
CHAD: What's up?
MATT: Nothing. What're you doing?
C: I'm trying to figure out how to write my review of `American Pie.'
M: I didn't see it, is it good? What's it about?
C: Yeah, it's really good. It's got like everything in it. It's like raunchy
in some parts and sweet in others and throughout the whole thing you get that
feeling that the dudes that made the movie grew up on the same movies and TV
shows that we liked. I sensed a strong John Hughes inspiration here because
they show teenage kids for what they really are and what they really act
like. They're not just a bunch of sex-crazed maniacs.
M: That's what the commercials and the previews make it look like. They make
it look like some kind of `Porky's' or something for the ‘90s.
C: Well, actually, there is that kind of sleazy feeling during some parts.

The guys in this movie - they're actually realistic teenagers. I mean,
they're all in their senior year and they make a pact to lose their virginity
by graduation. That's pretty original right there because I think Hollywood
assumes all kids lose their viriginity at like age 14 or something.  But the actual plot is about them trying to keep this
pact and like encourage the other guy and by the end when it doesn't look
like they're going to keep the pact they all start to blame each other for
not keeping the pact.
M: Sounds like that `Seinfeld' where Jerry and George made a pact to get
married and then George got pissed that Jerry reneged on it.
C: Yeah it's kinda like that. There's some other subtle Seinfeldian things
going on here, but it's more geared towards teens so it doesn't try to be too
super highbrow comedy about little things.
M: Yeah. So what's the plot about?
C: Well it's mostly about this kid Jim (Biggs) who's in this clique that's
not at the highest social rung on the high school clique ladder, but it's
pretty high up. Jim's kind of a quiet, sorta goofy guy. He's a lot like one
of those characters you'd see on a sitcom, especially like something on one
of those ABC TGIF shows or something... only in an R-rated movie.
M: Okay.
C: Anyway, so Jim has three best friends: Kevin (Nicholas), Oz (Klein) and
Finch (Thomas) who also fit that kind of sitcom-esque,
sorta-cliche/sorta-real kind of personality. Like Kevin is the sensitive guy
in a long-term relationship with this hot chick named Vickie (Tara Reid,
who's a helluva lot different than the chick she played in `The Big
Lebowski'). He keeps thinking they're gonna do it because they've been going
out for a few months and it's just like the law of dating ya know? Him and Oz
make fun of Jim because he's never been to third base and that's where that
pie joke comes from (and the title of the movie). There's a good joke when
they tell him that and he says `McDonald's or homemade?'
M:
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


The sample demonstrates the Tree Custom Element drag and drop functionality.
Home
Solutions
Education
Financial services
Community
Products
Support
Support home
Customer Service
Knowledge base
Forum
Events Log:
Note:
Dragging of "Community" is disabled.
Dropping of "Forum" is disabled.


"The celebration will still be just that: a celebration of your love for one another among family and friends." Due to social distancing orders, many to-be-weds have organized "minimonies," microweddings or elopements to celebrate. If you're planning a wedding during the pandemic, we're here to help. We've put together a guide on how to have a COVID wedding so that you can celebrate safely.
Party it All!
Best events Planned!
WEDDING DELIGHTS
SINGLE MINGLE!BIRTHDAY BASH
Treat the age!Celebrate the Sparkles
BEST FESTWhether it’s their first birthday or their fourteenth, making your child’s party as special as possible is at the top of every parent’s ‘to do’ list. Birthday parties are a big deal, and these days, a game of pass the parcel and few balloons just won’t cut it. Log onto Facebook or Instagram and we’re sure some of your mummy mates will be posting pics of their little darlings jumping on a bouncy castle or looking adorable in princess costumes and face paint.
Holi has been celebrated in the Indian subcontinent for centuries, with poems documenting celebrations dating back to the 4th century CE. It marks the beginning of spring after a long winter, symbolic of the triumph of good over evil. It is celebrated in March, corresponding to the Hindu calendar month of Phalguna. In 2020, Holi begins March 10. Here we are to help you celebrate the festivals!
After a month fasting and supplication, Muslims across the globe celebrate one of their only two days of celebration in the year: The day of Eid-ul-Fitr. It is a joyous occasion, not to commemorate the end of the holy month of Ramadan, but to thank Allah. EMS knows the best way to celebrate Eid!


About Me
I am currently an M.S. student at UC San Diego, advised by Prof. Nuno Vasconcelos, and I will join Virgnia Tech in August 2020, working with Prof. Jia-Bin Huang. Prior to this, I obtained my Bachelor degree from South China University of Technology (SCUT), advised by Prof. Junbo Zhang.
My research interest includes Computer Vision and Machine Learning. Currently I am working on the scene understanding for Self-Driving. I am also interested in implementing Computer Vision for beauty industry (e.g. generative networks, 3D modeling for facial make-up). My CV is available here.
Publications
|
CVPR 2020 [paper / project page (coming soon) / code (coming soon)] A new paradigm is proposed for autonomous driving. The new paradigm lies between the end-to-end and pipelined approaches, and is inspired by how humans solve the problem. The objects that could originate hazard are denoted as action-inducing. They also define a set of explanations for these actions, which should be produced jointly with the latter. An extension of the BDD100K dataset is proposed. A new multi-task formulation of the problem, which optimizes the accuracy of both action commands and explanations, is then introduced. A CNN architecture is finally proposed to solve this problem. |


Nandakumar.R
ORACLE - Principal Member Technical Staff
About
Skills
Employment
Education
Contact
this about section
this skils section
this employment section
this education section
this dabout section


Day 2
For Muddy Creek Baptist Church
2
God of Prayer, Lord and Head of the Church, our prayer is for the body of believers of Muddy Creek Baptist church. Yet, Father, as we pray for Muddy Creek Church, please accept this prayer for all of Your churches in this area, in our state, in our county, and around the world.This is Your church, Your body of believers. It is not mine or anyone else’s, but Yours Alone! You have Redeemed us and called us together to form a ministry of reconciliation.
The uniqueness of this local body is comprised as it is so that we would fit together to fulfill the unique purpose that You designed in Your providential will. Unite us in one spirit, one faith, and in the direction that You have determined. Unite all whom You have called to make up this local body—this church. And reveal to us Your Will and Your Purpose for this unique community of believers.
Weave our hearts together to beat as one, and our one unified heart to beat in unison with Your heart. Give us the desire of Your heart for this church. Then those who are outside Your kingdom may see Your heart through us. Holy Spirit, continue to stoke a fire of compassion for the harvest fields--local and global. Make us restless unless we are laboring in preparation or laboring in these fields. Magnify the call of the church in us and make it plain before us.
To the end that Jesus, the Christ, is glorified throughout eternity from the fruit of Muddy Creek! Amen. (I Corinthians 5:18-02; Ephesians 4:1-16)


Twitter Chat with @jice_lavocat during #VCBuzz on July 15
14/Jul 2014
Join us on Twitter to discuss Google Authorship and the** engagement of your readers** on a special #VCBuzz Twitter chat next Tuesday (July 15). The title is Make the Most of Google Plus Interactions.
During this Twitter Chat, Ann Smarty and the folks from VCBuzz will ask Jean-Christophe Lavocat about Google Plus, Elokenz, the Authorship system, and how marketers and bloggers can make the most of these tools. The discussion will be live during more or less one hour.
How to join us ?
If you have never join a twitter chat before, do not worry, it’s** like a regular Twitter discussion** but with a guest, a predefined topic, some moderators, and many public attending it, and retweeting it. You will be interacting with a guest and following a semi guided discussion. One thing extra you need to know :** a twitter chat goes super extra fast**. So, if you want to enjoy it, it’s often better to use Twchat to mute some noise and echo.
When to join ?
The chat will be held at 12PM EDT / 4PM GMT. So if you live in Paris (or a related time zone) you should be on Twitter at 6PM just before the end of office hours. If you live on the East coast of the US, you need to prepare a sandwich to enjoy during the chat which will be at noon.
How to enjoy it ?
To better enjoy the event, we recommend you the following. First save the date and book a free hour. The chat activity is so intense that if you had an important task to perform during the same time, you will probably not be able to focus on both the chat and your task.
Second, don’t forget that the chat is public and that you can** interact with everyone** to create connections and find people with similar interests to you.
Third, if you want to organize a Twitter chat, you can find a lot of tips from Ann Smarty’s guide : 5 Steps to Hosting Successful Twitter Chats (if you read French, you can also check this post on Graphemeride).
Finally, as a chat is always better when there is people to chat with, we would love if you could share the news about it. So you can either Tweet about it, put a comment on Facebook or a post on Google+.
Official event page
You can find the official event page (where a summary will be posted) here : http://viralcontentbuzz.com/index.php/make-the-most-of-google-plus-interactions-twitter-chat-with-jice_lavocat-vcbuzz/


4 Shiny Reactivity Model
Most often, R developers will choose to create a Shiny application because they want their users to be able to interact with their data. In other words, the purpose of a Shiny application is that it reacts to the users’ interactions with it. To that end, it is helpful to understand the basics of how Shiny’s reactivity model works.
What is reactive programming?
Most commonly, R code is executed in a linear fashion from top to bottom. Line by line, the program is executed in the order that it was written. With reactive programming, the program also relies on events to determine how and when the code should be executed. Events are monitored and when they occur, the code reacts to those events.
Why use render and output functions
Shiny does not intuitively know which pieces of your code should be re-executed and at what times. When writing a Shiny app, you need to tell Shiny which chunks of your code should be reactive to events like users changing the input values in the control widgets. Because you want your plots, tables, and other outputs to be updated everytime a user changes the input, any expressions in your server section that depend on the input
variable should be made reactive. To make a code chunk reactive, you can use one of Shiny’s many render functions which are reactive. For example, anything enclosed in the function renderPlot
will be re-executed every time an event, such a changing input
value, occurs:
# Example of a Shiny server function
# Define server logic required to draw a histogram
server <- function(input, output) {
output$distPlot <- renderPlot({
# generate bins based on input$bins from ui.R
x <- faithful[, 2]
bins <- seq(min(x), max(x), length.out = input$bins + 1)
# draw the histogram with the specified number of bins
hist(x, breaks = bins, col = 'darkgray', border = 'white')
})
}
The above code, through the use of the reactive function renderPlot
, will re-render the plot everytime a user interacts with the application. This new plot will be saved to the output
variable, but it will not automatically update in the UI. To achieve this, you also need to make that code section in the UI reactive so it is updated whenever an event occurs. This can be done by using one of Shiny’s Output functions:
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Old Faithful Geyser Data"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
sliderInput("bins",
"Number of bins:",
min = 1,
max = 50,
value = 30)
),
# Show a plot of the generated distribution
mainPanel(
plotOutput("distPlot")
)
)
)
The UI code above will refresh the distribution plot displayed in the UI everytime a new plot is rendered in the server section.


Secure Online banking
Make another payment | You can also make transfers online.
Select the green 'Finish' button to return to your homepage.


First name
Last name
Position
Office
Start date
Salary
First name
Last name
Position
Office
Start date
Salary


Come check out our new arrivals and featured suits! Find out more on Mens's
formal clothing by Suits Store.
Look great and feel fantastic and wonderful wearing this new design
accessories of premium top quality, now available in store
You can dress up simply because looking good makes you happy.
So in suits
store we offer you a ready to wear collection with competitive prices.


Brain said everything whats important and i agree 100% with him,
but i want to give a feedback too.
Mountainranger wrote:
Could you install a Teamspeak button, which exists only then TeamSpeak is installed, so that you can start the TeamSpeak from the browser and dont get back to desktop.
For what would you need a TS3 Button?
The Link ts3server://getbblog.com?port=10000 does exactly what you want.
if you have installed TS3, the Browser will automaticly notice, that the
ts3server://
is a TS3 protocoll and will automaticly open TS3 and connect to this Server.
If somebody doesn't have installed TS3, the browser don't know what to do and nothing will happens, so no problem. dont care about this ^^


There has been a bug for a while that resulted in gaps in the bar graph generated by the data from wh accumulator, accumulator and power to kwh accumulator processes. A day would show as missing if it was only the midnight datapoint that was missing (recorded as a null value in the phpfina data file) even if there was a datapoint at 10s past midnight and the rest of the day complete.
The new default data viewer available in the 'newgetdatamethod' branch of emoncms: https://github.com/emoncms/emoncms/tree/newgetdatamethod and on emoncms.org has an option to skip or show missing datapoints in a feed. The result can be quite interesting when the skipmissing tick box is unticked and points to a packet loss issue. The two example graphs below show a kwh accumulator feed with its missing data points.
If the bargraph tries to select a midnight value in any one of those gaps it will miss the entire day. If you zoom in around a missing midnight datapoint there is usually enough data points within a few 10s of seconds either side to provide an accurate midnight reading.
Rather than store a null value if a particular datapoint is missing its possible to get around this issue by joining the last known value with the next known value, filling the missing datapoints in between with a linear interpolation.
I've added this feature as a 'padding_mode' option to the phpfina engine which is now in the https://github.com/emoncms/emoncms/tree/whaccumulator_padding_mode emoncms branch and live on emoncms.org.
All feeds already created with the wh_accumulator, accumulator or power_to_kwh input processors on emoncms.org will now fill those missing values joining the last and the current value with a straight line resulting in much more reliable bargraphs created with this method. Im also working on fixing existing data in this way too, with about 100 of ~1000 feeds already fixed on emoncms.org.
This is a before and after screenshot of a bargraph (including a period where the monitor was actually off for an extended period in the start of feb) Its not the best example but many of the days that where missing are now visible.
There is documentation on how to use accumulating data in this way for daily bargraphs here:
https://github.com/openenergymonitor/documentation/blob/master/Applicati...
http://openenergymonitor.blogspot.co.uk/2014/08/monitoring-solarpv-heatp...
and a little more background info here:
http://openenergymonitor.org/emon/node/3995
We've been discussing timezone support in the thread here http://openenergymonitor.org/emon/node/10363. One of the big advantages of the accumulator approach is that recording the data is timezone independent as its only at the graphing stage that the daily totals are calculated, its also possible to pull out any other interval totals such as hourly or monthly.
We're still working towards continuous sampling and watt hour accumulation as default on the emontx/+soon emonpi which also fits into this reducing the reliance on the basestation/emoncms/internet connection/webserver for accurate energy totals.
Im also intending to create a post processor module that will generate accumulating watt hour feeds from existing power feed data so that the above graphing tools can be used.
I also intend to merge both the 'newgetdatamethod' and 'whaccumulator_padding_mode' branches into the master branch and the low write sd card branch of emoncms soon and will document how to fill existing missing data as above.
Thanks
Trystan
Re: Fix for accumulator based bargraph data gaps
Great news !
Re: Fix for accumulator based bargraph data gaps
Thanks Eric!
Re: Fix for accumulator based bargraph data gaps
Hi trystan,
Did you have a look on the bug you described here ?
I'm not talking about the time offset which is different for each of my PHPTimestore.
Here, I'm talking about the PHPFIWA/FINA feeds that are not displayed the good day.
Eric
Re: Fix for accumulator based bargraph data gaps
Ah yes I fixed that on Monday too, if we're talking about the kwh values being shifted one day ahead? https://github.com/emoncms/emoncms/commit/db3751524a5ff29254f40d8a799b8f...
Re: Fix for accumulator based bargraph data gaps
Yes, I was talking about this one. Good news !
Using your fixed version, does the bar for the current day appear in the graph ?
Eric
Re: Fix for accumulator based bargraph data gaps
No not yet, just the previous day, but yes would be good to bring the current day in there. To do that requires another seperate request in order to fetch the last value, so its a bit more complicated but possible to do.
Re: Fix for accumulator based bargraph data gaps
Hi Trystan,
I am still seeing the bug where bargraph shows value from yesterday but with todays date. Is this because I am using emoncms.org which is still at v8.3.5? (I ask because when I follow the Github link to the fix that you posted it shows 8.5 which I *assume* means it's only fixed in v8.5?).
I've searched and couldn't find any other reference to any other solution for this problem.
Re: Fix for accumulator based bargraph data gaps
I'm not sure if my data (or lack of it!) fits in here with this discussion or not but I'm experiencing large amounts of null points in my 'grid' (import power) see attached which doesn't lend itself to accurate interpolation.
Any comments would be appreciated
Chris
Re: Fix for accumulator based bargraph data gaps
Hi Chris,
Funnily enough, I also have a similar problem, and was thinking about starting a separate thread. In my case, I have identified that I am losing data due to problems with the RF transmission from my emontx3.4 to my Rpi. I believe I proved this at the weekend by changing quiet mode in emonhub, and could then see lots of spurious packets arriving at the Rpi, and I think some of them are impacting some of my real packets, as I could see some packets with the correct nodeid, but being marked as malformed and discarded.
I tried moving my Rpi to improve the signal strength, hoping this would reduce the volume of lost packets, and although I think it's helped, it's not solved the problem, so I still need to do more research on RF transmission problems
Re: Fix for accumulator based bargraph data gaps
Hi Ian
I don't think my problem is RF related.
The first graphs are from 6th June 2012 when I first ran my original shop kit EmonTX, Emonbase, EmonGLCD setup for the first time. In spite of these 'null' points my EmonTX data is within 1% of my solar meter read data.
Later graphs compare the same day in 2015 & there is little difference in the number of 'null' points; however, over the following week (6th to 13th June 2015) there has been a marked increase in the number of 'null' points but still the solar PV error between EmonTX & PV meter has remained low.
The error appears to be in the 'grid' data (null points increased dramatically over the week 6th to 13th June 2015) which I'm at a loss to explain as no changes/adjustments have been made to software or hardware
Re: Fix for accumulator based bargraph data gaps
On XT 8.5.2 version i've refactored the padding mode usage as a new engine post function optional argument.
It can be implemented genericaly on any engine.
The old feed->insert_data_padding_mode function was removed and you just need to pass the optional parameter (in 5th position) from process_model.php like this :
$padding_mode = "join";
$this->feed->insert_data($feedid, $time_now, $time_now, $new_kwh, $padding_mode);


| | |
- drizzleImage
class drizzleImage |
| |
Some notes on the combDither module and its implementation of xydrizzle.
combDither currently contains one class, drizzleImage, which defines
methods for drizzling dithered image associations to a final images,
including cosmic ray rejection, etc. The original intention was to
create other classes with methods for combining the images using other
routines (e.g., SWARP, or something based on python numerical arrays).
The basic procedure for processing a dataset through drizzle:
drob = drizzleImage(obs,al.MatchDict) - create instance of this class
drob.run_all() - run the drizzle/blot/drizzle sequence
drob.makeFlagImage() - create Sextractor flag image for each asn
drob.makeRmsImage() - create Sextractor rms image for each asn
drob.fixAstrometry(obs) - fix the astrometry of the images if possible.
[The fixAstrometry method must receive a DataSet object (obs) and will generally
be called by the apsis pipeline. This behaviour is not internally consistent
but the method is a bit of hack to removed the need for the pipeline to
deal with a new object (an instance of astrometer.gscMatchup) and all the
attendant messaging for that. N.B. This method should not be called internally.]
Alternatively, the user can replace run_all() with run_drizzle() if no
cosmic ray rejection is desired. This module no longer makes its own
association tables, but just uses the original ones that are given as
inputs to the pipeline.
The run_all method does three things:
1. run_drizzle() drizzles images onto separate output images
2. runs pyblot (median stacks, blots, derivs, cr_rej) which
returns the list of cr masks for 2nd drizzling
3. run_drizzle() to drizzles images all together using CR masks
from pyblot
run_drizzle() is the heart of the drizzleImage class. It runs pydrizzle
on all of the association tables in the asnTableList and takes a number
of optional parameters (outshape=None, deltmp=1, units='counts',
bits=_goodBits_, separDriz=0, crmasks=None, exptimePyDrKludge=0).
Here's what the params are for
outshape: x,y sizes of output drizzled image (def: determined 'otf')
deltmp: delete temporary (masks, coeffs) files? (def: 1 [yes])
units: units of output pixel values (def: counts)
bits: sum of all possible good-pixel values in dq array
('None' means don't use masks).
The default value bits=8450 is the sum of the pix values
that we accept as being good, bits = 0+2+256+8192 = 8450,
which includes 'good', 'replaced', 'saturated',and
'CR-repaired', but NOTE THAT THESE VALUES ARE PARTICULAR
TO CALACS! [ISR ACS-99-03]
The remainder of the params relate to pyblot setup and results:
crmasks: List of (mask,nzap) tuples from pyblot
separDriz: Drizzle onto separate output images?
run_drizzle loops over all associations and runs pydrizzle on them.
It measures the shift 'zeropoint' based on the mean of all the measured
shifts and then sets the relative shifts accordingly, ensuring that all
associations will have the same absolute shift zeropoint, as well as the
same image size. This *seems* to be ok, although the output WCS may then
disagree with pydrizzle's idea of the WCS of the output product, but drizzle
itself constructs the WCS image in the output product from the input and
whatever image headers it gets.
For each association, run_drizzle creates the pydrizzle object, then
goes through the parlist (list of dictionaries holding input drizzle
parameters). It modifies these parlists in various way, e.g., it makes
the output images different if 'separDriz' has been set. It also sets
the x,y shifts and rotations to whatever is in the MatchDict (thus,
making delta shifts in the asn tables no longer necessary). The list of
modified parlists is saved as a class attribute. It then runs drizzle.
After the 2nd drizzle (separdriz = 0), the code checks if:
(1) the number of science extensions in the multi-extension FITS (mef)
file is greater than 1 and units='counts' (the default); if so, it
divides the count levels by the number of extensions.
(2) if the pydrizzle version is less than 1.4; if so and Nsci>1, then it
divides the output exposure times by the number of science extensions.
If it's the final drizzle, then it also goes through all the input images
and sums the alignSky values in the headers and writes the sum to the
science image header. That's it. The makeFlagImage and makeRmsImage
methods are pretty straightforward.
The drizzle kernel, for the *final drizzle only* can now be set when
run_drizzle or run_all is called. The drizzle-default linear ('square')
kernel is the fastest, and tends to smooth over bad pixels better,
but the psf is not as tight and the noise correlation is much worse.
The damped sinc interpolant ('lanczos3') is sometimes called the
optimal kernel, though beware that you may get holes (negative
pixels) in the output. These holes can happen anywhere, though more
commonly near stars, etc. Because of the masking of bad pixels and
columns (based on the DQ array), occasionally a pixel in the output
image will have very little data from the input image, and by a
quirk of the interpolation kernel with its negative sidelobes, will
end up with a negative value. Richard Hook said to check the
drizzle weight image to make sure that those negative pixels are
given very little weight; if they have low weight, just don't use
them, but if their weight is high, then there might be a problem.
I checked several of these pixels, and found they were given low
weight, about 1/10 of the median, so it seems ok. Of course, if
there are multiple dithered images, these negative pixels get filled
in quickly by other pixels with much higher weight. For the linear
kernel you don't get this effect because there are no negative
sidelobes.
One caveat: run_drizzle overwrites shifts, rotations, and output product
names in the pydrizzle parlist rather than setting them through methods.
This was historically necessary for the shifts (and *still* the most
straightforward way), and it's still necessary for drizzling onto
separate outputs for blotting. So, I wouldn't recommend changing it,
but we have to be careful in case later pydrizzles change the parlist
elements or their meanings. |
| |
Methods defined here:
- __init__(self, obs, MatchDict, alignSky='ALIGNSKY', hdrGain=0, suppInstVar=1, crlower=None, smartstack=0, notrim=0, padfac=None, outsize=None, outshift=None, origscale=None, noContext=None, maskFile=None, dfilts=(None, None))
- fixAstrometry(self, obs)
- Method to call the astrometer module's stuff and do the astrometric corrections.
The astrometer constructor needs to receive the obs (i.e. DataSet) object.
- help(self)
- makeFlagImage(self)
- turns the weight images produced by drizzle into flag images that
SExtractor will use.
- makeRmsImage(self)
- turns the drizzled weight images into RMS images that
SExtractor will use.
- mkMsg(self)
- create and write module level message for this class.
Most of this is just compiling the info. meta in a dictionary
of lists where each list is a list of tuples describing the
tag lines for the particular section of the message. This tuple
format conforms to that used by the xmlMessage class which is
modeled on basic python argument passing, i.e. (key,*value,**attr).
outscale,pixfrac now converted to string - GRM following Magee
- printParlist(self, parlist)
- takes a PyDrizzle parlist and prints out the contents
- run_all(self, clean_up=0, userKeepBits=None, units='counts', asecpix=None, pixfrac=None, kernel=None, noRej=None)
- Run_all()
This is it, the whole enchilada: drizzle, blot, drizzle again.
- run_drizzle(self, outshape=None, deltmp=1, units='counts', bits=14658, separDriz=0, crmasks=None, asecpix=None, pixfrac=None, kernel='square', delwght=0)
- run_drizzle():
Run drizzle on all asn tables in the obsAsnDict.keys()
Input parameters (all optional) include:
outshape: x,y sizes of output drizzled image (def: determined 'otf')
deltmp: delete temporary (masks, coeffs) files (def: 1 [yes])
units: units of output pixel values (def: counts)
bits: sum of possible good-pixel values in dq array (None => don't use masks).
The default bits=8578 is the sum of the pix values that we accept
as being good, bits = 0+2+256+8192+128 = 8578, which includes
'good', 'replaced', 'saturated', 'CR-repaired' and 'bias-level pixel' but
NOTE THAT THESE VALUES ARE PARTICULAR TO CALACS! [ISR ACS-99-03]
The remainder of the params relate to pyblot setup and results:
crmasks: List of masks from pyblot
separDriz: Drizzle onto separate output images
asecpix: Scale in arsec/pix of final drizzled images.
pixfrac: Drizzle 'pixfrac' or 'dropsize' parameter.
kernel: interpolation kernel used by drizzle.
- writeXml(self)
- mark up products as xml.
| |


--- title: Update keywords: fastai sidebar: home_sidebar summary: "This module contains the update algorithm for a DGLM. After observing a new value $y_t$, updating incorporates the new information into the DGLM coefficients. It also applies the discount factors to reduce the impact of older information. For any model `mod`, the correct method usage is `mod.update(y, X)`." description: "This module contains the update algorithm for a DGLM. After observing a new value $y_t$, updating incorporates the new information into the DGLM coefficients. It also applies the discount factors to reduce the impact of older information. For any model `mod`, the correct method usage is `mod.update(y, X)`." nb_path: "nbs/01_update.ipynb" ---
Updating occurs after observing a new value, $y_t$. The update function accepts $y_t$ and the predictors $X_t$. It will update the state vector from $\theta_t$ into $\theta_{t+1}$, producing the new mean $a_{t+1}$ and variance matrix $R_{t+1}$. In a normal DLM, the updating also impacts the mean of the observation variance, $s_{t+1}$. The coefficients can be accessed with mod.get_coef
, or more directly as mod.a
, mod.R
, and for a normal DLM, mod.s
.
To give the more formal Bayesian interpretation of these steps:
If you are interested in the posterior moments of $\theta_t | \mathcal{D_t}, y_t$ before the discounting is applied, then you can access mod.m
and mod.C
, although these are rarely used.
Again, these functions do not need to be accessed independently from a model. Every model in PyBATS has a mod.update(y, X)
method, which will call the appropriate update function.
This update method works for Poisson and Bernoulli DGLMs. Below are very simple tests which:
import numpy as np
from pybats.dglm import dlm, pois_dglm, bern_dglm, bin_dglm
from pybats.analysis import analysis
a0 = np.array([1, 1, 1])
R0 = np.eye(3)
mod_p = pois_dglm(a0, R0, ntrend=1, nregn=2, deltrend=1, delregn=.9)
mod_bern = bern_dglm(a0, R0, ntrend=1, nregn=2, deltrend=1, delregn=.9)
# New data:
y = 5
X = np.array([1,2])
# Test the Poisson DGLM
mod_p.update(y=y, X=X)
ans = np.array([[0.59974735],
[0.59974735],
[0.1994947 ]])
assert (np.equal(np.round(ans, 5), np.round(mod_p.a, 5)).all())
ans = np.array([-0.16107008, 0.93214436])
assert (np.equal(np.round(ans, 5), np.round(mod_p.R[0:2, 1], 5)).all())
# Test the Bernoulli DGLM
mod_bern.update(y=1, X=X)
ans = np.array([[1.02626224],
[1.02626224],
[1.05252447]])
assert (np.equal(np.round(ans, 5), np.round(mod_bern.a, 5)).all())
ans = np.array([-1.00331466e-04, 1.11099963])
assert (np.equal(np.round(ans, 5), np.round(mod_bern.R[0:2, 1], 5)).all())
This update method works for normal DLMs. Here is a similar updating test, calling the method as mod_n.update
:
mod_n = dlm(a0, R0, ntrend=1, nregn=2, deltrend=1, delregn=.9)
# Test the normal DLM
mod_n.update(y = y, X=X)
ans = np.array([[1.14285714],
[1.14285714],
[1.28571429]])
assert(np.equal(np.round(ans, 5), np.round(mod_n.a, 5)).all())
ans = np.array([-0.08163265, 0.54421769])
assert(np.equal(np.round(ans, 5), np.round(mod_n.R[0:2,1], 5)).all())
This update method works for binomial DGLMs. Here is a similar updating test, calling the method as mod_b.update
. Note that for a binomial DGLM, we must specify the number of trials, $n_t$.
mod_b = bin_dglm(a0, R0, ntrend=1, nregn=2, deltrend=1, delregn=.9)
# New data - the number of trials
n = 10
# Test the Binomial DGLM
mod_b.update(y=y, X=X, n=n)
ans = np.array([[ 0.46543905],
[ 0.46543905],
[-0.0691219 ]])
assert (np.equal(np.round(ans, 5), np.round(mod_b.a, 5)).all())
ans = np.array([-0.15854342, 0.93495175])
assert (np.equal(np.round(ans, 5), np.round(mod_b.R[0:2, 1], 5)).all())


Asamah:
Well, as it happens I have gleaned a few insights about that terrible time from some of the documents I have studied and the ancient stories I have heard.
Do you have a specific reason for asking me this?
"Actually..."


Django itself doesn’t serve static (media) files, such as images, style sheets, or video. It leaves that job to whichever Web server you choose.
The reasoning here is that standard Web servers, such as Apache, lighttpd and Cherokee, are much more fine-tuned at serving static files than a Web application framework.
With that said, Django does support static files during development. You can use the django.views.static.serve() view to serve media files.
See also
If you just need to serve the admin media from a nonstandard location, see the --adminmedia parameter to runserver.
Using this method is inefficient and insecure. Do not use this in a production setting. Use this only for development.
For information on serving static files in an Apache production environment, see the Django mod_python documentation.
Here’s the formal definition of the serve() view:
To use it, just put this in your URLconf:
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': '/path/to/media'}),
...where site_media is the URL where your media will be rooted, and /path/to/media is the filesystem root for your media. This will call the serve() view, passing in the path from the URLconf and the (required) document_root parameter.
Given the above URLconf:
Of course, it's not compulsory to use a fixed string for the 'document_root' value. You might wish to make that an entry in your settings file and use the setting value there. That will allow you and other developers working on the code to easily change the value as required. For example, if we have a line in settings.py that says:
STATIC_DOC_ROOT = '/path/to/media'
...we could write the above URLconf entry as:
from django.conf import settings
...
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.STATIC_DOC_ROOT}),
Be careful not to use the same path as your ADMIN_MEDIA_PREFIX (which defaults to /media/) as this will overwrite your URLconf entry.
Optionally, you can pass the show_indexes parameter to the serve() view. This is False by default. If it's True, Django will display file listings for directories.
For example:
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': '/path/to/media', 'show_indexes': True}),
You can customize the index view by creating a template called static/directory_index.html. That template gets two objects in its context:
Here's the default static/directory_index.html template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en-us" />
<meta name="robots" content="NONE,NOARCHIVE" />
<title>Index of {{ directory }}</title>

Index of {{ directory }}

{% for f in file_list %}

{{ f }}

{% endfor %}

Because URLconfs are just plain Python modules, you can use Python logic to make the static-media view available only in development mode. This is a handy trick to make sure the static-serving view doesn't slip into a production setting by mistake.
Do this by wrapping an if DEBUG statement around the django.views.static.serve() inclusion. Here's a full example URLconf:
from django.conf.urls.defaults import *
from django.conf import settings
urlpatterns = patterns('',
(r'^articles/2003/$', 'news.views.special_case_2003'),
(r'^articles/(?P<year>\d{4})/$', 'news.views.year_archive'),
(r'^articles/(?P<year>\d{4})/(?P<month>\d{2})/$', 'news.views.month_archive'),
(r'^articles/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$', 'news.views.article_detail'),
)
if settings.DEBUG:
urlpatterns += patterns('',
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/path/to/media'}),
)
This code is straightforward. It imports the settings and checks the value of the DEBUG setting. If it evaluates to True, then site_media will be associated with the django.views.static.serve view. If not, then the view won't be made available.
Of course, the catch here is that you'll have to remember to set DEBUG=False in your production settings file. But you should be doing that anyway.
May 21, 2010


|
My Project
|
#include "CoulombLogFunctions.hpp"
#include "Integrators.hpp"
#include "NumericFunctions.hpp"
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
| void | printouts (double output[3]) |
| double * | PiwinskiSmooth (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twiss, double r0) |
| double * | PiwinskiLattice (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0) |
| double * | PiwinskiLatticeModified (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0) |
| double * | Nagaitsev (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0) |
| double * | Nagaitsevtailcut (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0, double aatom) |
| double * | ibsmadx (double pnumber, double ex, double ey, double sigs, double sige, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0, bool printout) |
| double * | ibsmadxtailcut (double pnumber, double ex, double ey, double sigs, double sige, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0, double aatom) |
| double * | BjorkenMtingwa2 (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0) |
| double * | BjorkenMtingwa (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0) |
| double * | BjorkenMtingwatailcut (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0, double aatom) |
| double * | ConteMartini (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0) |
| double * | ConteMartinitailcut (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0, double aatom) |
| double * | MadxIBS (double pnumber, double ex, double ey, double sigs, double dponp, map< string, double > &twissheader, map< string, vector< double >> &twissdata, double r0) |
| double* BjorkenMtingwa | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0 | ||
| ) |
Bjorken-Mtingwa model element weighted with Coulomb logs calculated element by element using Simpson Decade integration.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| double* BjorkenMtingwa2 | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0 | ||
| ) |
Bjorken-Mtingwa model element weighted with Coulomb logs calculated element by element using standard Simpson integration.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| sige | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| double* BjorkenMtingwatailcut | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0, | ||
| double | aatom | ||
| ) |
Bjorken-Mtingwa model element weighted with Coulomb logs calculated element by element taking tailcut into account using Simpson Decade integration.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| aatom | Atomic Mass Number |
| double* ConteMartini | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0 | ||
| ) |
Conte-Martini model element weighted with Coulomb logs calculated element by element using Simpson Decade integration.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| double* ConteMartinitailcut | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0, | ||
| double | aatom | ||
| ) |
Conte-Martini model element weighted with Coulomb logs calculated element by element taking tailcut into account using Simpson Decade integration.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| aatom | Atomic Mass Number |
| double* ibsmadx | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | sige, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0, | ||
| bool | printout | ||
| ) |
Zimmerman model element weighted with Coulomb logs calculated element by element using scaled Simpson Decade.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| sige | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| printout | Boolean flag to switch verbose mode on. |
| double* ibsmadxtailcut | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | sige, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0, | ||
| double | aatom | ||
| ) |
Zimmerman model element weighted with Coulomb logs calculated element by element taking tailcut into account using scaled Simpson Decade.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| sige | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| aatom | Atomic Mass Number |
| double* MadxIBS | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0 | ||
| ) |
Zimmerman model element weighted with Coulomb logs calculated element by element using Simpson Decade integration.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| double* Nagaitsev | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0 | ||
| ) |
Nagaitsev's high energy approximation element weighted with Coulomb logs calculated element by element.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| double* Nagaitsevtailcut | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0, | ||
| double | aatom | ||
| ) |
Nagaitsev's high energy approximation element weighted with Coulomb logs calculated element by element and taking tailcut into account.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| aatom | Atomic Mass Number |
| double* PiwinskiLattice | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0 | ||
| ) |
Piwinski approximation element weighted.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| double* PiwinskiLatticeModified | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twissheader, | ||
| map< string, vector< double >> & | twissdata, | ||
| double | r0 | ||
| ) |
Piwinski approximation element weighted taking also dispersion derivatives into account.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twissheader | Twiss Header Map |
| twissdata | Twiss Table Map |
| r0 | Classical particle radius |
| double* PiwinskiSmooth | ( | double | pnumber, |
| double | ex, | ||
| double | ey, | ||
| double | sigs, | ||
| double | dponp, | ||
| map< string, double > & | twiss, | ||
| double | r0 | ||
| ) |
Piwinski smooth approximation model.
| pnumber | numper of real particles in the bunch |
| ex | horizontal emittance |
| ey | vertical emittance |
| sigs | bunch length |
| dponp | |
| twiss | Twiss Header Map |
| r0 | Classical particle radius |
| void printouts | ( | double | output[3] | ) |
Method that prints out IBS growth rates and times from given input array.
| output | IBS growth rates array. |


Editing Grid
Visible
Snap entities to grid
Major grid size
m
Minor grid size
m
Position (Y axis)
m
Grid line color
Red:
Green:
Blue:


Enumerable Module in Ruby
24 de mayo 2015
What does 'enumerable' mean?
Before we dive into 'enumerables' you should know my background with this Ruby term. I learned it about 5 days ago. Maybe 3 days ago? I can't remember if I saw it on a blog, in the Ruby Docs or in my new book, "The Well Grounded Rubyist." The WGR by David Black is full of dense technical jargon that is slowly weaving into my thoughts. It is dense. Useful, yes. It's my first technical book ever. And there are no visuals. I am a multimodal learner and this book is 100% text.
What does a multi-modal learner do when she sees paragraph after paragraph of text? Draw it out. I draw out this diagram to understand how enumerables are related to collections: arrays, hashes and ranges.
By including Enumerable in a class, you get more power to your class!
- methods packed into the Enumerable module are mixed into the methods inherited with the class Array / Hash / Range.
- the array is the most generic way to spit out the results from enum methods like
select
orfilter
.
What does #map do?
map
will return a new array based on the code block that is executed on each element of the collection. A few key points about the map method in Enumerable module:
- always returns an array with the same quantity of elements as the original array
- each element has been run through the code block
return
is KING with #map
see #map run
array = [2,4,6]
result = array.map { |num| num**2 }
Notice that the code block ran on each element and that our result is an array with the returned values. The code was executed and now our array displays that result.
When would you use #map? When you want access to the return value of your code block.note: this will only make sense if you have a strong understanding of the difference between puts, print and return.
I totally acknowledge that this is an initial understanding of Enumerables and I may even have some gaps or misunderstandings that need to be ironed out. This blog post is like my first time driving - I did it, I accessed the key information to move the car but I have no idea how to harness the power of the vehicle to drive through a snowstorm or parallel park with grace.


--- layout: post title: How to mount remote SSHFS via SSH Tunneling! date: 2017-11-08 19:20:41.000000000 +02:00 type: post parent_id: '0' published: true password: '' status: publish tags: - Linux/Ubuntu - Tricks meta: _publicize_failed_16257270: O:13:"Keyring_Error":2:{s:6:"errors";a:1:{s:21:"keyring-request-error";a:1:{i:0;a:6:{s:7:"headers";O:42:"Requests_Utility_CaseInsensitiveDictionary":1:{s:7:" _publicize_job_id: '11226126811' _rest_api_client_id: "-1" _rest_api_published: '1' _publicize_done_external: a:1:{s:7:"twitter";a:1:{i:16076855;s:56:"https://twitter.com/MphoMphego/status/928311352564776960";}} _publicize_done_16257272: '1' _wpas_done_16076855: '1' publicize_twitter_user: MphoMphego publicize_google_plus_url: https://plus.google.com/+MphoMphego/posts/jheeZPVcWNZ _publicize_done_16966120: '1' _wpas_done_16750486: '1' publicize_linkedin_url: https://www.linkedin.com/updates?discuss=&scope=97183493&stype=M&topic=6334077052181893120&type=U&a=ldiF _publicize_done_18636816: '1' _wpas_done_18429879: '1' author: login: mpho112 email<EMAIL_ADDRESS>display_name: Mpho first_name: '' last_name: '' ---
sshfs is very handy for mounting remote directories on your local filesystem. Recently I needed to mount the / directory off a remote server so I can remotely work from home without complicating everything by ssh'ng then vim my code - Painful exercise.
All that is needed is to copy the code below to a file and chmod +x it.
#!/bin/bash
if [ -z "$*" ];
then echo -e "Usage: $0 USERNAME HOST REMOTEHOST REMOTEPORT MOUNTPOINT \\n
USERNAME: Default to local username
HOST: Hostname or IP of server to connect to.
REMOTEHOST: Host to tunnel via
REMOTEPORT: Host port to tunnel via (Default: 2222)
MOUNTPOINT: Local mounting point"
exit 1;
fi
export PATH="${HOME}/bin:$PATH"
USERNAME=$1
HOST=$2
REMOTEHOST=$3
REMOTEPORT=$4
MOUNTPOINT=$5
# Assumptions: ssh keys have been generated and successfully copied over to remotehost, vice versa
# if necessary, openssh-client, openssh-server and sshfs packages installed
# The first we need to pre-establish a forwarded port over SSH.
ssh -v -f -N -L 1233:"${HOST}":22 -p "${REMOTEPORT}" "${REMOTEHOST}"
sshfs -p 1233 "${USERNAME}"@localhost:/ "${MOUNTPOINT}" -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3