0
votes
0answers
3 views

What's the best way to include meta keywords in a webpage?

I know I shouldn't use the <META NAME="keywords" /> element, but I have a webpage that needs to present as much information in English as possible in as few words (a résumé). For ...
0
votes
1answer
14 views

What is the mechanism behind polling SCM in Jenkins?

As I understand, configuring Jenkins to periodically to detect changes in the repository is as simple as enabling the "Poll SCM" option and setting up the schedule in a cronjob manner. However, in ...
-2
votes
0answers
31 views

What are common ways to display data in a table

I've run into this issue a few times in my programming life and I'm wondering if there is a modern, standard way to do this. Basically the idea is you have a huge DB table and you want to display the ...
1
vote
1answer
27 views

What is the point behind building an abstraction layer PDO Adapter class instead of using native PDO?

I have built a PDO adapter class because I thought, at the time anyway, it would be a good idea. After fighting with it, it makes no sense to me. Isn't the design of PDO the way it is to keep you ...
0
votes
2answers
53 views

Explicitly define enum values, even if the default value is the same?

There are times when an enum's values are important: it is not necessary for them to be unique, they also need to have specific values. In such cases, should the values be explicitly defined, even if ...
0
votes
2answers
42 views

Multiple applications using one database (Statistics)

I believe that it's best to have a DB for application (or at least for a group of apps that share the same logic). If I'm wrong correct me. But given this scenario how could I obtain some statistics ...
-4
votes
0answers
14 views

Showing the attributes of a geoserver WMS Layer in Leaflet [on hold]

I am using this code in leaflet to show the attribute information in a popup upon mouse click but it is not working. the Layer source is from my geoserver WMS Please can anyone help. Thank you // ...
-1
votes
1answer
40 views

Is there an open protocol for serializing objects, consisting of common data type primitives, to binary data? [on hold]

I am developing a project that will consist of various nodes on a network that will need to pass back-and-forth sizable amounts of data. Since the data can get rather large, I'd prefer to avoid using ...
-1
votes
0answers
43 views

Is a bachelors degree needed for software development jobs [on hold]

Hi I am currently doing Computer Science at University,I have failed a few classes which meant that I am unable to progress into the honors year of my course. I failed due to the amount of work I have ...
-3
votes
0answers
36 views

How are requirements to the programmers called? [on hold]

What is the name/abbreviation for the requirements that are provided to a programer to implement something?
-4
votes
0answers
24 views

How to autowire a generic bean in spring [on hold]

