text:
Careers at HPP
Find out what's happening at HPP, including project launches, events and blog posts from our team.
Home » News & blog
Filter by type All Blog News
Cervical cancer prevention offers a valuable opportunity to address global inequalities and improve women's health
Effective strategies to prevent cervical cancer have been successfully implemented in many countries. However, millions of women around the world are missing out on these, resulting in hundreds of thousands of avoidable deaths each year.
New discussion paper raises awareness of non-melanoma skin cancer as an occupational disease
The Health Policy Partnership has published a new report evaluating the case for non-melanoma skin cancer to be viewed in policy as an occupational disease.
Pandemic preparedness and response must be gender-inclusive to mitigate harms to women
Pandemics don't impact everyone equally. Women were disproportionately affected by the measures introduced to curb the spread of COVID-19. So how can we do better in responding to future disease outbreaks?
How is ADHD perceived in girls and women?
Definitions of ADD/ADHD and neurodivergence have expanded, but does this go far enough for girls and women, or is there still a gender bias?
Action statement urges governments to choose a new future for cardiovascular health
The Health Policy Partnership (HPP) has published a new action statement on cardiovascular disease (CVD): Governments must choose a new future for cardiovascular health.
Upcoming webinar: 'A new future for cardiovascular health: how do we unite decision-makers behind the next generation of national CVD plans?'
Join The Health Policy Partnership (HPP) on 22 November at 13.00 GMT / 14.00 CET for a webinar where we'll be joined by leading experts to discuss how to seek increased political commitment and long-term investment in CVD from governments.
A new infographic from HPP explains the effect of RSV on older adults
During the 2022 National RSV Awareness Month, HPP will be promoting its new infographic that highlights the impact of respiratory syncytial virus on older adults in Europe.
Heart health and the climate crisis: exploring the links between two of the biggest issues at stake today
Cardiovascular disease and climate change are two major challenges to public health, but they are not separate issues. This World Heart Day, it's time to recognise what connects them.
Time to drop 'lifestyle' out of health policy
Blaming non-communicable diseases on individual 'lifestyle choices' has blinded us to the much more complex causes for illnesses that now plague our societies. It is time we moved on.
New think piece explores how addressing CVD will have benefits beyond health
The Health Policy Partnership is pleased to publish a new think piece: 'The heart of society: why addressing cardiovascular disease is critical to achieving wider societal goals'.
The Lung Cancer Policy Network launches an interactive map of lung cancer screening
As secretariat to the Lung Cancer Policy Network, HPP is pleased to share the release of the new interactive map of lung cancer screening implementation.
In search of what's best for the brain
By 2025, more than one million people in the UK will be living with dementia, but we still can't answer the question: 'What can I do to lower my risk?'
HFPN opens registrations for the Heart Failure Policy Summit 2022
As secretariat to the Heart Failure Policy Network, we are delighted to announce the launch of the Heart Failure Policy Summit 2022.
Ready, set, go: are our health systems ready to fully integrate digital health?
The COVID-19 pandemic has been the catalyst for massive digital innovation in healthcare. But how can we ensure that health systems are adapted to integrate the available technology for maximum benefit?
Alzheimer's Research UK to invest £500k into research priorities in sport and brain injury, identified in a joint report with HPP
HPP and Alzheimer's Research UK have published a report outlining four research priorities to help address knowledge gaps around the links between sport, physical activity and risk of dementia.
The Lung Cancer Policy Network identifies lessons learnt from successful lung cancer screening implementation in a new report
As secretariat to the Lung Cancer Policy Network, HPP is proud to share the publication of its inaugural report, 'Lung cancer screening: learning from implementation'.
My experience with autoimmune encephalitis: a year of recovery
There is still a lot we don't know about neurological conditions such as autoimmune encephalitis – but through further research and awareness-raising, we can help improve quality of life for people with these conditions.
HPP establishes a clearer picture of national cardiovascular disease strategies in new think piece
The Health Policy Partnership is pleased to publish a new think piece which aims to shed light on inspiring national responses to cardiovascular disease.
HPP shines a light on the importance of health systems being ready for change
HPP is excited to launch a new programme of work which aims to highlight the importance of health system readiness.
HPP's depression scorecard for Belgium identifies areas for improvement in care
The Health Policy Partnership has applied its depression scorecard framework to Belgium, assessing national-level policy, the delivery of mental health care and priority areas for action.
HPP and the Lung Ambition Alliance establish an international network to improve survival from lung cancer
The Lung Cancer Policy Network is a global alliance of world-renowned experts in lung cancer and cancer screening, united by a common goal of making lung cancer a policy priority worldwide.
Sharing benefits from the use of biosimilar medicines across care pathways
The appropriate use of biosimilar medicines can expand treatment to more patients and create savings for health systems. These savings can then be re-invested to improve outcomes.
'A digital-first health system: are we there yet?' – register for our webinar
Join The Health Policy Partnership on 14 July, 15:00–16:00 BST / 16:00–17:00 CEST, for a webinar exploring the opportunities offered by digital health solutions, the challenges surrounding their implementation, and what this means for healthcare delivery.
New Heart Failure Policy Network report explores the opportunities for change following updated heart failure guidelines
'From guidelines to action: opportunities for change following the 2021 ESC guidelines' provides an overview of the changes in the 2021 European Society of Cardiology heart failure guidelines, and how these can be used to improve heart failure care.
'It'll get better on its own': men and their resistance to seeing a doctor
Men's Health Week 2022 focuses on the need for men to check-in on their health more regularly. But why are many men averse to seeking healthcare?
How do we make decisions when faced with uncertainty and risk?
Using early warning information can help to reduce the health consequences of disasters.
How is climate change affecting maternal and fetal health?
Good health begins in the womb, but the climate change crisis represents a growing threat to pregnant women and their babies.
Mental health care in an online world
Each year, Mental Health Awareness Week highlights the need to prioritise mental wellbeing. Digital mental health interventions offer a viable option for many people seeking support.
Journal article co-authored by HPP sets out the opportunity for lung cancer screening in Europe
The paper 'Implementing lung cancer screening in Europe: taking a systems approach' has been published in the Journal of Thoracic Oncology Clinical and Research Reports.
Can long COVID shift attitudes towards chronic fatigue?
As long COVID shares many of the same symptoms as chronic fatigue syndrome, there's a chance that society's approach to chronic illness and fatigue can finally change.
68–69 St Martin's Lane
London WC2N 4JS
Email: info@hpolicy.com
Company Reg No. 9258848 VAT Number: 201 3579 43
© 2023 The Health Policy Partnership. Website design by Popcorn
The Health Policy Partnership. Developing credible resources to help inform policymakers about key health issues across the globe. A range of international healthcare policy change research topics including; Person-centred care, NASH, BRCA, etc.
These cookies are strictly necessary to provide you with services available through our website and to use some of its features. These must be enabled at all times, so that we can save your preferences.
More information about our Data Privacy Policy.


silentArgs    = "/QN REBOOT=ReallySuppress REMOVE=ALL"
This discussion is only about VMware Workstation Player and the VMware Workstation Player package. If you have feedback for Chocolatey, please contact the google group.
Tell us what you love about the package or VMware Workstation Player, or tell us what needs improvement.
Deployed from e27d7a207f. You are on web.1. UTC time is currently 25 Apr 2019 17:00:36 +00:00.


text:
Q: Processing Rows returned by a select statement within a stored procedure Is there anybody out there who can tell me how I can fetch rows but within a stored procedure?
Let's say for example that I do
BEGIN
   SELECT id, name, lastname,
   FROM eyploees;

   --How can i process all the results within this procedure?

END<br/>

A: You need to use cursors:
DECLARE id_var INT;
DECLARE name_var VARCHAR(255);
DECLARE lastname_var VARCHAR(255);

DECLARE my_cursor CURSOR FOR SELECT id, name, lastname FROM employees;

DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;

OPEN my_cursor;

read_loop: LOOP

    FETCH my_cursor INTO id_var, name_var, lastname_var;
    IF done THEN
      LEAVE read_loop;
    END IF;

    --Do some row work here using _var variables from above

END LOOP;

CLOSE my_cursor;

redpajama_set_name: RedPajamaStackExchange


GEORGE TOWN, Feb 12 (Bernama) -- The Magistrate's postponed its decision on a man who pleaded guilty to splashing hot water on his two children, aged nine and ten, pending a medical report on the victims.
Magistrate Rosnee Mohd Radzuan fixed Feb 26 for mention of the case.
Eddy Noramin Ramli, 41, who is an agent of pre-paid cards, was charged with two counts of voluntarily causing hurt on his children by dangerous means.
On the first count, he was charged with splashing hot water on his nine-year-old daughter, causing the girl to be scalded on the body, at their house at Flat Kampung Melayu, Ayer Itam here, between 1 am and 2 am on Dec 28 last year.
He was also charged with committing a similar offence on his ten-year-old son at the same place, time and date.
He faced an imprisonment for up to 10 years, or fine, or whipping under Section 324 of the Penal Code.


Recover lost data on your Samsung device.
Is there a better alternative to Shining Samsung Data Recovery?
Is Shining Samsung Data Recovery really the best app in File Management category?
Will Shining Samsung Data Recovery work good on macOS 10.13.4?
Shining Samsung Data Recovery helps you recover lost data due to wrong deletion, virus attack, system crash, Samsung device failure, Android Upgrade, Factory Reset, Rom Flash, Broken Screen, Samsung Device Password Forgotten, etc. Shining Mac Samsung Data Recovery can recover all important data from you Samsung phones and tablets, such as Contacts, Photos, Videos, Messages, Call Logs, Audios, WhatsApp and Documents.
Shining Samsung Data Recovery needs a review. Be the first to review this app and get the discussion started!
Shining Samsung Data Recovery needs a rating. Be the first to rate this app and get the discussion started!


text:
Q: Adding eslint-webpack-plugin into project to provide Typescript linting I am having a hard time plugging a Typescript linter in my Webpack project.
Apparently eslint-loader is deprecated, they give eslint-webpack-plugin as an alternative. Additionally, I am using typescript-eslint/parser instead of tslint (deprecated) The problem is the rules I set inside my .eslintrc.js don't seem to get accounted for. I have added a simple rule in .eslintrc that should throw an error when using a semicolon.
export default class A {
  static yes = 'this is static'; // ";" <- should be invalidated by eslint
}

My dependencies are:
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"eslint": "^7.11.0",
"eslint-webpack-plugin": "^2.1.0",
"ts-loader": "^8.0.6",
"typescript": "^4.0.3",
"webpack": "^4.41.3",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"

If I understand correctly it should work like so:
                                                        # # # # # # # # # # # # # #
@typescript-eslint/parser --> eslint-webpack-plugin --> #                         #
      (uses eslint?)        (replaces eslint-loader)    #       webpack v4        #
                                                        #  w/ webpack-dev-server  #
       typescript         -->       ts-loader       --> #                         #
                                                        # # # # # # # # # # # # # #

