0
votes
0answers
5 views

Neural network image processing

I want to transform this: to this: Using a neural network. Is it possible? I know neural networks are commonly used to, say, take the original image and classify it as a face. Can I also use it ...
-1
votes
0answers
12 views

Distributed System for Prime Numbers

How can I design a system using multiple computers that determines if a number N is primary or not? The design that I could think of is as follows. Could you guys please let me know if this can be ...
-3
votes
0answers
19 views

C++ code browser to navigate through incomplete source code? [on hold]

I frequently find myself with sets of C++ files that do not compile, they are just pieces of programs. I usually use Notepad++ to look and investigate them. However, I find very inefficient to look at ...
-1
votes
0answers
13 views

voice recognition technology via browser

I just came across a plugin for browsers that support microphones and voice recognition. I realize we need to ask specific questions here, and this is my first time with this technology. I'm ...
0
votes
0answers
2 views

import existing pdf using TCPDF library [migrated]

I'm trying to import an existing pdf file to digitaly sign it using TCPDF library $pdf = new TCPDF_IMPORT; $pdf -> importPDF('example.pdf'); when I do so I get somthing like this So, what is ...
6
votes
4answers
178 views

What specifically does expressive power refer to?

Expressive Power is defined by Wikipedia as: .. the breadth of ideas that can be represented and communicated in that language. Does "ideas" refer to the things (operations, structures, ...
-3
votes
0answers
26 views

Programming a MMO game server [on hold]

If you were to program a MMO game server from scratch, what programming language / technologies would you use? If I was asked this question 10 years ago, I would answer "C++" without a shadow of a ...
0
votes
1answer
31 views

Handling multiple packet types in Java 8

I have a Netty-based game server implementation that handles 40 or so distinct packets with their own serialization structure, for brevity I'll refer to them as FooPacket, BarPacket, ... These packet ...
-7
votes
0answers
48 views

What languages require least typing? [on hold]

Less is better even if all is replaced like c for class, l for loop and so on
-3
votes
1answer
29 views

How create unit test the performance of an application? [on hold]

What I want is to run automatically methods to tests the performance of an application. Just like the unit tests, but with the purpose of evaluate the performance and create reports if is it possible. ...
0
votes
0answers
12 views

Using Mockito.reset

I've just read a lot of arguments against using Mockito.reset and can't make much sense of it. Put differently, I agree in general, but there's always a case which looks like using reset is useful or ...
0
votes
0answers
48 views

Basic logical operator question [migrated]

#include <stdio.h> int main() { int k=5; if(++k < 5 && k++ / 5 || ++k <= 8) { printf("%d",k); } return 0; } Why is the output 7 and not 8?(I am a ...
-3
votes
0answers
25 views

Text to speech software or preprogrammed [on hold]

Looking to see how to program a simple VB program, or maybe already it exists a Text to speech software (for blind people), that will monitor a screen and if text "10" is displayed, then it is read ...
-1
votes
1answer
44 views

Is there a technology framework which will let me use Postgres as a spreadsheet?

We are using Google Sheets to keep track of individual customers, when we should deliver services they have bought, how far we have gotten in the delivery process (50+ process steps) and exactly what ...
-2
votes
0answers
17 views

CSV data to Chart.js Graph

I have a Bootstrap website to which I am trying to add a Chart.js line chart. I have an example chart working but have not added my data to the script for use in the chart. I have looked over lots of ...
-2
votes
0answers
28 views

How to use the browser's (chrome/firefox) HTML/CSS/JS rendering engine to produce PDF? [on hold]

There are nice projects that generate pdf from html/css/js files http://wkhtmltopdf.org/ (open source) https://code.google.com/p/flying-saucer/ (open source) http://cssbox.sourceforge.net/ (not ...
0
votes
2answers
74 views

Does ASCII have a header or footer or anything similar?

I'm working through a problem in Programming Pearls -- specifically, the implementation of a program which sorts a file containing, at most, 10,000,000 integers, each of which is 7 digits long (Column ...
2
votes
0answers
36 views

How to model users accounts in ASP MVC Framework with Entity Framework using code-first approach?

I am working on a small application that requires user login, the application is in c# / ASP MVC 4. The ASP MVC framework takes care of memberships, authentication and authorization features when i ...
0
votes
2answers
59 views

Separate methods or single method with if statement?

I'm working on a .NET application and I'm wondering if I should use separate methods to handle the click events of two different buttons. They essentially do the same thing, just on different objects ...
3
votes
3answers
120 views

simple let binding vs constant function

I understand the reasons why I would prefer let a = f(x) over let a() = f(x), especially when f takes is a long running function. I also think it is correct to say, that, considering lambda calculus ...
-3
votes
0answers
39 views

Tips of how to map out my program/product [on hold]

I have a business idea that I want to start. Now first of all, I don't know if would be better for me to do it as a program, or as a website product with silverlight or whatever. I don't have the ...
0
votes
0answers
78 views

How do I open source company owned source code [on hold]

My company wants to release a project for which I am the lead developer and for which the company owns full copy rights under the Apache V2 license. I'll be the person who will have to manage the ...
0
votes
1answer
31 views

REST API design for associations/aggregation

I am building RESTful API that manages persons and lists. There can be many List a many Person each with its own set of properties. Person can be in zero or more lists, List can contain zero or more ...
-4
votes
0answers
49 views

Haskell feature request: anonymous arguments [on hold]

w/o feature: func :: Int -> [a] -> a func a0 a1 = a1 !! a0 w/ feature: func :: Int -> [a] -> a func = \1 !! \0 Number right after backslash corresponds to the position of a ...
-2
votes
0answers
20 views

C++ ofstream adding random data to a file! [migrated]

Here is my code: std::ifstream file2(imageToAdd.c_str(), std::ios::in | std::ios::binary); if(file2){ file2.seekg(0,std::ios::end); length = file2.tellg(); file2.seekg(0,std::ios::beg); ...
1
vote
0answers
49 views

How should a GUI application written in WinAPI be structured and organized?

I've done an extensive amount of GUI programming in Winforms and WPF using C#, and a tiny bit in C++ using MFC. I'm building a personal project using WinAPI mainly to gain a deeper knowledge in ...
0
votes
0answers
47 views

What does “supporting Library Services” mean?

As a software engineer, I'm helping a Sales guy of my company who needs to answer an RFP and I'm struggling a lot since half of the questions are not applicable to our product. I'm ashamed to confess ...
-2
votes
0answers
36 views

What are the essential parts of a MVC? [on hold]

I'm developing a Java web application using Java EE and MySQL. I have form objects, authentication filter, controller, models and DAOs. I want to implement basic features of all MVC platforms, so I ...
-1
votes
2answers
64 views

Deeper understanding of event loops and timers [on hold]

I have a basic grasp of accepting clients without creating a thread for each connection using tools such as select and modern equivalents (kqueue, epoll). But where do I go from here? e.g async I/O ...
13
votes
2answers
2k views

“Ever change the value of 4?” - how did this come into Hayes-Thomas quiz?

In 1989 Felix Lee, John Hayes and Angela Thomas wrote a Hacker's test taking the form of a quiz with many insider jokes, as “Do you eat slime-molds?” I am considering the following series: 0015 Ever ...
0
votes
0answers
46 views

Viable method for sharing cakePHP project in a team?

I have been developing a cakePHP app for quite some time now. I was working on that project alone, and I followed these steps: 1.) Develop and test on local server 2.) Upload the changes to the live ...
0
votes
0answers
41 views

