Over one million Koran deleted

April 13th, 2011 uxrs75 No comments

It took three days (or so), but the task has been completed. Today I deleted my one millionth, one hundred and thirteen thousandth, nine hundred and seventy fifth Koran. To celebrate, here is the Reason Train kicking dogmatic, vile, vitriolic, superstitious ass!

Choo choo…

Categories: Religion

Subtle window manager

April 13th, 2011 uxrs75 No comments

I first came across tiling window managers with Wmi. I was looking for a light-weight window manager that could be driven with the keyboard, and it was (literally) the first one I found, and I stuck with it—until Wmii came out a couple months later. Wmii remained on my system for a couple years (with occasional breaks for ratpoison, ion, scrotwm, and—others, that I can not remember), until I found Xmonad.

Initially, I was uncertain about installing Xmonad due to the size of its dependencies (now 600+ Mb), but after reading a slew of positive reviews, I decided to give it a try. I liked it—more than any of the other window managers I had tried—but not enough to switch. So back to Wmii I went—until its next release (repeatedly) failed to compile properly on my system.  Not being a patient fellow, I decided to give Xmonad another go (despite its dependency bloat), and this time it stuck (probably more out of necessity than anything else).

Xmonad remained on my system for the better part of two years, until yesterday, when I found Subtle. This was a quick switch for me, as it was light on dependencies (its total installed size is 19 Mb), and could be made to almost exactly replicate Xmonad’s environment (once I figured out how to properly use the configuration file). The only real adjustment that I have had to make is that Subtle has strict tagging, and so programmes will only open in views with the appropriate tag, rather than in the current view.

Importing (if it can be called that) my Xmonad setup required some trial and error editing of Subtle’s configuration file, so I copied the default config file (subtle.rb) from /etc/xdg/subtle to ~/.config/subtle and got down to work.

Under “Options” I changed the border size from 1 pixel to 0 pixels (borders are for the week).

#
# == Options
#
# Border size in pixel of the windows
set :border, 0

Under “Screen” I got rid of the default panel entirely by commenting it out, and adding in an empty referrer for the “top” panel.

#
# == Screen
#

screen 1 do
  top    [ ]
# top    [ :views, :title, :spacer, :keychain, :spacer, :tray, :sublets ]
  bottom [ ]
end

Next came the key-bindings. I had to edit these since the default setup relied heavily upon a user having a keyboard with a Windows key, and I no longer have one of those. I have a 102 key buckling-spring monstrosity that can be alternately used to beat burglars into submission, and annoy cubicle-mates to the point of homicidal insanity. It is wonderful.

So I modified the key-bindings to as closely resemble those of Xmonad as possible, added “grab”s (key-bindings) for dmenu and the five additional views I was going to create shortly thereafter, and changed the default terminal emulator to lxterminal.

#
# == Grabs
#
# ==== Mouse buttons
#
# [*B1*] = Button1 (Left mouse button)
# [*B2*] = Button2 (Middle mouse button)
# [*B3*] = Button3 (Right mouse button)
# [*B4*] = Button4 (Mouse wheel up)
# [*B5*] = Button5 (Mouse wheel down)
#
# ==== Modifiers
#
# [*A*] = Alt key
# [*C*] = Control key
# [*M*] = Meta key
# [*S*] = Shift key
# [*W*] = Super (Windows) key
#

grab "A-p", "dmenu_run"

# Jump to view1, view2, ...
grab "A-S-1", :ViewJump1
grab "A-S-2", :ViewJump2
grab "A-S-3", :ViewJump3
grab "A-S-4", :ViewJump4
grab "A-S-5", :ViewJump5
grab "A-S-6", :ViewJump6
grab "A-S-7", :ViewJump7
grab "A-S-8", :ViewJump8
grab "A-S-9", :ViewJump9

# Switch current view
grab "A-1", :ViewSwitch1
grab "A-2", :ViewSwitch2
grab "A-3", :ViewSwitch3
grab "A-4", :ViewSwitch4
grab "A-5", :ViewSwitch5
grab "A-6", :ViewSwitch6
grab "A-7", :ViewSwitch7
grab "A-8", :ViewSwitch8
grab "A-9", :ViewSwitch9

