James Arthur's personal blog.

  • Archive
  • RSS

Intelligence & Life: two sides of the same coin

New research builds directly on the Schrödinger, Stuart Kauffman canon to derive not just life but intelligence from entropy. In What is Life?, Schrödinger defines life in thermodynamic terms, i.e.: entropy (or disorder). In At Home in the Universe Kauffman shows how order spontaneously emerges to create life. Now, Alexander Wissner-Gross (aka @alexwg), “a physicist at Harvard University and the Massachusetts Institute of Technology”, has published research showing how intelligence emerges from the goal of maximising entropy.

The researchers developed a software engine, called Entropica … In one test, the researchers presented Entropica with a situation where it could … move a cart to balance a rod standing straight up in the air. Governed by simple principles of thermodynamics, the software responded by displaying behavior similar to what people or animals might do, all without being given a specific goal for any scenario.

Entropica’s intelligent behavior emerges from the “physical process of trying to capture as many future histories as possible,” said Wissner-Gross. Future histories represent the complete set of possible future outcomes available to a system at any given moment.

Wissner-Gross calls the concept at the center of the research “causal entropic forces.” These forces are the motivation for intelligent behavior. They encourage a system to preserve as many future histories as possible. For example, in the cart-and-rod exercise, Entropica controls the cart to keep the rod upright. Allowing the rod to fall would drastically reduce the number of remaining future histories, or, in other words, lower the entropy of the cart-and-rod system. Keeping the rod upright maximizes the entropy.

“The universe exists in the present state that it has right now. It can go off in lots of different directions. My proposal is that intelligence is a process that attempts to capture future histories,” said Wissner-Gross.

If this is right, then the same force that creates life — the intentionality of physical systems to minimise order within the body — also leads to intelligence — the intentionality to maximise order outside the body. Every action has an equal and opposite reaction.

Intelligence and life are two sides of the same coin.

  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet

WebSockets with Varnish and Nginx

Nginx is the obvious front-end web server for non-blocking web applications. However, Nginx doesn’t currently support WebSockets (at the time of writing the feature is on their roadmap with “No date set”).

You can compile Nginx with the tcp module to proxy WebSocket and HTTP traffic to different backends. However, as well as introducing the manual compilation step, this also requires running multiple web applications (for example, your main app on one port and your WebSocket handlers on another).

A more elegant solution is to put Nginx in front of your backend web application and Varnish in front of Nginx. Varnish can then be configured to pass WebSocket traffic directly to your backend whilst sending the rest of the traffic to Nginx. This allows you to run a single backend server that handles WebSockets and HTTP traffic on the same port without patching Nginx.

Read More

    • #sysadmin
    • #websockets
    • #nginx
    • #web development
  • 1 year ago
  • 5
  • Comments
  • Permalink
  • Share
    Tweet

The Conventional Wisdom on Business Plan Numbers in a Lean Startup is Wrong

There’s about as much point producing a finance plan for a lean startup as there is writing a post-graduation CV for a toddler. Pretty obvious, right? Except it’s completely wrong: lazy, convenient thinking that misunderstands the relation between numbers and visibility.

We all know that a startup is a search for a business model and that in a startup, visibility is often extremely limited. How can you possibly make financial predications when you don’t even know what your value proposition is? Well, the answer is that you can, you should and that it’s actually very simple once you understand the role different numbers play and how they fit together.

Read More

    • #startups
    • #lean
    • #business planning
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

You’re Building Cultural Survival Vehicles

Here’s a powerful new way of looking at the world — and one that’s exceptionally relevant for people building communities or designing social interactions. I quote from the introduction to Wired for Culture by Mark Pavel, head of the Evolution Lab at Reading University:

I want to call these tribal groups cultural survival vehicles. … Richard Dawkins in The Extended Phenotype coined the term vehicles to describe structures that carry replicators. … Putting these two ideas together, we can see that replicators (think of genes) exert their effects on the external world, and thereby influence the likelihood that they will survive, through the vehicles (think of your body) they build. The distinction between replicators and vehicles is important because it reminds us that an animal’s body is merely a temporary structure built by its genes to promote their survival and reproduction. …

When I use the term cultural survival vehicles, it is to capture the idea that our species evolved to build, in the form of their societies, tribes, or cultures, a second body or vehicle to go along with the vehicle that is their physical body. Like our physical bodies, this cultural body wraps us in a protective layer, not of muscles and skin but of knowledge and technologies, and … gives us our language, cooperation, and a shared identity. We are the actors that produce this vehicle, behaving almost like individual genes clamouring inside it to exert our effects on the outside world, and influencing our likelihood of surviving. Our nature is wrapped up in the strategies we evolved and now deploy to make the cultural survival vehicle work for us. …

The essential balancing act of human societies is that they will normally work best when everyone pulls together, but at any given moment what is best for you might differ from that which is best for your group. Our psychology is the outcome of this balancing act. It is the set of temperaments geared towards using our cultural vehicles to promote our individual survival in a world full of others like ourselves.