Side note: I'm using webpack-dev-server instead of webpack-cli's serve command which doesn't seem to work quite yet with webpack v5.
The command I run to launch the server: webpack-dev-server --hot --inline

*

*project structure:

./
├─── src
│    └─── index.ts
└─── dist
     ├─── bundle.js
     └─── index.html <- imports bundle.js

*

*webpack.config.js:

const path = require('path')
const ESLintPlugin = require('eslint-webpack-plugin')

module.exports = {
  mode: 'development',
  entry: './src/index.ts',
  devtool: 'inline-source-map',
  devServer: {
    contentBase: path.resolve(__dirname, 'dist')
    // publicPath: "/assets", // path of the served resources (js, img, fonts...)
  },
  module: {
    rules: [
      {
        test: /\.tsx?$/,
        use: 'ts-loader',
        exclude: /node_modules/,
      },
    ],
  },
  plugins: [
    new ESLintPlugin({
      files: 'src/**/*.ts',
    })
  ],
  resolve: {
    extensions: [ '.tsx', '.ts', '.js' ],
  },
  output: {
    filename: 'bundle.js',
    path: path.resolve(__dirname, 'dist'),
  },
}

*

*.eslintrc.js:

module.exports = {
  root: true,
  env: {
    node: true,
  },
  parser: '@typescript-eslint/parser',
  extends: [
    'plugin:@typescript-eslint/recommended'
  ],
  parserOptions: {
    ecmaVersion: 2020,
    sourceType: 'module',
  },
  rules: {
    'semi': ['error', 'never'],
  },
  ignorePatterns: [ "dist/*" ],
}

*

*tsconfig.json:

{
  "compilerOptions": {
    "target": "esnext",
    "module": "esnext",
    "strict": true,
    "importHelpers": true,
    "moduleResolution": "node",
    "experimentalDecorators": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "baseUrl": ".",
    "paths": {
      "@/*": [
        "src/*"
      ]
    },
    "lib": [
      "dom",
      "dom.iterable",
    ]
  },
  "include": [
    "src/**/*.ts",
    "tests/**/*.ts",
  ],
  "exclude": [
    "node_modules"
  ]
}

A: I experienced a similar issue when trying to use the eslint-webpack-plugin with .vue files.
My solution was to use the extensions setting instead of files. Try this:
new ESLintPlugin({
  extensions: ['ts']
})

A: I fixed this and my current ESLintPlugin options object is the following:
const lintJSOptions = {
  context: path.join(paths.context, paths.js),
  extensions: ['js', 'ts'],
  emitError: true,
  emitWarning: true,
  failOnWarning: false,
  failOnError: false,
  // Toggle autofix
  fix: false,
  cache: false,

  formatter: require('eslint-friendly-formatter'),
};

Hope this helps.
PD: context property is the root location of your *.js or *.ts files relative to your package.json file, you can use path.resolve(__dirname, './src/scripts'); or wherever you store your scripts instead.

A: I got the same issue while trying to setup slit with Webpack. I solved it by using override config inside Webpack
plugins: [
    new ESLintPlugin({
      files: 'src/**/*.ts',
      "overrideConfig": {
        "extends": "eslint:recommended",
        "rules": { }
      }
    })
  ],

You can find it here in the official eslint documentation
https://eslint.org/docs/latest/developer-guide/nodejs-api#-new-eslintoptions


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>San Francisco SVG Map</title>
    <meta name="description" content="San Francisco SVG Map">
    <link rel="stylesheet" href="/assets/stylesheets/style.css">

Fork me on github.

Made with ❤ in San Francisco by Hugo Davoust.

redpajama_set_name: RedPajamaGithub


text:
package net.akmorrow13.endive.pipelines

import breeze.linalg._
import breeze.stats.distributions._
import net.akmorrow13.endive.EndiveConf
import net.akmorrow13.endive.processing.Sequence
import net.akmorrow13.endive.processing.{Dataset, TranscriptionFactors, CellTypes}
import net.akmorrow13.endive.utils._
import net.jafama.FastMath
import nodes.learning._
import nodes.nlp._
import nodes.stats._
import nodes.util._

import com.github.fommil.netlib.BLAS
import evaluation.BinaryClassifierEvaluator
import nodes.akmorrow13.endive.featurizers.KernelApproximator
import org.apache.log4j.{Level, Logger}
import org.apache.parquet.filter2.dsl.Dsl.{BinaryColumn, _}
import org.apache.spark.mllib.evaluation.BinaryClassificationMetrics
import org.apache.spark.mllib.regression.LabeledPoint
import org.apache.spark.rdd.RDD
import org.apache.spark.{SparkConf, SparkContext}
import org.bdgenomics.adam.models.ReferenceRegion
import org.bdgenomics.adam.rdd.ADAMContext._
import org.bdgenomics.formats.avro._
import org.kohsuke.args4j.{Option => Args4jOption}
import org.yaml.snakeyaml.constructor.Constructor
import org.yaml.snakeyaml.Yaml
import pipelines.Logging
import scala.util.Random
import utils.{Image, MatrixUtils, Stats, ImageMetadata, LabeledImage, RowMajorArrayVectorizedImage, ChannelMajorArrayVectorizedImage}
import workflow.{Pipeline, Transformer}
import org.apache.commons.math3.random.MersenneTwister
import java.io.{File, BufferedWriter, FileWriter}

object GlassmanPipeline  extends Serializable with Logging {

  /**
   * A very basic pipeline that *doesn't* featurize the data
   * simple regresses the raw sequence with the labels for the sequence
   *
   * HUGE CAVEATS
   * Trains a separate model for each TF type
   * Ignores cell type information
   *
   * @param args
   */
  def main(args: Array[String]) = {

    if (args.size < 1) {
      println("Incorrect number of arguments...Exiting now.")
    } else {
      val configfile = scala.io.Source.fromFile(args(0))
      val configtext = try configfile.mkString finally configfile.close()
      println(configtext)
      val yaml = new Yaml(new Constructor(classOf[EndiveConf]))
      val appConfig = yaml.load(configtext).asInstanceOf[EndiveConf]
      EndiveConf.validate(appConfig)
      val conf = new SparkConf().setAppName("ENDIVE")
      conf.setIfMissing("spark.master", "local[4]")
      Logger.getLogger("org").setLevel(Level.INFO)
      Logger.getLogger("akka").setLevel(Level.INFO)
      val sc = new SparkContext(conf)
      val blasVersion = BLAS.getInstance().getClass().getName()
      println(s"Currently used version of blas is ${blasVersion}")
      run(sc, appConfig)
    }
  }

  def run(sc: SparkContext, conf: EndiveConf) {
    val dataTxtRDD:RDD[String] = sc.textFile(conf.aggregatedSequenceOutput, minPartitions=600)

    val allData:RDD[LabeledWindow] = LabeledWindowLoader(conf.aggregatedSequenceOutput, sc).setName("_All data").cache()
    println("RAW WINDOW COUNT " + allData.count())
    println("RAW NUM POSITIVES " + allData.filter(_.label == 1).count())
    println("RAW NUM NEGATIVES " + allData.filter(_.label == 0).count())
    val r = new java.util.Random(0)
    val filteredData = allData.filter(x => x.label == 1 || (x.label == 0 && r.nextFloat < 0.005)).setName("Filtered Data").repartition(300).cache()
    println("FILTERED WINDOW COUNT " + filteredData.count())
    println("FILTERED NUM POSITIVES " + filteredData.filter(_.label == 1).count())
    println("FILTERED NUM NEGATIVES " + filteredData.filter(_.label == 0).count())
    println("DATA LOADED filtered AND REPARTIONED")
    val labelVectorizer = ClassLabelIndicatorsFromIntLabels(2)
    val foldsData = EndiveUtils.generateFoldsRDD(filteredData.keyBy(r => (r.win.region.referenceName, r.win.cellType)),
      numFolds = 5, numHeldOutChromosomes = 5, numHeldOutCellTypes = 2, randomSeed = 3)
    val cellTypeFeaturizer = Transformer.apply[LabeledWindow, Int](x => x.win.cellType.id) andThen new ClassLabelIndicatorsFromIntLabels(CellTypes.toVector.size)
    foldsData.map(_._1.count())
    foldsData.map(_._2.count())
    println("FOLDS DATA GENERATED")
    val ngramSize = 8
    val alphabetSize = 4
    val approxDim = 4096
    val seed = 0

    implicit val randBasis: RandBasis = new RandBasis(new ThreadLocalRandomGenerator(new MersenneTwister(seed)))
    val gaussian = new Gaussian(0, 1)
    val uniform = new Uniform(0, 1)
    val W = 0.1 * DenseMatrix.rand(approxDim, ngramSize*alphabetSize, gaussian)
    val b = DenseVector.rand(approxDim, uniform)
    for (i <- (0 until 4)) {

      println("Fold " + i)

      var train = foldsData(i)._1.map(x => x._2)
      val test = foldsData(i)._2.map(x => x._2)

      var XTrain:RDD[DenseVector[Double]] = train.map(x => KernelApproximator.stringToVector(x.win.sequence)).setName("XTrain").cache()

      val XTest:RDD[DenseVector[Double]] = test.map(x => KernelApproximator.stringToVector(x.win.sequence)).setName("XTest").cache()

      XTrain.count()
      XTest.count()

//      val yTrain = train.map(_.label).setName("yTrain").cache()
//      val yTest = test.map(_.label).setName("yTest").cache()
//
//      println("Collecting matrices")
//      val XTrainLocal:DenseMatrix[Double] = MatrixUtils.rowsToMatrix(XTrain.collect())
//      val XTestLocal:DenseMatrix[Double] = MatrixUtils.rowsToMatrix(XTest.collect())
//
//      val yTrainLocal:DenseMatrix[Double] = convert(DenseVector(yTrain.collect()).toDenseMatrix, Double)
//      val yTestLocal:DenseMatrix[Double] = convert(DenseVector(yTest.collect()).toDenseMatrix, Double)
//
//      val XTrainFile  = new File(s"/home/eecs/vaishaal/endive-data/${foldId}_Train.csv")
//      val XTestFile = new File(s"/home/eecs/vaishaal/endive-data/${foldId}_Test.csv")
//
//      val yTrainFile = new File(s"/home/eecs/vaishaal/endive-data/${foldId}_TrainLabels.csv")
//      val yTestFile = new File(s"/home/eecs/vaishaal/endive-data/${foldId}_TestLabels.csv")
//
//      csvwrite(XTrainFile, XTrainLocal)
//      csvwrite(XTestFile, XTestLocal)
//      csvwrite(yTrainFile, yTrainLocal)
//      csvwrite(yTestFile, yTestLocal)

      /*
      println("Converted data to one hot representation")
      println("Generating random lift now...")

      val kernelApprox = new KernelApproximator(filters=W)

      val XTrainLift = kernelApprox(XTrain).setName("XTrainLift").cache()
      val XTestLift = kernelApprox(XTest).setName("XTestLift").cache()

      val trainCount = XTrainLift.count()
      val testCount = XTestLift.count()

      println(s"Fold ${i}, training points ${trainCount}, testing points ${testCount}")

      println("Fitting model now...")
      val labelVectorizer = ClassLabelIndicatorsFromIntLabels(2)
      val model = LogisticRegressionEstimator[DenseVector[Double]](numClasses = 2, numIters = 10, regParam=0.0).fit(XTrainLift, yTrain)

      val yPredTrain = model(XTrainLift)
      val yPredTest = model(XTestLift)

      val evalTrain = new BinaryClassificationMetrics(yPredTrain.zip(yTrain.map(_.toDouble)))
      val evalTest = new BinaryClassificationMetrics(yPredTest.zip(yTest.map(_.toDouble)))
      println("Train Results (lifted): \n ")
      printMetrics(evalTrain)

      println("Test Results (lifted): \n ")
      printMetrics(evalTest)

      println("Training Baseline model")
      val modelBaseLine = LogisticRegressionEstimator[DenseVector[Double]](numClasses = 2, numIters = 10, regParam=0.0).fit(XTrain, yTrain)

      val yPredTrainBaseLine = modelBaseLine(XTrain)
      val yPredTestBaseLine = modelBaseLine(XTest)

      val evalTrainBaseLine = new BinaryClassificationMetrics(yPredTrainBaseLine.zip(yTrain.map(_.toDouble)))
      val evalTestBaseLine = new BinaryClassificationMetrics(yPredTestBaseLine.zip(yTest.map(_.toDouble)))

      println("Train Results (baseLine): \n ")
      printMetrics(evalTrainBaseLine)

      println("Test Results (baseLine): \n ")
      printMetrics(evalTestBaseLine)
      */

    }
  }

