text:
Five reasons why Dontari Poe's injury really sucks for the Kansas City Chiefs
Share All sharing options for: Five reasons why Dontari Poe's injury really sucks for the Kansas City Chiefs
I don't want to say that Dontari Poe is irreplaceable but it's damn close. Big men of his size are very unique, especially ones with the endurance that he has. That's why the news of his surgery for a herniated disc is so disheartening for Kansas City Chiefs fans. Poe is expected to return sometime early in the season.
Let me count the ways that Poe's injury sucks...
1. This sucks because Jaye Howard, who will replace him, doesn't have much experience at nose tackle. Howard lined up at end last year when DeVito was injured. Other nose tackle options would be DeVito and rookie Rakeem Nunez-Roches, who probably has a little ways to go. Andy Reid didn't mention him but Nick Williams is also on the roster. Either way, the Chiefs are losing depth on the d-line because someone (probably two people) will have to be taken to replace Poe.
2. This sucks because there just aren't that many big men out there. America may be a fat country but it's not easy to find 350 pound dudes who can move as well as Poe. It's hard to replace him, especially the first week of training camp.
Chiefs trainer's statement on Dontari Poe
Joel Thorman
3. This sucks because it will take two players to replace him. Poe was a freak of nature who played sooo many snaps. Normal humans can't do that. So the Chiefs will probably need two people to replace him -- someone playing full time and someone to spell that person.
4. This sucks because the Chiefs, who have already lost Sean Smith for three games, will face the Broncos and Packers without their best defensive lineman. If the injury spills into October, which seems reasonable that it would, we're talking about games against the Bengals, Bears, Vikings and Steelers.
5. This sucks because it's such bad news on a day that we should be celebrating that Eric Berry is back.
Dontari Poe's injury: Chiefs NT undergoes surgery, out for a while
Andy Reid: Poe has a shot to play Week 1
5 reasons why this Poe injury really sucks
Poe has surgery, out for all of camp

redpajama_set_name: RedPajamaCommonCrawl


Myths – shared beliefs that we all hold – have a way of making it through the generations as folklore, turning to hardened fact. But the thing is, there is seldom science or hard proof behind the hard facts. There are dozens, probably more, of things – whether you call them legends, superstitions, myths, or what have you – that fall into this category. This list presents ten commonly believed myths.
While reading in dim light might make you squint or make reading more difficult, ophthalmologists stress that it has no real bearing on your eyesight. This myth likely stemmed from years gone by when we only had candles to read by, and that would obviously be a very low light level. You can still see and read under that light level because our system's so flexible, but you would've been working really hard. Your eyesight won't get worse with age more than anything, so if you want to read by a dim light, do it while you are young and still can.
Do kids damage their eyes if they sit too close to the television? If they sit approximately 50 centimetres away they'll very quickly get eye fatigue and if they stay there for long periods, a certain percentage of kids will be susceptible to developing myopia, or short sightedness. For anyone watching TV the ideal distance is between 1.5 metres and two metres. You should also make sure not to rely on the TV as the only light source in the room.
Remember when your mother or grandmother used to tell you, as a child, to cover your head before going outside in the cold? "You'll lose all your body heat if you don't wear a hat," they would say. Well, Mom and Grandma didn't know best on this one. Losing most of your heat through your head is a popular myth. Head heat loss is not the majority of body heat lost. Head heat loss changes with how cold it is. The lower the temperature, the higher percentage head heat loss. Head heat loss is linear with temperature. At 0 degrees Centigrade, up to about 30 to 35% of heat could be lost through your head at rest.
This popular notion was disproved as early as 1928 and more recent studies have confirmed that shaving has no effect on hair growth (or regrowth). BMJ researchers speculate that when shaved hair regrows, it lacks the fine taper seen at the end of unshaven hair, making it appear coarser. And the fact that it hasn�t been exposed to light may make it seem darker than other hair.
This popular myth dates back to 1907 but didn�t originate, as once believed, with Albert Einstein. Now that we know much more about neuroscience than we did 100 years ago it is safe to say that we use much more than 10 percent of our brains. BMJ researchers said that high-tech methods of studying the brain have not identified any inactive areas.
According to forensic anthropologist experts this idea is not only poppycock but not even possible�. Dehydration of the body after death can cause the skin to shrink around hair and nails, giving the illusion that they have grown. But as all tissue requires energy to sustain their functions, growth is not possible once our body has shut down.
A prevalent opinion is that animals can detect certain events, like earthquakes, as soon as they happen, even if the originating event is a great distance away. While this ability wouldn't make much of a difference to people at the scene of the disaster, it could conceivably assist those located farther from the epicenter. A few researchers even believe animals may be able to sense the precursors to these events before they actually strike. However, hard evidence of this is extremely limited; most of the evidence is anecdotal. Animals do have keener, more developed senses of smell, hearing, and sight, so maybe able to better detect something than humans at the time something is happening, but they don't possess a "sixth sense" that warns them when the sky is about to fall.
3. If you drop a penny from the top of a tall building, it can kill a pedestrian on the ground.
This myth is so common it has even become a bit of a cliche in movies. The idea is that if you drop a penny from the top of a tall building (such as the Empire State Building) � it will pick up enough speed to kill a person if it lands on them on the ground. But the fact is, the aerodynamics of a penny are not sufficient to make it dangerous. What would happen in reality is that the person who gets hit would feel a sting � but they would certainly survive the impact.
When we talk about the cleanliness of a mouth, we�re really talking about the amount and type of bacteria it contains. The kind of bacteria found in a human mouth and a dog mouth depends on what�s been there recently. Unlike dogs, humans typically do not eat raw meat, garbage, and small animals. Given a dog that just locked its jaws around a decomposing squirrel, we might say that the dog�s mouth is less clean than a human�s mouth.
I love this site on my iphone!
I guess you must know someone who eats pumpkin seeds…..
One perceived myth that is truly factual is this: eating pumpkin seeds regularly does GREATLY increase the length and girth of the male member. I can voucher for this indeed!


