The in-vivo cardiovascular effects of a putative class III anti-arrhythmic drug, AM 92016.
AM 92016 (1-(4-methanesulphonamidophenoxy)- 3-(N-methyl-3-4-dichlorophenethylamino)-2-propanol benzoic acid salt), an oxypropanolamine analogue of sotalol, has been shown to possess Class III anti-arrhythmic properties in-vitro at concentrations showing 1000 times more potency than sotalol. The aim of this study was to characterize the effects of AM 92016 in-vivo. When administered to anaesthetized guinea-pigs, AM 92016 (10 micrograms kg-1 -5 mg kg-1) significantly increased heart rate, systolic arterial blood pressure, left ventricular systolic pressure and the contractile index dp dtmax. AM 92016 also significantly decreased the QT interval of the electrocardiogram from 135 +/- 10 to 105 +/- 4 ms (5 mg kg-1). The time to onset of the first arrhythmia and ventricular fibrillation, induced by intravenous infusion of ouabain, was shortened in the presence of AM 92016. Ouabain-induced ventricular fibrillation occurred at 18 +/- 5 and 12 +/- 3 min (P < 0.05) in control and AM 92016-(1 mg kg-1) treated guinea-pigs, respectively. An infusion of AM 92016 (2.5 micrograms kg-1 min-1) to anaesthetized pigs significantly increased the total number of arrhythmias occurring following coronary artery occlusion from 266 +/- 26 in control pigs to 535 +/- 148 (P < 0.05) in those receiving AM 92016. The time to onset of ventricular fibrillation was also significantly reduced in anaesthetized pigs from 24 +/- 1 to 18 +/- 3 min in the presence of AM 92016. The drug did not change haemodynamics in the anaesthetized pig. We conclude that AM 92016 exhibited proarrhythmic rather than antiarrhythmic activity when administered in-vivo to either guinea-pigs or pigs.


Category: Life

One day Buddha was walking through a village. A very angry and rude young man came up to him and began insulting him. “You have no right to be teaching others!!!” he shouted. “You are as stupid as everyone else.… Read More…

I went to stroll along the beach’s shores alone on a one fine day. I went there to enjoy the sunshine, to feel and smell the cool and salty wind breeze. It felt so good and liberating. I was like… Read More…

1. MULTI-TASKING Women’s brains are designed to concentrate on multiple tasks at a time. They can Watch TV, Talk over phone and cook at the same time. While Men’s brains are designed to concentrate only on one activity at… Read More…

The habit of meditation is one of the most powerful things I’ve ever learned. Amazingly, it’s also one of the most simple habits to do — you can do it anywhere, any time, and it will always have… Read More…

From: buddhanet.net What is Meditation? Meditation is a conscious effort to change how the mind works. The Pali word for meditation is ‘bhavana’ which means ‘to make grow’ or ‘to develop’. Is meditation important? Yes, it is. No matter… Read More…

An elderly carpenter was ready to retire. He told his employer-contractor of his plans to leave the house-building business to live a more leisurely life with his wife and enjoy his extended family. He would miss the paycheck… Read More…

“Reality is merely an illusion, albeit a very persistent one.” – Albert Einstein “Everything you see or hear or experience in any way at all is specific to you. You create a universe by perceiving it, so everything in the… Read More…

So many of us are trapped under the spell of time. Think of childhood fairy tales and what happens to the protagonist when cast under a spell. They are no longer themselves, become subservient, predictable and controllable. … Read More…

“Insanity is doing the same thing over and over again and expecting different results.” Albert Einstein Are you bringing last year’s baggage of frustration, confusion and dissatisfaction into the new year? Still feeling stuck as ever? Lost… Read More…

Isn’t it amazing that George Carlin – comedian of the 70′s and 80′s – could write something so very eloquent…and so very appropriate. A Message by George Carlin: The paradox of our time in history is that we… Read More…

Although the world today is only prioritizing the left brain nowadays, the right brain is actually underused, but equally (or more) amazing. Which one are you? I’m a mix of both. (Click image for larger view, then… Read More…


Fifty-three percent of Alabama Republican voters stated that the allegations are concerning, but other issues take precedent when deciding who they will cast their vote for.

According to The Hill, Moore has a six-point lead over Democrat Doug Jones, 49 percent to 43 percent, among voters expected to vote during the Dec. 12 election.

Advertisement - story continues below

Poll numbers also revealed that only 9 percent of Republican voters said they would cast their ballot for Jones.

However the race is still close as the contest is virtually even among all registered voters, and 12 percent of Republican voters stated that they could still change their minds before Dec. 12.

CBS News reported that 49 percent of Moore voters say their vote will be cast in support of President Donald Trump.

Trump backed Moore and slammed Jones in November, tweeting that Jones is a “puppet” who is “the last thing we need” in “the U.S. Senate.”

Advertisement - story continues below

The last thing we need in Alabama and the U.S. Senate is a Schumer/Pelosi puppet who is WEAK on Crime, WEAK on the Border, Bad for our Military and our great Vets, Bad for our 2nd Amendment, AND WANTS TO RAISES TAXES TO THE SKY. Jones would be a disaster!

“The last thing we need in Alabama and the U.S. Senate is a Schumer/Pelosi puppet who is WEAK on Crime, WEAK on the Border, Bad for our Military and our great Vets, Bad for our 2nd Amendment, AND WANTS TO RAISES TAXES TO THE SKY. Jones would be a disaster!” Trump wrote.

The poll comes at a critical time for Moore and Jones, as the two are less than two weeks away from learning who will be elected to represent Alabama in the Senate. The results are especially critical for Moore, who has found himself embroiled in a multitude of sexual misconduct allegations over the past month.

In November, The Washington Post released a story where a woman named Leigh Corfman alleged that Moore had sexually abused her when she was 14-years-old, and he was 32. The report also alleged that Moore had engaged in promiscuous acts with girls ranging from ages 16 to 18.

Advertisement - story continues below

Then, another accuser named Beverly Young Nelson, alleged that Moore initiated sexual contact with her when she was 17 and Moore was 30.

Nelson alleged that Moore had offered to give her a ride home from the Olde Hickory House restaurant in Gadsden, Alabama, in 1977. However, Moore allegedly parked his car behind a dumpster and groped Nelson, according to a report from The Birmingham News. In November, Nelson displayed a yearbook she claims Moore signed as evidence of her supposed relationship with him.


Suppression of integrin alphaupsilonbeta6 by RNA interference in colon cancer cells inhibits extracellular matrix degradation through the MAPK pathway.
Integrin alphaupsilonbeta6 plays a very important role in the progression of colon cancer cells and is now defined as a novel, independent prognostic indicator for aggressive colon cancer in humans. Herein, we use the RNA interfering technology to downregulate the expression of alphaupsilonbeta6 in colon cancer cells. Our data demonstrate that plasmid vector based shRNA can effectively down-regulate alphaupsilonbeta6 expression in protein and mRNA levels. Supression of integrin alphaupsilonbeta6 inhibits the phosphorylation and nonphosphorylation level of ERK1/2, the secretion of uPA, pro-MMP-9 and pro-MMP-2 in tumor conditioned medium, and more important, inhibits MAPK-dependent [(3)H] labeled collagen IV degradation via the plasminogen activation cascade. Our study demonstrates in vitro that supression of integrin alphaupsilonbeta6 inhibits extracellular matrix degradation through the MAPK pathway.


"Let it be one cheerful rational voice amidst the din of mourners and polemics." Ralph Waldo Emerson, 1840.
A Brit-in-Helsinki's blog about global politics, climbing, cycling, things that annoy me and other bits of life. But not necessarily in that order.

Wednesday, July 08, 2009

British humour on Finnish posters?

The posters have gone up for "Brüno - the movie" in Helsinki. I read on Twitter yesterday that my favourite movie reviewer, Dr. Kermode, is refusing to see it on the basis of the poster alone. I'm not sure if it is the same one as this, but probably as I can see his point. Anyways; I was just wondering about the cultural resonance of "Achtung!" in Finland. Finns seems to get British humour very well - for older Finns when they say the British and Finnish sense of humour is very similar they normally base this on one thing: Benny Hill. Looking at some classic Finnish comedy movies, I can kind of see how they would get to that conclusion. But many younger Finns seems to greatly enjoy what I think of as British humour - be that Peep Show, The Office, League of Gentlemen, Smack the Pony, or The Thick Of It - all of which have been or currently are on Finnish TV, along with older classics from Black Adder to Monty Python.

But doesn't the "Achtung!" on the Brüno poster rely on British comics and war movies of the 70s and earlier for its comic value? For Brits of at least my (and Baron-Cohen's) age, if not younger, the word "Achtung" can only be followed with one other, and that is "Spitfire" - U2's best efforts not withstanding. Finns have their own war comics that still seem to be selling well today (and that could be the subject of a whole other post...), but I don't thinks the baddies in them would be yelling "Achtung Spitfire!".

Perhaps Brüno is reclaiming the comedy value of "Achtung!" in this Europeanised era for the whole of the continent? Brüno, we salute you - a potential contender for European of the year perhaps.


Heavy Rains Lash Ahmedabad: PICS

A man tries to right his motorcycle after it skidded in a flooded street after heavy rains in the western Indian city of Ahmedabad September 25, 2013. REUTERS/Amit Dave (INDIA - Tags: ENVIRONMENT TRANSPORT)

Indians clean blocked sewerage line to drain out flooded water from a road after heavy rains lashed, in Ahmedabad, India, Wednesday, Sept. 25, 2013. Massive flooding has forced 15,000 people to evacuate villages in the west Indian state of Gujarat where heavy rains and swollen rivers have inundated cities and closed off roads and railway lines. (AP Photo/Ajit Solanki)

A herd of goats wade through a flooded street after heavy rains in the western Indian city of Ahmedabad September 25, 2013. REUTERS/Amit Dave (INDIA - Tags: ENVIRONMENT ANIMALS)

An Indian man sits on a stone bench as motorists drive past a flooded street after heavy rains in Ahmedabad, India, Wednesday, Sept. 25, 2013. Massive flooding has forced 15,000 people to evacuate villages in the west Indian state of Gujarat where heavy rains and swollen rivers have inundated cities and closed off roads and railway lines. (AP Photo/Ajit Solanki)

A man wades through a flooded street after heavy rains in the western Indian city of Ahmedabad September 25, 2013. REUTERS/Amit Dave (INDIA - Tags: ENVIRONMENT)

A family travels in a bullock cart through a flooded street after heavy rains in the western Indian city of Ahmedabad September 25, 2013. REUTERS/Amit Dave (INDIA - Tags: ENVIRONMENT ANIMALS)

An Indian man pushes his bike through a flooded road after heavy rains in Ahmedabad, India, Wednesday, Sept. 25, 2013. Massive flooding has forced 15,000 people to evacuate villages in the west Indian state of Gujarat where heavy rains and swollen rivers have inundated cities and closed off roads and railway lines. (AP Photo/Ajit Solanki)

