Archive for the 'Tech Labours' Category

Deploying Updates from Windows Dev Box to Linux Server

I develop on my local Windows 7 (or XP netbook when out of town) and to test/deploy projects I need to send them to my Gentoo Linux server. While manual copying of files quickly becomes a pain in the arse a fully fledged continuous integration environment is needlessly complex for a single programmer project so I created the following batch script that once run checks my windows folders for new & updated files since the last time the script was run then sends them across the ether using scp1.

The script has been tested on XP & 7 successfully.

For the linux side of things I run a python paster instance with the —reload flag that means paster will pickup changes and restart automatically, making deployment from my windows box a single click action.

Initially I started out a little rusty in my command line knowledge Continue reading ‘Deploying Updates from Windows Dev Box to Linux Server’

In Defence of Ideas

concentrate on the ideas

An insightful blog post1 the other day railed against having lots of ideas and emphasised the need to stay on track, to concentrate on execution of The Big Idea. Here’s the other side of that argument.

There are many economic activities in which the rapid generation of ideas is a must have – take trading as one example. This is purely the game of projecting your ideas for where the market is going onto what is happening in reality. And just as you must see both sides of the trade as they say, so too do you need to foresee multiple scenarios ahead in order to understand all potential market movement. Because how it gets to the projected end result is just as important as when/if it gets there. Multiple & even contradictory ideas are the lifeblood then on which trading activity is based.

Continue reading ‘In Defence of Ideas’

Netbook Upgrading & Housekeeping

I’m a longtime fan of netbooks over other mobile tech gadgets, finding their versatility an important stepchange in the prior arms race for increasingly powerful ‘portables’ that weigh a metric ton and need their own special carrying case, or mobiles with a preposterous array of unusable functions.

May have missed the hackathon at QUB but I’ve still managed to do a bit of hardware related fiddling with this guide on boosting my 4211′s performance & removing a niggle.

Continue reading ‘Netbook Upgrading & Housekeeping’

Fullscreen Web Browsing in Iphone

Often wondered how the iphone safari browser renders pages and found out sometimes the zoom settings means visitors can miss important pieces of information around page edges.

How to Opt Out of Targeted Behavioural Advertising


Behavioural advertising involves the tracking of a web user’s surfing and displaying advertising that matches this data. I find the tracking of my surf history unnecessarily obtrusive personally and today found the online tool that will prevent marketing companies from collecting this data and profiting from it:

http://www.networkadvertising.org/managing/opt_out.asp

Incidentally I came by this information by way of Rapleaf, Continue reading ‘How to Opt Out of Targeted Behavioural Advertising’

Adobe Reader 9: “Windows cannot find …Eula.exe”

PDF won’t open in browser (Firefox/IE/Chrome) after updating to latest Adobe Reader 9? You just need to accept the End User Licence Agreement in the standalone version of Reader first.

Open up Adobe Reader 9 and click Accept. That’s it – you can close it and get back to using it in your browser from now on…

Browse with Confidence?

IE6 not detected on microsoft.com

Perhaps, when attempting to convince users your browser is rock solid haxor-proof, it’d be advisable to demonstrate to them that your sites can detect which browser they’re currently running?

Debugging ‘Responseless’ HTTP Requests

When developing AJAX or Facebook web apps a lot of the time requests are fire and forget i.e. they are awaiting no specific response information from the application. Therefore we have no simple dump to screen solution for debugging our apps.

One workaround would be to save details to a db where they could be retrieved for analysis at a later time. This makes the data persistent but normally for debugging this is overkill. Log frameworks exist but sometimes incorporating third party software in is just bloat, especially in single developer projects.
Continue reading ‘Debugging ‘Responseless’ HTTP Requests’

Trojans. Not Stupid.

I got held up recently by a particularly nasty Trojan infection that seemed to come from a flash vulnerability – or at least it installed itself in a Macromedia directory at a time when embedded flash would have been running on one of the web pages I had open.

TrojanNo ordinary decent virus this one though. It cleverly disabled my default browser – Chrome – coercing me into a specific set of steps that would ultimately place a rootkit on my OS. As my browser seemingly inexplicably was rendered useless, even after multiple uninstall/reinstalls, something else was up. Internet Explorer was attempting to connect to a “tolule.net” which on lookup resolved to a Chinese IP. So a quick entry into my Sygate advanced rules and I had a large swathe of Chinese IPs blocked. So I was safe for the time being giving me a chance to think about what was going on. (The Trojan was quite busy – attempting to connect every 10 mins or so and to multiple domains – initially always tolule.net but also gusmon.net and somemon.net – each time resolving to an address in China).
Continue reading ‘Trojans. Not Stupid.’

The StackOverflow Rant

I should probably open my commentary on the SO community with a more wide-ranging piece on the effectiveness of self-moderation and social badge collecting in rapidly scaling a web community but hopefully by dumping this the second opinion will be more insightful whenever that may be.

forum junkieOk so really I’m just a petty net troll who completely overreacts to criticism online. That aside, I still cannot understand how the answering army at stackoverflow come to the collective conclusion that every question on a close-to-the-bone programming issue requires some inane form of rephrasing or just outright blanking.

Continue reading ‘The StackOverflow Rant’