text:
'Shiva,' final work by Indian dance master…
Things To DoEntertainment
'Shiva,' final work by Indian dance master Chitresh Das, will debut this weekend at Zellerbach Hall
A scene from "Shiva" choreographed by the late Chitresh Das and beingpremiered this weekend in Berkeley by the Chitresh Das Dance Company. (MargoMoritz)
A scene from "Shiva," choreographed by the late Kathak dance masterChitresh Das and being premiered this weekend in Berkeley by the ChitreshDas Dance Company. (Margo Moritz)
By Mercury News | themerc@bayareanewsgroup.com |
PUBLISHED: February 20, 2016 at 7:30 a.m. | UPDATED: August 11, 2016 at 10:44 p.m.
This weekend the Chitresh Das Dance Company, a leading troupe of kathak (one of several forms of traditional Indian dance) based in San Francisco, will present two performances of Pandit Chitresh Das' final work, "Shiva."
The evening-length piece was nearly finished a year ago when Das, 70, suddenly passed away. The choreography was completed by a senior disciple, Charlotte Moraga, in keeping with his ideas, and the opening was postponed until now. Moraga has become one of the company's co-artistic directors.
To honor Das and illustrate the many roles he played during his four and a half decades in the Bay Area, the performances also will include a short memorial video, a performance by hundreds of his students from his Chhandam School of Kathak chanting a poetic verse and the Chhandam Youth Dance Company performing an opening piece.
In an interview, Celine Schein, longtime executive director of the company and Das' widow, offers insights into both the premiere of "Shiva" and its creator, who was not just a choreographer but a dancer, composer and teacher, too.
When asked about the company's plans to continue Das' work, Schein says, "It's a difficult continuation, but in some ways it's almost natural. Seibi Lee, one of the co-artistic directors, says that he began saying more than 10 years ago, 'What will you do tomorrow if I die today?' He was so conscious of his mortality and the temporary nature of life."
Ultimately, his answer was to build a company of dancers to carry on his vision of kathak, as well as a school to train future generations. "He put so much of his life and career into teaching (but) kept himself in perspective," Schein continues. "He would say, 'I am one being, and if it is to mean something, it has to go beyond me.' "
She points out that, though Das lived in the U.S., "his thinking and feeling was … profoundly Indian in nature. He always said, 'I am India. My entire world is India.' "
When he came here in 1970, she says, "no one knew kathak. He reached people not by diluting traditional kathak or incorporating Western elements, but by going even deeper and more intensely into Indian culture. … He honored the kathak tradition but was also a critical thinker. He didn't just regurgitate the usual myths (on which much classical Indian dance is based). He didn't want to gloss over their deeper events and have a happy ending, settling for the abridged version. He didn't have a problem making people feel uncomfortable. He was constantly looking at … the complexity."
As for the new work (being premiered Saturday evening and Sunday afternoon), —‰'Shiva' starts in the traditional manner with a recitation of the story, which provides a rhythm," Schein says. "That then informs the strokes of the drummer and, in turn, the percussive footwork of the dancer."
Das was interested in the Hindu god Shiva, who is both creator and destroyer, partly because he is also half of Ardhanarishvara, the two-sided deity that includes his consort, Parvati, as the other half and represents both the masculine and feminine aspects of the universe.
"We all have both energies," Schein explains, "and he was interested in how that would manifest in the art form. He was really a radical feminist, and it was never a question for him that women could portray powerful men on stage."
She says Das was fascinated by extreme practices "like holding a stone in the air for 20 hours — fascinated by pushing limits, exploring physical, mental and spiritual boundaries."
—‰'Shiva' is meant to be intense," she adds, "to take you into the crematory grounds where the sadhus (ascetic holy men) are smearing themselves with ashes and holding the skulls which they would drink out of. It's a spiritual search."
'Shiva'
Pandit Chitresh Das' final work, presented by the Chitresh Das Dance Company
When: 8 p.m. Feb. 27,
3 p.m. Feb. 28
Where: Zellerbach Hall, Bancroft Way at Dana Street, Berkeley
Tickets: $12-$58;
510-642-9988, calperformances.org
Bridge: Jan. 16, 2021
Word Game: Jan. 16, 2021


Facility Tours are by appointment only. Please call or email us to schedule your visit.
Click on the link in the map below to view larger or get directions.
We are conveniently located directly across the street from Diplomat Elementary & Diplomat Middle School.


text:
La brinkmanship è una pratica di pressione psicologica, praticata al fine di cercare di ottenere un risultato vantaggioso, spingendo in avanti situazioni pericolose fino a condurle sull'orlo del precipizio di un conflitto attivo. Si verifica nella politica internazionale, nella politica estera, nei rapporti di lavoro e nella strategia militare (in contesti contemporanei) che implicano, ad esempio, la minaccia di ricorso al conflitto armato,  o all'impiego di armi nucleari, e le controversie con possibili esiti catastrofici.

Questa condotta si prefigge di portare la situazione dell'avversario al limite della pressione prima del momento dell'azione con la finalità di indurlo ad arrendersi o a fare concessioni. Questo risultato può essere raggiunto attraverso manovre diplomatiche creando l'impressione che si sia disposti ad utilizzare metodi estremi piuttosto che cedere. Durante la guerra fredda, la minaccia della forza nucleare è stata spesso utilizzata come una tale misura di pressione crescente.

Nel caso pratico, il brinkmanship consiste nel muovere truppe con grande dispiego di mezzi e aggressività come se si volesse muovere guerra senza negoziare, ma si spera segretamente di vincere senza combattere piegando psicologicamente l'avversario.

Scriveva Carl von Clausewitz: "l'aggressore è amante della Pace, egli vorrebbe conquistare le nostre case senza sparare un sol colpo" (Della guerra, CAP V della superiorità della Difesa strategica).

Vedasi anche Risk-Taking, ovvero rischio calcolato, politica del rischio calcolato - political brinkmanship.

Note

Voci correlate

 Teoria dei giochi
 Teoria del pazzo
 Equilibrio del terrore

Collegamenti esterni

Relazioni internazionali

redpajama_set_name: RedPajamaWikipedia


The decision to officially make all three of Porter County's early voting locations open on the last two Saturdays before the election will be discussed by the Election Board on Friday at 3 p.m.
At their previous meeting, board members said they would have to first see what kind of turnout will be seen in the first few days of early voting to determine whether it would be worth the time and expense to extend early voting to additional locations on those Saturdays.
As of last week when early voting began, the Voters Registration Office reported a record number of voters turned out the first day, 431, even more than the 2008 elections.
The county's early voting sites include the County Administration Center in, the North County Complex in Portage and the Chesterton Town Hall which is the newest satellite site and was in the May primary election.
Other agenda items include public comment and updates from Voter Registration Directors Republican Sundae Schoon and Democrat Kathy Kozuszek.
Also Friday will be the board's requirement to conduct a public test of the voting equipment supplied by vendor ES&S.
The board will meet in the Voters Registration office, Room 105 of the County Administration Center, 155 Indiana Ave., Valparaiso.


text:
USFK members, foreigners hold no-mask parties on Busan beach amid pandemic
Published : May 30, 2021 - 14:20 Updated : May 30, 2021 - 14:20
This photo uploaded on a social network service account on Saturday, shows Haeundae Beach crowded with visitors. (A social network service account)
Around 2,000 foreigners, including US soldiers in South Korea, set off firecrackers and held parties without wearing masks on and around a local beach amid the coronavirus pandemic, police said Sunday.
The foreigners danced, drank and set off firecrackers on and around Haeundae Beach in the southern city of Busan from Saturday afternoon through early Sunday, with many of them not wearing face masks and violating social distancing rules, according to the Busan Metropolitan Police Agency and witnesses.
They appear to have visited the region to mark US Memorial Day.
Police received at least 38 reports of complaints from local residents overnight, who voiced concerns over such dangerous acts amid COVID-19 and grumbled over the noise and other disturbances.
Dozens of police officers were dispatched to the scene, but they were unable to completely stop them, according to the agency and witnesses.
South Korea is still struggling to stem the continued spread of the new coronavirus across the country and is enforcing strict antivirus schemes. Currently, the greater Seoul area is under Level 2 social distancing, the third highest in the five-tier scheme, and Busan and most of the remaining regions of the country are subject to Level 1.5 distancing.
On Saturday and Sunday, the country reported 533 and 480 more COVID-19 cases, respectively, raising the total caseload to 139,910, the Korea Disease Control and Prevention Agency (KDCA) said.
Police and local government officials vowed to toughen the crackdown on any illegal activities.
US service members and other foreigners have caused trouble by holding parties in violation of antivirus schemes. Last year, dozens threw no-mask parties on Haeundae Beach in celebration of US Independence Day in the midst of the new coronavirus. (Yonhap)

redpajama_set_name: RedPajamaCommonCrawl


Our Solid Stainless Steel Ice Cream Scoop won't chip or discolor, even after repeated dishwasher cycles. A pointed tip scoops hard ice cream, frozen yogurt or sorbet, and flat edges reach into corners of any shaped ice cream container. A non-slip grip cushions during scooping.


