When Dr. Sadaf Farooqi and colleagues discovered a genetic abnormality that caused severe obesity in a handful of children, she had no cure. Yet the scientist transformed four families' lives nonetheless.
The British parents had been living in fear of losing their children — the youngsters' severe obesity had been seen as a possible sign of abuse or neglect, and they had been put on the list of the country's social services department.
"They were being blamed for their children's condition," Farooqi said.
Farooqi told authorities that this abnormality — a DNA deletion — wiped out a key gene involved in the body's response to leptin, a hormone that controls appetite. The children were taken off the list.
Can extreme childhood obesity be considered abuse? How much of a child's weight can be blamed on the parents, and how much is out of their control?
A three-decade rise in childhood obesity rates has meant that related abuse and neglect cases are more often making their way into the courts. According to a 2008 report by the Child Welfare League of America, "California, Indiana, New Mexico, New York, Pennsylvania, and Texas have had to determine whether morbidly obese children whose parents are unable or unwilling to control their children's weight against medical orders are properly considered abused or neglected."
And in June, South Carolina mother Jerri Gray lost custody of her son Alexander Draper after being charged with criminal neglect. The 14-year-old weighed 555 pounds. Gray is facing 15 years on two felony counts, the first U.S. felony case involving childhood obesity, said her lawyer, Grant Varner.
Such cases will require authorities to consider not only genetics but the helplessness parents can face in trying to regulate a child's behavior, especially that of a teen.
"What genetics does is sort of set the range of weights for you," said James O. Hill, director of the Center for Human Nutrition at the University of Colorado in Denver. "If you're somebody who is genetically predisposed ... you may never be lean, but there's still a wide range of weights in there."
But today's environment is likely to push many kids to the higher end of their range, said Dr. Marc Jacobson, who sits on the American Academy of Pediatrics' obesity leadership work group. In 1955, he said, McDonald's fries were 210 calories, but the large portions more often consumed today are 500. A Coke was 6.5 ounces, versus 20 ounces in today's plastic bottles. No wonder, he said, that today U.S. kids have an obesity rate of 15 percent, and that another 15 percent are overweight.
"Food is available 24/7. Domino's delivers. We're not programmed for that kind of environment," Jacobson said. "We're programmed for an environment where food is scarce."
Some of the factors are hard for parents to control, especially if they live in disadvantaged communities, said ethicist Erika Blacksher, a research fellow at the Hastings Center.
"It's unfair to hold parents accountable for factors such as whether their neighborhoods have safe places for their children to play ... or when their neighborhoods don't have grocery stores that sell healthy foods," she said.


text:
Q: How to deal with extra characters read into ASIO streambuf? Most libraries has parsers works only over std::istream or single continuous buffer. Those parsers read istream until the eof, not the end of document.  Even if there is a nice boost::asio::streambuf, that can be used with istream, there is a problem with reading and committing only one frame to it. Functions like read_until are committing anything that they read, and if they read a fragment of next frame, the parsing fill fail.
This mocked example on Coliru is showing the problem.
Assuming that we need an efficient solution, without copying buffers, I need to ensure that the end of stream is the correct end of document. My current solution is to scan data and do multiply commit/consume over one prepared buffer:
size_t read_some_frames( boost::asio::streambuf& strbuf,
                         std::function< void(istream&) > parser ) {
        auto buffers= strbuf.prepare( 1024 );
        size_t read= bad_case_of_read_some( buffers );

        vector< std::pair< size_t, size_t > > frames;
        std::pair< size_t, size_t > leftover= scanForFrames(
                    buffers_begin(buffers),
                    buffers_begin(buffers)+read,
                    frames, '\0' );

        for( auto const& frame: frames ) {
            cout << "Frame size: " << frame.first
                      << " skip: " << frame.second << endl;
            strbuf.commit( frame.first );
            strbuf.consume( frame.second );
            iostream stream( &strbuf );
            parser( stream );
        }
        cout << "Unfinished frame size: " << leftover.first
                             << " skip:" << leftover.second << endl;
        strbuf.commit( leftover.first );
        strbuf.consume( leftover.second );
        return read;
}

Live on Coliru
According to documentation, this is wrong. I think this code work, because that calling commit and consume do not release the internal buffers. Somehow I need to deal with this.
What are the possible solutions?

A: While the read_until() operations commit all data read into the streambuf's input sequence, they return a bytes_transferred value containing the number of bytes up to and including the first delimiter.  In essence, it provides the size of the frame, and one can limit istream to only read a portion of the streambuf's input sequence by either:

*

*Using a custom istream that limits the amount of bytes read from a streambuf.  One of the easier ways to accomplish this is to use Boost.IOStream's boost::iostreams::stream and implement a model of the Source concept.

*Create a custom streambuf that derives from Boost.Asio's streambuf.  To limit the amount of bytes read from the available input sequence, custom functions will need to manipulate the end of the input sequence.  Furthermore, the custom streambuf will need to handle underflow.

Custom Source for Boost.IOStream
Boost.IOStream's boost::iostreams::stream object delegates I/O operations to a Device.  The Device is user code that implements a model of various Boost.IOStream concepts.  In this case, the Source concept, which provides read-access to a sequence of characters, is the only one needed.  Furthermore, when the boost::iostreams::stream uses a Source Device, it will inherit from std::basic_istream.
In the following code, asio_streambuf_input_device is a model of the Source concept that reads from a Boost.Asio streambuf.  When a given amount of bytes have been read, asio_streambuf_input_device indicates underflow even if the underlying streambuf still has data in its input sequence.
/// Type that implements a model of the Boost.IOStream's Source concept
/// for reading data from a Boost.Asio streambuf
class asio_streambuf_input_device
  : public boost::iostreams::source // Use convenience class.
{
public:

  explicit
  asio_streambuf_input_device(
      boost::asio::streambuf& streambuf,
      std::streamsize bytes_transferred
  )
    : streambuf_(streambuf),
      bytes_remaining_(bytes_transferred)
  {}

  std::streamsize read(char_type* buffer, std::streamsize buffer_size)
  {
    // Determine max amount of bytes to copy.
    auto bytes_to_copy =
      std::min(bytes_remaining_, std::min(
          static_cast<std::streamsize>(streambuf_.size()), buffer_size));

    // If there is no more data to be read, indicate end-of-sequence per
    // Source concept.
    if (0 == bytes_to_copy)
    {
      return -1; // Indicate end-of-sequence, per Source concept.
    }

    // Copy from the streambuf into the provided buffer.
    std::copy_n(buffers_begin(streambuf_.data()), bytes_to_copy, buffer);

    // Update bytes remaining.
    bytes_remaining_ -= bytes_to_copy;

    // Consume from the streambuf.
    streambuf_.consume(bytes_to_copy);

    return bytes_to_copy;
  }

private:
  boost::asio::streambuf& streambuf_;
  std::streamsize bytes_remaining_;
};

// ...

// Create a custom iostream that sets a limit on the amount of bytes
// that will be read from the streambuf.
boost::iostreams::stream<asio_streambuf_input_device> input(streambuf, n);
parse(input);

Here is a complete example demonstrating this approach:
#include <functional>
#include <iostream>
#include <string>

#include <boost/asio.hpp>
#include <boost/iostreams/concepts.hpp>  // boost::iostreams::source
#include <boost/iostreams/stream.hpp>

/// Type that implements a model of the Boost.IOStream's Source concept
/// for reading data from a Boost.Asio streambuf
class asio_streambuf_input_device
  : public boost::iostreams::source // Use convenience class.
{
public:

  explicit
  asio_streambuf_input_device(
      boost::asio::streambuf& streambuf,
      std::streamsize bytes_transferred
  )
    : streambuf_(streambuf),
      bytes_remaining_(bytes_transferred)
  {}

  std::streamsize read(char_type* buffer, std::streamsize buffer_size)
  {
    // Determine max amount of bytes to copy.
    auto bytes_to_copy =
      std::min(bytes_remaining_, std::min(
          static_cast<std::streamsize>(streambuf_.size()), buffer_size));

    // If there is no more data to be read, indicate end-of-sequence per
    // Source concept.
    if (0 == bytes_to_copy)
    {
      return -1; // Indicate end-of-sequence, per Source concept.
    }

    // Copy from the streambuf into the provided buffer.
    std::copy_n(buffers_begin(streambuf_.data()), bytes_to_copy, buffer);

    // Update bytes remaining.
    bytes_remaining_ -= bytes_to_copy;

    // Consume from the streambuf.
    streambuf_.consume(bytes_to_copy);

    return bytes_to_copy;
  }

private:
  boost::asio::streambuf& streambuf_;
  std::streamsize bytes_remaining_;
};

/// @brief Convert a streambuf to a string.
std::string make_string(boost::asio::streambuf& streambuf)
{
  return std::string(buffers_begin(streambuf.data()),
                     buffers_end(streambuf.data()));
}

// This example is not interested in the handlers, so provide a noop function
// that will be passed to bind to meet the handler concept requirements.
void noop() {}

int main()
{
  using boost::asio::ip::tcp;
  boost::asio::io_service io_service;

  // Create all I/O objects.
  tcp::acceptor acceptor(io_service, tcp::endpoint(tcp::v4(), 0));
  tcp::socket server_socket(io_service);
  tcp::socket client_socket(io_service);

  // Connect client and server sockets.
  acceptor.async_accept(server_socket, std::bind(&noop));
  client_socket.async_connect(acceptor.local_endpoint(), std::bind(&noop));
  io_service.run();

  // Write to client.
  const std::string message =
    "12@"
    "345@";
  write(server_socket, boost::asio::buffer(message));

  boost::asio::streambuf streambuf;

  {
    auto bytes_transferred = read_until(client_socket, streambuf, '@');
    // Verify that the entire message "12@345@" was read into
    // streambuf's input sequence.
    assert(message.size() == streambuf.size());
    std::cout << "streambuf contains: " << make_string(streambuf) <<
                  std::endl;

    // Create a custom iostream that sets a limit on the amount of bytes
    // that will be read from the streambuf.
    boost::iostreams::stream<asio_streambuf_input_device> input(
      streambuf, bytes_transferred);

    int data = 0;
    input >> data; // Consumes "12" from input sequence.
    assert(data == 12);
    std::cout << "Extracted: " << data << std::endl;
    assert(!input.eof());
    input.get(); // Consume "@" from input sequence.
    assert(!input.eof());
    input.get(); // No more data available.
    assert(input.eof());
    std::cout << "istream has reached EOF" << std::endl;
  }
  std::cout << "streambuf contains: " << make_string(streambuf) <<
               std::endl;

  {
    // As the streambuf's input sequence already contains the delimiter,
    // this operation will not actually attempt to read data from the
    // socket.
    auto bytes_transferred = read_until(client_socket, streambuf, '@');

    // Create a custom iostream that sets a limit on the amount of bytes
    // that will be read from the streambuf.
    boost::iostreams::stream<asio_streambuf_input_device> input(
      streambuf, bytes_transferred);

    std::string data;
    getline(input, data, '@'); // Consumes delimiter.
    assert(data == "345");
    std::cout << "Extracted: " << data << std::endl;
    assert(!input.eof());
    input.get(); // Underflow.
    assert(input.eof());
    std::cout << "istream has reached EOF" << std::endl;
  }

  assert(streambuf.size() == 0);
  std::cout << "streambuf is empty" << std::endl;
}