text:
Q: How to write rest api for the node js tedious? I am unable to get the sql data in the express API? It is continuously loading and getting a blank screen,but getting sql data response in the console fine.
My index.js code :
var Connection = require("tedious").Connection;
var Request = require("tedious").Request;
var Types = require("tedious").Types;
const express = require("express");
const app = express();
const port = 3001;
var cors = require("cors");

app.get("/", function(req, res) {
    var config = {
        server:
            "***",
        authentication: {
            type: "default",
            options: {
                userName: "****",
                password: "****",
            },
        },
        options: {
            encrypt: true,
            database: "****",
        },
    };

    const connection = new Connection(config);

    connection.on("connect", (err, result) => {
        if (err) {
            console.log("Connection Failed");
            throw err;
        }
        executeStatement();
    });

    connection.connect();

    function executeStatement() {
        const request = new Request(
            "SELECT * FROM Platform",
            (err, rowCount, rows) => {
                if (err) {
                    console.log(err);
                }
            }
        );

        request.on("row", (columns) => {
            columns.forEach((column, rowCount, response) => {
                if (column.value === null) {
                    console.log("NULL");
                } else {
                    console.log(column.metadata.colName + " = " + column.value);
                }

                return res.send(response);
            });
        });

        connection.execSql(request);
    }
});

app.use(cors());

app.listen(port, function(err) {
    if (err) console.log("Error in server setup");
    console.log("Server listening on Port", port);
});

Getting error as "ERR_HTTP_HEADERS_SENT"
events.js:352

throw er; // Unhandled 'error' event
^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (_http_outgoing.js:561:11)
at ServerResponse.header (C:\Users\fashila.barveen\Desktop\CMS_EXT_TOOL\server\cms_tool_backend\node_modules\express\lib\response.js:776:10)
at ServerResponse.json (C:\Users\fashila.barveen\Desktop\CMS_EXT_TOOL\server\cms_tool_backend\node_modules\express\lib\response.js:264:10)
at ServerResponse.send (C:\Users\fashila.barveen\Desktop\CMS_EXT_TOOL\server\cms_tool_backend\node_modules\express\lib\response.js:158:21)
at C:\Users\fashila.barveen\Desktop\CMS_EXT_TOOL\server\cms_tool_backend\index.js:94:20
at Array.forEach (<anonymous>)
at Request.<anonymous> (C:\Users\fashila.barveen\Desktop\CMS_EXT_TOOL\server\cms_tool_backend\index.js:88:15)
at Request.emit (events.js:375:28)
at Request.emit (C:\Users\fashila.barveen\Desktop\CMS_EXT_TOOL\server\cms_tool_backend\node_modules\tedious\lib\request.js:150:18)
at Parser.<anonymous> (C:\Users\fashila.barveen\Desktop\CMS_EXT_TOOL\server\cms_tool_backend\node_modules\tedious\lib\connection.js:1322:21)
Emitted 'error' event on Readable instance at:
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
    code: 'ERR_HTTP_HEADERS_SENT'
}

Please do help in resolving this error.

