0
votes
0answers
2 views

Which are the important algorithms that one must know for solving problems in competitive programming sites?

previous year i learned python and python game developement(pygame) from the http://inventwithpython.com/ and python docs. i did try to make one game from the scratch(takes time but atlast done) in ...
-1
votes
0answers
11 views

Comparing and adding (math) integers in an array

Long time Front-End Dev, new-ish to core programming theories. I am trying to solve a problem, but mentorship to gain better language is needed to progress. Write a method to return the minimum # of ...
-4
votes
0answers
12 views

Foreign characters display like junk on the screen

We want åäöÅÄÖ to work (for a custom cryptography) with Java. It seems that there is a problem whether åäöÅÄÖ are before Aa or after Zz. Which is it and which should it be? Am I mistaken that this has ...
-4
votes
0answers
18 views

How can i create a simple program using Microsoft Visual C++ 2010 Express [on hold]

Please tell me How can i create a simple program using Microsoft Visual C++ 2010 Express. Please help
-4
votes
0answers
10 views

Laravel 5 + homestead MySQL config issues [on hold]

I'm new to Laravel 5 and Homestead and I'm just trying to set up my first project. I've got homestead working with the default config + my project path mapping. I've set up my .env file as follows: ...
-3
votes
1answer
11 views

Function statements executed without being called

I was trying to create something of a PHP template that appended HTML and (processed) PHP files into a DOMDocument object. As I needed to do this multiple times, naturally I created functions to do ...
0
votes
1answer
19 views

What are the components of a process?

What exactly is a process and what all things is a process comprised of? I have read the Wikipedia page and I found only abstract details over there. I want to know what details are stored by a ...
0
votes
0answers
9 views

Ruby create a class from a specification file

I have a specification file Spec.txt like this title :Test attribute :fieldOne, String attribute :fieldTwo, Fixnum constraint :fieldOne, 'fieldOne != nil' constraint :fieldTwo, 'fieldTwo ...
-1
votes
0answers
10 views

IT Certifications and eligibility for these certifications- for Non IT professional [on hold]

Im a Non IT professional (and non IT background) with 3.5+ years of experience. i wish to move into IT field and im highly keen on Cloud Computing Certification to launch myself. However, im not sure ...
-4
votes
0answers
15 views

List of guidelines required for all iOS apps

