tech

Drupal Ubercart Bitcoin Gateway

I put my hand up to maintain the Drupal ubercart bitcoin payment gateway, really excited to breath some life into this new payment tech.

I've got an initial port of the github code for drupal 6 and drupal 7 running, so let's see where this ends up!

If you like, send me some bitcoinage here 1Cu91rx1tXyihWQVqvUiNsDd535yAcMqzS

From wikipedia..

Bitcoin is a decentralized electronic cash system

Protesting doesnt hurt..

Nice to see that blacking out your site in protest to some draconian SOPA/PIPA laws doesnt seem to hurt your traffic, which is definitely a consideration for any website owner who's site is very popular.

check out the traffic stats here, the PIPA/SOPA 'black out' is the obvious dip in the center, but you can see traffic returns to normal almost instantly.

First android app released

Well I finally stepped through all the tricks and got my first Android application released on the google android market

The idea is simple, it just looks at what music you have on your device, and tries to find the best price for downloading the whole album, as often you have just a couple of songs but not a whole album, AND some of us have low quality MP3's of an album and want to buy a high quality version of it, which is one good thing about online music sales.

So, enter,

Drupal 7 and XMLRPC example

The skinny.. Drupal 7's service call for XMLRPC is now a little different, the only way i got it to work was to use Cookie/SESSID in the headers and not send the session id as an argument (as you did in the past)

So check out my fork here https://github.com/dgtlmoon/python_drupal_services of the drupal 7 python xmlrpc client example

I guess if you want to improve the cookie handling for the sessions you could take some inspiration from http://code.activestate.com/recipes/501148-xmlrpc-serverclient-which-doe...

The fat...

Easy win for lowering PHP memory usage (drupal)

I've been surfing the limits of my colo machine, trying to figure out how to lower the memory usage so I can move the server into the next lowest hosting bracket.

 5533 www-data  20   0 69124  36m 5108 S   17  4.8   7:24.76 php5-cgi
 5970 www-data  20   0 68940  35m 4968 S   17  4.8   6:49.83 php5-cgi
 9984 www-data  20   0 67432  34m 5164 R   12  4.6   3:09.83 php5-cgi
 6876 www-data  20   0 66352  33m 5096 S   18  4.5   5:52.78 php5-cgi

Theres a handful of things I don't use (yet)


# apt-get remove php5-dev php5-curl php5-eaccelerator php5-memcache

Datamining Facebook

Thought this was interesting, I recently experimented with running some advertisements on Facebook for my http://tshirtslayer.com metal gallery website.

Pretty cool to be able to see how many people have certain interests (and of which sex) in different area, for example, a quick mine reveals 140,000 users in finland/norway/sweden who are female over 18 are into metal, pretty good if you compare that with other countries!

Easy Peasy YouTube integration

Recently I added some fun functionality to tshirtslayer, that is when a user win's one of the tshirt thumbnail guessing competitions, they get to add a couple of youtube videos to the official tshirtslayer youtube playlist - and they do this through the tshirtslayer website by entering in the youtube video ID's.

Let's look at the basics, as I had never worked with the GData API before.

First obviously you have to grab the extra library, extract it something and set the path in your php.ini.

SalesForce / Ascent / FinancialForce integration with Drupal / Ubercart ecommerce

Recently I completed a really interesting task of integrating Ubercart (one of Drupal's best cart/ecommerce systems) with SalesForce CRM.

Along side the SalesForce integration for recording account and contact details of purchasers is the Ascent ERP interface for resource planning and inventory control.

Green's Victoria utilise smartphone application to map public transport over-crowding in real time

Saw this in my email this morning, thought it was really fantastic that there is atleast one political party actively doing something about an issue that affect's everyone in victoria, australia who use public transport.

They have developed an iPhone application called We won't stand for it that allows you to register overcrowding on public transport.

I think this is brilliant because no one seems to have reliable data on this and ofcourse if you ask the commercially backed companies about it, they say "no everything is fine".

Vodafone Mobile Internet gives you a downgraded view of the internet!

Tried out vodafone.de's free-7 day internet pass.

I went to check on tshirtslayer the worlds biggest gallery of metal tshirts and battlejackets and I noticed the images werent looking right, you wont believe what I saw!

They are not only transparently proxying, but are actively re-hosting a lot of assets at a greatly reduced file size.

!!! They didn't just drop the quality a little in their proxy, their dropped it down to just 17% of the original!

Syndicate content