0
votes
0answers
3 views

How much physical memory is consumed by the stack of a .NET thread?

In Stephen Cleary's article in MSDN magazine "Introduction to Async/Await on ASP.NET" he says that "every thread pool thread on a modern OS has a 1MB stack." (modern OS == Windows 7/8 for this ...
0
votes
1answer
33 views

Number of strings containing a specific substring

I've seen numerous questions (and answers) concerning the number of binary strings (e.g "10010" containing some binary substring (e.g "00"). I'd like to know if there is a way to generalize this: ...
1
vote
3answers
84 views

What is the difference between a variable and a parameter?

I do not see to point of difference between a variable and a parameter. Help please.
0
votes
2answers
64 views

Better using C than C++? [on hold]

I am a student learning Software Engineering. And my favourite language is C. So for my project software which language should I use, C or C++. Is it true that using C++ increases the space, time ...
-1
votes
1answer
28 views

How to store language words of dictionary [on hold]

What is the best way to store words and meaning of offline dictionary I am using c# Dictionary class I am confused about database of words
-3
votes
0answers
34 views

How to multiply large integers by divide and conquer method [on hold]

i want divide and conquer multiplication of large integers code in C++ i am separating digits of integers but i don't know how to multiply the pairs with one another and then shift the zeroes and ...
-1
votes
0answers
14 views

How to write in existing excel using JXL?

I have created a keydriven framework and with these I am able to read excel sheets and execute some test cases with it. Now what I want is whenever my test cases are executed , it sets the status to ...
-3
votes
0answers
52 views

Billing for hours wasted on a Small Project [on hold]

Where do you draw the line with billing for hours that you worked that were either spent hunting a bug that "shouldn't" have taken so long to fix or spent refactoring when perhaps it wasn't completely ...
-2
votes
0answers
17 views

Web development with Servlets

I've been starting out and learning Java for web development with Java EE7 and out of all the tutorials i can have found, they coded their websites with Servlets. When looking at github repositories ...
0
votes
0answers
26 views

Browser game played in an iframe - security concerns

I'm not sure if this counts as an Information Security or Webmasters question rather than Programmers, however I'll see how we go. I've been prototyping a help website for a particular browser game, ...
3
votes
2answers
343 views

Code maintenance: Is it better to develop in English or my mother tongue? [duplicate]

Suppose I develop an application for a given company of my own country. Is is better to code in English or with the language of my country ? I mean, if it is better to comment in French and name the ...
0
votes
1answer
126 views

Boss is ordering me to send spam. How to I deal with this issue/what is my options?

We have corporate dedicated server, which I'm the only one in charge of, and my boss is having a fixation that sending mass emails to somehow found addresses that he knows they(owners) will be ...
1
vote
1answer
41 views

Software architecture confusion App-Server/Client

i have a question about the following software architecture: So, there is one database, an app server, which provide a restful service, a client and a framework, used by the app server and the ...
0
votes
0answers
14 views

Using white text in Android UI design. xyY Color space or anything else? [migrated]

I'm working on the UX part of an Android application. My client has provided this Dribbble Shot as an example of the visual output they're expecting: Inspired by the menu created by Dribbbler, ...
0
votes
2answers
27 views

Making sure loaden (non default) config is valid

I'm writing a device Software in which the device must handle much data. Therefore it has a database, either on NV-Ram (Non-volatile memory) or a SD-Card. Due there's a DB which I can use, I also use ...
-1
votes
0answers
24 views

Java + Python for Apache Storm topology

Is it possible to have a topology that has a combination of Java bolts and Python bolts in Storm? If not is it possible to have a Java topology talk to a python topology and vice versa?
-3
votes
0answers
40 views

A “class in Python” [on hold]

I'm a novice to programming, I have been teaching myself Coding Can some explain to me what a class is And give me a real world example Thanks Also if someone is willing to mentor me I would be ...
0
votes
4answers
64 views

