Archive for the ‘An Interesting Find’ Category

Dell Laptop AC Power Adapter Fault

Monday, November 10th, 2008

During the last week, it seems the AC adapter for my Vostro 1500 Laptop that I purchased 7 months ago has developed a fault meaning that the AC adapter is not detected by the laptop. It still charges and powers the laptop fine however on every boot it makes a very loud beep and requires you to strike F1 to ignore the warning. In addition, the performance of the laptop is reduced to a minimun.

After looking around, it seems the AC adaptor contains a proprietary 1-wire device that transmits a serial number to the laptop. This is meant to prevent you from using 3rd Party adapters, only using Dell’s own adapters. However, the chip and communications are very prone to breakage, which is what seems to have happened in my case. This is not an isolated incident.

Thankfully, it’s still in warranty. A replacement is arriving tomorrow. Congratulations to dell on getting a replacement to me quickly, but I am disappointed that they have made the laptops only compatible with their own power adapters by use of the proprietary 1-wire device inside the power adapter.

Interleaving

Monday, October 27th, 2008

Interleaving is part of ADSL, a protocol used to connect to the internet over phone lines. This can also be called DSL for those of you in the US.

Interleaving is a technology that increases the stability of the line, at the expensive of latency. Simply put, while it is activated your line will not disconnect as often but will have a slightly higher ping. For most people this is fine, however Gamers and users of a VOIP service or anything where latency is crucial want their ping as low as possible.

Most ISPs turn on interleaving by default, if your line is relatively stable then you can request them to turn it off. Some ISPs will not comply, but most will happily do so. My new ISP ADSL24 (who are a reseller for Entanet) allow you to control interleaving on the line. I requested that it was turned off, and my ping decreased by 10ms. Game on!

Not only this, but my line is just as stable. If you are a gamer or VOIP user, ask your ISP to turn off Interleaving to improve your latency.

PHORM PROHIBITED

Friday, October 3rd, 2008

PHORM PROHIBITED

The contents of this site, and communications between this site and its users, are protected by database right, copyright, confidentiality and the right not to be intercepted conferred by section 1(3) of the Regulation of Investigatory Powers Act 2000. The use of those contents and communications by Internet Service Providers or others to profile or classify users of this site for advertising or other purposes is strictly forbidden.

Owned. I’ve left BT over their illegal privacy invading Phorm system. I will not have my privacy invaded to increase the bonuses of overpaid BT executives and shareholders - I suggest others do the same.

Changing the php.ini without access

Saturday, August 16th, 2008

Recently, I needed to turn on magic quotes for a customer on our web hosting. Now, our web hosting is not actually hosted by me, rather I purchase a reseller package. This allows me to offer cPanel access without having to spend an absolute fortune on it. However, it means I don’t have access to the php.ini and hence can’t turn on magic quotes.

Now, I wouldn’t want it on anyway (and it’s quite bad apparently) so how could I enable it just for this customer?

The answer? .htaccess . I have always thought .htaccess as just a file that controls access, not an entire config. Adding the following line

php_flag magic_quotes_gpc on

Turns Magic Quotes on for that user. Awesome.

There is a lot more that can also be configured via the .htaccess too, such as extension handling and more. Have a look into it if you’re intested.

PropHunt Server Back

Thursday, July 3rd, 2008

After months of neglect, i’ve updated and started the Garry’s Mod Prop Hunt server again. It’s still at 4 players as before, but if it’s popular i’ll raise that limit.

In Prop Hunt, there are two teams, Hunters and Props. The job of the Props is to become a prop (by pressing E while looking at it) then blend in somewhere. Hunters have to find these false imposter props and kill them. However, they loose 5HP for every real prop they shoot, so make sure you know what you’re shooting. The latest update allowed props to say a series of taunts to tease those (sometimes dumb) hunters!

The map is still just cs_office as I think this has the best number of props and is small enough so that you can actually find the props (sometime).

So, if you’ve got Garrys Mod, come join the fun at 193.200.158.235:27028. If you’ve got any suggestions relating to the server, let me know.

Secondary MX

Wednesday, July 2nd, 2008

I run my own home mailserver for two reasons, because I enjoy setting up systems and because I can. However, having just 1 mailserver introduces some problems. While according to the RFCs, sending servers are to keep sending failed mail for some time, they often dont. Consequently, if my server goes offline, loss of internet, reboot etc, I often loose a lot of email.

