text:
package services

// Copyright (c) Microsoft and contributors.  All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

import (
	"context"
	"github.com/Azure/go-autorest/autorest"
	"github.com/Azure/go-autorest/autorest/azure"
	"github.com/Azure/go-autorest/tracing"
	"net/http"
)

// WorkspacesClient is the these APIs allow end users to operate on Azure Machine Learning Workspace resources.
type WorkspacesClient struct {
	BaseClient
}

// NewWorkspacesClient creates an instance of the WorkspacesClient client.
func NewWorkspacesClient(subscriptionID string) WorkspacesClient {
	return NewWorkspacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}

// NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client.
func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient {
	return WorkspacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}

// CreateOrUpdate creates or updates a workspace with the specified parameters.
// Parameters:
// resourceGroupName - name of the resource group in which workspace is located.
// workspaceName - name of Azure Machine Learning workspace.
// parameters - the parameters for creating or updating a machine learning workspace.
func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (result Workspace, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.CreateOrUpdate")
		defer func() {
			sc := -1
			if result.Response.Response != nil {
				sc = result.Response.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, workspaceName, parameters)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "CreateOrUpdate", nil, "Failure preparing request")
		return
	}

	resp, err := client.CreateOrUpdateSender(req)
	if err != nil {
		result.Response = autorest.Response{Response: resp}
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "CreateOrUpdate", resp, "Failure sending request")
		return
	}

	result, err = client.CreateOrUpdateResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "CreateOrUpdate", resp, "Failure responding to request")
	}

	return
}

// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (*http.Request, error) {
	pathParameters := map[string]interface{}{
		"resourceGroupName": autorest.Encode("path", resourceGroupName),
		"subscriptionId":    autorest.Encode("path", client.SubscriptionID),
		"workspaceName":     autorest.Encode("path", workspaceName),
	}

	const APIVersion = "2018-03-01-preview"
	queryParameters := map[string]interface{}{
		"api-version": APIVersion,
	}

	preparer := autorest.CreatePreparer(
		autorest.AsContentType("application/json; charset=utf-8"),
		autorest.AsPut(),
		autorest.WithBaseURL(client.BaseURI),
		autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", pathParameters),
		autorest.WithJSON(parameters),
		autorest.WithQueryParameters(queryParameters))
	return preparer.Prepare((&http.Request{}).WithContext(ctx))
}

// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client, req,
		azure.DoRetryWithRegistration(client.Client))
}

// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
// closes the http.Response Body.
func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error) {
	err = autorest.Respond(
		resp,
		client.ByInspecting(),
		azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
		autorest.ByUnmarshallingJSON(&result),
		autorest.ByClosing())
	result.Response = autorest.Response{Response: resp}
	return
}

// Delete deletes a machine learning workspace.
// Parameters:
// resourceGroupName - name of the resource group in which workspace is located.
// workspaceName - name of Azure Machine Learning workspace.
func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.Delete")
		defer func() {
			sc := -1
			if result.Response != nil {
				sc = result.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	req, err := client.DeletePreparer(ctx, resourceGroupName, workspaceName)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Delete", nil, "Failure preparing request")
		return
	}

	resp, err := client.DeleteSender(req)
	if err != nil {
		result.Response = resp
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Delete", resp, "Failure sending request")
		return
	}

	result, err = client.DeleteResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Delete", resp, "Failure responding to request")
	}

	return
}

// DeletePreparer prepares the Delete request.
func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
	pathParameters := map[string]interface{}{
		"resourceGroupName": autorest.Encode("path", resourceGroupName),
		"subscriptionId":    autorest.Encode("path", client.SubscriptionID),
		"workspaceName":     autorest.Encode("path", workspaceName),
	}

	const APIVersion = "2018-03-01-preview"
	queryParameters := map[string]interface{}{
		"api-version": APIVersion,
	}

	preparer := autorest.CreatePreparer(
		autorest.AsDelete(),
		autorest.WithBaseURL(client.BaseURI),
		autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", pathParameters),
		autorest.WithQueryParameters(queryParameters))
	return preparer.Prepare((&http.Request{}).WithContext(ctx))
}

// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) DeleteSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client, req,
		azure.DoRetryWithRegistration(client.Client))
}

// DeleteResponder handles the response to the Delete request. The method always
// closes the http.Response Body.
func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
	err = autorest.Respond(
		resp,
		client.ByInspecting(),
		azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent),
		autorest.ByClosing())
	result.Response = resp
	return
}

// Get gets the properties of the specified machine learning workspace.
// Parameters:
// resourceGroupName - name of the resource group in which workspace is located.
// workspaceName - name of Azure Machine Learning workspace.
func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.Get")
		defer func() {
			sc := -1
			if result.Response.Response != nil {
				sc = result.Response.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	req, err := client.GetPreparer(ctx, resourceGroupName, workspaceName)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Get", nil, "Failure preparing request")
		return
	}

	resp, err := client.GetSender(req)
	if err != nil {
		result.Response = autorest.Response{Response: resp}
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Get", resp, "Failure sending request")
		return
	}

	result, err = client.GetResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Get", resp, "Failure responding to request")
	}

	return
}

// GetPreparer prepares the Get request.
func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
	pathParameters := map[string]interface{}{
		"resourceGroupName": autorest.Encode("path", resourceGroupName),
		"subscriptionId":    autorest.Encode("path", client.SubscriptionID),
		"workspaceName":     autorest.Encode("path", workspaceName),
	}

	const APIVersion = "2018-03-01-preview"
	queryParameters := map[string]interface{}{
		"api-version": APIVersion,
	}

	preparer := autorest.CreatePreparer(
		autorest.AsGet(),
		autorest.WithBaseURL(client.BaseURI),
		autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", pathParameters),
		autorest.WithQueryParameters(queryParameters))
	return preparer.Prepare((&http.Request{}).WithContext(ctx))
}

// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client, req,
		azure.DoRetryWithRegistration(client.Client))
}

// GetResponder handles the response to the Get request. The method always
// closes the http.Response Body.
func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error) {
	err = autorest.Respond(
		resp,
		client.ByInspecting(),
		azure.WithErrorUnlessStatusCode(http.StatusOK),
		autorest.ByUnmarshallingJSON(&result),
		autorest.ByClosing())
	result.Response = autorest.Response{Response: resp}
	return
}

// ListByResourceGroup lists all the available machine learning workspaces under the specified resource group.
// Parameters:
// resourceGroupName - name of the resource group in which workspace is located.
// skiptoken - continuation token for pagination.
func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, skiptoken string) (result WorkspaceListResultPage, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListByResourceGroup")
		defer func() {
			sc := -1
			if result.wlr.Response.Response != nil {
				sc = result.wlr.Response.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	result.fn = client.listByResourceGroupNextResults
	req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName, skiptoken)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListByResourceGroup", nil, "Failure preparing request")
		return
	}

	resp, err := client.ListByResourceGroupSender(req)
	if err != nil {
		result.wlr.Response = autorest.Response{Response: resp}
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListByResourceGroup", resp, "Failure sending request")
		return
	}

	result.wlr, err = client.ListByResourceGroupResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListByResourceGroup", resp, "Failure responding to request")
	}

	return
}

// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skiptoken string) (*http.Request, error) {
	pathParameters := map[string]interface{}{
		"resourceGroupName": autorest.Encode("path", resourceGroupName),
		"subscriptionId":    autorest.Encode("path", client.SubscriptionID),
	}

	const APIVersion = "2018-03-01-preview"
	queryParameters := map[string]interface{}{
		"api-version": APIVersion,
	}
	if len(skiptoken) > 0 {
		queryParameters["$skiptoken"] = autorest.Encode("query", skiptoken)
	}

	preparer := autorest.CreatePreparer(
		autorest.AsGet(),
		autorest.WithBaseURL(client.BaseURI),
		autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", pathParameters),
		autorest.WithQueryParameters(queryParameters))
	return preparer.Prepare((&http.Request{}).WithContext(ctx))
}

// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client, req,
		azure.DoRetryWithRegistration(client.Client))
}

// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
// closes the http.Response Body.
func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceListResult, err error) {
	err = autorest.Respond(
		resp,
		client.ByInspecting(),
		azure.WithErrorUnlessStatusCode(http.StatusOK),
		autorest.ByUnmarshallingJSON(&result),
		autorest.ByClosing())
	result.Response = autorest.Response{Response: resp}
	return
}