A: I am unable to verify this. The reason you're getting that error is the you are trying to send the requestjs request more than once. You have it within you Array.forEach() loop. It appears all you will need to do is move, return res.send(response);, outside the loop.
Below the res.send() is moved after the call to the database. I assume that connection.execSql(request); returns a Promise which will need to be resolved before you send the Expressjs result. Hopefully this will provide the general approach needed.
var Connection = require("tedious").Connection;
var Request = require("tedious").Request;
var Types = require("tedious").Types;
const express = require("express");
const app = express();
const port = 3001;
var cors = require("cors");

app.get("/", function(req, res) {
    var config = {
        server:
            "***",
        authentication: {
            type: "default",
            options: {
                userName: "****",
                password: "****",
            },
        },
        options: {
            encrypt: true,
            database: "****",
        },
    };

    const connection = new Connection(config);

    connection.on("connect", (err, result) => {
        if (err) {
            console.log("Connection Failed");
            throw err;
        }
        executeStatement();
    });

    connection.connect();

    function executeStatement() {
        const request = new Request(
            "SELECT * FROM Platform",
            (err, rowCount, rows) => {
                if (err) {
                    console.log(err);
                }
            }
        );

        let outputData = ''; // Added to collect the data in the `Array.forEach()`

        request.on("row", (columns) => {
            columns.forEach((column, rowCount, response) => {
                if (column.value === null) {
                    console.log("NULL");
                } else {
                    console.log(column.metadata.colName + " = " + column.value);
                }

                outputData += response;
            });
        });

        connection.execSql(request); // This probably returns a promise which will need to resolved before you return the data.

        return res.send(outputData);
    }
});

app.use(cors());

app.listen(port, function(err) {
    if (err) console.log("Error in server setup");
    console.log("Server listening on Port", port);
});

redpajama_set_name: RedPajamaStackExchange


Are you worried about the quality of the air that your family members breathe each day? Advanced Home Services wants to help. We know that regulating the indoor air quality can be difficult, especially if members of your family have asthma, severe allergies, or any other condition that can worsen if they breathe in bacteria, viruses, mold spores, or other allergens.
In severe weather, poor ventilation means that such pollutants continue to circulate in our homes again and again. But you can clean the air as you run your heating and cooling systems with our indoor air quality system installations. Or, schedule duct cleaning, sealing, or replacement to reduce the amount of contaminants in your ducts. We offer a wide range of options for your home in Idaho Falls, Rigby, Ammon, Shelley, Blackfoot, Pocatello, St. Anthony, Chubbuck, Rexburg, Sugar City, Driggs, or Victor.
Advanced Home Services provides indoor air quality systems and services. Call us at (208) 269-9556 today!
You want the very best when it comes to the products and services that keep your family members healthy. That's why we recommend that you only entrust indoor air quality services with a professional technician. An IAQ specialist has the expertise to install a system like UV germicidal lights or an air filtration system correctly and to test and retest the system for quality.
Additionally, only select technicians who are qualified to clean the ducts. If you attempt air duct cleaning on your own, you may only make matters worse, kicking up contaminants so that they can move around the ducts with ease. Any duct service, from cleaning to replacement, requires the work of a skilled technician with the right tools.
Looking for the right indoor air quality system for your home? Discuss your needs with the technicians at Advanced Home Services. We are familiar with the most common contaminants found in homes in the Idaho Falls area. We have a wide range of systems in stock, but we are also happy to install whatever type of unit you decide is right for your home.
We also offer duct cleaning service, which can help to eliminate contaminants like bacteria, dust, and mold spores from within the ducts. We offer complete duct replacement services as well as duct sealing and repair to improve the performance of your HVAC system as well as your indoor air quality. Take a look at our services!
The common air filter might not be the best solution to your indoor air quality issues. Add in an air filtration system so that even smaller contaminants can exit your air stream—and more of them. But make sure you have professional technicians install it so that they can ensure the filter does not block your airflow.
An air purifier may remove a large portion of the contaminants that pass through your ducts. We have electronic models, air filtration systems, and UV lights. And all of these can make your air a lot safer to breathe in if you have a forced–air heating and air conditioning system. Call to learn more!
It can be tough to tell when your air ducts are not in good condition. A collapsed or damaged duct can make the rooms in your home cool or heat up unevenly, or it can raise your bills and make it a lot harder to get through the day and night comfortably. Duct repair is no job for a beginner, so call our experts today.
Duct replacement is a big job, so make sure that you work with friendly technicians you can trust. We offer quality services at fair prices, so your ducts are in good hands with us. Just give us a call to start the process of getting a brand new sealed set of ducts that delivers air to the home evenly and doesn't result in a massive loss of airflow.
The majority of air ducts in the country have a surprisingly large amount of air leakage. Chances are high that this is a problem in your home, and that you lose a whole lot of the air your system heats or cools every time you run the HVAC system. We provide duct sealing services so that you don't have to worry about wasting so much energy.
Call today to learn about our wide selection of air cleaners. Whether you want an electronic air cleaner, a UV light system, or a highly effective HEPA filter, we can install it for you. We also offer comprehensive indoor air quality system repair and replacement services, as well as routine maintenance of your entire HVAC system—including the air cleaner.
Bacteria and viruses can spread disease, and many microorganisms can make allergy and asthma symptoms a whole lot worse. We provide UV germicidal light installation, replacement, and maintenance and repair service. These systems kill and sterilize microorganisms, including bacteria, viruses, and mold spores, and they do it fast.
A humidifier is a useful addition to any HVAC system in Idaho Falls, especially in the winter. When the weather starts to turn cold, you are more likely to get ill. A humidifier adds moisture back into the air, which can stop your sinuses from drying out and prevent illness or shorten the length of your cold or flu.
A thorough duct cleaning service eliminates contaminants that are harmful to inhale and keeps your ducts clear so that air can flow through them with ease. Schedule duct cleaning with qualified professionals every 3–5 years if you want to feel better about the air that your family members and guests breathe in.
Carbon monoxide detectors have a major responsibility: protecting you and all of your family members from dangerous carbon monoxide poisoning. If you do not already have one of these lifesaving units on every floor of your home, give us a call. We can also replace an older CO detector or come to your home for routine testing.


