Category: linux

Jan 17 2010

RSS from anywhere may be a reality for me.

And it didn’t even take me banging my head against Google Reader. I’ve been looking for something portable to replace my current favourite, an RSS plugin for Outlook 2003. Mostly because, on days like today when I’m not sitting in front of my computer, as much as I love being able to have direct access to my feeds in Outlook, it helps me all of not at all at the moment. And I might have found it–at least a temporary fix, until it breaks or I find something better.

The software, written in python and running on any OS that therefore supports the language–I have it on Linux at the moment, is just called Planet. It takes one or more RSS feeds, such as the feed from this very blog, and merges them into a single HTML file. The design looks not a whole lot different from most blogs–the entries are sorted latest first, by date, and optionally by feed, with individual headings indicating the start of a new segment. It looks incredibly customizeable, although I’ve not yet actually gotten much time to play with it–a disadvantage of all my current subscriptions being, as said before, on my computer at home which is precisely where I’m not.

All the HTML, XML, and other such files are built dynamicly every update from templates. Those templates contain the raw HTML or XML code, plus a few variables understood by the program for printing things such as the feed name, entry title, when it was posted, etc. The program itself can be scheduled to run via Linux’s crontab command, or the Mac OS equivalent. Or, if you’re insane enough to have managed to get python running on Windows, you can suffer even more brain damage and update it via the task scheduler. I wouldn’t recommend it-windows has a nasty little habit of breaking task scheduler, but it’s your brain.

The only thing that would make me not recommend it for non-techy users is absolutely no problem for me–entirely manual instalation and configuration. Everything from determining how long between checks for new content–enter the crontab utility–to the addition of new feeds absolutely must be done by hand. Personally, even though it’s not really a huge problem for me, I’d still have much rathered it give you the option of just tossing it an OPML file and letting it draw the feed info from that. But then, I also have well over 100 feeds to transfer over when I get the time. Still, for what it does it looks highly promising. And, it can always go away if and when I find something better. But for now, it beats what’s currently out there for hosted solutions (No, FeedMyInbox, I don’t want to pay you $16 for the privelege of being able to have you email all my feeds to me. Sorry.). So, I’ll give it a try for a bit and either really love it or tos it out the nearest window. In the meantime, I have back entries of feeds to go through when I get home anyway, so I can take my time with the moving everything over to the new software. And it’ll definitely take its time.

Nov 24 2009

When your network takes a crap, and takes your email with it.

At some point during the night last night, and rather inconveniently after Jessica and I had run off to bed and so I couldn’t immediately determine that it was a network issue, this blog, a rarely updated–and, in fact, rather neglected for a couple weeks–political blog, and our email among other things, decided to take a rather gigantic crap on our front lawn. The first ever self-hosted version of the blog–link’s over there in the right sidebar–was started on this network, hosted by DreamHost, in January of 2006. Since then, I’ve always had something going over here. If not a blog, then some little utility or web app I was playing around with just because I can. Or a forum I was testing for one of the RP projects I’m either involved in or dedicating resources to. So I’ve been with them a while.

In that time, I think I’ve only ever really personally encountered… maybe 4 major, “OMG I can’t access a thing” type failures. It may, in fact, even be less than 4. So when I woke up to a screen full of “can’t connect” messages (thanks, Outlook), I was more than a little bit surprised–albeit temporarily. And, admittedly, more than a little bit frustrated–emails I should have received overnight hadn’t actually hit my mailbox yet. Once I managed to get my end of the cleanup out of the way, though, I started looking into something I hadn’t really looked at since, well, the last time DreamHost’s network went and crapped out.

I’ve been eyeing on and off, usually while the blog etc is offline, the idea of moving most if not all of my various outlets fully away from a managed environment. I’ve been running the DH VPS for a few months now, plus I’ve been running two of my own, unmanaged VPS’s for a couple years. Mostly, it’s been a sort of learning environment for me–see how many different ways I can break the system, then reinstall it, and start all over again. And yet, every time something like this happens, I always toss around the idea for a few days of actually expanding my knowledge overall of the Linux environment, and at the same time put into development my own email, and possibly web, solution–one independant from any particular web host. But I never actually get around to doing that.