// listByResourceGroupNextResults retrieves the next set of results, if any.
func (client WorkspacesClient) listByResourceGroupNextResults(ctx context.Context, lastResults WorkspaceListResult) (result WorkspaceListResult, err error) {
	req, err := lastResults.workspaceListResultPreparer(ctx)
	if err != nil {
		return result, autorest.NewErrorWithError(err, "services.WorkspacesClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
	}
	if req == nil {
		return
	}
	resp, err := client.ListByResourceGroupSender(req)
	if err != nil {
		result.Response = autorest.Response{Response: resp}
		return result, autorest.NewErrorWithError(err, "services.WorkspacesClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
	}
	result, err = client.ListByResourceGroupResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
	}
	return
}

// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, skiptoken string) (result WorkspaceListResultIterator, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListByResourceGroup")
		defer func() {
			sc := -1
			if result.Response().Response.Response != nil {
				sc = result.page.Response().Response.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	result.page, err = client.ListByResourceGroup(ctx, resourceGroupName, skiptoken)
	return
}

// ListBySubscription lists all the available machine learning workspaces under the specified subscription.
// Parameters:
// skiptoken - continuation token for pagination.
func (client WorkspacesClient) ListBySubscription(ctx context.Context, skiptoken string) (result WorkspaceListResultPage, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListBySubscription")
		defer func() {
			sc := -1
			if result.wlr.Response.Response != nil {
				sc = result.wlr.Response.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	result.fn = client.listBySubscriptionNextResults
	req, err := client.ListBySubscriptionPreparer(ctx, skiptoken)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListBySubscription", nil, "Failure preparing request")
		return
	}

	resp, err := client.ListBySubscriptionSender(req)
	if err != nil {
		result.wlr.Response = autorest.Response{Response: resp}
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListBySubscription", resp, "Failure sending request")
		return
	}

	result.wlr, err = client.ListBySubscriptionResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListBySubscription", resp, "Failure responding to request")
	}

	return
}

// ListBySubscriptionPreparer prepares the ListBySubscription request.
func (client WorkspacesClient) ListBySubscriptionPreparer(ctx context.Context, skiptoken string) (*http.Request, error) {
	pathParameters := map[string]interface{}{
		"subscriptionId": autorest.Encode("path", client.SubscriptionID),
	}

	const APIVersion = "2018-03-01-preview"
	queryParameters := map[string]interface{}{
		"api-version": APIVersion,
	}
	if len(skiptoken) > 0 {
		queryParameters["$skiptoken"] = autorest.Encode("query", skiptoken)
	}

	preparer := autorest.CreatePreparer(
		autorest.AsGet(),
		autorest.WithBaseURL(client.BaseURI),
		autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", pathParameters),
		autorest.WithQueryParameters(queryParameters))
	return preparer.Prepare((&http.Request{}).WithContext(ctx))
}

// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client, req,
		azure.DoRetryWithRegistration(client.Client))
}

// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
// closes the http.Response Body.
func (client WorkspacesClient) ListBySubscriptionResponder(resp *http.Response) (result WorkspaceListResult, err error) {
	err = autorest.Respond(
		resp,
		client.ByInspecting(),
		azure.WithErrorUnlessStatusCode(http.StatusOK),
		autorest.ByUnmarshallingJSON(&result),
		autorest.ByClosing())
	result.Response = autorest.Response{Response: resp}
	return
}

// listBySubscriptionNextResults retrieves the next set of results, if any.
func (client WorkspacesClient) listBySubscriptionNextResults(ctx context.Context, lastResults WorkspaceListResult) (result WorkspaceListResult, err error) {
	req, err := lastResults.workspaceListResultPreparer(ctx)
	if err != nil {
		return result, autorest.NewErrorWithError(err, "services.WorkspacesClient", "listBySubscriptionNextResults", nil, "Failure preparing next results request")
	}
	if req == nil {
		return
	}
	resp, err := client.ListBySubscriptionSender(req)
	if err != nil {
		result.Response = autorest.Response{Response: resp}
		return result, autorest.NewErrorWithError(err, "services.WorkspacesClient", "listBySubscriptionNextResults", resp, "Failure sending next results request")
	}
	result, err = client.ListBySubscriptionResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
	}
	return
}

// ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context, skiptoken string) (result WorkspaceListResultIterator, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListBySubscription")
		defer func() {
			sc := -1
			if result.Response().Response.Response != nil {
				sc = result.page.Response().Response.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	result.page, err = client.ListBySubscription(ctx, skiptoken)
	return
}

// ListKeys lists all the keys associated with this workspace. This includes keys for the storage account, app insights
// and password for container registry
// Parameters:
// resourceGroupName - name of the resource group in which workspace is located.
// workspaceName - name of Azure Machine Learning workspace.
func (client WorkspacesClient) ListKeys(ctx context.Context, resourceGroupName string, workspaceName string) (result ListWorkspaceKeysResult, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListKeys")
		defer func() {
			sc := -1
			if result.Response.Response != nil {
				sc = result.Response.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	req, err := client.ListKeysPreparer(ctx, resourceGroupName, workspaceName)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListKeys", nil, "Failure preparing request")
		return
	}

	resp, err := client.ListKeysSender(req)
	if err != nil {
		result.Response = autorest.Response{Response: resp}
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListKeys", resp, "Failure sending request")
		return
	}

	result, err = client.ListKeysResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ListKeys", resp, "Failure responding to request")
	}

	return
}

// ListKeysPreparer prepares the ListKeys request.
func (client WorkspacesClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
	pathParameters := map[string]interface{}{
		"resourceGroupName": autorest.Encode("path", resourceGroupName),
		"subscriptionId":    autorest.Encode("path", client.SubscriptionID),
		"workspaceName":     autorest.Encode("path", workspaceName),
	}

	const APIVersion = "2018-03-01-preview"
	queryParameters := map[string]interface{}{
		"api-version": APIVersion,
	}

	preparer := autorest.CreatePreparer(
		autorest.AsPost(),
		autorest.WithBaseURL(client.BaseURI),
		autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys", pathParameters),
		autorest.WithQueryParameters(queryParameters))
	return preparer.Prepare((&http.Request{}).WithContext(ctx))
}

// ListKeysSender sends the ListKeys request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) ListKeysSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client, req,
		azure.DoRetryWithRegistration(client.Client))
}

// ListKeysResponder handles the response to the ListKeys request. The method always
// closes the http.Response Body.
func (client WorkspacesClient) ListKeysResponder(resp *http.Response) (result ListWorkspaceKeysResult, err error) {
	err = autorest.Respond(
		resp,
		client.ByInspecting(),
		azure.WithErrorUnlessStatusCode(http.StatusOK),
		autorest.ByUnmarshallingJSON(&result),
		autorest.ByClosing())
	result.Response = autorest.Response{Response: resp}
	return
}

// ResyncKeys resync all the keys associated with this workspace. This includes keys for the storage account, app
// insights and password for container registry
// Parameters:
// resourceGroupName - name of the resource group in which workspace is located.
// workspaceName - name of Azure Machine Learning workspace.
func (client WorkspacesClient) ResyncKeys(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ResyncKeys")
		defer func() {
			sc := -1
			if result.Response != nil {
				sc = result.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	req, err := client.ResyncKeysPreparer(ctx, resourceGroupName, workspaceName)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ResyncKeys", nil, "Failure preparing request")
		return
	}

	resp, err := client.ResyncKeysSender(req)
	if err != nil {
		result.Response = resp
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ResyncKeys", resp, "Failure sending request")
		return
	}

	result, err = client.ResyncKeysResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "ResyncKeys", resp, "Failure responding to request")
	}

	return
}

// ResyncKeysPreparer prepares the ResyncKeys request.
func (client WorkspacesClient) ResyncKeysPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
	pathParameters := map[string]interface{}{
		"resourceGroupName": autorest.Encode("path", resourceGroupName),
		"subscriptionId":    autorest.Encode("path", client.SubscriptionID),
		"workspaceName":     autorest.Encode("path", workspaceName),
	}

	const APIVersion = "2018-03-01-preview"
	queryParameters := map[string]interface{}{
		"api-version": APIVersion,
	}

	preparer := autorest.CreatePreparer(
		autorest.AsPost(),
		autorest.WithBaseURL(client.BaseURI),
		autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", pathParameters),
		autorest.WithQueryParameters(queryParameters))
	return preparer.Prepare((&http.Request{}).WithContext(ctx))
}

// ResyncKeysSender sends the ResyncKeys request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) ResyncKeysSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client, req,
		azure.DoRetryWithRegistration(client.Client))
}

// ResyncKeysResponder handles the response to the ResyncKeys request. The method always
// closes the http.Response Body.
func (client WorkspacesClient) ResyncKeysResponder(resp *http.Response) (result autorest.Response, err error) {
	err = autorest.Respond(
		resp,
		client.ByInspecting(),
		azure.WithErrorUnlessStatusCode(http.StatusOK),
		autorest.ByClosing())
	result.Response = resp
	return
}

// Update updates a machine learning workspace with the specified parameters.
// Parameters:
// resourceGroupName - name of the resource group in which workspace is located.
// workspaceName - name of Azure Machine Learning workspace.
// parameters - the parameters for updating a machine learning workspace.
func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, parameters WorkspaceUpdateParameters) (result Workspace, err error) {
	if tracing.IsEnabled() {
		ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.Update")
		defer func() {
			sc := -1
			if result.Response.Response != nil {
				sc = result.Response.Response.StatusCode
			}
			tracing.EndSpan(ctx, sc, err)
		}()
	}
	req, err := client.UpdatePreparer(ctx, resourceGroupName, workspaceName, parameters)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Update", nil, "Failure preparing request")
		return
	}

	resp, err := client.UpdateSender(req)
	if err != nil {
		result.Response = autorest.Response{Response: resp}
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Update", resp, "Failure sending request")
		return
	}

	result, err = client.UpdateResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "services.WorkspacesClient", "Update", resp, "Failure responding to request")
	}

	return
}

