PSSDBT

Posts? What Posts? Oh, These Posts?

Back in Forks

It's 2am on possibly my last night here for the trip. I'll likely be back on Sunday night/Monday morning for a small period of time, but between picking up a suit, going to a rehearsal dinner, going out with friends, going to a wedding, hanging out with friends again, and doing Bumbershoot, I should have a nice break away from Twilight land. I love seeing the family, and Forks really isn't so bad for about a day, but the list of things I hate about this place is growing like a weed. Today for example, I got a latte from a stand (something the Northwest is heavily saturated with), except I really couldn't tell you if there was any actually espresso in this thing. It tasted like creamy milky sugary syrupy crap. I get that it's a small town that can't be held to any sort of standards, but come on, you've got like 4 or 5 coffee stands here, learn how to do it right. Also, I went to the grocery store a total of 2 times, saw someone I knew both times. Not the worst thing in the world, I don't mind seeing people I haven't seen in a while always, just sometimes. Work has been slipped in here and there, and I haven't been doing much less than normal since I've been staying up so late and working odd bits of time here and there between seeing family, etc. What I haven't done, however, is a single thing to this project. No photo uploading still, which was a pretty big goal. There is still time. There is also a lot more important things that require attention. Next week is going to be rough, starting Wednesday when I'm settled in back home again most likely. I need a drink.

Bad things

My grandma has about 48 hours to live according to the doctor. They put her in a coma so she isn't in pain anymore at least. This means flying to Washington early for me, and staying about a week longer than I planned on. I'm going to be doing all kinds of stuff I don't want to do, and when I'm not I'm going to be bored out of my skull. Aside from doing work, I think I'll give this little guy a push and see what else I can get it to do. I'll probably run a bit at least, maybe even on the beach. I guess I should go on one last bike ride soon, and I'll hit the gym one last time tomorrow. A trip back home for death and marriage. At least there are bar specials tonight.

Easiest RSS Implementation Ever

Using PyRSS2Gen and outputting the xml. Bickety-bam I have RSS. I'm going to subscribe to my own feed. Twice. Ok seriously now, I have to get some real work done.

The Grey Poupon of Blogs

I should have been working tonight, but no. Instead I waste time on this. All in good fun. I can finally delete posts, which involved creating a login system (pretty basic). If the admin user doesn't exist when you go to login you're redirected to create it. Now I can login and click 'delete' next to those posts that probably just shouldn't have been posted. Also dates are correct and not (as) ugly. What's next, probably tags? Not sure. Maybe editing, but I don't know how often I'll do that. Maybe implementing pygments, but again not sure how often I'll be posting my crappy bits of code. Uploading photos would be sweet.

Motivation!

And now I have a reason to work on the admin-side of things so I can delete/edit posts! Well done, self. I think I'll get the admin side up, maybe add a few more small features, then give it some lame name and throw it up on github for the world to make mockery of. Really though so I can get people to go in and correct / improve how I'm doing things, you know, so I can get better at this shit.

Sluggy slug slug!

I'm so 2010. Posting from a web interface, generating slugs, adding templates, even using some HTML5 elements. In. Your. Face. And there are tags, but they don't have any functionality yet. I'm still getting a few things down, but I like this Flask stuff. A larger project may be a bit of a challenge with it, but I really don't think it's too practical for things much larger than this. The debugger is very nice as well, definitely not safe as it runs user-entered python straight from the browser, but it warns against turning debug mode on with an exposed server. Too bad I'm a rebel.

A New Low

You know, it was pretty bad when I was posting garbage from the Mysql Query Browser app for Windows, but now I'm posting from the Python CLI. Only until the rest of this is put together. One piece at a time. Using mongodb is different. For example, I've got autoincremented ids drilled in my skull for referencing rows, but mongodb doesn't use that (afaik), so am I forced to make my own autoincremented id or slug for each record that needs a reference in a URL? One thing at a time. This is going to be a disaster.