text:
Bloggers and PR Are Not Enemies, But Quality Efforts Are Needed
When it comes to the issue of how bloggers should work with companies' public relations teams, I sit in an interesting intersection. From 9 to 5, I help administer my company's public relations strategy, working on customer announcements, product releases and relations with media, analysts and customers. It's only part of my role, but a significant one - to help raise the company's visibility and awareness in key target publications and communities. But outside of work hours, when it comes to the blog, I often find myself solicited by companies' PR teams who are hoping their announcements will hit a sweet spot for the site and its readers. And the two roles can be very conflicting. At the office, my goal can be for many people to write about one thing. At home, often, if I think others have already covered the story, I'll skip it. But that doesn't make PR the enemy - even as I get press release submissions that I never would have requested, see people set unrealistic embargoes that are clearly broken by someone else, or watch double standards be applied.
Yesterday, Jeremy Toeman of Stage Two Consulting, and a strong blogger in his own right at LiveDigitally, asked if bloggers were simply underutilizing PR people. He, very accurately in my opinion, highlighted how many bloggers are choosing speed over correctness, not checking with PR teams to get background data, or even turning down the opportunity to speak with company representatives to gain quotes and other facts behind the standard release.
Simply stated, a good number of bloggers, many without traditional journalism training, are not taking extra effort needed to make their stories more robust, with company input. Some of that is due to a lack of experience. Some of that is due to a lack of time. Other factors may include a lack of interest, and especially, reward. What many have found, including me, is that the traditional ways bloggers measure themselves, with page views, external links and the number of comments, "likes", Diggs or what have you, are usually not impacted in a positive way through the additional work.
In my comments to Jeremy, I said I do reach out to developers behind a service, especially on longer-lead items, where the company has made a personal effort to reach out to me, instead of just seeing my name on an e-mail list. If, instead, I can tell it's practically a form e-mail, the additional effort to get background data, quotes and an interview is essentially lost, as my story will be just one of many that hit the Web at the same time - so it'd be just as useful to simply get a login to the site and start making screenshots. Marshall Kirkpatrick of ReadWriteWeb concurred, saying there is "little incentive in terms of pageviews" to do the additional research. Robert Scoble, who does some of the most-direct reporting with videos of entrepreneurs in his work for FastCompany, said there is "not much homework being done, just a lot of repurposing press releases," adding it's not just bloggers who err this way, but many in traditional media as well.
Putting my work/PR hat on, I can see the trends as well. Just a few years ago, the best way to distribute a message was to set up a series of conference calls and analyst visits weeks ahead of a launch, and provide customer references. Now, given the dramatic reduction in media outlets, and rise in people vying for attention, it could be just as effective to send an early version of the press release out and pick a date for folks to write about it. Some will want the executive interviews and customer quotes, but not all. There are just too many stories to be written and not any more hours in the day, and as with bloggers, the media wants to be first. Provide a date, and some will post at midnight Pacific. Others will post at midnight Eastern time, meaning their story lands up to six hours before the official press release and Web site updates.
So yes, things are changing - and with change comes strife.
Not every public relations firm is an expert in dealing with bloggers. Some are waking up to the blogging phenomenon and, guessing at the influencers, are simply adding blogger e-mail addresses to their distribution lists, without taking the time needed to se what it is each blogger covers, learning their focus areas, or personalizing an angle. Others are aggressively hustling the top two to five names and ignoring the second layer - which creates stress for those pursued, and resentment for those who are ignored.
But the issue is a two-way street. Bloggers often want the respect given to traditional media, and want to be counted as journalists, but it is a select few who are leveraging the resources available - taking time to ask questions of the company and getting quotes from executives. Is it because executives aren't trusted? Is it because bloggers don't want to look biased in favor of the company, but instead, neutral? It can't possibly be because they didn't think to ask, or are lazy, or just wanted to get a post out the door before moving on to the next one, right?
On LouisGray.com, there are definitely times when we get the chance to speak to the developers of a service to gain quotes and their take on the news. You saw that with the launches of Plinky and PeopleBrowsr, Scrapplet, Gnip, Glue and many others. You've also seen launches of new products where we've been trading e-mails with the companies for weeks or months, like with Feedly, Toluu and Socialmedian. But we don't do this every time. Sometimes, it's because we never got the chance. Other times, it's because all we got was a press release and a launch date, and not being overly impressed with the product, it didn't seem worth the effort.
For me, much of the traditional public relations activity, owned by a PR firm, is being done by the founders of the companies I talk to themselves. Instead of asking a PR person for help, I'm going straight to Jason Goldberg or Bret Taylor, Caleb Elston or Alex Iskold. The traditional PR function of shaping a message, choosing targets and scheduling interviews is often done solo - but the rules still apply. Bloggers want to get a unique story, and companies want to reach as many people as possible - so yes, there is a conflict.
The solution is for bloggers to understand the goals of the PR firm and company, and for PR firms and companies to understand the goals of the blogger. It would behoove PR firms to learn how to reach out to bloggers as individuals and tailor a message, even if it is a simple feature enhancement or milestone. It would behoove bloggers to go beyond the headlines and try to really understand a product - to kick the tires, providing feedback, positive and negative. Bloggers don't like feeling like a number, and PR people don't like being ignored if they have made an executive available.
As bloggers, taking the time to speak with an executive and getting a customer example or a use case can be not only a good way to get a unique story, but also to get a personal relationship that goes well beyond a press release. Truth is - the more you know about a product, the more likely you are to end up using it yourself anyway.
As PR reps, understand many bloggers have day jobs, and they don't always have the flexibility to answer you in your 9 to 5 window, so you will need to be open for calls at 10 p.m. as much as 10 a.m. Trade e-mails with me at 1 a.m., and you've practically got a partner for life. And do your homework. It's just as important for you to know what it is that I write about as it is for us to know what it is that you do and where you used to work. The blogging community can be your best mouthpiece for getting the message out quickly, and your worst enemy, should you end up ticking them off.
There has got to be a move to quality on the blogging side. I would much rather have longer-length posts from me and the team than quick hits that get out 15 minutes before the next guy. And companies should reward bloggers who take the extra effort by highlighting the reports on their site as they do traditional media reports. But there has also got to be a move toward quality from PR firms, who in stressful times these days, are scrambling to make headway in a very tough environment. PR companies and bloggers could work together as partners to deliver their readers stories that are relevant, sourced, and robust.
Or... we could continue to ignore each other and point fingers, and from that, nobody will grow.
Labels: Blogging, Marketing, PR


text:
Q: AppCenter does not change shared scheme configuration in Flutter When building a flutter application on app center, scheme specific configuration are not taking effect.
error: No profile for team '...' matching 'AppName Distribution' found: Xcode couldn't find any provisioning profiles matching '.../AppName Distribution'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'Runner' from project 'Runner')

A: Go to Xcode, click Runner file on top left corner. Then in Signing & Capabilities tab choose team, it should solve, if there will be error in status: "Failed to create provisioning profile", Connect the phone and then click the "try again" button there

Here more solutions: Xcode couldn't find any provisioning profiles matching

redpajama_set_name: RedPajamaStackExchange


Inequitable conduct remains a defense to infringement. In Apotex, Inc. v. UCB, Inc., August 2014, the Federal Circuit affirmed the finding of inequitable conduct by the district court, holding that the inventor engaged in "but-for" material misconduct, and that there was clear and convincing evidence that the inventor intended to deceive the USPTO. The conduct of the inventor and applicant included misrepresentation in the application about the prior art, misrepresentations about the prior art commercialized product, and misrepresentations in a third-party declaration submitted to demonstrate patentability of the claimed product.
Those associated with prosecution of a patent application must be on guard to avoid misrepresentations based on reliance on information from an inventor or other person involved in the prosecution of the application, and confirm that information is not withheld, incorrect or incomplete. The applicant and others associated with prosecution should be counseled that the duty of candor requires disclosure of facts and information that may be unfavorable to patentability.
Anyone associated with prosecuting the patent application, including the drafter, inventor, owner and patent practitioner should be careful to avoid misrepresentations in the application and in any communications with the Patent Office. Information that should be cited to the Patent Office, includes, among many items, inventor and applicant publications and press releases, whether published before or after the filing of an application. These documents should be reviewed to ensure that the patent application and arguments for patentability are not inconsistent any published material. If so, the inconsistency should be brought to the attention of the Patent Office. Information not related to patentability also can raise the issue of inequitable conduct. For example, false claims of entitlement to small entity status and false statements in petitions to the Patent Office can raise the issue.
In the past, once a patent issued, there was no "cure" for inequitable conduct. The America Invents Act provides an opportunity after allowance to "cure" inequitable the AIA provides a supplemental examination in which the Patent Office can consider information either previously withheld or misrepresented. Since such provision is new, neither the effectiveness nor consequence of such "cure" has not been tested. Hence, it is to be forthcoming with information during pendency of an application to avoid any conduct that subsequently could be construed as material and evidencing an intent to deceive the Patent Office.
-Submitted by Stephanie Seidman, McKenna Long & Aldridge LLP.


text:
Pestosas puede referirse a:

 El nombre común de la planta Eruca vesicaria.
 El nombre común de la planta Ruta angustifolia.

redpajama_set_name: RedPajamaWikipedia


LYLAS - Live! Funny! Girls!: December 2-3, Re-run of LYLAS debut performance!
December 2-3, Re-run of LYLAS debut performance!
Back by popular demand, LYLAS is performing a re-run show of their debut performance, "WASH-TV"!
Showtimes are December 2 and 3, Friday and Saturday, at 7 and 9 p.m. at 35below.
If you missed LYLAS in August, you can still experience the hilarity everyone is raving about. Get tickets now, before they sell out!


text:
// @HEADER
// ************************************************************************
//
//                           Intrepid Package
//                 Copyright (2007) Sandia Corporation
//
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
// license for use of this work by or on behalf of the U.S. Government.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// 3. Neither the name of the Corporation nor the names of the
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Questions? Contact Pavel Bochev  (pbboche@sandia.gov)
//                    Denis Ridzal  (dridzal@sandia.gov), or
//                    Kara Peterson (kjpeter@sandia.gov)
//
// ************************************************************************
// @HEADER