// UpdatePreparer prepares the Update request.
func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters WorkspaceUpdateParameters) (*http.Request, error) {
	pathParameters := map[string]interface{}{
		"resourceGroupName": autorest.Encode("path", resourceGroupName),
		"subscriptionId":    autorest.Encode("path", client.SubscriptionID),
		"workspaceName":     autorest.Encode("path", workspaceName),
	}

	const APIVersion = "2018-03-01-preview"
	queryParameters := map[string]interface{}{
		"api-version": APIVersion,
	}

	preparer := autorest.CreatePreparer(
		autorest.AsContentType("application/json; charset=utf-8"),
		autorest.AsPatch(),
		autorest.WithBaseURL(client.BaseURI),
		autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", pathParameters),
		autorest.WithJSON(parameters),
		autorest.WithQueryParameters(queryParameters))
	return preparer.Prepare((&http.Request{}).WithContext(ctx))
}

// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) UpdateSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client, req,
		azure.DoRetryWithRegistration(client.Client))
}

// UpdateResponder handles the response to the Update request. The method always
// closes the http.Response Body.
func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error) {
	err = autorest.Respond(
		resp,
		client.ByInspecting(),
		azure.WithErrorUnlessStatusCode(http.StatusOK),
		autorest.ByUnmarshallingJSON(&result),
		autorest.ByClosing())
	result.Response = autorest.Response{Response: resp}
	return
}


Trump's secretary of state tells the Muslim world that Obama's policy produced dire consequences.
While President Donald Trump has spent much time and energy acting to undo what he considers to have been the damage done by his predecessor Barack Obama in both domestic and diplomatic affairs, he has just taken that campaign one step further.
Trump dispatched Secretary of State Mike Pompeo to the Middle East with the express objective of telling leaders in that part of the world that the Obama legacy was not only wrong, but is also being undone.
Trump acted most bluntly on the international stage against Obama in May with his announcement of the U.S. withdrawal from the Iran nuclear agreement reached in 2015 between Tehran and six world powers including the Obama administration. Not only did the previous president play a part in reaching this agreement, he considered it a bedrock of his approach to the Muslim world.
During the most recent U.S. presidential election campaign, Trump repeatedly referred to the nuclear agreement as "the worst deal ever," and he did not soften his approach after entering the White House in January 2017.
In sending Pompeo to the Middle East, Trump was taking the Obama legacy back to square one.
Square one was in Cairo. That's where a newly-elected President Obama spoke in 2009 to a university audience, but ultimately to the Muslim world, and in particular, the countries with which Washington did not have close ties. It was eight years after the 9-11 terror attacks, and the new president believed that the time was right to relay the message that Americans do not think that all Muslims are terrorists.
President Trump is not saying that all Muslims are terrorists, to the contrary. The president is exploiting the Iranian desire for greater hegemony and the fears that it instills in other Muslim countries to build up an alliance against Iran, a Muslim alliance that includes countries which have been as outspoken, if not even more opposed, to the Iran nuclear deal than Israel was.
Therefore, not coincidentally, Secretary Pompeo delivered a major address in his just-completed Middle East tour in Cairo, the same major Arab capital where Obama had spoken, though not at Cairo University, but at the American University auditorium.
In the 2019 rebuttal to 2009, Pompeo argued that Obama was guilty of seeing the United States "as a force for what ails the Middle East," and that the previous president's approach produced dire consequences. The current secretary of state was trying to say that the U.S. now is a leader and not a follower.
The top U.S. diplomat was able to make such pronouncements in a Muslim country because of those fears of Iran in countries like Egypt, just as President Trump was able to move the American Embassy to Jerusalem with barely a pin drop of condemnation from the Arab world because he had announced a withdrawal from the Iran nuclear deal a week earlier.
President Obama tried to embrace the Islamic world. President Trump has distinguished between the good guys and the bad guys, which he can do because these countries do the same thing among themselves.
President Trump had conducted his own summit early in his presidency in Riyadh, Saudi Arabia with the participation of 55 Arab and Muslim countries who not only believe in the division of good and bad in their world but also feel and fear the consequences of more extremist regimes in the region.
Though Saudi Arabia is a pivotal ally towards implementing the Trump approach to the region, it is also a problematic ally. The murder of journalist Jamal Khashoggi has put a spotlight on the awkwardness of the relationship. However, the relationship with Saudi Arabia, just like the break-off from the Iran deal, is seen as a good thing for Israel, as Riyadh and Jerusalem have also been working together, though unofficially, as a result of the threat which both feel from Iran.
At a time of such polarization in U.S. politics, many of the Trump moves in the Middle East, as in other spheres of his presidential policy, are applauded by his base and sharply criticized by his opponents. However, the message of this month's Pompeo mission could actually be summed up in an expression used by Nikki Haley, the just-departed U.S. Ambassador to the United Nations, who had declared that there was a "new sheriff in town" at the world body.
Pompeo has put the Middle East on notice that in the Muslim world, as well, there is a new sheriff in town.


text:
The latest news in Eastern Visayas region
Security guards lauds modernization of private security industry
DILG assures troops: Nation working as one for peace
Samar cops nab 6 wanted persons and 12 other offenders
First OTOP Hub in Region 8 sheds light to MSMEs disrupted by the pandemic
DTI grants more negosyo kits to MSMEs affected by calamities in Cebu
DAR links 14 farmer organizations in EV to institutional buyers
Bukidnon farmers receive DTI livelihood kits
Samar cops nab 4 wanted persons and 12 other offenders in a 7-day police operations
NMP facilities are ready for the offering of the RFPEW, BT and RBT.
3 NMP STCW courses gain MARINA approval
By National Maritime Polytechnic
TACLOBAN CITY – The accreditation of three (3) additional training courses of the National Maritime Polytechnic (NMP), the only government-owned maritime training and research institution with principal address located at Brgy. Cabalawan, Tacloban City, was recently renewed by the Maritime Industry Authority (MARINA).
As per formal letter received from MARINA on 10 August 2020, full course approval was granted to NMP's three (3) Standards of Training, Certification, and Watchkeeping for Seafarers (STCW) courses, namely: Ratings Forming Part of a watch in a Manned Engine-room or Designated to Perform Duties in a Periodically Unmanned Engine-room (RFPEW), Basic Training (BT), and Refresher Course on Basic Training (RBT), valid for three (3) years along with the accreditation of instructors, assessors and supervisors who will be handling the said courses, effective upon payment of course approval fees.
The said approval was a result of NMP's submission of course packages of said courses to the MARINA Central Office on 21 February 2020, aligned with MARINA STCW Advisory No. 2019-05 re: Clarifications and Supplemental Guidelines on the Implementation of STCW Circular No. 2018-02 entitled "Standards for Mandatory Training Courses Under the STCW Convention, 1978, as Amended" and the re-inspection conducted by MARINA last 24-28 February 2020.
During the 3-year period, announced and unannounced visits will be made by MARINA STCW Office or its duly authorized representatives to ascertain NMP's compliance with the MARINA's rules and regulations.
Moreover, the records of implementation of corrective actions for audit results both internal and external, records of review and validation of the courses including the assessment and statistical record of trainees enrolled / certificated must be made available during the conduct of monitoring.
Finalization of the schedules for the conduct of the said courses is underway, which will be published in the NMP website @ www.nmp.gov.ph and Facebook page (www.facebook.com/nmptrainingcenter) where all updates and relevant information on NMP programs are also available.
"Despite this unprecedented emergency brought by COVID-19, NMP will strive to continue the conduct of its training operations and provide services to the Filipino seafarers who are globally recognized as essential workers. We are targeting that these courses be offered on the 1st week of September 2020", Executive Director Joel B. Maglunsod disclosed during the NMP flag raising ceremony held on 24 August 2020.
Meanwhile, in its effort to sustain its mandate in providing quality service through upgrading and specialized training programs, NMP continues to maintain and upgrade its facilities and its pool of competent instructors.
Interested stakeholders who wish to validate the authenticity of their seafarers-employed with NMP issued certificates may visit www.verify.nmp.gov.ph. Likewise, those interested in NMP research undertakings may visit the NMP website and access the e-Research Information System Portal which is designed to disseminate NMP completed researches, present the Research Agenda, and engage the industry stakeholders to collaborate in the research activities.
Further, NMP encourages OWWA registered seafarers to avail of the NMP-OWWA (Overseas Workers Welfare Administration) Seafarers' Upgrading Program (SUP) and Skills for Employment Scholarship Program (SESP) which entitles the beneficiary to receive financial assistance for training costs from the OWWA.

redpajama_set_name: RedPajamaCommonCrawl


text:
Q: can't set french characters from java program in mysql I want to add a few french sentences in a db.
I do this from a java program linked with my db.
Everything works fine except when I use this token '.
From then I get an error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'allié de vos biceps.  Résiste à une charge maxi de 160kg. S'utilise avec les dis' at line 1
this is the text i want to add in the db:
Conçu pour la musculation des bras : biceps et triceps. Barre filetée pour sécuriser votre pratique. L'allié de vos biceps.  Résiste à une charge maxi de 160kg. S'utilise avec les disques diamètre 28mm. Poids de la barre 6.5kg.
can somebody help?

A: You have to use prepared statements. You're creating wrong syntax by not doing so. Your code looks now like this:
String query = "INSERT INTO ... ('" + input + "');";

