-2
votes
0answers
16 views

How to feed live scores online in realtime

Is anyone know how services like scorespro.com collects and feeds the data in realtime ?. I'm not asking about the programming language(Node) or stuffs like websockets which they use obviously to ...
-4
votes
0answers
15 views

Update excel sheet automatic

I have been working with one company, they send me excel file with company data. if they make any changes in Master copy(this excel file they have already with them), and when i open the file which ...
0
votes
0answers
11 views

Pre-requisites for Cloud Computing

I am planning to learn the concepts of cloud computing but I don't know how to start??What courses or concepts I should have before starting something related to cloud?Is it more programming than ...
0
votes
0answers
12 views

Open external editor when debugging in Chrome (or other browsers)

I don't know how most people write their Javascript code, but I write it in an editor and then run it in a browser. When I get an error in the browser, I really just want to click on it and jump right ...
0
votes
0answers
20 views

Splitting and hiding headers in a static library

I am writing a static library for C/C++ (personal project). As my headers became rather large, I thought that splitting my headers would be a good idea. Right now a header looks like this: ...
0
votes
0answers
17 views

Java Singleton fields implementation

I have singleton in Java and I have realized, that I could make its fields static and it would work same way as regular instance fields. Would there be a performance / optimization difference? If ...
2
votes
0answers
15 views

Advice for simple communication protocol (iPod and Arduino)

