DeeEmm

Pragmatism in code

Michael Percy AKA DeeEmm - Waxing lyrical about life the universe and everything software related since lunchtime 2006.
DeeEmm AKA Michael Percy is an industrial software engineer specialising in language based programming. A long time supporter and contributor to the open source community, he can mostly be found tinkering about creating web sites and writing code for various CMS platforms as well as maintaining several websites of his own.

Downloads now available again

The downloads section is now back up and running. 

All available downloads can now be downloaded without having to log in or become a member.

If there are any missing downloads or broken links please let me know

/DM

Tags:
1232 Hits
0 Comments

Site Reshuffle

Been busy today tidying up the site. I've been meaning to get around to finishing off a few things, namely the poor cataloguing of the tutorials section and reinstatement of the downloads section which unfortunately broke during the last site update.

I've changed the tutorials section so that it runs off of the excellent SectionX from StackIdeas. I had perviously used SectionX on a few 1.5 sites and was very disappointed that it was never updated it for later Joomla versions. In the end I migrated the tutorials across to EasyBlog, but it was never quite the same.

Whilst recently updating a clients site I was pretty stoked to find that SectionX had been updated to work with the current Joomla versions. Great news! So I have installed it and re-enabled the old tutorials. All I need to do now is to go through the blogs and migrate any new posts back across to being a Joomla article. Stack Ideas offer a free plugin that claims to do this so I will give it a go and see what happens.

One thing that I will need to revisit is commenting for articles in the tutorials section. This was being handled by EasyBlog but will now have to managed by something like Komento. (another StackIdeas product).

Continue reading
2072 Hits
0 Comments

Ubuntu Forums Hacked

Looks like the Ubuntu forums have been hacked as they are currently offline. The forum is currently displaying the maintenance page with the following information: Ubuntu Forums is down for maintenance There has been a security breach on the Ubuntu Forums. The Canonical IS team is working hard as we speak to restore normal operations. This page will be updated with progress reports. What we know Unfortunately the attackers have gotten every user's local username, password, and email address from the Ubuntu Forums database. The passwords are not stored in plain text, they are stored as salted hashes. However, if you were using the same password as your Ubuntu Forums one on another service (such as email), you are strongly encouraged to change the password on the other service ASAP. Ubuntu One, Launchpad and other Ubuntu/Canonical services are NOT affected by the breach. Progress report 2013-07-20 2011UTC: Reports of defacement 2013-07-20 2015UTC: Site taken down, this splash page put in place while investigation continues. 2013-07-21: we believe the root cause of the breach has been identified. We are currently reinstalling the forums software from scratch. No data (posts, private messages etc.) will be lost as part of this process. 2013-07-22 -> 2013-07-25: work on reinstalling the forums continues. 2013-07-26: the forums are up running again and being tested privately by Forum administrators.

Tags:
4518 Hits
0 Comments

Green Geeks

I have had a few of my larger sites hosted at Green Geeks for a number of years now. At one time I used to use them exclusively for all of my hosting, years ago the prices were good, and the service was great. However, over time the level of service seemed to drop massively and the number of issues that I experienced seemed to grow exponentially. 

One issue that kept rearing it's head was unexpected server updates. The techs had a habit of making server configuration changes without any prior notice meaning that you would come into work and find that 100 out of your 200 sites had features that had stopped working. These changes were usually in response to server security compromises, and amazingly on some of these occasions there was even a root breach. Such changes were an absolute nightmare and sometimes would result in losing two days or more to update code to work with the new convoluted configurations. In the end I simply moved everything to another host.

Whilst this was easy for most sites, I have a couple of larger sites that simply were not an easy task to migrate. The sheer size of the sites meant days of FTP time to transfer the files. I simply kept putting the migration off until the inevitable happened.

Well that inevitable moment happend recently when the billing cycle was unable to renew as my credit card details had expired. Instead of emailing me to let me know so that I could update my details they simply flipped the switch and took the sites offline. The first I knew of it was receiving an email from an irate client saying that their service had been suspended. Great.

Continue reading
Tags:
1288 Hits
0 Comments

Farcebook. Dolphins and Conundrums.

Along with the recent site update I have also decided to junk the 'web technologies' moniker and revert to just the plain old 'DeeEmm' name. The reason for adopting the name in the first place was to try and leverage the DeeEmm name to generate some business from the hard earned reputation that I had garnered from providing free templates, mods and plugins for various web platforms.

