text:
'use strict';
var IP4Address = require('./ip4-address');
var checksum = require('./checksum');
var u8view = require('u8-view');
var minHeaderLength = 20;

var nextId = 1;

exports.PROTOCOL_ICMP = 0x01;
exports.PROTOCOL_TCP = 0x06;
exports.PROTOCOL_UDP = 0x11;

exports.getSrcIP = function(u8, headerOffset) {
  return new IP4Address(u8[headerOffset + 12],
                        u8[headerOffset + 13],
                        u8[headerOffset + 14],
                        u8[headerOffset + 15]);
};

exports.getDestIP = function(u8, headerOffset) {
  return new IP4Address(u8[headerOffset + 16],
                        u8[headerOffset + 17],
                        u8[headerOffset + 18],
                        u8[headerOffset + 19]);
};

exports.getProtocolId = function(u8, headerOffset) {
  return u8[headerOffset + 9];
};

exports.getHeaderLength = function(u8, headerOffset) {
  return (u8[headerOffset] & 0xf) << 2;
};

exports.getFragmentationData = function(u8, headerOffset) {
  return u8view.getUint16BE(u8, headerOffset + 6);
};

exports.getIdentification = function(u8, headerOffset) {
  return u8view.getUint16BE(u8, headerOffset + 4);
};

exports.fragmentationDataIsMoreFragments = function(value) {
  return !!((value >>> 13) & 0x1);
};

exports.fragmentationDataIsDontFragment = function(value) {
  return !!((value >>> 14) & 0x1);
};

exports.fragmentationDataOffset = function(value) {
  return (value & 0x1fff) * 8;
};

exports.minHeaderLength = minHeaderLength;

exports.write = function(u8, headerOffset, protocolId, srcIP, destIP, packetLength) {
  var version = 4; // IPv4
  var IHL = minHeaderLength >>> 2;
  var byte0 = ((version << 4) | IHL) >>> 0;

  u8[headerOffset] = byte0;
  u8[headerOffset + 1] = 0; // ToS
  u8view.setUint16BE(u8, headerOffset + 2, packetLength);
  u8view.setUint16BE(u8, headerOffset + 4, ++nextId); // ID
  u8view.setUint16BE(u8, headerOffset + 6, 0); // No fragmantation
  u8[headerOffset + 8] = 64; // TTL
  u8[headerOffset + 9] = protocolId; // Protocol ID
  u8view.setUint16BE(u8, headerOffset + 10, 0); // Checksum 0
  u8[headerOffset + 12] = srcIP.a;
  u8[headerOffset + 13] = srcIP.b;
  u8[headerOffset + 14] = srcIP.c;
  u8[headerOffset + 15] = srcIP.d;
  u8[headerOffset + 16] = destIP.a;
  u8[headerOffset + 17] = destIP.b;
  u8[headerOffset + 18] = destIP.c;
  u8[headerOffset + 19] = destIP.d;
  u8view.setUint16BE(u8, headerOffset + 10, checksum(u8, headerOffset, minHeaderLength, 0));
};

redpajama_set_name: RedPajamaGithub


text:
Sandoz receives first approval for Airflusal® Forspiro®
Munich, December 18, 2013 - Sandoz announced today that it has received Danish marketing authorization for AirFluSal® Forspiro®, an innovative new inhaler for patients with asthma and/or chronic obstructive pulmonary disease (COPD). The Danish approval follows the completion of EU decentralized procedures (DCP) for eight EU countries, including Denmark.
Novel inhaler approved for patients with asthma and COPD
Approval follows completion of EU decentralized procedure (DCP)
AirFluSal® Forspiro® strengthens Sandoz respiratory portfolio and reinforces company leadership in differentiated products
AirFluSal® Forspiro® offers the proven combination of salmeterol (a long-acting inhaled β2-agonist) and fluticasone (an inhaled corticosteroid) in an innovative new inhalation device. The product's safety, efficacy and equivalence have been proven in multiple clinical trials. Denmark has approved both mid and high-strength dosage forms (50-250µg and 50-500µg) for the continuous treatment of patients above 12 years of age with persistent asthma or for symptomatic treatment of COPD in the same patient group.
"The first approval of AirFluSal® Forspiro® is a key element of our strategy to introduce differentiated generic medicines," said Jeff George, Global Head of Sandoz. "This innovative new respiratory device underscores Novartis's commitment to asthma and COPD patients and further strengthens Sandoz' global leadership in differentiated products, which comprised 43 percent of our sales in 2012."
AirFluSal® Forspiro® was developed at Aeropharm GmbH in Rudolstadt, Germany, Sandoz' global respiratory Center of Excellence. Sandoz collaborated with UK-based Vectura, a respiratory product development company, in the design and development of the product. The innovative and intuitive to use design of the inhaler was awarded the Red Dot Product Design award in 2011, an internationally recognized quality seal awarded by the Design Zentrum Nordrhein Westfalen in Essen, Germany.
In order to improve patient experience with inhalation devices, Sandoz collaborated closely with patients during the development of AirFluSal® Forspiro®. The device features an innovative, patient-friendly design, including multiple feedback mechanisms:
Visual control features which helps reassure the patient about dosing
Simple lever arm to load the dose
Clear and accurate dose counter
Disclaimer
This press release contains forward-looking statements that can be identified by terminology such as "strategy," "commitment," or similar terms, or by express or implied discussions regarding potential additional marketing approvals for AirFluSal Forspiro, or regarding potential future revenues from AirFluSal Forspiro. You should not place undue reliance on these statements. Such forward-looking statements are based on the current beliefs and expectations of management regarding future events, and are subject to significant known and unknown risks and uncertainties. Should one or more of these risks or uncertainties materialize, or should underlying assumptions prove incorrect, actual results may vary materially from those set forth in the forward-looking statements. There can be no guarantee that AirFluSal Forspiro will be submitted or approved for sale in any additional markets, or at any particular time. Nor can there be any guarantee that AirFluSal Forspiro will receive regulatory approval or be commercially successful in the future. In particular, management's expectations regarding AirFluSal Forspiro could be affected by, among other things, the uncertainties inherent in research and development, including unexpected regulatory actions or delays or government regulation generally; unexpected clinical trial results and additional analysis of existing clinical data; general economic and industry conditions; global trends toward health care cost containment, including ongoing pricing pressures; unexpected manufacturing issues, and other risks and factors referred to in Novartis AG's current Form 20-F on file with the US Securities and Exchange Commission. Novartis is providing the information in this press release as of this date and does not undertake any obligation to update any forward-looking statements as a result of new information, future events or otherwise.
About Sandoz
Sandoz, the generic pharmaceuticals division of Novartis, is a global leader in the rapidly growing generics industry. Sandoz employs over 26,000 employees in more than 140 countries, offering broad range of over 1,000 high-quality, affordable products that are no longer protected by patents. With USD 8.7 billion in sales in 2012, Sandoz holds the #1 position globally in biosimilars as well as generic injectables, ophthalmics, dermatology and antibiotics as well as strong positions in the treatments for central nervous system disorders, gastrointestinal medicines, cardiovascular treatments, and hormone therapies. Sandoz develops, produces, and markets these medicines along with pharmaceutical and biotechnological active substances. In addition to strong organic growth since consolidating its generics businesses under the Sandoz brand name in 2003 , Sandoz has benefitted from strong growth of its acquisitions including Lek (Slovenia), Sabex (Canada), Hexal (Germany), Eon Labs (US), EBEWE Pharma (Austria), Oriel Therapeutics (US), and Fougera Pharmaceuticals (US).
Sandoz is on Twitter. Sign up to follow @Sandoz_global at http://twitter.com/Sandoz_Global.
Eric Althoff
Novartis Global Media Relations
[email protected] Sreejit Mohan
Sandoz Head Biopharma & OI
Novartis Investor Relations:
Central phone: +41 61 324 7944
Samir Shah +41 61 324 7944
Pierre-Michel Bringer +41 61 324 1065
Thomas Hungerbuehler +41 61 324 8425
Isabella Zinck +41 61 324 7188
Stephen Rubino +1 862 778 8301
Jill Pozarek +1 212 830 2445
Susan Donofrio +1 862 778 9257
1Kuna, I. Gath, U. Thyroff-Friesinger, S. Jones. Equivalence of fluticasone propionate/salmeterol delivered via new multi-dose dry powder inhaler and accuhaler™ in adolescent and adult asthma. ajrccm-conference.2013.187.1_MeetingAbstracts.A2611
2Sandoz data on file

redpajama_set_name: RedPajamaCommonCrawl


