Pastor Nicholas Melonas

Associate Pastor for Youth and College

Nicholas Melonas joined Highland Hills Baptist Church in June 2017 as the Associate Pastor of Student Ministries, overseeing the Junior High, High School, and College ministries. Originally from New England, Nicholas moved to Los Angeles, CA in 2009 to attend The Master's College and graduated in 2012 with his B.A. in Biblical Languages. He then continued his education at The Master's Seminary and graduated in 2016 with his Master of Divinity.

Pastor Nick has served in multiple capacities including Chaplain of The Master's College, guest speaker for bible camps, bible teacher and preacher, biblical language professor, guest blogger, and shepherd of children, youth, and adult ministries. In addition, he has also worked in Marketing, Software Automation, Business Development, and has taught private cello lessons since 2005.

Nicholas has been married to his wife, Courtney, since 2013 and together they have 2 sons. As a family, they are committed to serving, discipling, and encouraging young people to have a relationship with Jesus Christ and become more like Him each day. Their interests and passions include books, antiques, playing games, spending time with family and friends, playing the cello, cross-cultural ministry, world-wide missions, and building a home founded on Christ and His word.


You Won’t Believe What Happened Hours After The GOP Debate

The second GOP debate happened last night, and hours later, the entire race has changed.

Earlier today, we reported that Donald Trump had been declared the undisputed winner of the debate. However, there is someone gaining on the frontrunner who nobody saw coming. According to Drudge, Carly Fiorina is now polling in second place after the debate, coming in at 20%.

Though she is still way behind Trump, who is currently polling in at 54%, this has been quite a comeback for a woman who didn’t even make the top ten for the first debate a few weeks ago. While Trump’s numbers are plateauing, Fiorina’s are getting bigger and bigger everyday, and her performance in last night’s debate definitely helped her cause.

Though all the candidates were trying to attack Trump last night, Fiorina is arguably the only one who got anywhere. Fiorina was able to go toe to toe with Trump, proving that she is a strong leader who is not someone who can be messed with. This is in stark contrast to Jeb Bush, who looked weak and pathetic as he tried to take on Trump.

While Trump is still the undisputed frontrunner, he now has himself some competition. It’s safe to say he didn’t see Fiorina coming, but he’s definitely paying attention to her now!

What do you think about this? Let us know your thoughts in the comments section.


Labels

Spring Arena

Saturday, 23 June 2018

How IGP’s Response Team Arrested Cult Gangs That allegedly killed Two Ogun Varsity Students

The Inspector General of Police Intelligent response team (IRT) has given an account of how one Muritala Babatunde and Taiwo Razak both cult gangs killed two Ogun state university students.

The prompt response was sequel to information received by the operatives of the inspector general of police’s intelligent response team that Mr Oriade Adebisi was seen inside his Honda Crosstour car with registration No FST 350FA together with his girlfriend (Julian Eke Imaga) both of which are students of Ogun state university, driving along Oru Metropolis after leaving Akogun’s House who happened to be their friend.

The development that struck according to the narrative of Dcp Abba Kyari to which was obtained through his Facebook account by urban express news-online correspondent said the alleged killer all of a sudden emerged in a motorcycle, forced their way into the said vehicle and whisked away Mr Oriade Adebisi and his girlfriend who happened to be Juliana Eke with their car to an unknown destination

His Word: “on the receipt of complaints, operatives of the inspector general of police Response team (IRT) led by DCP Abba Kyari in collaboration of Oyo state Federal state anti-robbery squad (FSARS)couple with Ogun state police command swiftly swoop on the hoodlums and two of the principal suspects Muritala Babatunde and Taiwo Razak were subsequently arrested”.

He said an iPhone and with Etisalat sim and two pairs of canvas shoes belonging to the deceased were recovered from one of the principal suspects.

“The alleged killers of those victims is said to have confessed to the crime of killing Oriade Adebisi and Juliana Eke”

Confessional Statement Obtained:

“Muritala Babatunde, 29years, an indigene of Oru in ijebu north local Government “that I am a university dropped out and that while I was in the university at Ago iwoye, was initiated into cultism called Black Axe confraternity popularly known as “AIYE”. That I am now the current Number one “AIYE” member in Ijebu-North axis and had in my possession two locally made pistols which I and other gangs members normally use to perpetrate nefarious acts".

Adding that, having noticed the Said Oriade Adebisi’s movement along Oru-Ijebu junction , whom he had been nursing criminal intents against, he quickly called his gang members including Razak Taiwo and kidnapped the said victim and his girlfriend with their car and was taken to the bush along Ijebu-ode Awa/Ibadan expressway where both of them was killed.

His Word: "Before Oriade Adebisi was killed,, i ordered him to deactivate his password on his iPhone and I took the iPhone and two pairs of shoes from him and thereafter abandoned the car at the expressway having dumped their lifeless bodies in a bush at the back of an uncompleted building where they were murdered”.

He Claimed the Victim was a Yahoo boy and was giving money to a Rival cult group and was not giving him money, not recognized him as the overall Cult leader of that area.

On his other Counterpart; “Taiwo Rasak, an 18 years an indigene of Imota in Ikorodu LGA of Lagos state, said he was initiated into AIYE confraternity in the year 2015, and that he went to stay with the first suspect Muritala Babatunde at Oru-Ijebu who indeed was the Number One in their confraternity.

Prodding further, he said Babatunde Muritala called him and one Sodiq (cult member) to meet with him at Oru junction. On their arrival, Babatunde Muritala told them that he wanted to kill Oriade Adebisi who he said parted away with his money”.

“ Muritala then called his girlfriend Seun Yetunde who had been monitoring the said Oriade’s movement and she brought a bag that contained two guns and a cutlass. “Muritala then gave him one of the guns, whilst handled the other one and handed over the said cutlass to Sadiq while waiting patiently for Oriade to come.

Few minutes, Oriade and his girlfriend arrived in a car. Suddenly, “webased him down with a gun” Muritala then took over the steering having ordered the said Oriade and the girl to the backseat while he and Sadiq were at the back seat with them and they drove off the junction.

Accordingly, He said they took the victims to the bush along Ibadan expressway where they were killed with planks and gun”.

Continuing, Abba Kyari said the decomposed corpse of late Oriade Adebisi and Juliana was recovered from the alleged killers and is being deposited at the general hospital’s morgue with a location at ijebu ode for autopsy

He said the victim’s car and other operational guns was also recovered


Q:

Why doesn't GWT let us add key event handlers on document element?

I know there's FocusPanel on which I can attach such handlers, but in my experience this component does not behave that well. So I'd like to avoid it as much as possible.
So I'm wondering why there's no way to attach key handlers on document too? According to quirksmode.org it works cross-browser, so this shouldn't be a concern.
I've also tried writing some JSNI code to do this myself, which works ok for most cases. However, if there's any other widget that listens for the same event as me on document, and that widget lets the event propagate, I can do pretty much nothing with the event that reached the document, because it's marked as dead and an exception will be thrown whenever I try to access data on that event.
Here's my code so far:
public class RichDocument implements HasKeyPressHandlers, HasKeyDownHandlers,
    HasKeyUpHandlers, HasClickHandlers {

  private static final RichDocument instance = new RichDocument();

  public static RichDocument get() {
    return instance;
  }

  private final EventBus eventBus = new SimpleEventBus();

  private RichDocument() {
    startListening();
  }

  @Override
  public HandlerRegistration addClickHandler(ClickHandler handler) {
    return eventBus.addHandler(ClickEvent.getType(), handler);
  }

  @Override
  public HandlerRegistration addKeyDownHandler(KeyDownHandler handler) {
    return eventBus.addHandler(KeyDownEvent.getType(), handler);
  }

  @Override
  public HandlerRegistration addKeyPressHandler(KeyPressHandler handler) {
    return eventBus.addHandler(KeyPressEvent.getType(), handler);
  }

  @Override
  public HandlerRegistration addKeyUpHandler(KeyUpHandler handler) {
    return eventBus.addHandler(KeyUpEvent.getType(), handler);
  }

  @Override
  public void fireEvent(GwtEvent<?> event) {
    eventBus.fireEvent(event);
  }

  private native void startListening()/*-{
    var self = this;

    var fire = function (event) {
      event = event || $wnd.event;
      @com.google.gwt.event.dom.client.DomEvent::fireNativeEvent(Lcom/google/gwt/dom/client/NativeEvent;Lcom/google/gwt/event/shared/HasHandlers;)(event, self);
    };

    if ($wnd.document.addEventListener) {
      $wnd.document.addEventListener("click", fire, false);
      $wnd.document.addEventListener("keydown", fire, false);
      $wnd.document.addEventListener("keypress", fire, false);
      $wnd.document.addEventListener("keyup", fire, false);
    } else {
      $wnd.document.attachEvent("onclick", fire);
      $wnd.document.attachEvent("onkeydown", fire);
      $wnd.document.attachEvent("onkeypress", fire);
      $wnd.document.attachEvent("onkeyup", fire);
    }
  }-*/;
}

A:

How about the following?
RootPanel.get().addDomHandler(handler, KeyDownEvent.getType());

It adds them on the document's body, but that's not much different.


Q:

Weka NominalToBinary makes test and training sets incompatible

So I have a training and testing sets and they contain multi-valued nominal values. As long as I need to train & test NaiveBayesMultinomial classifier, which doesn't support multi-valued nominal values, I do the following:
java weka.filters.supervised.attribute.NominalToBinary -i train.arff -o train_bin.arff -c last
java weka.filters.supervised.attribute.NominalToBinary -i test.arff -o test_bin.arff -c last

Then i run this:
java weka.classifiers.bayes.NaiveBayesMultinomial -t train_bin.arff -T test_bin.arff

And the following error arises:
Weka exception: Train and test files not compatible!

As far as I understood after I examined both .arff files, they became incompatible after I ran NominalToBinary, since train and test sets are different and thus different binary variables are generated.
Is it possible to perform NominalToBinary conversion in a way that sets keep being compatible?

A:

Concatenate the two sets into one, perform the NominalToBinary conversion, then split them again. This way, they should be normalized the same way.
But are you sure the files were compatible before? Or does maybe your test and/or training set contain attribute cases that the other doesn't have?


Share

Iraivi Official Trailer01:43

Iraivi Official Trailer – Iraivi is an upcoming Tamil film directed by Karthik Subbaraj and produced by Thirukumaran Entertainment. Vijay Sethupathi, S. J. Surya, Bobby Simha,Anjali and Karunakaran will play starring roles. The title of the film was announced in September 2014 after the release of Karthik Subbaraj’s Jigarthanda, with Kumar revealing that Bobby Simha and Karunakaran signed on for roles. The film had an official launch in May 2015 and began filming, with Sivakumar Vijayan announced as the cinematographer replacing Gavemic Ury.


10 Best And Delicious Cauliflower Recipes To Try Out

Cauliflower is a vegetable that is least loved and appreciated but there are actually various tasty recipes that you can try out with cauliflower. You can do various experiments by using cauliflower in various dishes. Cauliflower if prepared in the right way can be very delicious and tasty. People who are vegetarian for them a nice and delicious cauliflower dish is ideal. Roast, baked, gravy dishes and cauliflower stuffed parathas can be made with cauliflower. The article mentioned below provides details about 10 best cauliflower recipes that you can try out. Check out the article and utilise the ideas carefully to prepare yummy cauliflower dishes.


