Slashdot Funkiness 40
I've been a busy boy- but mostly today has been debugging
and optimizing stuff. With the new filterable homepage,
the server needs to do a lot more work (those
dynamic pages don't just generate themselves people!) But
I think I've sorted out the major bugs at this point.
(note:mod_perl is so cool). http://slashdot.org/ should automatically
route logged-in users to index.pl, but serve everyone else
the static page. Hopefully this will help keep things
quick. Plus I've done a lot to optimize out SQL where possible.
Thanks to everyone who has been helping test this stuff
out and sent suggestions- most of the suggestions are coded
now. We should be ready for wide scale testing tomorrow.
(Assuming no major bugs crop up yet tonight and cause
me to miss the X-Files)
Bugs? (Score:2)
Rob "CmdrTaco" Malda
Pants are Optional
memory leaks (Score:1)
The reason it's easy to have "memory leaks" -- or more accuately "resource leaks" is that under mod_perl, the interpreter is persistant, so all the ugly shortcuts and crude hacks that people are used to under CGI won't work under mod_perl.
Under CGI you can assume your unreferenced variables are undef, your file handles will close themselves, your buffers will flush, etc. None of this is necessarily true under mod_perl. What this means is that (gasp!) you have to close your filehandles after opening them.
-Pez
What is mod_perl, anyway? (Score:1)
http://perl.apache.org/ [apache.org]
mod_perl (Score:1)
you might be doing something wrong... (Score:1)
Try it again! Note that I was running Red Hat 5.2 on the server, I shall see what happens under Debian 2.1 when I get a chance later this week. (on my personal workstation)
It is not too hard if you carefully follow the directions. Making mod_rewrite work with mod_jserv, on the other hand, has proven to be tough, perhaps because we use DSOs.
Bugs Fixed? (Score:1)
"In true sound..." -Agents of Good Root
Bugs? (Score:1)
Whoa!
It pays to have connections!
t_t_b
--
Don't you mean "suck"? (Score:1)
You seem to forget that no X Files episodes have closure, or at least not much. Remember "Jose Chung's 'From Outer Space'"? Scully tells Jose that the story they experienced had more closure than most things they encounter. And even then we still don't really have any clue what happened. Where did that guy from the center of the Earth come from?
weird stuff (Score:1)
where the !@#$ did the sidebar go?! (Score:1)
okay. i went to the "hidden" link for customizing /. yesterday... and now i can't see the sidebar that normally contains the past couple days' headlines and the poll and such. anyone else run into this? better yet, anyone know how to fix it?
-rbw
Prev and Next links are static when page dynamic (Score:1)
-- Chad
No Subject Given (Score:1)
But seriously: Lookin good, as always Rob, keep up the good work
woah.. entire side bar ... GONE (Score:1)
anyone have this same error
and what's that number, when you login, next to your username mean???
wishlist (Score:1)
any plans for a slashdot-to-mail gateway so we can
more intelligently utilize the comments feature?
--
I like the circus midgets (Score:1)
My mind tends to wander... (Score:1)
Definetly! (Score:1)
Don't believe it - even after you've seen it!
Bugs? (Score:1)
Bugs? (Score:1)
What is mod_perl, anyway? (Score:1)
compiles perl scripts into bytecode the first
time they are run. That means that Perl does
less work to run the script the next time.
This is a big speed improvement on a site like
Slashdot that probably runs a perl script at
least once every second.
x-files (Score:1)
rob, you're gonna miss the x-files (Score:1)
as i do but, when i log in with my account and
i click on preferences nothing shows up..
just any empty slashdot...
well rob i think you're gonna miss the x-files
-- hacketti
Netscape Crash (Score:1)
X-Files (Score:1)
PDG--"I don't like the Prozac, the Prozac likes me"
X-Files (Score:1)
PDG--"I don't like the Prozac, the Prozac likes me"