0
votes
1answer
42 views

How many bytes can I fit into a QR code, with low error correction?

I need to fit at least 300 bytes (or much much more) into a QR code and think I can do this by mapping each byte into the associated ISO/IEC 8859-1 character located here. Since each byte (1-255) ...
1
vote
1answer
17 views

Web App vs Windows 8.1 Modern App (Metro)

We are building a system that will monitor large number of sensors at a customer site. We have the monitoring part down. This is a Windows 8.1 Modern App. Now we have to build the management ...
1
vote
0answers
57 views

What next steps to gain contributors to my programming language Wake?

I have spent several months creating the language Wake. It is now in alpha status, meaning its highly usable but still has many planned features -- features which will be slow to create with only one ...
0
votes
0answers
6 views

How should a REST API handle PUT when missing parameters?

I have a list of users that are being assigned to a certain office. I use checkboxes to select each user and when the client is done, a PUT is performed: PUT offices/:id users[0] : 14 users[1] : 12 ...
0
votes
0answers
17 views

OOD: class hierarchy with method arguments forming another hierarchy

I'd like to find out how do you guys handle the following situation: you have a class hierarchy, call it H1, with some polymorphic method that is supposed to accept an argument which type forms ...
1
vote
0answers
20 views

How to organize different folder categories in a Dev folder?

I'm trying to organize my software development projects folder, and for now I have 3 main categories of projects: Temporary, which I, for example, cloned from GitHub and not quite sure what to do ...
-1
votes
0answers
13 views

How to list sub-categories when a parent category is selected? ( PHP MySQL ) [on hold]

So here's my situation I am working on MVC Patern. It's not any framework. It's just a basic setup of MVC done by myself. I am building a classifieds Ads Website. There are some categories and some ...
1
vote
1answer
33 views

Integrating a mobile website into a mobile app

I'm trying to redevelop a mobile website so we can integrate it into a mobile app that is being developed by another department, but still keep it functional on the web. The app has its own menu, so ...
0
votes
0answers
8 views

Schema models for hierarchical relational databases to cater for Assembly,SubAssembly,…Component

I have been looking at various schemas for a hierarchical relational database to describe items, and their make up suitable for use in MS Access. Items must be described once as a template. Instances ...
0
votes
0answers
12 views

User input using vb.net for a femap api

I am writing an API for femap using vb.net. the .select method normally pauses the execution when inside the femap api environment, but under vb.net the code doesn't halt for the user input. What is ...
0
votes
1answer
9 views

State driven agents in a Component-Entity-System Approach

A state-driven agent is an agent that performs an action based on its current state. The logic can be implemented trough the use of a D-FSM that changes state depending on the Agent's "perception" ...
0
votes
0answers
22 views

Strip all comments from all html views in rails application

I've made a lot of comments in my rails views and now I want a way to remove them during deploy so viewers of the site can not see them. What is the best way to remove all comments during deploy? Or ...
1
vote
3answers
92 views

word for when variables are not null? Naming a method

I was wondering if there is a word programmers use for when a variable is not null. The reason I am curious is because I am trying to come up with a better method name for a method which compares two ...
2
votes
1answer
63 views

Is there a way to use RAII techniques in COM?

I am caught between two conceptual models of how to construct objects, and am having trouble working out what standard I want to adopt. I prefer to program in .NET and often try to use RAII and ...
6
votes
7answers
471 views

Should temporary code be put under version control and how?

Here are some examples of temporary/local code. It is needed in order to work with the codebase, but would be harmful to be part of it: Project files. Paths may need to be edited in order to reflect ...
1
vote
0answers
20 views

How do tablespaces differ in DB2 from databases in MySQL or MS SQL Server?

In DB2, it seems there is a strong separation between what a database is and what a tablespace is. Where as in MySQL and MS SQL Server tablespace and database seemed to be used synonymously. What ...
0
votes
1answer
38 views