/** \file test_02.cpp
\brief  Patch test for the Intrepid::Basis_HGRAD_QUAD_C1_FEM class.
\author Created by P. Bochev, D. Ridzal, K. Peterson.
*/

#include "Intrepid_FieldContainer.hpp"
#include "Intrepid_HGRAD_QUAD_C1_FEM.hpp"
#include "Intrepid_DefaultCubatureFactory.hpp"
#include "Intrepid_RealSpaceTools.hpp"
#include "Intrepid_ArrayTools.hpp"
#include "Intrepid_FunctionSpaceTools.hpp"
#include "Intrepid_CellTools.hpp"
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Teuchos_SerialDenseMatrix.hpp"
#include "Teuchos_SerialDenseVector.hpp"
#include "Teuchos_LAPACK.hpp"

using namespace std;
using namespace Intrepid;

void rhsFunc(FieldContainer<double> &, const FieldContainer<double> &, int, int);
void neumann(FieldContainer<double>       & ,
             const FieldContainer<double> & ,
             const FieldContainer<double> & ,
             const shards::CellTopology   & ,
             int, int, int);
void u_exact(FieldContainer<double> &, const FieldContainer<double> &, int, int);

/// right-hand side function
void rhsFunc(FieldContainer<double> & result,
             const FieldContainer<double> & points,
             int xd,
             int yd) {

  int x = 0, y = 1;

  // second x-derivatives of u
  if (xd > 1) {
    for (int cell=0; cell<result.dimension(0); cell++) {
      for (int pt=0; pt<result.dimension(1); pt++) {
        result(cell,pt) = - xd*(xd-1)*std::pow(points(cell,pt,x), xd-2) * std::pow(points(cell,pt,y), yd);
      }
    }
  }

  // second y-derivatives of u
  if (yd > 1) {
    for (int cell=0; cell<result.dimension(0); cell++) {
      for (int pt=0; pt<result.dimension(1); pt++) {
        result(cell,pt) -=  yd*(yd-1)*std::pow(points(cell,pt,y), yd-2) * std::pow(points(cell,pt,x), xd);
      }
    }
  }

  // add u
  for (int cell=0; cell<result.dimension(0); cell++) {
    for (int pt=0; pt<result.dimension(1); pt++) {
      result(cell,pt) +=  std::pow(points(cell,pt,x), xd) * std::pow(points(cell,pt,y), yd);
    }
  }

}

/// neumann boundary conditions
void neumann(FieldContainer<double>       & result,
             const FieldContainer<double> & points,
             const FieldContainer<double> & jacs,
             const shards::CellTopology   & parentCell,
             int sideOrdinal, int xd, int yd) {

  int x = 0, y = 1;

  int numCells  = result.dimension(0);
  int numPoints = result.dimension(1);

  FieldContainer<double> grad_u(numCells, numPoints, 2);
  FieldContainer<double> side_normals(numCells, numPoints, 2);
  FieldContainer<double> normal_lengths(numCells, numPoints);

  // first x-derivatives of u
  if (xd > 0) {
    for (int cell=0; cell<numCells; cell++) {
      for (int pt=0; pt<numPoints; pt++) {
        grad_u(cell,pt,x) = xd*std::pow(points(cell,pt,x), xd-1) * std::pow(points(cell,pt,y), yd);
      }
    }
  }

  // first y-derivatives of u
  if (yd > 0) {
    for (int cell=0; cell<numCells; cell++) {
      for (int pt=0; pt<numPoints; pt++) {
        grad_u(cell,pt,y) = yd*std::pow(points(cell,pt,y), yd-1) * std::pow(points(cell,pt,x), xd);
      }
    }
  }

  CellTools<double>::getPhysicalSideNormals(side_normals, jacs, sideOrdinal, parentCell);

  // scale normals
  RealSpaceTools<double>::vectorNorm(normal_lengths, side_normals, NORM_TWO);
  FunctionSpaceTools::scalarMultiplyDataData<double>(side_normals, normal_lengths, side_normals, true);

  FunctionSpaceTools::dotMultiplyDataData<double>(result, grad_u, side_normals);

}

/// exact solution
void u_exact(FieldContainer<double> & result, const FieldContainer<double> & points, int xd, int yd) {
  int x = 0, y = 1;
  for (int cell=0; cell<result.dimension(0); cell++) {
    for (int pt=0; pt<result.dimension(1); pt++) {
      result(cell,pt) = std::pow(points(pt,x), xd)*std::pow(points(pt,y), yd);
    }
  }
}