But if input contains a ', you create a query like this for example:
INSERT INTO ... VALUES ('L'allié vos');

which is of course not good. To fix this, take a look into Prepared Statements, simply Google it.

redpajama_set_name: RedPajamaStackExchange


text:
Born in Kuala Lumpur, Chan Ling Yap was educated in Malaysia and subsequently in England where she obtained a PhD in Economics. She lectured at the University of Malaya before joining the United Nations Food and Agriculture Organization in Rome, where she worked for nearly two decades. She now lives in the UK with her husband and two grown-up children.
A widely published author of various textbooks and technical papers, her foray into fiction. Sweet Offerings, her first novel was highly praised for its beautiful evocation of Asia. Bitter-Sweet Harvest, her second novel, has been nominated for the Popular Readers Choice Award 2012 in Malaysia/Singapore and listed as "one of four books you won't want to put down" by Cosmopolitan, Singapore. New Beginnings, a historical fiction, set in the mid 1800s in China and Malaya, is her third novel.
For more information, visit: www.chanlingyap.com
Sweet Offerings
USD14.09eBook: USD2.99
Author: Yap Chan Ling
Bitter-Sweet Harvest
New Beginnings won first prize for Fiction (the Readers' Popular Choice Award) in 2014 at the Book Festival in Malaysia.
A Flash of Water
USD18.49eBook: USD15.99
Where the Sunrise is Red
Fusion Fitness: Combining the Best from East and West
USD18.09 / USD 12.21


text:
Overcoming Difficulties in D.C.
School administrators at Cardozo Education Campus help students who come from difficult backgrounds
Shelley Callahan | April 8, 2021 En Español
Washington D.C. boasts some of the highest rents in the country and is home to many wealthy Americans. Yet, for many families, food security and affordable housing are constant issues. In areas where our affiliated project is located, there are often more convenience stores than grocery stores with healthy food items. In terms of housing, rent in D.C. tends to be higher than the national average. A family is considered rent overburdened when they pay more than 30% of their gross income on rent, and 46% of the households that rent are overburdened in Washington. For these reasons, support from Children Incorporated, and our sponsors, is crucial to children living in poverty.
Our partner in D.C.
In Washington, D.C., Children Incorporated is affiliated with an outstanding implementing partner, Communities In Schools (CIS).
"CIS is a national organization whose focus is building relationships that empower at-risk students to stay in school and become achievers, not just academically but also in life," explains our Director of U.S. Programs, Renée Kube.
"The Communities In School's mission is complementary to our mission, and our collaboration has been a natural and successful fit. The CIS site coordinators around the United States serve as Children Incorporated's volunteer coordinators."
"Our coordinators in D.C. often tell me about how the support is greatly needed and valued by the students and administrators, and in fact, all of our programs — sponsorship, Hope In Action, and our Higher Education Fund — are making a difference in the lives of the children and their families in our nation's capital," said Renée.
"Starting in the 2019-2020 School Year, Communities In Schools of our Nation's Capital has worked with D.C. Public Schools in an initiative called 'Connected Schools.' This is based on an effective program in Philadelphia. The goal is to accelerate better outcomes for students who are furthest from opportunities. Ten schools were identified to become Resource Hubs in their communities to meet the students' and families' needs both inside and outside the classroom."
"There is better recognition by DCPS that academic success and student well-being do not happen in a vacuum. Students who are homeless and hungry will not spend much time studying their spelling words or times tables. This is obviously what Children Incorporated is all about, too, and our partnership is truly appreciated in this new, greater effort," said Renée.
Visiting Cardozo
As a part of their yearly visits to meet with our volunteer coordinators, Renée, along with U.S. Sponsorship Specialist Shelley Oxenham, visited the Cardozo Education Campus — one of four of our affiliated projects in Washington D.C.
Monique show Renée and Shelley her supply closet where she keeps items for our sponsored children.
"We were warmly escorted to the school by the Communities In Schools Director of Programs & Data, Sully Washington. Sully told us how much she values the partnership with Children Incorporated, which has meant so much to the students," said Renée.
"Cardozo is located in the Columbia Heights neighborhood of Ward 1. The building is an old, historic high school building. It houses a regular 6th — 12th-grade school and a parallel International Academy for the large population of English language learners."
"This school is the most diverse of our D.C. sites. Its 746 students are 51% Hispanic/Latino, 46% black, 2% Asian, and 1% white. A very high 44% are English language learners. A sobering 100% come from economically disadvantaged households. It's also interesting that only 37% come from within the neighborhood. The other 63% come from outside the boundary," explained Renée.
As they continued their meeting, Renée could tell that through Sully's description of his work, the school's officials were committed to helping the children in any way they could. Sully explained to Renée and Shelley that in addition to the International Academy, there is also a 9th Grade Academy to aid the transition to high school, and a STEM Academy. The school offers AP classes, a night school for credit recovery, Air Force JROTC, indoor and outdoor sports, and numerous arts and cultural clubs.
Meeting our coordinators
After their meeting, Sully introduced Shelley and Renee to the Communities in Schools Team, who all work together to support our sponsored children in D.C.: Monique, Diogenes, and Fabi.
"We had a great conversation with the CIS coordinators. They shared that a lot of the kids need help with their education. Nearby Howard University has provided tutors for after-school efforts. They also told us that the mix of students' backgrounds has sometimes collided into misunderstandings, tensions, arguments, and fights. Due to this, Cardozo's principal instituted a unity program called 'One Cardozo,' with a variety of activities and mediations to help. Our coordinators said things have gotten much better in this regard," said Renée.
"For all of our sponsored children, homeless or not, Children Incorporated's goal is to provide funds to help with materials and supplies that support their health, well-being, and education, so they stay in school, achieve their diplomas, and have hope for a brighter future," said Renée.
"Monique, Dio, and Fabi shared that the students have many personal challenges that often mean their studies get put on the back burner. There is a high percentage of homeless students. They bounce from sleeping at shelters, to couch surfing at friends' houses, to staying for a night here and there with a relative. Some have slept in cars for weeks at a time. Some are with a parent, and some, sadly, are all by themselves. It is hard for them to keep up with their clothes and meager personal possessions, which they must usually store in trash bags. They cannot leave these items behind at the shelter."
"Sponsorship and Hope In Action Program funds that our organization provides goes towards providing food, hygiene supplies, air mattresses and bedding, and laundry detergent. The kids are very embarrassed when their uniforms are no longer clean, and the laundry aid helps them feel neat and proud of their appearance and supports their regular attendance in school."
How do I sponsor a child in Washington, D.C.?
You can sponsor a child in Washington, D.C. in one of three ways: call our office at 1-800-538-5381 and speak with one of our staff members; email us at sponsorship@children-inc.org; or go online to our sponsorship portal, create an account, and search for a child in Washington D.C. that is available for sponsorship.
April 8, 2021 Education, Stories of Hope, Washington, Washington, D.C.
written by Shelley Callahan
Shelley is the Director of Development for Children Incorporated. She is also the lead social correspondent, regularly contributing insights through the Stories of Hope blog series. Sign up for Stories of Hope to receive weekly email updates about how your donations are changing the lives of children in need.
» more of Shelley's stories
More Stories of Hope
Communities In Schools – in the Schools of Our Nation's Capital
Our partnership with Communities In Schools in Washington, D.C. is a perfect match
Fruits and Vegetables Blossom in the Middle of a Food Desert
In Washington, D.C., schools are stepping up to provide fresh produce to students
Making a Difference in D.C.
A former program manager with Communities In Schools describes the impact of our program in Washington, D.C.


text:
Resources for Change
Peace, Justice & Freedom
About Resources for Change…
The September Portland Alliance!
Checkout the September Alliance! www.ThePortlandAlliance.org/2014/September
War, Nicaragua, ISIS,
Mike Brown, Militarization,
Cascade Media Convergence,
Gaza, Kathy Kelly, Poetry,
The Middle East, War, Peace,
Vietnam, Police Reform and More!
FORWARD 13:
WAKING UP THE AMERICAN DREAM
This movie provides a fresh, personal perspective on the mortgage crisis and its ties to big business. And while the road to recovery is long and difficult, there are clear, sustainable methods for reviving
the American Dream. ThePortlandAlliance.org/forward13
There will be a FREE Screening on Thursday, September 4th, at
2522 SE Clinton St, Portland, OR 97202 for free beginning at 7p.
Fall Conversion from War to Peace:
Thursday, Sept. 4, 7 PM, First Congregational Church 1126 SW Park Ave
Echoes of the Vietnam War Featuring Christian Appy, University of Massachusetts Amherst;Daniel Ellsberg, who released The Pentagon Papers; and Lt. Colonel Thuy Tran, Oregon Air National Guard.
Saturday, Sept. 6, 12 PM,, Portland State University, Smith Memorial Student Union, Rm 296/ In The Face of Repression, Organizing in spite of the Surveillance State a day of workshops, history lessons, strategy sessions and solidarity
Find out details on above and much more at the NW Alliance Community Calendar
http://www.ThePortlandAlliance.org/communitycalendar
http://www.ThePortlandAlliance.org/ISIS
Rise of ISIS Highlights Irony of U.S. Foreign Policy
By Stephen Zunes
ww.ThePortlandAlliance.org
Cascade Media Convergence:
http://www.ThePortlandAllinace.org/CMC
Sept 19-21, 2014
ThePortlandAlliance.org/mikebrown
thepeaceresource.wordpress.com/2014/08/19/heartless-the-mike-brown-murder/
www.ThePortlandAllinace.org/CMC
The B Media Collective Portal
http://www.ThePortlandAlliance.org/bmediacollective
Full Transparency Still Missing:
What The Ferguson Police Have (and have not)
Revealed About Mike Brown's Shooting
ThePortlandAlliance.org/aclu
Ferguson is still hiding information
about the fatal shooting of Michael Brown.
It is long past time for the Ferguson Police Department to begin building public trust
and the first step is to release
a complete copy of the incident
http://www.ThePortlandAlliance.org/kathykelly
A Teacher in Kabula
by Kathy Kelly
Here in Kabul, one of my finest friends is Zekerullah, who has gone back to school in the 8th grade although he is an18-year old young man who has already had to learn far too many of life's harsh lessons.
Years ago and miles from here, when he was a child in the province of Bamiyan, and before he ran away from school, Zekerullah led a double life, earning income for his family each night as a construction crew laborer, and then attempting to attend school in the daytime. In between these tasks the need to provide his family with fuel would sometimes drive him on six-hour treks up the mountainside, leading a donkey on which to load bags of scrub brush and twigs for the trip back down. His greatest childhood fear was of that donkey taking one disastrous wrong step with its load on the difficult mountainside.
And then, after reaching home weary and sleep-deprived and with no chance of doing homework, he would, at times, go to school without having done his homework, knowing that he would certainly be beaten. When he was in seventh grade, his teacher punished him by adding 10 more blows each day he came to school without his homework, so that eventually he was hit 60 times in one day. Dreading the next day when the number would rise to 70, he ran away from that school and never returned.
Now Zekerullah is enrolled in another school, this time in Kabul, where teachers still beat the students. But Zekerullah can now claim to have learned much more, in some cases, than his teachers.
Much to the surprise of his environmental studies teacher, Zekerullah has a strong grasp of issues related to the environment. For the past two years, living with the Afghan Peace Volunteers, he has occupied himself with presentations and conversations about global warming, climate change, and environmental degradation. He cares deeply about the issue.
Last winter, I was with him as he watched the entire BBC Blue Planet series of videos, and realized that he hungers for more information and deepened understanding about issues hitting far beyond his own beleaguered country.
ThePortlandAlliance.org/poetry/September2014Poetry
Before Michael Brown's Funeral – A Poem by Christopher D. Sims
Collective punishment and targeting civilians are prohibited under international law. Further, the U.S. Leahy Law bars the U.S. from funding foreign military units and individuals where there is credible evidence that they took part in gross violations of human rights.
ThePortlandAlliance.org/middleeast
Please contact the White House and your representatives to protest the U.S. government's continued support for Israel during an onslaught that has already killed hundreds of civilians, and to which there is no end in sight. Demand immediate enforcement of the Leahy Law in response to all reports of human rights violations, including war crimes, by the Israeli military in Gaza.
Thank you for taking action.
Tim Flanagan, Associate editor at The Alliance
http://www.ThePortlandAlliance.org/ccr
Besieged Gaza – Occupied Palestine: Since June 12, 2014, Israel has launched a heinous attack against both Gaza and the West Bank. It has so far conducted more than 100 airstrikes against civilian targets in Gaza. Nine Palestinian civilians, including three women and two children, were wounded by shrapnel, and three civilians, including two children, were injured by the flying glass. Moreover, three civilians sustained bruises. Besides, a chicken barn, greenhouses, a country house, two barracks for fodders and sheep were destroyed, and 3000 chicks died. Israeli naval forces continue to target Palestinian fishermen in the Gaza waters. Therefore, Israel further aggravates the situation for Palestinians in Gaza, which has been under a brutal military siege for more than seven years and still going on.
thewordsmithcollection.wordpress.com/2014/08/01/end-killings-and-obey-the-rule-of-law/
Commentary by
Nancy Weaver…
"See this!
We're doing this to ourselves.
It is madness. Mass incarceration.
Militarized police. Guns for anyone.
Even 9 year- old girls. We're insane.
http://www.ThePortlandAlliance.org/nancyweaver
To all Members and Supporters of Vietnam Veterans Against the War:
It's that time again!
The next issue of VVAW's *THE VETERAN*
is due to be published in time for *VETERANS DAY.*
Thus issue we would specifically like articles on:
1) *How to fix the VA* – Give us your experiences – How have they changed over the years? Based on your use of the VA, how would you change it?
2) *Nixon's Resignation – 40 Years Later* – VVAW members thoughts and reflections on Nixon – favorite anti-Nixon actions and stories – we know there's lots of them – Let's hear em.
Alliance Portal for Veterans for Peace
http://www.ThePortlandAlliance.org/vfp
A Portal at The Portland Alliance
ThePortlandAlliance.org/alliancefordemocracy
David e. Delk, President,
Alliance for Democracy – Portland
| 503.232.5495 |
Alliance for Democracy www.afd-pdx.org
The Opinion Pages | Op-Ed Columnist
A Funeral in Ferguson
Two weeks after the killing of Michael Brown, we have become painfully familiar with his parents through their public appearances and television interviews, their faces drawn, their sorrow apparent.
Brown's mother, Lesley McSpadden, constantly dabbing tears from her face, sparing in her responses, but powerfully articulating her agony with the words she chooses. Brown's father, Michael Brown Sr., with shaved head and full beard, a large man often clad in a T-shirt emblazoned with the phrase "No Justice, No Peace" and a baby picture of his son. The senior Brown is stoic, resolute in his speech, but even in the power of his presence there is the certainness that a hollow space has been made.
See the rest of the story!…
The NW Alliance Portal
to the NY Times!
http://www.ThePortlandAlliance.org/nytpa
|About Us | Subscribe | Contact Submission info | Volunteer
ThePortlandAlliance.org/police
PDX Police Updates
Speaking Truth to Power Since 1981
This entry was posted on September 4, 2014 by ThePeaceresource.com in free palestine, freedom, gaza, justice, middle east, organize, peace, solidarity, violence, war and tagged education, justice freedom, peace, real news, social change, solidarity, war.
https://wp.me/p4AhHb-x
Change is needed…
Stein says Legal marijuana makes sense!
Jill Stein: Doctor and President
Keeping our eyes on the prize…
The Stubborn Myth: American Exceptionalism
There are more of us… on History Speaks Volumes……
free palestine
2228 West Kent Avenue
Follow Resources for Change on WordPress.com


