Tuesday, May 29, 2012

And now, a brief intermission

I really try not to let my personal life spill into this blog (not that I have enough exciting things happen to spill), but I figure this is my diary and so I might as well post it here. A few days ago, I was riding my bike, trying to work up the endurance to start riding to school instead of taking the bus, and I took a nasty spill and landed on my clavicle. I just went to an orthopedic surgeon today and after taking a look at the x-rays, he strongly suggested surgery, since it was broken into 4 pieces. So yeah, that's going to be fun.

Yeah, not exactly the most nerdy or interesting thing to read on the internet, but it's kind of a big deal for me anyway: first broken bone and first surgery. So if you're religious, say a prayer for me, or if you're just nerdy, do a quick reboot....or something....

[UPDATE 06-04-2012]
For the sake of closure, surgery went fine, although I had a reaction to the anesthesia and had to rush back to the ER later that night. But my arm is doing well. Got some pain meds and a huge scar, but I should be back at 100% in a matter of weeks.


Friday, May 18, 2012

The Qweex Locale Translator

One of the changes I've been implementing in almost all of my freeware is the ability to support user-changeable locale. But more than that, a very easy way to help people translate: an INI file layed out as such:
 I've never actually had someone translate yet, but I haven't exactly released much of my freeware that has the support yet. But in order to make it even simpler, last night I wrote the Qweex Locale Translator! It is just a list of all the phrases and their translations, side by side, so you just double click on an entry, type in the translation, hit enter, and boom! It's automatically saved to the file

I'm hoping that, if I ever get people wanting to translate, they can just download this tool and start translating in seconds. Plus it really wasn't that hard to write. (The hardest part was trying to get the Image Buttons working on both 64 and 32 bit). As you can see, it uses as little text as possible, because I really didn't want to have to have a translation for the translator.

I'm not going to publish it just quite yet, until I can get some of my other apps' latest versions out the door, and for that, I'm kind of stuck waiting for some good graphics. But as soon as I find them, there will be a flood of updates.


Sunday, May 13, 2012

Brainstorm: "Lend" Linux

Almost all of my ideas for software, products, or services come from a need that I myself run into, and recently, I had one that is exciting for me because it will stretch the limits of my knowledge, but it may also be completely stupid and not worth attempting.

I run a small computer repair shop and I realize that when people drop off their computers to be fixed, it sucks to be computer-less. Whether it be for school or even just feeling disconnected, it's just downright inconvenient. So I had the idea to lend a client a spare computer that I had lying around, and it would be best if it ran some form of Linux since it is older hardware. That got me thinking that it would be nice if there was some kind of Linux utility that would let you:
  1. Build a system to how you want it (Apps installed, bash configuration, etc)
  2. Let the user install whatever they want in terms of applications
  3. Remove the changes they made when it is done.
The first question one might ask is, "Well why not just do a fresh install when you get it back?" First off, that's a hassle, especially if you would want to customize a distro for a newb's needs. Secondly, the nice part about what I listed above is that you're not reverting everything back, you're just undoing changes. That means that you don't have to constantly worry about reinstalling and then updating, and hoping that the updates sit well with the older distro version that you originally had.

It would kind o f work like this: you get it all set up with Firefox and maybe Dropbox and all this crap. Then maybe you snag a small 2.5" drive and mount it as their home folder. You lend it to them for a week, show them how to use the Ubuntu App Center or what have you, let them toy around with it, then when you get it back, you press a button, and it keeps whatever updates there are, but reverts the  preferences, the themes, and the installed applications back to what you had it.

As I said, it seems like it could maybe be useful in some scenarios, but it also seems like solutions may already exist, or maybe it just wouldn't work. And besides, if you lend someone a box with Linux on it and they are a Windows user, (a) is that a good idea and (b) how many people are going to actually change stuff?

The origin of this idea is not necessarily because there is this gaping need in the Linux community for a "Lending" distribution, but rather it's something that is of interest to me that has a small quirk to it; I could try to learn more about Linux by building my own Linux distro, but there are already so many of those out there. I really don't feel I have anything more to offer in that area. But maybe this little niche could be nice.

It's an interesting idea that I'm going to look into, but I'm not quite sure of what path to take at this point. Would it just be an application, or an entire distro? Or maybe it would just be a bunch of scripts that use applications that are already in all standard distributions.

I'm totally open to any comments or suggestions on it.

Sunday, May 6, 2012

