Matching Notes

Projects, mixes & posts by James Croft

18 February 2013

Changing 'blue dollars' in Argentina

Here’s a tip for anyone travelling to Argentina, bring US dollars.

The Argentinan economy is in a state at moment, inflation is at about 25% and people are worried that a crash is coming. In order to protect themselves, Argentinans are keen to change their pesos into more stable currencies such as the US dollar.

The government has put limits on the amount of dollars that can be exchanged and this has led to the emergence of an informal currency market where dollars are bought and sold. Dollars traded in this way are called “Blue Dollars” (el Dólar Blue, not Dólar Azul). The demand for US dollars is currently so strong that the blue dollar exchange rate is currenty 50% higher than the official one.

By changing GBPs into dollars before leaving the UK and then selling them when we arrived in Buenos Aires we were able to get about 50% more pesos for our money.

Here are some tips for selling blue dollars:

  • Check the current rate of the blue dollar on dolarblue.net or Twitter.
  • Apparently, it is all about the Benjamins. $100 bills are the most sought after notes and selling these will get you a better rate.
  • There’s a Facebook page where buyers and sellers can connect. We posted on here and were contacted by a few buyers but the rates offered didn’t match what we could get elsewhere.
  • If you are in Buenos Aires, the place to go to change dollars is Calle Florida. This is where the street money changers hang around, you won’t have any trouble finding one.
25 March 2012

Using Google Map tiles with Leaflet

I recently came across this plugin that allows you to use Google Map tiles with the Leaflet mapping library.

I’ve made a couple of small tweaks to the script so that it still works with HTML5 doctypes. You can get the modified version here.

You can see the code for a working example here.

19 October 2011

Social Canvas: Toolbox

Basil and I spent last week working at IDEO building a new site, Social Canvas, in preparation for Tom Hulme’s presentation at Wired Conf.

Social Canvas is currently a prototype for showcasing presentations and encouraging conversations around them.

It was a quick project, we only had a few days to build the site and we approached it in the spirit of Tom’s presentation - prototype quickly and Launch to Learn.

When prototyping sites, I like to be able to grab existing libraries and plumb them together to achieve quick results. Open source libraries are the building blocks that allow me to get up and running quickly, my job as a developer is to make sure everything plays nicely together.

For a developer, half of the battle is knowing what’s out there and what is worth using. The libraries listed below are used on Social Canvas and are definitely worth looking into.

D3.js

I used this for the activity chart at the top of the page. D3 makes it very easy to create great looking SVG data visualisations, graphs and maps.

I’ve been using D3 on a few projects lately and it’s awesome. It’s going to be one of those libraries that I end up using everywhere.

jQuery Waypoints

This is a great jQuery plugin that triggers events when you scroll to elements.

A common use case of jQuery Waypoints is to make sticky elements, these are elements that when scrolled to stick to the top of the browser window. See how the slide preview navigation is sticky on Social Canvas.

When designing Social Canvas, it was very important to IDEO that people could link to individual slides. Originally, the site had a page per slide and each slide had it’s own URL. We made navigating between the individual slides super quick with the use of Pjax but the point was raised that this wasn’t a good format to be able to scan whole presentation.

We then changed the format so that all the slides are displayed on a single page. To retain the ability to link to individual slides I attached a waypoint to each slide that uses window.history.replaceState() to update the browser URL with a permalink to the slide. If you scroll down the page, you’ll see the URL repeatedly update.

The reason I stuck with slide URLs of the form

/launch-to-learn/slide/3

rather than anchor URLs

/launch-to-learn#slide-3

was so that if we decide to switch back to the one slide per page format, any existing links to slides won’t break.

Visiting one of these slide URLs will currently do a server side redirect to the relevant anchor link, ensuring that you are taken to the correct point on the page. E.g.

http://socialcanvas.ideo.com/presentations/launch-to-learn/slide/2

Keymaster.js

Keymaster is a super simple way to add keyboard navigation to a site.

Browsing a presentation with the keyboard feels completely natural and so I added keyboard navigation for the cursor keys and spacebar (and j & k for the geeks).

Pusher

Whilst it’s not difficult to host your own websocket server using something like socket.io, when you are up against the clock it’s nice to be able to use someone else’s service. It’s like hosting on Heroku, when you need to get something hosted quickly, you just push it to Heroku.

This is what Pusher are doing with websockets, they make it so easy that it’s often not worth your time setting your own up. Their service is great, it just works and it’s one less thing to think about.

We wanted a few live updates on Social Canvas and implementing these with Pusher was trivial.

Redis

I use Redis in practically every project that I do now. I’ve never had a problem with it, it always ‘just works’.

On Social Canvas I used it to very quickly hack together the liking & voting functionality. It’s also used for various caching purposes around the site.

16 June 2011

June 2011 Mix

Download here (Right click, save as)

  1. Robertz Babicz - Remote Kiss
  2. Fiord & Tim Richards - Chatter Box (King Unique Dub Mix)
  3. Solee - Aragorn
  4. Spooky - Little Bullet (Ballistic Mix)
  5. Andrew K - The Doppler Effect (Max Cooper Mix)
  6. Nagano Kitchen - Asama (East Mix)
  7. King Unique - 2000000 Suns
  8. Chikinki - Assassinator 12 (Rudee Hagelstein Ride On Take Off Mix)
  9. Damabiah - Sur Les Genoux D L’Automne (Ryan Davis Remix)
  10. Juan Deminicis - Behind the shadow
  11. Guy J - Personal Haze
  12. Patrick Chardronnet - Eve by night
  13. Marco Bailey - Bom Bang (Deepfunk Remix)
  14. Benoit & Sergio - Let Me Count The Ways
  15. Marco Plex - Bring It Back
04 May 2011

New mix for download

I haven’t recorded any mixes in a while, I really need to get into the habit of pressing record more often.

Anyway, here’s one that I did the other day. It’s a pretty laid back affair with some deep house, old and new, and a couple of recent Ewan Pearson remixes to finish.

Download here (Right click, save as)

  1. Max Cooper - The End of Reason
  2. Beroshima - Horizon (Beroshima Deep Mix)
  3. Pablo Bolivar - Memories (Nhar Remix)
  4. Riley Reinhold & Steve Barnes - Someday (Stefan Gubatz Remix)
  5. Vincenzo - Young Mountain
  6. Hot Chip - I Feel Better (Max Cooper Remix)
  7. Danny Howells - Black Cat
  8. Nina Kraviz - I’m Gonna Get You
  9. Chaim - Love Rehab
  10. Flowers and Sea Creatures - A.M. (Ewan Pearson Re-Edit)
  11. Glimpse, Martin Dawson - No One Belongs Here More Than You (Ewan’s Balearos Maximos Remix)