1
vote
1answer
59 views

What is a simple, correct and secure way of executing code stored in database?, that is also sandboxed

Webhooks can be a very powerful thing when you try to automate or integrate software, however, handling their deployment in a controlled environment can suck in terms of security and deployment alone. ...
-3
votes
0answers
97 views

How much programming should I know at the age of 17? [closed]

I love programming, I will study computer science in college, I am a junior in high school right now. I want to work for big IT companies such as Facebook, Google, Dropbox, Apple.. I want to have a ...
-2
votes
0answers
37 views

MinGW and MSVC version [closed]

Why do library providers offer several different binaries for the same library? Example (MinGW and MSVC): http://wkhtmltopdf.org/downloads.html
-2
votes
0answers
42 views

How do Airline booking sites collect data from various airlines? [closed]

Do they sync their data periodically? What kind of technical terms apply for search in such cases?
0
votes
2answers
112 views

Why not using questions in TDD tests descriptions [closed]

I've been a (small) while (ten months more or less) doing TDD for my own applications, trying to improve my skills following this workflow. Thus I am comfortable writing tests, stubbing, mocking, etc. ...
0
votes
1answer
47 views

Test logic with external data [duplicate]

I have a site programmed in PHP where I make more call to external server that return me big xml of data. For each record of the xml I have to make other external call to get other data. So my ...
1
vote
1answer
68 views

How would a one man team benefit from a continous integration setup? [duplicate]

I am a one man team. I develop an in house database, and the web interface. My current workflow is code on my development machine. Test. Push to a central git server. Log into the production server ...
-4
votes
0answers
139 views

PHP vs Python. Which is best for me and my situation? [closed]

As a beginner programmer, should I learn PHP or Python? I know this has been beaten to death but I would like opinions based on my specific situation. Programming Background - I am a complete newbie ...
0
votes
2answers
95 views

Objects or primitives as arguments

I have come across the term "garbage disposal" and now I'm worried about using up too much memory. Apparently (correct me if I'm wrong) every time an object is created, memory is reserved for it, and ...
2
votes
1answer
186 views

When designing a data structure, should I implement very inefficient operations for convenience?