This image gallery named as Wade Logan Zahir Side Chair Reviews might be ideal solution for your decoration. As the author has insert this image into Wade Logan Chairs post section, would ease you to find the perfect match of you decor desire.
Your bones and muscle on your body part required for sitting will probably have to adapt for the wade logan zahir side chair reviews. After you first try the chair, experiencing a few minor muscle or stiffness pain wont become an immense problem due to the time your bone and muscle conform to the innovative chair, then you can feel the gap. However, it's wise to use the kneeling chair toomuch because, later on, your thighs may take the aftermath of this continuous pressure. This really is one of the negative wade logan chairs which could eventually youpersonally.
Putting classic furniture in home does give the place prestige and beauty, especially in the event the vintage furniture comes with an intriguing history like the relics of the former Dutch age, the relics of toddlers, also it's one that exists in the whole world. No wonder the price is quite pricey. As a result of the pricey price, you will find a few rogue vendors who turn ordinary furniture to classic furniture, one is your wade logan zahir side chair reviews. To opt for a wade logan furniture manufacturer, you also must understand a couple of things. As we understand, chairs really are perhaps one among the absolute most exposed fragile home appliances, which is obviously occupied almost every moment; point. Thus, it is going to be good in the event that you regard the next hints which means that you will not be duped when purchasing an chair.
This informative article will explore the wade logan office chairs or commonly named an ottoman chair. Yes, you can feel unfamiliar with this chair's name. Nonetheless, you surely often locate this chair and ottoman because it is commonly found in many houses as household furniture. The grade of this wade logan zahir side chair reviews is lower compared to the different chair's ordinary weight. This chair is made without the hand backs and backagain. This makes it identified while the exact carbon copy of this seat where to place the foot aka the foot chair whenever you wish to comfy sit. It's mandatory that you know that this chair and ottoman possess a history based on its own unique identify. Given that the 13th century, the ottoman chairs have been around through the Turkish Empire. Then, the countless Turkish folks had employed a chair for being a footrest. The Ottoman title has been popularized by the British at 1806. They defined this particular furniture like a pillow or cloth that'd no hand and back lifts.
If you own a baby and also you want to get a wade logan zahir side chair reviews, you will find a few issues you need to understand. Exercising your child on a chair such a top chair will permit you to watch your youngster whilst you are doing all your own errands. Normally, you can start searching for a high chair as soon as your baby will eat good food items and take a seat by themselves. A superior chair is thought to be a niche category since it's just targeted for parents with kiddies. As you're getting a high seat, you may also want to find a wade logan furniture manufacturer.


Commuting to and from Cavite might soon become a whole lot easier.
The Department of Transportation (DOTr) has just announced that construction of the LRT-1 extension to Cavite is set to begin in April 2019. The project will connect the existing line to Bacoor, Cavite, and will span 11 kilometers and add eight new stations.
According to the agency, the LRT-1 Cavite extension's completion—estimated to be during the fourth quarter of 2021—will increase the rail line's passenger capacity from just 300,000 currently to around 800,000 per day. That's a significant improvement.
With this as well as the much-awaited Metro Manila Subway system (set to be fully operational by the year 2025) in the pipeline, things are finally beginning to look up for frustrated railway commuters. Let's hope both projects meet their respective completion dates.


