0
votes
0answers
4 views

What are the number of files for some popular systems?

I'm wondering out of curiosity how many files are included in Windoes 8, compared to recent ubuntu, Appl Mac, BSD, Android or more? I have had project with large number of files and I'm wondering for ...
0
votes
1answer
9 views

Count Sort Algorithm efficiency

As I am reading a Book about "Algorithm Analysis", I came across count_sort Algorithm. A question has been raised in my head. I read in many other papers, that "Quick Sort/ Merge Sort" are the best ...
0
votes
0answers
3 views

Connecting to mySQL from php error [migrated]

Here is my issue. I am trying to INSERT into MySQL from PHP. This is the code: // Create Database Connection $dbhandle=mysql_connect($hostname, $username, $password) or die("Unable to connect ...
0
votes
0answers
9 views

How to send file updates from two virtual machines to a server for processing?

I want an opinion on the best technique for the scenario below: I've got 2 virtual machines (VM) running. In each VM, there is an application running which performs some operations and produces some ...
0
votes
2answers
55 views

How does Facebook manage to allow a user unlimited sessions?

I could login through the website, android app, iOS app, the browsers on mobile, and when I log out from one, it doesn't log me out of all of them. Traditionally, you would log out of all the services ...
1
vote
1answer
52 views

How do newly-created programming languages use Windows API features?

WinAPI is focused primarily on the C family, but how do new programming languages use those features without creating their own runtime/interpreter type thing? Do they hook directly into the DLL ...
1
vote
0answers
114 views

How does a dependently typed programming language cope with mutability?

I have been investigating on the viability of a "normal" programming language with dependent types. Think for example in Java and add dependent types to it. One difficulty which I have found is that ...
0
votes
0answers
63 views

Creating a very simple program [on hold]

To cut a long story short, in my spare time I've been learning about the origins of music theory, and I want to create a simple program (for windows) that is basically a series of 12 buttons, each of ...
0
votes
0answers
31 views

Trouble knowing which AI techniques to use [on hold]

I've been reading Artificial Intelligence: A Modern Approach, which describes many techniques in AI. My problem is that often I don't know when to use a given technique. This can be for 2 reasons: ...
1
vote
3answers
95 views

Is randomly refactoring code allowed in scrum

Background My team uses scrum I have currently no task assigned There are no more pending task in the backlog Today is Labor Day for my client. Not having many things to do today I wanted to start ...
-1
votes
0answers
40 views

Out-of-Date study materials.

How can I tell if a study material is out of date. And by this I mean too dated to be make useful and worthwhile reading. An example is a book I have just purchased named 'Building Internet ...
6
votes
4answers
338 views

Beginning a sentence with a function name?

Occasionally while typing something up that relates to a case sensitive programming language I end up starting a sentence with a function name. Now the rules of English state that the first word in a ...
0
votes
0answers
33 views

Architecture Decoupling

I have set up my ASP.NET MVC project as follows: Presentation Layer : ViewModels, Views, Certain logic to handle service responses Business Logic / Service Layer : Services that work with data from ...
0
votes
1answer
17 views

Where to put sample data in project structure

I am working on a Scala project and I want to include some sample data somewhere in the project. Specifically, my Scala project includes code that performs various natural language processing tasks ...
0
votes
0answers
9 views

UnmarshalException while consuming a web service

