instruction stringlengths 34 19.9k |
|---|
I stumbled upon this quote from Bill Gates: "You should definitely send me a resume if you can read the whole thing." He was talking about The Art of Programming books. So I was pretty curious and want to read it all. But honestly, I don't understand it.
I'm really not that intellectual. So this should be the reason wh... |
I've read recently some criticism (see 1, 2, 3) about the packaging distribution system of two popular programming languages: Ruby gems and Python eggs. The most important argument stated against them is that they replace the system package manager (in case there is one, as in every Linux distribution), which makes egg... |
My team uses Team Foundation Server for source control, and today I fixed some bugs and smoke test application before I checked it in but I forgot to comment some code. (This code made the UI a little bit strange.)
I want to know what good practices there are before checking code in - I don't want to make this kind of ... |
As a programmer I have an inherent nagging annoyance at my tools, other peoples code, my code, the world in general. I always want to improve it. So I refactor, I stay on top of the latest techniques. I try and learn patterns, I try to use frameworks so as not to reinvent the wheel. I can write a tech spec that will bl... |
I understand how exceptions work and how to catch and handle them in C# but how can I simulate events that may cause an exception to ensure that it is caught correctly? For example, is it possible to run an application in a kind of test bed where it's possible to simulate network problems, database problems, etc? Excep... |
I am just now getting into formal unit testing and have come across an issue in testing separate internal parts of functions.
I have created a base class of data manipulation (i.e.- moving files, chmodding file, etc) and in moveFile() I have multiple levels of validation to pinpoint when a moveFile() fails (i.e.- sourc... |
Do programmers perform better when working from office or from a location of their choice? Also do they work better with fixed timings compared to flexible hours?
|
After much time and effort, we're finally using maven to manage our application lifecycle for development. We still unfortunately use ANT to build an EAR before deploying to Test / QA / Staging.
While we made that leap forward, developers are still free to do as they please for testing their code. One issue that we h... |
Has anyone of you guys integrated or is thinking about integrating either admob, MS pubCenter, adwhirl or any other advertising provider into your apps? Please share your experience...
Who pays best?
Any regulations?
Any problems with getting the app approved by Microsoft Market?
If you chose Admob: Which plugin do y... |
I liked the core of this question, and wanted to re-ask it in a way that made it less about 'fun' and more about 'What do these past mistakes tell us about how we can write and test software better?'
As an SDET, I'm always looking for anecdotes about new and interesting ways that programs can fail. I've learned a lot f... |
(moved from stackoverflow)
I have found lot of discussions here on about which keyboard, desk, light or colored background is best - but I can't find one addressing the layout of the whole office.
We are a company with about 20 employees moving to a new place, something larger. There are two main development practice... |
We've been dutifully using Trac for several years now, and our "active tickets" list has grown to almost 200 items. These include bugs that are too low priority and too complicated to fix for now, feature requests that have been deferred, issues that have never really generated complaints but everyone agrees ought to ... |
Before I ask this question I will preface it with our environment. My team consists of 3 programmers working on multiple different projects. Due to this, our use of testing is mostly limited to very general black box testing.
Take the following assumptions also:
Unit Tests will eventually be written but I'm under s... |
I was recently hired in a big company (thousands of people, to give an idea of the size). They said they hired me because of my rigor and because I was, despite my youngness (i'm 25), experienced as a C/C++ programer.
Now that I'm in, I can see that the whole system is old and often uses obsolete technologies. There is... |
I'm a long time programmer in C# but have been coding in Python for the past year. One of the big hurdles for me was the lack of type definitions for variables and parameters. Whereas I totally get the idea of duck typing, I do find it frustrating that I can't tell the type of a variable just by looking at it. This is ... |
In a week I will start a new job at a manufacturing company managing the development of a new eCommerce site. The company scores about a 3 on the "Joel" test. I will inherit 3 programmers who developed the company web site and do general IT programming.
I have the grey hair and credentials to have their initial respect... |
I'm currently writing a job requirement for a software engineer position for my company, in which we are looking for a developer to work on client-side web application work. How should I title the job title / position? I don't necessarily want to call it a "Web Developer", for fear that it might attract more designer-y... |
In "Extreme Programming Explained", Beck lists 13 "primary practices". They are:
Sit Together
Whole Team
Informative Workspace
Energized Work
Pair Programming
Stories
Weekly Cycle
Quarterly Cycle
Slack
10 Minute Build
Continuous Integration
Test-First Programming
Incremental Design
Which of these have you actually im... |
There've been many discussions on SO about the differences between (Rational) Unified Process and the Agile methodology. Can someone please give me an example on how different a project plan would be if there are 2 teams doing the same project, but following these 2 different methods?
|
I just completed a small project in JavaFX, only finding that it has been declared dead by Oracle. JavaFX Script actually seemed to be a pretty interesting language with some neat features for its domain, particularly with bind for data binding and on replace for triggered events. These features actually make the lan... |
How does the web app http://20q.net work? Can I write a similar program, in a smaller scale, and if yes how?
|
What do you do when a user asks for a complex feature that you could implement, but you aren't going to do it because 1) it adds unnecessary complexity to other users 2) you are not going to do it as an option either because you don't want your settings panel to be complicated.
I wrote an iOS app and there are a few us... |
I was sent sent a large wall of text from a user of the website I maintain at my job. They are clearly upset for having to deal with a horribly outdated web application that has not seen any serious updates in over 6+ years. No refactoring has been done, the code quality is terrible, the security unchecked, policy comp... |
My situation is this.
I coded in php and built a facebook app. After 3 days it has 13,000 users.
I have my own server at hostmonster. It is a regular plan costing me about $70 per year. It has unlimited bandwidth.
I did not anticipate hosting apps or that it could pick up so many users.
Already 1 Gb of data was trans... |
I have seen similar question on this SE site but none comes close to a sure shot answer and many are rather subjective. So i am taking a website as an example to be more objective for you to decide its development price i should quote for the complete work.I would like to have specific figures.
In past I have developed... |
We have to admit that programming is much more difficult than creating documentation or even creating Gantt chart and asking progress to programmers. So for us that are naives, knowing that programming is generally more difficult, why do business analysts and project managers get higher salary than programmers? What is... |
I realize this is somewhat subjective, but I can't find a good case for one or the other :
it "should do something"
it "does something"
Proponents of the should style mention that it forces you to actually question what it is you are trying to achieve, while detractors find it just redundant.
Is there a consensus... |
When I program, I often get too involved with details. There might be some little thing that doesn't do exactly what I want it to, or maybe there's some little feature I want to add. Either way, none are really essential to the application - it's just a minor niusance (if any). However, when trying to fix it, I may hap... |
When I changed my Facebook password yesterday, by mistake I entered the old one and got this:
Am I missing something here or this is a big potencial risk for users.
In my opinion this is a problem BECAUSE it is FaceBook and is used by, well, everyone and the latest statistics show that 76.3% of the users are idiots [s... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.