text:
import {
  Photo,
  photosEmptyInitialValues,
  PhotosFormModel,
} from "app/Scenes/SellWithArtsy/SubmitArtwork/UploadPhotos/validation"
import { Action, action } from "easy-peasy"
import {
  artworkDetailsEmptyInitialValues,
  ArtworkDetailsFormModel,
} from "../SubmitArtwork/ArtworkDetails/validation"

interface ConsignmentsSubmissionUtmParams {
  utm_term?: string
  utm_medium?: string
  utm_source?: string
}

export interface ArtworkSubmissionModel {
  submissionId: string
  submissionIdForMyCollection: string
  setSubmissionId: Action<ArtworkSubmissionModel, string>
  artworkDetails: ArtworkDetailsFormModel
  dirtyArtworkDetailsValues: ArtworkDetailsFormModel
  setArtworkDetailsForm: Action<ArtworkSubmissionModel, ArtworkDetailsFormModel>
  setDirtyArtworkDetailsValues: Action<ArtworkSubmissionModel, ArtworkDetailsFormModel>
  initializeArtworkDetailsForm: Action<ArtworkSubmissionModel, Partial<ArtworkDetailsFormModel>>
  initializePhotos: Action<ArtworkSubmissionModel, Photo[]>
  photos: PhotosFormModel
  photosForMyCollection: PhotosFormModel
  setPhotos: Action<ArtworkSubmissionModel, PhotosFormModel>
  setPhotosForMyCollection: Action<ArtworkSubmissionModel, PhotosFormModel>
  setSubmissionIdForMyCollection: Action<ArtworkSubmissionModel, string>
  setUtmParams: Action<ArtworkSubmissionModel, ConsignmentsSubmissionUtmParams>
  resetSessionState: Action<ArtworkSubmissionModel>
}

export interface SubmissionModel {
  submission: ArtworkSubmissionModel
}

export const getSubmissionModel = (): SubmissionModel => ({
  submission: {
    submissionId: "",
    submissionIdForMyCollection: "",
    artworkDetails: artworkDetailsEmptyInitialValues,
    dirtyArtworkDetailsValues: artworkDetailsEmptyInitialValues,
    photos: photosEmptyInitialValues,
    photosForMyCollection: photosEmptyInitialValues,
    setPhotosForMyCollection: action((state, photos) => {
      state.photosForMyCollection = photos
    }),
    setSubmissionIdForMyCollection: action((state, submissionId) => {
      state.submissionIdForMyCollection = submissionId
    }),
    setPhotos: action((state, photos) => {
      state.photos = photos
    }),
    initializePhotos: action((state, photos) => {
      state.photos.initialPhotos = photos
    }),
    setSubmissionId: action((state, id) => {
      state.submissionId = id
    }),
    setArtworkDetailsForm: action((state, form) => {
      state.artworkDetails = form
    }),
    setDirtyArtworkDetailsValues: action((state, form) => {
      state.dirtyArtworkDetailsValues = form
    }),
    initializeArtworkDetailsForm: action((state, form) => {
      state.artworkDetails = { ...state.artworkDetails, ...form }
    }),
    setUtmParams: action((state, params) => {
      state.artworkDetails = {
        ...state.artworkDetails,
        utmMedium: params.utm_medium,
        utmSource: params.utm_source,
        utmTerm: params.utm_term,
      }
    }),
    resetSessionState: action((state) => {
      state.submissionId = ""
      state.artworkDetails = artworkDetailsEmptyInitialValues
      state.photos = photosEmptyInitialValues
    }),
  },
})

redpajama_set_name: RedPajamaGithub


The ornate bracketed wood cornice and the brick work detailing of the second story of this Italianate style commercial structure are of interest but the extensive mid or early 20th century modifications to the storefront are out of character with the original design. Because of its scale and what remains of the original detailing this building does contribute to the architectural significance of the District.
In 2006: The storefront level has been altered since it was last surveyed in 1982; this alteration consists of modern brick sheathing. In addition, the second-floor, segmentally arched window openings have been downsized with brick and the windows themselves replaced with rectangular examples.
A. Sanborn Perris Maps of Sturgeon Bay, 1885.


text:
<?php

namespace RedisClient\Protocol;

use RedisClient\Client\AbstractRedisClient;
use RedisClient\Connection\ConnectionFactory;

class ProtocolFactory {

    /**
     * @param AbstractRedisClient $RedisClient
     * @param array $config
     * @return RedisProtocol
     */
    public static function createRedisProtocol(AbstractRedisClient $RedisClient, $config) {
        $onConnect = function() use ($RedisClient, $config) {
            /** @var \RedisClient\RedisClient $RedisClient */
            if (isset($config[AbstractRedisClient::CONFIG_PASSWORD])) {
                $RedisClient->auth($config[AbstractRedisClient::CONFIG_PASSWORD]);
            }
            if (!empty($config[AbstractRedisClient::CONFIG_DATABASE])) {
                $RedisClient->select($config[AbstractRedisClient::CONFIG_DATABASE]);
            }
        };
        return new RedisProtocol(
            ConnectionFactory::createStreamConnection(
                $config[AbstractRedisClient::CONFIG_SERVER],
                $config[AbstractRedisClient::CONFIG_TIMEOUT],
                $config[AbstractRedisClient::CONFIG_CONNECTION],
                $onConnect
            )
        );
    }
}


text:
Q: Select Random Products magento 2.3 I want to display random products on my homepage.
I have been using this $collection->clear()->getSelect()->order('rand()');.
My aim is the products should be displayed randomly on every page refresh.
But here, this happens only after i clear cache and then refresh my page.
Without cache flush, it displays same products

A: Add This Block In Home Page And Check :-
{{block class="Magento\Catalog\Block\Product\ProductList\Random" template="product/list.phtml" num_products="12"}}

A: Add this line in your collection
$collection->getSelect()->orderRand();

If you are facing the cache issue, you can use in your layout file

cacheable="false";

Blocks can be set as non-cacheable by setting the cacheable attribute false in layout XML files. For example
<block class="Block\Class" name="blockname" cacheable="false" />

A: $productsCol = $this
        ->getCategory($id)
        ->getProductCollection()
        ->addAttributeToSelect('*')
        ->setPageSize(3);

$productsCol->getSelect()->orderRand();

$products = $productsCol->getItems();

Please check with this whole code.
I hope it will help you.

A: The best idea to Ajax, On the load of this page, call a page with a POST request and return Magento\Catalog\Block\Product\ProductList\Random  block content.
As Magento does calculate post request as cacheable request, So don't get any issue with the cache.
Controller Class RandomList.php
<?php

namespace StackExchange\Magento\Controller\Example;

use Magento\Framework\App\ResponseInterface;
use Magento\Framework\Controller\ResultInterface;
use Magento\Framework\View\Result\Layout;
use Magento\Framework\Controller\ResultFactory;

class RandomList  extends \Magento\Framework\App\Action\Action
{

    public function execute()
    {
        $this->resultFactory->create(ResultFactory::TYPE_LAYOUT);
    }

}

layout files {routeID}_example_randomList.xml and code is
And code:
<?xml version="1.0"?>

<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
    <container name="root">
        <block class="MStackExchange\Magento\Block\Product\ProductList\Random" name="product.info.random.prp" as="products_random" template="Magento_Catalog::product/list/items.phtml" />
          <arguments>
                    <argument name="type" xsi:type="string">new</argument>
                </arguments>
    </container>
</layout>

Block Class
<?php
namespace StackExchange\Magento\Block\Product\ProductList;

use Magento\Catalog\Api\CategoryRepositoryInterface;

/**
 * Catalog product random items block
 *
 * @SuppressWarnings(PHPMD.LongVariable)
 */
class Random extends \Magento\Catalog\Block\Product\AbstractProduct implements
    \Magento\Framework\DataObject\IdentityInterface
{

    /**
     * @var \Magento\Catalog\Model\Product\Visibility
     */
    private $catalogProductVisibility;

    /**
     * Product collection factory
     *
     * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory
     */
    protected $_productCollectionFactory;

    /**
     * @var CategoryRepositoryInterface
     */
    protected $categoryRepository;

    /**
     * @param \Magento\Catalog\Block\Product\Context $context
     * @param \Magento\Framework\Data\Helper\PostHelper $postDataHelper
     * @param CategoryRepositoryInterface $categoryRepository
     * @param \Magento\Framework\Url\Helper\Data $urlHelper
     * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory
     * @param array $data
     */
    public function __hconstruct(
        \Magento\Catalog\Block\Product\Context $context,
        \Magento\Framework\Data\Helper\PostHelper $postDataHelper,
        CategoryRepositoryInterface $categoryRepository,
        \Magento\Framework\Url\Helper\Data $urlHelper,
        \Magento\Catalog\Model\Product\Visibility $catalogProductVisibility,
        \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory,
        array $data = []
    ) {
        $this->_productCollectionFactory = $productCollectionFactory;
        parent::__construct($context, $data);
        $this->catalogProductVisibility = $catalogProductVisibility;
    }

    /**
     * @return \Magento\Catalog\Model\ResourceModel\Product\Collection
     */
    protected function _getProductCollection()
    {
        if ($this->_productCollection === null) {
            /** @var \Magento\Catalog\Model\ResourceModel\Product\Collection $collection */
            $collection = $this->_productCollectionFactory->create();
            $collection->setVisibility($this->_catalogProductVisibility->getVisibleInCatalogIds());
             $collection = $this->_addProductAttributesAndPrices(
            $collection
             );
            $collection->getSelect()->order('rand()');
            $collection->addStoreFilter();

            $collection->setPage(1, 10);

            $this->_productCollection = $collection;
        }
        return $this->_productCollection;
    }

    /**
     * Return identifiers for produced content
     *
     * @return array
     */
    public function getIdentities()
    {
        return ['ran_products'];
    }
    /**
     * Prepare collection with new products
     *
     * @return \Magento\Framework\View\Element\AbstractBlock
     */
    protected function _beforeToHtml()
    {
        $this->setProductCollection($this->_getProductCollection());
        return parent::_beforeToHtml();
    }
}

