-2
votes
0answers
11 views

Help Visual Basic?

Hello Iam a student studying Visual Basic programming. Unfortunately I am having problems fathoming out how to do something within a program I am compiling and was wondering if you could help. I am ...
0
votes
0answers
8 views

The format of output in Python

When I try to print out data using Python, I want to get this format: If I have variables a[0]=1, b[0]=12, c[0]=2 a[1]=33 b[1]=1 c[1]=33 a[2]=30 b[2]=122 c[2]=33 I want to print them and get: 1 ...
-4
votes
0answers
19 views

C and Java Programmar [on hold]

I am currently pursuing computer science in college. 1)I want to be a professional C and Java J2SE Developer...(not only a programmar)...so that I can develop system softwares,customize linux shell ...
0
votes
1answer
15 views

Im having trouble using the time package

whenever I use the time package, I get this error: Traceback (most recent call last): File "C:\Python34\2015\intrest calculator.py", line 53, in time.sleep(1) AttributeError: 'float' object ...
0
votes
0answers
6 views

STM32VLDiscovery - SPI read and display of data

I am quite new to STM32 programming. But i need it for my project. I am going to transfer data from an accelerometer to STM32VLdiscovery board via SPI. Now I have the code written and uploaded ...
0
votes
0answers
4 views

Persisting sensitive data over a multi-action signup process in MVC

I have a registration form that is split across two distinct controller actions: register/form1 register/form2 register/form1 requests an email and password (amongst other things), register/form2 ...
0
votes
1answer
22 views

C++ how export variable from a dynamic library?

I have an API class: API.hpp (public API) class math { static __declspec(dllexport) double Pi; static __declspec(dllexport) double Sum(double x, double y); }; Dll.cpp (test.dll) ...
-3
votes
0answers
12 views

Listview break lines [on hold]

My code read a txt file from internet but join all lines. How can i break the lines? package com.tvmix.read; import java.io.BufferedReader;import java.io.IOException;import ...
-1
votes
0answers
13 views

Does Facebook provides real-time analytics for mobile apps?

I have integrated the FB SDK to my app and just got it released in the iOS App Store. I'm still confused whether the FB analytics is realtime or not. From what I see, it seems to be getting updated ...
2
votes
2answers
53 views

Dependency injection vs dependency lookup in a layered architecture

Given a layered architecture, where the business logic is isolated in a package from all other layers, like persistent storage, user interface, interfaces for various (vendor) remote services, etc, I ...
0
votes
2answers
22 views

Remote server development

We are working on a django project which is hosted on an amazon ec2 instance. It is on very early stage, so changes are made constantly and the webapp should be updated more than once a day. Right ...
1
vote
1answer
49 views

What data type is this?

I have a list of items I am adding to, however this special list will delete anything past a given capacity. For the life of me, I can't think of the name of such a construct. Consider data = new ...
-3
votes
0answers
11 views

A good place to start for developing iOS apps? [on hold]

I am an undergraduate student in computer science, and have experience with C/C++, web dev with html/php, database with SQL, and GUI development with java swing and C++ OpenGL. Currently I don't have ...
-4
votes
0answers
30 views

Machine Programming [on hold]

I am so much interested in knowing machine programming. For example making an application that can sense and record temperature, or open a gate when clicked on etc. Please direct me on what to sart ...
1
vote
1answer
40 views

Choosing a software license that requires written permission to use commercially

I'm looking for a license that I haven't seen before. I would like a license that allows other people to use my code non-commercially, but unless they have written permission they should not be able ...
1
vote
0answers
25 views

Partially Fulfilled Specification Pattern

We have a model (IPayableModel) with a boolean property indicating that a user may or may not pay for the item. A set of specifications defining criteria that would disqualify the model from payment ...
-1
votes
1answer
32 views

How to upload a C# project to Github without visual studio [on hold]

I would like to know How to upload a C# project to Github without visual studio? What do i need and how would I do it?
0
votes
0answers
4 views