text:
Fighting privatization of education: Thousands of students march against for-profit education model.
14.07.2011 - Santiago - Latinamerica Press
Over 100,000 high school and university students and teachers have been protesting throughout Chile since mid-June demanding reforms to the country's education system.
To calm the demonstrations, President Sebastián Piñera announced on July 5 a US$4 billion-plan, financed using income from the copper mining industry that, he says, will make schools more efficient, affordable and competitive.
But critics want a definitive end to a system they say favors only the wealthiest districts. During the 1973-90 military dictatorship of Augusto Pinochet, administration of schools was passed on to municipal governments instead of the central government, stripping the latter of its role in ensuring education for the lowest-income areas.
According to economist Roberto Pizarro, students whose parents can afford high-cost private schools go to the top universities, while municipally-run schools see many of their students in lower-quality universities. Additionally, the price tag for private universities has forced many students to take out high-interest loans, which they often cannot pay after they graduate.
Piñera said the fund will increase scholarships by 70 percent and create a higher education office to monitor university quality and financing.
Camila Vallejo, leader of the Federation of Chilean Students, said the plan "is more of the same, with a few more pesos."
"They are going to let the universities make money," she said. "That's nothing more than a setback."
Vallejo said the protests will continue until the government answers their demands.
"There are non-negotiable demands here," she said.
The demonstrations are another sign of growing opposition against Piñera and his policies. Tens of thousands marched throughout Chile in recent months against the massive hydroelectric project HydroAysén, in southern Chile. His popularity has a 65% disapproval rating, according to recent polls.
*—Latinamerica Press.*
Categories: Politics, South America
Latinamerica Press
Number of Entries : 13