I’ve done much of the actual research already–the most likely candidate for when I actually decide to take that leap will probably end up being one that centers around Postfix and MySQL, now I just need to find the energy, motivation, and maybe get frustrated enough with my current setup that I finally just say screw it and go with it. It’s probably gonna suck, but at least then I’ll be able to actually figure out for myself what’s up and died on me. Meanwhile, hey, DH, can we get a more stable network please? I really don’t like being forced into considering enduring the necessary brain damage to actually set something like that up. At least not at such a young age.

Nov 17 2009

Precisely why I’m a linux user, and a Gentoo user specificly.

A couple months ago, when they released version 2.10 of Glibc into the unstable tree for Gentoo, I thought it’d be fun to try rebuilding everything right then so that I might get what was left of the old 2.9 version off my system. Didn’t quite go as well as I thought–in fact, one of the programs I use fairly frequently when I’m not home, absolutely refused to compile against the new Glibc. Well, crap. There just went that. So I filed this bug report, and expected not a whole lot to get done about it–I’m probably one of a very small subset of users who actually still run that program, right? So clearly it won’t be a priority. I mean, that’s what I’m used to–you send Microsoft an error report, or any of the Windows program authors a similar report, they more often than not just sort of ignore it. I was perfectly ready for them to do that here. I’d even started researching alternative programs I could make use of while on my coming up road trip. Then, in with the other couple hundred of last night’s emails, I get this.

17 Nov 2009; Dawid Węgliński (cla) bitchx-1.1-r4.ebuild,+files/1.1/bitchx-1.1-open-mode.patch:Pass mode to O_CREAT bug #285374

It’s probably not directly related to what I reported. At least, I didn’t think so. So I wasn’t in a real big hurry to test it out. I waited until the automatic synchronisation went off this morning to pick up the new changes, and this afternoon, out of random boredom/curiosity/whatever, I tried yet again to compile the thing. And, surprising the hell out of me, it actually didn’t fall over sideways. I’m really not used to that.

that’s something I literally never saw, like, at all in all my years using, writing about, complaining about, trying to fix, abruptly breaking, and eventually reinstalling Windows. I have no idea how many times I naively hit the “send error report” button on this or that crashed program, utility, or the OS itself, thinking “Hey, Microsoft might get to fixing this.”, only to install several Windows updates that, yep, didn’t actually fix it. So actually seeing an update come across my desk that, wouldn’t you know, actually fixes a problem? Yeah, that’s new. And it’s definitely not hurting my consideration for putting more and more time into using Gentoo locally.

Explanation: BitchX, BX for short, is a Linux based client for connecting to IRC (Internet Relay Chat). I have no idea why they call it BitchX. But, it’s a decent enough program for what I use it for, so I also don’t particularly care.

Nov 09 2009

I’ll stick with Linux, thanks.

Out of random curiosity last year, I started to tinker with Linux on a local machine–specificly, a 5-year-old HP laptop that wasn’t really being used for a whole lot else. Not really being willing to bother considering what I could manage to lose and what I might want to keep–there was 4 years of crap on that laptop pre-install, I just pulled everything off that HD and onto this machine, and went about the business of installing Gentoo. I know, at least three of you are laughing at me for having made that decision. I like a challenge, okay? Since then, I’ve been playing, tweeking, updating, tweeking, and playing some more just to see how long it takes me to get everything working. Or, how long it takes me to break things so horribly it doesn’t even boot, whichever comes first.

There’s a point to this, I swear. The thing that drew me initially to Linux is the fact that it can run on damn near anything with the right amount of tweeking. And the people behind it actually encourage it. I mean, the fact that it’s free doesn’t hurt either but still. I can dig up an old Pentium II, hook it up, pray to god it has an ethernet port on the thing so I can plug it into the router, and probably find a current version of Linux that’ll run on it. Windows and Mac OS can’t really make that claim. Hell, the advent of Vista broke most machines that could have run XP just fine a couple years ago. And Apple’s been trying for, like, ever to find a way to restrict people to buying their hardware if you want their OS.