redpajama_set_name: RedPajamaStackExchange


Don't worry about the stress of putting a quality dessert together with little time - instead, make these four decadent chocolate mousses in your Oster® Heritage Blend™ 1000 Whirlwind™ Blender.
Enjoy the flavors of the season by blending delicious smoothies that will help you keep up with all the wonders of autumn.
Satisfy your sweet tooth this season with fun milkshakes inspired by your favorite holiday desserts.
Whether on a lazy weekend morning or snow day, you and your kids will love cozying up to these festive waffle treats.
Try making these three fun recipes with your kids.
A refreshing frosty drink is the perfect way to cool off any time of year.
Try these three recipes for making ice cream in your blender.
From the after-dinner standards to unique takes on classic recipes, your Oster® Brand blender can help you make desserts at home without much hassle or cleanup at all.
Here are a few tips to making cinnamon bread that'll be the envy of everyone you know.
Check out these different waffle toppings that will help you upgrade your brunch game.


Welcome to 2019. We have four new blog topics to start the new year, including some reflection on last year, your suggestions for using projects, dealing with unplanned moments and the importance of culture.
Firstly, a big thank you for all of your posts throughout 2018. Your valuable insight into a wide range of topics and themes has helped over 50,000 visitors to TeachingEnglish develop as ELT professionals.
November and December last year were no exception and there were several engaging posts on each of the three topics, including reasons why robots may end up being used as teachers, the very real drawbacks of this and the current role of Artificial Intelligence in language learning and teaching.
The native/non-native speaker debate produced some interesting and insightful posts, challenging the perceived differences and providing some excellent arguments debunking the outdated idea that 'native' speakers make better English Language teachers.
Finally, there were a lot of very interesting discussions on how our role as language teachers has changed, how learning happens in different ways, suggestions about why we need to evolve and develop what we do in (and out of) the language classroom, as well as some excellent suggested practical ideas and activities.
Made Tiwari | Will I lose my job to a robot?
NinaMK | Robots or Humans?
Sulaiman Jenkins | Is the native speaker/non-native speaker teacher dichotomy really necessary anymore?
NinaMK | Native speakers or Not?
Projects in class. Do you do them? How do you do them? What are some of the projects you've done and what worked/didn't work?
It is often said that knowing a language helps to understand the culture where that language is spoken. To what extent do you agree or disagree with this statement? If you live in a foreign country, how has learning the language in the country you work in helped you in your teaching?


text:
#pragma once
#include "cocos2d.h"
#include "ui/CocosGUI.h"

USING_NS_CC;

class MainMenuScene :public Layer
{
public:
	static cocos2d::Scene* createScene();
	CREATE_FUNC(MainMenuScene);
	virtual bool init();

private:
	ui::Button *_star;
	ui::Button *_start;
	ui::Button *_setting;

	bool _isSceneReplaced;
	Layer *_aboutLayer;

	void addBackground();
	void addButton();
	void addAboutLayer();
	void removeAboutLayer();
};


Here's how it compares to their engagement portrait.
Prince Harry and Meghan Markle tied the knot at St. George's Chapel, Windsor Castle on May 19. Only two days after, they released an official wedding portrait. The newlyweds are all smiles, looking gorgeous and so in love.
More in love perhaps than they were a little over a month after they got engaged when they released their engagement portraits back in December? The engagement portraits were taken by Alexi Lubomirski at Frogmore House, where Prince Charles hosted a dinner for Harry and Meghan later in the evening.
Lubomirski also took their official wedding portrait, and the images are actually quite similar. We can't help but notice the way they lean into each other in both. Clearly the two are not afraid to show their affection.
Here is the engagement photo and wedding photo side-by-side, so you can stare at the stunning couple and basque in true love in all its glory.
Harry and Meghan also took an official wedding picture, featuring all of your faves including Kate, William, Prince George, Princess Charlotte, the Queen, Prince Charles, and Meghan's mom, Doria.
Even though that's their formal wedding party photo, we noticed that it's slightly more casual than Kate Middleton and Prince William's in 2011, where everyone including the page boys and bridesmaids were standing at attention.
Still, the Duke and Duchess of Cambridge did goof off a bit at their wedding too.
And the Duke and Duchess of Sussex followed suit, taking this adorable pic with all the little wedding party attendants (like Princess Charlotte!) who stole the show on Saturday.


Here is something that I have made since my husband and I first got married (living on a military budget).
1 c. shredded cheddar cheese (or you could use a melting cheese, like Velveeta).
Cook the veggies in hot water. Slice the sausage and saute in a skillet. Combine everything in a baking dish. Put in the oven at 350 for about 20 minutes until the cheese is melted and everything is hot. Enjoy.


text:
Horrific Terror Act in London as Man is Beheaded in Broad Daylight. UPDATE: Video of Suspected Killer Speaking
A man believed to be a soldier has been beheaded in an attack on a street near the Woolwich barracks in London, witnesses report. Metropolitan Police Commander Simon Letchford confirmed tonight that two men were shot by armed officers. Video footage shows that one man was filmed wielding a bloodied meat cleaver and saying: "We swear by almighty Allah we will never stop fighting you."
The suspect brags about the killing
UPDATE: The name of the victim and one of the suspects has been released. From the BBC:
The soldier killed in an attack in London has been named as Drummer Lee Rigby of the 2nd Battalion the Royal Regiment of Fusiliers.
Drummer Rigby, 25, from Manchester, leaves behind a two-year-old son.
Two suspects shot by police after Wednesday's attack in Woolwich remain under arrest. A further two people have been arrested on conspiracy to murder.
The suspects, one of whom is said to be Islamist protester Michael Adebolajo, were known to security services.
Drummer Lee Rigby
UPDATE: Here is footage of the suspected killer speaking to passerby moments after the killing. WARNING: Highly disturbing images
From the Independent:
A man believed to be a soldier has been beheaded in an attack on a street near the Woolwich barracks in London, witnesses report.
Metropolitan Police Commander Simon Letchford confirmed tonight that two men were shot by armed officers.
Exclusive ITV footage shows that one man was filmed wielding a bloodied meat cleaver and saying: "We swear by almighty Allah we will never stop fighting you."
He adds: "We must fight them as they fight us. An eye for an eye, a tooth for a tooth. I apologise that women have had to witness this today, but in our land our women have to see the same. You people will never be safe. Remove your government, they don't care about you."
Prime Minister David Cameron has described the killing as "truly shocking" and has asked the Home Secretary Theresa May to chair a meeting of Cobra, the Government's emergency committee dealing with incidents that have implications for national security. He is returning to London early from an EU meeting.
Reports the BBC:
The Guardian has an eyewitness account of the murder:
Julia Wilders,51, a local resident, said that she saw a car had crashed into a lamppost when she went to investigate. "My husband said there's two people trying to resuscitate someone. We parked and walked back to have a look and all of a sudden a tall black bloke come up with a gun. My husband said, 'Get back, get back' and we called the police."
She said that one man was dressed all in black with a black cap whilst the other was dressed in a green jumper."They looked like they were on drugs," she said.
She said the black hand gun was pointed down and a crowd soon gathered.
Her husband Graham, 50 called the police to alert them to what they believed was an accident.
"After we called the police I went over to the school to let the school know so the kids wouldn't come out," she said.
"I walked back up there and the tall black bloke had changed the gun to the other guy and he had two meat cleavers in his hand. And the response police turned up and he's ran towards them with meat cleavers before I could even get out of the car so they shot him. And then the other one lifts the gun up and they shot him as well.
She did not know how many shots the police fired but said both assailants fell to the ground after being hit.
She didn't believe the assailants weapons were fired. "He looked like he was going to, sort of like he was going to lift it up towards the police."
Her husband said that it looked like the two men were trying to revive the man they'd run over. "They looked like they were pumping his chest but they said that they were trying to cut his head off."
"A guy in a car told people to ring 999 and then taller guy started waiving the gun at him."
David CameronLondonTerrorismM
WATCH: Terrorist Speaks to Camera After Beheading Man in London
Stunning New Footage Shows London Terror Suspects Getting Shot By Police
New Footage of London Terrorist, Killer Speaks to Bus Passengers
LATEST: One Boston Marathon Bombing Suspect Dead, Other Named Dzhokhar Tsarnaev Still at Large UPDATE: Suspects Were Brothers, Confirmed Dead Named, Uncle Gives Statement
BREAKING: FBI Release Photo of Boston Marathon Bomber Suspects. UPDATE: More Photos Released. UPDATE: Video Footage Released
London Killers Given Life Sentencing For Brutal Beheading of British Soldier Lee Rigby
Romney Commits Major Gaffe on Trip to London
Pro Boxer Speaks About Giving Dead Boston Bomb Suspect 'A Beating' in Sparring