int main(int argc, char *argv[]) {

  Teuchos::GlobalMPISession mpiSession(&argc, &argv);

  // This little trick lets us print to std::cout only if
  // a (dummy) command-line argument is provided.
  int iprint     = argc - 1;
  Teuchos::RCP<std::ostream> outStream;
  Teuchos::oblackholestream bhs; // outputs nothing
  if (iprint > 0)
    outStream = Teuchos::rcp(&std::cout, false);
  else
    outStream = Teuchos::rcp(&bhs, false);

  // Save the format state of the original std::cout.
  Teuchos::oblackholestream oldFormatState;
  oldFormatState.copyfmt(std::cout);

  *outStream \
    << "===============================================================================\n" \
    << "|                                                                             |\n" \
    << "|                    Unit Test (Basis_HGRAD_QUAD_C1_FEM)                      |\n" \
    << "|                                                                             |\n" \
    << "|     1) Patch test involving mass and stiffness matrices,                    |\n" \
    << "|        for the Neumann problem on a physical parallelogram                  |\n" \
    << "|        AND a reference quad Omega with boundary Gamma.                      |\n" \
    << "|                                                                             |\n" \
    << "|        - div (grad u) + u = f  in Omega,  (grad u) . n = g  on Gamma        |\n" \
    << "|                                                                             |\n" \
    << "|        For a generic parallelogram, the basis recovers a complete           |\n" \
    << "|        polynomial space of order 1. On a (scaled and/or translated)         |\n" \
    << "|        reference quad, the basis recovers a complete tensor product         |\n" \
    << "|        space of order 1 (i.e. incl. the xy term).                           |\n" \
    << "|                                                                             |\n" \
    << "|  Questions? Contact  Pavel Bochev  (pbboche@sandia.gov),                    |\n" \
    << "|                      Denis Ridzal  (dridzal@sandia.gov),                    |\n" \
    << "|                      Kara Peterson (kjpeter@sandia.gov).                    |\n" \
    << "|                                                                             |\n" \
    << "|  Intrepid's website: http://trilinos.sandia.gov/packages/intrepid           |\n" \
    << "|  Trilinos website:   http://trilinos.sandia.gov                             |\n" \
    << "|                                                                             |\n" \
    << "===============================================================================\n"\
    << "| TEST 1: Patch test                                                          |\n"\
    << "===============================================================================\n";

  int errorFlag = 0;

  outStream -> precision(16);

  try {

    int max_order = 1;                                                                    // max total order of polynomial solution
    DefaultCubatureFactory<double>  cubFactory;                                           // create cubature factory
    shards::CellTopology cell(shards::getCellTopologyData< shards::Quadrilateral<> >());  // create parent cell topology
    shards::CellTopology side(shards::getCellTopologyData< shards::Line<> >());           // create relevant subcell (side) topology
    int cellDim = cell.getDimension();
    int sideDim = side.getDimension();

    // Define array containing points at which the solution is evaluated, in reference cell.
    int numIntervals = 10;
    int numInterpPoints = (numIntervals + 1)*(numIntervals + 1);
    FieldContainer<double> interp_points_ref(numInterpPoints, 2);
    int counter = 0;
    for (int j=0; j<=numIntervals; j++) {
      for (int i=0; i<=numIntervals; i++) {
        interp_points_ref(counter,0) = i*(2.0/numIntervals)-1.0;
        interp_points_ref(counter,1) = j*(2.0/numIntervals)-1.0;
        counter++;
      }
    }

    /* Parent cell definition. */
    FieldContainer<double> cell_nodes[2];
    cell_nodes[0].resize(1, 4, cellDim);
    cell_nodes[1].resize(1, 4, cellDim);

    // Generic parallelogram.
    cell_nodes[0](0, 0, 0) = -5.0;
    cell_nodes[0](0, 0, 1) = -1.0;
    cell_nodes[0](0, 1, 0) = 4.0;
    cell_nodes[0](0, 1, 1) = 1.0;
    cell_nodes[0](0, 2, 0) = 8.0;
    cell_nodes[0](0, 2, 1) = 3.0;
    cell_nodes[0](0, 3, 0) = -1.0;
    cell_nodes[0](0, 3, 1) = 1.0;
    // Reference quad.
    cell_nodes[1](0, 0, 0) = -1.0;
    cell_nodes[1](0, 0, 1) = -1.0;
    cell_nodes[1](0, 1, 0) = 1.0;
    cell_nodes[1](0, 1, 1) = -1.0;
    cell_nodes[1](0, 2, 0) = 1.0;
    cell_nodes[1](0, 2, 1) = 1.0;
    cell_nodes[1](0, 3, 0) = -1.0;
    cell_nodes[1](0, 3, 1) = 1.0;

    std::stringstream mystream[2];
    mystream[0].str("\n>> Now testing basis on a generic parallelogram ...\n");
    mystream[1].str("\n>> Now testing basis on the reference quad ...\n");

    for (int pcell = 0; pcell < 2; pcell++) {
      *outStream << mystream[pcell].str();
      FieldContainer<double> interp_points(1, numInterpPoints, cellDim);
      CellTools<double>::mapToPhysicalFrame(interp_points, interp_points_ref, cell_nodes[pcell], cell);
      interp_points.resize(numInterpPoints, cellDim);

      for (int x_order=0; x_order <= max_order; x_order++) {
        int max_y_order = max_order;
        if (pcell == 0) {
          max_y_order -= x_order;
        }
        for (int y_order=0; y_order <= max_y_order; y_order++) {

          // evaluate exact solution
          FieldContainer<double> exact_solution(1, numInterpPoints);
          u_exact(exact_solution, interp_points, x_order, y_order);

          int basis_order = 1;

          // set test tolerance
          double zero = basis_order*basis_order*100*INTREPID_TOL;

          //create basis
          Teuchos::RCP<Basis<double,FieldContainer<double> > > basis =
            Teuchos::rcp(new Basis_HGRAD_QUAD_C1_FEM<double,FieldContainer<double> >() );
          int numFields = basis->getCardinality();

          // create cubatures
          Teuchos::RCP<Cubature<double> > cellCub = cubFactory.create(cell, 2*basis_order);
          Teuchos::RCP<Cubature<double> > sideCub = cubFactory.create(side, 2*basis_order);
          int numCubPointsCell = cellCub->getNumPoints();
          int numCubPointsSide = sideCub->getNumPoints();

          /* Computational arrays. */
          /* Section 1: Related to parent cell integration. */
          FieldContainer<double> cub_points_cell(numCubPointsCell, cellDim);
          FieldContainer<double> cub_points_cell_physical(1, numCubPointsCell, cellDim);
          FieldContainer<double> cub_weights_cell(numCubPointsCell);
          FieldContainer<double> jacobian_cell(1, numCubPointsCell, cellDim, cellDim);
          FieldContainer<double> jacobian_inv_cell(1, numCubPointsCell, cellDim, cellDim);
          FieldContainer<double> jacobian_det_cell(1, numCubPointsCell);
          FieldContainer<double> weighted_measure_cell(1, numCubPointsCell);

          FieldContainer<double> value_of_basis_at_cub_points_cell(numFields, numCubPointsCell);
          FieldContainer<double> transformed_value_of_basis_at_cub_points_cell(1, numFields, numCubPointsCell);
          FieldContainer<double> weighted_transformed_value_of_basis_at_cub_points_cell(1, numFields, numCubPointsCell);
          FieldContainer<double> grad_of_basis_at_cub_points_cell(numFields, numCubPointsCell, cellDim);
          FieldContainer<double> transformed_grad_of_basis_at_cub_points_cell(1, numFields, numCubPointsCell, cellDim);
          FieldContainer<double> weighted_transformed_grad_of_basis_at_cub_points_cell(1, numFields, numCubPointsCell, cellDim);
          FieldContainer<double> fe_matrix(1, numFields, numFields);

          FieldContainer<double> rhs_at_cub_points_cell_physical(1, numCubPointsCell);
          FieldContainer<double> rhs_and_soln_vector(1, numFields);

          /* Section 2: Related to subcell (side) integration. */
          unsigned numSides = 4;
          FieldContainer<double> cub_points_side(numCubPointsSide, sideDim);
          FieldContainer<double> cub_weights_side(numCubPointsSide);
          FieldContainer<double> cub_points_side_refcell(numCubPointsSide, cellDim);
          FieldContainer<double> cub_points_side_physical(1, numCubPointsSide, cellDim);
          FieldContainer<double> jacobian_side_refcell(1, numCubPointsSide, cellDim, cellDim);
          FieldContainer<double> jacobian_det_side_refcell(1, numCubPointsSide);
          FieldContainer<double> weighted_measure_side_refcell(1, numCubPointsSide);

          FieldContainer<double> value_of_basis_at_cub_points_side_refcell(numFields, numCubPointsSide);
          FieldContainer<double> transformed_value_of_basis_at_cub_points_side_refcell(1, numFields, numCubPointsSide);
          FieldContainer<double> weighted_transformed_value_of_basis_at_cub_points_side_refcell(1, numFields, numCubPointsSide);
          FieldContainer<double> neumann_data_at_cub_points_side_physical(1, numCubPointsSide);
          FieldContainer<double> neumann_fields_per_side(1, numFields);

          /* Section 3: Related to global interpolant. */
          FieldContainer<double> value_of_basis_at_interp_points(numFields, numInterpPoints);
          FieldContainer<double> transformed_value_of_basis_at_interp_points(1, numFields, numInterpPoints);
          FieldContainer<double> interpolant(1, numInterpPoints);

          FieldContainer<int> ipiv(numFields);

          /******************* START COMPUTATION ***********************/

          // get cubature points and weights
          cellCub->getCubature(cub_points_cell, cub_weights_cell);

          // compute geometric cell information
          CellTools<double>::setJacobian(jacobian_cell, cub_points_cell, cell_nodes[pcell], cell);
          CellTools<double>::setJacobianInv(jacobian_inv_cell, jacobian_cell);
          CellTools<double>::setJacobianDet(jacobian_det_cell, jacobian_cell);

          // compute weighted measure
          FunctionSpaceTools::computeCellMeasure<double>(weighted_measure_cell, jacobian_det_cell, cub_weights_cell);

          ///////////////////////////
          // Computing mass matrices:
          // tabulate values of basis functions at (reference) cubature points
          basis->getValues(value_of_basis_at_cub_points_cell, cub_points_cell, OPERATOR_VALUE);

          // transform values of basis functions
          FunctionSpaceTools::HGRADtransformVALUE<double>(transformed_value_of_basis_at_cub_points_cell,
                                                          value_of_basis_at_cub_points_cell);

          // multiply with weighted measure
          FunctionSpaceTools::multiplyMeasure<double>(weighted_transformed_value_of_basis_at_cub_points_cell,
                                                      weighted_measure_cell,
                                                      transformed_value_of_basis_at_cub_points_cell);

          // compute mass matrices
          FunctionSpaceTools::integrate<double>(fe_matrix,
                                                transformed_value_of_basis_at_cub_points_cell,
                                                weighted_transformed_value_of_basis_at_cub_points_cell,
                                                COMP_BLAS);
          ///////////////////////////

          ////////////////////////////////
          // Computing stiffness matrices:
          // tabulate gradients of basis functions at (reference) cubature points
          basis->getValues(grad_of_basis_at_cub_points_cell, cub_points_cell, OPERATOR_GRAD);

          // transform gradients of basis functions
          FunctionSpaceTools::HGRADtransformGRAD<double>(transformed_grad_of_basis_at_cub_points_cell,
                                                         jacobian_inv_cell,
                                                         grad_of_basis_at_cub_points_cell);

          // multiply with weighted measure
          FunctionSpaceTools::multiplyMeasure<double>(weighted_transformed_grad_of_basis_at_cub_points_cell,
                                                      weighted_measure_cell,
                                                      transformed_grad_of_basis_at_cub_points_cell);

          // compute stiffness matrices and sum into fe_matrix
          FunctionSpaceTools::integrate<double>(fe_matrix,
                                                transformed_grad_of_basis_at_cub_points_cell,
                                                weighted_transformed_grad_of_basis_at_cub_points_cell,
                                                COMP_BLAS,
                                                true);
          ////////////////////////////////

          ///////////////////////////////
          // Computing RHS contributions:
          // map cell (reference) cubature points to physical space
          CellTools<double>::mapToPhysicalFrame(cub_points_cell_physical, cub_points_cell, cell_nodes[pcell], cell);

          // evaluate rhs function
          rhsFunc(rhs_at_cub_points_cell_physical, cub_points_cell_physical, x_order, y_order);

          // compute rhs
          FunctionSpaceTools::integrate<double>(rhs_and_soln_vector,
                                                rhs_at_cub_points_cell_physical,
                                                weighted_transformed_value_of_basis_at_cub_points_cell,
                                                COMP_BLAS);

          // compute neumann b.c. contributions and adjust rhs
          sideCub->getCubature(cub_points_side, cub_weights_side);
          for (unsigned i=0; i<numSides; i++) {
            // compute geometric cell information
            CellTools<double>::mapToReferenceSubcell(cub_points_side_refcell, cub_points_side, sideDim, (int)i, cell);
            CellTools<double>::setJacobian(jacobian_side_refcell, cub_points_side_refcell, cell_nodes[pcell], cell);
            CellTools<double>::setJacobianDet(jacobian_det_side_refcell, jacobian_side_refcell);

            // compute weighted edge measure
            FunctionSpaceTools::computeEdgeMeasure<double>(weighted_measure_side_refcell,
                                                           jacobian_side_refcell,
                                                           cub_weights_side,
                                                           i,
                                                           cell);

            // tabulate values of basis functions at side cubature points, in the reference parent cell domain
            basis->getValues(value_of_basis_at_cub_points_side_refcell, cub_points_side_refcell, OPERATOR_VALUE);
            // transform
            FunctionSpaceTools::HGRADtransformVALUE<double>(transformed_value_of_basis_at_cub_points_side_refcell,
                                                            value_of_basis_at_cub_points_side_refcell);

            // multiply with weighted measure
            FunctionSpaceTools::multiplyMeasure<double>(weighted_transformed_value_of_basis_at_cub_points_side_refcell,
                                                        weighted_measure_side_refcell,
                                                        transformed_value_of_basis_at_cub_points_side_refcell);

            // compute Neumann data
            // map side cubature points in reference parent cell domain to physical space
            CellTools<double>::mapToPhysicalFrame(cub_points_side_physical, cub_points_side_refcell, cell_nodes[pcell], cell);
            // now compute data
            neumann(neumann_data_at_cub_points_side_physical, cub_points_side_physical, jacobian_side_refcell,
                    cell, (int)i, x_order, y_order);

            FunctionSpaceTools::integrate<double>(neumann_fields_per_side,
                                                  neumann_data_at_cub_points_side_physical,
                                                  weighted_transformed_value_of_basis_at_cub_points_side_refcell,
                                                  COMP_BLAS);

            // adjust RHS
            RealSpaceTools<double>::add(rhs_and_soln_vector, neumann_fields_per_side);;
          }
          ///////////////////////////////

          /////////////////////////////
          // Solution of linear system:
          int info = 0;
          Teuchos::LAPACK<int, double> solver;
          solver.GESV(numFields, 1, &fe_matrix[0], numFields, &ipiv(0), &rhs_and_soln_vector[0], numFields, &info);
          /////////////////////////////

          ////////////////////////
          // Building interpolant:
          // evaluate basis at interpolation points
          basis->getValues(value_of_basis_at_interp_points, interp_points_ref, OPERATOR_VALUE);
          // transform values of basis functions
          FunctionSpaceTools::HGRADtransformVALUE<double>(transformed_value_of_basis_at_interp_points,
                                                          value_of_basis_at_interp_points);
          FunctionSpaceTools::evaluate<double>(interpolant, rhs_and_soln_vector, transformed_value_of_basis_at_interp_points);
          ////////////////////////

          /******************* END COMPUTATION ***********************/

          RealSpaceTools<double>::subtract(interpolant, exact_solution);

          *outStream << "\nRelative norm-2 error between exact solution polynomial of order ("
                     << x_order << ", " << y_order << ") and finite element interpolant of order " << basis_order << ": "
                     << RealSpaceTools<double>::vectorNorm(&interpolant[0], interpolant.dimension(1), NORM_TWO) /
                        RealSpaceTools<double>::vectorNorm(&exact_solution[0], exact_solution.dimension(1), NORM_TWO) << "\n";

          if (RealSpaceTools<double>::vectorNorm(&interpolant[0], interpolant.dimension(1), NORM_TWO) /
              RealSpaceTools<double>::vectorNorm(&exact_solution[0], exact_solution.dimension(1), NORM_TWO) > zero) {
            *outStream << "\n\nPatch test failed for solution polynomial order ("
                       << x_order << ", " << y_order << ") and basis order " << basis_order << "\n\n";
            errorFlag++;
          }
        } // end for y_order
      } // end for x_order
    } // end for pcell

  }
  // Catch unexpected errors
  catch (std::logic_error err) {
    *outStream << err.what() << "\n\n";
    errorFlag = -1000;
  };

  if (errorFlag != 0)
    std::cout << "End Result: TEST FAILED\n";
  else
    std::cout << "End Result: TEST PASSED\n";

  // reset format state of std::cout
  std::cout.copyfmt(oldFormatState);

  return errorFlag;
}

