instruction stringlengths 34 36.1k |
|---|
I'm a student and in my spare time I'm working for a big enterprise as Java developer. The job is good, but the problem is, my boss writes very strange code. I don't want to complain, but some issues are in my opinion really strange. For example:
he doesn't know any booleans. All boolean conditions are Strings called ... |
This question is a bit more subjective, but I'm hoping to get some new perspective. I'm so used to designing for a certain screen size (typically 1024x768) that I find that size to not be a problem. Expanding the size to 1280x1024 doesn't buy you enough screen real estate to make an appreciable difference, but will g... |
I'm looking for innovatives ways to improve the whole team & raise the global level in every aspects, not just technicals ones.
My actual solutions :
programming challenge vith votes, notes etc
teaching each others : each month, a member might present a new api,strategy, whatever that help to build better sofwares... |
I know this isn't about programming but i should learn "Issue Management"
What is Issue Management?
I read Wikipedi page but i don't understand very well.
Can you tell me Issue Management and if there is some product for this subject?
|
If running a project using BDD with 100% coverage of user stories with automated acceptance tests, what would be the role of a tester / quality assurance person?
I guess I am imagining that developers would write the acceptance tests in conjunction with the product owner, let me know if that seems like a foolish assump... |
This is a typical architecture scenario for a 3-tier design:
UI-tier
Has Graphical User Interface components
Middle-tier
Has business logic including the following layers:
Data Access Layer (DAL)
Access Control
Data-tier
Typically your database or physical data storage
What is the best way to implement Access Con... |
I have recently been doing a bunch of web side projects through word of mouth recommendations only. Although I am much more a of a programmer than a designer by any means, my design skills are not terrible, and do not hate dealing with UI like many programmers. As a result, I find myself lured into a bunch of side pr... |
As the software I'm writing is using instrument I/O, I cannot use virtual machines to test my software in different configurations. Therefore I'm looking for the best way to make snapshots at different states, and restore them quickly for tests.
What tools do you use? Right now I see:
Windows system restore
Clonezilla... |
How good of an idea do you think it would be to teach people Assembly (some variant) as a first programming language? It would take a lot more effort than learning for instance Java or Python, but one would have good understanding of the machine more or less from "programming day one" (compared to many higher level lan... |
We have index pages, running on an Apache Tomcat server, with links to other pages.
Welcome, you. What would you like to do?
Goto page x
Goto page y
These links are hard coded.
I want to be able to manage the index pages in a more dynamic way. So that I don't have to pull down the page, cause temporary down time, ch... |
While discussing a question about virtual functions on Stack Overflow, I wondered whether there was any official naming for pure (abstract) and non-pure virtual functions.
I always relied on wikipedia for my information, which states that pure and non-pure virtual functions are the general term. Unfortunately, the arti... |
I've come across SQL injection vulnerabilities on my companies ecommerce page. It was fairly poorly put together. I believe I have prevented future attempts however we are getting calls about fraudulent credit card charges on our site and others. This leads me to believe that someone was able to get a list of our credi... |
I am currently studying the git documentation to get a hang of distributed version control workflow and use of git command line. I want to first start using git with small, personal, pet projects so to gain experience before doing it on large scale (i.e., bigger projects, team dev).
What areas of the git system should ... |
Why do beginning programmers (like me) always ask about the next language they should learn instead of asking about the next project to tackle?
Why did Eric Raymond, in the "Learn How To Program" section of his "How To Become A Hacker" essay, talk about the order in which you should learn languages (vs. the order in wh... |
I am currently a college student, and going to apply for an university in probably next month. Unlike art student who easily put on their works such as models, designs and so on on their portfolio; I am hitting a dead corner trying to find a "creative" way to showcase my work as a programmer. It would be normal if prog... |
I am at secondary school right now and I'm the only one in my class who is experienced with programming. Because of that, people are constantly distracting me while I'm writing code to ask me to solve a problem. Usually I reply with something like 'I don't know, I never use that' but I don't want to lie to people.
Anot... |
I am currently creating a (very simple) Objective-C client to send basic statistical data to my server for an iPhone app - just things like the state of the app (first-launch or launch, error, etc), along with the make/model/version (i.e.: "iPod touch 4.2"). No personally identifiable information or location data is se... |
I am looking for a ClickOnce analog on Windows platform. I have to deploy (publish) a .NET WinForms application (thick client) for N-tier system via web.
|
Over on stack overflow it was asked how to organize a coding dojo (http://stackoverflow.com/questions/4338567/how-to-organize-a-coding-dojo-event). I believe that may have been the wrong forum...
I wonder the same thing: how is a Codeing Dojo organized? What is the structure of a meeting? How would one pick Katas? What... |
Do you let me know what kind of content I should put in the error-page like "404 page not found"?
Example:
"Unfortunately an error has occurred during the processing of your page request."
"Page Not Found! Check the URL"
"Sorry an error has occurred! Please Try again."
"We're sorry, we couldn't find the page you reque... |
A while back I created a licensing system for my companies new product, as well as all products after this one. As with a lot of licensing systems mine generates codes: 25 character product and registration codes, as well as 16 character module unlocking codes.
My question is, since some parts of these generated codes... |
If you just consider the second part of my question, "Why a developer should not be interrupted while neck-deep in coding", that has been discussed a number of times by smart people. Heck, even the co-founder of SO, Joel Spolsky, wrote a blog post about "getting in the zone" and "being knocked out of the zone" and why ... |
Here is what the apple site says:
With Snow Leopard, Mac OS X makes it
easy to use scripting languages as
full application development tools.
Snow Leopard ships with support for
the RubyCocoa Bridge and the PyObjC
bridge. These two bridges give
developers access not only to system
APIs, but to Cocoa fram... |
I'm working as a web developer and I want to be able to determine if I'm efficient.
Does this include the how long it take to accomplish tasks such as:
Server side code for the site logic with one language or multiple php,asp,asp.net.
Client side code like javascript with jquery for ajax, menus and other interactivity... |
I have been in QA for 10 years, trying to get into development for about 5 of them. I have taken classes in C++, Java and C#. I was able to write some tools and unit tests in C# at my current job and (by all accounts) did a good job of it.
However, 8 months ago, my employer tasked me with the responsibility of establis... |
It seems an infrequent but common experience that sometimes you're working on a project and suddenly something turns up unexpectedly, throws a massive spanner in the works and ramps up the complexity a whole lot.
For example, I was working on an application that talked to SOAP services on various other machines. I whip... |
Since I have a long train ride to and from work I was wondering if there is a version of the Java API documentation floating around that I could put on my Kindle. It would be nice on the rare occasion I get something in my head that I want to think about some more.
I know I can browse the web through the Kindle but cov... |
I'm a programmer who understand html & css, but got no taste.
My company decided to redesign our e-commerce website with new UI and move to ASP.Net MVC.
They want a really good design, so they hire 2 designers to work with me, remotely.
First designer to create design mockups (PSD/PNG)
Second designer another one to s... |
We are trying to setup our testing process. We wonder if our testers should develop automated regression tests, or if the developers should do that.
And what about other types of automated tests? Should testers develop them?
|
I'm currently a senior research software engineer at a large company and am being offered a "senior staff engineer" position somewhere else. I am not sure if the new position's title conveys a sideways move or an advancement.
So, all other things being roughly equal (salary, domain of expertise, etc.), what is the exte... |
Some time ago I came up with an idea for a library for database inspection. I started developing it and got some very basic functionality, just to check if that's possible. Recently however, I get second thoughts, whether such project would really be useful. I am actually planning to develop following software suite:
... |
When assessing a potential project at work, I suggested that it might be advantageous to use a domain driven design approach to its object model. The project does not have an excessively complex domain, so my coworker threw this at me:
It has been said, that DDD is
favorable in instances where there is
a complex d... |
Is the code written in Japanese? Are filenames in English? What about like a C preprocessor? Is that still in English? Are comments in Japanese?
Examples would be nice too.
|
Purpose
Over the last year or more I've been learning unit testing via books I've read recently like The Art of Unit Testing, Working Effectively with Legacy Code, and others. I've also been using unit tests, mocking frameworks, and the like, periodically at work and definitely see the value.
However, I'm still having ... |
This might seem like a rant, but I am curious.
CSS replaced tables for layout a long time ago. But we still have to use tables for layout when creating rich emails.
Why is this? Are there any other options?
Are there really technical constraints that prevent CSS from working in an email. What are they? I can see how ... |
public int foo(int x)
{
int defaultValue = 0;
return foo(x, defaultValue);
}
public int foo(int x, int y)
{
return x + y;
}
|
Are there any processes, guidelines or best practices that can be followed for the successful implementation of a common code libraries. Currently we are discussing the implementation of common code libraries within our dev team. In our instance, our common code libraries would compliment mainstream .net software packa... |
Myself and a friend are looking to launch a little forum site. I’m considering using the “Sign in with Facebook/Twitter” APIs, possibly exclusively (a la e.g. Lanyrd), for user login. I haven’t used either of these before, nor run a site with user logins at all.
What are the pros (and cons) of these APIs? Specifically:... |
We're hiring a QA person and I am supposed to come up with some interview questions. The truth is, I don't know much about what a good QA engineer should know, much less what good interview questions might involve. Does anyone have suggestions?
Some information: The environment is two separate (but intertwined) web app... |
Why does it seem so easy to pirate today?
It just seems a little hard to believe that with all of our technological advances and the billions of dollars spent on engineering the most unbelievable and mind-blowing software, we still have no other means of protecting against piracy than a "serial number/activation key". ... |
I am designing a login system for a project, and have an issue about it requiring two trips to the database when a user logs in.
User types in username and password
Database is polled and password hash is retrieved for comparative purposes (first trip)
Code tests hash against entered password (and salt), and if verifi... |
We are a small ISV shop and we usually ship a new version of our products every month. We use Subversion as our code repository and Visual Studio 2010 as our IDE. I am aware a lot of people are advocating Mercurial and other distributed source control systems but at this point I do not see how we could benefit from the... |
I know that outside of aggregates I can't change anything inside an aggregate without passing by his root. That said I would like to know if an aggregate root can hold references of members (objects insides) of another aggregate root? (following DDD rules)
Example :
a Calendar contain a list of phases which contain a l... |
I have some questions regarding relations between aggregations, compositions, references (arrow) and simple link (nothing) relations within UML2 ?
If A -> B -> C each have composition relationship. Are the root responsable of creation and destruction of the object B and C ?
What aggregations have that the simple link ... |
For a website, you need to have an idea, you need to have a design and you need to have data, events and output, right? Whether it be a blog, web app, Q&A site, search engine...
Anyway, that is only slightly related to my question. My question is, when designing a website, providing I know the purpose, what should I st... |
I'm about to start working on a very ambitious project that, in my opinion, has some great potential for what concerns the basic concept and the implementation ideas (implementation as in how this ideas will be implemented, not as in programming).
The state of the code right now is unluckily subpar. It's vanilla php, n... |
When a client asks for an estimate on how long it would take to develop different sections of an app, is it best to give them a total amount or what it would take for each section?
Is it better/more common to give a range of hours/days or just a single number?
Do you think most clients feel that if a programmer says it... |
I'm having a onsite interview for QA engineer with Startup. While phone interview the person said he would want to test my JAVA, JUnit and SQL skills on white board with more importance on Object-oriented skills, So what all can i questions can i expect ?
One more important issue : How do i overcome the fear of White b... |
I'm very interested in the theories of programming languages and going to apply a PhD in this topic, but I want to know more about the career after the graduate education. besides being a professor, but also what occupation can I get?
|
As a team lead managing a group of developers with no experience ( and see no need) in code review and unit testing, how can you advance code review and unit testing practice?
How are you going to create a way so that code review and unit testing to naturally fit into the developer's flow?
One of the resistance of the... |
I have been a Python programmer for about 18 months, consisting of one internship and a few side projects, and I consider myself pretty comfortable in the language.
However, there seems to be a lot of attention on Ruby in the programming field, but not a lot on Python anymore.
So in learning Ruby, are there going to ... |
Reportedly, Alan Kay is the inventor of the term "object oriented". And he is often quoted as having said that what we call OO today is not what he meant.
For example, I just found this on Google:
I made up the term 'object-oriented', and I can tell you I didn't have C++ in mind
-- Alan Kay, OOPSLA '97
I vaguely reme... |
I am a student interested in working on Memory Management, particularly the page replacement component of the linux kernel.
What are the different guides that can help me to begin understanding the kernel source?
I have tried to read the book Understanding the Linux Virtual Memory Manager by Mel Gorman and Understandi... |
Looks like I need to setup a new Java environment for some interfaces we need to build.
Say our system is X and we need to interfaces to systems A, B and C. Then we will be writing interfaces X-A, X-B, X-C. Our system has a bus within it, so the publishing on our side will be to the bus and the interface processes w... |
I have to extend an existing module of a project. I don't like the way it has been done (lots of anti-pattern involved, like copy/pasted code). I don't want to perform a complete refactor for many reasons.
Should I:
create new methods using existing
convention, even if I feel it wrong,
to avoid confusion for the nex... |
In Objective C you have the concept of sending messages to other objects, and, well this is very similar to method calling in languages like C# and Java.
But what exactly are the subtle differences? How should I think of messaging when thinking about my code?
Note: Just a bit of background here, I'm a C#/Java devel... |
I am a first year CS student and my programming experience is only what I have obtained in my computer programming I and II classes this school year. (console applications in C++)
I want to find a summer job/internship that would help me build my skill set. Being that I am still such a beginner pay is not a concern, mi... |
At my company we use JIRA for new feature requests and then the QA department logs any bugs/defects in Quality Center. I find Quality Center to be very non-userfriendly as it requires IE because it uses ActiveX.
Is this a common practice to use separate trackers for feature requests and defects? Is there any advantage ... |
I'm quite new to programming design patterns and life cycles and I was wondering, what should come first, code review or testing, regarding that those are done by separate people?
From the one side, why bother reviewing code if nobody checked if it even works?
From the other, some errors can be found early, if you do t... |
What things should a programmer implementing the technical details of a web application consider before making the site public? If Jeff Atwood can forget about HttpOnly cookies, sitemaps, and cross-site request forgeries all in the same site, what important thing could I be forgetting as well?
I'm thinking about this ... |
I have tried to search for this answer for quite some time and I have gone through all the various FAQ's and documentation regarding the three licenses; but none of them have been able to answer a question that I have.
So I've been working an idea for a website for sometime now and recently I found open source software... |
There has been some debate at work about using the merits of using the alternative spellings for C/C++ logical operators in iso646.h:
and &&
and_eq &=
bitand &
bitor |
compl ~
not !
not_eq !=
or ||
or_eq |=
xor ^
xor_eq ^=
According to Wikipedia, these macros... |
We are having a game of 'semantic football' in the office over this matter: I am writing a method for an object which will represent the object as a string. That string should be such that when typed (more likely, cut and pasted) into the interpreter window (I will keep the language name out of this for now), will prod... |
In case you missed it, a lot has happened in the last two day that could potentially impact the Qt framework, for the worse. :-( It will impact the mobile sector in several and probably not currently acknowledged ways, for sure.
It started yesterday with Nokia's CEO Stephen Elop internal letter depicting Nokia sitting ... |
When building a public facing website that allows visitors to post comments, link to media and/or upload media (e.g. audio, video, images) ... what should I do to protect myself legally in the case such visitors link to or upload content that they shouldn't (e.g. adult oriented media, copyrighted images and/or media ow... |
I am familiar with the term "highly coupled" but am curious if there are signs (code smells) that can indicate that code is highly coupled. I'm currently working with Java EE but this can apply to any language.
Edit:
In case anyone's interested, this article sounds helpful: In pursuit of code quality: Beware the tight... |
Is there nowadays any case for brevity over clarity with method names?
Tonight I came across the Python method repr() which seems like a bad name for a method to me. It's not an English word. It apparently is an abbreviation of 'representation' and even if you can deduce that, it still doesn't tell you what the method ... |
In the upcoming version of our web app, we've broken IE6, and we don't intend to fix it. We've had a clear warning posted for IE6 users for some months; we've decided it's time not to support it.
My question is: how should we communicate this to our users?
Some people here feel that we should block IE6 users who would... |
I'm working with a variety of Java EE websites which use internal libraries we've developed. For each website, we only upgrade to new versions of our internal libraries as needed, and before committing we make sure that the site compiles fine.
What this means is that when TeamCity does a build of one of our sites, t... |
We are integrating a testing process in our SCRUM process. My new role is to write acceptance tests of our web applications in order to automate them later. I have read a lot about how tests cases should be written, but none gave me practical advices to write test cases for complex web applications, and instead they th... |
First of all, this is not the generic 'make me a better programmer' question, even though the outcome of asking this question might seem similar to it. On programmers.SE, I've read and seen these get closed here, here, here, here, and here.
We all know there are a multitude of generic suggestions to hone your programmi... |
I was wondering how big companies of software developers check for bugs in their programs.
Do they just test it on several computers?
|
My main area: web development.
Of course, I don't expect anybody give away their 'gold mine' or whatever but I am struggling to see where I should be advertising my services. I have one other developer I work with and we have a lot of happy clients - on freelance websites.
Thing is, freelance websites just seem to suc... |
I've recently started at a new job and pairing has helped me become effective there very quickly. I am, however, having a hard time when we must do brief joint research during our workflow, covering API features, code examples, or command options. My team lead urges us to do all research on our pairing station, rather ... |
I am trying to put together a bug bash at my office and I was what was the best way to conduct it.
Ideally, I'm looking for the most effective way to manage testing and provide the staff with incentives to find relevant errors.
|
I did not find the lawyers' SE site, so I thought it best to post here.
/*
* ...subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* The Software shall be used for Good, not Evil.
*
* THE SOF... |
I have 3 questions about the GPL here:
If I use GPL software in my application, but don't modify or distribute it, do I have to release my application under the GPL?
What if I modify some software that my application uses. Then do I have to release my application under the GPL, or can I just supply the modified softwa... |
One of the side effects of the recent trend of "Lean" startups, and the app store era, is that consumers are more acclimatised to paying small prices for small games / products.
Eg.:
Online SAAS that charges ~$5 / month (the basecamp style of product)
Games which are short, fun, and cheap ($0.99 from the app store
Th... |
Isn't the App Store basically just Steam but for general applications?
|
Since my son started going to school, I've been noticing a very serious lack of organizations to encourage kids to program or at least letting them know how to get involved in programming. Are there any groups that you know of to help kids out this area?? And I'm not referring to tools to help kids learn, I'm referri... |
I'm still a student, without much real life experience in programming. I've never written anything bigger than ~5k lines of code. I've written code in both Flash and Java, and I just can't understand why people are writing web applications like video players (YouTube etc.) in Flash, and not as Java applets. So I want t... |
Every time I want to read something for example a book on Java, then I find so much stuff like many tutorials, many ebooks that I am not able to decide which one to choose.
I spend some time reading one, then two and so on and in the end I leave and gain nothing.
I like the old days when we had only few resources like ... |
I have started a project on CodePlex for a WebDAV server implementation for .NET, so that I can host a WebDAV server in my own programs. This is both a learning/research project (WebDAV + server portion) as well as a project I think I can have much fun with, both in terms of making it and using it.
However, I see a nee... |
In NYC, we are working on creating a collaborative community programming environment and trying to segment out software engineers into differing buckets. At present, we are trying to define:
Beginners
Intermediates
Advanced
Experts (and/or Masters)
Similar to an apprenticeship, you would need to demonstrate specific... |
So I'm foremost using a text editor for coding. It's a very bare bones editor; provides mostly just syntax highlighting. But on rare occasions I also need to debug something. And that's when I have to resort to an IDE (mostly Netbeans, but got fiddly Eclipse/Aptana working as second fallback).
For general use however I... |
Probably it is necessary to have an actual device. But I'd rather not have to buy a phone with a contract. Is that possible?
|
I want to start a home-brew pet project in PHP.
I've spent some time in my life developing in PHP and I've always felt it was hard to organize the development environment efficiently.
In my previous PHP work, I've used a windows desktop machine and a linux server for development.
This configuration had it's advantage... |
I have used Java Swing for some desktop applications. But I haven't used other GUI frameworks that much so I can't compare them.
There is definitely some things that I like with Swing and some that I don't like, but that is the situation with almost everything.
What are the biggest drawbacks with the Java Swing GUI fra... |
In my experience interviewing developers I feel like candidates who've achieved a Masters in Comp Sci tend to be worse programmers on average that those who don't have a Masters.
Is that just me, or have others noticed this phenomenon? If so, why would that be the case?
UPDATE
I appreciate the thoughtful comments. I th... |
I have a couple of friends interested in computer programming, but they're non-CS graduates; some of them have very little experience in software testing field (some of them took some basic software testing courses). I am going to be working with them on teaching basic computer programming, and computer science fundame... |
Lately I have been learning of more and more programmers who think that if they were working alone, they would be faster and would deliver more quality. Usually that feeling is attached to a feeling that they do the best programming in their team and at the end of the day the idea is quite plausible. If they ARE doing ... |
In my IB Computer Science class I am routinely asked by... pretty much everyone how to do X or implement Y. I'm the only person with any significant programming experience in the class and I do not necessaries mind teaching people about programming but so many of the questions could be simply solved by doing a little i... |
I'll be working on a software project with some friends of mine, and I've been appointed technical lead. None of these guys is a bad programmer at all, but I do have significantly more experience than them. I need to be able to distribute the work among everyone on the team, while also making sure that we don't tread o... |
I want to use an LGPL-licensed library in my app for Microsoft's app marketplace. Is that OK?
|
How often QA engineers are responsible for developing Mock Objects for Unit Testing. So dealing with Mock Objects is just developer job ?. The reason i ask is i'm interested in QA as my career and am learning tools like JUnit , TestNG and couple of frameworks. I just want to know until what level of unit testing is don... |
Can somebody point me into the right direction? I really don't have experience writing code but I'm a fast learner. I'm not trying to say it will be easy but I hope somebody can help me...
|
Background: I've run through a few tutorials and written some small projects. All is going well enough using Google and StackOverflow.
Several times in the last few days I've found myself wondering "what am I missing?" - I feel that I'm still thinking in Java as I write in Python.
This question over at StackOverflow is... |
Vorbis was never threatened by MPEG LA, so it is undoubtedly completely patent free.
(MPEG LA never misses a chance to spread patent FUD)
Windows supports mp3, so it isn’t because they want to push their crappy wma.
The GPL allows distribution alongside commercial products, and
Even if they fear to ship GPL software, ... |
I'm looking for a toolkit in the form of one or a couple of applications that can be used to write long technical texts (such as an introduction to a programming language).
What applications (or combination of) are suitable for this?
How should said applications be setup (for example how would one setup MS Word to be... |
Almost every developer has to answer questions from business side like:
Why is going to take 2 days to add this simple contact form?
When a developer estimates this task, they may divide it into steps:
make some changes to the Database
optimize DB changes for speed
add front end HTML
write server side code
add valida... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.