Output:
streambuf contains: 12@345@
Extracted: 12
istream has reached EOF
streambuf contains: 345@
Extracted: 345
istream has reached EOF
streambuf is empty

Derive from boost::asio::streambuf
One can safely derive from the Boost.Asio's streambuf and implement custom behaviors.  In this case, the goal is to limit the amount of bytes an istream can extract from the input sequence before causing underflow.  This can be accomplish by:

*

*Updating the streambuf's get-area (input sequence) pointers so it only contains the desired amount of bytes to be read.  This is accomplished by setting the end of the get-area pointer (egptr) to be n bytes after the current character get-area pointer (gptr).  In the code below, I refer to this as framing.

*Handling a underflow().  If the end of the current frame has been reached, then return EOF.

/// @brief Type that derives from Boost.Asio streambuf and can frame the
///        input sequence to a portion of the actual input sequence.
template <typename Allocator = std::allocator<char> >
class basic_framed_streambuf
  : public boost::asio::basic_streambuf<Allocator>
{
private:

  typedef boost::asio::basic_streambuf<Allocator> parent_type;

public:

  explicit
  basic_framed_streambuf(
    std::size_t maximum_size = (std::numeric_limits< std::size_t >::max)(),
    const Allocator& allocator = Allocator()
  )
    : parent_type(maximum_size, allocator),
      egptr_(nullptr)
  {}

  /// @brief Limit the current input sequence to n characters.
  ///
  /// @remark An active frame is invalidated by any member function that
  ///        modifies the input or output sequence.
  void frame(std::streamsize n)
  {
    // Store actual end of input sequence.
    egptr_ = this->egptr();
    // Set the input sequence end to n characters from the current
    // input sequence pointer..
    this->setg(this->eback(), this->gptr(), this->gptr() + n);
  }

  /// @brief Restore the end of the input sequence.
  void unframe()
  {
    // Restore the end of the input sequence.
    this->setg(this->eback(), this->gptr(), this->egptr_);
    egptr_ = nullptr;
  }

protected:

  // When the end of the input sequence has been reached, underflow
  // will be invoked.
  typename parent_type::int_type underflow()
  {
    // If the  streambuf is currently framed, then return eof
    // on underflow.  Otherwise, defer to the parent implementation.
    return egptr_ ? parent_type::traits_type::eof()
                  : parent_type::underflow();
  }

private:
  char* egptr_;
};

// ...

basic_framed_streambuf<> streambuf;
// ....
streambuf.frame(n);
std::istream input(&streambuf);
parse(input);
streambuf.unframe();

Here is a complete example demonstrating this approach:
#include <functional>
#include <iostream>
#include <string>

#include <boost/asio.hpp>

/// @brief Type that derives from Boost.Asio streambuf and can frame the
///        input sequence to a portion of the actual input sequence.
template <typename Allocator = std::allocator<char> >
class basic_framed_streambuf
  : public boost::asio::basic_streambuf<Allocator>
{
private:

  typedef boost::asio::basic_streambuf<Allocator> parent_type;

public:

  explicit
  basic_framed_streambuf(
    std::size_t maximum_size = (std::numeric_limits< std::size_t >::max)(),
    const Allocator& allocator = Allocator()
  )
    : parent_type(maximum_size, allocator),
      egptr_(nullptr)
  {}

  /// @brief Limit the current input sequence to n characters.
  ///
  /// @remark An active frame is invalidated by any member function that
  ///        modifies the input or output sequence.
  void frame(std::streamsize n)
  {
    // Store actual end of input sequence.
    egptr_ = this->egptr();
    // Set the input sequence end to n characters from the current
    // input sequence pointer..
    this->setg(this->eback(), this->gptr(), this->gptr() + n);
  }

  /// @brief Restore the end of the input sequence.
  void unframe()
  {
    // Restore the end of the input sequence.
    this->setg(this->eback(), this->gptr(), this->egptr_);
    egptr_ = nullptr;
  }

protected:

  // When the end of the input sequence has been reached, underflow
  // will be invoked.
  typename parent_type::int_type underflow()
  {
    // If the  streambuf is currently framed, then return eof
    // on underflow.  Otherwise, defer to the parent implementation.
    return egptr_ ? parent_type::traits_type::eof()
                  : parent_type::underflow();
  }

private:
  char* egptr_;
};

typedef basic_framed_streambuf<> framed_streambuf;

/// @brief RAII type that helps frame a basic_framed_streambuf within a
///        given scope.
template <typename Streambuf>
class streambuf_frame
{
public:
  explicit streambuf_frame(Streambuf& streambuf, std::streamsize n)
    : streambuf_(streambuf)
  {
    streambuf_.frame(n);
  }

  ~streambuf_frame() { streambuf_.unframe(); }

  streambuf_frame(const streambuf_frame&) = delete;
  streambuf_frame& operator=(const streambuf_frame&) = delete;

private:
  Streambuf& streambuf_;
};

/// @brief Convert a streambuf to a string.
std::string make_string(boost::asio::streambuf& streambuf)
{
  return std::string(buffers_begin(streambuf.data()),
                     buffers_end(streambuf.data()));
}

// This example is not interested in the handlers, so provide a noop function
// that will be passed to bind to meet the handler concept requirements.
void noop() {}

int main()
{
  using boost::asio::ip::tcp;
  boost::asio::io_service io_service;

  // Create all I/O objects.
  tcp::acceptor acceptor(io_service, tcp::endpoint(tcp::v4(), 0));
  tcp::socket server_socket(io_service);
  tcp::socket client_socket(io_service);

  // Connect client and server sockets.
  acceptor.async_accept(server_socket, std::bind(&noop));
  client_socket.async_connect(acceptor.local_endpoint(), std::bind(&noop));
  io_service.run();

  // Write to client.
  const std::string message =
    "12@"
    "345@";
  write(server_socket, boost::asio::buffer(message));

  framed_streambuf streambuf;

  // Demonstrate framing the streambuf's input sequence manually.
  {
    auto bytes_transferred = read_until(client_socket, streambuf, '@');
    // Verify that the entire message "12@345@" was read into
    // streambuf's input sequence.
    assert(message.size() == streambuf.size());
    std::cout << "streambuf contains: " << make_string(streambuf) <<
                  std::endl;

    // Frame the streambuf based on bytes_transferred.  This is all data
    // up to and including the first delimiter.
    streambuf.frame(bytes_transferred);

    // Use an istream to read data from the currently framed streambuf.
    std::istream input(&streambuf);
    int data = 0;
    input >> data; // Consumes "12" from input sequence.
    assert(data == 12);
    std::cout << "Extracted: " << data << std::endl;
    assert(!input.eof());
    input.get(); // Consume "@" from input sequence.
    assert(!input.eof());
    input.get(); // No more data available in the frame, so underflow.
    assert(input.eof());
    std::cout << "istream has reached EOF" << std::endl;

    // Restore the streambuf.
    streambuf.unframe();
  }

  // Demonstrate using an RAII helper to frame the streambuf's input
  // sequence.
  {
    // As the streambuf's input sequence already contains the delimiter,
    // this operation will not actually attempt to read data from the
    // socket.
    auto bytes_transferred = read_until(client_socket, streambuf, '@');
    std::cout << "streambuf contains: " << make_string(streambuf) <<
                  std::endl;

    // Frame the streambuf based on bytes_transferred.  This is all data
    // up to and including the first delimiter.  Use a frame RAII object
    // to only frame the streambuf within the current scope.
    streambuf_frame<framed_streambuf> frame(streambuf, bytes_transferred);

    // Use an istream to read data from the currently framed streambuf.
    std::istream input(&streambuf);
    std::string data;
    getline(input, data, '@'); // Consumes delimiter.
    assert(data == "345");
    std::cout << "Extracted: " << data << std::endl;
    assert(!input.eof());
    input.get(); // No more data available in the frame, so underflow.
    assert(input.eof());
    std::cout << "istream has reached EOF" << std::endl;
    // The frame object's destructor will unframe the streambuf.
  }

  assert(streambuf.size() == 0);
  std::cout << "streambuf is empty" << std::endl;
}

Output:
streambuf contains: 12@345@
Extracted: 12
istream has reached EOF
streambuf contains: 345@
Extracted: 345
istream has reached EOF
streambuf is empty

A: Outside the case where you consume a stream after reading until the connection has been closed, I see no use for strbuf + istream like this, indeed.
The simple problem being that istream extraction will not update the stream atomically on failed/partial parsem leading to lost input/corruption.
Here's your mock sample fixed to correctly expect and receive NUL characters:
Live On Coliru
#include <iostream>
#include <utility>
#include <algorithm>
#include <boost/asio.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/qi_match.hpp>

namespace asio = boost::asio;

std::istream &parseDocument(std::istream &is, int &data) {
    namespace qi = boost::spirit::qi;
    return is >> qi::match(qi::int_ >> '\0', data);
}

template <typename MutableBuffers> size_t
    fake_read1(MutableBuffers const &outbuf) { return asio::buffer_copy(outbuf, asio::buffer("12345" "\0" "23", 8)); }

template <typename MutableBuffers> size_t
    fake_read2(MutableBuffers const &outbuf) { return asio::buffer_copy(outbuf, asio::buffer("456" "\0", 4)); }

#define READ_UNTIL(/*boost::asio::streambuf &*/strbuf, fake_read) { \
    auto buffers = strbuf.prepare(1024); \
    size_t read = fake_read(buffers); \
    std::cout << "READ_UNTIL " #fake_read ": " << read << " bytes\n"; \
    strbuf.commit(read); \
}

int main() {
    // this is the easy scenario:
    {
        asio::streambuf strbuf;

        READ_UNTIL(strbuf, fake_read1);
        READ_UNTIL(strbuf, fake_read2);

        int data1, data2;
        std::istream stream(&strbuf);

        parseDocument(stream, data1);
        parseDocument(stream, data2);

        std::cout << "Yo: " << data1 << "\n";
        std::cout << "Yo: " << data2 << "\n";
    }

    // this is the tricky scenario:
    {
        asio::streambuf strbuf;

        READ_UNTIL(strbuf, fake_read1);
        //READ_UNTIL(strbuf, fake_read2); // will happen later, now we're stuck with a partial second frame

        int data1, data2;
        std::istream stream(&strbuf);

        parseDocument(stream, data1);

        while (!parseDocument(stream, data2)) {
            stream.clear();
            READ_UNTIL(strbuf, fake_read2);
        }

        std::cout << "Oops: " << data1 << "\n";
        std::cout << "Oops: " << data2 << "\n";
    }
}