Does this python program obey functional paradigm?

Below is the hailstone sequence program considering the rule of thumb in functional programming. The simple rule of thumb is: if you can replace any expression, sub-expression or subroutine call ...
0
votes
1answer
23 views

Difference between overhead of B frame and P frame

I understand that B frames either find the motion vector of the best matching block from either the past or the future reference frame. And P frames finds the motion vector of the best matching block ...
0
votes
0answers
27 views

Design pattern for multiple companies in AngularJS

We are on the verge of launching v3 of our in-house product. v2 was written completely in AngularJS and V3 will be the same, but written completely in Typescript. We have a few customers that have ...
0
votes
0answers
106 views

Is my design too complicated for a new developer to work with? [on hold]

I've been developing a PHP user management system for the past year, targeted towards novice web developers (i.e., they can hack together a simple PHP script, but lack understanding of modern design ...
-1
votes
1answer
48 views

Would it be troublesome to learn C# and F# at the same time? [duplicate]

I was pondering the idea of learning F# while I learned C#. It isn't my first programming language. I learned Python first and I saw F# and it seemed very much the same. I thought it may be hard to ...
-4
votes
0answers
21 views

How do you read lines from a txt file and store it in an array and print a random line from it? [on hold]

I have two txt files that i need to read a random line from each txt file has 10 lines and i need them to be printed where my program is currently printing "you dun wun" and "oh noes you dun lost" If ...
0
votes
2answers
32 views

When do I have to provide source code for firmware that uses GPLv2 libraries?

Suppose that I am writing the firmware F for the device D, and that I am using the library L which is licenses under GPLv2. The library L is a "source code library" that means that it is not compiled, ...
0
votes
1answer
13 views

SOA: Make each level of a service stack a package (NuGet etc.)?

Say I have a service that has the following hierarchy: Controller Business Logic Data Adapter All of these make up a service that presents an HTTP API that can be used by other services. Together ...
1
vote
2answers
27 views

What to do with user stories that depend on horizontal integrations?

How do you handle a user story when it depends on horizontal integrations in an application? An example would be a user story such as, "I would like to have audio help on the start screen." Let's say ...
1
vote
3answers
74 views

How do latency and bandwidth form tradeoff?

From Instruction pipelining section in Tanenbaum's Structured Computer Organization: Pipelining allows a trade-off between latency (how long it takes to execute an instruction), and processor ...
4
votes
2answers
84 views

How should I unit test mathematical formulae?

I have a number of functions that are pretty close to the mathematical definition of a function. For example, a simplified version of one of these functions may look like: int function foo(int a, int ...
0
votes
2answers
71 views

Is it better to call a function multiple times, or to assign a variable multiple times and call the function once?

Is it better to write if (condition) { do_something(0); } else if (other_condition) { do_something(1); } else { do_something(2); } or int variable; if (condition) { variable = 0; } ...
0
votes
2answers
70 views

Organizing C++ Components [on hold]

In my current company we've brought the discussion about how to organize most of our different C++ components considering the following requirements: There might be interdependencies between ...
-1
votes
0answers
30 views

Software architecture design basic literature [on hold]

I am a mostly a self-taught programmer. I always thought, that designing of application architecture - it's something similar to writing a painting or a book. I thought, that it's pure art. You can do ...
0
votes
0answers
30 views

How to profile and compare two client-side approaches?

I'm facing a project in which presumably large datasets will be interactively visualized client-side. These datasets' sizes vary, both in number of rows and number of columns. The visualizations and ...
0
votes
1answer
33 views

Software License question [duplicate]

I am building some software which I am storing on Github (public). Is it possible to change the license so that I can sell my software at some later point in time, as long as no one has contributed ...
-4
votes
0answers
40 views

Where to go now? [on hold]

I have just graduated computer science and received a B grade on my final exam. The next step for me is to get a job as a programmer. Or that is what I want :) however, I have tried being in a ...
-4
votes
0answers
65 views