redpajama_set_name: RedPajamaCommonCrawl


LONDON • Amid the names that studded the Open leader board after 54 holes on Sunday, Paul Dunne's stood out like a fly enmeshed in the froth of a Guinness.
It did so because the 22-year-old Irishman is an amateur golfer and an amateur had not led the Open after 54 holes since Robert Tyre (Bobby) Jones did so in 1927.
Dunne ended a crazy day of low scoring in a three-way tie at the top on 12-under 204 with Australian Jason Day and 2010 British Open champion Louis Oosthuizen.
American sensation Jordan Spieth, who won the year's first two Majors - the Masters and the US Open - was a shot behind.
There is something refreshing about Dunne, whose mother is a teacher and father is the chief financial officer of the Irish Times.
He has a sister, Alison, and a brother, David, who is the chief nutritionist at Harlequins RFC, Queens Park Rangers football club and the British Canoe Union.
Dunne seems calm and composed beyond his years, intelligent enough to have a degree in finance.
Imagine that, at 22, you are a good but not great amateur golfer, ranked 80th in the world, yet you are leading the oldest Major championship in the world.
You might have difficulty in stringing a sensible sentence together, mightn't you? Not Dunne.
He addressed the question of whether he believed what was happening to him in the same calm quiet way as he had manhandled the Old Course hours earlier on Sunday.
"It's surreal that I am leading the Open, but I can easily believe that I shot the scores that I shot," he said. "If we were playing an amateur event here, I wouldn't be too surprised by the scores I shot. It's just lucky that it happens to be in the biggest event in the world."
Good as Dunne was as he moved through the ranks of Irish amateur golfers, he was far from the outstanding amateur in the country.
He won at boys' and youth level, then went off to the University of Alabama, where Graeme McDowell had studied a few years earlier.
"He's a winner. That's how you would describe him," the Northern Irishman and 2010 US Open champion said recently in Golfweek magazine. "He wants to do this for a living and he understands that you have to work as hard as the guys on television are working."
Years ago, amateurs won the Open, Harold Hilton in 1892 and 1897 and John Ball Jr in 1890. The great Bobby Jones did so in 1930 en route to winning what was known then as The Impregnable Quadrilateral, the amateur and Open championships of both the United States and Britain.
More recently, Justin Rose finished fourth in 1998 and Chris Wood fifth in 2008. There was the promise shown by Tom Lewis, who had a 65 in the first round of the 2011 Open as he played alongside Tom Watson. He was described then by Pete Cowen, the coach, as the most professional amateur he had worked with.
Recently, Jordan Spieth forecast that an amateur would win a Major "within a decade". His evidence was that amateurs are making more and more of an impression. Spieth's comment was as accurate as most of his golf strokes.
At the recent US Open, six played all four rounds, the most since the 1966 US Open. Five amateurs survived the cut at this Open, the most since 1961.
Regardless of what happened on the final day of the Open yesterday, Dunne has already given a good account of himself and provided a few thrills and spills that will be written into the imperishable record of this, the most distinguished and venerable championship of all.


text:
Q: When using VS2022 (v17.0.1.0), the complier can not recognize "string", and sends me an error. When I replace the string by const char*, it works I have tried searching on Google, only to find nothing.
And it seems the manual also doesn't work.
Here is my code:
account.h
#include <string>
#include "Date.h"

class SavingsAccount
{
public:
    void show();
    void deposit(Date now_date, double money, string ways);
    void withdraw(Date now_date, double money, const char* ways);
    void settle(Date new_date);
    SavingsAccount(Date date_new, const char* id_new, double rate_new);
    void accountshow();
    static double getTotal();
    static SavingsAccount* point;
    static int sum_account;
    static double sum_money;
private:
    const char* id;
    double balance = 0;
    double rate = 0;
    int lastDate = 0;
    Date date;
    double interest = 0;
};

account.cpp
#include <iostream>
#include <string>
#include "account.h"
#include "Date.h"
using namespace std;

double SavingsAccount::sum_money = 0;

void SavingsAccount::deposit(Date now_date, double money, string ways)   //<--- here is the problem
{
    interest += balance * (now_date - date) * rate / 366;
    date = now_date;
    date.show();
    cout << "\t#" << id << "\t" << money << "\t" << money + balance << "\t"<<ways << endl;
    balance += money;
    sum_money += money;
}

void SavingsAccount::withdraw(Date now_date, double money, const char* ways)   //取款
{
    interest += balance * (now_date - date) * rate / 366;
    date = now_date;
    date.show();
    cout << "\t#" << id << "\t-" << money << "\t" << balance - money << "\t" << ways << endl;
    balance -= money;
    sum_money -= money;
}

void SavingsAccount::settle(Date new_date)     //结算利息
{
    interest += balance * (new_date - date) * rate / 366;
    interest = (int(interest * 100 + 0.5)) / 100.0;
    sum_money += interest;
    date = new_date;
    date.show();
    cout << "\t#" << id << "\t" << interest << "\t" << interest + balance << " interest"<<endl;
    balance += interest;
    interest = 0;
}

void SavingsAccount::accountshow()
{
    this->date.show();
    cout << "\t" << "#" << id << " created" << endl;
}

void SavingsAccount::show()
{
    cout << id << "\tBalance: " << balance;
}

SavingsAccount::SavingsAccount(Date date_new, const char* id_new, double rate_new) : id(id_new)
{
    date = date_new;
    rate = rate_new;
    //sum_account++;
    balance = 0;
    interest = 0;
    accountshow();
}

double SavingsAccount::getTotal()
{
    return sum_money;
}

bank.cpp:
#include "account.h"
#include <iostream>
using namespace std;

int main()
{
    Date date(2008, 11, 1);
    SavingsAccount accounts[] = {
        SavingsAccount(date, "S3755217", 0.015),
        SavingsAccount(date, "02342342", 0.015)
    };

    const int n = sizeof(accounts) / sizeof(SavingsAccount);
    string works = "salary";
    accounts[0].deposit(Date(2008, 11, 5), 5000, works);
    accounts[1].deposit(Date(2008, 11, 25), 10000, "sell stock 0323");
    accounts[0].deposit(Date(2008, 12, 5), 5500, "salary");
    accounts[1].withdraw(Date(2008, 12, 20), 4000, "buy a laptop");
    cout << endl;
    for (int i = 0; i < n; i++) {
        accounts[i].settle(Date(2009, 1, 1));
        accounts[i].show();
        cout << endl;
    }
    cout << "Total: " << SavingsAccount::getTotal() << endl;
    return 0;
}

Because of the limited length for this, I did not show the Date.h and Date.cpp, and there is nothing wrong with it. But I will show it to you if you need.
Here is the problem, and I translate the error the VS tells me into English:

VS also says:

'void SavingsAccount::deposit(Date,double,std::string)' there is no overloading member function declared in SavingsAccount

But when I replace the string by const char*, just like what I write in the withdraw() function, it works without any problem.

So, could you please tell me how can I use string to finish this problem? Because const char* is so uncomfortable to be used.

A: In account.h, you have #include <string>, but you do not have using namespace std; (and rightly so), so the compiler doesn't know what string is.  You have to use std::string instead, eg:
void deposit(Date now_date, double money, std::string ways);

Or, use using std::string, at least (not recommended in a header, though):
using std::string;
...
void deposit(Date now_date, double money, string ways);

In account.cpp and bank.cpp, you have using namespace std; after #include <string>, so the compiler can work out what string is without needing you to  qualify it with std::.


