posted by brwyatt on April 19, 2012

On Monday, I finally received my first two spam emails on my Tor email account on brwyatt.net. It is no surprise since that address is publicly listed with the list of Tor nodes from when I ran a Tor Relay (and will again). So, I got to install SpamAssassin and tested it out and it works. This is actually kinda exciting, to be honest, getting my first spam email on my domain. I haven't gotten any spam since, however, which is good, but I really wanted to see it get assassinated by my fancy new spam filters.

On the other side of things, I got an official job offer at work today. Still have all the paperwork to do for it, but it is exciting. It is nice to see life moving forward.

posted by brwyatt on February 19, 2012

I'm just going to take a second to go on a bit of a rant about the major desktop OS releases comming soon to a computer near you. I am, of course, talking about OSX Mountain Lion and Windows 8.

Mountain Lion comes pre-packaged with this "really cool" "feature" to "protect" you from malicious programs. This feature is called "Gatekeeper" and it will be enabled by default. How does Gatekeeper work? It stops you from running any applications that aren't either on the AppStore or digitally signed by a "trusted" developer. A trusted developer is simply a developer who pays Apple $99/year to get a digital signature for their code (I won't get into how that works, but there is a lot of information on how digital code signing and public key encryption works if you are interested).

That all sounds pretty good, right? It will stop you from running malicious programs and only good programs can run, right? Wrong. Here is the issue, no code is actually being verified as being harmless or safe, the only requirement is that developers pay Apple. Sure, Apple can revoke a Developer ID if a program is found LATER to be malicious, but how many people will be harmed by malicious code by the time it is discovered? And what about common Free and Open Source projects? They aren't selling software, and most of the coding is done by volunteers. Adium, FireFox, VLC, Tor. And that's just naming the ones I can think of off the top of my head. So because they can't (or won't?) pay Apple $99/year... you can't run those programs. But even worse, lets look at how Apple handles "controvercial" apps on iPhone. What if I pay Apple $99 to get a Developer ID, and then make some application that Apple doesn't like (and this isn't just speculation) they could revoke my Developer ID, and anyone who had been using my app is now locked out and can't run it. As of right now, enabling Gatekeeper on Lion will prevent Adium from running at all.

Gatekeeper is NOT a tool to help "protect" you. It is a tool to control what you can and cannot do on your computer. Plain and simple. Protecting you from malicious code is a side-effect of this control. Just look up Apple's censorship on the iPhone you will find a lot on the current thing they have censored, but look deeper than that, and there is a LOT more that has been censored. In addition, some speculate that this is a move towards only allowing apps to be installed from the AppStore. If this is true, any program licensed under the GPL can NEVER be on the Apple AppStore due to an incompatability with the AppStore agreement and the GPL. (The AppStore requires users to agree to not share apps more than 5 times, while the GPL allows and even encourages free and open sharing of their programs and source code). What this means is that, if Apple switched to AppStore only, you can say good-bye to FireFox, VLC, and Adium on Macs. But I guess you really should be using Safari, QuickTime, and iChat (or the new "Messages") anyway, right? I mean why would you ever want to use something else?

Ah, and now for Windows 8's Metro UI. Unlike Gatekeeper, I've had first-hand experience with this one. Microsoft likes to do these "Developer Previews" where you can go and grab a copy of the next version of Windows for free to test your programs and, in this case, get a head-start developing Metro apps. So I ran Windows 8 in a VM (Virtual Box), and I tried REALLY HARD to like it. I gave it as much chance as I could. Quite honestly, it is horrible. REALLY horrible. If you plan on getting Windows 8, make sure you have a touch screen, prefereably one about the size of... well, I wouldn't go above 20", honestly. The whole UI is pretty much just Windows Phone 7. That's it. Sure, you can get a "traditional" desktop for using "legacy" non-Metro apps, but the desktop is simply another Metro application. You can't close programs, you just "switch" between them like on a phone or tablet OS, and I can only imagine if there was that one program you had open and wanted to keep running and it gets closed because you started too many programs and it had to reclaim resources to run this other program you started up. And what about running two programs side-by-side? Oh, I'm sure there is a fancy way to do it... maybe. And I don't even want to remember how difficult task switching was, especially if you have a bunch of programs opened, since they NEVER CLOSE. (Here is a hint, don't use alt-tab, which just starts rotating through each application one at a time ("wait, I thought I closed that program! Why is that still running? And I haven't used that one since two days ago!"), just go to your "start screen" and find the program again, and open it directly.)

