web: November 2004 archives


I Hate Titles

[ rakaur on Thu Nov 18 at 05:05 PM // category: life, programming, relationships, running, technology, web ]

About time for a blog update I suppose.

I did some weight training last night with a friend who actually knows what he’s doing. It sucked. I’m hurting bad today. We went running immediately after, and it seems as if I’m becomming worse rather than better.

Speaking of running, the girl I like mentioned to me that she runs. So today I asked her about running together after school (that’s like, the most outright “let’s do something together” thing I’ve done) but she runs at the YMCA whereas I just run around town. Oh well, I tried. She has a boyfriend anyway so I don’t know why I keep doing it to myself.

I’ve been working a bit on a Python Markdown. It’s insanely harsh. I don’t know Perl, so I don’t know what half of it is about. I can get maybe half of that half out of the PHP version, but I’m still in the dark over the rest. I think I can do it, bit it’s going to suck and it’s going to take a while. Should be a nice little pet project though.

As for right now: it’s raining and I’m so sore that I’m not going to bother running. I think I just need to run more often; however, I rarely have someone to run with and running alone sucks. When I run alone there’s no incentive to keep me going, so I just stop and walk a lot. That doesn’t really help so much.

-- rakaur // 2004.11.18 @ 05:05 PM

New Layout (Volume III)

[ rakaur on Tue Nov 16 at 07:38 PM // category: programming, technology, web ]

And here it is.

The only thing that isn’t finished is post editing… which you don’t care about anyway (and I can just edit the database manually anyway).

It seems fine in Gecko (Firefox/Mozilla/Netscape/Galeon/et al) but it looks like shit in Opera (of course Opera is a giant piece of shit anyway). I don’t know (or care) about IE.

Feedback plz!

-- rakaur // 2004.11.16 @ 07:38 PM

Holy Shit, I Did Something!

[ rakaur on Tue Nov 16 at 07:42 AM // category: eawr, programming, school, technology, web ]

I actually did like three weeks worth of math homework last night. And about two weeks worth of Physics, and some Economics worksheets.

And I worked on the new blog! Amazing!

I have a physical today though. So don’t expect any work.

Worthless cocks.

-- rakaur // 2004.11.16 @ 07:42 AM

Compulsory Blog Update

[ rakaur on Fri Nov 12 at 10:11 PM // category: life, programming, relationships, running, technology, web ]

Not much happening in the land of Eric lately.

I’ve been running. It sucks. I have varying degrees of success. I tend to eat and then go running shortly after and do poorly; however, running without eating for a few hours tends to yield better stamina.

I still haven’t finished the new site. The only thing left (besides the Markdown situation) is comments. I haven’t delved into that yet because threaded comments aren’t fun to play with.

I still can’t talk to Kayla.

My legs hurt.

-- rakaur // 2004.11.12 @ 10:11 PM

New Layout (Volume II)

[ rakaur on Wed Nov 10 at 06:50 AM // category: programming, technology, web ]

Okay, so everything is done for the new layout (except blog comments, and blog posting). However, there remains the problem of Markdown.

The hack I have in place right now works, at the cost of quite a bit of overhead. At the moment, it takes about two seconds to parse all the blog posts for one month (and about 11 seconds to parse them all). I need a native Python parser for it. I guess I’ll end up writing one myself (not that I know how).

I’d need someone that knows extensive Perl or PHP and Regular Expressions.

I may go ahead and put up the new design using the current hack though. I mean, what the hell?

Just need to finish the blog stuff…

-- rakaur // 2004.11.10 @ 06:50 AM

New Layout

[ rakaur on Mon Nov 08 at 06:14 PM // category: programming, technology, web ]

Okay, so I have a new site design done. The main problem is Markdown.

Markdown is the markup language I use to format all of my publications. The problem is, Markdown is written in Perl. This blog is written in PHP (which I hate), and uses PHP Markdown. The new blog is written in Python (because I actually enjoy writing things in this language) and there is no Markdown parser for Python.

I have three options, ordered in preference:

  1. Write my own Python Markdown. I’d love to do this; however, Markdown is an insanely complex syntax to parse, and I wouldn’t be able to do a port of the Perl Markdown for crap. I could try to do my own from scratch… maybe. Maybe I could understand the PHP one better than the Perl one, at least.

  2. Use a PHP script and PHP Markdown to do the processing. Use Python’s urllib to send the text to Markdownize to the PHP script. This involves opening a socket, sending the text, letting the PHP script invoke and process the text, get the formatted text back, and do something with it. This is the solution I’m using currently, but it’s insanely high overhead. Unacceptable.

  3. Use Python’s os.popen() to pipe the information into the Perl Markdown script and grab the output. This is insanely high overhead, and definitely not acceptable.

If anyone has any ideas I’m all ears. Until the Markdown situation is resolved I can’t put up the new design (breaks your hearts, I know).

-- rakaur // 2004.11.08 @ 06:14 PM

« web: October 2004 | Main Index | Archives | web: December 2004 »