24
votes
3answers
2k views

Kernel mode web servers: A clever optimization or a security nightmare?

I was reading a Hacker News thread where one user posts a link from 2011 explaining that IIS is much faster than most other (*nix) web servers. Another user replies, explaining that IIS gets that ...
1
vote
2answers
98 views

Why don't we see (more) widespread adoption of lock-free dynamic memory allocators? [on hold]

In a multithreaded programming environment, lock contention on the heap is often enough a performance bottleneck. Theoretically at least, the cream-of-the-crop solution for this problem is to have ...
1
vote
3answers
61 views

How handle a chain of Whens or Thens in a Scenario?

I am trying to figure out how to write BDD scenario where it seems like I need a chain of "Then" conditions. How do I write it? As one scenario? As two scenarios? Here is how I've written as one ...
-1
votes
0answers
39 views

Where do free proxies come from and why do people make them freely available? [on hold]

I was doing some security testing and wanted to create a post request from a random IP, so I found a site that had a bunch of free proxies. It got me wondering where do all these proxies come from. ...
0
votes
0answers
31 views

What could possibly be a Mysql database structure for an web app say like Flurry?

Simply say, I'm working on a web App say like Flurry (http://www.flurry.com/), that would communicate with a Smartphone App trough API. Right now I'm designing the database structure, and I guess ...
-4
votes
0answers
54 views

How to license a script [on hold]

I want to sell a PHP script I wrote through my website, as I believe it is very useful script. But how do I license the script ? For example, if I sell a script 25$, I don't want the buyer to res-ell ...
-2
votes
0answers
29 views

Which is the best tool to automate [on hold]

What are the best automated testing tools can be adopted for small projects (using php). Since I am using agile development, I need to automate the my projects, 1. There are many tools which is the ...
1
vote
1answer
22 views

Is there a standard project metadata / dependency file for Python?

In my Node.JS projects, I save my project metadata into package.json: dependencies, version number, author, description, and so on. This makes it so anyone can clone my project and run npm install to ...
0
votes
0answers
37 views

Category tree, is it worth it?

I need some insight on how to design my database regarding categories. My site allows the users to post several different types of things for example, recipes, articles, products etc and there will ...
-1
votes
1answer
23 views

On a linux/rails app what tools would one use to have a write once record set [on hold]

I'm attempting to store data that I don't want anyone to be able to change.. Ever. It is a running log of financial transactions that happen. It would be in partnership with another system that ...
1
vote
2answers
71 views

Helping to avoid first time implementation mistakes

I am getting close to "finishing" my first major, non-trivial PHP/MySQL website project, and while the code is generally fine and works properly, there are many problems with it considering the fact I ...
0
votes
1answer
21 views

Domain Analysis vs System Analysis

I am trying to determine the differences between systems analysis and domain analysis. It seems that any systems analysis occurs within a domain--so are there techniques, concepts, tools, etc. that a ...
0
votes
1answer
54 views

Need help making the images with overlays responsive for mobile devices [on hold]

The images are the circles on website http://www.ew3tech.com#sections_2 with overlays. Or go to the website at http://www.ew3tech.com and then click on find out more to go the section containing ...
-1
votes
0answers
13 views

C++ , string in a function has always the same length [migrated]

What is wrong with this code? input has always the length of 4 in my function test, no matter if my string is actually longer or shorter. #include <iostream> #include <string> using ...
4
votes
1answer
76 views

In 'branch by abstraction', how would one do code review?

My manager recommended I consider the technique of 'branching by abstraction', in which, rather than creating feature branches, multiple developers work in the same version control branch, and ...
-1
votes
0answers
19 views

How can I integrate cloud storage for documents? [on hold]

My client is a not-for-profit that shelters cats and dogs. To fulfill their mission, the organization provides veterinarian care for the animals. The resulting veterinarian documentation is necessary ...
-1
votes
1answer
79 views

A convention for naming an executable that runs without a UI [on hold]

I often build executables that are designed to run without a window, just like many of the executables you see in task manager. Some of them are services, others are daemons (e.g. the print spooler), ...
2
votes
3answers
80 views