Now, the most irritating thing is if you lock the screen or want to switch users. Regardless of if you are using a touch screen or a mouse, it brings you to a more... smart-phone like lock screen where you have to swype the screen up to unlock the screen, and then you can log in, switch users, or unlock your computer. To turn off your computer, you have to logout, unlock the screen, and then click the shutdown/reboot button. And it seems that there is no more Windows update prompts. Which is good and bad. No more nagging you to restart your computer, but then again, you will never know that updates were even available, and have been installed. After messing around with the VM and FINALLY finding out how to shut Windows 8 down, it started installing updates. Updates I didn't even know were installed and needed a reboot for. I appreciate it no longer constantly nagging me, but SOME form of one-time notification would have been nice.

And all this, folks, is why I use Linux. Linux won't stop you from running what you want to run on your computer. It doesn't care if you add additional package sources or if you install from source. Of course this assumes that you aren't a moron and that you aren't downloading something from "Trustworthy Bob's Free Virus Scanner!" where every visitor is the one millionth visitor! And if someone (cough Ubuntu cough) decides that they want to try a stupid UI like Metro (cough Unity cough), you have the choice to use the old desktop (Gnome 3) INSTEAD. And lots of people don't like Gnome 3 and are either using Gnome 2 or KDE instead, and the guys over at Linux Mint (a distro based off of Ubuntu) are working on "Cinnamon", a project intended to bring all the features and style of Gnome 2 (which were removed in Gnome 3) to the Gnome 3 platform and features, giving back the customizability and functionality of Gnome 2, without losing the features in Gnome 3.

In short, Gatekeeper is nothing more than a WORSE version of UAC that is not warning you of escalated privleges, but blocking developers who don't pay Apple so their users can install their app. And Metro UI is like Ubuntu's Unity desktop or even Gnome 3, except you can't change it back to the classic desktop, you just have a watered-down classic desktop as a "feature".

On the plus side, Gatekeeper just makes me think of this add Apple ran a few years ago about Vista's UAC. The difference here is that Gatekeeper is just simply "deny" without asking the user.

posted by brwyatt on February 13, 2012

To get the boring stuff out of the way, I've updated the homepage text and the about page text to have some amount of better information on it, but haven't done anything more than that. Should probably have the most recent blog post showing on the home page, though... Maybe next update...

But, on a more important/personal note... I've been looking at apartments lately. Parents have pretty much said that I need to move out and have given June as the general time that it will be done. This isn't entirely a bad thing, and I suppose I kinda needed that push. I just need to secure things down at work and get that all settled. But I think I have a place all picked out, it is nice, simple, and they offer Verizon FiOS for Internet access, so I can still have super fast Internet at the new place.

