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 biv343 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: sedj
  • Content: Threads
  • Order by date
  1. sedj

    sending x509 certificates in https request

    Hi, I'm attempting to send an x509 certificate along with an http(s) request, but I don't think its actually sending the cert over the connection. There are no errors apparent either when running the code. I'm fairly sure the cert is not being sent, because I wrote a test SSL server for the...
  2. sedj

    grub

    My googling skills seem to have failed - I'm darned if I can work out how to tell grub to boot a certain kernel version. I'm running kubuntu - which by default does not install a SMP kernel. So I installed one, and by pressing <Esc> at boot can choose my SMP kernel - but I want to boot it by...
  3. sedj

    QAS / PAF and UPRN

    Hello ! Not perhaps a strict GIS question ... but I was hoping someone might have an idea : We are using QAS Pro Web 5.05, with PAF extensions. I need to obtain/generate a UPRN (unique property reference number) for a given address. I was going to use QAS's moniker, which is unique across the...
  4. sedj

    converting little endian to big endian

    Hi, I have a bunch of binary data stored in an Oracle database, which is running on an x86 little endian architecture. The client machine is a big endian solaris box. The data comes back (via Oracle Call Interface) as an array of Oracle's 'ub1' datatype - ie unsigned char (8 bit). Some of...
  5. sedj

    problem using xs:extension with a type

    Hi, Hopefully someone can see where I'm going wrong here ... I have a 'common' xsd : <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="Common" elementFormDefault="qualified" attributeFormDefault="unqualified">...
  6. sedj

    double/float comparison from int

    Platform : Intel 32 bit, Linux 2.6 kernel, GCC 4.0.* compiler. Say I have an two ints (which are the same), and cast them to doubles (with some division) : int i = 1231; double d = (double)( i / 10.0 ); int i2 = 1231; double d2 = (double)( d2 / 10.0 ); Will an equality comparison always...
  7. sedj

    lp notifications

    Hi, Anybody know if lp can wait till a print job has actually finished printing (ie the last piece of paper has popped out of the machine), or if there are any options/callbacks which can notify me in any way when such an event happens, or if there are any other tools which can provide this...
  8. sedj

    printing to HP using IPP or JetDirect

    Hello, The problem : I need to print a postscript file to an HP 8100 printer. I need to know when the job has actually finished printing (ie when the last bit of paper has popped out of the device), not just when its been spooled to the printer, or the native spooler process. Any OS is...
  9. sedj

    javax.print package direct to printer

    Hello, Problem is : I need to either print direct to a printer - without going through the spooler (ie in Win32 the spoolsv.exe process) and be notified when the job has actually finished printing (not just successully spooled to printer RAM), OR Get real "print job" has finished...
  10. sedj

    errors linking standard functions on solaris

    Hi, Compiling the below problem on solaris 5.9 with gcc 3.2, I get the following errors linking : #include <stdlib.h> #include <stdio.h> void simple_func() { FILE* mylog = fopen("/tmp/simple_func.mylog", "at"); fclose(mylog); } Compiling using : gcc bla.c -o bla.so -shared...
  11. sedj

    OCI examples

    Not sure about anyone else, but I've found it hard to find decent OCI examples in the past, and recently stumbled across the following links. They are good, easy to follow OCI examples. Hope that someeone searching the web finds them too ! Original resource ...
  12. sedj

    tokenize() with multiple delimeters

    Hi, Does anyone know how to specifiy multiple delimeters in the XSLT 2 function tokenize() ? This works for one delimeter : <xsl:variable name="siteAddress" select="tokenize(., ',')"/> But I cannot seem to get it to delimit with more than one delim ... anyone have an idea of how I can ...
  13. sedj

    XSLT & invalid namespace

    Hi, I'm using XSLT to transform an xml message into another xml format - but I need to declare an invalid 'xmlns' attribute in the root node, eg : <DocRootNode xmlns="I_know_this_is_invalid"> <hello>there</hello> </DocRootNode> However, every time I attempt to generate this in XSLT, the...
  14. sedj

    DXF - HATCH (or filled polygon)

    Hi, I'd like to define a filled 2D polygon in DXF, using DXF release version 11/12. can anyone give me an example of defining a HATCH entity ? There appears to be little or no examples of defining DXF on the web ! Thanks for any help. -------------------------------------------------- Free...
  15. sedj

    xml chema namespace problem

    Hi, I have a problem with one of our schemas. It validates fine in XMLSpy, and also with the various Java parsers we use, but our DBA's are attempting to validate the schema using the db's internal parsers - which are erroring. The error is : The bit of schema in question is : <?xml...
  16. sedj

    static variables & LIB problem

    Hi, This is a little complicated, so please bear with me. I have two DLLs, and a (common) static library (LIB). Each DLL is linked statically to the "common" lib. Within the static lib, there is a class which has a few static member variables, and a static method. I also have a binary...
  17. sedj

    sound problem FC4 / disabling a module

    Hi, I can't seem to get any sound out of my laptop which has FC4 on it. Googling around, there appears to be a few issues with FC4 and sound. One link I found seemed to think that the module snd_intel8x0m conflicts with snd_intel8x0 - and by disabling the former, sound works. [Yes, the...
  18. sedj

    recv()

    Hi, I asked this question ages ago, and got around the problem by looking for a special terminating charcter or set of characters, but I'd like to revisit it, as I can't quite believe that what I'm seeing really the case. Posted below is a very simple programme that listens on a port, and...
  19. sedj

    passing file/socket descriptors between processes

    Hi, My googling skills appear to be poor today. Has anyone any idea how (or what commands/methods I should be searching for) to pass a socket descriptor from a parent process to a forked new process ? For example : int iSockFd = // my socket from an accept() method if (!fork()) {...
  20. sedj

    Abstract class destructor not called

    Hello, Can someone explain why the destructor does not seem to be called ? The output is : But the "destruct" is not present. I'm clearly missing a fundamental point in abstract C++ classes - can someone tell me what ? Thanks #include <stdio.h> // the abstract class class AbstractClass {...

Part and Inventory Search

Back
Top