text stringlengths 8 5.77M |
|---|
Q:
count patterns in a csv file from another csv file in bash
I have two csv files
File A
ID
1
2
3
File B
ID
1
1
1
1
3
2
3
What I want to do is to count how many times that a ID in File A show up in File B, and save the result in a new file C (which is in csv format). For example, 1 in File A shows up 4 times in File B. So in the new file C, I should have something like
File C
ID,Count
1,4
2,1
3,2
Originally I was thinking use "grep -f", but it seems like it only works with .txt format. Unfortunately, File A and B are both in csv format. So now, I am thinking maybe I could use a for loop to get the ID from File A individually and use grep -c to count each one of them. Any idea will be helpful.
Thanks in advance!
A:
You can use this awk command:
awk -v OFS=, 'FNR==1{next} FNR==NR{a[$1]; next} $1 in a{freq[$1]++}
END{print "ID", "Count"; for (i in freq) print i, freq[i]}' fileA fileB
ID,Count
1,4
2,1
3,2
|
Greece official calls for rejection of bailout deal via referendum
Greece official calls for rejection of bailout deal via referendum
Greece’s development minister is calling on the financially beleaguered nation to reject a bailout deal in a July 5 national referendum, the Associated Press reported Friday. Panayiotis Lafazanis predicted Greeks will answer “with a resounding no” in the planned vote.
Lafazanis spoke after an emergency cabinet meeting during which Prime Minister Alexis Tsipras announced his intention to call the referendum. Several media reports in Greece also reported on plans for national referendum, which would come days after the deadline for reaching a decision to resolve the country’s debt crisis.
The reported timing of the vote raises more questions than answers. European leaders had given Greece, and themselves, a Saturday deadline to reach a deal with Athens over loan repayments. After a week of intense negotiations, the two sides have failed to come up with a mutually acceptable plan that would allow Greece to pay the International Monetary Fund debts worth $1.8 billion by June 30. |
It was perhaps not the best moment to be asking Reeves the question that brought me here: What would it take to get him to grow more? To till more land, buy more seed, run more irrigation lines, fight more pests, apply more fertilizer, endure more inspections, fix more old tractors, fill out more paperwork, miss more summer-leisure fun and generally wear himself further down in order to grow more produce so people could eat better.
The paradox of this last point was not lost on him. His own meals, especially during the summer months, were a wreck: coffee for breakfast, Mountain Dew for lunch, baked beans for dinner eaten straight from the can to save time for sleep — though he does get to snack on his crops. But Reeves is in many ways perfectly qualified to ponder the problems of increased production. The farm that he runs with his three brothers and one of their sons is an example of the kind of nonindustrial farm that’s necessary in a revamped vision of American food production and consumption. Last year, Reeves turned out 420,000 pounds of tomatoes, 65,000 pounds of strawberries and 2.4 million ears of sweet corn. And while they have a nice little farm stand just outside the small town of Baldwinsville, with a quaint patch of pick-your-own organic blueberries behind the sales shed, they mostly sell their crops to big grocers, including Tops, Price Chopper, Wegmans and, biggest of all, Walmart.
Reeves is particularly proud of being Walmart’s first farm supplier in the area, even if that adds significantly to his workload, from filling huge orders to enduring their painstaking food-safety audits. Only a fraction of his output is organic, but more would qualify with minor adjustments in his already-cautious use of pesticides and fertilizers. “I’m a personnel manager, bookkeeper, salesperson, computer guy, logistician and food-safety expert,” he said. “I didn’t sign up for that. I signed up for the sunshine, to grow crops and get my hands dirty. And that’s why I’m not as happy as I used to be. But I want this farm to be successful.”
What’s most telling about Reeves’s farm, though, when it comes to the question of produce supply and price structures, is that more than half of the land he owns, about 800 acres, is rented to farmers who grow soybeans and field corn, the type that’s used to make animal feed or corn syrup for soda and cookies or is turned into ethanol. The abundance of corn on Reeves’s land reflects its dominance nationwide. Ninety-seven million acres are planted with corn that goes toward syrup, cattle feed and ethanol, compared with the 240,000 acres planted for spinach, broccoli and cabbage.
Reeves said he could convert his corn land into produce if some basics were covered. He’d need more labor, already harder to secure, or even better, some of the expensive mechanization employed regularly for field corn: machines that could harvest broccoli, for instance, without damaging the heads. He’d also need more irrigation lines, because leafy vegetables can’t rely just on rainfall the way field corn can. But corn has become so dominant in American agriculture that it has spawned its own separate industry, with a host of incentives that sometimes tempt him to give up produce altogether. Field-corn farmers get turnkey service from agribusiness companies, including one-stop financing, supplies and technical aid. They spend about six weeks planting and six weeks harvesting, with much of the summer freed up to do other farm work. And when they do work the crop, they typically ride in tractors and combines, many with air-conditioning and stereos. “You can never overstate the desire of farmers to sit on their butts,” Reeves said. “We’re human, too.”
There are also huge financial supports for corn. A spokesman for the National Corn Growers Association told me that they conservatively estimate that two of the largest seed producers, Monsanto and DuPont Pioneer, together spend $2 billion a year on research and development for corn. This is the lab and genetics work that has driven yields upward by 1 percent each year. (Monsanto does spend some money on vegetable research — $181 million for 22 separate crops.) Government spending mirrors the private sector. Greens and leafy vegetables, for example, together get only $13 million from the government in research funding; corn receives $121 million.
Vast opportunities to increase production — and therefore lower the price — of produce are being lost. A few years ago, Reeves experimented with planting broccoli, most of which is still grown in California. Expanding produce production in the rest of the country would not only boost supplies but would also give consumers access to fresher, local fare. But he lost his entire crop when the heads suddenly bolted, bursting the green florets into yellowish petals. This is the kind of problem that could be addressed if there were more research money available to develop different strains; at the moment, the only money available for that is a tiny $3.2 million grant from the Department of Agriculture. |
Weeds alum Hunter Parrish has booked a major recurring role in ABC drama series Quantico.
Parrish will play a political strategist forced to join forces with the CIA and FBI during the aftermath of the G20 hostage crisis.
“It’s been a total delight having Hunter in the show, as he’s an actor I’ve wanted to work with for quite some time,” said Quantico executive producer Joshua Safran. “The role was written specifically for him, and I believe the audience will very much enjoy his character once they see how he fits into the story.”
Parrish will next be seen in Gavin Wiesen’s indie feature The Runaround, opposite Analeigh Tipton and Taran Killam. In addition to his eight-season run on Showtime’s Weeds, Parrish’s previous TV credits include Good Girls Revolt, The Good Wife, Hand of God and The Following. He’s repped by UTA, Management 360 and Schreck Rose Dapello & Adams.
Quantico returns to ABC’s schedule on its new night, Monday, January 23 at 10 PM. |
930 F.2d 919
Unpublished DispositionNOTICE: Sixth Circuit Rule 24(c) states that citation of unpublished dispositions is disfavored except for establishing res judicata, estoppel, or the law of the case and requires service of copies of cited unpublished dispositions of the Sixth Circuit.David MALLORY, Plaintiff-Appellant,v.David BAKER, Vance York, Ed Murphy, Defendants-Appellees.
No. 89-4122.
United States Court of Appeals, Sixth Circuit.
April 12, 1991.
Before MERRITT, Chief Judge, and BOYCE F. MARTIN, Jr. and ALAN E. NORRIS, Circuit Judges.
MERRITT, Chief Judge.
1
David Mallory is a pro se Ohio prisoner who appeals the dismissal of a civil rights case that he had filed under 42 U.S.C. Sec. 1983 (1982). His case has been referred to a panel of the court pursuant to Rule 9(a), Rules of the Sixth Circuit. Upon examination of the record and briefs, this panel unanimously agrees that oral argument is not needed in this case. Fed.R.App.P. 34(a).
2
Mallory was convicted of a prison rule infraction involving marijuana use while incarcerated at the Orient Correctional Institution, resulting in solitary confinement and loss of good time credits. The prison warden, a corrections officer and a laboratory technician are named defendants. In his complaint, Mallory sought injunctive relief from these defendants alleging that they had denied him procedural due process of law because they did not maintain a proper chain-of-custody for the urine sample that was used to support his conviction and because he was not allowed to call or confront the lab technician, who had tested the sample, as a witness at his hearing. Because of the denial of procedural due process, Mallory requested that his security status be restored to what it was before his solitary confinement, and that all good time credits lost because of the event also be restored. In his response to the defendants' motion to dismiss, Mallory also alleged that the rule infraction board violated his "due process rights by not submitting to him a written statements [sic] as to the evidence relied on and reasons for the disciplinary action." On November 9, 1989, the district court entered a judgment that granted the defendants' motion to dismiss. It is from this judgment that Mallory now appeals.
3
Upon review, we conclude that the district court properly dismissed Mallory's case but for a reason different than that given by the district court. "[W]hen a state prisoner is challenging the ... duration of his physical imprisonment, and the relief he seeks is a determination that he is entitled to ... a speedier release from that imprisonment, his sole federal remedy is a writ of habeas corpus." Preiser v. Rodriguez, 411 U.S. 475, 500 (1973). Like plaintiffs in Preiser, Mallory alleges that prison officials deprived him of good time credits without due process of law and seeks equitable relief--the restoration of credits--instead of monetary damages. Even though Mallory's procedural due process claim seems to fit within the broad language of Sec. 1983, "Congress has determined that habeas corpus is the appropriate remedy for state prisoners attacking the ... length of their confinement, and that specific determination must override the general terms of Sec. 1983." Id. at 490. Accordingly, we will treat Mallory's complaint as a habeas petition seeking to reduce the term of his incarceration through the restoration of good time credits.
4
Under 28 U.S.C. Sec. 2254(b) (1988), a federal court cannot grant an application for a writ of habeas corpus for a state prisoner "unless it appears that the applicant has exhausted the remedies available in the courts of the State, or that there is either an absence of available State corrective process or the existence of circumstances rendering such process ineffective to protect the rights of the prisoner." Under Ohio law, a prisoner adversely affected by a decision of a prison rule infraction board can appeal that decision to the managing office of the prisoner, Ohio Admin.Code Sec. 5120-9-09(K) (1989), and thereafter to the director of the Department of Rehabilitation and Corrections, Ohio Admin.Code Sec. 5120-9-09(M). Furthermore, after exhausting his appeals within the prison system, a prisoner can file a petition for writ of habeas corpus in state court challenging the punitive detention and resulting loss of good time credits. In re Lamb, 296 N.E.2d 280 (Ohio Ct.App.1973). It is undisputed that Mallory did not exhaust these state remedies available to him, and his action must be dismissed for this reason.
5
Even were we to treat his action as a Sec. 1983 action instead of a habeas action as required by Preiser, his procedural due process case must fail because for such an action to lie Mallory must "attack the state's corrective procedure" and show that state remedies are inadequate to redress the alleged procedural due process violation. Vicory v. Walton, 721 F.2d 1062, 1066 (6th Cir.1983), cert. denied, 469 U.S. 834 (1984). We find that Mallory has failed to make such an attack on Ohio's corrective procedure. Furthermore, based upon our initial review of Ohio law, we cannot say that the state's remedies are inadequate to redress the wrong Mallory alleges.
6
Because he did not exhaust state remedies or demonstrate that they are inadequate to address his alleged constitutional injuries, Mallory's request for counsel is denied and the district court's dismissal of his complaint is AFFIRMED.
|
Police need protection
I had always been adamantly anti-death penalty until Freemansburg police Officer Robert Lasso's brutal murder. If convicted, the man responsible deserves the death penalty. Without a doubt.
A Morning Call article regarding the public memorial service began with a disturbing truth — a Freemansburg officer's point: "The respect police officers receive in death is out of all proportion to the respect they receive in life." Exactly.
I did not know Officer Lasso or his family (my heart goes out to them). I am a concerned citizen. My concern is the increasingly imperiled liberties of law enforcement. Our officers are verbally and physically abused. Each time they leave for work there is a possibility they won't return. Ask Jennifer Lasso.
Amid danger and constant scrutiny, the police are becoming deprived of their right to freedom of speech (by those who abuse the perimeters), forced toward outward stoicism and forced to choose their words carefully. Maybe it is to impede dangerous escalation. Maybe because we are living in an age of out-of-control, over-the-top frivolous lawsuits. Police are being subtly and wrongfully silenced. And when someone's rightful voice is silenced, we are deprived of hearing, of learning.
Since law enforcement serves and protects, isn't it time to get a handle on ways we can protect them as well? |
---
author:
- Daniel Massart
title: 'Two remarks about Mañé’s conjecture'
---
Introduction
============
In this note we consider an autonomous Tonelli Lagrangian $L$ on a closed manifold $M$, that is, a $C^2$ function $L {\colon\thinspace}TM \longrightarrow {{\mathbb R}}$ such that $L$ is fiberwise strictly convex and superlinear. Then the Euler-Lagrange equation associated with $L$ defines a complete flow $\phi_t$ on $TM$. Define $\mathcal{M}_{inv}$ to be the set of $\Phi_t$-invariant, compactly supported, Borel probability measures on $TM$. Mather showed that the function (called action of the Lagrangian on measures) $$\begin{array}{rcl}
\mathcal{M}_{inv} & \longrightarrow & {{\mathbb R}}\\
\mu & \longmapsto & \int_{TM} L d\mu
\end{array}$$ is well defined and has a minimum. A measure achieving this minimum is called $L$-minimizing. The union, in $TM$, of the support of all minimizing measures is called Mather set of $L$, and denoted $\mathcal{M}(L)$. It is compact and $\phi_t$-invariant. See [@Mather91] and [@Fathi_bouquin] for more background.
Observe that if $f$ is a $C^2$ function on $M$, $L+f$ is also a Tonelli Lagrangian. Adding a function to a Lagrangian is called perturbing the Lagrangian by a potential. Following Mañé we say a property holds for a generic Lagrangian if, given any Lagrangian, the property holds for a generic perturbation by a potential. Mañé conjectured a generic description of the minimizing measures :
\[[@Mane97]\] \[forte\] Let
- $M$ be a closed manifold
- $L$ be an autonomous Tonelli Lagrangian on $TM$
- $\mathcal{O}_1(L)$ be the set of $f$ in $C^{\infty}(M)$ such that the Mather set of $L+f$ consists of one periodic orbit.
Then the set $\mathcal{O}_1(L)$ is residual in $C^{\infty}(M)$.
In other words, for a generic Lagrangian, there exits a unique minimizing measure, and it is supported by a periodic orbit. A similar conjecture can be made replacing $C^{\infty}(M)$ by $C^{k}(M)$ for any $k \geq 2$.
Many more interesting invariant sets can be obtained by minimization than just the Mather set. If $\omega$ is a closed one-form on $M$, then $L-\omega$ is a Tonelli Lagrangian, and it has the same Euler-Lagrange flow as $L$. Its Mather set, however, is different in general. The Mather set of $L-\omega$ only depends on the cohomology class $c$ of $\omega$, we denote it $\mathcal{M}(L,c)$. It is often interesting to obtain information simultaneously on the Mather sets $\mathcal{M}(L,c)$ for a large set of cohomology classes. Thus Mañé proposed the
\[faible\] If $L$ is a Tonelli Lagrangian on a manifold $M$, there exists a residual subset $\mathcal{O}_2(L)$ of $C^{\infty}(M)$, such that for any $f$ in $\mathcal{O}_2(L)$, there exists an open and dense subset $U(L,f)$ of $H^1 (M,{{\mathbb R}})$ such that, for any $c$ in $U(L,f)$, the Mather set of $(L,c)$ consists of one periodic orbit.
Intuitively Conjecture \[faible\] is weaker than Conjecture \[forte\] because we allow a larger set of perturbations (potentials and closed one-forms instead of just potentials). However the requirement of an open dense set in Conjecture \[faible\] makes it far from obvious. In section \[section2\] we prove that Conjecture \[forte\] contains Conjecture \[faible\], using recent tools from Fathi’s weak KAM theory, the most prominent of which is the Aubry set $\mathcal{A}(L)$. All we need to know about the Aubry set is that
- it consists of the Mather set, and (possibly) orbits homoclinic to the Mather set (see [@Fathi_bouquin])
- when there is only one minimizing measure, the Aubry set is upper semi-continuous as a function of the Lagrangian, that is, for any neighborhood $V$ of $\mathcal{A}(L)$ in $TM$, there exists a neighborhood $\mathcal{U}$ of $L$ in the $C^2$ compact-open topology, such that for any $L_1$ in $\mathcal{U}$, we have $\mathcal{A}(L_1)\subset V$ (see [@Bernard_Conley]).
We first prove that Conjecture \[forte\] is equivalent to the apparently stronger
\[forte\_Aubry\] Let
- $M$ be a closed manifold
- $L$ be an autonomous Tonelli Lagrangian on $TM$
- $\mathcal{O}_3(L)$ be the set of $f$ in $C^{\infty}(M)$ such that the Aubry set of $L+f$ consists of one, hyperbolic periodic orbit.
Then the set $\mathcal{O}_3(L)$ is residual in $C^{\infty}(M)$.
Then we prove that Conjecture \[forte\_Aubry\] contains the following, which obviously contains Conjecture \[faible\] :
\[faible\_Aubry\] If $L$ is a Tonelli Lagrangian on a manifold $M$, there exists a residual subset $\mathcal{O}_4(L)$ of $C^{\infty}(M)$, such that for any $f$ in $\mathcal{O}_2(L)$, there exists an open and dense subset $U(L,f)$ of $H^1 (M,{{\mathbb R}})$ such that, for any $c$ in $U(L,f)$, the Aubry set of $(L+f,c)$ consists of one, hyperbolic periodic orbit.
Conjecture \[faible\_Aubry\] is proved, in the case where the dimension of $M$ is two, in [@lowdim] (after a sketch of a proof appeared in [@ijm]). The analogous statement for Lagrangians which depend periodically on time is proved, in the case where the dimension of $M$ is one, in [@Osvaldo].
Conjecture \[forte\] may be seen as an Aubry-Mather version of the Closing Lemma. This suggests that it should be true in the $C^2$ topology on Lagrangians and false in the $C^k$ topology for $k > 2$. If we want to prove the $C^k$ version of Conjecture \[forte\], and we are lucky enough to have a sequence of periodic orbits $\gamma_n$ which approximate our Mather set, then the first idea that comes to mind is to perturb $L$ by a non-negative potential $f_n$ which vanishes only on $\gamma_n$. Then $\gamma_n$ is still an orbit of $L+f_n$. If we can find $f_n$ big enough for $\gamma_n$ to be $L+f_n$-minimizing, but small enough for the $C^k$-norm of $f_n$ to converge to zero, then we are done. In Section \[section3\] we prove that this naive approach doesn’t work in the $C^k$-topology, for $k \geq 4$. Specifically, we give an example of a Lagrangian $L$ on the two-torus, such that for any periodic orbit $\gamma$ of $L$, and any $C^4$ function $f$ on the two-torus, if $\gamma$ is $L+f$-minimizing, then the $C^4$ norm of $f$ is bounded below by a constant which only depends on $L$.
**Acknowledgements** This work was partially supported by the ANR project ”Hamilton-Jacobi et théorie KAM faible”.
{#section2}
\[lemme1\] Let
- $M$ be a closed manifold
- $L$ be an autonomous Tonelli Lagrangian on $TM$
- $\mathcal{O}_3(L)$ be the set of $f$ in $C^{\infty}(M)$ such that the Aubry set of $L+f$ consists of one, hyperbolic periodic orbit
- $\mathcal{O}_1(L)$ be the set of $f$ in $C^{\infty}(M)$ such that the Mather set of $L+f$ consists of one periodic orbit.
Then $\mathcal{O}_3(L)$ is open and dense in $\mathcal{O}_1(L)$.
We first prove that $\mathcal{O}_3(L)$ is open in $\mathcal{O}_1(L)$. Take $f \in \mathcal{O}_3(L)$. Replacing $L$ with $L+f$, we may assume $f=0$. Let $\gamma$ be the hyperbolic periodic orbit which comprises $\mathcal{A}(L+f)$. By a classical property of hyperbolic periodic orbits, there exists a neighborhood $\mathcal{U}_1$ of the zero function in $C^{\infty}(M)$, and a neighborhood $V$ of $\gamma$ in $TM$ such that for any $f \in \mathcal{U}_1$, for any energy level $E$ of $L$, the only invariant set of the Euler-Lagrange flow of $L$ contained in $E \cap V$, if any, is a hyperbolic periodic orbit homotopic to $\gamma$.
Since $\mathcal{A}(L)$ is a periodic orbit, the quotient Aubry set $A$ has but one element. Thus by [@Bernard_Conley], there exists a neighborhood $\mathcal{U}_2$ of the zero function in $C^{\infty}(M)$, such that for all $f$ in $\mathcal{U}_2$, we have $\mathcal{A}(L+f)\subset V$. Therefore, for any $ f \in \mathcal{U}_1 \cap \mathcal{U}_2$, the Aubry set $\mathcal{A}(L+f)$ consists of one, hyperbolic periodic orbit.
Now let us prove that $\mathcal{O}_3(L)$ is dense in $\mathcal{O}_1(L)$.
Take $f \in \mathcal{O}_1(L)$. Replacing $L$ with $L+f$, we may assume $f=0$. Let $\gamma$ be the periodic orbit which comprises $\mathcal{M}(L)$. Now let us take a smooth function $g$ on $M$ such that $g$ vanishes on the projection to $M$ of $\gamma$ (which we again denote $\gamma$ for simplicity), and $\forall x \in M,\ g(x) \geq d(x,\gamma)^2$, where the distance is meant with respect to some Riemannian metric on $M$. Let $\lambda$ be any positive number. We will show that $\lambda g \in \mathcal{O}(h)$, which proves that $\mathcal{O}(h)$ is dense in $\mathcal{O}_1(L)$. Observe that $\gamma$ is a minimizing hyperbolic periodic orbit of the Euler-Lagrange flow of $L+\lambda g$ (see [@CI99]). Furthermore , $\alpha_{L+\lambda g}(0) =\alpha_L(0)$, where $\alpha_L(0)$ is Mañé’s critical value for the Lagrangian $L$.
Adding a constant to $L$ if necessary, we assume $\alpha_L(0)=0$. Recall that the Aubry set is the union of the Mather set and orbits homoclinic to the Mather set. Therefore, to prove that $\lambda g \in \mathcal{O}_0 (h)$, it suffices to prove that the Aubry set $\mathcal{A}\left(L+\lambda g \right)$ does not contain any orbit homoclinic to $\gamma$.
Assume $\delta {\colon\thinspace}{{\mathbb R}}\longrightarrow M$ is an extremal of $L+\lambda g$, homoclinic to $\gamma$. Since $g(\delta(t)) >0$ for all $t$, there exists $C>0$ such that $$\int^{+\infty}_{-\infty} g(\delta (t))dt \geq 2C.$$ Let $u$ be a weak KAM solution for $L$. We have, for any $s,t \in {{\mathbb R}}$, remembering that $\alpha_L(0)=0$, $$\int^{t}_{s} L(\delta (t),\dot{\delta}(t))dt \geq u\left(\delta(t)\right)-u\left(\delta(s)\right).$$ Since is homoclinic to $\gamma$ there exist two sequences $t_n$ and $s_n$ that converge to $+\infty$, such that $\delta(t_n)$ and $\delta (-s_n)$ converge to the same point $x$ on $\gamma$, so for $n$ large enough $$\int^{t_n}_{-s_n} L(\delta (t),\dot{\delta}(t))dt \geq -C.$$ Therefore, for $n$ large enough, $$\int^{t_n}_{-s_n} \left(L+\lambda g \right)(\delta (t),\dot{\delta}(t))dt > C.$$ On the other hand, since $\alpha_{L+\lambda g}(0) =0$, if $\delta$ were contained in the projected Aubry set of $L +\lambda g $, we would have, denoting $u_{\lambda}$ a weak KAM solution for $L +\lambda g $, $$\int^{t_n}_{-s_n} \left(L+\lambda g \right)(\delta (t),\dot{\delta}(t))dt = u_{\lambda}\left(\delta(t)\right)-u_{\lambda}\left(\delta(s)\right)$$ which converges to zero because $\delta(t_n)$ and $\delta (-s_n)$ converge to the same point $x$ on $\gamma$. Therefore the Aubry set of $L +\lambda g $ consists of $\gamma$ alone, which proves that $\lambda g \in \mathcal{O}_3(L)$, and the Lemma.
Therefore $\mathcal{O}(L)$ is residual in $C^{\infty}(M)$ if and only if $\mathcal{O}_1(L)$ is. Therefore, Conjecture \[forte\] is equivalent to Conjecture \[forte\_Aubry\]. Now we show that Conjecture \[forte\_Aubry\] contains Conjecture \[faible\_Aubry\], which obviously contains Conjecture \[faible\].
Assume Conjecture \[forte\_Aubry\] is true. Let $L$ be an autonomous Tonelli Lagrangian on a manifold $M$. Let $c_i, i \in {{\mathbb N}}$ be a countable dense subset of $H^1 (M,{{\mathbb R}})$. Take, for every $i \in {{\mathbb N}}$, a closed one-form $\omega_i$ with cohomology $c_i$. Since Conjecture \[forte\_Aubry\] is true for every Lagrangian $L-\omega_i$, for every $i \in {{\mathbb N}}$, there exists a residual subset $\mathcal{O}_i$ of $C^{\infty}(M)$ such that for every $f$ in $\mathcal{O}_i$, $\mathcal{A}(L+f,c_i)$ consists of one hyperbolic periodic orbit. Then the intersection, over $i \in {{\mathbb N}}$, of $\mathcal{O}_i$ is a residual subset $\mathcal{O}$ of $C^{\infty}(M)$. For every $f$ in $\mathcal{O}$, for every $i \in {{\mathbb N}}$, $\mathcal{A}(L+f,c_i)$ consists of one hyperbolic periodic orbit $\gamma_i$. As in the proof of Lemma \[lemme1\], there exists a neighborhood $V_i$ of $c_i$ in $H^1(M,{{\mathbb R}})$, such that for any $c$ in $V_i$, the Aubry set $\mathcal{A}(L+f,c)$ consists of one hyperbolic periodic orbit homotopic to $\gamma_i$. The union, over $i \in {{\mathbb N}}$, of the $V_i$, is an open and dense subset $V$ of $H^1(M,{{\mathbb R}})$, and for any $c$ in $V$, $\mathcal{A}(L+f,c)$ consists of one hyperbolic periodic orbit, so Conjecture \[faible\_Aubry\] is true.
An example {#section3}
==========
Let
- $r$ be a quadratic irrational number, for instance $\sqrt{2}$
- $p_0$ and $q_0$ be real numbers such that $p^{2}_{0}+q^{2}_{0}=1$ and $p_0 / q_0 = r$
- ${{\mathbb T}}^2$ be ${{\mathbb R}}^2 / {{\mathbb Z}}^2$, endowed with canonical coordinates $(x,y)$
- $L$ be the Lagrangian on $T{{\mathbb T}}^2$ defined by $$L(x,y,u,v) := \frac{u^2 + v^2}{2}- \left(p_0 u + q_0 v\right)$$ where $(u,v)$ are the tangent coordinates to $(x,y)$.
Assume that for some function $f$ on ${{\mathbb T}}^2$, $L+f$ has a minimizing periodic orbit $\gamma$, and furthermore, $\gamma$ is an orbit of $L$, that is, it has the form $t \longmapsto (pt,qt)$ for some real numbers $p$ and $q$. Then, if $T$ is the smallest period of $\gamma$, $(pT,qT) \in {{\mathbb Z}}^2$ and $pT$, $qT$ are mutually prime. Consider the map $$\begin{array}{rcl}
F {\colon\thinspace}{{\mathbb R}}& \longrightarrow & {{\mathbb R}}\\
\lambda & \longmapsto & \frac{1}{T}\int^{T}_{0} f(pt, qt + \lambda) dt.
\end{array}$$ Observe that $F$ is $1$-periodic. We now prove that $F$ is $(pT){^{-1}}$-periodic. Indeed, take $r,s$ in ${{\mathbb Z}}$ such that $pTr-qTs=1$. Then for any $t$, $$\begin{aligned}
(pt, qt + \frac{1}{pT})& = & (pt, qt + r -\frac{qs}{p})\\
& = & \left(pt, q(t -\frac{s}{p}) \right) \ \mbox{mod}{{\mathbb Z}}^2 \\
&=& \left(p(t -\frac{s}{p})+s, q(t -\frac{s}{p}) \right) \ \mbox{mod}{{\mathbb Z}}^2 \\
&=& \left(p(t -\frac{s}{p}), q(t -\frac{s}{p}) \right) \ \mbox{mod}{{\mathbb Z}}^2 \\\end{aligned}$$ so $$\begin{aligned}
F\left(\lambda + \frac{1}{pT}\right)&=& \frac{1}{T}\int^{T}_{0} f(pt, qt + \frac{1}{pT}+ \lambda) dt \\
&=& \frac{1}{T}\int^{T}_{0} f(p(t -\frac{s}{p}), q(t -\frac{s}{p})+ \lambda) dt = F\left(\lambda \right)\end{aligned}$$ using the change of variable $t \mapsto t -s/p$ (and the fact that $F$ is $1$-periodic). Now we prove that $$\int^{1}_{0}F(\lambda) d\lambda = \int_{{{\mathbb T}}^2}f d\mbox{leb}$$ where $\mbox{leb}$ denotes the standard Lebesgue measure on ${{\mathbb T}}^2={{\mathbb R}}^2 / {{\mathbb Z}}^2$. Indeed, let $\nu$ be the measure on ${{\mathbb T}}^2$ defined by $$\int g (x,y) d\nu (x,y) := \int^{1}_{0} d\lambda \left\{ \frac{1}{T}\int^{T}_{0} g(pt,qt + \lambda) dt \right\}$$ for any continuous function $g$ on ${{\mathbb T}}^2$. We want to prove that $\nu $ is actually $\mbox{leb}$. First let us show that $\nu$ is invariant under translations. Let $(u,v)$ be any vector in ${{\mathbb R}}^2$. We have $$\begin{aligned}
\int g(x+u,y+v) d\nu (x,y) &=& \int^{1}_{0} d\lambda \left\{ \frac{1}{T}\int^{T}_{0} g(pt+u,qt + \lambda +v ) dt \right\} \\
&=& \int^{1}_{0} d\lambda \left\{ \frac{1}{T}\int^{T}_{0} g(p(t+\frac{u}{p}),q(t+\frac{u}{p}) + \lambda - \frac{uq}{p}) dt \right\} \\
&=& \int^{1}_{0} d\lambda \left\{ \frac{1}{T}\int^{T}_{0} g(pt,qt + \lambda - \frac{uq}{p}) dt \right\} \\
&=& \int^{1}_{0} d\lambda \left\{ \frac{1}{T}\int^{T}_{0} g(pt,qt ) dt \right\} = \int g (x,y) d\nu (x,y)\\\end{aligned}$$ where we have used, in succession, the changes of variables $t \mapsto t +u/p$ and $\lambda \mapsto \lambda - uq/p$. So $\nu$ is invariant under translations. Furthermore $\int 1 d\nu = 1$ so $\nu $ is actually $\mbox{leb}$.
Now let us use the fact that $\gamma$ is $L+f$-minimizing. Let $\mu$ be the probability measure equidistributed along $\gamma$. We have $$\begin{aligned}
\int \left(L+f\right) d\mu &=& \frac{1}{T}\int^{T}_{0} dt \left\{ \frac{p^2 + q^2}{2}- \left(p_0 p + q_0 q\right) +f(pt,qt) \right\} \\
&=& \frac{p^2 + q^2}{2}- \left(p_0 p + q_0 q\right) +F(0).\end{aligned}$$ Let $\mu_0$ be the measure on $T{{\mathbb T}}^2$ defined by $$\int g (x,y,u,v) d\mu_0 (x,y,u,v) := \int^{1}_{x=0}dx \; \int^{1}_{y=0} g(x,y,p_0,q_0) dy$$ for any continuous function $g$ on $T{{\mathbb T}}^2$. Observe that the measure $\mu_0$ is $L$-minimizing. In particular it is closed (see [@FS], Theorem 1.6). We have $$\int_{T{{\mathbb T}}^2} L d\mu_0 = -\frac{1}{2} \mbox{ and } \int_{T{{\mathbb T}}^2} f d\mu_0 = \int_{{{\mathbb T}}^2} f d\mbox{leb}= \int^{1}_{0}F(\lambda) d\lambda$$ where we have implicitely extended $f$ to a function on $T{{\mathbb T}}^2$ by setting $f(x,y,u,v):=f(x,y)$ for any $u$ and $v$. Since $\mu$ is $L+f$-minimizing, and $\mu_0$ is closed, we have (see [@FS], Theorem 1.6) $$\int_{T{{\mathbb T}}^2} (L+f) d\mu_0 \geq \int_{T{{\mathbb T}}^2} (L+f) d\mu$$ that is, $$\begin{aligned}
\int^{1}_{0}F(\lambda) d\lambda -F(0) & \geq & \int_{T{{\mathbb T}}^2} L d\mu -\int_{T{{\mathbb T}}^2} L d\mu_0 \\
&=& \frac{p^2 + q^2}{2}- \left(p_0 p + q_0 q\right) +\frac{1}{2} \\
&=& \frac{1}{2}(p-p_0)^2 + \frac{1}{2}(q-q_0)^2 .\end{aligned}$$ Now let us use the fact that $r=p_0 /q_0$ is quadratic, and $pT/qT = p/q$ is rational, so there exists a constant $C_0$ such that $$\left| \frac{p_0}{q_0}-\frac{p}{q}\right| \geq \frac{C_0}{(pT)^2}.$$ Hence, setting $C := C^{2}_{0}/2$, $$\frac{1}{2}(p-p_0)^2 + \frac{1}{2}(q-q_0)^2 \geq \frac{C}{(pT)^4}$$ whence $$\int^{1}_{0}F(\lambda) d\lambda -F(0) \geq \frac{C}{(pT)^4}.$$ Therefore, since $F$ is $(pT){^{-1}}$-periodic, there exists a $\lambda_0 \in \left[0, (pT){^{-1}}\right]$ such that $$F(\lambda_0) -F(0) \geq \frac{C}{(pT)^4}.$$ Hence there exists a $\lambda_1 \in \left[0, (pT){^{-1}}\right]$ such that $\left|F'(\lambda_1)\right| \geq C(pT)^{-3}$. On the other hand, since $F$ is $(pT){^{-1}}$-periodic, there exists a $\lambda_2 \in \left[0, (pT){^{-1}}\right]$ such that $F'(\lambda_2)=0$. Thus $ \left| F'(\lambda_1)-F'(\lambda_2)\right|\geq C(pT)^{-3}$, so there exists a $\lambda_3 \in \left[0, (pT){^{-1}}\right]$ such that $\left|F''(\lambda_3)\right| \geq C(pT)^{-2}$. Iterating this process we show there exists a $\lambda \in \left[0, (pT){^{-1}}\right]$ such that $\left|F^{(4)}(\lambda)\right| \geq C$, that is, $$\left|\frac{1}{T}\int^{T}_{0} f^{(4)}(pt,qt+\lambda ) dt \right|\geq C.$$ In particular the $C^4$-norm of $f$ is bounded below by $C$.
[99]{} Patrick Bernard [*On the Conley Decomposition of Mather sets* ]{} to appear, Revista Iberoamericana de Matemáticas G. Contreras, R. Iturriaga [*Convex Hamiltonians without conjugate points*]{}\
Ergodic Theory Dynam. Systems 19 (1999), no. 4, 901–952. A. Fathi [*Weak KAM theorem in Lagrangian dynamics*]{} to appear, Cambridge University Press. A. Fathi, A. Siconolfi [*Existence of $C\sp 1$ critical subsolutions of the Hamilton-Jacobi equation*]{} Invent. Math. 155 (2004), no. 2, 363–388. R. Mañé [*Generic properties and problems of minimizing measures of Lagrangian systems*]{} Nonlinearity [**9**]{} (1996), no. 2, 273–310. R. Mañé [*Lagrangian flows: the dynamics of globally minimizing orbits*]{} Bol. Soc. Brasil. Mat. (N.S.) 28 (1997), no. 2, 141–153. D. Massart [*On Aubry sets and Mather’s action functional*]{} Israël Journal of Mathematics [**134**]{} (2003), 157-171. D. Massart [*Differentiability of Mather’s beta functions in low dimensions*]{}, preprint J. N. Mather [*Action minimizing invariant measures for positive definite Lagrangian systems*]{} Math. Z. [**207**]{}, 169-207 (1991). O. Osuna [*The Aubry set for periodic Lagrangians on the circle* ]{} Bol. Soc. Brasil. Mat. (N.S.) 40 (2009), no. 2, 247-252.
|
Speed Limit / Speed Zone Plugin RELEASED
THIS IS NOT HARD TO SETUP, it is a little difficult to skin properly.
An example skin from my New Age 2 Garmin Style skin is included now 9/15 and should help you with your setup.
This is a script I wrote so that I could incorporate speed limit reminders in my car.
This is a pretty powerful tool if used to it's potential.
When started it checks if Road Runner is running, if not it will display a message box with an error
If RR is not running the message box times out after 5 seconds and the script closes.
IF RR is running it checks to see if you set the speed limit setpoint correctly
If you didnt it will make a voice announcement through road runner as long as you enabled voices in RRCONFIG or
voice=true was added to your RR.INI
=============Speed Limits-------->
If you set the speed limit correctly and the voices are enabled then It will announce the speed limit and continue to
monitor your speed.
If you exceed the speed limit it will run RR command "SPEEDLIMIT" and announce the set speed limit and your current speed
along with 1 of 4 voice messages. As long as they are set in the skin.ini according to the instructions. If these
messages are not set correctly it will not announce any additional message.
It will announce specific messages according to how much over the speed limit you are.
The First additional voice message is announce between 15 and 24 MPH over speed limit
The Second additional voice message is announce between 25 and 34 MPH over speed limit
The Third additional voice message is announce between 35 and 44 MPH over speed limit
The Fourth additional voice message is announce between 45 MPH and up over speed limit
It will continue to announce your speed, speed limit and messages until your speed drops below the speed limit. It will
check your speed every .200 seconds
Once your speed drops below the speed limit setpoint it will run RR command "SPEEDLIMITOFF" and say "Thank you for slowing down"
========SPEED ZONES--------->Description
Speed zones are up to 10 different points of interest you can set that you want specific speed limit settings and reminders for. For instance a school zone.
To set them, press the zone you want to set (zone 1), the a menu will pop up with options of POS (position) ZONE (Type of speed zone) and Speed. Pressing the position button will set your GPS coordinates. Pressing the Zone button will Present an OSK and allow you to name this zone. Pressing speed will present the Numbe osk and let you type in the speed limit.
The next time you come with 50 feet of your speed zone it will warn you that you are approaching that zone, tell you the speed limit and if you are going over the speed limit it will let you know that as well. Once exiting the speed zone or after you are out of the 50 ft perimiter it will return your speed limit to your previous setpoint.
Because not all GPS recievers are as accurate as they could be, Your coordinates according to your reciever may change slightly which is the reason for the 50 foot perimeter.
I have been using this now for about 2 weeks and it works great. It has warned me everytime I entered any of the set speed zones.
I hope someone can find this usefull.
Once road runner is closed or exited from, the script stops and closes it self.
POTENTIAL POSSIBILITIES
This plugin executes a command in RR any time you enter you speed zone. So if you set your home zone correctly, when you approach your home you can have it execute a command to update any internet releated data VIA wifi. This is what I have planned in my setup. I will get home, the Speed zones trigger the command then my computer will go through and update the weather, movie times, gas prices and anything else I can think of via the internet. You could also have it trigger a command on a remote computer attached to your WIFI network keeping a log when you leave and return home or a warning that the car has left the home zone.
You could also use your speed zones to trigger connections to WIFI networks available around your area. Instead of speed zones, you could make them WIFI zones. It would require some ingenuity on your part, but if you really would like to do that, you will.
So now you get the idea of the speed zone plug in. If you want something to happen when you approach your speed zone, now it can.
12/18/2008 New Version included with my New Age Garmin Skin
-20 Speed zones (was 10)
-Detects your speed zone according to the direction you are driving
-Better detection of coordinates
-Fixed bug with not reporting current speed zone speed limit and current speed zone to Road Runner
DOWNLOAD NAV29.ZIP from my new age skin thread
V4.0RELEASED On it's own 9/15/2008
Fully Tested
Constantly Monitors your speed and GPS coordinates
You can now set speed zones according to your GPS coordinates
Will notify you and change the speed limit when you pass through your speed zone
Voice Notifications of over speed limits and entering speed zones
2 Sliders that indicate that it is monitoring
Works Great
Much less resource hungry
v3.0
Lots of additional functionality and much better stability. Does not need to be closed and restarted to update speed limit like it did in V2.5
V2.5
Better handeling of information, included a close speedlimit command so that you can either stop it or stop and restart it with a different speed.
v2.o
Updated the script tremendously. It used to check your speed limit against the setpoint and incriments of 5, now anything over the speed limit will execute RR command "SPEEDLIMIT"
(sorry for all the quick updates, I'm finding out alot of stuff as I keep coding)
OK gave it test run in the car and all seems to be working as expected accept for the 4 additional speed warning messages. I will continue to work on this and work out the bug. For now it is totally functional and works pretty good as is.
As in you Garmin script, why don't you eliminate it checking if RR is running..
(unless it can be used outside RR)
It needs RR in order to work, with out RR it can not get the speed info it needs from GPS. It also send text to RR along with other commands. It also has to check for RR because it closes automatically when RR is closed to prevent program errors.
Having it do this dosent really affect it, it doesnt have to react as fast as the OSK does. Reaction time doesnt really matter. It is just a peice of candy added for RR, not really something that demands a necessity for function.
Can this be made to read and compare coordinates? Let's say i input the coordinates (start to end) of one of the many school zones in my area (maybe in an .ini or something), could it then alert me of the speed limit when i enter the school zone base on the current GPS coordinates acquired from rr?
That would have saved me from the Darn ticket i got the other day - LOL! |
So-Called "Gay Marriage" is No Marriage at All
The Plain and Simple Truth about Attending a "Gay Marriage"
I am hearing of this more and more—that a Christian has been invited to attend a "wedding" between two men or two women. It is usually from a relative, a close friend, or perhaps their own child. A Christian, who is faced with a decision whether to attend or not, processes through many questions with heartache. There is always the desire to be loving and kind to a loved one. A Christian really needs to consider what message that they are sending when they choose to attend the so-called "gay wedding" event.
Knowingly or unknowingly, to attend a so-called "gay marriage" is to be a witness and usually suggests an affirmation of the event. Many well-meaning Christians do not realize that the truth is being compromised when they attend. "Gay marriage" is no marriage at all; however, it certainly is a covenant between two people. It is a defiling covenant, egregious in the sight of God. Those who communicate that they are "being kind" and yet say nothing in warning or in opposition to the defiling covenant are, by participating, indicating their agreement and affirmation. Therefore they who promote attending such an event are not really loving but sending a destructive message because "gay marriage" is not marriage at all. "Gay marriage" is simply a tragic, defiling covenant that is detestable in the sight of God. This union is a manifestation of narcissistic, emotional idolatry. This union is a promotion of human desires and lust and, therefore, idolatry.
If you are truly a devoted believer, compelled by the love of God and under the unction of the Holy Spirit, the only reason for attending such a defiling covenant ceremony would be to stand in opposition. This would be the work of true love and care—to care about the eternal destiny of souls. Such a call would be the call of love to be salt and light and a reminder of the judgement to come. If a believer in Jesus Christ as Lord of life, is truly filled with the compassion of the Holy Spirit, truth will always be present with true compassion.
The beginning of true wisdom (the reverent fear of God) is always the foundation for being led by the Holy Spirit. We understand that the beginning of wisdom comes as a direct result of knowing the holiness of God and has been revealed, as St. Paul said to the Corinthians, "knowing the terror of the Lord we persuade men," persuading men everywhere to repent—to turn from idolatry. (2 Cor. 5:10-11). Therefore, the idea of "being loving" to gay-identified loved ones by attending their so-called "gay wedding" is both wrong and unloving. To be a witness to the union, to tolerate and to say nothing but kind words to two people as they enter into such a defiling covenant is idolatrous in itself, plain and simple.
This we know that no one who practices idolatry, sexual immorality and those who promote such behavior shall not inherit the kingdom of God (Ephesians 5:5-7). This is a solid warning and reason the Scripture teaches us, "do not be partakers with them.
Therefore, walk very wisely, with great prudence when you go to the house of God; be very careful as you draw near to open your mouth or to approve vows to the Lord. Be very careful to approve commitments and promises, do not be rash or hasty in bringing a matter of commitment before God. Do not give an offering or the sacrifice of fools before God, for they do not know that they do evil. For God is in heaven, and you are on earth; therefore let your words be few. Eccl 5:1-2 paraphrased
We should certainly be very careful regarding our participation in a celebration that God considers defiling and evil. Anyone who says otherwise is turning a blind eye to the fear of God and making little of our needed for pure devotion to Jesus Christ as Lord.
For more help, please watch videos online:
Supplemental article
Is it OK to Attend a "Gay Wedding"?
by Dr. Sam Storms
Robert Gagnon, author of The Bible and Homosexual Practice, recently addressed this question (The Hope Update, an official publication of Restored Hope Network, July 2014, Vol. 2, No. 3). He finds what he believes is biblical precedent for his conclusion in 1 Corinthians 8-10 and Paul's counsel regarding whether it is permissible for Christians to visit pagan temples where idols are worshipped. The apostle's response is, "No." First, such actions could 'stumble' (i.e., precipitate the spiritual downfall of) others with a weak conscience by sending the message that idol worship wasn't such a big deal (ch. 8). Second, those attending such rituals, at which sacrifices would be made to an idol, were actually offending God by aligning themselves unknowingly with demonic powers (1 Cor. 10:14-22)."
Gagnon also points out that whereas "Jesus reached out to sexual sinners" he did not at any time "attend a ritual that celebrated immorality." He doesn't believe Jesus would ever have attended such an event "unless the purpose in attending was to call people to repentance." Gagnon then asks: "What good would I be at a 'gay wedding' anyway since I would be visibly weeping my heart out at a ceremony that solemnizes a behavior that puts a loved one at risk of not inheriting God's kingdom?"
I completely agree with Gagnon's position on this question. And let me add one more consideration to the mix. Simply put, there is no such thing as a "gay wedding". I'm not saying that gay people aren't in fact hosting a ceremony in which they formally commit themselves one to another. I'm simply saying that what they are not doing is getting married. The reason is that marriage, on its biblical definition, is the lifelong covenantal commitment of a man and a woman. No commitment, no covenant, no vow or pledge or promise that involves two people of the same gender qualifies as a "marriage". Call it a civil ceremony or whatever you will. But it's not a marriage. And that is why I would never attend such an event. |
Background {#Sec1}
==========
Cardiovascular (CV) disease due to atherosclerosis is a major cause of morbidity and mortality in adult patients with diabetes, either type 1 or type 2 diabetes. Among the risk factors associated with the excess of cardiovascular risk in patients with type 1 diabetes are age, proteinuria, decreased glomerular filtration rate, hypertension, obesity, poor glycemic control, lipid levels, smoking and diabetes duration \[[@CR1]\]. Even in patients with optimal glycemic control, the risk of death from CV causes is still more than twice that of non-diabetic individuals \[[@CR2]\]. Unlike patients with type 2 diabetes, those with type 1 diabetes generally do not have excess rates of obesity, hypertension, or hypercholesterolemia compared with the general population \[[@CR3]\]. Thus, the underlying mechanisms responsible for the increased risk of death from any cause and of death from CV causes among patients with type 1 diabetes who have good glycemic control are not fully understood. In recent years, a current line of thought has been that there is a "common soil" for the development of micro- and macrovascular complications of diabetes associated with common pathogenic pathways in both types of complications \[[@CR4]\]. Diabetic retinopathy (DR) is a common and specific microvascular complication of diabetes that is identified in one-third of people with type 1 diabetes \[[@CR5]\]. Glycemic control is the main factor involved in appearance and progression of DR in these patients. Interestingly, the presence of morphological abnormalities in retinal microvasculature is even observed in childhood type 1 diabetic patients with short-term poor glycemic control \[[@CR6]\].
It has been shown in several studies that DR is an independent predictor of CV events and all-cause mortality in both patients with type 1 and type 2 diabetes \[[@CR7]\]. Multiple potential mechanisms have been suggested to be involved in the pathophysiological link between diabetic micro- and macroangiopathy. These include oxidative and glycemic stress, chronic low-grade inflammation and impaired vascular tissue repair mechanisms \[[@CR4]\]. More recently, diabetic microangiopathy of the artery wall microvessels, named vasa vasorum, has also been reported in patients with type 2 diabetes \[[@CR8]\]. It is interesting to note that the main stimuli that drive diabetic microangiopathy angiogenesis are hypoxia and ischemia similar to what has been described in the retinal vascular changes that occur in DR \[[@CR5]\]. Interestingly, the severity of retinopathy has been shown to be associated with the risk of incidental CV events in patients with type 2 diabetes in the action to control cardiovascular risk in diabetes (ACCORD) eye study, as this risk increased from 1.5 in people with mild nonproliferative retinopathy to 2.4 in people with severe retinopathy \[[@CR9]\]. In patients with type 1 diabetes asymptomatic for coronary artery disease, severe forms of DR have been reported to be associated with the presence of coronary artery calcification \[[@CR10]\], and also with increased carotid intima-media thickness \[[@CR11]\].
On the other hand, established chronic kidney disease (CKD) is one of the main drivers of increased CV morbidity and mortality in patients with type 1 diabetes. Specifically, in patients with type 1 diabetes, the presence of albuminuric \[[@CR12]\] and nonalbuminuric \[[@CR13]\] CKD is associated with a higher risk of CV disease. In previous studies showing an increased CV risk in patients with DR, the inclusion of patients with CKD may have influenced the findings as DR is usually closely associated with diabetic nephropathy. Therefore, any studies considering the association of DR with CV disease should take this issue into consideration.
Carotid intima-media thickness (IMT) and the presence of carotid plaques are considered to be surrogate measures of atherosclerosis \[[@CR14]\]. Both conditions are associated with CV risk factors \[[@CR15]\], predict CV events independently of risk factors \[[@CR16]\], and help to stratify patients into different risk categories \[[@CR17]\]. However, it should be mentioned that the presence \[[@CR18]\] and burden \[[@CR19]\] of atherosclerotic plaque is a more powerful predictor of CV risk compared with IMT alone.
Both IMT and the frequency of plaques have been reported to be increased in children, adolescents and adults with type 1 diabetes compared with age- and sex-matched healthy control subjects \[[@CR1]\], although data regarding atherosclerotic plaques in patients with type 1 diabetes are very scarce. A paucity of data exists on whether DR and subclinical atherosclerotic disease in the carotid artery territory in patients with type 1 diabetes are associated. Carotid plaque is recognized as an independent risk factor for ischemic stroke \[[@CR20]\] with a risk that is markedly increased both in patients with type 1 and type 2 diabetes \[[@CR21]\]. In patients with type 1 diabetes, this risk has been described to be associated with the presence of diabetic nephropathy and severe diabetic retinopathy \[[@CR22]\]. In patients with type 2 diabetes, ours and other groups have previously described that DR is an independent risk factor associated with the presence of carotid plaques in subjects without previous CV disease \[[@CR23], [@CR24]\]. In these patients, it has recently been described that carotid atherosclerosis is also an independent risk factor for stroke \[[@CR25]\].
Therefore, we hypothesized that DR is associated with the presence of carotid plaques in subjects with type 1 diabetes without previous CV disease and established chronic kidney disease. In the present study, we sought to assess the association of the frequency and burden of subclinical carotid atherosclerotic disease in patients with type 1 diabetes according to presence and severity of DR. As a secondary outcome, we also evaluated the differences in the presence and burden of subclinical carotid atherosclerosis compared with non-diabetic subjects.
Methods {#Sec2}
=======
Subjects {#Sec3}
--------
This study was designed as a cross-sectional study in subjects with type 1 diabetes recruited from the diabetic outpatient clinics at two university hospitals in the North-Western region of Spain (Catalonia). All potential participants were identified from the electronic clinical records from the two participating institutions that belong to the same health care organization.
The inclusion criteria for type 1 diabetic subjects were as follows: age \> 18 years; diabetes for at least 1 year; normal renal function \[estimated glomerular filtration rate (eGFR \> 60 mL/min)\]; no previous cardiovascular (CV) disease defined as any form of clinical coronary heart disease, stroke or peripheral vascular disease; and any form of diabetic foot disease. We excluded patients with a urine albumin excretion ratio \> 300 mg/g and any conditions that precluded a proper full eye examination. A subject was considered to have previous hypertension or dyslipidaemia if he/she was taking medication for the given condition. The selection of non-diabetic control participants was based on the same criteria, except for the criteria that concerned the diabetic specific microvascular complications (retinopathy and albuminuria). Additionally, subjects in the control group had fasting glucose and HbA1c values below 100 mg/dL and 5.7% HbA1c, respectively.
Clinical assessment {#Sec4}
-------------------
For each subject, the age, sex, weight, height, body mass index and waist circumference were obtained by standardized methods. Serum and spot urine samples were collected in the fasting state, and all serum and urine tests were performed using standard laboratory methods as previously described \[[@CR23]\].
Ophthalmic examination {#Sec5}
----------------------
In subjects with type 1 diabetes, an experienced ophthalmologist performed a complete eye evaluation and defined DR according to the ETDRS classification in five stages: (1) no apparent retinopathy, (2) mild non-proliferative retinopathy (NPDR) (defined by the presence of microaneurysms), (3) moderate NPDR (presence of microaneurysms, intraretinal hemorrhages or venous beading that did not reach the severity of the next stage), (4) severe NPDR (more than 20 intraretinal hemorrhages in four quadrants, venous beading in two quadrants or intraretinal microvascular abnormalities in one quadrant), and (5) proliferative diabetic retinopathy (PRD) defined by the presence of disc/retina/angle/iris neovascularization, vitreous hemorrhage or tractional retinal detachment \[[@CR26]\]. For the purpose of the analysis, patients with DR were classified into two groups according to the severity of diabetic retinopathy: mild diabetic retinopathy and advanced DR (stages 3, 4 and 5 of the ETDRS classification).
Carotid ultrasound imaging {#Sec6}
--------------------------
All the study participants underwent the same carotid ultrasound examination. Carotid ultrasonography imaging was performed using a LOGIQ^®^ E9-General Electric (Wauwatosa, WI 53226, USA) equipped with a 15 MHz linear array probe or a Sequoia 512, Siemens, (North Rhine, Westphalia, Germany) equipped with a 15 MHz linear array probe. All measures and ultrasound studies were assessed by the same researcher at each participating hospital. The detailed carotid ultrasound protocol performed to evaluate the presence of carotid plaques has been previously described \[[@CR23]\]. Plaques were identified using B-mode and color Doppler examinations in both the longitudinal and transverse planes to consider circumferential asymmetry and were defined as a "focal structure that encroaches into the arterial lumen of at least 0.5 mm or 50% of the surrounding carotid IMT value or demonstrates a thickness of 1.5 mm, as measured from the media-adventitia interference to the intima-lumen surface" according to the Mannheim consensus \[[@CR27]\]. The arterial territories explored included the left and right carotid arteries; for each of them, the common and internal carotid territories and their bifurcation were examined.
The Local Ethics Committee of both participating centers approved the protocol, and all the participants signed informed consent forms.
Statistical analysis {#Sec7}
--------------------
The descriptive statistics of the mean (standard deviation) or median \[interquartile range\] were estimated for quantitative variables with a normal or non-normal distribution, respectively. For the qualitative variables, absolute and relative frequencies were used. The normal distribution was analyzed by the Shapiro--Wilks test. The differences between groups were assessed by Student's test, analysis of variance (ANOVA) or Mann--Whitney test, and Kruskal--Wallis test depending on the distributions of the quantitative variables. The significance of the differences in qualitative variables was assessed by Chi squared test or Fisher's exact test. Logistic regression and multinomial logistic regression models were performed to study the prevalence and burden of subclinical carotid atherosclerotic disease and its association with DR. All variables of the bivariate analysis with a p \< 0.2 were used. Only the main effects with a significant contribution to the final model according to the likelihood ratio test were included in the final model. For logistic regression model calibration and discrimination, the Homer--Lemeshow test and the area under the ROC curve were used. The R statistical software, version 3.3.1, was used for all the analyses, using a significance level of 0.05.
Sample size {#Sec8}
-----------
Based on a predefined prevalence of DR in patients with type 1 diabetes of 33%, we estimated a sample size of 309 patients with type 1 diabetes as being sufficient to detect a difference in the frequency of carotid atherosclerotic plaques of 15% between patients with type 1 diabetes with and without DR, assuming frequencies of plaques of 35 and 20% in patients with and without DR, respectively. This assumption yielded an overall frequency of plaques of 25% in this sample of subjects with type 1 diabetes. A comparison with a group with the same number of non-diabetic subjects would then allow the detection of a difference of 9% between them and type 1 diabetes.
Results {#Sec9}
=======
From the initial number of type 1 diabetic patients recruited (n = 397) in the study, five patients were excluded for presenting an eGFR \< 60 mL/min, two patients were excluded for presenting a urine albumin/creatinine ratio \> 300 mg/g, three patients were excluded for presenting cardiovascular disease and 11 patients were excluded for presenting with one or more ophthalmic exclusion criteria. Additionally, six patients did not attend the carotid ultrasound examination, and 30 patients did not complete all the determinations of the main study outcomes. Therefore, 340 patients with type 1 diabetes were finally enrolled in the study. We enrolled more subjects in the type 1 diabetes group as we allowed recruitment in the two centers until the control group was completed. A total of 332 individuals were contacted for inclusion in the control group. From this initial number, nine individuals did not accept participation, and 19 were excluded because of the presence of exclusion criteria or for not completing all the study procedures. Therefore, from the expected size of the group of non-diabetic individuals (n = 309), a total of 304 individuals were recruited.
Clinical variables {#Sec10}
------------------
The results of the study variables for each study group are shown in Table [1](#Tab1){ref-type="table"}. Among the 340 study patients with type 1 diabetes, 141 (41.5%) had DR. The patients with DR were older, had a higher prevalence of hypertension and dyslipidemia and a longer diabetes duration. These patients also exhibited higher systolic blood pressure, pulse pressure, BMI, waist circumference, plasma triglycerides and HbA1c compared with those without DR (Table [1](#Tab1){ref-type="table"}). The distribution of the stages of DR in the 141 patients with DR was as follows: 89 patients had mild DR, 18 patients had moderate DR, 15 patients had severe DR, and 19 patients had proliferative DR. For further analysis, we classified the status of retinopathy into non-DR (n = 199, 58.5%), mild DR (n = 89, 26.2%), and advanced DR (including moderate, severe and proliferative disease) (n = 52, 15.3%). The clinical characteristics of these 3 groups of patients are shown in Table [2](#Tab2){ref-type="table"}.Table 1Clinical characteristics of the study groupsControlType 1 diabetesp. control vs. type 1 diabetesp. no DR vs. DRAllNo retinopathyRetinopathyN = 307N = 340N = 199N = 141Age, years44.0 \[37.0; 51.0\]45.0 \[37.0; 53.0\]43.4 (11.1)48.6 (12.1)0.164\< 0.001Sex, men139 (45.7%)155 (45.6%)89 (44.7%)66 (46.8%)10.787Non-caucasian9 (2.96%)4 (1.18%)3 (1.51%)1 (0.71%)0.1850.645Current or former smoker167 (55.3%)174 (51.3%)97 (49.0%)77 (54.6%)0.3540.363Dyslipidemia39 (12.8%)144 (42.4%)72 (36.2%)72 (51.1%)\< 0.0010.009Hypertension26 (8.55%)88 (25.9%)36 (18.1%)52 (36.9%)\< 0.001\< 0.001Systolic BP, mmHg120 \[112; 129\]129 \[114; 139\]127 \[112; 135\]132 \[119; 145\]\< 0.001\< 0.001Diastolic BP, mmHg76.0 \[70.0; 81.0\]75.0 \[68.0; 80.0\]74.5 (10.1)73.7 (9.98)0.0090.447Pulse pressure, mmHg44.0 \[38.0; 51.8\]52.0 \[42.5; 62.0\]50.0 \[40.0; 58.5\]56.0 \[46.8; 70.0\]\< 0.001\< 0.001BMI kg/m^2^25.2 \[23.2; 28.4\]25.6 \[22.8; 28.4\]25.0 \[22.5; 27.4\]26.3 \[23.5; 29.4\]0.8270.004Waist circumference, cm93.0 \[84.2; 100\]88.0 \[80.0; 98.5\]87.0 \[79.0; 95.0\]90.0 \[82.0; 102\]\< 0.0010.003HbA1c, %5.40 \[5.20; 5.60\]7.50 \[7.00; 8.10\]7.40 \[6.80; 7.90\]7.60 \[7.20; 8.40\]\<0.001\< 0.001HbA1c, mmol/mol36.0 \[33.0; 38.0\]58.0 \[53.0; 65.0\]57.0 \[51.0; 63.0\]60.0 \[55.0; 68.0\]\< 0.001\< 0.001Total-c, mg/dL192 \[170; 220\]176 \[160; 200\]175 \[161; 200\]177 \[156; 201\]\< 0.0010.903HDL, mg/dL56.5 \[47.0; 68.0\]62.0 \[53.0; 74.0\]63.0 \[54.0; 74.0\]60.5 \[55.0; 72.8\]\< 0.0010.197LDL, mg/dL116 \[94.8; 138\]99.4 \[83.0; 116\]99.4 \[84.6; 116\]99.5 \[79.9; 117\]\< 0.0010.684Triglycerides, mg/dL85.0 \[63.0; 122\]68.0 \[53.0; 86.0\]65.0 \[53.0; 83.5\]70.0 \[55.0; 89.0\]\< 0.0010.071Creatinine, mg/dL0.78 \[0.68; 0.90\]0.76 \[0.65; 0.87\]0.77 \[0.66; 0.88\]0.76 \[0.65; 0.87\]0.0440.890Urine albumin/creatinine ratio, mg/g--3.96 \[2.08; 6.84\]3.58 \[1.82; 5.95\]4.70 \[2.76; 8.34\]--0.030Diabetes duration, years--20.0 \[14.0; 29.0\]16.0 \[11.0; 22.0\]27.0 \[20.0; 33.0\]--\< 0.001Variables are expressed as median and interquartile range, unless otherwise specified*BMI* body mass index, *BP* blood pressure, *HDL* high-density lipoprotein cholesterol, *LDL* low-density lipoprotein cholesterol, *Total-c* total cholesterol Table 2Clinical characteristics of patients with type 1 diabetes according to the presence and severity of DRNo DRMild DR\> Mild DRp overallN = 199N = 89N = 52Age, years43.4 (11.1)47.1 (12.2)51.1 (11.6)\< 0.001Sex, men89 (44.7%)41 (46.1%)27 (51.9%)0.906Non-caucasian3 (1.51%)1 (1.12%)0 (0.00%)1Current or former smoker97 (49.0%)49 (55.1%)28 (53.8%)0.588Antiplatelet46 (23.1%)23 (25.8%)23 (44.2%)0.009Dyslipidemia72 (36.2%)41 (46.1%)31 (59.6%)0.007Hypertension36 (18.1%)25 (28.1%)27 (51.9%)\< 0.001Systolic BP, mmHg127 \[112; 135\]130 \[119; 140\]136 \[116; 150\]0.001Diastolic BP, mmHg74.5 (10.1)74.4 (8.92)72.4 (11.6)0.395Pulse pressure, mmHg50.0 \[40.0; 58.5\]53.0 \[45.0; 66.0\]62.0 \[50.5; 75.0\]\< 0.001BMI, kg/m^2^25.0 \[22.5; 27.4\]26.2 \[23.6; 29.4\]26.3 \[23.3; 30.2\]0.013Waist circumference, cm87.0 \[79.0; 95.0\]90.0 \[82.0; 100\]91.5 \[82.0; 103\]0.009HbA1c, %7.40 \[6.80; 7.90\]7.50 \[7.10; 8.20\]7.90 \[7.30; 8.60\]\< 0.001HbA1c, mmol/mol57.0 \[51.0; 63.0\]58.0 \[54.0; 66.0\]63.0 \[56.0; 70.0\]\< 0.001Total-c, mg/dL175 \[161; 200\]177 \[154; 200\]184 \[157; 201\]0.989HDL, mg/dL63.0 \[54.0; 74.0\]60.5 \[51.8; 71.0\]60.5 \[50.8; 76.0\]0.422LDL, mg/dL99.4 \[84.6; 116\]98.0 \[81.8; 121\]105 \[78.1; 115\]0.913Triglycerides, mg/dL65.0 \[53.0; 83.5\]69.0 \[53.0; 93.0\]74.0 \[56.8; 88.0\]0.166Creatinine, mg/dL0.77 \[0.66; 0.88\]0.75 \[0.64; 0.85\]0.78 \[0.68; 0.92\]0.340Urine albumin/creatinine ratio mg/g3.58 \[1.82; 5.95\]4.00 \[1.98; 5.62\]5.71 \[3.12; 16.3\]0.001Diabetes duration16.0 \[11.0; 22.0\]25.0 \[18.0; 30.0\]30.5 \[22.0; 38.0\]\< 0.001Variables are expressed as median and interquartile range, unless otherwise specified*BMI* body mass index, *BP* blood pressure, *HDL* high-density lipoprotein cholesterol, *LDL* low-density lipoprotein cholesterol, *Total-c* total cholesterol
Ultrasound examination {#Sec11}
----------------------
The percentage of patients with carotid plaques was higher in patients with type 1 diabetes compared with control subjects (32.6% vs. 23%, p = 0.009). The patients with type 1 diabetes also presented with a higher percentage of ≥ 2 carotid plaques (17.1% vs. 11.2%, p = 0.023) compared with non-diabetic subjects. In the group of patients with type 1 diabetes, the percentage of patients with carotid plaques was higher in those with DR compared with those without DR (44.7% vs. 24.1%, p \< 0.001). The patients with DR also presented a higher percentage of ≥ 2 carotid plaques (25.5% vs. 11.1%, p \< 0.001) compared to those without DR (Fig. [1](#Fig1){ref-type="fig"}).Fig. 1Percentage of patients with the presence of one atherosclerotic plaque (**a**) or multiple plaques (**b**) in the control group and in patients with type 1 diabetes. Percentage of patients with type 1 diabetes with the presence of one atherosclerotic plaque or multiple plaques according to the presence or absence of DR (**c**, **d**). Percentage of patients with type 1 diabetes with the presence of one atherosclerotic plaque (**e**) or multiple plaques (**f**) according to the degree of DR
Frequency and burden of atherosclerotic plaques in patients with type 1 diabetes {#Sec12}
--------------------------------------------------------------------------------
In the group of patients with type 1 diabetes, as the frequency of subclinical carotid atherosclerosis was mainly at the expense of patients with advanced DR, we performed a multiple regression analysis that used the group of patients without DR as the reference group. This analysis revealed that the variables associated with the presence of carotid plaques were age (p \< 0.001), advanced DR (p = 0.044), smoking (p = 0.013), dyslipidemia (p \< 0.001), pulse pressure (p = 0.014), and albumin creatinine ratio (p = 0.013) (Fig. [2](#Fig2){ref-type="fig"}a).Fig. 2Multivariate logistic regression models: **a** model for the presence or absence of carotid plaque in patients with type 1 diabetes. **b** Model for absence vs presence of multiple (≥ 2) plaques in patients with type 1 diabetes. Models adjusted by sex, age, diabetes duration, smoking, diastolic BP, dyslipidemia, diabetic retinopathy, urine albumin/creatinine ratio, BMI, pulse pressure and LDL. Smoking refers to current and former smokers
Next, we performed the multivariate logistic regression analysis for the presence of one plaque or multiple (≥ 2) plaques (Additional file [1](#MOESM1){ref-type="media"}: Table S1). The variables associated with multiple plaques were age, smoking, dyslipidemia, advanced stages of retinopathy, pulse pressure and albumin creatinine ratio (Fig. [2](#Fig2){ref-type="fig"}b).
We also performed a similar multivariate logistic regression analysis for the presence and absence of DR as a microvascular complication of atherosclerosis. In this analysis, we did not find a significant contribution of retinopathy (p = 0.140) for the presence of subclinical carotid atherosclerosis (Additional file [1](#MOESM1){ref-type="media"}: Table S2).
Frequency and burden of atherosclerotic plaques in the whole study group {#Sec13}
------------------------------------------------------------------------
To analyze the variables associated with the presence and burden of atherosclerotic plaques in the whole group (type 1 diabetes and non-diabetic participants), we performed a logistic regression analysis. We first analyzed the variables associated with the presence of atherosclerotic plaques. In this model, we found an interaction of diabetes with smoking. The variables associated with presence of any plaque were age (p \< 0.001), dyslipidemia (p \< 0.001), pulse pressure (p \< 0.001) and smoking if type 1 diabetes (p = 0.003) (Additional file [1](#MOESM1){ref-type="media"}: Table S3).
Next, we performed the multivariate logistic regression analysis for the presence of one plaque or multiple (≥ 2) plaques (Additional file [1](#MOESM1){ref-type="media"}: Table S3). There were several variables that were consistently associated with the presence of one or multiples plaques: age, dyslipidemia, pulse pressure and smoking if type 1 diabetes. In contrast, only one variable was associated with the presence of multiple plaques, the sex.
Discussion {#Sec14}
==========
In the present study, that included a large sample of patients with type 1 diabetes and an age- and sex-matched control group of participants without diabetes, the frequency of carotid plaques was significantly higher in patients with type 1 diabetes. Interestingly, apart from other well-known cardiovascular risk factors, the presence of advanced DR was an independent predictor of the presence of carotid plaques and of the atherosclerotic burden in type 1 diabetes.
The natural history of atherosclerosis involves a protracted subclinical phase, with the atherosclerotic disease often being detected only at an advanced stage or after a CV event. Non-invasive methods, such as arterial ultrasonography, are used to detect and quantify atherosclerosis and have shown to be a useful screening test for the prediction of future CV events. It is now generally accepted that presence and burden of carotid plaques compared with that of carotid IMT has a higher diagnostic accuracy for the prediction of future CV events \[[@CR17], [@CR18]\]. Several studies showed that patients with type 1 diabetes had a significantly increased carotid IMT compared with age- and sex-matched non-diabetic subjects \[[@CR28]\]. Less information is available regarding the presence of atherosclerotic plaques in patients with type 1 diabetes, as well as its association with the presence of DR. In a study by Distiller et al. in 148 patients with type 1 diabetes (mean age 48 years, and mean diabetes duration of 26 years), the prevalence of plaques was 18.9%. In this study, DR was reported to be independently associated with the presence of plaques \[[@CR29]\]. Additionally, Ogawa et al. \[[@CR30]\] described a plaque frequency of 28.8% in a group of 73 patients with type 1 diabetes (mean age 38 years) with early-onset long-duration type 1 diabetes. This study reported an association between proliferative DR with a maximal carotid IMT of the whole carotid artery. Patients with proliferative DR from that study also showed a non-significant higher frequency of plaques compared with those without this condition (42.9% vs. 23.1%). In the current study, the presence of plaques was significantly higher in patients with type 1 diabetes compared with non-diabetic subjects. Moreover, a higher proportion of patients with type 1 diabetes presented with ≥ 2 carotid plaques compared with controls. The factors independently associated with carotid atherosclerotic plaques in patients with type 1 diabetes were different depending on whether only one plaque or ≥ 2 carotid plaques were present. In both cases, well-known cardiovascular risk factors and, more importantly, advanced stages of DR were independently associated with subclinical atherosclerosis. Interestingly, in a recent study, we have reported that the frequency of preclinical carotid atherosclerosis in patients with latent autoimmune diabetes of the adults (LADA) is similar, or even greater in those with longer disease duration, to subjects of similar age with classic type 1 diabetes and type 2 diabetes \[[@CR31]\]. In LADA, preclinical carotid atherosclerosis was also associated with classical risk factors like hypertension and tobacco exposure.
The data related to the presence and extent of carotid plaques in patients with type 2 diabetes are more abundant \[[@CR32]\]. In these patients, a high prevalence of carotid plaque presence and burden compared with healthy subjects has been described \[[@CR33]\]. In patients with type 2 diabetes, ours and other groups have previously described that DR is an independent risk factor associated with the presence of carotid plaques in subjects without previous cardiovascular disease \[[@CR23], [@CR24]\]. Specifically, the proportion of carotid plaques in type 2 diabetes patients with DR was higher than in type 2 diabetes patients without DR; additionally, patients with DR had a higher burden of atherosclerosis (≥ 2 carotid plaques) \[[@CR23]\]. Further, patients with type 2 diabetes and advanced stages of retinopathy have stenotic atherosclerotic plaques more frequently than patients with mild retinopathy \[[@CR24]\].
Another proposed measure to evaluate the presence and progression of microvascular complications in patients with type 1 diabetes is the analysis of advanced glycation end-products (AGEs). In these patients, it has been described that accumulation of AGEs in the skin is independently associated with progression of retinopathy as well as with presence and progression of subclinical cardiovascular disease (i.e. the severity of coronary artery calcification and the IMT carotid progression) \[[@CR34], [@CR35]\]. Other authors have suggested factors, other than the presence and burden of atherosclerotic plaques, that may be involved in the increased cardiovascular risk in patients with type 1 diabetes, i.e. increased arterial stiffness \[[@CR36], [@CR37]\], and HDL dysfunction \[[@CR38]\].
Diabetic retinopathy has been described to be associated with macrovascular disease \[[@CR39]\], as well as with increased CV morbidity and mortality \[[@CR7]\]. It is interesting to note that the presence of severe DR is among the independent risk factors for stroke both in patients with type 1 diabetes \[[@CR7], [@CR22]\] and in patients with type 2 diabetes \[[@CR40]\]. Thus, the presence and extent of carotid atheromatous disease described in the present study in patients with type 1 diabetes and DR may be one of the factors associated with the higher risk of stroke described in patients with type 1 diabetes given that the presence of carotid plaque is an accepted independent risk factor for stroke. Lipid concentrations are strongly related to the risk of cardiovascular disease.
In patients with type 1 diabetes, it has been reported that in the context of good glycemic control HDL cholesterol is often similar or higher, and triglycerides and LDL cholesterol are often lower in type 1 diabetes in comparison with non-diabetic subjects \[[@CR41]\]. This is consistent with the fair glycemic control observed in type 1 diabetes patients in our study. In the current study, the increased HDL concentration observed in type 1 diabetes compared with control subjects may be related to the increased waist circumference in control subjects. The latter has already been found to be associated with reduced HDL concentrations in patients with type 1 diabetes \[[@CR42]\].
The current study has several limitations. First, the study design does not allow for the identification of a pathophysiological link between DR and atherosclerosis. Additionally, the initial sample size calculation was primarily based on the presence of DR and not on the severity of this microvascular complication; given our findings, a larger study may be warranted to confirm the current results.
Conclusions {#Sec15}
===========
The present study performed in a large cohort of patients with type 1 diabetes free from CV disease shows a higher prevalence and burden of carotid atherosclerotic disease in these patients. In a similar way to what has been described in patients with type 2 diabetes, the presence of advanced stages of DR is independently associated with the presence of carotid plaques and the burden of atherosclerotic disease in patients with type 1 diabetes. Given the association described between the atherosclerotic plaque burden and the risk of future CV events in the general population, the patients with type 1 diabetes and DR may be a subgroup of patients who should be regarded at increased risk for future CV events and should be followed more closely to prevent CV disease. The follow-up of the whole cohort of our patients with type 1 diabetes may help to address these issues. The current findings should lead to an increased awareness of DR as a non-classic cardiovascular risk factor for type 1 diabetes and to its proper consideration for preventive treatment among clinicians.
Additional file
===============
{#Sec16}
**Additional file 1: Table S1.** Multivariate and multinomial logistic regression models of the presence/absence of atherosclerotic plaque, none vs one plaque, and none vs multiple plaques in patients with type 1 diabetes with DR as a variable introduced as stages No/Mild/\>Mild. **Table S2.** Multivariate and multinomial logistic regression models of the presence/absence of atherosclerotic plaque, none vs one plaque, and none vs multiple (≥ 2) plaques in patients with type 1 diabetes with DR as a variable introduced as presence/absence. **Table S3.** Multivariate and multinomial logistic regression models of the presence/absence of atherosclerotic plaque, none vs one plaque, and none vs multiple (≥ 2) plaques in the whole study group.
CV
: cardiovascular
DR
: diabetic retinopathy
CKD
: chronic kidney disease
IMT
: intima-media thickness
eGFR
: estimated glomerular filtration rate
Marc Carbonell and Esmeralda Castelblanco contributed equally to this work
**Electronic supplementary material**
The online version of this article (10.1186/s12933-018-0706-z) contains supplementary material, which is available to authorized users.
MC and EC contributed to the study design, conducting the study, data analysis, and writing of the manuscript. NA and DM contributed to the study design and coordination, conducting the study, data analysis, and writing of the manuscript. XV, MG, MH, FV, MM, AT, and ER contributed to the data collection and conducting the study. AA, AB, AL, MP-D. and JF-N. contributed to data interpretation and discussion. DM is the guarantor of this work and, as such, has full access to all the data in the study and takes responsibility for the integrity of the data and the accuracy of the data analysis. All authors read and approved the final manuscript.
Acknowledgements {#FPar1}
================
The authors thank Montserrat Martinez (Statistics Unit, IRB Lleida) for her valuable assistance in conducting the statistical analysis. We particularly acknowledge the patients, IGTP-HUGTP and IRB Lleida (B.0000682) Biobanks (part of the Spanish National Biobanks Network of ISCIII PT13/0010/0009 and PT13/0010/0014, respectively), and the Tumor Bank Network of Catalonia for their collaboration.
Competing interests {#FPar2}
===================
The authors declare that they have no competing interests.
Availability of data and materials {#FPar3}
==================================
Primary material is held by the authors.
Consent for publication {#FPar4}
=======================
Authors give full consents for publication of the present article.
Ethics approval and consent to participate {#FPar5}
==========================================
The Local Ethics Committee of both participating centers approved the protocol, and all the participants signed informed consent forms.
Funding {#FPar6}
=======
This research was supported by grants from the Spanish Ministry of Health, the Carlos III National Institute of Health (PI12/0183 and PI15/0625) and European Regional Development Fund (ERDF). CIBER for Diabetes and Associated Metabolic Diseases (CIBERDEM) is an initiative of ISCIII, Spain. The Health Sciences Research Institute Germans Trias i Pujol is part of the CERCA Programme/Generalitat de Catalunya.
Publisher's Note {#FPar7}
================
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
|
(When I started off I was like hmm this D of LDT is annoying. Then I finished that, and found out I also had to do the little fucking text with letters like S C, O and U. FIUAYFKGAWLIAW. But I finished it.)
EDIT2:
The textures are a little cheesy.
I used a scaled up orange dev texture for the orange, and the white thing is some sprite texture, I am unsure wether or not this actually works properly..... so thats for you to find out ^^
I've updated the logos, since they had an extremely large and unnecessary invisible canvas around them, which made the file size 4 times larger than it had to be. I also fixed some minor color distortions around the edges.
Edit:
I also updated the VMT files. Each decal now have 4 different preset sizes to choose from with the decal tool (it can be tedious for you to manually resize all logos in your map with the overlay tool).
I also put the decals in their own folder to keep the materials folder organized and clean. |
Vertigo
Just like the Hitchcock film, these hypnotic earrings really draw you in with their mesmerizing wave and concentric circle patterns.These earrings feature our sterling silver serpentine festoon pendant and teardrop post earring tops. You’ll definitely feel like a woman of mystery in these stunning, exotic earrings! |
472 So.2d 170 (1985)
STATE of Louisiana
v.
Kevin KNOX.
No. 85-KA-23.
Court of Appeal of Louisiana, Fifth Circuit.
June 3, 1985.
*171 Martha E. Sassone, Indigent Defender Bd., Gretna, for defendant-appellant.
Dorothy A. Pendergast, Asst. Dist. Atty., Research & Appeals, Gretna, for plaintiff-appellee.
Before BOUTALL, BOWES and CURRAULT, JJ.
BOUTALL, Judge.
Kevin Knox was charged by bill of information with armed robbery, a violation of LSA-R.S. 14:64. Following trial defendant was found guilty as charged and sentenced to 15 years at hard labor. This appeal followed.
Appellant assigns two errors for our review:
First, whether the evidence is sufficient to support a conviction for armed robbery, and
Second, whether the trial court erred in sentencing defendant to a term of 15 years at hard labor. We find no errors and accordingly affirm.
FACTS
On March 14, 1983, at approximately 4:00 p.m., a man walked up to the window at the Avondale Fotomat and asked Patricia Comeaux for a certain type of film. When Mrs. Comeaux turned to look it up in a book, the defendant lunged halfway through the window into the booth, held a knife to her stomach and announced, "This is a robbery." The robbery lasted for three to four minutes. Defendant fled with $60.00 in cash.
Two days after the robbery, a Jefferson Parish Sheriff's Officer asked Mrs. Comeaux to look through a photographic line-up to see if she could identify the robber. Mrs. Comeaux identified the defendant, and defendant was arrested.
At trial, the defendant claimed an alibi as his defense.
ASSIGNMENT OF ERROR NO. 1
Knox contends the evidence is insufficient to justify a verdict of armed robbery. Specifically, he argues the photographic identification by Mrs. Comeaux constitutes insufficient evidence to support the verdict, contending that the photographic line-up, which consisted of four photographs, was an inadequate number to test the reliability of the victim's identification. Appellant does not allege, however, that the line-up in any way focused unfairly on him. It is further argued that Mrs. Comeaux did not correctly identify the defendant because in her report to the police she failed to give an accurate description of defendant's weight, height, or facial features. Thus, the argument continues, this weak identification versus the defendant's six alibi witnesses amounts to insufficient evidence for conviction.
A claim of insufficient evidence is judged by whether, after viewing the evidence in the light most favorable to the prosecution, any rational trier of fact could have found the essential elements of the crime proved beyond a reasonable doubt. Jackson v. Virginia, 443 U.S. 307, 99 S.Ct. 2781, 61 L.Ed.2d 560 (1979). Under the Jackson rationale, the state is required to negate any reasonable probability of an incorrect identification in order to carry its burden of proof. State v. Long, 408 So.2d 1221 (La.1982); State v. Cockerham, 442 So.2d 1257 (La.App. 5th Cir.1983).
To prove that it was Knox who committed the crime, the state elicited testimony from Mrs. Comeaux regarding her identification of the defendant. Mrs. Comeaux testified she had a full opportunity to view *172 the defendant during the robbery, that the robbery lasted three to four minutes in daylight, and that she was absolutely certain he was the robber. She testified that there were no distinguishing facial features of the defendant but that "he was very close to my face and there wasn't anything definite about it but I remember exactly what he looked like." Moreover, contrary to defendant's contention, she was able to describe the defendant and his clothing. She testified he was wearing a white short sleeved T-shirt, grey pants, and a round bibless cap and that he was a tall, thin black man, but because he was stooped over into the Fotomat booth, she could not tell exactly how tall he was.
The state also presented the testimony of an eye witness to the crime, Yvonne Bennett, who corroborated the fact that Mrs. Comeaux was robbed but because she was a distance away and the defendant had his back to her, she could not identify him. She did corroborate Mrs. Comeaux as to the perpetrator's clothing.
Defendant offered his testimony plus the testimony of five alibi witnesses, to testify defendant was at home watching TV with his family at the time of the robbery.
Obviously, the jury was presented with a credibility choice: whether to believe Mrs. Comeaux and Mrs. Bennett or defendant and his alibi witnesses. The jury chose to believe the state's witnesses, and we find no error in that choice. It must be remembered that the victim identified the defendant two days after the robbery; and we believe that the circumstances surrounding her observations of the defendant during the robbery were highly favorable because of the duration of the robbery, the fact that it occurred in daylight, and the face-to-face contact.
Moreover, we do not believe the fact that there were only four photographs in the photographic line-up in any way prejudiced the defendant. As stated in State v. Davis, 409 So.2d 268, 270 (La.1982) "[i]n the final analysis, it must be determined [as a matter of due process] whether under all the circumstances of a particular case there is a very substantial likelihood of irreparable misidentification." We find none herein.
We therefore conclude that viewing the evidence in the light most favorable to the prosecution, a rational trier of fact could have found the essential elements of the crime proved beyond a reasonable doubt.
Accordingly we find no merit to this assignment.
ASSIGNMENT OF ERROR NO. 2
Appellant next contends the trial court erred in sentencing him to 15 years at hard labor.
Specifically, appellant contends the trial judge failed to comply with the sentencing guidelines of La.C.Cr.P. art. 894.1, and that his sentence is excessive.
Article 894.1.C provides that a court shall state for the record the considerations taken into account and the factual basis in imposing sentences. The trial judge gave his reasons as follows:
Bearing in mind the sentencing guidelines that I am mandated to follow and considering most importantly that a lesser sentence would depricate (sic) the seriousness of your crime which was one of the most reprehensive crimes in this case, it is the sentence of this Court, when I say reprehensible I mean reprehensible by the categories, it was after all a crime of armed robbery...
Our review of the record reveals the evidence supports the trial judge's reasons for sentencing. However, even the absence of adequate compliance with art. 894.1 it is not necessary to remand for resentencing where, as here, the sentence is not severe in relation to the offense committed. State v. Davis, 448 So.2d 645 (La.1984).
LSA-R.S. 14:64, armed robbery, carries a minimum sentence of 5 years and a maximum sentence of 99 years. Defendant's sentence of 15 years is thus within the lower range of sentences authorized by R.S. 14:64. See State v. Square, 433 So.2d 104 (La.1983) (25 years not excessive for 22 year-old first felony conviction); State v. *173 Jones, 412 So.2d 1051 (La.1982) (15 years not apparently severe); State v. Richard, 457 So.2d 872 (La.App. 3rd Cir.1984) (18 years not excessive for 18 year-old first felony offender); State v. Butler, 450 So.2d 764 (La.App. 5th Cir.1984) (25 years not excessive and only one prior attempted robbery); State v. Morgan, 439 So.2d 643 (La.App. 1st Cir.1983) (15 years not excessive). We thus conclude that the instant sentence is well within the trial judge's broad sentencing discretion and is not excessive.
We note, however, that while appellant complains that his sentence is excessive it is in fact illegally lenient. LSA-R.S. 14:64 provides in pertinent part, "[w]hoever commits the crime of armed robbery shall be imprisoned at hard labor for not less than 5 years and for not more than 99 years, without benefit of parole, probation or suspension of sentence." (Emphasis added.) Because the trial judge did not state that the sentence was to be served without benefit of parole, probation or suspension of sentence as the statute requires, Knox's sentence is illegally lenient.
An appellate court should not correct an illegally lenient sentence where the court has not been formally requested to do so. La.C.Cr. art. 882, as amended, provides:
A. An illegal sentence may be corrected at any time by the court that imposed the sentence or by an appellate court on review.
B. A sentence may be reviewed as to its legality on the application of the defendant or of the state:
(1) In an appealable case by appeal; or
(2) In an unappealable case by writ of certiorari and prohibition.
* * * * * *
(Emphasis added.)
In the instant case, neither the state nor the appellant has made application to correct the illegal sentence.
In State v. Jackson, 452 So.2d 682 (La. 1984) the defendant was convicted of simple burglary of a pharmacy and sentenced to 10 years in prison. The trial judge failed to mention that the sentence was to be served without benefit of parole, probation or suspension of sentence as required by the statute. On appeal, the sentence was amended to provide that the defendant was not eligible for parole even though the prosecution had not raised the issue in a trial or appellate court. The Supreme Court accepted writs on the issue and reversed that portion of the judgment of the appellate court amending the sentence. The trial judge's sentence was reinstated and the Court said,
We hold that an appellate court under such circumstances should disregard sentencing errors favorable to the defendant unless the prosecution has raised the issue in the trial court and has sought appellate review ... [if] a trial judge imposes a sentence without mentioning denial of parole eligibility required by a statute, it is inappropriate for an appellate court to correct the sentence when the defendant alone seeks appellate review. Only the prosecution can seek correction of the error, and this should be done by applying first to the trial court subject to subsequent appellate review.[1]
Id. 682, 684 (citations omitted).
Subsequent to the Jackson decision and the amendment to art. 882, a panel of this court decided State v. Robertson, 459 So.2d 581 (La.App. 5th Cir.1984). In Robertson, the defendant was convicted of attempted armed robbery and sentenced to 10 years at hard labor. The trial judge did not specify that the 10 years were to run without benefit of parole, probation or suspension of sentence, a requirement of any sentence for an attempted armed robbery. On appeal, the state suggested during oral argument that the appellate court under the authority of the amended art. 882, should correct the illegal sentence; however, the issue was not briefed. The panel rejected *174 the state's suggestion, noting that while art. 882 gives appellate courts the authority to correct an illegally lenient sentence on the application of the defendant or of the state, the panel was not prepared to say that the prosecution had made sufficient application therein under the terms of art. 882. The panel felt that the prosecution had to first approach the district judge regarding correction of the sentence, which would then be subject to appellate review.
We agree with Robertson. In the instant case, the state has not sought a correction of the illegal sentence; neither has the defendant. According to the Jackson and Robertson decisions, as well as art. 882 as amended, we should not consider an illegally lenient sentence where neither the state nor the defense has formally requested such review.
We thus hold that the sentence below is affirmed, as well as the conviction.
AFFIRMED.
NOTES
[1] Under art. 882, which was amended after the Jackson decision, either the state or the defendant may seek review of an illegally lenient sentence.
|
Taxi TechBlog 1: Data Prep and Backend
A week ago, I published NYC Taxis: A Day in the Life and it went a little bit viral. This seems to be the perfect mix of some brand new (for me) techniques that were a huge hit, along with subject matter that seemingly everyone can relate to. This is part 1 of 2 of a techblog about how I built this visualization, and will cover data munging and building the backend. The next post will talk about the frontend, including animations and charts.
On Monday afternoon, someone from Heroku (where the app is hosted) noticed the spike in traffic and the subsequent failed page loads, and contacted me to recommend turning on more dynos (I am not very experienced with heroku and had no idea what that meant, but it literally came down to dragging a slider, and the traffic became much more manageable.) Heroku also generously added me to their beta program to help cover the costs of the additional dynos.
Concerned about almost $1000 in overages on my Mapbox account in the first 12 hours, I took to the twittersphere asking the civic hacker community for some advice on how to deal with the situation. Monetize with ads? Add a paypal donate button? Switch to Open Street Maps’ free tile solutions? The chatter caught the attention of Mapbox, who got in touch with me within an hour and offered to sponsor the app! (I had already switched out the mapbox maps and put up a OSM tileset, but not having a dark, subdued basemap was suboptimal for the visualization. In any case, OSM rules and deserves a shoutout for making hosted, leaflet-compatible tiles available for the world to use)
At the time of this posting, the visualization has been shared over 4700 times on Facebook, 3700 times on Twitter, had 300,000 pageviews from 216,000 visitors.
Querying the Data
I’d FOILed the 2013 taxi trip data a few months ago. The blog post I wrote about it had gotten some attention, and resulted in dozens of requests to share the data. Many people came to the BetaNYC hacknights, hard disk in hand, to transfer the data on the spot. About a month ago, some of the requesters urged me enough to create a couple of torrents. At the same time, Andrés Moroy (someone I don’t know except via twitter) offered to host it so I finally got all 50GB zipped and uploaded.
Over the next couple of weeks, data scientists all over the world started publishing lots of interesting analyses of the data, and after someone loaded the data into Google BigQuery, a rather interesting thread erupted where people were showing off all sorts of ways to slice up the 173 Million Rows quickly. This would prove to remove a huge barrier to entry for me.
I’m not sure when the idea of “a day in the life” of a taxi came to mind, but it came directly from the simple question: “How much does a single taxi/driver earn in a single day/shift?” I’d heard that many drivers rent their shifts and need to earn back enough to break even before they take anything home. I’ve done similar static “Day in the life” map projects using the twitter API as well. Because the time and start/end location of each taxi trip was available, it just made sense to follow along to see when/how/where they earned their money over the course of he day.
I set out trying to figure out how to use BigQuery to get the data I wanted: A full day’s trips for a single medallion. With a hard-coded medallion and date, I was able to slap together a query that worked, but I had no idea how to pull all trips from a random cab on a random date, let alone man random cab/days. Reddit to the rescue! u/fhoffa, who started the Taxi Data BigQuery thread, helped me out in an hour with the exact query I needed:
The combination of having the data in BigQuery and a rather awesome community on Reddit already working on the data probably saved dozens of hours if I had tried to do all of this on my own. I can’t stress enough how important the community is to civic hacking projects like this.
So, data in hand, I see that there are around 30-60 trips a day for most of these vehicles. We have a time succession of geographic points, which is enough to string together into a line. This can be animated, as I’ve done in this animation of twitter user’s movements, simply moving a dot “as the crow flies” between the start and end points, and keeping accurate time with an accelerated clock. However, simply moving a dot between start and end points wasn’t going to cut it for this visualization. I wanted to show something that resembles a car actually driving, so I needed a way to trace out a reasonable driving path for each trip. Enter the Google Directions API.
The route is our overall trip, which is divided into legs. This API call included only an origin and destination, so there’s only 1 leg. If we had added waypoints to our API call, we could have up to 9 legs returned.
Each leg has steps, which are basically chunks of the trip that don’t require some instruction to the driver, such as turning or merging onto a highway. Each step has its own html_instructions that are the same thing Google would show you for turn instructions if you got directions via google maps. Neato.
But wait, how does this help us map the step/leg/route? Here’s where it gets interesting. Each step includes a polyline, which looks like this:
"polyline" : {
"points" : "az~vF|jmbMzJiA"
}
What the heck does az~vF|jmbMzJiA mean? It turns out that this is google’s super-compressed format for encoding polylines. This string can be decoded into a series of latitude/longitude coordinates representing the path to be followed for this step! There’s a handy widget for decoding/encoding these and mapping them on the fly here. Give it a try. Copy az~vF|jmbMzJiA and paste it in, see what you get.
Further down in the JSON response from our API call, there’s an overview_polyline that shows the entire route strung together:
Go ahead, try that one in the decoder widget too. You’ll see that the results don’t seem to make sense, as the polyline starts on the roads and then wanders off in seemingly wild directions. This is because there are escape characters in the encoded string. Look above, every place you see “\\” is really meant to represent a single backslash. Try the encoder tool again, you should see a more sensible path.
Use BigQuery to get a bunch of random trip/days Download them as a CSV
Write a node script to build out API calls for each series of 4 trips (Each API call can handle and origin/destination and up to 8 waypoints, meaning 9 total legs per call. Each taxi trip consists of two legs, the trip itself and the “downtime” between this trip and the next trip. So, we can efficiently handle 4 trips/8 legs per API call)
Append the polylines to the raw data, also append the start time of the next trip as a value for the current trip (so we know how long the “downtime” lasts)
Move everything into a sqlite database
Build a node server with a single endpoint, /trip, that will query the sqlite db for all trips for a random medallion, convert the results to geoJSON, and send the response to the browser.
getDirections.js opens our bigQuery results CSV, builds out API calls, and appends the appropriate polylines to the raw data. You can check out the code in my github repo. I won’t go into too much detail here, but I basically slice the number of trips for each taxi into groups of 4 or less, use the start point of the first trip as my origin, and the start point of the next group of 4 or the last stretch of downtime as my destination. The rest of the start and end points are waypoints. Once everything is stored in the appropriate strings/arrays, I build out my API call like this:
I store all of the fullApiCall strings in an Array that I use later to actually make the calls and process the results.
There’s also a step to combine all of the polylines for the steps into a large polyline for each trip or downtime. This is done using the Mapbox package I talked about before, getting the encoded latitude and longitude coordinates, linking all of the steps together for a single trip, and then re-encoding them.
Next a function called createGeojson() decodes the polyline for each trip and downtime, and creates a properly formatted geoJSON LineString. These are pushed to a featureCollection, and that featureCollection is sent back to the browser as a response.
It weighs in at 131kb for this trip. It would have been more efficient to decode the polylines client-side, but I really wanted to just have geoJSON ready to go for d3. Give it a try, copy the geoJSON result and paste it into GeoJSONLint and you’ll see a taxi’s trips for one day:
So there you have it, I combined raw taxi trip data with google directions API results, put them in a database and built a simple API endpoint to grab one random, and serve it up as proper geoJSON. Done-zo.
In the next post, I’ll detail how I built the frontend, designed the visualization and made the timing, animations, and charts work. Stay tuned, and thanks for reading! |
Liverpool fan in £4,000 payout over Old Trafford toilet row Published duration 11 September 2015
media caption The Liverpool fan received £4,000 for false arrest by Greater Manchester Police in a row over fans being allowed access to the toilet.
A Liverpool supporter has received £4,000 after allegedly settling a false arrest claim sparked by a row over fans being allowed access to the toilet.
Kieth Culvin sued Greater Manchester Police (GMP) over his arrest for allegedly assaulting an officer after a match between Manchester United and Liverpool at Old Trafford in 2013.
The Spirit of Shankly committee member said he regularly negotiated with police before matches
A GMP spokesman declined to comment.
Details of the case have been released by the Football Supporters' Federation (FSF), which helped Mr Culvin in his legal action.
Mr Culvin said he was among a Spirit of Shankly deputation which agreed with GMP that fans would be allowed access to toilets when they were kept behind at the stadium after the match had finished.
image copyright Spirit of Shankly image caption Mr Culvin claims was arrested after the officer tumbled
But, on the day of the game, he alleged he had to intervene when officers inside the ground did not appear to be keeping to the agreement.
He claimed as he tried to make the fans' case he saw a figure in yellow tumble over seats near him and he later discovered it was a police officer.
The fan alleged he thought he was arrested by officers who believed he pushed the PC over.
Mr Culvin claimed the case was later dropped when mobile phone footage appeared to exonerate him.
He asserted that relations between Liverpool fans and GMP had improved, but added: "Sadly on this occasion, the policing from some left a lot to be desired."
FSF case worker Amanda Jacks said: "What made the real difference here... was Kieth himself having the presence of mind to ask his fellow fans to use their mobile phones to film events as they unfolded." |
RCC Institute of Information Technology
RCC Institute of Information Technology (RCCIIT) is a government-aided engineering college of eastern India located in Kolkata, West Bengal, India. It ranks as one of the premiere engineering colleges in West Bengal. The college was established in 1999. Government aids are given to the institution by Government of West Bengal and is academically affiliated to West Bengal University of Technology. All the faculties of this institution are recruited by the Government of West Bengal .
The RCC Institute of Information Technology (RCCIIT) was set up in 1999 headed by Jadavpur University.
The institute initially started with only three streams viz. Bachelor's in Computer Science and Information Technology and Master's in Computer Application. In 2006, a new stream was added to the bachelor's degree - Electronics and Communication Engineering. From 2010 onwards many new streams and master's degree in different Engineering courses were added.
The institute is currently headed by Prof. (Dr.)Ashok Mondal as the principal and Prof.(Dr.) Ajoy Kumar Ray(Padmashri) who has been given the responsibility of chairing the RCCIIT society by the Department of Higher Education, Government of West Bengal.
The Institute
The institute is a unit of the RCC Institute of Technology, an autonomous Society of Department of Higher Education, Government of West Bengal, with part funding from the Government of West Bengal. This provides the institution a degree of autonomy normally associated as a privatisation, while being administrated and funded by the Government. It has been selected for a TEQIP grant in the govt/govt aided category by the World Bank
Its comparatively low tuition fees (including both full and half fee waiver for students having low parental income annually) are made possible according to the Government's norms.
Location
The college campuses are located at Canal South Road, Beliaghata, Kolkata-700015. The old campus is housed at the old Government College of Engineering and Leather Technology campus. A new campus is about 20 metres from the old campus. There is no hostel facility in this college. The campus is a 10 minutes drive away from East Metropolitan Bypass (near Chingrighata- away). The nearest airport is Netaji Subhash Chandra Bose International Airport at Dum Dum, Kolkata. It is a 10 minutes walk away from the nearest bus stop Beliaghata (CIT More) and is well connected with the two city stations, Howrah and Sealdah.
Courses
RCC Institute of Information Technology is one of the few colleges in the state which is dedicated to train Computer Engineers and IT Personnel. It offers courses in the following streams.
Under-Graduate Courses
Computer Science & Engineering
Information Technology
Electronics & Communication Engineering
Electrical Engineering
Applied Electronics And Instrumentation Engineering
Post-Graduate Courses
Master of Computer Applications
Master of Technology (M.Tech.) in 3 disciplines:
Telecommunication Engineering,
Information Technology and
Computer Science Engineering
Admissions
Admission to the undergraduate B.Tech. courses is done through the WBJEE or All India Engineering Entrance Examination. Post graduate admissions are done on the basis of ranks in national entrance examinations like GATE or the state level examination PGET conducted by MAKAUT, WB.
Student life
The following activities are organised by the students and college:
Freshers Welcome
Freshers are welcomed to the institution by their seniors every year with a cultural event known as BIHAAN.
Technical Fest
The students of the college organize a technical fest every year which sharpens their technical skills known as Techtrix. Software competitions, paper presentations, programming in various languages, technical quiz, robotics and debate competitions are held. Technical colleges from all over the state participate in the competitions. Seminars and exhibitions are also held as a part of this program.
Cultural Fest
Every year the college holds an annual fest, Regalia, organized by the students. Students from various colleges compete with other in the fields like drama, choreography, quiz, antakshari, solo and group singing competition, fashion shows, war of bands, and various other fields. Students of the college perform skits, musical performances and plays. To make it more entertaining skilled performers from different genres are invited. Some major music bands and singers rock the students. Apart from the annual fest there are other cultural programs, organized round the year where the students get a chance to show their talent.
Sports
The students organize intra-college and inter-college sports in variety of games and sports such as Table-Tennis,Cricket Football and Carrom tournaments. The inter college sports fest is known as "Game of Thrones" and the intra college sports fest is known as "Krirathon".
Research collaborations
The institute has partnered with the following:
MoU with University of California, US
Proposed MoU with EU-IndiaGrid Project
MoU with University of Cagliari, Italy
Proposed MoU with Computer Sc. Dept., Bremen University, Germany
Inclusion in EMMA Project of European Community
Proposed MoU with IBM: RCCIIT proposed as IBM Center of Excellence
Renewal of MoU with Infosys - RCCIIT proposed as Nodal Center of Infosys Campus Connect Training
Proposed MoU with IETE, Kolkata Chapter
Two MODROBS Project with AICTE
Projects proposal under process with DST (Fast Track) & C-MET (Trichur)
Health Grid Project of BRNS,Dept. of Atomic Energy in collaboration with VECC Kolkata
At least two placement tours in different cities of the country to introduce RCCIIT to companies who have not recruited students from the institute. The target is to bring one or two new companies for campus interview every year.
See also
Government College of Engineering and Leather Technology
Kalyani Government Engineering College
Government College of Engineering & Textile Technology Berhampore
Bankura Unnayani Institute of Engineering
Engineering education in India
References
External links
Official website
Category:Information technology institutes
Category:Colleges affiliated to West Bengal University of Technology
Category:Engineering colleges in West Bengal |
The fusion of deutrium and tritium releases much of the reaction energy in the form of highly energetic 14.1 MeV neutrons. Considerable effort has been spent in the past few years in a search for means to capture this neutron kinetic energy and convert it efficiently to chemical binding energy and in particular to a substitute natural gas. Past studies indicate that for pure gas phase radiolysis (such as CO.sub.2) both the "capture" and the "conversion" are difficult and present low output yields of CO in the order of G(CO)<10.
Representative prior art of this type developed by the assignee of this invention is as follows:
U.S. Ser. No. 725,339 filed Sept. 21, 1976 (continuation-in-part of U.S. Ser. No. 548,231 filed Feb. 10, 1975) for Pyrochemical Processes for the Decomposition of Water; PA0 U.S. Ser. No. 718,026 filed Aug. 26, 1978 (continuation of U.S. Ser. No. 414,367 filed Nov. 9, 1973, now abandoned) for Production of Hydrogen Based Gaseous Fuel; PA0 U.S. Ser. No. 667,610 filed Mar. 16, 1976 (continuation-in-part of U.S. Ser. No. 416,998 filed Nov. 19, 1973, now abandoned), now U.S. Pat. No. 4,140,601, for Multi-Step Chemical and Radiation Process; PA0 U.S. Ser. No. 675,137 filed Apr. 8, 1976 (continuation of U.S. Ser. No. 478,877 filed June 7, 1974), now U.S. Pat. No. 4,132,727, for Method and Apparatus for the Manufacture of Methanol; and PA0 U.S. Ser. No. 609,834 filed Sept. 2, 1975, now U.S. Pat. No. 4,144,150, for Means and Method for Processing Chemicals with Radiation.
The radiolysis of C(S)+CO.sub.2 is not new. The United Kingdom Atomic Energy Authority has been concerned for many years about graphite rod gasification under radiation conditions, Dominey, D., H. Morley, and R. Waite, The Radiolytic Reaction between Graphite and CO.sub.2, AERE Report R. 4987 (1967).
This considered the radiolytic reaction between graphite and CO.sub.2 and found that the reaction C+CO.sub.2 goes at temperatures as low as 400.degree. K. in the presence of radiation. Without radiation, the normal temperatures necessary to achieve reaction are well in excess of 900.degree. K., Copestake, T. and N. Corney, "Radiation induced Reaction of CO.sub.2 with Graphite," 3rd Conf. on Indust. C, London (1971).
This study of the radiation-induced reaction of CO.sub.2 with graphite found that there was a significant increase in the reaction rate for very small particle sizes and for low CO.sub.2 pressures. Their highest observed G value, however, was only 2.6. Anderson and Dominey in Radiation Research Reviews 1, 269 (1968), report a maximum in graphite pores of 4.6 with half believed to be derived from the gaseous CO.sub.2. At that time, Anderson and Dominey believed that the energy was absorbed by the CO.sub.2 gas, leading to chemically active species which attacked the graphite, rather than by energy absorption by the graphite itself. In a dissertation performed at the University of Utah in 1974, Che, S., "Microwave Pyrolysis of Coals of Polynuclear Hydrocarbons," Ph.D Dissertation, U-Utah, irradiated coal using microwaves. He finds that microwave pyrolysis of coals is a rapid gasification process. All of the experiments are difficult and quantitative information with respect to the mechanism of the reaction sequence and even the resulting yields as a function of the input energy, are not well understood.
It is clear that the prior art has not resulted in large yields of CO from radiolytic processes from either CO.sub.2, C or mixtures thereof, nor has it derived any processes where the expected G(CO) could be radically increased by an order of magnitude.
Neither has there been any specific radiolysis treatment of C(S)+CO by high energy neutrons achieved from fusion reactions to convert the neutron kinetic energy to thermal energy for efficiently thermally driving the C(S)+CO.sub.2 .fwdarw.2CO process in supplementation of the radiolysis process to produce a higher G(C0) yield to an order of magnitude. The present invention proposed the combined effects of radiolysis, thermal drive at higher, more efficient temperature ranges and scavenging of O.sub.2 by C to produce greater G(CO) yields in the order of 100. |
"This is absolutely incorrect and is causing a lot of confusion amongst travel agents and passengers. There has been NO such notification. There is no such requirement," the airline was quoted as saying in a statement.
The aviation regulator is said to have cracked the whip on the airline after it said that as part of its cost-cutting initiative it would only operate 22-24 aircraft, down from 35 planes which were in service till two months ago.
Reports have surfaced which suggest that the Directorate General of Civil Aviation (DGCA) has sought financial and operational information from the airline.
The DGCA is said to have asked the airline to furnish data regarding bookings and its plans to operate a truncated fleet.
It has taken into account the number of allocated flying slots given to the airline and directed it to make immediate refunds on cancelled flights.
However, DGCA officials did not comment on the type of measures it has taken against the airline or the information it has sought from the budget passenger carrier.
"We are looking into the matter and are in touch with the its management. Data regarding fleet reduction and cancellation of flights are being investigated," a senior DGCA official said.
Meanwhile, the airline said that it has adequate pilots to manage its fleet and that with the current aircraft in operation, the average flying hours per pilot have been reduced.
The development comes amidst a slew of reports that the airline is facing a financial meltdown and will not be able to continue operations due to an exodus of pilots and mounting debt.
The airline recently reported a Rs 310 crore loss for the quarter ended on September, down from the Rs 560 crore loss in the corresponding period of last fiscal.
The airline had also reduced its fleet size and is now operating only 26 aircraft from a fleet size of 35 earlier this year.
Even the company's auditors SR Batliboi Associates have doubted the airline's ability to stay afloat.
Civil Aviation Minister Ashok Gajapathi Raju said on Thursday that the current business environment is tough for doing aviation business in India and that the current regulations are not helping the sector.
"We have to focus on removing bottlenecks for the sector and make it sustainable again," Raju said, adding that the latest news about the losses made by budget carrier SpiceJet was like getting a 'heart attack'. |
"Ye will teach them to walk in the ways of truth and soberness; ye will teach them to love one another and to serve one another."
Mosiah 4:15
Wednesday, January 22, 2014
March 2014 LDS Primary Sharing Time Helps and Ideas
Christ and Child by Carl Bloch 1873
Monthly Theme: Jesus Christ is Our Savior.
Monthly Scripture: "We have seen and do testify that the Father sent the Son to be the Saviour of the world." 1 John 4:14
Week 1 I can gain a testimony of Jesus Christ.
* "In conferences we can receive the word of the Lord meant just for us.... On a computer, phone, or other electronic device, we can read, listen to, watch, and share the teachings of the prophets. Anytime, anywhere, we can enlarge our knowledge, strengthen our faith and testimony..." Elder Robert D. Hales Oct. 2013 General Conference "General Conference: Strengthening Faith and Testimony" This quote was very recent. If we want to strengthen our faith and testimony of Jesus Christ, we should study the words of General Conference!! Divide into groups and give them stories to read from the talks in conference. You can give them highlighted portions of the talk. How do these words help us to believe in Jesus?Some great stories include: Brother Moses Mahlangu HERE (He wasn't able to attend church because of the laws of the country, but still listened by the windows outside. How did he strengthen his testimony in Jesus?) Elder Dube HERE (He had to pull weeds with his mother and she told him to always look forward to what needs to be done. He also made a comparison with the Saints when they left Nauvoo. What does faith have to do with testimony of Jesus?) Elder Neilson HERE (A little boy thinks the prophet has called on the phone! What has the prophet called us to do in life? How can we develop our testimony with missionary work?) Thumb through the talks and pray for the spirit to guide you!
* HERE is a wonderful, wonderful, wonderful!!! article from lds.org by Mindy Raye Friedman. I especially like her section where she talks about a large fire comes from small kindling (she has a great picture too). Of course, you'd have to preface your lesson that WE NEVER PLAY WITH MATCHES!!!!!! As a visual though, you can bring in some small sticks and let the children add them to a pile (maybe ask some scouts about a good wood formation to start a fire!) As they add a stick they have to say something they can do to gain a testimony of Jesus. They can also add sticks by reading scriptures about testimony or singing a song as a primary about testimony. We want a bright burning testimony always in our hearts of The Savior, and it's the little things we do in life that will add to the flame!
And just for you teachers, a good reminder with this fire theme, ""Keep the fire of your testimony of the restored gospel and your witness of our redeemer burning so brightly that our children can warm their hands by the fire or your faith." Boyd K. Packer (Ensign, May 2003, pp. 84)
* "How does one gain what we call a testimony? The first step in gaining any kind of knowledge is to really desire to know. In the case of spiritual knowledge, the next step is to ask God in sincere prayer...
As we desire and seek, we should remember that acquiring a testimony is not a passive thing but a process in which we are expected to do something...
Another way to seek a testimony seems astonishing when compared with the methods of obtaining other knowledge. We gain or strengthen a testimony by bearing it...
A personal testimony is fundamental to our faith. Consequently, the things we must do to acquire, strengthen, and retain a testimony are vital to our spiritual life. In addition to those already stated, we need to partake of the sacrament each week (see D&C 59:9) to qualify for the precious promise that we will “always have his Spirit to be with [us]” D&C 20:77. Of course, that Spirit is the source of our testimonies." Elder Dallin H. Oaks Testimony May 2008 Ensign
This is a good visual to draw on the board. At the bottom we write a question mark, then we draw steps to Testimony of Jesus at the top. You'll need 5 steps. Use scripture stories or personal stories and ask the children to share any thoughts as you go over each step he mentioned: desire to know, pray, do something, bear testimony, partake of the sacrament each week.
Week 2 Through the Atonement of Jesus Christ I can repent and be forgiven of my sins.
* Everyone LOVES Matt and Mandy!! HERE is a great illustration of Mom doing wash. Read it to the children and show them the pictures. In the third box, you're going to have to briefly "expound" on when mom says, "When we're baptized our sins are washed away." This is absolutely true when a person is baptized after age 8. Before age 8, children DO NOT have sins that are washed away by baptism. After 8, because of baptism, their sins can be washed away! Click HERE for more information.
With that out of the way, continue on to the beautiful analogy of the Atonement being the only way possible to live life and do our wash!!
You could make a washing machine on a piece of paper with a cut out for children to insert a dirty shirt. Make a small whirring noise and shake the paper a little. Do you feel goofy doing this? Get over it, be a fun person! Smile! Hold a clean shirt up behind the washing machine and let the child reach in and get the clean paper shirt. Each time you do it repeat the weekly theme, "Through the Atonement of Jesus Christ I can repent and be forgiven of my sins!"
Do this about 10 times and have the children answer questions about The Atonement and repentance. Some questions could include:
Where did The Atonement take place? (The prayer in the Garden of Gethsemane, and the final Sacrifice on the cross... have pictures!)
Why do you think Heavenly Father and Jesus went through with The Atonement?
What do we need to do to repent?
Will we be forgiven if we truly repent?
* Ben Davis was a brave little boy! His story, HERE, was featured in The Friend. You could share this with the children. Have a white paper snowman and let a couple children tear it a few times, maybe into 8 pieces. We ALL make mistakes!!The Atonement makes repentance possible. When we repent, we are forgiven.
The little boy couldn't give back the snowman, but he did what he could to make it right again. Have a small/mini candy bar (IF THE SPIRIT PROMPTS YOU THAT IT IS OK, and please be aware of allergies!!!! I don't believe in sugaring up kids, it just goes with his story. We're using the sense of taste to reinforce the teaching.) for each of the children. Invite them to come up and choose a piece of the torn snowman to give to you and answer a question about The Atonement or repentance. Tell them not to eat the candy bar until after a special song. After the 8 children have gotten a candy bar, sing Repentance (CS pg.98). Tell the children you're watching for good singing and reverent manners... then pass out the rest of the candy bars so every child can have one. Now they can eat and reverently throw out wrappers.
When everyone is back in their chairs, bear testimony of The Atonement, repentance, and forgiveness.
* This is a little visual I made taking examples from the Book of Mormon. Bad choices were made, but because of The Atonement and their willingness to repent, they were able to then make good choices and be forgiven. Have the children tell you what these choices were.
After looking in depth at these examples, going over the stories with the children, what does The Atonement mean for me? We all make mistakes. Is it better to stay away from sin so we don't make serious mistakes? Can anyone think of examples from the scriptures of people who didn't understand the Atonement and repent.... what happened to them?
* HERE is the scripture story of Jesus Resurrected. It has 12 parts/pictures. If you feel like the children in your primary do NOT know the story or need it reviewed, then you can cut up the 12 parts and put them in numbered envelopes under chairs. Have the children come up front and bring their part when their number is called.
* HERE is a visual children can make of the different witnesses of Christ when He was resurrected.
* This idea is from Sister Elizabeth Ricks (April 2007 Friend) "Display three shoe boxes, and ask the children to raise their hands if they like to try on new shoes. Explain that you want them to imagine trying on some other people’s shoes, but more important you want them to imagine what it would be like to actually be that person. One by one, take out a pair of shoes from each box. (You can also display pictures or drawings of shoes.) Show a pair of boots to represent the soldiers who guarded Jesus’s tomb. Use detail to tell the story in such a way that the children can imagine being there when Jesus Christ was laid in the tomb. Next, use a pair of sandals to tell the story of Mary Magdalene. Ask the children how it might have felt to have been at the garden tomb when the resurrected Savior appeared. Last, show a pair of shoes that children in your area commonly wear. Ask how it feels to be a member of the Church and to have the knowledge that you will be resurrected because of the Atonement and Resurrection of Jesus Christ."
Sing “Did Jesus Really Live Again?” (p. 64), and bear testimony that the Easter story is the most glorious story in the world. Testify that Jesus Christ is the Son of God and that He died and was resurrected.
Recycled Ideas from previous posts:
* Have a picture of a sign "Dead End". What does this mean? Have a plastic toy bulldozer. How is Jesus Christ like a bulldozer? To some it may seem like when we die, there is no where else to go. But we know that there is more beyond the grave and Jesus has cleared the way because of His atonement and resurrection! Have the bulldozer run over the dead end sign!
* Have a teacher or another adult come to the front to help. Tie their hands together. What does that feel like? Can they do as many things with their hands tied? Mosiah 15:20 "But behold, the bands of death shall be broken, and the Son reigneth, and hath power over the dead; therefore, he bringeth to pass the resurrection of the dead." Cut the string. The teacher's hand is free now. How does that feel?
How does it feel to know that we aren't tied down to sickness, pain, and sorrow that comes from this earth life? Can you feel the spirit bearing truth, it's a peaceful happy feeling, that we are free! We will live again!!
Week 4 I can show respect for The Savior by being reverent.
* THIS is a must read in preparation for the week's topic. I'm going to highlight the part "What is my demeanor during a sports event?" and send it to my hubby. Sometimes he gets a little riled when it comes to his Seahawks. And can we all get an AMEN to , "Many problems with reverence can be defused with a well-prepared lesson in which the students participate."
* HERE is an article/activity from The Friend. They have a reverence jar that you could easily adapt to a sharing time. You'd be surprised, but sometimes simple things make a big impact and can be fun. They have a list of reverent things you can do to show respect. Cut those into strips and then make a list of about 10 things that are NOT reverent and cut those also into strips. Have children choose from a bag and decide whether it should go in the reverent jar... if it's not reverent, then it's not showing respect for Jesus! Have the child crumple up the paper and shoot it like a basketball into the garbage!
* "It is not enough to understand the gospel and value it. Reverence is an active, not a passive, feeling. It is not a mere “Shush!” It requires that we become thoughtfully and spiritually involved in our worship services, recognizing the importance of the Savior’s sacrifice in our behalf. " (Children Can Learn Reverence Ensign Feb. 1984 HERE)
Play a game of "SHUSH!!!!" Invite a primary friend to come up front to answer a question or read a scripture about reverence. Then have them turn around and cover their eyes. Tap 4 friends in the primary to stand up, one of the friends you tap hold your finger to your mouth. They are the friend that will go "SHUSH!!!". Then the one who is up front turns around and gets to guess who said, "SHUSH!!!" Have about 10-12 questions on reverence prepared.Some questions could include:
Why is walking in the hallways of church, even on a weekday, important and showing respect for The Savior?
What are some ways you can show reverence during Family Home Evening?
What does it mean to be "spiritually involved in our worship services"?
How would you describe the reverent feeling you get at the temple?
Why is dressing modestly showing reverence?
Can you name someone in the scriptures who showed reverence?
* "The more one loves God, the deeper will be his reverence for Him." (President Romney Ensign Sept. 1982)
Have a bunch of paper hearts! A lot! A lot! A lot!! Let children have as many as they want to write down reasons why they love Jesus. Some examples could include: He died for me, He created fish, He healed people, He helps me, He gave me my family, He sacrificed.... Have a big bucket to put the hearts in.
Have green squares with paper clips. On these green squares you can have quotes, questions, scriptures or songs about reverence. When we love Jesus, we have reverence there too!! Love and reverence go hand in hand!! Invite a friend to fish out a reverence square and do what it says. Invite them to also choose a heart to read. Keep on repeating the quote, "The more one loves God, the deeper will be his reverence for Him." Sometimes leave out words and see if the children can fill in the blank!! For a fishing stick, just have a good magnet on the end of the string to pick up the paper clipped squares.
* Exodus 3:4-5"And when the Lord saw that he turned aside to see, God called unto him out of the midst of the bush, and said, Moses, Moses. And he said, Here am I.
And he said, Draw not nigh hither: put off thy shoes from off thy feet, for the place whereon thou standest is holy ground"
Have a picture of Moses and the burning bush. Have paper footprints scattered throughout the room. In this sacred occasion, Moses was standing on holy ground. We don't always stand on holy ground and we don't always have to take off our shoes to show reverence. But as we look at this example from the scriptures, we need to remember that when The Lord asks us to do something, we listen and show Him respect and love by being reverence.
On the paper footprints throughout the room you can have examples of people from the scriptures or stories of primary friends showing reverence!
For example: Enos knelt in prayer all day and all night. How does kneeling during prayer show reverence? Can someone tell me a little more about what he did?
Daniel refused to eat the King's meat and wine. He showed obedience. How does obedience help a person to be reverent? Later in life he refused to pray to other gods and was thrown into the lion's den. How does reverence protect us?
Suzy gave a great talk on faith last week. She showed reverence by being prepared and ready to teach by the spirit. She showed reverence by having a smiling face while she spoke- because reverence invites happiness!
Harold is always respectful of people's space. He doesn't poke others and keeps his feet to himself. More importantly, he is always listening and paying attention. You can tell he loves to learn about the gospel. Reverence is more than quietly sitting, it's thinking of Father above!!
If you do decide to do examples out of the primary children, PLEASE PREFACE and make it positive! Tell the children that you are going to highlight some great reverence you've seen in primary, but everyone needs to know how special EVERY PERSON in primary is!! If they aren't on the footstep, that's OK, come to me after primary and I'll tell you a time that was noticed when you were being reverent. We are so blessed to have such a wonderful primary with children who show love and respect for The Savior by being reverent!!
Thanks for your help with this week's lesson. Also thank you for your attention to the fact that all the primary children are special and to not feel bad if they didn't get to hear when they were reverent. That's very considerate and appropriate of you. Primary should be a loving place and sounds like you're doing great!
Are men saved before they become part of the body of Christ? Are men saved prior to putting on Christ? Are men saved before they are baptized into Christ? The answer is no, no, no.
Men do not put on Christ before they are baptized in water.
Faith in Jesus precedes being baptized into Christ.Mark 16:16 "He who believes and is baptized will be saved..(NKJV)
Faith in Jesus precedes being baptized into Christ.Galatians 3:26-27 For you are all sons of God through faith in Christ Jesus. 27 For as many of you as were baptized into Christ have put on Christ. (NKJV)
Baptized into ChristRomans 6:3 Or do you know that as many of us as were baptized into Christ Jesus were baptized into His death? (NKJV)
Baptized into ChristRomans 6:3 Did you forget all of us became part of Christ Jesus when we were baptized? In our baptism we shared in his death. (ERV)
Baptized into ChristRomans 6:3 Did you forget that all of us became part of Christ when we were baptized? We shared his death in our baptism. (NCV)
Translate
1 John 3:18
"My little children, let us not love in word, neither in tongue; but in deed and in truth."
My brothers and sisters, I love you. I am not much. Heavenly Father gives me thoughts and ideas and I share in hopes that you will know how much I love you and all the children out there. Our lives are nothing without Christ, the Savior of the world. I hope that through this blog, my saying I love you isn't just words, but a meager deed to prove it's truth.
I DO NOT SPEAK OFFICIALLY FOR THE CHURCH OF JESUS CHRIST OF LATTER DAY SAINTS.
About Me
I love my Redeemer Jesus Christ. He is my Savior. I do everything I do to show my love for Him. I'm very humbled by all the people coming to visit my blog! Thank you for your time. I have a deep love for children, and have my entire life. All these ideas are inspiration from our Heavenly Father and I'm grateful to Him for His divine help! I firmly believe in following the guidelines given to us in manuals and the Sharing Time and Sacrament Meeting Outline.
I hope that this can be of help to you! These are "starting points" only. Please feel free to comment anytime or further instruct me. I'm always teachable! |
// Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#ifndef ESP_SCENE_SUNCGSEMANTICSCENE_H_
#define ESP_SCENE_SUNCGSEMANTICSCENE_H_
#include "SemanticScene.h"
namespace esp {
namespace scene {
class SuncgSemanticObject : public SemanticObject {
public:
std::string id() const override;
protected:
std::string nodeId_;
friend SemanticScene;
ESP_SMART_POINTERS(SuncgSemanticObject)
};
class SuncgSemanticRegion : public SemanticRegion {
public:
std::string id() const override;
protected:
std::string nodeId_;
std::vector<int> nodeIndicesInLevel_;
friend SemanticScene;
ESP_SMART_POINTERS(SuncgSemanticRegion)
};
struct SuncgObjectCategory : public SemanticCategory {
SuncgObjectCategory(const std::string& nodeId, const std::string& modelId)
: nodeId_(nodeId), modelId_(modelId) {}
int index(const std::string& mapping) const override;
std::string name(const std::string& mapping) const override;
protected:
std::string nodeId_;
std::string modelId_;
friend SemanticScene;
ESP_SMART_POINTERS(SuncgObjectCategory)
};
struct SuncgRegionCategory : public SemanticCategory {
SuncgRegionCategory(const std::string& nodeId,
const std::vector<std::string> categories)
: nodeId_(nodeId), categories_(categories) {}
int index(const std::string& mapping) const override;
std::string name(const std::string& mapping) const override;
protected:
std::string nodeId_;
std::vector<std::string> categories_;
ESP_SMART_POINTERS(SuncgRegionCategory)
};
} // namespace scene
} // namespace esp
#endif // ESP_SCENE_SUNCGSEMANTICSCENE_H_
|
Q:
How can I merge cells same data in Excel 2010?
I need to merge cells containing the same information and I'm new to Excel, so I could really use some help. Here's my situation. I was given 3 spreadsheets. The first with a User ID and a Department. The second has a User ID, First and Last name, and the third has a User ID and Roles. They aren't lined up in the same column, and I need to merge the User ID's into Column A and the other information to be in the same row without jumbling the information.
To explain it another way, if the User ID in Column A matches a User ID in column D, I need Column D to merge with the cell containing the ID in Column A. Then I need the correct First name, Last name, Department, and any roles associated with that User ID to be placed in their respective places in that row. Please help!
This is what the current spreadsheet looks like. The information I received in each spreadsheet is separated by black columns, but will be deleted. I put those in to understand where each set of data came from.
full image
This is what I want it to look like. The 2nd and 3rd role are only to be filled if a person has a 2nd/3rd role.
full image
A:
Here are the steps I used to tackled the problem:
Populate C2 and down (by dragging the fill handle) with the formula =Sheet2!A2
Populate B2 and down (by double clicking the fill handle) with the
formula =INDEX(Sheet2!B:B,MATCH(C2,Sheet2!A:A,0))
Populate A2 and down (by double clicking the fill handle) with the
formula =INDEX(Sheet2!C:C,MATCH(C2,Sheet2!A:A,0))
Populate D2 and down (by double clicking the fill handle) with the
formula =INDEX(Sheet1!B:B,MATCH(C2,Sheet1!A:A,0))
Populate E2 with the formula
=IFERROR(INDEX(Sheet3!$B:$B,SMALL(IF(Sheet3!$A:$A=$C2,ROW(Sheet3!$A:$A)),COLUMNS($E2:E2))),"")
which will need to be entered with Ctrl+Shift+Enter as it is an
array formula.
With cell E2 still selected drag the fill handle across to cells F2
and G2.
With cells E2, F2 and G2 still selected, double click the fill handle
to send the formulas down.
|
Carrick Church
Situated in Fermanagh, Northern Ireland, Carrick Church (Teampall Carraig) is approximately one mile to the north-west of the village of Derrygonnelly, on the shore of Carrick Lough. The Church is a late medieval structure built by the local chieftain of the time, Gilbert O'Flanagan II, and his wife Margaret in 1483 in 'Honour of God and Mary'. The O'Flanagan sept, who supplied many of the clergy for both Devenish and Inishmacsaint, were the chieftains of Tuatha Rátha. The territory of Tuatha Rátha covered approximately the area which is known today as the Barony of Magheraboy and their stronghold was situated at Baile Uí Fhlanagain in the townland of Aghamore on the shores of Carrick Lake.
Much trouble plagued the descendants of O'Flanagan and the Annals of Ulster record that in 1528 Gilleece O'Flanagan and his son Turlough were both murdered in the chapel, on the same day, by Patrick O'Flanagan. Gilbert II may have built a church at Aghamore (the Great Field) as a private chapel but it raises the question; did he have a difference with his kinsman who was Prior on Inishmacsaint or did he build it for prestige? Gilbert II died in 1496 and when his wife Margaret, who was a daughter of the ruling house of the Maguires of Fermanagh, died, she was buried at the Abbey in Donegal.
Carrick Church may have existed as a place of worship for the local people until penal times as there is no record of any other Roman Catholic place of worship in the area. Inishmacsaint church was taken over by the planters as Hume, the local landlord, did not build a church until 1688 at Drumenag. Despite the condition of the dangerous ruins the graveyard was utilized by the locals until around 1930. Many gravestones litter the grounds and some late 18th century inscriptions are still visible on the markers.
Nearby to this ruin, there is a well by the name of Tobarnasuil, from the Irish Tobar na Súil, meaning "well of the eyes". Its water is said to have healing powers to cure ailments of the eye.
Carrick Church and graveyard, in Aghamore townland, grid ref: H0962 5388, are Scheduled Historic Monuments. In December 2012 work, overseen by the Ulster Archaeological Heritage Society, was completed to secure the deteriorated ruins and prevent further collapse.
See also
List of archaeological sites in County Fermanagh
References
Category:Former churches in Northern Ireland
Category:Churches in County Fermanagh
Category:Archaeological sites in County Fermanagh |
When asked about accusations that the National Park Service would shut down hunting in Valles Caldera National Preserve if it came under NPS management, Bandelier National Monument Superintendent Jason Lott was unequivocal.
“In every discussion that I’ve participated in with the National Park Service, hunting has been seen as a value. There are no movements or discussion about limiting hunting up there,” Lott said.
“I would anticipate that it would be managed consistent with the way other federal lands are managed in New Mexico. Optimally, we would want to work with Game and Fish to make the best hunting and to maintain the resources at the Valles Caldera to the highest standards.
Lott’s opinion about the importance of hunting was nearly identical to that of New Mexico Game and Fish Director Jim Lane.
“There are not many predators on the elk herd, and without predators, we don’t have a way to manage that herd. Hunting is probably the best tool out there.”
Lott anticipates the only restrictions would be to areas such as the visitor center or campgrounds and for managing the number of people in an area at any given time.
“It’s 90,000 acres. I would think the overwhelming majority of that would be available for hunting. It’s the high use areas, where you have a high concentration of people in there, that you would want to consider some sort of restrictions,” Lott said.
“We want to avoid having 800 hunters coming on the same weekend. What we would want to do is manage it so that it’s actually better hunting if there are only so many hunters in the preserve at one time.
“So we’d want people to fish, we’d want people to hunt, we’d want people to camp and hike, and we’d want to manage all those activities so they support one another and support the overall visitor experience.” |
Dr. Summit Shah, with his exceedingly jovial personality and an immediately evident passion for medicine, is known for providing his patients with a truly exceptional level of medical care each and every time they walk into the offices of Premier Allergy in Columbus, Ohio. As I observed during the course of our recent interview, Dr. Shah appeared to light up each time he had the opportunity to discuss the positive influence his work has enabled him to have on patients throughout the city of Columbus as well as the surrounding area.
Patients in and around the Columbus region of Ohio know Dr. Shah as a passionate allergy doctor as well as a devoted family man. As a graduate of Ohio State University, the doctor is also known as one of the Buckeyes’ most ardent and enthusiastic supporters. A portion of our interview appears below, and the transcript has been lightly edited for the sake of concision as well as clarity.
Dr. Summit Shah
1. How do you stay productive while balancing all of your professional responsibilities with Premier Allergy?
Our primary objective is to always provide our patients with the best possible care, so we look at productivity only in terms of the quality of care each patient receives. Since my responsibilities are so inexorably linked to the level of patient care we provide, it is not all that difficult to balance my professional responsibilities. Of course, I am only able to provide such a level of quality care to our patients because of the efforts and assistance offered by the exceptional professionals we have on staff at Premier Allergy.
2. What qualities or characteristics are most predictive for future success in the medical profession?
I’m hesitant to list any specific qualities or characteristics most likely to predict a successful career as a medical professional, mostly because there are so many different qualities and characteristics that instill an overriding desire to help others in the way medical professionals help patients.
3. Do you believe the issues Premier Allergy hopes to address are properly understood?
No, not entirely. It is one of the reasons that we work so diligently to educate our patients and their families about the many different ways we can be affected by allergies, particularly since so many patients have endured chronic issues for years before considering the possibility that the issues they have been dealing with are the product of some kind of allergy.
4. What do you find most rewarding about your professional responsibilities?
Every doctor feels a sense of unending gratitude that the medical profession makes it possible to provide so many people with much-needed care and assistance, and I certainly feel that the opportunity to help others is undeniably rewarding. The gratitude I feel for having this kind of opportunity is why, in addition to Premier Allergy, I continue to practice at several other hospitals in the Columbus, Ohio, area.
Primier Allergy, Ohio |
Each January and early February, Jeter said, he goes to the Yankees’ facility in Tampa, Fla., where he typically takes 30 light swings for his first four days of workouts. That is 120 swings, multiplied by 22 Januarys and Februarys (he was drafted in June 1992), for a total of 2,640 swings. The next four days in January, he increases to roughly 50 swings a day, so that is another 4,400. Then, for about two and a half weeks through early February, he takes about 65 swings a day, or roughly 24,310.
Then he cools down to 45 swings for the last two days, adding another 1,980. That puts him at 33,330 swings over 22 years before the start of spring training.
Jeter added that he never sneaked off to the Tampa complex, a few miles from his home, to hit; no midnight trips to the cage to fix a kink in his swing.
“When you leave the stadium, you’ve got to get away, because it’s a game of failure,” he said. “I have to have other things to think about other than baseball. I don’t understand how guys go back and watch their game again and then they watch other games. I don’t understand that. For me, I have to have an outlet.” |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
#pragma once
#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/cognito-identity/model/MappingRuleMatchType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CognitoIdentity
{
namespace Model
{
/**
* <p>A rule that maps a claim name, a claim value, and a match type to a role
* ARN.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MappingRule">AWS
* API Reference</a></p>
*/
class AWS_COGNITOIDENTITY_API MappingRule
{
public:
MappingRule();
MappingRule(const Aws::Utils::Json::JsonValue& jsonValue);
MappingRule& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The claim name that must be present in the token, for example, "isAdmin" or
* "paid".</p>
*/
inline const Aws::String& GetClaim() const{ return m_claim; }
/**
* <p>The claim name that must be present in the token, for example, "isAdmin" or
* "paid".</p>
*/
inline void SetClaim(const Aws::String& value) { m_claimHasBeenSet = true; m_claim = value; }
/**
* <p>The claim name that must be present in the token, for example, "isAdmin" or
* "paid".</p>
*/
inline void SetClaim(Aws::String&& value) { m_claimHasBeenSet = true; m_claim = std::move(value); }
/**
* <p>The claim name that must be present in the token, for example, "isAdmin" or
* "paid".</p>
*/
inline void SetClaim(const char* value) { m_claimHasBeenSet = true; m_claim.assign(value); }
/**
* <p>The claim name that must be present in the token, for example, "isAdmin" or
* "paid".</p>
*/
inline MappingRule& WithClaim(const Aws::String& value) { SetClaim(value); return *this;}
/**
* <p>The claim name that must be present in the token, for example, "isAdmin" or
* "paid".</p>
*/
inline MappingRule& WithClaim(Aws::String&& value) { SetClaim(std::move(value)); return *this;}
/**
* <p>The claim name that must be present in the token, for example, "isAdmin" or
* "paid".</p>
*/
inline MappingRule& WithClaim(const char* value) { SetClaim(value); return *this;}
/**
* <p>The match condition that specifies how closely the claim value in the IdP
* token must match <code>Value</code>.</p>
*/
inline const MappingRuleMatchType& GetMatchType() const{ return m_matchType; }
/**
* <p>The match condition that specifies how closely the claim value in the IdP
* token must match <code>Value</code>.</p>
*/
inline void SetMatchType(const MappingRuleMatchType& value) { m_matchTypeHasBeenSet = true; m_matchType = value; }
/**
* <p>The match condition that specifies how closely the claim value in the IdP
* token must match <code>Value</code>.</p>
*/
inline void SetMatchType(MappingRuleMatchType&& value) { m_matchTypeHasBeenSet = true; m_matchType = std::move(value); }
/**
* <p>The match condition that specifies how closely the claim value in the IdP
* token must match <code>Value</code>.</p>
*/
inline MappingRule& WithMatchType(const MappingRuleMatchType& value) { SetMatchType(value); return *this;}
/**
* <p>The match condition that specifies how closely the claim value in the IdP
* token must match <code>Value</code>.</p>
*/
inline MappingRule& WithMatchType(MappingRuleMatchType&& value) { SetMatchType(std::move(value)); return *this;}
/**
* <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
*/
inline MappingRule& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
*/
inline MappingRule& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
*/
inline MappingRule& WithValue(const char* value) { SetValue(value); return *this;}
/**
* <p>The role ARN.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>The role ARN.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>The role ARN.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>The role ARN.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>The role ARN.</p>
*/
inline MappingRule& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>The role ARN.</p>
*/
inline MappingRule& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>The role ARN.</p>
*/
inline MappingRule& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_claim;
bool m_claimHasBeenSet;
MappingRuleMatchType m_matchType;
bool m_matchTypeHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace CognitoIdentity
} // namespace Aws
|
Ben (Man Bites Dog)
Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Evil-doer
Full Name
Unknown
Alias
Ben
Origin
Man Bites Dog
Occupation
Snuff Filmer
Powers/Skills
Skilled gunman, Skilled Robber, Killing Knowledge
Hobby
Killing random people
Goals
To make a documentary about his murders
Type of Villain
Serial Killer
Benoit, better known as Ben, is the main protagonist villain of the infamous 1992 Belgian film, Man Bites Dog. He is a charismatic serial killer and snuff filmer.
History
Not much is known about Ben and his past, other than he was raised in a grocery store by his mother and grandparents. It is implied that he had a wife before the events of the film, but she left him for unknown reasons. At some point in his life, he started to kill people and became a serial killer. After five years of serial killing, he met a camera crew and decided to film his murders with them. The film starts with Ben strangling a woman to death in a train cabin. He is later seen instructing the camera crew and the viewers on to how successfully dump a body. After dumping the body, he introduces the camera crew to his family and other friends. With the help of the crew, he manipulates an old lady into letting them enter her apartment, there, Ben scares her and kills her via heart attack before stealing all of her money. He then continues his killing spree by abducting a taxi driver and shooting random people at the street. After many killings, they break into a house and kill an entire family, including a child. During a shootout between Ben and civilian, one of the members of the crew is killed, as revenge, Ben bludgeons his killer to death. Another member is later killed by an italian hitman named Ricardo Giovanni aka Nightingale, who is later killed by Ben, along with Nightingale's own film crew. Later, he and his crew break into an apartment and torture a couple, gangraping the wife and forcing the husband to watch the event, the couple is later butchered by Ben and the crew. In his birthday party, he accidently shoots his friend in the head, killing him and later dumping the body. Ben also receives death threats from Nightingale's brother and the mob, who discovered that he was killed by Ben, despite being in danger, Ben chooses to not care about it. He tries to kill a postman but he escapes and Ben is arrested shortly afterwards. He manages to escape and visits his family, only to discover that they had been killed by Nightingale's brother, Ben's childhood friend, Valerie, was raped and also killed by him. Shocked by their deaths, he meets with the camera crew for a last goodbye but unfortunately for them, the mob arrives and shoots them to death. |
Mrtg PHP 'Portal'
-----------------
Intro:
I've made these quick hacks to provide a 'user-friendly' web interface for adding, removing and updating the mrtg polled hosts.
The PHP scripts grab the parameters from html forms and run cfgmaker, indexmaker and mrtg with these parameters.
Requirement:
Web server with PHP4
Perl
Configuration of the script:
Desarchive the mrtg_php_portal.zip file in your mrtg and put the perl script 'Update.pl' in the mrtg folder (e.g.: c:\mrtg), put the Php script config file 'config.inc.php' in the conf folder (e.g.: c:\mrtg\conf), put the 6 remaining php script in the www folder (e.g.: c:\mrtg\www).
Summary of the script usage:
- update.pl, this script takes all the .cfg file in conf and update the Mrtg stats for these configs. You can run this script with MrtgSvc or 5mrtg.
- config.inc.php, this is the file were all paths and passwords for the script are configured.
- index.php, this script generates a single index with a link to all the .html file located in e:\mrtgwww.
- login.php, this script protect the admin section with a password configured in the config.inc.php file.
- setup.php, this script generate the mrtg config file with cfgmaker, create a index file for the new host and run mrtg with the parameters from the form.
- remove.php, this script delete the config file, html file and index file of a host that need to be removed.
- admin.php, this script create a html page with the admin choice (add, remove, update).
- Update.php, this script re-run mrtg for the selected host.
Edit the config.inc.php and configure the path for the environment and configure the admin password also.
Thanks:
To 'Putzi' (he will recognize himself) for the help with Perl.
Contact:
Damien Hauser
damien@detonate.net
|
Treatment strategies for lower third molars following orthodontic care.
To examine the extent to which orthodontists consider it appropriate to refer post-orthodontic patients for lower third molar treatment. The subjects were 10 orthodontists from hospital, specialist practice and community setting. Participants were presented with 15 case histories of orthodontic patients (including full records) and asked to state whether they would have referred the case to an oral surgeon for management of their third molars. Data were analysed using multi-kappa measure. Two-hundred-and-sixty-two decisions of 300 (88%) were not to refer cases for third molar management. Little consensus was seen between orthodontists on which post-orthodontic cases referral (kappa = 0.14). Some clinicians referred cases much more frequently than others (Kruskall-Wallis = 46.84, P < 0.001) and some clinicians referred much more frequently (Kruskall-Wallis = 85.57, P < 0.001). This group of orthodontists did not refer post-orthodontic cases for third molar management and little consensus was observed regarding which cases did warrant removal. |
Olivia Barratt
Inherits the bush we leave behind
Olivia Barratt admires some grass trees. Photo by Kim Thomsens Photography.
When Olivia Barratt was just a baby, her grandmother recognised in her a love of nature.
“She’s going to be a botanist, or an ornithologist.”
As Olivia grew older, the bush became an important part of her life. Regular family camping trips were an opportunity to explore rock pools and waterfalls.
“I love finding little animals we’ve never seen before,” Olivia says. She wants to be like David Attenborough when she gets older.
Now at age ten years old, Olivia is a staunch advocate of the Night Parrot and is spreading the word among her classmates about why it must be protected.
Olivia Barratt on bushland near her home in Queensland's Fraser Coast. Photo by Kim Thomsens Photography.
Her parents even drove an hour with Olivia to collect red dirt in order to show her classmates the kind of habitat the Night Parrot inhabits.
“We thought the Night Parrot was extinct, but now we have a second chance to help save them. I want to help them.”
“If there was no bush, we wouldn’t learn a lot of things from plants and animals. When I’m older, in 25 years, I would like the bush to be nice and healthy, so the Night Parrot could be everywhere and other endangered animals too.”
It is Olivia and her friends that inherit the bush we as Australians leave behind us. |
Timotei golden highlights conditioner is formulated to give extra sparkling shine, for beautifully healthy sunkissed blonde hair. The conditioner is enriched with camomile flower extract and honey extract with a light texture that wont weigh down hair. It effectively works by nourishing and strengthening hair from root to tip to deeply intensify the highlighted colour leaving it with delicate
Klorane Camomile Blond Highlights Conditioner; intensifies your blonde colour and is a brightening and smoothing formulation enriched with Egyptian camomile. The conditioner gently detangles and repairs damage-prone blonde hair, while working to nourish and leave hair looking radiant, shiny and soft. Gentle yet effective, the Matricaria recutita L. species of the camomile bloom is rich in
Sailing from Spitsbergen to Greenland, follow the ices edge with an eye peeled to the horizon for wildlife. Navigating south, youll explore this remote landscape not only by ship but also on foot and via Zodiac. This journey highlights the contrast and change in the Arctic as you move south, finally ending in Iceland, the Land of Fire and Ice. An Inuit village, unique wildlife, and remote
Now you can have fabulous artwork in a size to fit your space! The high-quality image resolution creates exceptional clarity, depth and richness of colour that really enlivens your walls. Simply select a frame, then the desired size. You can go frameless, have a contemporary rim, or choose a classic frame for the finishing touch. Your finished piece will be made up and delivered within 14 working
Playing Baseball Highlights: 2045 is like watching TV highlights of early 21st-century baseball games with the game play being full of theme with no outs or innings and without bogging down in a play-by-play baseball sim...
With a myriad of colour options, MACs Lipstick is the iconic product no makeup collection should be without. Created to shade, define and showcase the lips, the lipstick is formulated with ultra-fine, jet-milled pigments for vibrant colour and even coverage. With nourishing antioxidants and lip-conditioning emollients, the long-wearing lipstick gives lips a soft and comfortable texture and silky
Welcome to Pineapple Dance Studios, a place where careers are made, dreams are broken and fabulous is a heartfelt emotion. The biggest West End shows, the most famous pop acts, the most successful dance teachers and the most incredible cast of characters TV will ever see, all pass through Londons Pineapple Studios. Blurring the lines between reality, comedy and drama to create a new genre of
96 pages Free poster Pre-IntermediateUpper-Intermediate (A2B2) This fascinating title presents highlights of British history in a way which will directly appeal to teenage students. Topics include Crazy Kings and Cool Queens, Worst Wars and Dreadful Disasters. Students are prompted to link historical events to present day situations, and personal project suggestions are included. #elt17
The Wella Hair Streaking Kit is a reliable home highlighting kit.Useit to achieve an all-over beautifully soft sun-kissed look or to createspecific highlights around the hairline crown or fringe.With the WellaHair Streaking Kit you get professional-looking results with theminimum of fuss and the finished look can be as subtle or as bold as youwant.
Glass daisy shaped tealight holders are a great way to add some sparkle to spring or summer weddings or a garden themed party of any sort. Whether these little glass flowers hold candles or candies they are a unique favour idea.
The Yorkshire Dales photography book is full of beautiful scenery of the North East countryside.Inspirational photography of the beautiful area.Colour Swatch:AssortedBrand:BRADWELL BOOKSColour:Assorted
Position: full sun or partial shade; Soil: tolerates most An old heritage variety of beet widely grown in the 19th century for its deliciously sweet-flavoured roots. Its now popular once again as the unusual yellow flesh has the added benefit of cooking without staining everything purple like conventional beetroot! Produces a generous crop of orangey roots with a bright golden heart. Pick the
Timotei Golden Highlights Conditioner on other UK sites
Timotei Golden Highlights Conditioner on USA sites
This oversized gallery wrapped canvas is the perfect way to add character, depth and value to your room. Printed using the highest quality materials produces a beautiful Giclee reproduction of the original work. Leaves you with the impression that you had an artist commission a painting for you. Using state of the art printing technology and our proprietary artist canvas provides the most
Wattage: 40W Gal Size/Color: Clear Zoo Meds Highlights Incandescent Aquarium Bulbs are a new addition to our aquatic line of products. The bulbs are gel coated with color, rather than paint, so the color will not chip or wear off. Available in five colors, our Highlights are ideal for small aquariums.
Designed to provide effective solutions to aquarium setup and use, Aqueon Water Conditioner 8oz will help maintain the healthiest environment for your aquatic pets. You can be assured that your fish will remain colorful, healthy and active.
Formulated to moisturize and nourish your hair, the men- Moisturizing Conditioner provides a smooth texture, natural shine and enhanced vitality to recharge your hair.While men- shampoos are anionic (negatively charged), the men- conditioner is cationic (positively charged) and so retains the nutrients and moisture of the foam to provide long-lasting, noticeable effects.The conditioner is also |
A Hub for Creativity
"Lesley was committed to my success from the moment I attended an Open House. With the support of caring advisors, professors, and staff, I was able to thrive in courses, gain recognition through scholarships, and finish with confidence in my academic abilities."
Jackie Geilfuss ’14, Liberal Studies
Welcome to Cambridge, MA: If there’s a place where the most creative, smart, and interesting people flock to, Lesley is right in the center of it. Cambridge forms a nexus of research and scholarship that’s unmatched anywhere in the world.
Slide 1 of 19
Stroll across the Charles River to Boston
Slide 2 of 19
Get to know vibrant Harvard Square, just a few minutes from campus
Slide 3 of 19
Obsessive shoppers will love browsing the storefronts in Harvard Square
Slide 4 of 19
It's easy to travel through the city, on foot or by bike
Slide 5 of 19
There's always something happening here, from live music to performance art
Slide 6 of 19
Local music venues, like the Sinclair, make for amazing culture and nightlife
Slide 7 of 19
Get from point A to point B easily on the subway (known as the T)
Slide 8 of 19
A hub for students from around the world, Harvard Square is always buzzing with energy
Slide 9 of 19
A nexus for education and the arts, Cambridge has endless museums and galleries to explore
Slide 10 of 19
And let's not forget our famous neighbor—Harvard University
Slide 11 of 19
Grab something quick and delicious at the food trucks parked minutes from campus
Harvard Common Spaces, Cambridge
Slide 12 of 19
With Boston minutes away on the T, there's so much to explore
Slide 13 of 19
Remember to look up—there's public art everywhere in Cambridge
Slide 14 of 19
You probably wouldn't guess it, but inside Lesley you'll find some of the city's best Asian cuisine
Slide 15 of 19
Whatever you're craving, you're sure to find it in this foodie mecca
Slide 16 of 19
Lined with shops and restaurants, even the streets are livelier in Cambridge
Slide 17 of 19
You'll love shopping local on vibrant Massachusetts Ave.
Slide 18 of 19
Find anything from Tibetan wares to quirky home goods during a shopping trip along Massachusetts Ave,
Slide 19 of 19
Nothing beats watching the sun set over Charles River
Welcome to Cambridge, MA
If there’s a place where the most creative, smart, and interesting people flock to, Lesley is right in the center of it. Cambridge forms a nexus of research and scholarship that’s unmatched anywhere in the world. |
Q:
How do I open a file using python?
I am trying to open a random mp3 file using python so that I can play a random song from my music playlist.
these are two variations of the code that I have tried
file = str('C:\file.mp3')
open(file)
or
open('C:\file.mp3')
When I run the program, I expect to see the Microsoft mp3 player to open and for the file to play but instead I get a pop-up message saying "Unicode error: 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape".
I have never used open() before so if it is something very simple then I'm sorry.
A:
Always use raw strings for Windows file paths (and regexes). Otherwise, a folder whose name begins with U (say, C:\Users) ends up looking like the beginning of a Unicode escape; many other characters end up being interpreted as escapes as well (e.g. f is escaped to the form feed character).
Using raw strings (prefixed with r) means backslashes only escape the quote character, nothing else. So:
with open(r'C:\file.mp3') as f:
works, where:
with open('C:\file.mp3') as f:
wouldn't. That said, none of this would open the file in your music player. open opens the raw file to read data from it (odds are an mp3 file will error if you try to read it in text mode, unless you're using one of the more permissive codecs, like latin-1). If you want to launch a file via its default handler, that's what os.startfile is for, e.g.:
os.startfile(r'C:\file.mp3')
|
Roy Moore's spokeswoman late Wednesday appeared to dodge an array of questions on topics including the Republican Alabama Senate candidate's views on Muslims, homosexuals and Sept. 11.
"Does Judge Moore still believe that homosexual conduct should be illegal and that homosexuality is still the same thing as bestiality?" CNN host Anderson Cooper asked Janet Porter.
"I don't have that answer, but I can tell you what he does believe regarding that issue. And regarding that issue, if you want to talk about making sure we don't have sexual predators," she responded.
"No, I'm not talking about sexual predators. I'm talking about anybody that's homosexual — gay, lesbian people," Cooper responded.
ADVERTISEMENT
"Excuse me, Anderson, Mr. Anderson Cooper. Let me just say, he wants to put out a welcome mat in front of these young girls, if you are a junior high school girl or if you are a high school girl, what 'abortion Jones' is saying is we're putting out a welcome mat to any boy who's feeling like a girl that day, he's free to walk into the bathroom, the locker room with his camera phone and shower with your daughter. People of Alabama aren't going to take this radical position," Porter responded, referring to Moore's Democratic challenger, Doug Jones.
Cooper went on to ask Porter about Moore's past remarks about the Sept. 11 attacks, in which the candidate said the U.S. had "distanced ourselves from God."
"You know, this is the thing. That when — a lot of people talk about God and how they're Christians. In fact if you look at the commercials of Doug — of Roy Moore's opponent, he's telling everybody what a great Christian he is and how he defends —," she said, later adding that she did not have the answer to Sept. 11.
Cooper went on to ask Porter whether Moore still believed Muslims should not be allowed to serve in Congress, to which Cooper cited the concept of Sharia, or Islamic law.
"I think that what he's getting at there is that we believe in the rule of law by the Constitution, not Sharia law. And I think that's really the bottom line and what we're looking at," she said.
"I believe his position has to do with whether we follow the Constitution or the ridiculously oppressive to women Sharia law," she later added.
And when asked whether Moore still believes former President Barack Obama Barack Hussein ObamaMichelle Obama and Jennifer Lopez exchange Ginsburg memories Pence defends Trump's 'obligation' to nominate new Supreme Court justice The militia menace MORE was not born in the U.S., Porter said, "That is his position. I'm pretty sure — I can tell you with confidence that this is the guy that stood with the Constitution even when it cost him everything."
The interview comes less than a week before Moore is set to face off with Jones for Attorney General Jeff Sessions Jefferson (Jeff) Beauregard SessionsGOP set to release controversial Biden report Trump's policies on refugees are as simple as ABCs Ocasio-Cortez, Velázquez call for convention to decide Puerto Rico status MORE's former Senate seat.
Moore has faced numerous accusations of sexual misconduct involving teenagers. President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE endorsed him earlier this month. The Republican National Committee also reinstated its support for Moore after originally saying they could not support him.
This report was updated at 9:52 a.m. |
Q:
Adding a view above UINavigationBar
I'm trying to add a custom view above the navigation bar as displayed on the following image .
What I've tried so far is to add the view as a subview of the navigation bar - Did not work
Add the custom view first on Interface builder and then add a navigation bar manually - This seems to mess up with my navigation as the default navigation controller has it's own navigation bar.
Is this a bad approach on its own ?
A:
If this is a view that will appear above all navigation bars in the app, why not use a Container View?
Make the Container View fill the screen, but give it a 20 point top margin to fit your custom green view. Then when you add your main view controller (wrapped in a navigation view controller) to the Container View, it will show your green view above it.
If you don't want your margin in a particular screen, do the following:
Add a constraint to the top margin and add an outlet to it so you can modify the constraint's constant in code.
Then, in any screens where you don't need the margin, access the parent view controller view and set the constraint's constant to zero.
let myParentViewController = self.parentViewController as? MyParentViewController
myParentViewController.myTopMarginLayoutConstraint.constant = 0
Don't forget to reset it to 20 (or whatever) when you go to a screen where you need the top margin again.
|
Apple has responded to the furor over its supposed App Store policy changes that many believe could affect the popular Kindle, Nook, and Sony Reader apps. The company claims it has not changed any of its guidelines given to developers, but it indirectly confirms that accessing content purchased elsewhere could be a no-no if that content isn't also available to be purchased through Apple's own system.
"We have not changed our developer terms or guidelines," Apple spokesperson Trudy Muller told Ars. "We are now requiring that if an app offers customers the ability to purchase books outside of the app, that the same option is also available to customers from within the app with in-app purchase."
Buzz began Tuesday morning when the New York Times said that Sony's e-reader app had been rejected, citing Apple's restriction on in-app book purchases. This in itself was not a new policy—Apple doesn't allow apps to sell content to users unless that content passes through the official Apple ecosystem, where Apple gets a 30 percent cut.
Apple also allegedly told Sony that the app couldn't access content purchased on other Sony Reader devices, which is where most of the outrage was focused. Amazon's Kindle app and Barnes & Noble's Nook app are both popular mechanisms for users to download and read books that they have purchased from the respective stores. Many feared that this supposed change in Apple policy would take their e-books away from their iPads, iPhones, and iPod touches.
Apple's second statement indicates that this is indeed the case—sort of. If an app lets users access content that they purchased via Amazon's website, for example, then that same app must also let users buy the same book via Apple's own in-app purchase system. If the app developer doesn't want to use Apple's in-app purchases to sell content, then the app can't access content purchased elsewhere either.
This is notable because it will require Amazon and Barnes & Noble (as well as Sony, whose iOS app is not yet available) to change how their offerings work. Apple wants its 30 percent share of content sales whenever possible.
Amazon has already gone all-in with its "Buy Once, Read Everywhere" tagline, so it probably can't afford to back out of the iOS platform now. The alternative appears to be an user interface nightmare: re-structuring its sales mechanisms in order to allow customers to buy from both Amazon and Apple (a move that will chafe Amazon execs) or from Apple alone (even more chafing).
Sony, for its part, still has not responded to our requests for comment. The company did post a note on its website, however, noting that it has "opened a dialog with Apple to see if we can come up with an equitable resolution but reached an impasse at this time." The company says it's exploring other ways to bring its Reader to iOS devices, indicating that it may try other routes in order to avoid the App Store tax. |
Re-bordering Canadian citizenship
Research by political science professor Yasmeen Abu-Laban shows that racism and the temporary foreign worker program can impact Canadian immigration and multiculturalism policies.
The number of temporary foreign workers in Canada has steadily increased in recent years, more than tripling between 2000 and 2012 and surpassing the number of people admitted for permanent residence to Canada.
What are the implications of relying on temporary workers who reside in Canada but are unable to become permanent citizens? How does this affect issues of racism and our understanding of multiculturalism and Canadian identity? These are the types of questions that Yasmeen Abu-Laban, a professor in the Department of Political Science, aims to answer in her research. Abu-Laban studies nationalism, public policies (such as immigration, multiculturalism and employment equity), and the comparative politics of Canada, North America and Europe.
“[The high number of temporary workers] is a major shift with huge implications because it means that you have growing numbers of people living in Canada that do not hold Canadian citizenship,” explains Abu-Laban. Alberta, in particular, has regularly struggled with labour shortages and takes advantage of programs to recruit temporary workers to fill labour needs.
“Also, [this raises] larger questions about the type of society we want to be; is it right that there are people denied rights when they reside here and pay taxes? They don’t have a right to vote, they don’t have a right to participate in the same way as others,” she says.
Changing symbolism around multiculturalism
Canada’s policy of multiculturalism has largely been admired internationally because Canadian immigrants, when compared to other countries, have tended to do fairly well in our system. However, the move towards having more temporary workers could shift those dynamics and lead to a re-bordering of Canadian identity and citizenship.
Although public opinion polls suggest that Canadians continue to strongly support multiculturalism, Abu-Laban’s research suggests that the symbolism associated with multiculturalism has been changing in recent years. For example, government documentation such as Discover Canada: The Rights and Responsibilities of Citizenship, which is used by newcomers to study for the citizenship test, has an increasing emphasis on the role of the British Empire in shaping Canada, as well as the Queen as a unifying symbol. In addition, other literature and commemorative events such as the 200th anniversary of the War of 1812 two years ago highlight our military history and paint Canada as a warrior nation.
“One of the challenges there, from a scholarly standpoint, and also a standpoint that gives recognition to the complexity of Canada, is that of the place of social history. The role that different groups — women, minorities, indigenous people and children — have played in shaping Canadian history and that kind of scholarship is really valuable to understanding Canada’s complexity,” explains Abu-Laban.
“There have been alarm bells raised…around what is being perceived as a sidelining of social history that may come about because of these changes.”
Racism and human rights
Abu-Laban is also interested in issues of human rights, racism, nationalism and gender politics. For example, in collaboration with a colleague at the University of Toronto, she has a project funded by the Social Sciences and Humanities Research Council that looks at how the United Nations has engaged with and shaped issues of racism and discrimination through its World Conferences Against Racism. This research project is aimed at understanding how issues surrounding human rights have developed internationally.
“It’s really important that we have discussions of issues facing us in all societies around diversity. The vast majorities of states around the world are ethnically, religiously diverse.”
In addition, earlier this year Abu-Laban was awarded the 2014 McCalla Professorship, which is given to faculty members who have made significant contributions in their field of research, teaching and learning. Abu-Laban will use her professorship to write a textbook that addresses contemporary Canadian contributions to human rights.
“It’s really important that we have discussions of issues facing us in all societies around diversity. The vast majorities of states around the world are ethnically, religiously diverse. We’re not homogenous. It’s a myth that there’s these homogenous populations,” says Abu-Laban. “If we understand it from the vantage point that diversity is the norm…what can be distinct is how different states handle that diversity. What policies do they have in place that foster feelings of inclusion, foster feelings of participation for everyone that lives in that society?”
Abu-Laban’s research could play a key role in shaping our understanding of diverse societies and public policies: “The real value of research is that we have time to look systematically through the different choices and options, and to compare and to assess, and to evaluate which ones are better or worse from the standpoint of inclusion, from the standpoint of human rights, and from the standpoint of a good society,” she adds.
Related Articles
Votes and victories When Alberta women first won the right to vote 100 years ago, the province’s pioneering spirit was reflected in the… |
Q:
HAProxy - putting up a maintenance page
Is there an easy way to dissable All backends in haproxy, and instead serve an appropriate maintenance page (for http requests)?
I've read a little about the dissabled option, which I understand is per-server, but am wondering if there is a way to simply stop traffic to all backends?
A:
The backup keyword is what we use for this. See this example:
listen example_com 0.0.0.0:8001
...
option httpchk OPTIONS * HTTP/1.1\r\nHost:\ www.example.com\r\nUser-Agent:\ HAProxy
server web01 10.1.31.21:80 cookie cookie_web01 check inter 5000 rise 2 fall 5 disabled
server web02 10.1.31.22:80 cookie cookie_web02 check inter 5000 rise 2 fall 5 disabled
server prx 10.1.31.10:9000 backup
Here both servers web01 and web02 are set to disabled, in which case the backup server prx on 10.1.31.10:9000 will be used, which serves a maintenance page. The prx server in our case is the HAProxy server itself and on port 9000 runs an Apache HTTPD, serving the maintenance content:
<VirtualHost *:9000>
ServerName example.com
ServerAdmin webmaster@example.com
DocumentRoot /var/www/example.com/errors/
<Directory /var/www/example.com/errors/>
Options -Indexes
</Directory>
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/systemDown.html -f
RewriteCond %{SCRIPT_FILENAME} !systemDown.html
RewriteRule ^.*$ /systemDown.html [R=503,L]
ErrorDocument 503 /systemDown.html
</VirtualHost>
|
Q:
What does 'Acme' stand for in Symfony2?
The standard bundle in Symfony2 is 'Acme', but what does that stand for?
A:
ACME (A Company (that) Makes Everything) is a fictional company from the Looney Tunes: http://en.wikipedia.org/wiki/Acme_Corporation
It's used as a placeholder name (like "foo", "bar", etc).
A:
It means "A Company (that) Makes Everything"
A:
ACME is the root namespace name of these standard bundles. Code therein you should identify as the code you write your own, so not the code of the framework itself which you should not touch.
You find the usage of that namespace outlined in the introductory chapter The Big Picture (archived copy).
It's used exemplary, it hints being the name of your company, see Acme Corporation on wikipedia for some cultural references.
But sure, Symfony2 is neither a computer game nor a fictional movie, so probably it's hard to draw that connection line.
See Also: [Newbie] Why ACME prefix? (symfony framework forum) (21 May 2011)
|
California Marijuana Laws in 2018
This year will see the largest marijuana market so far open up to recreational weed. No, I’m not talking about Canada.
California is not only larger than Canada by about three million people, it produces about $1.0 trillion more in gross domestic product (GDP).
So, when the new California marijuana law in 2018 (the Medicinal And Adult-Use Cannabis Regulatory Safety Act) came into effect on New Year’s Day, permitting recreational marijuana use, it was a huge boon to the industry.
Marijuana stocks will see benefits down the line as the numbers trickle in over the next few months. It’s clear that the legislative move is a massive benefit to the industry overall.
But not everything is peaches and rainbows…
While the new CA marijuana laws in 2018 are positive for the industry, it’s still worth noting that a President Donald Trump crackdown on marijuana is still possible.
Attorney General Jeff Sessions has long been an opponent of the drug, subscribing to the tired “gateway drug” philosophy, which contends that marijuana itself may not be harmful, but it can lead to harder drug abuse, like the Oxycontin epidemic that the U.S. and much of the western world is currently facing.
It’s also important to keep in mind that the California marijuana laws of 2018, while great for weed stocks and the industry, are not immutable. Federal law supersedes state law and therefore puts California under the purview of Sessions and his agenda, should he choose to more aggressively pursue federal action against marijuana.
While a crackdown is unlikely, it is still possible, which could put a very real damper on the high times they’re experiencing in California.
Still, there are many positives to be taken away from the state’s progress.
First, as mentioned at the outset, California represents the largest market to open itself to recreational marijuana. With nearly 40 million people now eligible to purchase marijuana should they choose (provided they are of age, of course), this is a powerful step forward for the industry.
With more and more of the U.S. opening up to the idea of recreational pot, California marijuana laws in 2018 not only help the state, but also push the issue for the country as a whole. That is invaluable.
A second massive benefit of the current California marijuana legislation is that it has begun creating jobs in all sorts of ancillary and adjacent industries.
While not surprising, legal weed has increased business for lawyers, marketers, security providers, and a host of other workers. (“California Poised To Become Largest Jobs Creator – For Marijuana,” Forbes, February 14, 2018.)
So, aside from weed stocks being boosted by California, many other industries are seeing an uptick from marijuana legalization. This makes it easier for states to justify legalization, due the added tax and economic benefit.
It also makes it harder for the federal government to justify a crackdown. Not to mention, this particular federal administration is laser-focused on the economy. Making a move against a burgeoning industry seems very much out of character, no matter how many reservations Sessions may have with the trade.
With California’s medical marijuana market already at $3.8 billion in 2017 and 5.3 million estimated cannabis users in the greater Los Angeles area, this is a frothy market to do business in, and that’s good news for weed stocks. (Source: Ibid.)
The new California marijuana laws in 2018 have served to both create a new market that will bolster weed stocks and help strengthen the argument for recreational pot.
Of course, the future of marijuana stocks rests on how quickly federal legislation can be passed in the U.S. for legalizing pot. While that seems a long way off, especially with the current administration, moves are being made on the national level that are promising for marijuana investors.
The Marijuana Justice Act was a big step forward for marijuana legislation in the United States. Introduced in both houses of Congress, the move was largely symbolic, due to its inability to pass through either part of the legislative branch. (“House Democrats introduce a bill to legalize marijuana and provide ‘restorative justice’ to communities impacted by the war on drugs,” Business Insider, January 17, 2018.)
Still, it represents a veritable seismic shift in the conversation that the U.S. is having about marijuana.
Whereas in years past, both parties vehemently condemned the drug, we now have major legislators and party up-and-comers in the Democratic Party that are looking to make marijuana legalization a main part of their policy agenda.
With an election coming in 2020, the power of having a pro-weed president cannot be understated. Mix that with the fact that the majority of Americans (64% according to a recent Gallup poll) believe that marijuana should be legal, and you have a potent combination that may see U.S. marijuana legalization arrive sooner than predicted. (“Record-High Support for Legalizing Marijuana Use in U.S.,” Gallup, October 25, 2017.)
Should that perfect scenario play out, expect marijuana stocks to receive a huge boost in the next few years. We’re talking hundreds of percentage points of gains.
Of course, this is the best-case scenario and by no means a sure thing.
But progress being made on the state level like we’re seeing in California is promising. And it certainly helps bring that best-case scenario closer to reality. |
'''Important Remark!''' The following configuration makes all PHP scripts except app.php, app_dev.php and config.php downloadable instead of executing them. This is probably not desired if you'd like to use a tool like phpMyAdmin in the same virtual host.
Latest revision as of 15:26, 3 March 2013
Important Remark! The following configuration makes all PHP scripts except app.php, app_dev.php and config.php downloadable instead of executing them. This is probably not desired if you'd like to use a tool like phpMyAdmin in the same virtual host.
are vulnerable. The common workaround to file upload attacks is to set fix_pathinfo=0 in php.ini. This breaks pathinfo URLs, and symfony relies on them. The solution used here is to explicitly specify the files that get parsed as php. |
Q:
Jacob 1.14.3 DLL no detected by the java.libary.path using Eclipse
I am trying to implement the library JACOB to communicate to some payments devices such as PINPADs. I have created a java project but when the main class execute the method that use the DLL in the runtime gives a error no jacob-1.14.3-x64 in java.library.path
Here you can find what I am using to build the project:
Operating System: Windows 10 64bit
JRE/JDK version: 1.8.0_181 64bit*( changed from 32 to 64bit )*
Eclipse: Photon Release (4.8.0)
Maven version: 3.5.4
JACOB version: 1.14.3 (Both files 64[x64] and 32[x86])
Here you can find the solutions that I already have try
Add the jacob.jar as external library and add the folder where the dlls as native library.
Use the command for the java library path
–Djava.library.path=C:\Users\adazat\Downloads\ClienteImplantadoJava\jacob-1.14.3\
Added the dll files to /Java/jdk/jre/bin and /Java/jdk/jre/lib/ext
Added the dependencies using maven commands
mvn install:install-file -Dfile=C:\Users\adazat\Downloads\ClienteImplantadoJava\jacob-1.14.3\jacob-1.14.3-x64.dll -DgroupId=jacob -DartifactId=jacob-dll -Dversion=1.14.3 -Dpackaging=dll -DgeneratePom=true
mvn install:install-file -Dfile=C:\Users\adazat\Downloads\ClienteImplantadoJava\jacob-1.14.3\jacob.jar -DgroupId=jacob -DartifactId=jacob-jar -Dversion=1.14.3 -Dpackaging=jar -DgeneratePom=true
Added the dependencies to maven pom.xml
I have searched in different questions in stack-overflow and still does not work trying any approach, I would like to know if some has a kind of similar problem and what else iI could try, to solve it. I really appreciate your time :D
A:
Just for reference, to your intitial question: Switch to a 64Bit JDK since a 64Bit dll can not be called from a 32bit jre/jdk.
Regarding your next error:
Can't co-create object
Before using a COM object, it must be registered in the system (e.g. its CLSID or ProgID must exist in the Windows Registry). If its not registered, regasm.exe utility can be used to do that:
Use: Regsvr32 PathToDll
Or you may also try: %systemroot%\Microsoft.NET\Framework64\vX.X\RegAsm.exe /verbose /nologo /codebase PINPAD.dll
(replace vX.X with the version installed on your system e.g. v3.0 or v4.0.30319. If you want to use the 32bit dll use ...\Framework\... instead of ...\Framework64\...)
Once it’s registered CoCreateInstance() API method can be used to obtain a reference to an interface exposed by the object and call its methods. Furter details can be found here.
|
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.gwt.i18n.client.impl.cldr;
import com.google.gwt.core.client.JavaScriptObject;
// DO NOT EDIT - GENERATED FROM CLDR DATA
/**
* Localized names for the "sah" locale.
*/
public class LocalizedNamesImpl_sah extends LocalizedNamesImpl {
@Override
public String[] loadSortedRegionCodes() {
return new String[] {
"AC",
"AD",
"AE",
"AF",
"AG",
"AI",
"AL",
"AM",
"AO",
"AQ",
"AR",
"AS",
"AT",
"AU",
"AW",
"AX",
"AZ",
"BA",
"BB",
"BD",
"BE",
"BF",
"BG",
"BH",
"BI",
"BJ",
"BL",
"BM",
"BN",
"BO",
"BQ",
"BS",
"BT",
"BV",
"BW",
"BY",
"BZ",
"CC",
"CD",
"CF",
"CG",
"CH",
"CI",
"CK",
"CM",
"CO",
"CP",
"CR",
"CV",
"CW",
"CX",
"CY",
"CZ",
"DE",
"DG",
"DJ",
"DK",
"DM",
"DO",
"DZ",
"EA",
"EC",
"EG",
"EH",
"ER",
"ES",
"ET",
"EU",
"EZ",
"FJ",
"FK",
"FM",
"FO",
"FR",
"GA",
"GD",
"GE",
"GF",
"GG",
"GH",
"GI",
"GL",
"GM",
"GN",
"GP",
"GQ",
"GR",
"GS",
"GT",
"GU",
"GW",
"GY",
"HK",
"HM",
"HN",
"HR",
"HT",
"HU",
"IC",
"ID",
"IL",
"IN",
"IO",
"IQ",
"IR",
"IT",
"JE",
"JO",
"JP",
"KE",
"KG",
"KH",
"KI",
"KM",
"KN",
"KP",
"KR",
"KW",
"KY",
"KZ",
"LA",
"LB",
"LC",
"LI",
"LK",
"LR",
"LS",
"LU",
"MA",
"MC",
"MD",
"ME",
"MF",
"MG",
"MH",
"MK",
"ML",
"MM",
"MN",
"MO",
"MP",
"MQ",
"MR",
"MS",
"MT",
"MU",
"MV",
"MW",
"MY",
"MZ",
"NA",
"NC",
"NE",
"NF",
"NG",
"NI",
"NL",
"NP",
"NR",
"NU",
"NZ",
"OM",
"PA",
"PE",
"PF",
"PG",
"PH",
"PK",
"PL",
"PM",
"PN",
"PR",
"PS",
"PT",
"PW",
"PY",
"QA",
"QO",
"RE",
"RO",
"RS",
"RW",
"SA",
"SB",
"SC",
"SG",
"SH",
"SI",
"SJ",
"SK",
"SL",
"SM",
"SN",
"SO",
"SR",
"SS",
"ST",
"SV",
"SX",
"SY",
"SZ",
"TA",
"TC",
"TD",
"TF",
"TG",
"TH",
"TJ",
"TK",
"TL",
"TM",
"TN",
"TO",
"TR",
"TT",
"TV",
"TW",
"TZ",
"UA",
"UG",
"UM",
"UN",
"UY",
"UZ",
"VA",
"VC",
"VE",
"VG",
"VI",
"VN",
"VU",
"WF",
"WS",
"XA",
"XB",
"XK",
"YE",
"YT",
"ZA",
"ZM",
"ZW",
"US",
"RU",
"BR",
"JM",
"IE",
"IS",
"CA",
"CU",
"CN",
"LV",
"LY",
"LT",
"MX",
"IM",
"NO",
"SD",
"GB",
"FI",
"CL",
"SE",
"EE",
};
}
@Override
protected void loadNameMapJava() {
super.loadNameMapJava();
namesMap.put("001", "Аан дойду");
namesMap.put("002", "Аапырыка");
namesMap.put("003", "Хотугу Эмиэрикэ");
namesMap.put("005", "Соҕуруу Эмиэрикэ");
namesMap.put("BR", "Бразилия");
namesMap.put("CA", "Канаада");
namesMap.put("CL", "Чиили");
namesMap.put("CN", "Кытай");
namesMap.put("CU", "Кууба");
namesMap.put("EE", "Эстония");
namesMap.put("FI", "Финляндия");
namesMap.put("GB", "Улуу Британия");
namesMap.put("IE", "Ирландия");
namesMap.put("IM", "Мэн арыы");
namesMap.put("IS", "Исландия");
namesMap.put("JM", "Дьамаайка");
namesMap.put("LT", "Литва");
namesMap.put("LV", "Латвия");
namesMap.put("LY", "Лиибийэ");
namesMap.put("MX", "Миэксикэ");
namesMap.put("NO", "Норвегия");
namesMap.put("RU", "Арассыыйа");
namesMap.put("SD", "Судаан");
namesMap.put("SE", "Швеция");
namesMap.put("US", "Америка Холбоһуктаах Штааттара");
}
@Override
protected JavaScriptObject loadNameMapNative() {
return overrideMap(super.loadNameMapNative(), loadMyNameMap());
}
private native JavaScriptObject loadMyNameMap() /*-{
return {
"001": "Аан дойду",
"002": "Аапырыка",
"003": "Хотугу Эмиэрикэ",
"005": "Соҕуруу Эмиэрикэ",
"BR": "Бразилия",
"CA": "Канаада",
"CL": "Чиили",
"CN": "Кытай",
"CU": "Кууба",
"EE": "Эстония",
"FI": "Финляндия",
"GB": "Улуу Британия",
"IE": "Ирландия",
"IM": "Мэн арыы",
"IS": "Исландия",
"JM": "Дьамаайка",
"LT": "Литва",
"LV": "Латвия",
"LY": "Лиибийэ",
"MX": "Миэксикэ",
"NO": "Норвегия",
"RU": "Арассыыйа",
"SD": "Судаан",
"SE": "Швеция",
"US": "Америка Холбоһуктаах Штааттара"
};
}-*/;
}
|
Zakariya Rashid Hassan al-Ashiri
Zakariya Rashid Hassan Al-Ashiri (), also spelled Al Asheri and Aushayri, (1971– April 9, 2011), was a forty-year-old Bahraini blogger and journalist, worked as an editor and writer for a local blog news website in Al Dair, Bahrain. He was killed on April 9, 2011 while in custody of the Bahraini Government. Al-Ashiri was the first journalist in Bahrain to die in direct relation to his work since The Committee to Protect Journalists started keeping records in 1992, and he was the first to die in the Bahraini uprising (2011–present).
Al-Ashiri was also the second blogger-journalist worldwide to have been killed for his blogging. Al-Ashiri follows the death two years earlier of Iranian Omid Reza Mir Sayafi, who was the first blogger to have been known to be killed for his publication. Two months after Al-Ashiri, Brazilian blogger Edinaldo Filgueira was killed in June 2011.
Personal
Zakariya Rashid Hassan Al-Ashiri was born in the village of Al-Dair in 1971, where he reported and edited his internet website.
Career
Zakariya worked as an editor and blogger for the local news website which is named after his home village. He regularly reported on human rights, business, culture, and politics. The website he worked for was named Al-Dair after his home village.
Background
The Bahraini uprising (2011–present), a series of protests to gain greater political freedom, began in February 2011. Protesters set up camp at the Pearl Roundabout in Manama and continued until March. After a month, the Bahraini government sent in troops and police forces from the Gulf Cooperation Council while the king of Bahrain declared martial law and a three-month state of emergency.
The protests continued for several months after. Police forces raided Shia homes, carried out beatings at checkpoints, and denied those in need of medical attention. As a result, nearly 800 people were arrested and a total of four were reported dead while in government custody.
Death
On April 2, 2011 Al-Ashiri was arrested and charged with providing false news, inciting hatred towards the regime and calling for an overthrow of the government. On April 9, 2011, just seven days after his arrest, Al-Ashiri was reported dead while in government custody under mysterious circumstances. Authorities claim that he died of complications due to "sickle cell anemia." The Committee to Protect Journalists reported that this diagnosis was denied by family members. Photos later surfaced of Al-Ashiri's corpse, which displayed cuts and gashes, and added further evidence that Al-Ashiri had been beaten to death. As a result, the Committee to Protect Journalists called on Bahraini authorities to conduct a thorough investigation on his death.
Another Bahraini journalist Karim Fakhrawi died on April 12, 2011, also while in detention and was similar in that officials said he died of kidney failure.
Investigation
The Bahrain Independent Commission of Inquiry (BICI) conducted an investigation into deaths and torture claims among other civil rights abuses committed during the protests.
The Bahrain Independent Commission of Inquiry released its report 23 November 2011, and in the report, Al-Ashiri's case (no. 24) was investigated and classified under "Deaths Caused by Torture." The Commission's fact finding documents confirmed that Al-Ashiri did have bruises over his body from torture and died while at the Dry Dock Detention Centre and in custody of the Ministry of Interior. A witness who was in detention with him said Al-Ashiri was beaten and he heard a guard say, "He is dead," at which point those in the same cell were moved.
Two policemen are accused of the death beating and could be sentenced to up to seven years in prison.
Reactions
In response to his death, the Newseum in Washington, D.C. will be adding his name along with other journalists who have died while reporting to the Journalists Memorial Wall.
Almira Al Husaini, who is also a Bahrain internet blogger, stated his belief that the government "has an army of officials to monitor the Internet". He also believes that the president of the Bahrain Centre for Human Rights was mistaken for Al-Ashiri and was prosecuted for sending a tweet.
References
External links
Bahrain Independent Commission of Inquiry's Report
ReutersVideo.
Category:1971 births
Category:2011 deaths
Category:Deaths during the Bahraini uprising of 2011
Category:2011 in Bahrain
Category:Bahraini bloggers
Category:Bahraini journalists
Category:Journalists killed in Bahrain
Category:Murdered journalists
Category:Human rights in Bahrain
Category:Journalists killed while covering the Arab Spring |
/*
* Copyright 2015-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onosproject.provider.nil.cli;
import org.apache.karaf.shell.api.action.Argument;
import org.apache.karaf.shell.api.action.Command;
import org.apache.karaf.shell.api.action.Completion;
import org.apache.karaf.shell.api.action.lifecycle.Service;
import org.onosproject.cli.AbstractShellCommand;
import org.onosproject.cli.UpDownCompleter;
import org.onosproject.cli.net.LinkDstCompleter;
import org.onosproject.cli.net.LinkSrcCompleter;
import org.onosproject.net.ConnectPoint;
import org.onosproject.provider.nil.NullProviders;
import static org.onosproject.cli.UpDownCompleter.DOWN;
import static org.onosproject.cli.UpDownCompleter.UP;
/**
* Severs or repairs a simulated link.
*/
@Service
@Command(scope = "onos", name = "null-link",
description = "Severs or repairs a simulated link")
public class NullLinkCommand extends AbstractShellCommand {
@Argument(index = 0, name = "one", description = "One link end-point as device/port",
required = true, multiValued = false)
@Completion(LinkSrcCompleter.class)
String one = null;
@Argument(index = 1, name = "two", description = "Another link end-point as device/port",
required = true, multiValued = false)
@Completion(LinkDstCompleter.class)
String two = null;
@Argument(index = 2, name = "cmd", description = "up/down",
required = true, multiValued = false)
@Completion(UpDownCompleter.class)
String cmd = null;
@Override
protected void doExecute() {
NullProviders service = get(NullProviders.class);
try {
ConnectPoint onePoint = ConnectPoint.deviceConnectPoint(one);
ConnectPoint twoPoint = ConnectPoint.deviceConnectPoint(two);
if (cmd.equals(UP)) {
service.repairLink(onePoint, twoPoint);
} else if (cmd.equals(DOWN)) {
service.severLink(onePoint, twoPoint);
} else {
error("Illegal command %s; must be up or down", cmd);
}
} catch (NumberFormatException e) {
error("Invalid port number specified", e);
}
}
}
|
The Gaston County native grew up a block away from the old Gastonia airport (on Linwood Road). He had his first airplane ride at 4 years old.
When he was little, he would often pretend to be Superman, but he soon realized not everyone was granted the power to soar through the sky without additional, and necessary, equipment. While he said most young boys dream of flying, Peeler didn’t stop there. He made it his reality, despite a fear of heights.
Flying allows one to be in control and is a different feeling than being at the top of a tall building or climbing a ladder, he said.
He served in the Army Security Agency (ASA) in the Vietnam War, during which he was shot out of a helicopter over Laos.
On board were six men. Only two, including Peeler, made it out alive after surviving three days in the jungle.
That memory still lingers, and, since then, Peeler has avoided helicopters.
“I prefer airplanes,” he said.
Not all experiences during the war were negative, however. It’s also how he met his wife, a native of South Korea.
Once he returned home, around 1972, he soon resumed his passion for flying.
At first, he dabbled in hang-gliding.
“I ate half the beach,” he joked.
This led him to decide that he needed an engine.
He received ultralight-franchise training in Texas and then came back home to Gastonia. After working in the area, including owning a flying facility in Dallas for a while, Peeler eventually came upon his current property, 30 acres in total.
It was up for auction by the widow of Austin Beam and included two tracts of land, mostly consisting of cornfields. He purchased it in 1988 and soon registered it with the Federal Aviation Administration. Northbrook International Ultraport became a designated flight park in 1992.
The “jungle,” as Peeler described it, needed extensive work, including leveling, to allow for his runway. At 1,200 feet long, he typically needs only half of it to safely land his ultralight and light-sport planes. General-aviation aircraft would need all of it, he added.
A shorter, 800-foot-long runway is also on the premises.
He additionally offers hangars for rent and is an authorized dealer of ultralight aircraft, providing on-site assembly and assistance.
Peeler currently owns four planes, which he will buy and sell around.
Over the years, he’s trained roughly 3,100 people. He prides himself on the fact that not one of his students has ever sustained an injury during his instruction.
Light planes, he said, are the safest (and least-expensive) form of aviation. Driving to and from the airport is the most dangerous part, he said.
He doesn’t allow anyone without proper training to fly in or out of his ultraport. He also doesn’t allow untrained pilots to purchase any aircraft.
“If they don’t fly, they can’t buy,” he said.
His clientele has ranged from teens to a 92-year-old — who wanted to scratch “learning to fly” off his bucket list — and has included males, females, residents of Texas, Florida, New York and more. Most come from a 250-mile radius, however.
“It’s easy to fly — if it was hard, men couldn’t do it,” he joked.
The length of training varies depending on the certification level desired, whether it’s for a sport-pilot or an ultralight license. He usually has anywhere from about half a dozen students to nine on a regular basis. Once they graduate, a new wave can begin.
“I just try to impart what little bit I know,” he said modestly.
Flying, however, can’t happen every day. He flies during daylight hours and safe weather conditions only. He also limits flight lessons to no more than two hours, to prevent “sensory overload.”
Things have slowed down a bit from previous years, with prices of planes having gone up and people’s disposable income taking a hit during the economic downturn.
Nonetheless, he isn’t in it for the money. Many of his students have become his lifelong friends, often helping out with maintenance work and participating, along with Peeler, in various “fly-ins” at other airports and nearby airstrips —anywhere you can fly a Cessna — in the region and throughout the country, at times.
The largest is in Oshkosh, Wis., which he attended in July. At roughly 1,100 miles away, this requires frequent stops for fuel, taking about a day and a half in total.
Ultralight flying, he noted, is not about how fast you get somewhere but, instead, about enjoying the trip.
“I learn something new every day,” he noted.
Seeing the look on a student’s face the first time he or she flies solo is part of why he does what he does.
“To me, that’s what it’s all about,” Peeler said.
If his students have learned something and had fun, then he feels he has done his job.
The camaraderie with fellow pilots has enabled him to form a strong network within the ultralight community, and he spends many a weekend on trips to various functions, events and excursions to the beach. He also does “candy drops” for kids’ birthday parties.
“I think pilots are some of the best people in the world,” he said.
Beside allowing him to get from one place to another “a little faster,” flying also serves as a stress reliever. |
Single application of prostaglandin E2 in a viscous gel for induction of labor at term in patients with favorable cervix.
A single dose of 0.5 mg prostaglandin E2 in viscous gel was administered intracervically to induce labor in 150 patients with a favorable cervix. All but 5 patients (97 per cent) were delivered within 12 hours. No adverse maternal or fetal effects were registered. The method, which enables induction without primary amniotomy, was easy to perform and well accepted by the patients. |
Buying A Goose Down Comforter
Buying a goose down comforter for the first time can be a baffling experience. From fill power and fill weight to thread count and baffles there is a whole new world of terminology that you will need to be familiar with if you want to buy the right comforter.
Why Goose Down Instead of A Cheaper Feather Comforter?
To begin, you will need to know that down is different from the normal feathers you see on geese and ducks. While feathers can be hard and stiff, down is very light and soft. The softness means that you won’t have uncomfortable feathers poking at you through your comforter and the lightness provides superior insulation without being heavy. Down traps air inside your comforter and this is what keeps you warm but at the same time allows evaporation so you do not feel too hot or sweaty. Due to the loftiness of down, a 100% down comforter will spring back into it’s original shape after being squeezed. This is actually a good test to see if you have a genuine goose down comforter or an inferior quality blanket filled with stiff feathers and inexpensive polyester batting.
Get A High Fill Power and Fill Weight Goose Down Comforter
Since down can expand or contract, it is very difficult to judge the warmth of a down comforter by eye. That’s why the industry standard is to rate comforters by the amount of down that is in the filling, this is called “fill weight”. However a heavier fill weight does not necessarily mean a better blanket! You will also need to look at the “fill power” of your comforter. Fill power is the term used to describe how much volume an ounce (28.3 g) of down occupies. Naturally a higher fill power means a lighter, loftier and warmer blanket so you will want to get the highest fill power down comforter possible. A good guide is to look for fill power over 750 for an expensive quality goose down comforter, while an average quality down comforter (under $100) should have a fill power of around 500-600. A low fill power comforter will feel heavy and lumpy relative to it’s size and definitely will not keep you as warm as a better fill power comforter.
Baffle Box Or Quilt Stitched Down Comforters?
There are two ways of separating the down in your comforter and making sure that they stay in place and don’t all gather in one corner of the blanket. The best way is called baffling and a baffle box down comforter allows the down in the comforter to expand so it can cover the most area and provide the most warmth. A baffle construction is created by sewing walls of fabric inside the comforter to separate the down into separate “boxes”. This type of construction keeps the down from moving around in your blanket but is labor intensive and costly so it will cost more than a simple stitched goose down comforter. In contrast, a quilt stitched comforter uses only stitching through the two sides of the blanket to hold the down in place. This type of stitching compresses the down and thus makes a blanket that is not as warm or lofty since the down cannot expand properly. Not only that, but the stitching can come loose or undone after a while and the down can shift inside the blanket. This means that your goose down comforter will end up empty on one side while all the down has gathered at another corner! Despite these disadvantages, stitching is often used as a cost effective technique by manufacturers especially in lower quality goose down comforters. |
The present invention relates in general to a semiconductor device and in particular to a semiconductor device incorporating a gate voltage testkey for selectively programming isolation transistor gate voltage.
DRAM memory has enjoyed popular success over other types of memory technology because of its low cost and simple memory cell layout which promotes scalability. A DRAM memory cell is capable of storing one bit of information, and is constructed using only one memory cell transistor and one memory cell capacitor. As such, this memory cell is often referred to as a one-transistor one-capacitor (1T1C) cell. A collection of memory cells are grouped together in bitlines and wordlines, forming a memory array.
While device density in DRAM memory is limited by the resolution capability of available photolithographic equipment, it is also limited by the area consumed by each of the memory cells. Referring to FIG. 1, a memory structure 10 is comprised of a plurality of memory cells 12. As identified herein, the minimum area of a memory cell 12 is defined with reference to a feature dimension (F) which refers to the dimension that is half the wordline WL pitch (width plus space) or half the digitline DL pitch (width plus space). To illustrate the determination of cell area, a box is drawn around the memory cell 12. Along the horizontal axis H of the memory cell 12, the box includes one-half digitline contact feature 14, one wordline feature 16, one capacitor feature 18 and one-half field oxide feature 20, totaling three features. Along the vertical axis V of the memory cell 12, the box contains one half field oxide feature 22, one active area feature 24, and a second half oxide feature 26 totaling two features. The structure of the memory cell 12 results in its area being 3F.multidot.2F or 6FSupp2. To conserve space on a die, memory cell pairs 28 are defined by adjacent memory cells 12 that share a single bitline contact 30.
While the 6Fsupp2 array may be implemented as an open bitline as well as a folded bitline, early memory devices incorporated the open bitline configuration. In the open bitline architecture, each wordline connects to memory cell transistors on every bitline. This is sometimes referred to as a crosspoint style array. Referring to FIG. 2, a memory structure 100 is illustrated for an open digitline architecture. The memory structure 100 includes a plurality of memory cells 102. Each memory cell 102 is comprised of a capacitor 104, having a common node 106 biased at a voltage of Vcc/2 volts. The capacitor 104 typically represents a binary logic level one by a charge of +Vcc/2 volts, and a binary logic level zero by a charge of -Vcc/2 volts. Each memory cell 102 is further comprised of a transistor 108 having a first source/drain region 110, a second source/drain region 112, and a gate 114. The gate 114 of each transistor 108 connects to a wordline (WL) 116, 118, 120, 122, 124 and 126. Further, the first source/drain region 110 of each transistor 108 connects to a bitline (BL) 128.
As demands for higher capacity memory devices continue to increase, memory cells are placed closer together. However, where memory cells of a conventional 6 Fsupp2 array are packed too closely, adjacent memory cells may be affected by subthreshold leakage. Excessive subthreshold leakage may affect data integrity. In an attempt to resolve the problems that are attributable to the conventional 6 Fsupp2 array, the industry adopted an 8 Fsupp2 array where improved noise performance is realized by providing a twisted configuration. The 8 Fsupp2 memory array is created by tiling a selected quantity of memory cells together such that memory cells along a given bitline do not share a common wordline and such that memory cells along a common wordline do not share a common bitline. Any given wordline forms a memory cell transistor on alternating bitlines. This structure allows the formation of bitline pairs and ensures that wordline activation enables transistors only on alternate bitlines. Further, the 8 Fsupp2 provides improved noise performance, which is derived from the adjacency of true and complement bitlines and the capability to twist these bitline pairs. However, since the wordlines have to pass alternate memory cells as field poly, the size is increased by approximately 25%, or by 2 features. As such, the 8 Fsupp2 array does not provide the same degree of packing density seen in the 6 Fsupp2 array described above. As the demand for memory devices with larger capacity continues to increase, the larger array size provided by the 8 Fsupp2 array become a limiting factor.
For the reasons stated above, and for other reasons stated below which will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for a 6 Fsupp2 area array with improved subthreshold leakage characteristics, which allows for a higher packing density thus more densely populated memories. |
Raj and Riva
22:08Season 1Episode 11
Raj and Riva have a large family kitchen. But after 11 years, the brown cabinets, laminate counters and lack of organization, have them pushing the reno button. They want this to be their forever home, but quotes are coming in well over their budget. They wonder if they have to move to get their dream kitchen. They need help before they put a for sale sign on their home. Sebastian and Sabrina use their expertise and upcycling skills to create a kitchen that looks custom, saving Raj and Riva’s reno. |
Investor Relations - Horizontal
Investors
Tools
Company Tear Sheet
Company Tear Sheet
TerraForm Power is an owner and operator of a best-in-class, 4,066 MW renewable power portfolio including solar and wind assets in North America and Western Europe. These premier assets are underpinned by long-term contracts that produce stable cash flow.
TerraForm Power is ideally positioned to capitalize on the growth in renewable power generation. TerraForm Power has considerable potential to grow both organically and through the acquisition of new facilities, including through its sponsor and majority shareholder Brookfield Asset Management.
Brookfield Asset Management is a leading global alternative asset manager with over $500 billion of assets under management. Brookfield offers deep renewable sector expertise, a track record as a cornerstone investor aligned with other stakeholders, and a longstanding and experienced management team.
TerraForm Power will focus on acquiring, owning and operating solar and wind assets in North America (including Mexico) and Western Europe. |
Q:
Shortest possible definition for someone who doesn't know programming
Can anyone think of the shortest possible definition for API, especially for someone who doesn't know programming? I'm using it in an essay and would like to footnote the definition for readers that might not understand the meaning or context of an app programming interface without tripping myself and the flow of the work.
A:
From the wikipedia disambiguation page:
API, originally Advanced Programming Interface but now more commonly known by its near-synonym, Application programming interface, is any defined inter-program interface.
"any defined inter-program interface" is nice, but maybe a little broad for your purposes.
It's a lot of things (see wikipedia). But I usually think of it as the collection of tools and documentation that allow a user to interact with an external library or base of information.
Howstuffworks has a good definition:
An application-programming interface (API) is a set of programming instructions and standards for accessing a Web-based software application or Web tool.
I don't think API implies that the application must be web-based, but I otherwise like this definition.
|
It will continue to embarrass for as long as production is allowed to churn arid cornpop. They can't orchestrate a thrilling action sequence, the costumes don't befit a hero and it certainly doesn't flatter the artists (everyone clunks around) and the villain seems extracted from an outdated RPG. Cavill wakes up to serve us what's left of the Superman character and Amy Adams and Diane Lane are the only Amazons. Most of the artists left their joy elsewhere.
We've bullied and judged Anne Hathaway so harshly that she is no longer capable of supplying a character with natural ticks. Even when her character begs to be petulant, her need to be liked overwhelms. The only way she can surprise us is by inhabiting the soul "the haters" hashtagged her with and let it all go. The support also reciprocates badly.
This soup is a melange of original ideas executed by a crew that didn't understand them and a writer who sabotaged it.
I was ready to celebrate everything the Wonder Woman mythology entrenches but I can only laud the idea because the interpretation curtails the triumph.
Themyscira flounders the hardest because accomplished actresses are burdened with harsh and awkward accents to help explain the heroine's dialect. They may be mentally strong women but they can't persuade us they have physical strength. If they really wanted to represent Amazon girl power, challenge actresses who have inhabited physical dynamism and give the fans a rise. Lucy Lawless, Sarah Michelle Geller, Jessica Alba, Jennifer Garner, etc. are waiting in line to be acknowledged and honored.
Gal Gadot was declared Wonder Woman but we don't get to witness her growth or empowerment.
Pine's Steve Trevor undermines Diana by trumpeting himself as an extraordinary alpha that is solely qualified to subdue such a forceful heroine. The writers should have noted that she gives the man the strength as soon as she prefers him. With this role Pine finally fulfills the culmination that is William Shatner.
The weenie foe does nothing to elevate Diana's heroism.
The music manipulates our emotions, the stunts are self-aware, the FX are ponderous and the direction fails to catapult.
I want a Wonder Woman that's not ashamed of her power, that wears the colors of our flag boldly and who shouts for women but fights for everyone.
I was ready to geek out at this stand-alone side quest but besides Vader and space action sequences at end, there isn't much to delight. The music foretells how we should feel before the action unfolds. The director and editor do not serve the stuntwork which is shown in its raw state where we see them react and fall before a hit. The actors appear glum and forfeited. No hero steps up and no cheers result. The CGI that arises the dead creeps instead of inspires and the independent budget doesn't accelerate its art, it trashes it. 18-Jul-2017
There are sheeny new effects to experiment with and they utilize them. Unfortunately, the notion fades along with the tech. The movie is still dumb and realized by a mannequin whose mane speaks in volumes of kool but whose emotional range is snatched. 21-Mar-2017
The movie has its place in history and I remembered it as it was perceived for its time. Unfortunately, technology does not allow for the tweaking of effects that would provide the present with resonance. Had it not relied so heavily on its tricks it might have thrilled but all I can see is the hard work, I can no longer feel it. Its only power is gazing at an abundance of stars some of which fare, others which just beg. Faye Dunaway who spends a lot of time licking on Paul Newman, predates Mommie Dearest but still acts like Joan Crawford which makes you question if her Joan was a revelation or was she always swiping from her? Of the two Alpha blondes, Steve and Paul, MacQueen proves that only his gets fondly yanked. 12-Mar-2017
They still can't get it right. Just because they are largely casing lives of elders doesn't mean the pacing has to be so slow. The only hearty moments come from the pros constant outreach. The production constantly lets them down and the aliens are still undisturbingly dizzy. 02-Feb-2017
Has nothing to do with the first one and they're not even trolls but goblins. The goblins are not CGI'd and poorly rendered by stuffed little people with party masks. There are two moments that would have unearthed some cult fanaticism if they had explored more of it: when the boy pisses on the family dinner because he doesn't want them to be poisoned and when the couple share a husk of corn that turns into popcorn because the sex is heated. Stupid brilliance. 15-Jan-2017
An all-girl Ghostbusters was welcome but Feig does not equip them with a technique or a crew that would elevate them or excite us in bringing them into this decade. The effects stand poorer than the fade in the original, Wiig is the only one trying to embody the character while MacKinnon resolved that a Bieber snip would help characterize and Melissa is doing schtick. Chris Hemsworth adds some candied fun but is relegated to being irritatingly stupid. His one chance to redeem is pushed silently onto the credits because the only musical sketch they should have kept they deemed too much. Bad call. All we needed was a good Ghostbusters story with kool effects and women starring. Instead we get girls acting like boys because we cannot accept femininity as a strength. Bring back the girls! 09-Jan-2017
The idea is worthy of exploration but Howard has no interest in inflicting it with personality. His direction is slow and clammed up like the cocoons laying at the bottom of the pool. It's up to the old timers to ratchet the drama and corral the sentiment. The aliens are stifled, Tinker Bell inspired and pending. Howard does nothing to propel any of the interesting themes or actions presented beyond being an enabling father who thinks children can parent themselves. Its a disservice to everyone and it kills the opportunity for classicdom. 03-Jan-2017 |
Q:
Does logistic regression can only solve binary classification problem?
Does logistic regression only solve binary classification problems?
How can logistic regression solve multiple-class problems?
A:
No, multiclass classification is also possible. Try reading up on 'One vs All' multiclass classification.
https://en.wikipedia.org/wiki/Multiclass_classification
Multiclass, One vs All classification in the case of logistic regression:
https://www.coursera.org/learn/machine-learning/lecture/68Pol/multiclass-classification-one-vs-all
|
1918 Clemenceau–Lloyd George Agreement (Middle East)
The Clemenceau–Lloyd George Agreement of 1 December 1918 was a verbal agreement which modified the 1916 Sykes–Picot Agreement in respect to Palestine and the Mosul Vilayet. The latter component is also known as the Mosul cession. The agreement was between British and French Prime Ministers David Lloyd George and Georges Clemenceau, and took place at the French Embassy in London.
The agreement was controversial because the French did not appear to have gained any substantial changes from Britain in return for their concessions of Mosul and Palestine.
John J McTague Jr wrote that "Despite the informality of this agreement, Lloyd George and Clemenceau held to it and it became the basis for legitimizing the British claim to Palestine."
The agreement was finalised in a meeting at Deauville in 1919.
Bibliography
Fitzgerald, Edward Peter. "France's Middle Eastern Ambitions, the Sykes–Picot Negotiations, and the Oil Fields of Mosul." The Journal of Modern History 66.4 (1994): 697–725.
References
Category:1918 in France
Category:1918 in Ottoman Syria
Category:1918 in the United Kingdom
Category:Mandatory Palestine
Category:Boundary treaties
Category:France in World War I
Category:France–United Kingdom treaties
Category:Imperialism
Category:Ottoman Empire in World War I
Category:Secret treaties
Category:Sykes–Picot Agreement
Category:Treaties concluded in 1918
Category:Treaties involving territorial changes
Category:Treaties of the French Third Republic
Category:Treaties of the United Kingdom (1801–1922)
Category:United Kingdom in World War I
Category:World War I treaties
Category:David Lloyd George
Category:History of Mosul |
This invention relates to an electro-acoustic transducer of the moving coil type, which is suitable for use as a tone caller for a telephone subscriber's instrument, or as a loudspeaker, e.g. in a loudspeaking telephone. |
package leetcode
import (
"math"
"sort"
)
func minimumAbsDifference(arr []int) [][]int {
minDiff, res := math.MaxInt32, [][]int{}
sort.Ints(arr)
for i := 1; i < len(arr); i++ {
if arr[i]-arr[i-1] < minDiff {
minDiff = arr[i] - arr[i-1]
}
if minDiff == 1 {
break
}
}
for i := 1; i < len(arr); i++ {
if arr[i]-arr[i-1] == minDiff {
res = append(res, []int{arr[i-1], arr[i]})
}
}
return res
}
|
Long-Term Implications of the 2011 Future Years Defense Program
In most years, the Department of Defense (DoD) provides a five- or six-year plan, called the Future Years Defense Program (FYDP), associated with the budget that it submits to the Congress. Because decisions made in the near term can have consequences for the defense budget well beyond that period, the Congressional Budget Office (CBO) has examined the programs and plans contained in DoD’s FYDP and projected their budgetary impact in subsequent years.
For this analysis, CBO used the FYDP provided to the Congress in April 2010, which covers fiscal years 2011 through 2015—the most recent plan available when this analysis was conducted. CBO’s projections span 2011 through 2028.
CBO’s Projections In February 2010, DoD requested an appropriation of $707 billion for 2011. Of that amount, $548 billion was to fund the “base” programs that constitute the department’s normal activities, such as the development and procurement of weapon systems and day-to-day operations of the military and civilian workforce. The remaining $159 billion was requested to pay for overseas contingency operations—the wars in Afghanistan and Iraq and other military activities elsewhere.
CBO focused its analysis on the base budget because it reflects DoD’s future plans for manning, training, and equipping the military.
CBO has projected the costs of DoD’s plans for its base budget (reflected in the FYDP, along with other long-term plans released by the department) by using factors that are consistent with the department’s recent experience. CBO’s analysis yields these conclusions:
To execute its base-budget plans for the period covered by the FYDP, DoD would need about $187 billion (or 7 percent) more over those five years than if funding was held at the 2010 level of $537 billion. Over the 10 years from 2012 to 2021, DoD would need a total of $680 billion (or 13 percent) more than if funding was held at the 2010 level.
From 2011 to 2015, DoD’s base budget would grow at an average annual rate of 2.3 percent, after an adjustment for inflation. Beyond the FYDP period, from 2016 to 2028, average annual growth in the costs of DoD’s base-budget plans would be 0.8 percent after an adjustment for inflation. At those rates, DoD’s base budget would rise from $548 billion in 2011 to $601 billion in 2015 and to $665 billion in 2028.
The primary cause of long-term growth in DoD’s budget from 2011 through 2028 would be increasing costs for operation and support, which would account for nearly all of the increase. In particular, CBO projects that there would be significant increases in the costs for military and civilian compensation, military medical care, and various operation and maintenance activities.
That large contribution of operation and support costs to budget growth is a change from earlier projections, in which sharp growth in anticipated requirements to replace and modernize weapon systems (the so-called bow wave) was the primary factor underlying budget growth beyond the years covered by the FYDP. In the current projections, acquisition costs would steadily grow from $189 billion in 2011 to a peak of $218 billion in 2017 (an increase of about 15 percent) before decreasing and leveling off—albeit with year-to-year variations—at an average of about $200 billion per year thereafter.
Comparison With Projections Incorporating DoD’s Estimates CBO compared its projection (labeled in this study “the CBO projection”) with DoD’s estimate of the costs of the FYDP (for the 2011–2015 period) and with “an extension of the FYDP” (for the 2016–2028 period). The latter is a projection based on DoD’s estimates of costs, where they are available for years beyond 2015 (for some weapon systems, for instance), and on costs consistent with the broader U.S. economy, where estimates from the department are not available (for pay and medical costs, for instance).
CBO’s projection of the total cost of the FYDP through 2015—at $2,874 billion—is $41 billion (or about 1 percent) higher than the department’s estimate. Much of the difference derives from an assumption that recent trends in the costs of weapon systems, medical care, and other support activities persist.
By DoD’s estimates, executing its plans for 2011 through 2015 would require real (inflation-adjusted) increases in spending of about 1.5 percent annually (excluding emergency and supplemental funding for overseas contingency operations). Over the five-year period, that growth rate would result in costs that were $146 billion (or 5 percent) greater than the amount of DoD’s budget if it was held at the 2010 level.
By 2015, the end of the FYDP period, annual costs under the CBO projection would be about $18 billion (or 3 percent) higher than the estimate in the FYDP; at the end of 10 years, in 2021, annual costs under the CBO projection would be $34 billion (or 6 percent) higher than the extension of the FYDP; and similarly, by 2028, the end of the projection period, annual costs under the CBO projection would be about $37 billion (or 6 percent) more than the estimate for the extension of the FYDP.
The degree to which the plans laid out by DoD are executed in the future will depend on the amount of funding that will be provided in an era of increasing pressure on the federal budget as a whole and on the success of ongoing efforts to curb cost growth in areas such as medical care and advanced weapon systems. Indeed, Secretary of Defense Gates announced on January 5, 2011, that DoD will trim its plans by a total of $78 billion (or about 3 percent) from 2012 to 2016 in recognition of the fiscal environment.
Because many details of those revisions to plans have not yet been released, an analysis of the possible effects if they were adopted is not possible and is not included in this study. |
BRAVEHEART - A 9/11 TRIBUTE 5:52 A song & video in honor of those who were lost and the heroes who went in after them. Submitted by: Engineer007 Inspirational Keywords: 9 11 firefighter heroes Views: 164
Great Americans visitors can view videos featuring everyday American heroes submitted by military personnel, military support organizations, veteran's groups, law enforcement, fire and rescue and NASA. Visitors are invited to join in the Great Americans movement and upload videos, comment and discuss content, or visit an online memorial to American heroes in uniform who have been wounded or lost their lives in the line of duty. |
Q:
C# - code to order by a property using the property name as a string
What's the simplest way to code against a property in C# when I have the property name as a string? For example, I want to allow the user to order some search results by a property of their choice (using LINQ). They will choose the "order by" property in the UI - as a string value of course. Is there a way to use that string directly as a property of the linq query, without having to use conditional logic (if/else, switch) to map the strings to properties. Reflection?
Logically, this is what I'd like to do:
query = query.OrderBy(x => x."ProductId");
Update:
I did not originally specify that I'm using Linq to Entities - it appears that reflection (at least the GetProperty, GetValue approach) does not translate to L2E.
A:
I would offer this alternative to what everyone else has posted.
System.Reflection.PropertyInfo prop = typeof(YourType).GetProperty("PropertyName");
query = query.OrderBy(x => prop.GetValue(x, null));
This avoids repeated calls to the reflection API for obtaining the property. Now the only repeated call is obtaining the value.
However
I would advocate using a PropertyDescriptor instead, as this will allow for custom TypeDescriptors to be assigned to your type, making it possible to have lightweight operations for retrieving properties and values. In the absence of a custom descriptor it will fall back to reflection anyhow.
PropertyDescriptor prop = TypeDescriptor.GetProperties(typeof(YourType)).Find("PropertyName");
query = query.OrderBy(x => prop.GetValue(x));
As for speeding it up, check out Marc Gravel's HyperDescriptor project on CodeProject. I've used this with great success; it's a life saver for high-performance data binding and dynamic property operations on business objects.
A:
I'm a little late to the party, however, I hope this can be of some help.
The problem with using reflection is that the resulting Expression Tree will almost certainly not be supported by any Linq providers other than the internal .Net provider. This is fine for internal collections, however this will not work where the sorting is to be done at source (be that SQL, MongoDb, etc.) prior to pagination.
The code sample below provides IQueryable extention methods for OrderBy and OrderByDescending, and can be used like so:
query = query.OrderBy("ProductId");
Extension Method:
public static class IQueryableExtensions
{
public static IOrderedQueryable<T> OrderBy<T>(this IQueryable<T> source, string propertyName)
{
return source.OrderBy(ToLambda<T>(propertyName));
}
public static IOrderedQueryable<T> OrderByDescending<T>(this IQueryable<T> source, string propertyName)
{
return source.OrderByDescending(ToLambda<T>(propertyName));
}
private static Expression<Func<T, object>> ToLambda<T>(string propertyName)
{
var parameter = Expression.Parameter(typeof(T));
var property = Expression.Property(parameter, propertyName);
var propAsObject = Expression.Convert(property, typeof(object));
return Expression.Lambda<Func<T, object>>(propAsObject, parameter);
}
}
Regards, Mark.
A:
I liked the answer from @Mark Powell, but as @ShuberFu said, it gives the error LINQ to Entities only supports casting EDM primitive or enumeration types.
Removing var propAsObject = Expression.Convert(property, typeof(object)); didn't work with properties that were value types, such as integer, as it wouldn't implicitly box the int to object.
Using Ideas from Kristofer Andersson and Marc Gravell I found a way to construct the Queryable function using the property name and have it still work with Entity Framework. I also included an optional IComparer parameter. Caution: The IComparer parameter does not work with Entity Framework and should be left out if using Linq to Sql.
The following works with Entity Framework and Linq to Sql:
query = query.OrderBy("ProductId");
And @Simon Scheurer this also works:
query = query.OrderBy("ProductCategory.CategoryId");
And if you are not using Entity Framework or Linq to Sql, this works:
query = query.OrderBy("ProductCategory", comparer);
Here is the code:
public static class IQueryableExtensions
{
public static IOrderedQueryable<T> OrderBy<T>(this IQueryable<T> query, string propertyName, IComparer<object> comparer = null)
{
return CallOrderedQueryable(query, "OrderBy", propertyName, comparer);
}
public static IOrderedQueryable<T> OrderByDescending<T>(this IQueryable<T> query, string propertyName, IComparer<object> comparer = null)
{
return CallOrderedQueryable(query, "OrderByDescending", propertyName, comparer);
}
public static IOrderedQueryable<T> ThenBy<T>(this IOrderedQueryable<T> query, string propertyName, IComparer<object> comparer = null)
{
return CallOrderedQueryable(query, "ThenBy", propertyName, comparer);
}
public static IOrderedQueryable<T> ThenByDescending<T>(this IOrderedQueryable<T> query, string propertyName, IComparer<object> comparer = null)
{
return CallOrderedQueryable(query, "ThenByDescending", propertyName, comparer);
}
/// <summary>
/// Builds the Queryable functions using a TSource property name.
/// </summary>
public static IOrderedQueryable<T> CallOrderedQueryable<T>(this IQueryable<T> query, string methodName, string propertyName,
IComparer<object> comparer = null)
{
var param = Expression.Parameter(typeof(T), "x");
var body = propertyName.Split('.').Aggregate<string, Expression>(param, Expression.PropertyOrField);
return comparer != null
? (IOrderedQueryable<T>)query.Provider.CreateQuery(
Expression.Call(
typeof(Queryable),
methodName,
new[] { typeof(T), body.Type },
query.Expression,
Expression.Lambda(body, param),
Expression.Constant(comparer)
)
)
: (IOrderedQueryable<T>)query.Provider.CreateQuery(
Expression.Call(
typeof(Queryable),
methodName,
new[] { typeof(T), body.Type },
query.Expression,
Expression.Lambda(body, param)
)
);
}
}
|
Practice in Barcelona to begin on wet track
10 May 2013 – The opening practice session for the Spanish Grand Prix will begin on a wet track, with the forecasted showers falling all morning at the Circuit de Catalunya.
As teams have brought their first significant upgrade packages of the year to Barcelona, the rain will serve as a major setback, with dry mileage key to understanding wind tunnel to circuit correlation. Pirelli had also supplied an extra set of prototype Hard tyres in a bid to boost activity, but these are unlikely to be used.
Social Media
Check out our community:
About us
GPUpdate.net, the daily motorsport news website which is celebrating over a decade of the latest in Formula 1, publicly dates back to 1998.
Founded as F1Racing.net, the online magazine is part of JHED Media BV, a registered company operating out of The Netherlands. |
Introduction {#s1}
============
GPCRs are a vast superfamily of eukaryotic transmembrane receptors which act as ubiquitously expressed key regulatory elements and constitute more than 30% of current drug targets \[[@B1]\]. Solving GPCR structures is notoriously technically daunting: as of June 2013, structures for only 21 currently unique GPCRs were available, less than 3% of the GPCR diversity of the human genome. Thus, computational tools are needed to obtain structural information for most GPCR-targeting drug design and/or biophysical studies of receptor/ligand interactions.
All GPCRs share a 7-helix membrane spanning architecture; however the average sequence identity between members of the superfamily is often below 20% \[[@B2]\], making target selection and alignment required for homology modeling far from trivial. Nonetheless, homology modeling has succeeded in predicting ligand-target interactions information for several different GPCRs \[[@B3]--[@B6]\]. In many cases, bioinformatic tools aided by experimental validation have been crucial for accurate structural characterization \[[@B7]--[@B11]\].
Both GPCR modeling servers/databases (GPCR-SSFE \[[@B12]\], GPCR-ITASSER \[[@B13]\], and GPCR-ModSim \[[@B14]\]) and small ligand docking servers exist (MEDock \[[@B15]\], PatchDock \[[@B16]\], and SwissDock \[[@B17]\]). However, there is a lack of tools that allow users to go seamlessly from sequence to docking, as well as letting users guide the procedure with experimental data. An additional hindrance is that a robust *in silico* approach to drug design and ligand-receptor investigation requires mastering a wide array of software tools, from alignment to modeling to docking and structural refinement. Groups interested in ligand-GPCR structural information do not necessarily have this breadth of structural bioinformatics expertise; furthermore, even users familiar with modeling and docking software may find a quicker and reproducible method very useful. GOMoDo is meant to allow both expert and non-expert users to obtain readily, with minimum effort, biologically and pharmacologically relevant results. GOMoDo, by itself, does not use any novel or untested method, but simply puts together state-of-the-art, proven bioinformatic tools in an easy user interface. The procedure herein automated has been already successfully tested multiple times \[[@B8],[@B11],[@B44]\].
The GOMoDo Pipeline {#s2}
===================
The GOMoDo pipeline is briefly resumed in [Figure 1](#pone-0074092-g001){ref-type="fig"}. All the programs used in the pipeline make use of the standard parameters, unless noted.
{#pone-0074092-g001}
Alignment and template choice {#s2.1}
-----------------------------
The server follows two possible routes ([Fig. 1](#pone-0074092-g001){ref-type="fig"}). Users can upload a target sequence or can select one of the human GPCRs available in a local database by using the name of the receptor. A standard HHsearch protocol \[[@B18],[@B19]\] is then used to find structurally related templates from remotely homologous sequences. Given that in some cases heuristic algorithms are not accurate enough to obtain a reliable HMM for the target \[[@B20]\], a good alignment is recommended for the generation of a robust HMM profile. For the generation of the HMM, the users can (i) choose to input an alignment of the target with relevant sequences from the same subfamily, (ii) let the server calculate such alignment, or (iii) in the case of human GPCRs, use one of the pre-generated alignment present in the server. For the latter case, sequences of the different GPCRs subclasses, as obtained in the work by Almén and collaborators \[[@B21]\], were aligned by us. We have used the program PROMALS \[[@B22]\], following the same methodology as in refs. [@B8],[@B11]. If a user- or database-provided alignment is not available, the initial multiple sequence alignment is automatically generated by a search of similar sequences, using either classic BLAST \[[@B23]\] or the HMM-based search with HHblits \[[@B24]\]. The user can choose the number of rounds of sequence search in either case. Secondary structure information is added to the alignment using PSI-PRED \[[@B25]\]. A hidden Markov model (HMM) is then built and calibrated from the multiple alignment using HHmake \[[@B19]\], matched to suitable templates of known structure with HHsearch \[[@B19]\] using the database of HMMs available at ftp://toolkit.lmb.uni-muenchen.de/pub/HHsearch/databases/. Suitable templates are chosen from a complete set of GPCRs three-dimensional structures (see [Table S1](#pone.0074092.s001){ref-type="supplementary-material"} for a list of PDB codes of available templates as of manuscript submission). Templates and the corresponding HMM database are updated every 1-2 months. Finally a structural alignment is produced for each template using HHmakemodel. Before proceeding to modeling, we allow the users to check the correctness of the alignment with JALVIEW \[[@B26]\]. This procedure has been shown previously to obtain template/target alignments useful for homology modeling whenever the sequence similarity is low but the overall fold similarity is high, as in the case of GPCRs \[[@B8],[@B11]\].
Homology modeling and model quality assessment {#s2.2}
----------------------------------------------
A user-chosen number of models is made for each template using MODELLER9v10 \[[@B27]\] with standard single-template parameters ([Figure 1](#pone-0074092-g001){ref-type="fig"}, users must have their own MODELLER key). The user can also choose for automatic loop refinements to be performed for each model by means of the standard *loopmodel* class. For each model, GOMoDo outputs the template PDB code, DOPE score (full and normalized) \[[@B28]\], MOLPDF score \[[@B27]\] and GA341 score \[[@B29]\] as well as other information A scatter plot of the GA341 *vs.* normalized DOPE score for all models is available. Furthermore, models can be directly submitted to the VADAR model quality assessment server \[[@B30]\]. By using VADAR users can check more than 30 model quality indicators, which include structural descriptors calculated by DSSP \[[@B31]\], WHATIF \[[@B32]\] or PROCHECK \[[@B33]\] like the Ramachandran plot, fractional accessible surface area, fractional volume, 3D quality index and stereo/packing quality index. Upon completion of the modeling job, the user is notified by an automatic e-mail sent by the server. Alternatively, the modeling results can be retrieved directly from the webserver up to 60 days later, by inserting the modeling job ID and/or e-mail address. Alignment and modeling together can take from several tens of minutes to several hours, depending on server load and the number of requested homology models.
Advanced users may prefer to refine or modify the GOMoDo-obtained models by themselves before proceeding to docking. We allow users to upload custom models along with the ones obtained in the output, and to compare them before proceeding. In order to facilitate the user, we include a page with the web links of other GPCRs modeling online tools.
Docking {#s2.3}
-------
GOMoDO can dock small molecules and peptides (i) blindly (using AutoDock VINA \[[@B34]\], herein referred as VINA) or (ii) using experimental information (using HADDOCK \[[@B35],[@B36]\]) as reported in [Figure 1](#pone-0074092-g001){ref-type="fig"}.
1. \(i\) VINA \[[@B34]\] is a fast, multithreaded and accurate rewriting of AutoDock that often outperforms classical AutoDock both in speed and quality \[[@B37],[@B38]\]. A three-dimensional SDF or PDB file of the ligand is all the input required. We also provide a library of olfaction-related compounds from the OlfactionDB database \[[@B39]\]. On the GOMoDo server, we can return ten VINA-docked structures in less than a minute. VINA requires knowledge of the location search space for conformations of the ligand \-\-- in other words, the generic location of the binding site. The server already contains such information for all templates with respect to the template PDB coordinate system; therefore before docking, the model is structurally aligned with the templates using LOVOALIGN \[[@B40]\] to guarantee that the search space box is in the correct position with respect to the model coordinate system. In simple cases (small ligands and targets close in sequence to a modeling template) GOMoDo with VINA can yield quick and reasonable results.
2. \(ii\) Available experimental information on the residues involved in ligand binding such as NMR titration experiments or mutagenesis data can be used to guide docking. This can be of crucial importance when docking is based on non-trivial homology models, as is often the case for GPCRs. We therefore offer an interface to the HADDOCK software \[[@B35],[@B36]\], where the user can indicate explicitly the protein residues involved in the receptor-ligand interaction. HADDOCK performs a slower but more refined docking than VINA. In particular, HADDOCK includes a final refinement step with molecular dynamics in explicit water which allows for flexibility of specified residues. This feature has the further positive side effect of including side-chain optimization of the binding cavity. While advanced users can take advantage of the online official HADDOCK server \[[@B41]\] for this (which gives full control over all docking options), we also offer a simplified in-house interface to the HADDOCK software that allows the docking of ligands, peptides or interacting proteins. If the ligand is a small non-protein molecule, HADDOCK requires parameter files with partial charges for the ligand, as well as CNS parameter files. Users can obtain them from PRODRG \[[@B42]\] or produce them using their own calculations. GOMoDo allows downloading the entire HADDOCK output either as a compressed archive, individual clusters or single output structures. HADDOCK advanced refinement is also attractive when experimental information is missing. To use HADDOCK for blind docking in GOMoDo, the user can analyze the model on the server with FPOCKET \[[@B43]\] and obtain in a few seconds predictions of plausible binding pockets; in the Supplementary Information, we give two successful examples of this usage ([Figure S1](#pone.0074092.s002){ref-type="supplementary-material"}). FPOCKET is also useful for obtaining accessory information for experiment-guided docking.
Application Cases {#s3}
=================
The methodology automatized in GOMoDo has been already used to structurally characterize ligand-GPCRs adducts \[[@B8],[@B11],[@B44]\]. To assess the server, we tested GOMoDo by reproducing selected examples of known GPCR-ligand complexes present in the PDB (targets). In every case we mimicked what a standard user would do, as advised by the manual. For the selected PDB complexes we took the full protein sequence from UniProt and generated 30 models per template using the default BLAST alignment for HMM generation. We then picked up the best model according to DOPE and GA341 scores, obviously excluding models built on the structure of the target. The ligands present in the crystal structure were then docked to the model using VINA or HADDOCK programs.
Here we describe three examples of applications ([Figure 2](#pone-0074092-g002){ref-type="fig"}): the first example is a simple application using the human beta-2 adrenergic receptor (hβ2AR) that has been previously used by some of us as a test case \[[@B44]\]. The second example is the modeling of human dopamine D3 receptor (hD3R), a slightly more complex case because of the low sequence identity between the receptor and the templates. Finally, the third example deals with the human A~2~A adenosine receptor (hA ~2~AR) in complex with the antagonist ligand ZM241385 (ZMA). In this case, some difficulties can be expected because the antagonist is a rather bulky molecule. Other application examples, which can be found in [Figure S1](#pone.0074092.s002){ref-type="supplementary-material"}, deal with the human histamine H1 receptor and human kappa-opioid receptor.
{#pone-0074092-g002}
hβ2AR {#s3.1}
-----
The structure of the hβ2AR (UniProt ID: P07550) was modeled using as a template the structure of the turkey beta-1 adrenergic (tβ1AR) receptor (PDB entry: 2Y00 \[[@B45]\], UniProt ID: P07700). The sequence identity between the two receptors is about 46.1% and thus the model is indeed of relatively good quality \[Cα root mean square deviation (rmsd) = 1.3 Å\]. Furthermore, the ligand is relatively small and thus it probably does not require significant conformational changes of the side chains to fit in the binding cavity. We docked the ligand carazolol to the hβ2AR model with fast VINA and compared our results against the experimentally determined X-ray structure (PDB code: 2RH1 \[[@B46]\]). The resulting structure of the ligand-receptor complex is in fair agreement with the crystal structure, in terms of both the ligand pose and the side-chains orientation ([Figure 2A](#pone-0074092-g002){ref-type="fig"}, rmsd calculated on heavy atoms = 2.9 Å).
hD3R {#s3.2}
----
VINA can also give reasonable results when used with distant homology models. We modelled hD3R (UniProt ID: P35462) in complex with the antagonist eticlopride, and compared the results with the corresponding crystal structure (PDB code: 3PBL \[[@B47]\]). The best template in this case was human sphingosine-1 phosphate receptor (PDB code: 3V2Y \[[@B48]\], UniProt ID: P21453), with a sequence identity of 22.1%. Despite the relatively poor modelling of loops in the binding site, the orientation of the binding pose is correct ([Figure 2B](#pone-0074092-g002){ref-type="fig"}, rmsd = 4.0 Å).
hA~2~AR {#s3.3}
-------
An example of a harder task is reproducing the structure of hA ~2~AR in complex with ZMA, whose crystal structure is available as PDB code 3EML \[[@B49]\] (UniProt ID: P29274). Here, the best template, which happens to be again the tβ1AR (PDB: 2Y00) structure, shares only 28.1% of sequence identity with the target. Hence, the model can be expected to be less accurate (model/target Cα rmsd = 4.0 Å) than the one previously described. In this case, the antagonist is also significantly bulkier. We therefore used HADDOCK \[[@B35],[@B36]\] and we set inter-molecular interactions between the ligand and residues Asn253, Met270, Ile274, Ser277, and His250 as active restraints. We also used the best FPOCKET predicted binding pocket - which encompassed the binding residues - as passive restraints (that is, the residues that HADDOCK is given permission to move to accommodate the ligand). Default options of HADDOCK and default PRODRG settings for ligand were used. The best structure of the most populated HADDOCK-derived cluster, ([Figure 2C](#pone-0074092-g002){ref-type="fig"}) is very similar to that of the X-ray structure (rmsd = 2.1 Å) \[[@B49]\].
The third case (the modeling of hA ~2~AR) shows that advanced docking methods are often required to obtain reasonable structures. Docking of ZMA to the hA ~2~AR model structure with VINA fails: the ligand is shifted from the correct binding site and flipped by 180 degrees on two axes ([Figure 2D](#pone-0074092-g002){ref-type="fig"}, rmsd = 10.5 Å). Moreover, even the VINA best structure in this case shows gross clashes between the ligand and protein side chains due to the difficulty in accommodating the ligand while treating the protein as rigid ([Figure 2D](#pone-0074092-g002){ref-type="fig"}, insert). Notice that even if the starting model is the same for VINA and HADDOCK, the backbone and side chain orientation of models is slightly different and often closer to the experimental structure in the latter. This is due to the flexible refinement of HADDOCK performed in explicit solvent, while VINA treats the model as rigid. In [Figures S1A](#pone.0074092.s002){ref-type="supplementary-material"} and [S1B](#pone.0074092.s002){ref-type="supplementary-material"}, we show how HADDOCK can also be useful in the absence of experimental information by using FPOCKET to obtain restrains.
Conclusions {#s4}
===========
GOMoDo is intended to be a user friendly pipeline that puts together several state-of-the-art tools and allows experienced and inexperienced users to obtain GPCR's homology models together with predictions of ligand binding poses. GOMoDo was developed to be flexible and adaptable to the user's demands. For this reason, every step of the GOMoDo pipeline allows user intervention (if needed) to i) insert alignments, ii) use homology models generated by other methods, iii) predict binding cavities and iv) include experimental restraints for performing knowledge-based virtual docking experiments. The combination of all these tools in a single publicly available web server is GOMoDo's novelty. In particular, the possibility of interacting with the server all along the pipeline allows the user to include experimental information from molecular biology experiments into the process, preventing it from becoming a fully-automatic black-box.
Supporting Information
======================
######
**GPCR structures available as templates in GOMoDo as of June 2013.** Note that the template database is regularly updated every 1-2 months.
(DOCX)
######
Click here for additional data file.
######
**Further examples of GOMODO in action.** Receptor binding sites in the immediate neighbourhood of ligands for crystal structures and models obtained with GOMoDo. The homology model and the docked ligand are orange and red, respectively. The experimental structure and ligand are cyan and blue, respectively.
Here we show examples of successful *blind* HADDOCK docking, exploiting FPOCKET to guess residues involved in the binding cavity. All the residues corresponding to the best FPOCKET-calculated binding cavity were used as both active and passive restraints. (**A**) Human histamine H1 receptor (UniProt ID: P35367) in complex with *trans-*doxepin: model and docking compared with crystal structure (PDB code: 3RZE). Model template is human M2 muscarinic acetylcholine receptor (PDB code: 3UON, UniProd ID: P08172). (**B**) Human kappa-opioid receptor (UniProt ID: P41145) in complex with the bulky and flexible ligand JDTic: model and docking compared with crystal structure (PDB code: 4DJH). Model template is the mouse μ-opioid receptor (PDB structure: 4DKL, UniProt ID: P42866). In this case the pose is slightly shifted with respect to the crystal structure and rotameric state is different; however position and global orientation are correct. Here nitrogen atoms are in dark green and oxygen atoms in cornflower blue.
(TIF)
######
Click here for additional data file.
Faculty of Science, Utrecht University, The Netherlands) For kindly allowing us to include HADDOCK in GOMoDo, Sergio Marin Vargas (University of Verona, Italy) for technical help, and Alexander Peyser (German Research School for Simulation Sciences GmbH, Jülich, Germany) for comments on the manuscript.
[^1]: **Competing Interests:**The authors have declared that no competing interests exist.
[^2]: Conceived and designed the experiments: AG FM MS PC. Performed the experiments: MS TPD MC. Analyzed the data: MS FM AG. Contributed reagents/materials/analysis tools: AG. Wrote the manuscript: MS HZ PC FM AG.
|
// #Regression #NoMT #CompilerOptions
//<Expects id="FS1064" status="error">Unrecognized platform 'ANYCPU', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects>
exit 1
|
Q:
How to perform model fitting for system identification
I am having a really hard time in understanding how to formulate a model say linear AR model to represent a communication channel or maybe any motion. I have the experimental data representing the kinematics of robot movement. In the case of a communication channel, it will have a medium, transmitter and receiver. So, will the medium be represented by AR model or do we represent the transmitter and receiver by these models? How to decide the order of the system to be chosen initially. I am not from the area of signal processing but need to use this for a part of my research work. I have gone through literature review and the background of Kalman filter, Least square method, recursive least square for estimation purpose. But I cannot find a good example which shows how the parameters are estimated from the time series or motion data or speech modeling. Can somebody explain or point out the starting point and how to go about it? I know this is a very broad topic but an explaination with a small example will be really an eye opener for a beginner.
A:
In any signal processing problem, there are usually two components: the signal model and the channel model.
The signal model is the mathematical description of how your ideal signal, call it $s(t)$ is generated.
The channel model is the mathematical description of how your channel corrupts or alters the signal.
One aim in telecommunications is to look at the received signal $r(t)$ --- $s(t)$ corrupted by the channel --- and try to undo the effects of the channel.
For example, suppose
$$
s(t) = A \sin(\omega_0 t + \phi)
$$
and suppose the channel is:
$$
r(t) = h(t)*s(t) + n(t)
$$
where $h(t)$ is the impulse response of the channel, and $n(t)$ is some additive noise.
In this context, your "AR" filter is the $h(t)$.
If the context is in robotics or kinematics, then things get a little more complicated.
Did you open the "Algorithm" tab on the link in your comment? It's pretty straighforward:
The polyfit MATLAB file forms the Vandermonde matrix, $\bf V$, whose elements are powers of $x$:
$v_{i,j} = x_i^{n - j}$
It then uses the backslash operator, $\backslash $, to solve the least squares problem ${\bf V} p \approx y$.
|
As the president took action to allow more undocumented immigrants to remain in the United States, the SPLC released a major report examining the possible rebirth of the nativist extremist movement that roiled the country from 2005 to 2011.
The apparent resurgence of the nativist movement began in July, when a furious mob turned back buses carrying unaccompanied minor immigrants to a Border Patrol facility in Murrieta, Calif., according to “Back to the Border,” the cover story of the Winter 2014 issue of the Intelligence Report, released today.
The confrontation in Murrieta led to a series of similar nativist outbursts around the country and the massing of antigovernment militias and other radical groups on the U.S.-Mexican border in the months that followed. The movement grew large enough that it sparked worries about the return of the Minuteman and other anti-immigrant groups that harassed immigrants and once were characterized by then-President George W. Bush as “vigilantes.” Now, with the possibility of imminent presidential action on immigration, that threat seems to be growing.
“The success of a howling mob in turning back buses filled with undocumented immigrant children bound for a shelter may have been the first spark to reignite the nativist extremist movement,” said Mark Potok, senior fellow at the SPLC and editor of the Intelligence Report. “Now, with the prospect of presidential action to give many undocumented immigrants the ability to stay in this country legally, it seems very likely that the spark will turn into a conflagration.”
This issue of the Intelligence Report also examines another radical movement experiencing a revival — the racist music industry. Racist bands are using iTunes, the world’s largest music vendor, to distribute their music following the collapse of several racist music labels and distributors. Although its terms of service appear to make iTunes off limits to these groups, the Report found that the music of at least 54 well-known racist bands was being sold by the music service this fall.
“The racist music industry, long a major source of money and new recruits for the white power movement, had been in decline in recent years,” Potok said. “But the discovery of iTunes by racist bands, and the fact that iTunes seems unwilling to move against them, has helped this industry find new hope and profits.”
Also in this issue of the Intelligence Report:
“Warrior for God” profiles retired three-star general William “Jerry” Boykin, a longtime anti-Muslim activist now serving as executive vice president of the Family Research Council.
“War Dreams” investigates how the neo-Confederate League of the South is taking steps to form a secret paramilitary unit called “The Indomitables,” another step in its continuing radicalization. The League now appears to include white supremacists, former Klan members and neo-Nazis.
“East of Eden” examines how a small group of racists is promoting the Orthodox Church as a home for fascism. Although the church has its share of extreme-right officials, it vigorously rejects any association with such groups. |
//---------------------------------------------------------------------
// <copyright file="EdmUnknownEntitySet.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------------------------------------------
namespace Microsoft.OData.Edm
{
using System.Collections.Generic;
/// <summary>
/// Represents an EDM unknown entity set
/// </summary>
internal class EdmUnknownEntitySet : EdmEntitySetBase, IEdmUnknownEntitySet
{
private readonly IEdmNavigationProperty navigationProperty;
private readonly IEdmNavigationSource parentNavigationSource;
private IEdmPathExpression path;
/// <summary>
/// Initializes a new instance of the <see cref="EdmUnknownEntitySet"/> class.
/// </summary>
/// <param name="parentNavigationSource">The <see cref="IEdmNavigationSource"/> that container element belongs to</param>
/// <param name="navigationProperty">An <see cref="IEdmNavigationProperty"/> containing the navigation property definition of the contained element</param>
public EdmUnknownEntitySet(IEdmNavigationSource parentNavigationSource, IEdmNavigationProperty navigationProperty)
: base(navigationProperty.Name, navigationProperty.ToEntityType())
{
EdmUtil.CheckArgumentNull(parentNavigationSource, "parentNavigationSource");
EdmUtil.CheckArgumentNull(navigationProperty, "navigationProperty");
this.parentNavigationSource = parentNavigationSource;
this.navigationProperty = navigationProperty;
}
/// <summary>
/// Gets the path that a navigation property targets. This property is not thread safe.
/// </summary>
public override IEdmPathExpression Path
{
get { return this.path ?? (this.path = ComputePath()); }
}
/// <summary>
/// Gets the type of this navigation source.
/// </summary>
public override IEdmType Type
{
get { return this.navigationProperty.Type.Definition; }
}
/// <summary>
/// Finds the entity set that a navigation property targets.
/// </summary>
/// <param name="property">The navigation property.</param>
/// <returns>The entity set that the navigation property targets, or null if no such entity set exists.</returns>
/// TODO: change null logic to using UnknownEntitySet
public override IEdmNavigationSource FindNavigationTarget(IEdmNavigationProperty property)
{
return null;
}
private IEdmPathExpression ComputePath()
{
List<string> newPath = new List<string>(this.parentNavigationSource.Path.PathSegments);
newPath.Add(this.navigationProperty.Name);
return new EdmPathExpression(newPath.ToArray());
}
}
}
|
Learning Rails made me a better designer - mh_
http://37signals.com/svn/posts/3451-learning-rails-made-me-a-better-designer
======
ThomPete
Here is the secret. Learning anything in proximity of design makes you a
better designer.
That includes, math, psychology, architecture, any programming language,
playing an instrument, composing music, playing computer games, writing blog
posts and so on.
The trick is to look for where things are the same even if they seem
unlrelated.
------
ibudiallo
Learning javascript made me a better designer. But what made me a better
programmer wasn't years of programming but reading codinghorror end to end.
|
Many drugs, such as sodium Pentothal as manufactured and sold by Abbott Laboratories and a wide variety of antibiotics as manufactured by other pharmaceutical companies, are stored in powdered lyophilized form and must be mixed with a liquid such as sterile water, glucose or normal saline immediately prior to use. This pre-use mixing is necessary as some medicaments lose their potency or strength when stored with a diluent over a long period of time.
The concept of mixing a wet diluent and a dry powder within the barrel of a syringe or vial has been known in the past. The developments in this area have ranged from the very complex to the very simple. Indicative of the very complex means is the Choski U.S. Pat. No. 4,243,080. In this patent, two plungers and a venting system are used. Manually removed closures separate the two components to be mixed. The Choski U.S. Pat. No. 4,243,080 also describes screw and pressure means which facilitate the mating of parts containing the medicaments to be mixed. Venting is provided to release the pressures built up by the mixing of medications. The complexity of operation increases the cost of manufacture and similarly increases the possibility of failure. It is these two problems that the present invention seeks to avoid. In contrast, the Kobel U.S. Pat. No. 4,048,999 and the Kobel U.S. Pat. No. 4,153,057 are representative of simpler means to combine two medicaments or combine a medicament with a diluent. In the Kobel '999 patent, the entire mixing system is described, while in the Kobel '057 patent, only the unique design of the stopper used in the U.S. '999 patent is disclosed. These two Kobel patents describe a stoppered stopper. Operation of the mixing system is effected by dislodging a small stopper within a bore of a main stopper. The small stopper, when dislodged from the bore of the main stopper, creates an open channel for passage of diluent into a powder. Proper dilution of powdered medicament such as with antibiotics administered intravenously requires the use of large, high volume syringes. The size of these syringes greatly increases the cost and difficulty of use by health care personnel. If the high volume syringe were replaced with a series of smaller syringes to decrease the difficulty of use, the exposure to a nonsterile environment would rapidly increase. The present invention overcomes these difficulties. Between the complexity of the Choski '080 patent and the simplicity of the Kobel '999 and '057 patents is the Tischlinger U.S. Pat. No. 4,059,112. While describing a means of using an additive syringe with a container, the '112 patent discloses only a frictional fit nozzle member with a container. This patent discloses force exerted on the liquid diluent rather than the powder medicament. The complexity of manufacture of this device reduces the ability to maintain a sterile environment. Careful packaging and shipping are also very critical to maintaining operability of the device disclosed in the '112 patent, as the integrity of the diaphragm holding the diluent in its storage chamber is critical to the successful operation of this device. Furthermore, as with the devices claimed in the Kobel '999 and '057 patents a large volume syringe would be required to obtain proper dilution. The presently disclosed invention overcomes these problems by placing powder in a chamber member and allowing for separation of the plunger mechanism from the diluent and medicament containers. In this manner, any chance of accidental activation is avoided. Additionally, a wide variety of solution concentrations are possible by the use of containers of diluent covering a broad range of volumes. |
Owing primarily to environmental legal requirements, a copious coal resource of the United States of America is not being used to provide the share of the Nation's energy supply that it could provide. Much of the available coal contains sulfur, from 2-6% by weight, levels which have by law been declared intolerable. Many efforts have been made to find ways to remove the sulfur content, or at least to reduce it to an acceptable level but, so far, it has not been done. The problem is described in a paper by Sabri Ergun and Ernest H. Bean entitled "Magnetic Separation of Pyrite from Coals", published by the Bureau of Mines (1968), U.S. Department of the Interior, Report of Investigations 7181. The authors propose certain approaches employing dielectric heating of coals at selected frequencies to enhance the paramagnetism of pyrite by selectively heating the pyrite to transform some of it into pyrrhotite, which has nearly 1,000 times the magnetic susceptibility of pyrite. The authors state (at page 23) "In this type of heating, pyrite need not be crushed to be reactive; indeed, the opposite is true, that is, the coarser the pyrite, the more readily it will be heated. Crushing process necessary to liberate pyrite can be done after dielectric heating". However, this does not address the treatment of those coal types in which the pyrite exists in particle sizes smaller than, for example, 50 micrometers, and in some cases as small as 10 micrometers.
In a more recent paper entitled "Significance of Colloidal Pyrite Distribution for Improving Sulfur Determinations in Coal" by R. T. Greer, Department of Engineering Science and Mechanics and Engineering Research Institute, Iowa State University, Ames, Iowa 50011, published in Proceedings of the International Symposium of Analytical Chemistry in the Exploration, Mining and Processing of Materials, Johannesburg, Republic of South Africa, August 23-27, 1976, at pages 171-174, 1976, it is stated that pyrite is the major source of sulfur in coals, and that in order to free the sulfur-bearing phases from the organic matrix of the coal, it is important to require that the coal be pulverized to particles smaller than will pass through a standard 400 mesh seive. I have found that in many different types of coal, especially coals enclosing pyrite particles in sizes as small as or smaller than 50 micrometers, crushing or pulverizing the coal may not be sufficient to physically separate enough of the pyrite from the coal matrix to enable the sulfur content of the coal to be reduced to an acceptable level. I have found also that industrial processes and apparatus that are currently available for separating components of a mixture of particles have not reached the capability of handling coal that is pulverized to less than 200 mesh. Coal which is pulverized so fine resembles dust; it tends to form clumps after being pulverized and, if successfully de-agglomerated, it tends to form dust-like clouds in high tension separator apparatus which otherwise appears to be highly desirable for performing the end step of separating the pyrite from the coal. |
Correlation of serum adiponectin levels and hepatic steatosis in hepatitis C virus genotype 1 infection.
Steatosis is an important cofactor in hepatitis C virus (HCV) because it is associated with fibrosis and reduces early and sustained virologic response. Recent studies suggest that HCV genotype 1 is not steatogenic if additional risk factors are not present. Because hypoadiponectinemia was found to be a feature of nonalcoholic steatohepatitis (NASH) independent of insulin resistance, its level in patients with hepatitis C genotype can reveal the optimal therapeutic strategy. This study was conducted to determine the role of the relationship between steatosis and serum adiponectin levels in the progression of liver damage in HCV genotype 1 without known risk factors for NASH. Patients (n=50) with biopsy-proven chronic hepatitis C (CHC), positive HCV RNA, and raised alanine aminotransferase were enrolled. They were carefully selected to rule out possible confounding factors for the presence of steatosis and additional systemic or liver disease. Associations between serum adiponectin levels and grade of steatosis, histologic activity index (HAI), fibrosis grade of liver biopsies, patient age, HCV viral load, and serum transaminase activities were studied. Also, adiponectin levels were compared with those of a control group of 30 healthy volunteers with normal ultrasound findings of the upper abdomen who had no known NASH risk factors. The investigators found that adiponectin levels in patients with CHC genotype 1 were similar to those in healthy subjects. No significant association was found between adiponectin levels and severity of steatosis, HCV RNA levels, HAI, transaminases, and fibrosis. Steatosis was present in 41 patients (82%) with CHC. Multivariate analysis of data on 50 patients revealed that severity of steatosis was independently related to age alone (P=.03). A correlation between HCV RNA load and HAI was observed (P=.02; r=0.712). HAI also was associated with stage of fibrosis (P=.00; r= 0.612). In cases of chronic HCV genotype 1 hepatitis, steatosis is a common histologic feature, although no risk factors are known. Results presented here cannot establish an association between adiponectin and severity of steatosis when risk factors for steatosis are unknown. Additional studies are needed to discover a metabolic treatment that would seek to improve the progression of hepatic steatosis in CHC infection. |
Love Life Quotes Images, Pictures
Here is a collection of Love Life Quotes with Images and Pictures which will say about the facts and beauty of love life. All the Love Life Quotes, messages in this collection are easy to download and share via popular social media sites. You can download any number of greetings, cards, wallpapers from here for non-commercial purposes like online sharing.
Find the guy who calls you beautiful instead of hot, who calls you back when you hang up on him, who will lie under the stars and listen to your heartbeat, or stay awake just to watch you sleep. The one who turns to his friends and says, “thats her” – Anony-mouse.
From here you will find a lot of finest Love Life Quotes Images, Pictures which will suit for all ages. You can share these images with your lover and friends to convey the facts about love life. From here you could find images quotes like "Love All Trust Few", "Fall In Love With Your Life" and more.
Be strong, believe in freedom and in God, love yourself, understand your sexuality, have a sense of humor, masturbate, don't judge people by their religion, color or sexual habits, love life and your family. |
Relaxed Realism
Published Date :
19 August, 2018 5:48 pm
By C. Raja Mohan (19 August 2018) – Very few statesman have the capacity or opportunity to alter the basic direction of their nation’s foreign policies. The weight of geography, historical precedent, ideological baggage and bureaucratic inertia prevent leaders from a significant reorientation of external relations. Even internal political revolutions that seek to turn foreign policy upside down are eventually compelled to compromise with tradition.
Atal Bihari Vajpayee is among the few to have successfully changed the worldview of a large nation. To be sure, Vajpayee was standing on the shoulders of P V Narasimha Rao, who had to manage the aftershocks from the collapse of the Soviet Union and the end of the Cold War. And Rao had the benefit of important foreign policy innovations under Rajiv Gandhi.
Vajpayee, however, had ideas of his own that were not in tune with mainstream thinking. Some of them found expression when he was the foreign minister of India during the brief rule of the Janata government during 1977-79. When he became the prime minister two decades later, Vajpayee had the space, time and the political credibility to push for the big foreign policy breakthroughs.
In transforming India’s foreign policy, Vajpayee was not just departing from the Congress legacy but also discarding the Hindutva canon. During his tenure, critics on the left and right attacked him for both the political sins. The current widespread adulation for Vajpayee masks how serious the political criticisms of his foreign policy were during his prime ministerial tenure (1998-2004).
The diplomatic boldness of Vajpayee is reflected in his ability to transcend the Nehruvian legacy on foreign policy as well as the BJP’s nativist burdens. Vajpayee’s “relaxed realism” on external issues stands in marked contrast to the liberals on the left and the nationalists on the right, who framed India’s international policies in extreme terms. It could also remain, for a long time, the right metric by which Indian foreign policy ought to be judged.
Consider for example, Vajpayee’s nuclear question. His decision to conduct five nuclear tests in May 1998, barely weeks after taking charge as PM, would not have been possible without the preparatory work that was done under Rajiv Gandhi and Narasimha Rao. Vajpayee’s genius was in judging that India could defy the world opinion, bear the near-term costs, and elevate India’s nuclear standing in the world through creative diplomacy.
Vajpayee’s decision to bring India’s three-decades-old nuclear dispute with the world to a closure was denounced on both the left and right. The former denounced the nuclear tests as an abandonment of Nehruvian legacy that will have disastrous consequences. The left also denounced Vajpayee’s effort at bringing closure to India’s persistent nuclear dilemma as a “sell-out”.
The right which welcomed the nuclear tests, was on the same page as the left in trashing Vajpayee’s nuclear pragmatism as a political surrender. As Prime Minister Manmohan Singh persisted with the logic of reconciliation, the nuclear arguments continued. The left and right got together and came quite close to toppling the UPA government.
Vajpayee’s willingness to see India’s interests quite clearly, without the distorting ideological lens, was also reflected in his outreach to the United States. Jaws dropped in Delhi and Washington when he declared that that India and America were “natural allies”. Coming barely six months after the nuclear tests and the US nuclear sanctions following Pokhran-2, the idea of a “natural alliance” seemed quite outrageous.
At the height of the unipolar moment, no one in Washington was interested in “alliances”. In Delhi, both the left and right denounced it as the death knell for India’s strategic autonomy. That we have come so far from that debate is a reflection of Vajpayee’s genuine conviction on the possibilities with the US and his willingness to stand up to them amidst much domestic hostility, including in his own party.
Reconciliation with the US, in retrospect, would seem a lot easier than the mitigation of the more fundamental disputes with the two neighbours — Pakistan and China. Here again, Vajpayee brought sagacity to bear upon the issues. He matched the willingness to defend India’s interests — whether it was at Kargil or in confronting Beijing’s nuclear collaboration with Pakistan — with the recognition of the political need to address the core disputes by looking beyond stated positions.
Vajpayee’s tenure began with crises in the relations with both Pakistan and China. It ended with creating possibilities for resolving the longstanding Kashmir question with Pakistan and the boundary dispute with China. While success continues to elude India, the negotiating frameworks produced under Vajpayee remain the only way forward. On both these fronts, he got little support from either the main political trends or the foreign policy establishment. That was not something new for Vajpayee.
When Vajpayee ventured in early 1979 to China, the first foreign minister since Jawaharlal Nehru to travel there, the Nehruvians denounced him. Vajpayee’s call for a “a good neighbourhood policy” under the Janata government was met with jeers from the foreign policy establishment that privileged the trappings of regional hegemony over effective leadership.
When he went to Lahore in 1999 or resumed the peace process with Pakistan after the Kargil war, he was dismissed on the right as being too naive. His embrace of the West earned him brickbats from both left and the right. The strongest testimony to Vajpayee’s foreign policy judgements have stood the test of time. As on the nuclear issue and the US relationship, so on the relations with China, Pakistan and the neighbourhood, Vajpayee’s successors — Manmohan Singh and Prime Minister Narendra Modi — have sought to build on that agenda despite the continuing difficulties.
Vajpayee’s nuanced foreign policy thinking stands in contrast to the binaries that India’s foreign policy discourse revels in. His record is a valuable reminder that India needs a measured debate on the nature of India’s interests and on the means to secure them at a moment of great political and economic churn in the world.
The writer is director, Institute of South Asian Studies, National University of Singapore and contributing editor on international affairs for The Indian Express. This article first appeared in The Indian Express.
Latest
CK, Biplav & Conspiracy Theory More
Need of geopolitical division at MOFA More
Chinese diplomacy has reached a new starting point – State Councilor and Foreign Minister Wang Yi (full text of his meet the press) More
About us
Nepalforeignaffairs.com is the first digital paper on foreign Affairs in Nepal. With an advancement of technology and digital journalism, we decided to come up with this paper in January 2015. Our aim is to disseminate information, news, articles to the people on different dimensions of foreign affairs. |
296 F.Supp.2d 69 (2003)
PUERTO RICO PHARMACEUTICAL, INC. Plaintiff
v.
PFIZER CORP. Pfizer Pharmaceutical Group, and John Doe I and II Defendants.
No. CIV. 01-2738CCC.
United States District Court, D. Puerto Rico.
September 5, 2003.
Harry A. Ezratty, Esq., San Juan, PR, for Plaintiff.
Víctor F. Miranda-Corrada, Esq., Ricardo Casellas, Esq., Francisco I. Cervoni-Hernández, Esq., San Juan, PR, for Defendants.
ORDER
CEREZO, District Judge.
The Court has before it the Motion for Summary Judgment filed by defendants Pfizer Corp. (Pfizer) and Pfizer Pharmaceutical Group[1] (Pharmaceutical) (collectively the Pfizer defendants) on May 16, 2003 (docket entry 31), the opposition filed by plaintiff Puerto Rico Pharmaceutical, Inc (PRP) on June 12, 2003 (docket entry 39), and the Pfizer defendants reply[2] filed on June 30, 2003 (docket entry 44). In its complaint (docket entry 1), plaintiff PRP, a corporation that purchases pharmaceutical products directly from drug manufacturers and distributes them to other organizations both within and outside Puerto Rico, had alleged that the Pfizer defendants' decision first prohibiting it from selling any of their products outside the Commonwealth and later preventing it from obtaining their products for sale to the public was a result of a conspiracy between them and "others," not identified in the complaint, "to combine in a form of trust or otherwise to restrain commerce among the several states and foreign nations ...; by among other things and not limited to: dividing markets, horizontal price fixing, customer allocation and all of which has been and continues to be specifically directed at [PRP] to its detriment and economic loss" (complaint, docket entry *70 1, ¶ 15, pp. 3-4), in violation of section 1 of the Sherman Antitrust Act, 15 U.S.C. § 1.[3] Defendants have moved for summary judgment claiming that, being wholly-owned indirect subsidiaries of non-party Pfizer, Inc., they are sister corporations incapable of conspiring to violate § 1 of the Sherman Act under the doctrine of Copperweld Corp. v. Independence Tube Corp., 467 U.S. 752, 104 S.Ct. 2731, 81 L.Ed.2d 628 (1984), while discovery has failed to reveal that any other entity participated in their decision not to deal with the plaintiff. Defendants also argue, in the alternative, that plaintiff lacks antitrust standing and has failed to prove a cognizable antitrust injury from their refusal to deal.
We had previously considered whether the Copperweld doctrine applied to the facts of this case, in disposing of a prior dismissal motion filed by defendants, but refrained from concluding so upon our finding that the record at the time failed to decisively establish that both defendants were wholly-owned subsidiaries of Pfizer, Inc. See Order dated March 5, 2003 (docket entry 19). Today we revisit the matter with the benefit of a more fully developed record and mindful of the standard governing the resolution of summary judgment motions.
Defendants have now undisputedly established that "[a]t this time, and during the [r]elevant [p]eriod, all corporate ownerships between Pfizer, Inc. and each Pfizer Pharmaceuticals Inc. and Pfizer Corp. were and are wholly-owned by Pfizer, Inc." Statement of Uncontested Material Facts in Support of Pfizer's Motion for Summary Judgment, at ¶ 4 (docket entry 31). See also Declaration Under Penalty of Perjury of Mr. Gary Ross Genasci, Exhibit I to the Pfizer defendants' Motion for Summary Judgment, where he attests that "[b]oth [Pharmaceutical] and Pfizer are, and were during the [r]elevant period, wholly-owned indirect subsidiaries of non-party Pfizer, Inc...." Under the Copperweld doctrine,[4] then, the Pfizer defendants are legally incapable of conspiring to violate § 1 of the Sherman Act.
As a failure to state a contract, combination or conspiracy is fatal to a section 1 claim, see Odishelidze v. Aetna Life & Cas Co., 853 F.2d 21, 23 (1st Cir.1988), in order for plaintiff's claim to survive it needs to establish that the Pfizer defendants contracted, combined or conspired with another entity to restrain trade or commerce. In this regard, the Statement of Uncontested Material Facts submitted by defendants establish that:
28. On or about January 30, 2001, Pfizer made a decision to refuse to sell pharmaceutical products to PRP or ship any orders... There is no evidence that someone, other than Pfizer, participated in that decision.
51. PRP has no evidence of any conversation between a representative of Pfizer and any wholesaler of pharmaceutical products.
*71 52. PRP has no evidence of a written agreement between Pfizer and any of PRP's competitors or wholesalers.
53. PRP has no knowledge of the existence of any agreement between Pfizer and other drug manufacturers as to the terms and conditions of sale, price and quantity of products.
54. PRP has no knowledge of the existence of any agreement between Pfizer and any drug manufacturers as to the territories or location where products are going to be sold.
All these statements remain unopposed by the plaintiff[5] (see Plaintiff's Opposition to Defendant's (sic) Uncontested Material Facts, docket entry 39) and, consequently, are deemed admitted pursuant to Local Rule of Procedure 311.12. Given these statements, it appears evident that no other entity contracted, combined or conspired with the Pfizer defendants to restrain trade or commerce in violation of section 1 of the Sherman Act, as plaintiff had alleged in its complaint.
As the record reflects that there is no genuine issue as to any material fact and that movants are entitled to a judgment as a matter of law for plaintiff's failure to state a claim under section 1 of the Sherman Act, which constitutes the basis for its complaint (see note 3, supra.), the Motion for Summary Judgment filed by defendants Pfizer and Pharmaceutical (docket entry 31) is hereby GRANTED. Accordingly, judgment will be entered by separate order DISMISSING plaintiff's complaint.
SO ORDERED.
JUDGMENT
For the reasons stated in our Order of this same date, plaintiff's complaint is hereby DISMISSED.
SO ORDERED AND ADJUDGED.
NOTES
[1] It appears that the correct name of the corporation which plaintiff identified in the complaint as Pfizer Pharmaceutical Group is Pfizer Pharmaceutical Inc.
[2] This reply was filed in conjunction with a motion through which the Pfizer defendants sought to strike as inadmissible certain evidence submitted by plaintiff in its opposition to the motion for summary judgment. The Court NOTES that the filing of this reply brief was authorized during the pretrial conference held on May 21, 2003. See docket entry 34; cf. Local Rule of Procedure 311.7 ("No reply brief shall be filed unless leave is obtained from the Court.")
[3] As we previously noted in the Order dated March 5, 2003 (docket entry 19, at p. 1, n. 1), plaintiff also avers as a jurisdictional basis for its complaint sections 4 & 16 of the Clayton Act, 15 U.S.C. §§ 15, 26, as well as the diversity of citizenship between the parties. However, all the illegal acts alleged in the complaint are framed around section 1 of the Sherman Act. See Complaint, docket entry 1, ¶¶ 15-17, 19, 22, pp. 3-5.
[4] See e.g. Century Oil Tool, Inc. v. Production Specialties, Inc., 737 F.2d 1316 (5th Cir.1984) (two corporations with common ownership are not considered separate enterprises under Copperweld); see also Guzowski v. Hartman, 969 F.2d 211 (6th Cir.1992) Siegel Transfer, Inc. v. Carrier Express, Inc., 54 F.3d 1125 (3d Cir.1991) (same holding as to sister corporations).
[5] Although plaintiff did object to statement no. 28, the only basis for its objection was that discovery had not been completed so it requested that fact to be held in abeyance until its conclusion. Plaintiff, however, failed to abide by the procedure established in Fed. R.Civ.P. 56(f) in order to show that it could not at the time present facts essential to justify its opposition.
|
Q:
How to navigate through elements using arrow keys - jQuery?
I'm trying to navigate between list items with the following structure using keyboard arrow keys - help appreciated
I rather not paste my own code here as it has a lot of attributes that is not have anything to do with the problem. I could possibly add a class on each selected item?
<div class="card-columns">
<div class="card">
<div class="card-body">
<ul class="card-list">
<a href="#">
<li>Card Item1</li>
</a>
<a href="#">
<li>Card Item2</li>
</a>
<a href="#">
<li>Card Item3</li>
</a>
</ul>
</div>
</div>
<div class="card">
<div class="card-body">
<ul class="card-list">
<a href="#">
<li>Card Item3</li>
</a>
<a href="#">
<li>Card Item4</li>
</a>
<a href="#">
<li>Card Item5</li>
</a>
</ul>
</div>
</div>
</div>
A:
Place all the li elements into a collection and set up a tracking variable.
Then set up a keydown event handler for the document that alters the tracker variable based on which key was pressed and apply styling to the element that has an index in its collect that matches the tracking variable.
See comments inline below for details:
// Get all the <li> elements into a collection
var listItems = document.querySelectorAll(".card-list li");
// Set up a counter to keep track of which <li> is selected
var currentLI = 0;
// Initialize first li as the selected (focused) one:
listItems[currentLI].classList.add("highlight");
// Set up a key event handler for the document
document.addEventListener("keydown", function(event){
// Check for up/down key presses
switch(event.keyCode){
case 38: // Up arrow
// Remove the highlighting from the previous element
listItems[currentLI].classList.remove("highlight");
currentLI = currentLI > 0 ? --currentLI : 0; // Decrease the counter
listItems[currentLI].classList.add("highlight"); // Highlight the new element
break;
case 40: // Down arrow
// Remove the highlighting from the previous element
listItems[currentLI].classList.remove("highlight");
currentLI = currentLI < listItems.length-1 ? ++currentLI : listItems.length-1; // Increase counter
listItems[currentLI].classList.add("highlight"); // Highlight the new element
break;
}
});
.highlight { background-color:#ff0; }
<div class="card-columns">
<div class="card">
<div class="card-body">
<ul class="card-list">
<a href="#">
<li>Card Item1</li>
</a>
<a href="#">
<li>Card Item2</li>
</a>
<a href="#">
<li>Card Item3</li>
</a>
</ul>
</div>
</div>
<div class="card">
<div class="card-body">
<ul class="card-list">
<a href="#">
<li>Card Item3</li>
</a>
<a href="#">
<li>Card Item4</li>
</a>
<a href="#">
<li>Card Item5</li>
</a>
</ul>
</div>
</div>
</div>
|
Un professeur de l’université de Yale réfute les bienfaits de l’empathie sur la marche du monde. The Atlantic a publié une interview animée pour expliquer ce raisonnement.
NOUVEAU HORS - SÉRIE À quoi ressemblera le monde de demain, et, surtout, quel monde voulons-nous ? > Commander la version PDF
FRANTASTIQUE – Orthographe Profitez d’un mois d’essai pour améliorer votre orthographe et expression écrite. Démarrer l’essai >
NOUVEAU HORS - SERIE L’Atlas de l’eau vous invite à comprendre les enjeux de l’eau dans le monde en plus de 30 cartes et infographies. > Commander
PACK RENTRÉE GYMGLISH Choisissez vos langues préférées et préparez la rentrée avec des cours en ligne drôles et personnalisés. 1 mois d’essai gratuit >
“L’empathie empire l’état du monde”, c’est le constat de Paul Bloom, psychologue et professeur à Yale, aux Etats-Unis, indique The Atlantic.
Le magazine américain diffuse sur son site une interview animée d’un peu plus de deux minutes dans laquelle l’homme, qui prépare un livre sur l’empathie, détaille son raisonnement.
“L’un des problèmes de l’empathie est qu’elle vous aveugle sur les conséquences à long terme de vos actions. C’est à cause de l’empathie que le monde entier s’inquiète bien plus d’un bébé dans un puits que du réchauffement climatique.”
À lire aussi : Royaume-Uni. Le miracle de l’empathie
Le psychologue étend également son raisonnement aux guerres :
La souffrance des victimes est souvent le premier argument avancé pour entrer en guerre. […] Si nous entrons un jour en guerre contre l’Etat islamique, ce sera sans doute motivé par la souffrance des victimes. Mais ce n’est là qu’un seul des éléments à prendre en compte. Un autre élément, c’est par exemple le nombre de victimes qu’une guerre implique.”
Sa conclusion : si vous voulez vraiment un monde meilleur, perdez moins de temps à tenter d’optimiser votre propre satisfaction altruiste. Et, en prenant de la distance et du recul, demandez-vous simplement : “Comment puis-je aider les autres ?” |
Q:
A que hora se ejecutará un CRON en linux cuando el comando timedatectl muestra 3 horas diferentes
Buenas tengo una interrogante quisiera saber si el cron que cree:
30 23 * * * curl -X GET http://localhost/mi_tarea_programada
Se ejecutará a la hora asignada, dado que el siguiente comando me da tres horas diferentes.
$ timedatectl
Les agradezco de antemano sus respuestas.
A:
Es normal que aparezcan 3 zonas horarias, sin embargo el siempre ejecutará Local time, y el Time zone
En tu caso se ejecutará a las 23:30: America/La paz
Conceptos
Local Time: La hora oficial en un país o área.
Time zone: Una de las muchas partes iguales en que se divide el mundo. En cualquier lugar dentro de cada parte, el punto particular del día es el mismo, y está una hora delante o detrás de eso en las partes a cada lado:
UTC: El tiempo universal coordinado o UTC es el principal estándar de tiempo por el cual el mundo regula los relojes y el tiempo. Es uno de los varios sucesores estrechamente relacionados con el tiempo medio de Greenwich.
¡Espero haya sido de ayuda!
|
Bayesian linear regression analysis without tears (R)
Bayesian methods are sure to get some publicity after Vale Johnson’s PNAS paper regarding the use of Bayesian approaches to recalibrate p-value cutoffs from 0.05 to 0.005. Though the paper itself is bound to get some heat (see the discussion in Andrew Gelman’s blog and Matt Briggs’s fun-to-read deconstruction), the controversy might stimulate people to explore Bayesianism and (hopefully!) to move away from frequentist analyses. The newcomers though will face some hurdles in this journey:
philosophical (the need to adapt to an “alternative” inferential lifestyle)
practical (gather all the data that came before one’s definitive study, and process them mathematically in order define the priors)
technical (learn the tools required to carry out Bayesian analyses and summarizes results)
Though there are excellent resources out there to deal with philosophy/theory (e.g. see the books by: Jaynes, Gelman, Robert, Lee) and the necessary tools to implement Bayesian analyses (in R, JAGS, OpenBUGS, WinBUGS, STAN) my own (admittedly biased) perspective is that many people will be reluctant to simultaneously change too many things in their scientific modus operandi. One can call it intellectual laziness, human inertia or simply lack of time, but the bottom line is that one is more likely to embrace change in small steps and with as little disturbance in one’s routine as possible. So how can one embark on the Bayesian journey by taking small steps towards the giant leap?
It would appear to me that one’s least resistance journey to Bayesianism might be based on non-informative (uninformative/ data-dominated) priors. These simultaneously avoid the need to do the tedious searching of previous evidence/expert elicitation required to provide informative priors, while retaining the connection to one’s frequentist past in which only current data are the only important things (hint: they are not). Furthermore, one can even avoid learning some of the more elaborate software systems/libraries required to carry out bona fide Bayesian analysis by reusing of the R output of a frequentist analysis.
Let’s see how it is possible to cater to the needs of the lazy, inert or horribly busy researcher. First we start with the a toy linear regression example (straight from R’s lm help file):
The standard non-informative prior for the linear regression analysis example (Bayesian Data Analysis 2nd Ed, p:355-358) takes an improper (uniform) prior on the coefficients of the regression ( : the intercept and the effects of the “Trt” variable) and the logarithm of the residual variance . With these priors, the posterior distribution of conditional on and the response variable is:
The marginal posterior distribution for is a scaled inverse distribution with scale and degrees of freedom, where is the number of data points and the number of predictor variables. In our example these assume the values of , while is the standard frequentist estimate of the residual variance.
The quantities are directly available from the information returned by R’s lm, while can be computed from the qr element of the lm object:
QR
To compute the marginal distribution of we can use a simple Monte Carlo algorithm, first drawing from its marginal posterior, and then . The following function will do that; it accepts as arguments a lm object, the desired number of Monte Carlo samples and returns everything in a data frame for further processing:
## function to compute the bayesian analog of the lmfit
## using non-informative priors and Monte Carlo scheme
## based on N samples
bayesfit
A helper function can be used to summarize these Monte Carlo estimates by yielding the mean, standard deviation, median, t (the ratio of mean/standard deviation) and a 95% (symmetric) credible interval:
Bayes.sum
To use these functions and contrast Bayesian and frequentist estimates one simply needs to fit the regression model with lm, call the bayesim function to run the Bayesian analysis and pass the results to Bayes.sum:
It can be seen that the Bayesian estimates are almost identical to the frequentist ones (up to 2 significant digits, which is the limit of precision of the Monte Carlo run based on 10000 samples), but uncertainty in terms of these estimates (the standard deviation) and the residual variance is larger. This conservativeness is an inherent feature of Bayesian analysis which guards against too many false positives hits. |
Comments on: The problematic charitable-donation tax deductionhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/
A slice of lime in the sodaSun, 26 Oct 2014 19:05:02 +0000hourly1http://wordpress.org/?v=3.8.3By: dharmeshjpatelhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-49573
Tue, 01 Apr 2014 12:30:39 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-49573PLEASE VISIT http://donationmoneyfreetocharity.weebly .com
]]>By: jdexhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-34034
Wed, 14 Dec 2011 19:01:18 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-34034Donate stock now to ensure 2011 deduction. See http://www.kindshares.com/?p=383
]]>By: TFFhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-33603
Wed, 30 Nov 2011 13:57:26 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-33603KenG, I wholly agree that donating an asset of dubious value should NOT be treated the same as donating money or more liquid assets. Limiting the charitable deduction to the cost basis of collectibles makes a ton of sense. (That, at least, is a “hard” number.) Excluding collectibles entirely might make even more sense.
]]>By: KenG_CAhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-33580
Tue, 29 Nov 2011 22:18:01 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-33580TFF, I think I understand you. I get what you are saying, but I’m saying that directing the flow of money to a non-profit should be impact my taxes any differently than directing the flow of money to a for-profit. I just don’t think that donating money or an asset of dubious value should be treated the same as donating time with regards to taxes.
]]>By: TFFhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-33578
Tue, 29 Nov 2011 21:57:14 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-33578KenG, I am clearly not explaining myself clearly! :)
Present tax law makes a clear distinction between spending and gifting. If you spend money, it is taxable to you and taxable again to the person who sold you the goods/services. If you gift money to your brother, it is taxable to you and (within limits) not to him. If you gift money to a recognized charity, it is taxable to neither you nor the charity.
I suppose there is no essential need to differentiate between money gifted to a charity and money gifted to your brother.
Like you, I would love to have a simpler system with fewer deductions and a lower (but more consistent) marginal tax rate. The present system has very high rates in the middle (between $100k and $200k) and lower rates on either side of that bridge. Not to mention a mess of exceptions, credits, and deductions to slog through each year…
No, you pay tax on money that flows through your hands. If you work for a charity, no money flows through your hands. If you work somewhere else and give money that you got from that other job to the charity, then it still flows through you. If you buy a car instead of giving it to the charity, you no longer have the money, but you still have to pay taxes on the money that flowed from you to the dealer. so we’re saying if you give your money to a charity that will spend it, you don’t have to pay tax, but if you give it to a car dealer that will spend it, you do have to pay tax.
I’m ok with cutting the schedule A deductions also. I would like people to pay tax on income over a minimum level needed to stay alive in a great nation without having to work 3 jobs, say people pay tax on all income over $25,000 – no deductions (but you know how I feel about credits for investment, which can be viewed as tax deferrals). That would be fairest and most simple, and would not distort decisions on how to use money that you earn or otherwise get possession of.
]]>By: TFFhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-33574
Tue, 29 Nov 2011 20:40:58 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-33574KenG, look closely at what you wrote? You’ve explained in great detail the essential principle of the income tax system — you pay tax on the money that ends up in your bank account. If the restaurant ends up with the money, either through actual sales or through an insurance payment, then they pay tax on that. If the restaurant does not end up with the money, then they don’t pay tax on it.
If I work for free, then I don’t pay tax because I don’t end up with the money. If I give the money to a charity (receiving nothing in return), then I don’t pay tax because I don’t end up with the money. Exactly the same as the restaurant scenario.
Also, there are two ways of looking at Schedule A deductions. You can assert that people without mortgages or sufficient deductions to top the standard deduction do not benefit — but the standard deduction could easily be described as a no-hassle give-away for people whose limited deductible activities aren’t worth the trouble to track. Cut the standard deduction to zero, and EVERYBODY benefits from Schedule A deductions — but who would be helped by that change?
]]>By: KenG_CAhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-33564
Tue, 29 Nov 2011 18:28:37 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-33564Restaurants can obtain insurance on lost revenue, but the IRS doesn’t allow the restaurant to deduct lost revenue from income. And, if they do get paid from the insurance company, they will have to declare that as revenue.
I’m not saying deduction of charitable donations is an outrage, just that I don’t want government spending to be effectively determined by individuals who choose to direct what would otherwise be tax revenue to their favorite cause. If I have $5 million in tax free income and $1 million in taxable income, but I give $1M to a non-profit that spends its money telling people that climate change is a lie, then essentially the government is spending $1M on that cause. If they want to work there for free, I don’t have a problem with that, but I don’t like tax dollars shifted to personal causes. The system breaks down, and usually in the favor of those who can afford to make big contributions.
]]>By: TFFhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-33560
Tue, 29 Nov 2011 18:01:46 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-33560“if a restaurant has to shut down for a day because of a power failure, can they declare lost revenue?”
Sure, there are insurance contracts written along those lines.
Not clear why the IRS would care. Deducting “lost revenue” from “supposed revenue” gives you zero income to tax anyways.
“What you can make is irrelevant when it comes to calculating taxable income.”
Sure. But why should income forgone from a donation to charity be treated any differently from income forgone from a donation to charity? Just because the first was a donation of time while the latter was a donation of the income produced with that time?
I guess I just don’t see why a deduction for charitable donations is an outrage, especially when the individual contributes three times more lost income than the government in that donation.
]]>By: KenG_CAhttp://blogs.reuters.com/felix-salmon/2011/11/28/the-problematic-charitable-donation-tax-deduction/comment-page-1/#comment-33552
Tue, 29 Nov 2011 17:14:16 +0000http://blogs.reuters.com/felix-salmon/?p=11263#comment-33552TFF, so if a restaurant has to shut down for a day because of a power failure, can they declare lost revenue? No, you cannot deduct what you don’t receive.
What you can make is irrelevant when it comes to calculating taxable income. I could have bought more Apple stock than I did, but instead bought a bunch of other stocks with higher P/E’s and ended up losing money. Fortunately I don’t have to pay taxes on what I might have earned. |
Redgrave, Suffolk
Redgrave is a small village and civil parish in the Rickinghall and Walsham ward in the Mid Suffolk district of Suffolk, England.
The village of Redgrave is the descendant of the historic Redgrave Manor (Redgrave Park) which contained Redgrave Hall and currently contains Redgrave Park Farm which once farmed free-range turkeys.
In November 2007, Redgrave Park Farm had an outbreak of H5N1.
History
In 1870–72, John Marius Wilson's Imperial Gazetteer of England and Wales described Redgrave like this:
"REDGRAVE, a village and a parish in Hartismere district, Suffolk. The village stands near the river Waveney at the boundary with Norfolk, 4¼ miles NW of Mellis [rail] station, and 7 WNW of Eye; and has a post-office under Scole. The parish contains also the hamlet of Botesdale, and comprises . Real property, £7,722. Population in 1851, 1,382; in 1861, 1,266. Houses, 299. The [Redgrave] manor was given, by Ulfketel the Dane, to [the Bury St. Edmunds Abbey]; passed to Lord Keeper Bacon, Chief Justice Holt, and others; and, with Redgrave Hall, belongs now to G. H. Wilson, Esq. [Redgrave Hall] occupies the site of a residence of the Abbots of Bury; was rebuilt in 1770; and has a very fine park. Limetree House is the seat of J. R. Whit-hair, Esq. The living is a rectory, united with the chapelry of Botesdale, in the diocese of Norwich. Value, £889.* Patron, G. H. Wilson, Esq. The church was restored in 1850. There are a Wesleyan chapel, a national school, an endowed grammar school with £28 a year, and charities £21. Cardinal Wolsey was rector."
Redgrave Manor/Park/Hall
Before 1542 (Bury Abbey)
According to the Domesday Book completed in 1086, the Redgrave Manor was given to the Bury St. Edmunds Abbey by Ulfketel. (Ulfketel was Earl of East Anglia and leader of local resistance against the invading Danish armies in 1004 and 1010.) By 1211, Abbot Samson of Bury St Edmunds had built a hunting lodge (or Hall) and deer-park (a deer hunting ground enclosed by fence or ditch) which soon included a stable, dairy, chicken house, dove house, goose house, orchard, kitchen, bake house, chapel, and guest house. Redgrave Church was added in the early 14th century. In 1539 King Henry VIII dissolved the monasteries and Redgrave Manor and Park passed into the hands of the King.
1542 – 1702 (Bacons)
Nicholas Bacon (father of philosopher/statesman Sir Francis Bacon) bought Redgrave Manor from the Crown in 1542. Bacon rebuilt the Hall and made some alterations to the Park. Robert Bacon, the 5th baronet, sold the Redgrave Estate in 1702 to John Holt, the Lord Chief Justice.
1702 – 1799 (Holts)
In 1702 Robert Bacon sold the Redgrave Hall Estate to John Holt who was the Lord Chief Justice of England and Wales from 17 April 1689 to 11 March 1710. After John Holt, his brother Rowland Holt was Squire of Redgrave, followed by his son, Rowland II, followed by his 16-year-old son Rowland III who remodelled the Hall and Park in the 1760s adding a sinuous, lake, "a Palladian 'rotunda' or round house in one corner of the Park, and a 'water house' (later known as the Kennels) beside the Lake. A decorative Orangery and a red brick stable block were built near the Hall. [...] He owned a house in London, at 47 Pall Mall. When he died unmarried in 1786 the Estate passed to his brother Thomas. Thomas Holt was Squire of Redgrave until his death in 1799, when the Estate passed to his nephew George Wilson, eldest son of his sister Lucinda, who had married Thomas Wilson in 1752. Thus the Estate passed into the Wilson family."
1799 – 1971 (Wilsons)
In 1799, Thomas Holt's nephew Captain George Wilson (later Admiral of the Red) inherited the Redgrave Estate. Admiral Wilson's eldest son, George St Vincent (1806–1852) inherited what King William IV called "the most beautiful combination of land and water in Eastern England".
"George St V.'s youngest brother John Wood Wilson (1812–1872) worked hard to put the management of the Estate on a sounder footing, and to invest in farm improvements. [...] In 1898 financial problems forced George Holt Wilson to move out of Redgrave Hall, and he took up residence at Broom Hills house, Rickinghall. He was the last of the Wilsons to live at the Hall. [...] In the First World War troops were billeted in the Park. Between 1919 and 1921 George Holt Wilson sold most of the contents of the Muniment Room at the Hall. This was a room on the ground floor which contained Estate and manorial records and legal documents relating to the successive owners of the Estate dating back to the Middle Ages. The bulk of the early material went to the University of Chicago, where it forms a uniquely important collection of documents for studying Mediaeval and Tudor history. [...] In 1924 George Holt Wilson died, and his son George Rowland died in 1928. The Estate therefore had to pay two lots of death duties tax in four years. This set the scene for the climate of financial stringency facing John Holt Wilson (1900–1963) when he took over running the Estate. For a few years in the 1930s John Holt Wilson was able to let the Hall as a hotel and country club. [After World War II he] decided to demolish the Hall to raise money to plough into the Estate. The interior features – fireplaces, ceilings, staircases – were sold, and then the house itself was taken down brick by brick."
1971 – present (Tophams)
In 1971 Redgrave Park was sold out of the Holt-Wilson family to Guy and Elizabeth Topham who turned it into a farm. Of the buildings erected by Brown, only the Roundhouse and the Kennels survive, and are subject to a Grade Two preservation order by the Government to keep them for posterity.
H5N1 outbreak in Redgrave, 2007
In November 2007, the highly pathogenic avian influenza subtype H5N1 strain that is considered a flu pandemic threat was discovered at several Redgrave Poultry farms near Diss, Norfolk; including at Redgrave Park where free range turkeys (with access to housing at night) are farmed. DEFRA killed tens of thousands of poultry to stop the spread of this outbreak of H5N1.
Other notable people
Thomas Fowle, 16th century rector.
Actress Deborah Kerr is buried in the churchyard at St. Mary's.
See also
2007 Bernard Matthews H5N1 outbreak
Sources
Further reading
Diss Express – village's local newspaper website
map
Redgrave Park- website detailing the history of Redgrave Park
-Redgrave Parish Magazine
External links
Category:Villages in Suffolk
Category:Civil parishes in Suffolk
Category:History of Suffolk
Category:Mid Suffolk District |
Steelers' Great Troy Polamalu has personally hand-signed this Nike Authentic Black jersey. Troy Polamalu was a standout player at the University of Southern California and earned All-American honors and then went to be drafted in the first round by the Pittsburgh Steelers in 2003. Polamalu is a two time Super Bowl Champion, an eight time Pro Bowler and a 2010 Defensive Player of the year. He is considered to be one of the best safeties to ever play the game. This would make a perfect addition to any true Steelers fan's collection. This Troy Polamalu autograph is Guaranteed Authentic and includes a Steiner Sports Certificate of Authenticity and accompanying tamper-proof Hologram of Authenticity. "The Steiner Seal Means It's Real."
Shipping Note: Shipping to Alaska, Hawaii, PO Boxes and APO addresses not available for this item
Warranty: 90 Day Woot Limited Warranty |
// Copyright (c) 2013-2016 K Team. All Rights Reserved.
package org.kframework.backend.java.kil;
import org.kframework.backend.java.symbolic.Transformer;
import org.kframework.backend.java.symbolic.Visitor;
import org.kframework.kil.ASTNode;
/**
* An injection KLabel.
*
* @author AndreiS
*/
public class KLabelInjection extends KLabel {
/**
* Returns an injection of the term into a {@link org.kframework.backend.java.kil.KItem}.
*/
public static KItem injectionOf(Term term, GlobalContext global) {
return KItem.of(new KLabelInjection(term), KList.EMPTY, global, term.getSource(), term.getLocation());
}
private final Term term;
public KLabelInjection(Term term) {
// TODO(YilongL): enable this assertion
// if (term instanceof KItem) {
// assert !(((KItem) term).kLabel() instanceof KLabelInjection);
// }
// TODO(YilongL): no need to inject twice; however, this should be prevented in kompilation
// if (term instanceof KItem && ((KItem) term).kLabel() instanceof KLabelInjection) {
// this.term = ((KLabelInjection) ((KItem) term).kLabel()).term();
// } else {
// this.term = term;
// }
this.term = term;
}
public Term term() {
return term;
}
@Override
public final boolean equals(Object object) {
if (this == object) {
return true;
}
if (!(object instanceof KLabelInjection)) {
return false;
}
KLabelInjection kLabelInjection = (KLabelInjection) object;
return term.equals(kLabelInjection.term);
}
@Override
public final boolean isConstructor() {
return true;
}
@Override
public final boolean isFunction() {
return false;
}
@Override
public final boolean isPattern() {
return false;
}
@Override
protected final int computeHash() {
return term.hashCode();
}
@Override
public String toString() {
return "(# " + term + ")";
}
@Override
public void accept(Visitor visitor) {
visitor.visit(this);
}
@Override
public ASTNode accept(Transformer transformer) {
return transformer.transform(this);
}
}
|
--INI--
HTML.AllowedElements = b,i,p,a
HTML.AllowedAttributes = a.href,*.id
--HTML--
<span>Not allowed</span><a class="mef" id="foobar">Remove id too!</a>
--EXPECT--
Not allowed<a>Remove id too!</a>
--# vim: et sw=4 sts=4
|
nded to 1 dp?
106.3
Round -0.0163097 to five dps.
-0.01631
Round -3370.9 to the nearest 1000.
-3000
What is 671471 rounded to the nearest 100000?
700000
What is 1340277.9 rounded to the nearest one thousand?
1340000
What is 4.12368 rounded to 2 decimal places?
4.12
Round 0.057878296 to five decimal places.
0.05788
What is -4865.473 rounded to the nearest 100?
-4900
What is -694398.8 rounded to the nearest 100000?
-700000
What is -0.000918431 rounded to six decimal places?
-0.000918
What is -92.52718 rounded to two dps?
-92.53
Round 0.221811 to 3 decimal places.
0.222
Round -875100000 to the nearest one million.
-875000000
What is 1230.53 rounded to the nearest 100?
1200
What is -0.00000112178 rounded to 7 dps?
-0.0000011
What is 0.0000386438 rounded to six decimal places?
0.000039
What is 1526908.8 rounded to the nearest 1000?
1527000
Round 6.065421 to 2 decimal places.
6.07
Round 22898.48 to the nearest ten thousand.
20000
What is 377709000 rounded to the nearest 1000000?
378000000
What is 0.00949078 rounded to four decimal places?
0.0095
What is -0.147433 rounded to 3 decimal places?
-0.147
What is -0.008547825 rounded to three decimal places?
-0.009
What is 21069280 rounded to the nearest one hundred thousand?
21100000
Round 12726.93 to the nearest one hundred.
12700
What is -338705 rounded to the nearest one thousand?
-339000
Round 0.0001115947 to six dps.
0.000112
Round 21534.89 to the nearest 10000.
20000
Round -2089781.8 to the nearest one million.
-2000000
What is -0.00008327185 rounded to 5 decimal places?
-0.00008
Round 0.000089156965 to six decimal places.
0.000089
Round 11.21126 to 1 decimal place.
11.2
What is -0.36632463 rounded to four dps?
-0.3663
What is 0.000007403819 rounded to 6 decimal places?
0.000007
Round 0.012845791 to 3 dps.
0.013
What is -188686500 rounded to the nearest one million?
-189000000
Round 0.000926414 to 6 decimal places.
0.000926
Round 0.00601677 to four decimal places.
0.006
Round 400695270 to the nearest 1000000.
401000000
What is 5499089 rounded to the nearest 10000?
5500000
Round 0.0001130316 to 7 decimal places.
0.000113
Round -352.814 to the nearest one hundred.
-400
What is 72941200 rounded to the nearest 100000?
72900000
What is 520.338 rounded to the nearest 100?
500
What is 4982.02 rounded to the nearest one hundred?
5000
Round -0.000215849 to 7 dps.
-0.0002158
What is -0.361653 rounded to 3 dps?
-0.362
What is -0.001412335 rounded to 5 decimal places?
-0.00141
What is -18584100 rounded to the nearest 100000?
-18600000
Round -4878674 to the nearest 10000.
-4880000
Round 0.002345838 to 6 dps.
0.002346
What is -1151674 rounded to the nearest one hundred thousand?
-1200000
What is -131.08144 rounded to the nearest 10?
-130
What is 840.2551 rounded to the nearest one hundred?
800
What is -40787.59 rounded to the nearest 1000?
-41000
Round -7.83839 to two dps.
-7.84
What is 51788.756 rounded to the nearest one hundred?
51800
Round 30182631 to the nearest 100000.
30200000
What is 4.27713 rounded to 2 dps?
4.28
What is 1935344 rounded to the nearest 1000?
1935000
Round -261.957 to the nearest 100.
-300
What is -0.00305517 rounded to four decimal places?
-0.0031
Round 0.05241869 to 5 dps.
0.05242
What is 0.0000655109 rounded to 7 dps?
0.0000655
What is -0.5664317 rounded to two dps?
-0.57
What is 0.10924316 rounded to 3 dps?
0.109
Round -10.0992 to the nearest integer.
-10
Round -85093.4 to the nearest 1000.
-85000
Round -123.5374 to 1 dp.
-123.5
What is -419153 rounded to the nearest 10000?
-420000
What is 1015729000 rounded to the nearest one million?
1016000000
Round -0.0167344 to three decimal places.
-0.017
Round -0.00004569753 to five dps.
-0.00005
Round 0.000077785126 to six dps.
0.000078
Round -107968.61 to the nearest ten.
-107970
Round -62.31116 to the nearest 10.
-60
What is 0.128932 rounded to 2 dps?
0.13
Round 38533.12 to the nearest 1000.
39000
What is 123.263 rounded to zero decimal places?
123
Round 0.0426883 to four dps.
0.0427
What is 0.00750963 rounded to 4 decimal places?
0.0075
Round -0.00000381275 to six decimal places.
-0.000004
Round 0.0000070925 to seven decimal places.
0.0000071
What is 0.02741235 rounded to four decimal places?
0.0274
What is -149831 rounded to the nearest one hundred thousand?
-100000
Round 402.9117 to the nearest integer.
403
Round 20119.4 to the nearest 100.
20100
What is 25059.28 rounded to the nearest 10?
25060
What is 0.00043307503 rounded to 7 dps?
0.0004331
Round 0.16119 to two decimal places.
0.16
Round 0.000004047187 to 7 dps.
0.000004
What is -128824000 rounded to the nearest 1000000?
-129000000
What is -0.000030422056 rounded to six dps?
-0.00003
Round 0.700794 to one decimal place.
0.7
What is 15476800 rounded to the nearest one million?
15000000
Round 36231.748 to the nearest 100.
36200
What is -0.133626 rounded to 3 decimal places?
-0.134
What is 309169000 rounded to the nearest 1000000?
309000000
What is -1.3631219 rounded to 1 decimal place?
-1.4
What is 0.1862177 rounded to 3 dps?
0.186
Round 0.00804345 to three dps.
0.008
Round 2.37321 to 1 dp.
2.4
Round 15037950 to the nearest 1000000.
15000000
What is 316005.4 rounded to the nearest one thousand?
316000
Round 6632100 to the nearest 1000000.
7000000
What is 0.77399 rounded to two dps?
0.77
What is -1.842948 rounded to one decimal place?
-1.8
Round 410111.4 to the nearest 1000.
410000
Round 0.00001596531 to 7 decimal places.
0.000016
What is -1.12779377 rounded to 2 decimal places?
-1.13
Round 23391050 to the nearest 1000000.
23000000
Round -0.113917 to 1 decimal place.
-0.1
What is 18.040348 rounded to one dp?
18
What is -0.000058988 rounded to six dps?
-0.000059
What is 11.2763792 rounded to 0 decimal places?
11
Round 9189700 to the nearest one hundred thousand.
9200000
Round -5764259 to the nearest 10000.
-5760000
What is -0.00025452178 rounded to 7 decimal places?
-0.0002545
What is -4811.62 rounded to the nearest 100?
-4800
What is 0.00385138 rounded to three decimal places?
0.004
What is 0.2890797 rounded to three dps?
0.289
What is 0.06778958 rounded to 3 dps?
0.068
Round -0.000729 to 4 decimal places.
-0.0007
Round -0.00018384943 to 4 decimal places.
-0.0002
What is -17571400 rounded to the nearest 100000?
-17600000
Round 45.175546 to 0 dps.
45
Round 604397 to the nearest one thousand.
604000
Round -0.0109014955 to six decimal places.
-0.010901
What is -0.000419416 rounded to 6 dps?
-0.000419
What is 45894820 rounded to the nearest ten thousand?
45890000
What is 0.005488673 rounded to six dps?
0.005489
Round 1415.88037 to one dp.
1415.9
Round -0.00000025134 to 7 decimal places.
-0.0000003
Round -0.00005122917 to 7 dps.
-0.0000512
Round -2.191822 to two dps.
-2.19
What is -16748.182 rounded to the nearest one thousand?
-17000
What is -5.0511 rounded to 2 dps?
-5.05
What is -12827.69 rounded to the nearest one hundred?
-12800
What is -5778379900 rounded to the nearest 1000000?
-5778000000
What is -0.002110531 rounded to four decimal places?
-0.0021
Round -1096857600 to the nearest one million.
-1097000000
What is 173299.87 rounded to the nearest 100?
173300
What is -0.00001404951 rounded to 6 dps?
-0.000014
What is -13433.74 rounded to the nearest 10?
-13430
What is -58.38993 rounded to two decimal places?
-58.39
Round 0.001240629 to 4 decimal places.
0.0012
Round -859270000 to the nearest one million.
-859000000
What is -0.11724928 rounded to 4 dps?
-0.1172
Round -11327014 to the nearest 10000.
-11330000
Round -0.000180559 to five decimal places.
-0.00018
What is -0.00000370615 rounded to six decimal places?
-0.000004
What is 6515605 rounded to the nearest ten thousand?
6520000
What is -11974.319 rounded to the nearest one hundred?
-12000
Round -0.2244352 to three decimal places.
-0.224
Round 1.983999 to three dps.
1.984
Round -0.0000081426 to seven dps.
-0.0000081
Round -75076000 to the nearest 100000.
-75100000
What is -0.4511661 rounded to two dps?
-0.45
Round 0.0017021207 to five dps.
0.0017
What is 13.6319549 rounded to 3 dps?
13.632
What is 0.000005333 rounded to 5 dps?
0.00001
Round 1686690 to the nearest 1000000.
2000000
Round 289.3378 to one dp.
289.3
Round 202061.4 to the nearest one thousand.
202000
Round 0.0001563223 to 5 decimal places.
0.00016
What is -2113032 round |
The country that put the starch in “stiff upper lip” has made companionship, conversation and human contact a national priority.
On Wednesday, British Prime Minister Theresa May announced the creation of a new ministerial portfolio in her Cabinet: combating loneliness.
With more than 9 million British adults reportedly experiencing chronic loneliness — and a stack of studies documenting the corrosive health effects of such social isolation — May said it was time that a high-level government official coordinate a “first-ever strategy” to address the scourge.
May named the minister for sport and civil society, Tracey Crouch, to the role, and called on the Office for National Statistics to devise ways to better measure loneliness.
The newly created “ministerial lead on loneliness” was a tribute to Jo Cox, a Labor Party lawmaker who was killed in June 2016 by a white supremacist. Addressing loneliness was a cause championed by Cox, who represented a district in West Yorkshire.
“For far too many people, loneliness is the sad reality of modern life,” May said in launching the government effort. “I want to confront this challenge for our society and for all of us to take action to address the loneliness endured by the elderly, by carers and by those who have lost loved ones — people who have no one to talk to or share their thoughts and experiences with.”
The government campaign makes the United Kingdom a pioneer in tackling a public health challenge that has emerged in an age of transient families, growing social diversity and crumbling political consensus. The Campaign to End Loneliness, a British philanthropy, says more than half of Britons older than 75 live alone. And about half a million older Britons can go a week without seeing or speaking to anyone.
Laura Alcock-Ferguson, executive director of the Campaign to End Loneliness, has called the condition an “epidemic” in Britain.
And the U.K. is not alone. In 2016, then-U.S. Surgeon General Vivek Murthy warned that Americans are “facing an epidemic of loneliness and social isolation.” A long-running survey called the Health and Retirement Study suggests that about 28% of older Americans feel chronically lonely.
The result of all this loneliness goes beyond widespread emotional distress. Research has shown that people who routinely feel lonely or cut off from friends and family are more likely to suffer high blood pressure, develop heart disease and be diagnosed with dementia. UCLA researchers have found that lonely people suffer higher levels of chronic inflammation, making them more vulnerable to a wide range of health conditions.
Compared with people who have strong social connections, those who acknowledge chronic feelings of loneliness are more likely to see their function decline as they age, and are 50% more likely to die prematurely.
As a risk factor for early mortality, loneliness’s impact is comparable to smoking 15 cigarettes a day, and greater than that of obesity, according to a review by experts from Brigham Young University and the University of North Carolina at Chapel Hill.
Unsurprisingly, social isolation greatly increases the risk for depression and the poor self-care that typically accompanies it — a vicious cycle that makes loneliness a root cause of all manner of illness. Psychologists have identified another vicious cycle: Lonely people experience brain changes that make it more difficult to form new social connections. For instance, they’re more likely to view others’ faces as threatening, making it harder for them to bond with others.
University of Chicago psychologist John Cacioppo, who has studied loneliness and its effects for decades, said the British initiative “constitutes an important recognition for the significance of loneliness in people’s life.”
Developing effective treatments to reduce loneliness “will not be achieved easily,” he warned. “Loneliness has been allowed to go unchecked for a significant period of time.”
In recent years, programs have sprouted across the U.K. linking older Britons with schools, nurseries and young families. Efforts like these, and to address loneliness as a national public health issue, represent a reversal of the trend and provide “hope for the improvement of the quality of life for millions of people,” Cacioppo said.
melissa.healy@latimes.com
@LATMelissaHealy
MORE IN SCIENCE
Obese patients lived longer if they had weight loss surgery, study finds
When it comes to treating obesity, is fitness more important than fatness?
Scientists see evidence of iridescent rainbow feathers on a dinosaur |
South Korean band presents unique show in Baku
Baku hosted a unique concert featuring Azerbaijani and South Korean bands last week dedicated to the 20th anniversary of diplomatic relations between the two countries.
South Korea was represented at the event held at the Heydar Aliyev Palace, titled ``The harmony between Korean and Azerbaijani people``, by the united Kwanggaeto Samulnori band led by Kwon Junsung, while Azerbaijan - by the State Dance Ensemble headed by People`s Artist Afag Malikova and the instrumental ensemble Dan Ulduzu named after Gulara Aliyeva.
Kwanggaeto Samulnori delivered a fascinating performance synthesizing national tunes and dancing with contemporary rhythms. These included Mega Drum, featuring a convergence of modern dances and traditional Korean tunes. Also presented was B-Boy, the Korean break dance, which combines American, African American and Latin American hip hop tunes and is very popular among Korean youths. This was followed by an interesting rhythmical show of the Korean traditional dance Buchaechum (ventilator dance), which produces the effect of wavy unfolding colors. The Sori show, which was also part of the concert, is a genre of Korean traditional music that includes Pansori and a variety of Korean voice rhythms.
Pansori (or phansori) is a musical genre often referred to as ``Korean opera``. It is a vocal and percussional music performed by a sorikkun (singer) and a gosu (drummer).
The word ``phansori`` is derived from ``phan``, which means ``a place of public gathering`` and ``sori``, which stands for ``sound``. UNESCO has included ``phansori`` into the list of masterpieces of verbal and intangible heritage of humanity.
The audience was particularly fascinated by Pangut, a dance show of exorcism. Dancers appeared in hats with long sangmo ribbons and held Samul items in their hands personifying four symbols - wind, thunder, rain and a cloud. They showed a dance with energetic moves on stage worshipping soil and air.
In the final, all the participants sang the Korean folk song Arirang in hip hop style.
An AzerNews reporter has watched a rehearsal of the Kwanggaeto Samulnori band and briefly interviewed its leader. |
In light of Isaiah Johnson's Rutgers commitment, NJ Advance Media took the opportunity to truly get to know the 6-2, 225-pound linebacker, as well as have some fun.
The City College of San Francisco (Calif.) standout was honest and open in sharing things about himself and gave us permission to pass along the info.
So, lets take a look at some fun facts about Isaiah Johnson, Rutgers' latest addition.
Favorite food: I'd have to go with burritos.
Favorite movie: Man, there are a lot of them. I'll go with The Other Guys. I actually saw that recently, but it's up there. It's one of them. I like Will Ferrell. I like comedies in general.
Favorite music genre: I like hip-hop, rap. Actually, I just like music, in general. I'll listen to anything. But if I have to decide, I'll probably pull up some hip-hop.
Favorite artist: Man, can I name a few? I like Kendrick Lamar, I like Lupe Fiasco, Nipsey Hussle. There is a guy Andy Mineo I like. He's a Christian rapper, actually. Those are probably the top guys.
Dream car: I like Range Rovers.
Johnson's pets: I have cats. I have three cats, yes. There's Tiger, then we have Lil' Deuce and there's Choncha, thats the other one.
Biggest fear: The dentist. I broke my tooth my freshman year at city college (due to not wearing a mouthpiece during contact). I chipped my front tooth and there was a lot of work they had to do to fix it, and that was just a horrible experience. Now, I kind of have a dentist phobia. After that, everyday, I always wear my mouthpiece. I'll never make that mistake again.
Another fear: When I go to Rutgers it'll actually only be my second time on a plane. I went to Illinois. That was my first time. it wasn't the best experience, but it was alright. I get nervous, I guess we could say that.
Potential career after college: I think something sports-related. I mean, I'd love to go to the NFL, God-willing. But I think it would be fun to have a sports-related career.
On going from the west coast to the east coach for college: I've always been good at adapting and adjusting. I think the biggest thing for me is the weather. I've never really liked the cold. But I think I'll get used to it.
What he enjoys most about football: The competitiveness. I like having my back against the wall and having to persevere to win.
When and where he began playing football: I was eight. It was PAL, the Police Athletic League. I played for the Hayward Lancers.
Favorite pastime: Just being with family and friends. I feel like as long as you are around the right people, you can always have fun in whatever you are doing.
A hobby of Johnson not many are aware of: I like writing poetry. It's a hidden hobby. I don't do it often but I like to write, just to express myself.
Todderick Hunt may be reached at thunt@njadvancemedia.com. Follow him on Twitter @TodderickHunt. Find NJ.com Rutgers Football on Facebook. |
# frozen_string_literal: true
describe Facter::Resolvers::Identity do
let(:logger) { instance_spy(Facter::Log) }
before do
size_ptr = double('FFI::MemoryPointer', read_uint32: 1)
name_ptr = double('FFI::MemoryPointer', read_wide_string_with_length: user_name)
allow(FFI::MemoryPointer).to receive(:new).with(:win32_ulong, 1).and_return(size_ptr)
allow(IdentityFFI).to receive(:GetUserNameExW).with(2, FFI::Pointer::NULL, size_ptr)
FFI.define_errno(error_number)
allow(FFI::MemoryPointer).to receive(:new).with(:wchar, size_ptr.read_uint32).and_return(name_ptr)
allow(IdentityFFI).to receive(:GetUserNameExW).with(2, name_ptr, size_ptr).and_return(error_geting_user?)
allow(IdentityFFI).to receive(:IsUserAnAdmin).and_return(admin?)
Facter::Resolvers::Identity.instance_variable_set(:@log, logger)
end
after do
Facter::Resolvers::Identity.invalidate_cache
end
describe '#resolve when user is administrator' do
let(:user_name) { 'MG93C9IN9WKOITF\Administrator' }
let(:error_number) { FFI::ERROR_MORE_DATA }
let(:error_geting_user?) { 1 }
let(:admin?) { 1 }
it 'detects user' do
expect(Facter::Resolvers::Identity.resolve(:user)).to eql('MG93C9IN9WKOITF\Administrator')
end
it 'detects that user is administrator' do
expect(Facter::Resolvers::Identity.resolve(:privileged)).to be(true)
end
end
describe '#resolve when user is not administrator' do
let(:user_name) { 'MG93C9IN9WKOITF\User' }
let(:error_number) { FFI::ERROR_MORE_DATA }
let(:error_geting_user?) { 1 }
let(:admin?) { 0 }
it 'detects user' do
expect(Facter::Resolvers::Identity.resolve(:user)).to eql('MG93C9IN9WKOITF\User')
end
it 'detects that user is not administrator' do
expect(Facter::Resolvers::Identity.resolve(:privileged)).to be(false)
end
end
describe '#resolve when' do
let(:user_name) { 'MG93C9IN9WKOITF\User' }
let(:error_number) { FFI::ERROR_MORE_DATA }
let(:error_geting_user?) { 1 }
let(:admin?) { nil }
it 'detects user' do
expect(Facter::Resolvers::Identity.resolve(:user)).to eql('MG93C9IN9WKOITF\User')
end
it 'could not determine if user is admin' do
expect(Facter::Resolvers::Identity.resolve(:privileged)).to be(nil)
end
end
describe '#resolve when error code is different than ERROR_MORE_DATA' do
let(:user_name) { '' }
let(:error_number) { nil }
let(:error_geting_user?) { 1 }
let(:admin?) { 0 }
it 'logs debug message when trying to resolve user' do
allow(logger).to receive(:debug)
.with("failure resolving identity facts: #{error_number}")
expect(Facter::Resolvers::Identity.resolve(:user)).to be(nil)
end
it 'logs debug message when trying to find if user is privileged' do
allow(logger).to receive(:debug)
.with("failure resolving identity facts: #{error_number}")
expect(Facter::Resolvers::Identity.resolve(:privileged)).to be(nil)
end
end
describe '#resolve when there is an error getting user name' do
let(:user_name) { '' }
let(:error_number) { FFI::ERROR_MORE_DATA }
let(:error_geting_user?) { 0 }
let(:admin?) { 0 }
it 'logs debug message when trying to resolve user' do
allow(logger).to receive(:debug)
.with("failure resolving identity facts: #{error_number}")
expect(Facter::Resolvers::Identity.resolve(:user)).to be(nil)
end
it 'logs debug message when trying to find if user is privileged' do
allow(logger).to receive(:debug)
.with("failure resolving identity facts: #{error_number}")
expect(Facter::Resolvers::Identity.resolve(:privileged)).to be(nil)
end
end
end
|
Morris is a veteran federal prosecutor currently serving as second in command at the U.S. Attorney’s Office in Alabama’s Middle District. Morris also served as acting U.S. Attorney during the transition between former U.S. Attorney George Beck and current U.S. Attorney Louis Franklin. |
Bocaranga Airport
Bocaranga Airport is an airstrip serving Bocaranga, a town in the Ouham-Pendé prefecture of the Central African Republic.
The airport runs alongside the RR4 road at Bokongo, a hamlet south of Bocaranga.
See also
Transport in the Central African Republic
List of airports in the Central African Republic
References
External links
OpenStreetMap - Bocaranga Airport
OurAirports - Bocaranga Airport
Category:Airports in the Central African Republic
Category:Buildings and structures in Ouham-Pendé |
About This Project
An initial training will be conducted. This can take place either in your home or in our center, depending on what you feel will work best for your family. At least one parent is required to be present during the training, although both parents are strongly encouraged to attend.
Custom Field
Lorem ipsum dolor sit amet
Date
20 November
Category
Insurance/ Fees
We are in network with Anthem, Aetna, BCBS, Magellan, Medicaid (EPSDT), and Tricare. Please contact us to check our most updated list. The Behavioral Growing Tree offers courtesy verification and billing to insurance companies. Private pay is also accepted. |
3 Ways conceal your bra straps
The most annoying thing women have to tolerate of their bras is the part where their bra straps peep put of their clothing.No matter how hard we try these traps just keep popping out at us at the wrong places.
1) Affix the bra straps to the outfit
If the outfit has thick enough shoulder bands then the wisest thing to do would be to attach the bra straps to the shoulder of the outfit.
You can do this by :
– Double sided fashion duct tape
– Safety pins
– Lingerie snaps
The ideal method would be the lingerie snaps where a snap is attached to the inside of the garment to hold the strap in place.
2) Matching or clear straps
This of course does not make the straps disappear but it does conceal them and makes them barely noticeable. They kind of blend into the garment or appear to be part of the garment. You can even wear a Racer back style if the outfit calls for that style.
3) The No-fail solution – Strapless or adhesive bras
Some outfits will not relent to wearing bras with any kind of straps. Those outfits require bras without any straps so that the look of the outfit does not get destroyed. You can opt for bandeau bras , strapless bras , convertible bras or even adhesive bras in such cases.
These tricks will help you minimize or eliminate visible bra straps under any outfit that you choose to wear. |
Modern Java introduces major enhancements that impact the core Java technologies and APIs at the heart of the Java platform. Many old Java idioms are no longer needed and new features such as modularization make you far more effective. However, navigating these changes can be challenging.
Core Java® SE 9 for the Impatient, Second Edition, is a complete yet concise guide that includes all the latest changes up to Java SE 9. Written by Cay S. Horstmann–author of the classic two-volume Core Java–this indispensable tutorial offers a faster, easier pathway for learning modern Java. Given Java SE 9’s size and the scope of its enhancements, there’s plenty to cover, but it’s presented in small chunks organized for quick access and easy understanding.
Horstmann’s practical insights and sample code help you quickly take advantage of all that’s new, from Java SE 9’s long-awaited “Project Jigsaw” module system to the improvements first introduced in Java SE 8, including lambda expressions and streams.
Use modules to simplify the development of well-performing complex systems
Migrate applications to work with the modularized Java API and third-party modules
Test code as you create it with the new JShell Read-Eval-Print Loop (REPL)
Use lambda expressions to express actions more concisely
Streamline and optimize data management with today’s Streams API
Leverage modern concurrent programming based on cooperating tasks
Take advantage of a multitude of API improvements for working with collections, input/output, regular expressions, and processes
Whether you’re just getting started with modern Java or you’re an experienced developer, this guide will help you write tomorrow’s most robust, efficient, and secure Java code.
Register your product at informit.com/register for convenient access to downloads, updates, and/or corrections as they become available. |
----- Forwarded by Jeff Dasovich/NA/Enron on 02/14/2001 06:48 PM -----
Scott Govenar <sgovenar@govadv.com>
02/14/2001 01:39 PM
To: Hedy Govenar <hgovenar@govadv.com>, Mike Day <MDay@GMSSR.com>, Bev
Hansen <bhansen@lhom.com>, Jeff Dasovich <jdasovic@enron.com>, Susan J Mara
<smara@enron.com>, Joseph Alamo <JAlamo@enron.com>, Paul Kaufman
<paul.kaufman@enron.com>, Michael McDonald <Michael.McDonald@enron.com>,
David Parquet <David.Parquet@enron.com>, Rick Johnson
<rick.johnson@enron.com>, Marcie Milner <mmilner@enron.com>, Sandra McCubbin
<Sandra.McCubbin@enron.com>, Tim Belden <Tim.Belden@enron.com>, Rick Shapiro
<rshapiro@enron.com>, Jim Steffes <james.d.steffes@enron.com>, Alan Comnes
<acomnes@enron.com>, Chris Calger <ccalger@enron.com>, Mary Hain
<mary.hain@enron.com>, Joe Hartsoe <Joe.Hartsoe@enron.com>, Donna Fulton
<Donna.Fulton@enron.com>, Steven Kean <Steven.J.Kean@enron.com>, Karen Denne
<kdenne@enron.com>, Beverly Aden <beverly.aden@enron.com>, Bill Votaw
<bill.votaw@enron.com>, Carol Moffett <carol.moffett@enron.com>, Debora
Whitehead <debora.whitehead@enron.com>, Dennis Benevides
<dennis.benevides@enron.com>, Don Black <don.black@enron.com>, Dorothy
Youngblood <dorothy.youngblood@enron.com>, "dblack@enron.com"
<dblack@enron.com>, "emelvin@enron.com" <emelvin@enron.com>,
"ehughes2@enron.com" <ehughes2@enron.com>, "gweiss@enron.com"
<gweiss@enron.com>, "gsavage@enron.com" <gsavage@enron.com>,
"Harry.Kingerski@enron.com" <Harry.Kingerski@enron.com>, "kgustafs@enron.com"
<kgustafs@enron.com>, Mike D Smith <msmith1@enron.com>, "ryang@enron.com"
<ryang@enron.com>, "sgahn@enron.com" <sgahn@enron.com>, "vsharp@enron.com"
<vsharp@enron.com>, "wcurry@enron.com" <wcurry@enron.com>,
"William.S.Bradford@enron.com" <William.S.Bradford@enron.com>
cc:
Subject: Governor Davis - Legislative Package
Attached, please find a press release from Governor Davis regarding
distributed generation, renewable energy and co-generation. Please
note, the Governor is advocating the elimination of stand-by charges.
http://www.governor.ca.gov/state/govsite/gov_htmlprint.jsp?BV_SessionID=@@@@11
72525339.0982192452@@@@&BV_EngineID=halkdjlkkhebemfcfkmchcng.0&sFilePath=%2fgo
vsite%2fpress_release%2f2001_02%2f20010214_pr054_distributed_generation.html&s
Title=GOVERNOR+DAVIS+ANNOUNCES+BILL+PACKAGE+TO+INCREASE+RENEWABLE+ENERGY,+DIST
RIBUTED+GENERATION+AND+CO-GENERATION&sCatTitle=Press+Release&iOID=13343 |
The Self-Made Amtrak Residency
You can just see the classical dome on City Hall. There are a surprising number of classically domed municipal buildings within sight of a rail line.
Last weekend I spoke at the Hippocamp Creative Nonfiction Conference (round-up post coming!) in Lancaster, PA. It was a fantastic experience full of ideas and inspiration, and I knew I’d want a couple of days to decompress. My next destination was Louisiana, and I took the train.
There is a formal “Amtrak Residency,” where writers are chosen from a pool of applicants to receive a free train trip. I’d considered applying, but the first year there was some dubious language about Amtrak owning copyright in submitted work samples, and last year it seemed like a lot of hoops to jump through for a short residency period. And most of the winners looked either more famous or more social-media-gifted than me. Instead I bought my own trip.
It didn’t start well. I gave up my seat so an older couple could sit together, and went to work in the café car, where I got trainsick while typing and had to stop. The café car closed, and I wandered the length of the train looking for another open seat. Downtown Pittsburgh is no doubt charming before 10PM, but finding a restaurant on a four-hour night layover was tough. The guy next to me in the charmless waiting room spent an hour explaining smart phones to an Amish family, who patiently smiled and nodded while clearly understanding modern technology they were choosing not to use. I felt my bedtime ticking away.
But once on the train to Chicago, tucked up in my “roomette”–basically a bunkbed with just enough room to put on shoes before staggering to the WC in the night–all was forgiven. The rocking of the train really was soothing. The next morning hit the observation car, enjoying huge windows and morning light while working away. Turns out I need to face backward on the train, contrary to all my instincts.
A morning layover in Chicago let me scoot to Walgreens for snacks, and the afternoon-overnight-morning to Texas was gorgeous. There was technically wifi on the train, though I barely used it, and just sitting and thinking was peaceful–I felt meditative watching the world go by. The showers were as clean as a gym’s, and the bedding was comfy. Seating at meals is communal, and I met people who gave me their emails to let them know when my book came out, a lady who’d lived in Istanbul, and a man who was riding every train line across the country as his bucket list. (He recommends the Southwest Chief as the most beautiful route.)
Now, I’m a freelancer with no kids, I live in a country where I don’t have a work permit so I don’t have to hustle back for a job, and my husband is deeply supportive and understanding, so it’s possible for me to say, sure, I’ll randomly take a few more days for myself! which is not everyone’s experience. But if you have a couple of days, consider a self-made mini-residency. You don’t have to pass an application process or bother your references or agonize over which pieces to put in a work sample or guess which dates you’ll be available 18 months from applying. Doing your own can cost less than flying to an established residency.
Airbnb makes renting an apartment doable just about anywhere. Pick a place that’s unpopular or small and reasonably cheap. I’m planning on Baku, Azerbaijan because for me it’s a short flight; you might try a landlocked town in a state known for beaches, or a college town during spring break, or a farm community, or the “boring” suburbs of an exciting city.
State parks often have cabins to rent at a reasonable price, and during shoulder season can be easier to get a reservation.
Bring your own Lysol and rent in one of those seen-better-days mom-and-pop motels along the highway that used to be the main highway before they built the interstate. Bonus points if it’s walking distance from a truck stop. You’ll almost certainly encounter people you can refer to as “denizens” in your essay.
Ask your friend who has a vacation house if you can use it. Start with “No is a totally OK answer, but I’m looking for a place to do a three-day mini-retreat to write. Would you ever consider…” Leave the place sparkling and drop off a couple of nice bottles of wine or a restaurant gift card.
Off-seasons in general are usually quiet–a ski resort in September, the less-popular part of Cape Cod after Labor Day (try a ramshackle cottage within walking distance of great chowder in Onset, MA).
If you have children, see if you can team up with another writer with kids: rent a place for a week. You take the kids for three days, they take them the other three, and in the middle you spend one family day doing something fun all together.
Stock up on snacks and don’t be shy about eating out–it’s worth it to open up the mental space that would be spent choosing, cooking and cleaning.
I didn’t actually write very many words on the train. But I found some open spaces in my brain that I needed to write when I got home, and it was wonderful to think over what I learned at the conference. 4/5 stars–recommend.
Have you done a self-made residency? Tell us what worked (or didn’t) in the comments!
I wrote most of my first novel van camping in many of the state parks of Florida. I’d snake an extension cord in through a cracked window and have computer power. Wild boar, turkeys, and alligators would wander by.
Thanks for this great piece, it also reminded me that I forgot to apply for the Amtrak residency AGAIN. But your idea sounds even better. I have rented a cottage on a bay in Maine and structured myself well- rewrote a whole novel and got plenty of exercise. I borrowed a lake house in New Hampshire from a friend who felt thrilled to have it put to good use. And one summer I put an air conditioner in our guest room ( so I couldn’t see the mess in the rest of the house) and took the week off while my husband was at a conference and edited an entire anthology. The tricks include good play lists and the ability to avoid all responsibility. Grocery shop ahead of time. Get dressed in the morning as if you’re going to work. Light candles of your favorite saints for focus and good luck. Treat yourself to specific times for social media or better yet go somewhere without internet and then find a fabulous coffee shop where you allow yourself one trip a day for every 20 pages. I was recently hospitalized for cardiac observation and felt like even that might work out for some solitude and writing time. Not so much. Lots of beeping and an annoying roommate. Lousy coffee.
My husby and I are at a Thousand Trails Campground right now and each of these trips is a working vacation, so I would call this a semi-residency. The sun has set. There is light in the sky. The old man in the trailer next door has gotten something from storage and is going inside. I can hear the American river and the cicadas. My dog-dog is at my feet. And a residency is in the eye of the beholder.
I wish we could have such “residency” in India too. It will be so encouraging to writers to find some open spaces in your brain ( borrowing your own words Allison Williams). I am sure with more Indian writers joining the gang, this will happen sooner or later.
Great ideas, Allison! I tagged along with my daughter on her business trip and squatted in her hotel room in Seattle for three days. When she left for her trade show at 8:00 each day, I buckled down to put the finishing touches on a ms. with breaks to gaze out the window and observe beautiful downtown. By 4:00 I was enjoying a glass of wine in the bar with a good book, then dinner out with my daughter. Wonderful!!! I got so much accomplished and it truly did feel like a relaxing retreat. Working at a hotel room desk in a 4-star bathrobe can’t be a bad thing!
Last January, I went to far northern Maine (12 hour drive) with my college age son for a week while he did an internship trial . He was gone for 8 hours a day, I had the comfy (and very inexpensive) bed & breakfast almost all to myself. Too cold to want to go anywhere. Walked across the street once a day for lunch, then we drove one mile to one of 3 tiny restaurants for dinner. Got a lot done.
Trade houses with another writer. Love the idea of someone sitting in my kitchen gathering up inspiration, uninterrupted by the need to scrub the floor around the stove. And me? I am that writer in her place. I’d be glad to feed the cat.
Gee…you could always ask your empty nester writer (facebook) friend who lives in Central NJ if the two-bedroom cottage with central AC and views of hay fields and flower gardens on her 30 acre farm is available to another writer looking for a quiet (free) get-away, but if Am-trak is more appealing….well…..
I am going to look up Southwest Chief as soon as I post this… But, for those in US looking for an out-of-the-way writing retreat closer than Azerbaijan, I recently encountered Carbondale, IL. I need to look at some documents at Southern Illinois University. It turns out, this small town is near a state park and a wine trail. So, there are some cute cabins to rent for a pretty good price, since, after all, it is Southern Illinois, not San Diego. Thanks for a thought provoking piece, Allison.
I checked into a cheap motel in Warwick, RI for two nights and went for three walks a day, one to get chicken wings for lunch at the mall across the road. On one of the walks I got the “second layer” of an essay I’d been working on for ten years. On the last walk I got the last line. Ended up with one of my favorite pieces ever http://www.drrobin.org/pdfs/Lessons.pdf |
Q:
javascript jquery .each() problem
I have some form input elements with class .commission_plan and different IDs. I need to sum up this element's values. I use this code:
jQuery(document).ready(function() {
var total = 0;
$('.commission_plan').each(function() {
total = total + parseFloat($(this).val());
});
$('#payment_total_amount_hidden').val(total);
$('#payment_total_amount').text('Total: ' + total);
}):
In my input fields are the values 3.45 and 4.65. But why does #payment_total_amount contain 8.100000000000001? Very strange behavior.
A:
This is just how floating point math behaves, for currency situations you often want 2 decimal places, so use .toFixed(2) when rendering it, like this:
var total = 0;
$('.commission_plan').each(function(){
total = total + parseFloat($(this).val());
});
$('#payment_total_amount_hidden').val(total.toFixed(2));
$('#payment_total_amount').text('Total: '+total.toFixed(2));
}):
|
The future of publishing mainly depends on working with educated researchers, authors and reviewers. In other words, our policy to improve publishing is based on the education of the researchers, authors and reviewers. Academic progress requires writing an article. The first step of scientific methodology and writing a scientific report or article is to prepare a good research project. At the beginning of all these preparations, the rule **"research is nothing unless it is published"** should also be remembered. **When does research deserve to be published?** The answer to this question is: The project should be well-planned at the first stage, from the beginning. We should use the basic rules that are listed above the starting point of the "Future of Our Periodical Publishing Policy and Our Publishing."
The solid basis and rules of research, the procedures and proper writing of research when completed, the expectations of a periodical editor about the article, and the rules based on which a serious reviewer evaluates the submitted article should be explained to medical scientists when they are students, and should be part of their education. The publishing policy is based on these factors. If young medical students **receive education as the researchers, authors and reviewers of the future, we might be proud of the future of publishing**.
The rules of medical research are rarely taught sufficiently in the faculties of medicine. It is not easily possible to train graduated doctors as researchers, as today's education in faculties of medicine is not based on these concepts. This deficiency should be eliminated first in periodical publishing policy.
In many countries that have fallen behind in science, all doctors educated in cardiology sometimes assist in one or two studies during their specialty period. They are asked to search the literature or record the data, without receiving any training in how to do this. In other words, they are tasked with a kind of simple secretarial duty. People who are not trained and educated on why and how to conduct research, or familiar with the rules of research, will not acquire much information or experience, even if they participate on the research team. Of course, it would be totally unrealistic to ask untrained people to write the study; what they write will be ridiculous.
The laboratory studies regarding fundamental sciences are different from clinical protocols; they are easier to learn and to teach. The required research and editing processes are shorter. The ethics reports are not difficult to obtain. Specific and easily obtained ethics reports are adequate for specific tissue and animal studies. The issue of education starts here during the determination of the publishing policy. The researcher and the advisor should identify the challenges of the project in advance, start with an easy project, and plan a research that can be finished within the academic period. In many countries, it is very rare in medical schools that research advisors are assigned for research during the educational process in faculties of medicine or even during specialty training. These facts should be addressed in scientific policies during research, which is the basis of publication, in developing countries. A quarter of the scientists around the world are from developing countries; nevertheless, they can produce only 5% of all scientific publications. Monetary resource is not the only challenge in planning the studies at very high levels. Lack of research education plays a very significant role in these countries. In conclusion, the fact that **only 2% of the developing countries have journals in the Science Citation Index** justifies the above-mentioned thoughts.
Medical personnel who have a bachelor's degree or a graduate degree submits and gets rid of their responsibility in a study they are required to conduct. They cannot enjoy doing research, or understand its importance. On the other hand, they will more enthusiastically and consciously conduct the studies in which they take part, and access real information and broaden their horizons, if they are educated. And if they start to work in a research- or education-based medical institution, their entire academic life may end. The researcher should record the information in two separate files at every step. These records include the completed part of the research, the time required to complete the research, the status of materials, and the rate of data loss. The fact that the above-mentioned rules are not taught and implemented at all in the developing countries results in many studies being submitted for publication in a deficient format. These problems may be at least partially avoided by having a requirement that the research leader known or selected by the author has high scientific qualifications. This should be part of every project. The research leader is responsible for the collection, recording and protection of the data. The research leader also coordinates showing the data to the researchers, advisors and authorities of the supportive institution, whenever required. Policy rules should be developed to ensure this coordination in research. The chief responsible/author of the research should have a close relationship with this coordinator. This ensures that the research is conducted within certain limited periods of time, and completed on time.
Until recent decades, the articles in Turkey have finished with a sentence such as "the results of the present study comply with the results of other/foreign studies," which has no relationship to producing a scientific study. An important corrective step made in the twenty-first century is not to start a groundless study such as "let's search this, collect this information" without any questions to be considered or hypotheses to be tested. This is an ambiguous statistical method. How can research be planned without being based on a real basic information, just to satisfy "**curiosity**"? A large number of case reports, original images and letters to the editor are published from Turkey in the SCI journals; I feel proud and excited when I see a bit worthwhile original study article. If you carefully analyze these articles, you can see that the advisor or chief author of the study was trained in, or educated himself/herself on the basic rules of research. **Our policy should be to make this education ordinary**.
If the beginning of the research is not well-organized, it will be difficult to write this research. Every editor wants to publish a good paper and a quality study: it is the basic criterion. If the study is of high quality, editors do not easily reject a poorly written article; they want to provide any kind of help needed to make the paper suitable for publication. The first question **"Why am I searching"** may be answered. Why? This cannot be the basis of a research project; more precisely, research cannot be initiated due to "**curiosity**." A study should produce information as the end-result; it should, to some extent, enlighten the reader with facts that were previously unknown using a scientific method. The deficient information can be found through exami- ning basic information. An assumption-hypothesis is developed to obtain the "missing/required information." This hypothesis corresponds to the first part of the article: *Introduction*. A study design is determined to test this hypothesis, which corresponds to the *Methods* in the study. This design is used to investigate the correctness of the hypothesis. After the hypothesis is tested, the findings and results are analyzed; this corresponds to the *Findings/results* section. Finally, the results of the analyses are interpreted in terms of the hypothesis, which corresponds to the *Discussion* section in the article.
Let's explain this using this example: Whether the biventricular pacing increases the coronary blood flow will be tested: This hypothesis is formed since the basic information indicates that coronary blood flow has the possibility to increase using this method; the hypothesis is not formed solely due to curiosity. The aim of the study is to test and prove the hypothesis by measu- ring the coronary blood flow during pacing. The example above shows that each research study has the goal of proving the hypothesis. A study paper in which these concepts are put in the correct order is very likely to be published.
A lack of education and the financial resources wasted due to uncontrolled use will only continue to create a large debris of research articles in developing countries.
{#sec1-2}
{#F1}
|
Keri was voted as the winner of the Contemporary Baseball Commentary award for his article "Grand Theft Baseball," published by Grantland.com on March 20, 2013.
Keri is a staff writer for Grantland. His book, The Extra 2%: How Wall Street Strategies Took a Major League Baseball Team From Worst to First, is a national best-seller. His new book Up, Up, and Away, on the history of the Montreal Expos, is now available for preorder.
The SABR Analytics Conference Research Awards recognize baseball researchers who have completed the best work of original analysis or commentary during the preceding calendar year. |
So ends the ballad of short white guy. Jacob Tucker captured our hearts, with his average height and above-average ability to jump and slam a basketball through a rim. And these were legitimately good dunks — no affirmative action here. But if you're wondering why such an athlete would be stuck in Division III, and… »4/01/11 10:30am 4/01/11 10:30am
Jacob Tucker, a senior guard for the (DIII) Illinois College Blueboys, is 5'11" and can jump really high. He's put together a highlight reel and Facebook group arguing he's worthy of inclusion in next month's college slam dunk contest. That's moxie, kid. »3/04/11 1:50pm 3/04/11 1:50pm |
A Atari decidiu que 2017 é o ano do seu retorno ao mundo dos consoles. Após anunciar o Ataribox, um retorno aos videogames de mesa, a empresa revelou nesta segunda-feira, 4, o Retro Atari Handheld, um console portátil para os fãs da marca.
O videogame vem com tela de 2,4 polegadas, controles e botões próprios, mas também pode ser ligado a uma TV para exibir os jogos em melhor resolução. O Retro Atari Handheld também vem com 50 títulos clássicos da plataforma que fez sucesso entre os anos 1970 e 1980.
Para enfatizar o ar "retrô" do aparelho, a conexão com a TV é feita por um cabo tradicional de áudio e vídeo, e não por um HDMI. Além disso, o design do console remete ao Atari 2600, com elementos em madeira, e depende de pilhas AAA para funcionar.
A lista de games que já vêm na memória inclui "Asteroids", "Gravitar", "Missile Command" e "Breaktout", entre outros. Interessados podem comprá-lo na Europa por 35 euros - equivalente a R$ 130 em conversão direta. |
595 N.E.2d 622 (1992)
231 Ill. App.3d 401
172 Ill.Dec. 261
BOATMEN'S NATIONAL BANK OF HILLSBORO, Plaintiff and Counter-defendant-Appellee,
v.
Howard F. WARD, in an individual capacity, Howard F. Ward, as Trustee, Howard M. Ward, Mary Ann Dillon, and Sharon Lohman, Defendants and Counter-plaintiffs-Appellants.
No. 5-91-0169.
Appellate Court of Illinois, Fifth District.
June 22, 1992.
Rehearing Denied July 29, 1992.
*623 Donald W. Jenkins, C. Elizabeth Belmont, Vedder, Price, Kaufman & Kammholz, Chicago, for defendants and counter-plaintiffs-appellants.
Kelly D. Long, Kelly D. Long Law Offices, Hillsboro, Robert B. Hoemeke, Duane L. Coleman, Lewis, Rice & Fingersh, Clayton, Mo., for plaintiff and counter-defendant-appellee.
Justice HARRISON delivered the opinion of the court:
Boatmen's National Bank of Hillsboro (the Bank) filed suit in the circuit court of Montgomery County to foreclose on defendant Howard F. Ward's farm. In his answer, Ward raised as an affirmative defense that the Bank should be estopped by its misconduct from collecting the debt he owed. Based on the same allegations of misconduct, Ward also filed a counterclaim *624 against the Bank for damages. The specific misconduct charged by Ward was that the Bank had breached a fiduciary duty to him. Ward's counterclaim was first tried before the jury, which returned a verdict in his favor in the amount of $248,614.96. The jury also awarded Ward an additional $1 in exemplary damages on the grounds that the Bank's breach of its fiduciary duty was willful and wanton.
Following the jury's verdict, the court ruled that the Bank was still entitled to recover on its foreclosure claim. The court awarded the Bank damages exactly equal to the jury's verdict in favor of Ward, $248,614.96. After receiving additional evidence, the court also awarded the Bank an additional $178,217 to compensate it for the attorney fees it had expended or would be expending in collecting on the debt. As soon as these rulings were made, the court sent the case back to the jury for a determination as to whether Ward was entitled to additional damages on his counterclaim. The jury found that he was and increased his damage award by $300,000.
On September 21, 1990, the circuit court entered judgment on the jury's verdict in favor of Ward on his counterclaim in the amount of $548,615.96, which consisted of the $248,614.96 original compensatory award and the $1 exemplary award plus the jury's $300,000 supplemental award. From this, the court deducted the $248,614.96 which it had awarded to the Bank on its foreclosure suit and the Bank's $178,217 in attorney fees. With this adjustment, Ward was left with a net judgment against the Bank in the amount of $121,784, and the court ruled that his debt to the Bank was fully satisfied.
Following various post-trial motions, the circuit court affirmed its judgment against Ward on the Bank's foreclosure action, but it found that under the terms of the debt instruments executed by Ward, he could only be held liable for $36,000 of the Bank's attorney fees. It therefore ordered a remittitur of the attorney fee portion of the Bank's judgment against Ward from $178,217 to $36,000. The circuit court also set aside in its entirety the damages awarded to Ward, granting judgment notwithstanding the verdict to the Bank on Ward's counterclaim. Ward now appeals. For the reasons which follow, we reverse the circuit court's judgment and reinstate the jury's verdict with certain modifications.
On this appeal, Ward first argues that the circuit court erred in entering judgment notwithstanding the verdict against him on his counterclaim for breach of fiduciary duty. We agree. In a lengthy and detailed written judgment, the circuit court explained that it had entered judgment notwithstanding the verdict on the counterclaim because, based on its reading of the record, it believed that the jury was simply wrong. In the judge's words, "I believe I am correct and the Jury was in error." This was an improper test.
Jury verdicts should not be disturbed on a motion for judgment notwithstanding the verdict merely because the jury could have found differently or because the judge might have found other conclusions to be more reasonable. (Lee v. Grand Trunk Western Railroad Co. (1986), 143 Ill.App.3d 500, 512, 97 Ill.Dec. 491, 492 N.E.2d 1364, 1365.) A judgment notwithstanding the verdict should be entered only when all of the evidence, when viewed in the light most favorable to the party who prevailed at trial, so overwhelmingly favors the party who lost at trial that no contrary verdict based on that evidence could ever stand. (Ward v. K-Mart Corp. (1990), 136 Ill.2d 132, 139-40, 143 Ill.Dec. 288, 291, 554 N.E.2d 223, 226.) Where the evidence demonstrates a substantial factual dispute or where the assessment of the witnesses' credibility or the resolution of conflicting evidence may determine the outcome, a court errs in entering judgment notwithstanding the verdict. Wade v. City of Chicago Heights (1991), 216 Ill.App.3d 418, 441-42, 159 Ill.Dec. 228, 244, 575 N.E.2d 1288, 1304.
Under these criteria, judgment notwithstanding the verdict was improper on the counterclaim for breach of fiduciary duty. The elements of that counterclaim were explained to the jury in an instruction tendered *625 by the Bank. The instruction provided:
"A fiduciary relationship is created where confidence is reposed on one side and resulting superiority and influence is found on the other. In order to establish a fiduciary relationship between Howard F. Ward and [the] Bank, Mr. Ward must show that:
First, Howard F. Ward placed trust and confidence in [the] Bank;
Second, Howard F. Ward must also show that [the] Bank actually or impliedly, agreed to exercise the Bank's judgment on behalf of Howard F. Ward; and
Third, [the] Bank gained influence and superiority over Howard F. Ward.
Factors to be considered in determining whether a fiduciary relationship exists include the degree of kinship, disparity of age, health, mental condition, education and business experience between the parties, and the extent to which the allegedly servient party (Mr. Ward) entrusted the handling of his business and financial affairs to the other ([the] Bank) and reposed faith and confidence in the other.
Once a fiduciary relationship is established, [the Bank] must then show the fairness of the transaction at issue.
If you determine from the evidence that the conduct of the defendant was a breach of this relationship between the parties, you should award as damages the value of whatever you may find him to have gained as a result of this wrong.
If you should further find that the defendant's conduct was willful and wanton, then you may consider in addition an award of punitive damages."
In this case, there was ample evidence from which the jury could have found the existence of a fiduciary duty in accordance with this instruction. The record showed that Ward was a farmer in his sixties whose mental health was in decline. Although he was capable of conducting his personal affairs, his accounting procedures were haphazard. He used what one Bank employee described as "shoe box record keeping." Ward had close and long-standing personal ties to the Bank and many of its key employees. Ward's father was formerly a member of the Bank's board of directors. He had known the Bank's president, Earl Chapin, for 30 years, both in business and socially. He had known the Bank's senior vice-president, David White, for the same length of time. White had worked with Ward's father at the Bank and regarded Ward as a personal friend. So close was the relationship that when Ward became embroiled in a custody dispute during his divorce from a previous wife, White offered Ward the Bank's financial assistance to help him keep custody of his son.
Expert testimony adduced by Ward showed that his financial situation deteriorated badly between 1979 and 1983, when the region suffered a serious drought. During this period, Ward came to rely more and more on the Bank to help him manage his financial affairs. Ward had only a ninth grade education, and he did not even prepare his own financial statements when he needed to borrow money. He relied on the Bank to do this for him. He evidently came to trust the Bank so much that he would sign the documents they prepared for him without even reading them. According to Tom Justison, the Bank officer who was most heavily involved with Ward beginning in 1983, Ward would simply glance at the documents and sign them. When the Bank suggested that Ward subscribe to an accounting service, he did so. When he became eligible for emergency drought relief loans from the Federal government, the Bank helped him get them.
Evidently, his friends at the Bank were the only ones to whom Ward confided the details of his finances. As his situation worsened, he met with representatives of the Bank incessantly. Justison denied that he ever told Ward how to operate his farm. He admitted, however, that he would give Ward his opinion on various matters when asked, and he was evidently asked a great deal. By Justison's own account, Ward met with him between 25 and 50 times a year between the years 1984 and 1988. As *626 all of this was happening, the Bank was fully aware of Ward's situation and his personal problems, and the extent of his dependency on the Bank was, or should have been, manifest. Yet, the Bank's representatives did nothing to distance themselves from Ward. They made no effort to keep him at arm's length when carrying out business dealings with him. Nor did they ever suggest that he might benefit from independent advice from some third party. Rather, they seemed entirely content for Ward to allow them to exercise their judgment on his behalf.
The trust and confidence Ward placed in the Bank allowed it to gain influence and superiority over him. In the end, he was willing to accept uncritically whatever requirements the Bank imposed so long as he was able to continue his farming operations. Under these circumstances, there was ample support for the jury's conclusion that a fiduciary relationship existed between the Bank and Ward. The Bank cites numerous authorities in an attempt to refute this conclusion, but in each case the facts are distinguishable from those present here.
In granting judgment notwithstanding the verdict in favor of the Bank on Ward's counterclaim, the circuit court held that even if the Bank did owe a fiduciary duty to Ward, "its conduct toward Ward does not begin to constitute a breach of that duty." This conclusion is also untenable. As the jury instruction quoted above indicates, once a fiduciary relationship between the Bank and Ward was established, the Bank was required to show "the fairness of the transaction at issue." This instruction encapsulated the general proposition that
"[w]here a fiduciary relationship exists at the time of a transaction whereby the dominant party appears to gain, the transaction is deemed presumptively fraudulent but such presumption is not conclusive and may be rebutted by clear and convincing proof that the dominant party has exercised good faith and had not betrayed the confidence reposed in him [citation]. The burden rests upon the dominant party to produce such evidence. In general, to overcome this presumption of fraud and undue influence, the dominant party must show: (1) full disclosure of all relevant information to the subservient party; (2) adequate consideration; (3) competent and independent advice to the principal before completing." Glass v. Burkett (1978), 64 Ill.App.3d 676, 681, 21 Ill.Dec. 494, 497, 381 N.E.2d 821, 824.
In this case, the disputed transaction involved the restructuring of Ward's debt to the Bank in 1984. Prior to this restructuring, Ward's financial situation had degenerated to the point that it no longer supported the amount of credit which had been extended to him by the Bank. The Bank examiners had begun to question the situation, and the Bank, which had previously and repeatedly noted in internal meetings that Ward might be in difficulty, ultimately concluded that it would not extend further credit to him. When Ward was advised of this decision, he became distraught. He recalled at one point breaking down in tears in his barn. He considered filing for bankruptcy but "didn't know who to go to or where to start it." Plaintiff's experts testified that filing bankruptcy was precisely what plaintiff Ward should have done. An independent advisor would have so recommended to Ward, but Justison admitted that he never suggested this as an option.
The jury could have found that the reason Justison did not suggest bankruptcy is that it would have left the Bank with a substantial loss. Not including a life insurance policy payable on Ward's death, the amount of Ward's debt exceeded the amount of security the Bank had by approximately $73,500. The Bank's solution was to obtain more collateral from Ward. The Bank already had a mortgage on 33 acres of pasture owned by Ward and on Ward's undivided one-third interest in an additional 99-acre tract. This original mortgage was cancelled, and a new one was issued on the same property to secure a $100,000 promissory note. The only other real estate Ward had an interest in was a 152-acre parcel of land which had previously *627 belonged to his father. Ward had only a life estate in that property. The remainder was to go to his children. The Bank agreed, however, that if the children would mortgage their interest in the property along with Ward, thereby providing them with an additional $100,000 in security, they would continue to finance Ward so that he could maintain his farming operations.
One of Ward's daughters, Barbara Terneus, apparently obtained legal counsel to advise her on the matter, and she refused to participate in the scheme. A second daughter, Mary Ann Dillon, did agree to sign the mortgage for her father. Before proceeding, Dillon discussed the matter with David White, the senior vice-president at the Bank. White would not tell her how much her father owed. Dillon did not believe that her father should be incurring additional debt, but White told her, "Come on, Mary Ann, all he needs is two good years." White told Dillon that the plan was sound and that she did not need to consult a lawyer. Dillon had previously worked for White's father, and she ultimately signed the mortgage because of her trust in White. She testified that she would not have done so had the request come from someone at the Bank she did not know.
Dillon spoke with her sister Sharon Lohman and endorsed the plan. Lohman testified that she was worried about signing the mortgage. She did not talk with anyone from the Bank before proceeding, and her father would not tell her why he wanted her to sign it. She recalled her conversation with Dillon and stated that Dillon had told her she had talked to David White, who had claimed that it was simply "paper work for the auditors." She also stated that Dillon had told her of White's assurance that "this won't come back on them." After this conversation, Lohman called White directly. Like Dillon, she trusted White. He told her that the mortgage "was just more or less paper work," and that it "wasn't anything to be worried about."
In reality, the evidence showed that this transaction was much more than a question of simple paper work. Ward could not possibly have resolved his debt problems after "only two good years," as White represented. In fact, the experts agreed that there was no reasonable chance that Ward could ever pay off his debts under the new financing plan. Although the Bank did permit Ward to continue his farming operations for several more years, his farming operations were basically doomed at the time the new plan was implemented. The only real beneficiary under the plan was the Bank. Its previous loss exposure of $73,000 was, after various adjustments were made and the new security was offered, converted to a situation where it had substantially more security than it needed to cover Ward's debt. According to one expert, the new plan was, for Ward's daughters, tantamount to a forfeiture of their interest in the 152-acre parcel.
Plaintiff, for his part, made substantial interest payments to the Bank in the years which followed, but he was unable to reduce the principal on either of the two $100,000 notes secured by the mortgages. By the time of trial, his indebtedness to the Bank totaled $248,614.96. By contrast, one of plaintiff's experts testified that had Ward not followed the Bank's plan and had instead filed for bankruptcy, as he should have, he would not only have avoided this debt but would actually have made several hundred thousand dollars. Overall, according to the expert, Ward may have been more than a half a million dollars better off. Under these circumstances, the jury could certainly have found that the Bank failed to sustain its burden of showing that the disputed transaction was fair. With respect to the issue of liability, the circuit court therefore erred in entering judgment notwithstanding the verdict in favor of the Bank on Ward's counterclaim.
In its lengthy order, the circuit court indicated that had the Bank not been entitled to judgment notwithstanding the verdict, it would at least have deserved a new trial on Ward's counterclaim. At no point in the judgment, however, did the court actually make a conditional grant of a new *628 trial in the event its judgment notwithstanding the verdict were reversed. Given the care and detail which the circuit court devoted to its judgment, we do not believe that this omission was inadvertent. Because the circuit court did not enter a such a conditional order for a new trial, the question of whether a new trial might have been warranted is not properly before us.
Even if we assumed that the circuit court's judgment could be construed as granting a conditional right to a new trial, that judgment could not stand. The standard of review on an appeal from a trial court's grant of a new trial is whether the trial court abused its discretion. (Bishop v. Baz (1991), 215 Ill.App.3d 976, 980, 159 Ill.Dec. 140, 144, 575 N.E.2d 947, 951.) In this case, the circuit court thought that a retrial would be necessary because Tom Justison, one of the Bank's employees, was improperly examined regarding an unrelated case in which he was accused of misconduct in the handling of a Bank customer's affairs. As it turns out, that case had been vacated, a fact which Ward's counsel overlooked. We do not believe, however, that counsel's error was any basis for a new trial. References to the vacated case were brief, and the Bank did not even raise a contemporaneous objection the first time that the case was mentioned. We note, moreover, that when it was eventually discovered that the judgment had been vacated, the court issued a strong admonition to the jury to disregard it. The record in this case is voluminous, and after having studied it carefully, we are at a loss to understand how this one incident could have had any real impact on the jury's verdict. The error was harmless and cannot serve as the predicate for a new trial.
In referring to the possibility of a new trial, the circuit court also opined that one of Ward's experts should not have been allowed to give her opinions as to Ward's damages. The circuit court's particular objections warrant no protracted discussion. We think it sufficient to say that those objections go to the weight of the expert's testimony and not to its admissibility. The Bank had ample opportunity to cross-examine the expert and availed itself of that opportunity. It was for the jury to consider the significance of the expert's opinions and the validity of her conclusions, and it made that decision. The court has no right to usurp the jury's decision simply because it would have decided the matter differently. Yet, that is precisely what would be happening if a new trial were granted here. No new trial should have been granted. The jury's verdict in favor of Ward on his counterclaim for breach of fiduciary duty must be reinstated.
Having concluded that the circuit court should not have set aside the jury's verdict in favor of Ward on his counterclaim for breach of fiduciary duty, we also find that the circuit court erred in entering judgment in favor of the Bank on its foreclosure action. As indicated at the outset of our discussion, Ward raised as an affirmative defense to the foreclosure the same breach of fiduciary duty which gave rise to his counterclaim. Specifically, Ward contended that the Bank's breach of fiduciary duty should estop it from attempting "to collect on any or all of its notes, mortgages or security agreements [with Ward]." Although we have found no Illinois authority directly on point, the parties have not disputed the validity of such a defense. Nor have they disputed that, if established, the defense would be complete. Both the promissory notes and the mortgages by which they were secured would be rendered unenforceable.
The questions of whether the Bank owed a fiduciary duty to Ward and whether that fiduciary duty was breached were thus common and fundamental to both the counterclaim and the affirmative defense. There is no dispute that the counterclaim was an action at law, while the foreclosure was equitable in nature. This did not, however, give the circuit court the right to make a finding on the question of breach of fiduciary duty independent of that made by the jury. Where, as here, legal and equitable proceedings are tried together, the jury's verdict governs factual issues common to them. In the Federal courts, this rule is compelled by the need to protect a litigant's right to a jury trial under the *629 seventh amendment to the United States Constitution (U.S. Const., amend. VII). (Williamson v. Handy Button Machine Co. (7th Cir.1987), 817 F.2d 1290, 1293-94.) Although the seventh amendment does not apply to State court proceedings (Hattaway v. McMillian (11th Cir.1990), 903 F.2d 1440, 1451 n. 16), our State has its own constitutional guarantee of the right of trial by jury (Ill. Const. 1970, art. I, § 13), and we believe that it compels the same conclusion. Accordingly, we believe that the circuit court erred when it disregarded the jury's verdict and proceeded to decide the fiduciary duty question independently. We must therefore also reverse the circuit court to the extent that it entered judgment in favor of the Bank on its complaint for foreclosure.
On the foreclosure claims, judgment shall be entered in favor of Ward. Because there can now be no foreclosure against Ward, Ward will not, of course, sustain any additional damages, such as attorney fees, on account of such a foreclosure. The factual predicate for the jury's award of an additional $300,000 during the second phase of its deliberations has been eliminated. Thus, while we are reinstating the jury's verdict in favor of Ward on his counterclaim, the amount of the judgment will be limited to the jury's initial determination of $248,614.96 in compensatory damages and $1 in punitive damages.
In its judgment, the circuit court opined that it would "be wholly unconscionable" to allow the jury's damage award to stand, while at the same time barring the Bank from foreclosing on its mortgages or otherwise collecting on its promissory notes. We disagree. Allowing Ward to keep his land, avoid the promissory notes, and recover damages would put him in a better position than he was in prior to the Bank's wrongful conduct. As we have previously indicated, however, had Ward declared bankruptcy as he should have, instead of throwing in more collateral and adding to his debt load, he would have been more than a half a million dollars better off than he was at the time of trial, taking into account both the money he would have earned and the debt he would have avoided. We note, moreover, that Ward ended up paying well over $100,000 in interest on his debt obligations, and that even after he receives his damage award and his property free from debt, he will still owe nearly $50,000 to the Federal government on the FmHA loan which was obtained in connection with the Bank's 1984 restructuring plan. In addition, there was evidence that the financial strain Ward experienced as a result of having to operate under a plan which was essentially unworkable contributed, at least in part, to the deterioration of his mental health, culminating in a suicide attempt.
For the foregoing reasons, the judgment of the circuit court of Montgomery County is reversed. Pursuant to our authority under Supreme Court Rule 366 (134 Ill.2d R.366), we hereby enter judgment in favor of Ward and against the Bank on the Bank's complaint for foreclosure. We reinstate the jury's verdict in favor of Ward and against the Bank on Ward's counterclaim for breach of fiduciary duty, and we enter judgment on that verdict in the amount of $248,614.96 in compensatory and $1 in punitive damages.
Before ending our discussion, there is one final administrative matter we must address. The Bank's original foreclosure action named Mary Ann Dillon and Sharon Lohman as defendants. The circuit court dismissed those defendants from the case. Thereafter, it dismissed separate counterclaims Lohman and Dillon had filed against the Bank. Lohman and Dillon originally appealed the dismissal of their counterclaims, but after joining in Ward's notice of appeal, they took no further steps to prosecute their appeals. They filed no briefs and did not appear at or even request oral argument. On the Bank's motion, their appeals are hereby dismissed.
Reversed; verdict reinstated, judgments entered; motion to dismiss appellants Mary Ann Dillon and Sharon Lohman granted.
RARICK and LEWIS, JJ., concur.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.