Archive for the ‘IT’ Category
Oh Microsoft, we do tire of thy bugs in IE
Yes, it’s another post about Microsoft and its poor implementation of Internet Explorer. This time it’s version 8 and its rendering of lists, and in specific, links within list items. Most humorously, Microsoft’s own documentation (separate issue; about rounded corners) gave me a laugh when it said “Microsoft is committed to providing a browser that accurately supports Web standards.” Maybe it’s just me, but I’ve given up waiting for the day that IE actually supports anything correctly . (more…)
Plone/Zope: Truncating a Data.fs back to a certain date/time
Okay. So, anyone out here who’s listening — particularly those overly-enthusiastic users — don’t try to recursively wget your Plone site (or other CMS, for that matter) whilst you’re logged in with an account that can make edits. It will lead to a very bad situation where your site administrator and technical team need to step in and fix your mistakes. For the uninitiated, a loose recursive wget (when logged in with some degree of Edit rights) will hit every link that’s on your pages, and I mean in the (X)HTML source. For a Plone site, this means hitting every “Edit” link, every “Revert to this version” link, and every other link that might be dangerous when clicked randomly. Oh, and if the account you’ve got has admin rights, well, it’s not getting any better and requires the Data.fs to be undone back to before it happened. Here’s how to do that easily. (more…)
Plone: running Plone without copies of blobs
Having a bad day? Just bombed your only copies of some files that you’d been storing as blobs together with your Plone database? Maybe you had the blobs stored incorrectly on your Zeo client, rather than the server, and then in a hasty effort to free some space (due to an on-going issue with blobs eating HDD space), deleted them. Whoops..they’re gone and their references are still in your Plone database. Or, in a less disastrous situation, maybe you just want to be able to run your Plone database without needing lost blobs? Read on. (more…)
Plone: Overrides.zcml gets auto-included with z3c.autoinclude
Unsurprisingly, specifying a z3c.autoinclude entry point in your Plone product egg means your ZCML gets automatically included. That’s great because it means you don’t have to specify your product under the ZCML section of your instance in buildout. One thing that isn’t so obvious (it’s not mentioned that I can see on plone.org) is that if your package is marked for ZCML autoinclude, then Plone will automatically load an overrides.zcml file in your product. (more…)
Linux: Make time with faketime
So you, like me, have hit a situation where you’ve got a time-sensitive application that won’t run? Maybe you’ve downloaded one of those apps (like a demo) that won’t run after a certain date and time because it’s “expired”. Or else, maybe some other arbitrary time constraint is keeping you from running a Linux (or even Windows) program. On Linux (Ubuntu for me), there’s faketime to the rescue – a very handy tool that does what it says on the box, changes the system time for given command. (more…)
You are currently browsing the archives for the IT category.