te (198/(-132))/((-1)/(-6)*3).
-3
Evaluate 4/(-16)*(-2 + 8).
-3/2
What is 34/12 + 1/6?
3
Evaluate 5 + 1 + 8051/(-1358).
1/14
-8*39/104 + (-6)/(-1)
3
What is (3/9)/(32/(-384))?
-4
What is ((-24)/(-14))/2 - 2915/371?
-7
What is (-310)/62 - 21/(-4)?
1/4
Calculate 0 - ((-224)/(-36) - 6).
-2/9
What is the value of (-1)/(-1)*(22/2 - 6)?
5
Calculate (10/40)/(10/8).
1/5
(6/(-15))/(254/(-30) + 7)
3/11
Evaluate 15/(-20) + 4/48.
-2/3
What is the value of (-20)/(-80)*(-24)/15?
-2/5
What is the value of (396/(-231))/(1/((-21)/(-6)))?
-6
What is the value of (((-25)/(-20))/(1/(-8)))/(-2)?
5
Evaluate 5 - 6/3 - 15/4.
-3/4
What is the value of (2/(-24))/((-17)/68)?
1/3
What is ((-892)/(-1561))/(2/14)?
4
What is ((-8)/(-14))/((-10)/(-175)) + -7?
3
What is ((-8)/(-12) + -1)/(-1)?
1/3
(-1)/((-5)/(-2)) + (-324)/(-60)
5
8 + (5 - 440/32)
-3/4
What is the value of (-1452)/3861 + 2/13?
-2/9
What is ((-24)/(-14) + -2)*1?
-2/7
What is (1/(-10)*1 - 0)*2?
-1/5
What is (-319)/66 + (1 - 7/6)?
-5
What is (1 + 0)/(-33 + 32)?
-1
Calculate (-41)/(-209) + 60/(-570).
1/11
What is the value of (-60)/(-4) - (7 + 3)?
5
What is (-23)/20 - 44/(-110)?
-3/4
What is the value of 44/10 + 18/(-45)?
4
What is the value of (-4)/12 + (-176)/48?
-4
Evaluate 1 - 84/54 - 4/9.
-1
(-1)/(24/6 - 7)
1/3
Evaluate 4*2 - ((-5 - -13) + -6).
6
Evaluate 3/(-9)*(2 + 0).
-2/3
Evaluate (-459)/66 - (-7)/(-154).
-7
Evaluate ((-26)/65 + (-12)/70)/2.
-2/7
What is the value of (-24)/(-2 - 2) + -12?
-6
Calculate (-1 - -1) + 5 - 48/10.
1/5
What is (-4)/(-10) + (1 - (-51)/(-15))?
-2
(1 - (2 - -1))/(360/(-15))
1/12
2 - 1 - (-7 - 176/(-24))
2/3
What is the value of 17/5 - -1 - 4?
2/5
What is (-48)/60 + 44/30?
2/3
Evaluate 2/(((-198)/27)/11).
-3
Evaluate (2/(-10))/(-5 + 96/20).
1
What is (-14)/8 - -10*1/(-8)?
-3
What is 8/(240/234) + -8?
-1/5
What is the value of 2/2 - ((-474)/(-66) + -6)?
-2/11
Evaluate -2 - (-8)/3 - (-53)/(-159).
1/3
What is the value of 32/(-14) + 10/15*3?
-2/7
What is (2/(-10))/(12/75) - -1?
-1/4
Evaluate (0 - (-1 + 0))*(-7)/77.
-1/11
What is the value of 4/4*(-7)/21*-1?
1/3
Evaluate 94/(-84) - (-8)/28.
-5/6
Calculate 2/((-7 - -3)*1 + 1).
-2/3
Evaluate 3 - 0 - (74 + -76).
5
(-19 + 17)/(2 + -10)
1/4
Evaluate 20/16*6/(-15).
-1/2
((-27)/(-18) - 2)*-12
6
Calculate ((-48)/(-60))/(70/(-25)).
-2/7
(21/15 + -1)*(-3)/(-6)
1/5
What is the value of (4 + 42/(-9))/((-3)/9)?
2
Evaluate (-2)/(-7) + (-1)/(-14)*-4.
0
Calculate (-15)/5 + 0 + (1 - -6).
4
Calculate (2/9)/((-10)/190) + 4.
-2/9
What is 9*(-10)/15 - (-1 + -6)?
1
(3 + 1 + -8)/(-5 - -7)
-2
What is ((-450)/20)/15*(-4)/81?
2/27
Evaluate 375/(-350) + 8/14.
-1/2
Evaluate 1/(4/(-16)*-4).
1
What is the value of -8*(-25)/(-20)*-1?
10
What is ((-640)/(-3600)*10/4)/(-2)?
-2/9
What is the value of (140/(-63) - -7) + 2/9?
5
What is 4*15/36 - 3?
-4/3
Calculate -14*(-3)/(-6) + 4.
-3
Calculate ((-14)/(-245))/(-2 + 27/15).
-2/7
What is the value of (10 - 8)/(-5 - -4)?
-2
(-2)/5 + 5/((-50)/(-6))
1/5
Calculate (-1)/((-8)/12)*12/18.
1
Calculate 8 + (12 - (-9 + 24)).
5
Calculate 4*((-2)/2)/6.
-2/3
12 + 189/(-35) - 7
-2/5
Calculate -7 - ((-793)/(-9))/(-13).
-2/9
((-1)/(36/2))/(7/21)
-1/6
What is the value of (-32)/144 - (-43)/(-9)?
-5
(-160)/(-75) + 5/225*-6
2
Evaluate (4/(-6))/(-7*14/(-147)).
-1
35/(-14)*(1 + (-2 - -3))
-5
Evaluate -7 + (-34)/(-6) + 2/(-3).
-2
What is 15/110*6/9?
1/11
Evaluate 4*1304/(-736) + (5 - -2).
-2/23
339/110 - 3 - (-26)/(-143)
-1/10
(-76)/210 - (-2)/(-30)
-3/7
What is the value of -8 + (-55)/(-5) - 2?
1
What is (4/(-16))/1*(-2)/(-1)?
-1/2
Evaluate (-450)/(-65) + -3 - 4.
-1/13
24/(-45)*(-12)/(-8)
-4/5
Evaluate 5/((1 - -4) + -4) - 6.
-1
Evaluate (0 - 2/(-16))/(6/6).
1/8
0/1*(-7)/21
0
Evaluate (40/27)/10*15/10.
2/9
What is 6*(-4)/(-12)*10/4?
5
((-2)/6)/((-1)/(-9))
-3
What is (2/(-6))/(22/44)?
-2/3
(8/6)/(44/(-198))
-6
What is the value of (-42)/10 - 7/(140/16)?
-5
What is the value of ((-25)/(-150) + (-13)/6)/18?
-1/9
What is the value of (1*(-6)/(-30))/((-2)/(-10))?
1
What is the value of (-9 + 1 - -4) + 2?
-2
What is (-14)/(-63) - (-5 + (-21)/27)?
6
What is ((-18)/14 - -1) + (-1296)/(-2772)?
2/11
What is (-3 - -1)*(-3)/(-6)?
-1
What is the value of 9/(-12) + 92/16?
5
Evaluate (-1)/(-2)*(-8 + 10).
1
What is 75 + -71 + 3/((-24)/31)?
1/8
What is (-38)/399*(-14)/6?
2/9
Evaluate (16/9)/(-1) - 24/(-12).
2/9
Evaluate (984/410)/(14/(-5)).
-6/7
(-6)/4 + (-195)/26 + 0
-9
Calculate (17 + -12)*(-72)/60.
-6
Calculate 15/(-2) - (56/16 - 5).
-6
(-13)/91*22 - -4
6/7
Calculate (-1)/(4/(-5) + (-310)/50).
1/7
What is ((-4)/(-8))/(13/78) + -8?
-5
5/4*10/25*8
4
959/(-274)*(-32)/(-14)
-8
Evaluate ((-28)/21)/(28/(-12)).
4/7
Evaluate (-244)/(-110) + -2 - 12/(-66).
2/5
Calculate 5/(-3) + 21 + -20.
-2/3
Calculate 6/5*(-335)/(-67).
6
What is the value of (27/4)/(-9) - (-60)/16?
3
3/(-4) - (-3 + (-39)/52)
3
What is (0/1 + (-32)/64)*6?
-3
What is the value of (6/16)/((-693)/88 - -8)?
3
Calculate 155/434*16/20.
2/7
(-100)/32 - 2 - -5
-1/8
Calculate 4*-1 - 182/(-49).
-2/7
Calculate ((-3)/54)/((-7)/28).
2/9
What is the value of 1*(-20)/(-2) + (-63)/9?
3
Calculate -4 + 1 + 4 + (-154)/198.
2/9
Calculate ((-8)/20)/(1/10).
-4
14/21 - ((3 - 2) + 1)
-4/3
Calculate (-1)/(-4)*-2*80/160.
-1/4
Calculate 0 - (0 + 4) - 4/(-1).
0
What is the value of (-2)/(-12) + (-20)/120?
0
What is the value of 2 + -5 + ((-217)/(-28) - 6)?
-5/4
Calculate (-8)/6 + (-194)/291.
-2
Evaluate (-3 - -2) + (11 - 55/11).
5
Evaluate (3/9)/(6/(-4)).
-2/9
What is (-28)/(-13) + -3 - -1?
2/13
Calculate 27/5 + (-9)/(135/6).
5
What is 1/(-6) - (-16)/(192/50)?
4
(4/(-3))/((-32)/6 - -7)
-4/5
What is the value of (19 - 22)*24/9?
-8
What is the value of (8/6)/(-2) + 32/96?
-1/3
What is 7/2*(-2 + (-114)/(-42))?
5/2
Calculate ((-9)/(-2) + -6)/((-3)/4).
2
What is (6 + 156/(-30))*15/6?
2
Calculate (28/(-49))/((-3)/(-21)).
-4
Calculate -5*(-154)/1225 + (-1)/5.
3/7
Calculate 1 + -1 + 1 + -20 + 24.
5
(-1)/2*(-10)/(-20)
-1/4
Calculate (44 - 47) + -2 + 30/4.
5/2
0 - 6/252*12
-2/7
(-94)/(-18) + 16/(-72)
5
Calculate (-12)/(-18) - (-56)/(-72).
-1/9
Calculate (-1)/4*42/(-63).
1/6
What is the value of -5 - (-13 + 7/(14/10))?
3
What is the value of 94/36 - 3 - 2/(-12)?
-2/9
40/(-102) - (-14)/2618*11
-1/3
What is (-214)/42 + 25/((-5250)/(-20))?
-5
13288/(-1496) - 9*-1
2/17
Calculate 38/(-9) + (-3 - (-28)/4).
-2/9
What is the value of 28/(-36)*2/7?
-2/9
Calculate (-69)/15 - (-30)/50.
-4
33 + -26 - (-5)/(5/(-16))
-9
Calculate (-51)/(-85) - 26/10.
-2
Evaluate (-2)/14 + (-351)/91.
-4
What is 8/(-10) + (-15 - -14)?
-9/5
Evaluate (-4 - (-1)/((-1)/(-2))) + 2.
0
What is the value of 5/(-2)*16/20?
-2
Evaluate (-4015)/(-440) + -9*1.
1/8
Evaluate (((-40)/(-35))/2)/(6/(-21)).
-2
What is the value of 252/(-18) - (3 - 16)?
-1
(15/(-10))/((-2)/(-4))
-3
What is the value of 20/(-5) + 2 + 9 + -3?
4
Calculate 9 - (4508/(-70))/(-7).
-1/5
20/(-32)*(2 - -3) - -3
-1/8
What is the value of (-6)/8 - ((-34)/8 + 4)?
-1/2
What is the value of (-7)/(112/(-100)) + -6?
1/4
What is the value of 6/(-39) + (-24)/(-13)*-1?
-2
Evaluate (2/3)/(8 + -2).
1/9
-12 - -8 - (-5)/2
-3/2
What is 1/(-3)*(3 + -1)?
-2/3
9 - (12 + 143/(-52))
-1/4
Evaluate (-12)/(-4)*10/(-6).
-5
((-1)/3)/(-14*(-3)/(-36))
2/7
Calculate 0/(3 + -1 + 3).
0
What is the value of 82/21 + (-37 - -33)?
-2/21
What is the value of ((-212)/(-106))/(-9 + -1)?
-1/5
Evaluate (-10)/(-3)*21/14.
5
What is (-2)/(-26) + 76/988?
2/13
What is the value of ((-2)/24)/(39/104)?
-2/9
Evaluate 9/45 + 408/85.
5
(6/8)/(1 - (-115)/(-40))
-2/5
-8 + 2 - (-285)/45
1/3
Calculate (-2)/5 - 34/(-10).
3
Calculate ((-6)/48)/(1/(-3)).
3/8
(-2 - 2) + (3 - 1)
-2
What is the value of ((-16)/6)/(364/(-39))?
2/7
What is the value of 4/(-15)*((-100)/8)/5?
2/3
What is the value of 384/660 - (-2)/(-11)?
2/5
What is (18/(-12))/((-31)/(-14) + -2)?
-7
Calculate 2/5*(12 - 11).
2/5
What is the value of (-44)/(-20) + (-3)/1?
-4/5
What is the value of 3 - 2/(2/(-2))?
5
What is 2 - (12/(-18) + (-23)/(-9))?
1/9
Calculate (4 - 13) + (3 - 0) + 4.
-2
What is the value of (-8)/5*(-12 - (-375)/30)?
-4/5
What is the value of (16/48)/((-1)/15)?
-5
What is 21/(-6) - (13 + -17)?
1/2
Calculate 36/(-15) + 2 + (-51)/(-15).
3
What is -4 + (-13)/(-2)*36/54?
1/3
2 - (1/4 + (-323)/(-228))
1/3
Calculate (19*3)/(2 - 10) + 7.
-1/8
What is the value of 2 - 1 - (5 - 21/3)?
3
What is