  def printMetrics(metrics: BinaryClassificationMetrics) {
    // AUPRC
    val auPRC = metrics.areaUnderPR
    println("Area under precision-recall curve = " + auPRC)

    // ROC Curve
    val roc = metrics.roc

    // AUROC
    val auROC = metrics.areaUnderROC
    println("Area under ROC = " + auROC)
  }

  def loadTsv(sc: SparkContext, filePath: String): RDD[(ReferenceRegion, Int)] = {
    val rdd = sc.textFile(filePath).filter(!_.contains("start"))
    rdd.map(line=> {
      val parts = line.split("\t")
      /* TODO: ignoring cell types for now */
      val label = parts.slice(3,parts.size).map(extractLabel(_)).reduceLeft(_ max _)
      (ReferenceRegion(parts(0), parts(1).toLong, parts(2).toLong), label)
    })

  }

  def timeElapsed(ns: Long) : Double = (System.nanoTime - ns).toDouble / 1e9

  def extractLabel(s: String): Int= {
    s match {
      case "A" => -1 // ambiguous
      case "U" => 0  // unbound
      case "B" => 1  // bound
      case _ => throw new IllegalArgumentException(s"Illegal label ${s}")
    }
  }
}


text:
Q: Using GruntJS to filter which files get deployed Currently the static resources we use are part of a web project in Visual Studio. There are certain files in the project that we want locally that we don't want being deployed to production. We manage this by using the .csproj file and seeing if a file is mark as "content" or "none" etc. (If it's marked as "none" it doesn't get pulled on the deploy).
This works great however we are moving our development out of Visual Studio and into a more Javascript friendly IDE. However if we add or delete files we still need to go back to Visual Studio and update the .csproj file to ensure that production won't get out of sync and that the build won't break.
This got me thinking, as we are implementing Node/Grunt if there's a plug-in of sorts that handles kind of the same thing -- a whitelist/blacklist kind of approach that the server could look at and decide which files to pick up and which ones to leave.
I've tried googling around but I'm not having much luck in figuring out exactly how to phrase it and I'm hoping someone here has any idea on how this can be done. I'm also willing to hear any other better ways of perhaps handling this issue. That in environment agnostic.