An inexpensive, multielement atomic absorption spectrometer utilizing a tungsten coil atomizer has been developed. The novel optical arrangement employs three 60° beam combiners to blend the spectral output from four light sources such as electrodeless discharge lamps, or hollow cathode lamps, and then direct that output over an atomizer. This instrument uses an inexpensive tungsten coil atomizer that is extracted from a standard 150 W projector bulb. The temperature of the coil is computer-controlled by changing the voltage across the coil. A low voltage is first used to dry the sample then a higher voltage is used to atomize the sample. Simultaneous detection of the analyte absorption signals is accomplished using a charge-coupled device. The elements of interest in this study were Cd, Pb, and Cu. Near-line background correction was used to correct for nonspecific analyte absorption.


That incredible scene by Bernie delegates at the state convention in Vegas was basically a huge temper tantrum because there were more Hillary delegates present than Bernie delegates. If you remember back to February 20 when this campaign was still fresh and new, Hillary had won the initial caucuses (step one of the ridiculously complex Nevada process) which appointed delegates to the county conventions. The Bernie campaign made sure all their delegates showed up to the county conventions (step two of the process), while Hillary's campaign did not, so Bernie wound up with more delegates present at the various county conventions, thus flipping the results of the February caucuses. So Bernie wound up with 2,124 delegates to this past weekend's state Democratic convention, and Hillary 1,722. But this time it was the Bernie campaign who slipped up, and only 1,662 of Bernie's 2,124 delegates showed up at the state convention (the third and final step of the states delegate selection process), while all but 27 of Hillary's showed up. Basically, about 22% of Bernie's delegates flaked out, and less than 1.5% of Hillary's did. To make things worse for Bernie, a number of his delegates who did show up had forgotten to register as Democrats by the May 1 deadline, and so were denied entry. After a procedural tussle (with a lot of screaming and threats) about Bernie delegates supposedly not allowed in, an additional six more Bernie delegates were found that were officially registered. The final result–1,695 Hillary delegates to 1662 for Bernie meant that there were 33 more Hillary delegates than Bernie delegates at the convention. A razor thin 1% majority but a majority nonetheless. The Sanders delegation was not happy about the turn of events but rather than ask why one out of five of Bernie's chosen delegates could not be bothered to attend, they began grumbling about conspiracies. Hillary's 32 delegate margin gave her seven of the available 12 delegates seats to the national convention, and Bernie five, which was actually in line with the original caucus results back in February. What seems like a fairly even split, however, did not sit well with the Bernie Sanders contingent. Apparently they expected to sweep the slate with their huge majority of delegates they'd picked up at the county conventions. Which was impossible, of course, even had all of them attended. But Bernie's campaign manager Jeff Weaver keeps telling them that the path to the nomination is possible if they win 60% or 70% or even 80% of all the remaining delegates. Nothing is impossible, he tells them, if we are united. Apparently 22% percent of the delegates didn't get the message. The Bernie delegates who did show up responded to their embarrassing minority status with rage, screaming, booing, chanting, throwing chairs and finally, after the Casino management turned the lights off in the hall, holding the inevitable sit-in in the dark. Sheriffs finally got them to leave.
Bernie Sanders has lost all but nine of the primaries but won every non-primary state delegate selection contest since the original Nevada caucuses because he could pack them with supporters. Alas, in Nevada Hillary's campaign at last did a much better job of getting their delegates to the state convention, something the Bernie delegates could not accept. Darn that democratic process anyway. So what is a revolutionary to do? Of course, occupy the darkened hall. Hey hey, ho ho, they chanted by the light of their iPhones, Hillary Clinton has got to go. Then they went. The Nevada Revolution was over.
This entry was posted in 2016 presidential election and tagged Bernie Sanders, Hillary Clinton, Nevada state convention. Bookmark the permalink.
← A lot more than twenty seven dollars.


text:
'use strict'

const EventEmitter = require('events').EventEmitter
const Connection = require('interface-connection').Connection
const toPull = require('stream-to-pull-stream')
const pull = require('pull-stream')
const pullCatch = require('pull-catch')
const setImmediate = require('async/setImmediate')
const debug = require('debug')
const log = debug('mplex')
log.error = debug('mplex:error')

const MULTIPLEX_CODEC = require('./codec')