For some reason, perhaps the free lovin hippy side of me, I decided to give away (yes GIVE AWAY!!) modifications and plugins for FREE!! This had a rather good outcome in that I managed to secure me quite a good reputation. Whilst others seemed to milking every and any opportunity I decided to try and undermine their cashing in by providing my mods for free. This ploy worked remarkably well, especially with the Boonex Dolphin platform, in fact so well that I still get enquiries for Dolphin work long after I opted to have nothing to do with it (some 2 or 3 years in fact!). The upshot of my free mods was that I received many many enquiries. But whilst I received many enquiries, the conversion rate was relatively low, in fact for every fifty enquiries only one would end up as a sale and not someone expecting free advice or help, not a very good conversion ratio. 

For some reason most of those enquiries related to the Dolphin platform all ended up being little more than wishful thinking, it appeared that most of the enquiries that I received seemed to want everything that I could offer, but expected to pay more-or-less nothing for it. This is a phenomenon not experienced with other software platforms and I'm not 100% sure why.

I would like to say it is because of of a carefully considered business model where a less than a perfect software core is sold and then Svengali types swan along and sell you solutions to all of the inherent problems in the code. However I think that the reality is much worse than that.

Continue reading
1597 Hits
0 Comments

Site Update

Decided to update the site and freshen it up a little.

The template is now based on the popular Twitter boostrap template and some of the superfluous areas of the sites have been removed. The discussions area is now no more. I figure that I'm not developing commercial components any more so there is really no need for it, instead I will simply support each mod / tutorial through it's comment section.

Whilst on the subject of comments handling, I decided to stop using the excellent Komento and instead simply reply on the inbuilt comments system for EasyBlog. This is more than adequate and running a skinnier site is going to be much easier to manage.

There are numerous other changes, most of them minor and none really that noticeable so that's it for another year or so until the next update.

Continue reading
1384 Hits
0 Comments

Running CRON for JomSocial

To enable your JomSocial site to communicate with it's members you need to set a CRON job up to pop messages off of the mail queue. This is done by calling the following script. "http://yourdomain.com/index.php?option=com_community&task=cron"

Normally this can be easily achieved by adding a cron via cPanel or whatever your flavour of web admin interface happens to be. If, like me, you are running a virtual or dedicated server you might need to add a CRON via the command line.

My particular flavour of linux happens to use the crontab function to run CRON tasks. To add a cron job its simply a case of running the following command

sudo crontab -e

Continue reading
4209 Hits
0 Comments

JomSocial Group Discussion Exploit

Been getting spam for quite a while in a few of my JomSocial sites so decided to take a look into why. Spam messages were somehow being left by guest users even though guest access was disabled and permissions were set to members only for group discussions. After a short while I was easily able to replicate how to to do this myself.

So wanting to the the right thing and not publicly post the exploit for others to see and abuse I emailed JomSocial support with details of the exploit and how to fix it. After waiting for a while I got absolutely no response whatsoever. I then posted a message to their Facebook feed, same thing - absolutely no reply whatsoever. Pretty ironic considering that thier Facebook page is pretty active lately telling us what a great job they are doing improving JomSocial.

Hmmnnnn what to do?

So next I post a support thread on their forum. After a couple of weeks of not receiving any official reply I gave up any expectation of ever getting a reply and simply fixed my sites myself. I eventually received an email requesting that I give examples of the exploit, screen grabs and a whole bunch of other stuff that would take up heaps of my time. I politely declined saying that they had missed their chance but offering that they could engage me professionally if they wanted me fix their code. Not surprisingly there was no reply.

Continue reading
14081 Hits
1 Comment

Go Yabba Daddy