text:
Aziz Jindani | Studios Life Is Better with Fox Renderfarm
Fox Renderfarm News | Top News | Trending | Fox Talk
The much awaited and biggest Pakistan's and Talisman's first animated film - 'The Donkey King' will be released today, which will hit box office across Pakistan. Director Aziz Jindani and others attended the grand ceremony of The Donkey King. Aziz Jindani succeeded in giving a great gift to viewers and fans in shape of The Donkey King. And marketing and promotions have been unprecedented for any movie to have come out from Pakistan. Fox Renderfarm specially interviewed with him for the production story of The Donkey King.
A roller coaster comedy film for all ages with a crisp run time of 105 minutes. Language is Urdu / Hindi with subtitles in English and Arabic. This is the story of Mangu, a happy go lucky, dreamer donkey. In his quest to realize his dreams and transcend his being, Mangu accidentally ends up as the "popular choice" to be the King of Azad Nagar. Little did he know that he was a mere pawn in the machivallaious design of Ms. Fitna (a fox) who had her ulterior motives to dethrone the Lion and prevent heir apparent from succeeding him. Will Mangu rise to be the king he had promised to be or will he resign to being a puppet? Will Fitna succeed in realizing her ulterior goals? Will Azad Nagar ever recover from this chaos?
Aziz Jindani – Co-Producer & Director
A global brand builder with +17 years experience at Procter & Gamble across Pakistan, USA, Singapore, Kenya, and UAE.The architect of the Commander Safeguard animated series, a branded entertainment property designed to promote the importance of hand washing among children. This is the longest running and most popular local animated series in Pakistan and has also been re-applied across China, Philippines, Russia, Nigeria, Mexico, and the Arabian Peninsula. Commander Safeguard is featured as a case study on marketing to Low-income consumers in 5th Edition of Advertising and Integrated Brand Promotion by Chris Allen and Thomas Guinn (University of Cincinnati, Montana University and University of Wisconsin). Aziz has furthered his passion for animation by establishing Talisman Animation Studios, a storytelling company with the objective to create original Pakistani IP content. The Donkey King movie is the first property to come out of this endeavor.
Interview with Aziz Jindani
1. Please tell us something about yourself, what do you do and what film projects have you participated?
I am a career brand builder with over 18 years of experience at Procter & Gamble, working across USA, Singapore, Kenya, Dubai, and Karachi. During this time I happen to lead the client team that created an animated superhero property for a leading anti-bacterial soap brand (Safeguard / sold under the trademark of Shu Fu chiya in China). This superhero character achieved cult status in Pakistan and has been reapplied in various parts of the world including China. More recently, I have given up my P&G job and set up a content creation company in Pakistan by the name of Talisman Animation Studios and our first project is this film called The Donkey King.
2. Can you briefly introduce The Donkey King?
The Donkey king is an animated family comedy for children and children at heart. It's a story of Mangu, a dreamer, happy go lucky donkey. The story traces Mangu's extraordinary journey from a small town dhobhi ghat to a royal palace during which he rises, falls and then rises again to prove to the world that he may be born a donkey, but is not one. In a nutshell, Donkey King is an allegorical story of the triumph of an underdog. The core objective of the film is to inspire children and adults alike to reach their full potential, regardless of the skills and talents they are born with.The film has an ensemble voice cast including some of the top names from Pakistan film industry. These include Jan Rambo, Hina Dilpazir, Jawed Sheikh, Ghulam Mohiuddin, Ismail Tara, Shabbir Jan, Irfan Khoosat, Ahsan Rahim, Adeel Hashmi and Faisal Qureshi amongst others. The music score is done by Shani Arshad and songs are composed by Asrar, Shuja Haider and Shani. Direction, Story & Screenplay is by Aziz Jindani, former Global Business Unit head Procter & Gamble and architect of proven, successful iconic Commander Safeguard Animation Series.
3. Is it your own IP? How it was generated before making it into the animated film?
Yes. 100% original IP. It was developed over a period of 12-18 months before we embarked on production with extensive and iterative concept development exercise.
4. How long it took to finish the whole production? Any complicated scenes or technical barrier during the project? How you manage it?
All in all, it took us about 2.5 years to finish the film from start to finish. The climax sequence (6 mins of the thrilling chase) was the most difficult one to execute. The biggest technical barrier was the slow rendering time locally due to a fur-based character and limited render capacity in-house. That is where Fox came in.
5. Before using Fox Renderfarm, how you solve your rendering? Any big differences?
As said earlier, we were rendering in-house but were constrained by available nodes and high render time/frame due to fur based characters. The biggest difference between in-house and Fox is speed and reliability. Our speed shot up almost 5 times and there were seldom any issues with the output. It was a great enabler to complete the project on time.
6. How do you think of Fox Renderfarm? Any comment?
I think of Fox as a savior for small production houses with big ambitions, like us. The cloud rendering solution is both affordable and reliable supported by some of the most collaborative team.
7. It's going to be released very soon, what do you want to say to the audience?
Well, what can I say? I'd just like each and everyone to see this film because it has a relevant story that appeals to children and children at heart and is made by a bunch of crazy people at Talisman Studios who have refused to grow up.


text:
Morning Scan
Citi names new accounting chief; commercial mortgage collateral dwindles
By George Yacik September 28, 2020, 7:55 a.m. EDT 3 Min Read
Receiving Wide Coverage ...
Commerzbank named Manfred Knof, "head of rival Deutsche Bank's private bank in Germany, as its new chief executive, putting a banking- and insurance-industry veteran in charge of likely deeper cost cuts at the German lender," the Wall Street Journal reported. "Mr. Knof, who will take over in January, will succeed current CEO Martin Zielke, who resigned along with Commerzbank's chairman in July after acknowledging he had failed to sufficiently turn around the bank."
Knof's nomination as Commerzbank's CEO "paves the way for an overhaul that could close hundreds of branches and shrink its foreign operations, though any major changes may still take months to formalize," Reuters said.
"Leadership will need to digitize and standardize processes to cut costs. Thousands of the bank's nearly 48,000 jobs are on the line. The lender is considering slashing its network of 800 branches, following the recent closure of 200. A further cull to the bank's already slimmed-down international operations is also on the agenda."
Switching teams
Citigroup named Johnbull Okpara, global head of financial planning and analysis and CFO of the infrastructure groups at Morgan Stanley, as its new controller and chief accounting officer. He succeeds Jeff Walsh, who came out of retirement to serve in the role on an interim basis.
Okpara, who was deputy controller at Capital One before joining Morgan Stanley in 2016, said he will join Citi after he is released "from certain commitments to his current employer."
Two former Deutsche Bank employees were found guilty by a federal jury in Chicago Friday of manipulating precious-metals prices, "boosting prosecutors' efforts to punish traders for conduct that has cost banks millions of dollars in civil and criminal fines. The verdict represents prosecutors' second win in trials over conduct known as spoofing, a rapid-fire manipulation tactic that involves sophisticated detective work to expose."
"Companies including Deutsche Bank and Bank of America have collectively paid hundreds of millions of dollars in fines over spoofing claims. With Friday's outcome, three traders have now been convicted of spoofing-related crimes. Another trader was acquitted, and another trial ended in a hung jury."
Citigroup's Jane Fraser may have "cracked the glass ceiling" when she was named "the first woman CEO of a major Wall Street bank," but Maggie Lena Walker "first battered down the walls. The daughter of a former slave, Walker became the first Black woman ever to head a U.S. bank when she founded the St. Luke Penny Savings Bank in Richmond, Va., in 1903. Walker zeroed in on an underserved market and focused her prodigious energy on meeting its needs. But her story is all the more remarkable because it played out on a stage of such intense bigotry."
"She called for St. Luke to create a department store and a newspaper—but, above all, a bank. That, she believed, was the way to uplift Black women. 'Let us put our moneys together; let us use our moneys; let us put our money out…and reap the benefit ourselves,' she said. 'Let us have a bank that will take the nickels and turn them into dollars.'"
"Commercial properties hit by the economic effects of coronavirus could have lost as much as one-quarter of their value or more, laying bare the scale of the damage being wrought across American malls, hotels and other commercial buildings. Evidence emerging in the commercial mortgage-backed securities (CMBS) market from recent appraisals also raises questions over the value of the collateral backing commercial mortgages throughout the financial system."
"Properties that have gotten into trouble are being written down by 27% on average, data from Wells Fargo shows. Recent examples show hotels being especially hard hit, given the collapse in tourism and business travel."
George Yacik