In the "tricky" scenario you can see that the partial packet (containing "23") is lost and the subsequent packet corrupted:
READ_UNTIL fake_read1: 8 bytes
READ_UNTIL fake_read2: 4 bytes
Oops: 12345
Oops: 456

You can also see I switch to my preferred framework for small, ad-hoc, parsers: Boost Spirit in the parseDocument() function. See below for how I'd make this more applicable.
1. Underflowing Stream Buffers
What you could be looking for instead is a stream buffer implementation that would just await more data when the buffer underflows.
I believe that e.g. asio::ip::tcp::iostream is exactly that:
Live On Coliru
#include <iostream>
#include <boost/asio.hpp>

int main() {
    std::cout << boost::asio::ip::tcp::iostream("127.0.0.1", "6769").rdbuf();
}

Run this locally to see that input arrives packet-wise (e.g. with netcat)

2. Parsing the underlying ConstBuffers sequence
Alternatively, and in the spirit of zero-copy you might want to parse directly on the underlying buffer sequence that underlies the asio::streambuf implementation, making sure to only consume() what you've successfully parsed:
Live On Coliru
#include <iostream>
#include <boost/asio.hpp>
#include <boost/spirit/include/qi.hpp>

using namespace std;
namespace asio = boost::asio;

using asio::buffers_begin;
using asio::buffers_end;

template <typename ConstBuffers>
size_t parseDocument(ConstBuffers const& buffers, int &data) {

    auto b(buffers_begin(buffers)), f=b, l(buffers_end(buffers));

    namespace qi = boost::spirit::qi;
    return qi::phrase_parse(f, l, qi::int_ >> '\0', qi::space, data)
        ? (f - b)
        : 0; // only optionally consume
}

template <typename MutableBuffers> size_t
    fake_read1(MutableBuffers const &outbuf) { return asio::buffer_copy(outbuf, asio::buffer("12345" "\0" "23", 8)); }

template <typename MutableBuffers> size_t
    fake_read2(MutableBuffers const &outbuf) { return asio::buffer_copy(outbuf, asio::buffer("456" "\0", 4)); }

#define READ_UNTIL(/*boost::asio::streambuf &*/strbuf, fake_read) { \
    auto buffers = strbuf.prepare(1024); \
    size_t read = fake_read(buffers); \
    std::cout << "READ_UNTIL " #fake_read ": " << read << " bytes\n"; \
    strbuf.commit(read); \
}

size_t readuntil2(boost::asio::streambuf &strbuf) {

    std::cout << __PRETTY_FUNCTION__ << "\n";
    static int delay_fake_async_receive = 6;
    if (delay_fake_async_receive--)
        return 0;

    auto buffers = strbuf.prepare(1024);
    size_t read = fake_read2(buffers);
    std::cout << "read2: " << read << " bytes\n";
    strbuf.commit(read);
    return read;
}

#include <boost/range/algorithm.hpp>

int main() {
    // this is the tricky scenario:
    asio::streambuf strbuf;

    READ_UNTIL(strbuf, fake_read1);
    //READ_UNTIL(strbuf, fake_read2); // will happen later, now we're stuck with a partial second frame

    int data1=0, data2=0;

    strbuf.consume(parseDocument(strbuf.data(), data1));

    size_t consumed = 0;
    while (!(consumed = parseDocument(strbuf.data(), data2))) {
        READ_UNTIL(strbuf, fake_read2);
    }

    std::cout << "Yay: " << data1 << "\n";
    std::cout << "Yay: " << data2 << "\n";

    //asio::ip::tcp::iostream networkstream("localhost", "6767");
    std::cout << asio::ip::tcp::iostream("localhost", "6767").rdbuf();
}

Prints
READ_UNTIL fake_read1: 8 bytes
READ_UNTIL fake_read2: 4 bytes
Yay: 12345
Yay: 23456

SUMMARY, Integrating 3rd party parsers
If you must use a third party library that requires a std::istream& to parse from, yet you cannot rely on transmissions to be aligned with frame boundaries, you could perhaps use a hybrid approach:
auto n = find_frame_boundary(buffers_begin(sb.data()), buffers_end(sb.data()));

and then perhaps use a boost::iostream::array_source on the reduced region detected.

redpajama_set_name: RedPajamaStackExchange


Last 12 months, I was approached by a small group of people that had lately stop their jobs at an organization that manufactured business meals processing gear. Access for All (VisitEngland; EU-funded; 2014-2015) We project managed the Destination Organisation participation and audited and suggested fifty six companies across seven destinations in advance of a national advertising campaign. Like enterprise owners in every single place, they're very involved about their backside line – and how your products might help them cover their expenses and switch a profit for them.
Attend a Small Business Victoria workshop on enterprise planning, monetary administration, advertising or on-line. This builds a popularity for your corporation, and conveys concepts a couple of small business with personalised service straight from the proprietor or manager. Public relation dealing is of vital importance for advertising of your corporation. Thanks for watching top 20 small business ideas in India for brand spanking new startup.