Not being a very heavy traffic type of site DeeEmm.com has always been quite happy residing on a shared server along side the other similar sites that I run. My two heavy traffic sites reside on a dedicated server but there has never been a need for such extravagances here. That is, until just recently.Go Yabba Yabba!I have a habit of bouncing between hosting plans so that i can get a better deal and have moved between several hosts before settling on GoDaddy. They offered the cheapest unlimited hosting and as I had domains and online storage registered there it seemed like a no-brainer. Before I moved I gave them a call to make sure that they supported Joomla and a few specific hosting requirements that I needed. The support guy was very helpful and reassured me that there were no account restrictions and the hosting could be configured as I required. Cool.So nearly a year goes by, with no major dramas. The support has been excellent when I have needed it and the sites are running much better then they did on my previous host (who had a habit of continually reconfiguring the servers in the name of 'security' which usually ended up breaking my site).Out of the blue just before Christmas I get an email from 'network violations' telling me that my account is in contravention of their hosting policy and will be taken down unless I immediately fix it. On digging a little further it transpires that as a couple of the sites I had hosted there have over 1024 files within a directory it was seen as being in contravention with their terms and conditions. They advised me to immediately change the site so that it did not have greater then 1024 files or folders in a single directory and then send them an email stating that I had removed the offending items, was in agreement to their rule of 1024 and would not do it again.WTF!?!I smell a rat!I was majorly pissed off as one of the issues I asked about before committing was hosting limitations on their 'unlimited' plans. Well after doing some digging I found out that there is no such clause in their T&C, hence the request to cut and paste a specific statement into an email. Obviously I refused.After some debate and moving up the food chain a few levels I ended up in a stalemate conversation with one of their managers who was not going to budge on their newly created 1024 rule and whilst I managed to get the deadline extended a little they were adamant that I had to address the file issue.There was no compromise on their behalf and I was fed a bullshite story about how my sites were affecting other domains on the shared hosting (quite amazing considering that neither site was actually live, the DNS records were still pointing at my previous registrar meaning that there was zero traffic to their servers).With lies and a complete lack of cooperation on behalf of GoDaddy I decided to vote with my feet and take my (considerable) business elsewhere. Their loss! I did however manage to get a parting shot by getting them to refund me for the three hosting plans that they miss-sold me. The ironic thing was that in the course of the discussions I had with them I asked if they would upgrade me to a VPS plan for free - which they declined. Not sure why as it was a fraction of the price of the three plans. Idiots.My GainTheir loss has literally turned into my gain as I discovered Digital Ocean who offer basic VPS hosting from as little as $5 / month. I have now migrated all of my hosted sites over to a single VPS instance which is working absolutely flawlessly. The best thing is that should I need I can easily and instantly upgrade to a higher spec VPS with the click of a button.I'm going to carry on testing things out for a while and will probably move my two large sites across as it is much better value than I am currently getting./DM

11472 Hits
0 Comments

DeeEmm.ORG

Something new is happening. 

The past few weeks I have been rejigging all of my sites, services and applications so that they all now fall under the banner of my company Indau. The reason for this is that there was no direct correlation between each of the products. This autonomy also failed to leverage a very important commodity - diversity.

By associating all of my different products with my company, it demonstrates the diversity in the work that I do, and therefore work that the company is able to provide. It helps sell my services. 

The reshuffle is partially due to expansion in a new direction, it also helps me to delineate paying projects from hobby projects. Not that hobby projects are without value, indeed the opposite is true.  Whilst undertaking the reshuffle I also decided to revive  my long suffering content management system. DMCMS. The reason for this is partially because I want to play with the fantastic tools on offer by the guys at Atlassian, but also because it deserves to live on.

Continue reading
3878 Hits
0 Comments

Evernote 5.... Epic Fail!

