Slashdot Mirror


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)

40 comments

  1. X-Files by Anonymous Coward · · Score: 0

    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!

  2. Why?? by Anonymous Coward · · Score: 0

    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?

  3. X files suck. by Anonymous Coward · · Score: 0

    Red Dwarf Rules!

  4. X files suck. - Yep! by Anonymous Coward · · Score: 0

    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!

  5. Don't you mean "suck"? by Anonymous Coward · · Score: 0

    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.

  6. source release by Anonymous Coward · · Score: 0

    any plan for a new source release? - thanks

  7. memory leaks by Anonymous Coward · · Score: 0

    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.

  8. What is mod_perl, anyway? by Anonymous Coward · · Score: 0

    I just started learning perl and that left me curious.

  9. Cool! but.. by Anonymous Coward · · Score: 0

    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! :)

  10. My mind tends to wander... by Anonymous Coward · · Score: 0

    You are odd...

  11. By pure definition by Anonymous Coward · · Score: 0

    Technicaly dynamic pages DO create themselfs, think about it.

  12. woah.. entire side bar ... GONE by Anonymous Coward · · Score: 0

    Its inversely proportional to your IQ.

  13. source release by Anonymous Coward · · Score: 0

    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.

  14. memory leaks by Anonymous Coward · · Score: 0


    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.

  15. Netscape Crash? by Anonymous Coward · · Score: 0


    The site looks great using NetPositive 3.0 under BeOS.

    Consider swapping OS's just to read slashdot? Nah...

  16. Bugs? by CmdrTaco · · Score: 2

    Those icons have a 30 minute lag.
    Rob "CmdrTaco" Malda
    Pants are Optional

    --
    Pants are still optional, but recommended for you.
  17. memory leaks by pez · · Score: 1

    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

  18. What is mod_perl, anyway? by pez · · Score: 1

    It's a LOT more than that. See

    http://perl.apache.org/

  19. mod_perl by Brian+Knotts · · Score: 1

    mod_perl seems cool, but it prevents mod_ssl from linking for some reason.

  20. you might be doing something wrong... by jabbo · · Score: 1

    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.
  21. Bugs Fixed? by ChadG · · Score: 1

    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

  22. Bugs? by talks_to_birds · · Score: 1

    "Score=2"
    Whoa!
    It pays to have connections!
    t_t_b

    --

    --
    I'm on PJ's "enemies" list! Are you?
  23. Don't you mean "suck"? by Jaeger · · Score: 1
    They need to quit doing world conspiracies and go back to unrelated episodes with closure.

    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?

  24. weird stuff by goon · · Score: 1

    every time I go to 'prefs' I'm logged in as another user...have to re-login

    --
    peterrenshaw ~ Another Scrappy Startup
  25. where the !@#$ did the sidebar go?! by rbw · · 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

  26. Prev and Next links are static when page dynamic by ckbisk · · Score: 1

    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
  27. No Subject Given by bgarrett · · Score: 1

    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.
  28. woah.. entire side bar ... GONE by SuperGeek · · Score: 1

    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???



  29. wishlist by Signal+11 · · Score: 1



    any plans for a slashdot-to-mail gateway so we can
    more intelligently utilize the comments feature?



    --

  30. I like the circus midgets by Aparthy · · Score: 1

    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.

  31. My mind tends to wander... by Demona · · Score: 1

    Will the Quake 3 version of the "NudeDude" skin have a penis that bounces realistically as you run?

    --
    Fuck Slashdot
  32. Definetly! by Accumulator · · Score: 1

    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
  33. Bugs? by DeathB · · Score: 1

    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?
  34. Bugs? by DeathB · · Score: 1

    Another one... Its telling me that there are 7 comments... I only see 3.

    --
    Would you do it for some scoobie crack?
  35. What is mod_perl, anyway? by Stephen+Pitts · · Score: 1

    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.

  36. x-files by noy · · Score: 1

    dont miss em, they kick ass

  37. rob, you're gonna miss the x-files by hacketti · · Score: 1

    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, /join them -
  38. Netscape Crash by karnal · · Score: 1

    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
  39. X-Files by PDG · · Score: 1

    don't worry, rerun anyway.


    PDG--"I don't like the Prozac, the Prozac likes me"

    --
    "Where is my mind?"
  40. X-Files by PDG · · Score: 1

    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?"