aging

Managing Nuclear Proliferation in the Middle East

This paper appears as chapter 4 of Restoring the Balance: A Middle East Strategy for the Next President. See the book overview and executive summaries for information on other chapters. EXECUTIVE SUMMARY CURRENT U.S. EFFORTS to stop Iran’s nuclear program have failed. Fortunately, however, because of technical limits, Iran appears to be two to three years…

       




aging

First Packaging-Free, Zero-Waste Grocery Store In US Coming To Austin, Texas

It's gotten harder and harder over the years to avoid excess packaging when shopping for everyday items, but plans are in the works for a store in Austin (also the home of Whole Foods) that will specialize in local and organic




aging

Redesigning How We Clean: Ami Shah of iQ on Their Award Winning Refill Packaging (Interview)

Over one billion plastic cleaning containers go into landfill each year, according to the Canadian eco-cleaning company Planet People. And did you know that the majority of household cleaners are 95 per cent water and only five per




aging

Wikipearls: Bite-sized foods wrapped in edible packaging

Inspired by the way nature "packages" cells, fruits and vegetables, these are gourmet pearls of ice cream, yogurt, cheese and even soups -- enveloped in a edible, nutritious and protective skin.




aging

One-a-day bananas: Genius at work or waste of packaging? (Survey)

Bananas are already in a perfect package. But is this even better?




aging

All UK and Irish Tetra Pak Packaging to be FSC Certified

Image from Tetra Pak Tetra Pak is the world's largest packaging company so when they decide to do something environmental it has a big impact. They have just announced that all of their UK and Irish packaging will be FSC (Forest Stewardship Council)




aging

Retracing Darwin's Steps, and Managing the Human Impact on the Galapagos Islands

The difference between visiting the islands largely untouched by humans and those once habited by people is




aging

Boomer alert: How cities must adapt to an aging population, and vice versa

A review of posts about aging baby boomers on the Mother Nature Network.




aging

Recycling is hard. That's why we have to eliminate single use packaging and not get distracted.

StackitNOW is a great idea but also demonstrates how intractable the problem is.




aging

Doing Away With Disposable Packaging

Go Box founder Laura Weiss has worked hard to make Portland (foodie paradise) just a little more sustainable, waste wise, with her system of reusable to go containers.




aging

Producers could finally be responsible for packaging waste in Ontario

The Canadian province is overhauling its recycling program, which would include holding producers accountable for their wasteful packaging designs.




aging

Coke's UK head of sustainability says we don't have a packaging problem, we have a waste and litter problem

This is the "guns don't kill people, people kill people" defense.




aging

UK supermarket Tesco says it will ban products with excessive packaging

The company is ramping up pressure on suppliers to design less wasteful packaging.




aging

Toymaker Hasbro says it will phase out plastic packaging

Starting in 2020, the company will redesign packaging to be more environmentally-friendly.




aging

New Packaging Tells You How to Reuse It Creatively

Creative crafters can come up with all sorts of beautiful and innovative ways to




aging

Vacuum Cleaner Made From Its Own Cardboard Packaging

One of the biggest floor-care brands in Britain has unveiled a cardboard vacuum cleaner made from its own packaging, the Vax ev. And it was created by a student.Open and Assemble—Without the Packaging Waste The vacuum is sold in a




aging

How a 'Smart Supermarket' could do away with plastic packaging

A hopeful report by Greenpeace envisions a future where supermarkets have gotten rid of superfluous waste.




aging

Recycling packaging is important, but doesn't the inside count?

Why so much focus on packaging when product waste is equally important to consider?




aging

Effective frequency in sustainable messaging

In our mission to close the “green-gap” through sustainable messaging, every bit of insight counts.




aging

5 packaging materials you didn’t know are difficult to recycle

How many of these common items have you placed in your blue bin?




aging

Less isn’t always more when it comes to product packaging

“Lightweighting” often shrinks down packaging into items that are unrecyclable, difficult to capture, highly polluted and designed without end-of-life solutions.




aging

From food packaging to cleaning supplies, the kitchen is a vortex of disposability

Wastes are made in the kitchen.




aging

How to make air travel (a bit) less damaging

We know it's bad, but people still do it, which is why we still need to talk about it.




aging

How Stella McCartney is encouraging people not to buy new clothes

With a renewed partnership between the fashion label and resale consigner The RealReal, McCartney is coaxing consumers into a circular economy.




aging

THE BOX could eliminate cardboard and plastic packaging waste

It's a lot more than just a box, it's packaging as a service.




aging

On MNN: Aging suburbs, the trough of disillusionment and being wrong about everything

And a look at Amazon's office morale.




aging

Elate Cosmetics now offers 'Perfectly Imperfect' packaging

The bamboo palettes and compacts have minor flaws that, in a way, make them even more special.




aging