Indian mourners carry a body during a funeral procession as they wade through a flooded street in Vadodara, some 110 kms from Ahmedabad on September 24, 2013 .Over 10,000 persons have been evacuated and shifted to safer places in south Gujarat region after facing flooding following heavy rainfall.

Buses stand stranded as people wade through a flooded road after heavy rains in Ahmedabad, India, Wednesday, Sept. 25, 2013. Massive flooding has forced 15,000 people to evacuate villages in the west Indian state of Gujarat where heavy rains and swollen rivers have inundated cities and closed off roads and railway lines. (AP Photo/Ajit Solanki)

An Indian motorist tries to balance himself as a bus drives past him on a flooded road after heavy rains in Ahmedabad, India, Wednesday, Sept. 25, 2013. Massive flooding has forced 15,000 people to evacuate villages in the west Indian state of Gujarat where heavy rains and swollen rivers have inundated cities and closed off roads and railway lines. (AP Photo/Ajit Solanki)

A man transports his dog on a rickshaw through a flooded street after heavy rains in the western Indian city of Ahmedabad September 25, 2013. REUTERS/Amit Dave (INDIA - Tags: ENVIRONMENT ANIMALS)

A woman sits on a bed inside her flooded room after heavy rains in the western Indian city of Ahmedabad September 25, 2013. REUTERS/Amit Dave (INDIA - Tags: ENVIRONMENT TPX IMAGES OF THE DAY)


Bollywood director Siddharth Anand on meeting the high expectations of the "Rambo" franchise and why it could be a "career-finishing" film.

The Indian remake of “Rambo” doesn’t start shooting until next February, but director Siddharth Anand has already earned something every filmmaker in his shoes would want: a vote of confidence from the original Rambo.

First Look at ‘Rambo’ Poster: Indian Remake Coming in 2018

“I actually get excited in my heart whenever young artists get a rare opportunity to reach for the stars!” Sylvester Stallone wrote in an Instagram post on Saturday, referring to the 27-year-old Bollywood actor Tiger Shroff who will play the titular character. “I am sure you will put all of your heart and soul into it.” Stallone also tweeted the recently unveiled poster for the movie and wished the filmmakers good luck, adding “I like the energy of Bollywood.”

Shroff is an actor and martial arts expert whose credits include the recent Bollywood action films “Heropanti,” “Baaghi,” and “A Flying Jatt.”

Based on 1982’s “First Blood,” the first film of the “Rambo” franchise, the remake will follow the last surviving member of an elite covert unit of the Indian Armed forces who returns home to discover a war waging in his own land. Forced into the dangerous jungles and frozen mountains of the Himalayas, he unleashes mayhem and destruction, becoming the unstoppable machine he was trained to be.

IndieWire spoke with Anand on Sunday in advance of the official announcement at Cannes for the film.

Why is now a good time to remake “Rambo”?

I think “Rambo” is timeless. It’s always the right time, because we’re living in a society that’s really volatile anyway, so it gets more and more relevant.

How did you feel when you saw Sylvester Stallone’s tweet about the movie?

I’m happy to have Sylvester Stallone’s blessing. The fact that he tweeted the poster — that’s very important to me and Tiger and the production team, because he is someone we look up to and that audiences in India look up to.

What impact did the original “Rambo” films have on you?

I was very young, but my earliest memories of “Rambo” were of a man who can take on an army. When I watched “First Blood” again, I realized the angst of the character and the emotional baggage that he carries. You associate “Rambo” with action and blood and gore, but I think it’s an emotional film. There’s a lot of heart and angst in him.

How are you going to make this film your own?

I would give credit to the story of the film, which is too early to divulge… I’m looking at the action as a garnish. If you’re using a brand like “Rambo,” the action better be spectacular, but what else are you going to give the audience apart from that? It’s the emotion, the character, and the story, so I’m aiming to make that the high point. The character should leave you thinking, so that is my aim with “Rambo,” apart from giving you action that we are all expecting.

Your first time directing an action film was “Bang Bang,” the 2014 Indian remake of “Knight and Day.” What did you learn from that experience?

I had directed romantic comedies up until then. When I was offered the remake of “Knight and Day,” I was a little stupefied as to why they would choose me for it, but it just seems like it was foresight on their part because I’ve taken to the action genre like a fish takes to water. I think the vision that I try and bring to the genre in India is different. There’s a different outlook to action in India, and what I try and bring is a little more style and scale… But I would also like to do a film like “Silver Linings Playbook,” and try to adapt it. It’s a great idea because it’s a human story which resonates across countries and audiences. But to take up an action film and give it depth is a challenge.

How hard was it to cast the lead role?

Tiger’s casting was a no-brainer. He’s found a niche for himself and there’s no one like him in India, in terms of the action that he can do and the persona that he has. He’s stuck to this genre and tried to basically make it fun, and he’s successfully done that. He’s capable of a lot more than what we have seen of him, so I see a lot of potential in him… I want “Rambo” to reach out to every filmgoing audience and country in the world and Tiger to be synonymous with “Rambo” from here on. It’s a huge challenge, but it’s something that we’re really excited for.

What else do you think is going to be challenging about the remake?

Reactions are [going to be] so polarized because the character is so iconic and much loved. People wouldn’t want it to be messed around with, so my challenge is not the action really, but the fact that I have to live up to people’s expectations of the legacy of “Rambo.” I need them to connect with the character in the film. They need to love the character as much as they loved the original character, otherwise it’s a career-finishing film.

READ MORE: Cannes 2017: 9 Hot Acquisition Titles That Will Have Buyers Chasing Foreign Films

Is remaking “Rambo” in the age of Donald Trump significant to you?

I think that will be more relevant in the sequel. In this film he is just fighting the system, so probably in a couple of years it might be more relevant.

Stay on top of the latest breaking film and TV news! Sign up for our Email Newsletter here.


378 F.Supp. 1213 (1974)
Mary Lou BAXTER, on her own behalf and on behalf of her four minor children; and on behalf of all others similarly situated, Plaintiffs,
v.
Steven A. MINTER, Commissioner of the Massachusetts Department of Public Welfare, et al., Defendants.
Civ. A. No. 74-79-T.
United States District Court, D. Massachusetts.
July 19, 1974.
*1214 Charles R. Capace, R. Peter Anderson, Boston, Mass., Mass. Law Reform Institute, for plaintiffs.
Danielle DeBenedictis, Nicholas Arenella, Asst. Attys. Gen., Boston, Mass., for defendants.

*1215 OPINION
TAURO, District Judge.
The plaintiff[1] brings this civil rights action and a pendent Supremacy Clause claim against two state officials and the Department of Public Welfare, requesting that this court declare invalid certain of the defendants' eligibility requirements for the Emergency Assistance Program (EA), and that defendants be enjoined from enforcing such requirements.
Jurisdiction is pursuant to 28 U.S.C. § 1331 and 28 U.S.C. § 1343. The plaintiff challenges the defendants' eligibility requirements as being violative of the Equal Protection and Supremacy Clauses of the United States Constitution.
EA is an aid program intended to offer, on a short term basis, financial and other assistance to families facing a crisis. The plaintiff contends that all persons eligible under broad federal requirements should be eligible for this relief. The Commonwealth, on the other hand, seeks to restrict EA eligibility to those persons who receive, or could receive upon application, either Aid to Families with Dependent Children (AFDC) or General Relief (GR).

Facts
On or about November 2, 1973, the plaintiff applied for EA at the Chelsea Welfare Service Office in order to pay a two month rent arrearage and a back oil bill. Her husband has a weekly income of $105.00, but this money is consumed by living expenses and monthly loan payments. The husband's poor health forces him to miss work occasionally, with a resultant decrease in take home pay.
The Chelsea Welfare Service Office refused the plaintiff any EA payments on the grounds that the family is not eligible for Aid to Families with Dependent Children (AFDC) or General Relief (GR) because her family income was above the AFDC and GR standards of need.
At the time of hearing on plaintiff's request for a temporary restraining order, she faced eviction for nonpayment of rent, and her heating fuel tank was almost empty. By agreement of counsel, no decision was rendered by the court with respect to the TRO, and arrangements were made by the defendants to provide the plaintiff with a tank of fuel. The latter was done without prejudice to the legal positions now proferred by the defendants.

Class Action
The plaintiff sued on her own behalf, on behalf of her four minor children, and on behalf of all others similarly situated. The Complaint alleges that a class of persons does exist which would qualify under Federal Rule 23. The plaintiff did not move for a hearing to certify the class, but rather agreed to a merged hearing on a preliminary injunction and the merits based on an agreed statement of facts. The plaintiff did not press for formal certification of the class, nor did she seek discovery to assist her in establishing the existence of a class. See, e. g., Yaffee v. Powers, 454 F.2d 1362 (1 Cir. 1972).
The plaintiff must do more than to merely allege the existence of a class in her Complaint. She bears the burden of establishing that her action satisfies the requirements of Rule 23. Rossin v. Southern Union Gas Co., 472 F.2d 707, 712 (10 Cir. 1973); Demarco v. Edens, 390 F.2d 836 (2 Cir. 1968); Glodgett v. Betit, 368 F.Supp. 211, 214 (D.Vt.1973).
The court, therefore, must determine from the Stipulation of Facts and Documents whether plaintiff has shown sufficient facts to warrant the certification of a class. The only reference in the stipulated facts that could possibly be considered as a definition of a class *1216 is as follows: "According to the Department of Community Affairs satistics there are approximately 78,849 families with children in Massachusetts who earn less than $7000 gross per year but receive no financial assistance from the AFDC or GR programs."
There is no evidence that any members of the alleged statistical family group ever applied for EA, or that any or all of them would be eligible for EA but for the defendants' challenged regulations.
On the basis of the existing record, therefore, the court determines that the plaintiff has failed to adequately identify a class, or demonstrate that the composition of the asserted class is so vast as to make joinder impracticable. Fed.R.Civ. P. 23(a)(1). The request for designation of a class is denied. See Glodgett v. Betit, 368 F.Supp. 211 (D.Vt.1973). McAdory v. Scientific Research Instruments, Inc., 355 F.Supp. 468 (D.Md. 1973).