Culture is a phenomenal evolutionary advantage. Because of this, we’ve adapted to be exceptionally receptive to it. Our rich social and cultural landscape is made of interwoven vehicles we’re programmed to create, join, pilot and abandon. A theory which maps precisely to the real world, as far as I understand it.

    • #social
    • #cultural
    • #evolution
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Knight News Challenge: BeLive.at

newschallenge:

1. What do you propose to do? [20 words]

Build a citizen journalism platform where the crowd direct the news.

2. Is anyone doing something like this now and how is your project different? [30 words]

OpenIDEO is a structured platform where the crowd can solve social problems.

Twitter is a…

  • 1 year ago > newschallenge1
  • 2
  • Comments
  • Permalink
  • Share
    Tweet
Whoever takes the decisions bears the risk.

A simple principle for pricing risk into development projects. Whoever makes feature decisions and signs off on implementation should carry the risk of scope creep or non delivery.

As an agency or a developer, you can provide fixed cost development budgets but only when you decide what’s in or out and what done looks like. (More accurately, you decide on done, done done and done done done). Where it’s not appropriate for you to own the delivery decisions, it’s not constructive for you to bear the risk.

After all, as the great command line in the sky says, with power comes responsibility…

    • #sales
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

The Silent Future

jQuery is the de-facto library for the web, installed on 85% of websites. There are calls for the last few major release versions to be shipped in all major browsers. However, look what just came along. Two way data binding in the form of <angular />, Ember.js and friends. Suddenly the very thing that jQuery is so good at, DOM manipulation, is abstracted out of the picture.

The lesson, which we all know, is that change comes not from beating the incumbent at their own game but from focusing on what’s going to make their strength redundant. The interesting thing I’ve just realised is that the Internet makes communication redundant.

So far, the main impact of the Internet has been to change the way we communicate. However, the real shift is towards a pervasive web where information is implicit. Just as <angular /> abstracts out DOM manipulation, implicit information abstracts out whole tranches of activity. Communication, for so long the core skill of successful brands, people and organisations becomes entirely irrelevant.

It may be tempting to view a future of no communication as a land of the blind where the one eyed man is king. In a world with no marketing, surely the business that buys ads will thrive? However, this misses the pivotal cultural shift. As HG Wells illustrated so well, people’s behaviour is governed by the culture they operate in.

Ours has already changed, forever.

    • #disruption
    • #communication
    • #strategy
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Getting Things Done with Google Apps and Do.com

I was chatting with @h4rrydog a couple of days ago about the best tools to collaborate “internally”, i.e.: between ourselves and with ad hoc teams of other people. Every man and his dog has their preferred workflow but I just setup one that’s so delightful I can’t help but share it.

