Slashdot Funkiness
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)
It might be a re-run, but Schindler's List in on at the same time (6:30-10:00 pm CDT). That damned movie sucks me in every time!
If you generate the main page every X minutes, then why not generate the icon list at the same time... Or for the dynamic pages, if you are dynamically listing the main part, then why not a few extra bytes for the icons?
Red Dwarf Rules!
Gawd - X Files - Same old crap! Same old "My God it's an alien" coupled with "Gosh they're weird aliens" and "Damn the Government is covering this up" and "Will Mulder and Scully sleep together". *sigh* Who cares? There are plenty of better shows out there, and yes, Red Dwarf is certainly one of them!
Same old pap.
Perhaps I am the victim of sarcasm here? I hope so!
It used to be cool, when Scully was right once in a while. But in the context of the show she's an idiot now. With the amount of evidence Mulder has accumulated Stephen Hawking would believe by now.
They need to quit doing world conspiracies and go back to unrelated episodes with closure.
any plan for a new source release? - thanks
note:mod_perl is so cool
Maybe mod_perl has some cool functionality, but it has some things that aren't so cool. From the mod_perl documentation:
how can I find if my modperl scripts have memory leaks
Memory leaks? It is 1999. Programmers shouldn't have to worry about such silly book-keeping stuff such as memory management, especially in such a high level language.
I just started learning perl and that left me curious.
Cool, but do I need to change my scripts in any way? Like, can I keep using cgi-lib the same way as before?
:)
:)
I will read the perl.apache.org/faq tomorrow morning, but any additional info helps
Thanks!
You are odd...
Technicaly dynamic pages DO create themselfs, think about it.
Its inversely proportional to your IQ.
Yeah, I am also looking for a new source release.
Seems funny how Slashdot advocates open source
software yet is based upon a closed source system.
Look at Zope and HTML::Mason or roll your own
instead. If you want, you can base it on slash 0.2, which is however, long in the tooth and hard to customize since it doesn't support templates.
Do you have any idea what you're talking about?
Yes.
Have you ever actually used mod_perl?
No, I have not used it.
The reason it's easy to have "memory leaks" -- or more accuately "resource leaks" is that under
mod_perl, the interpreter is persistant,
The docs said memory leaks. Managing external resources does not bother me because it is not nearly as common as memory allocation, and there is not really a good solution for reclaiming external resources. For managing memory, there is a good solution that works great... GC.
The site looks great using NetPositive 3.0 under BeOS.
Consider swapping OS's just to read slashdot? Nah...
Those icons have a 30 minute lag.
Rob "CmdrTaco" Malda
Pants are Optional
Pants are still optional, but recommended for you.
Do you have any idea what you're talking about? Have you ever actually used mod_perl?
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
It's a LOT more than that. See
http://perl.apache.org/
mod_perl seems cool, but it prevents mod_ssl from linking for some reason.
I had no trouble compiling mod_ssl as a DSO and recompiling everything else (mod_perl and mod_jserv in particular) to run under SSL.
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.
Remember that what's inside of you doesn't matter because nobody can see it.
I don't know if it is just me, or what, but I haven't seen any changes yet. I "excluded" Features and Book Reviews, but they still appear. Yes, I am going to http://slashdot.org/index.pl.
"In true sound..." -Agents of Good Root
"Score=2"
Whoa!
It pays to have connections!
t_t_b
--
I'm on PJ's "enemies" list! Are you?
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?
every time I go to 'prefs' I'm logged in as another user...have to re-login
peterrenshaw ~ Another Scrappy Startup
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
I'm logged in and going through the perl script to see pages just fine but the pages that are generated have Next and Prev links that are references to the static pages instead of having them fixed up so they reference back through the perl scripts. I think they should be fixed up so that they point to the same URL that my front page does. Personally I use this to know when I have or have not recently visited a page.
-- Chad
-- Chad
The dancing dwarf at the end of the Black Lodge episode in Twin Peaks is my personal favorite.
:)
But seriously: Lookin good, as always Rob, keep up the good work
Nothing worth doing is worth doing today.
the right most side bar on my page has completely disappeared...
anyone have this same error
and what's that number, when you login, next to your username mean???
any plans for a slashdot-to-mail gateway so we can
more intelligently utilize the comments feature?
--
Wow, those circus midgets must be hard at work. Where do you get circus midgets? When I log in, they custom craft the pages for me. Not anyone else, but ME. I am SPECIAL now.
Will the Quake 3 version of the "NudeDude" skin have a penis that bounces realistically as you run?
Fuck Slashdot
I'm glad there are others than me that can see clear through the illusion American comersialism creates!
Don't believe it - even after you've seen it!
"The assembler gave birth to the compiler. Now there are ten thousand languages." - Tao of Programming
I am noticing that my Icons at the moment don't match the current news ( yes, cleared all caches between me and /. ) Are your icons matching the filtering being done on the articles?
Would you do it for some scoobie crack?
Another one... Its telling me that there are 7 comments... I only see 3.
Would you do it for some scoobie crack?
Its an addon to Apache (a web server) that
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.
dont miss em, they kick ass
i don't know if more people have the same trouble
;)
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
- http://www.penguin.nl - if you can't beat them,
I've had a weird problem -- ever since you put in the new slashdot, my Netscape on my win95 box freezes when I scroll down the screen... and hangs the whole box.. probably not a slashdot problem, just curious if anyone's seen this on theirs....
Karnal
don't worry, rerun anyway.
PDG--"I don't like the Prozac, the Prozac likes me"
"Where is my mind?"
Screw Schindler--HBO has the Soprano's tontite. That show rox.
PDG--"I don't like the Prozac, the Prozac likes me"
"Where is my mind?"