# Select next and prev view */
grab "A-S-Right",      :ViewNext
grab "A-S-Left", :ViewPrev

# Move mouse to screen1, screen2, ...
grab "C-A-1", :ScreenJump1
grab "C-A-2", :ScreenJump2
grab "C-A-3", :ScreenJump3
grab "C-A-4", :ScreenJump4
grab "C-A-5", :ScreenJump5
grab "C-A-6", :ScreenJump6
grab "C-A-7", :ScreenJump7
grab "C-A-8", :ScreenJump8
grab "C-A-9", :ScreenJump9

# Force reload of config and sublets
grab "A-C-r", :SubtleReload

# Force restart of subtle
grab "A-C-S-r", :SubtleRestart

# Quit subtle
grab "A-S-q", :SubtleQuit

# Move current window
grab "A-B1", :WindowMove

# Resize current window
grab "A-B3", :WindowResize

# Toggle floating mode of window
grab "A-S-f", :WindowFloat

# Toggle fullscreen mode of window
grab "A-space", :WindowFull

# Toggle sticky mode of window (will be visible on all views)
grab "A-C-s", :WindowStick

# Raise window
grab "A-S-r", :WindowRaise

# Lower window
grab "A-S-l", :WindowLower

# Select next windows
grab "A-Left",  :WindowLeft
grab "A-Down",  :WindowDown
grab "A-Up",    :WindowUp
grab "A-Right", :WindowRight

# Kill current window
grab "A-S-c", :WindowKill

# Cycle between given gravities
grab "A-KP_7", [ :top_left,     :top_left66,     :top_left33     ]
grab "A-KP_8", [ :top,          :top66,          :top33          ]
grab "A-KP_9", [ :top_right,    :top_right66,    :top_right33    ]
grab "A-KP_4", [ :left,         :left66,         :left33         ]
grab "A-KP_5", [ :center,       :center66,       :center33       ]
grab "A-KP_6", [ :right,        :right66,        :right33        ]
grab "A-KP_1", [ :bottom_left,  :bottom_left66,  :bottom_left33  ]
grab "A-KP_2", [ :bottom,       :bottom66,       :bottom33       ]
grab "A-KP_3", [ :bottom_right, :bottom_right66, :bottom_right33 ]

# Exec programs
grab "A-S-Return", "lxterminal"

Next came the tags. This took me the longest to figure out, but once it was clear, it was stupidly simple. The basic setup is: tag "<view tag>", "<programmes>".  It tells Subtle under which “View” a programme should be added.

#
# == Tags
#
# Simple tags
tag "terms",   "lxterminal"
tag "browser", "uzbl|opera|firefox|navigator|seamonkey|vimprobable2"
tag "ink",     "inkscape"
tag "libreo",  "libreoffice|lowriter|localc"
tag "gnuo",    "abiword|gnumeric"
tag "pdf",     "epdfview|lyx"
tag "xine",    "xine"

Finally, there was the “View” section, which I edited concurrently with the “Tags” section. The basic setup here is: tag"<view name>", "<view tag>". The “View Name” is—well, the name of the given “View”, and is also what would show up on the panel if I had one displayed. The “View Tag” refers back to the “Tags” entry, and tells Subtle what programmes can be displayed in a particular “View”.

#
# == Views
#

view "terms",   "terms"
view "www",     "browser"
view "gimp",    "gimp_.*"
view "ink",     "ink"
view "libreo",  "libreo"
view "gnuo",    "gnuo"
view "pdf",     "pdf"
view "xine",    "xine"
view "default", "default"
Categories: Config Files, Linux

Delete a Koran day

April 10th, 2011 uxrs75 No comments

Terry Jones is a sad little man, and a troll to boot. On 11 September 2010, he was going to conduct a book burning, for which the kindling was going to be a copy of the Koran. This resulted in a huge media shit-storm, with everyone from world leaders, straight on down to the local hobo under the overpass, having some kind of opinion on the matter, and collectively working themselves into a frenzied lather. Prophecies of impending doom came from all corners: from Muslims, from sycophants and apologists, from the aforementioned world leaders, and from everyone on the internet—times two.