A: Grunt comes with built-in file filters.  You can filter anything, it's very powerful.  I can't offer a specific solution without seeing your Grunt tasks, but here is an example of different exclusion patterns with the grunt-copy task:
copy: {
  dist: {
    files: [{
      expand: true,
      dot: true,
      dest: 'dist',
      src: [
        '*.{ico,png,txt}',
        'bower_components/**/*',
        'assets/images/{,*/}*.{webp}',
        'assets/fonts/**/*',
        'index.html',
        '!*.something',  // exclude all files with the extension .something
        '!.tmp/**/*'     // exclude all files recursively under .tmp directory
      ]
    }]
 }

Grunt uses node-glob so you may want to explore the documentation there to learn about different patterns.
I will also mention that there are plugins to perform string replacements on any file (eg. grunt-replace). With something like that, you can modify your .csproj file automatically to add/remove files based on your Grunt filters (or vice versa).
Please excuse the anecdote, but as a former .NET developer myself who relied on Visual Studio to handle everything for me, I was initially intimidated by the complexity and apparent frailty of Node.js processes.  My message to you would be don't get intimidated, once I became comfortable I realized I had control over every aspect of the build process and was no longer at the mercy of VS.  It was the most liberating moment of my career and I haven't looked back.


text:
Echo Of The Mountain
What's wrong with what we eat | Mark Bittman
I write about food. I write about cooking. I take it quite seriously, but I'm here to talk about something that's become very important to me in the last year or two. It is about food, but it's not about cooking, per se. I'm going to start with this picture of a beautiful cow. I'm not a vegetarian — this is the old Nixon line, right? But I still think that this — (Laughter) — may be this year's version of this. Now, that is only a little bit hyperbolic. And why do I say it? Because only once before has the fate of individual people and the fate of all of humanity been so intertwined. There was the bomb, and there's now. And where we go from here is going to determine not only the quality and the length of our individual lives, but whether, if we could see the Earth a century from now, we'd recognize it. It's a holocaust of a different kind, and hiding under our desks isn't going to help. Start with the notion that global warming is not only real, but dangerous. Since every scientist in the world now believes this, and even President Bush has seen the light, or pretends to, we can take this is a given. Then hear this, please. After energy production, livestock is the second-highest contributor to atmosphere-altering gases. Nearly one-fifth of all greenhouse gas is generated by livestock production — more than transportation. Now, you can make all the jokes you want about cow farts, but methane is 20 times more poisonous than CO2, and it's not just methane. Livestock is also one of the biggest culprits in land degradation, air and water pollution, water shortages and loss of biodiversity. There's more. Like half the antibiotics in this country are not administered to people, but to animals. But lists like this become kind of numbing, so let me just say this: if you're a progressive, if you're driving a Prius, or you're shopping green, or you're looking for organic, you should probably be a semi-vegetarian. Now, I'm no more anti-cattle than I am anti-atom, but it's all in the way we use these things. There's another piece of the puzzle, which Ann Cooper talked about beautifully yesterday, and one you already know. There's no question, none, that so-called lifestyle diseases — diabetes, heart disease, stroke, some cancers — are diseases that are far more prevalent here than anywhere in the rest of the world. And that's the direct result of eating a Western diet. Our demand for meat, dairy and refined carbohydrates — the world consumes one billion cans or bottles of Coke a day — our demand for these things, not our need, our want, drives us to consume way more calories than are good for us. And those calories are in foods that cause, not prevent, disease. Now global warming was unforeseen. We didn't know that pollution did more than cause bad visibility. Maybe a few lung diseases here and there, but, you know, that's not such a big deal. The current health crisis, however, is a little more the work of the evil empire. We were told, we were assured, that the more meat and dairy and poultry we ate, the healthier we'd be. No. Overconsumption of animals, and of course, junk food, is the problem, along with our paltry consumption of plants. Now, there's no time to get into the benefits of eating plants here, but the evidence is that plants — and I want to make this clear — it's not the ingredients in plants, it's the plants. It's not the beta-carotene, it's the carrot. The evidence is very clear that plants promote health. This evidence is overwhelming at this point. You eat more plants, you eat less other stuff, you live longer. Not bad. But back to animals and junk food. What do they have in common? One: we don't need either of them for health. We don't need animal products, and we certainly don't need white bread or Coke. Two: both have been marketed heavily, creating unnatural demand. We're not born craving Whoppers or Skittles. Three: their production has been supported by government agencies at the expense of a more health- and Earth-friendly diet. Now, let's imagine a parallel. Let's pretend that our government supported an oil-based economy, while discouraging more sustainable forms of energy, knowing all the while that the result would be pollution, war and rising costs. Incredible, isn't it? Yet they do that. And they do this here. It's the same deal. The sad thing is, when it comes to diet, is that even when well-intentioned Feds try to do right by us, they fail. Either they're outvoted by puppets of agribusiness, or they are puppets of agribusiness. So, when the USDA finally acknowledged that it was plants, rather than animals, that made people healthy, they encouraged us, via their overly simplistic food pyramid, to eat five servings of fruits and vegetables a day, along with more carbs. What they didn't tell us is that some carbs are better than others, and that plants and whole grains should be supplanting eating junk food. But industry lobbyists would never let that happen. And guess what? Half the people who developed the food pyramid have ties to agribusiness. So, instead of substituting plants for animals, our swollen appetites simply became larger, and the most dangerous aspects of them remained unchanged. So-called low-fat diets, so-called low-carb diets — these are not solutions. But with lots of intelligent people focusing on whether food is organic or local, or whether we're being nice to animals, the most important issues just aren't being addressed. Now, don't get me wrong. I like animals, and I don't think it's just fine to industrialize their production and to churn them out like they were wrenches. But there's no way to treat animals well, when you're killing 10 billion of them a year. That's our number. 10 billion. If you strung all of them — chickens, cows, pigs and lambs — to the moon, they'd go there and back five times, there and back. Now, my math's a little shaky, but this is pretty good, and it depends whether a pig is four feet long or five feet long, but you get the idea. That's just the United States. And with our hyper-consumption of those animals producing greenhouse gases and heart disease, kindness might just be a bit of a red herring. Let's get the numbers of the animals we're killing for eating down, and then we'll worry about being nice to the ones that are left. Another red herring might be exemplified by the word "locavore," which was just named word of the year by the New Oxford American Dictionary. Seriously. And locavore, for those of you who don't know, is someone who eats only locally grown food — which is fine if you live in California, but for the rest of us it's a bit of a sad joke. Between the official story — the food pyramid — and the hip locavore vision, you have two versions of how to improve our eating. (Laughter). They both get it wrong, though. The first at least is populist, and the second is elitist. How we got to this place is the history of food in the United States. And I'm going to go through that, at least the last hundred years or so, very quickly right now. A hundred years ago, guess what? Everyone was a locavore: even New York had pig farms nearby, and shipping food all over the place was a ridiculous notion. Every family had a cook, usually a mom. And those moms bought and prepared food. It was like your romantic vision of Europe. Margarine didn't exist. In fact, when margarine was invented, several states passed laws declaring that it had to be dyed pink, so we'd all know that it was a fake. There was no snack food, and until the '20s, until Clarence Birdseye came along, there was no frozen food. There were no restaurant chains. There were neighborhood restaurants run by local people, but none of them would think to open another one. Eating ethnic was unheard of unless you were ethnic. And fancy food was entirely French. As an aside, those of you who remember Dan Aykroyd in the 1970s doing Julia Child imitations can see where he got the idea of stabbing himself from this fabulous slide. (Laughter) Back in those days, before even Julia, back in those days, there was no philosophy of food. You just ate. You didn't claim to be anything. There was no marketing. There were no national brands. Vitamins had not been invented. There were no health claims, at least not federally sanctioned ones. Fats, carbs, proteins — they weren't bad or good, they were food. You ate food. Hardly anything contained more than one ingredient, because it was an ingredient. The cornflake hadn't been invented. (Laughter) The Pop-Tart, the Pringle, Cheez Whiz, none of that stuff. Goldfish swam. (Laughter) It's hard to imagine. People grew food, and they ate food. And again, everyone ate local. In New York, an orange was a common Christmas present, because it came all the way from Florida. From the '30s on, road systems expanded, trucks took the place of railroads, fresh food began to travel more. Oranges became common in New York. The South and West became agricultural hubs, and in other parts of the country, suburbs took over farmland. The effects of this are well known. They are everywhere. And the death of family farms is part of this puzzle, as is almost everything from the demise of the real community to the challenge of finding a good tomato, even in summer. Eventually, California produced too much food to ship fresh, so it became critical to market canned and frozen foods. Thus arrived convenience. It was sold to proto-feminist housewives as a way to cut down on housework. Now, I know everybody over the age of, like 45 — their mouths are watering at this point. (Laughter) (Applause) If we had a slide of Salisbury steak, even more so, right? (Laughter) But this may have cut down on housework, but it cut down on the variety of food we ate as well. Many of us grew up never eating a fresh vegetable except the occasional raw carrot or maybe an odd lettuce salad. I, for one — and I'm not kidding — didn't eat real spinach or broccoli till I was 19. Who needed it though? Meat was everywhere. What could be easier, more filling or healthier for your family than broiling a steak? But by then cattle were already raised unnaturally. Rather than spending their lives eating grass, for which their stomachs were designed, they were forced to eat soy and corn. They have trouble digesting those grains, of course, but that wasn't a problem for producers. New drugs kept them healthy. Well, they kept them alive. Healthy was another story. Thanks to farm subsidies, the fine collaboration between agribusiness and Congress, soy, corn and cattle became king. And chicken soon joined them on the throne. It was during this period that the cycle of dietary and planetary destruction began, the thing we're only realizing just now. Listen to this, between 1950 and 2000, the world's population doubled. Meat consumption increased five-fold. Now, someone had to eat all that stuff, so we got fast food. And this took care of the situation resoundingly. Home cooking remained the norm, but its quality was down the tubes. There were fewer meals with home-cooked breads, desserts and soups, because all of them could be bought at any store. Not that they were any good, but they were there. Most moms cooked like mine: a piece of broiled meat, a quickly made salad with bottled dressing, canned soup, canned fruit salad. Maybe baked or mashed potatoes, or perhaps the stupidest food ever, Minute Rice. For dessert, store-bought ice cream or cookies. My mom is not here, so I can say this now. This kind of cooking drove me to learn how to cook for myself. (Laughter) It wasn't all bad. By the '70s, forward-thinking people began to recognize the value of local ingredients. We tended gardens, we became interested in organic food, we knew or we were vegetarians. We weren't all hippies, either. Some of us were eating in good restaurants and learning how to cook well. Meanwhile, food production had become industrial. Industrial. Perhaps because it was being produced rationally, as if it were plastic, food gained magical or poisonous powers, or both. Many people became fat-phobic. Others worshiped broccoli, as if it were God-like. But mostly they didn't eat broccoli. Instead they were sold on yogurt, yogurt being almost as good as broccoli. Except, in reality, the way the industry sold yogurt was to convert it to something much more akin to ice cream. Similarly, let's look at a granola bar. You think that that might be healthy food, but in fact, if you look at the ingredient list, it's closer in form to a Snickers than it is to oatmeal. Sadly, it was at this time that the family dinner was put in a coma, if not actually killed — the beginning of the heyday of value-added food, which contained as many soy and corn products as could be crammed into it. Think of the frozen chicken nugget. The chicken is fed corn, and then its meat is ground up, and mixed with more corn products to add bulk and binder, and then it's fried in corn oil. All you do is nuke it. What could be better? And zapped horribly, pathetically. By the '70s, home cooking was in such a sad state that the high fat and spice contents of foods like McNuggets and Hot Pockets — and we all have our favorites, actually — made this stuff more appealing than the bland things that people were serving at home. At the same time, masses of women were entering the workforce, and cooking simply wasn't important enough for men to share the burden. So now, you've got your pizza nights, you've got your microwave nights, you've got your grazing nights, you've got your fend-for-yourself nights and so on. Leading the way — what's leading the way? Meat, junk food, cheese: the very stuff that will kill you. So, now we clamor for organic food. That's good. And as evidence that things can actually change, you can now find organic food in supermarkets, and even in fast-food outlets. But organic food isn't the answer either, at least not the way it's currently defined. Let me pose you a question. Can farm-raised salmon be organic, when its feed has nothing to do with its natural diet, even if the feed itself is supposedly organic, and the fish themselves are packed tightly in pens, swimming in their own filth? And if that salmon's from Chile, and it's killed down there and then flown 5,000 miles, whatever, dumping how much carbon into the atmosphere? I don't know. Packed in Styrofoam, of course, before landing somewhere in the United States, and then being trucked a few hundred more miles. This may be organic in letter, but it's surely not organic in spirit. Now here is where we all meet. The locavores, the organivores, the vegetarians, the vegans, the gourmets and those of us who are just plain interested in good food. Even though we've come to this from different points, we all have to act on our knowledge to change the way that everyone thinks about food. We need to start acting. And this is not only an issue of social justice, as Ann Cooper said — and, of course, she's completely right — but it's also one of global survival. Which bring me full circle and points directly to the core issue, the overproduction and overconsumption of meat and junk food. As I said, 18 percent of greenhouse gases are attributed to livestock production. How much livestock do you need to produce this? 70 percent of the agricultural land on Earth, 30 percent of the Earth's land surface is directly or indirectly devoted to raising the animals we'll eat. And this amount is predicted to double in the next 40 years or so. And if the numbers coming in from China are anything like what they look like now, it's not going to be 40 years. There is no good reason for eating as much meat as we do. And I say this as a man who has eaten a fair share of corned beef in his life. The most common argument is that we need nutrients — even though we eat, on average, twice as much protein as even the industry-obsessed USDA recommends. But listen: experts who are serious about disease reduction recommend that adults eat just over half a pound of meat per week. What do you think we eat per day? Half a pound. But don't we need meat to be big and strong? Isn't meat eating essential to health? Won't a diet heavy in fruit and vegetables turn us into godless, sissy, liberals? (Laughter) Some of us might think that would be a good thing. But, no, even if we were all steroid-filled football players, the answer is no. In fact, there's no diet on Earth that meets basic nutritional needs that won't promote growth, and many will make you much healthier than ours does. We don't eat animal products for sufficient nutrition, we eat them to have an odd form of malnutrition, and it's killing us. To suggest that in the interests of personal and human health Americans eat 50 percent less meat — it's not enough of a cut, but it's a start. It would seem absurd, but that's exactly what should happen, and what progressive people, forward-thinking people should be doing and advocating, along with the corresponding increase in the consumption of plants. I've been writing about food more or less omnivorously — one might say indiscriminately — for about 30 years. During that time, I've eaten and recommended eating just about everything. I'll never stop eating animals, I'm sure, but I do think that for the benefit of everyone, the time has come to stop raising them industrially and stop eating them thoughtlessly. Ann Cooper's right. The USDA is not our ally here. We have to take matters into our own hands, not only by advocating for a better diet for everyone — and that's the hard part — but by improving our own. And that happens to be quite easy. Less meat, less junk, more plants. It's a simple formula: eat food. Eat real food. We can continue to enjoy our food, and we continue to eat well, and we can eat even better. We can continue the search for the ingredients we love, and we can continue to spin yarns about our favorite meals. We'll reduce not only calories, but our carbon footprint. We can make food more important, not less, and save ourselves by doing so. We have to choose that path. Thank you.
agribusiness agriculture and Bittman broccoli canned food carbon carbon footprint cattle CH4 cow cows diet eat eating energy Environment farmers market farmers markets food frozen food global warming green greenhouse gas greenhouse gasses health junk junk food locavore Mark Bittman methane nutrition on nutrition organic organic food plants sustainability sustainable talks TED TEDtalks that the vegan vegetarian what is agriculture what is carbon what is sustainability
Donald Junkins
8 Creepiest Ocean Facts & Discoveries
CU편의점 디저트ㅣ노토킹 ASMR 리얼 사운드 먹방ㅣCU Convenience store DessertㅣCUデザートㅣReal Sound NoTalking Mukbang ♥
N4Cooks
HSN | Saturday Blend – 1st Big Sale of the Year 01.18.2020 – 11 AM
Which Store Makes The Best Custom Cake? • Candid Competition
nikolawestham kg says:
wait wait wait… before i start watching this. Why is there Bill Clinton in " remarcable people " section?
jesse myles says:
glad my mom cares a bout me
AmosHagever says:
the human race is corrupted by nature… the people who profit over animals will do anything to make sure we keep eating them – including making doctors lie that animals are a must of our daily diet.
caveman7755 says:
Not every scientist believes in Global Warming. This fool, as well as millions of other people have been conned by Al Gore and other chicken little, "The sky is falling" paranoids. It has been proved that during the Middle Ages, the earth was warmer and that the earth goes through cycles. Poor guy is guilt laden because he has achieved something in his life. I wonder if he walks, or rides a bike every where he goes. I doubt it. He probably has a couple of cars, and flies on airplanes.
Michael Hamilton says:
It's 2014 and now this guy is so lame. Look at the charts. The world is not warming. Your gig is over. Give it up.
Shirley Amy BSc. says:
An excellent video!
Dave Taddeo says:
It is my contention that local and organic food cultivation and production will save the world. Local organic food is good food. There's no doubt about that statement anywhere. And for the following reasons I believe it will save the world.
Local food is close. When people buy local the cost of shipping decreases dramatically. Not just the monetary cost but the cost of fuel for trucks, the cost of wear and tear on roads and highways, the cost of CO2 and other emissions from the process of shipping… the list goes on. I don't think there's a need to delve into those costs to show how decreasing them will benefit everyone.
Local food is observable. When people can see their food being grown or raised there is a decrease in anxiety about where their food comes from and what it actually is. People may not realize they have anxiety about food but the root of the anxiety around all the food related ailments in western society is ignorance. People see reports on the news or read articles on what is good or what is bad and a lot of it can be contradictory as it comes from unknown or suspect sources. Now what do you do? More research, more suspect sources, more food coming from who knows where and from who knows what… Go and look at your food being produced. You will know it's good food that is good for you.
Local food is small scale (relatively speaking). This means even if a local producer is growing or raising only one thing the detrimental effects of monoculture production are eliminated. When you look at a strawberry farm in southern California you see vast swaths of natural desert sucking up water from Lake Mead hundreds of miles away in Nevada. That farm is a huge patch of land where both the flora and fauna are so restricted by manipulation that the species diversity approaches 1. And large amounts of time and energy are spent to keep it that way. Potato farms in Idaho do the same. They bring logistically difficult amounts of water in from hundreds of miles away to water similarly species deficient swaths. The redirection of fresh water, commoditizing water, and species deficiencies are not good for anyone or anything. (If I were to provide supporting documentation for that statement this writing would run very long. If you require supporting documentation you can email me or Google it.) Smaller local patches of monocultures require much less time and energy per acre, can use local water sources and maintain species diversity through smaller monocultures abutting other smaller monocultures.
Local food provides income for locals. Putting your hard earned dollars back into your community is just good. No need to explain. It just is. A local producer provides for you as you provide for the producer. And the producer pays taxes in your community (municipality, province / state, country).
Local will help get people out of cities and into rural areas. Support local and you support jobs where local food is produced. People working in the food industry, be it production, processing, markets and restaurants will no longer have to live in the ever increasing financial costs of living in the city. Production, processing, markets and restaurants will be local to people working in those industries. No longer will the proximity of a supermarket be a feature on a realtor feature sheet but the feature will be where to get food that is good for you right where it is produced. As a bonus less congestion in cities means getting around in cities is easier and less stressful.
Organic local food reduces the the amount of herbicides and pesticides, man made or not, being concentrated in the soil where the food you're eating is being grown or raised. In my opinion this is good. If you believe this is a controversial subject then err on the side of caution and eliminate their use until you know for sure.
What are some of the big issues we talk about around the kitchen table and water coolers? CO2 and global warming, taxes and how they are appropriated, obesity / diabetes and other diet related diseases / malnutrition, what industrial food actually is and what it means and availability of fresh water. Buy local food. Buy organic food. Do your part. Even when you're travelling buy food that is local to that community or region to support the place you've traveled to. You'll save the world where ever you are.
Terrell Methvin says:
Get over global warming, this is an old TED and now we know the planet is getting colder. I agree we should eat more plants than meat "alot more". Still the planet is not going to be distroyed. I agree we should eat differently. What is true is that the #1 warming gas is water vapor. Another truth most of the animals are in the ocean. Plants need co2 inexchange they create oxygen. Get rid of co2 and we all die. This planet is a durable system yes we should be smart about the way we live but ferar mongering is what these very liberals blame Fox New and Sarah Palin of. The word hypocrisy comes to mind.
Paul Smith says:
Food for thought! some common sense sneaked in there tut tut
shizaunilicious says:
I was very excited to hear what Mr. Bittman was going to say, but turned it off as soon as he said this: "Start with the notion that global warming is not only real, but dangerous. And since every scientist in the world believes this….we can take it as a given." I understand that ClimateGate where leaked emails showed that the leading global warming researchers were admittedly falsifying evidence was a year off. Still, what an AMAZING way to start your entire argument. "Start with the notion that my final conclusion is true….okay, now…here's the rest of my argument." It would be like if I said, "Start with the notion that letting me sleep with your wife will save her life, now, let me explain to you directions how you can get to my house." If it QUACKS like a duck…and this man surely is a QUACK!
P says:
Health advice from a food critic? Realy?!
bemeleke says:
I totally agree with this guy he gave a balanced argument about food( much better hen those vegans) but i think the growing middle class around the world is the root of this problem, that meat no longer become a luxury but more of a necessity(im talking about ppl around the world) and meat are forced to be produced in such huge amounts with such high efficiency(capitalism didnt help). Furthermore, people are wasting tons of bilions of food annually and this can be used to feed so many other people, so next time cook and order what you can eat only 🙂
Connor Reilly says:
TL;DR version:
"We're fucked. Thank you and goodnight."
Marcia Yager says:
Go to Russ Bianchi. com and learn about real food if you have any interest!
Spider Salticidae says:
i eat one big bowl of cooked rolled oats with rice and veggies and soy and at least 3 whole fruits a day. i eat only one portion of lean meat a day. surely this is a healthy diet?
joe schmo says:
Yeah, I like his quote about animals. …"the time has come to stop raising them (animals) industrially and stop eating them thoughtlessly.
sub39h says:
Whilst I totally agree that we are not meant to eat grains and refined carbohydrates in the quantities that we do nowadays, the notion that we should not be eating animal products is rubbish. Human beings have eaten a meat heavy diet for almost all of our existence. I agree that dairy consumption is contentious however.
I'd like to make clear as well that whilst we as humans are meant to eat meat, I do not agree with modern farming practices.
allamakee1397 says:
I raise cattle and horses. Trust me – Horses Fat far more than cattle. Should we start eating horses?
kataisa3 says:
It's disappointing how speakers ruin their TED talks by injecting their unfunny and offensive political jokes. Whatever happened to keeping to the middle so that you can reach ALL people, not just the ones you're pals with?
Tristan Morales says:
The presence of rBGH in the cow's blood stimulates production of another hormone, called Insulin-Like Growth Factor-1, or IGF-1.
It is IGF-1 that is directly responsible for increasing milk production. rBGH use raises IGF-1 levels significantly. When cow's milk is consumed by human non-infants, it behaves as a cancer-accelerator.
IGF-1 is not destroyed in the pasteurization process nor during human digestion and is therefore biologically active in humans, being associated with breast, prostate, and colon cancers.
Rita Butler says:
I've listened to this a couple of times and I think that Michael Pollan has defined the issue in as even handed a way as possible. My choice in life is to eat vegan. I wish everyone would. Realistically however, what we need is for meat eaters to become highly discriminate in their choices. Go for quality over quantity and cut way back. So…all my meat loving friends, I encourage you to really think about how much and how often, and what kind of meat you will consume.Learn about factory farming, learn about feedlots, and let that knowledge guide you in your consumption of meat products.
Metropolitan Sleuth says:
It's a good lecture, but promotes selfishness.
What he preaches its pretty much : "Eat local and organic, but because its better for you… if in the process animals are treated better, cool, if not… too bad , I didn't really care anyway."
Mike Largent says:
got the idea?
brydon10 says:
The only way to stop factory farming is for people to reduce their meat intake, this is a very hard problem to solve.
Plant Based Analyst says:
This dude is a fucking moron. Sits there and rants about how the production of livestock is one of the main contributors to global warming and human sickness. Then he concludes by saying he will never quit eating meat. He thinks he's doing his part by only eating animal products three or four times a week instead of eating them everyday like the really bad meat eaters.
Joan C. says:
I see in all the comments that no one has mentioned, that all factory farm animals eat GMO grain, and are given many antibiotic and hormone shots, sooo besides the posion of GMO's, think about the next pandemic, and wonder why people are given antibiotics and still dying. Everyone will be dying because your eating the meat, eating antibiotics, and are IMMUNE to additional antibiotics. I've given up meat and all dairy. I get all my protein from many other sources. Besides losing 50pds doing that ( I am 5'4, and was 175 and rising) I look and feel sooo much better. I hope more people will learn that meat and dairy is NOT what it use to be, and learn what their doing to animals in factory farms, and STOP eating meat and diary foods, except for honest ORGANIC companies where you can still buy your dairy, or make nut milks yourself. Learn about GMO's and/or juicing, or how to make nut milks on youtube. Study and learn! The internet can be a great teaching tool!
ruphuloid says:
I won't listen to this talk, I'm here only to see vegans in the comment hijack the conversation toward their cult's beliefs…
Cecil Henry says:
Global warming by humans a given???? Not so much..
Check Don Easterbrook for a start. A lie repeated does not become true. It may become profitable though.
combatLaCarie says:
why did he call minute rice the stupidest food ever? I imagine that stuff isn't whole grain, but surely that alone doesn't make it the stupidest food ever.
HotCandy Sweat says:
….w o w …
archivesDave says:
"EVERY scientist agrees"???
TOTAL hogwash!..
Has TED joined the MSM?…Apparently so!
I agree global warming is an issue but extreme comments like this do more harm than good!
Waste Nottingham says:
You lost me at 1:30 in … global warming is a given.
OregonGreen says:
I can't believe my health teacher is making us students watch this… Lmao, china is a bigger contributor to global warming than cows…
Waffles says:
where do they find these people? No wonder people find science boring, when there are boring, condescending speakers like these out there.
Colleen Patrick-Goudreau says:
Really liked your video!
kebec1 says:
Bittman's good but I was very surprised with his stance on GMOs. I'd say he hasn't studied it enough.
Carolin Mönch says:
I don't think it's contradicting in any way that he's saying that he is sure that he'll always eat meat. I mean it sounds kinda strange that he himself is not convicted by the arguments he is bringing but at least he is being honest with the audience. He probably knows that a lot of people listen to this and nothing will change in their life either. so it makes him authentic, although the statement is not underlining his thesis in any way.
Jake Dean says:
Great talk! I hope it will inspire people to change the way they are eating. In my view, veganism is the best way. A well balanced vegan diet is much healthier than a diet that contains meat/fish/birds/eggs/milk, contributes less to pollution and avoids the confinement, torture and killing of sentient beings.
Alleria Sunfury says:
Great talk. I think the answer is to encourage less meat consumption. Sure, being vegan/vegetarian is great, but it's not something everyone can do (assuming everyone can have a vegan/veg diet is both classist and ableist – you could also say it's racist). Pretty much everyone, however, can cut their meat consumption, and pretty much everyone should, for their health and the health of the planet. I think vegans and vegetarians scare people, because most people really can not and/or will not make such huge lifestyle change – telling people the only way they can save the environment is to stop eating animal products is like telling someone the only way to save the environment is to have no biological children, people won't listen because you're expecting them to change their entire lives. Cutting consumption, rather than eliminating it, is something we all can do very easily. Let's push for that.
elayna chin says:
eat real food! At least eat local:)
eFuss Vegan Tacos says:
This isnt about veganism. LOL he'll never quit meat. give me a break
Bethany Hunt says:
Michael Greger does walk the talk, and gives huge amounts of info to the world for FREE – no ads, profits go to charity. http://nutritionfacts.org/video/how-much-cancer-does-lunch-meat-cause/
ALBUMOF2008 says:
The people that are being so defensive and unwilling to take what he has said into account will realise eventually how ignorant they are- believe me I was like this 3 years ago LOL.
Andrea Thomas says:
fantastic, I love the tone of this talk, much more logos than pathos
Geysi Ruiz says:
Semi-vegetarian?????? Is he not saying the production of livestock is dangerous?? Then why only semi-vegetarian??????????
Green Lean meme machine says:
lol 200 fat people disliked this video
Rattlerjake1 says:
Although there are a few good points that Bittman makes, overall this video is nothing but repetition of many of the lies that Americans are being propagandized with.
1) Global warming – What a laugh! It has been proven over and over that this whole global warming crap has been created by a specific group of "funded" scientists and that the majority of true scientists call it a lie. The earth is NOT warming, it is actually cooling; documentation and actual evidence proves that organizations like NASA have been manipulating and changing data to keep this fraud alive. What is being shoved under the rug is that government is manipulating the weather through geoengineering and using the results to push their "climate change" agenda.
2) Meat is NOT bad for you. Processed meat products and commercial mega farm production of animals is what is bad for you because of the chemicals, hormones, and antibiotics that they contain. Anyone who raises their own meats for consumption are not being poisoned by this crap and are just as long lived and healthy as the claimed "vegan/vegetarians".
3) Greenhouse gases, just like global warming, has been created by government elitists to push their agenda of producing the single biggest tax revenue – CO2. What the majority of science ignorant Americans don't know is that CO2 comprises only 0.03% of the atmosphere, and CO2 along with methane are nothing but TRACE GASES. Reducing CO2 will also have a major negative effect on the growth of plant life on this planet considering that it is the one gas that is REQUIRED by plants to survive! Wake up idiots!
4) Plants can be just as detrimental to you health as any other food, mainly because they absorb and store the chemicals that are being dumped on them by the bigagri businesses and that are in the air from the geoengineering. People are developing cancers and diseases whether they are on vegan, vegetarian, semi-vegetarian, or omnivore diets, mainly because chemicals, metals, hormones, antibiotics, etc. are being put in EVERY form of food and liquid produced for human consumption, even many organic sources.
5) If you are really interested in reading or seeing videos that prove what government is doing go to "The Health Ranger" at http://www.naturalnews.com/Index.html. Mike Adams has made it priority one to blow the whistle on all of the crap that government, big pharma, big chem, and big agri businesses are doing in the name of making a dollar and killing people.
aviv kotlar says:
Bittman?! more like……………… BATMAN! HAHAHHAHAH LOL LOL LMFAO LMFAO
DO YOU HAVE THE BITTMOBILE?
DO YOU BITE PEOPLE FOR FUN?
Clark Magnuson says:
Those who push the global warming hoax are either liars or dupes…. Bittman is a dupe.
The out of control variables in climate exceed that of rolling the dice. And those variables are much harder to measure and test. We may never get science to predict climate, but we have hoaxers right now saying mankind is affecting it. Fourier and Webster said the same thing 200 years ago. What happened to their predictions? Were they predicting cooler or an improved climate?
VeganMalory says:
Cowspiracy on Netflix!
Brian Richards says:
This is a pretty good talk. It concerns me that he is still eating meat. There is no way one can raise and kill animals that could be considered humane. My thoughts are that we should reduce suffering for our fellow humans and other sentient animals on this planet. To that end, I am vegan.
Nikita Nikitov says:
В России такими отбросами не питаются.
Органическая еда многим совершенно не по карману
Katherine Yau says:
Thx for Chinese sub
Kyle Haddad says:
this bozo had me fooled till the end take an L
tanner stipic says:
If he wants factory farming to not be a reality and wants the carbon footprint lowered he shouldn't be advocating for meat in the slightest. As long as we are eating meat and the by products from livestock, factory farming and the carbon footprint will only rise. Truly the only solution is plain and simple and thats not eating meat. As he said even 9 years ago the industry is only going to grow and will keep growing until we stop being consumers of their products.
Although this is the case there are other options for eating meat and animal by-products. Theres a TED talk called "Leather and meat without killing animals" which has to be a thing for the future with the known unsustainability the livestock industry has for our planet. I encourage people to watch a great documentary on Netflix called Cowspiracy that explains all these environmental issues the livestock industry causes.
J Galvin says:
Veganism is the way forward
Johnny Watt says:
WTF. Meat is causing the devastation of the environment, our health, and it's cruel, we dont need it… but he'll probably never stop eating meat. WTF. Is this the hypocrite TED channel?
yvonneforsmanatyahoo says:
This is a wrong way to look at the problem. We are sick not b/c we eat meat but b/c there is the toxic herbicide Glyphosate in 80% of food in the grocery store! Glyphosate causes diabetes, Alzheimer's, Parkinson, ADD, ADHD, autism, infertility, birth defects, destroys our health on the cellular level (mitochondria). Eating organic animal protein is healthy (grass fed and grass finished, living in the outdoors and fertilizing the soil!) Re the fart from cows problem, we could grow industrial hemp which uses up 3 times more CO2 than trees and can be used for thousands of industrial products, also for food. Vegetarian or vegan diet is not healthy! There are anti-nutrients in grains, beans, peas, lentils, nuts, seeds which inhibit absorption of minerals, and not even soaking them overnight and cooking removes the inhibitors. There are hundreds of chemical reactions taking place in the body every day, needing minerals, and these reactions don't take place when we are nutrient deficient, instead the body gets sick! I was a vegetarian and later a vegan, for total of 15 years and that's how I got sick! No joke!!! I thought I ate the healthiest diet on Earth b/c I believed in all the lies I learned while studying nutrition in college! I followed the high carb and low fat diet for decades! Remember one thing: proteins/amino acids are called "essential", fats are called "essential" b/c our body needs those nutrients, but carbs on the other hand are not essential! Eating vegetable proteins in form of beans, peas, lentils and grains is leading to a high carb diet and those carbs break down to sugar, leading to Candida overgrowth (together with high use of antibiotics which destroy our good gut bacteria, leaving space for bad bacteria and Candida yeast to grow and take over, and then disease is the result). Candida alone stands for 80 different health problems! With the high carb consumption of bread, pasta, pizza, breakfast cereals, nutrition bars, beans and nuts, also dairy which contains lactose sugar, we are killing ourselves! Society needs to go back to more local, and of course organic, food production! And also stop the rabbit speed procreation on this planet: China 1.4 B ppl, India 1.2 B ppl, Muslims around the world 1.6 B ppl bringing 8 (eight) children per woman to the world, while this planet has finite resources and we are running out of drinking water! This insane behavior needs to stop, or future wars won't be fought over oil or land but over drinking water!
? ven says:
"I ate my first real spinach when I was 19 years old "
Wow, I ate my first real spinach when I was 18- that was last year. It didn't change much, I suppose…
Journi says:
Mark Ruffalo, is that you?
LegendaryLemon says:
You know, i had never thought about it but the over-consumption of meat is totally equatable to the systematic murder of over 6 million Jews and millions of other innocent people. Thanks Mark, I feel so enlightened now.
faceshed says:
A lot of people are mad because he doesn't recommend cutting meat 100%. Let me ask you guys how making changes look impossible and alienating people is working out. Most meat eaters look at vegetarians like we force ourselves to choke down grass. People are constantly shocked by how friendly vegan meals actually are.
I advocate one single thing and I'm willing to bet I've helped people cut out a massive amount of meat. You want to know what works and gets results and makes people change their diet? I tell them I eat dirt cheap, super healthy and tasty food with almost no effort in the kitchen. The simple reason is that I learned to expand my diet.
Try things. Lots of thing. If you don't like them spit it out. After a while you will learn some things that you like and are healthy and cost nothing and take little effort. A side effect is that you will eat less meat because nothing is more bland and boring than meat. My foods have flavor. My foods are an adventure. I liked meat because I didn't know better and there's tons of vegans eating prepackaged garbage and still do not know better.
If you like meat too and you don't care that the rest of us pay for it, well there's nothing I can do anyway, but I want you to know it's at least possible to go from that to not liking meat and you won't be losing anything in the process.
Mr. Krabs says:
This is bad for business…
B Meme says:
The historical part is pretty amazing, but how many human beings needed to be fed back in the days? I support local diet, but I wonder if it could ever work in nowadays situation…
AW Crowe says:
we would be best exterminating 2 / 3rds of the population… it would hurt and we would feel guilty for a while however, this too will pass.
criteria… below 130 Iq
Sange de Tigru says:
nice…you cant't convince yourself to stop eating meat just to eat less. The jokes were nice though
Brad Wilson says:
This mixes common sense with some extremism from unnamed "experts." On livestock, he grabs the bull by only one horn regarding sustainability and nutrition (and global hunger?). So he's right about some things. See my playlist, "Why Livestock" for the other horn. He's changed since 2008 on some of this, such as his attitude against butter. He doesn't include farmers in his "Here's where we all meet," and gives way too much attention to some of those who have the least understanding of livestock issues. He also misunderstands the farm bill. Yes it's "a … collaboration between agribusiness and congress," but subsidies aren't the issue, fair prices are the core issue, and that's unrelated to subsidies, (I give 4 proofs in my "Michael Pollan Rebuttal" so see my "Farm Bill & Food Bill" playlist.) Subsidized crops pay less, even with added subsidies, than the non subsidized fruits and vegetables, as measured by percent of parity, (percent of a fair price). His use of imagery supports his thesis, but I see a lot of straw man in it.
Robbie Dzierzanowski says:
Let's see if anyone from my health class is here lol
Jump rope stairs says:
the fat you eat is the fat you wear..
Victor Rodionov says:
quite actual.
Alesandros356 says:
I can see where this guy is coming from, and reducing industrial production of animals is a good idea, but saying that meat and fat is not needed for a diet and is malnutritious has no basis in science, unless you talk of SAD which is both high in fat and carbs. Besides, the hunter-gatherer didn't have acess to starches and corn before agriculture, and has been shown to be a lot more nourished that after agriculture, with a diet high in fat from fish and animals, fiber-rich vegetables and nuts. The low carb high fat diet's has also shown great success in people's health by increasing fat consumption from animals, so saying less meat in the diet is the future for a healthier life is rather unfounded.
Chitown 437 says:
guys sub to me and I will do the same to you
Bhava Ram says:
Brilliant reminder… and evergreen in every sense.
emily herrera says:
People are not going to stop eating meat. However, millenials eat substantially less meat than their older counterparts. We are slowly moving towards a more common plant based diet. Any encouragement to eat less animal protein is great!
Golf Pro says:
Meat is fantastic for us, it contains all the amino acids that we require, plus B12 and iron, and more, it's natural. So what's the alternative? Tofu? It's not natural, but instead heavily processed, the decision is easy…eat meat and fresh veg/fruit, honey, nuts and seeds, drink milk for calcium and for animal protein.
Nicholas Gerhartz says:
Poor argument. All scientists agree on global warming? Facts lady and gentlemen…crickets.. Do some research into HAARP systems and then you can see what weather/climate/global warming is all about. Misinformation as per usual progressive jargon.
Violet Whitaker says:
I need to go vegan.
Ray Remen says:
When you make the statement "every scientist agrees," you lose me at that moment. Not every scientist agrees. Every, on any topic, no, they don't, and they never have. So don't treat us like we're stupid. I think you have a lot to say, and I would probably agree with most of it, but if you can't get past using that generalization, I won't listen.
Shameful. Most of the TED series is so good. This was not.
Creeper Assassin says:
so farting does kill our planet, i was right this whole time
Khalid Safir says:
One interesting connection he didn't make but gave the evidence for: when women stopped being housewives or cooking at home, it led to a domino effect which led to global warming. At some point in our history, we learnt the standard women should aspire to is men or to be like men. Maybe women are just different and should aspire to being something else. Maybe taking care of our next generation and stuff like that is more valuable than making money, who knows.
cr0aks says:
He needs to re-do his talk. "Global warming" has been proved to be nothing but a pack of lies. Climate change? Probably, but not because of anything humans are doing (or have done). The earth is a living thing. It changes constantly, albeit sometimes more slowly.
Nicola Siddons says:
Brilliant talk – covers all the main issues in a witty and succinct way!
chromatic1976 says:
Climate change proven by every scientist who wants to keep a job, and any scientist that disagrees has no job or grants. No need to watch more than 2 mins to work out hidden globalist agenda
Chris Regehr says:
If you know you don't need meat (which you don't) and you still eat it then you are acting immorally
Mitch Zro says:
Okay, so maybe I'm a Vagitarian – That's on me. But if you're gonna eat meat (I have for most of my life, and who knows if I'll go back), just make it less awful. Don't eat a bunch of it, and when you do, make sure it's coming from quality.
Factory farms just won't do, man.
StarBorn StarDust says:
Michael Batman
Global warming Gaia Terra Earth is Dying Heal Plant Kingdom Mineral Kingdom Insect Kingdom All Animal Kingdoms Sea Kingdom value and respect All Life Waste nothing , Sea level Dropped 200 Feet ,how is this? Is this So? Slaughtering them in hellish conditions, I MUST Change! Locovour sounds like you eating like a Train Locomotion
Rana Saraç says:
Ne eti aq turkiyede et kaç para zorunluluktan vejetaryenim
Thales Nemo says:
Oh another pro vegan talk LOL! More bacon for me ! The rubbish USDA food pyramid was written by an unscientific vegan staffer on the 1977 McGovern commission which has made the US population sick and spread its nonsense around the world !
Rice Growing Emits More Methane as Climate Warms
https://www.treehugger.com/climate-change/rice-growing-more-methane-climate-warms.html
Increased greenhouse-gas intensity of rice production under future atmospheric conditions
Kees Jan van Groenigen, Chris van Kessel & Bruce A. Hungate
Nature Climate Change volume 3, pages 288–291 (2013) doi:10.1038 nclimate1712
https://www.nature.com/articles/nclimate1712
Where Are The World's Hotspots of Climate-Induced Food Insecurity?
https://www.treehugger.com/climate-change/where-are-the-worlds-hotspots-of-climate-induced-food-insecurity.html
Wheat, one of the world's most important crops, is being threatened by climate change
By Chelsea Harvey
https://www.washingtonpost.com/news/energy-environment/wp/2016/09/12/climate-change-is-really-bad-for-wheat-which-is-really-bad-for-us/
Why All Humans Need To Eat Meat For Health
https://breakingmuscle.com/healthy-eating/why-all-humans-need-to-eat-meat-for-health
Agriculture contributes to climate change both by anthropogenic emissions of greenhouse gases and by the conversion of non-agricultural land such as forests into agricultural land.[5] Agriculture, forestry and land-use change contributed around 20 to 25% to global annual emissions in 2010.[6]
https://en.m.wikipedia.org/wiki/Climate_change_and_agriculture
windwaker0rules says:
pretty much
G. BadrichIndian says:
awesome dude, are they after you from the cattleman assoc, or the gov't
Olivia Farrington says:
Does anyone know if I can find a transcript for this?
Alisyn Holt says:
what bomb is he talking about?
Jacob Szekula says:
i hate this guy
ALL the predictions from 10 years ago, like no more snow, did NOT come true. Now that loon AOC tells us we only have 12 years left. LMAO! You simply parrot the left's talking points on climate change. It's so damn stupid, we must fight climate change. We can't stop climate change, it has always been changing and always will. It's a goddam scam. I have two AS degrees in digital electronics and communications. I was database administrator for state of California for 20 years. Finally, I'm done with you … troll!
LePage Channel says:
GODLESS SISSY LIBERAL! Ah, the good old days when you could say anything you wanted…
Daniel Mamede says:
There has been a long long time since I've heard these many lies before! A lot of times, it's just non-scientific citations, but the worst part was to hear plain lies like "we don't eat animal products" (around 4:20 into the video). Why do vegans need to by B12 to supplement their diet? Because every single human will die on a pure vegan diet if they don't cheat (buying B12 at a local pharmacy is a modern way of cheating and buying a supplement that is only available naturally in animal-based foods). Also, why do vegan have a higher incidence of cancer and are almost always malnourished?
Caramel Bread Pudding बिना अंडे / बिना ओवन के झटपट से बनाये। Eggless Bread Pudding | Without Oven
Dessert Recipe | Milk Solids | Khurchan
Leonardo Di Carlo • Creme e Cremosi • Custard and any kind of cream
WKRG News 5 at 5
Rock Your Instant Pot: Fast, Healthy Recipe Ideas
Eating) 배스킨라빈스 우리끼리 Baskinrobbins Kiri Dessert サーティワンアイスクリーム キリ クリームチーズ
Trick Your Sweet Tooth with Low-Carb Dessert Alternatives
Arthur Viegas Pires on Chocolate sausage, The Slav budget dessert – Cooking with Boris
sniperdragon707 on Chocolate sausage, The Slav budget dessert – Cooking with Boris
이만이의 뭐 잘못먹은 채널 on Chocolate sausage, The Slav budget dessert – Cooking with Boris
david orocu on Chocolate sausage, The Slav budget dessert – Cooking with Boris
Josh B on Chocolate sausage, The Slav budget dessert – Cooking with Boris
#so yummy #yummy cake and baking cake cake decorating cake decorating ideas cake ideas cake recipes chef chocolate chocolate cake Comedy cook cooking dessert Dessert Recipes Desserts DIY Easy food for Funny Homemade How To how to make its Jesse Gunkel kitchen like news pudding recipe Recipes so yummy cake tasty that the this tutorial vegan video weather with you