In the past, our ancestors relied on storytelling to form relationships with community members as well as pass down and plant important traditions and values for future generations. It helped give sense to the vast, complicated world around them. In the Ice Age, prehistoric cavemen painted stories of their travels. In Mesopotamia, Sumerians preserved stories of battles and kings through writing. In Ancient Greece, playwrights integrated stories of majestic gods into choreographed masterpieces.
Storytelling is hardwired into the human brain — innate, and ingrained into our DNA. In fact, numerous studies have proven that there is a human need to process complicated concepts through storytelling. It's an interesting science: when we're listening to a compelling story, not only do the language processing areas of our brain activate — as we're absorbing new information, but so do the sensory areas of our brain. Thus, storytelling anchors a personal, emotional outcome.
Today, this ancient form of communication is experiencing a "corporate renaissance". In its core, marketing breathes storytelling. It is the foundation of how brands communicate who they are and what they stand for, and storytelling is now experiencing a widespread recognition that extends beyond consumer marketing.
Every great company story must be anchored in a human experience and told through a personal lens. Develop your stories through real people, and you'll see a big difference in your storytelling. The hero is the audience, not your product.
In 2012, Gatorade developed a series of videos in a brilliant campaign called Win From Within. In addition to featuring big name athletes like Serena Williams, the brand also followed a handful of young lesser-known athletes. One video still stays with me. It's about a girl named Jaide Bucher, a 15 year old varsity softball player born with one arm. In the touching short clip, Gatorade effectively communicates Jaide's strength, tenacity, and unrelenting passion. It works because it's raw and authentic, a relatable story that consumers can easily connect with.
In your storytelling, it's important to demonstrate that your product is resolving an issue or problem that the consumer cares about.This presents a great opportunity for you to show how your brand can help potential buyers.
Bonobos, for example, explains in their brand story how they came across a problem and tackled it head on. By weaving this problem into their brand narrative, Bonobos is able to capitalize on this common frustration.
As one of the largest generations in history, millennials and their unique experiences and worldview are reshaping how companies operate and do business. Millennials want to do business with companies that care about causes bigger than themselves. People today often make choices based on social issues. Companies succeeding in this area include Warby Parker, Lyft, and The Humane Society.
Lyft for example has its Lyft for Good program, which brings together nonprofits and Lyft's driver community to bring about social change. Recent activities include volunteering at a soup kitchen and donating to the Austin AIDS Walk. Each event adds to Lyft's brand story, positioning them as a catalyst for social change — something that differentiates Lyft from its competitors and resonates with consumers.
The simpler a story the more likely it is to stick. Try not to stray from the basic flow of (1) problem, (2) solution, (3) result. There are two reasons for this. First, the typical consumer attention span is short. If your story doesn't grab them at the outset, your prospects are as good as gone. Second, too many embellishments create a sense of inauthenticity and author perhaps untrustworthy. If you keep it short and sweet, your audience is more likely to connect with the message.
Today, customers have an increasingly important role in credible storytelling. Smart brands already do this; we should all follow suit. Some of the best content today is created or co-created by customers — this is no minor feat, and it is also a crucial aspect of brand engagement and scaling. GoPro and Airbnb are great examples of fantastic consumer-generated content. In each case, they integrate consumer experiences into their brand, so that future buyers can more easily picture themselves using their product.
Integrating user-generated content in brand storytelling can be done through several mediums, such as social media. Share, retweet, and like the posts your consumers are directing towards you. This helps build sturdy relationships.
Everyone knows the story of Apple — and not just because we rushed to see that Aaron Sorkin film. This is a great brand story, one of innovation, creativity, perseverance, and dedication. It's not only everything Apple stands for but also everything they'd like their consumers to see in them. Think about a few key characteristics you'd like your brand to represent and try to naturally weave them into your company's founding. Consider challenges you've overcome, passions you're driven by, and goals you'd like to accomplish.
In short, great brand storytelling is simple and personal. It's a narrative that encompasses your company values and presents your brand in a relatable light. Marketing is no longer about a single ad campaign, it's about bringing everything together under one cohesive story. Don't think too hard or try to manipulate a story that doesn't fit. After all, storytelling runs through our veins.


Since last few years start-ups and industrialization cutler in Bangladesh is changing rapidly. We noticed that the demand of good accounting software as well as ERP application is in the sky.
To keep up with this ever growing scenario we are ready to be part of your mission. Mehedi Enterprise has nationwide support network to back you in need of ERP application. We believe in Tally ERP so do our respective clients from all over the country.
We are so focused in your business growth and we understand complexity it's cost, to solve this we always keep our eyes open. Our technical and accounting experts are one step away from your door. Never be alone, lets begin the journey together.
Every single business share some common feature on the other hand they also have some unique demands. We at Mehedi Enterprise provide customized Tally ERP.9 based Accounting and Inventory management solution for your business that fit with need.


Lahore based AlHuda Center of Islamic Banking and Economics (CIBE) has announced that it would be conducting a joint-training workshop in Islamic Banking and Finance in conjunction with Franco-American Alliance for Islamic Finance (FAAIF) and the University of New Orleans on October 06 and 07, 2014 in New Orleans, Louisiana.
Muhammed Zubair Mughal, CEO of AlHuda CIBE.
North America has a population of 8 million Muslims approximately while 2% of Canada's population practice Islam. Argentina has the largest Muslim population in Latin America with up to 2% of the population practicing islam, which shows a big demand for Islamic financial products exists in the region.


Serving black eyed peas on New Years eve is an old tradition in the South. The "old timers" say it brings good luck for the coming year. True or not, it's a good excuse to dine on this classic Southern treat.
Black eyed peas are easy to cook but a few tips make them special. The onion and bacon (or ham hock) are standard ingredients but a touch of vinegar and hot sauce puts them on a different level. While these two items are not traditional they put a little "kick" in the peas you might like. Or...as we call them...peas with an attitude.
We like our black eyed peas with a little spicy "kick" so we add a touch of Tabasco sauce. But if you are sensitive to spicy food you can eliminate the Tabasco and allow guest to add at the table as desired.
1. Place all ingredients in a large soup pot and bring to a boil.
2. Reduce heat and simmer 40 minutes or until peas are tender. Add additional water if needed to keep peas covered. If all the water boils away the peas will burn quickly, so watch closely.
3. Taste peas and add vinegar, hot sauce, salt and pepper as needed to suit your taste.


Embark on a once-in-a-lifetime restoration of a Historic Chicago mansion along the highly-sought after Lake Shore Drive. One of the "Seven Houses on Lake Shore Drive District," 1516 North Lake Shore Drive is looking for the right owner ready to help re-establish it as an extraordinary single-family residence, consulate, or another not-for-profit headquarters after lodging the International College of Surgeons for 65 years. The mansion was originally built for Edward Tyler Blair, scion of one of Chicago's iconic investment banking firms. Designed by notable architect William Kendall from the well-known New York firm of McKim, Mead and White, the home was completed in 1916 and designated a Chicago Landmark on June 28, 1989. It is also listed in the National Register and the Illinois Register of Historic Places.
1516 North Lake Shore Drive boasts a French-chateau-inspired stone main house with four stories and nearly 12,000 square feet of potential as well as a 2,400 square foot two-story coach house. The location provides breathtaking, uninterrupted views of Lake Michigan and is just steps away from Lincoln Park and a short distance from the heart of Chicago. Classic details and features are found throughout this magnificent space including beautiful millwork, marble staircases, stained glass windows, stone walls, rich wood paneling and herringbone laid hardwood floors.
Feel transported as you walk through the magnificent 10 foot wrought iron double doors and enter into the grand marble-encased foyer with detailed moldings. Two charming offices with original herringbone laid hardwood floors, one with a fireplace, and both en-suite, overlooking Lake Shore Drive and Lake Michigan. The west half of the first floor, currently used as large office and storage space, can be transformed into entertaining spaces, offices, or libraries.
Crain's Chicago – See the city's new highest-priced home listing!
Take the elevator or ascend the curved marble staircase with stained glass windows up to the second level with soaring ceilings, impressive detail, and generous space. Adorned with intricate millwork and created with a level of craftsmanship and attention to detail no longer seen in modern construction, the second level provides unmatched living space. The formal living room has three floor-to-ceiling windows that fill the room with light. The magnificent, oversized, original marble fireplace is the centerpiece of this rich and inviting room with elegant details like marble archways, wood paneling, detailed moldings surrounding the room, and a molded medallion at the center of the ceiling.
Continue into the formal dining room that can be enclosed by pocket doors. Walls of windows overlook Lake Shore Drive and beyond to the lake in this spacious, sophisticated dining room. Built-in bookshelves line the room anchored by an original fireplace with marble surround and impeccably detailed mantle, and hardwood paneling. An incredible plaster molded ceiling with geometric design sits above the herringbone laid hardwood floors in this inimitable dining space. Cross the living room to the family room with pocket doors. Rich paneled walls create a sophisticated space with hand-carved molding and original oversized marble fireplace in which to relax and entertain. The family room leads to a kitchen perfectly situated to make your own.
The third and fourth levels of this incredible building provide unmatched possibilities. Currently used as office and storage space, the top two levels can be transformed into gorgeous bedroom suites, recreation rooms, conference rooms, or additional libraries and office space — the possibilities are endless.
Own a part of Chicago history in this remarkable property—a true Gold Coast Lake Shore Drive mansion. Located on one of Chicago's most recognizable streets, this property will provide residents with an unmatched foundation to create a truly one-of-a-kind space.