text:
Bengals 2016 Free Agency Rumors and News
Could the Dolphins be interested in a trade for a Bengals running back?
If the price was right, would you trade away Jeremy Hill or Giovani Bernard? And what would the right price be?
By DeusVult@smackabees Mar 27, 2016, 2:00pm EDT
Share All sharing options for: Could the Dolphins be interested in a trade for a Bengals running back?
Andrew Weber-USA TODAY Sports
The Miami Dolphins are looking for a running back.
The Dolphins recently lost their starting running back of the last three seasons, Lamar Miller, to the Houston Texans in free agency. The Texans pried him away from the Dolphins thanks to a contract worth $26 million over four years, giving Miller the seventh highest average per season among running backs. That's not bad for a running back who has only once topped 900 yards rushing in a season. While the Texans now have their heir apparent to Arian Foster, the Dolphins are left with a pretty empty cupboard.
In the wake of Miller's defection to the Texans, the Dolphins are now facing a huge hole at the running back position. Not only did the team lose the player responsible for the bulk of their carries, but also lost the player who finished second on the team with 47 receptions in 2015.
The Dolphins currently have Jay Ajayi, Damien Williams, and Jahwan Edwards on their roster at running back. Edwards has never played in an NFL game, while Ajay and Williams combined for a mere 246 rushing yards in 2015.
The Dolphins attempted to plug the hole vacated by Miller by signing C.J. Anderson to an offer sheet, but were rebuffed when the Broncos decided to match the offer and retain Anderson at the last minute. The Dolphins also missed out on free agent Chris Johnson.
Unable to replace Miller in free agency, the Dolphins are apparently looking at trading for a running back.
The Miami Herald's Armando Salguero reports the Dolphins are trying to acquire a running back.
The Dolphins have had conversations with multiple teams about trading for a back, a league source said from the NFL annual meeting Wednesday.
There are no specifics available as to which players the Dolphins have inquired about. But it is not believed a trade is imminent.
So this brings up the question: Would you consider trading Jeremy Hill or Giovani Bernard to the Dolphins? And if so, what would you expect in return?
Jeremy Hill:
Why the Dolphins might want Hill:
The Dolphins first attempt to replace Miller was with a big back in C.J. Anderson. Jeremy Hill would not only fill this role as a three down back who can score touchdowns, but would come with a cheaper price tag at just over $1 million per season. Hill could be a tempting option for the Dolphins, especially if they think they can get the Jeremy Hill who lit up the NFL during the second half of 2014.
Why the Bengals might entertain trading away Hill:
It's no surprise that Hill is prone to fumbling. His eight fumbles in two seasons as a committee back could be too much for the Bengals' coaches to tolerate. Hill also regressed in his second season, evidenced by his rushing average dropping from 5.1 as a rookie to a pedestrian 3.6 this past year. If the Bengals don't foresee an improvement in either of these areas, they could look for a trade to add draft picks and give Bernard a bigger role as the primary running back.
Giovani Bernard:
Why the Dolphins might want Bernard:
The Dolphins current inexperienced trio of Ajayi, Williams, and Edwards all weigh in at 220 to 230 pounds. So the lighter, shiftier Bernard might be of more appeal than a fourth big back. Bernard is also a good pass catcher, which is something that Miller also provided the Dolphins.
With Ryan Tannehill getting paid what he's getting paid to throw the ball to Jarvis Landry and DeVante Parker at wide receiver, and Jordan Cameron at tight end, the Dolphins presumably have enough offense that they wouldn't need a workhorse who can carry the ball 300 times a season. In that regard, a shifty running back like Bernard, who could play on passing downs, and rotate with Ajayi in a platoon could be exactly what the Dolphins need.
Why the Bengals might entertain trading away Bernard:
There are many reasons why the Bengals might consider trading Bernard. He is in the last year of his rookie contract before becoming an unrestricted free agent at the end of the 2016 season. With C.J. Spiller, C.J. Anderson, and Shane Vereen making at least $4 million per season, Bernard could probably command at least that much, if not around $5 million per year on the open market. Instead of waiting for him to leave as a free agent, a trade would bring in value for him before losing him in 12 months.
Why the Dolphins might prefer a trade over a rookie running back via the draft:
The 2016 draft doesn't seem to be loaded with elite running back prospects. Only Ohio State's Ezekiel Elliott and Alabama's Derrick Henry are generally considered to be worthy of sniffing round one. They are also the only two running backs who seem to be candidates to step in and become your team's starting back on day one. But pick No. 13 might be a bit too rich for taking a running back, while #42 overall might be too late to grab either of the two best options.
Also, with the unpredictable nature of the draft, there is no way for the Dolphins to know how good a rookie will be until they start actually working with him. Acquiring a running back in a trade assures them of having the spot filled on the roster. Also, with their entire backfield being such an unknown, there is something to be said for bringing in a known commodity in a trade.
"The reason we were trying to do that is we're looking to having more than one guy," Dolphins new head coach Adam Gase told the Miami Herald about the team's running back situation. "Jay is going to be a big part of what we're doing. I'd like to have multiple backs. Right now, we don't have a lot of guys on the roster. I think we only have three guys on the roster right now. We're going to need to really develop that stable of backs."
What would the Bengals expect in return for Bernard or Hill?
Considering that the Bengals used a second round pick on both Hill and Bernard, it seems hard to imagine that they would give up either running back for anything less than that. They would probably seek a first round pick, or a pair of picks involving a second round pick, plus another asset.
If the Bengals were to trade away Hill or Bernard, it would not be a case where the player is a bust and/or too costly, and the team is just looking to unload an unwanted player. Instead, it would be a case where the team is looking to get a good return. Would this price be too steep for a team like the Dolphins, desperate for a running back? Maybe. But considering they just gave up a higher draft spot for the right to acquire bad contracts from the Eagles, who knows with the Dolphins will do. It never hurts to pick up the phone and ask - or answer the phone if the Dolphins call.
Bengals 2016 NFL Draft news, workouts and rumors
Where Bengals rank on Cowboys' leaked draft board
Dolphins want an RB; Hill/Gio on trade block?
Mailbag: Dawson's chances at starting, depth at DE