text:
Shot on location
in Munich at Karl & Faber
open full image
ART AUCTIONEERS
—AN INTRODUCTION TO THE AUCTION HOUSE
Buying art. The interest in owning art is probably more marked in our time than ever before. Art is in circulation. Across epochs. Different movements, types and positions – the focus varies depending on the collector and the personal preferences. But collectable is in fact everything.
There are plenty of art fairs and galleries around the world with a remarkable focus on sales. However, the auction house has a special position here. The world of art auctioneering is exciting, special and can be quite captivating. A very unique world of its own. But that's what makes it so fascinating. For more insights I visited one of the most renowned houses for art auctions in Germany: KARL & FABER in Munich.
KARL & FABER is particularly well known for its Old Master sector, which is one of the most leading in Europe in the field of graphic art. For decades, the house has helped shape the development of the market for 19th century art and has devoted itself to the art of this era with great success. The Modern Art department represents works by German and international artists, here KARL & FABER achieves top prices for key works of classical modernism and the international avant-garde. In addition, the house brings works by the most important artists of our time under the hammer. In the field of art after 1945 and contemporary art, KARL & FABER is held in high esteem by connoisseurs at the national and international level. Due to the special quality, the variety of the offer and the strong results, it is now also one of the leading auction houses in continental Europe in the field of contemporary art.
The auction house holds at least six auctions each year at its main location. Each auction focuses on a specific period. This includes all types of art: paintings, watercolors, sculptures and objects, as well as graphics and drawings. In addition to the auction sales, KARL & FABER regularly organizes sales exhibitions of modern and contemporary art. An interesting fact: Since spring 2019, the house has also been organizing online only auctions. Here you can discover works with an estimated price of up to 1.500 euros – perfect for first-time buyers.
The next auction will take place on 16th July at the main location in Munich. This time, KARL & FABER will put the focus on modern and contemporary art. For this occasion, I have selected and curated my personal favorites in the first edition of the Curated Selection at KARL & FABER. The live auction can also be followed as a livestream.
For this occasion, I have selected and curated my personal favorites in the first edition of the Curated Selection at KARL & FABER.
Path and Edges
For me, Richard Serra is one of the most important contemporary sculptors. His large-format metal sculptures are characterized by the ambivalence of weight and lightness – in his work, steel, weighing tons, is transformed into visually light minimalism. His work focuses particularly on organically shaped objects and site-specific sculptures. But Serra also dedicates himself to painting and printmaking, which are directly in dialogue with his large-format sculptures. The etching Path and Edges shows curved lines that immediately bring to mind Serra's Torqued Ellipses sculptures.
FRANCO VIOLA
Memorie II
Monochrome color and abstract forms – to me there is almost no better combination for a decorative work of art. But there is so much more to Franco Viola's work Memorie II: his background lies in landscape painting and in exploring nature. Motifs that are influenced by romanticism as well as by personal experiences, perceptions and memories. Even if we do not see an exact depiction of nature here, the title of the "memory" conveys a melancholy moment and thus, for me, draws a connection to Viola's graphic landscape works.
EDUARDO CHILLIDA
Lurra G-12
As a collector of objects, I became immediately attracted to the work Lurra-G-12 by Eduardo Chillida, which is one of my absolute highlights of the auction. In addition to his room-sized sculptures, Chillida also occasionally created small sculptures from wood, granite, alabaster and metal. In 1973, he began using the refractory chamotte clay, which particularly characterizes the Lurra series: cuboidal objects with notches and cuts. Puristic and simple, but also decorative.
Untitled (Personnages)
Even though my main field of interest is contemporary art, Joan Miró, as a representative of classical Modernism, is one of my favorites of the movement. I had my first contact with Miró after reading André Breton's surrealist novel Nadja (1928). For me, it served as an introduction to Surrealism and got me excited to further explore Modernism, Dadaism and also Joan Miró. The etching Untitled (Personnages) shows figurative forms which, for me, represent the epitome of his work – enigmatic, abstract and unmistakable.
ADOLF LUTHER
Ensemble with two round concave mirrors
Artistic positions, which have an interdisciplinary background, are particularly fascinating to me. The two-part object Ensemble von zwei konkaven Rundspiegeln (1968 and 1969), a work by Adolf Luther, is one of my favorites. Luther, who also had a doctorate in law and was a judge, devoted his work to light art. His approach: to make light visible and tangible through installations. Ensemble of two concave round mirrors, creates this – depending on the orientation – by mirroring and reflection.
Explore the lots 996
I first discovered the famous paper cuts of Lucio Fontana's Concetto Spaziale Attese series at the Art Basel in Miami. The interaction between destruction and illusion has always fascinated me. The abolition of the traditional two-dimensionality of the canvas is the focus of his paper works. Untitled (Concetto spaziale) (1964/65) even goes one step further in my opinion. Here, the paper cuttings look more like a perforation, which – due to their geometric arrangement – create a completely new perspective.
GERHARD RICHTER
The abstract composition Ohne Titel (1989) by Gerhard Richter is definitely a highlight of the auction. Richter's monochrome squeegee works are among my favorites of his oeuvre – they are a contrast to his highly prominent figurative work. In particular, the "randomness" that arises when the tool is pulled off over the oil paint makes Ohne Titel (1989) a showpiece of the auction.
Box for Monkeys
The surreal visual universe of David Lynch has been with me for over 15 years. His works, especially his cinematic work, fascinated me so deeply that I dedicated my master thesis to the nightmarish reversal of the "American Dream" in Blue Velvet (1986) and Twin Peaks (1990-1991). For me, Box for Monkeys (1988) perfectly visualizes the cinematic moment of the "uncanny" (Freud), a stylistic element often used by Lynch in his cinematic oeuvre. He leaves space for interpretation and uses the "invisible" (merely the image of a box, but intended for a monkey) as a motif of uncanny suspense.
Untitled (Stele)
What I particularly like about Günther Förg's work is his interest in 20th century architecture, which has had a exeptional shaping effect on his black and white photographs. Organic as well as geometric forms of modern architecture (e.g. Bauhaus in Tel Aviv) were the focus of Förg's photographic work. His wide-ranging oeuvre includes architectural photography, painting, drawing and prints as well as plastics. For me, his sculptures are illustrations of a contemporary confrontation with space, construction and object.
GIANPIETRO CARLESSO
Deconstruzione XII
When I discovered the marble sculpture by Gianpietro Carlesso in the auction catalogue, I immediately felt taken back to my San Francisco stay last year – Deconstruzione XII seems like a miniature of Armand Vaillancourt's Vaillancourt Fountain, a fountain on Embarcadero Plaza in downtown San Francisco. One of my favorite places in the city. The three-dimensional sculpture of Carlesso (as well as the fountain) is particularly captivating because of its deconstructive form and rough surface – the alternation between evenly polished and rough, unaltered red marble gives the structure an aesthetic state of tension.
In the 30th auction of the house, art was auctioned for the first time. Louis Karl, the son of Georg Karl, joined the company as auctioneer in 1961 and took over the business ten years later as owner.
In 1923, the art historian Georg Karl and the Germanist Curt von Faber du Faur founded the auction house in Munich. Initially, the main focus of the art and literature antiquarian bookshop was on book sales and auctions. The first auction took place in 1927. A year later, Curt von Faber du Faur accepted the offer of a professorship at Yale and left the operative business. Georg Karl managed the business alone from then on.
In the 30th auction of the house, art was auctioned for the first time. Louis Karl, the son of Georg Karl, joined the company as auctioneer in 1961 and took over the business ten years later as owner. Over the years, he shifted the main focus of the house from books to art and initiated the start of modernism. An intensive partnership with American collectors began, which continues to the present day. Louis Karl also showed regular exhibitions and auctioned collections with great success, such as those of the publisher Reinhard Piper, who was a friend of the artists Barlach, Beckmann and Kubin.
Rupert Keim and his family acquired the company in 2003. The range of contemporary art was expanded and the network grew to include representative offices. With its head office in Munich, branches in Hamburg and Düsseldorf and representative offices in Tegernsee, Basel, London, Milan, Vienna and New York, KARL & FABER today operates on the international art market. Through worldwide contacts, art objects are offered specifically to private collectors, museums and qualified dealers around the world. In 2019 the clientele came from a total of 92 countries.
Since 2008, the company has been awarding the KARL & FABER Art Prize every three years together with the Foundation of the Munich Academy of Art. The house is also committed to Munich as an art location as a long-standing partner of the PIN.party, as a partner of the initiative for contemporary art Various Others and, since 2017, as a sponsor of the experimental art space Loggia. In addition, KARL & FABER repeatedly supports art projects such as this year's exhibition "Anselm Kiefer – Opus Magnum" at the Franz Marc Museum at Kochel am See.
This article contains brand links, you can read more about them in our privacy policy.
This article is part of a paid partnership with Karl & Faber.
Copyright 2022 TDR
https://www.thedashingrider.com/wp-content/languages/de-en.html


text:
!
! This file is released under terms of BSD license
! See LICENSE file for more information
!
! Simple program to test the loop-fusion directive with collapse clause
!

PROGRAM LOOP_FUSION
  CALL clawloop
END

SUBROUTINE clawloop
  IMPLICIT NONE
  INTEGER :: i
  INTEGER :: j
  INTEGER :: k

  !$claw loop-fusion collapse(2)
  DO i=1,5
    DO j=1,4
      DO k=1,2
        PRINT *, 'First loop body:',i,j
      END DO
    END DO
  END DO

  !$claw loop-fusion collapse(2)
  DO i=1,5
    DO j=1,4
      DO k=1,2
        PRINT *, 'Second loop body:',i,j
      END DO
    END DO
  END DO
END


text:
Q: Change multiple elements simultaneously I have a button which upon clicking, should make the password field blank. I also intend to change the text of the button from Change Password to Save password at the same time. In short, I would like these changes to happen at the same time. I have taken a toggle variable using which I'm able to change the text of the button but do not know how to do the same for the password field.
Here is my code:
import { useState } from "react";
import { useHistory } from "react-router";

const User = () => {
    const [username, setUsername] = useState()
    const [password, setPassword] = useState()
    const [toggle, setToggle] = useState(false);

    const history = useHistory();

    const login = () => {

        // if (username === 'admin' & password === 'admin') {
        //      history.push('/home')
        // } else {

        //     alert('wrong credentials')

        // }
        setToggle(!toggle);
    }

    return (
        <>

                UserName:
                <input
                    className="form-control"
                    type='text'
                    id="username"
                    name="username"
                    value={username}
                    onChange={(evt) => setUsername(evt.target.value)}
                />

                Password:
                <input
                    className="form-control"
                    type='text'
                    id="password"
                    name="password"
                    value={password}
                    onChange={(evt) => setPassword(evt.target.value)}
                />
                <button className="btn btn-primary mt-5 " onClick={login}>{toggle ? 'SavePassword' : ' change password '}</button>
                <button className="btn btn-primary mt-5  ml-5  pull-right" onClick={login}>Log out</button>

        </>
    )

}
export default User;

A: Fastest answer is:
const login = () => {
   setPassword('');
   setToggle(!toggle);
}

