0
votes
0answers
7 views

Performance improvement on vb.net code

I need to write 5 crores records with 72 columns into text file, the file size is growing as 9.7gb . I need to check each and every columm length need to format as according to the length as defined ...
0
votes
1answer
19 views

Proper propagation / handling of exceptions

I am trying to learn trough example on a proper way to handle exceptions. When should I catch it, when and how should I throw it further down the line ? In this example I have a very simple setup: ...
0
votes
0answers
8 views

Data exchange between two servers?

have already working PHP server (remote) which written on Yii framework, and I was asked to build another one (local server), that will be synchronizing with the remote server whenever it updates. ...
0
votes
2answers
31 views

Best x86 processor(computer) to learn computer architecture and assembly

Im planning to build a computer as a hobby from scratch, with the least basic hardware possible in functionality so i can learn the basics of computer architecture and assembly language. I already ...
1
vote
3answers
84 views

singleton or instantiate everytime I use?

I use a class that just extracts data from one known object, and distributes it to other known objects. No persistent config or such needed in that class instance. How should I decide whether to set ...
3
votes
1answer
68 views

How do SQL transactions return immediate results?

I am using transactions to do bulk insert/updates. This is my little test loop: $now = date('Y-m-d H:i:s'); for ($i=0; $i<60; $i++) { $db->insert($cfg['ps_manufacturer'], array( ...
0
votes
1answer
20 views

Using SessionStorage to keep client side state

I am working on an web app and I would like to keep the client data in the LOCAL session storage. I can't use the servers session and the app will only call some existing rest WS.I have to develop ...
1
vote
1answer
27 views

Does a tree node have an ancestor?

Below is a rooted tree, where any node C except root has one parent P Ancestors of a node C are the nodes on path from C to root, including P,P's parent,P's grandparent, .... till root. My ...
0
votes
0answers
4 views

Should both the Supervisor and worker process be registered as global?

It has been just a month since I started learning erlang and today I was just going through the Supervisor module. I am just curious to know whether both Supervisor and Worker process must be ...
-2
votes
0answers
20 views

multiple threads writing to same file(duplicate) [on hold]

I just simply need to write file from two different threads keeping in mind that the data entered should not be repeated. like if thread1 is writing word "Java",the thread2 cannot write word "java" in ...
0
votes
0answers
23 views

Microservices: document storage service

We would like to implement a document storage service to our system built of Microservices. This new service would be responsible for storage and retrieval of all documents (Images, PDFs, and so on). ...
-3
votes
0answers
24 views

Message passing in procedure orinted programming language [on hold]

Why procedure oriented languages do not support message passing like c++,java? I know message passing in object oriented programming language. But i confused that whether procedure oriented ...
1
vote
0answers
59 views

What is a “shaded” JVM client?

JVM developer here. Lately I've seen banter on IRC chat rooms and even in my own office about so-called "shaded" Java libs/clients. The context of the use will be something like: "Such and so ...
-5
votes
0answers
18 views

Objective-C and Cocoa Problems in file handling

I am creating a small application where a user can look for he picture files in a system and rename the file by deleting special characters. I have written the code where everything happens except ...
1
vote
0answers
13 views

Efficient 2d per pixel lighting on Android

I am trying to create a simple 2d game to learn on my own. My current task is creating a lighting scheme. My goal is to make the screen appear dark except where I create lights. I have a light class ...
-5
votes
0answers
17 views

Can “reactive” programming be combined with imperative [on hold]

If you use RxJava, can the stream subscribers do imperative things, or should these systems attempt to be as declarative as possible?
-2
votes
0answers
22 views

Sharing workspace with outside developer [on hold]

Due to a large amount of work, we need to outsource some of our work to an outside developer. We are using Visual Studio 2013 to build our asp.net MVC project. What would be the best solution to go ...
1
vote
0answers
12 views

How should I handle the fetching of cached data in iOS

I'm developing an app at work, this is my first big application and in my smaller projects I didn't use caching at all. What's currently happening When the user logs on for their very first time ...
0
votes
0answers
33 views

Securing ajax call to local API

Our application is consuming 3rd party API by making an ajax call to a local MVC controller action (call to a 3rd party API is being made from our our server, using server side script). 3rd party API ...
0
votes
0answers
30 views

OAuthv2 for the JVM

It looks like OAuthv2 identifies several different categories of actors: Client applications, desiring READ and/or WRITE access on remote resource servers Auth servers, used for ...
0
votes
0answers
21 views

OAuthv2 access tokens and resource servers

In the OAuthv2 authorization grant, a “client app” authenticates itself against an “auth server”, and receives an “access token” for accessing resources living on a “resource server”. My concerns: ...
1
vote
1answer
32 views

OAuthv2 for distributed applications

Please note: Months ago I asked this question that received a truly amazing answer and introduction to OAuthv2. I’m now knee deep in the implementation of such a system and have similar (but notably ...
0
votes
0answers
73 views

Does a website source belong on GitHub? [on hold]

I guess this is kind of an intent of use question for GitHub. (Although this could really apply to any source control solution.) I've used GitHub for a few things in the past, but more and more all I ...
-4
votes
0answers
21 views

Term for a subclass that provides access in testing [on hold]

While writing unit tests, I find that I commonly create a subclass to allow public access to a field or method that is private in the class under test. The sole reason for the subclass's existence is ...
-2
votes
0answers
49 views

Which languages with explicit fallthrough but NO implicit fallthrough for 'switch' statements? [on hold]

As stated in this answer, the Go language permits explicit switch-case fallthrough, but does NOT permit implicit fallthrough (a la C). According to Wikipedia, Perl and some modern versions of Bash ...
0
votes
0answers
50 views

Single tracking algorithm for many carriers

When it comes to tracking packages from a multitude of carriers, is it possible to wrap a globally accepted way of pulling tacking status or must I write support for each carrier we deal with? I have ...
0
votes
2answers
26 views

Azure BLOB grained access

I have a standalone WPF desktop application which gathers data from Digital-to-Analog converter boards, computes, analyzes this data and then it creates binary files (proprietary format) with the ...
3
votes
0answers
44 views

When should I tag a release using git flow model?

Using the Git Flow model, when I'm on a feature-freeze and about to enter UAT, I create a branch named release-1.2.3 off of develop. I update version files, fix bugs, until UAT passes. Multiple builds ...
0
votes
0answers
36 views

How to use composition in Java [duplicate]

So I've been recently trying to use composition in Java having just learnt about it, but I can't quite get my head around what its doing differently to inheritance. So imagine this example. I'm ...
1
vote
2answers
168 views

Mixing OOP and Non-OOP

I'm working on a command line interface text based game. I'm writing it in C but there are various ways in which I could refactor the code by using Objective-C: using NSDictionary to allow me to ...
1
vote
1answer
23 views

Using code under Apache 2.0 License in my program using MIT License

I'm using source code from a code example that is licensed under the Apache 2.0 License in my program. Now I would like to publish that program and source code on GitHub using the MIT License. I've ...
-2
votes
1answer
75 views

Relevance of Hadoop Today [on hold]

Is barebones Hadoop still relevant and worth learning today? Or have projects built/derived from Hadoop (Storm, Spark, ...) taken the spotlight, so that it would be more beneficial to start with ...
0
votes
0answers
15 views

What is better for API, written with DRF - dedicated serializer or overriding “get_fields()”?

Now I write application with Django and Django REST Framework. I will do not show all model fields for users with restrited access, for example, field "moderated" for comments model, but admin and ...
0
votes
0answers
48 views

Path following algorithm [on hold]

I'm currently developing physics simulation of object moving in 2D space. My task to do following: Set a curve which represents path of object. This curve is Bezier curve and it's defined by ...
-2
votes
0answers
33 views

Suggestion for migrating my Silverlight Application to HTML5 based application [on hold]

I have gone to different question of this community how to move Silverlight app to Html5 , and What strategies are you using to migrate and planned to migrate some of my old work to new ...
-5
votes
0answers
18 views

advice needed in deciding the right framework for product development for an app which handles image files [on hold]

I am trying to develop a software which does the following : Accept basic user data , users can upload pictures and use built-in templates provided by me to make a collage and upload. This should be ...
3
votes
2answers
155 views

When is it ok to assert for a pointer being non-null?

This came up as part of a code review for a code segment which resembled this: auto somePikachu = GetMeAPikachu(); NT_ASSERT(somePikachu != nullptr); // this only fires on debug build ...
1
vote
0answers
28 views

How to detect previous version cookies, and remove them?

We occasionally deploy our SSO system with some major changes. As much as we try to minimize it, on occasion we have require our users to delete all their "old" cookies. This is because their cookies ...
1
vote
0answers
109 views

Architecture for C# Chat Application - not sure if WCF is right

I had written a WCF based "chat/notification" system but I am questioning my decision if WCF is a good fit. I have an external 3rd party lib that calls my process when events arrive: public class ...
14
votes
4answers
2k views

“Plans are nothing; Planning is everything” What does it mean? [on hold]

In Software development life cycle using iterative process in the form of stage-gate system, below is the contemporary flow of development life cycle with every SDLC stage of planning(in orange) My ...
0
votes
0answers
7 views

How to import javax.comm API to Netbeans IDE? [migrated]

I am writing a program to read and write from and to serial port of a system using Java in Netbeans IDE. I am working with Ubuntu 14.04 operating system. Actually I am a beginner in java programming. ...
-2
votes
0answers
13 views

Simulation in GROMACS [on hold]

In an analysis I got the probability distribution of a bend angle P(θ) with respect to time. However, I need to plot P(θ) with respect to 1−cos(θ) where θ refers to the bend angle in B-DNA. Is there ...
0
votes
0answers
17 views

What technology do WebHooks use for event subscription and notification?

I have been reading about WebHooks and how they have been used in the pubsubhubhub protocol to make a push model possible. Does anyone know what technology WebHooks use to manage event subscription ...
-2
votes
0answers
28 views

Planning A Lite CRM [on hold]

Ive built small web applications using rails and angular/laravel. These are usually single user and lack any authentication or administration side. I'm planning out a lite weight CRM but am at a ...
0
votes
1answer
36 views

Implementing a Forest Data Structure in Java

Name of data structure that's tree-like with multiple root nodes I stumbled upon someone's answer to a question regarding implementing a tree that has > 2 nodes above. I just wanted to get ...
-5
votes
0answers
34 views

Solving the domino Solitaire Problem using Dynamic Programing [on hold]

I tried solving the dynamic programming, my code is as below I get a score of only 30, please help. import java.util.Scanner; public class dominoSolitaire { public static void main(String[] args) { ...
-5
votes
0answers
46 views

C++, how can I use a string of Input as the name for a structure [on hold]

So, I have a program and I need to have the user input a name (into an awaiting string) for a database and then use that string as the name, the way I did it didn't work, can someone point me in the ...
0
votes
4answers
82 views

What is the Pythonic convention for working with an object similar to an existing variable? [on hold]

I often have an object, like a list or a dictionary, that I want a variation on. I might want a list with each element changed somehow (perhaps with a list comprehension, or could be a complicated ...
-4
votes
0answers
22 views

Multithreaded pollers and n-tiered apps [on hold]

I'm coding an IRC client. In a demo I made it have two Backgroundworkers, one for send and another for receive operations. I have a data access layer, a business layer and an UI layer. In which ...
5
votes
3answers
281 views

Why should I use “functional operations” instead of a for loop?

for (Canvas canvas : list) { } NetBeans suggests me to use "functional operations": list.stream().forEach((canvas) -> { }); But why is this preferred? If anything, it is ...

15 30 50 per page