Joe knows Ireland love him but knows he can't stay here forever. 2023 seems to be long enough for him to see his vision through but could also destroy his legacy.
I think the wife and kids will be the ones to decide.
I think the wife and kids are central to the eventual choice...but really, I don't think any of us that don't already know his decision are any closer to sensing his decision. He's playing his cards very close to his chest and is a damn fine double speaker. I'm usually pretty good at reading the signs and signals in the language people use.... but he's frustrating the hell out of me and virtually everything he says could be interpreted as 'I'm staying' or 'I'm leaving'.
I don't personally think he'd walk into the main ABs job - I don't think he believes he'd walk into the job. (Maybe he will - laws and traditions are made to be broken) But ultimately, he's 53. Does he really need an assistant role for four or five more years? Leinster players had a big hand in coaxing him to become a head coach with them (Sexton being particularly influential). Then we quickly gave him his first International head coach job - no Assistant level apprenticeship, just straight in, because we saw that he had the talent to excel in the role.
He, and the players around him, have proven that they can handle the very top of the tree. So staying here wouldn't limit his horizons - in theory.
But it seems he's hinting that he's hit a crossroads of sorts and perhaps that is family influenced - parents back home perhaps. Even so, I even have difficulty with those prospective reasons. Plenty of people go abroad to live and never go home permanently. It seems in sport though, the idea of going back home is always more romantic a concept than it is for the vast bulk of emigrants who just accept that another life and commitments exist.
So I don't know what's in his head really. Moving back home at this stage in his life seems to me to be only the beginning of another era of stress for him (new family arrangements, new job). So maybe the crossroads is his decision to kill off the niggling dream of being ABs coach and live with the reality of his present.
I hope it's the latter and will be very sad if he decides to go - but will of course respect it.
When I saw that it was a nice bit of 'intrigue' before the game. "What the hell was that? Why did Hansen do that so publically? Whatever it was, couldn't it be given to him in the tunnel?"
All those thoughts. Money for tickets...................... hmmm. You never know. Maybe a message from Putin that he wanted to give to Hansen to give to Joe to give to the USA coach this week to give to Trump!
It's f**kin' World War 3! That's what it is! No wonder the ABs didn't care about losing - next year won't even happen.
The width of the paper roll in Joe's hand seems a bit too wide to be cash doesn't it SecretFly? How wide are the notes over there?
ebop wrote: The width of the paper roll in Joe's hand seems a bit too wide to be cash doesn't it SecretFly? How wide are the notes over there? The stare from Hansen seems pretty serious and the delight on Joe's face is more than what you'd expect from just receiving a couple hundred bucks.
Nah... you're right, ebop - it was his Orders okay.
"You will depart Emerald Isle at precisely 9.00pm Sunday. You will be given further instructions when you land in Oz. The Wicked Witch of the West will give you your AB kit on departure for New Zealand. Do not disappoint us with non-compliance. We will look for you, We will find you. We will kill you. This message will self destruct in 10 seconds. "
Thus why Joe ran off the park after getting it.
"Sorry about the horse's head in the bed, Joe. Hope the wife wasn't too upset. But I gotta let you know how serious I am when I tell ya your not gettin' me bloody job. Not today, not tommorah, no ever - dipschidt!"
I assume you guys want to retain Schmidt?
"In order to get the NZ public to accept you straight back into the AB Mob we need to let you and Ireland beat us again to build your aura up further. It will be painful but this must happen but for this game only and if we meet in the RWC we will destroy your team....best wishes, Steve".
I couldn't speak for everyone, Bilt. Some think we have good replacements ready. Farrell has been mentioned to take on Head Coach role. Or he could link up again with Lancaster (currently at Leinster) - they might think they have unfinished business as a coaching unit.
So some supporters would feel that we're okay to keep the standards up if Joe went.
But personally, I like everything about Joe. Not just his coaching, his personality. I like it that he came to Leinster first and gave us some very happy years.... then loved it that he stuck around and went over to Ireland International. So it's a long affair, as it were and there'd obviously be sad feelings of 'end-of-era if he goes.
His coaching role has been proven with us but I just like having him around too. I like his quiet gentle modesty added to his ruthless attention to detail.
How long has he been in Ireland?
Biltong wrote: How long has he been in Ireland?
He said to Sexton at the time that he was afraid the Leisnter players wouldn't listen sufficiently to his methods and instructions. Sexton said "You just teach us... we'll take care of the other players" That impressed him. And he's been impressing us since.
Surely Gatland is the next NZ coach?
I like rebels though. Gotta have a George somewhere to keep everyone else on their toes. I like George. He wasn't always wrong.
Anyway. Game worked out like expected. Tough slog first half, opened up in the second. Whilst America were asking questions in that first half, I do think that we overdo the breaking down phase. Don't mind that process if it looks clinical but today it looked to be very disjointed. A lorrah errors. Some players didn't seem to know whether they were in breakdown phase or open-up phase. Beirne seemed to be overplaying everything. It's 15 men Beirne. Let the others play their bit.
Henderson did some good stuff but he's still looking overall subdued. Wish he regained more of his bloodymindedness.
Result was pleasing with mostly second string guys but the first half was messy as hell.
Schmidt spoke to journalists after and said the IRFU had been very patient with his decision. He said they said, don't be rash, if you change your mind, then we'd love to continue that conversation. If you change your mind another way, then we could discuss that too.
I wonder if Joe wants to have a tilt at the Lions and do a transition to NZ after 2021.
Or maybe he's just going. Feck!
The Lions could just be one of the things that he might agree to stay for. Winning a Lions series is about as close as it gets to winning with the ABs. Its easily the biggest thing outside AB rugby in terms of a tournament or series, from a NZ perspective.
And if the trend is towads a NH dominance, why bother leaving at all? Plus, the pay is better.
When Joe makes his announcement do the Irish people on here think it'll negatively impact their chances at next year's RWC? It's common for people that have one foot out the door to underperform because they've subconsciously checked out.
Glad you enjoy the Lions, Taylor. I think maybe you guys in the SH should take on the mantle now for a decade or 10. The Southern Lions. - Nice ring to it. We in Ireland could just get on then with trying to keep improving as a Nation.
ebop wrote: When Joe makes his announcement do the Irish people on here think it'll negatively impact their chances at next year's RWC? It's common for people that have one foot out the door to underperform because they've subconsciously checked out.
Well let's not forget the on-field note, ebop.
If Joe is going, then it's probably a very meticulously planned exit - ie, it'll have a lot to do with what's going down in New Zealand as regards Steve.
So what will that mean for Steve's impending announcement? If Joe is going, then it might be a good thing to bet that Hansen will give an end date for his tenure with the ABs too.
So .................... adding one and one.................. both sides underperforming come WC? It's a Scotland WC so.
Schmidt now has to be the prime candidate for the ABs even though Gatland would like to think its his. NZRFU doesnt.
I dont think Schmidt would pass up the ABs commencing 2020 even with an offer of the Lions in 2021. And I cant see NZRFU allowing him to do it - the WRU ought never to have allowed Gatland to do 3 tours in his tenure and I think Wales could have achieved so much more had they not.
Pie wrote: Schmidt now has to be the prime candidate for the ABs even though Gatland would like to think its his. NZRFU doesnt.
A good few Welsh supporters probably feel their role in those Lions tours (players plus coaches) compensated for the National side being sidetracked. But I'd be with you, Wales should have come first, second and third, and if Schmidt stuck around in Ireland, I'd hope that it wouldn't be for the carrot of Lions. That's not the right kind of 'staying' in my eyes. Ireland have a lot of selfish work to do over the next number of years. ABs look after themselves - all other Nations should follow the habit.
Schmidt is gone. If not then he's a great actor! I don't think the coaching team will change much. We'll need a new attack coach.
Jones and Gatland are already set to leave before the next World Cup. Jones was originally due to leave straight after, until the RFU negotiated a transition period. If we have a bad tournament he could yet go sooner.
I don't think teams are derailed knowing the coach is going. There's sufficient common purpose to try and get a job done. I suspect there will be disappointment if Joe decides to go but that will wear off.
Interesting Lions tours are said not to be popular when they are by far... far, the biggest supported rugby tour overseas by fans, ofvany country/ies anywhere.
Taylorman wrote: Interesting Lions tours are said not to be popular when they are by far... far, the biggest supported rugby tour overseas by fans, ofvany country/ies anywhere.
No-one denies they Lions tours draw a crowd and rake in revenue. What some supporters are asking more often now, is how they benefit their national side, and the answer is that they don't. I enjoy Lions tours but, unless the global calendar is radically changed to accomodate them, then they will contine to be disruptive, which will only increase the disatisfaction.
I think it because it smacks of old school tours and I expect Home Nations fans have the most cash to splash on these jaunts....I've been on two 09 and 13 and they were superb.
Fans were everywhere here in Wellington during last years tour. Great bunch. Very popular to talk to wherever they went, especially in pubs when you had the 50's and 60's lot all reminiscing about the tours in the 60s etc.
After five minutes youd think two strangers were lifetime mates talking about a match they both went to forty years ago. When they come in big numbers like that kiwis love getting out and just talking rugby.
Well, so it's official. Joe is going home after 2019. I'll say my goodbyes then so. A lot of work to get done before then.
We're been greedy and I wish him well in his year or two out of the game. Mind you, it might only prove to be a month or two out He'll obviously have carrots placed before him.
But for now............ on we go with the Joe show.
Shame for ireland but very understandable as family needs to come 1st. Good opportunity for farrell too.
No 7&1/2 wrote: Shame for ireland but very understandable as family needs to come 1st. Good opportunity for farrell too.
Could be very interesting with Farrell.
First thing Farrell will need is a coach to replace Joe. (Joe being a coaching coach rather than a Director coach).
Hmmm....who we got that might interest him?
That would be newsworthy. The boss and the assistant turn things around in another Nation. And if the two of them could keep things motoring for Ireland then it'd be hopping and skipping back to England eventually for another, more mature shot at coaching their home Nation.
I was wondering whether Lancaster replicating his Leinster role could work. Would be amusing if it happened and if it worked.
It's risky Tiger but it has potent potential.
The risk is that Lancaster would seek to just transfer Leinster style over to Ireland - and perhaps the surest sign of how smart Joe Schmidt was as a coach was that transition from Provincial coach to International.
Everyone expected him to bring his Leinster sensibilities to Ireland and were ready for fireworks...but....................... it was ruthlessly boring stuff he brought. And he built and built slowly on that ruthlessly boring framework - adding bits all the time but in no hurry to become a fireworks team.
So, I think Farrell and possibly Lancaster could be a forceful unit together again but it would need to understand that it's not always about dashing and ducking and sidestepping and offloading. You have to have all players willing and able to indulge in the dirty stuff at the breakdown and tireless defending. It needs a strong balance and so the attack philosophy has to be mellowed through 80 minutes.
Lancaster seems attack driven (which is a good thing) That new balance where he's the assistant though to the defensive expert.... it might be a nice combination; IF Lancaster came in, that is. He might though go straight back to England or somewhere else.
So as expected Joe is gone after the RWC.
He is genuinely irreplaceable, a genius. I think he not just the best coach in rugby but possibly any sport and we'll never see the likes of him again.
At both Leinster and Ireland he's had good players to work with but there's no doubt for me he was fundamental their successes and making them much more than the sum of their parts.
I'm sure he will be like a man possessed over the next 11 months to go out on a high.
Farrell is the obvious replacement. He's certainly added something since he came in and will continue to drive standards forward, so although I'm very sad to see Joe leave we are lucky to have such a quality replacement already in place.
Anyway, if Joe was there, the two of them (Sexton and Joe) must have looked at each other a few times and wondered where all the time had gone since their first meeting. It's passed in an instant.
All good things come to an end, I'm just glad to have lived at a time to witness Ireland evolve from 5N wooden spooners to a genuine world force.
That certainly didn't begin with Joe but he has certainly taken things to another level.
I think there will be a drop off from Ireland, long time to go until the RWC in rugby terms, I can see this knocking 5-8pts off their performances.
rodders wrote: All good things come to an end, I'm just glad to have lived at a time to witness Ireland evolve from 5N wooden spooners to a genuine world force.
That's exactly how I feel about it Rodders, it's been a privilege but this time next year it'll be time to move on to a new era for Irish rugby. We can't replace Joe, there's nobody out there that can.
TightHEAD wrote: I think there will be a drop off from Ireland, long time to go until the RWC in rugby terms, I can see this knocking 5-8pts off their performances.
That'll be okay then. Coz when Stevie Hansen tells the ABs that he too is going after 2019... that'll drop 5-8pts off their performances.
Who do we speak to about getting Joe an OBE for services to rugby in Northern Ireland?
This just in from Nucifora: *evil chuckle* That's one interfering bollix gone. Now onto that other c**t, Browne. When he's gone I shall declare myself Infallible and a God. I shall then ruin Ulster with more glee than I could muster whilst being curtailed"
Damn. You Ulster lads were right about him all along! Dark times ahead.
I agree. Amazing man. I can see Ireland going back to a 2nd/3rd place team for a long time now.
Is it true he is quitting rugby altogether or just for the moment? Is he staying in Ireland or going back to NZ?


text:
Q: Working with multiple arraylists in different classes Right, I'm trying to read a file and have that data stored in a arraylist(primaryList in primaryList.class). The data is just lines of countries, cities and their population. Heres an example: USA;Chicago=2695000;
After the data is stored, I have methods called setPopulation and getPopulation in a second class(secondaryList.java) that seperate the population number and store it in its own arraylist, namely secondaryList in secondaryList.java.
Everything works fine if the arraylists are in the same class. But when I separate the lists, the primaryList gets emptied at one point. I've been reading around and there seems to be an issue with how I'm calling the constructors if I got it right, but I'm not entirely sure how to implement it in my code.
Main.java - class that runs the methods from other two classes
public class Main {
public static void main(String[] args) throws Exception {
    primaryList primaryList = new primaryList();
    secondaryList secondaryList = new secondaryList();

    primaryList.ReadFile();

    secondaryList.setPopulation(0);

    String country = secondaryList.getPopulation(0);

    System.out.println(country);
}}

secondaryList.java - class responsible for extracting the population part of the string and storing it in secondaryList
public class secondaryList {
primaryList primaryList = new primaryList();

private String country;
private ArrayList<String> secondaryList;

public secondaryList() {
    secondaryList = new ArrayList<String>();
}

public void setPopulation(int i) {
    System.out.println("starting setPopulation");

    int listSize = primaryList.GetInputListSize();
    System.out.println("primaryList size is: " + listSize);

    country = primaryList.GetInputList(i);

    System.out.println("setPopulation got:" + country);
    String resultPopulation = country.substring(country.indexOf("=") + 1);

    secondaryList.add(resultPopulation);
}

public String getPopulation(int i) {

    country = secondaryList.get(i);

    return country;
}}