redpajama_set_name: RedPajamaCommonCrawl


Whether you have existing health benefit offerings or are looking to set up a benefits program for the first time, HRadvocate's Benefits Administration module offers employees simplified access to their benefits information, anywhere and anytime. And HR managers can simplify the new hire and open enrollment processes.
Get a more detailed look!
Learn about the features and benefits of the Benefits Administration module.
Manage benefit providers in real-time such as Kaiser, Aetna, MetLife, Colt and many more. Keep track of current COBRA enrollees, monitor "waived" benefits plans, view calculated income, maintain FSA balances and track workers' compensation claims.
Streamline open enrollment with a simple interface that helps employees compare and select benefits plans, and edit dependent and beneficiary information. Ensure accuracy and simplify data input with benefit plan information including plan coverage, eligibility dates, premiums, FSA balances and vesting values.
Why use HRadvocate for Benefits Administration?
Reduce manual processes and empower employees with an easy way to manage medical, dental, disability, retirement, FSA, dependent care and life insurance benefits. HRadvocate's Benefits Administration module will adapt to your business rules and help you stay compliant.


text:
Discovery Jeet
Comedy High School – Ram Kapoor to play the role of a Principal In Discovery JEET Program
Comedy High School with Salman Khan this Saturday 17th Feb at 9 PM only on Discovery JEET
Discovery JEET, the new entertainment channel from Discovery India, with meaningful content spanning biopics, historicals, crime et al is all set to showcase comedy albeit in a unique way starting February 17, 2017 with Comedy High School. Produced by SOL Productions, the sitcom is a light-hearted take on society, culture, education and current affairs through a classroom based set up. The plot of Comedy High School is extremely differentiated – Principal Ram is a very stressed out man.
His school building is at the risk of imminent collapse and the only way to save it is by getting a government grant.
However, the grant is conditional on getting a 100% pass result in the school. However, four Class VII students are unlikely to pass. That's because they haven't passed Class VII in the last twenty years. Principal Ram and his oddball teachers will go beyond the limits of their collective willpower and ability to pass the class and get the grant in this sketch comedy series. No duffer will get left behind. Comedy High School includes a crazy bunch of students like Happy Singh (Rapper), Ankita (Struggling actor), Sharman, Parvati.
The school has teachers from various streams like English, Hindi, Physical Training, Personality Development along with the disciplinarian Principal and the morally uptight Trustee. Lead celebrities will visit the school, every week, in myriad avatars.
Ram Kappor Comedy High School
Even before launch, the show has been able to attract lead celebrities including Salman Khan, Swami Ramdev, Sunny Leone and Anu Malik. The weekly show, slated to launch on Saturday, February 17, at 9:00 pm prime time, will have Bollywood superstar Salman Khan as a special guest in the opening episode and will witness some outstanding acts that will tickle every one's funny bones. Get ready to watch the premiere episode of the show with Salman Khan this Saturday 17th Feb at 9 PM only on Discovery JEET
Discovery JEET Programs List – Hindi GEC Starting From Monday 12th february 2018
Vijay stars Kondattam – The event happened in Evantim Apollo, London
Comedy High School Premier With Super Star Salman Khan On Discovery JEET Channel
Discovery JEET Programs List – Hindi GEC Starting From Monday 12th february…
Discovery Jeet Schedule – List of programs with telecast time and other details
Discovery JEET Channel Launch Date, Availability In Cable Network and DTH