(I've added the .NET tags because the data structures are for .NET, and this question should be considered in the context of the conventions for that platform.) I'm writing a library of immutable and ...
0
votes
3answers
133 views

Understanding Bob Martin's Closed For Modification Explanation

“Closed for modification.” Extending the behavior of a module does not result in changes to the source or binary code of the module. The binary executable version of the module, whether in a ...
0
votes
1answer
56 views

Create a Winforms Flowchart Control when performance matters: Set of controls / Handle everything manually (painting, user interactions, etc.) [closed]

I am currently trying to create a Flowchart / Diagram Control (e.g. NShape) and I am struggling about what to use to manage the primitives (rectangle, rounded rectangle, square, circle, arrows, etc) ...
2
votes
2answers
74 views

Is it OK for an MVC view to request data from other sources than just the model?

I'm working in ASP.NET MVC, but this question is pretty much applicable to any MVC framework (and maybe even others). In a typical MVC application a request arrives at the controller, which then ...
2
votes
0answers
115 views

Testing a method that reads from standard input and outputs to standard output [migrated]

I have a method which reads lines from standard input and outputs them to standard output. In a JUnit test, how can I have it send standard input to the method and how can it make assertions about the ...
-2
votes
0answers
39 views

Searching for a way to accelerate code exploration by mapping line number ranges to namespace/class/method names [closed]

TL;DR: I want some tool that can (on a per-line basis) generate a "semantic" context for use when I am doing code-grepping. For instance I use ack, and before I used that, I used grep -R. But these ...
-5
votes
0answers
29 views

C++ template error [closed]

I keep getting this error when I make my program. I have no idea why. Any help is appreciated! g++ -g -Wall main.cpp -o lab10 main.cpp: In function ‘int main()’: main.cpp:22:29: error: no matching ...
0
votes
1answer
82 views

Multiple method calls in the constructor and dependency injection

I was asked to refactor some almost ureadable spaghetti code into object-oriented architecture. I have some doubts regarding a class that I designed. Here is the class' skeleton: require_once ...
2
votes
2answers
139 views

Abstract classes and constants

I have two classes that share a lot of code and are conceptually variations on a common class. So I want an abstract class that contains all their common code and then they can each inherit from it ...
-2
votes
0answers
29 views

Python pandas and matplotlib or MySQL? [closed]

Pandas is a great Python library that provides easy-to-use data structures and data analysis tools. I have been using it to aggregate, and analyze daily weather observation data which I get from an ...
-3
votes
0answers
61 views

Metric for programming language ease of understanding [closed]

A while ago, I read about a metric for programming languages which tracked how difficult to understand they were to novices. The statistic I remember is that SQL was significantly easier to understand ...
-1
votes
0answers
16 views

How to pause for a second in a C program? [migrated]

I'm creating a simple C program which prints to the console and I want to have the program pause between printing, to create an aesthetic "..." slow printing effect, to make it appear as if it is ...
-4
votes
0answers
46 views

Programming Experience needed to work in a large company vs a small-medium company? [closed]

Some background, I'm a sophomore in college that is just starting my CS major track (started late, just finished an intro course where we learned basic Python and I'm going to take Data Structures in ...
-1
votes
0answers
16 views

How can I pass String value from EditText In Android Activity to Python Script and also retrieve the result from a function in the python script? [migrated]

How can I pass String value from EditText In Android Activity to Python Script and also make the activity able to retrieve the String result from a function in the python script such as displaying ...
1
vote
5answers
385 views

why are globals bad in javascript [duplicate]

I've been writing web applications for a while now , and everyone knows the one golden rule not to assign variables to the window object , don't ever assign a variable without using var. My ...
0
votes
0answers
31 views

In WCF, why would one deliberately use strict schema validation?

I'm reviewing best practices articles for WCF versioning. A lot of the recommendations revolve around one decision: "Are you using strict versioning? If so, treat every contract as immutable. If not, ...
-5
votes
0answers
57 views

Is there any free way to get the password of a rar file [closed]

Is there any way I can do that? I want to get the password of two rar files, how can I do that? I know there is a technique called brute force but how to implement it?
0
votes
1answer
62 views

Cleanly using PHP Iterator class in Loops - calling first element

I have implemented the Iterator class in PHP and built the follow mandatory methods as follows class I implements Iterator { private $a = []; function __construct(array $a) { ...
-4
votes
0answers
24 views

visual basic: get php Query from text box [closed]

How can I get url Query from text box and put it line by line in richtextbox. exemple: I want to get query from textbox1.text : and put it in richtextbox or multilines textbox line by line : ...
-3
votes
0answers
37 views

Begining the programming Process, Solving the problem [closed]

I'm now learning JavaScript on Lynda.com and want to develop a practice project. What are the best resources for learning to write JavaScript instructions, plus conceptualizing and defining goals for ...
-4
votes
0answers
32 views

How do I create a view with components infront of my main view? [closed]

I Have A viewcontroller with a button , I want that when pressed this button , open a new ViewController in front of My Current View . Then she 'd been with blur effect. something like this: How ...
3
votes
1answer
106 views

Better to write your .NET library with COM limitations in mind, or separate your .NET library from Interop?

I came across this interesting article: How I Came to Love COM Interoperability on CodeProject, which got me thinking... The author argues that they do not want any COM-ities in their .NET library ...
0
votes
1answer
111 views

How implement an IP stack? [closed]

I want to understand what implement an IP stack means. I explain myself : I've wrote two Java little applications (Client-Server) which communicate over a LAN with TLS. In my code, I didn't have to ...
2
votes
1answer
46 views

Converting a one-to-many xml design to a many-to-many

I have an xml file format that looks something like this: <topLevelTag> <category name="foo"> <item attrib="value">ItemName</item> <item ...
0
votes
1answer
83 views

Can you refer to the callback function as an API?

A system design is decoupled into two layers say layer A and layer B. The interaction between layer A and layer B occurs through an interface that is exposed by layer B in form of an API. This ...
-5
votes
0answers
81 views

What are the basics of software engeneering [closed]

I want to be a software engineer what is the process where to start I want everything to be online.
-2
votes
0answers
52 views

what are the role and responsibilities of junior programmer [closed]

Who is currently working in the IT company please tell me the role and responsibilities of junior programmer in real time.what to study to do this job.
-2
votes
0answers
40 views

Printing out 2d arrays which contain null values (java)? [closed]

I'm very new to Java and was wondering if there was a way to print out a 2d array which contains null values, but instead of writing null it just prints a space. My code so far is: for(int i=0; ...
1
vote
3answers
210 views

Alternative to goto-statement in this case? [duplicate]

Currently I am using gotos for closing handles and general cleanup if an error occurs. Since I don't want to nest all the ifs and a function for cleanup would require a return besides the cleanup(); ...
0
votes
0answers
53 views

Abstracting the data in a relational database. [duplicate]

While working with data, which is in a relational database I came up with this issue. At first, I was just writing helper functions to retrieve A SPECIFIC data I needed for the current problem but it ...
-1
votes
1answer
85 views

What is the difference of System Architect from a Software Engineer [closed]

What are the key skills required to be a System Architect? As far as I know Software Engineers are more on developing Apps and server side applications mainly dealing with software development with ...
-5
votes
0answers
36 views

Help in C! get userinput then display! [closed]

You wanna get info from user function to collect one current, and number of resistors, and each resistance value function to display as below -resistance is not an integer, round up to 3 decimals ...
-3
votes
0answers
24 views

Setting up Struts 1.x in eclipse EE luna [closed]

I need to set up Struts 1.x in Eclipse. I looked into a previous post in the link below . In one the the answers the link given is dead. The website where that tut is does not work ...
0
votes
1answer
39 views

Recurring database migration

I'm importing data from older website to new one using database migrations. I have created first as one of first steps of development phase of new site. Then I planned to create another one, that will ...
-3
votes
0answers
41 views

I Want to make an web application ? Which Programming Language / framework is best For My Web Project? [closed]

Which Programming Language Is Easy To learn and Efficient For Large Web Project ?
0
votes
1answer
45 views

Handling Destructors in MVVM

I'm making a Model View View-Model (MVVM) application using Delphi XE6. Since I'm using Pascal rather than C#, I need to manage destruction myself. I'm not sure how to handle form destruction. My ...
2
votes
2answers
81 views

Managing scaffolding for debug vs production builds

The more I program the more I realize that most of my time is spent writing scaffolding for programs so that I can debug them and then strip away the scaffolding for production. The problem is that ...
3
votes
0answers
52 views

Is there an industry standard term for a build which uses the production API, but is specifically for internal testing? [closed]

I'm working on clearing up our build processes of a PhoneGap app we're developing for iOS and Android, and I want to develop a concise naming scheme for our different build types. Here's what I'm ...
1
vote
0answers
50 views

SQL query to count most “popular” value? [migrated]

These are my tables: Table: People id---name 1----John 2----Mike 3----George Table: Visits id---name---visitor 1----Paris--1 2----Paris--1 3----Paris--1 4----London-1 5----London-1 6----Tokyo--1 ...
-2
votes
0answers
18 views

Resources for creating android database app [closed]

I want to make a database app for fantasy football to separate the players by team, position and to be search the database? I only have experience in python, I was wondering if someone and guide me ...
5
votes
1answer
180 views

Sometimes, “programming to interfaces” introduces possible (and avoidable) runtime exceptions?

Please consider the com.google.common.collect.ImmutableMap Programming to its interface, Map , creates a bug that could blow-up in the runtime as such: Map<String, Integer> myMap = ...

15 30 50 per page