Monthly Archives: May 2015

Codeigniter – Message: Only variable references should be returned by reference

On a new deployment of a Codeigniter tool that I’v made, I got the following error, after installed it in more than 10 different servers… my own servers and clients…

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

 

This only happens with PHP >= 5.6….

We need to tweak /system/core/Common.php Line number 257
Change this line from

return $_config[0] =& $config;

to

$_config[0] =& $config;
return $_config[0];

ServeTheHome, hardware review site and other things

Found this nice website http://www.servethehome.com/, a hardware review site, while I was searching for some benchmarks of REDIS running on Avoton c2550 CPUs…

From time to time we do receive products for review from vendors. Some products we receive are pre-release samples so that reviews can be produced in time for product launch. We will distinguish which products are pre-production samples.

It is our practice never to receive monetary compensation for a stated review outcome. What does this mean? We are not taking money to give positive reviews or say one product is better than another. Conclusions drawn in articles are due to the merits of what was reviewed. That’s the way it should be.

ServeTheHome does not have an in-house ad sales department. That means that external ad networks sell and serve the banner advertisements on the site. From time to time commissioned links may be posted, but frankly feel free not to use them (although we appreciate if you do.) This site costs a lot of money to maintain, and advertisements help keep the lights on. We also purchase some hardware for review and advertisements help pay for that. In no way do advertisements influence the outcome of a review.

 

 

DNS_PROBE_FINISHED_NXDOMAIN

My Google Chrome is returning me the error DNS_PROBE_FINISHED_NXDOMAIN while I’m trying to access one of my subdomains that I’v recently moved (forced to) http to https.

I’v tried to flush my DNS serversit didn’t worked :/

sudo dscacheutil -flushcache

You *must* change your DNS servers to another one… I usually OpenDNS some times…

OpenDNS IP Addresses

  • 208.67.222.222
  • 208.67.220.220

By the way! – I didn’t made this – I’v removed all my browser’s cache.

Oreilly High Performance Browser Networking – free ebook

hpbncover

How prepared are you to build fast and efficient web applications? This eloquent book provides what every web developer should know about the network, from fundamental limitations that affect performance to major innovations for building even more powerful browser applications—including HTTP 2.0 and XHR improvements, Server-Sent Events (SSE), WebSocket, and WebRTC.

Author Ilya Grigorik, a web performance engineer at Google, demonstrates performance optimization best practices for TCP, UDP, and TLS protocols, and explains unique wireless and mobile network optimization requirements. You’ll then dive into performance characteristics of technologies such as HTTP 2.0, client-side network scripting with XHR, real-time streaming with SSE and WebSocket, and P2P communication with WebRTC.

  • Deliver optimal TCP, UDP, and TLS performance
  • Optimize network performance over 3G/4G mobile networks
  • Develop fast and energy-efficient mobile applications
  • Address bottlenecks in HTTP 1.x and other browser protocols
  • Plan for and deliver the best HTTP 2.0 performance
  • Enable efficient real-time streaming in the browser
  • Create efficient peer-to-peer videoconferencing and low-latency applications with real-time WebRTC transports

 

http://chimera.labs.oreilly.com/books/1230000000545/index.html