Is it allowed to distribute a program which source code is under Ms-PL to paying customers?

What I want to do is bundle XML Notepad (as is, no modifications) with the installation of our commercial product. Instead of telling the customer "go to ...
-2
votes
0answers
15 views

Web TOOL conversion PHP to JSP/Servlets

Hey I recently changing old php code do java servelets/jsp etc. I came out with idea to give user a feedback on process going on back-end. Some sort of progress bar. How would that can be implemented ...
0
votes
3answers
107 views

What constitutes a good Database System(Java / SQL related)

I've given this so much research but still couldn't come to my own conclusion, before continuing this question I would like to give you a rough idea of my current situation. I'm 18 years old and have ...
3
votes
1answer
44 views

Where to keep global variables in Windows Forms App

I have here a Vb.Net employee management application. It has employees, managers, teams, trainings and so on. The way the application is set up now, data is read from the database in the startup form ...
0
votes
0answers
20 views

Some help on passing variables to subprocess

I need some help on the logic here. I want to query the RPM DB in Linux and get information out of every .rpm and store it. Like this: for this.rpm: name:..., version:..., description:... In Linux I ...
3
votes
4answers
104 views

How much data should exceptions hold?

Almost all the exceptions I have ever written have been very lightweight, containing a String message and optionally a throwable. In some situations I have included some application specific enum or ...
0
votes
2answers
39 views

Static and dynamic data : should I use different databases?

Say I am building a website that uses two different types of data : Static : information that will hardly change, like movie awards or world countries names (I want fast access so no external API) ...
19
votes
8answers
1k views

Is immutability very worthwhile when there is no concurrency?

It seems that thread-safety is always/often mentioned as the main benefit of using immutable types and especially collections. I have a situation where I would like to make sure that a method will ...
0
votes
0answers
12 views

Problems with my marquee underneath a ViewPager. Is my code inefficeint? [migrated]

So basically I have a ViewPager that has an image on each page with a total of 6 images for now. I plan to update the ViewPager every scroll by removing the previous image and adding another image to ...
0
votes
1answer
33 views

Filtering common starting/ending characters from array/list of strings

Ok so for example I have an array of strings with each string as below: 364VMS1029 364VMSH920 364VMSH192 364VMSU839 364VMN2382 364VMR223 364VMR2X3 364VMN829 364VMN8757 364VMN831 How can I ...
2
votes
0answers
22 views

An algorithm for finding subset matching criteria?

I recently came up with a problem which I would like to share some thoughts about with someone on this forum. This relates to finding a subset. In reality it is more complicated, but I tried to ...
0
votes
0answers
32 views

Writing a calculation application as services

I want to write a big calculator. My calculator should post his results, people should be able to get calculations or see what an other user calculates. For that purpose I would use WCF-Services. I ...
0
votes
0answers
13 views

Encapsulate multiple properties into a single class to use as a custom DependencyProperty

My application is a WPF project implemented in C# .NET (4.5) using an MVVM architecture with no code-behind in the View. In order to eliminate the coupling between the View and the ViewModel I'm ...
-4
votes
0answers
23 views

question use C++ [on hold]

a) A travelling salesman records his mileage at the end of each week in order to make an accurate claim for expenses. Write instructions to: Input the date and the number of miles ...
-2
votes
2answers
119 views

Which algorithm is faster?

I'm not sure where to post this question here or in the CS site. Anyway if I'm wrong I apologize. I'm creating a small game, where the computer generate pseudo random number in give range, and the ...
0
votes
1answer
27 views

External libraries licensing

The problem I have might seem trivial for some of you but in general I have a question about all those "free" software licenses (mainly for PHP libraries). Let's assume that I want to create project ...
0
votes
1answer
25 views

Roles configuration strategy

We're close to start new project using sf2, and, probably, FosUserBundle. Keeping that in mind - what's the best strategy to define roles? App will be used by multiple divisions inside our company ...
-3
votes
0answers
36 views