I have a web service based on a number of entity classes. one of them is shows below @Entity @Table(name = "users") @XmlRootElement @NamedQueries({ @NamedQuery(name = "Users.findAll", query = "SELECT ...
0
votes
0answers
8 views

P2P locking using WebRTC and socket.io for streaming incremental game state

Situation & requirements send incremental updates of a very simple "game" state (like a game, but at the same time just 1 person is allowed to play, the others watch the playing one) via WebRTC ...
2
votes
2answers
47 views

Whether to store all numbers or just their ranges in database for this application

I'm developing a (php) Web App which will sell dynamically generated real time cell phone numbers for cellular companies. A company will ask for, say, a thousand numbers and this app will check for ...
0
votes
0answers
11 views

Adding an update feature to a web application

I'm interested in the best approach to adding auto update functionality to a web application. Currently The patches are downloaded from the softwares support site Uploaded to the host server(s) ...
0
votes
1answer
38 views

How do I keep my classes in MVC from becoming bloated?

I'm not sure how I should have worded the question. If I have a Student and Classes database, and I have queries that involve both. Where do I put my queries? In one case, someone wants student ...
3
votes
1answer
63 views

Why is Akka being marketed as reactive? Is Actor Model reactive?

As far as I understand the Actor Model and the Reactive Programming are separate concepts. Actor Model does not seem to be inherently reactive to me. However the Akka framework which is an Actor ...
1
vote
0answers
42 views

Is there a design pattern for splitting up files into smaller files?

I am developing a project where I have to load very large files (upto 50 MB). Currently I am loading these files completely into (consecutive) memory. This has the advantage that I can very easily ...
-2
votes
0answers
28 views

Efficiently retrieving and filtering files by using filename [on hold]

trying to filter files with formats such as pdf file names the following structure: Items number + Revision + lot number 1109093-A2 (85806S) pdf 1109093-A3 (85806S) pdf 1109092-A1 (85806S) pdf ...
-2
votes
0answers
42 views

Question for potential employer [on hold]

I was recently offered a job with a software house. I am currently working as a developer in the IT department of a large corporate organization. I am struggling to make my mind up whether to stay ...
1
vote
1answer
43 views

Decorating a class that calls its own public methods

I've written a system that calculates discounts for a shopping cart based on a set of rules. Each rule is implemented with the following interface (C#): interface IRule { bool IsActive(); bool ...
1
vote
4answers
165 views

How 'child proof' should i write code as a solo programmer?

In our company there once were multiple programmers, now i am the last man standing. I have inherited all the code and i maintain, rewrite, extend (,fix) it. I always run into this behaviour that i ...
0
votes
2answers
59 views

Which one is better?Change sprint dates or one team member is not attend sprint plans for 4 months

We have an agile team and nearly running 80. sprint.Our sprint starts wednesday and finish Tuesday 10 days after.One of our team member,developer, will attend to a university course every Wednesday ...
-1
votes
0answers
32 views

What is exaclty Timer Deamon in windows? how can i get that using C#?

I have been trying to find the difference between the RTC clock and the system clock. At last I found that Timer Deamon in windows try to compare time between RTC and OS clock. If it is more than 1 ...
0
votes
2answers
39 views

Possible design patterns for base function with possible additions

I have various interfaces i have to implement. Let's assume ITypeA, ITypeB. They have following methods: ITypeA Connect Disconnect GetData SetData ClearData ITypeB Connect Disconnect ...
-2
votes
0answers
15 views

C# reports From data path [on hold]

I would like to get this clear how can i load reports from a path file and add them in a list box and from there when the list box selected Item is double click the report will generate. please help!
-3
votes
0answers
49 views

Difference between Applied Programming and Fundamental Programming? [on hold]

I have searched a lot about the difference between applied programming and fundamental programming but couldn't find a solution.
1
vote
1answer
47 views

Is it possible to modify a native executable and change (dynamic) library it depends on?

Say I compile a simple application called myproggy that depends on the libfoo dynamic library. Assuming I have another dynamic library libbaz that implements absolutely the same interface (in other ...
-3
votes
0answers
46 views

Options to get WIFI SSID from desktop or mobile [on hold]

I am thinking about all the possible ways to get the WIFI SSID string from connected devices. Ideally I'm looking for a programmatic solution and minimal user interference. I'm pretty well covered ...
0
votes
2answers
61 views

Mobile App Development-Architecture/Platform: Main performance concern: device/UI responsiveness

I am currently investigating different alternatives for building a mobile instant messaging application for iOS and Android, using an XMPP server (probably ejabberd) as the back-end. Main requirements ...
-1
votes
0answers
47 views

Push Notification from Server ASP.NET with SignalR v1.2 [on hold]

I was developing an ASP.NET website which would require real time notification based on events from Server. Basically there are two Classes of Users. Back Office Front Office In the event that a ...
0
votes
1answer
153 views

Single responsibility: how does this code cause problems?

Given the following interface interface Modem { public void Dial(string pno); public void Hangup(); public void Send(char c); public char Recv(); } Uncle Bob writes However, ...
-3
votes
0answers
25 views

How to learn BPM and conquer step by step? [on hold]

I'm a new comer to the BPM world(Oracle solution) . I feel confused about many terminologies and concepts . I want recommendation to start point books to easy to understand the concept of BPM and ...
-4
votes
0answers
25 views

How to store, list, open files to MySQL using C# [on hold]

Im creating a c# employee app, I've created a form for Employee files and I dont have any idea how to store list and open files to mysql with c#. Any help with detailed example will be aprociated! ...
-1
votes
0answers
105 views

Code Development in agile project

I have started project with agile methodology. Main problem I am facing is client freeze all the requirement before one or two days of my planning. Once Requirement are done client request high level ...
2
votes
2answers
101 views

Are there alternatives to using an optional type in a multithreaded environment?

I'm making an MPMC queue in C++, and I would like to find out what the best interface for a try_dequeue method would be (I'm not concerned about its implementation). I'd like to provide a method which ...
1
vote
2answers
111 views

How to let the outside world decorate my private field?

Imagine a simple Controller (as in process control) interface. I have some concrete classes, say PIDController, that implement it. I also have some decorator classes that extend these classes ...
3
votes
1answer
119 views

Redundancy caused by polymorphism

I have two chat rooms, one has administration behaviour, and one doesn't. I have factored out all of the common code into a base chat room, but the AdministerChatroom behaviour I have pulled out into ...
-2
votes
0answers
21 views

for any android based application what is a latest technoloy to be used? [on hold]

which is latest technology to be used for creating android based application for smart phone as well as web ? we have created android based application with HTML3, CSS 2 but giving problem with ...
2
votes
2answers
116 views

On concatenating adjacent string literals

C and C++ compiles adjacent string literals as a single string literal. For example this: "Some text..." "and more text" is equivalent to: "Some text...and more text" In other languages like C# ...
-3
votes
0answers
15 views

Where can I find internships involving other sciences? [on hold]

I'm currently in school for Computer Science and I want to be involved with other sciences (Biology, Neuroscience, Mathematics, Physics, Astronomy) as much as possible. My 'dream job' would be to ...
32
votes
15answers
4k views

What's wrong with comments that explain complex code?

A lot of people claim that "comments should explain 'why', but not 'how'". Others say that "code should be self-documenting" and comments should be scarce. Robert C. Martin claims that (rephrased to ...
-2
votes
0answers
43 views

Lexx/Yacc issue [on hold]

I stuck into problem. Now i`m developing XML-files parser for my studies and i have got a little problem. I define lexems using Lex, and parse file using bison. My problem is that when Lex get ...
0
votes
1answer
26 views

Tweaking a ranking algorithm from a few variables

I'm going to have a mySQL table with elements in it and would like to rank them in the same manner than Reddit but not quite. I'd like to know how to add or remove importance to a variable in my ...
2
votes
1answer
29 views

I have an unordered list of rectangles and their neighbors on four sides with no origin. How can I efficiently convert this into a grid?

I am writing a GtkGrid-like container for my GUI library for Go, and I'm trying to write the actual layout part of the code. Basically, I have an unordered list of controls. Each control is a ...
1
vote
2answers
21 views

Client / Server dependencies with Continuous Integration

I'm starting to use continuous integration for one of my projects and had some questions about structure and architecture. It's basically a multi-device webservice that is split into one server ...
0
votes
0answers
4 views

Displaying Fibonacci sequence [migrated]

wrote a program to calculate and display the first 20 fibonacci numbers, the sequence goes as follows: 1, 1, 2, 3, 5, 8, 13... (each number is the sum of the previous two numbers) The problem is ...

15 30 50 per page