I am developing my first iOS app. I am trying to get my head round the guidelines all iOS apps should adhere to. (That is, I am excluding feature-specific guidelines such as for Apple Pay, Apple Watch ...
0
votes
1answer
18 views

What does “Stateful” means in Stateful ViewModel in MVVM

I was reading about some XAML patterns, and there was the Stateful ViewModel, according to what I read it has nothing different than what we as just the "ViewModel". Here's a description for example ...
3
votes
3answers
50 views

Version controlling a database's contents

I'm working on a web project that involves user-editable content, and I'd like to be able to do version-tracking of the actual content, which lives in a database. Basically, I want to implement ...
-2
votes
1answer
29 views

InteliJ Git vs GitHub for Windows vs SourceTree

So I'm a bit curious as to what is the best practice when using version control. I've been using SourceTree(w/ mercurial) at work but have used as well for my course assignments with (Git). I've also ...
-3
votes
0answers
34 views

Arrays List- Programming [on hold]

In my programming class I have been asked to make a program about solitaire and I have no idea where to begin. The game starts with exactly 45 cards. Initially, they are divided into some number of ...
2
votes
2answers
54 views

Is it considered good practice to declare base interfaces without mutators, supplying mutatators in a sub-interface

I asked a question on StackOverflow on how to properly implement an ImmutableMap that abides by the SOLID principles. Due to Java's Map interface containing put and putAll, it violates the interface ...
2
votes
1answer
55 views

Is there any reason not to make a webapp be client-side only?

I recently started writing a path-finding algorithm simulation application in python. It takes user inputs, randomly generates a 2d graph, and shows displays the simulation via GUI. Now, what I ...
2
votes
0answers
5 views

Partial Model Updates From View

I hope this is on-topic here since I'm a bit new to the whiteboard... I'm currently developing an application using ASP.NET MVC 5 (and WebAPI 2). One of my domain entities is huge, and is stored in ...
0
votes
0answers
8 views

Making API calls with celery

I'm designing a system for a client where the requirements are: they upload a JSON file (one object/line) make a call to an API with the JSON object as the payload record the state (success/failure) ...
-4
votes
0answers
13 views

Simplest way to parse a title from an HTML file using PHP functions only, no extra classes [on hold]

So far I've been trying to get a simple way to stract a title from an HTML page. This simple: $url = "http://localhost"; Use any function to extract the title tag using only PHP functions or ...
-2
votes
0answers
13 views

C# Thread Abort hanging in .NET 4.0 but not in .NET 3.5 [on hold]

In VS2013, C#, in Win8, this simple line of code thrListener.Abort(); was just fine in .NET 3.5 but now just hangs indefinitely in .NET 4.0. (I'm a beginner when it comes to multithreading.) I can ...
0
votes
0answers
17 views

Where to keep persistent services in MVVM architecture?

In an MVVM application I need to use some services that are persistent, e.g. network services like P2P and WCF where the main "engine" or server endpoint must remain up and running during the lifetime ...
-3
votes
0answers
28 views

Combining CS and Programming [on hold]

Editing to simplify the question: My original question was trying to understand why so many developers either do not know or simply do not care about lower level concepts. Instead of heading down that ...
-3
votes
0answers
13 views

TreeView Selection [on hold]

I am using a Server Side TreeView Control. I want to get the values after the selection of the items present in the treeview. Actually I can't able to differentiate between the selected items that ...
7
votes
3answers
742 views

If Scala runs on the JVM, how can it be much different than Java (except for maybe syntax)?

I just learned about Scala yesterday, and I'd like to learn more about it. I'm mostly familiar with Java, so it may not be too much of a stretch to learn it. But one thing that came to mind from ...
-2
votes
3answers
65 views

How did “Webservices” become such a buzz word?

For the past few weeks I have been researching a lot about webservices. The more I read about it the less it becomes "magical" to me. By magical I mean all it does is return text in xml or json ...
-2
votes
0answers
11 views

Java SWING: JList holding multiple Components as a single item

Here is my problem: I'm creating a window that is responsible for listing a layer, where it displays the layer's current image (in the form of a ImageIcon as of now), layer's name, and a checkbox to ...
-1
votes
0answers
5 views

How do I save directory information from os.execute(“dir”) into a string? [migrated]

Is it possible to save the directory info obtained from os.execute("dir") into a string form? So in the directory <DELL> I have the files info.txt and readme.txt. I want to use ...
2
votes
2answers
45 views

Sharing info objects between objects?

I'm making a game and I have several cards that are created during the game. Each card needs some info, which is shared between cards of the same type. So I have a class CardInfo, which holds a name ...
-2
votes
2answers
98 views

Mermaid problem (OOP)

A Mermaid is half fish and half human. It has upper human body and lower fish body. When under water its upper part swims like a human while its lower part swims like a fish. Please explain how can it ...
0
votes
0answers
15 views

Android runtime - does ART miss optimization opportunities over Dalvik?

Is ART a strict improvement over Dalvik, or there are optimizations that an ahead-of-time compiler will miss compared to JIT, but Google decide they don't matter in practice? For example, with JIT, ...
-6
votes
0answers
20 views

how do you make an os? [on hold]

What exactly is an os, and how can I program an os?
0
votes
0answers
13 views

Polling more recent / active items more frequently

I'm setting up a service that is meant to query, via a rate-limited API, a number of posts in real-time. Now, some of these posts can be several months old, and they should really only be queried, ...
-4
votes
0answers
21 views

The design and implementation of a programming language [on hold]

I study computing, I have to create a language in ANTLR 4 and the implementation should be a compiler or interpreter. Have anybody an idea what kind of language can I create????
1
vote
1answer
39 views

Down Sides to Using Properties as Opposed to Method Variables

I am debating the pros and cons of a couple of utility classes I have. The classes have a couple of properties which are set prior to calling the class methods. However, I was wondering if there are ...
-3
votes
1answer
29 views

Is it possible to use C and C sharp together? [on hold]

I have tried reshearching this question but couldnt find ant luck. Is it possible to start a project using C Sharp and C together?
-4
votes
0answers
13 views

Including trail period and paid version in the software [on hold]

I am have few questions about the software launch I have built my software using Java, and Converted it to .exe setup using Excelsior. I want to include trail period/paid version in my software, ...
0
votes
0answers
42 views

Lag problem for a simple game in Java on Linux [on hold]

I made a snake game in openjdk-7 on Linux(Ubuntu 14.04) but there is a lag problem with the game.The lag occurs in openjdk-7 on my computer but some of my friends tried the game in openjdk-7 on ...
0
votes
1answer
50 views

How can I avoid an SDK requirement for an end-user unless he uses a specific function? C#

One of the modes of my program uses Microsoft Kinect but the user may never decide use that mode. I want to make it so the libraries for that functionality are only looked for and loaded if he uses ...
1
vote
2answers
230 views

In C++, should I ever declare a local variable in the corresponding header?

So for example, I create a class with two functions: foo.h class foo { public: foo(); void bar(); void ey(); bool m_memberBool; bool localBool; // ??? Should I put this here? }; ...
-1
votes
0answers
10 views

Best way to populate Entity from posted ViewModel in ASPNET MVC?

In form post, I am used to accept a viewmodel in post action method. One way or another, I have to go through each property to assign it to the entity object that the repository module is expecting. ...
-1
votes
1answer
38 views

One symbol - one meaning?

It's well known recomendations that: 1) class or function should have one responsibility 2) variable should not be reused in different contexts We can generalize this recomendations to general ...
0
votes
0answers
35 views

“Python interpreter vs Javascript engine” memory model

I learnt that memory model of python interpreter is dictionaries of dictionaries, where each module is a dictionary. Let me elaborate more on this with an example, After i run >>> python ...
-2
votes
0answers
11 views

Matlab, not enought input arguments [on hold]

I have a matrix ab = [12 10] This my code, I want to make a pythagoras but it fail even to define the ab(1,1). function [x] = phyt(ab) x = ab(1,1) end It show error message like this : Error ...
-3
votes
0answers
23 views

Web Services Android [on hold]

Android Web Service 1.I want to write a program that data is stored on the server and other users can read the data. I have to write server database with php ,so that I save multiple fields or from ...
-1
votes
0answers
31 views

Graduated with an EE degree, would love some advice from the programming crowd [on hold]

I graduated in May with a BSEE. While completing my degree, I realized I found software applications much more interesting than the hardware counterpart. I decided after graduation that trying to ...
-3
votes
0answers
13 views

Collision detection in JS html5 canvas [on hold]

i'm trying to develop a game using HTML5 canvas with javascript and I am having problems detecting collisions without hard coding it using the (x,y) coordinates of the two objects. In my code based ...
1
vote
1answer
32 views

Keeping lists of Objects, some with, some without inheritance

Let's say I have two classes, Foo and ExtendedFoo where ExtendedFoo inherits from Foo. Foo has a method .getValue() which returns a number, ExtendedFoo also has .increaseValue() which adds to the ...
2
votes
1answer
68 views

Should I consider uncertain future requirement while development? [duplicate]

I have one text box across multiple pages which is used to enter multiple customerids (as comma separated) . But in current page due to some subsequent implementation difficulties we make it as ...
-2
votes
0answers
23 views

Finding the sum of columns in a Two Dimensional Array with rows of different lengths [migrated]

So i'm having a bit of trouble with my code in returning the sum of the columns in a two dimensional array with rows of different lengths. For example a 2X2 array works perfectly to calculate the sum ...
0
votes
0answers
44 views

what are the most important coding standards in c# [on hold]

I am a college student creating a C# program for the 3rd year project. In my project coding standard is a main concern. But I do not have a better understanding about C# coding standards to follow ...

15 30 50 per page