<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Martyn’s marbles.</description><title>marblr</title><generator>Tumblr (3.0; @martyn)</generator><link>http://tumblr.mloughran.com/</link><item><title>A simple way to import commits from git to svn</title><description>&lt;p&gt;Disclaimer: I’m posting this because when I googled for a quick solution for importing a few git commits into subversion there was nothing. This might not be perfect, but it worked for me.&lt;/p&gt;

&lt;p&gt;The basic idea is to output the patch files from git. This will export a patch file for each commit between these two shas&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git format-patch --no-prefix sha1..sha2
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then apply the patch, add and remove everything, and commit&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;patch -p0 &lt; commit.patch
# Mess about a bit
svn commit -m commit
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I wrote a quick ruby script to automate this which you can find at &lt;a href="http://gist.github.com/350524"&gt;&lt;a href="http://gist.github.com/350524"&gt;http://gist.github.com/350524&lt;/a&gt;&lt;/a&gt;. After running &lt;code&gt;git format-patch&lt;/code&gt; to create the patch files just run the script in the subversion directory&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ruby ~/bin/import_git_patches.rb "/glob/for/patch/files/00*"
&lt;/code&gt;&lt;/pre&gt;</description><link>http://tumblr.mloughran.com/post/486915209</link><guid>http://tumblr.mloughran.com/post/486915209</guid><pubDate>Wed, 31 Mar 2010 17:23:15 +0100</pubDate></item><item><title>Real Time Web Talk at Scottish Ruby Conf</title><description>&lt;p&gt;Here are the slides for the talk Makoto and I gave today at Scottish Ruby Conf. Thanks to everyone who came to support us, and for all the positive comments.&lt;/p&gt;

&lt;div style="width:425px" id="__ss_3575169"&gt;
&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/mloughran/real-time-web-whats-that-for" title="Real Time Web - What's that for?"&gt;Real Time Web - What’s that for?&lt;/a&gt;&lt;/strong&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rtw-100327202722-phpapp01&amp;stripped_title=real-time-web-whats-that-for"&gt;
&lt;param name="allowFullScreen" value="true"&gt;
&lt;param name="allowScriptAccess" value="always"&gt;
&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rtw-100327202722-phpapp01&amp;stripped_title=real-time-web-whats-that-for" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/mloughran"&gt;mloughran&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;</description><link>http://tumblr.mloughran.com/post/478100957</link><guid>http://tumblr.mloughran.com/post/478100957</guid><pubDate>Sun, 28 Mar 2010 02:36:40 +0100</pubDate></item><item><title>Removing Vodafone malware that spoils the Snow Leopard party</title><description>&lt;p&gt;I had the software for a Vodafone mobile dongle installed on my 10.5 mac which caused a 5 minute beach ball after I installed Snow Leopard. Maybe installing rosetta as prompted would have made it work, but I just wanted to rid myself of this nastiness since I’m not using the dongle any more anyway.&lt;/p&gt;

&lt;p&gt;Dear google, this is what I did, YMMV:&lt;/p&gt;

&lt;p&gt;Remove the following from /Library/LaunchAgents/&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cn.com.zte.usbswapper.plist
de.novamedia.NovamediaDiskSupressor
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Remove mac_swapperdemon from system preferences user &gt; accounts &gt; user login items&lt;/p&gt;

&lt;p&gt;Remove&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;/Library/Application support/Vodafone
/Applications/Vodafone mobile connect
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Update: also discovered some kernel extensions to remove&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;sudo rm /System/Library/Extensions/USBExpressCardCantWake_Huawei.kext
sudo rm /System/Library/Extensions/ZTEUSBCDCACMControl.kext
sudo rm /System/Library/Extensions/ZTEUSBCDCACMData.kext
&lt;/code&gt;&lt;/pre&gt;</description><link>http://tumblr.mloughran.com/post/173997552</link><guid>http://tumblr.mloughran.com/post/173997552</guid><pubDate>Fri, 28 Aug 2009 18:00:00 +0100</pubDate></item><item><title>Roaming calls swindle continues...</title><description>&lt;p&gt;Since the EU regulations on roaming charges within Europe came into force, I’ve been pleased to receive a handy little text from O2 whenever I enter a new country:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Calls to the UK &amp; the EU cost 35ppm and 18pmm to receive (inc VAT). Further info on freephone 2266. Voicemail works as it does in the UK.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Nice, but they don’t tell you one very important thing: While incoming calls are metered by the second, outgoing ones are rounded up to the next minute! I don’t much like spending 35p to hear “This is the voicemail service… [hangup]”. And it’s not much better when you took 10 seconds to say “Where are you? OK. I’ll be there in 5.”&lt;/p&gt;