text:
Key.Aero Network
☰
Magazines & Websites
Consumer Publications
Search in titles only Search in Commercial Aviation only
Missing Malaysian Airlines B777
Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 template Next
Matt-100 started a topic Missing Malaysian Airlines B777
News breaking from Kuala Lumpur, a Malaysian Airlines 777-200 with 239 souls on board is missing over the South China Sea. Flight MH370 bound for Beijing was due to land at 22:30 GMT on Friday (7th March) evening but all communications with the airliner have been lost. A search and rescue mission is currently underway.
http://www.bbc.co.uk/news/world-asia-26492748
Last edited by Matt-100; 8th March 2014, 01:09.
TomcatViP replied
I read the other day that France has still to send the Flaperon found in island La Reunion to the Australian investigation team. We know that barnacle matching study (yes, yes, matching the species and growth rate of the barnacles stuck to the part - we have already dealt with this subject in the thread - I'll try to find it back) is of a prime importance to the investigation. I am quite taken aback by this apparent lack of gentle attitude b/w recognized teams of experts.
We will be reaching the 5th anniversary of this tragedy in two weeks. If anyone in France want them to have this part before that time, they should start to proceed immediately.
Last edited by TomcatViP; 4th March 2019, 01:13.
Did Li Battery fire theory gain [at last] a high profile advocate in the media?
Retired United Airlines pilot Captain Ross Aimer told Daily Star Online his "gut feeling" was that the 221kg of lithium-ion batteries in the airliner's hold of erupted in flames shortly after take-off.
He said the plane could then have continued its flight even after everyone on board was killed.
Capt Aimer said: "The fire may have started during or shortly after take off, since things started to happen as soon as they levelled off.
"It is possible the fire killed everyone onboard then continued burning the aircraft until it crashed. Since the flaperon was discovered in the ocean, it most probably crashed into the ocean."
He is talking about the manifest (cargo bay) discussed already here in 2014:
Express.co.uk from Daily Star online (and from your favorite Web forum times times ago)
Last edited by TomcatViP; 21st November 2018, 02:12.
22nd June 2018, 13:21
Sorry Alex, I have no remembrance of that one. Have you tried browsing thread's attachments?
Malaysia to finally collect critical MH370 debris
Malaysia has agreed to collect two pieces of critical debris from MH370 that were found almost two years ago and were the subject of an alleged assassination.
The two pieces, discovered by local villagers, reinforce the high-speed crash theory, according to wreck hunter Blaine Gibson.
The pieces – one from the interior, the other a fin of the engine – were found in September 2016 by local villagers at beaches on Madagascar.
The two items were due to be picked up in August last year by Zahid Raza, the Honorary Malaysian Consul in Madagascar, when he was assassinated
AirlineRatings.com
Alex Smart replied
Some time ago I am sure that I saw on one of the pages in this thread a picture of a large twin engined a/c that seemed to have been under water. If I am correct, then can someone please redirect me to it as I cannot find it today.
2nd June 2018, 16:25
Ocean infinity ended all searches on the 29th of May having started on the 8th March 2018.
Here are the words of its CEO:
Oliver Plunkett, Ocean Infinity's CEO, said:
"I would firstly like to extend the thoughts of everyone at Ocean Infinity to the families of those who have lost loved ones on MH370. Part of our motivation for renewing the search was to try to provide some answers to those affected. It is therefore with a heavy heart that we end our current search without having achieved that aim.
We are most grateful to the Government of Malaysia for entertaining our offer and affording us the opportunity to recommence the search. The commitment that the new government in Malaysia has made to prioritising finding MH370 was very good to hear.
We want to thank the team onboard Seabed Constructor who have worked tirelessly and all the many companies, organizations and individuals whose support, guidance and advice were invaluable. The staff at the ATSB whose dedication to finding the plane has been unwavering deserve our particular gratitude.
Whilst clearly the outcome so far is extremely disappointing, as a company, we are truly proud of what we have achieved both in terms of the quality of data we've produced and the speed with which we covered such a vast area. There simply has not been a subsea search on this scale carried out as efficiently or as effectively ever before.
We sincerely hope that we will be able to again offer our services in the search for MH370 in future."
Ocean Infinity.com/mh370
MH370 Didn't Just Disappear, It Was Caught in a Swamp of Corruption
Some good lines here, especially on the Malaysian context and the perspectives
Wherever the 239 victims of MH370 are entombed, they represent a comprehensive failure of the systems and people that were supposed to protect them from such an appalling fate. For sure, air travel is safer today than it has ever been. Nonetheless, the last thing that we can tolerate is that the cause of a crash should remain unknown. As all crash investigators will tell you, the cause might well be something that has never happened before. And might happen again.
The Daily Beast.com
I can't forgive [Malaysian] air force: MH370 pilot's sister
Among questions not fully explained over the plane's dis*appearance is why the Malaysian air force did not scramble a jet to follow the airliner as it veered off course.
Former defence minister Hishamuddin Hussein has previously said: "If you're not going to shoot it down, what's the point of sending (a fighter) up?"
Ms Shah told The Australian; "Everyone's wish is that they find the wreckage. If that is not possible, the next-best thing is that they bring everyone (who failed to act) to book; the air force, the former defence minister."
The latest "no find, no fee" search by Ocean Infinity in the southern Indian Ocean officially ends tomorrow […]
Amazing that a plane that veered 180deg off-course and went radio silent hadn't inspired more effort to question the whererabouts of their passengers (that were also mostly Malaysian nationals*).
She said rumours he had *orchestrated the plane's dis*appearance had devastated the family.
Zaharie and co-pilot Fariq Abdul Hamid were initially named by Malaysian authorities as suspects in the aircraft's dis*appearance, but exonerated.
The Australian.com.au
The BBC.com
Manifest for Flight MH370
153 Chinese
38 Malaysians
7 Indonesians
6 Australians
5 Indians
4 French
3 Americans
2 each from New Zealand, Ukraine and Canada
One each from Russia, Taiwan, Netherlands
Two men - one confirmed as Iranian - travelling under stolen Italian and Austrian passports
Last edited by TomcatViP; 27th May 2018, 16:42.
Once again putting the assumption that there was a mass-murderer on board and then setting a path full of technical justification for that hypothesis is wrong.
Thousands of flight take place every days and there is statiscally far more criminals in the air than such reported occurrences. So why focus on the very narrow margin?!
Question: if you hear that the cabin is full of incapaciting smoke and fly above an unforgiving ocean, what would you do? You would probably attempt to depressurize the cabin and cut all electrical non-essential power In a desesperate attempt to starve any fire in the cargo bay. Then turn home keeping your alt (passengers have downed masks with enough O2 for you to assess the situation).
You can't presuppose that one of the pilot or passengers was a mass murderer. Hijacker want money. And for that they need some bargain power... Which generally happen to be the passengers.
I am sorry 27Vet but this does not make sense.
IMOHO It could very well be that the captain or his copilot were heroes subdued only by overhelming elements.
On that occasion I will remind all that the cargo was full of Li batteries. The very one element now banned on any commercial flights.
Captains avid of Flight simmulations are not. Circuit breakers neithers. EoA.
Last edited by TomcatViP; 22nd May 2018, 23:52.
27vet replied
Here is an interesting article I found which supports the hijack theory. It was well known that Zaharie and the co-pilot were lax as far as cockpit security is concerned.
Briefly, it concerns the satcom system. Very complicated to deactivate from the cockpit, easier by entering the E&E bay, but access to the E&E bay is in the first class section, so if Zaharie had locked the copilot out of the cockpit, he wouldn't have been able to turn off the satcom until the copilot and pax were dead. Which would have taken some time as they would have had oxygen for at least 20 minutes.
http://jeffwise.net/2016/05/16/the-s...fate-of-mh370/
Last edited by 27vet; 22nd May 2018, 17:06.
Australian search defended after 60 Minutes criticism
US scientist Victor Iannello said he had watched the episode twice and found nothing new in terms of evidence or insights.
"What I did see were some of the experts confusing speculation with facts, and cherry-picking evidence to support their pet theories while carefully omitting contradicting evidence,'' he said.
An exhaustive and patient deconstruction of what those "experts" said during the show. All sourced material being available first hand in the ATSB report, it's is stunning that a team of journalist did take such shadowy road well away from well paved methodologies of professional journalism*... Will one day someone take the occasion to make a TV show after the Lost 60 minutes team?
*Add to that the fact that the web see now a surge of similar articles about the alleged mad Captain and we are back to the Germanwings story: coordinated media lynching.
You can watch the show here on Youtube:
- there are none evidence that substantiate with facts the conclusion that Germanwings Flight 9525 was the result of an act of mass-murder. It still remains to this day a deliberate interpretation of the Fr bureau driven by the early intimate opinion voiced by its leading prosecutor that was put in charge of the accident investigation. Given that the accusations smeared in the press to the point of constituting by itself an evidence was a the leading factor driving the enquiry, the duplication of this by the 60 minute team can only be seen as a deliberate choice, given that the possibility of a laisser-aller won't honor their professionalism.
- "The [locked away] captain can be heard trying to make is way back [in the cockpit]" (Germanwings)... That's all the problem. None of the audio were ever released. At one point (before the existence of the audio was acknowledged), a journalist got to hear the band*** "a hundred times" commenting on the panic stricken cabin but he was then highly criticized and nothing more has transpired of it. None of the family have reported that there were offered the chance to ear the last words of their loved-one.*
- There are strong concordent evidence that the flap recovered in the FR island of La Réunion had multiple stays in the water with one witness acknowledging that this specific part had washed-up on the beach where he was in charge of burning drift-aloft debris or throwing them back in the water when not possible, what he remembered that he did with that one**. Maritime life stuck on it where more local species than anything else (if my memory stands right, that were the conclusions of two laboratory - but this has been the subject of some post here in this thread - please scroll back HERE if interested). Hence, the erosion of the thinner part of the flap is more probably the consequence of being washed up on the rocky beach (not sand beaches, small stones) and/or when it was dragged back in the water.
- The simulation (if Microsoft Flight simulator simplistic flight models can ever been ascertained as a valid simulation for a very long haul flight with numerous corner waypoints): let's be clear, how many of us have not been called away from our screen while "flight simming" for something as casually urgent like the evening dinner, guest coming or a quick run at the night shop for a brick of milk. As this become now facts for a criminal investigation? And what generally become of "our plane" if put on various autopilot mode? She would fly until the last bit of virtual fuel is expended... And crashes. Did the FBI (who first searched the computer) stated that the pilot had actually dived the plane on that occasion at the end of this long simulated flight (something that will show-up immediately in the sim flight log)?... No. End of arguments.
*To me there should be room in it to make 60 min of a bright dramatic show of just this
** Something that stand aside of any French laws despite the weird given order from the island administration
*** Here is a CNN interview of that Journalist
Last edited by TomcatViP; 2nd June 2018, 15:29.
"They are very compelling," aviation analyst Henry Harteveldt, president of Atmosphere Research Group, told CBS News' Kris Van Cleave. "What I find very compelling is the hypothesis that the pilot did this deliberately, and did one of the most heinous acts in modern commercial aviation."
And someone just put all his energy in achieving probably one of the most heinous form of laziness ever acted in 60 minute time of serious modern TV.
The plane didn't crash nose down but probably stalled and splashed at much lower speed and a much different attitude than asserted by the so-called expert during the show. This has been publicly acknowledged by the enquiry as a certitude (autopilot keeping the plane level despite loss of power due to fuel pulsed starvation). Starring at the salvaged piece of leading edge with a severe look in the eyes won't change that result.
10 minutes of appropriate reading would have allowed the 60min team to get that info first hand. Given the horrendous accusation devoid of any facts and exacerbated by the dramatic tempus of a 60min show, IMOHO this amount to gratuitous accusation and diffamation [/legalMode]
Sourced from:
CBS News.com
Newforest replied
https://www.dailystar.co.uk/news/wor...mystery-solved
Problem solved, we will know the answer in June, (maybe).
With regard to the two coal carrier shipwrecks discovered and dated 1800's to be lost en-route to Australia loaded with coal.
This link gives details of Australian Coal discovery and production.
http://www.abs.gov.au/ausstats/abs@....2569E3001F5555
It seems odd that as they had discovered and were mineing coal in Australia back in the mid/late 1800's, that they would import coal from the UK ?
I think that I may have misread the original post , it may just have being referring to what was coal that would have been the ship's fuel. Not as I read, the ship's cargo.
Last edited by Alex Smart; 9th May 2018, 13:17.
Here is a report from the Guardian apparently (it was posted on another forum)
MH370 search reveals clues to 19th century shipwreck mysteries
Unprecedented search operation leads to discovery of two vessels that sank south-west of Australia
A four-year search of the depths of the Indian Ocean has failed to locate Malaysia Airlines Flight 370. But the sonar seabed hunt for the missing airliner might be close to solving two 19th-century mysteries the locations of two sailing ships that vanished with cargos of coal.
Maritime historians on Thursday published a short list of possible identities of two shipwrecks found in the course of the initial 710,000 sq km (274,000 sq mile), three-year search for the Boeing 777 that was lost in 2014 with 238 people aboard.
The wrecks were found in 2015, seven months and 36 km apart, 2,300 km south-west of Australia in debris fields scattered with coal more than 3.7 km below the ocean's surface.
MH370: US team extends mission after failing to find plane in initial search zone
The searchers had a closer look with underwater drones that took photographs of both sites and retrieved a coal sample from one. Analysis showed the coal was probably from Britain, a Western Australian Museum report said.
The museum's examination of the images of the scattered remnants of a ship discovered on 19 May 2015, found it was possibly the brig W Gordon or the barque Magdala, according to incomplete records of ships lost in that period.
W Gordon was on a voyage from Scotland to Australia when it disappeared in 1877 with 10 crew aboard. Magdala was lost in 1882 while sailing from Wales to Indonesia.
The report found the splintered wreck was most likely sunk by an explosion. Coal cargoes in the era exploded through sparking of methane gas accumulating below deck or the spontaneous combustion of overheated coal.
An iron wreck found on 19 December 2015 was most likely the barque West Ridge, which vanished while sailing from England to India with 28 sailors in 1883, the report said. A coal sample from that wreck suggested the cargo was from Britain.
There was no evidence of what caused the disaster, but the wreck's location east of the trade route from Europe to Asia suggested it might have been heading to the closest port in Australia for help.
The museum's assistant curator of maritime archaeology, Ross Anderson, said the new data about the two 19th century sinkings was a significant byproduct of the search for MH370, which was flying from Malaysia to China when communications with it were lost.
But Anderson doubted that the identities of the two deepest wrecks found in the Indian Ocean would ever be confirmed without a wealthy private benefactor because of their depth and remoteness.
"These are the deepest wrecks so far located in the Indian Ocean, they're some of the most remote shipwrecks in the world," he said.
The initial underwater sonar probe scoured remote seabed at depths of up to 6,000 meters (20,000 ft) before Malaysia, China and Australia agreed to end the state-funded search for MH370 last year. The wrecks were found during that search.
The wrecks of two trawlers sunk the late 20th century were also discovered, but the Australian Transport Safety Bureau, which supervised the search, did not ask the museum to research them.
Ocean Infinity, a US technology company conducting a new search, said this week it had covered nearly 80,000 sq km since January without finding any sign of the plane's wreckage.
In January, the Malaysian government pledged to pay Texas-based Ocean Infinity up to $70m (£51.4m) if it could find the wreckage or black boxes of the aircraft within 90 days.
Box 35S to be searched next week
One source close to the investigation says only one of the five auto pilot settings — constant magnetic heading (CMH) — would lead to a crash site at 35S, where the ocean current at the time ran in the opposite direction, towards Africa.
Box 35S is close (West) to where French satellite imagery came from (the ones that were not reviewed for years -read here)
French satellite images first seen in March 2014, a week or so after the plane disappeared, showed white objects in this same area, at 35S.
At the time the objects were dismissed as unimportant.
The drift analysis included retrospective calculations to gauge where the objects might have been in the hours after MH370 disappeared. And sure enough, it was around 35S, the new zone where Ocean Infinity is preparing to search.
Latest update from Ocean Infinity report:
Search to be interrupted at the end of April for crew change (and weather).
EDIT (as of 050118):
Oliver Plunkett, Ocean Infinity's CEO: As the team head in to port after another six weeks' hard work, I am pleased to say our technology has performed exceptionally well throughout the search and that we have collected significant amounts of high quality data in which we have full confidence. The results from the highly challenging Broken Ridge feature are particularly impressive.
Whilst it's disappointing there has been no sign of MH370 in the Australian Transport Safety Bureau search area and further north, there is still some search time remaining. Everyone at Ocean Infinity remains absolutely determined for the remainder of the search."
abc news.net.au
Last edited by TomcatViP; 1st May 2018, 13:35.
J Boyle replied
27Vet...
Why do you believe that?
What motive would someone have for not being forthcoming with the location?
Who is the someone?
Seabed Constructor returns to port for resupply
Once the Seabed Constructor returns to sea it will complete the priority area and then move further north to cover areas identified by the Independent Group and the University of WA
The clock* does not run while the ship returns to port to refuel and resupply.
EDIT (033018):
MH370 search vessel back on the case
Source (a golden nugget among all the junk news I have to say):
www.airlineratings.com/
*In reference to the three month deadline given by the Malaysia
Last edited by TomcatViP; 30th March 2018, 13:13.
Publication of the latest detailed investigation report from the Malaysian authorites has been delayed upon completion of the latest search campaign:
9. The publication of the detailed investigation report, that is the Safety Report, based on currently available information has been suspended pending the outcome of the latest search effort, since any new evidence uncovered is likely to significantly affect the investigation. In the event that the aircraft is found, the Team will conduct further investigation. If the aircraft is not found and a decision is made to discontinue the search, the Team will resume the completion of the report and release it in the months ahead.
abridged report can be found here
Copyright Key Publishing Ltd
- Part of the Network -

redpajama_set_name: RedPajamaCommonCrawl


Perfect forWatching the Great Migration of wildebeest as they thunder across the river just outside the camp.
In the knowThe camp is co-owned by Jackson from Big Cat Diaries.
Rekero Camp's wonderful location along the Masai Mara's Talek River is one of the many reasons why we're so fond of this rustic tented camp. Deep within the reserve, Rekero offers one of the best spots for watching the incredible wildebeest migration, with one of its crossing points located just in front of the camp.
With an abundance of exceptional game viewing at your fingertips accommodation quickly takes a back seat on the list of priorities. Despite this, Rekero's nine luxury ensuite tents provide all you need to survive comfortably in the bush. The seven romantic tents feature a double bed, tarpaulin floors covered with African rugs, a large terrace with a daybed or sofa, and minimalist rustic décor. There are also two family tents with an extra double bedroom area. Huddled along the river's edge, each tent has beautiful views of the surrounding scenery.
The camp centres on communal dining. Pull up a chair in the mess tent and tuck into a hearty meal while discussing the day's excitements. All food and drink is provided for you, so lay back, relax and listen to the hippos grunting in the river while enjoying a refreshing sun downer.
When you are not out on safari, unwind in the cosy lounge area of the camp's mess tent or relax on your day bed while you take in your surroundings and watch the wildlife prowl, laze and graze nearby.
Guides have grown up in the surrounding area, giving walking safaris and game drives an expert level of personalised knowledge that is uniquely special to Rekero. Visit one of the Il Dorobo or Maasai villages for a cultural excursion, or sample a sumptuous picnic in the heart of the wilderness. For a memorable perspective of the plains blast off into the clouds in one of the park's hot air balloons that take flight at dawn.
The closest airstrip is Ol Kiomb which is approximately 20 minutes away.


text:
Q: Wrapping a class while still exposing all its public methods, properties and fields I'm trying to make a generic wrapper class that can wrap any other class and add extra functionality to it. However at the same time I want to be able to use this wrapper everywhere where I would normally use the wrapped class. Currently I use implicit casting which works OK. But in an ideal world I would like to the wrapper class to have the same exposed methods and fields as the wrapped class, like in this piece of example code:
class Foo
{
    public int Bar() { return 5; }
}

class Wrapper<T>
{
    private T contents;

    public void ExtraFunctionality() { }
    public static implicit operator T(Wrapper<T> w) { return w.contents; }
}

Foo f = new Foo();
Wrapper<Foo> w = new Wrapper<Foo>(foo);

int y = w.Bar();

Can I use some ancient witchcraft, reflection, or other trickery to make this possible?
Note: in C++ I would just overload the -> operator to operate on the field contents instead of on the wrapper.

A: I wouldn't recommend this, but since you've mentioned witchcraft... you can use dynamic typing with DynamicObject. The wrapper tries to handle the requested method. If it can't, it forwards the call to the underlying wrapped object:
class DynamicWrapper : DynamicObject
{
    private readonly object _contents;

    public DynamicWrapper(object obj)
    {
        _contents = obj;
    }

    public override bool TryInvokeMember(InvokeMemberBinder binder, object[] args, out object result)
    {
        if (binder.Name == "ExtraFunctionality")
        {
            // extra functionality
            return true;
        }
        var method = _contents.GetType()
                             .GetRuntimeMethods()
                             .FirstOrDefault(m => m.Name == binder.Name);

        if (method == null)
        {
            result = null;
            return false;
        }

        result = method.Invoke(_contents, args);
        return true;
    }
}

Edit:
Nevermind, I just noticed you wanted to use an instance of this everywhere where you would normally use an instance of the wrapped type.
You'd have to change the field/property/variable declaration to dynamic to use this.

A: You can generate the type(s) dynamically using the classes in the System.Reflection.Emit namespace. This link can give you a good starting point.


text:
class FixtureDef {
public:
    FixtureDef *next;
    b2FixtureDef fixture;
};

@interface BodyDef : NSObject {
@public
    FixtureDef *fixtures;
    CGPoint anchorPoint;
}
@end

@interface CollisionSprite : CCSprite {
	b2Transform		*box2dTransform;
	FixtureDef		*fixtureDef;
}

@property (nonatomic, readonly) FixtureDef		*fixtureDef;
@property (nonatomic, readonly) b2Transform		*box2dTransform;
@property (nonatomic, copy) NSString			*physicsEditorName;

// set scaleInWorld if self or parent scale != 1
// future rev might calculate this on the fly, but more efficient to set explicitly for now
@property (nonatomic, assign) CGFloat			scaleInWorld;

-(BOOL) isActive;
-(BOOL) intersectsTarget:(CollisionSprite*)target testRectIntersection:(BOOL)testRectIntersection;
-(BOOL) intersectsTarget:(CollisionSprite*)target;
-(BOOL) intersectsRectTarget:(CollisionSprite*)target;

@end

@interface GB2ShapeCache (GB2ShapeCache_Helpers)

-(FixtureDef*) fixturesForShape:(NSString*)shape;
-(BOOL) shapeExists:(NSString*)shape;

@end

// these are generic enough to extend CCSprite (or even CCNode)
@interface CCSprite (CollisionSprite_Helpers)

-(CGPoint) positionInWorld;
-(CGPoint) positionInWorldInPixels;
-(CGRect) boundingBoxInWorld;

@end

redpajama_set_name: RedPajamaGithub


text:
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.forms import fields, ValidationError

#from models import Captcha
import widgets

from datetime import datetime, timedelta
import md5

class CaptchaField(fields.Field):
    widget = widgets.CaptchaInput

    def clean(self, value):
        try:
            solution = md5.new(value.lower()).hexdigest()
            min_datetime = datetime.now() - timedelta(seconds = 300)
            captcha = Captcha.objects.get(solution = solution, date_generated__gte = min_datetime)

            captcha.delete()

            return True

        except Captcha.DoesNotExist:
            raise ValidationError(_('Wrong code!'))


text:
from lxml import etree
import webob

from nova.api.openstack.compute.contrib import extended_availability_zone
from nova import availability_zones
from nova import compute
from nova.compute import vm_states
from nova import exception
from nova.objects import instance as instance_obj
from nova.openstack.common import jsonutils
from nova import test
from nova.tests.api.openstack import fakes

UUID1 = '00000000-0000-0000-0000-000000000001'
UUID2 = '00000000-0000-0000-0000-000000000002'
UUID3 = '00000000-0000-0000-0000-000000000003'

def fake_compute_get_az(*args, **kwargs):
    inst = fakes.stub_instance(1, uuid=UUID3, host="get-host",
                               vm_state=vm_states.ACTIVE,
                               availability_zone='fakeaz')
    return inst

def fake_compute_get_empty(*args, **kwargs):
    inst = fakes.stub_instance(1, uuid=UUID3, host="",
                               vm_state=vm_states.ACTIVE,
                               availability_zone='fakeaz')
    return inst

def fake_compute_get(*args, **kwargs):
    inst = fakes.stub_instance(1, uuid=UUID3, host="get-host",
                               vm_state=vm_states.ACTIVE)
    return inst

def fake_compute_get_all(*args, **kwargs):
    inst1 = fakes.stub_instance(1, uuid=UUID1, host="all-host",
                                vm_state=vm_states.ACTIVE)
    inst2 = fakes.stub_instance(2, uuid=UUID2, host="all-host",
                                vm_state=vm_states.ACTIVE)
    db_list = [inst1, inst2]
    fields = instance_obj.INSTANCE_DEFAULT_FIELDS
    return instance_obj._make_instance_list(args[1],
                                            instance_obj.InstanceList(),
                                            db_list, fields)

def fake_get_host_availability_zone(context, host):
    return host

def fake_get_no_host_availability_zone(context, host):
    return None

class ExtendedServerAttributesTest(test.TestCase):
    content_type = 'application/json'
    prefix = 'OS-EXT-AZ:'

    def setUp(self):
        super(ExtendedServerAttributesTest, self).setUp()
        availability_zones.reset_cache()
        fakes.stub_out_nw_api(self.stubs)
        self.stubs.Set(compute.api.API, 'get', fake_compute_get)
        self.stubs.Set(compute.api.API, 'get_all', fake_compute_get_all)
        self.stubs.Set(availability_zones, 'get_host_availability_zone',
                       fake_get_host_availability_zone)

        self.flags(
            osapi_compute_extension=[
                'nova.api.openstack.compute.contrib.select_extensions'],
            osapi_compute_ext_list=['Extended_availability_zone'])

    def _make_request(self, url):
        req = webob.Request.blank(url)
        req.headers['Accept'] = self.content_type
        res = req.get_response(fakes.wsgi_app(init_only=('servers',)))
        return res

    def _get_server(self, body):
        return jsonutils.loads(body).get('server')

    def _get_servers(self, body):
        return jsonutils.loads(body).get('servers')

    def assertServerAttributes(self, server, az):
        self.assertEqual(server.get('%savailability_zone' % self.prefix),
                         az)

    def test_show_no_host_az(self):
        self.stubs.Set(compute.api.API, 'get', fake_compute_get_az)
        self.stubs.Set(availability_zones, 'get_host_availability_zone',
                       fake_get_no_host_availability_zone)

        url = '/v2/fake/servers/%s' % UUID3
        res = self._make_request(url)

        self.assertEqual(res.status_int, 200)
        self.assertServerAttributes(self._get_server(res.body), 'fakeaz')

    def test_show_empty_host_az(self):
        self.stubs.Set(compute.api.API, 'get', fake_compute_get_empty)
        self.stubs.Set(availability_zones, 'get_host_availability_zone',
                       fake_get_no_host_availability_zone)

        url = '/v2/fake/servers/%s' % UUID3
        res = self._make_request(url)

        self.assertEqual(res.status_int, 200)
        self.assertServerAttributes(self._get_server(res.body), 'fakeaz')

    def test_show(self):
        url = '/v2/fake/servers/%s' % UUID3
        res = self._make_request(url)

        self.assertEqual(res.status_int, 200)
        self.assertServerAttributes(self._get_server(res.body), 'get-host')

    def test_detail(self):
        url = '/v2/fake/servers/detail'
        res = self._make_request(url)

        self.assertEqual(res.status_int, 200)
        for i, server in enumerate(self._get_servers(res.body)):
            self.assertServerAttributes(server, 'all-host')

    def test_no_instance_passthrough_404(self):

        def fake_compute_get(*args, **kwargs):
            raise exception.InstanceNotFound(instance_id='fake')

        self.stubs.Set(compute.api.API, 'get', fake_compute_get)
        url = '/v2/fake/servers/70f6db34-de8d-4fbd-aafb-4065bdfa6115'
        res = self._make_request(url)

        self.assertEqual(res.status_int, 404)

class ExtendedServerAttributesXmlTest(ExtendedServerAttributesTest):
    content_type = 'application/xml'
    prefix = '{%s}' % extended_availability_zone.\
                        Extended_availability_zone.namespace

    def _get_server(self, body):
        return etree.XML(body)

    def _get_servers(self, body):
        return etree.XML(body).getchildren()


If we do not owe any FUTA tax for the 3rd qtr. do we have to file a report?
Fit Small Business: Get Your Business Into Shape! › Forums › Ask a Question › If we do not owe any FUTA tax for the 3rd qtr. do we have to file a report?
we have paid the FUTA TAX each qtr. 3rd qtr. we do not owe any FUTA TAX. do we file a report or what should I do?
You may also want to look at the Federal Laws that affect small businesses, in our artice https://fitsmallbusiness.com/federal-labor-laws/.
Thank you for posting on our site!


The immunity EMC (Electromagnetic Compatibility) rules form an important part of the type examination of measuring instruments. This one day training is designed to provide you with a good insight of the specific metrological EMC requirements, interpretations and solutions that apply with these tests.
The course is instrument independent and applicable to all types of measuring instruments. On completion of this training course you will be better prepared for the type of testing that your measuring instrument must undergo and for the certification requirements that apply during the metrological EMC testing. During the course, you will be apprised of all current and future EMC requirements.
Why is EMC testing important in the environmental testing of measuring instruments?
EMC testing of measuring instruments compared with EMC testing of general electronic equipment.
Criteria governing performance of measuring instruments.
Specific EMC tests on a case by case basis.
Selection of representative test sample.
Power from external 12 V and 24 V.
How to apply directives, standards and normative documents.
Definition of Environmental Classes (e.g. E1, E2 and E3).
Maximum permissible errors during testing.
Case: practical check of EMC performance and feedback from group leader.
Practice: EMC testing in the lab: experiments, tips and tricks.
Investment: EUR 695 per person, excluding VAT, including course documentation, certificate of attendance lunch and refreshments.


Description: A fun card matching game brought to you by Girly.com. There are 3 levels in this game which will test your memory and determination. Each level gets more difficult with more cards and new animals. Can you complete them all and win the matching game?


text:
What Does 'Hover' Mean?
Lingered, stayed suspended
Arun Raj answered
Hover means "to be suspended in the air or afloat in the air." The word is usually used with a helicopter or birds which "hover in the sky." A state of lingering or remaining in a certain place is also known as "to hover around." For example, consider the usage of the word in the sentence:
"The prankster refused to leave the class and kept on hovering around the head."
In the above sentence, "hovering around the head" is used metaphorically; the phrase meant that the boy was lingering constantly at a particular place, proving to be a constant source of irritation to the teacher.
The act of remaining in a vague or uncertain condition is also known as "to hover." For example: The temperature hovered between acute cold and freezing point. Incidentally, hover is also an option in the Microsoft Internet Explorer to remove the permanent underline from the hypertext links. The underline is displayed only when the cursor moves around or hovers around the link. The hover option is in: Tools-Internet Options-Advanced-Underline Links.
What Does Sydney Mean?
The name Sydney is an Old French name which was given to people from the city of St Denis, and was formed...
What Does Ceramic Mean?
The word ceramic is derived from the Greek word keramikos, meaning "potter's earth, or pottery". The...
What Does Dandelion Mean?
Dandelions are a huge part of the family Asteraceae. They can be tap-rooted biennial or perennial herbaceous...
What Does Soul Mean?
The term 'soul' has been defined in various ways by different philosophers, scientists, intellectualists...
What Does Parboil Mean?
Parboil means to boil food partially. This term is used to refer the action to boil a food partially...
What Does Consistent Mean?
Consistent means the ability to do the same thing over and over again. Being consistent can have positive...
What Does Franciscan Mean?
A Franciscan is a follower of the Christian religious order founded by St Francis and Clare of Assisi...
What Does Wehrmacht Mean?
Wehrmacht which means defense force in German was the name used to refer to the army, navy and air force...
What Does Doe Mean?
Doe is the female counterpart of a deer or even of a related animal. The term doe is given to the female...
How Do I Delete Wall Post In Facebook? What Does Hover Mean?
To delete a wall post put the little pointy end of your mouse on top of the picture or any part of the...
What Does Oke Mean?
What Does Quadruple Mean?
What Does Link Mean?
What Does Quaint Mean?
How To Build A Hover Car Out Of Magnets?
What Does Qualitative Research Mean?
What Does Ojo Mean?
What Does Prick Mean?
What Does Cordial Mean?
Would justin bieber go with a 11 year old that know about serious relationships?
How to get a man to express his love for you?
Is Zaptos In Soul Silver?
What Meat Tastes Best In Sausages?
Are Gays Ok?
What (or Who) Is The Reason You Wake Each Morning?
Roger has 105 photographs. He can fit 4 on a page in an 18-page photo album. How many albums should he buy?
Do I Look Cute?


Complete the CDL Application. The application fee is $35.00 and may be obtained at any Customer Service Center except Jackson). Note: Fees are waived for veterans and school bus drivers who present the proper documentation.
If applying for the first time or upgrading must possess a valid Class AP or BP Instructional Permit. You are required to hold your CLP for 14 days before applyng for a full CDL. NOTE: The CLP is valid for 6 months.
Take and pass the required written knowledge exams. All CDL written (knowledge) exams must begin at least 45 minutes prior to the Customer Center closing time. There's a $10 permit fee that is paid prior to taking the knowledge exams. If all exams are passed, the $10 fee pays for the instructional permit. If any of the exams are not passed, the $10 fee is retained as a testing fee. The $10 permit fee would be paid again at the next test attempt. You must call to schedule an appointment. More information about testing is provided in the full Commercial Driver's Manual.
Pass the Hazmat Endorsement Test.
Pass TSA Background Check and Fingerprints are required for 1st time issuance as well as renewals.


