Search results

  1. T

    Registering Libraries on Windows

    I was wondering if anyone had any known resources on how/why Windows deals with registering and subsequently loading DLLs. For example, on Linux there a library search path whereas Windows somehow uses the registry to find and load dlls. (Atleast from what I can tell) I haven't really found...
  2. T

    Trying to learn C/C++... need a project

    I'm trying to learn C and/or C++ because I've been programming in languages that take care of the dirty work for me (bounds checking, garbage collection, etc) and I think the experience would be beneficial. Generally when I've wanted to learn a new language I've had a project I wanted to write...
  3. T

    [solved] C# WebClient object and catching exceptions with asynchronous methods

    I'm using the C# WebClient object and if I run the method 'DownloadFileAsync' and the remote file does not exist (AKA, I get an http 404 from the server) a WebException is not thrown. However, all of the synchronous calls do raise the exception. The only way I can tell if the server return a...
  4. T

    Syntax and efficiency question

    Quick question. Is it anymore efficient, in terms of execution speed, to write a line of code like answer = sanitizeInput(raw_input(wrapText(questionStr), lineWidth)).upper() versus breaking it up into multiple lines to something like this maybe answer =...
  5. T

    SSH Brute Forcing and Reporting It

    I was skimming through my logs and found a host that was trying to brute force log into our SSH server at work. They never made it in successfully. I looked the IP up at whois.domaintools.com and found that it belongs to a company in my country (U.S). "Mzima Networks Inc" to be exact... Can...
  6. T

    Active Directory DNS and excluding adapters

    I have a couple workstations in our network that have additional network adapters that VMware Workstation creates. Is there anyway to have these be excluded from the dynamic dns that AD does?
  7. T

    Layer 3 Catalyst and vlan routing help

    I'm in the process of trying to move our companies network over from a public address range (199.0.9.x/24) which we dont own to a private range (192.168.200.x/24). I have a catalyst 3550 that I want to do the routing with. I have two vlans set up, one for the old subnet and one for the new...
  8. T

    Catalyst Etherchannels help

    I'm trying to set up Etherchannels for our Proliant DL380s with LACP. Using HP's networking configurator I set the two interfaces to a team with the type as "Automatic (Recommended)". Here are my options Automatic (Recommended) 802.3ad Dynamic with Fault Tolerance Switch-assisted Load...
  9. T

    Purchased SSL/TSL certificate question

    I'm looking at purchasing a certificate for my postfix mail server but I havent seen anything about a TLS certificate or an smtp certificate. I have seen web server certificates though. Will a "web server" certificate work as well? This is the page I'm looking at...
  10. T

    TLS smtp question

    Am I correct in saying that a smtp server will only try TLS encryption if the server on the other end advertises a "250-STARTTLS" upon EHLO? The issue I'm having is getting TLS to work to this company we regularly send mail to. I sent him our CA certficate (we self sign) and he said he...
  11. T

    Postfix and forcibly bouncing certain mail

    At work we have a Postfix/Bind/MailScanner server which is our email gateway. Bind is used for local caching and OpenDNS is our forwarder. If a user is sending an email and types the domain name wrong, Bind will get the IP of OpenDNS's "unknown domain" page.So instead of the mail instantly...
  12. T

    Javascript form post help

    Is it possible to send post data along with javascript? Heres what I'm needing... At work we have a KB that uses POST for its search page. I want to be able to click a link that takes the text out of say "Textbox1", then use that text as part of the post to this site. The goal is to enter the...
  13. T

    Postfix 220 response issues

    My problem is that if the server on the other end is not on my private network, postfix announces itself as "220 **************************************************". The server also cannot use ESMTP functions (ie EHLO). I originally made this post on linuxquestions.org but I'm not getting much...
  14. T

    sql query help

    I'm not sure how to do this with a sql query. I have a table that contains "duplicate" records. (I quote duplicate because they are not true duplicates) Heres the issue, i have a table that looks like this... +----+--------+-------+----------+-------------+ | id | folder | block |...
  15. T

    Adding LDAP address book to outlook programmatically

    I'm scouring the internet for any code samples on this. I only found one article and it dealt with adding a bunch of registry entries which seems like a kind of hack-ish way of doing it. Does anyone know how to do this with CDO or MAPI classes? I'd preferably like to do this in a .Net language
  16. T

    So I rewrote a PHP script into a java class...

    and the Java version is slower..... MUCH slower. The php version running on our webserver (p4 3ghz, 1 gig ram, gentoo linux, apache) runs in about 11 seconds compared to the java version on my machine (amd64 3500+, 2gig ram, winXP) which can take upwards of a minute. I'm running the Java class...
  17. T

    Studying for CCNA: need some clarification

    I just have a couple questions in regard to ip and Ethernet. 1) Am I correct in saying that both Ethernet and IP have their own respective broadcast domains? 2) If so, when is an ethernet broadcast used? 3) If I'm broadcasting to my IP subnet, does that mean in all reality im just...
  18. T

    Recommendations for CCNA lab

    I'm new to the whole enterprise network thing and I'm looking to pick up some equipment to start on my CCNA while im at school. Looking to spend around 700-1000. Right now i have two 2610's with 1T wics and a 2950 switch. That alone bascially puts me at 700ish. Am I'm going overboard? Really I...
  19. T

    Can this be done with WMI

    I want to disable error reporting on a bunch of machines at work. The manual way of doing it is going to System->Advanced tab-> then Error Reporting, then disabling. Any way of doing it through wmi?
  20. T

    C# file renaming help

    I cant figure out what I'm doing wrong. My replace statements are not working. The string "name" is never changed. if (folderBrowser.ShowDialog() == DialogResult.OK) { String path = folderBrowser.SelectedPath; DirectoryInfo direc =...
  21. T

    need help planning out this program

    I'm wanting to write a simple media player application for a game my friends and I play. Heres what I'm wanting to do. Add a bunch of mp3 files to a list view control. That listview will be our playlist. When I press the start button I want the program to enumerate the list and play the song...
  22. T

    newb syntax question

    What does it mean when people prefix their variables with an underscore?
  23. T

    IT journalism at its best... sigh

    While not a programming question, its deals with the topic The article talks about how a company, vAudit, chose an Oracle solution over a PHP one.... yes you that read correctly.... http://www.line56.com/articles/default.asp?ArticleID=7949
  24. T

    PHP vs java: need help deciding which to use

    Pretty soon I'm going to start writing a web app for a friend of ours business. Its for basic customer management, invoices, etc. Basically a simple CRM designed specifically for their operation. I need help deciding what to write it in. I've never done any web applications in Java, let alone...
  25. T

    Vista to destroy the internet?

    http://www.dailytech.com/article.aspx?newsid=4092 Anyone else think this might be a little excessive?
  26. T

    Java JasperReports/XML problem

    I wrote this program on my laptop while I was on labor day break. Now I transfered it over to my main machine and it doesn't work. The part of the program that is crashing out, is when I load the jasperReports xml file to compile it. I'm geting this error. WARNING: Parse Warning Error at...
  27. T

    Newbie JDBC help

    Just started Java yesterday and need some help connecting to mysql through JDBC. I'm using Netbeans5.0 and have added the mysql-jdbc-connector.jar to my project and I get a "class not found" error on the Class.forName line and a sqlException on the getConnection line. Heres that segment of...
  28. T

    Windows and hardware issues (memory, dvdrw)

    Heres my hardware Asus Nfroce4 SLI Deluxe (The original asus sli board) OCZ pc3200, 2gigs, dont remember timings OCZ powerstream modular power supply 6600gt logitech g5 mouse No overclocks A couple of months ago I noticed that Windows couldn't read any cd/dvd media. It would just sit in...
  29. T

    Java and JasperReports help

    EDIT: I fixed it. Didn't realize Jasper needed the jdt-compiler package. First off I want to mention this is my first stab at Java so bear with me. Heres my list of imports // JasperReports import net.sf.jasperreports.engine.JRException; import...
  30. T

    is dnsbl.us.sorbs.net a reliable spam blacklist?

    The reason I ask is because they have our companies ips on a blacklist. Upon further inspection, they have a whole 24bit subnet blocked which includes our 4 addresses. Tell me if i'm reading this right
  31. T

    help with css alignment

    The page.. http://www.ajwsoftware.com/cahcare/index.php In the middle I have a "teaser" section for news. In Firefox, the text and images dont align correctly but in IE they do. If you outline the divs and classes you'll see what I mean. Heres my style sheet...
  32. T

    replacement key for mobile rack?

    I just bought a used server off of eBay with 4 hot swap scsi mobile racks. Not even thinking, I never asked the guy if he had the keys for them. Well I got the server and the drives are locked and he doesn't have the key. Anyone know of a way to get replacements or unlock them from the inside, etc?
  33. T

    more suckerfish issues with ie

    The dropout part doesn't work at all in IE. I have that javascript in the head that allows for the hover class but that is what is breaking it. I did a straight copy of the script. I dont know Javascript or DOM well enough to debug it Heres the site: http://www.ajwsoftware.com/cahcare/
  34. T

    help with suckerfish menu not expanding

    page is here ... http://www.ajwsoftware.com/cahcare/ The three links below "opportunities" are suppose to be childs of it. It half works on IE7 beta. Any ideas?
  35. T

    Jasper Reports expression help

    I'm using iReports to create a report from my database. I have a field, $F{call_date}, which is a unix timestamp. I need to convert it to a human readable date string. I dont really know all the classes and functions to Java either as I've never really programmed anything with it yet. This page...
  36. T

    scsi and raid questions

    1) Will an Ultra 320 drive work on an Ultra160 controller? Also will 160 drives work on a 320 controller? 2) Is it possible to build a raid 1 off of a disk that has existing data? I would be using a hardware raid card if that makes any difference.
  37. T

    Am I the only one whose not all the impressed with Aero??

    I've been playing around with the Vista beta for about 3 hours now and all I can say about Areo is.. "Thats it?" I'm not trying to jump on the bashing bandwagon either, I was just expecting more. I mean i've been running XGL on linux for sometime now and I feel like Areo is dated compared to...
  38. T

    MySQL unique index questions

    1. If I have two columns in the same unique index, does that mean mysql checks the unigue-ness based on both columns or individually? 2. I have a table with 9 columns and I want every row to be unique to one another (excluding the primary of course). This database logs our long distance phone...
  39. T

    Your thoughts on Propel

    I've neer used anything like it before. Normally when I write php apps I use a database class from phpBB to interface the corresponding database. I also dont have a problem with writing sql code. Is there any other reasons I should try and learn to use propel?
Back
Top