The setup is to use a Google Apps email address (n.b.: #) with Do.com. The workflow is to use the little gadget Do.com installs into your gmail interface to turn emails into tasks. The task title is autocompleted with the email subject. There’s a small link to populate the task description with the email body and autocomplete widgets to assign the task to a person, a project and a due date.

Alt text

It’s zen. Try it a couple of times. Headspace zero.

    • #productivity
  • 1 year ago
  • 2
  • Comments
  • Permalink
  • Share
    Tweet

Released pyramid_assetgen package.

I’ve released a Python package called pyramid_assetgen that helps integrate Tav’s Assetgen static build tool with the Pyramid web application development framework. As the docs say:

Using it allows you to code in languages (like CoffeeScript and SASS) that compile to JavaScript and CSS, swapping between a refresh-the-page-to-see-changes development environment and an optimal HTTP caching production setup — without ever having to change any of the code in your Pyramid application.

    • #web development
    • #python
    • #pyramid
  • 1 year ago
  • 16
  • Comments
  • Permalink
  • Share
    Tweet

The Dominatrix and the Case of the Missing Tools

When I first heard about the BBC’s Sherlock, my heart sank. Talk about flogging a dead horse.

Sherlock Holmes and Dr Watson’s adventures in 21st Century London. A thrilling, funny, fast-paced contemporary remake of the Arthur Conan Doyle classic.

Last night, I watched it for the first time. It was exceptionally good. Bursting with character and rapier dialogue. The problem was that no matter how engrossing the drama, I kept being jolted out of my suspension of disbelief by the tenuous clips dropped in to reiterate the plot.

There is a scene where Sherlock cracks the code to a particularly alluring dominatrix’s safe. The code we see him entering immediately explains how he does it (spoiler alert: it’s her vital measurements). However, just to make sure that every viewer gets it, the dialogue has to lapse from rapier into journeyman so the dominatrix can laboriously explain this to Dr Watson. Later on, they parachute in a remarkably artificial clip where Sherlock summarises the entire plot, for no reason whatsoever, to two henchmen driving him to the airport.

I mention this because it illustrates the difference between mass media and the web. (As with most years) it’s widely predicted that in 2012, TV and the Internet will really converge. We’ll have Dropbox logos on our flat screens and our iPad alongside the remote. TV that puts the user in control of what they watch and how they watch it. The joy of which is that viewers who get the plot first time round needn’t suffer the tedium of its reiteration.

Read More

    • #content strategy
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Interesting stuff over Xmas

Back this morning after a break in Croatia and Prague. While I deliberately left my computer at home, my information addiction was strong enough to have me peeking regularly at my phone.

The best post I read was Everything is a Service, on the shift to a service oriented economy. I also enjoyed this clearly written reminder on the different ways to go viral.

Cory Doctorow’s keynote on The Coming War on General Computation, in tandem with the whole SOPA drama, seems to have re-energised the fight for freedom on the Internet. I don’t know about you but I did enjoy witnessing GoDaddy’s karmic reward for the appalling UX they’ve inflicted on us for all these years.

Now we’re officially in the year of the Dropbox clone, Insync landed with Google Docs integration. Gitdocs kicked off the open source alternative beauty parade. Sit back and enjoy.

Other open source projects I liked the look of were TouchDB and this Node.js JavaScript sandbox. Schedulables seemed like a good idea and Quicksand looked like a company worth keeping an eye on.

Beyond that I mainly got myself irrevocably confused by reading The Time-traveller’s Guide to Medieval England whilst exploring Prague with a Lonely Planet guide. Czech culture and that of fourteenth century England will now, for me, be forever hazily intertwined.

    • #links
  • 1 year ago
  • 2
  • Comments
  • Permalink
  • Share
    Tweet

Filter by Proximity, Sort by Most Recent

This post is about a user interface pattern, a common use case for it and an example implementation. The pattern is adding an extra dimension to a timeline. The use case is showing results that are both recent and nearby. The example implementation uses a slider widget and an adequate-result-volume algorithm.

When you have 1000 messages and you want to prioritise the best 50 to display, sort is the most common pattern. If the user is interested in the latest messages, sort by most recent. If they want to see the messages other users found interesting, sort by a metric like views or rating. However, the web is increasingly about real time data. Developers are processing streams and modelling tubes instead of tables. It rarely makes sense to display real time data in any order apart from most recent. So, what do you do when you want to prioritise by another dimension, like proximity or rating?

Read More

    • #web development
    • #python
    • #coffeescript
  • 1 year ago
  • 6
  • Comments
  • Permalink
  • Share
    Tweet

Togethr as Earthquake Smoothing System

Togethr is an app platform and social marketplace with aspirations to become a social economy. Why, you might ask, do we need a new social economy? Because to treat an illness you go to the cause.

Ever since Keynes, governments have borrowed money to stimulate growth in order to protect jobs. The cause of the economic crisis is not debt but instead the need for job security. Job changes are like earthquakes, they can shatter a life. If job losses were not so shattering, we would not need to borrow to ensure they don’t happen. (Nor would we need to be so nervous about the day of reckoning when the credit runs out).

We smooth quakes by inducing small shifts. When vocational shifts are on the scale of project or task there is no need for job security. Togethr provides a means to earn a crust without having to have a job, a contract or, for that matter, permission. Social security without the tax burden or disincentive to work.

    • #togethr
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

From WikiHouse to #Manyfacturing

I’ve been part of the team behind WikiHouse. It’s a fascinating project that points to a future where the Internet disrupts manufacturing.

WikiHouse is an open source construction set. A standard for designing houses that can be made using CNC milling technology. On one level you can download, print and assemble ready-designed houses. On the other you can tweak, share and combine componentised designs.

Micro-processing technology moved computing from the university to the pocket. CNC milling and 3D printing are digital fabrication technologies moving manufacturing from the factory to the garage.

As access to the hardware opens up, the number of people experimenting will increase. We’ve seen in software that, with the right infrastructure, open source will rapidly outstrip proprietary design. Architecture and product design is currently done in silos, without the serendipity of the pull request.

Those sectors will inevitably be disrupted. As The Guardian said about WikiHouse:

“Such open platforms, using the creative commons, are one of the major forces that will change our conception of design in the near future.”

If you’re interested in getting involved, 00:/ are organising a series of community events.

    • #manyfacturing
    • #wikihouse
    • #00
    • #design
  • 1 year ago
  • 3
  • Comments
  • Permalink
  • Share
    Tweet

View from the Hub Westminster

Absolutely knocked for six at the view from the Hub Westminster boardroom.

Read More

    • #hub westminster
    • #00:/
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 4

About

Hi, I'm James Arthur, aka @thruflo. I'm a geek generalist, based in London.

Email thruflo@gmail.com if you'd like to get in touch.

Pages

  • About Me
  • Recommendations

Me, Elsewhere

  • @thruflo on Twitter
  • thruflo on Delicious
  • Linkedin Profile
  • thruflo on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr