Calling UK Undergraduate Photographers…

•May 12, 2009 • Leave a Comment

5aa9abce485b2f83b3d6948ed8872bd7_0_mediumIt feels as if I haven’t blogged in ages. I’ve been letting the evenings run away and all too often the prolog to sleep has been a regime of website development, reading and French practice.

One of the most exciting projects I’m working on is a new community for young photographers in the UK. The site is aimed at photographers  at undergraduate level or recently graduated. The website is called www.photographyandmash.com and it offers a place to promote your work and meet other photographers.

Currently the site is invitation only whilst we iron out bugs and figure out what works and what doesn’t. The community is small but the work on there is great and we’re hoping the site will grow quickly. Without logging on you can check our comprehensive listing of London photography events (and we are working on gathering listings for the rest of the UK).

Also, check out our blog or drop me a line (alex[at]photographyandmash.com) for an invite.

Tragic API Calls

•May 12, 2009 • Leave a Comment

Working on an app to parse restaurant and bar data in the US. Found this in an API call for bars in ZIP code 35031. It’s weird that with the internet we’re so connected to the actions and stories of others.

 

Looking for bars
in BLOUNTSVILLE (35031)
  Calling http://local.yahooapis.com/LocalSearchService/V3/localSearch?appid=
bbMmpXvV34HMVLyx1PGhrbZY
pGVV3oBMxBK.qlux6iiyrXM58IMFGptrdV5DgdgJbKS98DQy63Upjw--&query=bars&zip=35031&results=20&category=
96926057{"City"=>["Altoona"], "MapUrl"=>["http://maps.yahoo.com/maps_result?q1=3950+Grady+Dr+Altoona
+AL&gid1=14790625"], "Distance"=>["13.20"], "Phone"=>
["(205) 589-2357"], "Url"=>["http://local.yahoo
.com/info-14790625-foxy-s-lounge-altoona"], "Longitude"=>["-86.321531"],
"Latitude"=>["34.071662"], "id"=>"14790625", "Categories"=>
[{"Category"=>[{"id"=>"96926063",
"content"=>"Bars & Pubs"}, {"id"=>"96926057", "content"=>
"All Bars, Pubs, & Clubs"},
{"id"=>"96926059", "content"=>"Private Clubs"}]}], "State"=>["AL"],
 "Title"=>["Foxy's Lounge"],
"BusinessClickUrl"=>[{}], "ClickUrl"=>["http://local.yahoo.com/info-
14790625-foxy-s-lounge-altoona"],
 "Rating"=>[{"LastReviewIntro"=>["Well I lost my wife
 to this
place. She started work at this place about 5 months after
 me got married.
We needed the money.
 I didn't like the idea but she asured me it would be ok. I should of
never let her do it.
Late nights, never seeing me and the kids, her attitude, and
everything
changed. She left me and
moved in with the bouncer. etc Things ended badly. I hate
 that place and never get
 cought dead there."], "TotalReviews"=>["2"],
 "TotalRatings"=>["2"], "AverageRating"=>["1.5"],
 "LastReviewDate"=>["1161318436"]}], "BusinessUrl"=>[{}],
"Address"=>["3950 Grady Dr"]}

21 Quick Website Optimization Tips

•April 7, 2009 • 2 Comments

Here are a few optimisation tips I’ve cobbled together. With all performance fixes there is a trade-off between getting your site to load quick and making it maintainable. Also, remember not to optimise too early, make sure you know your site works and that you are improving actual bottlenecks rather than wasting time.

Page Rendering

  1. Ensure that any JS that can be executed after the main page content has loaded is in the footer of the page. This will include Analytics JS and any AJAX requests.
  2. If you’re AJAX request is less than 2k, use GET, it’s quicker. Try cache AJAX responses where possible.
  3. Don’t scale images in HTML, if an image is going to be displayed 100px wide, save it as 100px wide

Optimising Assets

  1. Use an External CDN i.e. when using scripts that are available from other sites (e.g. Yahoo libraries), refer to them directly rather than storing them locally on your server. This means that any users who have visited sites that use the same scripts will already have them cached in their browser.
  2. When releasing JS and CSS to prod ensure that it is minimised (i.e. remove whitespace, comments etc.) using tools such as http://developer.yahoo.com/yui/compressor/
  3. Optimise graphics for web (In Photoshop, Save for Web)
  4. Use CSS sprites i.e. combining multiple images in to one graphic, and then cropping that one image in multiple areas (explained in point 1 here: http://www.leemunroe.com/optimise-website/). Reduces # of HTTP requests, one image instead of many.
  5. If you have multiple local css or javascript files, consolidate them in to one large CSS and JS file. This cuts down on HTTP requests which introduce unnecessary overhead. You can do it quickly in rails using:
  6. Gzip components (http://developer.yahoo.net/blog/archives/2007/07/high_performanc_3.html)

Caching

  1. Try and cache in memory rather than in the file system. This will work if you have a server with plenty of RAM. I was on a training course once where the bloke claimed that if accessing RAM takes 1 second (obvisouly in reality it is much less) then accessing the equivalent data on disk would take 3 months.
  2. iPhone tip: keep components under 25k otherwise they will not be cached on iPhones

Database Access

  1. Use indexes based on the where clause of common queries on each table

Rails Specific

  1. Use Timed Fragment Caching to simplify caching a page fragement for particular time periods e.g. 1.hour.from.now (rather event-driven expiration e.g. when a new post is added, when a user signs in) – http://www.ruzee.com/blog/2008/07/timed_fragment_cache-on-rails-21
  2. Cache models using acts_as_cached (http://errtheblog.com/post/27)
  3. A couple of Ruby tips for good measure: Always use regular expressions over expensive loops. It’s often possible to remove some slow loops all together by restructuring code.
  4. Avoid dynamic finders like SomeModel.find_by_*, use SomeModel.find_by_sql to query directly instead
  5. Question the use of helpers i.e. do you really need a form helper for a static form or can you make do with the pain of writing the html once?
  6. Use eager loading for models with has_many relationships (http://railscasts.com/episodes/22-eager-loading)
  7. Automatic asset minimisation – http://davetroy.blogspot.com/2007/12/automatic-asset-minimization-and.html
  8. Use Rails’ excellent Page/Action/SQL caching helpers http://guides.rubyonrails.org/caching_with_rails.html

Use Yslow to identify bottlenecks

  1. Use firefox add-on Yslow (https://addons.mozilla.org/en-US/firefox/addon/5369)
  2. It requires Firebug, which if you don’t already have it, is a good tool to have anyway (https://addons.mozilla.org/en-US/firefox/addon/1843)

Do you have any more? Feedback welcome.

What’s Going On

•April 7, 2009 • Leave a Comment

A lot, at the moment. I’ve just returned from two weeks in Switzerland with inspiration and ideas. Think I’m going to take this blog in a new direction, I’m going to cut-down work on wherecaniski.com and will be focusing on other projects. I’ve started work with a good friend of mine on an iPhone app that we hope to have out relatively soon. I need to practice my French more. I’m learning the piano. More updates on everything when I get chance this Easter Weekend. Keep it real x

wherecaniski.com 3-hour-update: Complete

•March 14, 2009 • 1 Comment

Earlier today I mentioned I was going to give wherecaniski.com an facelift, well, it’s now complete and online. 3 hours on layout and look and feel, and an extra couple hours on some other bugs and improvements. Head over and enjoy!

Colours and Pills: Infinity and Beyond

•March 14, 2009 • Leave a Comment

ankbhdamp4jrit76hxclsimc_500

A few posts ago I mentioned Damien Hirst’s spot paintings, in this post I’m going to talk briefly about one of my favourite Hirst pieces, Infinity (2001). This is going to be brief, but I’m going to comment on the relationship between Infinity and the spot paintings.

I know that Hirst said “I imagine the spot paintings are what my art looks like under the microscope”, I know what he means, I think a load of ball bearings is what my blog looks like under the same microscope. Medication also make a frequent appearance in Hirst’s work, in fact, some of the spot paintings are even named after drugs.

Infinity, 2001 - Damien Hirst

Infinity, 2001 - Damien Hirst

 

With Inifinity, I think Hirst is commenting on the abstract nature of emotion and of colour – that they both exist, but share an unattainable quality. As humans,  the purest form of any colour or emotion appear to be unavailable to us. Indeed, they may not even exist. And if they did, how would we know anyway? All we can do is synthesize the experience with paint and pills. These pills, they all have an aim, they all attempt to induce an emotion or experience, but they aren’t perfect and they don’t last forever. Whether they reduce pain or stimulate the brain, they can only do so much before damaging the body.

 

There is only purity in the abstract, and the abstract, by definition, can only ever be represented our incomplete rendering of it. 

I think that’s one of the themes.

What Flash Mobbing is Like…

•March 14, 2009 • Leave a Comment

This post is so 2007, but… you know when you buy a new phone or walkie talkie and its novel to try them out in the same room or in the room next door? And then you realise that’s not only a waste of time but also quite boring. That’s like flash mobbing. Use your social networks properly! Don’t organize pointless meet-ups in public places with silly miming!

All you Facebook haterz, get over it!

•March 13, 2009 • Leave a Comment

Listen. Facebook knows a lot more about UI design that you do. We’ve already had a round of moaning once before, and now what? “We like the homepage as it is”, well if we took that approach with everything we’d still be using ICQ for social networking.

I’m not including good quality critique in this, for example, the side bar could be clearer, and there’s not much differentiation between the boxes on this panel. They’ve obviously gone for the Twitter real-time feel, but I think Facebook is more about what pictures than anything else. Did you know that there are over 10 billion photos on Facebook? Of topic, but the site displays up to 300,000 images a second, quite an engineering feat.

And remember, Facebook is free at the point of use, I don’t think it’s a bad deal to be honest. “Oh but they own my data”, whatever, what does that even mean? That they know your age/education/likes/dislikes? Other private companies own data with a comparable “value”: Amazon, Starbucks, TFL etc. but because you pay them you feel like it’s part of the transaction. Maybe this is a wider debate about targeted advertising. Or advertising in general. Another post, another post…

Website News: Weekend of the 3-hour-makeover

•March 13, 2009 • 1 Comment

Not much news but a few things…

reallygoodtodolist.com – I’ve neglected this a bit but it was only ever meant to be a way for me to learn Rails. Anyway, thinking of tweaking it a bit this weekend. We’ll see.

wherecaniski.com – so this site is finally emerging out of the cesspit, sandbox, whatever the place where you have no pagerank is called. As a result, organic growth is up and it’s making me think more seriously about giving it a makeover. Trouble is, I have a couple of other projects I’m working on. Well, I’m considering giving it a 3-hour-makeover, big changes will be layout and colours.

blog – well, I think I’ve “found my style” recently, but now WordPress is blocked from work, which means those rare moments of inspiration are now often lost. Occasionally I get Saturday mornings, where I can sit down with with a white mocha, an open window and a dirty old macbook.

other projects – I have a couple of other projects but it’s too early for it to be worth revealing anything. Hopefully there’ll be more news in the coming weeks. Until then, I have the 3-hour-makeover to hammer at least.

Darwinism, Social Mobility and Wealth

•March 1, 2009 • 5 Comments

An idea was put to me at a party last night: imagine that when you die, all your accumulated wealth went to the state, with a few caveats, for example, property is excluded and you must have reached a high enough age so that the next generation have reached middle-age. Crazy you might think, we already pay enough taxes in our lifetime on income, property, purchases, rent and so on.

But think about the effect this would have on the entire population. We can see all around us that our social evolution is far outpacing our biological evolution, due to technology, geographical mobility and longer life spans. The effect is that social factors such as wealth, occupation and looks, have replaced physical strength and hunting capability – the root of our ancestors’ mating credentials. Why is accumulating wealth important to us? Two reasons, firstly, it allows us to purchase food and material goods without the effort of creating/finding/manufacturing/hunting/processing/designing/distributing/maintaining them ourselves. Secondly, wealth can be transmitted between generations as it is inheritable. Ultimately, money makes money, so as subsequent generations accumulate it there is a forward feedback loop, where the richer get richer.

By breaking the ‘wealth cycle’, a sort of anti-Darwinian socialism would be created, so that “excessive” wealth (a subject concept, I know, but this is only a thought experiment) would be absorbed by the state and back in to initiatives such as education, public transport, health care – the effect would be lower social poverty and improved social mobility. For the very poorest, the loss of potential wealth inheritance would be compensated by these improved social conditions.

Of course, there are flaws in the idea, for example, we would lose the second incentive for accumlating wealth, hence there would be an adverse effect on career ambition, the market place and the inhuman but useful metric: “GDP”.

An interesting idea none the less.

Whatever Happened to Bird Flu?

•February 28, 2009 • Leave a Comment

Just heard an incrediable TED Talk by Larry Brilliant about the effort to stop pandemics. Larry helped the team that managed to irradicate smallpox, which is the only disease that has ever been successfully wiped out.  In his talk, he mentioned bird flu, which seems to have been dropped by the media as an issue of public interest. The World Health Organisation currently classifies BIrd Flu at Level 3, which means there is evidence of human-to-human transmission.

Worringly, Larry explains that the next level is human-to-human-to-human, which could equal a global pandemic in today’s interconnected world. I was once sat in a bar in Geneva, in conversation with an employee of the WHO, who told me that “Bird flu is still serious s**t”. This insightful comment may be right, as if the disease were ever to reach this stage, the world as we know it would change; air travel would be halted, cities would empty and trade would cease. These events would lower the product of the world’s economies by trillions, meaning health care would be available only to an extreme minority, so that on top of the hundreds of millions killed by the disease, more or less everyone would be affected.

If only we could channel more cash and brain power to research in this field, the progress would snowball. Larry explained that the successful suppression of the SARS virus between 2002 and 2003 had been made possible by an internet and media tracking system called GPHIN, which scans around 20,000 websites a day in 7 different languages, and allows health organisations to pin-point outbreaks and action immediately. He goes on to explain that this same technology needs to be upgraded to scan millions of pages per day, in more languages, and his affiliation with Larry Page and Sergey Bin is evidence that he is pushing this initiative in the right direction.

Larry Brilliant, help us all!

Ramsay gets Chef to Marry

•February 27, 2009 • 2 Comments

I don’t really watch TV but after making some dinner I switched on the goggle box to find Ramsay working his magic over in his Kitchen Nightmares USA series. There was the usual mix: the arrogant chef, the troubled business, the dependent family, the failed business and massive debt ($500,000 in this case), the shock moment (dirty kitchen), the comedy moment (family milking cows for the pursuit of fresh mozzarella) and so on, all accompanied by a soundtrack consisting entirely of classical crescendos and plenty of yelling.

At one point Ramsay arranges in secret for a team of interior decorators to make over the entire restaurant OVERNIGHT, so when the family come in the next morning they are bowled over, they’re crying, they’re swearing, it was beautiful. Then he arranges for the editor of a top Italian food magazine to review the restaurant, and on the same night confronts the young arrogant chef and tells him it’s time to marry his long-term girlfriend F**K ME RAMSAY, chef turned life consultant turned demi-god, you can’t go around doing that! So the chef proposes to his girlfriend in front of a crowded restaurant on its opening night, beautiful.

I assume (hopefully) the only reason the couple hadn’t married before was rooted in financial difficultly…Which makes you think, how are they going to afford a wedding?

Well the next surprise in the Kitchen make over program was that Ramsay had arranged for the wedding to take place the same night, and the show had provided the wedding dress and wedding ring. I was nearly crying by this point!

Brilliant.

Best Ski Resorts Within 2 Hours Of Geneva?

•February 11, 2009 • 3 Comments

My projet-de-dernier-semaine was to upgrade a new site I’ve been working on called www.wherecaniski.com

The site gathers the latest resort condition data and weather forecasts so that you can be well-informed when planning which resort to head to that weekend.

The site allows you to type in a resort name and view the conditions at that resort, and all resorts within a given distance. You can also simply type the name of a town that you are travelling from, so for example, if you are flying to Geneva and don’t have a trip planned, you can type Geneva for resorts within 100km of the city in order of condition quality.

The site is in the early stages so if you have any feedback feel free to contact me.

How Did We Sell Our Sleep To Industry?

•February 11, 2009 • 2 Comments

The BBC published an article by Neil Stanley this week that warns of the health dangers for our “24/7 society” due to a collective loss of sleep. Stanley reflects on how during his childhood in the 1970s, there was a widespread belief that improvements in technology would ultimately yield “so much leisure time that we would have to come up with new ways of amusing ourselves”. He goes on to point out that “unfortunately, what was created by all this new technology was the 24/7 society”.

This reminded me of an essay by Jeffrey Kaplan, entitled The Gospel of Consumption, that considers the advent of consumerism and it’s relationship with machinery. Kaplan describes how in the early 1920s there was a deliberate effort by American business to abate “the threat of stagnating economic growth and a radicalized working class”. For business institutions, the new technology of the era presented “not a vision of liberation but a threat to their position at the centre of power”.

By the early 20th century, the progress of the engineering discipline had yielded great benefits in the US; the nationwide standardisation of railway gauges had allowed rural workers to travel to the booming cities for work, whilst the use of interchangeable parts had created an efficient market for compatible goods and paved the way for mass-production.

For industrialists such as Taylor and Ford, it was a logical progression to extend the principles of the engineering paradigm to the workforce itself. Machinery had already deskilled many jobs, and it proved possible to continue this trend by using time-and-motion study to standardise job specifications, which, interlocked together, would create rigid business processes . Standard job roles meant that it was possible to break the control of skilled labour over the production process, thus restoring the power of management and creating a large supply of generic workers. At the time, German sociologist Max Weber summarised the actions of Western managers as “dominated by efficiency, predictability, calculability and nonhuman technologies that control people”. The extension of the engineering paradigm also meant the process of manufacture became more scalable and that managers could monitor the output of the plants closely using standardised reports . In this way, business has – and continues to - become a machine in itself, created in the image of the technology that powers it.

However, machines can save labour, provided we switch them off once they’ve produced what we need. That means we must be satisfied, but by using various marketing devices, businesses have been able to successfully nurture a perpetual desire for material commodities. The resulting demand for goods keeps the workforce active; hence a forward feedback loop is created, whereby workers become more affluent and can use their income to purchase yet more goods. This demand is then passed back on to the labour market and hence the cycle continues.

The workplace has been transformed over the past century, so that today machines sit on our desks and factory floors with the ability to perform tasks faster and more reliably than humans, and without the need to rest at night. Instead of using this progress to reduce the amount of human effort required to sustain our quality of living, Kaplan remonstrates that we “have allowed the owners of those machines to define their purpose: not reduction of labour, but ‘higher productivity’—and with it the imperative to consume virtually everything that the machinery can possibly produce”. This is an ideological issue, not a technical one, since redefining the purpose of machinery is dependant on redefining the purpose of our collective economies. As the current financial crisis brings in to question the principles of capitalism, including its unceasing mission to create and fulfil and then further create consumer demand, perhaps it’s time to question where we draw the lines between productivity, leisure and a good night’s sleep.

The Definition and Meaning of Art

•January 28, 2009 • 1 Comment

As an outsider, learning about the art world can be challenging. It seems as if there is a professional anxiety in the art industry that manifests itself as a deliberate ambiguity around the most basic concepts. I’m working on an art startup at the moment and, although it’s early days, I’m hoping to record my experiences as I explore the industry. First of all, I’m going to attempt to explain my understanding of the definition and meaning of art.

 

What is the meaning of art?

Nietzsche has the best explanation in my opinion, he thought that art had two complementary roles: Firstly, art should expose the tragic nature of existence, that is, that humanity is essentially meaningless. This is achieved by searching for the meaning and depth embodied in the physical objects that are categorised as art work.

Secondly, he believed that art should counter this afflication with aesthetic or conceptual beauty. In this way, we can attempt to distance ourselves from the trauma of reality and be comforted by the achievements of human creativity. After all, one of the benefits of nihilism is that we are ultimately free to create our own meaning, whether that be through human creativity, or some other form such as love or scientific endeavor.

 

What makes an object “Art”?

Traditionally, the skill of an artist was based purely on the technical aspect of the work, in other words, the craftsmanship. So you could measure a work of art by the time, effort and skill required to create the artifact.

Contemporary art has seen a shift to conceptual work, which often involves less craftsmanship and more focus on the thought process used in creating the art work. This can make defining conceptual art extremely hard, as it is essentially the act of an artist ”presenting” an object that creates the artistic value. Sometimes the artist does not even physically modify the object, as in the case of readymades

The “rules” of conceptual art are at best subjective, anDamien Hirst Spot Paintingd can raise questions on what exactly it is that a buyer is acquiring when they buy such work. For example, the spot paintings by Damien Hirst, of which there are around 300, were actually created by a team of painters that Hirst manages. The perceived value of the work was in it being Hirst’s idea (at it’s most fundamental level, an image of randomly coloured circles) - not his execution of it.

In answer to the question,  ”how is art valued?” (where in this context, I mean that art for sale in the art industry – something that hangs on a West End gallery wall with a sale price of 5 to 7 figures), is something to do with a combination of three things:

  • Craftsmanship
  • The “intellectual process” of the artist in presenting the work as art
  • The movement of the art from a studio or make-shift factory exhibition, to the white walls of a gallery, where the demand for the work far outweighs supply. This, combined with the general affluence of gallery visitors, pushes the price of the work up.

Those are my thoughts on the matter… hope that helps.