Is it an abuse of SOA to use it as a database abstraction layer?

I have a question whether it is a good or bad practice to use an SOA layer for the application servers to talk to the database. A web application server can obviously directly connect to a database, ...
0
votes
0answers
15 views

Apache Cordova Tools For Visual Studio 2013. Not getting Detected [migrated]

I was trying to install Apache Cordova Tools on Visual Studio. Following the process given here. I Installed all the dependencies manually(Including ITunes). I Set the correct Environment Paths ...
-3
votes
1answer
28 views

which are the features that make difference between mobile application which work for ios 6 and ios7 & 8? [on hold]

please , I need to find the libraries and the packages which are diifrent in developing for ios 6 and ios 7 & 8 . I have a mobile application which works for ios 6 and it is not shure that it will ...
1
vote
1answer
71 views

MVC URL structure with URI parameters

When creating routes for your MVC web application I have seen two possible ways to pass variables to a controller method: With the first approach the variable is passed to a parameter of the ...
2
votes
0answers
60 views

Is it good to split big repository into smaller ones to have separate history/issue etc or keep it big?

We are currently porting our huge svn repo to git and we are thinking to export subdirectories of repository, each one containing source code of independent binaries, documentation or robot tests, ...
-3
votes
0answers
26 views

Suggestions for Subscription-Based Software Product Licensing [closed]

Can anyone suggest some solutions or products for doing subscription-based software product licensing? We have used dongle-based solutions in the past but, with the proliferation of virtualization, ...
-3
votes
0answers
39 views

abstraction and encapsulation example [closed]

lets say we have a mobile phone. We are listening to music on that damn thing but we are not concerned about how the phone plays the music.This is abstraction Now,the way the phone plays the music is ...
-1
votes
1answer
92 views

Why is it said that a class represents an abstraction? [on hold]

I think that abstraction represents only the essential things needed for the purpose as there are so many unnecessary properties. So why is it said that a class represents an abstraction?
-2
votes
0answers
47 views

Graphing Logical circuit C++ Programming [closed]

I have written a program in C++ that inputs 3 files that describes a logical (non-sequential if matters) and user in simulation file tells which values to change (Just like ModelSim). I was able to ...
-4
votes
0answers
22 views

Adding password accèss to HTL template [closed]

I'm working on my first password protected page. I am building a client website from a template. The template has a sign up page, but I don't know how to make it actually work in the code. Client ...
0
votes
1answer
68 views

Where does the Liskov Substitution Principle generally lie in different constructor parameter lists?

There are two other questions I've posted that dealt with specific cases of this: Where does the Liskov Substitution Principle lie in a subclass passing extra arguments to similar, tightly-related ...
3
votes
4answers
154 views

Architectural / Application Practices to guard against 'breaking changes'

We have an application where the customer has changed their mind about a large area of functionality and this area requires a large amount of re-work. Whilst the re-work itself is not an issue, it ...
8
votes
5answers
2k views

class in OOP language and type

In programming language theory, a type is a set of values. E.g. the type "int" is the set of all integer values. In OOP languages, a class is a type, is it? When a class is defined with more than ...
1
vote
3answers
424 views

Why is it a good practice to keep Javascript code in separate files?

In web development we are commonly used to keep Javascript code in separate files, but sometimes we need this Javascript code to manipulate server side data locally. For example, making an Ajax Call ...
-3
votes
0answers
31 views

Reading/Monitoring CAN data across 'word' boundaries [closed]

If I have a CAN data stream, where a certain parameter is spread across two 'Words', what is the process to mask the data I need and combine it into the result that I need? For instance, if the data ...
5
votes
2answers
248 views

How much logic can be put into a command? Or differently: What kind of logic is command pattern for?

I have been using the command pattern for quite some time but I'm never really sure how much logic I can actually put in the Execute method. My current implementation of the command pattern looks ...
-1
votes
1answer
140 views

Working with overzealous SoftDevelop company - how to mitigate their spending enthusiasm? [closed]