redpajama_set_name: RedPajamaGithub


text:
Fells Point Historic District
Courtesy of: Keller Williams Realty Centre
Address: 2110 CAMBRIDGE ST
County: Baltimore City
City: Baltimore
Neighborhood: Fells Point Historic District
This Home will be ACTIVE on March 24th!! This Unassuming yet Exquisite Property, originally Two Homes, Now Spans from Cambridge St Clear through to Fleet St!! With Two Distinct Entrances and a Two-Car Tandem Garage, This Home is Sure to Impress! Built by One of the Top Renovation Companies in the City, Building Character, This Home offers a Stunning 3600 Sq Ft, Five Bedrooms, Four Bathrooms and Gourmet Kitchen with Subzero Refrigerator and Wolf Range! You will also find Two Wet Bars, Gas Fireplace, a Main Level Private Courtyard and One of the Largest Rooftop Decks in the Entire City at just Over 1250 sq ft! Inside You'll find Exposed Brick, Gorgeous Moldings, Hardwood Floors, Tile, Granite Counters, Luxury Bathrooms with Rainfall Shower Heads Plus a Complete Audio/Automation/Security System with Light and Thermostat Control as well as Electronic Locks! Come See for Yourself!!
Courtesy of: Keller Williams Realty Centre Listing information provided courtesy of the Bright MLS. IDX information is provided exclusively for consumers' personal, non-commercial use, and it may not be used for any purpose other than to identify prospective properties consumers may be interested in purchasing. The data is deemed reliable, but is not guaranteed accurate by the MLS. Updated: 31st January, 2023 11:12 PM (UTC)

redpajama_set_name: RedPajamaCommonCrawl


Sysadmin Academy Pvt. Ltd., established in 2006, delivers quality I.T training at affordable costs for people in and around T. Nagar, Chennai. We teach courses for Advanced Java, Cloud Deployment, IBM - Aix, Java Rest Angular Full Stack, Js Web Framework, Linux Shell/Perl Scripting, Red Hat Enterprise Linux 7, Red Hat Linux Administrator And Engineer, Rest, Unix, Linux, Vmware, etc. We have created, inspired, enriched thousands of aspirants as I.T professionals. We strive to deliver knowledge in a short duration at budget friendly rates. Contact us and we will mold you into an I.T expert.
Great to share my experience with this Greens Technology Tambaram for my Linux OS training. the way of response and training was very nice. they quoted me 15000 but I paid an initial amount as course fee 7500. I have taken a weekend class and It was a two months course. The approaches rendered by them was awesome. I am glad about their atmosphere. The excellent response and training got from them.


text:
How will Poison's Ratio of a material affect its Strength?
Asked: July 24, 2020 2020-07-24T19:52:25-07:00 2020-07-24T19:52:25-07:00In: Structural Engineering
Tips_and_tricks
Tips_and_tricks Learner
CB Sowmya
CB Sowmya User
2020-07-27T15:08:05-07:00Added an answer on July 27, 2020 at 3:08 pm
Poison's ratio is the ratio of lateral strain to longitudinal strain. It is the property of elasticity of a material.
This means that, if a force is applied in a given direction, say along the axis of the member, then the poison's ratio is the ratio of the strain in the direction perpendicular to the axis and the strain along the axis.
The poison's ratio of concrete is 0.1 to 0.2. Let's take that it as 0.15. If a force is applied on a concrete specimen along its axis, then, for every 1 unit of deformation in the axis, 0.15 unit of deformation happens in the perpendicular direction.
Poison's ratio is a measure of the elastic property of a material. There isn't any direct relation between the strength of the material and the poison's ratio.
Komal Bhandakkar
Komal Bhandakkar AUTHOR
2020-11-20T15:55:06-08:00Added an answer on November 20, 2020 at 3:55 pm
This answer was edited.
Poisson's Ratio:
The metal bar length increases in the direction of applied force when a tensile force is applied to it. The width of the same metal bar decreases in the direction perpendicular to the applied force.
The Poisson's ratio indicated the relationship between change in length and width.
Poison's ratio is to measure the elastic property of a material.
nikeetasharma
nikeetasharma Guru
Poisson's ratio is defined as the ratio of the change in the width per unit width of a material, to the change in its length per unit length as a result of strain. Poisson ratio measures the deformation in the material in a direction perpendicular to the direction of the applied force.
Mathematically, poissons ratio is equal to the negative of the ratio of lateral strain and longitudinal strain. Therefore, if the poisson's ratio is greater than the strength is greater.
VoiD Beginner
2020-07-27T11:18:27-07:00Added an answer on July 27, 2020 at 11:18 am
Poisson's ratio is the negative of the ratio of lateral strain to axial strain (Negative because of the decrease in the lateral measurement)
Hence higher the Poisson's Ratio greater is its ability to withstand the load, hence greater is its strength.


Jean Shin is nationally recognized for her monumental installations that transform everyday objects into elegant expressions of identity and community. For each project, she amasses vast collections of a particular object—prescription pill bottles, sports trophies, sweaters—which are often sourced through donations from individuals in a participating community. These intimate objects then become the materials for her conceptually rich sculptures, videos and site-specific installations. Distinguished by her meticulous, labor-intensive process, and her engagement of community, Shin's arresting installations reflect individuals' personal lives as well as collective issues that we face as a society.
Her work has been widely exhibited in over 150 major museums and cultural institutions, including solo exhibitions at The Museum of Modern Art in New York, Fabric Workshop and Museum in Philadelphia, Smithsonian American Art Museum in Washington DC, Scottsdale Museum of Contemporary Art in Arizona and Crow Collection in Dallas. Her works have been on view at the New Museum, Museum of Fine Arts Houston, Museum of Fine Art Boston, Asia Society Museum, Brooklyn Museum, Queens Museum, Museum of Art and Design, Barnes Foundation, among other prestigious museums.
As an accomplished artist practicing in the public realm, she also realizes large-scale, permanent installations commissioned by major public agencies on the federal level as well as city and arts for transit programs. She recently completed a landmark commission for the MTA's Second Ave Subway at the 63rd Street Station in New York City.
In recognition of excellence, she has received numerous awards including the two New York Foundation for the Arts Fellowships in Architecture/Environmental Structures (2008) and Sculpture (2003), Korea Arts Foundation of America, Pollock-Krasner Foundation Grant, Asian Cultural Council, and Louis Comfort Tiffany Foundation Biennial Art Award. Her works and interviews have been featured in many publications, including Art in America, Sculpture Magazine, Artnews, Frieze Art, Flash Art, Tema Celeste, Hyperallergic, Artsy, Brooklyn Rail, and The New York Times.
Born in Seoul, South Korea and raised in the United States, Shin attended the Skowhegan School of Painting and Sculpture in 1999 and received a BFA and MS from Pratt Institute in Brooklyn. She is tenured Adjunct Professor of Fine Art at Pratt Institute and recipient of Pratt's 2017 Alumni Achievement Award. She lives and works in Brooklyn, NY.


Lifting Equipment Rental is home to one of the largest ranges of specialist lifting equipment for hire and sale in Scotland.
From our base in Aberdeen, we supply and deliver equipment to companies throughout the UK and Europe and hold an extensive stock of products suited to a wide variety of industries including Construction, Marine, Decommissioning, Papermaking, Civil Engineering, General Engineering, Oil and Gas and Renewable Energy. We are constantly introducing new items to our range and always endeavour to satisfy our customers' special requests for equipment.


