Tag

text Archives - AWS Managed Services by Anchor

A fix for the browser crashing blues

By | Technical | No Comments

Ever been constructing a verbose and complex reply to an email on a webmail site, only to have the browser crash when you were about to hit send? Or perhaps putting the finishing touches on your Wikipedia edits to the particle physics article (I know I have) and have all of your hard work lost in the blink of eye? Fear not, salvation is at hand! Although many Web 2.0 sites providing text-editing will save drafts and provide a reasonable text editor, nothing beats your favourite text editor of all time, Vim. Or Emacs. Or whatever you would prefer to use. Why shouldn’t you be able to use any text editor you like? It’s your computer and your time after all! If you are using Firefox, your problems are over….

Read More

Bug report: “all” does not mean all, for some values of “all”

By | Technical | No Comments

We’ve discovered some interesting things about Windows, and they never fail to cause some head-scratching. We had cause to go rooting through a customer’s wordpress installation recently to hunt down the cause of PHP errors, and discovered two WTFs here. The first was the breakage of various scripts in the wp-admin directory. Through means unknown, every array definition was broken by the addition of a file path. If you grok PHP, you’ll recognise that this isn’t syntactically valid: $defaults = array( ‘show_option_all’../../../wordpress/wp-includes/ => ”, ‘show_option_none’../../../wordpress/wp-includes/ => ” ); Python is our preferred in-house language, but breadth of knowledge is more important for a sysadmin. Cleaning up the PHP was a snap, but it’s a mystery as to how this happened in the first place; according to the customer it “just…

Read More