The solution to this is to have a Secondary MX (Mail Exchanger). This is another email server that will also accept email for your domain and keep trying to forward it to your Primary MX, forever. So, when my server comes back up, the email gets sent and not lost.

For a while, i’ve been using DNS Made Easy for my Secondary DNS and MX (don’t forget a secondary DNS, otherwise they can’t find out about your Secondary MX if your Primary DNS is down!). It worked, but not very well and recently i’ve noticed that i’ve been loosing email. DNS Made Easy have no information about their service status either, you have to trust that it’s working.

So, after searching for a while, I came across RollerNet. They provide many serivces, Primary/Secondary DNS/MX etc. I got a free account with them and was amazed at their quality of service. Most importantly, they give detailed logs of your MX status, such as mail received, mail in queue and the option to force-initiate a transfer of mail to your Primary MX. On top of that, they have all the usual spam filtering using the major blacklists, so no false-positives. Unfortunately, their free account has a limit of 50 messages a day (and many spammers target the Secondary MXes) so i’m now exceeding my message limit. No harm done though, i’m really impressed by their quality of service and going to take out a proper subscription. Good job RollerNet!

Google Checkout

Friday, June 27th, 2008

Customers of my game server business may have recently noticed that we’ve added a new payment method, Google Checkout. There have been many reasons driving this, both ones that benefit customers and me.

First of all, from the customer side, Google Checkout is much simpler to use and offers a lot more control over payment history. We’ve had a few customers who have had a bad experience with PayPal and refused to use it. However, unlike PayPal, Google Checkout can only accept a Credit/Debit card as a funding source, so you can’t pay using existing funds or a bank account. However, we found that most people used a Credit or Debit card anyway.

On our side however, it’s even better. While we have to hand-process each order (charging the card etc) the way is done is very good. Plus, we also get a lot more control over the order and like it is for the user side, the history is excellent. There is also the added benefit of having the Google Checkout badge on your AdSense results, which helps make your ad stand out.

One major factor that many might consider is fees. PayPal’s base rate is 0.25p + 4%. This can quickly mount up, with a £24 payment having over £1 in fees, and if you have micropayments it gets even worse. Google Checkout however has 0.15p + 1.5%, faw lower. It doesn’t stop there however, if you advertise using their AdWords service you get £10 worth of sales processed for free for every £1 in advertising you spend. So say you spend £10 on AdWords a month, that gives you £100 of sales processed for free (note: not £100 worth of fees). So the savings are even greater! (More lower prices I can pass on to users)

Perhaps the most interesting bit for us however is that payments are initated to our bank account daily. Unlike PayPal, where you have to get £50 first before you can withdraw. That’s upto £50 that you are not earning interest on and is completely under PayPal’s control.

I will however keep offering PayPal, while Google Checkout is far better when you compare it it has the disadvantage of being unfamiliar to users and not supporting Bank Account funding, so as not to alienate parts of my userbase i’m running both but reccomending Google Checkout.

Update: Got an email the other day from Google saying that I didn’t qualify to have the Google Checkout badge on my AdWords adverts. Apparently, they couldn’t find the badge, so they must just quickly check through. I emailed them back and they checked again and found it (you have to fill out an order form). While the AdWords badge isn’t particually important, it helps you stand out from competitors.

Easy Equations in MediaWiki

Tuesday, March 25th, 2008

If you’ve ever set up MediaWiki, you will probably know how difficult it is to get equations (or LaTeX rendering / math tags) working. Under windows, it requires a lot of tweaking, ImageMagick support, a full LaTeX install and in quite a few cases fails to work. While trying to get equation rendering working on my personal (read, private!) wiki, I came across an interesting solution to this problem. Simply put, it is in extension which interprets <tex> tags and then sets the image URL to that of an image generated by a CGI-Script on another page. This means that no LaTeX or ImageMagick support is needed on the localhost.

The full details of how to get this working are documented here. It is very simple to set up, with the only drawback being that you have to use <tex> tags instead of <math> tags.

If you are interested in the script itself, perhaps to use it for something other than a Wiki, you can visit the creator’s site here. If you have a large wiki or other project however, it is recommended that you host the CGI script yourself to reduce the load on the server that provides this free LaTeX equation rendering.