Wayne is a 3 1/2 year old guinea pig who was returned to our rescue after living in his home for over 3 years. He was born at our rescue so I'm sure of his age.
Both of Wayne's eye were very large and he was somewhat bony, even though he weighs over 1300 grams (he's not a cuy, at least his mom wasn't).
I took Wayne to the vet yesterday and found out that he has glaucoma in both eyes. It's bad enough that the lens of his eyes has fallen off and are sitting at the bottom of the eyeball. It was very strange - with a special instrument, you could see the lens sitting at the bottom of the eye.
Anyway, our vet has recommended double enucleation, because the pressure in the eye can be quite painful. With the lens having already fallen off, he can't see well anyway, if at all. We're guessing that the pain may have caused him not to eat well, causing his bony condition.
So, I'm concerned about the quality of life for a piggy with no eyes. We've recently paired Wayne with Maxwell, a very gentle 5 1/2 pound cuy male who seems to know something isn't right with Wayne. Maxwell hangs out right next to Wayne and is so sweet to him.
Do piggies get around fairly well when blind, when they've been able to see most of their lives?
I'm trying to figure out now how to set up his cage to make things the easiest for him when he loses his eyes. I'm wondering about removing huts etc and using fleece forests to hide in?
DO blind guinea pigs do better with a water bowl instead of a water bottle? What about hay - should it just go on the floor instead of a rack?
If anyone has any advice about getting the procedure done or how to set up a cage to make things easiest, I'd love to hear them.
When the owner returned Wayne to me, she assured me that Wayne was healthy and hadn't had any problems his whole life. Sigh.
From what I understand, they usually do quite well. There are different theories on whether to put food and things in familiar places or have them look more for food. I hear some companion pigs become "seeing eye" pigs for one who is not doing well. So just for getting around, I would not worry too much. Jacqueline will have some advice for you.
I take it there is nothing that can otherwise be done for the glaucoma?
Pigs rely more on scent than sight anyway, right?
My vet is usually pretty conservative when it comes to surgeries. He was pretty quick to say this time that surgery is what is needed. The pressure in the eye is pretty uncomfortable.
I've heard piggie's eyesight isn't real good anyway. I know some of our piggies can smell home-grown veggies entering the room long before they can see them. And these veggies aren't in plastic bags that are making noise.
But still - a little eyesight is better than none. But I think it is affecting the rest of his health because he's somewhat thin.
I've have two piggies who were either completely blind or pretty much blind and they both did okay.
I also has one that had an eye removed and he did okay.
I tried to leave things in the places they usually were, and tried not to have anything they could hurt themselves on if they bumped into them, but their hideys and stuff got moved around, either by themselves or their cage mates, and they managed to find them okay.
Like LS said they rely more on scent. There were times I was certain they were looking at me, but it was just them raising their noses and sniffing for food.
As I understand it, they rely much more on hearing and scent than on eyesight.
From everything I've read and heard, he'll be fine. He'll actually feel much better; I strongly suspect he's eating less because of the pain.
Do you have any pain med you can give him until his surgery?
The advice I have always heard is to leave things in the same place. Leave water bottles, hides, food dishes, hay piles in the same places, and put them back in the same places after a cage clean. No ramps.
If Maxwell gets along well with him, Maxwell will be an enormous help. That's the best thing Wayne has going for him, is a good buddy.
Try an experiment for yourself. Tie something around your eyes, something fairly thick that blocks out light. Then, just listen.
It'll take a little while, but you'll be surprised at how much you can tell about your surroundings (especially since you know what the room looks like) from hearing and smell. And we can't hear or smell anywhere near as well as guinea pigs can.
The photo is of Wayne's eye before the surgery. The size of his eyes is what caused me to take him to the vet.
Wayne had surgery to remove both eyes yesterday. He seems to be recovering well. When I put him back into his cage yesterday, he walked right over to his buddy, Maxwell, and laid near him. I gave them both veggies and Wayne started eating right away.
Today he seems to be getting around ok. He's still eating well. It's so good to see him doing ok as I was real worried about this surgery. I don't usually stress about whether or not to do a surgery if my vet recommends it but then one I was stressing about. I had another piggy get an eye removed yesterday too - but this one was due to an abscess behind the eye. So it was a tough day.
I certainly understand your concern with the eyes. They must have been very painful. I think you've given permission to add your photos so I will add this one too. I hope recovery goes well for both of them.
Yes - you have permission.
Aw, that's so nice that Wayne has a buddy to help him through recovery. Hope he feels better soon.
Wayne was using the water bottle last night so that was great to see. I put A bowl of water in just in case he couldn't find the water bottle bottle spout but it looks like I didn't need to worry.
They seem to do pretty well, especially when they have a seeing-eye buddy. Best to him, and to your other pigs too.
That eye pic is frightening. Lynx, can that be put in the Records forum somewhere? That's valuable information, because while I have a rough idea of what glaucoma is, that photo graphically shows what it can look like.
The eye page links to the Records thread.
Excellent, thank you! Looks great.
Also that is very cool that the ABVO page links to our eye page!
I had a completely blind pig, who did very well, I just always set up the cage in the same way. Ditto on the seeing buddy - Lew had Mouse as a seeing eye pig, and they were very bonded.
His eyes were kind of creepy. I didn't know that glaucoma caused an increase in the size of the eye. I took him to the vet because of the big eyes. I felt a bit silly but my instincts were right. Wayne was also thin so I thought there must be something bothering him.
I just saw the link to the eye cage. That's pretty cool. I couldn't find much information on glaucoma which is one reason I'm trying to post about Wayne's progress.
People always want to know how well enucleation goes too. I know it is often/usually successful but two members were unable to clear an infection postop.
What causes the eyes to become enlarged like that? It's an excellent photo.
And very good news that the surgery was successful!
Glaucoma. Abnormally high pressure in the fluid inside the eye makes it bulge and enlarge like that.


Designed with the fashionable bride in mind, Suzanne Harward's Neo-Victorian collection channels the demure femininity of a bygone era and pays homage to a time when impeccable finish and detailing were pervaded with pure imagination to create garments of incomparable beauty and extreme elegance.
Shot by international fashion photographer Sam Bisso, styled by Emily Ward with hair and make up by Kylie O'Toole, the energy on this shoot was filled with pure creativity and technical expertise.
The campaign expresses the dualities of the Suzanne Harward bride through the use of white and black garments. Moments of stillness capture her independent, pioneering spirit and a slightly unraveled beauty. She is wild and free yet she always remains refined and elegant. She knows what she wants.
Neo-Victorian is available online now with free shipping worldwide on gown purchases.


Grit Daily is the top source for news coverage on brands, fashion, tech, influencers, entrepreneurship, and life. Based in New York City our team is global and brings with it over 250 years of combined reporting experience.
If you don't like how we measure that, then sum up the individual reporting experience at our team. You'll just end up with a higher number, validating ours above.
Now we look reasonable all of a sudden, don't we?
Although "conceived" recently, Grit Daily began on a humble egg (no pun intended) and dairy farm where life was basically sh*t and we walked two miles to get to school. At school, we ate Wonderbread bread ends that our classmates left over and didn't want. On the farm, when the hens grew too old to lay eggs or the roosters proved useless (read: unable to f*ck) or otherwise some adult figure got annoyed at one of them, that bird made its way onto our plates.
At one point the matriarch of that farm threw a nephew, age eight, out of a second story window and developed a stutter. That nephew was Brent Baker, who would go on to pen And That's The Way It Isn't, a run away 1980s bestseller.
Not too much later, Grit Daily's executive editor, Jordan French, found himself entangled in a lawsuit to get returned to him a good sum of money stolen by a pair of unruly business partners. The ordeal was so traumatizing and entertaining that he, too, wrote a book about it: The Gritty Entrepreneur. It would seem that a literary aptitude ran through the blood line. He won, by public account, in that lawsuit providing some cushion for Grit Daily. And in that deal, though, he wasn't allowed to publish the book. It was too damning.
Born from The Gritty Entrepreneur is Grit Daily, which embodies -- and covers -- the constant change of our times. Dominated by brands, Grit Daily covers how brands make and shape the international landscape and make every effort to influence our decisions and shape the world around us. Just like those bread ends and unruly business partners, some brands become monopolies and get us to fall in love with them; in other cases the people behind them are filled to the brim with controversy and scandal. Yes, sometimes brands commit crimes and even steal.
As for love we've learned a thing or two in our combined 250+ combined years of reporting. We lead with love. And we want you to fall in love with us, too.