function noop () {}

// Catch error makes sure that even though we get the "Channel destroyed" error
// from when closing streams, that it's not leaking through since it's not
// really an error for us, channels shoul close cleanly.
function catchError (stream) {
  return {
    source: pull(
      stream.source,
      pullCatch((err) => {
        if (err.message === 'Channel destroyed') {
          return
        }
        return false
      })
    ),
    sink: stream.sink
  }
}

class MultiplexMuxer extends EventEmitter {
  constructor (conn, multiplex) {
    super()
    this.multiplex = multiplex
    this.conn = conn
    this.multicodec = MULTIPLEX_CODEC

    multiplex.on('close', () => this.emit('close'))
    multiplex.on('error', (err) => this.emit('error', err))

    multiplex.on('stream', (stream, id) => {
      const muxedConn = new Connection(
        catchError(toPull.duplex(stream)),
        this.conn
      )
      this.emit('stream', muxedConn)
    })
  }

  /**
   * Conditionally emit errors if we have listeners. All other
   * events are sent to EventEmitter.emit
   *
   * @param {string} eventName
   * @param  {...any} args
   * @returns {void}
   */
  emit (eventName, ...args) {
    if (eventName === 'error' && !this._events.error) {
      log.error('error', ...args)
    } else {
      super.emit(eventName, ...args)
    }
  }

  // method added to enable pure stream muxer feeling
  newStream (callback) {
    callback = callback || noop
    let stream
    try {
      stream = this.multiplex.createStream()
    } catch (err) {
      return setImmediate(() => callback(err))
    }

    const conn = new Connection(
      catchError(toPull.duplex(stream)),
      this.conn
    )

    setImmediate(() => callback(null, conn))

    return conn
  }

  /**
   * Destroys multiplex and ends all internal streams
   *
   * @param {Error} err Optional error to pass to end the muxer with
   * @param {function()} callback Optional
   * @returns {void}
   */
  end (err, callback) {
    if (typeof err === 'function') {
      callback = err
      err = null
    }
    callback = callback || noop
    this.multiplex.destroy(err)
    callback()
  }
}

module.exports = MultiplexMuxer

redpajama_set_name: RedPajamaGithub


text:
China: The New "British Empire"?
Dear friends & readers, permit me a gloss on life rather than theology, for a moment:
"China is building a blue water navy, even as it is helping to fund and construct ports in Burma, Sri Lanka, Bangladesh and Pakistan. The Chinese will not have naval bases in these countries: India would find that far too provocative, and the Chinese are taking pains so others see their rise as peaceful and non-hegemonic. Rather, these harbors will be visited by Chinese warships and will provide warehousing for Chinese consumer goods destined for the Middle East. China is building a far-flung trading network, ultimately to be protected by its warships -- the British Empire refitted for a 21st-century era of globalization."
Robert Kaplan, 'While US Is Distracted, China Develops Sea Power', Washington Post, September 26, 2010. (click on post title to read article)
He makes nations great, and he destroys them; he enlarges nations, and he abandons them (Job 12:23)
It didn't surprise me when experts started making the rather obvious prediction that the 21st century would be China's century just as the 19th C. was Britain's century and the 20th C. America's. My grasp of economics may only be at the high-school level (but at least, unlike most theologians and church leaders, I've studied the subject!), but I understand that a country's wealth and ultimately it's power in the world is dependent on its capacity to produce goods and services that the world wants to buy. Since just about everything we want to buy is now made in China, just as in previous centuries it was made in the industrial powerhouses of Britain and the US, it stands to reason that China is raking in lots of cold, hard cash while most of the world runs a trade deficit against it...Australia excepted, for reasons I will come to explain in a minute.
It will come as no surprise to those familiar with history then what China is doing with the wealth its manufactured goods bring it...exactly what Britain did in the lead-up to its period of hegemony on the world stage: it is building a navy to protect its trade routes from competitors and pirates (yes, we still have pirates in the southern seas!) and extending its sphere of political influence to guarantee markets for its goods in the future and thus keep the cycle of wealth production going. Before we are too much further into this century, I predict, China's navy will outgun the US navy, at least in the southern hemishpere. What, do you think, are the likely consequences of that for Australia, which, following the collapse of Britain as a superpower after the highly symbolic and humiliating fall of Singapore in 1942, has relied on the reach of US naval power for security?
Now here's the irony in all of this. Why does Australia run a trade surplus with China whereas Britain and the US run deficits? Because we export huge amounts of iron ore, coal and other minerals to China. For example, about 24 coal trains a day pass through the city where I live bound for the coastal ports and eventually China. The Chinese demand for coal is literally eating away some of the best farmland this country has here on the Darling Downs and in central Queensland and destroying local communities in the process. And what does China do with the coal, iron ore, etc.,? Why, it makes steel to build warships, among other things.
[Pic: The Chinese fleet on parade, 2009. (c. Getty Images)]
Posted by Acroamaticus at Monday, September 27, 2010
Labels: History, Politics
It's hard not to buy stuff "Made in China." Our leaders have sold us out.
Monday, 27 September, 2010
Just saw ABC news 24 hour where Australian warships are conducting exercises with the chinese navy in the Yellow sea. Now nohting out of the ordinary here. Australia has also conducted exercises with the Indian Navy. Now what does that say?
Let s' remember that the navy policy that was announced in the Rudd years ,upset china.now we have ships working with their's. I think we need to reassess our defence policy ,perhaps with a stronger Sea frontiers ,counter terrorism/counter insurgency and peacekeeping emphasis . Obama has indicated that he is not interested in us,by his latest visit to indonesia but not coming here, and perhaps that is US policy being set for the near future. should we be like New Zealand and remember we are just a minor power,who is nevertheless prepared to defend our interests
Of course a dispesationalist would see China as being the Kings of the east taking part in the invasion of jerusalem in the Tribulation. should we view them as that as well
Yeah, I know, even the netbook I used for this post is "Made in China". How's that for irony?! It _is_ hard to escape the feeling that we've been sold out. There is light on the horizon though -as Chinese factory workers become politically emboldened, they are lobbying and even striking for better wages and conditions. It will eventually come full circle - the question is, how long will that take?
Matthias,
Yes, Australia has to make a fundamental choice in light of the probable retreat of the US from the southern Pacific: principled independence, likely at great financial and personal cost, or become a client state of China. Which way do you think it's going to go? (That's a rhetorical question!)
Melanchthon said...
A very interesting post, as my father served as a US Naval officer for 30 years (and exercised with the Australian Navy).
I laughed when you said "My grasp of economics may only be at the high-school level (but at least, unlike most theologians and church leaders, I've studied the subject!)" I find nearly all the "peace and justice" pronouncments that come from our church leaders to be terribly naive. One wonders if they ever picked up an economics textbook!
Tuesday, 28 September, 2010