This solution has a problem: every time you run login function your component is re-rendered twice.
To avoid this, there are several ways; the first one could be join username, password and toggle into the same state. Something like:
const [state, setState] = useState({
   username: null,
   password: null,
   toggle: false
});
...
const login = () => {
    setState((prevState) => {
      return {
         toggle: !prevState.toggle,
         username: prevState.username
         password: "",
      }
    });
}

redpajama_set_name: RedPajamaStackExchange


text:
Front Page Politics WorldNEW WORLD DISORDER
U.N. advances global governance with climate accord
Heads of state gather to sign Paris agreement
By Jerome R. Corsi
Published April 22, 2016 at 9:01pm
UNITED NATIONS – The United Nations in New York held a signing ceremony Friday in which heads of state, foreign ministers and government officials with "formal powers" gathered to sign the 197-nation Paris Climate Agreement.
U.N. insiders understood the signing of the Paris Climate Agreement was intended to affirm the organization's "2030 Agenda for Sustainable Development," a plan to "end poverty, fight inequality and injustice, and tackle climate change by 2030."
It's a plan some critics call a "blueprint for global governance." As WND reported, Agenda 2030 is seen as a "reboot" of the controversial Agenda 21 plan, adopted in 1992, which the U.N. has described as a "comprehensive plan of action to be taken globally, nationally and locally by organizations of the United Nations system, governments and major groups, in every area in which human impacts on the environment."
The agenda was made clear by the U.N. decision to convene a "High-Level Thematic Debate on Achieving the Sustainable Development Goals (SDGs)" to be coincident with the signing of the Paris Climate Agreement.
Don't be fooled any longer -- it's just a power grab. Read "The Greatest Hoax: How the Global-Warming Conspiracy Threatens Your Future."
"We are gathering to discuss SDG implementation on the eve of the signing of the Paris Agreement by a great number of world leaders," U.N. Deputy Secretary-General Jan Eliasson said on the signing occasion. "This is an important signal: the development and climate agendas are inseparable and mutually reinforcing. One cannot be achieved without the other.
"Reducing the effects of climate change is one of the SDGs. But it is also a crucial factor for progress on nearly all other goals," Eliasson continued. "We cannot achieve the SDGs on water, food, cities and transport, for instance, without reducing the risks of climate change.
The signing ceremony included remarks by U.N. Secretary-General Ban Ki-moon, French President François Holland and actor Leonardo DiCaprio, who was listed on the program as a "U.N. Messenger of Peace with a special focus on climate change."
As WND reported in May 2015, both President Obama and the Vatican under the leadership of Pope Francis are equally committed to elevating climate change to a top public policy priority, ahead of issues such as the continued surge of ISIS in Iraq and Syria, and its massacre of Christians.
In so doing, both appear to be ignoring a growing body of scientific evidence challenging the assumptions on which the theory of human-caused "climate change" is based, critics contend.
In U.N. terminology, "climate change" has become a code phrase expressing the globalist argument that human-induced climate change is a scientific reality that can only be reduced by a government-imposed cap on carbon dioxide emissions achieved through systematic replacement of carbon fuels with renewable energies, including wind and solar.
As WND has reported recently, a series of high-visibility solar power plant bankruptcies, including Solyndra, Abengoa S.A., SunEdison and Mojave Desert-based Ivanpah have cast doubt on claims that renewable energies are a sufficiently robust and cost-effective to operate privately without continued dependence on taxpayer-funded government subsidies.
Obama and Pope Francis
WND reported last September President Obama spoke with little fanfare to the closing session of the United Nations Sustainable Development Summit that was convened as a high-level plenary meeting of the General Assembly, at which the U.S. and 192 other U.N. members unanimously adopted the "2030 Agenda for Sustainable Development."
"And so, today, we commit ourselves to new Sustainable Development Goals, including our goal of ending extreme poverty in our world," Obama told the U.N. meeting. "We do so understanding how difficult the task may be. We suffer no illusions of the challenges ahead. But we understand this is something that we must commit ourselves to."
When Pope Francis spoke to the United Nations on Sept. 25, 2015, his speech served as the opening address to the 2030 Agenda summit.
In introducing the pope, U.N. Secretary-General Ban Ki-Moon said, "Your visit today coincides with the adoption of the 2030 Agenda for Sustainable Development."
Ban referenced the papal encyclical on climate change, "Laudato Si," translated as "Praise Be To You," a Medieval Italian phrase taken from St. Francis of Assisi's 13th century poem prayer "Canticle of the Creatures," written to praise God as the creator of all.
"This message of ['Laudato Si'] is critical as we approach the pivotal climate change conference in Paris in December," Ban continued. "Across the global agenda, His Holiness is a resounding voice of conscience. He has cried out for compassion for the world's refugees and migrants, and solidarity with people trapped in conflict and poverty."
Pope Francis on climate change
In the first words spoken publicly in his first visit to the United States, Pope Francis chose climate change as the topic. of his remarks at the arrival ceremony held on the South Lawn of the White House.
"Mr. President, I find it encouraging that you are proposing an initiative for reducing air pollution," the pope said. "Accepting the urgency, it seems clear to me also that climate change is a problem which can no longer be left to our future generation.
"When it comes to the care of our common home, we are living at a critical moment of history," the pope continued in his White House speech. "We still have time to make the change needed to bring about a sustainable and integral development, for we know that things can change."
The pope's remarks echoed the language of Article 59 in the U.N. Declaration on Agenda 2030, which says, "We reaffirm that planet Earth and its ecosystems are our common home and that 'Mother Earth' is a common expression in a number of countries and regions."
Francis told the U.N. General Assembly in his Sept. 25 address: "The common home of all men and women must continue to rise on the foundations of a right understanding of universal fraternity and respect for the sacredness of every human life, of every man and every woman, the poor, the elderly, children, the infirm, the unborn, the unemployed, the abandoned, those considered disposable because they are only considered as part of a statistic."
Francis also evoked the theme of "sustainable development" three times in his U.N. speech.
"The dramatic reality this whole situation of exclusion and inequality, with its evident effects, has led me, in union with the entire Christian people and many others, to take stock of my grave responsibility in this regard and to speak out, together with all those who are seeking urgently-needed and effective solutions," the pope told the General Assembly.
"The adoption of the 2030 Agenda for Sustainable Development at the World Summit, which opens today, is an important sign of hope. I am similarly confident that the Paris Conference on Climatic Change will secure fundamental and effective agreements," Francis said.
Jerome R. Corsi
Jerome R. Corsi, a Harvard Ph.D., is a WND senior staff writer. He has authored many books, including No. 1 N.Y. Times best-sellers "The Obama Nation" and "Unfit for Command." Corsi's latest book is "Partners in Crime."
Trump halfway to killing globalist plan
Hispanic Hillary supporters 'used Trump'
Obama pal does business with Saddam's nuke scientist
Step by step: How Hillary, Obama incubated ISIS
Obama ignores evidence Russia didn't hack DNC, Podesta