primaryList.java - Class that reads the file and is responsible for storing it's contents in the primaryList list.
public class primaryList {

private List<String> primaryList; // List for entire row
private String country;

public primaryList() {
    primaryList = new ArrayList<String>();
}

public void ReadFile() throws IOException {
    FileReader reader = new FileReader("FileToRead.txt");

    BufferedReader bufferedReader = new BufferedReader(reader);

    // Read file FileToRead.txt and add to countries list
    while ((country = bufferedReader.readLine()) != null) {
        SetInputList(country);
    }
    bufferedReader.close();
    System.out.println(primaryList.size());
}

public String GetInputList(int i) {
    country = primaryList.get(i);

    return country;
}

public void SetInputList(String country) {
    primaryList.add(country);
}

public int GetInputListSize() {
    int i = 0;

    i = primaryList.size();

    return i;
}}

Output: When I run the program, I get the following output:
primaryList size is: 11
starting setPopulation
primaryList size is: 0
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at testing.primaryList.GetInputList(primaryList.java:32)
    at testing.secondaryList.setPopulation(secondaryList.java:22)
    at testing.Main.main(Main.java:10)

Notice how after I try to get the size of the primaryList from primaryList.java by calling it from secondaryList, the list is empty.
What am I doing wrong? Any help is appreciated!