I'm a software developer in a non-IT company. We want to significantly increase use of new IT technologies in our business model (by which I mean clients personal accounts, online payments, Google ...
-7
votes
0answers
55 views

Is it possible to submit expired information and make the website believe it was submitted in time? [closed]

By expired information, I mean I was supposed to submit information within a given time limit, but I exceeded it by like an hour.When I submit as is, I get an error that I ran out of time.How can I ...
-4
votes
0answers
38 views

Program on cricket scoreboard [closed]

why is the following code not giving results and how to get results? I needed to post whole code because it would be difficult for people to understand the problem without whole code.whenever I run ...
-1
votes
0answers
37 views

Advice needed on Selecting Server VS Cloud [closed]

I am having a big issue. Imagine that I am planning to launch a local social media site. You know what it is, multiple users, lot of data uploads (ie: photos, notes, etc). However I am having a hard ...
2
votes
1answer
80 views

What should be the structure of a person to person store database?

I am going to create a person to person store with Laravel, a website where its users can share and sell their product or their mobile, TV, Computer, Shoes, Shirts, Books, Cars, Bags, Animal, etc. I ...
-5
votes
0answers
36 views

Best Elipse IDE plugins for developing C/C++ [closed]

Which are the best plugins for developing C/C++ in Eclipse IDE? (besides CDT of course).
0
votes
2answers
181 views

Model-View-Controller: who creates whom?

In "Pattern Oriented Software Architecture - Vol 1" (p. 131), the author said that View is responsible for creating Controller. But in "Head First Design Patterns" (p. 562) it is the Controller that ...
-3
votes
0answers
47 views

How to crop text within HTML but leave markup (e.g. span, img tags) intact?

I have something like the following HTML content: <div class="rteleft"><h2></h2></div> <p>If you're looking for a beach holiday in Japan then there are few, if any ...
-1
votes
0answers
14 views

How BeanPropertyRowMapper works internally in spring?

I know that BeanPropertyRowmapper use setter method when I fire select query but is it uses getter method too or not ? I don't want to make my custom row mapper or hibernate or JPA. I have face below ...
0
votes
3answers
89 views

Should a scrum team estimate time for the user stories during Sprint Planning, or before it? [duplicate]

I am newbie for scrum. Lets say we have all the user stories for the product, and the product owner gave them the priorities. Now as a team, when we should estimate times for these stories? Should we ...
-2
votes
0answers
35 views

Architecture for allowing multiple user interfaces [closed]

I'm writing a time tracking application that will have a command-line interface, a desktop client and a web client. What is the best architecture for this? I'm thinking in making a stand alone back ...
-3
votes
0answers
32 views

The C Programming Language (C&R) ex1-20 . I encounter some trouble [migrated]

/* * 1-20. Write a program detab that replaces tabs in the input with the proper number * of blanks to space to the next tab stop. Assume a fixed set of tab stops, say every n columns. * Should n ...
3
votes
1answer
91 views

Algorithm to assign edges to smallest possible polygons?

I'm designing a procedural city generator, and the first step of the generation process is the creation of city streets. These streets extend out in a straight line to a point, then they can either ...
2
votes
2answers
103 views

Initialize physical resources in constructor

Is it an acceptable practice to initialize physical/external resources from a constructor when the resource is needed for the object to do it's work? For instance, let's say I wanted to create an ...
0
votes
2answers
147 views

Which language has most advanced support for proof based programming? [on hold]

By proof based programming, I mean, you can somehow prove the correctness of your program without testing. I heard that Ada has a feature called contract, I also heard that, if you can pass Haskell's ...
-3
votes
0answers
24 views

link button in WYSIWYG toolbar doesn't work properly [closed]

I'm using bootstrap-WYSIWYG editor in my application, but when i click the link button and try to input the text in input box, it gets disappears. please, help me to reslove this problem..
-1
votes
1answer
45 views

Should I switch to a MVC framework? [closed]

I've created a real-time single-page game that uses Node.Js and sockets. Almost every second, I'm updating 20+ span with jQuery in user's browser. I already wrote a few thousand code in client side ...

15 30 50 per page