WordLog.com, a blog about WordPress. (A lot like this one. ;)) Don’t know why I haven’t seen this before. Bookmarked.
Category Archives: Books
Writing A Book
Harry Potter
Harry Potter 3 was fun. I could see it again.
Image Fun
Been playing with manipulating images with PHP all night, something I haven’t done much since I had the fancy capital thing on this site, and that wasn’t as much manipulating images as generating images using truetype fonts. With GD included PHP is very easy to use for this sort of thing. I’m storing the images themselves in the database as BLOBs, along with a bit of meta-data I grab from them when they’re uploaded using a web form. I have a small PHP script that returns the images from the database, resizes them to whatever width I specify in the query string, and does “funky” caching so if the image has already been generated/grabbed it returns just about as fast as reading it directly from the filesystem would. I have to have some fun because the site I’m doing this all for uses tables.
Speaking of tables, everyone head over to Big Pink Cookie and see how there aren’t any there. I recreated the basic layout in CSS and then helped Christine tweak it till it became the beauty you see before you now. If you’re curious, here are some of the changes I made:
- The CSS and Javascript is now in seperate files, as to be easily cached.
- The header graphic is now a
h1tag with the text hidden and the graphic as the background. - The latest pictures from Pixelog at the top of the page are now an ordered list, styled to display horizontially through CSS.
- There is a “rapper”
div(gotta have some flava) of a fixed width centered usingmargin: autoand a IE workaround. - Inside that there is a content and menu
div, the menu has a fixed width and is floated on the right. - ms that were previously all preceded by “::” are now unordered list items with the :: effect recreated through a list image. Now if Christine wants to change the way her menu looks she just has to edit one file instead af change hundreds of double colons.
- It now loads really, really fast. Especially when compared to before.
It might still have a stray error here or there that’s keeping it from validating, but give it a few days and all those should be ironed out. More importantly, it validates in spirit. I can now add Christine to the list of site I check when I’m browsing on my Palm over a 9.6k connection. Best of all, I think CSS no longer makes Christine’s eyes bleed, and she can see Tantek again.
Previously Reading
The Reading sidebar now has an archive page.
Done!
Stick a fork in me, because I’m done. My second paper has been handed in and my weekend starts now. Hallelujah! This weekend is looking good with dinner tonight with a new friend who’s in town, a party Saturday, and hopefully oodles of free time to catch up on my reading (check the new sidebar) and work on some new projects.
Do you know that feeling when you’re so sleepy that you can be doing something and you close your eyes for a second and you immediately fall asleep and have a dream, usually quite vivid, and then your eyes open one or two minutes later with a jolt? That’s the state I was in when I wrote paper #2, so barring accidental genius and it getting high marks from the professor, I will not be posting this paper either. Don’t worry though, I have one coming up on psychological and ethical egoism that looks like it’s going to to be good, and I’ll definitely post that. For now, I need a long nap.
Reading
Ever wonder what we’re reading here at PhotoMatt.net International Headquarters? Well now there’s a sidebar widget that says what I’m reading now and links to the edition on Amazon, and I even get a kickback. Comments welcome. I’ve been doing a lot of tweaks to the menu and navigation in general so if you have any comments on that leave them here.
Personal Details
A remark was made to me the other day that there are scarce personal details of me on this site, a fact I can’t deny. This obviously means one of two things:
- My life is so interesting I’m currently in negotiations with MGM over the rights to be used as the basis for the next Bond movie, or
- My life is so incredibly boring that if I were to post details of it here people would actually fall asleep while reading and then the comment section would be full of random letters as a result of people’s heads hitting their keyboards.
The jury is still out on this one. Anyway, so today I was eating a cheese sandwich…
I Love It When Things Just Work
After playing around with menus for a mere minute I was able to send the entire contents of my T68 address book (which has been my organizer in the interim) to my T|T over Bluetooth without a hitch. I’m amazed it worked at all, but furthermore if this had been over infrared I would have hold them just right in line of sight and hope that some random movement didn’t cause them to lose contact.
Interested in doing this? Phone Book > 8 Advanced > 6 Send All > 2 Via Bluetooth > and then find or choose the necessary device. Like everything Bluetooth it works a lot better if the devices are paired before hand.
Out for the Count
Well, it’s happened again. I should have seen it coming, the signs were all there, but I hoped “Not this time, it’s different.” However here I sit with what is most likely strep throat, judging from my track record and the terrible pain every time I swallow. This was not entirely unexpected, as every year for the past five or so I have contracted some alphabet letter of strep combined with something else, the worst being last year when I actually ended up in the hospital, on Valentine’s day. This year has been my healthiest ever though, and I’ve hardly gotten a cold or a sniffle for almost a year, so I was hoping this wouldn’t happen. That said, the timing could have been worse; I’m glad it wasn’t at SxSW (like poor Jane or Ernie); I’m glad it wasn’t on Valentine’s day; I’m glad it wasn’t during an “important” school week; I’m glad that you’re still reading at this point. I’m going to try and get some more rest. Updates will either be light, or come at a Kathyesque rate—we’ll see.
Piece of Cake
The mid-term on ethics was actually pretty easy, and the extra day or two of reading certainly didn’t hurt at all. It is really one of my favorite classes right now, and the professor has a really interesting British accent that seems to keep me quite interested in what he’s saying, or maybe I’m just dreaming. Of course living in Houston I should have a cinch on ethics, since our corporate community has it in bounds.
Over the past 3 hours I have caught up on more email than I thought possible. My inbox no longer runneth over. I have a strangely satisfied feeling that feels like I’ve done something, because email is not just a set of communication, but my inboxes (I have one address for business and one for pleasure) represent a set of things to do, of items screaming for attention in their unassuming way.
This was all done in what I believe to be the most perfect coffee house I have encountered so far: Outlets and ethernet ports every 4 feet and wireless so you don’t need to plug in, a friend who works there, very reasonable prices, good music, and some of the best bread I have ever tasted in my life. Well Sarah’s done with work now so I’m off.
For those that were asking, it’s called Kraftsmen and is at 4100 Montrose, 77006. It’s the place with the giant chessboard and the British telephone booth. Put another way, it’s inbetween the Black Lab and Cezanne’s and the Montrose Public Library. I also found out that they validate parking so that’s a plus.
Future of Email
A group I’m a part of is preparing to form a number of “working groups” and each group may prepare a number of documents. The proposed format for these documents is plain ASCII text wrapped at 74 characters. It’s not the IETF, and on the whole it seemed like a rather restrictive format to develop documents in, an opinion which I’ve been trying my best to communicate. The discussion is still ongoing, but there was a brief tangent where several people misconstrued my argument as being one for HTML email, which is a totally separate beast.
Anyway it got me thinking about how HTML email is almost universally condemned among tech-savvy email groups. The problem, I think, is not technological but in fact human. HTML email has the potential to be clean, structured markup that can add a number of rich elements that there is no standard way to add in plain ASCII, such as emphasis, links, quotes, and in general represent things in a more meaningful way. The problem is generally not in the receiving client; I can’t think of a client with no HTML reading support (even Pine does some). Also the MIME standard allows and encourages a plain text equivalent of all rich content. It’s a problem, to put it into Spiderman terms, of great power and great responsibility. Someone very near and dear to my heart sends me email with garish background, text that varies between large and red or some purple script font, and any number of images speckled about. To me an ideal solution would be an email composer that enforced strict separation of style and content, and a client which allowed any CSS attributes to be toggled at will. Someday, perhaps?
Biting
When did it get so cold??? I am cold to the point of desperation there. Now I know, some of you native (or born-again) Notherners are reading and thinking “42 degrees? Ha! That’s jogging weather!” and you are probably right. But how should I get warm? I’m not conditioned to deal with this.
Greg Palast
Saw an interesting speech by Greg Palast today, in which he made a lot of very strong assertions about a number of issues, most notably of the 2000 presidential elections. He is not as much as a wack as I expected him to be going in, but I’m going to reserve further judgment until I read his new book, The Best Democracy Money Can Buy. I did get to have a brief but informative conversation with him after everything about his time “undercover” with Milton Friedman and situation in Venezuela, which he called the most badly reported story since Vietnam. He seemed like a very nice guy, despite his inflammatory views and writing. Check out some of the articles on his site if you’d like more background.
Late Night
Last night got started late, and went even later. We got to watch one of my all-time favorite movies, Zoolander. I think it’s a very underappreciated film, as it works on a lot of levels and people are apt to dismiss it as a shallow movie without giving it a chance. The DVD had some neat features too that I think made it worth it. Which brings me to the question of the day: Does anyone ever watch the director’s commentary?
Well I’ve got to go get ready for the HPUG meeting today, and also I’ve got to try to fix my Dad’s m505 which is currently sufferinf from Sudden USB Death Syndrome. The battery has been draining all night so it should be good to go now.
Maybe Driving Just Isn’t My Thing
Let’s walk through 4 days in the life of Matt:
Friday: $205 parking ticket downtown, goes to $410 if I don’t pay within 45 days
Saturday: Fine. (Whew!)
Sunday: If you were in traffic around seven PM on I-45, that was me. I was cruising along comfortable at around 70 miles per hour when all of a sudden the car starts shaking violently and making terrible noises. I manage to stop it, but unfortunately I’m in the innermost lane, and there’s no shoulder. Hazard lights are on, luckily no one hits anyone, but traffic is starting to pile up behind me. I get out and walk around the car to see what it is, it looks like my rear right tire has completely exploded, as seen in the pictures below. I’m already on the phone with AAA and they say they’ll put the call on “rush.” About fifteen minutes later, traffic is backed up a least a mile and I’m still sitting in the lane with my hazards on, waiting for the tow truck to get there so I can get out of traffic. A very kind man stopped behind us and said he would help us get over to the shoulder; next thing I know, he’s walking out on the freeway stopping traffic, and I manage to get the car to limp over to the right shoulder. I thank the man profusely when he comes over, and he asks if there is anything else he can do and then drives away. A few minutes after that the first tow truck pulls up, not AAA, so useless. Another one about a half an hour later, same story. I get back on the phone with AAA and they are no help at all, they say the call is being taken care of as fast as possible. More time passes, and by now we’ve been there at least a hour and a half, possibly more. Finally a third tow truck pulls up—I walked up tentatively hoping that this could be the one. He tells me he’s with AAA but he isn’t the one they sent, he just saw me on the side of the road and stopped. After another call he gets approval and fixes everything up just fine. However by that time my study group that was meeting at six was long gone.
Monday: I hope that this is the stupidest thing I do all year, but I am ashamed to say I actually ran out of gas. My gauge is erratic in its reporting, and I’ve had it be where it was today for a couple of days before, but today the car just stopped running. Luckily it was on a side street; unluckily it wasn’t in the best part of town. There was a gas station only a block away though, but they didn’t have any gas canisters. So Mat and I ended up carrying about a gallon of gasoline in various containers to and from the car until it had enough to start and actually drive to the gas station.
Although things were pretty bad, they could have been much worse. On Sunday I had actually left my cell phone at IHOP that morning, so I was without communication that day. (I did get the cell phone that evening; a manager had picked it up and nothing had happened to it.) Luckily Sarah had her cell phone and we were able to get in contact with AAA, even if their truck never came. Also the company was good, and the only thing that got a scratch on it is that tire. I’m ready to pick up and move to the mountains though :).
Chic Geek Jacket
I’m normally not the most up-to-date on the latest fashions, but after reading this review and visiting the product’s well-designed website, I’d like one for the two months when it’s going to be cold in Houston :). Version 2.5 (you gotta love clothes that have version numbers!) looks very stylish and like something I would actually wear.
So, if I start buying clothes to match my geeky ways, does that make me a closet geek?
Yummy Site and Birthday
Before I cram for my pyschology test, I have to get one more post in. If you haven’t yet been exposed to the Big Pink Cookie formerly known as Blah Blah Blog, run your mouse over there. BPC was one of the very first blogs I started reading, I believe from a link from H-town blogs where the name caught my eye, and it’s had me hooked ever since. On top of that, today is Christine’s birthday! Ack, I always take to long to write these things and now midnight has passed. Let’s make this a happy belated birthday =). Happy thirty-three Christine!
True Motivations
I laughed out loud at Shawn Yeager’s “Special Interests?” Read it outloud for the full effect. I just wish he had made it a bit bigger, and maybe used less compression.
Em and En Dashes in Movable Typo
Several users of the MTCurly plugin have written in or commented about the module catching em dashes written in as two hyphens. In the PHP function I have parsing the text on this site, I actually have this rule running. Well, it’s a pretty trivial task to do this, but when I was thinking about it the issue of en dashes bothered me and I decided to reread one of my favorite ALA articles, A List Apart: The Trouble With EM ‘n EN.
While the majority of people will just want to use the em dash, I think the possibility of having en dashes generated automatically as well would be very convenient and encourage more widespread adoption of them. But how do you notate an en dash using only the characters on the keyboard? I thought about this and came to the conclusion that there should be two optional addons to the code, one for changing two hyphens into an em dash, and one that changes two hyphens into an en dash and three into an em dash. Get the updated code. I’m curious to hear some thoughts on this.
For those who aren’t familiar with the proper usage of em and en dashes, here’s a quote from the ALA article, which I think is the best summary of the matter on the net, by Peter K. Sheerin.
The em dash (
—) is used to indicate a sudden break in thought (“I was thinking about writing a—what time did you say the movie started?”), a parenthetical statement that deserves more attention than parentheses indicate, or instead of a colon or semicolon to link clauses. It is also used to indicate an open range, such as from a given date with no end yet (as in “Peter Sheerin [1969—] authored this document.”), or vague dates (as a stand-in for the last two digits of a four-digit year).Two adjacent em dashes (a 2-em dash) are used to indicate missing letters in a word (“I just don’t f——ing care about 3.0 browsers”).
Three adjacent em dashes (a 3-em dash) are used to substitute for the author’s name when a repeated series of works are presented in a bibliography, as well as to indicate an entire missing word in the text.
The en dash (
–) is used to indicate a range of just about anything with numbers, including dates, numbers, game scores, and pages in any sort of document.It is also used instead of the word “to” or a hyphen to indicate a connection between things, including geographic references (like the Mason–Dixon Line) and routes (such as the New York–Boston commuter train).
It is used to hyphenate compounds of compounds, where at least one pair is already hyphenated (as in “Netscape 6.1 is an Open-Source–based browser.”). The Chicago Manual of style also states that it should be used “Where one of the components of a compound adjective contains more than one word,” instead of a hyphen (as in “Netscape 6.1 is an Open Source–based browser”). Both of these rules are for clarity in indicating exactly what is being modified by the compound.
Other sources also specify the use of an en dash when referring to joint authors, as in the “Bose–Einstein” paper. Some also prefer it to a hyphen when text is set in all capital letters.
While quoting the above article, I noticed what may be an error in the source where it looks like in the paragraph about en dashes em dashes are actually used. I’ve corrected it in the quote above. Typos happen, I’ll drop Zeldman an email. (Time to break out the spel chequer.)
I’m also considering adding a few other things to the next version of the plugin, so if you have anything you’d like to see in there let me know.