text:
Nigerian journalist wins Africa fact-check of the year award
Taiwo Adebulu 2 mins read
Taiwo Adebulu, a Nigerian journalist, has won the 2020 African fact-checking awards.
His story, "FACT CHECK: Nigeria told UN that 7 varsities run strictly on renewable energy, but is this true?" was rated as the best among 192 entries from 27 countries across the continent.
Adebulu, a reporter with TheCable, an online newspaper, had investigated how Nigeria's minister of environment had grossly misinformed the United Nations at its Climate Action Summit in 2019 .
In a ceremony that held on Thursday as part of the virtual African Investigative Journalism Conference, Africa Check, organisers of the competition, said the impressive entries submitted for the 2020 awards show the growing and vibrant practice of fact-checking on the continent.
"In what has been a year like no other, we've received the highest number of entries in the history of the African Fact-Checking Awards: 192 entries from 27 countries across Africa," the organisers said.
"We've gone from strength to strength since our inaugural awards in 2014, when we had about 40 entries from 10 countries. This growth can only be a wonderful advertisement for the growing & vibrant practice of fact-checking on the continent."
Speaking on the award, Noko Makgato, executive director at Africa Check, said the competition will strengthen the quality of public debate and, hopefully, improve the quality of life across the continent.
"With health-related decisions sometimes being a matter of life or death, good fact-checking journalism is vital – now more than ever," Makgato said.
"The quality of information disseminated in public can determine the life outcomes of many and so it is the responsibility of the media to refrain from being conduits of misinformation."
Adebulu, who holds a master's degree in communication arts from the University of Ibadan, is also a recipient of the 2020 BudgIT/Civic Hive media fellowship.
In Adebulu's category, Aisha Abdool Karim emerged runner up with the entry, "The coronavirus 'vaccine' Ekurhuleni wants to import doesn't exist."
In the student category, Marième Fatou Dramé won with the entry "Une organisation féministe publie des informations trompeuses sur les jeunes filles sénégalaises ( absentéisme scolaire, gestion des règles)" Drame's work in English translates to "Feminist organization publishes misleading information about Senegalese girls (school absenteeism, rule management."
A Nigerian journalist, Oluwaseye Ogunsanya, emerged runner up in this category with the entry, "Did Nigeria's Minister Of Education Announce Resumption of Schools On September 7?"
Related Topicsfact-checkingTaiwo Adebulu
Strengthening Investigative Journalism for the fight against corruption in Nigeria.
More in Press Releases


text:
/*
 *
 *
 *
 */
package netserv;

import com.corundumstudio.socketio.Configuration;
import com.corundumstudio.socketio.SocketIONamespace;
import com.corundumstudio.socketio.SocketIOServer;
import connexion.NetConnexion;
import general.NetGeneral;
import java.util.logging.Level;
import java.util.logging.Logger;
import main.Const;
import main.StartNStop;
import matchmaking.Matchmaking;
import salon.net.NetSalon;

/**
 * NetworkServeur.java
 *
 */
public class NetworkServeur implements StartNStop {

	public static final String CLIENT_VERSION = "version";
	public static final String CLIENT_CLIENT = "client";
	public static final String CLIENT_SALON = "salon";

	private static final String NSP_NAME = "main";

	private final SocketIOServer io;
	private final SocketIONamespace nspMain;

	private final NetConnexion connexion;
	private final NetGeneral general;
	private final Matchmaking matchmaking;
	private final NetSalon salon;

	public NetworkServeur() {
		this.io = new SocketIOServer(getIOConf());
		this.nspMain = this.io.addNamespace("/" + NSP_NAME);

		this.connexion = new NetConnexion(this.nspMain);
		this.general = new NetGeneral(this.nspMain);
		this.matchmaking = new Matchmaking(this.nspMain);
		this.salon = new NetSalon(this.nspMain);
	}

	@Override
	public void onStart() {
		Logger.getGlobal().log(Level.INFO, "D\u00e9marrage network - ''localhost:{0}''", io.getConfiguration().getPort());

		this.io.start();
	}

	@Override
	public void onStop() {
		this.io.stop();
	}

	private Configuration getIOConf() {
		Configuration conf = new Configuration();
		conf.setHostname("localhost");
		conf.setPort(Const.SERVEUR_PORT);
		return conf;
	}

}


QUITO – In Saraguro, a city inhabited mainly by indigenous peoples and nestled in the Andes mountains of southern Ecuador, Christmas blends the universal message of the birth of Jesus with Indian traditions in a celebration that is all about solidarity and reciprocity.
The community here has largely resisted the entry of such Western traditions as the Christmas tree and Santa Claus, as well as the consumerism of gift exchanges between family members and friends, a popular custom in the rest of the country.
"People bring food and drinks to share with everyone," and "a space of reciprocity is created between the communities" around the city, said Luis Macas, one of the leaders of Saraguro who until a few years ago was the head of the Confederation of Indigenous Nationalities of Ecuador.
The occasion begins with the winter solstice on Dec. 21 and celebrations continue till Dec. 28.
"Many sweets, made of sugarcane, are distributed among children," as are also elaborately-prepared traditional dishes, especially those made from corn such as tamales as "this is the land of corn," said Macas, adding that in his city, Christmas has a cosmic significance because it goes beyond man.
"It is about communing with nature, with the Andean spirituality," while also including the child Jesus, he said.
The central figure during the celebrations in Saraguro is the "markantaita" or chief father, chosen from among the members of the community and in whose house remains the figure of Baby Jesus made by the city's main church until Dec. 25.
The children, who represent 60 percent of Saraguro's population, enjoy a lion's share of the attention during this period.
Games, dances, parades and poetry recitals in the Quechuan language are organized for them, interspersed with Catholic prayers, said Macas.
The celebration has its roots in an ancient celebration from the times before the Spanish conquest in which people with an indigenous world view disguised as human beings and elements of nature participated.
"Tomorrow, on Christmas, there will be several tables," with home-cooked food in the house of the markantaita so that "everyone can sit down to share the food and drinks they have brought to celebrate Christmas," added Macas.
The simplicity and spirituality that marks the season's celebrations in Saraguro contrasts with the frenzy of last-minute gift shopping and the preparation of Christmas dinner that grips the rest of Ecuador.
The streets, malls and bus stops are packed with people at this time and restaurants ready themselves to welcome diners.
Many people are expected to take advantage of the long weekend, from Thursday to Sunday, to visit relatives or go to resorts, especially those on the beaches.
Christmas trees decorated with lights are a common sight outside houses.
In El Panecillo, a small hill in central Quito, a giant nativity scene built by the city hall with metal pipes and adorned by more than 60,000 small colored lights makes for a striking sight.