A: You're creating a new instance of primaryList and attempting to read from it in secondaryList.
public class secondaryList {
primaryList primaryList = new primaryList(); //New instance of primaryList

private String country;
private ArrayList<String> secondaryList;

public secondaryList() {
    secondaryList = new ArrayList<String>();
}

public void setPopulation(int i) {
    System.out.println("starting setPopulation");

    int listSize = primaryList.GetInputListSize(); //Reading from new instance, size is 0
    System.out.println("primaryList size is: " + listSize);

    country = primaryList.GetInputList(i);

    System.out.println("setPopulation got:" + country);
    String resultPopulation = country.substring(country.indexOf("=") + 1);

    secondaryList.add(resultPopulation);
}

You must reference the primaryList that you stored input in, which is in your main method. This will require you to restructure your code a little. Try including a new argument of type primaryList in setPopulation, then pass the reference to your initial primaryList to it.

redpajama_set_name: RedPajamaStackExchange


text:
Home › energy › Transformation Now or Never + An Opportunity to Say Goodbye to PNM
Transformation Now or Never + An Opportunity to Say Goodbye to PNM
By paulgibson51 on August 31, 2020 • ( 2 )
Today we share links to last week's three posts on different aspects of transformation, plus a new piece in the transformation series: municipalizing our utility industry. Ext PNM, El Paso Electric & Xcel Energy, hello local control & fairness for ratepayers.
Tuesday, Sept. 15, 6:30-8 pm. Retake Zoominar on NM Drought, Water Utilization & Water Management. We all know we live in a drought state, but the challenges involved in managing that crisis is are more complex than many imagine. We have assembled four of New Mexico's foremost experts on the historic use of water and water policy in NM. This could be the most important Retake conversation ever.
Click here for more info & to register: YOU MUST PRE-REGISTER To ATTEND
URGENT Call to Action
We Must Prevent the NIghtmare of our Lifetime- 4 More Years
At the bottom of the post, after our examination of how cities and counties can achieve energy justice and local control of our energy (Bye Bye PNM), we present the posts on transformation from last week and then close with Stephen Colbert, who offers a reflection on the RNC (very funny) that ends in a passionate plea to vote (not funny). Retake, of course, wants you to vote, but even more importantly, we want you to get active in supporting campaigns, particularly in swing states and starting right now.
If Kenosha militia and the RNC haven't fully sunk in:
This is the most important election of our lifetimes & Retake has a four-part election strategy. No excuses, please just do it. I simply can't even imagine what it will feel like to wake up on Nov 4 and realize that we have four more years of this.
But I did take a moment on Saturday to ponder precisely that. And it was the darkest thoughts I have had in a long time. And don't for one second think that others will do the work for you. This is all hands on deck and for all of us. The stakes are too high and there is simply nothing Trump won't do to cheat a win. We need a landslide. So, please, please, please click the link below and get started.
Click here for our Election page and get started!!!!
Wednesday, Sept. 2 6 pm. Cecile Lipworth in conversation with Martha Burk about her book Your Voice, Your Vote: 2020–21 Edition: The Savvy Woman's Guide to Politics, Power, and the Change We Need. It's an online Zoom event for Collected Works Bookstore. Info is here on Collected Works' website – short URL https://bit.ly/CW_Burk and on Facebook here – https://www.facebook.com/events/310738420255111
News In Brief:
From CNN: "The 10 Senate seats most likely to flip in 2020". Some very good news here, 8 of the 10 identified are GOP incumbents, five or six of whom are losing in the polls, two of whom are in races that are tightening and with only two Dems threatened, one is reasonably safe, so possibly a net gain of 5+ seats. More good news. One of the 8 GOP is Lindsay Graham. Please take a look at this article and if you have friends or family in any of these 10 states, consider reaching out and having a zoom call with those friends, share our GOTV strategy and other election actions and encourage them reaching out to their friends and family. This is all hands on deck time and those caring, trusted relationships are the best place to start in engaging others.
From The Atlantic: "This is How Biden Loses". This is not a prediction, more a cautionary tale pointing to a substantial lead in the polls and the landmines of Kenosha, Portland and Seattle. The article points to the critical need for Biden to visit these cities, calm them and give speeches like the one offered by Jacob Blake's mother:
"As I have prayed for my son's healing, physically, emotionally, and spiritually, I also have been praying, even before this, for the healing of our country," Jackson says, and she goes on: "We are the United States. Have we been united? Do you understand what's going to happen when we fall? Because a house that is against each other cannot stand. To all of the police officers, I'm praying for you and your families. To all of the citizens, my Black and brown sisters and brothers, I'm praying for you. I believe that you are an intelligent being just like the rest of us. Everybody, let's use our hearts, our love, and our intelligence to work together to show the rest of the world how humans are supposed to treat each other. America is great when we behave greatly."
From The Atlantic: "This Is How Biden Loses."
It is absolutely essential that the public narrative NOT be about how Democratic run cities are in flames and that Democratic leaders are unable to protect residents. The narrative must be that an inflamed rhetoric from the White House has divided us and turned us against each other. The first NIB above should offer hope, the second really should be directed to Joe Biden. He needs to get out in front on this, visit these cities, and control the public debate, with his soothing tone at the DNC, juxtaposed with Trump's sustained hateful rhetoric.
How To Achieve Public Power and Local Control of Our Energy
Retake often notes that the Democratic Party must return to its FDR roots and his perspective on public power offers just another reason.
""I therefore lay down the following principle: That where a community–a city or county or district–is not satisfied with the service rendered or the rates charged by the private utility, it has the undeniable basic right, as one of its functions of government, one of its functions of home rule, to set up, after a fair referendum to its voters has been had, its own governmentally owned and operated service."
Franklin D. Roosevelt, September 21, 1932.
The American Public Power Institute (APPI) is a think tank that has created a website with a clear delineation of the rationale for public power accompanied by a step-by-step guide outlining precisely how any county, city or tribe could develop its own publicly owned, operated and managed utility company. Despite the formidable challenges, this is hardly a pipe dream. Forty-nine states in the US have at least one publicly owned utility company and there are over 2000 communities and 48 million Americans served by public power. So it can be done.
Today's post will tour APPI's public power guide which is laid out in five sections:
What is Public Power?
Benefits of Public Power
Forming a Public Power Utility
Myths and Misinformation
Successful Public Power Campaigns
What Is Public Power
"Public power utilities are like our public schools and libraries: a division of local government, owned by the community, run by boards of local officials accountable to the citizens. Most public power utilities are owned by cities and towns, but many are owned by counties, public utility districts, and even states.
From APPI: "Municipalization"
As with our discussion on Friday about creating a public option in our development of pharmaceuticals and vaccines, here too, the basic design is that instead of a privately owned utility managing our energy options and producing or procuring our energy, we would own our utility. Instead of the company being driven by a thirst for the greatest possible profit, it would be driven by seeking the greatest possible community benefit. The graphic below depicts the differences between a publicly owned utility, a privately owned utility and an electric coop.
The business model for public power is quite simple: it is a publicly owned, locally managed, non-profit that benefits from a lower cost structure because publicly owned utilities can access tax-exempt financing, enjoys a better credit rating and also does not pay out shareholder dividends or CEO bonuses and huge salaries.
What are the Benefits of Public Power
As a result of being more transparent and accountable and enjoying a lower cost structure, public utilities offer communities served a number of important direct benefits.
"When all taxes, tax equivalents and other contributions to state and local government are considered, public power's contributions, as a percent of electric operating revenues, were 33 percent higher than those of investor-owne utilities."
The section on Benefits of Public Power offers a litany of other ways in which a public utility benefits communities and targeted populations from offering discounted rates to the city, county or state governmental operations to conducting an array of public services related to energy efficiency. Plus, public power results in significantly lower rates for ratepayers.
Year after year, for more than 50 years, data from the U.S. Department of Energy show that investor-owned utilities and rural electric cooperatives charge more, on average, for electricity than public power utilities. In 2014, residential customers of investor-owned utilities paid average rates that were 14 percent higher than those paid by customers of public power utilities."
As reported in APPI's "Municipalization" guide, locally managed, publicly owned utilities are more responsive to ratepayer and local community needs and deliver energy more reliably. When you add up these benefits, you wonder why all communities don't opt for municipalization. The reason is actually quite easy: privately owned utilities desperately want to subvert these efforts. Privately-owned utilities like PNM enjoy a largely unregulated monopoly with a locked in profit and guaranteed customer base. That is an awfully sweet deal. And with a war chest of funds to support misinformation and distribute modest contributions to popular causes and non-profits, PNM and other privately owned utilities can devote considerable resources to building good will. Ongoing advertisements–paid for by ratepayers–promote the utility as a good contributing neighbor to the community.
If a private utility gets wind of an effort to municipalize, those public relations efforts ramp up and are buoyed by misinformation promoting myths about the inefficiencies, unreliability and higher costs of a public utility. Those public relations efforts are accompanied by threats of legal actions. It isn't just that the privately held utility imposes significant barriers to successful municipalization, the process itself is daunting. Local community leadership is a key ingredient to success, usually the initial ingredient is a mayor and city council majority advocating for municipalization. Such leadership is required to marshal sufficient resources and resolve to mount a successful campaign. APPI lays out in clear detail the common steps to conducting a successful campaign, including:
An independent evaluation to assess the economic viability and the level of public understanding of and support for the concept. Often this assessment considers issues ranging outside the actual benefits of public power. As important, is the public perception of local leadership and trust in the efficiency and effectiveness of city/county/state government. The assessment would also include an evaluation of the condition of the private utility power generation and distribution system.
Assessing the legal ramifications, a step that always involves review of state law and the degree to which it allows, supports or impedes jurisdictions creating a public utility;
Valuation of the existing private utility is an important and almost always a contested phase in the process, as the private utility company almost always grossly inflate their own assessment of its value often offering estimates double or more what an independent evaluation projects. These competing assessments ultimately wind up on the negotiating table if the process advances further
Referendum. Here is another costly phase to the process as to form the utility, the community must approve a referendum. Santa Feans will recall the ugly public battle over the soda tax a few years ago. Confusing claims and counter claims flood the airwaves and mail and private utilities have a war chest in place to disseminate false claims and ignite community fears. Should a referendum be successful the next phase is almost certain to land in the courts.
Price Negotiation & Condemnation.
"For example, in the early 1990s, the city of Las Cruces, New Mexico, commissioned two independent valuation studies when it looked at purchasing its local electric system. The incumbent investor-owned utility was demanding $176 to $250 million for the system. Las Cruces commissioned two independent studies; both consulting firms told the city the system was worth about $38 million."
With a huge difference in valuations, protracted legal battles are common, adding another cost for the local jurisdiction, while the cost for legal fees from the private utilities are subsidized by ratepayers. In effect, the privately owned utility company tries to wear down local leadership and pile on costs for more studies, protracted negotiations and costly legal proceedings.
Despite all these challenges, as the APPI "Municipalization" guide makes clear, the benefits outstrip the challenges and the path to success is doable. Below, you will find links to each of the sections to the APPI "Municipalization" guide. Each section offers brief summaries from 4-5 communities on how the day was won or lost. The myths and misinformation section lays out ten common myths that private utilities promulgate, offering the counter argument to each. And the last section offers ample evidence that success can be had.
What is Public Power? – Explains the public power business model, how public power differs from investor-owned or cooperative utilities, and other basics.
Benefits of Public Power – Explores the many benefits public power utilities may offer, in 4 broad categories: local choice, reliable customer service, affordable prices, and local economic development.
Forming a Public Power Utility – Walks through the steps of forming a new public power utility, and common responses to expect from the incumbent utility.
Myths and Misinformation – Addresses myths and misinformation about public power and the process of forming a new utility that may come up during the municipalization process.
Successful Public Power Campaigns – Case studies of utilities that successfully formed new utilities, or got more favorable outcomes from the incumbent utility because they explored the public power option.
Retake is in the process of doing a deeper dive into municipalization as it could apply in NM. We've spent too many hours in PRC and legislative hearings listening to disingenuous arguments from PNM, El Paso Electric and Xcel, arguments designed to mislead and allow continued abuse of our environment, our community health, and the budgets of ratepayers. The guide we've previewed today offers all the tools needed to determine the viability of municipalization as an option at a state and local level. Stay tuned.
A Look Back at What Is Possible If We Engage, Educate & Activate
Last week's posts are so important, as they are intended not just to educate, but to inspire. Retake has begun a series of posts on what a transformed America and a transformed NM could look like. It is the diametric opposite of what we have now and individually each post represents one step toward justice, while collectively the series will chart a full-on path. If you missed them all, I really think it would be good to just start at the top and work your way through all three. They build upon each other. But if you had to pick one, I'd have to say, take a look at the Wednesday post on Bailing Out Workers. Read On!
When Biden Wins: We Must Press Hard for Transformational Policies & They Are Being Developed NOW!
We need to work hard for Biden's election, but we also must identify transformational initiatives for which we will advocate in 2021. Today, along with links to last week's posts, we begin that exploration. We are at a crossroads & we need to prepare now. As we always do on Mondays, we offer summaries and links to the important posts from last week, posts that focused on our response to the Democratic National Convention.
Click here to read the full post.
Bailing Out Workers Not Corporations: Five Point Plan for Community (NOT Corporate) Wealth Building. RNC Update
Wednesday, August 26. We begin our exploration of strategies through which we can finally achieve economic, social, racial, and climate justice in America. This post outlines a plan to retake our local economies, restore their wealth and their autonomy. Based upon research conducted by The Democracy Collaborative that outlines how during the 2008 recession, we essentially bailed out the finance industry, leaving homeowners foreclosed. They also describe how post-COVID small businesses will close by the millions and that equity capitalists will be poised to purchase these businesses, extractiing wealth from our communities. The Democracy Collaborative has another idea, one in which we use public funding to purchase these businesses, reselling them back to local ownership with conditions for workers that could include partial or full ownership, but would include full benefits and a living wage. The post points to two specific strategies that have direct application to NM. Finally, the post offers one of the best posts I've seen from Heather Cox Richardson Read on!
Transforming How America Manufactures Medicine & Vaccines + Excellent Advice For Coping with Smoke & Call to Action For Indigenous Water Access
Friday, August 28. We offer the 2nd post in our series on transformative change, as summarize research on nationalizing most of the medicine and vaccine research, development and manufacturing. Bye bye big pharma. We also offered an informative piece from Kelly Egolf, owner of Verde Juice Co. and wife of Speaker Egolf, on the risks of smoke inhalation and ways to cope. Plus: Call to Action to secure running water for 2000 indigenous people. Finally, we offer a quote with a link from one of the best posts from Heather Cox Richardson I've read, a powerful testimony to the importance of the moment.
‹ Transforming How America Manufactures Medicine & Vaccines
We Can Transform NM's Energy Future In 2021, IF….. ›
Categories: energy
Tags: energy, environmental justice, public power, utilities
Katie Bruell
August 31, 2020 • 6:01 pm
We have public power here in Los Alamos. Department of Public Utilities is in charge of water, gas, and electric and run by the County, with citizen boards, as well. We're not exactly known as pinko commies up here, either. 😉
mimbresgranny
September 1, 2020 • 12:05 am
I am excited about the water webinar but I want to ask that you consider adding one more panel member. Someone who can speak to Permaculture's view. This would address the plants being watered and how we use this water which has to be balanced between agricultural and urban needs. There is a role for Riparian areas in this balance as well as for the wildlife they support. Beyond just how we funnel it from here to there efficiently it is also important that we store it under the surface and get it released it to our crops and which crops are the most efficient for the variety of soil types along these water ways. This is a discussion of using water at different times of the year when it is high as well as when it is limited in the hot season when our traditional crops bloom.
I am sorry I can't direct you to a speaker but I don't know who would be available up there in the North. I am quite sure that a little asking around would find more than one knowledgeable candidate. There are many all over the country but someone from here might be already informed about our issues.
We may need to think about the traditional crops and their water demands. Should we be spending our water on alfalfa, corn, beans, chile, or other crops? Of course we need them all but we could be smarter in those allocations and discussing water usage without looking at that usage seems shortsighted.


New National School Code of Conduct Takes Effect from September.
Minister Garcia, says from September this year all schools will be guided by the revised National School Code of Conduct.
Minister Garcia explains that the revised Code seeks to ensure the incorporation of new legislation relating to the influence of social media and the internet on behaviour and performance.
Mr Garcia made the announcement in the parliament on Tuesday afternoon adding that there was input from the various stakeholders.
PreviousSEA Results Out Today. Male Students From North Trinidad Gets Perfect Score.
NextHiring Practices at Caribbean Airlines Being Questioned.


text:
RUTH LE GEAR
REVIEWS/PUBLICATIONS
Trace, CCA Laznia II
CCA Laznia II, 2015 Solo Exhibition .
Laznia Centre for Contemporary Art a is an art institution with exhibitions of contemporary art specially concerning social presence of artists and their involvement in social discourse.
During the artist residency I collected water samples from different locations in the Tri-City area. I conducted a series of related to the Trace of memory in the water. The Martwa Wista is a river, one of the branches of the Vistula, flowing through the city of Gdansk in northern Poland. It got its name when this branch of the river became increasingly moribund.
My work resembles the process of creating a database / library that organizes a range of information about the nature of water. Intriguing results describe visually the energy, aesthetic and emotional image of accumulated water. As part of my research, I teamed up with the Institute of Oceanology in Sopot and Marine Station in Hel being a part of Institute of Oceanography in the Faculty of Oceanography and Geography at the University of Gdansk.
The imagery, videos and sound works created for my exhibition Trace in Nowy Port at CCA Laznia are created from the essence of the water remedies from the Baltic. They are a meditation on their pervading effects and how this interacts with the energy of the human body. You are not a drop in the ocean, you are the entire ocean in a drop. The works are a slowing down, a meditative reflection that desire to lull you into the cosmic aspect of this sensitivity.
My first conversation with anyplace when I encounter it, is with the waters, and I go from there.
I try and not to research a place before I arrive so I can get a clear undisturbed reading of the land and waters. Of course, in Nowy Port in Gdnask. There is a lot of history held there. It is a busy industrial port, heavily poulluted and its where the symobilc site of the first shots of WW2 were shot. Its also where the Marta Vistula river enters the Baltic sea. I found it curious that when they redirected the river through the city Gdansk they called it the Dead River. My intention was to set a catalyst of healing in process in the river. Even just the language around it was enlightened somehow, there is no life in this river, no movement in the waters. There was a connection between the people and the waters there in a very sensitive way.
During my first visit to Nowy Port had an in depth tour of the Port's waters, as well as taking a kayak around the canals and water systems of the city. My process involves meditations with the waters to communicate with the waters. While in CCA Laznia, I visited many sites from the port to fountains and rivers. As part of my process I collect water samples and make water remedies from them, its almost a side step from homeopathy, creating water remedies from water. My work creating remedies from the water and returning them to the water is connected to my interest in the sublime as a means of exploring and revealing the dynamic forces of landscapes and by way of elevating and edifying what it means to be human within an ever changing environment. Working in the Port was interesting for me. In previous times I would tend to over look the polluted dark disturbed places and look for the clearer sites of work such as Arctic icebergs. My work in Nowy Port was with the water and it was after months of work with the remedy that I discovered what the remedy was for.
In my research I ingest the landscape in the form of a remedy and process it through my being, bringing the remedy forth. The remedy is so full of light and hope and joy. I was confused when I first discovered it and made it again. I didn't think a place with such grief, trauma and pollution could hold such light. It reminded me that nature will always find a way to heal itself and that we can't turn our backs on places on those places which seem destroyed. To me waters are like poetic time machines. They record time and it also holds the key to unlocking itself, alchemy within water. In homeopathy you treat like with like. This has been my process here, making remedies from the waters and returning them to themselves. It involves serial dilutions, the lower the concentration of a substance, the more potent it becomes. I also introduced this water remedy to other bodies of water in different parts of the world. The return of the waters is always as a frozen sphere. Thus I am making a remedy from the water and then I 'return' it to the water. I am setting in place a process of 'healing' by giving it a focus that it currently does not have. The contradiction of a remedy made from water and diluted with itself presents interesting questions around the uses and permutations of a landscape whose energy fields mediate and co-exist with the human body.
Nowy Port waters as a remedy brings a lightness to your being, it is an instant pink light.
It brings an awareness for a need to control others.
It helps to release hard heavy unforgiving thoughts and feelings. It is like being wrapped in a pink shawl made of light. It works with militant and unloving thought forms, it shines light on mind programs and repeated thinking of heavy thoughts. It helps your heart to become centered in a state of love.
info@ruthlegear.com
© 2020 RUTH LE GEAR


H-1B petitions are temporary work visas for positions requiring theoretical or technical expertise in specialized fields for qualified foreign nationals to live and work in the U.S. Many H-1B foreign nationals have successfully gone on to apply for and obtain lawful permanent residence status (also known as, green card).
Foreign nationals with at least a bachelor's degree or the equivalent (equivalent degree and/or work experience) may be sponsored for H-1B petitions. A broad range of positions may fall under H-1B specialty occupations; each case depends on a position's own set of circumstances.
As of May 18, 2012, the U.S. Citizenship and Immigration Services (USCIS) has received 42,000 H-1B Regular Cap, and 16,000 H-1B Master's Degree Exemption.
On April 2, 2012, the USCIS began accepting H-1B nonimmigrant petitions that are subject to the government-mandated annual H-1B cap of 65,000 and the 20,000 U.S. advanced degree cap exemption. The advanced degree exemption applies to an H-1B beneficiary who has successfully obtained a U.S. Master's degree or higher. These H-1B petitions are for Fiscal Year 2013 (FY2013) visa quota (for employment start-date of October 1, 2012 or later). The FY2012 visas quota (for October 1, 2011 employment start-date or later) was already closed. Up to 6,800 visas are set aside from the 65,000 cap during each fiscal year for the H-1B1 program under the terms of the legislation implementing the U.S.-Chile and U.S.-Singapore Free Trade Agreements. Unused numbers in this pool are made available for H-1B use for the next fiscal year; in recent years, all visa numbers had been exhausted eventually.
H-1B petitions can be filed under premium processing (faster processing of certain employment-based petitions and applications). Premium processing H-1B petitions filed during an initial five-day filing window are undergoing a 15-day processing period that began April 9. For all other H-1B petitions filed for premium processing, the processing period begins on the date that the properly filed petition is physically received at the correct USCIS Service Center.
When the H-1B cap is exhausted is the date USCIS informs the public that the cap has been reached ("final receipt date"), and this may differ from the actual final receipt date. In ensuring a fair system, on the final receipt date, the USCIS may utilize the random selection approach by selecting the number of petitions that will be considered for final inclusion within the cap. The USCIS will reject H-1B cap petitions that are not selected, as well as those received after the final receipt date. The final receipt date will be the date the USCIS physically receives the petition, and it is not based on the date that the H-1B petition has been postmarked.
Not all H-1B petitions are subject to annual visa cap, depending on the types of H-1B petition being filed, and the types of entity-sponsor. For examples, foreign nationals who already have approved H-1B petitions or H-1B status may still have H-1B petitions filed for them to extend their H-1B status or to change H-1B employers. These H-1B petitions may not be subjected to the annual visa cap.
In general, H-1B petitions/work visas are approved for three years each time (up to a total of 6 years). Under certain circumstances, H-1B work visas can be extended beyond the 6-year maximum time limitation.
Potential H-1B candidates who do not make it to the Fiscal Year 2013 H-1B visa quota (October 1, 2012 employment start-date or later) have the options to have their H-1B cap petitions submitted or resubmitted to the USCIS on or after April 1, 2013 (October 1, 2013 employment start-date or later) for the Fiscal Year 2014 H-1B visa quota. They can also consider other immigration options such as other nonimmigrant work status and self-petition green card filings, if eligible.
This article is intended for informational purposes only; and should not be relied on as a legal or any advice, or an attorney-client relationship.


text:
Deputies seek man who grabbed 15-year-old girl in Lakeside
By Debbi Baker
LAKESIDE – Sheriff's deputies are looking for a man who grabbed a 15-year-old girl Thursday morning as she was walking to El Capitan High School.
The girl said the man followed her in a car as she walked from the intersection of Channel Road and Industry Way just before 7 a.m., sheriff's officials said.
He offered her a ride and made several attempts to lure her into his vehicle before he stopped on Mapleview Street just west of state Route 67, sheriff's officials said.
As the girl walked by the car, the man got out, walked toward her and put his hand on her shoulder. The girl ran to a nearby 7-Eleven, where she called authorities.
The man was described as Latino and in his 40s, about 5 feet 8 inches tall with a muscular build. He has black and gray hair and a dark complexion and was wearing a dark blue pullover jacket, dark blue jeans and a black baseball cap with no logo.
He was last seen driving south on Route 67 in a late-model, silver two-door car, possibly a Mitsubishi Eclipse, with a rear spoiler.
The girl, a ninth-grader, was not injured.
Sheriff's deputies originally took the call as a possible kidnapping but later determined that no attempted kidnapping had occurred. They are investigating the case as the annoying or harassment of a child, Sheriff's officials said.
Debbi Baker
Charges filed against woman forced off Southwest flight after complaining of dog allergies
1 year after his death by El Cajon police, family of Alfred Olango vows fight for justice will continue
Activists and family members of Alfred Olango, who was killed by El Cajon police in 2016, gathered Wednesday to mark the one-year anniversary of his death and to vow that the fight for justice will continue.
Woman injured in Encinitas hit-and-run fighting for her life as search for driver continues
A 33-year-old woman who was struck in a hit-and-run collision in Encinitas last week continues to be in a medically-induced coma with life-altering injuries as her parents keep vigil at her bedside.
California has a new state dinosaur, 66 million years after the fact
The list of California's designated symbols just got longer now that Gov.


This post is from 2006, and might still be useful. There are now 840 posts on the VO blog. You'll find more worthwhile info in the archives.
I bought some old Dia Compe 980-R brakes on E-bay. They were made in 1983 and didn't seem to have been cleaned since. So I poured a glass of wine, sat down in the big leather chair, and started polishing one of them with Simichrome. In about 10 minutes it looked like... Well click on the photo to enlarge it and see for yourself.
Simichrome polish is made in Germany and it's not cheap, nor is it easy to find. But it is the best and a little lasts a long time once your cloth is saturated. It does a great job on non-anodized aluminum, chrome, brass, stainless steel, and silver, perfect for brass bells. It also leaves a thin film that protects the metal. We still stock Simichrome; you can find it here.
I really liked the Tektro FL750 levers from the moment I first saw them. They combine a clean moderniste shape and Tektro's usual high quality. But the black clamp wasn't quite right, so we asked Tektro to make us some with silver clamps. Now they are stunning. They fit 22.2mm bars.
If you prefer a MTB style lever, check out the Tektro FL740 levers. The new version has red quick releases. I wasn't sure about the red at first, but they are kind of cool once on the bike.
For the true retro look there are always the inexpensive, but classic, VO City Levers.
Dia Compe Guidonnet Brake Levers are another great choice. Who would have though, ten years ago, that brand new guidonnet levers would ever be available again.
Finally there are two inverse levers, the Tektro RX4.1 and the Dia Compe inverse levers. The latter are available to fit 22.2 or 23.8mm bars.
I think it's pretty great that we can build practical and great looking city bikes without searching for parts on E-bay or at swap meets. Are we in a new golden age of sensible bikes?
Don't forget to attend the VO Yard Sale this Sunday.
In-person only. No internet orders, sorry.
The Zeste brakes may be the most powerful canti-brakes we've tried. This is due to extra-long arms for increased mechanical advantage. Need to stop a loaded touring bike down a steep mountain pass? They use a double plate design for superior "mud-clearing" for those of you who ride dirt roads or Cyclo-cross. The low-profile design helps them clear luggage and, on small frames, your heels. But just as important is their excellent adjustability.
There are spring tension adjusters on each arm for easy centering.
Up and down adjustment in the brake pad slot result in greater frame and fork compatibility; not all canti studs are in exactly the same place on every bike due to manufacturing tolerances or intended specification.
An adjusting mechanism at the end of the straddle wire easier setup and fine tuning for perfect clearence and wire angle. You'll wonder why all canti brakes don't have these adjusters.
Brake pads have adjustable toe-in, offering superior stopping power over most OEM pads.
The pivot bolts and washers are stainless steel for long term corrosion resistance.
Price is for two sets, or a bike's worth. Including straddle hangers, mounting bolts and cable end caps.
Sliding the arm onto the boss, note the spring's position.
Setting up these low profile canti-brakes is pretty easy, but it's important to pay attention to the height of the straddle wire hanger, or yoke. It's height determines the "yoke angle" and thus much of the mechanical advantage of the brake system. If the hanger is too low, you'll have amazing stopping power, but poor modulation and excessive lever travel. If too high you'll have to squeeze the brake lever very hard to get good braking. As your pads wear the yoke angle changes; the yoke get's higher when the pads contact the rim. Use the adjuster at the end of the straddle wire to shorten the cable and compensate for wear.
The yoke is at about the right height for this Polyvalent.
The exact height of the yoke will be based on rim width and on the exact position of the canti studs on your fork. But the photo above will give you starting point. Our Zeste support page is here.
Starting to sort out the sale pile; there's more.
We're selling sample parts that were sent for review or displayed in our showroom. There are some returns and a bunch of prototypes, some discontinued parts, parts that have been used on test bikes. All-in-all there are hundreds of items. We want to blow them all out in one day! So most will be priced at about half the regular web site price.
In case you can't find any garage sale stuff you like, we'll offer 15% off on any parts, accessories, or frames (but not mini-build kits) in stock. This reflects our savings in not having to process, pack and ship, so you must be here to get the discount.
The VO Garage Sale will take place between 9am and 12pm on Sunday April 22nd, rain or shine.
Here are a few new developments that may interest you.
This is the little model name decal that will go on our Polyvalent-700/Campeur frame. The frames are now being made, but we don't have an ETA yet. The drawing is by artist and writer Dan Price. He's an amazing guy; check out his web site.
Our long delayed container is here and we have a couple of new products. It may take a couple of days to get everything checked and entered on the site. The next shipment, in about two weeks, will have all our rims and hubs along with a few miscellaneous components.
The amazingly powerful Zeste brakes are here; I'll write more about them soon.
The new Grand Compe ENE shifters have also arrived. We have both the down tube and the bar end versions. These use the same internals as Silver shifters, but have more attractive levers. they also use the newer and stronger friction washers.
We also have more 50.4bcd double hardware that many of you were waiting for.
We are changing the finish on our seat posts. They will be machine polished rather than hand polished. The advantage of this is that diameters will be more consistent. In the past we had issues with over enthusiastic polishers polishing them so well that they ended up slightly undersized. The disadvantage is that they will not be quite as shiny.
In our early days we sold this VO leather track style top tube protector. It was made from very thick leather and intended to protect your top tube from being dented when track bike handlebars slammed into it. Bikes with brake cables usually don't get these dents because the brake cables "slow" the bars. Folks still email occasionally asking if we have any left.
Igor, our warehouse manager, wanted a top tube protector for a different reason. He wanted to protect his paint when he leaned his bike against a parking meter or street sign. But he didn't like the BMX-style top tube pads sometimes used for this purpose. So Igor made the protector below out of the elk hide that we use for bar covers.
I think it's a pretty good idea. It would work even better on a bike with a run of cable, rather than cable housing because it would fit under the wire better. Or you could sew it over the housing. In any case, do you think this is something we should make?


text:
The original story can be found at http://www.bpnews.net/52191/third-gender-option-takes-effect-in-nyc-calif
Third gender option takes effect in NYC, Calif.
by Diana Chandler, posted Thursday, January 03, 2019 (6 months ago)
Tags: genderLGBT
NEW YORK (BP) -- People who don't believe they're either male or female can now choose a third gender in New York City and California, joining six other states and Washington, D.C., that allow the option.
Arkansas, Colorado, Maine, Minnesota, Oregon, Washington State and Washington, D.C. allow a non-binary gender option, often designated by X on legal documents including driver's licenses and birth certificates.
Gender X becomes legal in New Jersey in February, according to the National Center for Transgender Equality's tracking site. Vermont is in the process of making the change, and state officials pledged in January 2018 to have the option in place by July of this year.
In Arkansas, a little-known option has allowed non-binary designations on documents since 2010, HuffPost reported in October 2018. The designation is becoming more widespread following its adoption by Oregon and Washington, D.C., in the summer of 2017, with legislation reintroduced in New York State this month. Germany became the first European nation to allow gender X in December 2018, the German government announced.
Mayor Bill de Blasio celebrated the change in New York City.
"To all trans and non-binary New Yorkers: We see you, hear you and respect you," he tweeted days in advance of the change. "Starting in 2019, all New Yorkers will be able to change their gender on their birth certificate to M, F or X -- without a doctor's note."
Argentina, Bangladesh, Canada, Denmark, India, Malta, Nepal, the Netherlands, New Zealand, Pakistan and Uruguay are among nations allowing a third gender, according to various news reports and government websites.
Southern Baptists affirm binary gender in Article III of the Baptist Faith and Message, referencing Genesis 1:27, while the 2014 SBC resolution On Transgender Identity affirms "God's good design that gender identity is determined by biological sex and not by one's self-perception -- a perception which is often influenced by fallen human nature in ways contrary to God's design."
Diana Chandler is Baptist Press' general assignment writer/editor. BP reports on missions, ministry and witness advanced through the Cooperative Program and on news related to Southern Baptists' concerns nationally and globally.
SIGNED UP FOR OUR NEWSLETTER? Get Baptist Press in your email by subscribing to our daily newsletter at bpnews.net/SubscribeBP.
Biblical marriage, gender views cited in 2 ousters
New HHS rule on gender transition draws praise
Military draft ruling a 'blow' to gender equality
Church of England's new 'gender transition service'
UC Berkeley leader slammed over biblical gender views
Gender, marriage spotlighted in final campaign ads


text:
/*
 *
 *
 *
 */
package com.sxm.florist.repository;

import static org.junit.Assert.assertNull;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.sxm.core.constants.PROFILES;
import com.sxm.florist.FloristApplication;
import com.sxm.florist.domain.FloristLeaveMsg;

/**
 * 留言版Repository测试.
 * 禁用事务回滚使用@Rollback(false).
 *
 * @author sxm
 * @version 2016-05-26
 * @----------------------------------------------------------------------------------------
 * @updated 修改描述.
 * @updated by sxm
 * @updated at 2016-05-26
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = FloristApplication.class)
@ActiveProfiles({ PROFILES.COMM, PROFILES.JUNIT, PROFILES.DEV })
public class FloristLeaveMsgRepositoryTests {

	@Autowired
	private FloristLeaveMsgRepository floristLeaveMsgRepository;

	@Test
	public void findOne() throws Exception {
		FloristLeaveMsg floristLeaveMsg = floristLeaveMsgRepository.findOne("1");
		assertNull(floristLeaveMsg);
	}

}

redpajama_set_name: RedPajamaGithub


Nam Tu Liem District has a population of more than 233,000 people, with an area of 3,227 hectares. It is in a primer location for traveling and working and has lots of important places in Hanoi such as National Conference Center, Thang Long Highway, Keangnam Landmark Tower, My Dinh National Stadium, National Palace Museum…Villas in Nam Tu Liem district has modern and luxurious designs along with some basic sophisticated furniture, gardens, courtyards, pools... in different areas which all provides you the best living area ever.
Tan Long Real Estate is developed to cater for all housing requirements, residential leasing, commercial leasing and Industrial leasing. We have English speaking customer Division , Korean custommer Division and Japanese custommer Division with well-trained staffs to provide best services for customers. At Tan Long, we have updating database of villas for sale in Nam Tu Liem to serve for any requirement you may have. Our staffs will help you to quickly find your ideal home with high or low rate or with any requirement raised and will negotiate on your behalf to get the best deal on your new home.
If you want to buy a villa in Nam Tu Liem, just send us your requirements and we will select and arrange the visit to your right home in the shortest time with reasonable price.


ONE HOUR BELLY BLAST DIET Review: Do the Claims Measure Up?!?
LEAN BELLY BREAKTHROUGH Review – 2 minute routine!
The 2-WEEK DIET Review: Does it Work? Is it Safe or Harmful?!
THE BETTER THAN COFFEE ENERGY BARS Review – Does it Really Surpass Coffee?
Does The Low-Carb Fat Burn Diet work? That's what you're here for, and that's what we set out to answer. This review will give you an overview of the program and a look at its efficacy. Prior to getting into the actual review, it may be good to discuss low-carb diets and how they work….
The Essential Keto Cookbook Review – Is it Really Essential?
Try Low Carb Review – Our Assessment? Try It!
This review is an in-depth look at a program known as TRY LOW CARB. We explore all that is offered by the program and help you to determine whether or not it is a program that can actually help you to burn fat and lose weight and enjoy more energy through a low-carb diet strategy….
KetoForce is powerfully innovative type of ketogenic dieting supplement that we will review in detail here. To fully understand the power and implications of keto dieting and KetoForce it is first a good idea to explore the underlying science that is the foundation of ketogenic dieting where the body is in a state of ketosis….
Nutrigold 7- Keto Gold Review – Is it Worth Gold?
The Perfect Keto Powder – Is there finally a Revolution in Dieting?
Ketogenic Diet Meals: The Taco Tuesday Dilemma Solved!
Keto Chocolate Treats Without the Guilt Keto Diet Calculator | Ketogenic Diet Macro Calculator | Keto Diet Weight Loss Calculator | Low Carb Snack Ideas Let's face it, we all like a little sweet treat. Seems like, a cheat tastes so much nicer when it's not quite so naughty but a whole lot of nice….
Everything you've ever been told about dieting is WRONG!
Coconut Oil Ketosis for Pregnant Women Coconut Oil Ketosis | Ketosis Pregnancy Symptoms | Coconut Oil Ketogenic Diet | Coconut Ketogenic Diet Plan What has my journey into discovering coconut oil ketosis? I was a primigravida. Yes, I was pregnant for the first time. Although I have just turned thirty, I struggled with getting pregnant….
Coconut Ketogenic Diet?! Sign me in. Coconut Ketogenic Diet | Keto Diet Coconut Oil | Coconut Ketogenic Diet Plan | Coconut Oil Diet Benefits I'm a coconut lover. I love its sweet taste and how it adds richness to food. I like young coconuts, they're cool and refreshing and I take it as a dessert….


She's got two lengths on the next best horse in the race and will settle near the pace which should prove advantageous at Kyneton with the rail out. Go Pro has the next best benchmark figure and she beat him by 3.4L last start. The $2.50 in early betting as a luxury but she's at her right price now around the $1.75 mark. No value but looks the best winning chance at the meeting.
RACE 2 NO.8 RED JEWEL GIRL – There is no horse at the meeting that has a bigger gap in benchmark figures between its rivals than this one.
RACE 4 NO.10 TESTIFIER – Team Hawkes have found a weak race for the debut of this three-year-old that produced a sound jump out at Flemington recently.
RACE 5 NO.4 ZEBREEZ – Finally broke the maiden last start when resuming with modest figures but she will improve, settles near the lead and stable are travelling at 24% this track past 12 months.
RACE 8 NO.16 FAST AND READY – Super consistent this prep and figures sound for this, just needs luck from gate and she'll be in the finish.


Clothes is a sort of products, which was, is and will be referred to high demand on it. As more and more rising percentage of people got rich, they are able not only to get high quality and fashionable t-shirts, jackets etc., but also they are even able to change them quite regularly. On the other side, the more a person wants to have something interesting, almost in general believed to be fashionable, the more money he or she has to spend. It has been discovered by many prestigious stores that their sales are generated generally by affluent people. That's the reason why, in order to grab the attention of bigger part of the society, they decided to provide their users for instance Next voucher codes.
The most crucial issue from the marketing point of view of implementing similar solutions is that thanks to them an enterprise can convince people, who have never had an opportunity to try their goods, to get some commodities and evaluate them on their own.
Thanks to similar opportunity plenty people discovered that although products they have received with Next voucher codes are in most cases more expensive, they are quite profitable. It is proved by the fact that they can serve us substantially longer and, therefore, help us avoid additional expenses.
Furthermore, this kind products, like for example clothes, don't lose their quality after inter alia washing it pretty regularly. They are also generally designed by various specialists in this area, which make them look very attractive and be needed by many people.
That's the reason why, if we also would like to obtain similar experience and get to know what is it like to use diverse goods in most cases addressed to richer people, we ought to search for Next voucher codes, which are mostly improvingly systematically available inter alia on various websites.
Thanks to the fact that increasing percentage of stores step up their promotional efforts, we are significantly more likely to find such coupons, owing to which we can obtain a lot of interesting products.


text:
Linda Filler to step down as Walgreens top merchant
February 27, 2017 by Mark Baumgartner and Chain Drug Review
DEERFIELD, Ill. — Walgreens Boots Alliance Inc. (WBA) said Walgreens chief merchant Linda Filler is leaving the company on April 1.
Filler has agreed to serve in an advisory role beyond that date, the company said, and she plans to devote more time to her family and to accept an offer to join the board of another publicly traded company. Walgreens did not identify the company.
Linda Filler
"We appreciate Linda's contributions to our company," Walgreens said in a statement. "Under Linda's leadership, we have created a clear plan to accelerate our progress in retail products and, despite unfavorable market conditions, we're seeing market share growth and improvement in customer satisfaction."
Filler stepped into the newly created position of president of retail products and chief merchandising officer on January 1, 2015. At that time she was also named to a leadership team that was immersed in the pending merger with Alliance Boots GmbH, a deal that Walgreens' then-chief executive officer Greg Wasson said was made to create "the first global pharmacy-led, health and well-being enterprise."
Before coming to Walgreens Filler spent 15 months as president of teen retailer Claire's Stores Inc. She resigned shortly after the surprise departure of its then-CEO Jim Fielding. Earlier, Filler served as executive vice president and chief merchandising officer at Sam's Club, from 2007 to 2012, and led the Walmart warehouse club chain's own-brand strategy.
Filler joined Sam's from Kraft Foods Group Inc., where she served as executive vice president of global strategy and mergers and acquisitions, from 2004 to 2007. Prior to that, she was CEO of the Hanes Underwear and Socks Group at Hanesbrands Inc., from 2000 to 2003.
Filler graduated from North Texas State University with a master of science in accounting in 1982. She earned a master of business administration degree from Harvard Business School in 1989.
Walgreens is looking for a new chief merchant as WBA pursues the acquisition of Rite Aid Corp., the nation's third-largest retail drug chain. WBA last month revised its offer for Rite Aid, slashing more than $2 billion from the purchase price and pushing the closing date back six months while it awaits regulatory approval.
The deal's end date of February 3 has been extended to July 31 to give the companies more time to gain approval from Federal Trade Commission regulators.


Posted on June 17, 2017, in Uncategorized and tagged FanFic, Justice for Sense8, LGBT, Sci-fi, Sense8, Sense8 Continues, suspense. Bookmark the permalink.	4 Comments.
I hope you don't mind, but I shared your fanfic link to my newsletter today. Just in case any of them loved Sense8 too.
No problem at all. It's public for anybody to read. ❤ Thank you!


text:
package org.broadinstitute.hellbender.utils.samples;

import org.broadinstitute.hellbender.exceptions.UserException;
import org.broadinstitute.hellbender.utils.Utils;

import java.util.Comparator;

/**
 *  Represents an individual under study.
 */
public final class Sample implements Comparable<Sample> {
    private final String familyID;
    private final String paternalID;
    private final String maternalID;
    private final Sex gender;
    private final String ID;
    private final Affection affection;

