Tag Info

Hot answers tagged

14

I think warnings, which are not treated as errors, are useless. You get tons of them, therefore nobody bothers to look at them, and they miss their purpose. My suggestion is to fix them all, and start treating them as errors. Fixing them looks scary, but I think it can be done. A good programmer that would pick up this work will very soon figure out the way ...


9

Yes that's not a bogus test case, it's a valid test for expected exceptions


8

Coming from someone who has had to come up to speed on a lot of different codebases in my career, here's what I would suggest: Spend a short amount of time (maybe a day or two) with activities related to using the product so that they can become familiar with what the product does. This could be verifying bugs or executing QA test plans or going through ...


8

Decoupling only works if there really is separation. Consider if you have an ordering system: Table: CUSTOMER Table: ORDER If that's all you've got, there's no reason to decouple them. On the other hand, if you have this: Table: CUSTOMER Table: ORDER Table: CUSTOMER_NEWSLETTER Then you could argue that ORDER and CUSTOMER_NEWSLETTER are part of two ...


7

Your solution is the right one. Put the shared code into a another project that builds its own JAR file, and use it in both projects. When building the JAR file, you may want to include the version in the name, e.g. in Debian style; libmyproject-shared-1.0.jar It doesn't prevent versioning trouble, but it should help. I've never used Maven, but I ...


5

The major problem as I see it is as you already pointed out by referencing IE, is getting everyone to play nicely together. This can be difficult when you start to bring several large players together (Microsoft, Facebook, Google, Apple, etc). Any attempt at standardisation needs to be taken on board by everyone in the end, otherwise it's hardly much of a ...


5

Recognizing the need to learn a new concept is a good start, but why do you need this certification? The point of a certification is not to take courses and learn new topics, but to assure employers that you have the knowledge and skills necessary to perform some work function. I took at a look at the SOA Certified Professional website, and it raises ...


5

There are probably those in the company that see too many disparate systems that are duplicating effort and making it harder to include data in the same report. The head of IT needs to focus on design and not be so myopic to think everyone using the same language is the panacea. Consolidating to the MS stack may make it easier to share developers and ...


5

Where I work we have an ESB to which 6 different applications (or should I say "endpoints") are connected. Those 6 applications work with 3 different Oracle schemas on 2 database instances. Some of these applications coexist in the same schema not because they are related but because our database infrastructure is managed by an external provider and ...


5

Can access FoxPro from .NET? Yes, you can use the FoxPro OLE DB Driver provided by Microsoft, to connect to FoxPro through .NET. It may be done in C# the following way: OleDbConnection oleDbConnection1 = new OleDbConnection("Provider=VFPOLEDB.1;"+ "Data Source=C:\\myVFPDatabase.DBC;"); oleDbConnection1.Open(); OleDbConnection ...


4

Decoupling databases and keeping the data consistent between them is an expert level task. It is very easy to get wrong and end up with the problems of duplicates etc, that the current system is designed to avoid. Frankly, taking a working system and doing this is pretty much a guarantee of introducing new bugs for no real value to the users.


4

My feeling is that most people's tolerance for reading documentation is fairly low (Good for a day or two, but beyond that they'll probably be itching to do something a bit more hands-on). I don't think you can really get understanding of an application's code without a reasonable understanding of the application itself. The software presumably has ...


4

I've only been working in industry for 10 months (On placement) but I found the following helped me: Teaming up with other developers and observing how they tackle issues. Testing the software helped, I would need to test feature x which means I read the documentation on feature x. I did this a lot, it helped. Both of those helped me a fair bit. Good ...


4

The more the input is loosely-structured, the harder is to parse it. In this way, XML is already loosely-structured. When I get <price/> tag, I expect it to be a number, like <price>59.90</price>, but nothing, in XML, ensures that I will actually receive a number. What about <price>USD59.90</price>, or <price>59,90 ...


4