what skills require to develop a application like skype [on hold]

Hi I want to create a chat application like skype. I have no Idea about it from where I start. I want to know that what skills are require to develop application like skype. May be this is out of ...
0
votes
0answers
55 views

Programming Interview [on hold]

I have a first ever job interview(Trainee Android Developer) of my life, I am little confused because I don't know what kind of question they going to ask me. Although I have some experience in ...
-1
votes
1answer
83 views

Designing a big Web application (SPA) with .NET and javascript frameworks. How to start?

In my company we have this desktop ERP that is the main product of the company. Ofcourse this erp is a collection of different bussiness modules (CRM, inventory managment etc.). The company wanted to ...
0
votes
1answer
84 views

What is design pattern/paradigm for ASP.NET web-apps?

I don't actually know if my question is correct, but working on a webapp porting from ASP.NET world to Java + Spring platform I came up with this question in mind. Using Spring MVC, the new version ...
0
votes
1answer
23 views

Choice of platform for the most robust API with ability to run background tasks [on hold]

I am planning to make a web application and a mobile app that works with the same API. I have until recently been certain I should run nodejs. I have seen this question Is node.js a good fit for ...
-1
votes
3answers
146 views

Is there an official programming format?

A person can make their code readable and neat in their own way. However, is there a standard programming format that professional programmers are compliant to?
1
vote
1answer
161 views

Which is the more testable C function implementation?

I write code in C. I have been striving to write more testable code but I am a little confused on deciding between writing pure functions that are really good for testing but require smaller functions ...
0
votes
2answers
68 views

Referencing StackOverflow questions in comments

Often when coding I'll get stuck on a particularly tricky problem and will go about searching for a solution. More often than not this leads me to a StackOverflow question that provides a full or ...
-1
votes
1answer
46 views

Using XAMPP for intranet setup

Hi I'm planning to run production code in an intranet of about 12 computers. Is it okay to use XAMPP to run this or are there better alternatives?
-3
votes
1answer
80 views

C# Implementing filtered Iterator without using yield return

I'm trying to display elements of a list with filter and without filter. Here, I use the filter in such a way to display the elements which are divisible by 3. I'm going to use Enumerable and ...
1
vote
2answers
51 views

Android SDK and Iphone SDK limitations

I have an idea that would require triggering a call or text message simply by pressing or dialing a certain number. Example: Pressing 2324 on the pin code. Despite it not being your pin code to ...
1
vote
0answers
35 views

Object Chain through an Interface

Say I have 3+ types of objects: function Sea() { var logs = [Logs]; this.getLog = function(ind){return logs[ind]} } function Log() { var bumps = [Bumps]; this.getBump = ...
3
votes
2answers
50 views

How do you handle specific networking exceptions in Haskell?

I have the following to try and connect to a server: testAddress :: HostName -> Int -> IO (Maybe Handle) testAddress host iPort = do let port = PortNumber $ fromIntegral iPort putStrLn ...
-2
votes
2answers
110 views

Beginning Web Development [on hold]

I want to know what to do to host a personal site .. I know I need some programming skills so I already learnt HTML, CSS, JavaScript & CGI Scripting Basics .. I am currently learning PHP & ...
-1
votes
0answers
44 views

Recommend me a markup language [on hold]

I need some markup language for GUI building in my 3d engine. Rather than making up yet another one (since afaik there are hundreds), I was wondering if there are some good ones out there that I could ...
1
vote
0answers
17 views

How to use Messagequeing in a distributed web application

I am curious for solutions to this problem: Assume we are going to build an online-store. To better scale parts of the architecture, it is broken into independend subsystems. The typical scenario ...
1
vote
2answers
144 views

Whats the best way to build a HTML/AJAX site that requires login?

Let's say that hypothetically you wanted to build a website that delivered content to the visitors entirely using HTML and Javascript (AJAX to fetch server side data). The site would require login for ...

15 30 50 per page