    public Sample(final String ID,
                  final String familyID,
                  final String paternalID,
                  final String maternalID,
                  final Sex gender,
                  final Affection affection) {
        Utils.nonNull(ID, "ID is null");
        Utils.nonNull(gender, "sex is null");
        Utils.nonNull(affection, "affection is null");
        this.ID = ID;
        this.familyID = familyID;
        this.paternalID = paternalID;
        this.maternalID = maternalID;
        this.gender = gender;
        this.affection = affection;
    }

    public Sample(final String ID,
                  final String familyID,
                  final String paternalID,
                  final String maternalID,
                  final Sex gender) {
        this(ID, familyID, paternalID, maternalID, gender, Affection.UNKNOWN);
    }

    public String getID() {
        return ID;
    }

    public String getFamilyID() {
        return familyID;
    }

    public String getPaternalID() {
        return paternalID;
    }

    public String getMaternalID() {
        return maternalID;
    }

    public Sex getSex() {
        return gender;
    }

    public Affection getAffection() {
        return affection;
    }

    @Override
    public String toString() {
        return String.format("Sample %s fam=%s dad=%s mom=%s gender=%s affection=%s", ID, familyID, paternalID, maternalID, gender, affection);
    }

    @Override
    public int compareTo(final Sample other) {

        int cmp = ID.compareTo(other.getID());

        if (0 == cmp) {
            // use a null-tolerant string comparator for the optional strings
            Comparator<String> compStr = Comparator.nullsFirst(Comparator.comparing(String::toString));

            cmp = compStr.compare(familyID, other.getFamilyID());
            if (0 == cmp) {
                cmp = compStr.compare(paternalID, other.getPaternalID());
            }
            if (0 == cmp) {
                cmp = compStr.compare(maternalID, other.getMaternalID());
            }
            if (0 == cmp) {
                cmp = gender.compareTo(other.getSex());
            }
            if (0 == cmp) {
                cmp = affection.compareTo(other.getAffection());
            }
        }
        return cmp;
    }