Danish Council on Ethics releases its report on beef as a 'climate damaging food'

The report argues why a beef tax would be an effective step toward curbing greenhouse gas emissions and why we should all be paying more for climate-damaging foods.




aging

New imaging technique sees inside lithium batteries

A new way to see inside batteries in real time as they go through charging cycles could help prevent battery fires and increase battery lifespans




aging

Edible, plastic-free packaging is created with fermentation, like kombucha (Video)

Using the same fermentation and bacterial and yeast culture that creates kombucha, this packaging is edible and compostable.




aging

Shellworks creates sustainable packaging with seafood shells (Video)

This alternative to single-use plastics uses a range of custom-designed machines to create a recyclable and compostable bioplastic, sourced from discarded crustacean shells.




aging

A guide to sustainable packaging labels

Consumers are choosing brands they think are better for the planet, so it’s important they know what they’re getting.




aging

8 makeup brands that are fighting plastic packaging

The beauty industry has a long way to go, but these companies prove that change is in the air.




aging

Here's an incredibly simple solution to plastic packaging waste

Remove the water.




aging

Plastic- and packaging-free frozen foods spotted at Czech grocery

Feast your eyes on the frozen foods available with no waste at the Globus Hypermarket in the Czech Republic




aging

700 chocolate bars could reduce packaging on delicious treats

Testing shows just how much packaging is required to keep the yum in, and reveals some dirty little secrets on the way




aging

The hottest thing at CES is the FLIR thermal imaging iPhone case

Everyone in the green home improvement biz needs one of these, and they can make great cat videos on the side.




aging

Changing Face of Retirement Shines New Light on Aging in America - Jim Poolman on the Changing Face of Retirement

Jim Poolman on the Changing Face of Retirement




aging

Brookdale's Entrepreneur in Residence Program Helps Spark Innovation for the Aging - Mike Eidsaune, Carely App

Carely’s founder Mike Eidsaune takes part in Brookdale’s Entrepreneur in Residence program during a short stay in Brookdale Kettering.




aging

Brookdale's Entrepreneur in Residence Program Helps Spark Innovation for the Aging - Mike Eidsaune, Carely App

Carely’s founder Mike Eidsaune takes part in Brookdale’s Entrepreneur in Residence program during a short stay in Brookdale Kettering.




aging

EPILEPSY FOUNDATION LAUNCHES “TALK ABOUT IT!” PUBLIC SERVICE ANNOUNCEMENT FEATURING ACTOR GREG GRUNBERG, ENCOURAGING AN OPEN DIALOGUE ABOUT EPILEPSY - Talk About It! PSA with Greg Grunberg

Talk About It! PSA with Greg Grunberg




aging

Nonsurgical Facelift - Marketing Gimmick Or Legitimate Cosmetic Procedure? - Longitudinal Care For Facial Aging

Is a Nonsurgical Facelift a Reality and How Does it Impact Facial Aging?




aging

EPILEPSY FOUNDATION LAUNCHES “TALK ABOUT IT!” PUBLIC SERVICE ANNOUNCEMENT FEATURING ACTOR GREG GRUNBERG, ENCOURAGING AN OPEN DIALOGUE ABOUT EPILEPSY - Talk About It! PSA with Greg Grunberg

Talk About It! PSA with Greg Grunberg




aging

Релиз эмулятора DOSBox Staging 0.75

Спустя 10 лет с момента прошлого значительного выпуска DOSBox опубликован релиз DOSBox Staging 0.75, разработку которого подхватили энтузиасты в рамках нового проекта, собравшие в одном месте многочисленные разрозненные патчи. DOSBox представляет собой мультиплатформенный эмулятор среды MS-DOS, написанный с использованием библиотеки SDL и развиваемого для запуска старых DOS-игр в Linux, Windows и macOS.






aging

US tweets support for Taiwan, enraging China

The United States tweeted its support for Taiwan’s participation in the United Nations Friday, provoking a sharp response from China expressing “strong indignation and firm opposition.”




aging

Staging a 'socially distanced' boxing match

Inside the Nicaraguan boxing event that caught the world's attention during the pandemic.




aging

Leveraging React for Easy Image Management

React is a good tool when it comes to building flexible and reusable UI components. However, it’s “one of those libraries” that cannot handle all the tasks involved in building a full fleshed UI project. Other supporting tools - such as a recently announced React SDK from Cloudinary - are available to provide solutions that the React core cannot.

In such cases where media (images and videos) becomes a heavy task to handle, Cloudinary simplifies the process with the new React SDK. Let’s build and image library with Cloudinary and React using the Cloudinary’s React SDK.

Prerequisites

The only requirements for using Cloudinary in your existing React project are to install the React SDK and the upload widget. If you do not have an existing React project and want to try these examples, take the following steps:

1. Install Dependencies

