The Culture of the Book

From an interview with Larry Mc with Chronicle books editor Fritz Lanham:

Q: What will you talk about at Rice?
A: The end of the culture of the book. I’m pessimistic. Mainly it’s the flow of people into my bookshop in Archer City. They’re almost always people over 40.

I don’t see kids, and I don’t see kids reading. I think little kids love to have stories read to them, but when they get to 10 or 11 or 12, they run into this tsunami of technology: iPod, iPhone, Blackberries.

They don’t resist it, and it’s normal that they wouldn’t; it’s their culture. I’m not so sure they ever come back to reading. Some will, but most won’t.

My comments and thoughts:

Book culture’? When was that? When was this mystical time period that human beings read?

Since the invention of writing, it has been an exclusionary thing. Then comes gutenberg, makes it so the mass can get books, right?

Right?

So they get excited, sometimes. (Harry Potter, I am looking at you) Still books are seen as a ‘learnin’ thing. The average person was not so much a reader. Bible? On Sunday?

Sure.

And yes, there were riots for Dickens novels, there was the unprecidented popularity of Jack London, all the way through the Beats getting challenged on the first amendment all the way to the Supreme Court.

But in the end, you would never fill a stadium for a poetry reading. As a culture, books have always been in the back ground behind things like movies, TV, sports.

College kids read. Dorky kids read. Smart people read. See what I mean?

So are we reading less? Ask JK Rowling or Stephanie Meyer. Indeed I would say that now we are reading more than we ever were. That now, today, we as a species are producing, distributing and reading more works of prose/poetry/non-fiction due to the internet, due to print on demand, due many things.

So maybe we aren’t all sitting around reading high literature all day, but keep in mind, most of ‘high literature’ at the time was just pop culture (I’m looking at you Shakespeare).

End of the book culture? I don’t think so.

Using PHPiCalendar with a Database

On this site I have set up phpicalendar to work with a database. Here is how I did it.

The first requirement I put on myself was simple: no modifications to PHPiCalendar. Why? Because I am lazy. I want to write this once and be done with it, not have to tweek it every time there is a PHPIC update. So instead of trying to make PHPIC read from a database, I made the ICS file be generated from a database.

See how that works? As long as PHPIC reads ical files (which I would think is always, since it is in the name…) this is going to work. So, how do we generate ICS files?

For that I used a AJAX trick. See in AJAX, you can’t use an XML file from a different server for security reasons. So what they do is generate it through PHP instead. And I did the same thing.

I made a php file which pulls the information from a database. Because I am using PHP, I can also just have one file and pull multiple calendars from it, using the old ?cal=this_one trick. So I can call holidays by saying ical.php?calendar=holiday, but readings by inputing ical.php?calendar=readings. Same file, all the calendars.

So then all you really need to do is generate a form that fills in the database. More information for ICS can be found here. I merely used the following parts, wanting to just work with the basics.

DTSTART, DTEND, SUMMARY, DESCRIPTION, UID, SEQUENCE, DTSTAMP, AMOUNTTIME, CATEGORY, ID, UPDATED, URL, LOCATION

I did also want to, as an admin of the site, be able to approve or dissapprove items. So I put in another field called APPROVED into the database. If the even is marked as unapproved, then it does not show up in the ICS file. Just a person between forms and data on the front page of my site. seemed a good idea, no?

This, of course added in another form, an admin form that would let me approve or dissapprove anything submitted. This was a basic form, really since only I was going to be seeing it. I simply change the DB variable of APPROVED from NO to YES. Then when the ical.php file pulls the information, the check code will keep it from, or now allow it to be published.

There was one issue with this whole adventure. Seems that PHPIC wouldn’t read the file being generated. Why? because it was a .php file. So I violated the first (and really only) rule of this little adventure and dug into the PHPIC code.

Now I figure this is probably some sort of security hole. I am just not entirely sure how.

A better solution would be to have the php file simply generate the ICS file each time the database is updated, rather than generate it on the fly. While there is a certain bit of safety with that, there is a certain bit of elegance with the single php file being able to provide all the desired calendars.

PS. The PHP file worked in iCal as well.

Blackberry Storm – A biased review

Let’s get this out of the way. I am a Mac guy, have been for years (except for some ‘experiments’ with windows in college, but isn’t that what college is for?). I wanted an iPhone before they were out. And, I want one now. There are three reasons why I will not have an iPhone: AT&T. Say what you want about Verizon, but their service is still the top. If I had an iPhone, I’d be greatful to get signal where I live.

Ok, so that is out of the way. I got a Storm on the first day. This was my first touch screen phone and my first Blackberry. The first day I owned it I spent learning how typesure keypad works and how to navigate the Blackberry OS. Everywhere I go I get “is that the new Blackberry?” and people asking about it, what I think, etc.

Here is what I think. I love it.

Let’s talk about the touch part, since that is the part that sets it aside from the iPhone, Instinct and any of the others. The screen registers your fingers as soon as you touch it. Keys will change to blue as you run your finger over them, but nothing will happen. You have to actually press the screen down for something to occur. The entire screen is a button. This reduced the number of mistakes I was making compared to the iPod Touch significantly.

There are three keyboard layouts. In vertical mode you can get either a SureType pad, or a normal phone pad (hit 6 three times for “O”). Suretype is RIM’s condensed QWERTY keyboard found on the Pearl. I was sure that I’d never figure out how to type with two letters on one key. A guy in line with me gave me some advice which has worked. “Just type,” he said, “the phone will figure out what you are trying to say.” And he was right. After a few days I can use it with some proficiency. The advantage is you can type with one hand in this manner. The other keyboard is the full QWERTY. You get this when you turn the phone on its side. Unlike the iPhone, however, you can get this keyboard in any program where you type. Actually you can pull up a keyboard at anytime by pulling it from the menu.

Speaking of menus, everything is pretty much menu driven. The ‘berry’ button (which I am sure has a much more technical name) opens the menu. You either press it again to select the highlighted option, or you select the one you want by clicking the screen.

The browser so far seems to work quite well. I used it the first day to show off the new Star Trek trailer from YouTube. Playback was good, even if the video was a bit stretched to fit the screen. Now, if you tap the screen, that is touch it but don’t push down, the browser will zoom. A feature that is useful at times, but too easy to do accidently. While the ‘real’ browser experience is nice, like my experience with the iPhone, in the end, mobile websites still work the best.

Messaging is where the Blackberry shines. There are reviews everywhere about Blackberry messaging, and from my experience, they are right. Coming from a Windows Mobile phone, it was a vast improvement. I have four email addresses set up on the phone, and push email is my new favorite thing. There are rumors of calDAV support coming to the Blackberry, which would allow syncing with Yahoo! and Google calendars (or any other calDAV ones as well).

I’ve used the media part a few times. It works pretty well. I do wish the volume control was a bit more precise. The screen is great for video and pictures. The phone has a 3.2 Megapixel camera with a flash. The pictures are good, even though there is a delay as the camera focuses. The phone can also take video at a decent resolution. Not sure I’d make a movie with it, but that doesn’t mean I haven’t thought about trying.

The OS is a multitasking OS. This means that if you have one program open, you can open others without having to close the first one. Now, this has had me digging though folders trying to figure out what an alert on the top of the screen was. (I had gotten an IM)

Ok, and as a final note, the blackberry can copy and paste. So there.