Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: chipperMDW
  • Content: Threads
  • Order by date
  1. chipperMDW

    Equivalent to "Allow From"

    Apache has "Allow From" and "Deny From" directives that can control access based on the DNS of a connecting IP (found by a reverse lookup). I was wondering if IIS has an equivalent to this capability.
  2. chipperMDW

    Security Advisory: DNS Protocol Defect

    I haven't yet seen anything in this forum regarding the recently discovered vulnerability in DNS. Considering the scope and nature of this thing, I think a warning is in order. Dan Kaminsky has discovered a serious flaw in DNS. Cache poisoning is easier than previously believed, and exploits...
  3. chipperMDW

    OS hangs on RAID

    I have a system (inherited) acting as a file server; it is a NetStor WSS running Server 2003 attached via SCSI to a SecurStor XRS RAID. I have an ongoing issue where the OS locks up when it sees the RAID device. If the RAID is powered on when the server boots, it usually just blinks the LEDs on...
  4. chipperMDW

    Generating the Alphabet

    Occasionally, I'll need to write a script that does something for each letter in the alphabet. I used do something like: for x in a b c d e f g h i j k l m n o p q r s t u v w x y z; do echo $x done That's tedious to type, and it always seemed like there should be a better way, like a seq...
  5. chipperMDW

    Commas before adverbs at end of sentence

    The following is a sentence I might write. My "grammar sense" tells me that the comma is supposed to go there (perhaps optionally), but I can't explain why, and I can't find any rules supporting that use of a comma. Can someone please point me to some rule that says I can/should/shouldn't use...
  6. chipperMDW

    Utility for Header-fying a Binary File

    Can someone point me to a utility that can convert a binary file into a C (or C++) header? A Unix utility would be preferred, but a Windows one will work, too. For example, such a utility might generate output similar to the following: #ifndef XXXXX #define XXXXX const char xxxxx_data =...
  7. chipperMDW

    Apparent Illiteracy

    This is the title of an article: Recursive Make Considered Harmful It's about the pitfalls of using the recursive features of the software build tool "Make." Of course, without knowing "Make" is a noun, not a verb, the title of the article seems like a bad translation! Considering that, in...
  8. chipperMDW

    Leaving off the n't

    I can never understand why people sometimes write or type a word that was clearly intended to be a contraction like "didn't" or "couldn't," but completely leave off the "n't." Examples: I would want to be in that mess. I waited for hours but he did show up. I was late because I could find my...
  9. chipperMDW

    Choosing program invocation name

    I seem to remember a utility or shell builtin that allows you to execute a command and "fake" the program invocation name (that is, what would go in a C program's argv[0]). This facility exists because many programs behave differently based on how they are invoked. Most shells, for example...
  10. chipperMDW

    Is there such thing as a "delinker"?

    This question isn't specific to C++, but there's no "linkers" forum, and this seems like a reasonable place to ask. I've come across a situation where it would be useful to be able to statically link object files with a library to form an executable (most likely only needs to be...
  11. chipperMDW

    Forward Declarations

    Is the following guaranteed to be doable in just plain, pre-C99 ANSI C? (Without C++, and without compiler-specific tricks). /* hidden.h */ #ifndef GLAH_H #define GLAH_H struct hidden; typedef struct hidden hidden_t; void foo_hidden( hidden_t*, int ); #endif /* hidden.c */ typedef...
  12. chipperMDW

    New Boost Version

    Boost, a set of libraries that's as good as a second C++ Standard, just released a new official version. If you've seen it before, check it out again; you might find something new or improved to your liking. If you haven't seen it before, now's as good a time as any: www.boost.org.
  13. chipperMDW

    Red Hat Network Alert Notification Tool

    I installed Red Hat 8.0 a few days ago. Everything seems to be working fine except for the Network Notification Tool. It continually turns to a grey question mark icon with tool tip "Error connecting to RHN" and gives me the error: "Network Error -3: Temporary failure in name...
  14. chipperMDW

    Yet Another Standard Library Implementation

    I keep hearing about "the legendary YASLI" (Yet Another Standard Library Implementation), which is supposed to be the most efficient C++ Standard Library thus far. However, for something that's legendary, I can't find any resources on it anywhere (aside from a bunch of Turkish...
  15. chipperMDW

    Inheriting from std::string

    I can't tell why VC++ doesn't like this code: #include <string> class Foo : public std::string { public: Foo() : string() {} }; VC++ seems to think that string is not a base or member of Foo. Putting &quot;std::&quot; before &quot;string&quot; in the initializer list produces...
  16. chipperMDW

    Syntax check

    I can't tell why VC++ doesn't like this code: #include <string> class Foo : public std::string { public: Foo() : string() {} }; VC++ seems to think that string is not a base or member of Foo. Putting &quot;std::&quot; before &quot;string&quot; in the initializer list produces...
  17. chipperMDW

    Password functions

    I've been asked to write a program that allows a user with the proper permissions to change a group of users' passwords to a default temporary password (e.g. when a bunch of students return to school and have all forgotten their passwords). It needs to be able to do them all in one quick sweep...
  18. chipperMDW

    Loading Swing Applets

    When I write an applet using Swing and compile it using JDK 1.3.1, it runs fine in appletviewer, but it fails to load in any browser I've tried (including the most recent). Is there a trick to using Swing I should know about? Do I just need to use a more recent version of Java? Do I need to get...
  19. chipperMDW

    I know this question would be bette

    I know this question would be better suited to one of the more general C++ forums, but I didn't get any answers there, so I'm trying my luck here. Say I have: template< class T > class SmartPtr { public: ... T *operator->() { return ptr; } private: T *ptr; }; This works (and...
  20. chipperMDW

    overloading operator-&gt;

    Say I have: template< class T > class SmartPtr { public: ... T *operator->() { return ptr; } private: T *ptr; }; This works (and is apparently the/a correct way of doing it), but I don't understand the logic behind having the operator return a pointer. Given: SmartPtr<...

Part and Inventory Search

Back
Top