How to autowire a generic bean in spring? I have a dao implement as follows: @Transactional public class GenericDaoImpl<T> implements IGenericDao<T> { private Class<T> ...
-2
votes
0answers
36 views

How do i make objects interact with user drawings? [on hold]

Just as the title says. I want to figure out how to build a canvas which allows the user to draw on and at the same time, i want objects on screen to be able to interact with the drawings. E.g. ...
1
vote
2answers
61 views

Software license without modify

I have my own company and I would like to make our customermanagement system opensource, so everybody can see, what we do. But, there is a very important thing, I don't want anyone else to use or ...
0
votes
1answer
61 views

How to give a talk on reactive programming and Reactive Extensions?

First off, I hope I have the right board, if I don't please comment which would be more appropriate. I am giving a 10 minute introduction to reactive programming. Its meant to be a live coding ...
0
votes
1answer
101 views

Best practices for developing desktop application for Windows and Linux? [on hold]

I have to provide a small application that should be run on both Windows and Linux \UNIX. A desktop application. It should provide one screen and a few buttons on it. It should run some commands in ...
0
votes
1answer
42 views

Git and Visual Source Safe interop proposed workflow

I am going to be working with VSS but I am much more productive and diligent with GIT. My thinking is to follow a work flow like: Get working copy from VSS git init create a "vss_branch" branch ...
-5
votes
0answers
24 views

Email notification on Task creation shows parent name as null [on hold]

I am having a logic to create some tasks and assign those to different roles related to Opportunity when an opportunity stage is changing from one to another. I have implemented this in trigger and ...
0
votes
1answer
21 views

issues about Spring initialization in different environment

I have some questions about spring's initialization in different environment. 1. In web container context, such as tomcat. I knew that spring can be initialized by declaring ...
15
votes
4answers
2k views

Code that converts a value into a different representation, then converts it back to where it started is bad, but how?

I was reading http://www.yacoset.com/Home/signs-that-you-re-a-bad-programmer It mentioned - "Yo-Yo code" that converts a value into a different representation, then converts it back to where it ...
2
votes
1answer
144 views

How to store a potentially large amount of optional properties of objects?

I'm using Entity Framework Code First with ASP.NET MVC. This handles my database design based on the domain models within my application. As it stands, the engine I'm writing will have a website ...
-4
votes
0answers
33 views

How to best present the donate button? [on hold]

I'm releasing some donate-ware (a website based tool) and would love to know what presentation of the appeal works best. For example: "Donate" in a big red button on it's own (they know what to ...
4
votes
4answers
100 views

Unit testing when it's harder to come up with concrete cases than write the logic

I have little experience with unit testing, but at the project we're working on right now we decided to do unit testing. The project is a WPF/Entity Framework application, and the part I'm being ...
0
votes
0answers
21 views

Pluggable UI Components in Java Web Applications

I will try to explain my question with an example. Let us say that we are writing a hotel reservation system which is web based using Java. We will have different payment methods, say Paypal, Master ...
-1
votes
0answers
42 views

Potholes in a multiplayer snake where players can use their own algorithms

I'm developing a snake-like multiplayer where players can use their own algorithms to determine the next move of their snake. A little background: My game searches a folder for any compatible .jar ...
-3
votes
0answers
27 views

Frameworks for developing SAAS applications in java [on hold]

Are there any frameworks which assist in building SAAS applications ? Just to gain experience, I want to build a SAAS application. Say a library system. Other than knowing that the basic approach ...
1
vote
1answer
47 views

Transferring information between a web server and a Python backend?

I have been Googling my problem but haven't been able to come up with anything; here's the situation: I have a PHP / MySQL website hosted with 1and1.com. I also have a Python program that runs on a ...
-5
votes
0answers
21 views

best framework/library for async coding in python [on hold]

I have read that twisted is a full featured library but complex. Tornado has gotten good reviews as has Gevent. I have been using the anaconda distribution of python on mac OS X mavericks. My ...
-2
votes
1answer
50 views

Comp Sci Fundamentals vs Practical knowledge [on hold]

This will probably come off as a complete noob question, but lately, I've been wanting to learn more about computer science to further my own skills and knowledge and increase my competitiveness for ...
-2
votes
0answers
29 views

Why dose PSR-1 avoid any recommendation about property names? [on hold]

Why dose PSR-1 avoid any recommendation about property names? Could not they reach any agreement? I think suggesting a style was much more useful: $StudlyCaps, $camelCase, or $under_score.
0
votes
0answers
11 views

Python and/or statements? [migrated]

First year Comp Sci student here :P I'm confused as to why this code isn't working like I expected it to (the while loop is just there for me to easily check cases): i = 0 while i == 0: ...
0
votes
1answer
27 views

How to create work for a client on login

I have a log-in service that runs a CPU-intensive hash multiple times when a user logs in. In order to reduce the effect of a login DDOS, is there any sort of function that I can "ask" that the client ...
-3
votes
0answers
27 views

Client-side template markup [on hold]

I'm thinking of jsfiddle where you have your HTML, your js, and your CSS, and it generates the output based on what you've entered in each box. What I'm looking to do is something similar: you have ...
2
votes
3answers
98 views

Should service layer catch all dao exceptions and wrap them as service exceptions?

I have three layer Spring web app: dao, service and controllers. A controller never calls directly the dao, it does it through the service layer. Right now, most of the time if there is dao exception ...
-1
votes
0answers
25 views

Domain, DTO, and Bean objects: choosing naming conventions

So, we have a lot (A LOT) of business domain-specific xml files (and schemas) that we need to parse, transform and store in a database model - the usual deal. We plan to use code generation a lot; ...
-3
votes
0answers
16 views

find Nearrest path between custom markers and a point clicked on a map [on hold]

I have an array of custom made points in Google maps API.i want to find the nearest point to the clicked point on the map.
0
votes
3answers
142 views

Implements > extends, but what about variables?

It's preferable to write programs that depend on interfaces rather than on superclasses, but what when you want a class to have certain variables? Sometimes you want a class to implement a certain ...
0
votes
2answers
57 views

Return equal occurrence of char in a list of strings

I have an array of strings ["abb", "bbxxaa"]. I would like to print all characters that occur equal times in each index so in above case I would print bb because they occur twice in both indexes and ...
0
votes
1answer
22 views

Plugins and exporting an API between python scripts

I've got a python script, which should read a subdirectory and make all the scripts within it callable like this: python mainscript.py subscript arguments I've figured out most of the details but ...
1
vote
0answers
59 views

Design for an application framework that will allow each implementation to customize parts of the UI

I am tasked with designing an application framework that will allow each implementation to customize parts of the user interface. One such example would be that the implementation (let's call it ...
0
votes
1answer
36 views

database migration with data already in the database in production

I don't know much about migrations, but this is a specific question I'm not sure how to answer. In production, how can one change the database format/schema when there is already user data in there? ...
1
vote
1answer
67 views

For HTML report generation, should CSS be put into stylesheet or written into the html file?

I'm writing a report generator for an automation tool. Right now I have a report template html file which is read by the generator and the results are filled in by the tool to be written to another ...
0
votes
0answers
85 views

Should I hide certain HTTP status codes?

So I have different seniors taking different positions on this. Some saying hide nothing, those codes are there for a reason. Others saying to hide most status codes, reducing the number to a much ...
-4
votes
0answers
33 views

Moving from a using a host to hosting my own [on hold]

I have made websites for so many years and uploaded the files to the space provided by the web provider. Now I want to host it myself. What are the differences between using a hosts space and ...
0
votes
1answer
95 views

How does hopper prevent disassemble itself?

It's a "how decompiler prevent decompile itself" question. I have tried : rename the Mach-O 64-bit executable x86_64 file remove the LC_UUID and LC_SIGNITURE load commands but somehow hopper can ...
-1
votes
0answers
60 views

Should contract front-end developers have their own laptops and know how to set up environments? [on hold]

Ive been a contract front-end developer / Drupal themer in London for over a year now but I spent 9 months with the same company so Ive not worked in that many different places. How often are font-end ...
-3
votes
0answers
31 views

OCPJP questions with answers [on hold]

Can you guys give me some links which have OCJPJ questions with answers ? I am new to OCPJP and I iike to enhance my knowledge. I Hope I can learn more through doing questions and answering them. I ...
0
votes
0answers
135 views

Why doesn't grep return TRUE in C++? [migrated]

I'm adapting some of my code from Bash to C++ and I have no idea why this allways returns FALSE. #include <iostream> #include <stdlib.h> int main() { if ( system ("grep -q ...
0
votes
2answers
95 views

Should I have an object as attribute or primitive id?

I am wondering which principle should I use. Here is my situation. I have a class named TravelOffer. This class looks like this: public class TravelOffer { private final long id; private ...
0
votes
0answers
30 views

Should I inject a data dependency into an Angular Directive?

I am currently implementing an AngularJS directive. It is fundamentally a reusable widget comprised of a select box and a table which populates based on the item in the select box. My point of ...
0
votes
1answer
23 views

Updating ip address for custom domain

I'm looking to transfer the ipaddress for my site from one ip address to another. Reading through the Register.com documentation it says that it may take awhile for the DNS changes to ...

15 30 50 per page