Leigh Corfman, the woman who accused former Republican candidate for Senate in Alabama, Roy Moore, of sexual assault when she was just 14 years old, filed a defamation lawsuit against Moore and his campaign on Thursday.

Moore has repeatedly denied any misconduct, instead painting himself as the victim and calling the numerous allegations against him “completely false” and a “desperate political attack by the National Democratic Party and the Washington Post.” Some key members of the Moore campaign also smeared Corfman. In an interview with the conservative Weekly Standard, Moore campaign chairman Bill Armistead attacked her character, calling her a “problem child.”

In the lawsuit, Corfman states the “baseless and irresponsible attacks” by Moore that came as a result of her speaking out have caused her both emotional and economic harm. According to the suit, members of the public who supported Moore for Senate have made comments on social media calling Corfman a “14 year old whore” and “one big liar.” These comments and attacks from the Moore campaign eventually resulted in Corfman taking a leave of absence from her job, resulting in lost wages.

Some of Moore’s supporters have claimed George Soros paid Corfman to tell her story, but she has made it clear both on television and in the lawsuit that she was never compensated.

“My bank account has not flourished,” Corfman told the Today Show in November. “If anything it’s gone down because I’m not working.”

The lawsuit details that her only motivation in suing Roy Moore is to clear her name and stop the continuing defamatory attacks against her.

Corfman was the first, but not the only woman to come forward with with accusations of sexual misconduct involving Moore when they were minors. Shortly after the Washington Post shared her story, six more women accused Moore of acts ranging from forceful kisses to forcing their head onto his crotch.

Defamation lawsuits have become a savvy legal maneuver for women to hold their abusers accountable after the statute of limitations has run out for criminal charges involving sexual abuse, which usually ranges from 3 to 30 years nationwide.

Corfman’s lawsuit mirrors one filed by Summer Zervos, a former contestant on The Apprentice who accused President Donald Trump of kissing her, groping her, and pulling her into his bedroom. Zervos’ lawsuit doesn’t accuse him of sexual misconduct, but of defaming her by denying the actions and attacking her character.

“And what did Donald Trump, the liar and misogynist, do to cover up his lies? He lied again, and debased and denigrated Ms. Zervos with false statements about her,” Zervos’ attorney, Glorida Allred, said during a press conference in January. Allred explained Zervos had successfully passed a polygraph test in which she recounted the incident with Trump, and Zervos herself said that she will withdraw the suit if Trump admits that he did grope her.

Trump has denied allegations made by Zervos and the other 19 women who have accused him of similar behavior, calling the accusations politically motivated and false.

Nothing ever happened with any of these women. Totally made up nonsense to steal the election. Nobody has more respect for women than me! — Donald J. Trump (@realDonaldTrump) October 15, 2016

Similarly, some of the 60 women who have accused Bill Cosby of drugging and/or sexually assaulting them decades ago filed defamation suits after Cosby and his team suggested they were liars and extortionists.

Three defamation suits against Cosby have either been withdrawn or dismissed. Another, filed by seven women is pending in Massachusetts.


April 17 2011

7:15 PM

Thanks to two birdies and an eagle, Charley Hoffman, who made
the turn in 32, is just one stroke off the lead at TPC San
Antonio.

The eagle for Hoffman came on the par-5 eighth, where he went
over the green on his second shot before holing his chip shot from
just off the green.

The other key to Hoffman’s success this week, of course,
has been his putter. He leads the field in putting and continues to
roll it well here in the final round with 13 putts through his
first 10 holes.


Development of label-free molecular beacons based on abasic site-binding fluorescence molecules.
Here we report on a class of label-free molecular beacons (MBs) based on a non-covalent interaction with abasic site (AP site)-binding fluorescence molecules. In contrast to conventional MBs that require the chemical labelling with fluorophores and quenchers, our MB simply contains the AP site in the stem moiety, so that a small molecule specifically binds to the AP site. This binding event is accompanied by a significant quenching of its fluorescence, and thus a closed state of the AP site-containing MB (APMB) shows almost no fluorescence. Upon hybridization with a complementary DNA, APMB undergoes a conformational change to take an open state, resulting in an effective fluorescence enhancement due to a release of the molecule from the AP site. These sensing functions of APMB are discussed with a view towards further development of gene detection chemistry based on DNA-binding small molecules.


Vasopressin (arg^8^-vasopressin) and oxytocin are closely related nonapeptide hormones, synthesized as pre-hormones in the magnocellular neurons of the paraventricular and supraoptic nuclei of the hypothalamus. Vasopressin and oxytocin are secreted in response to a variety of physiological stimuli, serving such different functions as controlling water balance, milk ejection, uterine contraction, mood, and parental behavior (Lechan and Toni, [@B21]; Costa et al., [@B9]).