There are times when we're cruising down the road of life thinking everything is going just great. We seem to know who we are, where we want to go, and how we're going to get there. And, just when our destination seems to be coming into sight – BAM! Everything seems to go wrong and it feels like the wheels just fell off our car right in the middle of our journey.
In a split second, everything that could go wrong does go wrong.
Steve is a friend of mine. He's married with two children, lives in a nice house in a nice neighborhood of a nice town. He has been working hard on his career, building a solid client base, and starting to see some positive results from his years of investing blood, sweat, and tears into his business.
In the matter of about a month, Steve's wife told him that she didn't love him anymore and wanted a divorce and his business partners told him that they wanted to rearrange their business deal and Steve was gong to get less of the business, effectively cutting his salary by more than 75%.
Steve was a pretty proud guy – always keeping a stiff upper lip and never really letting on to what was happening in his world. But I had an idea something was up. He just wasn't himself. I would do the good friend thing when we got together and just try to listen when he wanted to talk. I would ask a few gentle questions to see if he felt like opening up. He did a little more every time we got together – but he was still guarded.
The wheels fell off and Steve was crashing.
We got together that morning and had breakfast. He told me he felt like he was drowning and, instead of someone throwing him a life preserver, they kept dunking his head under the water every time he tried to come up for a breath.
Many of us have been where Steve is. It might not be a marriage falling apart or a business deal going bad, but in some part of our life we have felt like we were in "our darkest place". And, I hate to be the one to tell you, but if you haven't felt like this, it's likely that someday you will.
While we were at breakfast talking, Steve got a text message. Not knowing what it said, I watched as his eyes got glassy while he read it. He put his phone down, pushed his eggs aside, and buried his head in his hands.
What do you say to this? I could feel the pain radiating from his soul.
When you have fallen to the depths that Steve had at that moment, there's not a lot you can say to someone to make them feel better. All you can do is listen and throw them a life preserver for them to hang onto so they don't feel like they are going down for the last time.
That life preserver is God – our Heavenly Father.
Sometimes God needs us for Him to work through to help someone make it out of their darkest place.
We talked for a couple of hours.
Steve told me that he had no fight left in him and that he was ready to just give it all over to God. I could tell at that moment that he was ready to surrender to the forces that were trying to keep him down. I was worried that, through his thinking he would give it over to God, he was considering giving up.
When you give it over to God, you are asking God to guide your steps as you continue to fight forward.
A few weeks have passed and Steve and I have talked a lot about his situation. He's taking it day by day and, although he's not doing great, he's doing better.
Just as the seasons turn from winter to spring and life follows death, our days are full of seasons as well: seasons of prosperity and joy and seasons of loss and sadness. Be assured though that just as there is light after every night and the sun comes out after every storm, there is a rebirth after every death.
Steve is entering a new season in his life.
He is keeping his faith in God and trusting that God will see him through this difficult time. He also knows that somehow, in a way that we will never understand, God does and will work all things together for His good and Steve is keeping his eyes open to find the new path God wants him to walk.
There is a lot of Steve in each of us. We have all gone through these dark times when we were just looking for someone to throw a life preserver our way. In fact, you might be going through one of those times now.
The good news is there is a rebirth awaiting you.
Think of the darkness that surrounded the hours after Jesus' death. Yet in three short days, out of a tomb, hope arose. A new life emerged. A rebirth available to each one of us became available through the risen Christ.
Steve's troubles are not going to be over in three days and probably not even in three months. Steve may have a lot of rebuilding to do in his life. But, as he begins to rebuild he needs to realize he's got a great carpenter working next to him helping him rebuild – a carpenter who is there to help each of us in our time of rebuilding – a carpenter named Jesus.
I must admit that the feedback that I have been getting on both The Whisper of God website and The Whisper of God FaceBook page (www.facebook.com/TheWhisperofGod) has been overwhelming and very humbling.
The other day someone asked me how I came up with the name The Whisper of God for the site.
My answer (and one which causes some people to look at me a little funny when I tell them) is that one night, in the middle of the night, I was awoken with a calling to buy the web site name TheWhisperofGod.com. As a matter of fact, five different web site names came to me that I felt I needed to buy. They were all pretty good names and I didn't think there was any chance that any of them would be available. So I stayed in bed debating with myself about whether I should get up and go to my computer or not. After a few minutes of going back and forth I got up, went to my computer, and was amazed that all five names were available.
I feel that TheWhisperofGod.com, a wonderful and fascinating gift, was given to me that night by God.
As I think back, it's funny how this came to me: one night while I was sound asleep. God didn't hit me over the head or come to me in a shining light in my room; rather, He came to me quietly. He prompted me to action. He put in front of me an opportunity that was mine to take or leave. He left the choice up to me.
God came to me that night in a whisper. And God comes to most of us in a whisper.
The LORD said, "Go out and stand on the mountain in the presence of the LORD, for the LORD is about to pass by." Then a great and powerful wind tore the mountains apart and shattered the rocks before the LORD, but the LORD was not in the wind. After the wind there was an earthquake, but the LORD was not in the earthquake. After the earthquake came a fire, but the LORD was not in the fire. And after the fire came a gentle whisper.
Sure, God has appeared to people before in the form of a burning bush, a voice from the heavens, or other dramatic ways. But, I don't think this is God's normal way. For us to hear God, we must learn to hear Him in the way He talks to us the most: we must learn to hear The Whisper of God.
Have you ever taken the time to read through Matthew 1:1-17? It can be a bit tedious going through the list of names that traces the family tree from Abraham to Jesus but if you haven't really read through it, take a few minutes and do so.
This list is Jesus' genealogy.
The list in Matthew contains names that are both as unfamiliar to us such as Zadok to those that are quite familiar such as Solomon. But if you pick out some of the names and go back and read about them in the Bible, we can find out some interesting things about the people in Jesus' lineage.
There were people who stole family fortunes from their own brothers (Jacob). There are people who committed murder (David). There were people who turned away from God (Rehoboam). There were those who, despite being blessed by God, disobeyed Him (Uzziah).
Jesus' relatives included people that today might be making headline news and not for all of their good deeds.
To me this shows how God works all things together to fulfill an ultimate plan that he has. Through a long list of imperfect people, God worked to bring about perfection in the birth of His Son, Jesus.
There is good news in all of this for us today: God is working no differently through our lives.
Look at our families. Look at our heritage. Look at yourself in the mirror. I challenge anyone to find anything other than dysfunction and imperfection. But the good news is God still loves us and has a plan for us.
Do you think that a guy named Zerubbabel, who lived centuries ago, might have ever thought that someday he would become the great, great, great… uncle of the only perfect person ever born? A person who was the Son of God and who was sent by God to save mankind? I truly doubt it. But God used him to carry on a bloodline that would eventually lead to the birth of Jesus.
Zerabbabel had no idea of the part He was playing in helping to fulfill God's ultimate plan.
What is Gods ultimate plan for you and me?
I don't know. But that is okay. I do know that he is working in and through you and me to use us as a small piece of a beautiful tapestry that when he is done weaving will result in His ultimate perfection for everyone.
Matthew 1:1-17 may be a long list of uncommon names that might not seem to mean much to any of us but that is wrong. Mathew is our hope. Matthew 1:1-17 is the basis for our faith in God, His plan, and His ways.
Matthew unfolds God's map from the past that proves to us that He knows where everything is going and the results of His plan will be glorious even though we might not see it ourselves at the time we are playing our part in His plan.
On this Christmas day rejoice in the birth of our savior Jesus Christ and rejoice in the knowledge given to us that perfection can and does come from imperfection like you and me.
Today is Good Friday, the day Jesus was crucified.
Even though Jesus told His disciples, friends, and family that He would return, I don't think any words could have comforted those who witnessed His death. Can you imagine being there when that happened – being witness to such a tragedy?
Jesus told His followers not to be sad or afraid because this was all part of a bigger plan. But, what kind of plan could it have been to have had your friend, mentor, and confidant tortured and killed right before your eyes?
As I said, at that moment what a tragedy this must have seemed to those who were a part of it.
For the next couple of days, His friends and family must have felt sick.
Three days later, still probably in a state of shock, some of His friends and family went back to visit the tomb that He lie in. On their way there, an angel told them of Jesus' resurrection. They ran to the tomb to see for themselves and along their way Jesus appeared to them.
They went about and told each other what had happened – that Jesus came back to them. That he had risen from the dead.
Hearts that were broken were now healed and overjoyed! Dark sadness was replaced by the light of God's love.
What a moment of triumph! Triumph over death. Triumph over evil. Triumph over sin.
The disciples, some of who were to become apostles, started spreading the word of Jesus. Their doubt and fear was erased and they became so filled with the knowledge that Jesus was indeed the Son of God and the Messiah that they began to preach the Good News.
The love of God through Jesus started to spread. Christianity was born!
How quickly tragedy can turn to triumph.
Just as it happened with the disciples, it is only human nature to get stuck in the moment feeling the world turn against us. We get filled with doubt, confusion, and fear. It is because of this that we can't see beyond the moment of the tragedy.
Didn't Jesus tell His friends and family that He would be back? Didn't he tell them not to worry?
If only the disciples had trusted Jesus' word that He would be back.
It took Jesus turning the tragedy of His crucifixion into the triumph of His resurrection for the disciples to really, really believe that He WAS the Messiah and trust and believe in what He told them.
Once that happened, their faith was unshakeable. So much so that many of them were themselves martyred for their beliefs and teaching.
They needed to witness Jesus' death and resurrection before they could also come to the point of understanding how tragedy can be turned into triumph.
We, too, through the death and resurrection have witnessed tragedy turning to triumph. We don't need for Jesus to die and be resurrected again to prove to us that He is the Son of God. It has already happened.
One of the main things we should learn from this is for us to not be "doubting Thomas'." That we should trust in what God tells us. Jesus told His disciples He would be back. They were scared and did doubt. Nonetheless, He came back.
Isn't that the message we should have for ourselves in our daily lives – to trust God?
God tells us all to put our faith in Him. He tells us that if we trust in Him that no harm will come to us.
If we truly believe that everything happens for a reason and everything that does happen has a God given purpose then shouldn't we learn that all of our tragedies will also turn into magnificent triumphs?


This combined business and finance diploma teaches banking sector fundamentals, enterprise evaluation, finance and techniques. In addition to GW Legislation's location in Washington, DC and world-famend school supporting strong ties to the capital's many governmental, regulatory, and non-profit institutions of significance to business and finance, the Enterprise Small business loans and Finance Law Program maintains close contact with the large and lively neighborhood of GW Regulation alumni in enterprise and finance authorized apply in New York, and conducts regular actions in New York, including our flagship GW in New York residential program for choose JD students.
They claim the place of these celestial bodies on the time of 1's birth shapes his or her persona and future. It has been confirmed that predictions made by different astrologers for a similar particular person(s) do not (always) match. Astrology classifies folks under considered one of twelve categories – zodiac signs, according to their date of beginning. You'll be Small business ideas able to select to check one yr full-time, 16 months full-time with a professional placement or two years half-time. Learn the role of Corporate Finance in professional decision making in a Firm. Additionally find out how information of Company Finance increases a company's effectivity and income. Learn the various roles that Funding Bankers play.


Enter to win the grand prize package of $2,016 worth of marketing products and services needed to brand your business, get found online and connect with customers.
Reach and engage more people on Facebook and grow your email list with this social media contest.
If you're thinking about launching a contest of your own, these eight tips will start you off on the right track.