text:
Thinking Ahead: developing good practice in data management with students
Maureen Haaker and Dr. Scott Summers of the UK Data Service reflect on their recent workshop given to second year undergraduate students at the University of Essex on research transparency and data management.
The UK Data Service's history of advocacy and training in data management and sharing
Since the early 2000s the UK Data Archive has led the way in supporting and training researchers in the social sciences on how to create high quality data for sharing.
Advocacy and guidance has paid practical attention on how to follow ethical guidelines when it comes to:
how to document the research process so that resulting data collection can be understood
how to describe a collection of data resulting from their research.
During this time, we have also seen the emergence of a growing emphasis on data sharing and open data publishing, heavily promoted by the 2007 OECD Principles and Guidelines for Access to Research Data from Public Funding, which declared data as a public good that pushed action forward.
This data sharing ideology promotes value for money through:
more and subsequent analysis of data
opportunities for collaboration and comparison
richer exposure of methods
research validation.
Indeed, the concept of replication has also become ever more prominent in the research narrative. The idea is appealing: that sharing of data that underpins research publications can help counter mistrust in research findings, eroded by problems that have occurred in peer-reviewed publications from unverifiable results and faking of data (e.g. in Netherlands and Belgium in the field of psychology).
The efforts of the UK Data Archive – and from 2013 – the UK Data Service, have been fruitful, giving rise to a number of research awards to UK Data Service staff at Essex and in creating the well-received 2014 Sage Handbook on Managing and Sharing Data: A Guide to Good Practice.
This evangelism and practical and grounded guidance around data sharing – be it quantitative or qualitative – has been oriented towards professional researchers.
A changing scene
In discussion with lecturers in various universities, we see that dishonesty is becoming more widespread, with essays and dissertations being purchased.
This has prompted new guidance for Universities on how to deal with 'Contract Cheating', such as in the QAA Contracting to Cheat in Higher Education: How to Address Contract Cheating, the Use of Third-Party Services and Essay Mills (QAA, October 2017).
The idea of faking data and results led Louise Corti, Service Director of Collections Development and Data Publishing at the UK Data Service, to approach various undergraduate lecturers to discuss whether deception in dissertations might be an issue, and if so, what might supervisors do to detect it.
Responding to the reply that there was not much that could be done, led her to consider a new approach. Louise observes that:
I was interested to see whether we could reduce the complexity of our current data management and sharing guidance and training, aimed at professional researchers, and apply the core principles to the classroom.
After all, this might be the first encounter with data collection that the students have, so why not start early with good practice and data housekeeping?
The QAA report focuses on both punitive and positive measures, the latter focusing on providing early guidance and practical support for students on the importance of academic integrity.
However, I was interested to see if we could introduce the idea of transparency in research into undergraduate teaching as a 'live' issue, and for students to appreciate that research integrity can be demonstrated through learning how to document their research and data collection well.
The undergraduate session
Maureen Haaker and Dr. Scott Summers, Senior Research Officers at the UK Data Service, took up the mantle of running the first class with undergraduates.
In January 2018, they visited an undergraduate Sociology class at the University of Essex, as part of a 'Thinking Ahead' module, to share advice and guidance on data management for students preparing to undertake their research dissertations.
Attendees were second-year university students who had just completed a module on research methods and were looking forward to starting their Dissertation module. The hour-long session aimed to get students thinking about some of the practicalities of their data collection, and how they could begin to demonstrate rigorous and transparent research.
Even the most experienced researchers know how messy research can get, making data management a key skill to instate from the start of any project. A dissertation is an additional strain for students – having to manage a project while also finishing their degree – making data management all the more vital.
Beyond staying on top of the data and meeting deadlines, there is also a real advantage to producing material that can help encourage constructive conversations about data collection and data analysis with supervisors.
While this session covered basic data management skills, it also stressed how a clearly documented data management plan can help to help raise the standard of their dissertation work, authenticate the work done, and likely produce a better thesis.
The presentation was divided into five areas that reflect key areas of the Economic and Social Research Council (ESRC) principles for data management:
Assessing data
Gaining consent
Anonymising data
Documenting data
Formatting, storing and protecting data
Students were also given a booklet with: example documentation, including a model consent form, anonymisation plan and data list, examples of an interview transcript and transcriber's instructions, and, of course, a data management checklist. All of this material was adapted to the specific needs of the undergraduate students, and included considerations such as sharing anonymised data with supervisors and storing data on university computers.
The presentation was brought to life by anecdotes of working with data at the UK Data Service.
Scott, for example, shared lessons from his own personal experience of working with data, which included admitting having to spend two days defragging a digital backup because he had not checked to ensure the backups were in good, working condition.
Similarly, Maureen also described the varying quality of interview transcripts she had worked with, and how denoting turn-taking with speakers being clearly identified can make a big difference to analysis.
Students were really engaged, and asked a lot of specific, well-articulated questions after the presentation.
Anna Sergi, lecturer for the module, said, "Thanks very much for your lecture today, much appreciated and I thought it was very clear and comprehensive."
The UK Data Service is able to advise on appropriate data management across all levels of study and research and is keen to engage with staff and students and share our expertise of data management.
We are very pleased to have had two further requests from other departments at Essex to run a similar session.
We have put together a Resource Pack, entitled "Dissertations and their Data: Promoting Research Integrity" for lecturers responsible for running undergraduate dissertation support classes, which will be available in early July.
We hope by staring early that students will embrace the idea of trust in data and in the transparency of research findings, and pass on the good practice and messages as they enter their own research or professional careers.
If you think a similar workshop would benefit your students, please get in touch with the UK Data Service on datasharing@ukdataservice.ac.uk.