    @Override
    public int hashCode() {
        return ID.hashCode();
    }

    @Override
    public boolean equals(final Object o) {
        if (o == null) {
            return false;
        }
        else if (o instanceof Sample) {
            return 0 == this.compareTo((Sample) o);
        }
        return false;
    }

    final Sample mergeSamples(final Sample newSample) {
        if (this.equals(newSample))
            return newSample;
        else {
            return new Sample(this.getID(),
                    mergeValues(this.getID(), "FamilyID", this.getFamilyID(), newSample.getFamilyID(), null),
                    mergeValues(this.getID(), "PaternalID", this.getPaternalID(), newSample.getPaternalID(), null),
                    mergeValues(this.getID(), "MaterialID", this.getMaternalID(), newSample.getMaternalID(), null),
                    mergeValues(this.getID(), "Gender", this.getSex(), newSample.getSex(), Sex.UNKNOWN),
                    mergeValues(this.getID(), "Affection", this.getAffection(), newSample.getAffection(), Affection.UNKNOWN)
            );
        }
    }

    private static <T> T mergeValues(final String name, final String field, final T o1, final T o2, final T emptyValue) {
        if (o1 == null || o1.equals(emptyValue)) {
            // take o2 if both are null, otherwise keep o2
            return o2 == null ? null : o2;
        }
        else {
            if (o2 == null || o2.equals(emptyValue)) {
                return o1; // keep o1, since it's a real value
            }
            else { // both o1 and o2 have a value
                if (o1 instanceof String && o1.equals(o2)) {
                    return o1;
                }
                else if (o1 == o2) {
                    return o1;
                }
                else {
                    throw new UserException("Inconsistent values detected for " + name + " for field " + field + " value1 " + o1 + " value2 " + o2);
                }
            }
        }
    }

}