:(

I've been a proponent of Evernote for quite some time now, I use it on my Mac, my iPhone and iPad as well as using the online version when accessing from my clients windows machines. Being able to instantly share data between all of my machines has been an excellent boon to my productivity, and being able to find information fast means that I am never caught short in meetings or whilst out in the field. Well at least that's how it used to be before the latest Evernote 5 update.

The new version of Evernote has been vastly prettyfied, so much so in fact, that instead of being the leading GTD app (GTD = getting things done), it has now entered to realms of bloatware. The new update is visually very different, and a considerable amount of time would have appear to have been spent on creating new fancy graphics and swipe actions. Unfortunately this is at the expense of usability. 

Heres my lowdown on why you should NOT update...

 

Continue reading
8273 Hits
0 Comments

Macbook dies in freak plane accident

The past week has been pretty painful as I have been without my trusty macbook. Unfortunately it died in what I can only call  freak accident.

Last week whilst I was flying to visit a clients site the plane hit some turbulence. Now when I say some turbulence, you could probably translate that as the worst turbulence I have ever experienced. Not wanting to sound too blasé about such things; I fly quite a lot and being originally based in London I've experienced quite a bit of extreme weather whilst flying. Anyhow, before departing i did what I always do; put my mac into sleep mode, loaded it up in my trusty pull along samsonite laptop case and headed off to the airport. After going through check-in, stopping off for the obligatory coffee at the qantas lounge and boarding the plane I settled in to reading my book. (This week it is 'Existence' by David Brin).

Takeoff was pretty bumpy and the ride did not improve as we rose above cloud level, then about 15 minutes into the flight we hit some turbulence. I can only liken the turbulence to what it must feel like to be trapped inside an industrial washing machine, stuck inside of a cement mixer that is bouncing on the worlds biggest bungee. In fact, I'm not really sure if that is an adequate analogy, but I'm sure you get the gist.

Whilst such a ride is no issue for a skateboarding petrol head (I did at one point think of throwing my hands in the air and giving a 'whoop' or two), I've got to admit that the sound of the engines straining and the wings creaking was making the engineer side of my brain ask questions.

Continue reading
Tags:
5806 Hits
0 Comments

Allow guests to view JomSocial activity stream comments

I have recently migrated a site from Dolphin to JomSocial and needed to modify the way that the activity stream was displayed to visitors. By default the replies and likes of activity stream posts are only displayed to friends of the original poster. This means that the comments are very limited in their reach.

The overall effect of hiding activity stream comments and likes from guests is that this valuable activity is wasted. I wanted to show this activity to guest visitors so that they could see how active the site is. This in turn encourages them to join and hopefully encourages them to comment. 

Of course, this may not be suitable for all sites, but in the case of this site, there was no activity that is 'secret' or 'private'; the activity stream is public viewable, and so should be the comments.

The modification you need to do this is pretty straightforward, it simply involves removing or commenting out two lines of code. 

Continue reading
15659 Hits
0 Comments

Mobile Joomla Mobile Template

http://www.mobilejoomla.com/

Another multi platform mobile template, Mobile Joomla. Works great with joomla and kunena and is configurable with seperate templates for different platforms. This is currently active on the site.

4138 Hits
0 Comments

JTouch Joomla Mobile Template

http://www.mobilemews.com/

View your Joomla based site on a mobile device. Just installed this on DeeEmm.com. Needs some tweaking but works reasonably well.

6667 Hits
0 Comments

Airflick & Airplayer

http://ericasadun.com/ftp/AirPlay/

Turn your Mac into an airplay device or serve files and URLs to Apple TV

Tried this out last night to watch a file I had on my macbook on our TV. Works like a dream. Whilst it does not have the prettiest UI, it's an app I will definitely keep hold of for future use.
6467 Hits
0 Comments

Nautilus: Dolphin to JomSocial migration script - Latest progress.

After restarting work on the migration script a few weeks back I have made great progress on getting it finished. I have gone through a few revisions and am now on version 0.10. The bugs are slowly getting addressed and the end is nearing.

The current version 0.10 is still in progress. I'm currently working on migrating the group forum posts into the discussion section of each group, but this is proving to be harder than originally anticipated. Still to go before I release the next version are to migrate articles, navigation structure and IBDW Spywall entries. I finally decided to migrate Spywall posts as the user profile pages look very bare. Plus the transition from old to new will be a lot smoother for members.

One major change is that I decided to flip the way that the migration is carried out. Originally I opted to install JomSocial and copy the Boonex files into a sub directory. However, after some thought I decided that it would be better to do the opposite. Now the migration is carried out by installing JomSocial into a sub directory. This means that you can get the whole migration up and running before going live. It also allows you to easily retain or switch between both sites by using htaccess rules.

The other major change is to move away from the corePHP Wordpress plugin and use EasyBlog. EasyBlog is much more user friendly and comparable with Wordpress on a basic level. OK so it doesn't have the plethora of plugins available to Wordpress, but on a community site this is probably a good thing. I do Have one JomSocial site that uses the corePHP Wordpress plugin, and whilst it works well, it is generally too complex for most users to get their heads around. If anyone really wants / needs a specific blogging platform I would be happy to write a custom script, although I would not do this for free.

Continue reading
8354 Hits
1 Comment

iPad 3 months on

Been a while since I started using the iPad so thought I'd best post some progress.

If you have read the iPad versus MacBook experiment post you would know that one of the objectives of the whole experiment was to see if I could use the iPad as a replacement for my laptop. Well, in short, I did actually manage it, albeit with a few restrictions.

I will start off by saying that whilst you can use your iPad for most things, there are a few things that are much easier on a proper computer. The biggest issue with the iPad for me was simply the user interface. It's great for most things but when you want to type there is nothing like a real keyboard. This is no big issue as you can use the standard apple bluetooth keyboard which works flawlessly. However, this leads not to another issue. There is no mouse.

Mouseless

Continue reading
3066 Hits
0 Comments

iPad versus MacBook experiment

The first in a series of articles documenting an experiment with an iPad, a consultant and a sense of adventure, If you are considering usig an iPad as a replacement for your laptop then read on...

Continue reading
5090 Hits
0 Comments

Server migration

To address some issues with the current hosting we are moving the site to another server, in fact, if you are reading this message, that means the migration has already been a success!

The move is to address some configuration issues and help improve access speed.

There is also an update in the pipeline - watch this space...

2096 Hits
0 Comments