It would seem that the Safari browser is not particularly keen on innerHTML property of document.body and on large document will always cause the browser to crash. This is something that I've came across while debugging FUDforum search term highlighting code that was using JavaScript code that would perform the highlighting and then replace the entire body via
[code]document.body.innerHTML = newBody;[/code]
While an annoying bug it cannot be blamed entirely on Safari developers, first of all innerHTML is not part of the specification offered by W3C, so technically speaking Safari does not even have to support it. That said it is supported by IE,Firefox and Opera, the latter two had no problem with the search highlight code either. IE, well IE being IE and worked 50% of the time. Furthermore changing the entire document body in one go is not the best of ideas and as Rasmus put it "Replacing the body is just wrong, you deserve what you get if you crash".
All this said it should be noted that in most other...
About a week and a half ago I go my hands on a shiny new Macbook pro and after a week of tinkering and getting used to this beastie I must say that Windows looks like an ever bigger kludge then it did before. I mean WOW, an interface that actually works, certainly a step beyond Windows and even KDE, which I've used in the past. Perhaps the biggest plus is that things just work, without having to spend extra effort on figuring out obscure error messages that tell you nothing or changing a gazillion settings just to do simple task. The application installation is also very neat, where each app. is a folder and installing a program with few exceptions is nothing more then drag & drop. Uninstall is equally simple, just delete the folder. Another very neat feature is the spotlight search that allows you to very quickly through virtually any kind of document and has little if no delay in getting results, very neat. Lots of other neat things as well that would take too long to describe, so just need to try it for yo...
Yesterday, I went to the see “Thank You for Smoking” a satirical look at the whole lobbying process in the US (and I suspect not all that different in other countries) through the eyes of Nick Naylor, a Big Tobacco lobbyist trying to defend disfranchised corporations ;-). Despite the lack of the overwhelming special effects and gazillion dollar budget, the movie is still extremely enjoyable and amazingly funny. I’d definitely recommend going to see it, even if it requires a bit of travel since not all theaters show Indie movies :/
It appears that when it comes to search for filenames, Yahoo's search engine uses some heavy handed techniques to filter out results for queries that may expose sensetive information. Interestingly enough it would appear that Yahoo is unique in this approach as other search engines namely Google and Lycos do not appear to believe in such form of filtering.
To illustrate this filering consider the search for "config.inc" inside the URL, this can be done on both Google and Yahoo via the inurl:"config.inc" query. While you may expect approximately the same number of results, this is not the case, Google finds approximately 884 pages, while Yahoo finds none!
While the config.inc file can potentially contain sensetive data, many PHP applications use it to store their settings, what's wrong with "ey.txt" file? Again Google finds us some results, 32 to be precise, while Yahoo is consistent with 0.
Why would they block "ey.txt"? Well, ey.txt happens to a suffix of rather interesting file "cdkey.txt" ;-...
Had to go to a business meeting in downtown Toronto this afternoon. So, like most people I drove to the subway with the intent of making the rest of the way via public transit. Upon arrival to the TTC (Toronto Transit Commission) subway station I attempted to park my car at the designated parking lot. Alas, this was not to be thanks to Windows "empowered" parking meter guarding the lot entrance. As you can see from this rather poor quality, phone picture it was dealing with an unexpected error. Something to do with USB (???) device not being found, go go windows.
This of course ment that no matter what the gate wouldn't open and myself and a dosen of other commuters had to find an alternate parking spot in mid-afternoon in downtown North York. Not a particularly easy task, let me tell you.