"Just for fun"

Last Christmas I got several books as gifts, one of which was "Just for fun: The Story of Accidental Discovery" by Linus Torvalds. Of all the books I got, this one got me the most giddy and I began reading it the first day back at school and found myself wishing my bus rides were longer so I could read on.

There are a few misconceptions that people might have when first picking up this book. The first is that it's going to be extremely technical, like detailed schematics of how the kernel was designed, but it really isn't. True, I am in computer science, but I don't really recall any long segments that would strike me as dull or boring to the average person. There are brief sections where Linus talks about why this techy method was better than that, but he explains it in a broad sense so that non-techy people will get the gist of it, and more-techy people will understand it.

Another misconception might be that you have to love Linux to enjoy this book. Personally, I love Linux, and the majority of the people interested in this book probably will as well, but it's certainly not a prerequisite. Linus really talks about his personal part of the story rather than the culmination of the Free Software movement. A similar implication is that the book was going to be very preachy toward the Open-source Movement, but it is not that either. Linus spends almost the entire book talking about himself. He dips here and there into what was happening as a result of Linux or even some philosophical thoughts, but for the large majority, it's not trying to glamorize open-source software. It's just telling you a story.

That's really the aspect of the book that I like the best; it is undoubtedly well written and narrated, but it's also very informal. It's as if you're sitting down with Linus and chatting one on one. It really helps you see him as a normal person rather than some grandiose computer god. He spends about 1/3 of the book just talking about his own personal life before even starting on Linux. Then he goes on to talk about the rise of Linux and its major adoption, but what that meant to him. And lastly, he finishes up talking about some of the ethical implications of the open-source model. Like I said, he doesn't push it, but he does spend a very brief chapter called "Why Open Source Makes Sense." And that's ok. Can you imagine a book entirely about Linux that didn't talk a little do a smidge of preaching about open source? As long as it's not suffocatingly strong throughout the book, it's fine, and it being confined to one condensed chapter at the end is perfectly fine with me.

One of the things I enjoyed most about this books is kind of getting into the mind of the guy who created Linux. And not because "Oh, he's some kind of genius." Yes, Linus is very smart, but it was more interesting to me to see the inner workings of the mind that kept this revolution going. Like, beyond his intelligence, what does it take? And the overriding answer to me is: clarity. Throughout the book, both in the narrating and the events that happened, it becomes clear that Linus is a straight-to-the-point type of guy; if he disagrees with something he will say "That's stupid" outright. Over the course of the book he describes his reasoning behind decisions he made or stances he takes and he does it in a way that is very sure of himself. That's how I would describe Linus (without meeting him, anyway): sure of himself. And that bleeds into being sure of Linux, and that's why it became so successful, at least part of. People listened to him and followed him (and still follow him) because his stances are straightforward and sincere. He has a code and he sticks to it (pardon the pun). And that's something you can really get behind.

As I said, I thoroughly enjoyed this book and I would recommend this book to anyone who has even heard the word "Linux" or has the slightest interest in computers. It's very easy to read, entertaining, and has quite a bit of humor woven in. (Like Linus's stance of Root Beer.) If you're hoping to get "a history of Linux", this book might get you halfway there but it's really more of "a history of the guy who created Linux".  It's not even necessarily a "story", so don't go into it ready to make a map of chronological events; go in with the attitude of "I want to get in the head of Linus Torvalds," and then reading the book will truly live up to its name.

Just For Fun on Amazon


Thursday, May 3, 2012

Piracy: To Arrrrrg or not to Arrrrrg?

This is going to be a little different. There really is not that much technical about this discussion; it's far more ethical than anything else. But I would really like to get my thoughts out on paper (er, pixel) and maybe even get some other people's opinions.

Piracy: Definition

First I feel like I should be clear on what I believe "piracy" is. Piracy is the act of obtaining that which you have not paid for. Simple as that. To me, there is a crucial distinction between that definition and just "downloading music/movies/etc". This is where it gets kind of hazy because from my perspective it's not simply a black-and-white issue. For example, if I happen to hear about a music CD that is no longer sold*, I will download it via torrent without a moment's hesitation; if I would like to buy their content but they are no longer offering it, I really don't have an ethical problem with obtaining it some other way. (There have actually been songs that were not being bought so I downloaded, then the artists released an album of B-sides which I immediately bought.)

*without DRM

