How to find an error in a tcp server application for which there is no source code
I have a c++/cli tcp client application sending a data in a specific format like L,20100930033425093,-5.929958,13.164021
to a main application on port 9000.The main application is actually done by the other vendor and I dont have the source code for that.
When to prefer a generalized solution over solving specific cases
In programming we’re often faced with a choice: cover each conceivable use case individually, or solve the general problem:
Steps to create a solution for a problem
I am a trainee. According to my teacher to solve a problem we should go through following steps:
Calculating 3d rotation around random axis
This is actually a solved problem, but I want to understand why my original method didn’t work (hoping someone with more knowledge can explain).
algorithm for project euler problem no 18
Problem number 18 from Project Euler’s site is as follows:
How to avoid jumping to a solution when under pressure? [closed]
Closed 9 years ago.
Should I fix small issues or let them go? [closed]
It is not guaranteed that I find a solution.
Help to simplify/model complex decision making (if, then, else scenarios)
I find my self in a situation, where I need to program a service, that can determine if two object in a huge database are the same. For simplicity, let’s say it’s used cars, and I want to determine if they are the exact same, based on various attributes e.g. brand, model name, year, milage, price, color etc. The problem is, that some of the attributes are obversely more significant/critical/important than others e.g. brand/model name HAS to be the same, where as the seller might wrongly have typed in the milage a slight bit differently. Additionally some times information such as the color might even have been left out, an hence I must fall back to less “unique identifying” information such as for an example the engine size. Apart from the direct weight/importance of each attribute there is another dimension of complexity involved – the attributes’ importance vary with each other. So let’s say e.g. that the car I’m comparing against the rest is very old, then suddenly the importance of the milage it self increases since it’s way more likely to be unique among similar cars, than compared to a younger car. This is obviously due to the fact, that the dispersion of milage on older cars are much wider than the one on younger cars.
In an interview, is it better to code a brute-force solution to a tough question, or to spend the interview examining the question carefully? [closed]
Closed 9 years ago.
Any tips in tackling extremely complex problems like the Hanoi Tower problem? [closed]
It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. People often give me the “divide and conquer” […]