Slashdot Mirror


User: hattmoward

hattmoward's activity in the archive.

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

Comments · 114

  1. Re:Also on Browser Speed Comparisons · · Score: 1

    It's just checking to see if the cache is stale, which is more than likely always stale for cgi scripts. You can adjust that behavior in "about:config", or simply learn the hotkey for offline mode. Is that more like what you're looking for?

  2. Process management on PHP Automated Administrivia? · · Score: 1

    One of the most irritating problems with using PHP for this is that the process management functions (pcntl) are usually not compiled into the distribution packages. PPTP Client includes a GUI app built on php-gtk, but have to install an alternative copy of php with the pcntl extension built on to use it.

    Me? I use shell scripts and perl. You might be interested in m0n0wall, which has all the boot scripts and the web interface implemented in PHP.

  3. Re:....JavaScript? on Future Skills for a Budding Web Designer? · · Score: 1

    That's an okay use, but sometimes it can get irritating. For security reasons, the code that gets the form data must validate it too, so why not simply reissue the form page if something is wrong, and list the problems in red at the top?

  4. Re:Well the guy is a moron on Conspiring Against Your Employer? Watch What You Email · · Score: 1

    Huh? Maybe, but not if he has a certificate from a major CA or a self-signed cert whose thumbprint is known on that server. If he set up webmail and SSL, I hope he has enough clue to know how those attacks can be avoided.

  5. Re:SBC institutionally incompetent? on SBC Builds A TiVo Rival · · Score: 1

    You think that's bad? I hear they've got some DSL/VoIP packages in the works for this year.

    I'd love to be the man who paints the bullseye on the top of their collective loafers. "Go for it, boys!"

  6. Re:Don't you get it? on The Microsoft/SCO Connection · · Score: 1

    Hotmail was originally on FreeBSD boxes. They've been running Windows 2000 for a while now.

  7. Perl isn't just GPL. on Which Compiler to Extend for a Small Project? · · Score: 4, Informative

    Also available under The Artistic License. You might like it over the GPL.

  8. Re:Computer Game Shop on Funniest IT Related Boasts You've Heard? · · Score: 1
    #include <BigBrother.h>

    int main() {
    bsod();
    return 0; /* Shouldn't be here. -WG */
    }

    That can't be too hard, right? Right?

  9. Re:Heard this one the other day... on Funniest IT Related Boasts You've Heard? · · Score: 1

    Gentoo doesn't yet have production-level stability. In Debian, for example, you'll notice that all package versions stay the same in stable, and security patches are backported. For Gentoo, something that is "stable" means that it works okay on a particular platform, not that is stabilized for production purposes.

    I have tried before to organize a project for stable Gentoo, but didn't get any real response. I guess they don't want to loose the ability to boast over recent versions of packages. =D

  10. Re:ORIGINAL POST: Important details, Satyam Chairm on India Outsourcers Find Back Door in Canada · · Score: 1

    If you submitted that, it would have been incorrectly quoted anyway. There is no single-quote in English; you have a couple of misplaced apostrophes. I'm also going to have to cite you for misuse of the Right Single Quotation Mark Unicode character (') in place of an apostrophe (', unicode and ASCII) on that posessive noun. Damn computer geeks... *grumble* *grumble*

    (P.S. It's funny -- laugh!)

  11. Re:Orcish maneuvre on Optimizing Perl · · Score: 1

    It's a shorthand operator. If you want to add a number to a variable, you can do this:

    $foobar += 42;
    Which is effectively this:
    $foobar = $foobar + 42;

    ||= works the same way, but with the || operator, so

    $quux ||= 'foo';
    works like
    $quux = $quux || 'foo';
    It sets $quux to 'foo' if $quux doesn't already contain something (which evaluates to a "true" condition). If not, it does nothing at all to $quux.
  12. Re:I'll try it... on Beware 'Fedora-Redhat' Fake Security Alert · · Score: 2, Informative

    Generally an every-port-open result from nmap indicates use of a firewall. Watchguard's products tend to do that, and iptables can be made to do similar also.

  13. Re:Here's My Style Guide on Optimizing Perl · · Score: 3, Interesting

    I usually put the CVS $Log: $ at the end of the script, after an __END__, and place a note about it at the top. You can also use the following snippet if you want to make your module's version equivalent to the CVS revision number: use vars qw($VERSION); $VERSION = ('$Revision: $ ' =~ /(\d+\.\d+)/)[0];

  14. Re:Best PERL Optimization trick ever: on Optimizing Perl · · Score: 1

    Why would you need -r if /usr/bin/perl is one file, maybe a symlink? -f is possible too, but unlikely.

  15. Error 400 on Optimizing Perl · · Score: 1, Funny
    Proxy Error: Unable to connect to remote host "ltsgnd001k.sby.ibm.com" or host not responding - URL "http://ltsgnd001k.sby.ibm.com/developerworks/libr ary/l-optperl.html?ca=dgr-lnxw01OptPerl", errno: 79

    Does this mean you can't optimize Perl? =D

    Disclaimer: I use Perl almost exclusively for programming.

  16. Re:Correction on Firefox Lead Engineer On Origins, Security, And More · · Score: 1

    Maybe Firefox should ship with XPInstall disabled, and pop a warning explaining that it is disabled (if it is disabled) whenever an XPI is clicked. The current behavior with it disabled is to do nothing. I have only seen one site attempt to install an XPI "for me" like so many ActiveX controls that get offered to you in IE, and that will likely ramp up if Firefox becomes more common.

    XPI has pretty much the same power as a runaway ActiveX control, theoretically limited to the OS permissions of the process's user. Let us not forget the numerous ways that ActiveX can exploit Windows and escalate its privilege, though.

  17. Re:Mandatory configuration on Stopping ChatZilla Installs on FireFox Systems? · · Score: 4, Informative

    Sorry, that's 'xpinstall.enabled' = false

  18. Mandatory configuration on Stopping ChatZilla Installs on FireFox Systems? · · Score: 1

    Use it to set 'xpi.install' = false and force that on everyone.

    More info here In fact, that whole thread may be useful to you.

  19. Re:GNU OpenSolaris on Solaris vs Linux Continues · · Score: 1

    You needn't be a wanker about it. We didn't install any of the GNU tools from the Companion CD because Sun techs would get all uppity about it being UNSUPPORTED and such. Backward compatibility is very nice, but people should get off their asses and spend some time researching and testing updates, not just blasting them out to production then whining that 'backward compatibility is broken'. Not every GNU tool breaks compatibility with its ancient-UNIX-descended counterpart, either -- nor does /bin/bash have to be linked from /bin/sh.

    They've got to make the jump sometime -- either bring their tools into the world of the late-'90s or switch to the GNU tools completely. cc is unrepairable though, they should probably chalk it up as a casualty.

  20. Re:GNU OpenSolaris on Solaris vs Linux Continues · · Score: 2, Interesting

    Exactly! I know they've updated to more modern command-line tools (they've actually grabbed some of the gnu ones) in 10, but Solaris userspace feels so ancient compared to modern linux. Despite what Sun and other proprietary Unix vendors may have you believe, command line tools have been evolving over the last 10 years. (I would bitch about wanting bash or zsh, but I'm pretty sure bash made it into 9.)

  21. Re:So, has on Verizon PCMCIA Card Just Works · · Score: 2, Informative

    Can't say I have any apple hardware, but I know that those cards show up as two serial devices to the PC, it uses a Hayes AT command set.

    In windows, they'll be hidden by the software package. When it connects, it opens the first serial port and dials an access number. That will answer with a PPP handshake. Authentication is CHAP. Once connected, the second port is opened, and AT commands are sent to poll the current signal quality.

    On Linux, I need only plug the card in, and punch in the proper information to KPPP, and I'm up.

  22. Yesss! on Absentee Ballots by Email? · · Score: 4, Funny

    This will help cement Bush/Cheney in for '04!

    Oh crap, did I just say that out loud?

  23. Re:Tempting... on Running a UDP Remote Console with Linux 2.6 · · Score: 4, Interesting

    It may not be as surprising when you note that sysklogd was written in a time where the network was considered more trustworthy, though there is another reason, which is mentioned below. You should also find the syslog-ng package available on your Debian system, which can filter by sending host, although it will spend more CPU time to do the blocking at that level. Both solutions work, though.

    The reason you don't see this feature made more prominent is that UDP packets are easily spoofed, since there is no handshake required to get the payload through. With TCP, someone has to be at the "sending" host to reply to the handshake, while UDP simply accepts what it receives in the single packet (barring the sender being a local-net host, with strict ARP checking on the receiver). So anyway, filtering hosts doesn't completely cover you from log spoofing or DOSing, but it's still a good idea.

  24. Re:Tempting... on Running a UDP Remote Console with Linux 2.6 · · Score: 3, Informative

    Neither does the syslogd provided with slackware. The snippet below will allow you to inclusively list log hosts.

    iptables -A INPUT -s $LOGHOST -p udp --destination-port 514 -j ACCEPT
    iptables -A INPUT -p udp --destination-port 514 -j DROP

    You can repeat the first line as many times as needed, replacing $LOGHOST with an IP or a resolvable domain name. Just make sure the DROP rule goes last.

  25. Re:Tempting... on Running a UDP Remote Console with Linux 2.6 · · Score: 4, Informative

    It looks like the packet format is syslog compatible in the recent 2.6 kernels. I think the work is already done. =)