text:
A Rémálom az Elm utcában (A Nightmare on Elm Street) Wes Craven 1984-ben bemutatott horrorfilmje. A főszerepben Heather Langenkamp és Robert Englund látható.

Cselekmény
Tina Gray egy éjszaka rémisztő álmot lát: egy furcsa, torz alak kergeti, akinek az egyik kezén furcsa, pengékkel kirakott kesztyű van, és azzal támad rá. Amikor felriad álmából, a hálóingén ott vannak a pengék nyomai. Másnap reggel legjobb barátnője, Nancy Thompson, és annak barátja, Glen Lantz vigasztalják. Úgy döntenek, ott maradnak nála a következő éjszakán, mert Tina anyja elutazott. Hamarosan megjelenik Rod Lane, Tina barátja is, akivel együtt alszanak. Tinát ismét megtámadja álmában a rejtélyes alak, és ezúttal halálosan megsebesíti. A döbbent Rod csak annyit lát, hogy Tinát egy rejtélyes, láthatatlan erő szétkaszabolja, és a plafonra rántja fel. Nancy apja, Donald Thompson, aki rendőrként dolgozik, letartóztatja a fiút, mert a gyilkossági ügyben minden ellene szól.

Másnap Nancy iskolába megy, és elalszik az órán, ahol álmában megjelenik neki is a furcsa alak, Freddy Krueger. Üldözni kezdi, de aztán Nancy tudatosítja magában, hogy ez egy álom, és egy forró csőnek nyomja a kezét, amitől felébred. Viszont ébredése után az égésnyom megmarad a kezén. Nancy otthon is elalszik a fürdőkádban, ahol Freddy ismét megtámadja. Meglátogatja Rodot a rendőrségi fogdán, és elmeséli neki, mit látott, és hogy tudja, hogy Freddy ölte meg Tinát.

