0
votes
0answers
7 views

Extend Class - Or pass new Instance in a Constructor?

I'm working on a project and I've built my classes in 2 ways, I'm after opinions on which you think should be used, and why. I have a Finder class. This essentially builds a path, based on the Finder ...
-4
votes
2answers
21 views

what does it mean to be a core programmer?

I want to know what does the community refers to as a core programmer. What should one do to be able to become a core programmer? In other words, is it possible to do programming in a level in ...
-5
votes
0answers
10 views

Anyone knows a simple generic cloud hosted UI framework with a dead simple Java API?

The use case that I have is the following: Using her browser on a desktop or a mobile device, a user enters her credentials to authenticate (Any auth will do) the user is offered a simple dialog ...
0
votes
0answers
6 views

running a separate database (mongo) for a subsystem instead of using the current one (cassandra)

I have the following scenario. There is Cassandra in use and is expected (in the future) to get a lot of data in it. It is supposed to scale totally horizontally. I have a second subsystem that deals ...
-3
votes
0answers
8 views

Issue with update progress?

We are facing a problem using update progress with the grid. It loads the grid but the progress not shown. This is our code below. Can you please suggest what is the solution. <%@ Page ...
1
vote
1answer
15 views

Creating a tree of objects based on the commonness of its properties?

I have an algorithm problem. I'll simplify the issue, because most of what I'm dealing with has nothing to do with the algorithm I need. Basically, I have a list of objects that each have properties. ...
-1
votes
0answers
11 views

Learning iOS 8 (Swift) Development

I'm hoping this is the right stack to post to; if not please let me know which one I should be aiming for. Stanford's CS193 was a fantastic series of 25 lectures and assignments for learning iOS 7 ...
-2
votes
4answers
69 views

Is it difficult to develop a programming language which is closely related to human language?

Will it be difficult in developing a programming language which is much more closer to our language ?
-1
votes
3answers
53 views

Why C language is taught as the basis of Computer Programming Languages?

I often wondered why C Language is taught as the basis of programming languages everywhere. There are a lot of modern languages like Java, Python etc. which makes the syntax and programming easier. ...
-1
votes
0answers
12 views

PHP Require_once error

I'm currently working on a register page for my site. I use "require_once" to find the config file. On the register-exec.php page it has this line: require_once('/zds/include/php/config/config.php'); ...
-1
votes
1answer
7 views

Event Driven Objects/Framework on the Web