Muscle as a Target of Neurohypophyseal Hormones {#s1}
===============================================

Skeletal muscle or myogenic precursors have never been considered, until recently, as targets of neurohypophyseal hormones. However, very early evidence was provided by Wakelam and collaborators, who showed some mild effects of vasopressin on carbohydrate metabolism in myoblasts (Wakelam and Pette, [@B39]; Wakelam et al., [@B38]). These initial observations were corroborated by later studies showing that stimulation of primary chick embryo myoblasts or murine L6 and L5 myogenic cell lines with vasopressin, oxytocin, their analogs and antagonists resulted in the structure- and concentration-dependent activation of phospholipase C (PLC) signaling, the stimulation of myogenic differentiation, and the hypertrophy of newly formed muscle fibers (Teti et al., [@B36]; Nervi et al., [@B31]). Worth noting, PLC activates Protein Kinase C family members, among which the theta isoform plays an important role in both muscle differentiation and disease (Marrocco et al., [@B25], [@B24]; Lozanoska-Ochser et al., [@B23]). The potent pro-myogenic effect of vasopressin was further characterized in myogenic cells cultured in a serum-free medium, a "clean" experimental model that allowed us to establish that L6 myogenic cells express the vasopressin V1a receptor (V1a-R) and that vasopressin elicits a complex signal transduction response in these cells (Minotti et al., [@B28]; Scicchitano, [@B33], [@B34]; Naro et al., [@B30]; Toschi et al., [@B37]; Costa et al., [@B10]). Moreover, it was found that V1a-R expression is modulated during the differentiation of L6 cells, probably in a post-translational manner (Alvisi et al., [@B2]).

Studies from other laboratories highlighted the presence of functional oxytocin receptors (OT-R) in human myoblasts derived from postnatal satellite cells (Breton et al., [@B6]), and in C2C12 myogenic cells which respond to oxytocin by activating the calcium--CaMKK--AMPK pathway (Lee et al., [@B22]). A recent *in vitro* study showed that C2C12 myoblasts express not only OT-R but also oxytocin and that the expression of both products increases upon myogenic differentiation of the cells (Berio et al., [@B5]). Furthermore, myotubes treated with 17β-estradiol overexpress oxytocin and OT-R genes by approximately 3- and 29-fold, respectively (Berio et al., [@B5]).

While cell cultures provide useful models to define, under controlled conditions, the effects of vasopressin or oxytocin on myogenic differentiation at the molecular level, *in vivo* data support the idea that both neurohypophyseal hormones play physiological roles in skeletal muscle. Indeed, a role for neurohypophyseal hormones in prenatal muscle development was first suggested by the presence of immunoreactive vasopressin in human fetal and neonatal skeletal muscle (Smith et al., [@B35]). Moreover, a \>120-fold increase in oxytocin expression was observed in bovine muscle during early to mid-fetal calf development, coincident with active myofiber formation (De Jager et al., [@B11]), findings in keeping with the above reported *in vitro* data.

In an *in vivo* murine experimental model, we reported that V1a-R expression, measurable under basal conditions in muscle, was strongly up-regulated in the early phase of regeneration (9 h after injury) and gradually decreased in the following days, along with the regeneration process. In this model, vasopressin administration promoted muscle regeneration. Furthermore, overexpression of V1a-R in muscle sufficed to dramatically enhance post-injury muscle regeneration, without administering exogenous vasopressin (Toschi et al., [@B37]). In an *in vivo* mouse model of tumor necrosis factor (TNF)-inhibited muscle regeneration, the administration of vasopressin rescued the inhibitory effect of TNF, likely through a mechanism involving the modulation of HSP70 levels (Moresi et al., [@B29]). Again, TNF-mediated muscle atrophy was rescued by the overexpression of the V1a-R *in vivo* (Costa et al., [@B10]).

Altogether, the *in vivo* evidence supports the notion that both vasopressin and oxytocin have potent effects, in the development, regeneration and homeostasis of skeletal muscle.

Further insights came from studies conducted in aged mice (Elabd et al., [@B13]). The authors focused on the reduced muscle regeneration and muscle atrophy (sarcopenia) occurring in aging. While it is known that aging is accompanied by reduced physiological levels of sex steroids, the authors found that circulating oxytocin level is also reduced. Interestingly, satellite cells from aged animals exhibited a significantly lower OT-R expression than those from young animals. Moreover, comparing young and aged mice treated with an oxytocin selective antagonist or with exogenous oxytocin, respectively, the authors demonstrated that oxytocin is required for efficient muscle regeneration (Elabd et al., [@B13]). The impaired muscle regeneration of aged mice was shown to depend primarily upon reduced proliferation of satellite cells, a phenomenon rescued by exogenous oxytocin administration. The oxytocin effect on satellite cell proliferation was reported to be mediated by the MAPK/ERK pathway (Elabd et al., [@B13]). In line with the above findings, muscle regeneration in oxytocin KO mice was severely compromised. Young oxytocin KO mice displayed a premature decline in muscle regeneration, as well as muscle fibrosis and fat infiltration, showing a muscle phenotype characteristic of sarcopenia (Elabd et al., [@B13]).

Therefore, both neurohypophyseal hormones appear to regulate positively muscle homeostasis in different models: oxytocin, in the aging and KO mouse models (Elabd et al., [@B13]); and vasopressin, in injured muscle or TNF-induced muscle wasting (Moresi et al., [@B29]; Toschi et al., [@B37]; Costa et al., [@B10]).

The apparent overlapping between the observed effects of the two neurohypophyseal hormones in the regulation of muscle differentiation and trophism may depend on the fact that both V1a-R and OT-R cross-bind their ligands, albeit with different affinities (Barberis et al., [@B4]; Gupta et al., [@B14]). Furthermore, the results obtained in the myogenic L6 cell line used as an experimental tool to show the effect of neurohypophyseal hormones probably depend on a peculiar expression of the receptors for these hormones, in comparison to other myogenic cell types.

Muscle Tissue as a Source of Vasopressin and Oxytocin {#s2}
=====================================================

Interestingly, the possibility that myogenic cells express one of the neurohypophyseal hormones, as suggested by the pioneering results of Smith in prenatal human muscle for vasopressin (Smith et al., [@B35]), was recently proposed again (Berio et al., [@B5]), with regard to oxytocin and OT-R. Based on these observations, muscle can thus be added to the list of previously unrecognized sites of oxytocin expression, such as testes, ovaries, heart and lungs (Assinder et al., [@B3]; Jankowski et al., [@B17]; Kiss and Mikkelsen, [@B18]; Gutkowska and Jankowski, [@B15]). Further results supporting this hypothesis, were obtained in studies aimed to investigate the mechanisms triggered by the administration of steroids used to increase muscle mass in livestock farming. Cattle regularly treated with anabolizing agents displayed dramatically enhanced oxytocin mRNA expression in skeletal muscle, accompanied by a \~50-fold higher level of circulating oxytocin (De Jager et al., [@B11]). Intriguingly, the authors provided evidence that the hypertrophying effect of anabolic steroids is prevalently mediated by OT-R signaling. Furthermore, in a more recent study, Divari reported that serum levels of oxytocin increased dramatically in cattle regularly treated with 17β-estradiol, but not with either dexamethasone or placebo. This administration of 17β-estradiol also resulted in increased (33-fold) skeletal muscle expression of the oxytocin-precursor mRNA (Divari et al., [@B12]). Increased expression of the oxytocin-precursor mRNA was also found in the muscle of sheep subjected to chronical treatment with a combination of 17β-estradiol and the synthetic androgen trenbolone acetate (TBA). Also the circulating oxytocin level increased in steroid-treated sheep compared to placebo-treated controls (Kongsuwan et al., [@B19]). Together, the above studies indicate a correlation between the steroid-induced muscle hypertrophy and the increased expression of both oxytocin and OT-R in skeletal muscle.

The mechanisms underlying regulation by steroids of oxytocin expression remain to be fully elucidated. The oxytocin promoter does not possess a classical Estrogen Response Element, whereas it has a high affinity binding-site for nuclear orphan receptors/estrogen related receptor alpha (ERRα). Koohi reported that the estrogen dependent control of the oxytocin promoter is independent of classical Estrogen Receptor (ER) binding, but requires a functional ERRα (Koohi et al., [@B20]). These authors further demonstrated that the estrogenic stimulation of the OT-R occurs through the ERK/MAPK-mediated stimulation of the transcriptional activity of ERRα. The up-regulation of oxytocin expression by this non-classical mechanism may, in turn, sustain an autocrine feed-forward oxytocin/OT-R loop which amplifies the response to oxytocin, as shown in bone (Colaianni et al., [@B7]; Berio et al., [@B5]).

Worth noting, exercise (i.e., muscle contraction) represents a physiological stimulus increasing the levels of circulating neurohypophyseal hormones, as well as their expression (or the expression of their receptors) in several tissues beside skeletal muscle (Martins et al., [@B26]). Based on several studies in man and other mammals, it is clear that exercise induces a five- fold increase in the circulating levels of vasopressin (Melin et al., [@B27]; Convertino et al., [@B8]; Alexander et al., [@B1]). This increase, associated to the beneficial effects of exercise on muscle homeostasis, suggests a model whereby physical activity stimulates muscle secretion of the neurohypophyseal hormones and induces a generalized sensitization to these factors through the up-regulation of their receptors in various districts. An exercise-mediated increase in vasopressin and/or oxytocin could ultimately contribute to maintaining muscle homeostasis and add to the additional benefits of exercise, including an increased life span and general well-being.

Final Remarks {#s3}
=============

The *in vitro* and *in vivo* studies discussed above suggest that skeletal muscle is a target of neurohypophyseal hormones, which regulate muscle homeostasis and function in both physiological and pathological conditions. On the other hand, skeletal muscle has been recognized as the source of a wide range of circulating factors, namely myokines, which regulate a number of different functions with paracrine or endocrine mechanisms (Pedersen and Febbraio, [@B32]; Hoffmann and Weigert, [@B16]). In the light of its abundance in the organism, skeletal muscle may thus be regarded as the largest endocrine gland in the body. In this article, we discuss *in vitro* and *in vivo* studies showing that oxytocin is synthesized by muscle and that its secretion significantly contributes to the level of circulating hormones. This activity appears to be central to the mechanisms which regulate muscle homeostasis, to contribute to muscle hypertrophic responses and to be altered in atrophic conditions. As a whole, this evidence suggests that OT and AVP be considered as potential myokines. In addition, these considerations suggest a potential therapeutic use of these molecules, along with more selective and potent analogs, in atrophic and muscle wasting conditions, such as sarcopenia and cachexia, and as a tool in adjuvant therapies against muscular dystrophies and neuromuscular diseases.

Author Contributions {#s4}
====================

SA, MB drafted the manuscript and approved the final version. EP, RL contributed to manuscript writing. DC, VM provided important interpretations, critically revised the manuscript. All authors provided final approval of the opinion content.

Conflict of Interest Statement
------------------------------

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

The authors are grateful to Pr. Giulio Cossu, University of Manchester, UK, and to Anna Luisa Mazzotti for critical reading and editing of the manuscript, respectively. SA is founded by Sapienza University research projects 2016 (SapMedi2016) and 2017 (RM11715C78539BD8). DC is funded by AFM (2017--20603), ANR (2013-J13R191), EFEM 2016, IBPS (2014), NIH (2013-1R01CA108857-01subcontractor). MB is founded by Sapienza University of Rome research projects 2017 (RP11715C7D238352), and by Duchenne Parent Project Onlus.

[^1]: Edited by: Wataru Aoi, Kyoto Prefectural University, Japan

[^2]: Reviewed by: Antonio Torsello, Università degli Studi di Milano Bicocca, Italy

[^3]: This article was submitted to Striated Muscle Physiology, a section of the journal Frontiers in Physiology


Q:

Should I overcharge mobile phone before first using?

When I first buy a mobile phone or phone battery I used to know i should charge it about 8-10 hrs switched off the phone.
But i don't know if its actually necessary to overcharge a battery for its longevity.
So should i overcharge my new mobile phone or just charge it until it get fully charged. FYI: my battery is Lithium Ion Battery.

A:

When the battery is first put on charge, the voltage shoots up quickly. This behavior can be compared to lifting a heavy weight with an elastic band. The lifting arm moves up quickly but the weight lags behind. The voltage of the charging battery will only catch up when the battery is almost fully charged.
Li-ion cannot absorb overcharge, and when fully charged the charge current must be cut off. A continuous trickle charge would cause plating of metallic lithium, and this could compromise safety.
Source Battery University


Q:

Sikuli click is not effect

I'm using SikulixIDE 1.1.0 to write a script playing Yugioh game (run on Windows 10 x64).
See the main screen:

I start the game manually and then run the script as below:
switchApp("Yu-Gi-Oh! PC")
click("1477213591920.png")

My expectation is that the link named "DUEL MODE" is clicked to go to the next screen. The cursor always moves to that link, but sometimes it works, sometimes does not.
I check the log and see that Sikuli has sent click command but for some reason, the game not accept it. This is the log:
[log] App.focus: [8020:Yu-Gi-Oh!]
[log] CLICK on L(687,488)@S(0)[0,0 1366x768]

I've already tried:

doubleClick instead of click
sleep a few seconds
hover and click

But all do not work, neither.

A:

I would expect that some of the things you have tried will help but if that's not the case you will need to identify whether the button was actually triggered or not. To do that you have to capture the next screen or any part of it that uniquely identifies it. Then you will use it a loop with a predefined number of attempts and some wait time between them and click more than once if the click didn't work. So generally something like that (pseudo code):
attempts = 3
for attempt in attempts:
    click(button)

    if (nextScreen is available):
        break

    sleep(time)


Q:

Orbeon autocomplete - keep what user entered (even if not matched to suggestions)

I'm using Orbeon forms - Autocomplete component and calling an external service to provide me with list of suggestions, based on what user has entered.
The requirement I have is to enable the user to keep what he has already entered, even if service cannot find appropriate match.
However, I have the problem that currently the service gets called when I move to another field (or when i simply click in and out of the autocomplete field), and it returns me the empty string or null which automatically gets populated as autocomplete field value (blank).
Do you have an idea how can I solve this? Since Orbeon autocomplete gets rendered as multiple fields, I'm not sure how JS logic is behind it.
Thanks,
Lazar
[Update-workaround] Check reply to @avernet answer - workaround: Replaced existing (external) service call, with one going to my back-end controller, which executes the call the original, external service with search parameter the user provided. If controller receives back blank value as a suggestion (implying that there are no matches), it creates a empty XML structure which is the one Autocomplete expects, but with search parameter the user has entered as a value.

A:

This use case isn't covered by the autocomplete control. You can think of the autocomplete as a selection control, say like the dropdown, but only for cases where the list of possible values is too long to show as-is, or even to load in the browser as-is, so you instead want to show just part of it, based on a "search" the user is doing.
It seems that what you're looking for would be an autocomplete that supports selection="open". Even if this isn't exactly what you're looking for, we've implemented open selection for radio boxes, and are shooting to release this in 4.11.


 = 2*j**2 - 15*j + 13. Calculate the remainder when 60 is divided by n(8).
18
Calculate the remainder when 4/((-12)/9) - (-85 + 1) is divided by 14.
11
Suppose 3*g = -2*g + x + 12, 0 = -4*g - x + 15. Calculate the remainder when (-2 - 0/2)*-4 is divided by g.
2
Suppose 2*s - 2 - 8 = 0. Calculate the remainder when s is divided by 3.
2
Suppose -s - s + 5*l + 24 = 0, 0 = 2*s + 3*l - 24. What is the remainder when s is divided by 7?
5
Suppose -3*y = -4*v + 2*v - 42, 2*v + 2*y = -52. Let z(j) = -34*j**3 + j**2 + j. Let a be z(-1). Let w = a + v. Calculate the remainder when 18 is divided by w.
8
Let y(i) be the first derivative of i**2/2 + 2*i + 2. Let f = 3 - 1. What is the remainder when y(f) is divided by 3?
1
Let h = 0 + 4. Let p(u) = -2*u + h*u**2 - 2 + 3*u + 0*u**2. Calculate the remainder when p(4) is divided by 17.
15
Let i = -27 - -60. Calculate the remainder when i is divided by 17.
16
Let h(p) = 5*p**2 + 2*p. Calculate the remainder when 62 is divided by h(-2).
14
Let l = 138 - 80. Suppose 0 = -17*o + 22*o - 100. What is the remainder when l is divided by o?
18
What is the remainder when 32 is divided by (-10 + 7)/((-2)/6)?
5
Let w(b) = 2*b - 4. Let h be w(3). Suppose 2*i - 2 = h*f, 0 = 5*i - 4*f - 1 - 3. Suppose i = 4*s - 3*s - 38. Calculate the remainder when s is divided by 13.
12
Calculate the remainder when 27 is divided by 9*(-5)/((-45)/6).
3
Let v(d) = 2*d + 7. Let i be v(-6). Let o(s) = s**2 + 2*s + 1 - 4 + 6. Calculate the remainder when o(i) is divided by 10.
8
Suppose -11*n = -16*n + f + 61, -2*f = -8. Let p be 2 - 4*(1 + -3). Suppose 5*c + 0 = -p, 0 = -r + c + 52. Calculate the remainder when r is divided by n.
11
What is the remainder when 43 - ((-50)/2)/5 is divided by 7?
6
Let x = 37 + -91. Let n be x/8*(-32)/(-12). Let f = -5 - n. Calculate the remainder when 38 is divided by f.
12
Suppose 2*d + 3*d = -5*t + 515, 3*t + 5*d - 311 = 0. Let w = -56 + t. Calculate the remainder when w is divided by 24.
22
Let w(s) = s**2 + 6*s + 8. Let m(o) = -5*o - 2. Let x be m(6). Let g = x - -55. What is the remainder when g is divided by w(-6)?
7
What is the remainder when 8*(9/(-6) - -2) is divided by 2*(2 + (-3)/6)?
1
Calculate the remainder when 8 is divided by (-1 - -4)/(-1) + 9.
2
Suppose -90 = -2*z - 4*z. Calculate the remainder when z is divided by 8.
7
Suppose -f + 12 + 9 = 5*u, 0 = 3*u - 9. What is the remainder when 166 is divided by f?
4
Let x = 19 - -38. Calculate the remainder when x is divided by 15.
12
Let w(g) = g - 4. Let i be w(4). Suppose 0*h - 4*h + 8 = i. Suppose -h*n + 4 = -n. Calculate the remainder when 6 is divided by n.
2
What is the remainder when 35 is divided by (-5 - -1)*(-18)/8?
8
Suppose -6*i = -11*i - 30. Let x = i + 9. Calculate the remainder when 4 is divided by x.
1
Let d(z) be the first derivative of -z**2/2 + 7*z + 2. What is the remainder when 30 is divided by d(-4)?
8
Suppose 12 = -m + 4*m. Suppose -4*g + 4 = -8. Suppose 5*o + 5*k - 66 = 3*k, 50 = 4*o + g*k. Calculate the remainder when o is divided by m.
2
Let l(h) = h**3 - 4*h**2 + h - 2. Let j be l(4). Let x(k) = 2*k**2 + 9*k - j - 3 - k. What is the remainder when x(-6) is divided by 11?
8
Suppose 19 = 2*f - 5. Let r(u) = u**2 + 5*u + 8. Let v be r(-6). Let y = v + -7. Calculate the remainder when f is divided by y.
5
What is the remainder when 1/((-602)/(-1330) + 2/(-5)) is divided by 10?
9
Let q(t) = 17*t**2 - t. Let g be q(1). Let j = -11 + g. Let w = -5 + 9. Calculate the remainder when j is divided by w.
1
Suppose -6*k + 18 = -3*k. Let g = -1 - -13. Calculate the remainder when (k/g)/(2/152) is divided by 13.
12
Let p be 2/3*6/2. Calculate the remainder when 18 + (-1 - (-6)/2) is divided by 27/3 - (-4)/p.
9
Suppose -k = -5, 3*s - 130 = -2*k - 27. Calculate the remainder when s is divided by ((-11)/2)/(1/(-2)).
9
Let s = 125 - 103. What is the remainder when 25 is divided by s?
3
Suppose 12*x - 140 = 592. What is the remainder when x is divided by (-40)/(-3)*36/15?
29
What is the remainder when 51 is divided by 0 + 18/4*4?
15
Let r(v) = v**3 - v**2 - 18. Let z be r(0). Calculate the remainder when 25 is divided by 4/6 - 240/z.
11
What is the remainder when -21*3*(-3)/27 is divided by 3?
1
What is the remainder when 177 is divided by ((-30)/(-4))/((-7)/(-42))?
42
Suppose 5*j - 3*r = 114, -4*j + 6*j + 3*r - 33 = 0. What is the remainder when j is divided by 8?
5
Let i(d) = d**3 + 4*d**2 - 5*d - 2. Calculate the remainder when i(-4) is divided by 10.
8
Suppose 0 = -2*x - 8 - 8. Let v = x - -31. Let c = v + -11. Calculate the remainder when 35 is divided by c.
11
Suppose -2*s = -2*v - 56, 0 = -6*v + 2*v - 16. Suppose -3*u + 140 = -u. What is the remainder when u is divided by s?
22
Let o(c) = -c**2 - 13*c + 16. Let d be o(-14). What is the remainder when d/(-2)*(-8 + -3) is divided by 4?
3
Let y(q) = -4*q - 1. What is the remainder when 35 is divided by y(-5)?
16
Let i(r) = -9*r**3 + 9*r**2 + 11*r - 7. Let y(t) = -4*t**3 + 5*t**2 + 5*t - 4. Let u(n) = -3*i(n) + 7*y(n). What is the remainder when u(8) is divided by 6?
3
Let r(y) = -1 - 3*y + 2*y + 2*y. Let w = -6 - -8. What is the remainder when r(3) is divided by w?
0
Let p(c) = -c + 7. Let j be p(6). Let o be -3 + 3 + (j - -1). Suppose 0 = o*f - 11 + 1. Calculate the remainder when f is divided by 2.
1
Let n(u) = 4*u - 10. Let d be n(7). Let g = 30 - d. Let l = 84 - 50. What is the remainder when l is divided by g?
10
Let i = 54 + -82. Let c = -18 - i. Let s(a) = a**3 - 4*a**2 + a - 3. Calculate the remainder when s(5) is divided by c.
7
Let p(q) = q + 11. What is the remainder when 3 is divided by p(-10)?
0
Let m(j) = 16*j**2 - j. Let i = 6 + -7. Calculate the remainder when 49 is divided by m(i).
15
Suppose -q + 5*r = 4*q - 305, 5*q + r - 281 = 0. Suppose 5*d + q = 2*p, 4*p - 90 = -5*d + 39. What is the remainder when p is divided by (-3)/(-6) + 31/2?
15
Suppose -q + 77 = -3*x, -5*q + 0*x + 366 = 4*x. What is the remainder when q is divided by 7?
4
Suppose 0 = 4*p - 0*p - 2*z + 32, -2 = p + z. Let b(x) = -x + 18. Calculate the remainder when (-2)/3 + (-118)/p is divided by b(11).
5
Suppose j - 5*j = -168. What is the remainder when j is divided by 15?
12
Suppose 5*z - z - 23 = -3*l, 60 = 4*l - 2*z. What is the remainder when 1 + 1/(1/36) is divided by l?
11
Suppose -u = -5, 6 = -3*c + 2*u - 1. Suppose -r + c = m - 8, -5*m + 32 = 4*r. Suppose -39 = -20*t + 101. What is the remainder when r is divided by t?
6
Suppose 50 = 4*u + 2*w, 0*u - 2*u + 16 = 4*w. What is the remainder when 41 is divided by u?
13
Let l(t) = -2*t - 4. What is the remainder when l(-9) is divided by 8?
6
Let i = -114 - -231. What is the remainder when i is divided by 40?
37
Let h(i) = i + 3. Let o be h(0). Suppose -3*a - 15 = o*l, -l - 5*a = -5*l + 25. What is the remainder when 30 + 1/(1 - l) is divided by 16?
15
Suppose 4*c - v = 45 + 9, 3*c + 2*v - 46 = 0. Calculate the remainder when 19 is divided by c.
5
Let f(n) = 4 - 2 + 5 - 3 - n. What is the remainder when 29 is divided by f(-4)?
5
Let q(h) be the third derivative of 0 - 1/60*h**5 - h**2 + 1/24*h**4 + 0*h + 2*h**3. What is the remainder when 22 is divided by q(0)?
10
Let j be (-2)/4 + (-13)/(-2). Suppose -6 = -2*d + j. Calculate the remainder when d - (1 - 3)/(-2) is divided by 2.
1
Let r(y) = 2*y - 2. Let u be r(-4). Let o be -5*(2 - (-68)/u). Let f = 1 + o. Calculate the remainder when f is divided by 13.
12
Suppose 9 = d - 3*x, -4*d - 4*x = -d - 14. Let i = 21 - 17. Calculate the remainder when d is divided by i.
2
Let x(f) = f - 1. Let y be x(6). Let q = 37 + -23. Calculate the remainder when q is divided by ((-16)/(-10))/(1/y).
6
Let h(j) = j**2 + 3*j + 11. Calculate the remainder when 74 is divided by h(-4).
14
Let c(m) = m**2 - 8*m - 8. Let w(p) = 6*p**2 - 40*p - 40. Let q(r) = -11*c(r) + 2*w(r). What is the remainder when 2 is divided by q(-7)?
0
Let d = -1 - -32. Suppose 4*r - 354 = 2*f, 0 = 2*r - 2*f - 198 + 26. What is the remainder when r is divided by d?
29
Suppose -9*x = -10*x + 11. What is the remainder when 20 is divided by x?
9
Let l(u) = 2*u - 7. Let b be 1 + -2 + 4 + 3. What is the remainder when 16 is divided by l(b)?
1
Let v(j) = 5*j - 8. Let m(r) = 3*r - 5. Let p(t) = 8*m(t) - 5*v(t). Calculate the remainder when 43 is divided by p(-11)


Tricuspid valvectomy to facilitate repair of postinfarction ventricular septal defect.
Repair of postinfarction ventricular septal defect (VSD) located posteriorly can be a challenging procedure both in regard to operative mortality and recurrence of the defect. Avoidance of ventriculotomy by transatrial repair may decrease risks of bleeding and impairment of ventricular function secondary to suture placement; however, adequate exposure of the defect through the tricuspid valve is not always possible. We present a case of successful transatrial repair of posterior postinfarction VSD with concurrent tricuspid valvectomy and coronary artery grafting.


Q:

¿Cómo construir un array para pasarlo a json en php?

Necesito construir un array y después pasarlo a json pero que me quede de la siguiente forma,(imagen)

Mi código es el siguiente :
$formaspago[] = array('Tarjeta','Gift Card','Descuento');
       $cantidades[] = array($stmt_tarjeta['can_tarjeta'],$stmt_gitCard['can_gift'],$stmt_Descuentos['can_descuentos']);

  for($i=0;$i<2;$i++){

          $data[] = array($formaspago[$i],$cantidades[$i]);

      }

Esta parte es js:
  var jugos = <?php echo json_encode($data); ?>;

    console.log(jugos);

No se que parte estoy haciendo mal, cuando le doy console log me sale así:

Se forman dos array  y yo necesito que se formen en pares , ahora se forma así mi array:
array(2)
{
    [0]=> array(2)
    {
        [0]=> array(3)
        {
            [0]=> string(7) "Tarjeta"
            [1]=> string(9) "Gift Card"
            [2]=> string(9) "Descuento"
        }
        [1]=> array(3)
        {
            [0]=> string(1) "8"
            [1]=> string(1) "1"
            [2]=> string(1) "1"
        }
    }
    [1]=> array(2)
    {
        [0]=> NULL [1]=> NULL
    }
}

Yo necesito que se formen de la siguiente forma:
array(4)
{
    [0]=> array(2)
    {
        [0]=> string(9) "Nivélate"
        [1]=> string(1) "6"
    }
    [1]=> array(2)
    {
        [0]=> string(11) "Enciéndete"
        [1]=> string(1) "1"
    }
    [2]=> array(2)
    {
        [0]=> string(9) "Actívate"
        [1]=> string(1) "1"
    }
    [3]=> array(2)
    {
        [0]=> NULL
    }
}

A:

Cuando estas creando los array $formaspago y $cantidades lo estás haciendo mal por que estás diciendo que al array en el índice 0 le agregue otro array y debería de ser que la variable como tal tiene como valor un array. En resumen debes cambiar esto $formaspago[] = [...] por esto $formaspago = [...]
Para que el ciclo for pueda recorrer todas las posiciones debes hacerlo así for($i=0; $i<=2; $i++) o así for($i=0; $i < 3; $i++)
La forma correcta de adicionar valores a un array es por medio del método array_push()

Te dejo el código completo:
$data = [];

$formaspago = ['Tarjeta','Gift Card','Descuento'];
$cantidades = [5, 10, 15];

for($i=0; $i<=2; $i++){
    array_push($data, array($formaspago[$i], $cantidades[$i]));
}

echo '<script>console.log('. json_encode($data) .')</script>';


I, for one, am very pleased with this trend of chic cocktail bars in London. For some reason, cocktail bars seem to have taken off in the finer hotels of London. As cocktails originated in America, it’s not too surprising it’s in the luxury hotels (all those trans-Atlantic businesspeople) and it’s great to see...


Pat Chaffey

Pat Chaffey (born April 19, 1967 in McMinnville, Oregon) is a former American football running back who played for the Atlanta Falcons in 1991 and for the New York Jets from 1992–1993. He played college football at Oregon State University, and played in 31 games over three seasons in the NFL. He graduated from North Marion High School in Aurora, OR.

References

Category:1967 births
Category:Living people
Category:Sportspeople from McMinnville, Oregon
Category:Players of American football from Oregon
Category:American football running backs
Category:Oregon State Beavers football players
Category:Atlanta Falcons players
Category:New York Jets players


[Changes in its hemagglutinin during the adaptation of the influenza virus to mice and their role in the acquisition of virulent properties and resistance to serum inhibitors].
Passages of influenza A/USSR/90/77 virus in mouse lungs produced a virulent virus (18th passage) carrying two mutations in hemagglutinin (HA) Asn127-->Asp and Tre89-->Ala. Cloning of this virus revealed two avirulent clones in the population. The analysis of one virulent (clone 7p) and one avirulent (clone 31 np) clones showed them to have both above-mentioned substitutions in HA. Clone 7p replicated in mouse lungs much more effectively than clone 31np, the difference in titres being 2 log10 EID50. In another experiment, the adapted virus (15th passage) did not differ in its antigenic, virulent, and reproductive properties from clone 7p but had only one substitution in HA Asn127-->Asp. Consequently, adaptation to mice required at least one mutation in HA resulting in the loss of glycosylation site. However, acquirement of virulence requires additional factors affecting the level of virus reproduction. Examinations of a number of normal animal sera and erythrocytes showed the mutations in HA accompanying virus adaptation to mice led to the development of resistance to serum inhibitors and changes in the receptor-binding specificity. These properties may be also associated with the loss of glycosylation site in the receptor-binding region of hemagglutinin molecule.


Medical tourism: assessing the evidence on treatment abroad.
The review focuses on one growing dimension of health care globalisation - medical tourism, whereby consumers elect to travel across borders or to overseas destinations to receive their treatment. Such treatments include cosmetic and dental surgery; cardio, orthopaedic and bariatric surgery; IVF treatment; and organ and tissue transplantation. The review sought to identify the medical tourist literature for out-of-pocket payments, focusing wherever possible on evidence and experience pertaining to patients in mid-life and beyond. Despite increasing media interest and coverage hard empirical findings pertaining to out-of-pocket medical tourism are rare. Despite a number of countries offering relatively low cost treatments we know very little about many of the numbers and key indicators on medical tourism. The narrative review traverses discussion on medical tourist markets, consumer choice, clinical outcomes, quality and safety, and ethical and legal dimensions. The narrative review draws attention to gaps in research evidence and strengthens the call for more empirical research on the role, process and outcomes of medical tourism. In concluding it makes suggestion for the content of such a strategy.


1. Field of the Invention
The present invention relates to a thermosensitive recording material (suitable for recording medical images), which uses a coloring reaction between an electron-donating coloring compound and an electron-accepting compound, and has excellent keeping quality of colored recorded images including half-tone images, and also relates to a method for producing such thermosensitive recording material.
2. Description of the Related Art
A thermosensitive recording matter has a thermosensitive recording layer on one surface of a base, where the thermosensitive recording layer contains a colorless or slightly colored coloring matter, such as an electron-donating leuco dye, an organic acid color developer such as an electron-accepting phenol compound, and a binder as main component, and the base is generally formed of paper, synthesized paper, or a plastic film. The coloring dye and the color developer are allowed to react by an application of thermal energy to thereby form a colored recording image.
Such thermosensitive recording matter has advantages such that a recording device used therefore is a compact and inexpensive, and maintenance thereof is easy. For these reasons, it has been widely used in the various fields, such as a recording material of electronic computers, facsimiles, ticket venders, scientific computers, CAD printers, plotters, and printers for CRT-based medical measurements.
Moreover, because of problems in processing of waste liquid cased by a wet process of a silver X-ray film as well as digitalization of images, in recent years, there have been demands for a dry film system which easily output, especially in the medical field. Along with such trend, a thermosensitive recording film usable for the medical field has been also desired because of easiness of the thermosensitive recording process.
A thermosensitive recording material for medical use is generally classified into a transmitting thermosensitive recording material which is translucent and uses such translucency, and a reflective thermosensitive recording material which has extremely low or no translucency, and uses the reflected light to view a formed image thereon.
In the case where the thermosensitive recording material for medical use is the reflective type, a synthesized paper having a multilayer structure is used because such thermosensitive recording material needs to achieve the required properties, such as water resistance, sufficient tensile strength, uniformity of recorded images, high resolution, size stability, and thin line recording ability.
Medical images have images of low to high color density ranges, and especially the keeping quality of a coloring image of half tone is important. Moreover, it is also desired that a recording color density is high, coloring tone is in pure black in all density ranges, and image do not discolor or fade by influences of light, heat, and moisture.
In Japanese Patent Application Laid-Open (JP-A) No. 05-318937, for stably preserving recording images of half tone, there is proposed a thermosensitive recording material, which contain, on a base, a thermosensitive recording layer containing a colorless or slightly tinted base dye and a coloring agent configured to develop a color in contact with the dye, and an intermediate layer containing a water-soluble resin or water-dispersible resin, and an overcoat layer containing an ionizing radiation-curable resin, where the thermosensitive recording layer contains, as the coloring agent, at least one salicylic acid derivative expressed by the following general formula (1) or a polyvalent metal salt thereof, and at least one phenol derivative expressed by the following general formula (2):

However, this thermosensitive recording material has a problem such that materials usable as a coloring agent are limited.
In JP-A No. 2004-314329, there is proposed a thermosensitive recording material which contains, on a base, a color reversible thermosensitive recording layer containing generally a colorless or slightly tinted dye precursor and a reversible color developer capable of reversibly changing a color tone of the dye precursor, an oxygen-barrier layer containing at least one water-soluble polymer selected from the group consisting of alkoxysilane having an amino group and/or imino group, alkoxysilane having an epoxy group, and an aziridine compound, and a protective layer, disposed in this order.
However, it is not sure whether such thermosensitive recording material has an effect on keeping quality of half tone or not.
In JP-A No. 2007-203608, a thermosensitive recording material having improved water resistance and the like is proposed. In this thermosensitive recording material, a polyamine or polyamide resin in combination with an epichlorohydrin resin is added to an intermediate layer provided between a recording layer and a protective layer.
However, this thermosensitive recording material requires both the epichlorohydrin resin and the polyamine or polyamide resin having functional groups interactive with the pichlorohydrin resin. In addition, whether or not this thermosensitive recording material provides an effect of preserving half tone images is uncertain.
Moreover, such thermosensitive recording material is proposed in JP-A Nos. 05-024350, 05-169811, 05-185721, and 05-330232 that it contains a thermosensitive recording layer to which certain aziridine is added for improving keeping quality. However, there is a possibility that aggregations of aziridine may be caused if the reactivity of the aziridine is excessively high. Therefore, this thermosensitive recording material has a problem such that aziridine usable therein is limited to the aziridine compound having a low reactivity can be used.


This tutorial also assumes you have OpenCV4Android SDK already installed on your development
machine and OpenCV Manager on your testing device correspondingly. If you need help with any of
these, you may consult our OpenCV4Android SDK tutorial.

If you encounter any error after thoroughly following these steps, feel free to contact us via
OpenCV4Android discussion group or OpenCV
Q&A forum . We’ll do our best to help you out.

In this section we will explain how to make some existing project to use OpenCV.
Starting with 2.4.2 release for Android, OpenCV Manager is used to provide apps with the best
available version of OpenCV.
You can get more information here: Android OpenCV Manager and in these
slides.

In most cases OpenCV Manager may be installed automatically from Google Play. For the case, when
Google Play is not available, i.e. emulator, developer board, etc, you can install it manually
using adb tool. See How to select the proper version of OpenCV Manager for details.

There is a very base code snippet implementing the async initialization. It shows basic principles.
See the “15-puzzle” OpenCV sample for details.

It this case application works with OpenCV Manager in asynchronous fashion. OnManagerConnected
callback will be called in UI thread, when initialization finishes. Please note, that it is not
allowed to use OpenCV calls or load OpenCV-dependent native libs before invoking this callback.
Load your own native libraries that depend on OpenCV after the successful OpenCV initialization.
Default BaseLoaderCallback implementation treat application context as Activity and calls
Activity.finish() method to exit in case of initialization failure. To override this behavior
you need to override finish() method of BaseLoaderCallback class and implement your own
finalization method.

According to this approach all OpenCV binaries are included into your application package. It is
designed mostly for development purposes. This approach is deprecated for the production code,
release package is recommended to communicate with OpenCV Manager via the async initialization
described above.

If your application project doesn’t have a JNI part, just copy the corresponding OpenCV
native libs from <OpenCV-2.4.11-android-sdk>/sdk/native/libs/<target_arch> to your
project directory to folder libs/<target_arch>.

In case of the application project with a JNI part, instead of manual libraries copying you
need to modify your Android.mk file:
add the following two code lines after the "include$(CLEAR_VARS)" and before
"includepath_to_OpenCV-2.4.11-android-sdk/sdk/native/jni/OpenCV.mk"

1
2

OPENCV_CAMERA_MODULES:=on
OPENCV_INSTALL_MODULES:=on

The result should look like the following:

1
2
3
4
5
6

include $(CLEAR_VARS)# OpenCVOPENCV_CAMERA_MODULES:=on
OPENCV_INSTALL_MODULES:=on
include ../../sdk/native/jni/OpenCV.mk

After that the OpenCV libraries will be copied to your application libs folder during
the JNI build.v

Eclipse will automatically include all the libraries from the libs folder to the
application package (APK).

The last step of enabling OpenCV in your application is Java initialization code before calling
OpenCV API. It can be done, for example, in the static section of the Activity class:

1
2
3
4
5

static{if(!OpenCVLoader.initDebug()){// Handle initialization error}}

If you application includes other OpenCV-dependent native libraries you should load them
after OpenCV initialization:

Perform static linking with OpenCV. By default dynamic link is used and the project JNI lib
depends on libopencv_java.so.

The file Application.mk should exist and should contain lines:

APP_STL:= gnustl_static
APP_CPPFLAGS:= -frtti -fexceptions

Also, the line like this one:

APP_ABI:= armeabi-v7a

Should specify the application target platforms.

In some cases a linkage error (like "Infunction'cv::toUtf16(std::basic_string<...>...undefinedreferenceto'mbstowcs'") happens when building an application JNI library,
depending on OpenCV. The following line in the Application.mk usually fixes it:

Lets discuss some most important steps. Every Android application with UI must implement Activity
and View. By the first steps we create blank activity and default view layout. The simplest
OpenCV-centric application must implement OpenCV initialization, create its own view to show
preview from camera and implements CvCameraViewListener2 interface to get frames from camera and
process it.

First of all we create our application view using xml layout. Our layout consists of the only
one full screen component of class org.opencv.android.JavaCameraView. This class is
implemented inside OpenCV library. It is inherited from CameraBridgeViewBase, that extends
SurfaceView and uses standard Android camera API. Alternatively you can use
org.opencv.android.NativeCameraView class, that implements the same interface, but uses
VideoCapture class as camera access back-end. opencv:show_fps="true" and
opencv:camera_id="any" options enable FPS message and allow to use any camera on device.
Application tries to use back camera first.

After creating layout we need to implement Activity class. OpenCV initialization process has
been already discussed above. In this sample we use asynchronous initialization. Implementation of
CvCameraViewListener interface allows you to add processing steps after frame grabbing from
camera and before its rendering on screen. The most important function is onCameraFrame. It is
callback function and it is called on retrieving frame from camera. The callback input is object
of CvCameraViewFrame class that represents frame from camera.

Note

Do not save or use CvCameraViewFrame object out of onCameraFrame callback. This object
does not have its own state and its behavior out of callback is unpredictable!

It has rgba() and gray() methods that allows to get frame as RGBA and one channel gray scale
Mat respectively. It expects that onCameraFrame function returns RGBA frame that will be
drawn on the screen.


Q:

Safe way to merge my branch

I have master branch
and I have xx1 branch with 3 commits ahead (changes in file A) and 5 commits behind master (changes in file B)
What is the safe way to merge xx1 branch to master branch ?
should I merge first master to xxx1 ?
or because files are different I can just merge my branch to master ?

A:

Theoretically yes. You can merge and there might not be any merge conflicts as you said the files are different.
However, you can also rebase, which is a better option in my opinion. Rebase will make sure that all the commits are maintained individually.
https://git-scm.com/docs/git-rebase


I’ve seen retail investors and professional money managers sell way, way too early, way, way too often. Learning basic portfolio management and discipline will pay enormous dividends over time and most investors completely ignore that skill set. When I was running dozens of millions of dollars I encountered this exact problem constantly. I can’t count how many times I wanted to size a new position after doing months of research, calling suppliers, combing entirely new industries, only to have the stock start taking off before I got a chance to really make it a big bet for my investors.

The big fish are definitely on hiatus as they sip champagne and eat caviar at their mansions in the Hamptons for the last couple weeks of the summer as usual. But the question is whether they'll be net buyers or net sellers when they get back. Feet to fire, I think if the market can sustain these levels or can rally into summer's end, those guys will feel naked and/or overly short and they'll have to be buyers in September.

You know how stocks are up big from their recent lows and also up near multi-year highs? You know how there's suddenly little or no panic about Greece, Spain, the whole EU/financial industry insolvency issues? That is the time to be trimming the trees around your portfolio's house. For the last two years or so, we've been buying almost every time the market panics over the EU crisis and we've been trimming/hedging every time the EU crisis moves from the front pages. I don't see any reason to change that playbook quite yet. And my main point is that now, when nobody else is panicking about the EU, is the time to panic about the EU once again — trim some longs and put on some short hedges if you haven't already done so.

The most exciting thing I see on the horizon isn’t the ad sales that will almost certainly materialize, but the network effects of a billion Android users and the ways Google can leverage that scale. If one billion people are on the same mobile OS and you know where they are precisely and they have a biometric scanner on their phone, do you really need Mastercard and Visa to take their 3% to verify the funds and identity? That’s why Google is working on Google Wallet. If one billion people are constantly sharing their location by virtue of having their phone switched on, could you sell them stuff based on where they are? That’s why Google is working on Google Offers. And if one billion people care more about the device than the network and will pick the service based on who has the cool new Android phone, couldn’t you launch your own data service? That’s Google Fiber. And that’s why Google is working so furiously on Android, not for the $10 billion in ad revenue that it will surely get, but the $100 billion in revenue it can potentially tap into over the next two decades.

In 1996 I came to New York City with a degree in economics from the University of New Mexico, a suitcase, a guitar and just about nothing else. I dreamed of becoming a “Wall Street Rock Star,” so while I was searching for a way to get my foot in the door anywhere I could, I devoured every book on trading, stocks, investing, options, brokering, and economics. None of them really delivered the hard truths along with the information and knowledge base that every investor and trader needs to know.

And then there was the guidance — Fusion-IO now expects the 2013 results to come in at 45-50% topline growth for the year. How many other companies do you own that are growing revenues 50% per year. Yowza.

First, I’m not selling because I do indeed think a bigger break out is more likely than not. There’s been some real momentum to the moves during earnings season and with these stocks brushing up to their 52-week highs, there’s a good chance of fireworks once they get there. I wouldn’t be surprised if it took a couple more weeks and maybe another scary decline of 2-3% in a day or two before the breakout rally comes, but I’d buy more on a decline as I think the set up here into year end is looking very bullish both technically and fundamentally for many of our stocks.

How much faith do you have that you aren’t being screwed on every trade you do by high-speed frequency trading computers that are front-running your every order and glitches in the system like that of Facebook’s first trading day and/or yesterday’s intraday trading snafus?

Over the longer-term, the more opportunities that Wall Street has to front-run your trades and to extract fees out of your capital, the harder it gets to outperform. And the rigging of the trading game has gotten worse in the last few years, with high-frequency front-running (commonly called high-frequency trading) and a lack of prosecution for financial crime and the increasing rigging of the trading game is making it very tough to move your money around and to trade aggressively.

There are still lots and lots of shorts who are staying aggressively short out there and that alone would provide some serious upside break out if they were forced to buy back those shorts into a panic.

About The Cody Word

Cody Willard writes the Revolution Investing investment newsletter for MarketWatch and posts the trades from his personal account at TradingWithCody.com He is the founder of WallStreetAll-Stars.com and the principal of CL Willard Capital. Cody serves as an adjunct professor at Seton Hall University and is on the University of New Mexico Alumni Board. He was an anchor on the Fox Business Network, where he was the co-host of the long-time #1-rated show on the network, Fox Business Happy Hour. Cody, a former hedge fund manager, and his stock picks and economic outlooks have been featured on NBC’s The Tonight Show with Jay Leno, ABC’s 20/20, CBS Evening News, CNBC’s SquawkBox, Jon Stewart’s The Daily Show, as well as in the Financial Times, Wall Street Journal, New York Times, and many other outlets.


We still don't know the actual cause of the recent incident so I am not sure how you can say that.

In both incidents the fly section was released by the cable so there are similarities.

I do, and it was a completely different cause.

09-07-2012, 10:36 AM

donethat

Quote:

Originally Posted by SCOOBY14B

I do, and it was a completely different cause.

Well, when you see pictures from two different accidents in a short time span with broken cables hanging out from both trucks, you have to ask the obvious questions. To not do so would be putting your head in the sand.

09-07-2012, 02:31 PM

Cutlass84

Quote:

Originally Posted by SCOOBY14B

Sutphen built the very first telescoping aerial platform, and the fundamentals haven't changed. EVERY manufacturer has required maintenance, and that maintenance MUST be followed.

That's a given. However, no amount of maintanence will replace having a redundant safety in place. Maybe they do? That just seems to be the factor that would have prevented these from escalating to this point.

09-11-2012, 11:37 AM

firepundit

Quote:

Originally Posted by SCOOBY14B

I do, and it was a completely different cause.

If you know the actual cause why don't you share it with us? Have you inspected the apparatus?

09-19-2012, 12:15 AM

SCOOBY14B

Quote:

Originally Posted by firepundit

If you know the actual cause why don't you share it with us? Have you inspected the apparatus?

Sorry, but when the information is allowed to be released I will be glad to share it.

09-19-2012, 09:40 AM

firepundit

Quote:

Originally Posted by SCOOBY14B

Sorry, but when the information is allowed to be released I will be glad to share it.

Once there has been a public announcement, everyone will be able to share it.

09-19-2012, 11:17 AM

FWDbuff

Quote:

Originally Posted by SCOOBY14B

Sutphen built the very first telescoping aerial platform.

mmmm are you sure about this? I consider myself an amateur apparatus historian, and was always under the impression that the first telescoping boom platform was manufactured by the Truco division of Eaton Manufacturing, Inc. and mounted on a "C" Model Mack chassis for FDNY in 1964. The Truco name was later dropped in favor of Eaton, and the idea was later purchased by Baker, and then of course Seagrave. I just did a quicky search for any references of Sutphen tower history, I could not find anything definitive, I did however find several references to the early 1970's.

Useless information: Something many Mack/Scope fans do not know; one, and only one 'scope was mounted ona "B" Model chassis. Very few pictures of this unit exist. I cannot recall who it was for however.

09-19-2012, 05:17 PM

LeadOff

Quote:

Originally Posted by FWDbuff

mmmm are you sure about this? I consider myself an amateur apparatus historian, and was always under the impression that the first telescoping boom platform was manufactured by the Truco division of Eaton Manufacturing, Inc. and mounted on a "C" Model Mack chassis for FDNY in 1964. The Truco name was later dropped in favor of Eaton, and the idea was later purchased by Baker, and then of course Seagrave. I just did a quicky search for any references of Sutphen tower history, I could not find anything definitive, I did however find several references to the early 1970's.

Larry Shapiro's book, "Aerial Fire Trucks", does note the start of the Aerialscope for the FDNY as you described above, it just doesn't mention the Truco Div. of Eaton and just states that the Aerialscope was initially built by the Eaton Metal Co. in Denver, CO. in 1964. However, back a few pages in the book, it does state that in 1959, Sutphen began to contemplate an elevated platform aerial and that the first prototype of this device (a 65 ft. 3-section, all aluminum, midship-mounted, telescopic elevated platform) was built in 1961 on a Ford C-950 Series chassis. The first unit toured the country as a demonstrator for several years before Sutphen sold it to the Norwalk OH fire dept.

09-19-2012, 05:41 PM

LeadOff

1 Attachment(s)

Quote:

Originally Posted by FWDbuff

Useless information: Something many Mack/Scope fans do not know; one, and only one 'scope was mounted ona "B" Model chassis. Very few pictures of this unit exist. I cannot recall who it was for however.

I found this picture on another website of what is supposed to be the 1st prototype Aerialscope mounted on the "B" Model Mack chassis. Sweet!

09-26-2012, 07:42 PM

FIREMECH1

Haven't seen anything official on the cable issue. So I'm just curious, if the cable broke, or was it still in one piece when the fly section collapsed.

Rhut Roh Scooby, where's the info you said you'd share? Seems to me your more tied to Sutphen than just a user? Care to share? I'm not happy to see any builders apparatus have issues, but it is pretty good to understand what types of things go wrong and how one differs from another.

SUMMARY:
Sutphen Corporation (Sutphen) is recalling certain model year 2003-2012 SPH 100, model year 2000-2004 SP 110, model year 2003-2011 SPI 112 and model year 2003-2011 SAI 110 fire apparatus. In the affected vehicles, the bearings used for the extension of the ladder may seize causing the extension cables passing over them to chafe and fail.
CONSEQUENCE:
Failure of the extend/retract system can cause the aerial to unexpectedly retract. This movement could result in injuries to personnel on or around the vehicle.
REMEDY:
Sutphen has notified owners, and inspected all of the affected vehicles, repairing them as necessary, free of charge. The recall was completed on May 17, 2013. Owners may contact Sutphen at 1-614-889-1005.
NOTES:
Owners may also contact the National Highway Traffic Safety Administration Vehicle Safety Hotline at 1-888-327-4236 (TTY 1-800-424-9153), or go to www.safercar.gov.

12-11-2013, 07:49 PM

SCOOBY14B

Quote:

Originally Posted by RFDACM02

Rhut Roh Scooby, where's the info you said you'd share? Seems to me your more tied to Sutphen than just a user? Care to share? I'm not happy to see any builders apparatus have issues, but it is pretty good to understand what types of things go wrong and how one differs from another.

I wish I could. Unfortunately...there is still litigation ongoing. Like I said before though, every manufacturer has required maintenance/lubrication...and that MUST be done.

12-15-2013, 06:13 AM

Box2565

Quote:

Originally Posted by FWDbuff

mmmm are you sure about this? I consider myself an amateur apparatus historian, and was always under the impression that the first telescoping boom platform was manufactured by the Truco division of Eaton Manufacturing, Inc. and mounted on a "C" Model Mack chassis for FDNY in 1964. The Truco name was later dropped in favor of Eaton, and the idea was later purchased by Baker, and then of course Seagrave. I just did a quicky search for any references of Sutphen tower history, I could not find anything definitive, I did however find several references to the early 1970's.

Useless information: Something many Mack/Scope fans do not know; one, and only one 'scope was mounted ona "B" Model chassis. Very few pictures of this unit exist. I cannot recall who it was for however.


Q:

Organize separate child Models under one namespace

I'm building an app that will allow users to create custom sites using configurable widgets (essentially just child objects of a site). Currently each widget is its own separate model so I have to access them individually through a user's site object such as @site.headers and @site.galleries.
What I would like to do is set up a way to reference these individual child objects under one namespace, Widget, so that I can just use @site.widgets to return a hash of all my individual child objects that belong to a site.
I've looked into something like this below, but I don't think :class_name accepts an array.
has_many :widgets, :foreign_key => 'site_id', :class_name => ['Header', 'Gallery']

A:

It's impossible to define this as an association. instead, you can define your own method:
def widgets
  headers + galleries
end

but remember that the result of this method will be simple Array, not an ActiveRecord::Relation - so you won't be able to call AR scope methods on this.


Open Sum Types in Haskell with world-peace

2019-07-11

I recently released the Haskell library world-peace-1.0.0.0 . This library provides open sum types.

world-peace is not as fast as some other libraries providing open sum types, but it does have much better documentation than other libraries.

In this article I answer the following questions:

What are open sum types?

When would you want to use open sum types?

When would you want to use world-peace instead of other libraries?

What are open sum types?

Open sum types are used to represent "extensible" sum types. The opposite is a "closed" sum type. An example of a "closed" sum type in Haskell is Either .

Imagine we have a readFile function, which tries to read a file and return the contents:

readFile :: FilePath -> IO ( Either FileReadErr String )

The FileReadErr might be a sum type that has multiple data constructors:

data FileReadErr = FileReadErrDoesNotExist | FileReadErrPermissions

readFile returns FileReadErrDoesNotExist when the file doesn't exist, and FileReadErrPermissions when the file exists but the permissions are too strict for it to be read.

We could write something similar using open sum types to represent the different cases of FileReadErr . This uses the OpenUnion type:

readFileOpenUnion :: FilePath -> IO ( Either ( OpenUnion '[ FileDoesNotExist , PermissionsErr ]) String ) '[]) data FileDoesNotExist = FileDoesNotExist data PermissionsErr = PermissionsErr

Since the type signature for readFileOpenUnions is longer than readFile , this looks significantly more complicated. Using type-level lists also make this more difficult. However, using open sum types gives us more flexibility in some situations.

When would you want to use open sum types?

Open sum types track the cases in the type system:

data FileDoesNotExist = FileDoesNotExist data PermissionsErr = PermissionsErr readFileResult :: OpenUnion '[ FileDoesNotExist , PermissionsErr ] '[

Here, readFileResult can either be a value of FileDoesNotExist or PermissionsErr . This is exactly the same as the following:

readFileResult :: Either FileDoesNotExist PermissionsErr

However, open sum types are more flexible because it is easy to add cases:

data ErrorReadingFile = ErrorReadingFile readFileResult' :: OpenUnion '[ FileDoesNotExist , PermissionsErr , ErrorReadingFile ] '[

If we wanted to represent this with an Either , it would start to look pretty messy:

readFileResult :: Either FileDoesNotExist ( Either PermissionsErr ErrorReadingFile )

At this point, most people would create a new datatype for holding these three cases:

data AllFileReadErrs = AFRErrsNotExist FileDoesNotExist | AFRErrsPerms PermissionsErr | AFRErrsReadErr ErrorReadingFile

This works really well in many situations. It is simple.

However, it is not flexible. If you wanted to add another error type, you'd need to add another constructor. If you wanted to handle just one of the error types (and keep the others), you'd need a new data type holding the remaining errors.

Open sum types make it easy to handle just one case:

handlePermsErr :: OpenUnion '[ FileDoesNotExist , PermissionsErr , ErrorReadingFile ] '[ -> IO ( OpenUnion '[ FileDoesNotExist , ErrorReadingFile ]) '[]) = handlePermsErr errors case openUnionRemove errors of openUnionRemove errors Right ( permsErr :: PermissionsErr ) -> error "got a permissions error!" Left newErrors -> pure newErrors newErrorsnewErrors

This uses openUnionRemove to peel off just the PermissionsErr , resulting in an OpenUnion with just two cases: OpenUnion '[FileDoesNotExist, ErrorReadingFile] .

It is also possible to make this function polymorphic. The body of the function is the same as for handlePermsErr , but the type is a little more general.

handlePermsErrPolymorphic :: ElemRemove PermissionsErr es es => OpenUnion es es -> IO ( OpenUnion ( Remove PermissionsErr es)) es)) = ... handlePermsErrPolymorphic errors

handlePermsErrPolymorphic takes any OpenUnion that contains a PermissionsErr . It returns an OpenUnion with all the original cases, but without the PermissionsErr . This is quite convenient.

It is also easy to add a new error type.

Open sum types are nice to use when you want flexibility in constructing and handling multiple error types.

Other functionality for OpenUnion can be found in the haddocks.

When to use world-peace vs. other libraries

There are many other libraries in the Haskell ecosystem that provide open sum types. Here are just a few:

extensible

freer

vinyl

fastsum

open-union

union (this is the library that world-peace is based on)

The big advantage over these libraries is that world-peace has really good documentation. It should be easy to figure out how to use. There are many, many examples in the haddocks.

The main disadvantage of world-peace is that is it not as fast as libraries like extensible or fastsum because of the way it represents open sum types internally .

If you're thinking of using open sum types, I'd recommend the following:

If you're a beginner, I recommend you stick to normal ("closed") sum types like Either .

If you're an intermediate Haskeller and want to play around with open sum types, I recommend world-peace because of its documentation.

If you're looking to use open sum types in an actual application, I recommend starting with world-peace because of its documentation. If you find that performance is a problem, I recommend switching to a faster library like extensible or fastsum . These libraries should be much easier to use if you are already familiar with world-peace.

Real-world uses of world-peace

world-peace is used extensively in the library servant-checked-exceptions .

servant-checked-exceptions uses open sum types to represent errors returned by Servant APIs. Using open sum types makes it easy to specify which APIs return which errors.

Other terms and other programming languages

There are many different terms used to describe "open sum types". Here are just a few:

open unions

extensible sum types

polymorphic variants

If you want to read more about open sum types, I recommend you google some of these terms.

Open sum types are also available natively in other programming languages. For example, in OCaml, they are called polymorphic variants (search in this page for the term "polymorphic").

PureScript has extensible row types. These make it natural to define open sum types (called "polymorphic variants" here too).

Why the name "world-peace"?

All the other good package names were taken :-)

Conclusion

Writing extensive documentation is quite time-consuming. However, I think it is a big help for people using libraries that make use of Haskell's advanced type-level functionality.

Having examples for each function makes the library much easier to understand and use. I hope more Haskell libraries adopt this approach.

Postscript

I posted this on Reddit. There are a couple good comments you may want to check out.

/u/hsyl20 posted about a package supporting open sum types they are working on called haskus-utils-variant. It has quite a lot of documentation, including a completely separate tutorial!

tags: haskell


Bali Bird Park

Bali Rich Luxury Villa & Spa Ubud

Bali Rich Luxury Villa & Spa Ubud is reminiscent of a traditional Balinese village where life is lived just one day at a time. The property embraces a green parcel of landscape overlooking the Wos River on the rural outskirts of Ubud. It is an area charged with spiritual energy where the legacy of local art and culture is carefully preserved.

Guests are welcomed with a signature brand of hospitality and personalized services that enhance the quality of each and every stay. Bali Rich Luxury Villa & Spa Ubud is removed from the busy pace of modern living. It is a place to take time out to relax and rediscover the simple pleasures revealed by each by each new day.


The alpha2-delta protein: an auxiliary subunit of voltage-dependent calcium channels as a recognized drug target.
Currently, there are two drugs on the market, gabapentin (Neurontin) and pregabalin (Lyrica), that are proposed to exert their therapeutic effect through binding to the alpha2-delta subunit of voltage-sensitive calcium channels. This activity was unexpected, as the alpha2-delta subunit had previously been considered not to be a pharmacological target. In this review, the role of the alpha2-delta subunits is discussed and the mechanism of action of the alpha2-delta ligands in vitro and in vivo is summarized. Finally, new insights into the mechanism of drugs that bind to this protein are discussed.