text:
Rhea Polar Maps - January 2011
The northern and southern hemispheres of Rhea are seen in these polar stereographic maps, mosaicked from the best-available Cassini and Voyager images.
Six Voyager images fill in gaps in Cassini's coverage of the moon's north pole. These maps are updates to the versions released in February 2010 (see Rhea Polar Maps - February 2010 and Rhea Polar Maps - February 2010). These mosaics contain data from Cassini's Jan. 11, 2011, flyby of Rhea.
Each map is centered on one of the poles, and surface coverage extends to the equator. Grid lines show latitude and longitude in 30-degree increments. The scale in the full-size versions of these maps is 417 meters (1,370 feet) per pixel. The mean radius of Rhea used for projection of these maps is 764.1 kilometers (474.8 miles).
The Cassini-Huygens mission is a cooperative project of NASA, the European Space Agency and the Italian Space Agency. The Jet Propulsion Laboratory, a division of the California Institute of Technology in Pasadena, manages the mission for NASA's Science Mission Directorate in Washington. The Cassini orbiter and its two onboard cameras were designed, developed and assembled at JPL. The imaging team is based at the Space Science Institute, Boulder, Colo.
For more information about the Cassini-Huygens mission visit http://saturn.jpl.nasa.gov or http://www.nasa.gov/cassini . The Cassini imaging team homepage is at http://ciclops.org .
NASA's Cassini mission is closing one chapter of its journey at Saturn and embarking on a new one with a two-year mission that will address new questions and bring it closer to two of its most intr...
Cassini's Adventure Ends, and Begins Anew
This image showing detail of Urvara Crater's central ridge on Ceres was obtained by NASA's Dawn spacecraft on July 6, 2018 from an altitude of about 72 miles (116 kilometers).
Detail of Urvara Crater's Central Ridge
Eight days after its final encounter with the Earth, the Galileo spacecraft looked back and captured this remarkable view of the Earth and Moon.
The Earth-Moon System
This image shows NASA'S Dawn scientists' best guess to date of what the surface of the protoplanet Vesta might look like; it incorporates the best data on dimples and bulges from ground-based teles...
Virtual Vesta
The cameras of Voyager 1 on Feb. 14, 1990, pointed back toward the sun and took a series of pictures of the sun and the planets, making the first ever "portrait" of our solar system as seen from t...
Solar System Portrait - 60 Frame Mosaic
This is the first picture of a black hole.
First Image of a Black Hole
Having recently rounded the ansa, or outer edge of the rings, Mimas heads off toward right. This view from the Cassini spacecraft provides a crisp look at the fine material and detailed structure i...
Mimas and the Great Division
Saturn's moon Enceladus is partially eclipsed by the planet in this Cassini spacecraft view which also features the moon Titan in the distance. Cassini flew by Enceladus, shown in the center of th...
Eclipsing a Moon
Saturn's moon Mimas has many large craters, but its Herschel crater dwarfs all the rest. This large crater 130 kilometers wide (80 miles) has a prominent central peak, seen here almost exactly on t...
Herschel Dead-On
Saturn, which appears as only a thin, lit crescent, broken only by the shadows of its rings, poses gracefully for the Cassini spacecraft cameras.
Crescent Saturn
NASA's New Horizons spacecraft captured this high-resolution enhanced color view of Pluto on July 14, 2015.
The Rich Color Variations of Pluto
The International Space Station transits the Moon in January 2018.
International Space Station Transits the Moon (2018)
These images from NASA's Dawn spacecraft show Claudia crater (marked by an arrow) and its surroundings. Claudia crater is the crater which is used to define 0° longitude on asteroid Vesta.
Topography and Albedo Image of Claudia Crater
Prometheus is seen near Saturn's tenuous F ring as the moon orbits in the Roche Division, between the F and A rings. The gravity of potato-shaped Prometheus (86 kilometers, or 53 miles across) per...
Cassini spies the wrinkled, fractured and remarkably crater-poor terrain of Enceladus. Scientists are working to understand what causes the moon's surprising geologic activity (see Fountains of Enc...
Enigma in Ice
As Saturn approaches its August 2009 equinox, a shadow is cast by a narrow, vertically extended feature in the F ring. Scientists are working to understand the origin of structures such as this on...
Punching through the F Ring
On May 12, 2007, Cassini completed its 31st flyby of Saturn's moon Titan, which the team calls T30. The radar instrument obtained this image showing the coastline and numerous island groups of a p...
Coasts and Drowned Mountains
Similar to many of the small, inner moons of Saturn, Prometheus points its long axis at Saturn as if giving us directions to the planet.
Pointing Toward Saturn
The Cassini spacecraft peers through Titan's thick clouds to spy on the region dubbed "Senkyo" by scientists. The dark features include vast fields of dunes, composed of solid hydrocarbon particles...
Spying on Senkyo
Ultracold hydrocarbon lakes and seas (dark shapes) near the north pole of Saturn's moon Titan can be seen embedded in some kind of bright surface material in this infrared mosaic from NASA's Cassin...
Dark Lakes on a Bright Landscape -- Annotated
An artist's concept of the dwarf planet Eris and its moon Dysnomia.
Eris and Dysnomia (Artist Concept)
In this 30 second exposure, a meteor streaks across the sky during the annual Perseid meteor shower.
Perseid Meteor 2016
Gray and barren Rhea drifts beneath Saturn's more colorful rings. Bright wispy markings on the trailing hemisphere of Rhea are just visible curling along the western limb. Above the icy moon, Sat...
Rhea in Profile
Some of Saturn's satellites lie within the rings while others are outside the ring system. This slide illustrates the relationship between satellites and rings around Saturn. The ring plane crossin...
Saturn Systems Road Map
This view from NASA's Dawn spacecraft shows an area in the interior of Yalode Crater on Ceres. Yalode is one of the largest impact basins on Ceres, with a diameter of 160 miles (260 kilometers).


The behavior of the students on and off campus, prior to, during, and after school hours, is a matter relevant to the whole Christian life fostered at the Saint John of San Francisco Orthodox Academy. Students are required to conduct themselves in a Christian manner that is appropriate to the situation at hand (see also our expectations of proper etiquette). Failure to behave accordingly will result in disciplinary measures up to expulsion. This includes behavior outside of the school campus. Students in grades nine and above are required to sign the St. John of San Francisco Orthodox Academy Solemn Pledge to Live by the Virtues of Temperance, Chastity, Integrity and Joy, which includes the promise not to partake in alcohol, tobacco, or drugs on or off campus during the entirety of their time as students of St. John's, including all vacation periods.
In the classroom setting, students will participate fully in all class activities. Rude, disobedient, and disruptive behavior (during class or otherwise) is inappropriate and will result in disciplinary action and notification of parents. Behavior that disrupts the learning progress will not be tolerated. The instructors will establish classroom regulations according to the instructors' discretion and will make these regulations known to the students on the first day of instruction.
Students will take their seats promptly and will leave their seats only with the approval of the instructor.
Students will not speak in class without the permission of the instructor. Students will raise their hand before calling out answers.
Students will not be permitted to work on other schoolwork during class without the consent of the instructor.
Students are responsible for the cleanliness of their classrooms and are expected to keep their desks, shelves, and lockers clean and orderly.
Arguing and back-talk will not be tolerated. Any questions or dispute a student may have will be handled in a civilized manner befitting an Orthodox Christian.
Students will study quietly if a faculty member is out of the classroom. Students will demonstrate the integrity and trustworthiness of being able to be left alone for short periods of time. Failure to continue class work at these times will result in disciplinary actions.
Students will be prepared for class with all necessary materials for that period of instruction and will do all assigned work.
Students are required to stand up whenever an adult walks into the classroom and show full respect to all adults at all times.
Any behavior that can be construed to be vandalism will not be tolerated. Any property damaged by such action will be the responsibility of the student's parents.
Saint John's students are expected to show respect and act responsibly. Students will keep the school grounds clean and will dispose of all litter properly. Food will only be permitted during lunch and during authorized snack times. Eating in classrooms, gum chewing, and littering will result in detention. The lunch area must be kept clean at all times. Clean-up crews will be assigned and all dining areas must be clean following the after-meal prayers. Crewmembers will not be dismissed for noon recess until their duties are complete. Students who break these regulations will be assigned to extra clean-up duties and may be given detention.
Students will be respectful and will not disrupt any performance, speech, or activity. Booing, catcalls, etc. will not be allowed.
Whenever in public, students will conduct themselves in a manner befitting the Saint John of San Francisco Orthodox Academy.
These guidelines are intended to aid the students and staff to ensure the well-being, safety and general good of the entire school community. The faculty and staff of the Saint John of San Francisco Orthodox Academy reserve the right to amend and to adapt these guidelines according to their good judgment to accommodate extenuating circumstances.
When any student submits work claiming it to be their own but has borrowed the wording, ideas, etc. from any other source without attribution, the student is guilty of plagiarism. Sadly, with the availability on the internet of term papers on all subjects, this issue has now become a concern, which we must address at our school.
Students who are found guilty of plagiarism or of cheating will be suspended for one day upon the first offense. They will also receive an "F" for the assignment or test. Upon the second offense, the student will be suspended for one week and will receive an "F" in that class for the trimester. The third offense will result in expulsion.
Students may not use cell phones or other electronic devices at any time during school hours, nor are they permitted to have them on their persons during the school day. All mobile phones and any other electronics must be handed in to the school office at the start of the day, and collected at its end. If a student is caught with a cell phone or any other electronic device on his/her person, in a locker, etc, the device will be confiscated and returned only to the parent of the student, and the student will be suspended for no less than one day. If such an offense is repeated, the student may be expelled from the school.
Should there be an emergency or some need for telephone contact during the school day, students may request to make a telephone call from the school office.
Parents and family should not attempt to contact students via their cell phones during the school day. If contact with a student is required, please contact the school office in order for a message to be passed to a student or (in emergencies) to have them brought to the office telephone.
Rowdiness, poor sportsmanship, name-calling, pushing, shoving, etc. are not acceptable playground behavior.
The type of play that could hurt other children or that damages the school equipment should be controlled. Noise levels should be kept to a reasonable level. As a courtesy to Church services and to our neighbors, children should not unnecessarily scream, whistle, or yell.
Students must ask permission to enter the Church basement, climb into the fenced garden area, or leave the property to retrieve the ball or for any other reason.
St. John's Academy follows the practice of including records of serious behavioural infractions in the student reports delivered to colleges and universities to whom students and/or parents request that we send transcripts and/or other materials in support of an application for further education.


text:
namespace Cosmetics.Tests.Engine.CosmeticsEngineTests
{
    using System;

    using Cosmetics.Engine;
    using Moq;
    using NUnit.Framework;

    [TestFixture]
    public class CosmeticsEngine_Should
    {
        [Test]
        public void CreateInstanceOfCosmeticsEngine_WhenInstanceIsCalled()
        {
            var engine = CosmeticsEngine.Instance;

            Assert.IsInstanceOf(typeof(CosmeticsEngine), engine);
        }
    }
}