We need a minimal amount of dependencies so we can focus on building a media library and not structuring a React app:

{
  "name": "img-library",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "watch": "webpack -d --watch",
    "build": "webpack",
    "serve": "serve ./public"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "babel-core": "^6.18.2",
    "babel-loader": "^6.2.9",
    "babel-preset-es2015": "^6.18.0",
    "babel-preset-react": "^6.16.0",
    "serve": "^1.4.0",
    "webpack": "^1.14.0"
  },
  "dependencies": {
    "axios": "^0.15.3",
    "cloudinary-react": "^1.0.1",
    "react": "^15.4.1",
    "react-dom": "^15.4.1"
  }
}

React (and React DOM) must be used since we are making a React app. The cloudinary-react dependency is Cloudinary’s React SDK, which we will soon see how it works. axios is a tool for making HTTP requests and, in our case, we will use it request images from the Cloudinary server.

# Install dependencies
npm install

2. Setup Webpack

Webpack is our build tool. Only minimal settings are required to have a build running and our React app compiling:

// ./webpack.config.js
var webpack = require('webpack');
var path = require('path');

var BUILD_DIR = path.resolve(__dirname, 'public');
var APP_DIR = path.resolve(__dirname, 'src');

var config = {
    entry: APP_DIR + '/index.jsx',
    output: {
        path: BUILD_DIR,
        filename: 'bundle.js'
    },
    module : {
        loaders : [
            {
                test : /.jsx?/,
                include : APP_DIR,
                loader : 'babel'
            }
        ]
    }
};

module.exports = config;

Basic configuration - an entry, output and loaders to handle the React .jsx files.

3. Entry Points

We need to create an entry point, as we specified in the Webpack configuration, and another entry point for the browser, which is an index.html file:

// ./src/index.jsx
import React, { Component } from 'react';
import { render } from 'react-dom';

class Main extends Component {
    render() {
        return (
           <div className="main">
               <h1>Scotchage</h1>
           </div>
        );
    }
}

render(<Main />, document.getElementById('container'));
<!-- ./public/index.html -->
<html>
<head>
    <!--Stylesheet-->
    <link rel="stylesheet" href="style.css">
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
    <!--Container for React rendering-->
    <div id="container"></div>
    <!--Bundled file-->
    <script src="bundle.js"></script>
</body>
</html>

4. Create Cloudinary Account

You need a Cloudinary account to continue with these examples. Sign up for free and store your credentials safely as shown on the dashboard:

Uploading Images

Before using the React SDK to deliver images from the Cloudinary servers, let’s use the awesome Cloudinary upload widget to upload images. First, we need to add this widget to our index.html:

<!-- ./public/index.html -->
<html>
<head>
   . . .
</head>
<body>
    . . .
    <!-- UPLOAD WIDGET -->
    <script src="//widget.cloudinary.com/global/all.js" type="text/javascript"></script>
    <script src="bundle.js"></script>
</body>
</html>

Next, we create a button, attach an event to it and upload an image once the button is clicked:

import React, { Component } from 'react';
import { render } from 'react-dom';

class Main extends Component {

    uploadWidget() {
        cloudinary.openUploadWidget({ cloud_name: 'CLOUD_NAME', upload_preset: 'PRESET', tags:['xmas']},
            function(error, result) {
                console.log(result);
            });
    }
    render(){
        return (
            <div className="main">
                <h1>Galleria</h1>
                <div className="upload">
                    <button onClick={this.uploadWidget.bind(this)} className="upload-button">
                        Add Image
                    </button>
                </div>
            </div>

        );
    }
}

render(<Main />, document.getElementById('container'));

The uploadWidget member method is the handler invoked by the click event to handle our image upload by calling cloudinary.openUploadWidget. openUploadWidget takes a config object and the upload callback handler. The config object must have at least cloud_name and upload_preset properties with valid values. You can read more about Cloud Names and Upload Presets.

Delivering Images with SDK

The Cloudinary React SDK has three major components, Image, CloudinaryContext and Transformation:

  • Image: This component is responsible for the actual delivery of images. It takes the image ID and asks the server for this image. When the image is provided, it is also responsible for painting the image on the browser.
  • Transformation: This component is used to apply transformations to images delivered with Image.
  • CloudinaryContext: You can specify Cloudinary configuration for each image on the Image component. This can be tedious when you are dealing with multiple images. CloudinaryContext allows you to apply configuration to a group of Images.

Most times you would end up with a structure like this:

<CloudinaryContext>
    <Image>
        <Transformation />
        <Transformation />
    </Image>
    <Image>
        <Transformation />
    </Image>
</CloudinaryContext>

Back to our demo app, we can request an image from the Cloudinary server and display it with the following components:

import React, { Component } from 'react';
import axios from 'axios';
import { CloudinaryContext, Transformation, Image } from 'cloudinary-react';
import { render } from 'react-dom';