Database Handler and SQL injection prevention

I've written a database model class in PHP and have written a controller class that specifically validates the data before sending it to db. I'm getting criticism that I should handle the data in ...
1
vote
2answers
80 views

Implementing a generic/dynamic custom property system in C#

I have an architecture design problem which I think is appropriate for this site. General problem description: My primary goal is to design a software library/program (C#) to automate a very ...
2
votes
1answer
57 views

Best practice for unused inherited virtual functions (implementing superclass methods)

Let's assume I have a hierarchy of several classes each derived from each other using virtual functions. The base class acts as an interface and defines functions, which may not be required by all of ...
-3
votes
0answers
42 views

career path for java progammer in embedded system [on hold]

I hav completed my BE in computers,certified in java. Opting for embedded system . What is the career scope for java programmer in embedded system?
0
votes
3answers
108 views

How should be the approach to start thinking about multi thread programming [on hold]

I am an experienced java developer.Of now I have started learning multithreading in java.I am able to grasp most of the concepts but still I am unable to visualize applications running on threads.I ...
0
votes
0answers
46 views

How achieve a page-change proof player?

I am interested in develloping a web music player similar to the soundcloud one However, I can't figure out one thing: How player like soundclou one (and some other one) can "resist" a page change, ...
-1
votes
1answer
87 views

Uniqueness of for loop

How does the for loop function is implemented so that it can accept ; as parameter separator rather than , which is trivial in normal functions.
3
votes
1answer
97 views

How to add link-time optimization capabilities to my LLVM-based compiler?

I am designing and implementing a programming language, and I am using LLVM for native code generation. Among others, performance is a key feature of the language, and as such, I am looking to ...
0
votes
0answers
26 views

Consistent header HTML across multiple sites

We've got several sites. Some are HTML/Angular, some are built on a CMS, some are built on other code. What we'd like to do is have a consistent header experience for each site. I'm trying to figure ...
1
vote
1answer
59 views

Why is Throwable initCause designed to be called only once?

I find it really odd that the initCause method of Java's Throwable class can only be called once, or even not at all (if the constructor accepting a Throwable was used). This makes exception chaining ...
-5
votes
0answers
111 views

Is it possible to lay on a unique programming language? [on hold]

Spoken languages are related to culture facts, and programming languages to technical approaches I guess. There might be a lot of arguments about the different powers of every language and the fact ...
0
votes
1answer
37 views

Repurpose MySQL as a mutex

My application needs to perform an operation once every 10 minutes, but that operation is triggered many times more frequently. Occasionally it is triggered three or four times a second in different ...
-3
votes
0answers
30 views

Are there books on implementing various aspects of UI frameworks? [on hold]

There are lots of books on how to use UI frameworks, but I'm looking for one that goes over the implementation of certain aspects of them: Many UI Frameworks have a certain degree of common ...
0
votes
2answers
47 views

C++ Data Server and J2ME client communication

I am working on a robot that has some AI built in. However, the mandated robot controller does not have the power to do the work onboard. This means that I need to use a co-processor. I am writing ...
-3
votes
0answers
39 views

Improving Python cODE [on hold]

Hi You've probably heard this a million times but I must ask, what is the best way to learn coding after CodeCademy. I've finished all the Python tracks, and I feel like I understand the syntax, as ...
0
votes
6answers
435 views

Where is the 'this' variable stored?

Let's take this simple c++ program as an example: #include <vector> class A { void fun() { a = this + 1; } A* a; }; main() { std::vector<A> vec; vec.resize(100); } Forgetting ...
0
votes
1answer
63 views

if else brackets on same line, best comment style? [on hold]

I used to do this: // If the cat is black if ( $catColor == 'black' ) { ... } // Otherwise eat a taco else { ... } But I've more recently started to move toward this style of conditional ...
0
votes
2answers
102 views

How is it possible that facial recognition software can work, but a reCAPTCHA can't be solved by a computer

If software can be built to recognize faces and match those faces to names, then how is that CAPTCHA works? Recognizing letters seems a lot easier than matching faces.
1
vote
1answer
101 views

2D linked list vs. multidimensional array/vector

I hope that programmers is the correct stack exchange for this, as it is quite a concept based question. I'm working on a data structure in C++ that is a represents data in 3D space. The x-y plane is ...

15 30 50 per page