User login

It seems you're using an old browser...

We're sorry, but your browser is out of date. In order to view this site correctly, you may want to:

Latest Channel news

Noisy Brain; Light Bulbs

My brain is too noisy right now to go back to sleep.

Experience tells me that this usually happens when I wake up hungry, but my dullard of a stomach isn't bright enough to realize that fact until the best hours of the night have passed. So, while my stomach is being satisfied with a piece of peanut butter toast, I figure I'll squeeze in a little writing. I was considering keeping this in my paper journal, but this doesn't seem, somehow, constructive.

There was a rather lively discussion on my Twitter feed today about the government mandate to band incandecent lightbulbs. I find myself in a curious position on this. On one hand, I fully understand and support the need for greater energy efficency in the United States. Reducing energy use in the first place would lead to lower carbon emissions as much of our energy comes from coal. Granted, we have a large reserve of the stuff here, that doesn't mean we should start tearing through it wastefully. Given my position on energy expenditure, you might think that my house if full of CFLs and nary an incandecent can be found.

You would be wrong. The actual situation is quite the opposite. There is currently only one sad, dustly little CFL in the entire house. There are a few reasons for this. I personally prefer the warm glow that incandecent bulbs provide over CFLs. I find the quality of light to be much more comforting and inviting. I find this not as significant of an issue any longer as the light quality from post-first generation, and mid-tier CFLs have largely elminiated the issue. I also tend not to have high wattage bulbs at all. Both Pazi and I are light sensitive, and a light source over 60 watts or even 40 seems an uncomfortable intrusion. (In fact, I'm whincing at the light from my desk at this very moment.) Pazi has historically had headaches with the use of CFLs. Perhaps, like the light quality issue, this problem has largely been corrected as CFLs have entered their third or fourth generation. I have not risked the money, however, to test this hypothesis.

Sticker-shock is one of the reasons I haven't converted my apartment to CFLs. The issues I've mentioned above, combined with my conservative use of electric light in the first place have not made the investment a competative one for me. Human beings, however, are not rational things; most of the time, I worry that I'll give Pazi another cause for headaches other than my terrible puns and cinematic bottom-feeding. I suspect that many Americans have a similar experience: We worry that the light quality will be poor. We fear that we will feel cheated. We ignore long-term savings over short term gratification. And of course, it wasn't broke, so why are we fixing it? 

CFLs do also have environmental issues of their own. I recall that many first-generation models used mercury vapour and other envrionmentally hazardous material. Like the big-tube flourecent bulbs, these CFLs would need to be disposed of specially. I suspect that many people aren't even aware of this, and throw out their old bulbs in the general trash out of conviencce or simple ignorance. Thus, the energy savings is balanced by chemical hazards and landfill pollution. I hope that LED-based bulbs will midigate some of these issues as well as provide additional cost savings. The first-gen of LED bulbs has only recently reached the mass market.

CFLs, reduced water toilets, and so on are just myopic pinpoints in the grand scheme of things. Our houses and apartments themselves are put together poorly. They are designed lazily. How much easier it is to put in an electrical light in a dark hallway than to redesign it to take advantage of natural light? We use water heaters instead of using hotboxes on our roofs. We use air conditioners instead of building with proper cross ventalation. We don't even use techniques that we used to keep buildings cool naught but 100 years ago! We live in practically disposable dwellings and pay for it dearly with every electrical bill.

15 Down, Hundreds to Go...

After my last post, I decided to try my hand at porting content from the old site to a clean Drupal 7 installation. The experience has been enlightening.

Drupal 7 often feels like a completely different content manager compared to Drupal 6. It quite literally thinks differently compared to its previous version. Fields are everything, right down to the structure of the database. This became more than apparent as soon as I created the first node. 

There are many blog posts that include images alongside their written content. Many of these relied on the old Image and Image Attach modules. This effectively inserted an Image node as a thumbnail into a Blog post. It was very convienent at the time, but as CCK and ImageField became the preferred way to do things, this old pattern became very, very cumbersome. 

The solution seemed obvious, covert those image references to file attachments. This took me down an interesting path. Drupal 6 allowed you to desegnate which nodes allowed files to be attached, and which didn't. Drupal 7 assumes that if you're going to attach files, you'll create a specific field for the file attachment on the content type. It seemed a simple enough solution...

The problem is that there are two ways to go about attaching images to a node in Drupal 7. You can create a FileField, or an ImageField. The former handles files generically, allowing file of any (allowed) type to be attached to the node. ImageField aguments those file handling abilities with special display options. An ImageField can specify the maximum dimension of the image, and which image profile to use to display it in the post. It's this ability that I wanted to leverage.

Image profiles in Drupal 7 are similar to the ImageCache module (in fact, it's exactly the same idea if not the same code). An image profile specifies how to display an image in a particular way. For example, you can create a profile that will resize the image to thumbnail size. A thumbnail image is important as relying on the <img> tag's "height" and "width" attributes to resize it is not an effective solution. The large image file still needs to be loaded even when displayed at a smaller size. The display is also not anti-aliased in many browsers, leaving the preview jagged and hideous. 

Using a FileField would be functional, but using an ImageField is a better solution. ImageFields, however, can only handle image files. If I were to attach a non-image file, the display may be rudimentary or worse, crash the site. This means that if I want to attach non-image files to a Blog Post, I'd need two fields -- one for images, and one for files. 

After thinking about this for a few hours, I couldn't think of many instances we've attached images to a Blog Post that aren't images. Unless my memory is faulty, I doubt there are more than a half-dozen instances of non-image files being attached to Blog Posts. Image attachements, however, are far, far more common. Furthermore, attaching files to a blog post almost seems like a bad practice. Images, yes, are important to directly attach to a Blog Post. Other documents, however, would be better served by creating another content type. That type would have the explicit purpose of representing that file. I have a few ideas toward that end, but nothing serious as of yet.

Thinking out Loud

Drupal 7 is very close to a final release; at least, that's the rumor. It's not without some justification. RC3 was released today, and a global release party has been scheduled for January 7th. As a technophile and wannabe Drupalista, I've been following all these developments with great interest. Drupal 7 is a huge leap over the current GA version.

Deninet has been caught in a holding pattern while Drupal 7 is finalized. For many reasons, I've decided not to bother developing new features until 7 is GA. At least, that's what I tell myself. I very much want to given deninet a fresh start with 7, reorganizing content and users and dumping much of the cruft from several upgrades. Moving all this content over is not going to be an easy process. Unless I can figure out a way to batch export and import content from two different versions, I will have to move our 1000+ nodes over manually. 

I say that I've been waiting for the Drupal 7 to be GA, but that may be more excuse than reason. The Release Candidate versions may smoothly upgrade to the GA with little problems. Most of the modules we need to start building the new site are already ported. Provided that this is already true, I have no reason not to start moving content today. 

Well, almost no reason...

The Clubhouse, the Workshop, and the Gallery

A couple of weeks ago I decided to purchase a new domain name for my new blog on Posterous. I had be considering abandoning LiveJournal for a while now for several reasons: I used it as a direct service. Most people I knew on LJ have left are no longer using it. Those that remained crossposted to other sites, or had grown hostile with time. My LJ account simply felt like a dead weight -- something I was lugging along only for the sense of nostalgia that it provided. Given that I've recently found myself too entrenched in my ways, I thought it best to do something different.

Signing up for a new Posterous account was easy enough, of course. I was initially skeptical given it's most marketed feature is that only an email is necessary in order to post any sort of content. Once I started using it, of course, I found other features I found useful. One of these is private posting.

LiveJournal has the ability to show posts only to authorized individuals. It was one of the first social networking sites to use the phrase "friends list", a term that has since fallen out of favor for good reasons. This worked well in an age where there were few other social networking sites, and centralization wasn't as much of a concern. Today, however, people are members of several social networks, and the prerequisite of signing up for yet another website is an annoyance that most people no longer care to endure.

Unfortunately, this same problem extends to deninet. Viewers for "private" posts require both an account, and to be added to a particular channel in order to see the content. It's even more complicated than LiveJournal! As all three of us -- Pazi, Trice, and myself -- make both public and private posts on the site, the complexity has been a problem.

Posterous has a clever mechanism for getting around this problem. Posts that are flagged as private on Posterous may be shared by passing a unique URL to friends. In the age of Facebook and Twitter, sharing a URL is a simple affair. This is not to say that this sharing mechanism isn't fraught with its own problems. A shared URL is a very low barrier to entry security wise. An accidental public sharing or malicious distribution of the link can be easily imagined. There are ways to prevent this, however. Private links can be set to expire after a set amount of time. A hit detector could be put in place to lock down the link if suddenly an onslaught of traffic is detected. These are just ideas, of course.

I suggested to the girls that we switch to this mechanism for sharing posts stealthfully so that we may drop the current channel mechanism. As you might imagine, this did not go over well. I tend to get excited by new ideas in technology. I enjoy solving problems. My enthusiasm took a hit by their criticism, but it did eventually lead somewhere promising.

While the feature may not be a fit for deninet, it is still a feature of Posterous, and one I hope to make use of. Sharing a link to a post among my friends on my private Twitter feed seems easy enough. Since most of the people I once followed on LJ have since moved on to Twitter and Facebook, Posterous would allow me to continue sharing my thoughts with them in a semi-secluded manner. To encourage this, I decided to buy a domain name.

It was a whim, at first. It was a Friday night and Pazi and I were craving pizza. I had just purchased the domain name and pointed the A records to my Posterous account right before leaving for the grocery store. Shortly after getting to my car, I began to realize the potential problem a new domain name will cause.

Up until now, I've only owned deninet as a top level domain. I would post both public and private posts through the site, leveraging crossposting in order to share the content to friends. Now that I have a new top-level site, where does this leave deninet? Do I only make public posts on the site, and leave private ones for Posterous? This spurred me to think about what deninet is truly for.

After I returned home and started the Pizza, I shared some of my thoughts with Trice. The discussion was unexpectedly productive. I looped Pazi in, and shortly thereafter, she hit upon one of the most apt metaphors for our present situation I've ever heard. To both Pazi and Trice, deninet is our own private clubhouse. We can do what we want with it, and it's our little shared space. We also want it to be more; we want the site to also be our workshop, and our gallery. At present, we rely on several different mechanisms for storing our development notes for our creative projects. We'd prefer to keep this on something that we can share among ourselves, but also something that we own. The site also needs to be our gallery -- our place to show off the results of our creative efforts. As Pazi put it, "but we can't do that right now. We have people walking through our clubhouse because our gallery is dusty and unused."

We had a lot of good ideas in the discussion that followed.

The Flipside of Mindfulness

It's been a while since I've written anything. The story isn't new; work has been busy, my off-time is limited and equally exhausting, [insert excusatory platitudes here]. It's incredibly frustrating to me how difficult it has been to do anything other than grind through the errands of the day. Pazi has suggested that my focus on daily tasks has left me little time to do any psychological housekeeping. Since I've learned to listen to her advice (when I'm not being a stubborn bitch), I've taken a few steps I think will help.

First of all, I've moved my workout from mid-evening to immediately after work. In the past I've dismissed this option as I assumed the gym would be packed with professionals just getting off the job. Of course, I don't live in a suburb, but a neighborhood near Minneapolis's artsy district. Mostly I see mothers of Somali families -- sneakers dashing under beautifully colored robes -- along with students and day laborers.  It is more busy at 5pm than my usual 8pm, but I often find an open parking spot and an open machine to toil at for 30 to 50 minutes. I'm usually done and showered by 5:30 or 6pm, leaving a preceptively huge amount of time in my evenings.

The greater amount of contiguous free-time has allowed me more time to enjoy myself in the evenings. Lately, much of this time has been used to play Mass Effect, although I try to put that down for the day by 8pm. Furthermore, I try not to play video games two days in a row.

Interestingly, what I enjoy the most about this new schedule is how I have time to simply sit and process. I tend to like turning over a thought in my mind before acting on it. The events of the last few years have resulted in a huge backlog of things to think about, little of which I have bothered to confront. When so much is happening to you, so quickly, so often, it's easy to want to push it all aside for another day. The problem occurs when life adds more to your queue before you have the chance to empty it. In that state, it becomes easy to never deal with the backlog, and only deal with the most immediate, most pressing issues as they occur. You might call this the flipside of mindfulness.

In not giving myself time to process and deal with the backlog, I've effectively shutdown the mechanism by which I am able to create. It's like shutting down the Coriolis Wind to deal with a particularly nasty weather system. Sure, it may be effective, but the cost outweighs the benefit.