&lt;p&gt;The current regulations agreed in 2007 are due to expire in 2010, but a proposal to extend them in an amended form are currently in progress. While I’m pleased that the call costs are being reduced &lt;em&gt;slightly&lt;/em&gt; year on year (although I wonder whether competition is being stifled), these proposals are much more useful:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Per second billing&lt;/li&gt;
&lt;li&gt;Caps on data usage&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Unfortunately the data cap is only for wholesale rates between operators, and starting at €1 / MB excluding VAT this June is still outrageously expensive. By June 2011 it will be reduced to €0.50, but that’s another two years, by which point we will all be even hungrier for data. The other proposal is for a cut off limit so that you at least know that the charges will be within some bounds. Useful, if only because the charges are still so steep.&lt;/p&gt;

&lt;p&gt;Let’s hope that this goes though, but also that competition kicks in and we see some more competitive deals, especially for data roaming.&lt;/p&gt;

&lt;p&gt;See these links from the European Parliament for more information:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.europarl.europa.eu/news/expert/infopress_page/058-51302-068-03-11-909-20090309IPR51301-09-03-2009-2009-false/default_en.htm"&gt;&lt;a href="http://www.europarl.europa.eu/news/expert/infopress_page/058-51302-068-03-11-909-20090309IPR51301-09-03-2009-2009-false/default_en.htm"&gt;http://www.europarl.europa.eu/news/expert/infopress_page/058-51302-068-03-11-909-20090309IPR51301-09-03-2009-2009-false/default_en.htm&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.europarl.europa.eu/news/public/story_page/058-51878-082-03-13-909-20090316STO51832-2009-23-03-2009/default_en.htm"&gt;&lt;a href="http://www.europarl.europa.eu/news/public/story_page/058-51878-082-03-13-909-20090316STO51832-2009-23-03-2009/default_en.htm"&gt;http://www.europarl.europa.eu/news/public/story_page/058-51878-082-03-13-909-20090316STO51832-2009-23-03-2009/default_en.htm&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://tumblr.mloughran.com/post/93122717</link><guid>http://tumblr.mloughran.com/post/93122717</guid><pubDate>Sun, 05 Apr 2009 11:16:00 +0100</pubDate></item><item><title>SmartSleep</title><description>&lt;a href="http://www.jinx.de/SmartSleep.html"&gt;SmartSleep&lt;/a&gt;: &lt;p&gt;Fantastic little tool that automatically chooses sleep (RAM) or sleep + hibernate (disk) based on your battery level.&lt;/p&gt;