Okay, I am a desktop developer moving to web development. The guys who I am working with use procedural PHP, and coming from an event driven, objectified perspective (using WPF and C#.Net) I am ...
0
votes
2answers
24 views

How do you decide member objects?

So OOP is about breaking down functionality, making each class responsible for one thing etc. But let's take the example where an object is using another object. First thing that comes to mind ...
0
votes
0answers
10 views

Deforming meshes in OpenGL

I'm learning about OpenGL, specifically OpenGL-ES 2.0 on Android. The question I've posed to myself this evening is: how can I deform a mesh? I think I have some answers. So my questions for SE ...
-1
votes
0answers
41 views

Learning Languages The Correct Way [on hold]

I have one semester of high school Java under my belt and since then I cannot learn any other languages. I just don't understand the necessary concepts. So my question is other than going to school ...
-1
votes
3answers
37 views

Is there any JS Framework like Symfony?

I use Symfony since many years, and I'm currently experimenting Node Webkit (to make a full Javascript/HTML app). I'd like to structure my project with a MVC-like design pattern, so I tried some ...
0
votes
0answers
17 views

Global relabeling heuristic: Push-relabel maxflow

I have a correct, working implementation of the preflow-push-relabel maxflow algorithm [2]. I am trying to implement the global relabeling update heuristic [3], but have run into some issues. I have ...
-2
votes
0answers
110 views

Is there a reason for this syntax in Haskell and Erlang? [on hold]

There are two books titled, Learn You Some Erlang for great good! and Learn You a Haskell. Both titles are atypical English usage. I am not familiar with either Erlang or Haskell. Is there a reason ...
0
votes
1answer
32 views

Developer account in OSX, admin or managed user with our without sudo access?

The tutorials I find to setup OS-X for web developer programming (installing x-code ruby js cocoapods sql c asm etc) leave out if it should be done from an admin account, or standard (managed) user. ...
-1
votes
0answers
14 views

Error finding primes with simple python program [on hold]

The below code is to output an array containing all the primes up to a limit. My code above does not do so, I cannot determine where the error is. #generate prime numbers up to a given value pa=[2] ...
0
votes
0answers
29 views

How to pull images in a timely manner

I have an iOS app in which I pull images from a server and display them for the user. It's image heavy (think facebook, instagram, etc.) I'm trying to keep the images under a certain size so that it's ...
3
votes
1answer
45 views

How do you implement an active sessions system like LinkedIn?

With some platforms, like LinkedIn, you can see a list of all sessions where you are logged in, and you can even log them out on a distance. How would you implement something like that? I'm not ...
4
votes
2answers
91 views

Efficient way to represent hexagonal board logic for abalone-like games

I have to implement the AI for Abalone game and I'm wondering what is the best way to represent the board logic using Java without wasting too much resources in all checks and updates routines ...
-3
votes
1answer
96 views

Why Java is more demanded than C language? [on hold]

I'd greatly appreciate a response on the following question relating to C language. After giving interviews in many companies, I only conclude that C language is only school level programming ...
-5
votes
0answers
34 views

Isn't this question misplaced in 'easy' category? [on hold]

I just want to know whether is it just me or also some of the users here believe that this question is really not 'easy'. I spent 15-20 minutes on it but still I'm not able to deduce an algorithm for ...
-4
votes
0answers
26 views

Find the kth smallest element from 2 sorted arrays

I came across the solution for this problem: I would like to know the concept behind selecting the low and high values? int findKthSmallest(int arr1[],int size1,int arr2[],int size2,int k) { //check ...
1
vote
1answer
85 views

Sacrificing readability for shorter compiled code

I'm currently revisiting some code I wrote in sass when I was learning it and I came upon a particular issue. I was able to write the code in 2 ways, with the first being the more readable code and ...
0
votes
0answers
12 views

Decoupling of Model and API (in an .net WEB API Project)

I currently have one separate project for my models, and one separate project for a API application that consumes this model. The intention of the separation is to avoid any outgoing dependencies from ...
1
vote
1answer
78 views

Developing a compiler for a self made CPU Architecture

Recently ive been consumed by creating my own simple CPU architecture that at some point could be easily implemented in hardware (No FPGA, but actual Logic Gate circuits). Naturally to fulfill this ...
-7
votes
1answer
41 views

C# program to display 12345 on screen [on hold]

How this code works plz tell me step by step For ( into i=1;i<=5;i++) { for (int j=1;j<=1;j++) { console.write(" "); console.write("i"); } console.write ("\n"); console.writeline ("display ...
-1
votes
0answers
25 views

Where exactly are the inherent WordPress Functions defined inside or ouside the core of WordPress?

If we look at http://codex.wordpress.org/Function_Reference; we see that there are core functions listed for WordPress.The first two sentences say: "The files of WordPress define many useful PHP ...
-2
votes
0answers
23 views

\06 is converted to a character that looks like a spade [migrated]

saveInPath = "C:\Users\User\Documents\AV_FILES\06_School\Python205\ProjectNov2014\CODE_CLEAN\NotQuiteBackUP" lccSysProcCons = SystemProcessControls() dateTimeNow = ...
-4
votes
0answers
47 views

How to run this Python program [on hold]

How does on run this Python script to produce an SVG from LaTeX? https://github.com/levskaya/OW/blob/master/scripts/latex2svg.py I tried the simple stuff so far, like "python prog.py" but cannot ...
-3
votes
0answers
37 views

How to protect a private REST API in an javascript web application

I'm building a web application. It's basically a blog. There is a javascript client web application and there is a server that implements REST API. When user visits my blog, I use javascript ...
-1
votes
0answers
11 views

How to Build a Basic Cloud Based Sales App [on hold]

My background is in web design and some development, so I'm not sure if this is totally beyond my ability level, but I would like to give it a shot. I have a client in the wholesale business who is ...
1
vote
0answers
28 views

Best practices for Distributed offline databases [on hold]

I'm working on a project where i should sync the Main database with data from in mobile file based databases that are offline not synchronized all the time with the main database. I've already worked ...
-1
votes
0answers
21 views

how to stream serial ascii from local pc to another [on hold]

I have a pos program that can print to any windows printer installed, send text out to a com port, or write text to a .txt or other text file in windows. I want to integrate the POS with surveillance ...
-2
votes
0answers
17 views

PayPal chained payment refund [on hold]

My site has multiple sellers and they pay me a fee when they sell their product through a chained payment. I use the REST API for the adaptive pay. Everything works as intended. My account is the ...
-1
votes
0answers
42 views

Seeking advice for large-scale software project [on hold]

I am a student in computer science currently attending a 4-year university. I want to be a software engineer. I am currently learning C++ and Python. One thing I'd like to do before I graduate is ...
0
votes
2answers
44 views

where should put showSchedule method in school system

In my school management system I have this partial class diagram: 1- In one use case student want to see his schedule of classes in week. this is what i suppose to do: get student object from ...
-1
votes
0answers
20 views

Testing an ID3 algorithm in JAVA

I have just implemented an ID3 in JAVA. I followed the algorithm and I am printing the tree as rule conditions. However, I am still lost on how should I test the tree with (unseen) data. Should I ...
-5
votes
0answers
65 views

How do i compare PHP Efficiency between two algorithm?

Here is two function that creates 1000 files inside 1000 folders in two different fashion: First Method function createEverything() { for($i = 1; $i == 1000; $i++) { mkdir('test/'.$i); ...
0
votes
0answers
6 views

DirectX 10 Problem using D3DX10CreateTextureFromFile [migrated]

I've been using directX 10 for a few days. I use Visual Studio C++ 2010 express edition, directX June 2010 sdk with directX 10 on Windows 7. The error I've been getting is this, whenever I load the ...
-2
votes
0answers
17 views

Why do I always get the result File not RIFF? [on hold]

I'm trying to make a wav player without using any libraries just solid C and x86 assembly which is compatible with DOS PC's.I am using Turbo C compiler (version 3.0) pcm and stereo aren't supported in ...
-1
votes
0answers
18 views

Using FTP command how to fetch today's file [on hold]

"Fetching data from server by FTP command" is not a problem .But if I like to fetch the today's file from the server ,whose name is Like(BACKUP20141210) and if it presents in a folder with previous ...
11
votes
2answers
763 views

Algorithm to merge two sorted arrays with minimum number of comparisons

Given are two sorted arrays a, b of type T with size n and m. I am looking for an algorithm that merges the two arrays into a new array (of maximum size n+m). If you have a cheap comparison ...
-2
votes
0answers
9 views

Improve WinRT Apps Performance [on hold]

I have a WinRT application that contains a large amount of data. Each time i enter a page it took more than 5 seconds to load the data. My question is the next: is there any way to improve data ...
0
votes
0answers
25 views

Python - Flask controller structure

This is my first python application (I have some experience in Java/groovy-grails), and therefore I am not confident of the application structure I should be following. My application has two ...
0
votes
1answer
51 views

Object creation: when should I expose a factory vs wrapping class?

I am having some problems trying to figure out when to use a factory or to wrapper class. This question is slightly geared towards C# I guess, so I'm not sure if this is the correct place to ask. Say ...
-3
votes
0answers
33 views

UHD glare or non glare? [on hold]

i'm a programmer, and now I need a new notebook. What is the best choice to do? Choosing a laptop with UHD glare screen (3840x2160) or a FullHD screen no glare(1980x1020) I think that UHD one will ...
-2
votes
0answers
43 views

Python Gmail app password [on hold]

I offer this as a "hey look what I found" and not a question. I had my Gmail username and password in plaintext in a python script that sends me notifications. Fearing it could become compromised, i ...

15 30 50 per page