This is the SAS Certified Data Science Program in the SAS Academy for Data Science. In Level 1, SAS Certified Big Data Professional, students learn critical SAS programming skills and introductory statistics, and they also learn how to manage and manipulate data, explore data visually, and craft compelling stories with data. In addition, students learn how SAS works with Hadoop, and they learn about Hadoop data management with Hive, Pig, and SAS. Level 1 also teaches programming essentials with Hadoop and provides an introduction to in-memory statistics.
In Level 2, The SAS Certified Advanced Analytics Professional, students learn a variety of machine learning and predictive modeling techniques as well as how to apply the techniques to big distributed and in-memory data sets. Students also learn about experimentation in business, optimization, and time series forecasting. The coursework, hands-on practice, and projects help prepare students for the certification exam needed to become a SAS Certified Data Science Professional.


text:
Q: I can build locally but my heroku build is failing In my local environment, the build works properly, and the server works well, but in Heroku, the build fails.
Even 5 days ago, when I did [git push heroku master] with the same code, I succeeded in distributing it was successful.
I just don't know why.
My Node Version: v16.14.0
My npm Version: 8.12.1
THis is the message when I run git push heroku master
Enumerating objects: 157, done.
Counting objects: 100% (157/157), done.
Delta compression using up to 8 threads
Compressing objects: 100% (132/132), done.
Writing objects: 100% (139/139), 34.60 KiB | 1.65 MiB/s, done.
Total 139 (delta 64), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Using buildpack: heroku/nodejs
remote: -----> Node.js app detected
remote:
remote: -----> Creating runtime environment
remote:
remote:        NPM_CONFIG_LOGLEVEL=error
remote:        NODE_VERBOSE=false
remote:        NODE_ENV=production
remote:        NODE_MODULES_CACHE=true
remote:
remote: -----> Installing binaries
remote:        engines.node (package.json):  16.x
remote:        engines.npm (package.json):   8.x
remote:
remote:        Resolving node version 16.x...
remote:        Downloading and installing node 16.15.1...
remote:        Bootstrapping npm 8.x (replacing 8.11.0)...
remote:        npm 8.12.1 installed
remote:
remote: -----> Restoring cache
remote:        Cached directories were not restored due to a change in version of node, npm, yarn or stack
remote:        Module installation may take longer for this build
remote:
remote: -----> Installing dependencies
remote:        Installing node modules
remote:        npm ERR! code EUSAGE
remote:        npm ERR!
remote:        npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
remote:        npm ERR!
remote:        npm ERR! Invalid: lock file's fs-capacitor@6.2.0 does not satisfy fs-capacitor@2.0.4
remote:        npm ERR!
remote:        npm ERR! Clean install a project
remote:        npm ERR!
remote:        npm ERR! Usage:
remote:        npm ERR! npm ci
remote:        npm ERR!
remote:        npm ERR! Options:
remote:        npm ERR! [--no-audit] [--foreground-scripts] [--ignore-scripts]
remote:        npm ERR! [--script-shell <script-shell>]
remote:        npm ERR!
remote:        npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
remote:        npm ERR!
remote:        npm ERR! Run "npm help ci" for more info
remote:
remote:        npm ERR! A complete log of this run can be found in:
remote:        npm ERR!     /tmp/npmcache.eCi5I/_logs/2022-06-10T15_29_27_934Z-debug-0.log
remote:
remote: -----> Build failed
remote:
remote:        We're sorry this build is failing! You can troubleshoot common issues here:
remote:        https://devcenter.heroku.com/articles/troubleshooting-node-deploys
remote:
remote:        If you're stuck, please submit a ticket so we can help:
remote:        https://help.heroku.com/
remote:
remote:        Love,
remote:        Heroku
remote:
remote:  !     Push rejected, failed to compile Node.js app.
remote:
remote:  !     Push failed
remote:  !
remote:  ! ## Warning - The same version of this code has already been built: 1c50da0c5e766307c0583b04cc9e990d1b19088b
remote:  !
remote:  ! We have detected that you have triggered a build from source code with version 1c50da0c5e766307c0583b04cc9e990d1b19088b
remote:  ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote:  !
remote:  ! If you are developing on a branch and deploying via git you must run:
remote:  !
remote:  !     git push heroku <branchname>:main
remote:  !
remote:  ! This article goes into details on the behavior:
remote:  !   https://devcenter.heroku.com/articles/duplicate-build-version
remote:
remote: Verifying deploy...
remote:
remote: !       Push rejected to evencafe-backend.
remote:
To https://git.heroku.com/evencafe-backend.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/evencafe-backend.git'