Jurisdiction
Plaintiff pleads federal question jurisdiction, which requires that more than $10,000 exclusive of interest and costs be in controversy. 28 U.S.C. § 1331. Mindful that the plaintiff and her family can be eligible for Emergency Assistance only 30 days out of every year, 42 U.S.C. § 606(e),[2] the court cannot find that the present discounted value of future payments and indirect loss of property rights exceeds $10,000.[3] See Randall v. Goldmark, 495 F.2d 356 (1 Cir. 1974).
Plaintiff alternatively asserts jurisdiction for the § 1983 claim pursuant to 28 U.S.C. § 1343. As stated, the plaintiff not only raises an equal protection claim respecting defendants' eligibility standards, but also presents a pendent federal statutory claim which may be dispositive of the case. See Shea v. Vialpando, 416 U.S. 251, 94 S.Ct. 1746, 40 L.Ed.2d 120 (1974). Faced with such a pendent statutory claim, the court has, as a threshold issue, the question of whether plaintiff has pleaded a substantial equal protection claim; i. e., whether or not previous decisions inescapably render the plaintiff's claim frivolous. Hagans v. Lavine, 415 U.S. 528, 94 S.Ct. 1372, 39 L.Ed.2d 577 (1974).
Plaintiff maintains that defendants' practice creates two classes of needy families,[4] and that the distinction between *1217 the two groups is "irrational in light of the purposes of 42 U.S.C. § 606(e), all in violation of the Equal Protection Clause of the Fourteenth Amendment." Complaint, p. 6. Cf. U. S. D. A. v. Moreno, 413 U.S. 528, 93 S.Ct. 2821, 37 L.Ed.2d 796 (1973). Plaintiff's contentions and the defendants' eligibility standards are to be judged by the standard of review set forth in Dandridge v. Williams:
In the area of economics and social welfare, a State does not violate the Equal Protection Clause merely because the classifications made by its laws are imperfect. If the classification has some "reasonable basis," it does not offend the Constitution simply because the classification "is not made with mathematical nicety or because in practice it results in some inequality."
397 U.S. 471, 485, 90 S.Ct. 1153, 1161, 25 L.Ed.2d 491 (1970) (citations omitted).
It is clear that the purpose of EA, 42 U.S.C. § 606(e), is to provide emergency aid for up to thirty (30) days to families with needy children who would otherwise face destitution. What is not clear is just what constitutes "need" or "destitution" in terms of the statutory mandate. Unfortunately, the legislative history is of little assistance as a guide to the intent of Congress with respect to these terms.[5]
The Department of Health, Education and Welfare (HEW) is the implementing agency for EA. HEW regulations grant discretion to the States with respect to the setting of eligibility standards. EA is closely related to AFDC, another HEW program. It is clear that with respect to AFDC the States "are given broad discretion in determining both the standard of need and the level of benefits." Shea v. Vialpando, 416 U. S. 251, 253, 94 S.Ct. 1746, 1750, 40 L. Ed.2d 120 (1974). The question presents itself as to whether or not States have the same broad discretion in setting standards of need and levels of payment in their implementation of EA.
Given the latitude that States have in setting AFDC need and payment levels, and the similarity in purpose and scope of the EA and AFDC legislation, the court has no choice but to find that the States must be afforded the same latitude in setting EA need and payment standards.
Dandridge, therefore, forecloses any serious equal protection claim when the court faces a statutory scheme as similar to AFDC as the present one. When a poverty line is drawn, someone is bound to be left out. While there may be legitimate disagreement as to where that line should be drawn, it cannot be said that the Commonwealth had no rational basis for utilizing the same standard of need that it already had adopted for the AFDC program. The Commonwealth made a public policy determination whose purpose was to ensure that available public assistance funds reached those with the greatest need. Cf. Jefferson v. Hackney, 406 U.S. 535, 549, 92 S.Ct. 1724, 32 L.Ed.2d 285 (1972).
While the court notes that the Supreme Court set a very low standard of substantiality for jurisdictional purposes, Hagans v. Lavine, 415 U.S. 528, 94 S.Ct. 1372, 39 L.Ed.2d 577 (1974), the First Circuit has a restrictive view of the Hagans case which we are bound to follow. See Randall v. Goldmark, 495 F.2d 356 (1 Cir. 1974).
The court, therefore, finds the plaintiff's equal protection claim to be insubstantial.

Statutory Claim
Even assuming the plaintiff's equal protection contentions are sufficient for jurisdictional purposes, the court finds no merit in plaintiff's pendent statutory claim.
The plaintiff claims that she meets the federal requirements of EA. The defendants say the plaintiff is ineligible *1218 and, in doing so, maintain that they are following eligibility guidelines suggested by HEW. Defendants claim further that the applicable HEW regulation allows the States to set their own eligibility standards, including the standard of need.
As stated, EA is intended to provide aid to needy families with children, in order to avoid destitution. 42 U.S.C. § 606(e). The terms "needy" and "destitution" were not defined by Congress and so no explicit statutory standard is available for guidance. A court can infer, therefore, that Congress used general terms in the statute when describing the poverty line of eligibility because it intended the States to supply their own precise standard of need. Such an inference is supported as well by other methods of statutory construction, including an analysis of relevant legislative history.[6]
That portion of legislative history most favorable to the plaintiff's view reads as follows:
The families do not have to be receiving, or eligible upon application to receive, AFDC (although they are generally of the same type), but they must be without any available resources and the payment or service must be necessary in order to meet an immediate need that would not otherwise be met.
S.Rep.No.744, 90th Cong., 1st Sess., 1967 Cong. & Admin.News p. 3003.
The plaintiff argues that this language indicates a Congressional intent to establish a federal standard of need at least above the AFDC level. The court determines, however, that the legislative history reflects Congressional intent that EA eligibility requirements be broader than those of AFDC,[7] regardless of where a State sets its standard of need, implicitly preserving to the States discretion with respect to EA standards of need that King recognized in the AFDC legislation. The view is shared by various legal writers who have considered the subject. Weiss, Emergency Assistance Under the AFDC Program, 4 Clearinghouse Law Review 120, 123 (1970); A. LaFrance, et al. Law of the Poor 296 (1973).[8]
The plaintiff extrapolates from comments made during floor debate on the bill in the Senate,[9] and a section of the Senate Report,[10] an intent by Congress *1219 that EA be used to aid families above the poverty line of eligibility for welfare programs in order to keep them off the regular welfare rolls. Clearly, the legislative history does demonstrate an intent to afford prompt aid to victims of sudden disasters.[11] But equally apparent is that this legislative response was prompted not by a concern for those ineligible for welfare, but rather out of concern for the eligible person who was not receiving aid, only because of the inordinate amount of time it sometimes takes for that first assistance check to reach the intended recipient.[12] Adens v. Sailer, 312 F.Supp. 923, 927 (E.D.Pa. 1970); see also Copeland v. Saucier, 475 F.2d 1127, 1129 n. 1 (5 Cir. 1973).
In a situation where the statute and its legislative history offer so little guidance, the interpretation of the federal agency responsible for administering EA carries great weight. See N.Y. Dept. of Social Services v. Dublino, 413 U.S. 405, 421, 93 S.Ct. 2507, 37 L.Ed.2d 688 (1973). At oral argument, defendants' counsel represented that HEW recommended to the Commonwealth that it employ the AFDC and GR eligibility standards in determining EA eligibility.
HEW regulations require the States to specify eligibility standards in their plans:
(a) Requirements for State Plans.