class Main extends Component {
    constructor(props) {
        super(props);
        this.state = {
            gallery: []
        }
    }
    componentDidMount() {
    // Request for images tagged xmas       
axios.get('http://res.cloudinary.com/christekh/image/list/xmas.json')
            .then(res => {
                console.log(res.data.resources);
                this.setState({gallery: res.data.resources});
            });
    }
    uploadWidget() {
       // . . .
    }
    render(){
        return (
            <div className="main">
                <h1>Galleria</h1>
                <div className="gallery">
                    <CloudinaryContext cloudName="CLOUDNAME">
                        {
                            this.state.gallery.map(data => {
                                return (
                                    <div className="responsive" key={data.public_id}>
                                        <div className="img">
                                            <a target="_blank" href={`http://res.cloudinary.com/christekh/image/upload/${data.public_id}.jpg`}>
                                                <Image publicId={data.public_id}>
                                                    <Transformation
                                                        crop="scale"
                                                        width="300"
                                                        height="200"
                                                        dpr="auto"
                                                        responsive_placeholder="blank"
                                                    />
                                                </Image>
                                            </a>
                                            <div className="desc">Created at {data.created_at}</div>
                                        </div>
                                    </div>
                                )
                            })
                        }
                    </CloudinaryContext>
                    <div className="clearfix"></div>
                </div>
            </div>

        );
    }
}

render(<Main />, document.getElementById('container'));

Take one more look at the upload code:

 cloudinary.openUploadWidget({ cloud_name: 'christekh', upload_preset: 'idcidr0h', tags:['xmas']},
            function(error, result) {
            . . .

Each image is tagged with xmas, which serves as a way to request images with this tag as a collection. This is exactly what we are using the axios library to do when the component mounts:

axios.get('http://res.cloudinary.com/CLOUDNAME/image/list/xmas.json')
            .then(res => {
                console.log(res.data.resources);
                this.setState({gallery: res.data.resources});
            });

axios uses promises, so whenever the promise resolves in our case, we have a payload of images. We take advantage of React state to update our UI with the fetched resources.

Down to rendering, we configure the CloudinaryContext with our cloud_name, iterate over the gallery state that stores the images and displays them using the Image component. We also apply few transformations using the Transformation component.

For security reasons, Cloudinary will not allow you to make such request from the client unless you tell it to. The best way to go is to use the admin API via a backend SDK and then send the resource list to the client.

Updating State with New Uploads

We are able to upload images and request for images to be displayed on the user’s browsers. Here is how we update the displayed images instantly when the user uploads a new image:

uploadWidget() {
        let _this = this;
        cloudinary.openUploadWidget({ cloud_name: 'CLOUDNAME', upload_preset: 'PRESET', tags:['xmas']},
            function(error, result) {
            // Update gallery state with newly uploaded image
                _this.setState({gallery: _this.state.gallery.concat(result)})
            });
    }

Rather than logging the uploaded image information to the console, we update the gallery state, which bears the list of requested images, by concatenating the uploaded result to the gallery.

Image Management Simplified

Image uploads, transformation and delivery has never been easier. These tasks have been a serious challenge for developers. Cloudinary has created a way to abstract all this hard work, enabling you to simply plug and play.




aging

Twitter working on encrypted messaging feature: Report


As data security concerns on Facebook and WhatsApp loom large, Twitter is reportedly working on a 'Secret' encrypted messages feature which could make the microblogging platform safer for sensitive communications.

With this feature, Twitter is expected to roll out options about encrypted messaging like starting a secret conversation and viewing both sides of the conversation for encryption keys to verify a secure connection, TechCrunch reported on Monday.

The encrypted Direct Message (DM) option was first spotted inside Twitter for APK that contains codes for unreleased features that companies are testing.

Instant messaging app WhatsApp uses "end-to-end encryption" in all conversations. This can be opted into Messenger.

End-to-end encrypted messages are secured with a lock and only the sender and recipient have the special key needed to unlock and read them.

For added protection, every message sent has its own unique lock and key. No one can intercept the communications.

Last week, WhatsApp co-founder and CEO Jan Koum quit reportedly "after clashing with its parent, Facebook, over the popular messaging service's strategy and Facebook's attempts to use its personal data and weaken its encryption".

Catch up on all the latest Mumbai news, crime news, current affairs, and also a complete guide on Mumbai from food to things to do and events across the city here. Also download the new mid-day Android and iOS apps to get latest updates

This story has been sourced from a third party syndicated feed, agencies. Mid-day accepts no responsibility or liability for its dependability, trustworthiness, reliability and data of the text. Mid-day management/mid-day.com reserves the sole right to alter, delete or remove (without notice) the content in its absolute discretion for any reason whatsoever