Nancy áthívja magához Glent, hogy figyeljen rá álmában, és ébressze fel, ha baj van. Azt álmodja, hogy Rod élete veszélyben van, ezért az éjszaka közepén a rendőrségi fogdára megy, de ott Freddy felakasztotta a fiút egy kötéllel, akinek a halála így öngyilkosságnak tűnik. Rod temetésén Nancy megemlíti Freddy Krueger nevét, amitől szülei láthatóan megrettennek. Az anyja elviszi őt egy álomklinikára, ahol megint rémálmot lát, és miután felébred, különös módon a kezében marad Freddy kalapja.

Nancy anyja inni kezd, és rácsokkal zárja le az egész házat. Elmondja Nancynek, hogy Freddy Krueger egy gyerekgyilkos volt, aki a környéken élt. Bár eljárás alá vonták, mégis szabadon távozhatott, egy eljárási hiba miatt. A felháborodott szülők önbíráskodásba kezdtek, és benzinnel lelocsolva élve elégették őt abban az épületben, ahová menekült. Nancy rájön, hogy Freddy bosszút akar, ezért felhívja Glent, de a szülei nem engedik, hogy beszéljen vele. Glen elalszik, és Freddy brutális módon végez vele.

Nancy, aki így teljesen egyedül maradt a bezárt házban az alvó anyjával, megígérteti az apjával, hogy a helyszínelésről 20 perc múlva visszatér és felébreszti őt. Csapdákat helyez el a házban, és alvástudatosítás útján felébred, s előcsalja Freddyt a valódi világba. Freddy itt nem olyan erős, a csapdák alaposan ellátják a baját, és végül Nancy felgyújtja őt a pincében. Segítségért kiabál, mire megérkezik az apja, és felszaladnak az emeletre, ahol az ágyban egy lángoló Freddy fojtogatja az anyját. Eloltják ugyan a tüzet, de Freddy és az anyja eltűnnek.