So things are looking up, and I'm moving on and at the edge of starting MY LIFE. I have a job doing things I'm interested in (even though it can be stressful at times, but that isn't always a bad thing), I'm preparing to move out to my own place, and it is looking like school is no longer an issue or source of stress in my life. I realized yesterday that this has been the moment I've been waiting for, things have been coming together and I just have to take a couple more steps to get to the edge, but it is right there, within my reach, and it is exciting. Scary, sure... but exciting. I mean, I'm not thrilled about paying bills, but there is something to be said about manaing your own life, even if it means you have to deal with the shitty things like taxes and bills. So, in a way, I'm even excited about paying bills, because it will be MY electricity, MY water, MY Internet, MY phone, MY car.

Like I said: scary, but exciting.

posted by brwyatt on January 25, 2012

... except me!

I have now implemented User Roles! So what the hell does that mean? This is part of my plans to eventually have open registration, possibly to require registration (and email verification) for comments (to prevent spam). This is just the first step toward that goal. I will still need to implement registration pages, and possibly the email-verification mechanism (at the very least implement this so I can enable it later if needed), and then implement requiring an account to post comments (and possibly the ability to turn that on/off in the site config).

Other reasons why I want to have open registration: Jabber. While I've been having problems getting ejabberd to authenticate against the site's MySQL database, I still plan to get that going, and I want people to be able to use it. It seems that ejabberd's external authentication is... somewhat awkward. Instead of calling a script when authentication is needed, it requires the script to sit in an infinite loop and accept input via stdin. I had something that was working for a little while (except that it would crash after a few hours, and the server would reject incoming connections), but in trying to fix that, the script doesn't work at all anymore.

I also (unrelated to logins) want to get the server stats to be a little prettier, and include graphs for things like bandwidth and CPU load. This is more for my benefit, or anyone crazy enough to care.(But, I mean, I did just reach 5TiB of uploaded data to the Internet over 7 months, that's cool, right? RIGHT?). I'm not sure how I will accomplish this task, I might end up running a script (or application?) as a service on my server, but we will see.

Hopefully, I'll get more work done on this site to benefit others at some point...

EDIT

Added in some basic page hit logging. Should be able to gather useful statistics about what browsers are used, and what pages are accessed, and when. While it isn't so important now while no one really uses my site, it should be useful later. Should be able to generate some interesting statistics with the data later on. Just something I threw together in a few minutes.

posted by brwyatt on January 23, 2012

Not that I really have much to say on a regular basis, but I can try!

Regarding my previous post, things have calmed down quite a bit; and besides that one incident at home, the rest of the week really was quite amazing. Work really was a lot of fun, I was really in my element this week, doing server maintainance/setup/configuration type stuff, the things I tend to do on my own for fun at home.

Then, Thursday night, I finally got Linux working on my laptop! Had to manually fix the graphics and install the Catalyst 11.11 drivers manually, but other than that everything else "just worked". That is, until one of the updates managed to break Bluetooth, so I've got to use a wired mouse until another update fixes it. (which there will be at some point).

As far as the site goes, I haven't really worked much on any of the technical stuff lately, with exception to getting my Jabber server to work with the MySQL database to have the site and Jabber share logins. I still have to get user "levels" setup so that I can open registrations to others. Been having some issues using external auth with ejabberd, but I hope I'll figgure it out. If anyone has anything they would like to see on this site, leave a comment, I'd love to hear any suggestions anyone might have!

posted by brwyatt on January 14, 2012

Yeah, yeah... another one...

This was just a quick one I wanted to get out there because it was one of the features I used a LOT on my old version of the site: The link shortener. Sure it ain't as short as bit.ly links, but it is a LOT shorter than some of those huge and ugly long links some sites have.

So going to the Link Shortener item above takes you to a page that can generate a link to just about anything you want, and puts it in the form of https://brwyatt.net/l/1 or for safe links (which is the default) https://brwyatt.net/l/safe/1. I don't have it showing the titles yet on the preview page, but this is fine for now.

If you want to use this link shortener from scripts (such as from an IRC or chat client) sending a URL to https://brwyatt.net/linkshortener/create?u= will give you back the id to put as the id for the link (where the '1' is in the examples above) so you can choose if you wish to use safe links or not, http or https (or even .com or .net!), etc. Just remember to escape the ampersand (&) by encoding it to %26! All other characters should work fine, but it never hurts to escape other characters too!

So I think that is all for now. I want to work on accounts next, make account classes, open up registration, tie Jabber into the account management here as well... we shall see, though!

posted by brwyatt on January 13, 2012

First!

Well, okay, that isn't really fair, though. I guess being the first post when you are the only one who can post (and the only one who even cares) isn't really much of a challenge.

Either way! I've decided to push the new site a little early, so here are some things that are broken: Jabber and Minecraft pages do no exist (Minecraft dynmap might actually still work, though), and link shortener is temporarily gone.

Next on the list is fixing the link shortener so that it will work again, might be at another URL, though I might make it work at the same URL as before, we will see. Same URL would probably be best, though.

Anyway, it is late, and I should probably be getting my ass in bed. I do have to wake up in 6 hours to go to work, after all!