&lt;p&gt;I used to disable hibernate because of the inordinate time it takes for 4GB of RAM to be written to disk. I want to sleep and go NOW without worrying that my delicate hard disk is still spinning half way down the street!&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/81682151</link><guid>http://tumblr.mloughran.com/post/81682151</guid><pubDate>Thu, 26 Feb 2009 12:40:53 +0000</pubDate></item><item><title>I just discovered this old logo that I created on my Toshiba...</title><description>&lt;img src="http://26.media.tumblr.com/j42iEQw39eoftz3cjNBiiikBo1_400.gif"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I just discovered this old logo that I created on my Toshiba Portégé 3500 tablet PC. The pressure sensitive touchscreen was really cool! And yes, cloaked in the mist of time, I choose to forget the countless hours I spent getting the damn thing to work with Linux ;)&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/53095551</link><guid>http://tumblr.mloughran.com/post/53095551</guid><pubDate>Sun, 05 Oct 2008 00:45:33 +0100</pubDate></item><item><title>Dear Google, please look here!</title><description>&lt;p&gt;&lt;a href="http://www.carmarthenmuseum.org.uk/"&gt;Friends of Carmarthen Museum&lt;/a&gt; has some fascinating articles on the history of Carmarthenshire which should be googleable!&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/53081961</link><guid>http://tumblr.mloughran.com/post/53081961</guid><pubDate>Sat, 04 Oct 2008 21:53:22 +0100</pubDate></item><item><title>Doha Airport After 10 Hours…</title><description>&lt;img src="http://29.media.tumblr.com/j42iEQw39cgnh0qkwtNSRx9F_r1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Doha Airport After 10 Hours…&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/45375662</link><guid>http://tumblr.mloughran.com/post/45375662</guid><pubDate>Sun, 10 Aug 2008 04:37:00 +0100</pubDate></item><item><title>UNIQLOCK</title><description>&lt;a href="http://www.uniqlo.jp/uniqlock/"&gt;UNIQLOCK&lt;/a&gt;: &lt;p&gt;Brain hypnosis. So creative. Does it ever repeat?&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/38031310</link><guid>http://tumblr.mloughran.com/post/38031310</guid><pubDate>Wed, 11 Jun 2008 18:42:19 +0100</pubDate></item><item><title>Tinydb.org</title><description>&lt;p&gt;&lt;a href="http://tinydb.org/"&gt;Tinydb&lt;/a&gt; is a fantastic way of storing structured data inside a tiny url.&lt;/p&gt;

&lt;p&gt;It’s a database in the cloud without any security, querying, editing… basically anything. However since it runs on the &lt;a href="http://code.google.com/appengine/"&gt;Google App Engine&lt;/a&gt; the data is actually being stored on a &lt;a href="http://labs.google.com/papers/bigtable.html"&gt;Google Bigtable&lt;/a&gt;. Clearly, it’s the best place in the world for the most useless data I can possibly imagine!&lt;/p&gt;

&lt;p&gt;I am happy to announce that you can now chirp merrily away on &lt;a href="http://mloughran.com"&gt;mloughran.com&lt;/a&gt; knowing that it’s costing me about 15 bytes of memory (the url of the most recent comment).&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/34628524</link><guid>http://tumblr.mloughran.com/post/34628524</guid><pubDate>Tue, 13 May 2008 08:31:21 +0100</pubDate></item><item><title>I needed to use mysql and php...</title><description>&lt;p&gt;Problem: built in php can’t find macports installed MySQL on OS X Leopard.&lt;/p&gt;

&lt;p&gt;Solution:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sudo cp /etc/php.ini.default /etc/php.ini&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mysql.default_socket = /private/tmp/mysql.sock&lt;/code&gt; in php.ini&lt;/li&gt;
&lt;li&gt;restart apache&lt;/li&gt;
&lt;/ul&gt;</description><link>http://tumblr.mloughran.com/post/31270529</link><guid>http://tumblr.mloughran.com/post/31270529</guid><pubDate>Wed, 09 Apr 2008 19:10:00 +0100</pubDate></item><item><title>Why data matters</title><description>&lt;a href="http://googleblog.blogspot.com/2008/03/why-data-matters.html"&gt;Why data matters&lt;/a&gt;: &lt;p&gt;Google isn’t merely interested in all the data on the internet. They would like to store every interaction of every human being with every piece of that data. Running MapReduce on that data set must be so much fun.&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/29788977</link><guid>http://tumblr.mloughran.com/post/29788977</guid><pubDate>Tue, 25 Mar 2008 11:09:19 +0000</pubDate></item><item><title>OneLessDesk</title><description>&lt;a href="http://hecklerdesign.com/"&gt;OneLessDesk&lt;/a&gt;: &lt;p&gt;Unfortunately I just bought a new desk…&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/29190177</link><guid>http://tumblr.mloughran.com/post/29190177</guid><pubDate>Tue, 18 Mar 2008 14:42:13 +0000</pubDate></item><item><title>Great error text from Camino - you don’t want to see the...</title><description>&lt;img src="http://30.media.tumblr.com/j42iEQw396klzvvdFQg3ew10_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Great error text from Camino - you don’t want to see the boring wordy paragraph that Safari spits out. Safari isn’t always the greatest.&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/28866776</link><guid>http://tumblr.mloughran.com/post/28866776</guid><pubDate>Fri, 14 Mar 2008 18:08:52 +0000</pubDate></item><item><title>Do not use 123-reg</title><description>&lt;p&gt;I cannot &lt;em&gt;believe&lt;/em&gt; their site is so bad.&lt;/p&gt;