text:
Q: d3 refactored pie chart animations failing I have an earlier pie chart that worked very well in terms of animations.
https://jsfiddle.net/tk5xog0g/29/
I have rebuilt the chart and enhanced it close to what I need - but the animations I try and add back in do not work -- I am not sure if its because the arcs and slice paths are now in different g elements etc..
http://jsfiddle.net/NYEaX/1507/

this is the old pie animations and worked very well
                /* ------- ANIMATE PIE SLICES -------*/
                var slice = doughpie.select(".slices").selectAll("path.slice")
                  .data(pie(data), key);

                slice.enter()
                  .insert("path")
                  .style("fill", function(d) {
                    return color(d.data.label);
                  })
                  .style("transform", function(d, i){
                    //return "translate(0, 0)";
                  })
                  .attr("class", "slice");

                slice
                  .transition().duration(1000)
                  .attrTween("d", function(d) {
                    this._current = this._current || d;
                    var interpolate = d3.interpolate(this._current, d);
                    this._current = interpolate(0);
                    return function(t) {
                      return arc(interpolate(t));
                    };
                  })

                slice.exit()
                  .remove();
                /* ------- ANIMATE PIE SLICES -------*/

//this is the current pie arcs - but when I try and animate the pie in the same manner - it fails.
var g = svg.selectAll(".arc")
  .data(pie(data))
  .enter().append("g")
  .attr("class", "arc");

g.append("path")
  .attr("d", arc)
  .style("fill", function(d) {
    return color(d.data.label);
  });

arc
  .outerRadius(radius - 10)
  .innerRadius(0);

A: randomize is not working. But animations are present.

var width = 800,
  height = 600,
  radius = Math.min(width, height) / 2;

var color = d3.scale.ordinal()
  .range(["#46a2de", "#7b3cc9", "#31d89c", "#de5942", "#ffa618"]);

var arc = d3.svg.arc()
  .outerRadius(radius - 66)
  .innerRadius(radius - 70);

var pie = d3.layout.pie()
  .sort(null)
  .value(function(d) {
    return d.value;
  });

var svg = d3.select("body").append("svg")
  .attr("width", width)
  .attr("height", height)
  .append("g")
  .attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");

function randomData() {
  var data1 = [{
    "label": "AA",
    "value": 0.911035425558026,
    "children": [{
      name: "some text aa",
      group: "AA",
      size: 120
    }]
  }, {
    "label": "BB",
    "value": 0.08175111844879179,
    "children": [{
      name: "some text bb",
      group: "BB",
      size: 123
    }]
  }, {
    "label": "CC",
    "value": 0.25262439557273275,
    "children": [{
      name: "some text cc",
      group: "CC",
      size: 193
    }]
  }, {
    "label": "DD",
    "value": 0.8301366989535612,
    "children": [{
      name: "some text dd",
      group: "DD",
      size: 29
    }, {
      name: "some text dd",
      group: "DD",
      size: 289
    }]
  }, {
    "label": "EE",
    "value": 0.0517762265780517,
    "children": [{
      name: "some text ee",
      group: "EE",
      size: 389
    }, {
      name: "some text ee",
      group: "EE",
      size: 89
    }]
  }];

  var data2 = [{
    "label": "AA",
    "value": 0.243879179,
    "children": [{
      name: "some text aa",
      group: "AA",
      size: 12320
    }]
  }, {
    "label": "BB",
    "value": 0.243879179,
    "children": [{
      name: "some text bb",
      group: "BB",
      size: 1123
    }]
  }, {
    "label": "CC",
    "value": 0.2342439557273275,
    "children": [{
      name: "some text cc",
      group: "CC",
      size: 1923
    }]
  }, {
    "label": "DD",
    "value": 0.2349535612,
    "children": [{
      name: "some text dd",
      group: "DD",
      size: 29
    }, {
      name: "some text dd",
      group: "DD",
      size: 289
    }]
  }, {
    "label": "EE",
    "value": 0.2345780517,
    "children": [{
      name: "some text ee",
      group: "EE",
      size: 389
    }, {
      name: "some text ee",
      group: "EE",
      size: 89
    }]
  }];

  var j = Math.floor((Math.random() * 2) + 1);

  if (j == 1) {
    return data1;
  } else {
    return data2;
  }
}

//change(randomData());
d3.select(".randomize")
  .on("click", function() {
    var data = randomData()
    console.log("data", data); change(randomData());
  });

change(randomData());

function change(data){

var g = svg.selectAll(".arc")
  .data(pie(data))
  .enter().append("g")
  .attr("class", "arc");

g.append("path")
  .attr("d", arc)
  .transition()
        .duration(1000)
  .style("fill", function(d) {
    return color(d.data.label);
  });

arc
  .outerRadius(radius - 10)
  .innerRadius(0);

//create zone regions
var zones = [];
g.append("circle")
  .attr("transform", function(d) {
    zones[d.data.label] = arc.centroid(d);
    return "translate(" + arc.centroid(d) + ")";
  })
  .attr("r", "1px")
  .style("fill", function(d) {
    return "black" //color(d.data.group);
  });

g.append("g")
  .attr("class", function(d, i) {
    return "bubble" + i;
  }).transition()
        .duration(1500)
  .attr("transform", function(d) {
    zones[d.data.label] = arc.centroid(d);
    return "translate(" + arc.centroid(d) + ")";
  });
//create zone regions

//loop through data and for EACH children array paint dots.
$.each(data, function(index, value) {
  setBubbleChart(160, index, value.children);
});
//custom bubble chart

}

//custom bubble chart
function bubbledata(data) {
  return $.extend(true, {}, {
    "children": data
  }); // return deep clone
}

function setBubbleChart(width, index, data) {
  //_create bubble
  var diameter = width / 2; //take half/width

  var bubs = svg.select(".bubble" + index).append("g")
    .attr("class", "bubs");

  bubs.attr("transform", "translate(" + -diameter / 2 + "," + -diameter / 2 + ")");

  var bubble = d3.layout.pack()
    .size([diameter, diameter])
    .value(function(d) {
      return d.size;
    })
    .padding(3);

  //_create bubble
  var data = bubbledata(data);

  var nodes = bubble.nodes(data)
    .filter(function(d) {
      return !d.children;
    }); // filter out the outer bubble

  var bubbles = bubs.selectAll('circle')
    .data(nodes);

  bubbles.enter()
    .insert("circle")
    .attr('transform', function(d) {
      return 'translate(' + d.x + ',' + d.y + ')';
    })
    .attr('r', function(d) {
      return d.r;
    })
    .style("fill", function(d) {
      return color(d.group);
    });

  bubbles.enter()
    .insert("text")
    .attr('transform', function(d) {
      return 'translate(' + d.x + ',' + d.y + ')';
    })
    .attr("class", "bubbletext")
    .attr("dy", ".3em")
    .style("text-anchor", "middle")
    .text(function(d) {
      if (d.r > 15) {
        return (Math.floor(d.value / d.parent.value * 100)) + "%";
      }
    });

  bubbles = bubbles.transition()
    .transition()
    .duration(250)
    .attr('transform', function(d) {
      return 'translate(' + d.x + ',' + d.y + ')';
    })
    .attr('r', function(d) {
      return d.r;
    })
    .ease('sine');
}

function type(d) {
  d.value = +d.value;
  return d;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  width: 560px;
  height: 500px;
  position: relative;
  background: #292527;
}

path.slice {
  stroke-width: 2px;
}

