Fun Friday #1: EZLO Upgrades!

So, I’ve decided that every friday will be devoted to ignoring homework as much as humanly possible, and instead working on one of my side projects. So, today, I fixed the showing older document function (technically, actually made it publicly available), fixed the image handling so that it works with the dual LaTeX engines, and just did some plain ol’ code refactoring for the image handling. You’ll also notice that there’s a new reload function that will reload your images for you, so you don’t have to reload the page to get the newest images uploaded by someone else.

A quick note: once you’ve inserted an image, changing the engine will not change the file extension for image code that is already inserted. Well, if I just lop off the file extension, it still works: plus, the image code should clean up after itself, and pdftex/vanilla latex are probably smart enough to look for the right extension (eps/png) so it should be all good, even if it doesn’t clean up well. Note to future users/self when documenting: vanilla latex will use the eps format will use lossy compression: pdftex images will use png. Just a caveat there…

Also, there is an annoying tendency for the mysql server to run off and consume 100% cpu on a single core system. It’s happened several times, and I can’t get into mysql to figure out what’s going on. Also, chrome (at least edge) doesn’t seem to like editarea, since it screws with the overlay. I’ll have to figure that out sometime: maybe later. It is, after all, 1am, and I need to sleep.