A State plan under Title IV, Part A, of the Social Security Act, providing for emergency assistance to needy families with children must:
(1) Specify the eligibility conditions imposed for the receipt of emergency assistance. These conditions may be more liberal than those applicable to other parts of the plan. (See paragraph (b)(1) of this section for scope of Federal financial participation.)
45 C.F.R. § 233.120(a)(1). Plaintiff maintains that the HEW regulation language ". . . [the] conditions may be more liberal than those applicable to other parts of the plan," 45 C.F.R. § 233.120(a)(1), is nothing more than a gratuitous observation by HEW that an individual State's EA requirements may well be more liberal than those employed in its other welfare programs. The defendants, on the other hand, construe this language to mean that a State could make EA eligibility standards more liberal than other State programs if it chose to do so. In other words, the defendants construe this language to be an implicit reaffirmation of the State's prerogative to set its own standard of need.
The defendants' interpretation is the more reasonable one. In addition, the *1220 defendants' interpretation is compatible with their representation that HEW recommended that Massachusetts utilize AFDC and GR eligibility standards in implementing its EA program:
"[T]he construction of a statute by those charged with its execution should be followed unless there are compelling indications that it is wrong . . . ." Red Lion Broadcasting Co. v. FCC, 395 U.S. 367, 381, 89 S.Ct. 1794, 1802, 23 L.Ed.2d 371 (1969); Dandridge v. Williams, 397 U.S. at 481-82, 90 S.Ct. 1153.
N. Y. Dept. of Social Services v. Dublino, 413 U.S. 405, 421, 93 S.Ct. 2507, 37 L.Ed. 2d 688 (1973).
Further, the defendants' view is supported by cases construing the AFDC law. Such cases are relevant to any examination of EA due to the close relationship between the two programs. Reference to the interpretation given analogous statutory provisions is another accepted method of statutory construction. Sutherland, Statutes and Statutory Construction § 51.01 (Sands 4 ed. 1973).
Both AFDC and EA are designed to aid needy families with children under a certain age. The enabling legislation for EA is in fact found in the AFDC definitions section of the United States Code, 42 U.S.C. § 606. The term "emergency assistance to needy families with children" is defined by reference to the more detailed definition sections of the AFDC law. See 42 U.S.C. § 606(e); 42 U.S.C. § 606(a)(1).
The Supreme Court has taken two sharply divergent approaches in reviewing state eligibility requirements for the AFDC program. First, there are the cases construing AFDC eligibility requirements having nothing to do with standards of need or levels of payment. See Carver v. Hooker, 369 F.Supp. 204, 208 n. 14, 210-11 (D.N.H.1973). In such cases:
[A]t least in the absence of congressional authorization for the exclusion clearly evidenced from the Social Security Act or its legislative history, a state eligibility standard that excludes persons eligible for assistance under federal AFDC standards violates the Social Security Act and is therefore invalid under the Supremacy Clause.
Townsend v. Swank, 404 U.S. 282, 286, 92 S.Ct. 502, 505, 30 L.Ed.2d 448 (1971).
When the issue involves standard of need or level of payment, however, the Court has consistently recognized that the States have a wide berth:
There is no question that States have considerable latitude in allocating their AFDC resources, since each State is free to set its own standard of need and to determine the level of benefits by the amount of funds it devotes to the program.
King v. Smith, 392 U.S. 309, 318-19, 88 S.Ct. 2128, 2134, 20 L.Ed.2d 1118 (1968). The Supreme Court's ruling is based on explicit statements contained in the legislative history of the Social Security Act of 1935. Id. at 318 n. 14, 88 S.Ct. 2128.
Many cases set forth the proposition that there is no federal mandate in the areas of standard of need or level of payment. See Jefferson v. Hackney, 406 U.S. 535, 92 S.Ct. 1724, 32 L.Ed.2d 285 (1972); Rosado v. Wyman, 397 U.S. 397, 90 S.Ct. 1207, 25 L.Ed.2d 442 (1970); Dandridge v. Williams, 397 U.S. 471, 90 S.Ct. 1153, 25 L.Ed.2d 491 (1970); see also Shea v. Vialpando, 416 U.S. 251, 94 S.Ct. 1746, 40 L.Ed.2d 120 (1974); N. Y. Dept. of Social Services v. Dublino, 413 U.S. 405, 93 S.Ct. 2507, 37 L.Ed.2d 688 (1972). Nothing in the EA legislation or its legislative history indicates an intent on the part of Congress to distinguish EA from the AFDC "scheme of cooperative federalism" King v. Smith, 392 U.S. 309, 316, 88 S.Ct. 2128, 20 L.Ed. 2d 1118 (1968).
Accordingly, the court finds no conflict between state and federal law and thus no violation of the Supremacy Clause.
So ordered.
NOTES
[1]  The court will for the sake of simplicity refer to Mary Lou Baxter as the individual plaintiff. In addition, she sues on behalf of her four minor children and as representative of an alleged class.
[2]  term `emergency assistance to needy families with children' means any of the following, furnished for a period not in excess of 30 days in any 12-month period, in the case of a needy child under the age of 21 who is (or, within such period as may be specified by the Secretary, has been) living with any of the relatives specified in subsection (a)(1) of this section in a place of residence maintained by one or more of such relatives as his or their own home, but only where such child is without available resources, the payments, care, or services involved are necessary to avoid destitution of such child or to provide living arrangements in a home for such child, and such destitution or need for living arrangements did not arise because such child or relative refused without good cause to accept employment or training for employment"
42 U.S.C. § 606(e).
[3]  Cases where the court considered a common interest of the class when discussing the $10,000 requirement, Bass v. Rockefeller, 331 F.Supp. 945 (S.D.N.Y.), complaint dismissed as moot, 464 F.2d 1300 (2 Cir. 1971); New Jersey Welfare Rights Organization v. Cahill, 483 F.2d 723, 725 n. 2 (3 Cir. 1973); United Low Income, Inc. v. Fisher, 470 F.2d 1074, 1075 n. 1 (1 Cir. 1972) are not apposite in light of the denial of class certification.
[4]  The plaintiff insists that the defendants' practice of granting aid to some but not all persons eligible under federal criteria creates two classes of needy families with children. "First, there are those AFDC or GR families and those eligible upon application who are faced with an emergency and have no available resources to prevent destitution. This class of families receives Emergency Assistance from the defendants in accordance with State Letter 241. Secondly, there are those other needy families with children not presently receiving AFDC or GR and not eligible upon application who likewise face an emergency and have no available resources to prevent destitution." (Plaintiff's Memorandum in Support of Temporary Restraining Order p. 12).

The latter category is denied eligibility for EA aid by the defendants.
[5]  See discussion of legislative history in text, infra, p. 1218.
[6]  When a statute's terms do not satisfactorily reveal the law's meaning a court can turn to relevant legislative history for possible guidance. United States v. Donruss Co., 393 U.S. 297, 303, 89 S.Ct. 501, 21 L.Ed.2d 495 (1969).
[7]  A child is not required to be presently living with close relatives in order for the family to receive EA, as the child often must be if the family is to receive AFDC benefits. See 42 U.S.C. § 606(a). Families otherwise ineligible for AFDC are presently eligible for EA.

In Massachusetts, for example, those families eligible for General Relief are eligible for Emergency Assistance whether or not they are eligible for AFDC. State Letter 241.
[8]  See Purnell v. Edelman, 365 F.Supp. 499 (N.D.Ill.1973), which stands for the proposition that States have discretion in establishing what constitutes "destitution," but, once that standard is set, those eligible must be provided with relief "forthwith."
[9]  Mr. President, I should like to refer to another new provision in this measure. For the first time, the Federal Government will match money for emergency assistance. This has not been in the law before. For a period of 30 days, emergency assistance can be paid in cases where they cannot meet other qualifications. Many of the States have asked for this provision, and it is one that should be looked at by those who say they will reject this bill because it is not liberal. It would do many of the things for which States, welfare directors, and others have been asking for a long time.
113 Cong.Rec. 36319 (1967) (remarks of Senator Curtis).
[10]  SummaryThe committee recognizes that the bill would require the States to take on new and expensive tasks. Yet, if the job is to be doneif the number of families on AFDC is to be kept to the minimumthese new activities must begin in earnest. The Federal Government, which is the main financial support for the program, must be assured that the States carry out the intent of the Congress when taking on the new and expanded functions which will be required of them.
The bill provides adequate Federal financial support for these expended functions. It is estimated that by July 1, 1972, a cumulative 5-year total of $2,735 million will have been spent by the Federal Government on these functions. At the same time it is estimated that the new provisions will mean that fewer children will be receiving aid in that year than if the law were continued in its present form.
S.Rep.No.744, 90th Cong., 1st Sess., 1967 Cong. & Admin.News pp. 3003-04.
[11]  with emergency trouble will be able to receive emergency assistance in whatever form it is best for them at their time of need. Families which have been burned out, suffered personal tragedies, and such will be able to get money, medical care, shelter provided, food sent in, or whatever else is needed to deal with the crisis. The committees are to be commended for adding this provision, thus, recognizing that emergencies which strike families cannot be delt [sic] with by business-as-usual methods.
113 Cong.Rec. 36925 (1967) (Remarks of Senator Mansfield).
[12]  The reference to a reduction in welfare rolls in the Senate Report is at least equally referable to the new work incentive program added in the same group of amendments to the Social Security Act. See S.Rep.No.744, 90th Cong., 1st Sess., 1967 Cong. & Admin. News p. 2983.


Video shows rescuers lifting dog onto helicopter

I am always amazed by what our local search and rescue crews are capable of.

On Monday, the Snohomish County Helicopter Rescue Team and Everett Mountain Rescue rescued two hikers and a dog in the Trout Creek area near Skykomish.

This video shows the crew lifting up the dog in a specialized dog harness. The dog was, logically, muzzled so it didn’t bite the rescuers. Wise move. I can’t imagine any dog would like being lifted through the air like that.

Talk to us

You can tell us about news and ask us about our journalism by emailing newstips@heraldnet.com or by calling 425-339-3428.

If you have an opinion you wish to share for publication, send a letter to the editor to letters@heraldnet.com or by regular mail to The Daily Herald, Letters, P.O. Box 930, Everett, WA 98206.


<?xml version="1.0" encoding="UTF-8"?>
<Scheme
   LastUpgradeVersion = "1130"
   version = "1.3">
   <BuildAction
      parallelizeBuildables = "YES"
      buildImplicitDependencies = "YES">
      <BuildActionEntries>
         <BuildActionEntry
            buildForTesting = "YES"
            buildForRunning = "YES"
            buildForProfiling = "YES"
            buildForArchiving = "YES"
            buildForAnalyzing = "YES">
            <BuildableReference
               BuildableIdentifier = "primary"
               BlueprintIdentifier = "5D4019AE1A76EC350006B0C2"
               BuildableName = "SDL Example.app"
               BlueprintName = "SmartDeviceLink-Example-ObjC"
               ReferencedContainer = "container:SmartDeviceLink-iOS.xcodeproj">
            </BuildableReference>
         </BuildActionEntry>
      </BuildActionEntries>
   </BuildAction>
   <TestAction
      buildConfiguration = "Debug"
      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
      shouldUseLaunchSchemeArgsEnv = "YES">
      <Testables>
      </Testables>
   </TestAction>
   <LaunchAction
      buildConfiguration = "Debug"
      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
      launchStyle = "0"
      useCustomWorkingDirectory = "NO"
      ignoresPersistentStateOnLaunch = "NO"
      debugDocumentVersioning = "YES"
      debugServiceExtension = "internal"
      allowLocationSimulation = "YES">
      <BuildableProductRunnable
         runnableDebuggingMode = "0">
         <BuildableReference
            BuildableIdentifier = "primary"
            BlueprintIdentifier = "5D4019AE1A76EC350006B0C2"
            BuildableName = "SDL Example.app"
            BlueprintName = "SmartDeviceLink-Example-ObjC"
            ReferencedContainer = "container:SmartDeviceLink-iOS.xcodeproj">
         </BuildableReference>
      </BuildableProductRunnable>
   </LaunchAction>
   <ProfileAction
      buildConfiguration = "Release"
      shouldUseLaunchSchemeArgsEnv = "YES"
      savedToolIdentifier = ""
      useCustomWorkingDirectory = "NO"
      debugDocumentVersioning = "YES">
      <BuildableProductRunnable
         runnableDebuggingMode = "0">
         <BuildableReference
            BuildableIdentifier = "primary"
            BlueprintIdentifier = "5D4019AE1A76EC350006B0C2"
            BuildableName = "SDL Example.app"
            BlueprintName = "SmartDeviceLink-Example-ObjC"
            ReferencedContainer = "container:SmartDeviceLink-iOS.xcodeproj">
         </BuildableReference>
      </BuildableProductRunnable>
   </ProfileAction>
   <AnalyzeAction
      buildConfiguration = "Debug">
   </AnalyzeAction>
   <ArchiveAction
      buildConfiguration = "Release"
      revealArchiveInOrganizer = "YES">
   </ArchiveAction>
</Scheme>


This invention relates to a method and means for recording sweat gland activity which provides a dermatoglyph or pictorial representation which is directly proportional to the amount of sweat exuded by the glands. In more detail, the present invention provides a convenient and inexpensive system for producing dermatoglyphs having excellent contrast, clarity and skin pore resolution by effecting a starch-iodine reaction complex on a sensitized substrate.
In the field of clinical testing, the recordation of sweat gland activity has been proposed to quantitatively and qualitatively measure the amount of sweat exuded by the glands. The results of such recordation provide a valuable diagnostic tool which aids in the determination of pathological conditions in the body and in detection of various diseases. See for example, "Dermatoglyphics of Congenital Abnormalities Without Chromosomal Aberrations," Shiono, H. and Kadowaki, J., Clinical Pediatrics, 14:1003-1013, 1975, and "The Value of Ninhydrine Perspiration Test According to Moberg for the Diagnosis of Retroperitoneal Lymph-Node Malignomas", Kruger, H. and Luning, M., Rad.Diagn. 4:609-614. Other diverse applications for dermatoglyphs include their use in the fields of personal identification and forensic science.
The procedures carried out in analysis of dermatoglyphs are well known and do not form part of the present invention. However, there are numerous problems encountered by technicians in connection with the obtaining of dermatoglyphs which afford a clear, resolute and permanent record of the skin surface, pore structure and sweat gland activity. Some prior attempts have been made to produce such recordations, however, these prior attempts involve the use of potentially harmful or toxic chemicals, produce temporary discoloration of the skin surface to be recorded or are slow and time-consuming to administer. Further, because of a low level of sensitivity, some of the prior attempts require the subject to be exposed to a relatively high temperature environment or require physical exertion of the subject to induce an abnormal level of perspiration.
The present invention overcomes the foregoing deficiencies of the prior attempts related to recordation and provides an improved method and means for recording sweat gland activity which achieves an accurate and clear pictorial representation of sweat gland activity.


Analysis of environmental pollution by radiofrequency radiation from teleradiocommunication devices.
The environmental radiofrequency radiation pollution, including microwaves, generated by teleradiocommunication devices is particularly great where there exists a concentration of such apparatus. The wide-band field detectors commonly used for environmental protection surveys do not make it possible to discern the contributions of the individual emitters at a given point. It is possible to obtain this result theoretically by using only a personal computer, and by using the characteristics of the emitter and of surrounding territory as inputs. For this purpose, a basic program has been prepared. An analysis of this type, besides being an effective tool for the planning of environmental pollution abatement, provides the necessary information for forecasting field levels produced as a consequence of the installation of new repeaters. This data provides indispensable information for issuing installation licenses by the competent authorities. This article concludes with a comparison between the theoretical results and those detected experimentally in one specific case.


Q:

Scrapy Extract Values of tags

I am handling a json request that has a div as a value.
Now I want to get only the values of data-content-value

and store them in 'dates' 'id' 'price' and I can't figure out a way to do this.
Is there an easy way?

A:

In [2]: from scrapy.selector import Selector

In [3]: text = """
"""

In [4]: sel = Selector(text=text)

In [5]: data_string = sel.xpath('//li/@data-content-value').extract_first()

In [6]: import json

In [7]: json.loads(data_string)
Out[7]:
{'c_price_from': 33415,
 'd_end': '2017-04-17',
 'd_start': '2017-04-12',
 'nd_price_discount': 0,
 'nl_hotel_id': [49316],
 'nl_term_id': 100800962,
 'nl_tour_id': 1017864}

First, get the string of the attribute, then use json.loads() convert it to python dict.
This url will return a json response, we should loads all response to json and select the info we need:
In [11]: fetch('https://dovolena.invia.cz/direct/tour_search/ajax-next-boxes/?nl
...: _country_id%5B0%5D=28&nl_locality_id%5B0%5D=19&d_start_from=23.01.2017&
...: d_end_to=19.04.2017&nl_transportation_id%5B0%5D=3&sort=nl_sell&page=1&g
...: etOptionsCount=true&base_url=https%3A%2F%2Fdovolena.invia.cz%2F')

In [12]: j = json.loads(response.text)
In [15]: j['boxes_html']  # this will renturn the html in json file.
In [15]: from scrapy.selector import Selector

In [16]: sel = Selector(text=j['boxes_html'])  # loads html to selector

In [17]: datas = sel.xpath('//li/@data-content-value').extract() # return all data in a list
In [21]: [json.loads(d) for d in datas]  # loads text to value
          |---dict-----|
# this will return a list of dict which generated by json.loads(d), and you can use json.loads(d)['d_end'] to access it's element.

out:
[{'c_price_from': 15690,
  'd_end': '2017-04-16',
  'd_start': '2017-04-09',
  'nd_price_discount': 27,
  'nl_hotel_id': [24810],
  'nl_term_id': 93902083,
  'nl_tour_id': 839597},
 {'c_price_from': 27371,
  'd_end': '2017-04-17',
  'd_start': '2017-04-12',
  'nd_price_discount': 4,
  'nl_hotel_id': [49316],
  'nl_term_id': 100804770,
  'nl_tour_id': 1017864},
 {'c_price_from': 32175,
  'd_end': '2017-04-17',
  'd_start': '2017-04-12',
  'nd_price_discount': 4,
  'nl_hotel_id': [49316],
  'nl_term_id': 100800962,
  'nl_tour_id': 1017864},


Q:

Styling dropdown forms

I want to style a dropdown form so that it appears completely differently to an OS driven form. This is notoriously a problem to make the form behave well cross browser and I'm yet to find a good solution.
I've tried this script: http://www.devirtuoso.com/2009/08/styling-drop-down-boxes-with-jquery/ which works fine for dropdown forms which have a small number of selectable items however it starts to break down cross-browser when a scroll bar is required to allow the user to navigate to the data item they desire.
My dropdown has 250 such values so I'm left with a broken front-end. The mouse wheel can be used to navigate fine, but the form instantly disappears if the user selects the up ↑ or down ↓ OS buttons to navigate up and down the list.
Has anyone be able to crack custom styling dropdowns? Is there a workaround? Maybe a different script is in order?

A:

You're looking for a technical solution, which doesn't belong here. That belongs on stackoverflow. I will, however, address the usability issue you present here. A dropdown with 250 items is virtually unmanageable. You should really consider somehow handling this differently. A taller select box is one option, but maybe some sort of search or autocomplete is better, where the user can type in their choice. As long as you validate what they enter when the form is submitted, that should work fine.


[Prophylactic use of ampicillin and sulbactam in colonic surgery].
The purpose of the work was an evaluation of the effectiveness of ampicillin and sulbactam administered parenterally in the prophylaxis of infections in patients after colonic surgery. The group of patients treated with ampicillin and sulbactam was compared with the control group in which penicillin, gentamicin and metronidazole were given prophylactically. Surgical wound infections were found in the group receiving ampicillin and sulbactam in 20% of cases, and in the control group in 13.3% of patients. This difference was not statistically significant (p > 0.05). In both groups infections of all perineal wounds were observed after abdominoperineal operations. No allergic reactions nor side effects were found in the group treated with ampicillin and sulbactam. Prophylactic administration of ampicillin and sulbactam in colonic surgery is similar in its effectiveness to prophylactic administration of penicillin, gentamicin and metronidazole.


Q:

Have to scroll table view to enable didSelectRowAtIndexPath

I am facing a very strange bug and have no idea what is going on. Basically the behavior is: I have to scroll my table view in order that the didSelectRowAtIndexPath event is being sent. It does not matter how ofter I try to select a row - didSelectRowAtIndexPath is not been sent. But after I scroll the table view (just a little bit is enough) then the next click on a cell works and didSelectRowAtIndexPath is sent.

A:

Meanwhile I have found the bug. I searched thru the GIT history for the first commit where the error occurs. By comparing the version I found out that I called 'tableView.reloadData()' on a background thread instead of the main thread. This created this very strange behavior.


Well my window faces the office inside and doesnt open have 1 hanging modern light fixture about 2 feet down, 1 fan level with my window, a ledge to walk over to my area. Im about 215 and about 10 feet up.

Pretty hopped up on redbull and espresso this may just happen. Most likely will get fired oh well, its there fault for supplying the redbull and espresso

Well my window faces the office inside and doesnt open have 1 hanging modern light fixture about 2 feet down, 1 fan level with my window, a ledge to walk over to my area. Im about 215 and about 10 feet up.

So you'll have approximately .33 seconds (1/3 of a second) to make any of your moves happen. this is based on acceleration in a vacuum, not accounting for wind resistance or anything. lets call it half a second. now go practice some moves, time them and you'll have your answer

Quote:

Originally Posted by Bimmer84

It is currently 43 and raining, with snow expected thursday and friday, so I can't wait for the weather change.

I dont think I could handle that weather.

Quote:

Originally Posted by KwlAznKid

nice, that's pretty cool. now i just realized i came off real stalker lol, i just got excited to see a local on the forums

Just a bit, I'm used to being stalked though! crazy ex gf I have noticed a lot of Irvine folks on the forum but no Irvine meets. I think we should get one going.

So you'll have approximately .33 seconds (1/3 of a second) to make any of your moves happen. this is based on acceleration in a vacuum, not accounting for wind resistance or anything. lets call it half a second. now go practice some moves, time them and you'll have your answer

I dont think I could handle that weather.

Just a bit, I'm used to being stalked though! crazy ex gf I have noticed a lot of Irvine folks on the forum but no Irvine meets. I think we should get one going.


Q:

Is throwing an exception from a property bad form?

I've always been of the mindset that properties (ie, their set/get operations) should be fast/immediate and failure-free. You should never have to try/catch around getting or setting a property.
But I'm looking at some ways to apply role-based security on the properties of some objects. For instance an Employee.Salary property. Some of the solutions I've run across that others have tried (one in particular is the AOP example here) involve throwing an exception if the accessor doesn't have the right permissions - but this goes against a personal rule that I've had for a long time now.
So I ask: am I wrong? Have things changed? Has it been accepted that properties should be able to throw exceptions?

A:

when you set the value of a property, throwing an exception on an invalid value is fine
getting the value of a property should (almost) never throw an exception
for role-based access, use different/dumber interfaces or facades; don't let people see things they can't have!

A:

I consider it to mostly be bad form but even Microsoft recommends using exceptions sometimes.
A good example is the abstract property Stream.Length. As guidelines go I would be more concerned with avoiding side effects on getters and limiting side effects on setters.

A:

I would definitely argue that there is a flaw in the design if you feel the need to throw exceptions from a property setter or getter.
A property is an abstraction that represents something that is just a value. And you should be able to set a value without fearing that doing so could throw an exception.*
If setting the property results in a side effect, that that should really be implemented as a method instead. And if it doesn't produce any side effects, then no exception should be thrown.
One example already mentioned in a different answer is the Stream.Position property. This does produce side effects, and may throw exceptions. But this property setter is basically just a wrapper around Stream.Seek that you could call instead.
Personally, I believe that the position should not have been a writeable property.
Another example where you could be tempted to throw an exception from a property setter is in the validation of data:
public class User {
    public string Email {
        get { return _email; }
        set {
            if (!IsValidEmail(value)) throw InvalidEmailException(value);
            _email = value;
        }
    }

But there is a better solution to this problem. Introduce a type representing a valid email address:
public class Email {
    public Email(string value) {
        if (!IsValidEmail(value)) throw new InvalidEmailException(value);
        ...
    }
    ...
}

public class User {
    public Email Email { get; set; }
}

The Email class ensures that it cannot hold a value that is not a valid email address, and classes that need to store emails are relieved of the duty of validating them.
This also leads to higher cohesion (an indicator of good software design) - the knowledge about what an email address is, and how it is validated, exists only in the Email class, which has only that concern.
* ObjectDisposedException is the only valid exception (no pun intended) I can think of at the moment.


May 18, 2016; Baltimore, MD, USA; Baltimore Orioles outfielder Adam Jones (10) blows a bubble in the outfield in the ninth inning against the Seattle Mariners at Oriole Park at Camden Yards. The Baltimore Orioles won 5-2. Mandatory Credit: Evan Habeeb-USA TODAY Sports

Baltimore Orioles center fielder Adam Jones is a four-time Gold Glove winner, but he had a rough year in the field last season. He’s now playing deeper in the hopes that it will improve his fielding.

Baltimore Orioles center fielder Adam Jones has won four Gold Gloves, so it would make sense to think he knows what he’s doing out there already. But if you look at his defensive metrics from last season, things were pretty rough.

Without a doubt, last season was one of the worst season Jones has had in center field during his career. His Ultimate Zone Rating (UZR) was a career-worst -10.1, his range rating was a quite low -10.3, and his defensive runs saved (DRS) was at -10, a four-year low.

Jones and the Orioles organization is quite aware of this, and even these stats specifically, as they’ve talked to Jones about it, and recommended he start playing deeper in center field to remedy the problem.

Jones doesn’t totally buy all the data, but he’ll do anything for a win, as he said:

“Data tells you a story, and if you want it to tell you that story, it’ll tell you that story. I can 100 percent combat their claims and all that stuff, but then I’d be throwing people under the bus and that’s not my style. I just said, ‘All right, whatever can make this team better, whatever I can do to help, I don’t care.’ I’ll sacrifice anything in this game besides my decency and my spirit to win a game. That’s one thing about me, I’ve always been a guy who will do anything just for that ‘W’ that night. That’s how I am right now.”

Jones has been making the adjustment so far this season. According to MLB Statcast, Jones has been lining up an average of 17 feet deeper in center field this season than he did last season.

Playing deeper is something that has worked for other center fielders in the majors, including Dexter Fowler, whose defensive metrics have been trending noticeably upwards over the past few years.

Want your voice heard? Join the The Baltimore Wire team! Write for us!

During his 2014 season with the Houston Astros, Fowler had a -21.8 UZR and -20 defensive runs saved. In 2015, the UZR rose to -1.7 and the defensive runs saved rose to -12. The 2016 season saw even more improvements, as Fowler’s UZR rose to 1.0 and his defensive runs saved rose to one.

Jones is starting to learn what all these defensive metrics mean, and it’s making sense for him, as he said:

“I think they were able to break down the numbers and let me know what certain balls, if they landed — I finally got to understand what defensive runs saved is. But say you allow a double. From a double, it only takes one single to score. If you play back, you take away the doubles and they don’t mind if you allow three singles for them to score. I’m not the brightest person in the world, but I understand that logic. It takes away a little bit of my feel, but I still add my feel.”

We’ll see as the year goes on if this adjustment for Jones turns things back around for him, as having that Gold Glove-caliber play in center field is a major boost for the Baltimore Orioles.


Development of cell-based tuberculosis vaccines: genetically modified dendritic cell vaccine is a much more potent activator of CD4 and CD8 T cells than peptide- or protein-loaded counterparts.
Genetically modified dendritic cell (DC)-based vaccines have not been explored for immunization against tuberculosis. A gene-modified DC vaccine expressing Mycobacterium tuberculosis (M.tb) antigen 85A (Ag85A) was developed by using a recombinant replication-deficient adenoviral gene transfer vector (AdAg85A). AdAg85A-transduced DC vaccine (AdAg85/DC) expressed higher levels of IL-12 and was much more immunogenic than Ag85 protein-loaded (pro/DC) or CD4/CD8 T cell peptide-loaded (pep/DC) DC vaccines. Compared to pro/DC or pep/DC, AdAg85/DC elicited a remarkably higher level of ex vivo IFN-gamma production by CD4 and CD8 T cells at weeks 2, 6, and 12 postimmunization, which was coupled with higher frequencies of antigen-specific T cells. By an in vivo CD8 or CD4 T cell cytotoxicity (CTL) assay, AdAg85/DC was shown to provoke much higher and more sustained levels of CD8 and CD4 CTL activity up to 12 weeks postimmunization. Intramuscular (im) AdAg85/DC immunization was more potent than the iv route of AdAg85/DC immunization. Such stronger immunogenicity of im AdAg85/DC vaccination was corroborated with better protection from M.tb challenge. Our results thus suggest that genetically modified DC-based TB vaccine is superior to subunit DC vaccines and has the potential for therapeutic applications.


VIDEO: Reggie Hannah Starred at UF, Legendary at Titusville Where His Jersey Number Is Retired

By Alan Zlotorzynski, Assistant Editor // July 16, 2017

SPACE COAST SPORTS HALL OF FAME

SPACE COAST DAILY TV: Under Titusville coach Kirk Stewart’s guidance, Reggie Hannah would arguably become the greatest basketball player to ever dribble a ball on a Brevard County court, leading the Terriers to two state basketball appearances in the mid-1970s. Hannah started immediately at UF and averaged double-digit points and nearly nine rebounds a game in his first two years. His junior season was even more impressive as he averaged 17 points a game. Hannah will be inducted into the Space Coast Sports Hall of Fame on May 12. CLICK HERE for tickets.

2017 COLLEGE INDUCTEE

TITUSVILLE, UF GREAT

BREVARD COUNTY, FLORIDA – Former Titusville Terrier, Florida Gator and professional basketball great Reggie Hannah’s around-the-world story begins and ends in Titusville.

He grew up without a father in the tough part of Titusville where not having a positive male role model can be a detriment to a young man in search of guidance.

Under Terrier coach Kirk Stewart’s guidance, Hannah would arguably become the greatest basketball player to ever dribble a ball on a Brevard County court, leading the Terriers to two state basketball appearances in the mid-1970s.

Hannah averaged an amazing 24 points per game, once dropping 53 in a contest for the Terriers. But it was his play above the rim that separated him from everyone else.

He is the all-time leading rebounder in Terrier history collecting 1,533 of them, good for nearly 18 boards per contest.

Hannah was recruited by all of the great basketball schools, but being a new father, he decided to stay close to home and attended the University of Florida where he would play for John Lotz.

Hannah started immediately at UF and averaged double-digit points and nearly nine rebounds a game in his first two years. His junior season was even more impressive as he averaged 17 points a game.

After Lotz was fired, Hannah transferred to South Alabama in hopes of playing for a winner and increasing his NBA draft stock.

Following his final year of college basketball, Hannah became the first pick in round four of the NBA draft by the Cleveland Cavaliers. Due to financial constrains on the Cavaliers that precluded Hannah playing in Cleveland, he decided to continue his career in Europe where he was able to realize his dream of playing professional basketball.

He was able to live the dream and according to one story told played pickup ball with Marvin Gaye, hung out with Tennis player Bjorn Borg and kicked it backstage with Prince at the famous Cafe Opera in Stockholm.

Hannah won titles and awards during his tenure overseas and he also, just as he had done back here in the in the states, won people’s hearts.

He was one of the most popular players on the European continent.

FINDING SALVATION

Hannah returned home to Titusville but, like many successful athletes in their prime, didn’t prepare for the future without the game. He fell in with the wrong crowd and spent much of his post basketball life battling the legal system and the demons of addiction.

Hannah would eventually find peace and salvation in his life, but not before he overcame his self-described shame, and reached out for help to his life-long best friend, mentor and the closest man he ever had to a father – former Terrier coach Stewart.

He continued to rebuild his life, getting to once again know his “first born,” as he called her, his daughter La Tasha Hannah. Hannah has seven children in all, and while his goal was to get to know them all again, time ran out on him as he passed away of pancreatic cancer in October 2015.

This outstanding athlete’s story of success, failure and redemption is an all too familiar one in the world of sports, but the man that Reggie Hannah was is what separates him.

THE LEGEND: UNFORGETTABLE ON AND OFF THE COURT

Part of the journey to be a Hall of Famer in anything one does is having so many great stories to tell. But rarely does a Hall of Famer come along that has so many great stories told about them.

Hannah touched so many people. Upon his death, a newspaper story about Hannah was written in the Netherlands by a sports columnist that idolized him when he was a kid growing up watching basketball.

A Facebook page was created where now over 500 people have joined to tell their stories about the former round ball legend

on the court, his play left you wanting to see him play again and again, off the court, you just wanted to be around him.

His orange and blue casket leaves no doubt Hannah will always by a UF man, the Facebook page allows you an opportunity to know he was a good man and let there be no doubt that Reggie Hannah is one of the greatest basketball players to ever grace the hardwood courts of Brevard County, so congratulations Reggie Hannah on your induction, you are indeed a legend “The Legend.”

CLICK HERE to see all the members of the Space Coast Sports Hall of Fame.

THE 2017 SPACE COAST SPORTS HALL OF FAME Banquet and Induction Ceremony will take place at the Cocoa Beach Country Club on Friday, May 12.

FOR INFORMATION ABOUT the 2017 SPACE COAST SPORTS HALL OF FAME, call 321-615-8111 or e-mail Contact@SpaceCoastDaily.com

Space Coast Sports Hall of Fame Class of 2017 Announced, Induction Ceremony Set May 12

BREVARD COUNTY, FLORIDA – The Space Coast Sports Hall of Fame selection committee announced Thursday an impressive array of outstanding individuals to be inducted into the 2017 Class of the Hall of Fame.

Dozens of nominees were considered for the 2017 class in four categories including professional sports, college sports, high school sports and amateur sports.

Special honorary recognition will also be bestowed upon individuals and teams that have made significant contributions to sports on the Space Coast.

Space Coast Daily created the Space Coast Sports Hall of Fame in 2012, and has so far inducted more than 100 of Brevard County’s most outstanding athletes, coaches and sports personalities.

Serving on the committee are Space Coast Daily President & Publisher Tom Palermo, Vice President Giles Malone, Editor-in-Chief Dr. Jim Palermo, Managing Editor Zach Clark, Assistant Editor Alan Zlotorzynski, local youth sports advocate and promoter Mike Cadore, Friday Night Locker Room Founders Steve Wilson and Orville Susong, former Health First COO Larry Garrison, Cocoa Beach City Manager Jim McKnight and AAU Vice President Rusty Buchanan.

“The list of inductees for 2017 induction include athletes and coaches everybody knows – and some that may have been forgotten with the passing of time,” said Tom Palermo.

INDUCTION GALA & SPORTS AWARDS SET FOR MAY 12

The 2017 Space Coast Sports Hall of Fame Induction Banquet and Sports Awards will be held Friday, May 12 at the Cocoa Beach County Club.

The festivities include a meet and greet with the area’s sports royalty, dinner and the induction proceeding which includes compelling video tributes of each of the inductees.

The 2017 Space Coast Sports Hall of Fame induction event, and the 2017 High School Breakfast of Champions recognition awards, are sponsored by Community Credit Union, First Choice Medical Group, SOAR, Clear Choice Health Care, BioCellular Therapies, Savings Safari, Spectrum Sports, Friday Night Locker Room, Dr. Sangiv Patel, Dr. Mark Pinsky and Rock Paper Simple..

FOR INFORMATION about the Space Coast Sports Hall of Fame, or to make a reservation, e-mail Contact@SpaceCoastDaily.com or call 321-615-8111.

SPACE COAST DAILY TV: Tim Wakefield talks about his induction into the first class of the Space Coast Sports Hall of Fame.

SPACE COAST SPORTS HALL OF FAME CLASS OF 2017

• PROFESSIONAL CATEGORY INDUCTEES: Joe Kohlbrand, Football; and Cory Philpot, Football

• COLLEGE CATEGORY INDUCTEES: Jason Arnold, Baseball; Michael Coffey, Bowling; Reggie Hannah, Basketball; Paige Kearns, Swimming; and Charles Wilson, Football.

• PREP CATEGORY INDUCTEES: Kristen Gordon, Softball; Ray Herring, Jr. Football; Katie Jackson, Soccer; and Hunter Pingston, Football.

• AMATEUR/REC CATEGORY INDUCTEES: Richard Chapman, Little League; Todd Erickson, Softball; Al Genchi, Youth Soccer; and David Kilgore, Running.

• COACHING CATEGORY INDUCTEES: Skip Arrich, Soccer; Tom Dooley, Baseball; Chuck Keener, Tennis; Steve Lamontagne, Golf; and Mike Soliven, Basketball.

• SPORTS DEVELOPMENT INDUCTEES: Jeff Carr, Eastern Florida State College; and Steve Englehart, Florida Tech.

• LIFETIME ACHIEVEMENT INDUCTEES: Linda Anderson, Athletic Director; and Les Stafford, Volunteer

• SPORTS OFFICIALS INDUCTEES: Neely Dunn and Bob Walton.

• SPORTS JOURNALISM INDUCTEES: Hillard Grossman.

• SPORTS AMBASSADOR AWARD INDUCTEE : Gary Gregory, PAL Boxing.

• CHALLENGER AWARDS INDUCTEES: Brevard Special Olympics – Coach Cindy Dropeski, Athlete Chuck Conway and Volunteer Kathi Madden.

• TEAM OF THE YEAR: Cocoa High School 2016 Football State Champions.

• SPECIAL TRIBUTE: Jim Grimes, Basketball, Eastern Florida State College

CLICK HERE TO SEE THE MEMBERS OF THE SPACE COAST SPORTS HALL OF FAME


React is the uber popular JavaScript library that is almost everywhere you look these days. Learning React opens up a whole new way to build front-end experiences like websites, mobile apps, and more.

Much has changed since React came out and now is a great time to jump into the React fray. React is mature and has been used across the web in places like Facebook, Instagram, Airbnb, Uber, and much much more. Let's dive in!

For those that want a video walkthrough so you can see every step of the way, check out our React Starter Video!

React is a UI library built by Facebook. React gives us the ability to logically think about our frontend sites and apps.

It’s also a really fun and quick way to build the projects we dream up! Even the site you’re on, scotch.io is built with React.

React allows us to build apps that:

Can be made quickly

Are easy to understand

Allow us to logically see the flow of data

Scale well with small and large teams

Transfer knowledge from desktop to mobile apps

React lets us build out our interactive UIs declaratively. One of its greatest abilities is the way it can update our UIs automatically and efficiently whenever our data changes.

Imagine changing a JavaScript variable and immediately seeing it change on your site. Like magic!

In this React Starter, we’ll go through all the bells and whistles of React. We’ll build apps and learn many real-world techniques. This Starter is for anyone that wants to learn React from scratch in a neat and linear path. Follow along and you’ll gain all the React knowledge needed to start building in React.

Building React applications requires very little base knowledge. This is one of its big benefits! It’s very easy to get up and running with React if you’re coming from an HTML/CSS/JS background.

I would recommend having:

Note that in a future article, we’ll go over prerequisite knowledge more in-depth. For this first starter article, let’s just start seeing how we can work in React; then we can take a step back and look further at prerequisites.

There are many many ways to use React in our projects. This is one of the main benefits of React. It isn’t too opinionated about how you should use it. The two main ways to use React are:

Add React to an already-existing website (this is the approach scotch.io uses)

Use React to build a full single-page-app (SPA)

Many parts of scotch.io are built using React.

We’ll go over the many ways to use React in following articles. To get us up and running quickly in this article, we’ll be using CodePen. CodePen is an online coding playground where you can very easily play around with HTML/CSS/JS right in your browser. We’ll be using this for our first Starter article since we don’t want to dive into all the installation details just yet.

Give the next few articles a look to see all the ways React can be used including the CLI, create-react-app.

Setting Up a CodePen

I’ve gone ahead and created a starter CodePen for us to use for this article.

React Starter CodePen

Once you open up this CodePen, you’ll be greeted with a page like this:

Note: Your editor boxes may be on the top or the side. I like mine on the left side. You can change this with the Change View button.

Steps to Create this Starter CodePen

For clarity, I want to let you know everything that went into making this React Starter CodePen. It was 3 quick steps (2 if you don’t count the “Create a CodePen” step):

Create a new CodePen Add the react and react-dom scripts (hit the settings icon in the JS editor) Change the JS processor to Babel since we’ll be using ES6 code and Babel transpiles our code to ES5.

The main core of React is found in the react.js script while the things needed to work with React in a browser are in react-dom.js . These were split apart because React can be used in more places than just the browser. See React Native for an example.

That’s it! That’s how we created this starter CodePen. Your JS settings popup should look like this:

Let’s move forward and start working with React.

How Does React Work?

React works by taking over an HTML div and injecting JavaScript into it. React will inject all of the awesome cool JavaScript into this section of our site.

Adding an HTML div

We need to create an HTML div and then we can start working with React. In the HTML panel, create a div called root or app . Naming it root or app is standard across the React landscape since this is the main div where our React app will take place.

In the HTML section of our CodePen, add:

< div id = " root " > </ div >

That’s all we need in HTML!

React Elements

Now that we have a div we can target, let’s start writing our JavaScript and our first piece of React code (finally!)

Feel free to collapse the HTML/CSS editors since we won’t need them anymore.

Let’s use React to inject some data into our website.

In the JavaScript section, write the following:

ReactDOM . render ( < h1 > I AM HERE ! < / h1 > , document . getElementById ( 'root' ) ) ;

By including the react.js and react-dom.js scripts, we now have access to the JavaScript objects of React and ReactDOM .

ReactDOM.render() takes two parameters:

The element (or component as we’ll see soon)

The HTML element where React will inject things

Data in React

Now this app isn’t too useful since you’re not always going to have a site that says I AM HERE.

Let’s grab some data and see how we can add it to our React app.

In JavaScript, let’s create a variable called message and display that:

const message = 'i am here to save the day!' ;

Now we can display that in our ReactDOM.render :

const message = 'i am here to save the day!' ; ReactDOM . render ( < h1 > my message is : { message } < / h1 > , document . getElementById ( 'root' ) ) ;

We now have this:

Here’s the completed demo for you to take a look at:

We’ve made a React element and shown that in our site now. Moving forward, we’re going to be making React components. Components are a React tool that are made up of elements like <h1> , <div> , and more.

Components are the building blocks of sites and apps.

What exactly is a component?

In the simplest terms, a component is comprised of:

a template (HTML)

interactivity (JavaScript)

styles (CSS)

By organizing our sites and apps into components, we are able to work with our UI as separate parts. React makes creating components as easy as creating a JavaScript function.

If you look at scotch.io, you can think of the following as components:

site header

site footer

left sidebar

main content article title article content

By having many components, we can piece together components to make any number of site pages and combinations. Websites and apps are combinations of components. Give Facebook, Google, or Twitter a look and see if you can point out the components on those sites.

Let’s move forward and start creating React components. It’s super easy!

Now you may be wondering how the last example is useful. We have a variable here and have displayed it using React.

Why couldn’t we just do that with HTML?

While this is a simple example, the truth of today’s websites and applications is that data comes from not just the app itself, but from various sources. You could pull data from:

your own database

your own API

a 3rd party API like the Facebook/Google/Twitter APIs

data stored in browser storage like localStorage

Managing data from those multiple sources can be tough without a UI library like React. Another big benefit to React is that once we have our data from those sources, we can automagically have the UI updated without any extra code from us. We’ll see exactly what this means soon.

Automatically update our UI whenever data changes. Building dynamic sites is good UI/UX.

If we wanted to update our UI in just plain HTML, we would have to reload the page. That leads to a bad user experience for our users. Imagine if Facebook or Twitter had to update every time new data came in!

Creating the React Component

Let’s remove the message variable we made earlier and create a React component using a JavaScript class. Here’s our component:

function App ( ) { }

This syntax may look familiar to you. That’s because it’s just a plain old JavaScript function!

Creating React components is as simple as creating a JavaScript function.

Note: React style conventions state that components should be PascalCase. If you had a component that you want to call site header, then the component would be named SiteHeader .

We’ve created our first React component, but it doesn’t do anything just yet. Like we stated earlier, we are going to have our components a combination of JavaScript and a template. In React, templates are written using JSX.

We’ll cover JSX in more detail in a following article. JSX is a syntax extension to JavaScript, but for this tutorial, just think of JSX as “HTML inside of JavaScript.”

A Note About JSX

JSX is the templating language that React uses and it can be a little bit of a learning curve to many people trying to learn React.

JSX isn’t that scary. People just aren’t used to seeing the syntax after coming from HTML.

I am a firm believer that writing JSX will make you a better JavaScript developer.

We’re not going to go too far in depth with JSX in this article; JSX deserves its own articles coming up. My recommendation to you if you are wary of JSX is to give it a chance. Hold any judgment until we’ve built a few things and you’ll see it’s not as scary as you may have thought.

Adding a Template to our Component

Back to our component, let’s add a template.

Components are great conceptually because tying JavaScript to a specific template makes code far more readable and easier to manage, especially in large codebases.

Since this function is a component, where do we put our JavaScript and where do we put our template? In React functional components, we will return our template out of the function:

function App ( ) { return ( ) ; }

Now that we know where our template goes, let’s add an <h1> :

function App ( ) { return ( < h1 > im in a fancy component now ! < / h1 > ) ; }

Now that we have this component, we need to tell React to use it.

In React, when you create a component, you will be able to use them as if they were HTML tags in React.

For instance, we created this App , now we can use it in React as <App /> . Notice that it has a closing forward-slash. When using React components, we need to use some kind of closing tag.

< App / > < App > < / App >

Back in our ReactDOM.render() , let’s use it:

function App ( ) { return ( < h1 > im in a fancy component now ! < / h1 > ) ; } ReactDOM . render ( < App / > , document . getElementById ( 'root' ) ) ;

One of the benefits of component based design is that we can keep our code DRY (dont-repeat-yourself). We could even reuse this <App /> component multiple times

ReactDOM . render ( < div > < App / > < App / > < App / > < / div > , document . getElementById ( 'root' ) ) ;

Note: React always wants only 1 parent element when defining a template. This is why we wrapped everything in a single <div> .

Components are very powerful tools that we can use to build out our websites and apps. Component architecture is everywhere you look in web development these days, whether you’re looking at web components, React, Vue, Angular, and many other frameworks, components are logical ways to split up our applications.

Let’s move forward and work with data in this app.

In the previous example, before we were using components, we created a variable called message . In components, when you want to create data, you have a couple different options:

Create a variable (like earlier) Create a state variable

If you want to update data and have the template show that change automatically, then we will use a React concept called state.

Creating a simple variable

This is how we can recreate the earlier example. The downside to this approach is that whenever we update message , our template won’t update to show the changes.

function App ( ) { const message = 'javascript is so cool' ; return ( < h1 > { message } < / h1 > ) ; } ReactDOM . render ( < App / > , document . getElementById ( 'root' ) ) ;

The problem with using a simple variable like this is that React won't look to rerender whenever it changes. To be 100% sure that React will update the template with new data, we'll use a concept called React state.

Using React State to display a variable

When we want variable updates to reflect automatically in our template, we want to use React state. Let’s change this example to use React state. Then whenever the message variable changes, React will re-render our template with the new data.

Let’s write the full syntax here and we’ll talk about what is happening. You may see some JavaScript syntax that you aren’t familiar with called array destructuring.

function App ( ) { const [ message , setMessage ] = React . useState ( 'javascript is so cool' ) ; return ( < h1 > { message } < / h1 > ) ; }

Notice the line that has useState:

const [ message , setMessage ] = React . useState ( 'javascript is so cool' ) ;

This is called array destructuring.

React.useState gives us two parts the variable which we name message a function to set the variable which we’ve called setMessage

You can name the variable and the function anything you want. We’re calling it message and setMessage because that is what we want our variable to be called.

We'll talk more about destructuring in an upcoming post about React prerequisites.

Inside of useState() we can set the default value for our message variable.

Essentially we’ve done 3 things:

Create a message variable Created a way to update the message variable ( setMessage ) Set a default value for message

Whenever we use setMessage to update our message, React will update our views.

Let’s make sure that our setMessage function is going to work.

Now that we’ve displayed some data, the next step in any app is to listen for user input and act on it. We are going to listen for an event like a button click.

Let’s do a simple action. We’ll:

Create a button

Listen for a click

Update our message using the setMessage function

Creating the Button

We’ll add the button next to our <h1> . Remember that React always wants only 1 parent element. We’ll add a surrounding <div> so that there’s only 1 parent element.

Let’s create a button that when clicked will update our message. Update your App component to have a button that takes a function when clicked:

function App ( ) { const [ message , setMessage ] = React . useState ( 'javascript is so cool' ) ; return ( < div > < h1 > { message } < / h1 > < button > Update the Message ! < / button > < / div > ) ; }

Listening for Clicks

In HTML, each element in the DOM can emit events like click , mouseover , keypress , and more.

In order to listen to an event on an element in React, we prepend the event with on . For instance, if we want to listen for a click on this button, we will add an attribute for onClick :

< button onClick = { } > Click Me ! < / button >

In our onClick , we are using the curly brackets to tell JSX that we need to evaluate what’s in these brackets {} .

Whenever we open brackets {}, we’re telling React to evaluate this area with JavaScript.

Let’s add a function to our onClick to make sure we can update our message using setMessage :

function App ( ) { const [ message , setMessage ] = React . useState ( 'javascript is so cool' ) ; return ( < div > < h1 > { message } < / h1 > < button onClick = { ( ) => setMessage ( 'my new message' ) } > Update the Message ! < / button > < / div > ) ; }

Let’s look further at the onClick handler. In JSX, we will open brackets {} whenever we want React to evaluate with JavaScript. Since we want to run a function when the button is clicked, we have opened the brackets and given a function.

This could also be written by creating a function outside of our template. The following has the same effect but keeps our template cleaner.

function App ( ) { const [ message , setMessage ] = React . useState ( 'javascript is so cool' ) ; function handleClick ( ) { setMessage ( 'my new message' ) } return ( < div > < h1 > { message } < / h1 > < button onClick = { handleClick } > Update the Message ! < / button > < / div > ) ; }

Now try clicking your button and seeing the message update automatically!

By using React state, we can easily update variables and have React update our views!

Let’s do a recap to see all the React concepts we’ve touched on:

Starting a React app using react.js and react-dom.js

and Rendering React into an HTML div using ReactDOM.render

Display React data

Listening for React events

Using React state

Updating variables and having React update the UI

We’ve covered a lot of the main concepts of React. These foundational concepts will be used in every React app you make in the future!

We’ve only scratched the surface with this Getting Started with React article. Follow along in this React Starter Guide to learn more and more about the world’s most popular JavaScript library.

Throughout this React starter, we'll go much further in depth and diving into things like:

Building React apps multiple ways

Talking about components

Routing apps

Forms and validation

Redux,

Styling components with Sass and CSS-in-JS

Animations

And much much more...

Like this article? Follow @chrisoncode on Twitter


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 announced Wednesday that the Justice Department will award $12 million in grants to help law enforcement agencies combat the opioid crisis and create a new office in the Appalachian region to crack down on illicit drug trafficking.

Sessions is also ordering all U.S. attorneys' offices to designate an opioid coordinator to work with prosecutors and other federal, state, tribal and local law enforcement officials to coordinate opioid prosecutions.

"Today we are facing the worst drug crisis in American history, with one American dying of a drug overdose every nine minutes," Sessions said at a press conference.

ADVERTISEMENT

"We need to use every lawful tool we have — and we will. This department will continue to take whatever steps we deem appropriate and effective toward our goal of turning the tide."

The $12 million in grant funding will assistant law enforcement in combating illegal manufacturing and distribution of methamphetamine, heroin and prescription opioids, Sessions said.

About $7 million of that funding will go directly to law enforcement agencies in states with high per capita levels of primary treatment admissions for heroin and other opioids.

That includes $1.4 million for the Minnesota Bureau of Criminal Apprehension and $1.1 million for the New York State Police.

Another $5 million will go to state agencies that have seized numerous precursor chemicals, finished methamphetamine, laboratories and laboratory dumps.

The Drug Enforcement Agency (DEA) will also establish a new division on Jan. 1 to focus on illicit drug trafficking in Kentucky, Tennessee and West Virginia, the administration announced.

The division, to be based in Louisville, Ky., will have 90 special agents and 130 task force officers, Sessions said.

“This change will produce more effective investigations on heroin, fentanyl and prescription opioid trafficking, all of which have a significant impact on the region,” said Acting DEA Administrator Robert Patterson.

Earlier this month, the Justice Department announced steps that would make it easier to prosecute traffickers of potent synthetic opioids that have led to an uptick in overdose deaths.

President Trump declared the opioid epidemic a public health emergency in October.

However, Democratic lawmakers and some advocates panned the measure, saying more funding is needed for any such declaration to be effective.


Some features/pages may temporarily be unavailable. Thank you for your patience. Jazakallah!

Welcome to Mount Hira

All praise to our Lord for giving us the vision, the ability and the energy to create this site.
We aim to create a learning website which makes it easy for people to learn and memorise important verses,
which can benefit us all in our life...for protection, success...and to get closer to our Creator.
We are not scholars, we are on a journey of seeking knowledge ourselves and will do our best to guide any queries...more

Learn the 99 Names of Allah (SWT) - Asma Al-Husna

Message

Thank you for visiting MountHira.com.

if you see any errors or you have any problems, please let me know by contacting me on firas@mounthira.com. Jazakallah.

- Firas

Quick Knowledge

The Last Prophet (PBUH) said: "Verily the one who recites the Qur'an beautifully, smoothly, and precisely, he will be in the company of the noble and obedient angels. And as for the one who recites with difficulty, stammering or stumbling through its verses (because he doesn't know how to read it but is trying to), then he will have TWICE that reward."


Glomerular basement membrane and anti-GBM antibody disease.
The GBM is an important structure for the development of immunologic renal disease. It may serve as the primary antigen or as the site of deposition of immune complexes. The GBM is recognized as the major protein filtration barrier of the glomerulus. The composition of the GBM includes collagen, predominantly but not exclusively type IV, which is present as procollagen. Two glycoproteins, laminin and fibronectin, are either intrinsic components of the GBM or intimately associated with the membrane. Heparan sulfate, a glycosaminoglycan, is contained within the substance of the GBM and seems to comprise the primary anion of the structure. Antibodies to these individual GBM components are being recognized with increasing frequency in patients with glomerulonephritis. The recognition of these antibodies may serve to expand our definition of both immunologic and degenerative diseases of basement membrane.


Q:

Spring Boot - Tomcat - Apache2 - HTTP 503 Error - ProxyIOBufferSize

I have installed my Spring Boot application at an Ubuntu version 18 server.
I use apache2 and lets encrypt to secure the application with SSL.
The application works fine in 95%, sometimes I get a HTTP 503 error at the client (Browser debugging view)
If HTTP 503 appears at the Browser/Client an entry is also made at apache2 log file which looks like this:
[Thu Mar 26 00:10:52.731383 2020] [proxy_ajp:error] [pid 16266:tid 139926293157632] [client
xxxx.xxxx.3.59:60869] AH00893: dialog to 127.0.0.1:9090 (localhost) failed, referer:
https domain
[Thu Mar 26 00:10:57.802571 2020] [proxy_ajp:error] [pid 16266:tid 139926720988928]
(70014)End of file found: AH01030: ajp_ilink_receive() can't receive header
[Thu Mar 26 00:10:57.802597 2020] [proxy_ajp:error] [pid 16266:tid 139926720988928] [client
xxx.xxx.3.59:60875] AH00992: ajp_read_header: ajp_ilink_receive failed, referer:
https domain
[Thu Mar 26 00:10:57.802628 2020] [proxy_ajp:error] [pid 16266:tid 139926720988928]
(120006)APR does not understand this error code: [client xxx.xxx.3.59:60875] AH00878: read
response failed from 127.0.0.1:9090 (localhost), referer: https domain

I found this thread:
We did some more investigation and found that the Apache setting that enables packets > 8192
(ProxyIOBufferSize 65536) was not going into effect because it was wrapped in an <IfModule
... > condition. (The module is loaded but we are investigating why the condition isn't
satisfied.) Tomcat 8.5 worked because it never sent packets larger than 8192, even though it
was allowed to, Tomcat 9 is sending bigger packets as it is configured to. With
ProxyIOBufferSize outside of the conditional, it is now working as expected.

My question now would be if it is possible that the size of ProxyIOBufferSize is to small and how can I adjust ProxyIOBufferSize in apache2 config file.

A:

You can change ProxyIOBufferSize Directive of Module mod_proxy ref : https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxyiobuffersize
Edit proxy section of /etc/apache2/sites-enabled/000-default.conf :
<Proxy>
    ProxyIOBufferSize 65536
</Proxy>