Blog

May 02, 2007 04:45 +0000  |  Copyright Geek Stuff Nifty Links 1

Slashdot has the details:

Months after successful discovery of the HD-DVD processing key, an unprecedented campaign of censorship, in the form of DMCA takedown notices by the MPAA, has hit the Net. For example Spooky Action at a Distance was killed. More disturbingly, my story got Dugg twice, with the second wave hitting 15,500 votes, and today I found out it had simply disappeared from Digg. How long until the long arm of the MPAA gets to my own site (run in Ecuador) and the rest of them holding the processing key? How long will we let rampant censorship go on, in the name of economic interest?

More details on what this key is and what it's for can be found here.

Update

Digg has decided to do the right thing. Kudos to them for taking this step, and to the community for forcing them down that path.

April 25, 2007 01:28 +0000  |  Geek Stuff Society & Culture 6

I had this thought today on my way home and I thought I would share it, if only to be able to say later: "I saw this coming years ago" :-) The following may sound technical for the non-geek, I'll explain myself better if you ask questions, but if you're bothered by geek-speak, you probably just want to skip this post.

One of the big problems with online communities is the load on a centralised server. The wider your user base grows, the greater the load on your servers. This issue leads to the second problem: corporate control and need to use advertising as a revenue stream to support the server load.

Now with most sites, this in an unavoidable problem. After all, sites like imdb.com are largely a repository of information in a centralised location for access by all. However, with community-oriented portals like MySpace and Facebook, the content is largely member-generated and hosted in one place either out of tradition or because the user base lacks the capacity to host that information locally.

But as hardware gets cheaper and wireless access more prevalent, we're going to start seeing a lot more in the way of mobile computing. The inevitable result then is that we'll be able to host our own information on our own machines and provide (or not provide) that information to the public through an open protocol.