text:
Some young viewers still unaware BBC Three is now online
Staff Reporter | On 19, Jun 2017
Some young viewers are still unaware that BBC Three can be viewed online.
BBC Three, which switched from traditional, linear broadcast to a web-first format last year, is the UK's first public service online TV channel. The groundbreaking leap by the BBC was made in response to both budgetary pressure and the changing ways in which people watch TV, with younger audiences increasingly streaming content online.
Despite moving into an arena where younger audiences are, though, new research by Ofcom shows that some are still unaware that BBC Three is still available.
The study, designed to look at the BBC's "distinctiveness" found that "some younger participants were more critical and argued that BBC Three no longer being broadcast on TV suggested that producing more creative and innovative content for young people was not a priority for the BBC. Some were even unaware that BBC Three could still be accessed online."
Others said they used to watch BBC Three when it was broadcast on TV – "they liked the new comedies that were on this channel and thought it was a good way to try find more innovative material" – but hadn't used it as much since its move online, saying they hadn't seen much innovative new comedy from the BBC for a while.
"It was a massive fail was getting rid of BBC Three … loads of things like Gavin and Stacey started off on BBC Three but they're not prepared to give it a long enough run," said one younger group in Belfast, aged 18 to 29.
The research highlights the challenges facing BBC Three, as it has to compete in a crowded online landscape against rivals such as Netflix and Amazon Prime Video. Indeed, many younger viewers say they get their TV through such streaming platforms, with "big-budget American TV shows like Game of Thrones and Narcos" or "more niche shows related to their interests" preferred to BBC content.
Some younger viewers did not mind paying for subscription services, but did not feel they should pay for the BBC when they did not use it much.
The perception of the BBC, as a national institution, a broadcaster and a paid service, is tied up in this shift from traditional TV viewing habits to online streaming. Last year, the TV Licence laws were updated so that those using BBC iPlayer have to pay a Licence Fee. Views on the fee vary, according to Ofcom, with participants' satisfaction with the BBC influencing their views on paying the licence fee and their expectations of the BBC. Those who felt that the BBC was doing well and giving them content that they enjoyed (most older participants) saw the licence fee as reasonable. Those who did not feel the BBC provided them as much content that they wanted (younger and some middle aged participants) were more likely to raise the licence fee as an issue which negatively influenced their views of the BBC overall. Some of these also mistakenly assumed that the BBC was a government owned institution and this meant that they had high expectations of the BBC and were unhappy if it did not give them the kind of content that they wanted.
Older viewers have a nostalgic affection for the BBC as a key role in their lives, but some younger and middle-aged audiences prefer providers such as Netflix and Amazon Prime Video for drama and Sky for sports. Some older audiences also said they think that the BBC offered them as much as it used to.
With Netflix, Amazon Prime Video and Channel 4 therefore seen as more cutting-edge and innovative, the once-vague concept of "distinctiveness" is crucial to the BBC standing out in an online age.
"I think when you are scrolling through the TV, live and on demand (iPlayer) you are always scrolling through to find something that catches your eye. I feel that they have lost their way there is nothing that really grabs my eye to say "watch me". We pay for the BBC I think there should be more content on there," said one young group of 18 to 29-year-olds in Inverness.
However, BBC Online services, such as BBC News, Weather and Sport, are still valued by people who use them, with older groups saying that BBC iPlayer is considered "easy to use". Younger generations, though, said that BBC iPlayer needed to adapt to compete with other services, both in terms of access to older archives and back catalogues and in terms of recommendations. Indeed, the BBC is currently introducing a requirement for users to sign in to the site, which will allow iPlayer to recommend titles that are more relevant to them.
BBC iPlayer BBC Three iPlayer
VOD film review: Moonlight
Amazon UK TV review: American Gods Episode 8 (spoilers)
eSports comes to BBC Three as Gfinity streams Elite Series tournament... July 29, 2017 | Staff Reporter
Trailer: Jamie Dornan and Matthew Rhys star in BBC Two's Death and Nightin... November 7, 2018 | Staff Reporter
Inside No. 9 to return for fifth season February 6, 2018 | Staff Reporter
2018 Winter Olympics breaks BBC iPlayer records... February 28, 2018 | Staff Reporter


A brilliant site outline isn't practically applying excellent shades and additionally sorting out your route menus. Rather, it truly is about marking your site in a way that it speaks to your focused on business. In spite of the fact that visual computerization is focused on in general appear to be identical, time, pass on a message to your site guests. Basically by making utilization of the key focuses connected with visual depiction as a component of your site outline, you can demonstrate your unique temperament that your site guests and additionally prospective customers can effortlessly identify with and recognize smoothly.
Picture Design is the mixture of fine art and science to show a message by method of pictures. It truly is affirmed to be a type of collaboration. After the whole planet has entered the internet time and the greater part of organizations remain intense for any consideration of the overall population through the online planet, picture outline craftsmen are coming to be completely fundamental. Imaginative originators are key for making charming site pages. It doesn't make a difference exactly how accommodating or actually intriguing the specific articles of the site are, it may not so much satisfy the obliged comes about of the possessor when it doesn't look great. Generally speaking look is without a doubt the most critical characteristic customers see. At whatever point individuals are seeking on the web they will more than likely take a gander at just sites that will with starting sight seem to look top notch.


Charles Masembe, a senior lecturer, Department of Biological Sciences, Makerere University, Uganda is a recipient of the Africa Biosciences Challenge Fund (ABCF) fellowship.
Charles was awarded a fellowship for a period of two and a half months from 8 November – 6 December 2010 and 5 June – 29 July 2011 to carry out deep sequencing of the African swine fever virus (ASFV) and full genome generation using BecA-ILRI Hub's Roche 454 Genome Sequencer FLX System.
Uganda has the largest and most rapidly growing pig production in Eastern Africa, with the pig population standing at 3.2 million. This area of farming has become very attractive throughout the country as a means of food production, income generation and employment. Pigs are considered "walking banks" in the local communities. Seventy five percent of pig keeping is found in the rural areas, and is mostly practiced by women.
However, the growing pig industry is threatened by several problems including infectious diseases such as African swine fever (ASF), a devastating viral disease that is endemic in Uganda. The disease periodically kills 90 – 100 percent of affected animals and has neither treatment nor vaccine. There is lack of data regarding the molecular variation and evolution of this devastating virus, a problem which Charles helped to address by enabling deep sequencing of selected ASFV fragments and full genome sequencing of the virus.
"While at the BecA-ILRI Hub, I not only acquired molecular biology skills, but also generated interesting results including the first time discovery of the Ndumu virus in domestic pigs. The findings of this research which was done in collaboration with other scientists were published in a peer reviewed scientific article Masembe, C., Michuki, G., Onyango, M., Rumberia, C., Bishop, R.P., Djikeng, A., Kemp, S.J., Orth, A., Skilton, R., Stahl, K., and Fischer, A., 2012, Viral metagenomics demonstrates that domestic pigs are a potential reservoir for Ndumu virus. Virology Journal 9:218: doi:10.1186/1743-422X-9-218.
I continue to conduct research and teach at Makerere University, Uganda in the areas of animal health and food security using the molecular skills I acquired at the BecA-ILRI Hub.
The skills learnt, interactions with scientists and the exposure to technology at the BecA-ILRI Hub have contributed to my success as a researcher. I will always reserve a special place in my memoirs for the BecA-ILRI HubTeam!"
Hellen Beatrice Apio is a research assistant at the National Crops Resources Research Institute (NaCRRI) Namulonge, Uganda and a recipient of the BecA-ILRI Hub's Africa Biosciences Challenge Fund (ABCF) fellowship.
Hellen was awarded a fellowship for a period of three months from 5 June – 4 September 2013 to carry out a study on genetic transformation of Ugandan farmer-preferred cassava cultivars for virus resistance. The aim of her study was to ascertain the ability of the preferred Ugandan genotypes of cassava to be transformed using molecular techniques like polymerase chain reaction.
Cassava, a major staple food crop and source of income for over 800 million people in eastern, central and southern Africa is significantly affected by Cassava mosaic disease (CMD) and Cassava brown streak disease (CBSD). Concurrent epidemics of the two diseases are currently ravaging cassava in East and Central Africa.
Conventional breeding to develop virus resistant cassava varieties is hampered by the high degree of genetic variation, long breeding cycle, genetic overload, low pollen fertility, self-incompatibility and low fruit set rate. Therefore, genetic transformation of cassava has been recommended as a complementary approach.
Genetic engineering has shown great potential in cassava genetic improvement and has been used to counteract some of the limitations of conventional breeding. To date, three different genetic transformation systems have been developed.
Given that different genotypes respond differently to the genetic transformation systems in place, there is need to develop protocols with respect to the different genotypes. Specifically, genetic transformation protocols need to be developed for farmer preferred cultivars which are already locally adapted and accepted.
"The research I conducted at the BecA-ILRI Hub was very successful and as a result I have been able to demonstrate the same technique at my home institute's tissue culture and transformation platform. The techniques I learnt have been fed into the institution's existing projects within the root crops program for instance the Virus Resistant Cassava for Africa Project (VIRCA), whose focus is to engineer cassava plants for resistance to disease; and the Cassava Seed Systems Project which is meant to produce clean planting materials which will be availed and made accessible to farmers in the East African region, thus improving livelihoods of farmers."
Ruth Wanyera is the Principal Research Scientist/ National Wheat Coordinator, Kenya Agricultural Research Institute, Njoro and a recipient of the BecA-ILRI Hub's Africa Biosciences Challenge Fund (ABCF) fellowship.
Ruth was awarded an ABCF fellowship for a period of nine months from 22 November 2011 – 10 August 2012, to determine different populations of wheat stem rust in the four wheat growing regions of Kenya and determine if there is any exchange of geneflow between the populations. The fellowship was co-funded by African Women in Agricultural Research and Development (AWARD).
Wheat production is faced by many challenges, among them wheat stem rust, a disease causing severe losses to wheat production in many parts of the world. Heavy rust infections of this disease may cause yield losses of 100% on susceptible varieties with the most highly affected farmers being the smallholders who are not able to use fungicides due to the high costs.
For over three decades, the problem of this fungal disease had been solved through the use of genetic resistance. However, the pathogens causing the rust change rapidly, often by mutation and the detection of a new, virulent race of stem rust called Ug99 in Uganda has raised major concerns. The Ug99 has spread to the wheat growing areas of Kenya, Ethiopia, Yemen, Iran, Sudan, Eritrea, Tanzania, South Africa, Zimbabwe, Mozambique and South Africa. It is predicted to spread towards North Africa, Middle East, Asia and beyond, raising serious concerns of major epidemics that could destroy the wheat crop in various parts of the world. More variants of race Ug99 (TTKSK): TTKST, TTTSK, PTKSK PTKST, show that Ug99 is evolving.
Regular monitoring, sampling, identification and genetic characterization of the races provide knowledge on the pathogen population dynamics and evolution. The information generated through Ruth's study is useful to the wheat breeding team both nationally and internationally.
"Securing the ABCF fellowship was a great achievement for me. The moment I got the fellowship, I enrolled for PhD studies at Egerton University and am using part of the results generated during the placement to write my thesis. I don't think I would have been able to enrol for my PhD without this fellowship.
Through the fellowship, I acquired the skills to address yet another wheat rust disease - yellow rust, an equally economically important fungal disease globally. I have been able to transfer the skills I learned to one of the young women scientists I mentor and who is enrolled for a PhD through a joint research proposal I wrote with scientists in the UK and India.
The knowledge and skills I acquired at the BecA-ILRI Hub, the backing from AWARD and from all the donors who support the two institutions are such a blessing to my career. Thank you BecA for being there for African scientists!"
Dawit Beyene Kidanemariam is a researcher at the Ethiopian Institute of Agricultural Research (EIAR) and PhD student at Queensland University of Science and Technology, Australia. He is a recipient of the BecA-ILRI Hub's Africa Biosciences Challenge Fund (ABCF) fellowship.
Dawit Beyene was awarded a fellowship for a period of six months from 16 July 2012 – 14 January 2013 to study the occurrence and distribution of viral diseases of taro in Ethiopia.
The main objective of this project was to determine the identity and incidence of viruses associated with taro in Ethiopia. The results of the study show that there is a high infestation of taro plantations by Dasheen mosaic virus (DsMV) and possibly two new viruses. Further investigation of these viruses is still in progress.
"The preliminary results from my research at the BecA-ILRI Hub gave more insight to the extent of the problem of viral diseases not only in taro but also in other vegetatively propagated crops in Ethiopia. I have given three practical trainings and three seminars to researchers from different laboratories on plant virus diagnostics in planting materials before dissemination to farmers.
A bigger project to address the problem of taro viruses in the region has been designed and I will undertake part of the research for this project as my PhD studies funded by an Australian Awards for Africa scholarship. My PhD which will be co-supervised by a BecA-ILRI Hub scientist will be carried out partly at Queensland University of Science and Technology, Australia and at the BecA-ILRI Hub. The manuscript developed from my work during the ABCF fellowship is currently under preparation before submission for publication.
My growth as a researcher and the skills I am now using for my PhD research are thanks to the time spent at the BecA-ILRI Hub. In addition, the contacts I developed and the scientific circle I now belong to are an important component of my career development. I could never forget the BecA -ILRI Hub Team!"
Christian Keambou was awarded a fellowship for a period of four months from 15 January – 26 May 2012 to study the diversity of indigenous chicken populations of Cameroon, and to link molecular data to the phenotypic data previously collected in the country.
Local chicken are the most widespread livestock in rural Africa, present in 85% of rural households. They present a unique opportunity for savings, investment and guard against risk for smallholder farmers in developing countries as they are technically and financially easy to breed and are mostly kept by women and children. Indigenous chicken are a high quality protein source for the family and a living asset which can quickly be liquidized in case of financial emergency. However, the productivity of local breeds of chicken is low as compared to that of commercial breeds. Increased production of local chicken in Cameroon as in other developing countries can act as a pathway to alleviate food insecurity and poverty amongst smallholder farmers.
This study was focused on understanding the different physical and genetic traits of indigenous chicken which can make them better performers in terms of disease resistance and meat and egg production. Findings from the study will constitute the basis for efficient decision making for conservation and genetic improvement.
"While at the BecA-ILRI Hub, I developed a concept note for the Africa-Brazil Agricultural Innovation Market Place. My concept note interested researchers from Brazilian Enterprise for Agricultural Research (Embrapa) Pantanal, Brazil and together we wrote a proposal on "Development and sustainable breeding of local chicken for improved productivity under local alternative feed management system and health control" that was selected for funding.The project is being implemented successfully in the South West and Western regions of Cameroon as well as in rural Brazil.
Thanks to the ABCF fellowship, I finalized and successfully defended my PhD and won the Africa Brazil grant. Both theses achievements contributed to my promotion from Assistant lecturer to Senior lecturer. Now many lecturers and students at my home institution and other national universities can benefit from my experience."
Fatuma Ali Mzingirwa is a scientist with the Kenya Marine and Fisheries Research Institute and a MSc Student at the Moi University in Kenya. She is a recipient of the Africa Biosciences Challenge Fund (ABCF) fellowship.
Fatuma's was awarded a two and a half month fellowship from 1 March - 21 May 2013 at the BecA-ILRI Hub to enable her carry out a study on the genetic population structure of Crimson jobfish (Pristipomoides filamentosus) in South West Indian Ocean using samples collected from Kenya, Tanzania, Madagascar, Comoros, Seychelles, Mauritius and South Africa.
The Crimson jobfish is a commercially important tropical snapper that is caught with hand-lines, electric fishing reels, and deep-water gill nets. The Crimson jobfish is commonly targeted by fishermen and its aggressive nature and relatively large size makes it more vulnerable to fishing gear. The low growth rates, natural mortality and prolongation in the attainment of sexual maturity of this fish species make it particularly vulnerable to overfishing.
The outcome of this research will contribute to the development of long term conservation and management initiatives for Crimson jobfish in South West Indian Ocean region.
"My fellowship at the BecA-ILRI Hub enabled me acquire skills in molecular biology which are now additional expertise for the Kenya Marine and Fisheries Research Institute in the area of genetics research. These skills will contribute to the development of a molecular laboratory at the institute.
I developed a proposal on connectivity of Mangrove jack commonly known as red snapper in the marine protected areas and the open fishing zones, which is currently under review. I am also working in collaboration with colleagues from my home institute to develop a proposal on the assessment of marine biodiversity of the East African coast which will entail identification of new species, barcoding of marine species and determining population structure of commonly occurring species using molecular techniques.
I owe the BecA-ILRI Hub for the successful completion of my MSc research; the paper I have written and which is still under review; and for the acquisition of knowledge and skills that I will continue to use as I grow in my career."