But when the day came, there was no burning—the troll seemed to have misplaced the gas, or something—and all those who cowered in fear of offending, breathed a collective sigh of relief, and the world went about its business, and everyone forgot the whole, pathetic affair.

Now fast forward to 20 March 2011, when Terry Jones finally managed to locate his misplaced fuel, and get down to that all-important task of Koran burning. The world shrugged at the infantile display, having matured infinitely in the preceding sixth months, and Pastor Jones trundled off into obscurity once again.

If only that were true.

Instead, 14 U.N. aid workers were killed in Kabul, Afghanistan on 1 April 2011. All because some troll burned a book.

Many condemn Jones, and blame him for the deaths, rather than placing the blame squarely where it should be: on the shoulders of the cruel, malicious, cretins who did the killing. They had a choice, and they chose violence. What is worse, is that they are enabled by people in the West who are of the opinion that we must tip-toe around Muslim sensibilities for fear of offending them.

Science forbid that ANYONE should EVER be offended.

Well, I have decided to help offend. I have been inspired by the videos of Thunderf00t, and Illuminatiprimus, and am taking part in the first ever ‘Delete a Koran day.’

My first stop was Project Gutenberg, where I obtained a copy of the Koran. Step two, was to create a folder (titled burn), and two sub-folders (titled one, and two). Step three was to cobble together a bash script that repeatedly copies and deletes a file (or files). (I am sure there is a better way to do this, but it suits my needs for now.)

