All Questions
-5
votes
0answers
37 views
Environment variables in C
How are environment variable stored in during run time on call stack? what is the difference between env and environ pointer ? I am looking for Linux and 32-bit machine
0
votes
1answer
81 views
What is the purpose of creating a member function with the same type as its class?
I'm sure I'll botch some of the specific terminology, but what is the difference between object and object2 in this implementation? Is the only purpose of the first method (prototyping the class's ...
-1
votes
0answers
73 views
What scientific evidence is there that an 8-hour work day is optimal for programmers? [on hold]
For a long time I have been thinking that it has been conclusively scientifically proven that working more than 8 hours per day is unsustainable, and 8 is just right[Citation Needed].
However, a ...
0
votes
1answer
59 views
What should be in a PIMPL?
I am kinda trying to implement a windowing library in C++, the circumstances are forcing me to implement it all myself, that's not the point of this question however.
My question is: What should be ...
-5
votes
0answers
45 views
How can an experienced programmer learn C# fast? [on hold]
I'm an experienced programmer and do most of my day-to-day coding in Python, though I've also used C, C++, and Perl professionally, and am pretty familiar with JavaScript as well.
I'm wondering if ...
2
votes
0answers
23 views
Data structures and algorithms for a directed rooted tree with inherited properties?
I need to represent a directed rooted tree in memory. The caveat is, that nodes have properties.
And those properties are inherited (but not 100%) by the child nodes, recursively.
What would be a ...
2
votes
1answer
18 views
BloomFilter in ruby should have k hash functions
I am reading the Bloom Filter implementation written in ruby. It should have k hash functions, but it looks like the same hash function is being used with different seed values. Is this a common way ...
2
votes
0answers
27 views
Which data structures and algorithms should I consider for a directed rooted tree that has high churn?
I need to represent a directed rooted tree in memory.
What would be a good data structure and algorithms for performing main actions, given the particulars listed below?
Size: ~40,000 nodes. But ...
-5
votes
0answers
25 views
sample program of microcontroller [on hold]
I am studying on controlling two motors. I have a sample program, but there is some variables that I don't understand.
@main( )
{
OpenPort(6,9600);
Start();
Fwd(63);
...
0
votes
0answers
5 views
semicolon and commna in for loops [migrated]
for( i=0, i<3, i=i+1 )
for( i=0; i<4; i++ )
I do not understand why they are same.
for( i=0, i<3, i=i+1 )
will start with i=0, then i=0+1=1, i=1+1=2, i=2+1=3, then 3 is not satisfied with ...
-4
votes
0answers
18 views
How to show php content in inner php code [on hold]
<pre><?php
$my_tabs = '
[su_tabs]
**[su_tab title="Overview"] '. the_content() .' [/su_tab]**
[su_tab title="General Info"]
[su_tab title="Photo Gallery"]demo ...
-1
votes
0answers
19 views
MQ Connection Pooling [on hold]
This site states that connection pooling in MQ was not possible in 2008. Is it possible with later versions? If not is there a simple example/method to utilize MQ from a multi threaded application?
-5
votes
0answers
22 views
FATAL EXCEPTION: main android development [on hold]
I'm trying to access a web service from android to check the username and password in login,
and when i click the login button i'm getting this errors
10-19 21:24:46.384: E/AndroidRuntime(18276): ...
0
votes
0answers
12 views
Which Communication Protocol to use for Communication between a Django App and an Android Client [on hold]
I am developing an Emergency Response System. I have developed my server using the Django Framework in Python. I have an Android Client which needs to communicate with the Server. My question is :
1) ...
-1
votes
2answers
67 views
Whose responsibility is it to create the interface and/or acceptance testing? Developer or QA? [on hold]
I am a backend developer and always create tests for my applications.
Recently I study and apply the interface tests (using selenium), but I doubted whether I who should create these tests, developer ...
2
votes
2answers
56 views
Database Design for Inheritance
In my project I have an object Player (attr example: pl_id, pl_data1) that is one of these types:
Its GoalKeeper (attr example: gk_data1)
OR Defender (attr example: df_data1)
OR Forward (attr ...
-5
votes
0answers
41 views
which is best way to build career? Analytic or mobile apps development? [on hold]
I have completed Bachelor of engineering in computer science. now I'm confused between two fields Analytic And mobile apps development. plz suggest me which field should I chose to start my career?
-2
votes
0answers
58 views
Difference b\w copying a file across network and sending it through programs [on hold]
I am trying to send a 200 MB file to almost 50 client computers in the network using my Software written in JAVA which take around more than 1 hour.
But its not same when i try to copy the file ...
-2
votes
0answers
43 views
How to approach in android developing? [on hold]
I have started to learn android from tutorials.But i am facing some difficulties to memorize the android codes.It is too much lengthy and the functions or the codes are not too small.Sometimes they ...
0
votes
2answers
52 views
Snmp Poller in java Single and Multiple thread
I'm trying to make a Network Management System application. For the polling, what is better, single thread for all devices or multiple thread (i.e. individual thread for an individual device)?
My ...
-2
votes
0answers
30 views
Is it possible to make money from open source code on binpress [on hold]
I was viewing few ios controls on cocoacontrols.What i found interesting is that some developers were selling license of their source code through binpress.com
I have only one question. Does it work ...
1
vote
2answers
108 views
Why does a bytecode VM use stack or registers opposed to direct operations? [duplicate]
I'm working on a simple bytecode interpreter to learn how virtual machines work. I've read about VMs and it seems that all of them are either stack based or register based. At the time it made sense, ...
0
votes
1answer
51 views
Three-Phase Commit (3PC) question
I've been reading about 3PC in a text book, but there aren't any diagrams or examples, so I found one on wikipedia that I posted below. My question is, what does it mean by "cohorts?" There is no ...
-2
votes
0answers
77 views
How memory is allocated for c program [on hold]
How is memory allocated for a c program when it is executing? Like first environment variables then run time arguments, stack then heap etc want exactly is representation of run time memory allocation ...
0
votes
0answers
44 views
C Linked List Implementation Pointer vs. Pointer-to-Pointer Consistency
To get some practice in C, I'm writing some basic functions for operating on a linked list of ints. I started out with functions that accepted as a "list" a pointer to the head node. Now, I find ...
9
votes
3answers
163 views
Is staying implementation agnostic really worth it?
I have a project that I'm working on currently using Tomcat, Spring 4, Spring Security, MySQL, and JPA w/ Hibernate.
I picked JPA from the standpoint that it's suppose to make swapping out the ...
1
vote
2answers
155 views
Decide the type of an object during runtime
I try to implement a PriorityQueue with C#:
public class PriorityQueue<T> : Heap<T> where T : IComparable<T> {
...
}
The Heap is abstract. I have MinHeap and MaxHeap that are ...
1
vote
4answers
297 views
Should all programmers know how to solve algorithms, etc [on hold]
I'm 15 and have been programming for about 3-4 years. I mostly program in Java as it was my first language.
I would like to be a programmer when I'm older, but I'm not sure about the differences. ...
2
votes
2answers
87 views
Designing an API with access tokens, how to handle GET requests?
I am building an API that will utilize access tokens so that I can track usage among various departments and for access control. My plan is to utilize the HTTP verbs appropriately - GET will retrieve ...
-2
votes
0answers
16 views
How to setup a good house ads system for my apps? [on hold]
As the question says What are the best methods I can use to setup such system? Are there any companies which offer house ad system?
-2
votes
1answer
97 views
What GUI is used in industry for c++ [on hold]
What's the standard GUI designer used in industry for C++?
From reading this question, I assume QT?
I want to know, if I walked into a C++ software house tomorrow, what would I expect them to be ...
-3
votes
0answers
46 views
How to prepare for a Stripe-like interview? [on hold]
I have an interview at company that has the same process like Stripe.
http://www.quora.com/What-is-the-engineering-interview-process-like-at-Stripe
Do you know any resources to prepare for this kind ...
0
votes
0answers
21 views
Using Phabricator for a full code audit [migrated]
I recently got Phabricator installed and am hoping to use it for our future code reviews. Once issue I'm having is that we have a couple of projects that have never been reviewed/audited, and we're ...
0
votes
3answers
55 views
Unit testing method that calls multiple private methods
I've been reading a lot about unit testing recently and there seems to be a debate online about whether private methods should be tested or not.
If I have an interface that exposes one method, but ...
-3
votes
0answers
26 views
Productivity Stack [on hold]
I have been working with C# and .NET stack for development. With this you can do a very wide of tasks, and you have Visual Studio, which helps you a lot with minor details.
The problem is: Microsoft.
...
-3
votes
1answer
41 views
Java Licenses, GPL, GNU Questions
I would like to ask a few questions about software licenses, with regards to a (Java) program I am making. I am very very new to licenses, so please bear with me.
1. If I produce a Java program using ...
0
votes
1answer
32 views
How to save entities relations using unit of work pattern
I use Unit of work pattern to commit all new, dirty, deleted entities to the DB (using a db_mapper).
Example of entities are: Student and Class
So Student->registerDirty() will add this entity to ...
-4
votes
0answers
28 views
From Java developer to 3rd level support [on hold]
I would like to get your opinions (career wise) concerning becoming a 3rd level support (java) after have being a java software developer. New company offering the 3rd level support position is a ...
-4
votes
0answers
18 views
c# code to take names from exelsheet and print those name on certificate where blank space is given [on hold]
I want to take data from excel sheet and print it on certificates which already have printed. I just need to put them in printer and name of person should get printed on it at appropriate space on it. ...
0
votes
0answers
15 views
Implement OnNavigatedTo with MVVM Light, is this the correct way?
I'm developing a Windows Phone 8 app with C#, .Net Framework 4.5.1 and MVVM Light 4.4.32.7.
I'm very new on MVVM pattern and I'm not sure if I'm following that pattern when I need to implement ...
-4
votes
0answers
48 views
tools and Simulators for GPU. if you havent got GPU installed [on hold]
are there any simulators for GPU, which can let me run the code and simulate them without having GPU in my desktop? And also the tools that will help me simulate it.
-5
votes
0answers
50 views
Macbook Air for Java Programming student [on hold]
Okay so soon I am going to uni to study computer sciences and was wondering how a 11" or 13" 1.4ghz 8gb 128gb ssd would fair, I will of course be using an external HDD of about 1Tb (usb3) for mass ...
-2
votes
0answers
49 views
What versioning system uses something like UA50 for the releases [on hold]
We're using some strange versioning system at work that I have trouble understanding or finding references to.
Each release comprises of two letters and two numbers. I'm still not sure how it ...
-2
votes
0answers
33 views
Pre-Order Traversal In Heap [on hold]
I am new to clojure as well as to Functional Programming. I am trying to traverse a tree in pre-order using:
(def tree {:left 7 :val 4 :right {:left 4 :val 3 :right 1}})
(defn preorder
[tree]
...
-3
votes
1answer
79 views
How do I localize my game? [on hold]
My team and I are making a game to support multiple languages, and we want to work on localizing the game to reach a wider audience. Where would I start? How would this be accomplished? I would work ...
-2
votes
0answers
28 views
Open Source Education Games for children [on hold]
I am looking for FOSS educational games for research purposes. Ideally, this game would have a plot and characters interacting with each other and target 3-4 year olds, but I would settle for anything ...
1
vote
0answers
40 views
Three phase commit protocol
I'm trying to understand the three phase commit protocol by reading the wiki page (http://en.wikipedia.org/wiki/Three-phase_commit_protocol#Motivation). In the description for the diagram I posted ...
-2
votes
0answers
41 views
Speed up familiarizing process of a new IDE? [on hold]
One of the biggest impediments to me learning the new language is figuring out the "meta-programming" side of it. It's just about using and configuring other software. I'm trying to learn PHP and did ...
-6
votes
2answers
109 views
Sick of the commercial side of coding [on hold]
I am just writing this because, in one way or another, someday could happen to you as well. I never think this was going to be like this when I was a kid, 20 years ago, when I started doing this.
I ...
1
vote
2answers
74 views
What is the name of a type that is defined from a template?
To give a complete example, let's say I have a template class that I now use to generate a type definition:
template <typename T>
struct A {};
using X = // I'm not asking about this
...