They’re trying it again, this time in the form of an update that apparently removes Intel Atom chipset support from the OS. While they point out it probably won’t take very long before someone comes up with a patch for it, they also sort of halfway gloss over the entire point as to why I won’t be buying a Mac anytime soon, against the multitude of advice that’ll no doubt be offered to me by Mac and Mac OS users alike. The OS can run on damn near any Intel chipset out there. And it even needs little to no modification to actually do so. You would think, since it means selling more copies of their OS, and since it means they can take even more market share away from Windows and Linux, they’d be all over it. Apparently you’d be wrong.

I don’t like being told what I’m allowed to do with something I already paid for. That’s why I don’t own an iPhone, and why once I’m more comfortable with Linux I’ll probably be switching from Windows entirely. If Apple’s going to insist that if I want to run their OS, whether I have space for it or not I absolutely must buy their hardware, I’ll stick to Linux, thanks. Or, if not Linux, someone who’s not trying to work against me.

Nov 07 2009

How’d I get here?

I keep threatening to do that post about what the hell happened to me since the last time I was actively blogging (Um, LJ-ing, perhaps?). Well, consider this my attempt at doing so. I’ll warn you in advance there will probably be things that get missed–it *has* been about 4 months, after all.

For starters, there were more than a few trips across the Canada/US border between myself and Jessica, who’s rarely updated LJ is over here for anyone who doesn’t already read her. Things in that department I don’t think can get much better. Well, beyond the elimination of the border but eh, that’s coming. Beyond that, I’ve been doing a lot more experimentation with Gentoo, my for the moment linux distribution of choice. I’d messed around very briefly with Debian and Ubuntu, but couldn’t get quite what I wanted out of those distributions. That, plus I rather like a challenge and Gentoo definitely provides that. I kept an old HP laptop around for the purposes of experimentation–and, actually, it was the same laptop I did most of my blogging on in the old days–so I can break it 6 ways from Sunday and not really be set back more than a couple hours’ tinkering. Works perfectly fine for me. In addition to that, I’ve been continuing to pound pavement in hopes of landing me a job. Not an easy thing to do when every day the unemployment line gets longer, but we manage. This in between trips to catch up with family, because… well, you know, they don’t tend to like it when you avoid them for long stretches at a time.

Then there was the move. I’d spent the last year and a half or so on employment insurance while I looked for work, thus enabling to keep my rather nice–even if I do say so myself–apartment in Ottawa’s west end. Not having found anything though, it became necessary for me to find somewhere else to call home lest I end up going very broke very quickly. So, on October 23rd, everything I own and a few things I forgot I owned got stuffed into one box or another, and carted an hour and a half away to this, a basement apartment who’s upstairs neighbour has perhaps one of the creakiest floors I’ve heard in my life. Now, I’m still looking for work, still finding time to do a little geeking, and still–at least, as of about 2 weeks from yesterday–making trips across the border when I have the time, money and transportation. Not a whole lot has changed, save for my mailing address–which I’m still finding things that didn’t get the notification of that change–and the fact some things in life just plain aren’t as convenient as they were a month ago. But, win some, lose some. That be life.

Once I have the space in this apartment, and everything I’ll immediately need to do so out of boxes and set up, I plan to get back into tweeking the laptop and making things work just that much better. And, with a little luck and a small miracle, it might result in me accidentally coming up on a skill or three I can put in a resume. Never hurts to say you can do something, particularly when that something didn’t require you shell out money you don’t have for a college/university education. Of course, if I don’t get that out of it, then maybe I’ll just have a computer I can use should I ever decide to wipe windows off this one. Either way, I can’t find a down side here.

Well, that’s the summer and part of spring in a nutshell. Not very exciting, just… chaotic, really. Semi-organized chaos, but still. And if this is any indication, the next couple months don’t plan to be any different. Which, surprisingly, is how I like it. Can’t very well go researching new and somewhat impressive things to buy if you don’t have time to, after all.

Alibi3col theme by Themocracy