0
votes
0answers
16 views

AngularJS directive as components

I am in a project where we want to componentify a lot of "information boxes". These boxes (lets say they are mostly different types of tables) should easily be included into different pages and even ...
0
votes
1answer
37 views

How much available are HHVM hosting providers? [on hold]

I am new to php and I want to know that if I start development for HHVM, will I be able to host it on some shared server? For Example like php hosting providers. I have nowhere seen an HHVM provider ...
1
vote
3answers
110 views

Can a process that needs 15 MB run given a machine with 10 MB of physical memory and 10 of virtual?

So there is physical and virtual memory. Let's say we have 10 MB physical and 10 MB virtual. There is also paging. As far as I get it, paging basically splits physical and virtual memory into slots ...
0
votes
0answers
26 views

adding model specific CRUD operation web api endpoints

Are there are any major design flaws / smells in creating a web api as described below The models I have public class CourseModel { public String Name {get; set;} public ...
-3
votes
3answers
56 views

Simple project ideas [on hold]

I am looking for simple project ideas to help teach some of my fellow students. I am trying to team them the following: -If / else if / else -For and while loops -Logical AND / OR -creating ...
-1
votes
1answer
79 views

Is there a practical use case for 5 stars (pointer to a pointer to …) [on hold]

I know of practical use cases of 3 stars (e.g. char*** test), I've seen one of 4 stars, but is there a practical use case for 5 stars that couldn't be made (elegantly) using less?
1
vote
1answer
49 views

Is it okay to use CSS3 with HTML4?

Is it alright to use CSS3 with HTML4. It seems like CSS3 would be a HTML5 complaint deal. But I'm not sure if that's the case. If it's not okay, what are the downfalls to using CSS3 with HTML4, ...
0
votes
0answers
23 views

Line wrapping with variable number of lines… almost there! [on hold]

I'm fiddling a way to split a string in a variable number of lines. It's working but I would like the lines to be a bit more even in size so that they take less space horizontally. I've been over it ...
-1
votes
0answers
14 views

Strategies around Migrating ASP.NET MVP+WebForms to MVC [on hold]

I'm working on an enterprise-level application that's been built and maintained using MVP and webforms. They're encountering issues around devs not being able to ramp quickly, bugs taking a long time ...
1
vote
0answers
56 views

how does CC licenses (0,BY,BY-SA) affect proprietary/closed source applications?

I think this question is specific to indie developers be concerned about. Think about it as a "license clarification" or a "license practical use case". I need to know how must be my project basic ...
-1
votes
0answers
26 views

install tesseract on visual studio 2012 [on hold]

I am trying to use Tesseract and I followed the instructions that appear in the following link http://blog.ayoungprogrammer.com/2012/11/tutorial-installing-tesseract-ocr-30202.html (with minor changes ...
13
votes
3answers
1k views

Should a front-end developer ever specify JSON format for back-end developers?

I am taking the front-end role in a project. Should I be specifying for my back-end teammates the exact format of JSON that their PHP returns to my JavaScript? For example, should I be telling them ...
-2
votes
2answers
94 views

What is a good name for a class that interacts with a command line tool? [on hold]

I'm writing a program in Java that includes a component that will interact with command line tool. In particular, I want to automatically process some data from an open-source GitHub project, so one ...
-3
votes
0answers
80 views

I am a Jr Software Architect and I am stuck in the choice of below mentioned options: [on hold]

My company has an Inventory system (Mainframe), an Active Directory (Windows Server 2012), a POS application (.Net), and a CRM system (Java). How do I create end to end solution with plug and play ...
-1
votes
0answers
33 views

Unicode and Fonts [on hold]

I'm interested in learning more about how fonts are created and interact with unicode. What sort of things are handled at the Unicode level, what sort of things are handled at the font file level, and ...
0
votes
0answers
36 views

Implementing SMS Automation System [on hold]

I want to make an automatic SMS broadcasting system for the university where I study. I want the system to broadcast a received SMS to specific students. suppose if a teacher is unable to come to ...
-1
votes
0answers
57 views

Should I use the at symbol (@) in my php code [migrated]

I have recently learned how to use the @ symbol in my php code and I have learned to love it. However I have also been told that @ is not efficient performance wise. Is the elegance it provides enough ...
0
votes
3answers
98 views

Concept for dealing with recurring appointments

Our company implemented a calendar system a few months back with recurring appointments, using iCal strings to store the recurring appointment criteria. We are starting to run into performance ...
0
votes
1answer
62 views

Continuous Integration for different languages [on hold]

So, I understand Continuous Integration in theory, and have used Beanstalk. However, I've been charged with creating the process at my current PHP shop. My hope was maybe PHPCI, since it looked ...
22
votes
12answers
4k views

How to define “or” logically

Recently, I came across a problem that required me to define the logical "OR" operator programmatically, but without using the operator itself. What I came up with is this: OR(arg1, arg2) if ...
-2
votes
0answers
27 views

Can google drive (of each user) used to store images shared to all users of app engine? [on hold]

I want to create an App Engine webapp where users can upload photos and share it with everyone. Obviously storing photos takes a lot of storage (that I can't afford) so I thought to do the following. ...
-4
votes
0answers
73 views

Why did Swift not include a decimal type [on hold]

I was quite disappointed that Swift did not follow the leads of Java, C#, Pyton, Ruby, etc and include a decimal type. Was this just an oversight or was there any good reason to leave it out? I'm ...
4
votes
2answers
202 views

Is it better to use strings or int to reference enums outside the java part of the system?

We were having a discussion at my work about the use of enums in Java. A coworker was arguing that when using enums on the server-side, whenever required we should use string to reference to it (for ...
-4
votes
0answers
19 views

Visual Studio: ArgumentOutOfRangeException was Unhandled [on hold]

Public Class MainForm Dim firstValue(2), secondValue(2) As Double Dim firstStatement, secondStatement, operators(2) As String Dim locationOperator(2) As Integer Private Sub GetValues() ...
17
votes
2answers
723 views

How to enforce good/better source code control practices?

I suspect that I'm focusing on the wrong problem so I will first describe what I think the problem is before presenting the possibly suboptimal solution I envision. Current Situation: Currently my ...
1
vote
1answer
36 views

Releasing Qt-based controls under University of Illinois/NCSA

Qt is a graphic framework which has a double license: commercial (statically link and modify at your wish) LGPL (you should either dynamically link against it or release your source code, any ...
4
votes
2answers
306 views

Does agile contradict to Open/Closed principle?

O/C principle dictates that production code should not be changed if system behavior augmention is required. Otherwise it becomes hard to trust tests. Following it as a dogma we are going to end with ...
3
votes
2answers
225 views

C# static practices coming from dynamic background

I have been dappling in C# after coming from several years in PHP. I don't find the language particularly difficult, although there are considerably more constructs for me to get used to. My question ...
-1
votes
0answers
15 views

Jasmine Test Case with owl Carousal [on hold]

How to test owl Carousel code with jasmine. Following is fiddle for same. $(function () { $('.owl-carousel').owlCarousel({ center: true, margin: 10, loop: true, autoWidth: true, ...
0
votes
0answers
4 views

Python large list error [migrated]

I did the following program to generate a list of consecutive numbers. However, the computations seem to fail for more than 70.000 elements in the list. I tried using Pycharm IDE and also the python ...
-2
votes
0answers
41 views

Designing an application like Resume Builder: Where to start with? [on hold]

For our website and offline use, I want to design an application like Resume Builder where any user can fill relevant details and get a final resume in Word and PDF format. The Resume Builder has ...
0
votes
1answer
144 views

Is this a pattern? If so, which one? (Contexts, Requests and Responses)

In most of my code nowadays, I adapted to an approach which I think I read in the context of "Clean Code". It was some years ago and I cannot find the source again, so I would like to know what the ...
1
vote
3answers
113 views

Use of for loop conditional statement unrelated to iterating variable

Is it considered decent form to write code like this: int done = 0; for (x = 0; !done; x++) { ... something involving 'x', that might end early ... if (!(x < max)) done = 1; } ...
-3
votes
0answers
51 views

Are there any tools that calculate the stability metrics for a C code base? [on hold]

I am looking for static analysis tools which calculate the (in)stability* of various modules in a C code base; similar to how a tool like CCCC calculates the McCabe complexity of a code base. * ...
-2
votes
0answers
28 views

Databases or Tables for mobile apps [on hold]

Just wondering how many databases an app like Beatthetraffic or Inrix would have? Would each type of entry require separate databases or just different tables?
11
votes
0answers
136 views

Math model for a webpage layout?

While web-programmers surely know CSS/HTML rules by heart, and web-browsers have algorithms to render web-pages, what interests me whether there are any mathematical/theoretical models or at least ...
-4
votes
1answer
35 views

Running a QT application on Windows [on hold]

I downloaded a program from git-hub, currently it is a folder on my desktop. How do I run the qt application I just downloaded. (I have no Programming Experience).
-2
votes
0answers
25 views

Learn parallel genetic algorithm [on hold]

I am trying to learn parallel genetic algorithm. Is there any any source code for an example about this idea? I google it a lot but I dont find any source code can study it.
1
vote
1answer
102 views

Is it acceptable to release a paid application to interface with an open-source backend?

I'm currently in development of an application that consists of two parts: PHP files that a user uploads to their own server, and a smartphone application. Because the PHP files are going to reside ...
0
votes
0answers
24 views

Add Claims/Roles on Resource server (From Token Authorization server)

I've coded up a Web API 2 Authorization server that I am using to get a token for a given user. I can use that token to send requests to my Resource servers that use [Authorize] attribute in the ...
0
votes
0answers
3 views

Cannot find bug in NegaMax implementation for java chess game [migrated]

I am having trouble identifying the error in my negamax implementation. It is not properly assigning the correct score except for ply 0 where it works. Obvious "pawn capture Rook" opportunities are ...
6
votes
3answers
124 views

Passing parameters that need to be copied by value or const reference

I have a basic (mathematical) vector class, which in my opinion benefits from C++'s operator overloading. Vector-scalar operations are defined as self-modifying functions in the class itself, class ...
-3
votes
0answers
25 views

Where can I download a (Windows) app made with pyQt? [on hold]

I am curious about things like the sizes and startup times for programs made with pyQt when packaged for, installed on, and run in machines without python or Qt. I don't know what programs have been ...
-3
votes
2answers
111 views

Is worth to read The Clean Coder book If Pragmatic Programmer is already read? [on hold]

Some weeks ago I read The Pragmatic Programmer by Andy Hunt, and I want to know if The Clean Coder book by Uncle Bob will give me some improvements about a recommended attitude and practices to be ...
2
votes
1answer
55 views

Returning the object/$this [duplicate]

A very general question. I was thinking about method chaining, which seems useful, and began wondering if there is a reason to not return the object in a class member, as a matter of course. For ...
-1
votes
0answers
39 views

How to avoid global state via the DOM in JavaScript? [on hold]

Much has been said about the practice of using global variables. After spending some time creating a JavaScript web application, it occurs to me that many of the issues I have encountered have come ...
0
votes
1answer
21 views

How to use MeshGrid method in Accord.Math Matrix Class?

I am using the Accord.Math Namespace for Visual Studio in c#. I am trying to use the method MeshGrid<> under the Matrix class for the Accord.Math namespace. However, I am unsure how to implement ...
-1
votes
0answers
48 views

Breadcrumbs Across Whole Site

I have a site that I use PHP include to do a header and footer, but I'm trying to implement breadcrumbs (and a few other features) along with this. The problem with breadcrumbs is letting the page ...
0
votes
0answers
11 views

Networkx: draw edges certain attributes [migrated]

Using Networkx, I am considering a graph that is in reality the union of several subgraphs. I am trying to figure out the best way to deal with this. Currently, I have been using the following ...
1
vote
2answers
59 views

Explicitness, verbosity and their counterpart - when to prefer which?

I'am the only one in my team who advocates for adding a little implicitness in favor of codebase reduction and decreasing repetition. Yet I don't want to be a biased 'Bad apple' playing against ...

15 30 50 per page