Is 28 too old to try college again to become a Software Dev? [on hold]

I have about 10 yrs of actual IT experience. Started off as a lowly tech at 18, then moved up to IT Analyst, and now IT Manager. I'm not exactly fond of the hardware/networking side of the IT world, ...
0
votes
4answers
40 views

When to use controllers in mvc

I am studying mvc5 in asp.net and wondering if there is a general rule when to use a controller. If I have a business object like Employee will I create a controller named Employeecontroller? But why ...
-5
votes
1answer
50 views

Do you have to be good in English to a software Engineer? [on hold]

I have college teacher who is really average in English. He claims that he a Senior Software Engineer in C#. When he teaches the class, most students including me don't understand what he is saying, ...
0
votes
0answers
10 views

iOS: Writing tests for blocks [migrated]

I am trying to write a test for a function that takes in a success and failure block. Here was my first attempt at a test: - (void)testThatValidSearchProducesSearchResults { __block NSArray ...
-3
votes
0answers
27 views

Commiting sql file to svn [on hold]

Where should I place the exported SQL file in a project and should I commit the exported SQL file in svn whenever I commit my code? I'm using tortoise svn. Edit: I'm asking about should I commit the ...
9
votes
6answers
723 views

Bridging the gap between abstract machines and computer achitectures? [on hold]

I always feel disconnected between abstract machines (such as Turing machines) and computer architectures (including virtual machines' architectures, Von Neumann's achitecture). So I would like to ...
1
vote
2answers
65 views

What does “issue or start an instruction” mean?

From Section 2.1.3 RISC vs CISC from Structured Computer Organization by Tanenbaum, While the initial emphasis was on simple instructions that could be executed quickly, it was soon realized ...
-3
votes
0answers
22 views

ASP.NET clientside scripting [on hold]

I am building a web application and I want to use client side scripts rather than multiple server postbacks.. my scripts will need to call my MySQL database in order to fetch data.. should I use ...
0
votes
0answers
21 views

Sharing dependency configuration over multiple projects (Maven)

From a big SVN repository we want to switch to Maven/Gradle for handling dependencies so that programmers can work with a single project without checking out the whole thing. We are writing plugins ...
1
vote
2answers
82 views

Understanding Exercise 1.12 of “The C Answer Book” to write a program that prints its input one word per line

I am reading the solution of "The C Answer Book". I think that the solution of Ex. 1.12 can be shortened. The Exercise is as, Write a program that prints its input one word per line. The ...
3
votes
1answer
123 views

How to hide a honeypot ( excluding external CSS and JS )

I am adding spam protection to my personal php framework and I think honeypots are a great way to block spam. Unfortunately they weren't invented yesterday and probably most bots do fetch CSS and can ...
2
votes
3answers
59 views

Enterprise application object oriented modeling for user and role

Generally in the Enterprise Applications like ERP or ERM, CRM, BP etc. we see two things a lot, one of them is Role and the other one is User. What happens is that in the real world we have some ...
2
votes
2answers
84 views

Is it acceptable to refactor a collaborator's code?

When working with other people in a project, is it acceptable to refactor some of their code? I'm working with another developer and I notice a lot of duplicate code. To make things easier for ...
0
votes
1answer
72 views

Indexers in C# for single objects

I was wondering whether it was possible to also use indexers for single objects. So, class A<T> { public T this[int index] { //get, set using index } private T _t; } I was wondering ...
-2
votes
0answers
79 views

Why microsoft , Doing this? [on hold]

I want to create a chat application (summer project )targeting windows platform. But what i see is that Learning POSIX c libraries is much more easier than win32 libraries. For instance ,WinSock2.h ...
3
votes
1answer
61 views

Can Fluent DSL's exist in big data environments?

The way I understand Fluent Domain Specific Languages I am able to use method chaining to have a conversation with the code. For example, if the business requirement is to call the database in order ...

15 30 50 per page