Ekkor Nancy rájön, hogy Freddy a félelmeiből nyeri az erejét, így most, hogy bátran kiáll ellene, nincs rettegnivalója. Freddy még próbálkozik, de aztán eltűnik. Nancy kilép az ajtón, ahol ott van az anyja és a barátai is egy csodaszép reggelen. Beszáll Glen kocsijába a többiek mellé, azonban az autó napfényteteje rájuk zárul, a kocsi pedig irányíthatatlanul elindul az úton. Freddy ismét megjelenik, ahogy berántja az anyját a házba az ajtón keresztül...

Szereplők

További információk

New Line Cinema-filmek
1984 filmjei
Amerikai horrorfilmek
Az amerikai nemzeti filmregiszter filmjei

redpajama_set_name: RedPajamaWikipedia


text:
Question: What Is Considered Part Time Employment?
2 What is classed as a part-time worker?
3 How many hours a day is part-time?
4 How many hours are considered a part-time employee?
7 What benefits do you get if you work part-time?
8 Is it better to work part-time or full-time?
11 Is part-time 8 hours a day?
12 What does a part time job schedule look like?
14 How many hours are in a shift?
15 Do part-time employees get benefits at Amazon?
What is classed as a part-time worker?
A part-time worker is someone who works fewer hours than a full-time worker. There is no specific number of hours that makes someone full or part-time, but a full-time worker will usually work 35 hours or more a week.
How many hours a day is part-time?
For example, a part-time employee is typically scheduled to work five hours per day, five days per week.
How many hours are considered a part-time employee?
For example, in Alberta, the definition of part – time hours is anything less than 30 hours worked per week for a single employer.
You might be interested: Often asked: How To Get A Green Card Through Employment?
What benefits do you get if you work part-time?
6 Benefits of Working Part-Time Instead of Full Time
Working Part-Time Versus Full Time.
More Free Time to Pursue Other Projects and Activities.
Opening Doors to New Job Opportunities.
Opportunity to Earn More Money.
Reduced Stress Levels and Improved Health.
The Importance of Family.
Saving Money on Transportation Costs.
Is it better to work part-time or full-time?
If you would rather work multiple part-time jobs rather than a full-time job, that's also a viable option. By contrast, if you want a higher salary or better benefits, and if you can dedicate most of your daytime hours during the week to a job, then full-time might be your best bet.
Is part-time 8 hours a day?
Under California labor laws, non-exempt employees shall not work more than eight (8) hours in any workday or more than 40 hours in any workweek unless they are compensated with overtime pay. In addition, rest breaks are required for non-exempt employees who work three and a half (3 ½) or more hours in a day.
You might be interested: Readers ask: How Long Do You Have To Keep Applications For Employment?
What does a part time job schedule look like?
Part-time work often does not include benefits offered to full-time employees, and hours can be erratic and inconsistent from week to week. An example of a part-time work schedule could be Monday through Wednesday from 7:00 AM to 11:00 AM and Saturday and Sunday 11:00 AM to 7:00 PM.
How many hours are in a shift?
A work period of eight consecutive hours over five days with at least eight hours of rest in between shifts defines a standard shift. Any shift that goes beyond this standard is considered to be extended or unusual.
Do part-time employees get benefits at Amazon?
"Part-time employees who work more than 20 hours per week receive benefits, including life and disability insurance, dental and vision insurance with premiums paid in full by Amazon, and funding towards medical insurance.


Looking for a simple cloud solution?
You want to store your data on your own server, which keeps all your clients always up to date?
You need flexible rights management to set read/write permissions?
And it should be affordable ?
Then you need 'Just a simple cloud'!
Just a simple cloud is a cloud software to synchronise your files between different clients. The filles will by synced based on your own server.


text:
Q: stringstream::write() evokes segmentation fault in C++ using namespace std;

void *gen_random(void *data, const int len) {
    for (int i = 0; i < len; ++i) {
        *((unsigned char *)data + i) = rand() % UCHAR_MAX;
    }
    return data;
}

void idx_sort_swap(unsigned long long &small, unsigned long long &big){
    unsigned long long tmp;
    if(small > big) {
        tmp = small;
        small = big;
        big = tmp;
    }
}

char *random_manipulate(char *const source, const unsigned long long size,
    unsigned long long &after_size, const unsigned long long max_rand_size){
    stringstream ss;
    char *data_tmp;
    unsigned long long idx_tmp0, idx_tmp1, size_tmp;

    after_size = 0;
    switch(rand() % 2){
        case 0:
        /* WRITE */
        idx_tmp0 = rand() % size;
        size_tmp = rand() % max_rand_size;

        ss.write(source, idx_tmp0);
        after_size += idx_tmp0;

        data_tmp = new char[size_tmp];
        gen_random(data_tmp, size_tmp);
        ss.write(data_tmp, size_tmp);
        delete data_tmp;
        after_size += size_tmp;

        if(size > after_size) {
            ss.write(source + after_size, size - after_size);
            after_size = size;
        }
        break;

        case 1:
        /* DELETE */
        idx_tmp0 = rand() % size;
        size_tmp = rand() % max_rand_size;

        ss.write(source, idx_tmp0);
        after_size += idx_tmp0;

        if(size - (idx_tmp1 = idx_tmp0 + size_tmp) > 0){
            ss.write(source + idx_tmp1, size - idx_tmp1);
            after_size += size - idx_tmp1;
        }
    }

    char *dest;
    dest = new char[after_size];
    ss.read(dest, after_size);
    return dest;
}

random_manipulate() function returns  C-style string which randomly manipulates the char *const source as source.
random_manipulate() always evokes segmentation faults when called 2nd time and calling ss.write(source, idx_tmp0); in any of two switch case.
I don't know why since the logic itself seems nothing wrong.


On November 8th Banca IFIS is releasing the 2018 first nine months results. The management will present the results in a conference call with the market on the same day at 4:30pm CET/ 3:30pm UK/ 10:30am ET.
For those who cannot participate in the live call, the call recording file will be available in MP3 format at the official website www.bancaifis.it for download.


text:
Q: Dynamic root Key in ActiveModel Serializers I am using Rails 5 and Acive Model Serializer (0.10.6) in my project. I need below format of JSON
{
   "account_lists": {
    "0": {
            "id": 1,
            "description": "test tets test tets"
          },
     "1": {
            "id": 2,
            "description": "test tets test tets"
          }
      }
}

0,1 keys would be the index of the object.
I tried with below code, But result is not coming
account_serializer.rb
class AccountSerializer < ActiveModel::Serializer
  attributes :custom_method

  def custom_method
    { object.id => {id: object.id, description: object. description } }
  end
end

accounts_controller.rb
render json: @accounts, root: "account_lists", adapter: :json

Result is
{
"account_lists": [
    {
        "custom_method": {
            "46294": {
                "id": 46294,
                "description": "test tets test tets"
            }
        }
    },
    {
        "custom_method": {
            "46295": {
                "id": 46295,
                "description": "test tets test tets"
            }
        }
   ]
 }

Could you please help me to get the result.

A: You can achieve this in two ways, using serializers or without using serializers.
To make this work with serialzers we need to write some meta programing. something like this
class AccountSerializer < ActiveModel::Serializer
    attributes

    def initialize(object, options = {})
        super
        self.class.send(:define_method, "#{object.id}") do
            {
                "#{object.id}": {
                    id: object.id,
                    description: object.description
                }
            }
        end
    end

    def attributes(*args)
        hash = super
        hash = hash.merge(self.send("#{object.id}"))
    end
end

this will produce results like this
{
    "account_lists": [
        {
          "19":{
              "id":19,
              "description":"somethign here "
            }
        },
        {
            "20":{
                "id":20,
                "description":"somethign here "
            }
        },{
            "48":{
                "id":48,
                "description":"somethign here"
            }
        }
    ]
}

if you want json response to exactly what you have mentioned in question, you better to go with a custom library class that build json for you
class BuildCustomAccountsJson

  def initialize(accounts)
    @accounts = accounts
  end

  def build_accounts_json(accounts)
    _required_json = {}

    @accounts.map do |account|
     _required_json["#{account.id}"] = { id: "#{account.id}", description: "#{account.description}" }
    end

    _required_json
  end

end

and in controller action, we can use this class
def index
  ...
  ...

  @accounts_json = BuildCustomAccountsJson.new(@accounts).build_accounts_json

  render json: @accounts_json, root: "accounts_list"
end

this will produce json like this
{
   "account_lists": {
    "0": {
            "id": 1,
            "description": "test tets test tets"
          },
     "1": {
            "id": 2,
            "description": "test tets test tets"
          }
      }
}

That's all.