06.13.05
UI Hall of Shame.
This guy writes down the things I think.
06.08.05
Dont let your domain run out!!!
Here’s a cautionary tale.
We all know how cheap domains are now, you can pick one up for about €15 a year, which in anyones money isn’t a whole lot. But what happens when you couldnt be bothered any more? You let it go, just dont renew it,and if its obscure enough its not like anyone else is going to use it is it?
Wrong.
Someone I knew, used to have as their business domain www.classiccastcollection.com (dont follow the link you can do that later) and let it lapse. I’m not quite sure why he let it lapse, maybe he didn’t think it was worth it, or maybe he was strapped for cash, anyway he didnt renew it. Now in the bad old days, if you didnt renew your domain on time, someone else could immediately renew it and you could claim it was rightfully yours and they had stolen it, bu now when you dont renew your domain, you are given a seriously long (6 month) cooling off period, where you can (at increased cost) renew your domain, so when you dont and someone else does you dont have a leg to stand on.
All very well you say, so what happens a competitor regiters the domain? You wish. Now follow the link to my friends website who does copies of famous plaster work.
Yes a nice adult website, is now at the end of the link, and he still has this domain on his business cards!
I got involved in this, because one of the sites I look after was informed that they had a link to a porn site, I investigated, and to be honest was rather amused, but then again its not my domain.
05.03.05
Dreamweaver interface horror
Ok, so maybe the title is a bit extreme but it is a bit of a horror. I use Macromedia Dreamweaver MX as my web design tool of choice, it is almost perfect in every way. Except for one.
When you edit a style sheet attached to a document, it opens it up in another tab in the interface – so far so good – and give you a nice little dialog box for visually editing styles – even better – and when you click apply it changes the text in the current html document to match the changes you made to the style – brilliant . And it is except for one small thing – shown in the image with a big arrow pointing to it. The style sheet that is open has been modified and therefore needs to be saved before the rest of the world (outside dreamweaver) can use the changes. Now the problem here is that I close my nice editing dialog, save my open document and go to try out my changes in my browser (because I’m afraid I still cant entirely trust one GUI Source) and nothing happens. It all stays the same, now I start thinking damn its a css incompatibility, so I try it in a different browser, still no change. After a bit of tooing and frooing I finally realise my mistake, I havent saved the css file. This happens me time after time.
This feature must have been designed and implemented by someone who is used to saving all in the interface, which is a bit funny since it doesnt even have a keyboard shortcut (#I’m definitely a ctrl + s man myself). Two ways around this are to not open the css file in the interface when I never asked for ti to be opened, automatically save it when I close the dialogs, or give me a ‘save all ‘ keyboard shortcut that I could get used to. I wonder whether I’ll get it.
04.29.05
A bit of hardware
In this modern world of cheap computers and free software, its sometimes easy to forget that you get what you pay for.
I’ve recently been working on a intranet project for a client to run a course booking system for them. Once installed it became obvious that the response from the server was just that little bit too slow, and so I looked around for a solution. By changing the way some of the key pages worked, I shaved a couple of milliseconds off the response time, but it was still too much. Then I thought I should build a dedicated webserver for the application, as it was running on the main company fileserver, along with the sql database it used, and a number of other applications.
I was going to use a basic desktop machine but then someone pointed out that there was an old server lying around. It was fairly low spec with a pentium III running at 500 or 6oo mhz, but had scsi disks and raid unlike the new server I was using (the older server had been replace in another department). I was sure it wouldn’t be all that impressive but since it already had Windows 2000 Server running on it, it wasnt going to take me long to throw on php and sqlserver and get it all running.
Wow what a difference. I had expected at best a tiny difference. But no, I had pages that were taking about 4 seconds to load, now taking less that a second. It went from speed being an isssue in usability, to it ceasing to be a problem at all.
So the moral of the tale is if speed is an issue, make sure you have the hardware to match. There is a reason you can buy a dell server for €400 and for €4000.
Webtalk radio
I’ve found another great online ‘PodCast’ (I dont have an Ipod or a MP3 player so I dunno – listen to the show!). Web talk Radio is just like a normal radio talk show except its on the web, and even better its about IT. Very funny too.
03.22.05
A good conversation
There is an interesting discussion on itconversations about Google’s new toolbar in beta – about the pro’s and con’s of webpage rewriting which google autolinks now does and which firefox is good at. Well worth a listen. An interesting discussion.
02.24.05
A wonderful new discovery
Sometimes you realise that some aspect of technology or some little trick that has been around for a long time has just completely passed you by. I discovered this today with Bookmarklets (what!). These for those of you like me who have never heard of them, are little snippits of javascript that you save as a bookmark or favorite and which modify the page you are looking at. What a truly delicious idea.
I came across them while researching writing a firefox extension, and the guy who wrote the tutorial kept mentioning bookmarklets (at first I must admit I thought he had made a typo) so I thought I’d check them out. There’s a list here of all sorts of strange and wonderful things (and a surprising number work in IE).
I thought the whole firefox thing with the web developer extension (if you do web development, and dont have this, its a good enough reason in itself to switch to firefox) allowing you to modify the page you were looking at was unique to firefox, but now I find that its been around for at least 6 years and completley passed me by. Microsoft and IE have more to answer for than I thought.
I’ll report back on any that I find truly useful.
“Aren’t People Clever”
01.05.05
Burningbird � The Parable of the Languages
This is very good and well worth a read.
12.09.04
65535 no longer a big number.
I came across rather an interesting thing yesterday. I provide support for some local businesses near me and I got a call from one to say that Adobe Acrobat on one of their machines was no longer working.
I didn’t worry about it too much, assuming that I could come in take a look, maybe reinstall Acrobat and all would be well. This business is one that has a regular need to view pdf files, so this was a problem rather than just a nuscience.
I arrived at the clients offices and got started. First off after some initial investigation, I downloaded the most uptodate Acrobat from the web and reinstalled it. No luck. Uninstall, shut down , Reinstall. No Luck. It kept hanging on startup, just got to the rather funky splash screen that Acrobat has and no further. After all the reinstalls I realised there was something more going on. A quick search on google let me to this discussion, by people who were having the same issue. I glanced through it until I came to what was probably the root cause of the problem. Temp files.
Like many of the people chatting in the discussion this computer had 65,000+ files in the root folder of the temp directory. 65,000 of which were acrobat *.tmp files. A possible cause for the problem was suggested by one of the participants in the discussion. 65535 is FFFF in hex, all the tmp files in the directory created by acrobat had 4 letter hex number ie, acr****.tmp. One more file and an overflow occurs, preventing the application from ever starting again.
This raises several questions.
- How did Acrobat manage to generate 65535 tmp files in a realatively short period of time? The pc was only 6 months old – thats approx 360 tmp files a day. Even in a pdf intensive office thats a bit excessive.
- Why didn’t acrobat delete its temp files?
- Why not just overwrite acr0001.tmp when you reach acrffff.tmp?
- Why not fix the problem in the next version?
Needless to say I followed the advice of the participants and deleted all these files. Low and behold Acrobat worked again. We’ve all made the mistake of assuming that a ‘magic number’ we place in our code will never be reached, but we should all write code that ensures it never is.
« Previous Page — « Previous entries « Previous Page · Next Page » Next entries » — Next Page »