Thief is set in a dark fantasy world inspired by Victorian and steampunk aesthetics. The new game, simply titled Thief, releases tomorrow February 25th. This will be the 4th title in the franchise, and serves as a revival of the classic Thief series of stealth games. Wes will be streaming Thief tomorrow on his Twitch channel.


text:
Q: SPLIT key-value-pairs to Columns in Google BigQuery I am quite new to Google BigQuery and definitely struggling.
My table has the following content:
+----------+----------------------------------------+
| order_id |               line_items               |
+----------+----------------------------------------+
|      123 | id:1|qy:1|sum:1.00;id:2|qy:6|sum:4.50; |
+----------+----------------------------------------+
|      456 | id:1|qy:3|sum:3.00;id:3|qy:4|sum:3.20; |
+----------+----------------------------------------+

I would need to look it like this:
+----------+----+----+------+
| order_id | id | qy | sum  |
+----------+----+----+------+
|      123 |  1 |  1 | 1.00 |
|      123 |  2 |  6 | 4.50 |
|      456 |  1 |  3 | 3.00 |
|      456 |  3 |  4 | 3.20 |
+----------+----+----+------+

The amount of key value pairs I have in line_items is arbitrary (and there are much more than those 3, but I would need to extract those three).
I was able to get the following UNNEST and SPLIT query working, but unfortunately I still have these key-value pairs...
This
SELECT
  order_id,
  line_items