I connected iPod with Arduino using serial (UART) connection. Arduino sends 0-1023 number (so it's two bytes) as it's samples light sensor value. I'm asking about advice about simple and reliable ...
5
votes
4answers
321 views

Do compiler-writers actually need to 'understand' machine code?

Might be kind of an odd question. A guy writing a C++ compiler (or whatever non-VM language): Does he need to be able to read/write raw machine language? How does that work? EDIT: I am specifically ...
0
votes
0answers
12 views

Query regarding MIT licence

If I download a MIT licences software and modify (add extra code), is it possible to not to include the copyright while selling the software? Will I be the author for the software?
-1
votes
0answers
9 views

Implementing OAuth for Desktop application

For a desktop application, how can I get the access token by participating directly in the OAuth flows. I don't want the user to go through browser and provide me the access token. Secondly, how can ...
-2
votes
0answers
6 views

App.yaml error 404 [on hold]

i am using a template for my google appengine site it contains a template directory which have css and and sub directories this is my app.yaml handlers: - url: /templates/css static_dir: ...
1
vote
1answer
23 views

How to secure a Django application's source code?

I have developed a Django application for a company. Now I am about to ship it to my customer. After reading through online articles and books, I understood that securing the source code of any web ...
3
votes
0answers
39 views

Why do some program after installation need the system to be restarted?

I was asked this question in an interview. After installation of programs on windows OS,some program need the system to be restarted while others not. What is the reason behind this? I googled but ...
0
votes
0answers
11 views

What are the main components of a system and their relationships?

I have designed a management system for a medical practice and I am writing the design specification and I am kind of stumped by what to write. It says to include an overview of the architecture of ...
-1
votes
0answers
14 views

Best Practice to store KEY-VALUE pairs in JAVA

I want to store following data for comparison in Code Cardinal Direction Degree Direction N 348.75 - 11.25 NNE 11.25 - 33.75 NE 33.75 - 56.25 ENE ...
0
votes
0answers
3 views

WPF Control Lifeycle and Navigating through Containers to set Focus

I wanted to understand a control's lifecycle in WPF. Let me explain my scenario: I have a complex screen containing various container controls hosting forms. Let's say my screen has 3 Accordion ...
3
votes
2answers
60 views

How to manage memory in C interface for C++ implementation considering c++11?

I have a library implemented in C++ which has a C interface. This C interface is, for all intents and purposes, the only way to use this library. C++11 seems to discourage the use of raw pointers but ...
1
vote
1answer
59 views

Why convert to assembly language instead of machine code?

When I compile a C program, it is compiled first to assembly code, then assembled into machine code. I'm curious why it doesn't just convert straight to machine code in the first place.
2
votes
1answer
48 views

C# Accessing a private array when I have an extension method

I'm trying to make a number of data classes for my C#/XNA game, which would essentially be a wrapper around T[,]: public interface IGrid<T> where T : struct { Point Size { get; } T ...
0
votes
1answer
24 views

How do I save and load a std::string with object serialization in C++?

I had something simple like this POD structure... struct Actor { string name; int hp; }; Later on, for simplicity sake here, I saved the structure to file using... ...
-4
votes
0answers
22 views

Help Editing HTML, Web-Development [on hold]

I'm trying to edit the html on https://accounts.google.com/ServiceLogin to make it so the "stay signed in" box is checked. I tried inspecting the elements of the box though I can't seem to find ...
0
votes
1answer
11 views

RESTful API resource path for resource with complex relationship?

In my RESTful API, I have Users, Applications, and Tokens. An application has an owner, which is a user. A token is linked to both an application, and a user. A user has both public and private ...
0
votes
0answers
11 views

JSON or XML for parsing for Google Map API

Can someone help me to find a easy way to parse XML? I have an iOS 7 Application using Google Map API. I tried to learn this on my own. I try to create an application that uses Web Services like ...
0
votes
1answer
44 views

Encyption for passwords in config file?

I was wondering, if it makes sense to encrypt passwords for external services stored in my config file with an symmetric encryption algorithm? On the one hand I think, if someone gets access to the ...
0
votes
1answer
29 views

Advise on loose coupling between user controls

I have 5 user controls on the page and each control implements it's own interface that contains properties and events. In order to enable communication between user controls, I am creating a property ...
4
votes
7answers
558 views

Would an “as if” block be a reasonable language feature?

Consider the following "if cast": class A { public void f1() { ... } } class B : A { public void f2() { ... } } A a = foo(); // might return A or B if ( a is B ) { // It's B, go for it ...
0
votes
0answers
36 views

Dedupe while or after write

I have a summary tool written in python that reads input files, and writes them into a summary file. I have the following stipulations: No duplicates. If it exists, add a count to it. Is it ...
0
votes
1answer
37 views

How to make C++ template stack work with basic data types and compound variables?

Templates are nice for similar algorithms of different data types. Say I make a template stack of a basic data type... Stack<int> stck(10); stck.Push(5); I'd pop it... int x = stck.Pop(); ...
2
votes
2answers
159 views

Is there a point in using closures for non-fully functional programming languages?

Maybe I don't understand closures fully but take for example C#, why would I use closures when I can use classes? Am I missing something? Note that I read this one already but my question is specific ...
0
votes
2answers
49 views

Relative encapsulation design

Let's say I am doing a 2D application with the following design: There is the Level object that manages the world, and there are world objects which are entities inside the Level object. A world ...
-8
votes
0answers
65 views

I want to move PHP to JAVA ,How will i do it? [on hold]

I am working on PHP Framework now.I am 23 old . I will have 2 years of experience by 2016.And Company Bond will be over ,and i will be able to leave the company. I worked on ...
-5
votes
0answers
17 views

Closing MessageDialog windows with a timeout [on hold]

GTK - GTKMM In gtkmm messagedialog, How do I set a timeout handler to activate the OK button in the dialog window. I have a timer which counts down in seconds but when it reaches 0 it just hangs. The ...
-3
votes
0answers
110 views

Would it be unreasonable to try to program server software from scratch to avoid server licenses [on hold]

I've wanted to make an app that will use a dedicated server, and I recently learned that there are some expensive licenses required for the software. Do you know anything about the complexity of such ...
0
votes
3answers
218 views

C# - Typical instantiation of new object - is there a way to avoid repetitious syntax?

When learning C# (and OO concepts more generally at the same time) something I found very distracting is exemplified by the following line: ExampleClass exampleObject = new ExampleClass(); It's the ...
1
vote
2answers
39 views

Can the DDD repository modify entity in the DB without an entity object?

Say I have an aggregate root Entity with some flags which are represented by an encapsulated object EntityFlags: class Entity { /** @var EntityFlags */ private $flags; ... } I have a ...
-2
votes
1answer
92 views

Advantages and Disadvantages of C CGI over PHP? [on hold]

I've developed a lot of websites with PHP but sometime after learning C programming I found out that it's possible to do the same thing using C CGI. But I still don't know if it will be worth ...
0
votes
3answers
60 views

“flexible” functions in SQL Server 2012?

I'm looking for a very exotic thing and have no idea if it exists at all in SQL Server 2012. (Please forgive me - my background is in T-SQL, but not yet the fine details of SQL 'programming'.) So, ...
0
votes
0answers
38 views

How to design socks proxy server (OOP)

I'm working on a socks server application written in C#. But I don't really know how to design this in a nice way. I got this for Socks V4 and V4A: I'm not sure if it clears things up, but I think ...
1
vote
0answers
23 views

how to process document state transition?

Imagine there is an application (ASP.NET MVC) that processes some documents. The document must be revised several times by different group of users. state/role rules: simple user can only publish ...
-4
votes
0answers
20 views

Saving an array to a binary file in C? [migrated]

Suppose I create an m by n matrix in the following manner: double (*myArr)[n] = malloc(m * sizeof(*myArr)); How would I then save that to a binary file? I've tried using fwrite, but I haven't ...
0
votes
1answer
44 views

Application behavior in different screen sizes

My company is developing a .NET application that needs to work with 17 inch and 24 inch monitors using the same resolution on both. My question is whether I should expect any different behavior or ...
7
votes
2answers
205 views

Strategy for generating unique and secure identifiers for use in a “sometimes offline” web app

I have a web based project that allows users to work both online and offline and I'm looking for a way to generate unique ids for records on the client side. I'd like an approach that works while a ...
1
vote
1answer
31 views

options for data analytics for time series store

I'm building an Internet of Things solution that has a number of real time feeds. I need to make a couple of design decisions with regards to the data store and reporting and looking for input. I ...
-2
votes
0answers
28 views

Capturing client request headers (complete) along with IP address information? [on hold]

I want to write client request to a file with two things/information headers ip address The code I'm testing on free hosting service.Code is <? $headers= apache_request_headers(); foreach ...
9
votes
3answers
75 views

Categorize tasks/bugs by risk of changes

The project I'm currently working on has an issue: bugs and tasks are often assigned to people who are too new or too inexperienced and their work ends up producing more bugs down the road. The ...
2
votes
2answers
93 views

MVC: “User” model gets big and crowded. Should methods that do CRUD operations on one-to-many relationship data be in different models?

In most MVC web projects there is a User class. Many times a user has something else in a one-to-many relationship, i.e. orders. If we have a user class that has many orders, should methods that add, ...
0
votes
1answer
155 views

How to make C# methods work like javascript functions?

I'll keep it simple, I want to make C#'s methods work like javascript's functions. Mainly so I can convert this - function makeVariable(terp) { var me = {value: 0}; return function () { ...
-1
votes
0answers
8 views

php export data to cvs [migrated]

I need a help exporting search query by clicking on export button. I am able to get data from database to the browser. However, when I click on export button, it refreshes the page, and doesnt do ...
0
votes
0answers
51 views

Designing a scripting/programming language - translation - Javascript to C# [on hold]

So I'm making a small scripting language. I am following a tutorial online, it explains them. Now it has gotten to a part about closures, but I do not know how to do this in C# nor how I would set ...
-1
votes
0answers
43 views

Problema al volver a instalar android en mi aclipse [on hold]

lo que sucede es por alguna razón tuve que formatear mi laptop, descarge nuevamente el eclispse, le instale el plugin, descargue el sdk y descargue algunas apis, la api 4.4 me la descargo ...

15 30 50 per page