This app insider interview is with Dr. Justin from JustinHealth.com.
You're going to get cool biohacks like cold laser, AMP-UP, In-Balance and Whole Body Vibration to magically restore movement and heal injuries fast.
Be sure to check out this AMP-UP for healing video that we discuss.


Our client is the leading specialty retailer of women's apparel and accessories. With an exciting, fast-paced company culture, they are refreshingly inclusive and collaborative with creativity and ideas ever flowing.
The Freelance Assistant Handbag Designer will support the design process from concept and development through production. They will support the team to execute new styles while working in the moderate price point of the brand.
· Hand sketch and create flats for handbags. Majority of sketching is done in Illustrator.


text:
Q: How could I use two (wifi and lan) mac address for single ip in dhcp? In my office we using both WiFi and LAN if I am set IPv4 automatic it is coming a different ip are coming.
In my server I able give single MAC address if I give LAN mac its coming properly for LAN not for WiFi and if I am set WiFi MAC address WiFi working fine not LAN
How could we use a single IP for both MAC address?

A: You can set the WiFi MAC to spoof your LAN MAC. This will not allow you to use both interfaces at the same time, but if you only use one at a time, both interfaces should receive the same IP address from your DHCP server.
I am not sure, however, how to do this on Windows.


The artist Christo is planning to erect a canopy of silvery fabric over a six-mile-long section of the Arkansas River that flows through Bighorn Sheep Canyon in Colorado. But some local people object to the project, called "Over the River," because of the amount of construction required to install it. As you know, Christo is famous for wrapping things in fabric – everything from an island near Miami to a bridge in Paris to the Reichstag in Germany. In this case, rafters paddling their boats on the river would look up through the translucent fabric, and others would look down at the covered section from vantage points on the canyon slopes above.
What is it about these art installations of Christo's that is so enthralling? How is it that covering up an object of beauty and grace, or interrupting it – as was the case with installations like Running Fence in California, or The Gates in Central Park (the only one of Christo's installations I have seen in person), somehow allows us to experience it in a new way?
Part of the magic of Christo's art is that he has taken a form – the veil – that is fundamentally about obscuring and made it function in such a way that his veils are fundamentally revealing. Christo puts a veil between us and the world around us, and we see something we have never seen before, experience something we have never experienced before. I can tell you that was my experience of The Gates. I spent part of my childhood going to Central Park nearly every day, and yet when I went there to see The Gates, the Park, and the people in it, were transformed; it was as though it was an almost entirely new park.
To defend himself Paul takes up an argument that he might have borrowed from Christo: If my Gospel is veiled, if it seems to be obscured, it only seems so to those who are perishing, to those who are stuck in the old way of seeing, the old way of believing, the old way of living, whose eyes have been blinded by the devil from seeing what lies beyond the veil. This is a self-serving argument for Paul, but never mind, because the fact of the matter is that the Gospel is often unclear to people in our own day and age. You might say that the one thing most Christians could agree on is that the Gospel is broadly misunderstood – by other Christians who see it differently than I see it, by non-believers who may barely see it all or see a warped version of it, and by un-believers who delight to call it something that it is not.
Has the Good News of God in Christ been so veiled that it is difficult to see, difficult to hear? Can we even recognize it for what it is? Do you, who come to church week by week, know what is the meaning of the Gospel? Or is there a veil across it that prevents even your hopeful eyes from seeing it for what it is?
What does it mean to believe that Jesus Christ is the Son of God, the Saviour of the World? Or is this old question so veiled in mystery and the checkered history of its supposed guardians that it has become hopelessly and irretrievably veiled?
To answer that question, I wish we could all be together on a raft in the Arkansas River. I wish we could feel the power of the water carrying us along on our journey, and the refreshing splash of its spray, and the interplay of fear and thrill as we are carried over white water. I wish we could be propelled over churning water with the sense that life is a river, with the fast, cold water below, and the clear, warm sky above us.
Travel even a beautiful river often enough and you will begin to take its beauty and its power and its life for granted – this is the human story. You will begin to think that life is not about the river and the mysterious and wonderful forces that keep it moving; you will begin to think that life is about you, and you may begin to think, on the one hand, what a terrifically skilled and quite handsome navigator of the river you have become, or on the other hand, what a hopeless and quite ugly traveler of its waters you have become.
And one day you will be gliding along in your raft, or you will be picking your way across the rocks at the bank, and you will slip and fall into the river.
Perhaps there is a waterfall down river from where you have fallen in. Perhaps you know it; perhaps you don't. But the water is cold and moving fast now, and you are not in control, although you are able to stay afloat. You are struggling to keep your feet downstream, so as to push off any rocks with your legs as you were taught to do the first time you stepped into a raft a long time ago. The river keeps pushing you around, though, twirling you through the water. And you are sometimes staring into the dark rush of water, and sometimes watching the steep banks go rushing by, and sometimes gazing up at the clear blue sky above you. And you are trying to remember if there is a waterfall up ahead, and how far a drop it is, and whether or not you could survive being carried over such falls. And you are trying to remember whether or not the river slows down between where you are now and where the falls may or may not take you plunging to your death.
You are wondering if there is a tree with a branch hanging low over the river that you could grab onto. You are trying to figure out if you could get close to the banks to reach up to such a branch if it existed. And there is the water beneath you, and the steep canyon along side you, and the distant, brilliant blue sky above you, and there seems to be not much else in the world.
And momentarily it occurs to you that you should pray, you should call upon God to save you, because, you have been taught to treat God like an emergency safety device: break glass and pull lever in the event of an emergency. But you realize that thinking of God in this way has left you almost completely unprepared to pray, and nearly unwilling to rely on the possibility that there is a God and that if there was, he would be interested in plucking you from the water to save you.
Long ago you stopped trying to swim, knowing that it would exhaust you in this fast-moving water. And the water now seems to be moving faster, and the rocks are bigger and easier to smash into, and, wrack your mind though you may, you cannot remember if there is a big waterfall ahead, you cannot picture it, but you think there must be. It begins to dawn on you that this journey can only possibly end one way at the bottom of the falls. So what's the point in trying to pray now anyway?
The river is moving fiercely now, and you are swallowing water as you flail on your way, and it dawns on you how casually you treated the river all these years – never seeing it as a river that could carry you to life or to death, it was just there.
And as you are beginning to regret how careless you were, and as you are beginning to think that you just have to give yourself over to the river, because the river is in charge, more powerful than you, and a force of nature, after all, - just then, there comes a wide bend in the river that opens into slower-moving water. And you find that you are flipped over onto your back, floating head-first downstream (which is dangerous because of the rocks, but you haven't the strength left to fight it).
And your arms are stretched out on either side of you, your feet pointed upstream, your head is tilted back so you can breathe, and your eyes are open and you can see the clear blue sky, but above you, in between you and the endless sky above, is a canopy of silvery fabric, supported on light steel arms that required, it must be admitted, a lot of construction to get them there. And you discover that you can float downstream quite safely this way now; the water has slowed. But you are exhausted and really unable to do anything but be carried along now.
And you reach out your hands toward the shimmering fabric above where the words are already disappearing. And quite magically the fabric reaches out to enfold you. and collect you from the water, and swaddle you, to dry you, and to warm you, and to lift you out of the water and place your feet safely on dry ground, high enough up on the steep canyon walls to see a waterfall ahead of you, and behind you a long stretch of river with a canopy hanging over it like a veil, which you would think obscures the river, and makes it harder to see for what it is. But, in fact, you can see that the veil covers precisely that section of the river in which you were saved, and you can tell that it was in the fabric of that veil that you were swaddled and lifted to safety.
And you know that light is shining in your heart, and a veil has been lifted, and you believe.
Posted on February 21, 2012 by Sean Mullen.


Best of luck and enjoy the vacation LOL!
Stephen,Good luck with the job,I was there 1965 thur 1968,The Beer is great but the Weather,oh well can,t have it all,Thanks for all the trade,s,You are Great to deal with.
Robert, I was there from 1976 to 1979 and drank more beer than I knew what to do with(Even though I wasn't old enough). I guess thats why I don't drink now been sober for 18 years. I'll enjoy the slopes in the Alps with the way the weather will be.
Dan, Thanks and I think I'll enjoy the little vacation.
You already know my feelings... I sure will miss the "King of Promos" and our many LOOOOOONG talks over these many, many years. You take care and enjoy your 'vacation'. Be sure to teach the kids EVERYTHING you can about the area and it's history while you're there.
Gonna miss ya for sure so we'll have to figure out how to yak a bit now and then.
Take care of you and the family!!! Talk to you soon!!!
Buddy! It has been quite sometime (Lots of years). I'm sure we will be talking from time to timewhether its a phone call or over the net some how. I just hate it that I didn't get a chance to make it to CINNNNAMMMMMINNSON to take you out for lunch or something on the way to my Uncle's house.
I'll get the kids involved in the history and maybe I'll get Dylan up to Ireland to see where the Titantic was built.
Take care and please lets stay in touch.


Sadly on Wednesday 4th May, Cllr Ed Townsend passed away. Under his guidance he energised what was a very old and staid local party into the dynamic organisation that went from no council seats in 1999 to 10 in 2008 and a share in the running of Newport City Council. He brought to the local party a professionalism in campaigning: Focus newsletters were written and delivered all year round, new members and prospective councillors were recruited, knock and drop questionnaires, web pages, use of canvas data, etc. Indeed from 1999 until March 2016 Ed must have written something like 250 focuses. In a political party where most people use 10 words when one would do, over-intellectualise everything, his background in local journalism resulted in clear and concise prose, something most of us can only dream of. You can read details of the impact he had on Newport here.
Soon there will be a by election in the ward. It is a three member ward and Ed Townsend was the only one of our candidates to hold onto his seat in 2012, wining by only one vote after three recounts. We are going to need all the help we can to hold on to the seat in his memory.
As you can imagine our finances as a local party are tight after the Welsh Assembly election and any donation you could give to help us fight this by election would be greatly received.


Round of 16 defeat Kateryna Bondarenko 6-2 1-1 ab.
Semi-Finals defeated by Anastasija Sevastova 6-1 ab.
Qualifications - First Round defeated by Fanny Stollar 6-3 3-0 ab.
Round of 32 defeated by Varvara Lepchenko 6-4 4-0 ab.
First Round defeated by Angelique Kerber 6-0 1-0 ab.
First Round defeat Shuai Peng 6-0 3-0 ab.
First Round defeated by Alizé Cornet 1-0 ab.
Round of 16 defeat Sabine Lisicki w.o.
Round of 32 defeated by Anastasia Pavlyuchenkova 6-1 4-1 ab.
Round of 32 defeated by Sorana Cirstea 6-4 ab.
Round of 16 defeated by Carla Suárez Navarro 6-4 3-0 ab.
Round of 32 defeat Kiki Bertens 6-4 ab.
First Round defeat Anastasia Pavlyuchenkova 5-7 6-4 3-0 ab.
Round of 16 defeated by Melanie Oudin w.o.
Quarter-Finals defeat Agnès Szavay 6-1 0-1 ab.
Round of 16 defeat Alexandra Dulgheru w.o.
Round of 32 defeat Ivana Lisjak 6-2 1-1 ab.
Round of 16 defeat Elena Dementieva w.o.
Please note, major results of Polona Hercog is based on data from The-Sports.org and may be incomplete.


text:
Q: Long list of if statements in Java Sorry I can't find a question answering this, I'm almost certain someone else has raised it before.
My problem is that I'm writing some system libraries to run embedded devices. I have commands which can be sent to these devices over radio broadcasts. This can only be done by text. inside the system libraries I have a  thread which handles the commands which looks like this
if (value.equals("A")) { doCommandA() }
else if (value.equals("B")) { doCommandB() }
else if etc.

The problem is that there are a lot of commands to it will quickly spiral to something out of control. Horrible to look out, painful to debug and mind boggling to understand in a few months time.

A: Have an enum of commands:
public enum Commands { A, B, C; }
...

Command command = Commands.valueOf(value);

switch (command) {
    case A: doCommandA(); break;
    case B: doCommandB(); break;
    case C: doCommandC(); break;
}

If you have more than a few commands, look into using the Command pattern, as answered elsewhere (although you can retain the enum and embed the call to the implementing class within the enum, instead of using a HashMap). Please see Andreas or jens' answer to this question for an example.

A: Implementing an interface as demonstrated simply and plainly by dfa is clean and elegant (and "officially" supported way). This what the interface concept is meant for.
In C#, we could use delegates for programmers who like to use functon pointers in c, but DFA's technique is the way to use.
You could have an array too
Command[] commands =
{
  new CommandA(), new CommandB(), new CommandC(), ...
}

Then you could execute a command by index
commands[7].exec();

Plagiarising from DFA's, but having an abstract base class instead of an interface. Notice the cmdKey which would be used later. By experience, I realise that frequently an equipment commmand has subcommands too.
abstract public class Command()
{
  abstract public byte exec(String subCmd);
  public String cmdKey;
  public String subCmd;
}

Construct your commands thus,
public class CommandA
extends Command
{
  public CommandA(String subCmd)
  {
    this.cmdKey = "A";
    this.subCmd = subCmd;
  }

  public byte exec()
  {
    sendWhatever(...);
    byte status = receiveWhatever(...);
    return status;
  }
}

You could then extend generic HashMap or HashTable by providing a key-value pair sucking function:
public class CommandHash<String, Command>
extends HashMap<String, Command>
(
  public CommandHash<String, Command>(Command[] commands)
  {
    this.commandSucker(Command[] commands);
  }
  public commandSucker(Command[] commands)
  {
    for(Command cmd : commands)
    {
      this.put(cmd.cmdKey, cmd);
    }
  }
}

Then construct your command store:
CommandHash commands =
  new CommandHash(
  {
    new CommandA("asdf"),
    new CommandA("qwerty"),
    new CommandB(null),
    new CommandC("hello dolly"),
    ...
  });

Now you could send controls objectively
commands.get("A").exec();
commands.get(condition).exec();

A: Well I suggest to create command objects and put them into a hashmap using the String as Key.

A: Even if I believe the command pattern approach is more in toward best pratices and maintainable in the long run, here's a one liner option for you:
org.apache.commons.beanutils.MethodUtils.invokeMethod(this,"doCommand"+value,null);

A: i usually try to solve it that way:
public enum Command {

A {void exec() {
     doCommandA();
}},

B {void exec() {
    doCommandB();
}};

abstract void exec();
 }

this has many advantages:
1) it is not possible to add an enum without implementing exec. so you won't miss an A.
2) you will not even have to add it to any command map, so no boilerplate code for building the map. just the abstract method and its implementations. (which is arguably also boilerplate, but it won't get any shorter..)
3) you will save any wasted cpu cycles by going through a long list of if's or calculating hashCodes and doing  lookups.
edit:
if you don't have enums but strings as source, just use Command.valueOf(mystr).exec() to call the exec method.
note that you must use the public modifier on execif you want to call it from another package.