FROM
  `myTable`,
  UNNEST(SPLIT(line_items,"|")) line_items

Brings me here:
+----------+------------+
| order_id | line_items |
+----------+------------+
|      123 | id:1       |
|      123 | qy:1       |
|      123 | sum:1.00   |
|      123 | id:2       |
|      123 | qy:6       |
|      123 | sum:4.50;  |
|      456 | id:1       |
|      456 | qy:3       |
|      456 | sum:3.00   |
|      456 | id:3       |
|      456 | qy:4       |
|      456 | sum:3.20   |
+----------+------------+

So I am still not really able, how to extract these keys to column headlines and the value to the column content.
I would highly appreciate if someone pointed me in the right direction.
Thanks a lot already!

A: Below is for BigQuery Standard SQL
#standardSQL
select order_id,
  ( select split(kv, ':')[offset(1)] from x.kvs kv where split(kv, ':')[offset(0)] = 'id') id,
  ( select split(kv, ':')[offset(1)] from x.kvs kv where split(kv, ':')[offset(0)] = 'qy') qy,
  ( select split(kv, ':')[offset(1)] from x.kvs kv where split(kv, ':')[offset(0)] = 'sum') sum
from `project.dataset.table`,
unnest(split(trim(line_items, ';'), ';')) items,
unnest([struct(split(items,'|') as kvs)]) x
-- order by order_id

If to apply to sample data from your question - output is

Below variation of above can be useful too
#standardSQL
select order_id,
  (select value from z.y where key = 'id') id,
  (select value from z.y where key = 'qy') qy,
  (select value from z.y where key = 'sum') sum
from `project.dataset.table`,
unnest(split(trim(line_items, ';'), ';')) items,
unnest([struct(split(items,'|') as kvs)]) x,
unnest([struct(array(
  select as struct
    split(kv, ':')[offset(0)] as key,
    split(kv, ':')[offset(1)] value
  from x.kvs kv
) as y)]) z
-- order by order_id


She has had 11 years of experience with bamboo and architectural projects in Brazil and Australia and is a Permaculture Designer passionate about sustainability and renewable resources.
She has worked with top south american bamboo architects and artisans and can design, make and build anything with bamboo. Always aiming to design environmentally responsible, economically sustainable buildings and spaces that are efficient and comfortable for its users and also beautiful to look at, she is constantly attending courses and training programs in the area of sustainability and design to improve her qualifications, including Ecobuilding, bamboo cycle and bamboo furniture building, Ecovillage Design and Implementation, Permaculture Design Certificate and Internship. Currently Denise has her own Design and Consultancy business – OCA Building Design where she applies all her broad expertise in Sustainable Architecture, Eco-village and Permaculture Design to help building a better world.


Free advice: Don't fall ill in New Zealand, unless you're ready to depart!
Take a "look at the number of Givealittle pages – the number of New Zealanders out there currently seeking access to treatment and medicines – we're not doing that well," said Unicorn Foundation New Zealand chief executive Siobhan Conroy.
New Zealand ranks 19th out of 20 comparable countries in the OECD, for waiting times, funding new medicines and innovative treatments, and in some cases funds no medicines for specific cancers, according to data from Medicines NZ, a report said.
The same deranged Cancer Minister had refused to apologise for calling the Southern District Health Board's urology department "toxic" last week.
"Shortly after 2:30am this morning the male taxi driver was parked on Jarden Mile waiting for work when he was assaulted and placed in the boot of his vehicle.
"The victim was let free approximately two hours later in the suburb of Grenada Village, and notified Police.
Tuesday – Wednesday, August 8 – 9. No one road fatality report allowed by police, today, as of posting, despite at least 3 dozen serious crashes that have been reported locally.
"A woman was getting into her car outside her house in Point Chevalier about 7pm yesterday when she saw two men trying to break into her neighbour's car.
Tuesday, July 18: No road fatality report allowed by police, today, as of posting, despite at least a dozen serious crashes that have been reported locally.
Monday, July 17: No road fatality report allowed by police, today, as of posting, despite multiple serious crashes that have been reported locally.
Sunday, July 16: No road fatality report allowed by police, today, as of posting, despite multiple serious crashes that have been reported locally.
If you believe Wellington deserves a major earthquake – centered right under the Beehive – because the corrupt government granted Peter Thiel a citizenship, despite the fact that Thiel stole tens of millions of dollars from the taxpayers, again, with the help of the corrupt govt officials, drop us a line.
The widow of the small-plane pilot killed after the plane was brought down by a helicopter piloted by a kiwi man has filed a lawsuit for wrongful death.
The collision occurred when the helicopter piloted by a new Zealander, Jeremy Clark, 33, approached from the side and under the small plane. The helicopter blades sliced through the wing of the small plane leading to a fatal crash that killed 9 people aboard the two aircraft, including Steven Altman, his brother and nephew, 4 Italian tourists and the incompetent helicopter pilot.
The federal lawsuit filed by Pamela Altman's attorney in Philadelphia seeks about US$1.3 million (NZ$1.85 million) in damages.
Mrs Altman is suing Liberty Helicopters, the tour company, Meridian Consulting I, the helicopter owners as well as American Eurocopter, the manufacturers.
"Her suit says that Liberty and Meridian had a 'horrid history of accidents' and that American Eurocopter failed to equip the helicopter with sufficient safety equipment." Associated Press reported.
Two years ago, another Liberty helicopter fell 150 meters into the Hudson river while on a sightseeing trip. However, the pilot in that incident was a qualified and competent pilot and managed to land safely and save the lives of seven passengers.
In yet another incident which reportedly occurred in Manhattan again in 1997, a rotor on one of Liberty's sightseeing helicopters clipped a building, forcing an emergency landing. there were no injuries.
It's not known whether Mrs Altman and families of other victims would sue also the dead NZ pilot's estate for damages.
The family of a Hamilton man who was reportedly crushed to death in a garbage truck in Brighton, England say his death was sinister.
Scott Williams, 35, reported fell asleep in a large wheelie bin after a night out drinking with pals in Brighton, UK. His body was found in a rubbish skip at a recycling center in Sussex on Monday.
Would pakeha drink to the point of passing out?
Would pakeha with a "wicked sense of humor" find it amusing to pass out in a garbage bin?
Crushed to death in a garbage truck: Scott Williams had been out with friends in Brighton, England.
Mr Williams' mother, Marion, who lives in Pukete, Hamilton, insists her son would never climb into a garbage bin.
His sister, Jolene, 34, who also lives in Hamilton, says she s not believe her brother would climb into a garbage bin.
"Mr Williams, a former Waikato swimming champ and student at Hamilton's Fraser High School, had been living and working as a teacher in London since 2000." Waikato Times said.
Maybe the family is right. Perhaps, the death was sinister. Can't look this one in the crystal ball.
It was a shocking death, no doubt about it. You wouldn't wish that sort of fate to befall even to your worst enemy. Maybe someone(s) who had a loved one murdered, or seriously injured, in New Zealand decided it was payback time. Has the name of the game changed from collective punishment to something else?
May be there were other reasons, too, for Scott Williams's death. We may never find out.
The facts are that he won't be the last pakeha to die of a violent death. There is simply too much COLLECTIVE BAD KARMA stacked up against them.
Keep your eyes peeled for headline news. Often you find individuals die of similarly violent deaths. When that happens, you'd know instinctively they, too, had faced COLLECTIVE BAD KARMA.
New Zealander Cameron John Clow became the latest victim of kiwi collective bad karma in Bahrain, Saudi Arabia!
Cameron John Clow, 29, a Taranaki "multisport competitor" was killed in Bahrain while out training on his bike.
Mr Clow moved from New Plymouth to Bahrain with his fiancee Kate and was working as a schoolteacher. He and his fiancee were due to be married soon.