How would you search a dictionary and print out entries with same value [migrated]

I've been a little confused on how you would go about this, so what would be a good way to do it. For Example: If I had this as my dictionary dic = [{1:Dog, 2:Cat}{1:Bird, 2:Rat}{1:Turtle, 2:Cat}] ...
1
vote
2answers
39 views

Move Files Using Git mv Or Use File System Instead

I am wondering what the difference in Git would be if I used the mv command versus moving it in Windows explorer. From Perforce I know it's important because the version system keep track of the file ...
1
vote
0answers
13 views

Cross platform password storage with retrieval for applications with authorization?

I'm working on a development tool that requires knowing one or more api passwords for a user to operate. Currently it works on Mac, and uses keychain to store the credentials for later re-use. Are ...
-1
votes
2answers
72 views

In C is it possible to change http requests to https

Long story short I've got this package that currently has a security risk where credentials are sent over http and I need to convert them to https but I currently lack the knowledge to do so. Could ...
0
votes
1answer
47 views

Elegant way to count the number of files in Zip archive

I need to count the number of files in several zip archives for error checking. I've found several answers on SO but nothing elegant. I currently have the following code which works but it's not ...
-2
votes
0answers
10 views

How to add scala to path [on hold]

I'm trying to add scala as a path variable since the debian packages for it are older versions. I'm using the instructions from their site, but I don't know how to handle scala. I would usually do ...
-2
votes
0answers
48 views

It is possible to understund the class description only by reading the code source? [on hold]

I will start my question by example; assuming that we have only the content of the Service class of Android platform. Can I understand deeply the class behavior/role just by reading the source code ? ...
0
votes
0answers
17 views

Including a third party (database) API in a generic spec

I am developing the specification for a platform on top of which (relatively simple) applications should be developed. Those applications require access to storage (nothing fancy), but the problem I ...
1
vote
0answers
15 views

Job queue dispatching based on resource constraints

We have a job-queue shaped hole in our architecture, but it isn't immediately obvious that there's a piece of existing software to fill it. There may be a reason for this, or there might not, so let ...
1
vote
1answer
38 views

Could I use Selenium to automate UI testing? How would I do this?

We have a large inventory system where we work and making changes has the possibility to break things in other areas. This happens a lot, and it is hard to manually test for everything every time ...
-3
votes
0answers
26 views

Text UI strategy game: Which Language/engines? [on hold]

I'm thinking about building a simple 2d strategy game, the likeness of starcraft, except extremely simplified. The main thing I want to do is have a text UI, the kind of thing you see when you ...
-1
votes
0answers
38 views

which route to take for a better career [on hold]

Might be posting in the wrong place, if so, I apologise. So I've been to college and university, and in both I chose as many modules as I could based around Java. I did one module on c++ and ...
0
votes
1answer
66 views

How do you build the confidence to work on large projects?

So I'm a programmer who works in telecom. I'm currently in school as well and I'm also an avid gamer (shocker). I said this to form my question: Take a big game title such as DotA 2 - how do you know ...
-2
votes
0answers
26 views

WebService in Java - why code does not execute? [on hold]

Here is my sample code. It does barcodes scanning. Function sendJson should call webService. Code runs but in Apache log I see NOTHING. For some reason web service is not called. What I'm doing wrong? ...
-3
votes
0answers
17 views

Uncompressing zlib file in command line [on hold]

Git stores objects using zlib compression. How do we extract this and view the contents of a blob ? Most of the results from googling this applied to within scripts, not manual/CL.
-3
votes
0answers
38 views

The future of opencl with the entering overlap of vulkan

It's apparent that vulkan is meant to replace opengl, but because of it's compute oriented api I'm wondering where this leaves openCL. Since you can now do everything in vulkan that you could do in ...
-2
votes
0answers
36 views

Where to find good test data to test a time rounding function based on the 15/7/8 rounding rule?