#!/bin/bash
COUNT=0
until [ $COUNT -gt 1000000 ]; do
cp ~/burn/one/*.txt ~/burn/two
rm ~/burn/one/*.txt
        let COUNT=COUNT+1
        echo Value of count is: $COUNT
cp ~/burn/two/*.txt ~/burn/one
rm ~/burn/two/*.txt
        let COUNT=COUNT+1
        echo Value of count is: $COUNT
done

And finally, step four was to set it loose upon the copy of the Koran that was occupying space on the hard drive.

I am pleased to say that, as I write this, it has just finished deleting Koran number 180510. I am hopeful that I can reach 1000000 before the end of the day.

A collection of console programmes

April 5th, 2011 uxrs75 No comments

I am a console kind of person. It is not that I object to Xorg, it is more that I object to the mouse (so maybe I am more of an anti-mouse kind of person). I much prefer a keyboard driven interface wherever practical (I concede that gimp needs a pointer, though in its case, I use a stylus instead of a mouse), and that tends to lead me to console programmes, over GUI ones.

It has taken a couple years to gather the current programmes together (it took me until last week to discover moc), and there is  still work to be done—new software to be discovered. But enough with chatter, onto the programmes.

  • alpine: email and usenet client
  • antiword: a *.doc file viewer
  • bashburn: cd and dvd burning
  • centerim: IRC and instant messaging
  • dvdbackup: for backing up dvd’s
  • elinks: web browser
  • fbida: an image viewer made up of two programmes, fbi (for the console), and ida (for X)
  • fbshot: screen capture tool for the console (in X, I use gimp’s scree capture function)
  • lynx: web and gopher browser
  • moc: a music player (I have also tried cmus, but it had trouble ‘finding’ some of the songs in my music directory)
  • midnight commander: file manager and clone of Norton Commander from days of yore
  • mkisofs: create iso files (from cdrkit)
  • nethack: a rogue-like dungeon game
  • newsbeuter: feed reader
  • ranger: a file manager with vim-like key bindings
  • rpncalc: a calculator that uses reverse polish notation
  • rtorrent: a bittorrent client
  • vim: the only text editor
  • vms-empire: a two-player war game in the style of C-in-C for the original MacOS
  • wcalc: a calcluator
Categories: CLI, Linux

Is $2 really too much?

April 2nd, 2011 uxrs75 No comments

I do not understand why people would support Stephen Harper’s efforts to end subsidies to political parties. Sure—it is not a perfect system of funding, but it is better than the alternative, namely parties bought and paid for by large corporations—just like in the United States.

I would rather pay a small amount of money—less than $2.00 worth of small—than have a government of the rich, by the rich, for the rich. I do NOT want to live in the United States.

That said, if people are really so put out by the party subsidy, I would make a counter proposal: let us eliminate political parties from the equation. Ban them from running campaigns, operating in Parliament, and providing funding to individual candidates. Instead, I suggest a return to the good old days that never really were, where the citizens of a riding voted for an individual, rather than a party, and that individual then went to Ottawa and represented their constituency. Place a time limit on campaigning of three weeks, and a spending limit of $10 000.00, and I think we would have the basis of a reasonable and rational electoral system.

In this fashion, the small and simple minded do not have to worry about some fraction of their $2.00 going to whatever party they hate and despise, and I do not have to worry about living under the best government money can buy. It is win-win.

Categories: Aggravations, Canada, Politics

Searching for a backup web browser

April 1st, 2011 uxrs75 No comments

Just under two weeks ago, Mozilla released Firefox 4, and everyone went off to download it—except me. I went off to to get a copy of Icecat, and was disappointed to find that an updated version did not yet exist. So, I went in search of another browser to serve as my backup to Vimprobable 2, and settled on Midori.

It did reasonably well, but by yesterday I had concluded it just wan not what I was looking for. Yes, it is a small programme, but it can also struggle with some websites (cbc.ca—I am looking at you), so I decided to start my search again.

I started with some lesser known browsers (Netsurf, Epiphany, and Arora), but they all suffered from the same problem as Midori: some pages just could not be handled. And if there were other tabs open, crashes ensued. So I decided to try the major browsers—oh the shame…

I started by looking at Konqueror, but even before that, I knew it was not going to win out. I just wanted to see how big the install would be, and the answer is: 210 Mb. There was no way I was installing that.

Next up was Chromium. It had an installed size of 73 Mb, which was much more acceptable, and so I gave it a whirl—only to discover why I had removed it before: the lack of http:// in the address bar. So out the window it went.

I moved on to Opera, whose 34 Mb install size is the smallest of all the major browsers, but could not get past the EULA screen. I just could not accept it—for whatever reason. So it to received the heave-ho. This left me with Firefox, and a browser that I had actually forgotten about—Seamonkey.

I tried to install Firefox, but I just could not bring myself to do it. At 93 Mb, there just seems to be too much back-end for what is at the front. And my experience with Firefox 4 has been ok, but the glitches, especially where flash is concerned (keep in mind, this is not meant to be my primary browser, but the backup browser for sites that don’t play nice with Vimprobable 2, and Elinks, so it needs to be able to handle flash well), helped rule it out. It was at this point—when I had thought that I had exhausted my options—that I remembered Seamonkey.

Seamonkey has an installed size of 50 Mb, and yet has a mail client, an HTML editor, an address book, and a chat client all rolled into it. And while it still seems like overkill to me—especially as I do not use those particular features—it won the day.

But even as my search concluded successfully, I am left wondering: why is Firefox (or more specifically, xulrunner) so large? What magic does it do that necessitates such size? Should it not be smaller and lighter on its feet than a full-on browser suite? Or am I missing something?…

Categories: Browsers, Linux

A WoW-trospective

March 31st, 2011 uxrs75 No comments

A month and a half ago, I had made it my stated purpose to level a character in World of Warcraft all the way to 85. Yesterday, I finished that gruelling task, and have learned a few things in the process.

The big thing I learned: I am not a MMORPGamer. I do not chat up my fellow players, I do not challenge them to duels, and I do not partake in role playing. It just is not my scene. I am also not a huge fan of having to go and kill/pick/mine x number of y‘s to give to z so that he might be able to complete purpose p. It might be fun the first dozen times, but it quickly gets old after that. How often I wished for an alternative method of completing a given quest, rather than just trapsing out into the woods and slaughtering forest creatures. The saving grace in all of this was that I had chosen to pursue my goal as a rogue.

In this capacity, I did have a certain leeway in completing quests that would otherwise not have been available. One: I could stealth my way through the hordes of red-shirted NPC’s (their only purpose being to die), and get to the target of the quest quickly and efficiently. And two: I could vanish from combat when the job was done, and run away into the night like the cowardly assassin I was. These two magic tools probably saved me hours of grinding and killing, and in some cases, actually made some of the quests fun and interesting.

I enjoyed sneaking around enemy camps, knocking sentries out, and stealing the plans for whatever nefarious device they were trying to build. It felt like I ways playing the game in a different way than intended (though I am certain many thousands of players have done exactly the same thing). I also enjoyed the fact that was a certain apprehension that came along with this particular tactic, as I would un-stealth when looting the plans (or gold, or whatever) and be visible to any wandering sentry (or, on occasion, sentries).

I also enjoyed archaeology; running around the country side, trying to avoid blood-thirsty monster, all so I could dig up some relics, or a couple bones. Along the same theme, I am also hoping that Uldum—with its Indiana Jones parody quest-line—will be the fun adventure-land that I hope it is—with the barest minimum of grind necessary (and hopefully none).

But what I enjoyed most was the exploration involved in uncovering the maps. Venturing into lands well above the characters level, were even the lowliest forest creature could rend you limb from limb in a bloody hommage to Rob Zombie. Or even better, venturing into enemy territory, where absolutely everything wants you dead.

I enjoyed the latter so much, that I intend to venture into Stormwind some day, just to say I did—and maybe kill an Alliance player or two.

All that said though, would I have done it had I not known people who play the game? No. And I do not imagine I will do it again. Sure, I have a whole cadre of other characters, but I doubt they will see much use outside of social play (i.e.: playing with friends).

It will be a long time before I have another level 85 character. Huzzah!

Categories: Games

Oh glorious day!

March 26th, 2011 uxrs75 No comments

Today started out like any other day. Sol rose, the birds started chirping, I rolled out of bed to stumble about the kitchen trying to cobble together something that would pass for breakfast, all while still in a stupor. When that is all over and done with, and my faculties are a bit more in line, I head off to the computer, turn the bugger on and update the software before checking the news.

It all went largely according to plan (except for the software update—I needed to grab the lib32 Nvidia package from the Arch Linux multiple testing repository, but that is another story), until I opened the Slashdot RSS feed and saw this entry: ‘Canadian DMCA’ Copyright Bill Dead Again.

Now this was pleasing news in and of itself, and would have been more than sufficient to make my day, but within the summary was news that was to make me positively giddy: Government’s defeat sets up election call.

It turns out that the Conservative Party, which was serving as a minority government had been defeated by a non-confidence motion. Finally, we will have another chance to put—well, a different party (or perhaps parties—a couple Green Party MPs would not be bad) into office.

Now, this could all still go terribly wrong: the Conservatives could win a majority of the seats in Parliament… And given the apathy that the Canadian public have had in the past few elections, I have my concerns.

For now though—for now I am quite pleased.

Categories: Canada, Politics

Fun with the Ban Hammer

March 25th, 2011 uxrs75 No comments

Contrary to appearances, this site is actually very, very popular. In fact, everyone that visits wants to comment. The trouble is, all they seem to want to do is offer me cheap Viagra. Now, perhaps someone out there might find these comments useful, I find them more a nuisance, and so, I set out to find a way to weed out the—what do the popular kids call it—oh yes, spam.

Thus I set out on a short, virtual journey around the Internet, and found WP-Ban almost immediately; it was installed without delay. That was about two weeks ago. Now the site is much quieter—not that I am after such a state—and I can see just how persistent some of these folks are.

One IP (95.211.134.17) has tried to post 230 times. 10 of those were in the last hour.

A more industrious spammer has been using multiple IPs and names (though they all took the form of john(letter)(###)—so terribly original), but the same domain name (ypxoiea dot com), and so that has gone on the list. Now I am anxious for John(letter)(###) to try and post again to see if domain blocking works as well as IP blocking.

It is like a game of hide and seek, or tag.

Oh the excitement!

Categories: Site News

A sad day today…

March 15th, 2011 uxrs75 No comments

…for today marks the end of Bigger Than Cheeses.

It was the webcomic that would knife-fight all other webcomics, and was a continuous source of entertainment. And while it saddens me that it will no longer be updated, it pleases me that it went out with such epic awesomeness, rather that just fading away in some webcomic rest-home.

I salute you, Mr. Seah.

And just in case the BTC domain name should lapse at some point in the future, here is a link to the archive provided by the National Library of Australia: http://pandora.nla.gov.au/tep/117001

Bon voyage, Thanatos and Duke.

Categories: Internet, Webcomics