text:
The 1991 Cork Intermediate Hurling Championship was the 82nd staging of the Cork Intermediate Hurling Championship since its establishment by the Cork County Board in 1909. The draw for the opening round fixtures took place on 16 December 1990. The championship ran from 18 May to 24 August 1991.

The final was played on 24 August 1991 at Páirc Uí Chaoimh in Cork between Tracton and Inniscarra, in what was their first meeting in the final. Tracton won the match by 4-14 to 5-09 to claim their first ever championship title.

Inniscarra's Ger Manley was the championship's top scorer with 4-30.

Team changes

To Championship

Promoted from the Cork Junior Hurling Championship
 Midleton

From Championship

Regraded to the West Cork Junior A Hurling Championship
 Ballinascarthy

Results

First round

Second round

Quarter-finals

Semi-finals

Final

Championship statistics

Top scorers

Top scorers overall

Top scorers in a single game

References

Cork Intermediate Hurling Championship
Cork Intermediate Hurling Championship

redpajama_set_name: RedPajamaWikipedia


Sign up for our free newsletters and special offers! Just enter your email below.
Delivering you the best in inspirational articles, life stories, quotes and more.
Receive a Daily Measure of God's Word and guidance straight to your inbox.
Let angels be your guide with help from this inspiring and thought-provoking newsletter.
The latest buzz on inspiring celebrities, movies, TV, music and more.
Are you ready to experience the power of the resurrection every day?
We have glorious hope in Christ through the power of His resurrection. We are offered a joyous message that He is not dead, He is risen. What a strength to know that because of His resurrection, God has promised us the power of forever life too – and it doesn't start when we die. It started the moment we placed our faith in Jesus.
Lesli White is a graduate of Virginia Commonwealth with a Bachelor's degree in Mass Communications and a concentration in print and online journalism. In college, she took a number of religious studies courses and harnessed her talent for storytelling. White has a rich faith background. Her father, a Lutheran pastor and life coach was a big influence in her faith life, helping her to see the value of sharing the message of Christ with others. She has served in the church from an early age. Some of these roles include assisting ministry, mutual ministry, worship and music ministry and church council.
When things are tough at home, you can turn to God for help and guidance.
The problem might be you.
These gifts are not going to make him happy.
You may as well be talking to a brick wall.
Foot-in-mouth syndrome may be your default state.
Beliefnet Beliefnet is a lifestyle website providing feature editorial content around the topics of inspiration, spirituality, health, wellness, love and family, news and entertainment.


You know you want the best Cannon Beach childcare provider. You may even look throughout Clatsop county. ChildCareAvenue provides you with a list of 1 daycare centers in Cannon Beach, Oregon. We leave the research up to you to find which center is best for your family.


The revenue of the canned mushroom market in Germany amounted to $X in 2017, growing by X% against the previous year. This figure reflects the total revenues of producers and importers (excluding logistics costs, retail marketing costs, and retailers' margins, which will be included in the final consumer price). Overall, canned mushroom consumption continues to indicate an abrupt deduction. The most prominent rate of growth was recorded in 2008, when market value increased by X% y-o-y. In that year, the canned mushroom market reached their peak level of $X. From 2009 to 2017, growth of the canned mushroom market failed to regain its momentum.
In 2017, approx. X tonnes of mushrooms (canned) were exported from Germany; rising by X% against the previous year. Overall, the total exports indicated a slight expansion from 2007 to 2017: its volume increased at an average annual rate of +X% over the last decade. The trend pattern, however, indicated some noticeable fluctuations throughout the analyzed period. Based on 2017 figures, the canned mushroom exports increased by +X% against 2015 indices. The growth pace was the most rapid in 2010, with an increase of X% against the previous year. Over the period under review, the canned mushroom exports attained its peak figure volume in 2017, and are likely to see steady growth in the immediate term.
In value terms, canned mushroom exports stood at $X in 2017. In general, canned mushroom exports continue to indicate a relatively flat trend pattern. In that year, the canned mushroom exports reached their peak level, and are likely to continue its growth in the immediate term.
France (X tonnes) was the main destination of canned mushroom exports from Germany, with a X% share of total exports. Moreover, canned mushroom exports to France exceeded the volume sent to the second major destination, Belgium (X tonnes), twofold. Austria (X tonnes) ranked third in terms of total exports with a X% share.
From 2007 to 2017, the average annual rate of growth in terms of volume to France totaled +X%. Exports to the other major destinations recorded the following average annual rates of exports growth: Belgium (+X% per year) and Austria (-X% per year).
In value terms, France ($X) remains the key foreign market for canned mushroom exports from Germany, making up X% of total canned mushroom exports. The second position in the ranking was occupied by Belgium ($X), with a X% share of total exports. It was followed by Switzerland, with a X% share.
From 2007 to 2017, the average annual rate of growth in terms of value to France stood at +X%. Exports to the other major destinations recorded the following average annual rates of exports growth: Belgium (-X% per year) and Switzerland (+X% per year).
In 2017, the average canned mushroom export price amounted to $X per tonne, jumping by X% against the previous year. In general, canned mushroom export price continues to indicate a relatively flat trend pattern. The pace of growth was the most pronounced in 2017, when it surged by X% against the previous year. Over the period under review, the average export prices for mushrooms (canned) attained its maximum level of $X per tonne in 2009; however, from 2010 to 2017, it stood at a somewhat lower level.
There were significant differences in the average export prices for the major foreign markets. In 2017, the country with the highest export price was Switzerland ($X per tonne), while average price for exports to Albania ($X per tonne) was amongst the lowest.
From 2007 to 2017, the most notable rate of growth in terms of export prices was recorded for supplies to Hungary (+X% per year), the export prices for other major destinations experienced more modest paces of growth.
In 2017, approx. X tonnes of mushrooms (canned) were imported into Germany; surging by X% against the previous year. In general, canned mushroom imports continue to indicate a drastic descent. The pace of growth was the most pronounced in 2008, with an increase of X% against the previous year. In that year, the canned mushroom imports attained their peak volume of X tonnes. From 2009 to 2017, growth of the canned mushroom imports failed to regain its momentum.
In value terms, canned mushroom imports totaled $X in 2017. In general, canned mushroom imports continue to indicate a deep shrinkage. In that year, the canned mushroom imports reached their peak level of $X. From 2009 to 2017, growth of the canned mushroom imports failed to regain its momentum.
The Netherlands (X tonnes), Poland (X tonnes) and China (X tonnes) were the main suppliers of canned mushroom imports to Germany, with a combined X% share of total imports.
In value terms, the Netherlands ($X), Poland ($X) and China ($X) were the largest canned mushroom suppliers to Germany, together accounting for X% of total imports.
Poland (+X% per year) recorded the highest growth rate of imports, in terms of the main suppliers over the last decade, while the other leaders experienced a decline.
In 2017, the average canned mushroom import price amounted to $X per tonne, remaining relatively unchanged against the previous year. Overall, canned mushroom import price continues to indicate a relatively flat trend pattern. The pace of growth appeared the most rapid in 2008, when the average import prices increased by X% against the previous year. In that year, the average import prices for mushrooms (canned) attained their peak level of $X per tonne. From 2009 to 2017, growth of the average import prices for mushrooms (canned) stood at a somewhat lower level.
Average import prices varied somewhat amongst the major supplying countries. In 2017, the countries with the highest import prices were France ($X per tonne) and Poland ($X per tonne), while prices for canned mushroom imports from the Netherlands ($X per tonne) and China ($X per tonne) were amongst the lowest.


uFR Advance is a second model in Digital Logic's uFR Series of NFC RFID readers writers, which represents improved version of uFR Classic.
It is NFC Forum & RFID compatible contactless reader/writer which successfully implements ISO14443 A & B standard on HF working frequency of 13.56 MHz.
Device is primarily intended for developing companies and individuals (professionals and hobbyist) for further application and turnkey solutions development. For that reason it comes with fully featured SDK package, which includes firmware, libraries, software examples and documentation for various platforms, operating systems and developing environments. Regular SDK upgrades (including firmware, libraries and API) are launched often and can be obtained by company's website for FREE. All products have extended "Three year" warranty.
All variants of the MIFARE® cards family (MIFARE Mini® , MIFARE Classic® 1K, MIFARE Classic® 4K, MIFARE Ultralight®, MIFARE Ultralight C® MIFARE DESFire® EV1 and MIFARE Plus® ) RF identification protocols are supported. Additionally, NFC Forum specification for "Type 2 Tag" is supported, which adds NTAG2xx chip family to above list.
It has built-in anti-collision mechanism for detecting multiple cards at time. Built-in well-tuned antenna provides proximity operating distance up to 80 mm (depending on card's antenna geometry) and contactless communication speed at higher baud rates (up to 424 kBd).
Device also has built in Crypto1® algorithm and secure non-volatile internal key memory storage for better security. Communication with host is provided by using USB 2.0 Full Speed compatible interface. Data transfer rates are limited from 9600 baud to 1 Mbaud, for integrity and security reasons.
Reader can also act as a serial interface device using FTDI's Virtual COM port (VCP) drivers.
user configurable, password protected part of EEPROM, which is convenient for storing sensitive data, like license keys or similar.
That fact moves usage of this device into other dimension, meaning that this reader can be used on almost any platform which has serial interface, by simply using communication protocol. So it can be freely used on PC, tablet, smart phone, embedded systems, Raspberry Pi, Beagle Board, MIPS boards, PLCs and other platforms.
Libraries are cross-compiled for various platforms and regularly supported are Windows x86/x64 and UWP, Linux x86/x64, Mac OSX x64, ARM/ARM HF and Arduino. Other platforms can be supported as custom release, on customers demand, depending on existence of project or partnership relation.