Monthly Archives: March 2016

Notice of Google Search Console Team – European data protection removal from Google Search

Notice of European data protection removal from Google Search

To: Webmaster of XXXXXXX,

Due to a request under data protection law in Europe, Google can no longer show one or more pages from your site in Google Search results. This only affects responses to some search queries for names or other personal identifiers that might appear on your pages. Only results on European versions of Google are affected. No action is required from you.

What we’d like you to know:

These pages haven’t been blocked entirely from our search results

They’ve only been blocked on certain searches for names on European versions of Google Search. These pages will continue to appear for other searches.

We aren’t disclosing which queries have been affected.
In many cases, affected queries don’t relate to the name of any person mentioned prominently on the page.

For example, the name might only appear in a comment section.

You can notify us of concerns

If you have additional information regarding the content of a page that you believe warrants a reversal, you can notify Google. Please note that while we read all requests, we do not always respond. Only the registered siteowner can access this form.

php & msql – emoji

 

While I was trying to add some emojis via CodeIgniter to a MySQL database/table, I got the following error:

Incorrect string value: '\xF0\x9F\x98\x94\xE2\x80...' for column '

I had to change the table’s field collation to utf8mb4_general_ci.

 

Every time we make a select on the DB, previously we need to SET NAMES and SET CHARACTER SET – i’v tried to do it on database configurations (application/config/database.php) but it didn’t worked.

$this->db->query("SET NAMES 'utf8mb4'");
$this->db->query("SET CHARACTER SET utf8mb4");

The do the select to the table with the fields that have emojis.
NOTE! if we are displaying the *content* on a html tag that has google webfonts defined on it emojis won’t be displayed.

OK! It should work! 🙂

More readings

Zipkin is a distributed tracing system. It helps gather timing data needed to troubleshoot latency problems in microservice architectures. The front end is a “waterfall” style graph of service calls showing call durations as horizontal bars:

zipkin-logo-200x119

Zipkin is a distributed tracing system. It helps gather timing data needed to troubleshoot latency problems in microservice architectures. It manages both the collection and lookup of this data through a Collector and a Query service. Zipkin’s design is based on the Google Dapper paper.

Collecting traces helps developers gain deeper knowledge about how certain requests perform in a distributed system. Let’s say we’re having problems with user requests timing out. We can look up traced requests that timed out and display it in the web UI. We’ll be able to quickly find the service responsible for adding the unexpected response time. If the service has been annotated adequately we can also find out where in that service the issue is happening.

web-screenshot

 

more: https://blog.twitter.com/2012/distributed-systems-tracing-with-zipkin

githup: https://github.com/openzipkin/zipkin
gitter: https://gitter.im/openzipkin/zipkin/

500 Internal Server Error while uploading files

I was having a 500 Internal Server Error…
nginx logs were showing me the following

2016/03/17 12:09:32 [crit] 31488#0: *11192 open() "/var/lib/nginx/tmp/client_body/0000000005" failed (13: Permission denied), client: 84.91.XXX.XXX, server: host.com, request: "POST /trades_edit/edit_trade HTTP/1.1", host: "host.com", referrer: "https://host.com/trades_edit/125"

Solution?

chown -R www-data:www-data /var/lib/nginx

rancherio_logo

What is Rancher?

Rancher is open source software that makes it simple for organizations to deploy a private container service and deliver Docker orchestration to users. Within a team, authorized users are able to create resource pools from any hosts, and then launch containers or application templates from Rancher’s UI or CLI. Users have complete control over how their applications are deployed, and Rancher provides all of the necessary infrastructure services such as networking, load balancing, and storage to ensure the application runs brilliantly on any infrastructure.

service_upgrade

Continue reading rancher.com