Slashdot Mirror


User: Dom2

Dom2's activity in the archive.

Stories
0
Comments
194
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 194

  1. Re:Magical upgrade needed on PostgreSQL 8.0 Released · · Score: 2, Informative
    You need to look at setting up a second system and running slony-I.

    -Dom

  2. Re:Tabs on Big Day For Browser Vulnerabilities · · Score: 1
    The problem with different sessions not working is usually down to the boneheaded approach to authentication used by most sites. It's perfectly possible to support accessing multiple accounts simultaneously, it's just that it's harder work than setting a cookie on "/".

    -Dom

  3. Re:Tip for auto-validating PHP generated XHTML on Web Standards Solutions · · Score: 2, Informative
    Actually, it won't be valid, it'll be well-formed. Which is still a good goal.

    But you can go further get validity if you want. Instead of putting that stored content into PHP.XPath, try writing it to a temp file and running onsgmls -wxml -E0 -s -c /etc/sgml/catalog $tmpfile 2>&1 over it. You'll need to ensure that you have nsgmls and the W3C DTD's installed, but that's exceedingly simple in debian; you just need the opensp and w3c-dtd-xhtml packages. Any output from that you can stuff into the page somehow. In Perl, I just do $page =~ s/<head>/<head>$err/;.

    -Dom

  4. Re:Mozilla, Opera and Firefox... on PC Magazine Reviews Firefox, Opera · · Score: 1

    That's good advice, but why should a developer have to care in the first place? It sounds like the linker has some serious deficiencies if it's not performing all these steps already to me.

    -Dom

  5. Re:So many oss/fsf RDBMS... on CA Advantage Ingres To Be Released As Open Source · · Score: 1
    Surely that's what database views are for solving? Oh, that kind of excludes MySQL. Oops.

    -Dom

  6. Re:1987 was 16 years ago?? on Perl is Sweet Sixteen · · Score: 1
    Mmmm... Just like Perl. Except that Perl does it more readably and maintainably.

    -Dom

  7. Re:1987 was 16 years ago?? on Perl is Sweet Sixteen · · Score: 4, Insightful
    I'm always hearing that Perl is obfuscated. But compared to the verbosity of Java, it's delightful. It's like comparing a well written newspaper article with court proceedings.

    -Dom

  8. Re:Speed, Schmeed. Give Me Something New on KDE 3.2-beta2 - Towards a Better KDE? · · Score: 1
    Good point. I should have reported them. But it's a lot easier to switch to working software.

    -Dom

  9. Re:Speed, Schmeed. Give Me Something New on KDE 3.2-beta2 - Towards a Better KDE? · · Score: 1
    Actually, neither is fast enough. Particularly where it matters: terminal windows. I've tried gnome-terminal, and I've tried konsole. They're both slow and buggy. xterm may not be as flashy, but it's fast and it works.

    -Dom

  10. Re:Exchange Support? on Mozilla Thunderbird 0.4 Released · · Score: 3, Funny
    Surely missing meetings is a bonus? :-)

    -Dom

  11. Re:Is there anything in there... on Practical mod_perl · · Score: 1
    Yes, MaxClients in the apachge configuration. See who much RAM you have in the box, see how much each apache process is taking up, divide the one by the other to get a rough figure for maxclients. Tune until you don't swap any more.

    Having less processes is not really a problem. Newer connections will just be accepted by the kernel and apache will pick them up when it's ready. As to mod_perl taking up more memory, that's expected behaviour. I've got 25Mb mod_perl processes, but no problems because I've set MaxClients quite low (much lower than the default of 150!).

    This sort of thing is well documented in most of the mod_perl literature. Tell you what, why don't you purchase the reviewed book and find out!

    -Dom

  12. Re:Cyrus IMAP for sure.. on Recommendations for the Right IMAP Server? · · Score: 1
    No, the first rule of being a sysadmin is "always ask for their username".
    clickety-click
    No, I can't see any problems with your files...

    -Dom

  13. Re:Bad examples. on Native Java JDK 1.3.1 Support For FreeBSD · · Score: 4, Informative
    The MVC model simply won't work under mod_perl

    Hmmm, you must be smoking something good. Whilst there are some things you can't do under mod_perl (realtime perhaps), MVC is not one of them. In fact, you have an enourmous amount of choice when it comes to mod_perl and MVC - mason, Apache::Template, PageKit, AxKit and so on. There are many other tools to help you with MVC, or you can roll your own if you've sufficient hubris to think that none of the existing stuff does its job.

    Please try to research your rants a little better.

    -Dom

  14. Re:What exactly was wrong with... on Perl Modules as RPM Packages · · Score: 1
    The trouble with perl -MCPAN is not only that it won't let you uninstall easily (as somebody else pointed out) but also that it won't let you install a specific version.

    I'd really like to have a bundle file list version numbers so that when I install the bundle it doesn't fetch the latest version of everything on the planet. Yes, I know it's documented as doing this. But check the source. It's not implemented. EVery time you use a bundle file, you get the latest version of everything which is not always what you want.

    -Dom

  15. Re:First step: ditch IMake! on XFree86 Fork Gets a Name, Website · · Score: 1
    Whilst I agree that Imake isn't the prettiest thing in the world, autoconf/automake/libtool is a hell of a lot worse. At least with imake, you know that the result is just going to be a Makefile, rather than some bastard offspring of sh/m4/make/perl all rolled into one.

    -Dom

  16. Re:Credit... on RPC DCOM Worm On The Loose · · Score: 2, Funny
    Once again proving that they are doing little more than deriving from Unix:
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.
    -- Jeremy S. Anderson

    From your local neighbourhood fortune cookie file.

    -Dom

  17. Re:Cisco UI on Novell Buys Ximian · · Score: 1
    I don't touch any box where "root" is known only as "QSYSOPER". ;-)

    -Dom

  18. Cisco UI on Novell Buys Ximian · · Score: 3, Informative
    Don't underrate the cisco UI. It's one of the best command line experiences out there. No matter what point you're at, press "?" and you'll be told your options. Based on twenex, I believe.

    The only thing that's even remotely comparable is zsh.

    -Dom

  19. Re:It's all over for Ximian on Novell Buys Ximian · · Score: 1
    Don't forget: UnixWare and the System V license! Gee, that went a long way!

    -Dom

  20. Re:Extensions on Mozilla Thunderbird 0.1 Released · · Score: 1
    Maybe that's because most extensions don't install cleanly on non-windows platforms. By cleanly, I mean, "without requiring root".

    -Dom

  21. Re:Pet Python problems on Python in a Nutshell · · Score: 1
    You see caveats, I see Exception::Class and possibly also Error.

    -Dom

  22. Perl did it first! on New Whitespace-Only Programming Language · · Score: 1
    Perl has had support for whitespace oriented programming for some time. See Acme::Bleach from Damian Conway.

    -Dom

  23. Perl Unicode Support on Do Scripters Suffer Discrimination? · · Score: 1
    Perl has excellent unicode support. Yes, it wasn't 100% in perl 5.6, but the 5.8 release is incredibly useful. We've done xml sites with hundreds of megs of articles and the unicode absolutely had to be right. Perl didn't let us down once. Like your example of Java (although plan-9 did it first), Perl supports Unicode in its core. Strings are natively unicode and regex matches and all string operations are done on a character basis, not byte, by default. You can lexically switch into byte oriented mode if you need to though.

    -Dom

  24. Re:It's just not Perl on SmartEiffel 1.0 Released · · Score: 2, Insightful
    Funnily enough, but the reason that I prefer perl over most mainstream languages (barring Python) is the fact that it's by far easier to read and understand what the code is doing. Larry Wall's background in linguistics has payed off handsomely.

    Of course, there's a lot of bad perl out there. There's a lot of bad C, C++, and Java too. Yes, yes, I know you don't write any, but that doesn't mean that it's not there.

    -Dom

  25. Measurements on Bringing Back the PDP8 · · Score: 1
    What I want to know is, which fuckwit invented the stone? How many pounds are there in a stone? 14? Pass the crack pipe!

    Thank $DEITY for kilograms, a sensible unit.

    -Dom (an anti-imperial uk denizen)