So, for example, under this system, you would go to a central site (for the sake of argument, we'll use Facebook) and search for "Daniel Quinn". The site will have a basic record that these n people match your search criteria and that their information services can be found at their respective addresses. You could then issue a friend request to that user which would be managed only between you and me and the servers we're running on our personal devices.

Once a relationship is established, it exists only on my device and yours -- the key being the host site doesn't store this information, doesn't need to collate and back it up, or handle the bandwidth requests for other users wondering who my friends are. All relationship information, images, shared notes, etc. etc. would be managed by the devices operated by the user you're querying.

This sort of thing is a while off I would think. Frankly though, I think the real limiters would be the writing of an open and scalable protocol to handle a network like this, and the fact that most computer users are idiots who would have no idea how to configure their own server. A system like this, however inevitable, will have to depend on really slick software that does the majority of the work for you, and a solid, open framework upon which to base each application.

Ok, I'm done. Rant over. Wait for the "I told you so" in about 10years.

April 19, 2007 14:46 +0000  |  Geek Stuff Nifty Links 6

Is it wrong that I identify with Dieselsweeties a little too much today?

April 17, 2007 19:25 +0000  |  Geek Stuff 5

Pepsi is bad for me. I know this. I also know however that it's often the only thing (outside of more sleep) that stands between me and mountains of buggy code. In short, Pepsi makes my brain clear, it makes my code happy.

Now if only it wasn't saturated with sugar, it'd be perfect.

April 09, 2007 18:15 +0000  |  Geek Stuff 0

Aileen forwarded this my way and I thought that I'd share: All I Need To Know To Be A Better Programmer I Learned In Kindergarten.

March 26, 2007 19:04 +0000  |  Geek Stuff 0

It's a strange thing to attempt to import a table from an 11MB SQL dump only to run into the same error over and over again:

ERROR 1114 (HY000): The table 'someTable' is full

"WTF?" I thought, and so started googling... no luck. I even asked my buddy Jay from Ottawa about it since he toys with the MySQL more than I usually do. The answer though was weird, so I thought I'd post it for the rest of the world to google one day.

Basically, Gentoo sets the table sizes on InnoDB tables artificially low. The theory being that you prevent your filesystem from getting overrun by unchecked database growth -- seems a bit overkill to me, but whatever. Anyway, /etc/mysql/my.cnf needed to be tweaked:

56c56
< key_buffer = 16M
---
> key_buffer = 64M
100c100
< innodb_buffer_pool_size = 16M
---
> innodb_buffer_pool_size = 64M
102c102
< innodb_additional_mem_pool_size = 2M
---
> innodb_additional_mem_pool_size = 8M
112c112
< innodb_data_file_path = ibdata1:10M:autoextend:max:128M
---
> innodb_data_file_path = ibdata1:10M:autoextend:max:1024M

I didn't bother to figure out which of the above modifications really did the trick, but my guess is that things would work just fine with only the last change in effect. I hope this helps someone :-)

January 26, 2007 17:02 +0000  |  Geek Stuff 0

JavaScript and I have never been friends. For a long time I've wanted to be able to do the things that JavaScript would allow me to do, but every time I've ventured in that direction I've been kicked in the head by the stupid quirks of the language.

But thanks to my current job, I had to learn a bunch of JavaScript and fast... Enter getElementsBy.com a simple but very handy site that pointed me in the right direction. If you don't quite know how to get the stuff you need out of this frustrating language, this site is a great starting point.

January 12, 2007 15:56 +0000  |  Geek Stuff Miscellaneous 1

Gmail has made my life painful today and I thought that I would share.

Gmail is kinda cool, in that they allow you to use their SMTP servers to send outgoing mail and it even supports encryption so I don't have to worry about the office admins reading my mail or anything. However, what they fail to mention (or if they did, I missed it) is that it re-writes all of your mail headers so that it's no longer using the original FROM: address.

So in other words, instead of getting mail from my usual @danielquinn.org address, people were receiving mail from my @gmail.com address and replying to that... so I've been getting mail for months and not knowing it 'cause I don't check gmail. I've since fixed the problem (there's a setting buried deep in their options pages.) so it shouldn't be a problem anymore.

So for those of you who were wondering why I didn't respond to a letter or two, that's why. Sorry about that, but I blame Google.

January 03, 2007 22:47 +0000  |  Geek Stuff 1

Written While In Transit

Since purchasing my laptop, I've been doing a lot of work on the TTC. I find that some of my best code is written on the commutes to and from work and I've even entertained the idea of just hopping on the Bloor line to write for a while -- from Kipling to Kennedy.

Regardless, I thought it appropriate to create my own blog button to reflect this new reality. I'm not sure how the TTC would react to this, since they've been rather retarded lately when faced with other people using their logo, so obviously I can't say it's GPL'd or anything like that. With that said however, I took this image off their website, so I would think anyone could do the same with these.

Made with Photoshop, available in 32-bit translucent-PNG and GIF for you exploder-lovers, it now appears in the lower left of my sidebar and looks good on most backgrounds.

December 06, 2006 17:41 +0000  |  Geek Stuff 0

My company is using Barracuda's IM Firewall and I had to figure out how to get hooked up with my linux box. It took some poking and various attempts with different checkboxes enabled in both Kopete and Gaim to work, but given that I couldn't find any help regarding this online, I'm posting it here.

Kopete

Basic Setup
  [x] Jabber ID: username@domain.com

Connection
  [x] Use protocol encryption (SSL)
  [x] Allow plain-text password authentication
  [x] Override default server information
  Server: server.domain.com
  Port: 5223
  Resource: Kopete
  Priority: 5

Gaim

Basic Setup
  Protocol: Jabber
  Screen Name: myusername
  Server: server.domain.com
  Resource: Gaim

Connection
  [ ] Use TLS if available
  [x] Force Old SSL
  [x] Allow plaintext auth over unencrypted streams
  Port: 5223
  Connect server: server.domain.com

Here's hoping that this helps someone else when they're in the same position as I was.