discovery

Reading source code

If you read other people's source code, how do you approach the code? What patterns are you looking for (datatypes, loops, use of control flow, ... )? How long can you read other people's code without getting bored? What is the most exciting patterns that you have discovered so far? ...

How to discover the type of the NAT a given interface is behind

I would like to discover the type of the NAT (FullCone, Restricted Cone, Port Restricted cone, Symmetric) a given network interface is behind. I've tested different tools (http://freshmeat.net/projects/jstun/, http://code.google.com/p/boogu/) but they report different results for the same interface. I'm looking for a definitive ans...

How do you find interesting problems to solve?

How do you find interesting problems to solve? I often want to learn new programming languages. However, I feel that to really understand it, I must write something which is: Real—it should solve some real-world problem. That problem doesn't have to be new (in fact, having a reference solution might be a good idea), but it has to be...

Web service discovery in WCF : Ws-Discovery or UDDI ?

I know the distinction between UDDI and Ws-Discovery (well know location to search a service vs broadcast). But my question is : what is the simplest way to discover a webservice in WCF ? By simplest I mean what is already implemented in WCF and can be used now ? I've not seen any built-in implementation in WCF for UDDI or Ws-Discovery. ...

Is it possible to discover plugged disks from Java?

I'm writing a disk crawler and if the user doesn't provide an existing path the program should search all disks that are available. Does anybody know is it possible and if it is how to do that from Java? ...

How to find classes when running an executable jar

I am running an executable jar and wish to find a list of classes WITHIN the jar so that I can decide at run-time which to run. It's possible that I don't know the name of the jar file so cannot unzip it ...

Why UDP socket subscribed to a multicast group is picking up a non-multicast message?

Overview: I have set up a server and a client, where both attempt discovery of each other using UDP. When the server starts up it sends a multicast message (239.1.1.1) that it is alive. When the client starts up it sends a multicast message (239.1.1.2) that it is alive. Both server and client are subscribed to each other's multicast mess...

UDP Server Discovery - Should clients send multicasts to find server or should server send regular beacon?

I have clients that need to all connect to a single server process. I am using UDP discovery for the clients to find the server. I have the client and server exchange IP address and port number, so that a TCP/IP connection can be established after completion of the discovery. This way the packet size is kept small. I see that this could ...

What would you tell yourself if you were teaching your past-self Java as your first language?

I am a begining programmer with some old AutoHotkey (scripting language) experience plus basic html. I am reading Code Complete 2nd ed in the bathroom. & I am reading Java How to Program in my class. - It is drab by comparison. I don't want to spend too much time learning things that are, unofficially depreciated or otherwise silly...

How would I figure out if there are other algorithms similar to mine?

In another question, I asked something similar but I ended up just posting my algorithm there and invalidating several answers. I re-ask it here: If I "invented" an algorithm, what's the best way for me to figure out if it's already been published about/patented? ...

are twitter web services "discoverable"?

Let me know your thoughts... ...

Are there any public UDDI registries available?

I am currently trying to get a grasp of UDDI and would like to run some examples with the inquiry API, but I can’t find public registries that I can query with my SOAP messages. IBM, Microsoft and SAP used to host public UDDI servers a couple of years ago but that was discontinued. I know xmethods contains a list of publicly available ...

Is the public UDDI movement dead or, was it ever alive?

I am trying to find some public UDDI registries to interact with, for learning purposes. But it seems there are none available. I popped the following question on SO to see if someone knows about any public registry still hosted, but got no answers. The IBM, Microsoft and SAP public registries were a test of the UDDI technology. I quote...

fastest way to discover nodes on LAN

I have a larger network about 1000 pcs on LAN I need to know that what is the fastest way to discover nodes/ pc on lan for admin pruposes Abdul Khaliq ...

how to detect number of subnets on a network automatically

Hi all, is any way to detect the number of subnets which are on my network and how to find them out automatically? Abdul Khaliq ...

SharePoint : Issue creating Disco

I've followed the instructions to the letter, when I run disco.exe I get this error: The HTML document does not contain web service discovery information. Any suggestions? http://msdn.microsoft.com/en-us/library/ms464040.aspx ...

How do I discover RESTful Web services?

When I want to find a "Big" Web service (WS-*/WSDL based) of required functionality I can simply google for ".... filetype:wsdl" because Google indexes also WSDL definitions. Or I can simply use some registries that already crawled the Web for WSDL definitions for me, e.g. SeekDa.com or ServiceFinder. When I want to find RESTful Web ser...

Can a PHP app run when email is sent?

Is there a way to configure a server or a script to execute a php script when an email is received? In theory this could be extended to other protocols, such as XMPP or SMS, etc. What I have in mind is a user could send a message to [email protected] and this would trigger a script which would then do whatever needed to be done, ...

Override the default transport client properties discovery method in Axis 1.4

How can I tell Apache Axis 1.4 not to look for a transport client properties instance (an implementation of org.apache.axis.components.net.TransportClientProperties) and instead supply my own? My problem is that both my Eclipse plugin and another Eclipse plugin are using Axis 1.4, which, via Apache Discovery, looks for a system property...

Bluetooth -> service discovery failed

Hello, I'm writing an application which is able to communicate with my PC. I have used the Bluetooth functionalities of the SDK 2.1. I can find devices, get their MAC address, create a RFCOMM socket, but when I start the connection, I get the following error message : Service discovery failed. 1)Is it because of the UUID which is no...