Tag: programming
Bought a cheap VPS for 9 dollars a year. I spent the last few days figuring out its configuration — I'm a developer after all, not a devops or sysadmin, so I have to spend a lot of time on manuals and fixing basic errors that I made myself :)
But I moved my Friendica server whitelion.me from Moscow to Atlanta. Even fewer ties to the RF, and honestly I felt uneasy keeping a copy of my social-media posts there...
Although I had to fiddle with Friendica updates too, now I've got the process sorted out.
anyutt82 announced the site http://www.edasovkusom.ru/. So it can be considered launched. I'm not into cooking, so I can't judge its content, but I worked on its software side and want to write about that. Before this I hadn't made such complex sites on Joomla, though initially nothing foretold trouble, except for the fact that the whole functionality and design was begging to be done on WordPress, but the client's categorical requirement was Joomla! The outwardly simple little site was handed over to a new programmer, and I went off on vacation to finish up the three online stores hanging on me.
Remotely I helped with building the site all week, but in the end the boss handed the development over to me entirely, since the deadline was running out and the project had to be finished urgently. The functionality turned out to be unusual, it was the first time we were making something like a blog on Joomla. I had to use the Tag component for adding tags to recipes and the MultiCategories component, which replaces the standard Content component, since a single recipe has to be in several categories. To display a thumbnail image in the intro text the JA News module was used.
All in all, I enjoyed the work on the project and it stuck with me. I see in the office it got the others pretty fed up, and some even cringe at it. But I like that kind of thing, I like it when the client knows specifically what they want, even if the requirements are a bit unusual and strict. That's better than when you have to come up with part of the site's functionality on the fly during the build, and then rewrite it on top of that when, after showing it to the client, it turns out they want to redo part of it.
Got around to changing my journal's style. I'd gotten used to the Forest Green theme, which is based on the Bloggish layout, but in it only 470 pixels are allotted for the content, which is clearly not enough to comfortably place photos and read the friends feed.
I dug into Custom CSS and changed the size of the text field to 640 in width, and also increased the width of the sidebar, making the overall content width 1000. At the same time I bumped up the font sizes by a couple of points, since pixels on monitors keep getting smaller. For search engine optimization I moved the sidebar to the right, so the entry's content comes first and gets indexed, only it looks somewhat unusual, I'll have to move it back to the left and do an SEO layout; on my own site I managed to do this, and it'll work out in the blog too, a pity I don't know CSS well.
After changing the width of the main blocks, the blog's header turned out ugly, with a narrow image in it. I decided to put a more eye-pleasing picture in the header; a part of a photo of a white lion, which I mentioned here, worked well for this. After replacing the header, a change to the blog's color scheme followed; I picked the new colors with the eyedropper from the header. I didn't completely abandon the old greenish ones — I used them for the link colors. I decided not to change the background image either — it doesn't get in the way much and an alternative hasn't come to mind yet.
I set up a library on my site using the BookLibrary component. Yes, the quality of the component leaves much to be desired, since it was originally written for Joomla! 1.0, doesn't use MVC, and everything in the code is jumbled together. But I couldn't find anything better for building a library for Joomla! Plus, thanks to its simplicity, some bits of the code can be tweaked to get proper display and operation. It would also be nice to attach SEF links to it, but after JoomGallery's SEF links that shouldn't be a problem, if only the will were there. If I end up doing it for someone, maybe I'll get around to little details like that — not for nothing did I work on an electronic library for my thesis in my 4th year, only it was in ASP.NET.
I did this not only to explore the component's capabilities, but also to organize my home library. I added only the books I bought myself. Two bookcases of my parents' books, my childhood books, and textbooks would be too much to add to such a catalog. It's a pity that the chance to buy literature for myself came only after I got a computer, by which point I'd almost stopped reading books... The desire is there, but I can't manage to read. The last work of fiction was "When the Mountains Fall (The Eternal Bride)" by Chinghiz Aitmatov, which I read over the course of the winter on a smartphone that I've since lost. I can't recall the work of fiction or non-technical book before that.
Today I added four more books to the library, three of them needed for professional work, and one finally about lions — a book by Craig Packer that more than one article about these big cats references. Here's the link to my library with books about lions and a few technical ones on development.