How to reduce the times of build broken in software development? [closed] - build-process

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am in large product that there are more than 200 people and locate in 3 different locations. Most of people work on the main branch , so of course, it is important to void the build broken. There is an daily build and it will take about 6 hours to generate the build.
Manage team emphasis "taking care before submit" again and again, but now it is at least one build broken during one week.
Would you share your practice to reduce the build-broken? Thanks.

Broken build should become a not-Event, to achieve this you need to reduce the costs associated with broken build, right now because it takes 6 hours to create it and most likely it executed during time when majority of people are out of office every broken build can move a schedule of entire project of by a day. To remove this cost you need to build often and build quickly. So the best thing you can do is to improve build times and build on every check-in.

The first thing I'd do would actually be to try as hard as possible to make the build faster. The importance of this cannot be understated - just have quicker builds is probably your fastest and biggest win. At least put SSDs on your build machine.
That aside, here are some things I've seen done:
Partial builds: also called smoke tests by some people. High level tests that run fast and fail the whole build quickly. They'd run before the full build.
Smaller local builds: With that many people, I'm guessing you have some kind of local branch for each set of programmers. Do you have a build that runs locally there?
Make sure developers run the widest possible set of tests on their own machines before pushing code. This already happens... right?

Related

Why are standards often closed? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I understand why standards can be open while their implementations can be closed. However, I have a problem understanding the inverse. For example, the C++ standard is commercial, yet some of its implementations (e.g. gcc and clang) are open source. I believe PDF is like this as well.
More generally, would a closed standard not prohibit its broad use, which is one of the objectives of a standard? In reality, who benefits from what, and why are closed standards used?
In fact the C++ standard isn’t actually closed (its source is on Github …). You confuse “closed” with “published commercially”.
That’s a difference that comes stems from the unfortunate fact that maintaining and publishing standards documents simply costs money, and organisations such as ISO want to get paid for doing (part of) this work.
The situation is very similar to patent offices, and even more so to publishing in research: almost all research is open – for about any definition of the word – yet the publications are more often than not hidden behind paywalls, because the publishing houses pursue a business model that is paid per view (in addition to some upfront fee paid by the researchers).
On a personal note, I believe that this is a perverse situation that is an ugly anachronistic hold-over from a time before Internet when publishing a manuscript actually cost money. I’ve got some more things to say on this topic but the moderators would censor them. ;-)

Main differences between software design processes [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to compare the following software design processes.
Waterfall model
V-Model
Unified Process
The V-Model has test phases for each specification phase, the waterfall model doesn't.
The Unified Process is iterative and incremental, the others aren't.
Are those the main differences? Is there something to add?
I only need the main differences, not too detailed.
The water fall model is not iterative.
V-Model is iterative in the sense that
a. It uses unit testing to verify procedural design
b. It uses integration testing to verify architectural (system) design
c. It uses acceptance testing to validate the requirements
d. If problems are found during verification and validation, the left side of the V can be re-executed before testing on the right side is re-enacted
Unified Process Model is iterative
a. System delivered in pieces.
b. Allows production system and development system to run in parallel.
c. Reduces risk and uncertainty in the development

Complete WF4 dynamic rules engine example [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have spent quite some time trying to learn WF4 (I'm a total n00b when it comes to WF), but I cannot seem to find any examples exactly what I’m trying to do:
I need to make a WF4 (C#) rule during runtime, save it to a database (currently SQL, but that’s not important to me), load the rule and execute it while still in runtime.
The two examples below indicate that this (loading and executing a rule made during runtime) should be possible:
http://www.nilzorblog.com/2011/11/using-wf4-as-rule-engine.html
http://msdn.microsoft.com/en-us/library/vstudio/ee960221(v=vs.100).aspx
I have got the two examples working independently without problems.
However, when I’ve tried combining the examples (which should be quite simple?) I constantly get loads of conversion errors like this:
Argument 2: cannot convert from 'System.Collections.Generic.List < SharedLibrary.AssignmentRule > ' to 'System.Collections.Generic.List < ExternalRuleSetLibrary.RuleSetData > '
I have searched far and wide for days for examples that does this right, but didn't find anything. This is why I'm asking the gurus here :) Thank you in advance!
Can you provide an example or recipe of how to make a WF4 rule during runtime, save it to a database, load the rule and execute it while still in runtime?

which database should i prefer for application with millions of data [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
We are going to develope one web application using Asp.Net which can have millions of data to handle
so i am confuse between database selection
which should i prefer sql server or oracle with respect to performance and all criteria
please guide me on this
thanks
Your question is looks subjective, how ever I like to answer and say that:
If some one gives you to drive a formula one, in how many seconds you gong to crash it? Probably you do not even manage to start it running.
The same think is on programming. Both programs are like formula one, maybe one have some feature and the other have some other, but they can run so fast if "you can drive them" like that.
Now it's up to you to make a good design to the database and make it real fast, or very slow and huge. It's not the machine, it you that you can make it run fast. It's not the formula one on the races, it’s the pilot (and the rest team) that they drive them so fast.

Success stories for JavaFX [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Did anyone here a real company using JavaFX for real life applications?
I did a shallow search about JavaFX usage, and found almost no heavy usage case.
Anyone knows companies which actually using JavaFX? I'm really afraid that JavaFX (which is being currently the only somewhat opensource RIA platform) will not survive.
Update this question gives a few example of JavaFX programs (mostly code written for contests). But I saw no commercial users there.
http://www.vancouver2010.com through the Medals or the Athletes pages using the tab called Geo View. Or you can access it via these direct links:
** EN – http://www.vancouver2010.com/olympic-medals/geo-view/
** FR – http://www.vancouver2010.com/fr/olympique-médailles/vue-de-geo/
Ubivent and DaliReport - I haven't tried either of them but it's marginally comforting to know they exist. Of course, Sun itself uses JavaFX (no surprise there).
Of course, I've also written my own real-world JavaFX application. It's not at the enterprise level, but nonetheless sees many users.
This press release suggestions "Canoo"
I haven't heard much about people using JavaFX, but it does look like a strong contender to WPF.
Some of the shops using JavaFX are listed at javafx.com here.
I haven't seen or heard much real, large-scale use myself.
I tried to do a simple little project with it, and it initially seemed awesome, but then I hit a bunch of bugs. This was back when it was still beta though.

Resources