Another example: what if I buy a crap ton of music from a certain music store that (at least at one time) did not let you re-download the music that you already paid for, and then your computer crashes and you lose it all. Is it wrong to download all the music that you have already spent money on, or should you have to re-buy them? It's kind of a tricky question to me. If you draw a parallel between MP3s and CDs, if your CDs get lost or damaged, you do have to buy them again. The record store does not owe you an obligation to replace any CDs that you might lose. The problem with this reasoning -and a lot of reasoning either for or against piracy- is that MP3s are not CDs; that digital is not physical. They are different medians, different commodities, and different rules should apply.

Video games (Steam)

I am a Steam subscriber and I love the Steam service. In addition to their crazy sales, they also do something unique: they sell licenses to games, not the games themselves. You create an account with them and then when you buy a game, you don't get a ZIP file in exchange, it is credited to your account. It says "This guy owns Left4Dead." It's not about the files, it's about the ownership. That's why I can download it as many times as I want on as many computers as I want, as long as it is me playing it. I own the game, not the files. In a sense, I own the essence. When there are updates, I get them. I kind of own the "idea" of Left4Dead, and the files are just a manifestation of that.

But a lot of people don't like Steam for two different reasons: (1) according to the Steam EULA, what I just said is extremely true. You don't actually own the games at all. You only own the licenses. If you do something against Valve's rules, they can literally revoke your account and you will lose all your games on their service. That sucks and is stupid, I will not deny that. And (2), Steam games have DRM.


Now normally, I loathe DRM (which I will talk about more in a moment), but the reason that I don't mind DRM in Steam because of....well, what I just said. Steam sells you the license to a game, and in exchange, they want to make sure that only you are using that license. It's a tradeoff, and a tradeoff that I personally think is worth it.