text:
» The Crew – A True Next-Gen Racer
The Crew – A True Next-Gen Racer
Check out these articles:
Trials Fusion
Cel Damage HD
One of the games that got the most screen-time at Ubisoft's E3 conference was The Crew. This MMO arcade racing title displayed a full multiplayer game session involving 4 players that truly gave us an idea of what the MMO side of the game will feel like. We already saw Drive Club being presented at the Sony's reveal conference, but The Crew is a different type of racing game that is more likely to get everyone involved, purists and newbies alike. Check out this latest video youtu.be/vJ6IDjJnteo.
The four players on stage at E3 for The Crew presentation could join each other at any moment and collaborate or compete in different missions. A bit similarly to the upcoming Need For Speed: Rivals, The Crew looks to blur the line between single player and multiplayer, instantly allowing you to switch modes and games through an open world. Need for Speed World was the first testing ground for such a game (I couldn't help it but think about World as I saw the arrows separating the activated races through the city in The Crew) and the driving looks pretty similar to EA's MMO racer – plenty of arcade feel to keep things interesting, races that can swing one way or the other, all while giving good drivers the opportunity to gain an advantage. Fans of games like Burnout (particularly the open-world Burnout Paradise!) shouldn't be disappointed by the racing style of the Crew.
So far, I would say The Crew is looking to break new ground though compared to those other games I just mentioned. With its convincing custom version of America and huge map, you can blast through different terrains and cities in a way that feels free and exciting. The demo showed racers blasting through Long Beach in a mix of roads, hills, sand and an incredible view was always at sight to top it all. The Crew looks to be anything put bland and there seems to be a good "wow" factor to it. Exploring the cities certainly doesn't seem boring visually. The streets seemed to be far from being asleep. People and cars were all over the place to keep things alive and realistic.
On the gameplay side, The Crew looks to be encouraging plenty of interactions between the players, particularly through cooperative missions. You will still want to beat your teammates for bigger rewards though, but making friends is part of the deal here. As this is a MMO, you will naturally be hunting for experience and improvements for your ride through various challenges. So far, we've only gotten a live demonstration, so we will have to wait and see if The Crew will offer enough to motivate the players to keep moving, exploring and racing with friends, but so far the replayability value looks pretty strong.
Racing games often have the ambition of bringing non-racing fans over to their franchise, well to me The Crew is the kind of game that could actually succeed at doing that. I consider that the demo shown at E3 had sufficient thrills for anyone – be it exploring a city like New York or Miami, contemplating a ride in the wilderness from the distance, scrolling the USA looking for an unknown location to explore or being chased by cops through traffic, The Crew seems to have hours and hours of varied gameplay and to be a MMO racer that won't compromise on any aspect in order to deliver its gigantic proportions.
Ubisoft probably made a good choice at picking this game for a little multiplayer standoff at their conference as it definitely featured the power of the PS4 in providing this kind of instantaneous experience. Loading times were nowhere to be found. There seems to be something for everyone in The Crew as well. Overall, it's the massive angle of the game that made the strongest impression on me. Stay tuned to this page for more information on The Crew.
Gamescom walkthrough trailer reveals plenty
A very interesting trailer for The Crew was revealed at Gamescom where creative director Julian Gerighty explains the game pretty in-depth and walks us through some challenges involving a few friends. It goes the extra mile compared to other trailers to explain different details and features.
Before hopping on the racetrack, Gerighty explains how cars in the crew can be customized in every aspect and how it plays in making your vehicle unique compared to everyone else in the world.
In the first challenge of the video, the two players involved have to follow a line on the race track to gain cash, experience and car parts together. Then, we get to experience a more traditional type of race where once again the superior teammate gets rewarded the most. The transition between worldmap and racetrack is extremely fast in the trailer, and it seems like putting a "crew" together couldn't be more easy.
The last challenge takes place in the grass literally. Different terrains seem to be a big part of what The Crew will offer. In the video, we get to witness a crazy run across the country by a crew of four members. I'm sure this part will get a lot of people excited.
Sure, the action in The Crew is over the top in many ways, but the world seems to be put together nicely enough for all to make sense. This doesn't seem like a weak MMO effort by any means. The developer, Ivory Tower, have been at work on this game for over four years. So, with all the racing games coming out with the PS4, which one is going to get your playtime?
Free Upgrade For First-Day Buyers
For first-day buyers and those who preorder, Ubisoft is giving you an upgrade free of charge. At most retailers, first day copies of The Crew will automatically be upgraded to the Limited Edition. Included inside the Limited Edition are the following cars:
BMW Z4 sDrive35is
Dodge Ram SRT-10
Of course, all cars will come with their respective sets of full custom and performance parts.
The Muscle Edition, a GameStop exclusive, will not only include all early unlock content from the Limited Edition but also grants exclusive early access to the 2015 Ford Mustang GT.
Both the Limited Edition and Muscle Edition will include 10,000 bonus Crew Credits to give you a head start.
Want to try out The Crew early? Ubisoft has announced an open beta and signups are available now!
The beta will take place in late September.
In recent news, a second closed beta was now announced for November. This beta will begin on November 6th and conclude on November 10th on the PS4. It will include two of the game's five regions and the challenge withins along with multiplayer PvP content.
The expected Season Pass has been announced for The Crew, clocking in at $25 for four add-on packs. Each pack features three additional cars, for 12 cars total, along with customization options. Individually, the packs will run $7, amounting to a small discount for those players who opt for the Season Pass.
Check out this Season Pass trailer below:
The Crew release date was confirmed for 11/11/2014 for the PlayStation 4. Unfortunately, since our last update on this post, the release date has now been delayed to December 2nd, 2014. Will it slip to 2015? Hopefully not!
Are you excited? Going to go with a different racer instead? Let us know in the comments and on Facebook!
Check out this gameplay trailer:
Game Category: Driving / Racing
Article by - Marc-André Messier
Insert Date: 06/13/2013
Drive Club
PS4 Indie Games
date to purchase id like to
Submitted by Anonymous on Mon, 06/17/2013 - 12:46
date to purchase id like to know


It would be an honor if you could list the Spine Runtime for StageXL on your homepage. StageXL is a render engine for Dart and HTML5. It supports all the latest feature available in Spine, including inverse kinematics.
Thank you very much for Spine which is an awesome tool for 2D animations.
Demos look great! Thanks for sharing.
Yep, Chrome. Pretty cool to have a canvas fallback! Where is WebGL not normally supported?
That's a good question. Up until now i though that Chrome supports WebGL on almost all modern mobile devices, obviously this is not the case I will try to get some more info about this issue.
Thumbs up for StageXL and the work you put into the Spine integration, that's really cool tech!
Thanks for the update and your kind words! Your results are very interesting. I'm using a Galaxy S4 with Cyanogenmod and the current stable Chrome version is 38 which works fine too. Maybe Chrome 38 isn't rolled out to all devices yet. But you are right, since Chrome Beta works on your device it should be just a matter of time to make it work.
The runtime for StageXL got a few updates including a Canvas2D implementation for FFD. Unfortunately this may not be the best thing to use in practice since a FFD implementation for Canvas2D is pretty slow while same thing for WebGL is very fast. Still it was a fun experiment and it turned out it can be done. Maybe for small animations this could be even useful Other than that the runtime for StageXL got support for Flip Timelines. Have fun!
A new update for the runtime for StageXL was released. We fixed a few things and added support for all blend modes. One of the new features is the capability to load the texture atlas for an animation from a bigger texture atlas that combines several smaller texture atlases. The reason for this is simple: You can export different Spine animations and create an individual texture atlases for each animation (for example in the LibGDX format used by Spine). Later you can combine all those texture atlases into one bigger texture atlas to get best possible render performance.
The next version of StageXL will support polygon sprite meshes for texture atlases. This new feature was inspired by the upcoming version of TexturePacker which supports polygon packing and polygon sprite meshes. This may sound complicated but all it does is just packing your assets more tightly for less memory allocation.
The Spine runtime for StageXL was updated to Spine v3.
I'm happy to announce that the Spine runtime for StageXL was updated to Spine v3.4.
Wow! I had no idea this technology existed. Very cool!!
I'm happy to announce that the Spine runtime for StageXL was updated to Spine v3.5.
Nice! Thanks for updating it!


Abstract A Document Object Model serves more than one goal. Apart from storing the document's data, it also supports scripting and serialization. It's also the backbone for talking about compatibility, extensibility and testing. In this talk I'll propose to use Relax NG for describing a new Scribus file format that also serves as DOM. With some tools, design patterns and Qt's metaobject framework it will be possible to generate a DOM that maps 1:1 to the new file format and is accessible to scripts.


We totally took this run down house and renovated with modern exterior of paint, new doors and garage doors and striking brick facade. The interior was gutted and replaced with high-end appliances and craftsmanship through out. This home sold in the first week it was put on the market.


text:
Q: Django - use middleware to block debug data on some cases I'm using Django in debug mode in dev environment.
When some views fail, it returns the debug page (not debug_toolbar, just the page with list of installed apps, environment variables, stack trace, ...)
In my middleware, I have some cases (specific URLs, specific users, ...) where I want to remove this data and just return the raw response.
How should I do that?
currently my best idea is to just:
response.data = {}
return response

But I'm not sure if it's the proper way to do that, whether it covers all cases and so on. I just want to use a middleware to control in some cases and avoid the DEBUG mode for them.

A: You may use exception middleware. See Django docs for more info.
Here is a sample implementation of the exception middleware:
class ExceptionHandlerMiddleware:
    def __init__(self, get_response):
        # if DEBUG is False we do not need this middleware
        if not settings.DEBUG:
            raise MiddlewareNotUsed
        self.get_response = get_response

    def __call__(self, request):
        return self.get_response(request)

    def process_exception(self, request, exception):
        if request.user.is_authenticated: #any custom logic based on request and/or exception
            #returning None kicks in default exception handling
            #i.e. it will show full debug info page if settings.DEBUG is True
            return None

        else:
            #returning HttpResponse will force applying template response and response
            #middleware and the resulting response will be returned to the browser
            return HttpResponse('Something went wrong')

Since Django 3.1 you may also use a custom error reporter class by defining the DEFAULT_EXCEPTION_REPORTER setting. The custom error reporter class needs to inherit from django.views.debug.ExceptionReporter and you may override get_traceback_data() to implement custom logic. See Django docs for more info.


text:
Boosting Solar Photovoltaic Efficiency with 'Tinkertoy' Materials
Technologies PV	- Matériaux
Jeudi, 04 Décembre 2014 16:25
Researchers at Sandia National Laboratories have received a $1.2 million award from the U.S. Department of Energy's SunShot Initiative to develop a technique that they believe will significantly improve the efficiencies of photovoltaic materials and help make solar electricity cost-competitive with other sources of energy.
Solar-Powered Plane to Circle the Globe
PV Projects	- PV Projects
Vendredi, 26 Septembre 2014 15:28
Two Swiss pilots plan to fly a solar-powered plane around the earth, pushing human endurance as well as the boundaries of a technology that the aviators say isn't anywhere near reaching its full potential for industry.
Researchers Develop Faster, Cheaper Way to Make Solar Cells
A faster, cheaper way to manufacture silicon solar cells, partially funded by the Energy Department and fine-tuned at its National Renewable Energy Laboratory (NREL), has won a coveted R&D 100 award as one of the top technology innovations of 2013.
Self-cooling solar cells boost power, last longer
Jeudi, 31 Juillet 2014 16:22
Scientists may have overcome one of the major hurdles in developing high-efficiency, long-lasting solar cells -- keeping them cool, even in the blistering heat of the noonday sun. By adding a specially patterned layer of silica glass to the surface of ordinary solar cells, a team of researchers has found a way to let solar cells cool themselves by shepherding away unwanted thermal radiation.