Ruby, Folder actions and full automation

I routinely scan my documents as PDFs so I can keep them in a virtual filing cabinet (you know, the whole “paperless office” thing). I use my HP all-in-one software running on a Windows VM inside a Mac (sorry, but the Mac scanning software on HP is complete garbage in my opinion).

What bothered me about this was that all the files scanned always end up named “scan12345.pdf”. Because of the way I file, I like having my things as “year/company/year-monty-date.pdf” instead.

Continue reading “Ruby, Folder actions and full automation”

BernieCode » How to debug JavaScript with Visual Web Developer Express

Among the things we all have to do (even those of us with Macs) is debug Javascript for Internet Explorer. The JS Engine is quirky and dumb, and other than memory management and garbage collection, they have done hardly anything to the annoyances of their particular implementation of the language. But they are the big gorilla, so sites have to run on it. I was using the Microsoft Script Debugger but apparently there is a way to use Microsoft Visual Web Developer express for the same purpose, provided you do the workaround Bernie outlines on his site.

Microsoft have released an excellent free edition of Visual Studio for web development called Visual Web Developer, but among the features reserved for the professional edition is the ability to connect to a process. Hence when you get a JavaScript error in a web page, VWD won’t appear in the list of possible debuggers.

[From BernieCode » How to debug JavaScript with Visual Web Developer Express]

I just wish I didn’t need 1.7Gb of Hard Drive Space just to run a debugger. Darn white elephant.