I'm implementing a 15/7/8 rounding rule for clock times and I need some good test data to make sure that it works correctly. I've tried to come up with my own (below), but the real problem is ...
0
votes
2answers
43 views

Verifying absence of an event in multithreaded unit test

I've got a legacy application that had a fragile unit test (which is really more of an integration test) that used a lot of Thread.Sleep calls to wait for events to happen. While trying to introduce ...
1
vote
6answers
138 views

Why do I need to map arguments to instance variables?

Class BankAccount: def __init__(self, accID, name, balance): self.accID = accID self.name = name self.balance = balance In the code above, why is it that I'm required to ...
2
votes
3answers
78 views

Architecture: Are form default values considered business logic and where should the logic to calculate them be placed?

An example of default form values on a search form might be: Start Date - Today End Date - The last day of the next month Obviously, these are fairly simple examples, but default values can get a ...
-6
votes
0answers
21 views

Where to start: Sortable Databases and APIs [on hold]

First things first, I apologize if this is not the correct forum for me to ask this question. I like to consider myself as tech-savy; I have a general understanding of HTML, PHP, Sql, and CSS. I ...
-4
votes
0answers
55 views

What do you think about a CMS similar to WordPress but implemented in Java? [on hold]

I am a Java developer and I am also interestest in WordPress CMS (it is a very popular PHP product, I think that all know it) website development. In this time I am working in Java on LifeRay webapp. ...
-7
votes
0answers
19 views

Unhandled exception: AddInUtil.exe - how do I get rid of the error message? [on hold]

Just installed Visual Studio and I have this error message popping up constantly: "An unhandled exception ('System.IO.FileNotFoundException') occured in AddInUtil.exe [19452]. The Just-In-Time ...
-2
votes
0answers
32 views

Interview question for starting on a new project [on hold]

The technology in this context is .Net, but I got this random question (first time ever) during an interview recently. Q: When you have a brand new project, how do you get started? What steps ...
-2
votes
1answer
75 views

Why are Global variables evil? [duplicate]

Many people state that Global variables in almost any language are evil, but I don't see why in my point of view. If I'm working on a multi-filed project, sometimes I want to reuse and/or use that ...
3
votes
1answer
32 views

How does Polyglot Persistence handle relational data?

I have recently been studying up on microservices, and an associated idea that I've seen is that of polyglot persistence and microservices working with their own databases, or whatever storage they ...
-2
votes
0answers
41 views

Recursivity in other areas [on hold]

As programmers, most of us know the concept of algorithmic recursivity. I can see it only applied on programming and on mathematics. Are there any other areas where there is a practical use of ...
-2
votes
3answers
71 views

What is the difference of smoke testing and black-box testing?

Main theme of my question is about the differences of Smoke Testing and other types of software testing specially Black-box testing but also I'm very curoius to know what is the purpose of this ...
1
vote
1answer
36 views

What's the best way to store class/type info in a plugin system in your software?

There are lots of applications like 3ds Max, Maya, etc that allows you to use plugins, where even the default nodes are created as plugins. This is all good but if the developer changes the ...
0
votes
3answers
32 views

How to test Windows .NET TCP program handling of connection failure

I've written my own C# TCP communications module (using SocketAsyncEventArgs, although that's presumably irrelevant). My module runs at both ends of the connection, client and server. As part of the ...
-3
votes
0answers
26 views

Rabbitmq route to most specific queue

I want to implement load-balancing with rabbitmq. I have a key like this {animal}.{size}.{color}, I have exchange "topic-animal-exchange" and alternate exchange "default-animal-echange" to which ...
0
votes
0answers
76 views

Is this API well designed? [on hold]

I know APIs vary depending on developers requirements but from general guidelines is this end point structure well designed for an API? The resources are -> courses, categories and providers. A ...
1
vote
7answers
132 views

How to mark next version in the source code? [on hold]

We are developing a software that gets released every few months, and it is either a major version (1.0.x -> 2.0.0) or a minor version (-> 1.1.x). This version is visible in the software, say that we ...

15 30 50 per page