August 30th, 2001

  • stipe

Porting LJ

I've just finished an eight month stint at Sybase working on their database software (specifically, working on their Java VM, if anyone cares). I've got some time on my hands now and was thinking about trying to port the LiveJournal code to run on Sybase's desktop server.

Just wondering if anyone knows of any reason this wouldn't work, or if anyone has tried to port the code to something other than MySQL and met with any success?

LJ Internals FAQ.

Hey all,

I see far too often people who really want to help out with LJ's development, or have a lot of seemingly fine suggestions, but have no way to easily understand the basics of how LJ works. So, I'm going to assemble an FAQ for the internals of LJ. Lots of basic questions and some more advanced questions... Trying to steer away from questions which would have to get updated every other day, however.

I was talking with some rather talented code folk the other night, and had basically spent a good half hour in a Q&A session getting some of the basics down, and at the end of it all, there was still a lot of work left to do. The devs who do know how the system works won't have time in the future to routinely answer all of these questions anymore, and potential devs might not have the time to experiment with the code enough to ever get up to speed on things.

The FAQ will have a couple of levels to it. So it'll be easier for me to answer those "Why can't LJ cache journal/friends pages?" or "Why can't you bring interest matching back?" kind of questions. Which are good questions, but without a bit of backstory, the answers don't make any sense.

So, normally I would just make up a bunch of questions and duitifully answer them, but I'm well aware of several problems with this. I have a bias toward what questions I would want to answer. Just to get rid of the most annoying questions. I'm also already familiar with the system, and will most likely skip or assume obvious some important steps in understanding the system.

So, with all of the rambling aside - Ask me questions. I may or may not answer them in the threads, it depends on if I'd be interested in further questions of yours. I'll also make up a bunch on my own (things most wouldn't know to ask for, since they wouldn't know they even exist.) I'll put up a draft as once I have one, and let everyone ask more questions on those, so I may clarify and add to it.
  • frog


This may already be known, but my friends and I have noticed the past couple days that lj_win32 has lost the flashiness when new entries are posted. I looked at the lj_win32 community, but there's been no activity there for a while. And when I use the "What are my friends doing?" option to go to my friends page, it hasn't been putting the "&since=..." (or whatever it is) on the end of the URL.
  • Current Music
    Poe - Walk The Walk

cvs question

once again, please excuse my newbie-ness when it comes to cvs, this is the first time i've really worked in such a distributed development environment.

what commands do i need to use to submit a patch?

Various stuff.... help wanted! =)

I've got an installation of LJ (0512) here and it's acting up in a few places. Any input you have would be appreciated!!

1) Spellcheck is spitting back an error (previous email).

2) The "Random" link isn't working. Before it was just bringing up the Directory by Region page, but I replaced it with the one from CVS and now it's just giving an internal error.

3) Replying to a support request is giving: [Thu Aug 30 04:31:49 2001] [error] [client] malformed header from script. Bad header=No recipient addresses found i: /home/lj/cgi-bin/

Perl/LJ Question

So.. I'm trying to understand both Perl and LJ. Looking at talkpost_do, I see the following set of commands:
 return LJ::server_down_html() if ($LJ::SERVER_DOWN);

 my $dbs = LJ::get_dbs();
 my $dbh = $dbs->{'dbh'};
 my $dbr = $dbs->{'reader'};

What the heck is LJ::, and where did it come from. How does Perl know what it is?

Thanks for your help in helping me to further understand. :)