A: You're probably best off using a Map of Commands.
But is you have a set of these to handle you end up with loads of Maps knocking about. Then it is worth looking at doing it with Enums.
You can do it with an Enum without using switches (you probably don't need the getters in the example), if you add a method to the Enum to resolve for "value". Then you can just do:
Update: added static map to avoid iteration on each call. Shamelessly pinched from this answer.
Commands.getCommand(value).exec();

public interface Command {
    void exec();
}

public enum Commands {
    A("foo", new Command(){public void exec(){
        System.out.println(A.getValue());
    }}),
    B("bar", new Command(){public void exec(){
        System.out.println(B.getValue());
    }}),
    C("barry", new Command(){public void exec(){
        System.out.println(C.getValue());
    }});

    private String value;
    private Command command;
    private static Map<String, Commands> commandsMap;

    static {
        commandsMap = new HashMap<String, Commands>();
        for (Commands c : Commands.values()) {
            commandsMap.put(c.getValue(), c);
        }
    }

    Commands(String value, Command command) {
        this.value= value;
        this.command = command;
    }

    public String getValue() {
        return value;
    }

    public Command getCommand() {
        return command;
    }

    public static Command getCommand(String value) {
        if(!commandsMap.containsKey(value)) {
            throw new RuntimeException("value not found:" + value);
        }
        return commandsMap.get(value).getCommand();
    }
}

A: The answer provided by @dfa is the best solution, in my opinion.
I'm just providing some snippets in case you are using Java 8 and want to use Lambdas!
Command without parameters:
Map<String, Command> commands = new HashMap<String, Command>();
commands.put("A", () -> System.out.println("COMMAND A"));
commands.put("B", () -> System.out.println("COMMAND B"));
commands.put("C", () -> System.out.println("COMMAND C"));
commands.get(value).exec();

(you could use a Runnable instead of Command, but I don't consider it semantically right):
Command with one parameter:
In case you expect a parameter you could use java.util.function.Consumer:
Map<String, Consumer<Object>> commands = new HashMap<String, Consumer<Object>>();
commands.put("A", myObj::doSomethingA);
commands.put("B", myObj::doSomethingB);
commands.put("C", myObj::doSomethingC);
commands.get(value).accept(param);

In the example above, doSomethingX is a method present in myObj's class which takes any Object (named param in this example) as an argument.

A: using Command pattern:
public interface Command {
     void exec();
}

public class CommandA() implements Command {

     void exec() {
          // ...
     }
}

// etc etc

then build a Map<String,Command> object and populate it with Command instances:
commandMap.put("A", new CommandA());
commandMap.put("B", new CommandB());

then you can replace your if/else if chain with:
commandMap.get(value).exec();

EDIT
you can also add special commands such as UnknownCommand or NullCommand, but you need a CommandMap that handles these corner cases in order to minimize client's checks.

A: My suggestion would be a kind of lightweight combination of enum and Command object. This is an idiom recommended by Joshua Bloch in Item 30 of Effective Java.
public enum Command{
  A{public void doCommand(){
      // Implementation for A
    }
  },
  B{public void doCommand(){
      // Implementation for B
    }
  },
  C{public void doCommand(){
      // Implementation for C
    }
  };
  public abstract void doCommand();
}

Of course you could pass parameters to doCommand or have return types.
This solution might be not really suitable if the implementations of doCommand does not really "fit" to the enum type, which is - as usual when you have to make a tradeoff - a bit fuzzy.

A: if you have multiple imbricated 'if' statements, then this is a pattern for using a rule engine. See, for example JBOSS Drools.

A: Just use a HashMap, as described here:

*

*http://www.equivalence.co.uk/archives/99

A: if it was possible to have an array of procedures(what you called commands) that'd be useful..
but you could write a program to write your code.  It's all very systematic
if(value='A') commandA(); else
if(........................
e.t.c.

A: I'm not sure if you have any overlap between the behaviour of your various commands, but you might also want to take a look at the Chain Of Responsibility pattern which could provide more flexibility by allowing multiple commands to handle some input values.

A: Command pattern is the way to go. Here is one example using java 8:
1. Define the interface:
public interface ExtensionHandler {
  boolean isMatched(String fileName);
  String handle(String fileName);
}

2. Implement the interface with each of the extension:
public class PdfHandler implements ExtensionHandler {
  @Override
  public boolean isMatched(String fileName) {
    return fileName.endsWith(".pdf");
  }

  @Override
  public String handle(String fileName) {
    return "application/pdf";
  }
}

and
public class TxtHandler implements ExtensionHandler {
  @Override public boolean isMatched(String fileName) {
    return fileName.endsWith(".txt");
  }

  @Override public String handle(String fileName) {
    return "txt/plain";
  }
}

and so on .....
3. Define the Client:
public class MimeTypeGetter {
  private List<ExtensionHandler> extensionHandlers;
  private ExtensionHandler plainTextHandler;

  public MimeTypeGetter() {
    extensionHandlers = new ArrayList<>();

    extensionHandlers.add(new PdfHandler());
    extensionHandlers.add(new DocHandler());
    extensionHandlers.add(new XlsHandler());

    // and so on

    plainTextHandler = new PlainTextHandler();
    extensionHandlers.add(plainTextHandler);
  }

  public String getMimeType(String fileExtension) {
    return extensionHandlers.stream()
      .filter(handler -> handler.isMatched(fileExtension))
      .findFirst()
      .orElse(plainTextHandler)
      .handle(fileExtension);
  }
}

4. And this is the sample result:
  public static void main(String[] args) {
    MimeTypeGetter mimeTypeGetter = new MimeTypeGetter();

    System.out.println(mimeTypeGetter.getMimeType("test.pdf")); // application/pdf
    System.out.println(mimeTypeGetter.getMimeType("hello.txt")); // txt/plain
    System.out.println(mimeTypeGetter.getMimeType("my presentation.ppt")); // "application/vnd.ms-powerpoint"
  }

A: If it does a lot of things, then there will be a lot of code, you cant really get away from that. Just make it easy to follow, give the variables very meaningful names, comments can help too...


When Lynn Hallgren first started working as a customer service associate at Dairy Queen in Richmond in 1979, she never would have expected that she would still be with the company in 2018. "It just happened," she says over the phone from the store, which is now located at 8980 No. 3 Road, and is owned by Rahul Mehta. "A woman named Ellen Mensing was my mentor: she was the older lady in the store and now I'm the older lady!" she laughs.
Over the years Hallgren has picked up a lot of knowledge about the brand, which now offers fast-food lunch and dinner fare including hamburgers, chicken burgers and fries. The brand's beloved made-to-order ice cream cakes, which include Treatzza Pizza and Blizzard versions sets DQ apart.
Along with the tasty treats and exciting challenges the job offers, what has kept Hallgren with Dairy Queen for so long has been the local clientele, many of whom are regulars she has gotten to know quite well. "I had a lady go into labour 20 years ago and now her kids come in all the time," she says.
Hallgren has seen many new ice cream flavour combinations come and go, but she says one that has remained ever-popular is the Oreo Blizzard, which has been a staple since DQ first opened.
Lynn says her store also organizes fundraisers that support local churches and schools by providing them with items for auction, such as ice cream cakes, and coupons at discounted prices. "It makes the schools happy and it makes the customers happy," she says.
One thing's for certain: you'll be sure to receive service with a smile when you order a Blizzard from the Dairy Queen at 8980 No. 3 Road in Richmond. Find this location here.


Babysitters can stop your baby farm animals growing past their adolescent age. If there's a farmhand and you haven't paid, the fee will be taken from your money pouch and the slot will be marked as 'paid'. From that point on, an animal will not progress beyond adolescence unless it or the pen's last remaining babysitter is removed. If you are trying to swap babysitters, place the new one in before removing the old one. This way the fees for existing animals will not be cleared. There are specific babysitters for small, medium and large/generic pens, the fee is 2 beans per use for the small pens, 5 beans per use for the medium pens and 10 beans per use for large/generic pens. A maximum of two of each type can be hired.
Once a pen is full, collectors will gather any further animals that are born. Collectors can hold up to 30 animals from up to 3 species – a total of 90 unchecked animals. After a collector is hired, be sure to talk to her to ensure she begins work. A fee will be taken every time an animal is collected. To claim the animals for yourself, or to check her stock, simply talk to her. Collectors can currently only be allocated to breeding pens.
Trappers will, for a fee, collect a random unchecked animal from the wild and deposit them in one of your pens. They will potentially collect any non-shiny animal in the game, with the exception of Araxyte Spiders. Others, such as Royal Dragons, have an incredibly low chance of being collected. You can find the trapper standing by the house. He's not cheap, though, charging 100 beans per hunt.
All in all, let's have a good day and find enough cheap RS gold from us.


text:
Q: Style an element inside a div on hover of the div I have the following:

h3 {
  color: lightseagreen;
}

p {
  color: rgb(0, 0, 0)
}

.section:hover {
  color: rgb(237, 50, 237)
}

Title

Lorem Ipsum

There's more styling to the hover, but for simplicity I've only included the color property.
Essentially, I want the default color to be the light sea green, but on hover over the section div i want it to be pink.  The p element I want to keep black at all times.
I understand that the h3 ruleset is more specific than the .section:hover ruleset and thus the h3 won't change on hover.  I made another ruleset to apply to h3:hover but that would only change color when I hovered over the h3 block.
How can I get the pink color to apply to the h3 when its parent is hovered?

A: You need to specify the element inside it.
h3 {color: lightseagreen;}
p {color: rgb(0,0,0)}

.section:hover h3 {
  color: rgb(237,50,237)
}

A: Change .section:hover to .section:hover > h3. This will change the color of the h3 when the section is hovered:

h3 {
  color: lightseagreen;
}

p {
  color: rgb(0, 0, 0)
}

.section:hover > h3 {
  color: rgb(237, 50, 237)
}

Title

Lorem Ipsum