&lt;p&gt;It’s absolutely criminal. They spend loads of time making their front end website really nice and pretty to get people to sign up but then provide the worst management tools I’ve ever seen.&lt;/p&gt;

&lt;p&gt;There is no navigation, no style, no IA, no logic, no usability. Random static text, forms with existing values not pre-filled, and timeout errors as they connect to internal and registry services. There is simply &lt;em&gt;no&lt;/em&gt; excuse for this. Such a waste of my time just to change an A record.&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/27949774</link><guid>http://tumblr.mloughran.com/post/27949774</guid><pubDate>Tue, 04 Mar 2008 17:33:52 +0000</pubDate></item><item><title>Optical illusion: grayscale colour photo!</title><description>&lt;a href="http://www.isnichwahr.de/redirect_ext11541-.html"&gt;Optical illusion: grayscale colour photo!&lt;/a&gt;: &lt;p&gt;Best optical illusion I’ve seen for a while! I bet I could find out how this works too and make my own.&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/27216322</link><guid>http://tumblr.mloughran.com/post/27216322</guid><pubDate>Mon, 25 Feb 2008 08:55:00 +0000</pubDate></item><item><title>Rubular</title><description>&lt;a href="http://www.rubular.com/"&gt;Rubular&lt;/a&gt;: &lt;p&gt;This is so simple! Such a nice way to play around with regular expressions (ruby).&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/25160725</link><guid>http://tumblr.mloughran.com/post/25160725</guid><pubDate>Thu, 31 Jan 2008 09:33:55 +0000</pubDate></item><item><title>I really really hope they didn’t use a real instrument for...</title><description>&lt;img src="http://24.media.tumblr.com/j42iEQw394noddtobaSapZb6_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I really &lt;em&gt;really&lt;/em&gt; hope they didn’t use a real instrument for this…&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/24714661</link><guid>http://tumblr.mloughran.com/post/24714661</guid><pubDate>Sat, 26 Jan 2008 11:19:46 +0000</pubDate></item><item><title>I wonder what this was inspired by…</title><description>&lt;img src="http://27.media.tumblr.com/j42iEQw394me5zebgIwz0QTx_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I wonder what this was inspired by…&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/24642205</link><guid>http://tumblr.mloughran.com/post/24642205</guid><pubDate>Fri, 25 Jan 2008 13:46:18 +0000</pubDate></item><item><title>My favourite MacHeist app wasn’t the reason I bought the...</title><description>&lt;img src="http://28.media.tumblr.com/j42iEQw394fwvvi8ayoBt6Hg_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;My favourite MacHeist app wasn’t the reason I bought the bundle. Indeed it was the app, &lt;a href="http://coversutra.com/"&gt;CoverSutra&lt;/a&gt;, which I’d dismissed as “who need another iTunes launcher - I’ve got quicksilver”. Turns out it’s not just shiny, but it’s really really handy! The one button HUD for iTunes is great. Just like the &lt;a href="http://www.culturedcode.com/things"&gt;Things&lt;/a&gt; HUD, it does it’s job vanishes. No nonsense.&lt;/p&gt;

&lt;p&gt;Genius feature: CD jewel case on the desktop, complete with gratuitous shininess!&lt;/p&gt;

&lt;p&gt;If you’re wondering about the beautiful photo, my friend and incredible cellist Rowena is half of the &lt;a href="http://www.calvertturnerduo.co.uk/"&gt;Calvert Turner Duo&lt;/a&gt;. Stunning photos and brilliant music!&lt;/p&gt;</description><link>http://tumblr.mloughran.com/post/24245365</link><guid>http://tumblr.mloughran.com/post/24245365</guid><pubDate>Mon, 21 Jan 2008 00:55:00 +0000</pubDate></item></channel></rss>