.bubbletext {
  fill: #ffffff;
  font-size: 14px;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.4.11/d3.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<button class="randomize">randomize</button>


text:
Hoodia Benefits: Is It Good For Weight Loss?
I have been reading about the cactus, Hoodia gordonii, and its ability to curb the appetite for weight loss. Is it safe?
Andrew Weil, M.D. | March 11, 2005
Hoodia (Hoodia gordonii) is making a big splash as a weight loss aid without much scientific evidence supporting its effectiveness. This cactus, grown in Africa's Kalahari Desert, has traditionally been eaten by the San Bushmen, now a very poor tribe, to ward off hunger on long journeys. In analyzing the cactus, South African scientists discovered that it contained a previously unknown molecule, which they named P57. From what I understand, this molecule theoretically affects nerve cells in the hypothalamus – the part of the brain that controls appetite by responding to levels of blood glucose. P57 is supposed to be much more powerful than glucose as a signal to the hypothalamus to curb eating. In animal studies, hoodia reportedly suppressed rats' appetite dramatically, and in a human trial, daily calorie intake among a group of obese volunteers who tested it dropped by 1,000 calories, even though they were encouraged to eat. I say "reportedly" here because I have only read accounts of these trials. I've been unable to track down the studies themselves.
When you do an internet search for hoodia benefits, you get thousands of hits, the vast majority for commercial sites peddling pills said to contain this so-called miracle weight-loss aid. Are they the real thing? I can only pass on a report from the British Broadcasting Corporation, which sent a correspondent to the Kalahari to cover this story. As part of his research, the reporter had the leading brand of hoodia gordonii available on the internet tested: it contained no discernible hoodia.
The BBC correspondent reported that he tried the real thing in the Kalahari – he ate a piece of hoodia about the size of half a banana. He said the plant had an unpleasant taste, but he wasn't hungry for dinner that day or breakfast the next morning. Later, he ate lunch but without much appetite or pleasure. He reported that his appetite returned about 24 hours after eating Hoodia.
If hoodia works as well as these reports suggest it may turn out to be a useful way to control weight. But I have my doubts. The pharmaceutical giant Pfizer bought the clinical development rights to hoodia from a British company in 1998 but returned them in 2003. We may learn someday that there are hoodia benefits and it does promote weight loss by effectively suppressing appetite, but until we do, I wouldn't waste money on products that haven't been proven to work and may not contain any hoodia at all.
Visit Dr. Weil's Q and A Library to get answers to your other health and lifestyle questions.
Read more tips, recipes, and insights on a wide variety of topics from Dr. Weil here.
Glucosamine Supplements
Pharmaceutical Grade Fish Oil


text:
Fall 2019State of the Game
Home›Issues›Fall 2019›State of the Game: Making History
State of the Game: Making History
By Gary Van Sickle
It was Tuesday before the Masters when Brooks Koepka uttered a comment that told you what you need to know about him. He had outdueled Tiger Woods at the PGA Championship in St. Louis the previous fall and was asked what it would mean if Woods won another major (which, it turned out, he did a few days later). Koepka chuckled and remarked that he'd probably ruined everybody's dream at Bellerive by denying Woods a long-sought 15th major championship. Then Koepka delivered the punchline: "I enjoyed stopping history."
Of course, those players rarely got the better of Woods. Koepka holds a better hand now and he knows it. He enjoys stopping history? That is the definition of confidence.
Koepka has that thing, that special ingredient. We used to call it guts, but I'm sure there's a more sophisticated psychobabble term for it.
There's a fine line between believing you can perform and knowing you will perform. Woods knew, Tom Watson knew, Jack Nicklaus knew. Koepka knows. In basketball terms, he's the player who wants to take the buzzer beater with the game on the line, and he's the player you want taking that shot. Golf hasn't had a closer like him since … Tiger.
Golf was already full of young guns, phenoms and some kinda-sorta young guns who were going to take over the game. Rory McIlroy. Jordan Spieth. Justin Thomas. Jason Day. Rickie Fowler. All Koepka did was come in without much of a pedigree and, within three years, brush them aside like tumbleweeds.
I'm not always a great prognosticator. My shares of Enron stock and my timeshare in Chechnya prove that. But I picked one major winner correctly in 2019 and just missed getting the other three right, too. Why? After Shinnecock Hills in 2018, Koepka became my default pick to win every major until further notice.
The hoopla around Woods winning another Masters helped obscure how close Koepka came to a multi-major year, maybe even a potential Grand Slam pursuit.
Let me refresh your memory.
At the Masters, Koepka finished second, 1 stroke behind Woods. One unlucky gust of wind caught Koepka's shot at Amen Corner and cost him a double-bogey at the 12th hole in the final round. If there's no gust and Koepka makes par there, hmmm, maybe he stops history again.
The PGA Championship in May at Bethpage was a runaway until a windy final round, but after a few clutch shots late in the round, he closed the deal.
The U.S. Open at Pebble Beach was proof of what Koepka, a native Floridian, has said about poa annua greens — he genuinely dislikes them. He suffered a slew of near-misses on makeable putts through the first 54 holes and, despite that, was right there at the end if Gary Woodland had faltered. Woodland didn't, even if he probably was the first major champion who chipped from the putting surface on the 71st hole.
Shane Lowry played so well at The Open Championship, he would have been difficult to beat. Koepka was in contention until he began the final round with four straight bogeys.
WOODS WINNING THE MASTERS was a big story, as was Rory winning the FedEx Cup, but the biggest story in 2019 was Koepka. He hasn't simply arrived, he has taken over. The debate about who is really No. 1 has been put to rest until next year's majors gear up.
Looking back, it's almost laughable how long golf fans and the media ignored this guy.
It was understandable at first. He was a late-bloomer who played college golf at Florida State but didn't dramatically distinguish himself. After school, he decided he wanted to get serious about pro golf. He had no status on any tour, so he went overseas on a mission to play his way back to America and the PGA Tour.
Koepka did just that, winning four times on the European Challenge Tour (that's triple-A ball in Europe) and capturing an official European Tour win in Turkey. He won on the PGA Tour in Phoenix in 2015 but didn't do much after that. At first glance, it seemed, he was just a big hitter who liked lifting weights and working out as much as playing golf.
Then came the oddball 2017 U.S. Open at Wisconsin's Erin Hills, a first-time Open venue. Erin Hills had wide fairways, the USGA hastily cut back some of the fescue at the last minute, and then rain made the course play softer and easier. Koepka outlasted Brian Harman and a late charge by Justin Thomas. Many observers simply dismissed the whole event.
A wrist injury sidelined him early the next year. He sat out the Masters and at one point wasn't sure if or when he'd play tour golf again. Because of that absence, the defending U.S. Open champ was largely ignored when he did return at Shinnecock Hills. All Koepka did was win a second Open, the first champion to go back-to-back since Curtis Strange 29 years earlier.
Yet Koepka's historic feat drew less attention than controversies about the greens at Shinnecock, which the USGA fouled up on the weekend after guaranteeing they wouldn't repeat the same fiasco from 2004, and Phil Mickelson, who violated golf's most basic rule: hitting a moving ball.
Here's a helpful hint for future historians: The Brooks Koepka Era began at Shinnecock. It took holding off Woods at the PGA Championship in August to get the nation's attention and, finally, vindication.
What you saw in 2019 was a special year of golf. Koepka won just one major, yes, but it was the best one-major year ever. He shot 36-under-par in the four majors, more than 20 shots better than any player who made all four major cuts.
He finished second, first, second, fifth, and if you translated that into a won-lost-tied record against his competitors, Koepka's mark was 542-5-4.
Here's another reason to like Koepka. He likes to deliver a message. He was paired with Woods in the first two rounds of the PGA Championship at Bethpage and shot 63-65 while Woods struggled to 72-73. Woods got smoked by 17 shots, was clearly outgunned and had to be thinking the same thing opponents once thought about him when they were paired in the early 2000s: "I can't beat that." There's intimidation and then there's in-your-face intimidation.
In the World Golf Championship in Memphis the week after The Open in Northern Ireland, Koepka and Rory McIlroy were poised for a final-round shootout in the last pairing. There was no shootout. Koepka stepped on McIlroy's neck, as they say in my foursome. He shot 65 en route to the win and watched McIlroy fade on the front nine.
Of course, McIlroy got a measure of revenge at the FedEx Cup finale. But Koepka, only 29, has already made a mark with four major championships. He wants more. Before this year's PGA Championship, he admitted he is chasing majors and said, "I don't see why I can't get to double digits."
It was a bold comment, and many golf observers debated the possibility of Koepka getting to 10 majors. Not so fast, talking heads. Koepka didn't say 10 majors, he said "double digits." He didn't specify.
Who says he's limiting himself to 10? My wallet says he's aiming at Woods, with 15 majors, and Nicklaus, with 18. But he was smart enough not to say those things out loud.
Three-time major champion Jordan Spieth offered this line about Koepka's rise last summer. "Get used to it," Spieth said. "He's that good."
Koepka enjoys stopping history. He's even better at making it.
Elegance and Eloquence: Remembering Jack Whitaker
Gary Van Sickle
State of the GameSummer 2020
State of the Game: Golf in the Time of COVID-19
By Ken Van Vechten
Fall 2019Profiles
A Winner In Every Way: Sahith Theegala
Fall 2019ProfilesSCGA Junior
Opening Doors to the Future
By Hailey Tucker
Fall 2019Golf Groups
Amping Up The Fun: Eaton Canyon GC
The Great One: SCGA Member Wayne Gretzky Teams Family With Fairways
EquipmentFall 2019
Gift Guide: Spreading Some Holiday Gear
Of Goats & Golf: The Silvies Valley Ranch Experience is Golf Solitude at its Remote Finest
Fall 2021FeaturedNews


text:
Q: togglable tabs in rails 3.2 bootstrap I would be happy if i'll be able to work with a togglable tag in rails 3.2.
I used this code :
div class="tabbable">

Profile

Friends

Photos

Videos

Quotes

            aaa

            bbbbb

          cccc

            dddd

           rrrr

but it doesn't work in rails. I mean, i'm not able to see the content of the tab. i red many solution on internet , even in stackoverflow, but i'm still in problem. can you help?
EDIT:

As you can see, if i click on a tab i would see something..but it doesn't happen. I really don't know what to do

A: I think it's because of missing ul tag.

Profil e

Friends

Photos

Videos

Quotes

        aaa

       bbbbb

       cccc

       dddd

       rrrr

Updated answer for readers:
Ended up it's because Bootstrap.js was not included in application.js. Check out the comments for more information.


text:
Farnell unveils share switch plan
Updated: 19:00 EST, 16 April 2002
ELECTRONICS distributor Premier Farnell is to give its preference shareholders the right to convert all or part of their holdings into new ordinary shares as part of a major capital restructuring at the group.
When it acquired Premier Industrial Corporation in April 1996 the £1.8bn deal was financed by a mixture of cash, preference shares and ordinary shares. Today chief executive John Hirst said that the preference shares 'constitute an inappropriately high proportion of the group's capital and exercise a disproportionate influence on its financial performance'. Giving preference shareholders the right to convert would achieve a better balance of capital funding and improve the group's financial flexibility, said Hirst.
Those who convert will receive a payment in lieu of the preference dividend of 19.8p and will be able to sell a proportion of their new shares at 313p through Cazenove. The changes need approval at an extraordinary general meeting on 13 May.


text:
The sexualisation in Love, Death & Robots overshadows the high class animation
one sidebarfeatured topcarouselculturefilm&tv
By Calum Bradshaw, MA Film and Television
The animation anthology series, produced by Tim Miller and David Fincher, marks an exciting time for the adult animation genre but the gratuitous placement of female characters in sexual situations is a distasteful trend throughout many of the episodes.
A celestial navigation error. The lost tomb of Dracula. A civilisation in a fridge. Love, Death & Robots, Netflix's new animated anthology series, is an eclectic bag. Some episodes are great, some disappointing, and others memorable for all of the wrong reasons.
Comprised of 18 short films with broadly shared science-fiction themes, the project is the brainchild of Deadpool's Tim Miller, who exec produced the series alongside veteran director David Fincher. Miller's vision spoke of a canvas where 'we can try shit, we can get crazy, we can get a lot of other directors in the mix, and do some really wild visual stuff'. The series is 18-rated and aims to make a case for the expansion of adult animation into the mainstream.
Youtube / Netflix
The third episode, a breathless short called 'The Witness', is the best-animated of all 18. Spider-Man: Into the Spiderverse's Alberto Mielgo directed it - and it shows. The frame shakes and objects are pulled in and out of focus much in the manner of a live-action film, adding relentless tempo to the story of a young woman running from a man she has just seen commit a murder.
On paper, this is a sound basis for an exciting, engaging short film. Unfortunately, the protagonist spends well over half of the runtime essentially naked, having fled her apartment wearing only a skimpy kimono. She runs to her workplace - a strip club - and proceeds to give the customers - and the viewer - a full-frontal striptease. This sequence is lingered on, with several gratuitous closeups thrown in. It's obviously expected that 18+ animation will include nudity, but there's no need for 'The Witness' to be quite so gleefully pornographic in its depiction of a young woman running for her life.
Regrettably, this is not a problem confined to 'The Witness'. The overwhelming majority of the female characters in Love, Death & Robots either remove their clothes, take part in a sex act, or are the victims of graphic violence. The men, mostly stubble-cheeked war-fighting types, get off far lighter.
Photo courtesy of Netflix
The protagonist of 'Shape-Shifters', an uncanny-valley story of werewolves in the US Marine Corps, has a long period of nudity, but never is the viewer invited to ogle him in the way they are the woman in 'The Witness'. And the women in 'Sonnie's Edge'. And in 'Good Hunting'. And in 'Beyond the Aquila Rift'. This isn't an isolated issue.
'Good Hunting' in particular stands out for the wrong reasons. The world - a steampunk colonial Hong Kong - is stunningly engaging and beautifully animated. Fans of the Dishonoured video game franchise will find clear similarities here. The central narrative, however, focuses on a female spirit who has to resort to prostitution to survive, before being butchered and remade as a sex robot by a group of leering British aristocrats. She runs crying to her engineer friend who remakes her as a clockwork fox - complete with meticulously crafted metal breasts. The episode never misses an opportunity to sexualise her, with its resolution segueing into an unsettling male-saviour fantasy that seriously undermines the quality of the animation on show.
Unfortunately the failings of Love, Death & Robots overshadow some truly wonderful moments. The mid-series run of 'Fish Night', 'Lucky 13', and 'Zima Blue' is home to the best of the bunch. The latter is based on an Alastair Reynolds short story, and tells the moving tale of a tortured artist grasping for a purpose in a vast universe. The writing here is classic Clarke-esque existentialist sci-fi, and shows how great this series could have been if it had paid more attention to story and less to justifying its 18+ rating.
It's so disappointing that Love, Death & Robots has such good animations when their stories are nothing but sexist depictions filled with oversexualization & gore.
I tried so hard to like the series despite what I heard about it but it's really hard to feel comfortable watching.
— Felicia Vox (@FeliciaVox) March 19, 2019
The animation on show in 'Lucky 13' is as close to photorealistic as I have seen and deserves praise - it's just a shame that the episode trots through predictable plot beats in a way that never threatens to surprise. This is a common problem - 'Lucky 13', 'Secret War', and 'Shape-Shifters' feel closer in tone to video game trailers than the 'crazy' short films Miller promised us.
The series loses energy after 'Zima Blue', with 'Blind Spot' proving instantly forgettable and 'Secret War' trying to skate by purely on the cool factor of a Red Army platoon facing down a demon horde. Second-to-last sits 'Alternate Histories', an aggressively unfunny episode that has somehow crept into the series from a dark corner of YouTube circa 2011. In this woeful attempt at lol-so-random shock humour, a whimsically-animated Adolf Hitler is killed in a variety of supposedly hilarious ways, sending ripples through history. In one iteration the Fuhrer dies of sexual exhaustion in a swastika-shaped orgy, which somehow results in a bikini-clad woman landing on the moon in a dildo-shaped rocket. It's offensive, tasteless, and frankly an embarrassing bedfellow for 'Zima'.
A word to the rest. 'Ice Age' is an innocuous enough one-trick piece that underuses Mary Elizabeth Winstead and Topher Grace; 'Three Robots' is a charming enough concept and a single redraft away from being properly funny; 'Suits' combines Pacific Rim (2013) and agriculture in very entertaining fashion; 'Beyond the Aquila Rift' lands somewhere between cosmic horror and soft porn with debatable results.
Love, Death & Robots sets an exciting precedent. Short films, anthologies, and adult animation are all areas I would love to see Netflix further invest in. As animation demonstrations, these films prove that more series are not only technically viable but also creatively exciting. However, the writing must seriously improve if Miller and Fincher want to make a pitch for mainstream appeal.
Love, Death & Robots is streaming on Netflix now.
Featured Image Credit: Photo courtesy of Netflix
Is Love, Death & Robots an example of sexism in the fantasy and sci-fi genres?
Facebook // Epigram Film & TV // Twitter
Calum Bradshaw
one sidebarcarouselnewsfeatured top
'A broken system': No suspension or expulsion for students accused of sexual offences
one sidebarfeatured topcarouselculturemusic
Playlist/ Music Editor's Picks #6


The Oxford dictionary defines luck as "success or failure brought by chance rather than through one's actions". Business people rarely discuss the role of luck in buying and selling. If mentioned at all, the prevailing perception is that buyers or sellers who depend on luck for success are at best lazy and lack a strategic mindset. However, the hunger for success through luck is prevalent in traditional and religious beliefs in Africa. For example, people say that itchy palms are a sign of good luck and could also mean a large amount of money is coming your way1.
The sports betting industry is fast becoming a multimillion dollar industry in Africa. According to reports, the gambling industries in Kenya, Nigeria, and South Africa are projected to be worth $37 billion as of 2018. Price Water House Coopers reported in 2017 that sports betting constituted 21.3 per cent of South Africa's total gambling turnover of $18.77 billion. Similarly, 76% of 10.1 million young people in Kenya spend at least $50 a month on sport betting activities, totalling about $461 million annually. However, in Nigeria, 60 million residents in the age group of 18 – 40 are active sports bettors. They spend an average of $5 million on sports bets daily. The implication is that sports bettors stake approximately $182.1 billion annually in Nigeria. Besides, statistics have also shown that Nigeria's sports betting industry is experiencing an annual growth rate of 7.7 per cent, while that of South Africa is growing at 6.3 per cent. These indicators reveal that Nigeria`s sports betting industry is not only the largest but also the fastest growing betting industry in sub-Saharan Africa, yet, the World Poverty Clock still points to the fact that 90.3 million Nigerians are living in extreme poverty for spending less than $1.25 per day. Why then do Nigerian bettors stake a significant portion of their meagre income on sports betting?
Some analysts emphasise that Nigerians are increasingly involved in sports betting due to an increase in unemployment, sports fandom, increased smartphone usage and a lack of consumer confidence in the economy. However, one fascinating insight from a recent study of sports betting companies in Nigeria reveals that the return on investment for bettors over six months is about 110%. Interestingly, data also shows that 70% of bettors win at least one lottery or the other within the first six months. Therefore, when the economy does not provide a clear pathway to success for buyers, the hunger for success through luck expresses itself more strongly.
An important conclusion from this insight is that success in buying does not depend on effort alone but is instead a combination of effort and luck. Thus, understanding the strategic role of luck in influencing the beliefs and actions of buyers is critical for success in capturing the buyers. Luck also affects the behaviour of salespeople. According to Joel le Bon (Harvard Business Review, April 2015), "if you downplay the power of luck, you stand to fall behind competitors who have learned how to manage it". In a significant study of successful salespeople and students, the author found that the higher a salesperson's belief in good luck, the greater the sales activities, the higher the opportunities for luck and the greater the person's provoked luck.
How can marketers strategically exploit the power of luck among buyers and salespeople more effectively? First, marketers need to be trained to identify the extent of hunger for luck among buyers. Consumer analytics could identify the cultural, religious, economic and emotional triggers of luck. Marketers would have to search not only for knowledge about buyers but also about competitors and the overall market.
Another strategy is to select the right events and seasons of the year to organise promotional events that celebrate the luck associated with using products and services. For instance, the use of games and contests to increase the brand association of buyers is an exciting way to explore the power of luck. During these events, buyers could compete for prizes that boost their reputation for luck and their association with the company's brand.
Marketers could also run advertisements and campaigns that showcase success stories of lucky consumers who won awards and prizes thanks to persistent patronage of products or services. Since buyers tend to identify with role models, blessed and prosperous buyers could help to boost the emotional connection with brands. Consequently, religious, business and thought leaders who believe in luck might be playing influential roles in the buying process of several brands.
Salespeople could also use luck more effectively to improve their performance. Luck can drive sales performance when salespeople are persistent in their quest for excellence in selling. The pursuit for excellence implies getting out of one's comfort zone and making concerted efforts to understand the stakeholders involved in every buying decision. Salespeople can encounter instances of luck from improving their networking skills, obtaining relevant information on the latest trends in their industry and identifying untapped opportunities from unexpected sources. Salespeople also require a high tolerance for failure to increase their chances to succeed through luck. Tolerating failure implies reframing instances of failure into opportunities for learning that are meaningful for the future. In summary, success through luck requires hard work and resilience. Managers and marketers can benefit from understanding the strategic synergy between effort and luck.
As a salesperson, do you believe in the concept of luck? Has it produced any significant results in your sales activities so far?
Salespeople could also use luck more effectively to improve their performance.


The tradesman Mariuz was not only helpful and friendly but also extremely knowledgeable. This helped us to make crucial decisions and friendly setup benefiting the work that was done. He not only did a wonderful job but also is very appreciable in case of any problems or questions. He is my goto person now for any plumbing problems. He is very reasonably priced as well.
Job well done. Happy to recommend to anyone. Friendly and speedy service provided. Thank you!
Very conscientious tradesman, did a fab job for us always happy to answer any questions we threw at him.