instruction stringlengths 34 36.1k |
|---|
I have been working as software developer for past 4 years on a variety of software products (Financial ERP system, Online Web development, Trading software and now a Supply Chain mgmt software). Most of the work has been in Core Java. Lately, I do feel that I should start looking into specific technical "principles" a... |
I'm wondering if I should use acronyms or initialisms when I list technical qualifications or mention specific technologies on my résumé or CV.
For example:
Entity Framework vs. EF vs. EF (Entity Framework)
Graphical User Interface vs. GUI vs. GUI (Graphical User Interface)
Is there a reason to prefer one version ove... |
I think that it's safe for me to assume that many, if not most, programmers are quite enthusiastic about computers, and even electronics in general. Now, I realize that a programmer should first and foremost keep up with the programming world, which is a difficult task in and of itself: with new languages and methodolo... |
On my resume, I list myself as having "7 years of hands-on experience programming in C".
To clarify, I am a self-taught C programmer with some college courses thrown in the mix. I've worked on some small personal projects, and I consider myself to be more competent than a Computer Science grad with no actual real-world... |
In the process of adapting a "put on clipboard"-solution to new behavior I have found that I need a good programmers clipboard monitor for Windows.
I do not need to have a history of items on the clipboard, but I need to see the details of what is currently placed there, including - this is important - the various flav... |
The problem below appeared on the last Code Sprint 2 programming competition (it's over already). The base cases are clear, but developing an algorithm that solves all possible cases has been a challenge so far.
There are N cards on the table and each has a number between 0 and N
on it. Let us denote the number on t... |
My company has a client (in the US) that currently offers small businesses web-based payroll software. They want to offer small businesses a web-based accounting package that integrates well with their current web-based offerings. The company does have a CPA on staff which is a bonus. To this point they have said it ne... |
I've once heard a Microsoft architect say that, in Quebec, program output must be in French, including the custom log output that would be used by service technicians in other countries who don't speak French or are Quebecois.
Apparently, it's in Bill 101 Article 5. If you read the document correctly (thanks Matthieu),... |
I've come across a job posting that asks for experience with "Scalable Integrated Systems", but honestly that sounds like "generic buzzword," and I'm trying to figure out what the actual work behind "Scalable Integrated Systems" is. What does a "Scalable Integrated System" look like?
Is it making distributed computing ... |
A while ago I decided to learn Haskell to help with learning more "pure functional" ideas that I could apply to F#. Right off the bat it seems as if there's no real types in Haskell like the ones that F# has. I'm fine with that so I wanted to find a way to remove myself from the hybrid OO/Functional design I've used i... |
I am working on an application that I developed a security layer for. It uses the hardware ID of the hard drive, MAC address and another hardware serial key, to lock the software a particular piece of hardware.
I came across sites online, that said I should use fairly weird names for the procedures/functions/variables ... |
I really enjoy watching live code demos, especially when time is focused on what the code is doing instead of what the presenter is typing. Many seem to be using apps to manage their clipboard to paste code into the IDE. What apps are out there for skillfully managing your clipboard to seamlessly do a code demo?
UPDA... |
I realize this idea might seem really foreign but I started thinking about this a bit back.
Far as web sites go, at least in my experience, there is far more time spent retyping things to a String than the other way around. For instance:
Say you have a user model:
user
int UserId
And I wanted to log the user in:
V... |
Or more completely "What are the trade-offs and questions that should be raised when trying to decide the bundle structure of an OSGi application?"
Our existing OSGi bundles have tended to be quite fat: basically an API bundle and an implementation bundle, but with a lot of functionality. That has advantages in terms o... |
For me as python programmer having a formal definition for the term "pythonic" would be much more important and less subjective compared to asking more rhetoric (non-formal) questions. This may lead to better communication by argumentation being less subjective (as discussed in here).
PEP8 by Guido is assumed as a star... |
Does anyone know the difference between those two?
They are both created by iterative approach - giving successive revision after each iteration. They both have the initial idea->analysis->(outline)design phases.
|
I'm starting a new project and using SVN (with Tortoise) as my Version Control System. I was wondering if it was possible to also maintain a SQL Server Database using the same system.
I'd want to version my tables/functions/views/procs/triggers/etc. but not my data as it's all going to be test data anyway. I'm not real... |
I am looking for the right word to describe a function and its complement.
Here I am looking for the proper word to describe a couple of functions when applied in sequence the system reverts to its original state.
Marshalling and Unmarshalling would be a subset of this
Add and Remove
Idempotence comes to mind though ... |
What are the top reasons to write obfuscated code, in terms of a real benefit to the people developing the code, and the business that runs that code (if the code in question is in fact commericial code)? Are there documented cases (available online in some location) which describe when obfuscation did more good than b... |
Recently I was faced a question about whether a simple calculation should be put in the Entity layer, or should the Entity be pure for just storing the raw data and leave the calculation logics in the business layer.
So my question is whether it is sensible to encapsulate simple calculations in the properties in an ent... |
I have a non-binary tree.
I want to find all "sub-trees" that are connected to root.
Sub-tree is a a link group of tree nodes.
every group is colored in it's own color.
What would be be the best approach?
Run recursion down and up for every node?
The data structure of every treenode is a list of children, list ... |
I have been working as a software developer for many years now. It has been my experience that projects get more complex and unmaintainable as more developers get involved in the development of the product.
It seems that software at a certain stage of development has the tendency to get "hackier" and "hackier" especia... |
I'm currently working on a project where there is a requirement to dynamically composite multiple synchronised video sources onto a single canvas. The initial prototype I put together loaded the video into HTMLVideoElements and then used requestAnimFrame (via Paul Irish's shim) to draw these onto a single canvas and ma... |
As I write, we're 10 days into 2012. I bet many programmers are editing the copyright string at the top of their source files to something like:
// Copyright 2008, 2010-2012 Some Company Unlimited
Your version control system knows when files were modified so surely it can help write or rewrite these strings. So my q... |
Based on this question about alternatives to the agile philosophy and its answers and comments I thought it might be useful to discuss what goes into the decision of what "methodology" to use when at the start of the project.
Seems the consensus is that if what you are building requires exact specifications that water... |
Sure, we all heard of programming patterns such as MVVM, MVC and such.
But that isn't really what I'm looking into as Layout, Data and Logic is already pretty much split up (XML-Layout markup, Database, insert your language of choice here).
The platform I am developing for is hard to maintain over the updated versions ... |
This is a Purely Academic Question
Context:
I am working with some algorithms which are meant to arrive at a consensus in distributed systems. I intended to tackle Byzantine faults with these algorithms. For this I have implemented several algorithms published in IEEE papers and need a platform to test these algorithms... |
I have five applications residing on server(s). Some of these applications are socket (C/C++) based, others are web based (Java, PHP). I need to give licenses to these applications on the basis of the number of users that can access, the type of functionalities and type of users. What kind of business model should I us... |
I am a long time fan of TDD and after reading the RSpec book, would like to transistion to a BDD process. I like the idea of driving from the outside in, as it is presented in the book.
What I am having a hard time getting a handle on is how to structure the tests. I have tried SpecFlow, but it seems cumbersome to use ... |
Since the methods of the class will only work if the user is logged in, is it right or is there some problem that might make my code slow/inneficient?
|
What reasons are there for web browsers to not have a library of popular web frameworks.
For example if a web page included jQuery, why shouldn't the browser have it's own static version, which is separate from the normal cached items?
I would imagine if most libraries were preloaded into a browsers cache, before any r... |
I am reading about Dynamic Programming from Cormen.
In the beginning of the chapter it says (relating to the term Dynamic Programming):
"Programming” in this context refers to a tabular method, not to
writing computer code.
I can not really understand what this statement means.
I mean, I understand that the dynam... |
I'm a sole developer at my work and while I understand the benefits of VCS; I find it hard to stick to good practices. At the moment I'm using git to develop mostly web apps (which will never be open sourced due to my work).
My current workflow is make lots of changes to the development site, test, revise, test, be ... |
The team I currently am part of experiences fairly high turnover, with members typically moving to different projects within the same company.
Currently our "training" for new members is to pair them with a primary contact (usually the most recent person to complete their training) who will provide them with hands-on ... |
Specifically, programming without inheritance is distinctly not
object-oriented; we call it programming with abstract data types.
I found this great line from Grady Booch's "Object-Oriented Analysis and Design With Applications" book. So in order for a program to be an OO one, are inheritance, abstraction, encapsul... |
This is sort of the opposite of https://softwareengineering.stackexchange.com/questions/121571/is-there-an-open-source-project-that-can-be-an-example-of-well-written-code.
I am teaching software engineering to undergraduates and I would like a blob of object oriented code that demonstrates tight coupling, bad abstracti... |
If I were to make a site with a mutable language like C# and use NHibernate, I would normally approach sessions with the idea of making them as create only when needed and dispose at request end. This has helped with keeping a session for multiple transactions by a user but keep it from staying open too long where the... |
I was checking out a video tutorial on HTML5 using Dreamweaver to do Android and iOS apps (using Phonegap) and it clearly mentioned that you need a Mac to debug and simulate for iPhone, iPod, etc. Is there any way around this?
I really want to develop apps for iOS and android (more iOS) using HTML5 but what I need to ... |
Going by the general principle of data abstraction, I normally abstract data in a serialized format(JSON) and pass it as a parameter to the Business Logic(BL) modules such that the BL module always see a consistent format of the data irrespective of the underlying data storage layer. Even if I use a ORM, I use the seri... |
Currently our web application uses server-sided sessions. Because of the large amount of memory usage, we want to switch to cookie-based sessions. I have been thinking about several ways:
Idea 1
My first idea was to give the client two cookies: SessionID (a hash) and SessionData (the encrypted data). The SessionID will... |
Possible Duplicate:
What is the difference between Static code analysis and code review?
What is the difference between static testing and code review?
I found some information on wikipedia that in both cases the programmer checks the syntax and code logic for bugs.
|
Or in other words, what specific problems did automated garbage collection solve? I've never done low-level programming, so I don't know how complicated can freeing resources get.
The kind of bugs that GC addresses seem (at least to an external observer) the kind of things that a programmer that knows well his language... |
I follow a very raw approach while updating my website on server. The approach I follow doesn't seem right, so I am interested in knowing a recommended way of updating a LIVE project, be it on shared host or dedicated server.
Right now, for any changes in View, I simply upload and overwrite the view files on server. S... |
Lately I've begun to think that having lots of manager classes in your design is a bad thing. The idea hasn't matured enough for me to make a compelling argument, but here's a few general points:
I found it's a lot harder for me to understand systems that rely heavily on "managers". This is because, in addition to the... |
In an interview, I was asked about about my experiences in developing in team settings. However, I've been self taught and have only worked on projects on my own. How would you go about answering this question? I just brought up school clubs and how I was able to play well with others, but this isn't really developer r... |
In a general sense, for long term projects that may have multiple releases during the products life cycle and require support of previous products, what is the best way to handle product versions and branching of the code base?
In a more specific sense, assume that proper distributed version control is in place (i.e. ... |
I have done Java SE and want to start JAVA EE. But i am very confused, from where i have to start .So please tell me the roadmap from where to start Java EE ?
|
We use JSF over Tomcat along with a backing proprietary DB.
I want to know how the addition of new database fields or/and stored procedures should be handled when we deploy a new version of the application.
We deploy by sending a WAR file to the hosting Team, as such our WAR should be able to
setup the stored procedur... |
Today I have held my first interview with potential interns.
While this has been mostly open questions, I have had some trivial programming tasks for them:
Write a function that returns true if triangle sides (all integers) a, b and c can represent a right triangle.
FizzBuzz.
Calculate the Nth element of Fibonacci usi... |
Is there any Change Management Standard which is widely accepted in software and other industries? I worked at several companies with absolutely different target domains (investment banking and telecommunications). Companies had very similar Global Change Management (GCM) organization and processes. More specifically:
... |
I work on a new venture at a large enterprise software company (3000+ programmers). In my group, we have a bunch of projects and people usually work on several projects over the course of a year.
I just started work on a project that has been previously maintained by a buddy of mine (consultant who's been with us for 3... |
Reading this site and SO I've seen many stories of interview questions and answers saying a candidate had to implement a linked list from scratch. Usually this is a "gimme" exercise for programming role candidates like writing FizzBuzz. The idea is that if the candidate can't do this, they can't program and should be r... |
I am looking to implement membership card functionality inside a mobile application for a local coffee shop. The idea is to make payments at the point of sale, and deduct the amount from the client's prepaid account.
I was looking into NFC functionality, but only a few devices support them (and most are not available i... |
Let's take CodeReview page as an example. If you go here, you will see the list of the questions with their vote numbers and comment numbers
Now, I am wondering if these numbers are calculated on the fly (e.g. count the total comments in db for this question), or is there an actual field in the questions table called v... |
I wrote a web cam viewer where the javascript source basically sources the image according to an "active" class in a list.
I was wondering what are good modern techniques to make images load faster in the background, so a user can get a better experience flicking through images.
Obviously it doesn't make sense to downl... |
When designing a class should consistency in behaviour be favoured over common programming practice? To give a specific example:
A common convention is this: If a class owns an object (e.g. it created it) it is responsible of cleaning it up once it's done. A specific example would be in .NET that if your class owns an ... |
I have been tasked with using coded UI to measure performance on a proprietary windows desktop application. The need is to measure how long it takes for the next page/screen to display after a user clicks on a control.
For example - a user enters their ID and PW and clicks sign-in. The need is to measure how long it ... |
On page 839 of the second edition, Steve McConnell is discussing all the ways that programmers can "conquer complexity" in big programs. His tips culminate with this statement:
"Object-oriented programming provides a level of abstraction that applies to algorithms and data at the same time, a kind of abstraction that f... |
I'm currently developing a Spring-based web-application, in which almost every operation create/update/delete something in the database. The logic mostly about checking condition so as to we should create/update records in the database or not.
The reason I want to try unit test is that we often meets regression errors ... |
I'm new to github, and am looking for advice on how to manage issues. I'm used to having priority and other ordering options but see that none exist.
How do others manages issues during the lifecycle of a bug/feature?
Thanks in advance.
|
Recently I saw some possibilities of some IDEs (via plugins) to sort members of their classes/modules based on some criteria, sou you could have everything sorted automaticaly no matter where you would put the elements in time of writing it to editor.
Do you think that this kind of sorting in class/module may have posi... |
For example, a system where the developer does not need to write source code any more, instead they can using XML or some defined text to construct the application-level logic.
|
I have a web application developed using Python, HTML, CSS & JavaScript.
The customer installs it in any of their own Machine and uses it through their LAN.
In short the customer sets up the webserver in any of their own machine.
Since its a web application, all the source code is open for the customer in the document ... |
I have been tasked with becoming the Administrator for a large enterprise software system that consists of several shrink wrapped applications and some home grown 'glue' and has a couple of hundered users across three continents.
What do you think are the aspects / points I need to address?
At the moment the best I can... |
I'm using SVN and I'm wondering about which part of the code base the users should test. The trunk (after the new feature branch has been merged in) or the branch?
If using the branch, how do you deal with the scenario where two developers are working on two different feature sets (so two branches), and need to releas... |
I was thinking about how would a paint software works. Firstly I thought that it might not use any database but when I started thinking about the undo function I realized that it might be that the data is somehow stored in the database. Can anyone please help me out by telling me how the images are stored in a normal p... |
I would like to ask which is the best strategy for creating an application that will be developed both on Mac and iPad, so to make minumum effort to port it from one platform to the other, starting from iPad, for example, but rather trying to make both at the same time. The application, in fact, would be an iPad-style ... |
I have just joined a company where the major projects, including the one i have landed on, use Guice. I have never used Guice. I am familiar with dependency injection, in the shape of CDI (a bit) and the obscure but decent Nucleus (part of ATG).
We just completed a successful iteration, so tomorrow (friday the 13th!) i... |
I want to find out how easy or hard the transition to C / C++ is for a mid-experienced Java programmer.
I've already read the questions about "C++ for Java Programmers" and "Is it necessary for Java programmers to learn some C/System programming?".
Everything sounds very interesting, but I want to specifically add th... |
In order to get experience as a team lead, I was recently given the task of supervising a programmer.
What I found out is that he is having a problem in writing a simple if condition. He has issues with string. And he doesn't know how to pass a variable in the addClass function of jQuery with an if condition.
And he d... |
I am new to Pivotal Tracker and trying to learn how best to use it for our business. We are an app development consulting services firm. As you guys know, clients want to have an idea of total time and cost before they sign any contract.
How are you guys mapping your project on Pivotal to total hours and timelines? Any... |
We've introduced a code review process within our organisation and it seems to be working well. However, I would like to be able to measure the effectiveness of the process over time, i.e. are we not finding bugs because the code is clean or are people just not picking up on bugs?
Currently, we don't have an effective ... |
I barely passed my Java programming exam today. I had to answer some general questions about threading which I did well and to write a little threaded program which was worse. I had to connect my laptop to the projector screen and write the program right away. My first attempt was to use anonymous classes but I forgot ... |
I am going to try CGI scripting for implementing a web based Graphical User Interface on an embedded device. What advantages does LUA scripting have over shell scripting or C for implementing dynamic HTML files? Which one do you think is easy-to-use from developer's perspective.
My GUI will comprise of some form based ... |
I recall a methodology that emphasized making functions short and numerous. It said that if a section of code can be separated at all, it should be, even if the resultant functions are only used once. Some argue that it's DRY taken too far, and that this kind of obsessive refactoring is counterproductive.
Does anyone... |
I've seen objects created in Java code without storing a reference to the object. For example, in an eclipse plugin I've seen a SWT Shell created like so:
new Shell();
This new Shell object is not stored in a variable, but will remain referenced until the window is disposed which [I believe?] happens by default when ... |
We are hiring for a small development department within a medium sized company for which software is not the main line of business. As such, we are attempting to recruit what we have labeled a Senior Programmer. The goal is to find someone that can design, implement and maintain entire new and existing systems from t... |
I'm looking to get a job as a Python programmer. I know the basics of the language and have created a few games with it using pygame. I've also started to experiment with Django.
However, looking at the job market, it doesn't seem very many Python jobs are web-related. On the desktop side of things, it doesn't seem lik... |
I want to write Javadoc in DRY way. But the oracle document about Javadoc says write same thing again in overload method comment. Can't I avoid repetition?
|
From my understanding SVN is 'Easy to branch. Difficult to merge'. Why is that? Is there a difference how they merge?
|
Let's say, we have... 50k points randomly allocated in 3D space, according to some volumetric function, so that in some parts of the space, points are closer together, but in other parts, they are further away. Every point has a random color (represented by an integer, for example)
I would like to find all points that:... |
A principle that I follow is that, when an identifier is established, it should be a signal to the reader that the value referred to is indeed an abstraction which will be used more than once. That is, the identifier is defined or assigned once, and the value is read more than once.
However, a common idiom exists where... |
I have some experience with Perforce, SVN, and TFS. For SVN, The source files were by default writable after synchronization. However, they were readonly for Perforce, as well as TFS if memory served me.
Meanwhile, 'checkout' means source sync for SVN but its meaning is quite different for other popular tools.
I'm wond... |
I noticed some redundancy in a script I ran through Google Closure Compiler.
(function(){function g(a){var k;if(a){if(a.call)a.prototype=j,a.prototype[e]={}}else a=
{};var c=a,b,c=(a=c.call?c:null)?new a(a):c;b=c[e]||{};var f=b.extend;b=b.a;var
d=c.hasOwnProperty("constructor")?c.constructor:b?b:f?g.b(f):new Function;... |
Possible Duplicate:
How do I improve my coding skills?
I'm a 4 yrs experienced programmer with JAVA being the strong point of mine. I know basics of web, C++ android, blackberry programming. Was wondering how should I improve myself.
Does learning new languages help or learning design stuff and learn to become a ar... |
Currently I'm working a bit with ASP.NET and trying to find the best way to navigate through pages. Right now I have an UpdatePanel which has a Placeholder inside it. This Placeholder will then add the usercontrol I need.
I've been looking around on the internet and some say that this is a really bad thing to do, whil... |
The webpage of Converge states that:
Converge has a macro-like facility that can embed domain specific languages with arbitrary syntaxes into source files.
I am most intrigued by the possibility to create domain specific languages. My understanding of the purpose of such languages, is that they enables the developer ... |
Over last one year or so, I have driven my team towards the release-early-release-often mode of development (AKA: Rapid Application Development, not Agile). For more information about the manner in which we close the build, see my answer here:
A simple ways to improve the release quality in RAD environment
When we ado... |
I have a strange situation at work, where a colleague of mine often asks me and other co-workers for working code.
I would like to help him, but this constant request of trivial snippets interrupts my thoughts and sometimes makes it hard to concentrate.
Plus, I have the impression (...) that this requests are generate... |
Possible Duplicate:
Techniques to re-factor garbage and maintain sanity?
What is a good way to refactor a large, terribly written code base by myself?
Really open question here. I'm not after an answer.. only advice. Any past experience people have had with re-factoring legacy systems that they could pass on would... |
An awkward, open question, but it's a problem I'm always bumping against:
Software that's easy to maintain and work with is software designed well. Trying to make a design intuitive means naming your components in such a way that the next developer should be able to infer the function of the component. This is why we d... |
In my application I have a set of jobs to execute:
Each job goes through the states "not started", "started", "completed", "failed" etc.
Each job has a set of pre-conditions and post-conditions.
Job cannot start until the preconditions are satisfied and should be marked as failed if it doesn't satisfy the post condi... |
Assuming you have functions which take an increasing number of optional parameters (and a pseudo language which does not allow optional parameters and an arbitrary number of parameters) like this:
function doStuff(Param a)
function doStuff(Param a, Param b)
function doStuff(Param a, Param b, Param c)
What is a good wa... |
My question is rather a design question. In my program I got to a data structure that looks something like this:
private ConcurrentHashMap<A, ConcurrentHashMap<B, ConcurrentHashMap<Integer, C>>> services = new ConcurrentHashMap<A, ConcurrentHashMap<B, ConcurrentHashMap<Integer, C>>>();
Is there a way to handle such a... |
I have seen several applications that claim to convert Java code to valid C or even C++. Converting from a high level language to a low level language is possible, no doubt about it. At least in theory, can the reverse be done without any manual steps?
For instance:
Converting Assembly to C or Machine Code to Assembly... |
It's not about security or something. There is a table to record user information, like username, password, postcode and so on, one record per person. There is also a table called post to record the posts the users posted. It's very easy to set a relation to identify the user who posted the post. But think of this situ... |
So, I am getting some years under my belt in long term programming. I have noticed, however, when the frequency and duration started increasing in my coding sessions that when I actually went to write a paper, email, document, or anything else that required writing more than a few sentences that my writing quallity ap... |
I have problems to give the right time complexity in O notation for the following loop:
k := 0
for i := 0 to N
for j := k to M
// something
k = k + 1
Where N = M. Without the modified starting value of j of the inner value this would be of course O(N * M), but with the decreasing running time of the inner l... |
Possible Duplicate:
How to productively spend “free time” at the office
I am a Coldfusion Web Developer. I recently changed a company so that I can relocate to a different state. The current project I have is just a backup position for 3 months. I am not having much work, and the work I have also has nothing to do w... |
Possible Duplicate:
Scrum: how to handle backlog-items that are longer than one sprint
I have a project with complex user stories which take way longer to implement than spring length.
For example: user story sounds like this :
"User is able to receive a report at 10:00 am daily"
But behind the scenes, it require... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.