Music DRM, on the other hand, was selling you the MP3 with DRM. If you lose the MP3, you're screwed, but the file is also weighed down because it can only be played in specific players and devices. It is literally lessening the value of the commodity with no gain whatsoever to the consumer. Furthermore, games are different than MP3s because a game is the commodity by itself; sure you need the Steam client, but they can't be played on various devices and in various players like MP3s can. (Plus, there's the fact that games are about $50 a pop, music is $1 a song. It makes a tad more sense to DRM a game, at least from my eyes.)

And the main real reason I am a Steam subscriber is: trust. A lot of people act like you shouldn't ever trust companies, but I don't. Trust is a part of the customer-company relationship and to me, Valve has always proven to be trustworthy. I think I should reward them for that and if it also happens to mean getting games for under $5, well, that would be fine too.

Formats (Movies, TV, Video Games, etc)

 One of the things that still bugs me is formats; again, from my point of view, that which is digital is become more and more about a license and less about the medium it comes on. So if I buy a movie on DVD, is it ok to rip it to my computer, or do I have to buy the digital copy as well? Or even trippier, if I buy the DVD copy, am I allowed to download the Blu-Ray quality torrent?

To me, the answer is a "yes", simply because of this: it's mine. I bought this disk, and if I want to use it as a coaster, I can. If I want to pick my teeth with it, I can. If I want to rip the data off it to my computer, I can. I find it so funny that ripping MP3s to your computer was considered acceptable for years, but now, ripping DVDs and Blu-Rays is not only discouraged, it's illegal. Nice step backwards, dontcha think?

But that doesn't really answer the other question, if I own the Xbox game, can I torrent the PC version? If I own the physical book, can I download the eBook? I am inclined to answer "Yes", but I have no real reason to argue it. It just begins to tread on dangerous ground; if we take my idea of a license or idea being the commodity and run with it, who is to say where the license starts and stops?


I'll talk more about that later but first I'm going to list some of the excuses that I have run across when I hear people that pirate and then try to justify their piracy.

It's not stealing!
People love to use this one: "It's not stealing, it's sharing!" As I said earlier, digital purchases are different than physical commodities. If I "steal" an apple, the storekeeper has one less apple, but if I "steal" a song, the website doesn't lose anything, but you are stealing. You are taking possession of something that the storekeeper was selling but you did not pay for. You are taking a license that was not purchased. The concept of a digital commodity -something that can be copied and transmitted with little to no cost- is something that is extremely new in the human economy, and it's too different to treat it exactly as anything else. I might talk a little later about how I think digital goods should be controlled, but the point is that they should definitely not be the exact same as physical goods.

"It's a 'victimless crime'. The music industry is corrupt!"
I will agree that the way that the music industry is set up is corrupt. The fact that iTunes gets 30% per song just for hosting the content is ridiculous; they didn't write it, record it, mix it, all they did was throw it on their shelves but they want to take more than a quarter of the pie.

BUT that doesn't mean that you can just do whatever you please. This is not about being some vigilante; you are not Batman for downloading "District 9". You cannot simply break the rules when you think it's unfair and you have the means to do so. If you had the security code to a car lot, you couldn't just go in and take a new BMW just because you think the interest rates they charge are too high. Abusing a flawed system is not the right way to fix it. Granted, this will poke at the industry members and force them to shift to change, but often times the change is for the worse. In the end, though, it comes down to morals. And yes, I realize that I just used the whole "You wouldn't download a car" analogy, but even though the catchphrase is stupid, it does offer a valid point in terms of ethics. The main point is: you cannot simply break the rules just because you don't like them.

"It's too expensive!"
This expands on the previous point: the prices being higher than you'd like does not justify what would otherwise be an ethical no-no. It also brings up a huge problem that I see in people: entitlement. People feel like they are entitled to whatever music they want at a low price. They see it as their right. That's why you'll hear people make excuses like
  • "It's not on Netflix streaming yet" = "I feel as though I should be able to stream anything I want at any time"
  • "if I'm paying $100 a month for cable I should have direct access to any show I want at any time I want" -An actual quote by someone
If you want a perfect example of the first one, take a look at people's reactions to  Netflix's price hike last year. It went from being $10 a month to $16 a month. That is the price of 2 lattes at Starbucks. But people went crazy, saying that they were only going to pirate from then on out and that Netflix was driving people to piracy. So people don't just feel entitled to Netflix's streaming service, they feel entitled to it at a certain price. "I'll pay for entertainment if it's $X, but if it's $Y, I'm going to just going to pirate it." And come on, folks, let's get real here, $6 more a month is not that crazily unreasonable; if you could afford Netflix beforehand, I'm decently sure you'll be able to afford Netflix at $6 more.

The second example is equally as potent: people somehow get a divine revelation that because they pay a certain amount, they should be able to do whatever they want. They set their own rules based on what they think they're entitled to.
"You can support the band in other ways."
I've heard it said that if you really like a band, you can just buy a t-shirt when they go on tour. There are plenty of reasons this makes no sense in the practical world.
  1. Now you're saying that artists need to write their music, record it, give it away for free, then somehow obtain the money for a cross country tour before they make any money.
  2. Bands cannot go everywhere in the world to sell their gear. It's just not possible.
  3. You would have to buy a shirt or poster for every single CD you've ever bought or downloaded. I have 3 Switchfoot shirts, 2 hoodies, a hat and 2 posters but I'd still need to buy one more thing to match the number of CDs I have from them, and that is just one artist. It's just not practical.
Donations is another thing, but I'll get to that in a second.

"I want to see if I like it first"
I am conflicted on this. For some media, it makes sense, and for others, it does not. I listen to music every day for probably around 5 hours usually so some songs I will hear almost every day. They're basically something that is meant to be enjoyed frequently; you buy it because you want to listen to it whenever you want. Movies, on the other hand, are different, in that it's really about the first experience, and then if you really like it and see yourself wanting to watch it fairly frequently (maybe once every few months or even once a year), you'll buy it. Movies and TV are really more of an experience than a commodity.

This is probably the most challenging area to draw a line in. I will admit to "sampling" music before buying it, but I don't do the same with video games. I guess it's just how I see things, but most of the time, I will enjoy a game no matter what. I may not enjoy it as much as I could have, but it will still provide some entertainment. But if I buy a CD that I end out not liking at all, I will just plain never listen to it.

I am aware that this is the most greyish area, and hopefully my opinion of it will become sharpened over time. I also feel like I am being a hypocrite in this area when it comes to software. It's just a difficult point to think about.


But it's not just the pirates that try to negate the other side's compliments; the anti-pirates are even worse. Here are some of the ways that corporations try to fight hollywood.

"Let's sue everyone."
Mother of god, I could spend all day furiously typing at my keyboard about how ridiculously absurd this is. The big corporations have literally sued people -children, even- for over $1,000 a song. I thought court was supposed to get back money that you lost, which would be $1 a song, but 1,000 times that. On top of that, litigation is just the worst type of PR for this. It's trying to rule people through fear, which is the exact opposite of the trust I mentioned earlier with Valve.  You don't feel connected to the music industry, you feel like a cow that they are milking dry and if you ever try to leave the pasture, they shoot you in the face.

"Companies are losing tons of money."
Of all the excuses I've heard, this has got to be the most foolish. That assumes that pirates would buy everything they download, which is complete crap. A lot of people hear one song and then will go and download the whole discography of an artist. Do you think they would do that if they had to pay? Hells no.

On the flip side, though I think it is ridiculous that the other side says "Companies aren't losing any money at all." If 100,000 people pirate a $10 CD and just 1% of those people would have bought it if they could not pirate it, that's still $10,000 lost. Companies lose money, for sure, but not near as much as they would like you to believe.

On top of that, piracy actually does have bonuses for the company. People pirating and using Photoshop help cement it as the industry standard. There's less chance of companies switching over to a different program if the people they hire are already fluent in Photoshop because they pirated it. It's certainly not an excuse, just don't be fooled into the belief that the companies are being completely taken advantage of.

What are you buying?

As I said before, it really is a difficult question, are you buying the movie, or the experience of watching the movie? If it's the latter, does that mean I can pick a VHS of Star Wars out of the 95 cent bin then go home and download the Blu-Ray torrent? At one point do you stretch beyond your basic rights as a consumer and into the self-entitlement I mentioned earlier?

And on a much broader sense, can you copyright an idea? Is there really something called "Intellectual Property" that can be likened to physical property? In a way, it's frightening to look at either direction. If Intellectual Property is the same as physical property, then patent trolls like Microsoft and Oracle can go around protecting the "ideas" of software. UMG can pull a MegaUpload video from Youtube. It basically is very scary business because lawyers become far more important than innovators. But on the other hand, if you say that Intellectual Property does not exist at all, you get Richard Stallman, who wants everybody to be able to download any piece of art, music, movie, TV show, video game, comic, ebook, software, and pretty much everything digital any time they want. As someone who hopes to make software some day and not starve to death, this does not sound good to me. I actually agree with RMS on a lot of his views, but to abolish the concept of Intellectual Property would be extremely detrimental to the market. At least in the capitalism we live in.


About a year ago, a thought occurred to me that really fogged up the argument for me. What about textbooks? I personally think that the textbook system is 10x more corrupt than any entertainment industry. The campus bookstores sell them for 20% more than other stores and buy them back for 10% of what you paid for them. Textbooks are usually at least 5x more expensive than other books; I bought my Linux book for $20 and my Algorithms book went for $110, both are about the same thickness. They update versions of textbooks and change next to nothing, but still require everyone to go out and buy the newest version, obliterating the return selling price of the previous one. And lastly, some classes will require a textbook that you literally will not use the entire semester. I think I have made my point.

This is not entertainment, this is education. This is an extremely corrupt system. This is something that you will only have for about 3 months, which you might not even use. This is something that is extremely overpriced. This is something that will make your life easier (carrying around less textbooks). These are people who you could give a rat's ass about giving money to. This is the perfect example of why someone would pirate.

But is it ethical? If you say yes to that, then you have to say yes to all the other situations I just listed. As hard as it is for me to say it, I would have to say no. Not because I don't want to get free textbooks for all the reasons listed, but because I examine other cases and see that there is a flaw in the reasoning for ones that I am not emotionally invested in.


The most important thing to be concerned with is that everyone should think. I know so many people that pirate music that don't necessarily have a reason to defend it, they just do it because it's free. If you want to download some digital content, whether it be an app, song, game, book, software, etc, you damn sure better have a good reason to justify it, if only for yourself.

I realize that some people would probably call me a hypocrite, and maybe I am, to some extent. "So people can't choose their own entitlement, but you will download a CD if only a DRM'ed copy is available? Doesn't the whole 'you can't break the rules because you're unhappy' deal?" And to a point, they are right. I think there are nuances, like the fact that you can buy a CD and rip MP3s, so why should store-sold copies have DRM on them? But they would be right, and like I said, it's not an easy matter. The only real way to conclusively answer this question is to say that "Pirating is never wrong" or "Pirating is always wrong." I'm not so sure it's that simple.


Tuesday, May 1, 2012

The Touchscreen Netbook, in all its glory

These are some class notes I took on my Lenovo S10-3t touchscreen netbook running NoteLab 0.2.1beta1 on Bodhi Linux.

Yes, I was sober at the time.