Skip to content

Auto update wordpress without ftp connection

Moving my installation away from a hosting plan to a VPS was the reason to mess around with WordPress’ files permissions. What really bugged me was the fact that the auto update was not working, it was asking for FTP connection details. The problem was caused because the web server user has no permissions on your wordpress installation dir. First, find the web server user, assuming you use apache2:

 root@yourdomain:~# ps aux | grep 'apache2'

in my case the web server’s username is www-data, but other usernames exist (e.g. nobody). Check the ownership of your wordpress dir directory:

root@yourdomain:~# ls -l wordpress_dir/

and add the web server user’s owneship to that directory:

root@yourdomain:~# chown -R www-data wordpress_dir/

Now, your auto update should be working.

In the verge of the age of “psychohistory”

Psychohistory is a fictional science in Isaac Asimov’s Foundation universe which combines history, sociology, and mathematical statistics to make general predictions about the future behavior of very large groups of people”

This is the definition of psychohistory, according to Wikipedia. The two fundamental axioms are:

  • the number of people to whom it was being applied should be large enough for a statistical treatment of them to be valid.
  • humanity should not know the results of the application of psychohistory before the results were achieved

Nowadays, big data provided from the internet (searches, tweets, facebook updates, financial markets, blog posts) enable us to predict with high probability when and where a political/financial crisis or revolution will emerge.

Uprisings lately are organised almost solely via what we call “social media”. Some examples: Iran, Greece, Arab spring, UK riots. People cheer that they are now free. Internet has given them the tools to free themselves from the “controlled” traditional media. I believe exactly the opposite. You really believe that this enormous amount of data and of all of these paradigms is left alone on the internet to be forgotten? Now, everyone who wants to know, has the ability to know. Not only what happened but most importantly what will happen.

First things first: the fight for privacy over the internet is over. Additionally, no one cares about you as an individual and it’s high time you realised that. It’s time to start concerning on how all this amount of data will be used. Personalised ads, personalised searches and recommendation systems are part of our ordinary life. What will be next?

Personally, I’m pessimistic towards which direction it will be used and with what intensions. One extreme example is the “pre-crime detection” (cc Minority Report by Philip K. Dick) system called FAST (Future Attribute Screening Technology) that is being developed by U.S. Department of Homeland Security which will use data mining algorithms taking into account attributes like ethnicity, gender, breathing, and heart rate to “detect cues indicative of mal-intent”.

Soon enough, the next thing you’ll find yourself fighting for, will be your genomic sequence.

How and where we live

Seven billion, a special year-long series from National Geographic, will cover several issues related with global population that in 2011 will surpass 7 billion. An infographic about where and how we live is already available. Although the accuracy and the data labelling aren’t the best possible I find this map rather interesting.

Data analysis, an overview for the masses

An article, published some days ago in Businessweek, by Ashlee Vance, is trying to describe in simple words some of the uses of data mining. With some examples that catch the eye, such that of predicting a crime based on a certain behaviour (Minority Report reference) or customer analytics (market-basket analysis) that Wal-Mart and other stores use, the story of the creation of Hadoop in 2006 and how companies took advantage of this technology.

Now a second wave of startups is finding ways to use cheap but powerful servers to analyze new categories of data such as blog posts, videos, photos, tweets, DNA sequences, and medical images. “The old days were about asking, ‘What is the biggest, smallest, and average?’ ” says Michael Olson, CEO of startup Cloudera. “Today it’s, ‘What do you like? Who do you know?’ It’s answering these complex questions.”

Most of what you’d like to say to your friends about data mining but you couldn’t find the correct sequence of words to do so.

[Data Analytics: Crunching the Future]

 

Chatbots conversation

Cornell’s Creative Machines Lab made these chatbots talk to each other, preparing for the 2001 Loebner Prize in Artificial Intelligence competition.