It's supposed to be the most wonderful time of the year. But, sometimes, I have to confess that the encroaching holidays can feel stressful and exhausting. Especially when I had school-aged children, it seemed that everywhere I turned, there would be a teacher, colleague, babysitter and family member who needed a gift. Concerts, dinner parties, and other events only added to the stress.
With age (and hopefully more wisdom), I've learned to plan ahead, not sweat the small stuff, and focus on enjoying the holiday season as a time for friends and family. And what better way to show my love and appreciation than by giving healthy gifts that are good for them?
Wholesome, easy-to-use, and beneficial — these values influence the creation of every Omega3 Innovations product, making them excellent presents for loved ones. For those of you who already enjoy our wide range of products (but haven't given them as gifts before), consider putting some of these treats on your gift ideas list!
It's tough to find a great present for someone who watches every single thing that goes into their mouth. Whether they're a student-athlete who doesn't have access to a kitchen, someone training for a triathlon, or a gym buff who's trying to beat their personal records, making sure that your loved ones get ample nutrition is key for their mind, body, and soul.
Tuck a few individually-sealed Omega Cookies into a healthy gift basket, or continue to order a regular supply of them throughout the year for a grab-and-go boost of energy.
Each Omega Cookie® contains 2000 mg of EPA/DHA, 800 IUs of vitamin D3, and five grams of fiber from gluten-free whole oats (that's about as much fiber as a bowl of oatmeal). The full dose of omega-3 fish oil found in each Omega Cookie is helpful for those interested in improving their recovery time, relieving inflammation, and maintaining good joint health. Coming in at under $3 apiece, the Omega Cookie makes an affordable daily meal or workout snack for those who take their health seriously.
Senior citizens have to be some of the trickiest people to shop for, as they've been collecting things for a lifetime. Many are even keen on giving away their possessions, rather than accumulating new goods. Out of holiday shopping desperation, many people bring sweets as a present. But if a family struggles with diabetes, these are strictly off limits.
A few bags of Omega Heaven® chocolate-covered cookies, containing gluten-free, steel-cut oats, non-alkalized dark chocolate, and fresh, full-spectrum omega-3 fish oil.
In contrast to regular holiday sweets, Omega Heaven satisfies sweet tooths and are safe treats, even for diabetics. The gluten-free steel cut oats in the Omega Heaven provide four grams of soluble oat fiber, which help to prevent blood sugar levels from spiking. In addition, the antioxidant-rich dark chocolate coating helps stimulate blood flow in the brain.
Since each Omega Heaven contains 1000 mg of EPA/DHA sourced from fresh omega-3 fish oil, the chocolate-covered cookie can also replace up to three of your grandparents' capsules/pills. What's more, if Alzheimer's runs in your family, promising research shows that regular consumption of high-quality, non-oxidized omega-3s may help stave off symptoms before damage starts to occur.
Bottles of wine, bouquets of flowers, and boxes of chocolates are great presents for the holiday party host and hostess. Once in a while, however, it feels good to break the mold and get creative with your party presents.
Each Omega Passion® chocolate truffle contains 300 mg of EPA/DHA, gluten-free oat fiber, and non-alkalized dark chocolate. The reusable tin contains 20 delicious truffles that clock in at only 49 calories each (without the holiday guilt).
These chocolates look and taste like a traditional gift. But when your host or hostess look closer at the ingredients list, they will appreciate your good taste. The non-alkalized coating and ganache are made with 60% Italian dark chocolate, and is gently processed to provide a higher dose of antioxidants than regular dark chocolate. Oat fiber quells hunger cravings, and each truffle provides as much omega-3 as one regular fish oil capsule. These are a fun, delicious alternative for friends and family interested in upping their omega-3 intake.
Though your shopping list might be long, don't forget about taking care of yourself too. Surveys show that most people are stressed around the holidays, and with around 30% of Americans also suffering from sleep disorders, the added stress can lead to feeling depressed and gaining weight.
Support your health by beginning a regular bedtime regimen with Omega Restore™, the perfect combination of long-chain omega 3s and natural melatonin.
Omega Restore vials harness the power of 3000 mg EPA/DHA, 1400 IUs vitamin D3, and your choice of the melatonin dosage (2, 3, 5, or 9 mg). When taken before bed each night, the combination can help you destress your body and feel better each morning!
Happy Holidays from Omega3 Innovations!
Chalmers who wrote the book, Mommy What is Celiac Disease?, (you can read my review here) has designed a gluten free blog with kids in mind! It is great!
Hi Melek! Unfortunately not the same Chalmers, but sounds like a great book and blog. We'll have to check it out!


text:
Q: Using concat or append to add an column in Python Here is what I have pulled in thus far and it ends with not appending correctly
I want to add my count column to
Here's the objective: What are the countries that have more than 4 cities listed in the cities table, and what is the minimum, average, and maximum populations of those countries, as well as the number of cities in each country? Order the result from the country with the most cities to the one with the fewest cities.
import psycopg2
import sqlalchemy
import pandas as pd

engine = sqlalchemy.create_engine('postgresql://dsa_ro_user:readonly@pgsql/dsa_ro')

connection = engine.connect()

df = pd.read_sql_query("SELECT * FROM cities", connection)

connection.close()

df.head()
import numpy as np
new_frame=df.groupby("country")
new_frame=new_frame["population"].agg([np.sum,np.mean,np.std])
new_frame.reset_index(inplace=True)

 new_df=df.groupby(["country"]).count()
new_df.columns.values[0]= "count"
new_df
new_df.reset_index(inplace=True)
new_frame2=new_df.groupby(["count"]).count()
new_frame2
new_frame2.reset_index(inplace=True)
new_frame2=new_frame2[new_frame2["count"]>4]
new_frame2
del new_frame2["population"]
new_frame2
##new_frame2.reset_index(inplace=True)
del new_frame2['country']
new_frame2

new_frame=new_frame.append(new_frame2, ignore_index=True ,sort=True)
new_frame
new_frame=new_frame.sort_values(by="count", ascending=False)
new_frame

A: Since I couldn't access your data I have used data from https://simplemaps.com/data/world-cities, but based on your code your data should look the same (country, city and population columns):
df = pd.read_csv('worldcities.csv')
df = df[["city_ascii", "population", "country"]].rename(columns = {'city_ascii':'city'})

Your new_frame and new_df data frames are good, you have the summary stats in new_frame and the city counts per country in new_df.
The next step is to filter for countries with more than 4 cities and put that into a new data frame:
#create a df of countries with more than 4 cities and remove population column
cities_gt_4=new_df[new_df['count'] > 4].drop(columns=["population"])

Now we want to join this data frame with our summary stats new_frame, based on country names. We can use pandas' merge function to join the two data frames together, based on the values of the country column in each data frame (we define based on which columns we want to join using the left_on and right_on arguments). We are using a left join (how = "left"), which means we will only keep rows for country values that exist in the left data frame (cities_gt_4). This means all country rows with <= 4 cities will be dropped, producing the desired final data frame. Then we sort using sort_values().
merged_df=pd.merge(left = cities_gt_4, right = new_frame, how = "left", left_on = "country", right_on = "country")

merged_df=merged_df.sort_values('count', ascending=False)


A fleet of 30 Oyster sailing yachts took to the waters off Sardinia's Costa Smeralda yesterday morning for the first day of racing. The 25th event in the Oyster Regatta series is taking place from 21 to 25 September and is hosted for the first time by the Yacht Club Costa Smeralda.
Racing started on schedule and a gentle northeasterly breeze built during the day giving the majestic fleet some spectacular sailing conditions. Azure blue sky and warm breeze typify the sailing grounds on the Costa Smeralda and today was no exception.
In Class One (yachts of 60ft and over), local knowledge clearly came in handy as Alberto Vignatelli's Oyster 72, Albertone 3, took line honours and a corrected time victory. Vignatelli has been a Member of the Yacht Club Costa Smeralda for over 20 years and knows this regatta course better than most.
Trevor Silver's Roulette V.2 and Richard Smith's Sotto Vento, both Oyster 655s, took second and third place respectively.
Gerd and Annemarie Köhlmoos' Oyster 54, Sarabande put in a polished performance, taking line honours in Class Two and also first in class on corrected time. Second across the line was Boarding Pass III, owned by Bill Munro and Susan Harris which slipped into third, however, on corrected time behind Mark Howard's Oyster 56 Amanzi.
Michael Morris' Oyster 72, Cookielicious, had a fantastic day on the water, despite being late for the start of the day's race and finishing at the tail end of Class One. Highlighting the family-oriented nature of the fleet Morris was accompanied by his sons and daughter-in-laws.


Congratulations on completing the 1st step in becoming a vendor at this year's P31 Experience, hosting Houston's top professional female business women and entreprenuers!
This event will be held on Thursday, July 12th at 2201 Preston St., Houston Tx 77003 at 7pm. (Vendors must arrive at least 1hr before for set up). The venue is 3000 SQ FT. Please bring a table for set up.
2 Side rooms available for (2) vendors in each room. Vendors must bring their own table and setup equipment. Vendor Fee includes $5.00 processing fee.
All purchases to secure vendor placement at this event are nonrefundable.


text:
bookBestsellersbookPW Best BookshomePublishers Weekly HomelockUse and Privacy Policies
New York A La Cart: Recipes & Stories from the Big Apple's Best Food Trucks
Alexandra Penfold and Siobhan Wallace. Running, $18 (288p) ISBN 978-0-7624-4682-7
Co-bloggers Penfold and Wallace have developed a loyal following due to their passionate reporting on New York's food scene, and they've summed up some of the city's best mobile dining vendors in this dense valentine to street food. Organized by neighborhood, the pair nicely showcases the city's diversity, preferring to single out one or two vendors of, say, ice cream or tacos, rather than attempting to offer a definitive list. Locals may balk at such discrimination (though they'll likely get the most out of each vendor's information, which includes Twitter handles), but readers interested in expanding their culinary tour of NYC and its environs will appreciate the book's breadth, highlighting stars like the Big Gay Ice Cream Truck as well as many others, less well-known. Each profile is accompanied by recipes from the vendor in question (a total of 100 recipes are included), but readers will reap the greatest benefit from the book's text, which covers street vending from all angles, such as the black market for permits%E2%80%94which can go for as high as $20,000%E2%80%94to how to buy the best lobster to the evolution of street food in NYC. (Apr.)
Reviewed on: 04/08/2013
Genre: Nonfiction
Open Ebook - 288 pages - 978-0-7624-4824-1
More By and About this Authorchevron_right
Eat, Sleep, Poop
Alexandra Penfold
"I haven't been here very long," says a peach-skinned, towheaded infant. "But I already have a rigorous schedule"—one neatly summed up in this book's title (which it shares with a 2010 parenting book Continue reading »
We Are Brothers, We Are Friends
Sibling rivalry? What sibling rivalry? Penfold's cheerful big brother narrator is totally cool with having a baby brother. He looks forward to "adventures, just the two of us," that include pretend Continue reading »
The Littlest Viking
A young Viking with a knack for storytelling steps into new roles when he gains a baby sister. "What's this? A fair maiden?" asks Penfold (We Are Brothers, We Are Friends). "No, a warrior Continue reading »
Food Truck Fest!
"Some trucks have ovens, others have grills./ They're kitchens on wheels, without the frills," writes Penfold (The Littlest Viking) as food trucks gather on an island for a festival. After Continue reading »
Penfold (Eat, Sleep, Poop) and Kaufman (I Love Monkey) celebrate a school community as a great common ground where families of all kinds connect and share in their children's Continue reading »
Big Feelings
In All Are Welcome, collaborators Penfold and Kaufman celebrated the spirit of inclusivity. Now comes the hard part: getting stuff done. A diverse group of children share the goal of Continue reading »
In Conversation: Alexandra Penfold and Suzanne Kaufman
We asked Penfold and Kaufman to interview each other about their process and the inspiration behind 'Big Feelings,' a companion to their bestselling picture book 'All Are Continue reading »
PW EDITORS' PICKS FOR
THE BEST NEW BOOKS
PW EDITORS' PICKS FOR THE BEST NEW BOOKS
Featured Nonfiction Reviews
Benjamin Banneker and Us: Eleven Generations of an American Family
Rachel Webster
Poet Webster (Mary Is a River) offers a stunning meditation on race, identity, and achievement. At a family reunion in 2016, Webster, who is white, discovered that she was Continue reading »
Flight Paths: How a Passionate and Quirky Group of Pioneering Scientists Solved the Mystery of Bird Migration
Rebecca Heisman
Science writer Heisman debuts with a winning examination of the seasonal movements of birds, tracing how scientific understanding of bird migration has evolved and detailing the Continue reading »
Ghosts of the Orphanage: A Story of Mysterious Deaths, a Conspiracy of Silence, and a Search for Justice
Christine Kenneally
Journalist Kenneally (The Invisible History of the Human Race) paints a beyond disturbing picture of human cruelty in this shocking exposé of decades of abuse of children housed Continue reading »
Weathering: The Extraordinary Stress of Ordinary Life in an Unjust Society
Arline T Geronimus
Neither genetic differences nor unhealthy lifestyles are at the root of racial health disparities in the U.S., according to this powerhouse study. Geronimus, a professor of Continue reading »


text:
Film » Reviews
Johnny English Strikes Again strikes out
Rating: **
by Matt Brunson
** (out of four)
DIRECTED BY David Kerr
STARS Rowan Atkinson, Emma Thompson
Rowan Atkinson in Johnny English Strikes Again (Photo: Universal)
As fans of James Bond wait impatiently for the next installment, they can at least take (quantum of?) solace in the fact that there's a new Johnny English film hitting theaters. Then again, Johnny English Strikes Again, the third entry in the spoof series, is so devoid of genuine wit that they might be better off staying at home and spending time mulling over who should play 007 post-Daniel Craig.
Even fans of 2003's Johnny English (raising my hand here) and 2011's Johnny English Reborn (raising only a finger here) will be disappointed in this creaky comedy that finds Rowan Atkinson again essaying the role of the bumbling British agent who's decidedly less Bond and infinitely more Clouseau. The plot this time involves English's efforts to expose a Silicon Valley whiz kid (Jake Lacy) plotting to gain digital control over every nation.
Olga Kurylenko, who played the female lead in the 007 entry Quantum of Solace, appears here as a Russian spy, while Emma Thompson is on hand as the British Prime Minister. Yet only Atkinson matters (although I did appreciate the cameos by the veteran actors playing retired MI7 agents). The British comedian (who, by the way, did once appear in a Bond flick himself, portraying Nigel Small-Fawcett in the non-series effort Never Say Never Again) once again throws himself in his role, but the material just isn't there this time. There are a few bright bits scattered about, but most of the gags are on the moldy order of English getting stuck inside knight's armor or smacking someone with a baguette. Such a reliance on antiquated gags of this nature patently marks this film as a Johnny-come-lately.
Reviews film review Matt Brunson Johnny English Strikes Again Rowan Atkinson Emma Thompson Olga Kurylenko Johnny English


Posted in Being the Father's Child and tagged Child of the Father on June 18, 2015 by mba.
What does it really mean to be a child of God the Father?
Posted in Being the Father's Child and tagged Child of the Father on June 17, 2015 by mba.
"We are all called to be children of the one Father and brothers among ourselves . . . God is reality with a capital 'R' . . . a Father of goodness and infinite mercy" (Pope Francis, Letter to Eugenio Scalfari, 2013).
Posted in Being the Father's Child, God the Father, Infinite Mercy, Pope Francis, Thoughts for the Day and tagged Child of the Father, Christianity, God, God the Father, Pope Francis, Religion and Spirituality, Thoughts for the Day on September 12, 2013 by mba.
Posted in Being the Father's Child, God the Father and tagged Child of the Father, Christianity, God, God the Father, Religion and Spirituality on June 24, 2013 by mba.
Posted in Being the Father's Child, Descriptions, God the Father, How is God the Father?, Love, The Desires of the Divine Heart, The Divine Heart of God the Father, The Divine Light and tagged Child of the Father, Christianity, Descriptions, Desires of the Father, Divine Light, God, God the Father, Love, Religion & Spirituality, The Divine Heart on April 22, 2013 by mba.
Posted in Being the Father's Child, God the Father, How is God the Father?, Love, Tenderness, Thoughts for the Day and tagged Child of the Father, Christianity, God, God the Father, Love, Religion and Spirituality, Tenderness, Thoughts for the Day on April 11, 2013 by mba.
Posted in Being the Father's Child, God the Father, Humility and tagged Child of the Father, Christianity, God, God the Father, Religion and Spirituality on March 18, 2013 by mba.
Posted in Being the Father's Child, God the Father, How is God the Father?, Prodigal Son, Reconciling with the Father and tagged Call, Child of the Father, Christianity, Divine Heart, God, God the Father, Religion and Spirituality, The Divine Heart on February 6, 2013 by mba.
Posted in Being the Father's Child, God the Father and tagged Child of the Father, Christianity, God, God the Father, Religion and Spirituality on January 31, 2013 by mba.


in the Black community. And racism, whether it is in the form of demonizing alleged Black crack users of the 80s or humanizing white heroin users of the 21st century, plays a critical role in justifying the state response to manufactured drug crises. Furthermore, Afghanistan's opium industry emerged directly after the US occupation in 2001 and has surged ever since. The same causes of the Vietnam War that King cites also form the foundation of the heroin crisis in Boston and locales across the. In a similar vein to the current relationship between the US occupation and the growth of opium poppy in Afghanistan, State Department funds were given to terrorist Contras waging war on behalf of Washington against the Sandinista socialist government of Nicaragua. Watch first week IN Mondays @ 9pm on Discovery Visit. Afghanistan currently supplies 90 percent of the planet's opium. These funds were used by the Contras to build financial relationships with drug traffickers, who then funneled cocaine to individuals such. In the 1980s, journalist Gary Webb of the Los Angeles Times blew the whistle on the CIA's involvement in the transport and distribution of powder cocaine from Central America to drug kingpins in majority Black neighborhoods in California.
The present "heroin epidemic" is driven by same conditions of capitalist displacement, but not the same fear. Coincidentally, heroin overdoses nation-wide as I Lay Dying by William Faulkner have increased dramatically around the same time that the growth of opium poppy has exploded in Afghanistan. The cocaine was subsequently distributed to the Black community in "crack" form. But this "epidemic" is by no means a random occurrence. Exploitation and growing poverty has laid the economic basis for addiction.
It would fundamentally challenge the corporate order by eroding the "common sense" notion that being white means, at the very least, the guarantee of a humane existence in US society. Drugs play a critical role in the overall racist and capitalist order of US society. The secure, union jobs and wages that existed in the first half of the post-World War II era no longer exist. The US military has waged a fifteen-year long occupation of Afghanistan. US firms made up for losses by deindustrializing US cities heavily concentrated with Black residents.
Nazi hitler and the rise of nazi germany. They blamed the Weimar government for losing the war and signing the outrageous Treaty. Some aspects of the Weimar..
GW Hannah 10 1, poor law, goodwin and William Smith, Thomas Clarke, John Parkes, Charles Starkey, John Lander, Joseph Culwick, Thomas Guest, Thomas Sylvester, Edward Kenrick, Robert..


Australia's favourite Paleo muesli is made using the highest quality, handpicked ingredients to give you the best possible start to the day.
Our gluten free muesli is choc full of natural goodness with ingredients such as premium nuts, berries, seeds and coconut. Our paleo muesli is flavoured with raw honey and is toasted to give it that extra crunch.
Our Paleo muesli is a great source of protein, antioxidants and EFA's making this a healthy breakfast cereal that the whole family can enjoy.
premium nuts, berries, seeds, coconut, raw honey.


Jacob F. Siegel is an associate in the Firm's Litigation department. Jake represents clients in a wide variety of matters in federal and state courts, including patent, antitrust, and complex commercial disputes. He has represented pharmaceutical companies in patent disputes involving both small molecule drugs and biologics. Jake has also represented clients in a range of other sectors, from manufacturing companies to non-profit organizations.
Successfully represented a major pharmaceutical company in an ANDA action involving challenges to patents covering a combination drug therapy and processes for its manufacture.
Representing a major pharmaceutical company in an ANDA action involving challenges to patents covering the crystalline form and processes for the manufacture of our client's blockbuster drug.
Counseling a major pharmaceutical company in response to allegations of patent infringement related to its therapeutic monoclonal antibody.
Representing an online content provider in data piracy claims arising from unauthorized access to its proprietary database.
Defending a leading contact lens manufacturer in nationwide class action litigation involving allegations of anticompetitive pricing.
Successfully defended major pharmaceutical company against tying and monopolization claims, resulting in grant of our client's motion to dismiss.
Represented a foreign truck part company in a high-stakes and complex commercial dispute with a joint venture partner, ending in grant of summary judgment to our client on the central issue of liability.
Representing a foreign manufacturing company in contract dispute regarding supply agreement.
Representing intervenor community organizations defending rent control regulation amendments in Article 78 proceeding.


text:
Mixed Multitudes
A Baby By Any Other Name…
By Tamar Fox | November 21, 2008
The Book of Ruth and the Power of Names
The Story of the Book of Ruth
JTA is currently featuring an article about the challenge of choosing a name for a Jewish baby, so I thought I'd mention that we at MJL have an article about choosing a name for your baby, and especially about various naming customs in different Jewish communities.
I'm not planning on having a kid anytime soon, but I have been thinking about naming more than usual because I have a few friends who are in their third trimester of pregnancy, and also because my mother just died so I've been thinking about derivations of her name I could use for future children. As we mention in our article, it's very common for Jews to name their babies after deceased parents or grandparents, and while I think it used to be normal for people to use the original name again, I often see couples doing some kind of derivation in order to get to a name they like better. My younger sister, for instance, is named after our great-grandmother Roberta. My parents wanted something more Jewish and less masculine, so they kept the R, looked for something Israeli-sounding, and ended up with Renana.
It struck me today how completely different our current naming process us from the one we see in the Bible. Naming is a really big deal in the Bible, and almost every time a woman gives birth to a child in the narrative, the name is given and explained based on the circumstances of the woman's life, or sometimes of the birth itself. Consider this passage from Genesis 31:35:
The Lord saw that Leah was unloved and he opened her womb; but Rachel was barren. Leah conceived and bore a son, and named him Reuben; for she declared, "It means: 'The Lord has seen my affliction'; it also means: 'Now my husband will love me.'" She conceived again and bore a son, and declared, "This is because the Lord heard that I was unloved and has given me this one also" so she named him Simeon. Again she conceived and bore a son and declared, "This time my husband will become attached to me, for I have borne him three sons." Therefore he was named Levi. She conceived again and bore a son, and declared, "This time I will praise the Lord." Therefore she named him Judah. Then she stopped bearing.
Here's another good example from Genesis 38:27-29:
When the time came for her to give birth, there were twins in her womb! While she was in labor, one of them put out his hand and the midwife tied a crimson thread on that hand to signify: This one came out first. But just then he drew back his hand, and out came his brother; and she said, "What a breach you have made for yourself!" So he was named Perez. Afterward his brother came out, on whose hang was the crimson thread; he was named Zerah.
It's interesting to me that in the Bible people aren't being named after each other, they're named because of what's going on around them when they're born. Now people look for names that are interesting, unusual, or pretty. On the one hand, I can see why–if I held by this method and had a daughter this year she'd be named Weep Despondent Fox–but on the other hand, I think there's something nice about having a name that's really based on you and what was going on when you were born.
One of the really nice things about giving a baby a Hebrew name is that you can almost cover both bases–name the baby something that is both pertinent to the situation of its birth, but also something that sounds pretty and name-y. Instead of Weepy Despondent I could go with Naomi Mara. Naomi is a famous mother in the Bible, and the name comes from the root word Na'im, which means "pleasant." In Ruth 1:20 we get a new kind of naming, "'Do not call me Naomi,' she replied. 'Call me Mara, for Shaddai has made my lot very bitter.'"
Mara means "bitter" in Hebrew. It's a sad name, one that is taken when Naomi feels forsaken by God, but it's actually quite beautiful, and what happens to Naomi? She ends up doing pretty well when Ruth marries Boaz and gets them both out of the poorhouse. In fact, Naomi is one of King David's ancestors. By calling my kid Naomi Mara I could be honoring my mother, and also expressing the sadness of this stage in my life.
That's just an example off the top of my head, but my point is that you can do a lot with names in Hebrew if you bother to look into the stories and etymology behind them. And I think my method is way better than that of Lisa Keys who wrote the article for JTA. She ends up with Leon just because it sounds Jewish Grandpa-y and she and her husband can agree on it.
What Ruth Can Teach Us About Celebrating Shavuot
The Jewish people accepted the Torah in fear of God's overwhelming power. Ruth accepted it out of love and loyalty.
Ruth's Cup: A New Passover Ritual Honoring Jewish Diversity
A ritual welcome for converts at Passover.
Five books of story, law, and poetry divided into 54 weekly portions.


text:
WO 2017/103763 A1
Multimedia Content Player With Digital Rights Management While Maintaining Privacy Of Users
Earliest Priority: Dec 16 2015
Family: 7
Cited Works: 0
Additional Info: Full text
{{'scholar.works.cites' | message:[0]}}
{{'patent.cited' | message:[1]}}
A system, method, and computer readable storage medium configured for delivering services from a server to ensure multimedia content control by content providers (i.e. reduce piracy) and to ensure privacy by content users is described. The method begins with executing at least a portion of a content media player application to the device using a zero-knowledge protocol to ensure privacy of the user. Examples of zero-knowledge verifiable computing are succinct computational integrity and privacy (SCIP) protocol, zero-knowledge succinct non-interactive argument of knowledge (zk-snark) protocol, and probabilistically checkable proof (PCP) protocol. The content media player application includes digital right management technology using zero-knowledge verifiable computing to enforce usage conditions on the multimedia content. A response is received from the user device that the content media player application has executed on the user device. Based upon the response indicating a successful execution, accessing the multimedia content by the content media player application.
A computer-based method for delivering services from a server to ensure multimedia content control by content providers and to ensure privacy by content users, the method comprising:
executing at least a portion of a content media player application to the at least one user device using a zero-knowledge protocol to ensure privacy of the user, and the content media player application including digital right management technology using zero-knowledge verifiable computing to enforce usage conditions on the multimedia content;
receiving a response from the at least one user device that at least the portion of the content media player application has executed on the user device;
based upon the response indicating a successful execution, accessing the multimedia content using the content media player application; and
otherwise not accessing the multimedia content using the content media player application.
The computer-based method of claim 1, further including:
sending at least a portion of the content media player application to the at least one user device using a zero-knowledge protocol to ensure privacy of the user.
The computer-based method of either of the preceding claims, further including:
receiving a payment from at least one user device as payment for at least one service to electronically deliver the multimedia content over a network to at least one user system.
The computer-based method of claim 3, wherein the receiving the payment further includes receiving a cryptocurrency as payment.
The computer-based method of any of the preceding claims, wherein the zero- knowledge verifiable computing is succinct computational integrity and privacy (SCIP) technique.
The computer-based method of any of claims 1 to 4, wherein the zero-knowledge verifiable computing is zero-knowledge succinct non-interactive argument of knowledge (zk- snark) technique.
The computer-based method of any of claims 1 to 4, wherein the zero-knowledge verifiable computing is probabilistically checkable proof (PCP) technique.
The computer-based method of any of the preceding claims, wherein the content media player application reports usage information of the multimedia content without reporting personally identifiable information of the user device.
The computer-based method of any of the preceding claims, wherein the multimedia content is at least one of music, video, software, games, or a combination thereof.
The computer-based method of any of the preceding claims, wherein the portion of the content media player application is a wrapper application that enforces digital rights management onto a preexisting application or web browser on the user device.
The computer-based method of any of the preceding claims, wherein the response from the at least one user device includes whether the content media player application is using at least one of trusted computing, secure boot attestation, or a combination thereof.
The computer-based method of any of the preceding claims, wherein the receiving a cryptocurrency from the at least one user device is payment for the multimedia content and is used to form an anonymous contract for the at least one service to electronically deliver the multimedia content over a network to the at least one user device.
The computer-based method of any of the preceding claims, wherein the receiving a cryptocurrency from the at least one user device includes receiving a Bitcoin payment.
A system for delivering services from a server to ensure multimedia content control by content providers and to ensure privacy by content users, the system comprising:
a memory;
a processor communicatively coupled to the memory, where the processor is configured to perform;
The system of claim 14, further including:
The system of claims 14 to 15, further including:
The system of claim 16, wherein the receiving the payment further includes receiving a cryptocurrency as payment.
The system of any of claims 14 to 18, wherein the zero-knowledge protocol is succinct computational integrity and privacy (SCIP) technique.
The system of any of claims 14 to 18, wherein the zero-knowledge verifiable computing is zero-knowledge succinct non-interactive argument of knowledge (zk-snark) technique.
The system of any of claims 14 to 18, wherein the zero-knowledge verifiable computing is probabilistically checkable proof (PCP) technique.
The system of any of claims 14 to 20, wherein the content media player application reports usage information of the multimedia content without reporting personally identifiable information of the user device.
The system of any of claims 14 to 21, wherein the multimedia content is at least one of music, video, software, games, or a combination thereof.
The system of any of claims 14 to 22, wherein the portion of the content media player application is a wrapper application that enforces digital rights management onto a preexisting application or web browser on the user device.
The system of any of claims 14 to 23, wherein the response from the at least one user device includes whether the content media player application is using at least one of trusted computing, secure boot attestation, or a combination thereof.
The system of any of claims 14 to 24, wherein the receiving a cryptocurrency from the at least one user device is payment for the multimedia content and is used to form an anonymous contract for the at least one service to electronically deliver the multimedia content over a network to the at least one user device.
A computer program product for delivering services from a server to ensure multimedia content control by content providers and to ensure privacy by content users, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method according to any of claims 1 to 13.
A computer program stored on a computer readable medium and loadable into the internal memory of a digital computer, comprising software code portions, when said program is run on a computer, for performing the method of any of claims 1 to 13.
View all patents where Applicants IBM
Ibm Uk
View all patents where Applicants IBM UK
Ibm (china) Invest Company Ltd
View all patents where Applicants IBM (CHINA) INVEST COMPANY LTD
Linton Jeb
View all patents where Inventors LINTON JEB
Kraemer James
View all patents where Inventors KRAEMER JAMES
G06Q50/184
View all patents where CPC Classifications G06Q50/184
G06Q20/1235
View all patents where CPC Classifications G06Q20/1235
H04L9/32
View all patents where IPC Classifications H04L9/32
H04L29/06
View all patents where IPC Classifications H04L29/06
Publication: Jun 22, 2017
Application: Dec 12, 2016
IB 2016057542 W
Priority: Dec 16, 2015
US 201514970966 A