Don't touch any of the legacy code. Find a way to suppress the warnings for now. Making seemingly innocuous changes to the code can introduce bugs in code which, I assume, has already been tested and is relatively bug free. By suppressing all of the warnings that are currently in the codebase, you can pretend to have a clean slate. Any new warnings ...


4

Solution B only works if you request the data from System A every time it is required by System B. Otherwise you cannot guarantee the information is up to date. This is not as bad as it sounds and is in fact the basis of all SOA architectures. The decision of whether to push (Solution A) or pull (Solution B) depends on the ratio of updates in system A to ...


4

There are two sources of errors here: (a) numerical inaccuracies stemming from floating-point representations, and (b) general measurement errors, which in turn are either (b.1) calibration errors (your accelerometer has a skewed or drifting scale) or (b.2) statistical uncertainty. Errors from (a) are difficult, but possible to quantify exactly. However, ...


3

As the Lead, I spend at least 2 days with new developers. I've found that developing a relationship in which it feels comfortable to ask the inevitable question "how is your progress?" is a MUST. There is fear in any new community to fit in... we hide mistakes, act perfect, make things better than they are, lessen difficulty. A manager spending 2 days with ...


3

You have at least two different issues here that you are conflating into one. Toolset / stack Communication For the first, you may or may not want to migrate towards fewer technologies. Having one of everything under the sun can make maintenance difficult, and does limit your ability to share certain parts of your applications. Communication between ...


3

There is no problem that cannot be solved by adding a layer of abstraction, except for having too many layers of abstraction. If you have four domains from four disparate apps, and you are attempting to integrate their functionality or data into one app, then use the four domains, with an extra layer on top to handle interop between them; each domain or SOA ...


3

All the technologies go through a cycle of evolution and adoption, and at different rates. The higher the adoption, the more the evolution and so on. XMLHTTPRequest - the basis for AJAX for e.g. - had been around long before it really got a lot of traction with Google using it in GMail and other apps. It became a buzzword if you will that even "lay" ...


3

As someone mentioned in the comments, hosting Java within a C++ app would be difficult. You'd have to provide an environment for it to run in. It's not outside the realm of posibilities though. For example, the mono project has IKVM with is a .NET implementation of the Java Virtual Machine. This allows Java and .NET code to run together. Look at the sources ...


3

I've seen the worst possible nightmares in software architecture due to data integration, and the best weapon against this type of mess that I've encountered so far id DDD-Style Bounded Contexts. Which is not very far away from "SOA done right", on a certain sense. However, data itself is not the best way to attack the problem. One should focus on the ...


3

Have you read anything about Enterprise Integration Patterns? There is an entire book on this subject and a variety of frameworks out there to help. http://www.eaipatterns.com/


3

I was reading C++ Coding Standards: 101 Rules, Guideleines, and Best Practices and the second of guidelines suggests "Compile cleany at high warning levels". It outlines a number of reasons why you would not want that many warnings in a program and chief among them are There is a potential problem in your code. Should have silent, successful builds and, ...


3

Ask yourself and your business very carefully, sincerely, and repeatedly, if it really needs to be real-time. As in, really instant? Are we talking about atomic, you can never ever have those two servers out of sync, not even for a microsecond? Or is there really some kind of SLA attached and the data can be stale for maybe a few milliseconds, or a few ...


3

No, it's not an unusual requirement. It's common to expend significant effort to make upgrades as seamless as possible for the customer, sometimes even going so far as to purposely retain bugs that client software depends on. I've had similar requirements even in environments where upgrades are done quickly with a script, even if the dual code is only in ...


2

I think one question is how much resource/budget your department gets. You alluded to budget issues. Where I work now (until Friday) the department gets no resource, and they use Microsoft technologies. This leads to really poor tooling because no one wants to pay licensing costs. It leads to all sorts of frustrating things like remote desktopping to a ...


2

I would go from high level to low. Demo the app as soon as possible One of the most important things is that the developer has an idea what they will work on. During the demo, point out some of the things that have been under recent development, and the direction the app is going. Explain the high level architecture This is also very important. Allow ...



Only top voted, non community-wiki answers of a minimum length are eligible