This is my package.json file
{
  "name": "evencafe-backend",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "preinstall": "npx npm-force-resolutions",
    "dev": "nodemon --exec babel-node src/server.js",
    "migrate": "npx prisma migrate dev",
    "studio": "npx prisma studio",
    "build": "babel src --out-dir build",
    "start": "node build/server"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/evencoding/evencafe-backend.git"
  },
  "author": "Even Coding",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/evencoding/evencafe-backend/issues"
  },
  "homepage": "https://github.com/evencoding/evencafe-backend#readme",
  "dependencies": {
    "@babel/cli": "^7.17.10",
    "@babel/plugin-transform-runtime": "^7.18.2",
    "@babel/runtime": "^7.18.3",
    "@graphql-tools/load-files": "^6.5.3",
    "@graphql-tools/merge": "^8.2.10",
    "@graphql-tools/schema": "^8.3.10",
    "@prisma/client": "^3.8.1",
    "apollo-server": "^2.25.2",
    "apollo-server-express": "^2.25.2",
    "aws-sdk": "^2.1144.0",
    "bcrypt": "^5.0.1",
    "dotenv": "^16.0.1",
    "express": "^4.18.1",
    "graphql": "^15.8.0",
    "jsonwebtoken": "^8.5.1",
    "fs-capacitor": "6.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.16.10",
    "@babel/node": "^7.16.8",
    "@babel/preset-env": "^7.16.10",
    "nodemon": "^2.0.16",
    "prisma": "^3.14.0"
  },
  "resolutions": {
    "fs-capacitor": "6.2.0",
    "graphql-upload": "^11.0.0"
  }
}

A: I had the exact same issue a few days ago (early June) while deploying my React app on Heroku as well. It seems the problem was caused by the node/npm version update. By default, Heroku uses the latest stable version of node and npm as the building engines, but it might lead to conflicting dependencies if you use a previous version of them.
So, if it works completely fine locally but this issue happens while deploying it on Heroku, here is the solution:
Use node --version and npm --version to check out the versions on your local instance, and then add them under engines section in your package.json file, like this (for you it's 16.14.0 and 8.12.1):
"engines": {
    "node": "16.14.0",
    "npm": "8.12.1"
},

then redeploy the app on Heroku. Problem should be fixed.