0
votes
0answers
7 views

Should I avoid JSPs for new Spring MVC applications?

I have seen many posts around the Web saying JSPs are deprecated, old way of doing things, etc. I have to say personally I don't care for them too much. The best setup I had using JSPs was with Apache ...
0
votes
0answers
6 views

SQL - for some attributes specific to different clients' users, how to handle schema?

I have clients, each of whom have an app with a bunch of users. Their user data could be pretty different, but there is also a lot of overlap. Ex: all their users have "gender" and "age" and plenty ...
-5
votes
0answers
16 views

Looking for a tool to allow anyone to edit Markdown files and have it auto publish to a web page [on hold]

I'm either looking for a tool that already exists or suggestions on a way to create a tool like this. What i want is to create a web page on a server that basically contains relevent info/links for ...
0
votes
0answers
20 views

Vector API, naming for element-wise multiply

I'm helping develop a 3D Vector class, which has common operations such as: v1.cross(v2), v1 * v2 (for dot product), v1 + v2, v.normalize(). My question is: Is there an API naming convention for ...
-2
votes
0answers
25 views

How does Flickr's new Chrome Extension load images so quickly?

Flickr recently released a new Chrome Extension: https://chrome.google.com/webstore/detail/flickr-tab/bhnpmdabjgpimmnbmhefncbghknfegog?hl=en How does it pre-load images? For eg if you press Ctrl+T ...
0
votes
0answers
35 views

Does COM still have value for Windows interop nowadays?

WCF is a great technology, but I believe it works slower than COM, since it's managed code and it uses additional intermediate layers. I didn't check performance though. DirectX interfaces are still ...
0
votes
1answer
32 views

Is it redundant and unnecessary to do file backups of a repository that has a remote repo?

Is it redundant and unnecessary to periodically backup the files in a Git repo, that also has a remote repo? My understanding is all repositories are full backups. So an individual developer with a ...
-2
votes
0answers
35 views

How to encrypt communication between a desktop app and a restful web service [on hold]

I have built a Java desktop application that communicates with RESTful APIs deployed in a Spring Boot webapp. Spring Boot is configured to use embedded Tomcat. I know I need to encrypt the data ...
0
votes
1answer
58 views

Architecture for my Java application

I try to create small Java tools to help me at my work every now and then. Usually these do not have to be pretty and I find myself coding a single, sometimes massive, Java class. However, now my plan ...
-1
votes
1answer
37 views

JavaScript prototype chain probable infinite cycle lookup

I have a query regarding JavaScript object prototype chains. Suppose I create an Object var first = { a: 1};var second = Object.create(first); Now I know that if I look up for the attribute a on ...
-5
votes
0answers
33 views

Tips for Freelancing [on hold]

I am currently an undergrad in CS thinking about my future as a programmer. One of the possible routes I am considering for when I graduate is becoming a freelance programmer, picking up odd jobs here ...
0
votes
0answers
22 views

Extending the interface of existing (python) classes

I use a library with an existing well-defined interface, that I have extended for my purposes. I.e. most classes in that library inherit of one abstract base class class Parent(object): def ...
-5
votes
0answers
51 views

OS Development in C [on hold]

I'm almost too new in C. I come from a python background. However, I'm studying operating systems and I found out that most operating systems are built in C due to speed and ease of processing. So I ...
0
votes
0answers
22 views

Image segmentation - show or hide clusters

I'm trying to make a small program in c#, that will downsample image to specified amount of colors (using K-means). Then, user will be able to hide\show colored areas(clusters) in image. I've ...
0
votes
2answers
51 views

Selecting between multiple actions in PHP

I have been programming for a number of years now and in PHP for about 4 of those years. I have always wondered what is the best approach when it comes your program deciding what action to take based ...
-4
votes
0answers
26 views

Need help in choosing PHP frameworks for my web application (which is similar to freelancer website) [on hold]

I am planning to build a web application similar to functionality as freelancer. I am basically a asp.net developer. But I have chosen PHP as the language of choice to code my web application. I have ...
0
votes
0answers
26 views

REST Services with ASP MVC WebApi architecture feedback

I'm working on a new project and I had to design some REST Services with ASP MVC WebApi. I would like to show you my app architecture and learn from more experienced architects what I have ...
3
votes
1answer
81 views

Is the target of 3 dependencies per class always achievable?

I'm reading the Clean Code book and a chapter says that if a class has more than 3 dependencies is a code smell of that class isn't doing one thing. Or what is the same, it isn't following SRP. I'm ...
-2
votes
1answer
159 views

How would compiler turn an else-if cascade into a switch? [on hold]

I don't like switch in C and its descendants. Maybe it's the need for a break or the clumsiness of the syntax requiring a shifting of mental gears, I don't know. Whatever the reason, I will almost ...
0
votes
0answers
15 views

How to create DFA from regular expression without using NFA?

Objective is to create DFA from a regular expression and using "Regular exp>NFA>DFA conversion" is not an option. How should one go about doing that? I asked this question to our professor but he ...
-1
votes
0answers
18 views

Closing Nonduplex Unnamed Pipes in C [migrated]

I have 8 children, and am trying to use 8 pairs of nonduplex unnamed pipes to communicate with them. Thus, I have 2 pipes for each child and 16 pipes in total (one for childRead_ParentWrite and the ...
0
votes
0answers
12 views

Which view resolver is required for implementing tiles in Spring 3.0 MVC application

I have a working Spring application. I would like to add some common headers,footers and such, hence I need to use tiles along with this. Currently, I use InternalResourceViewResolver for request ...
-6
votes
0answers
19 views

Get info to your site from another site [on hold]

can anyone help me to find a way to get UserKey from TrueCaller ! And.. How can i build a code in C#,to get informations from another site An exampel.. i need to get info about a certain phonenumber ...
0
votes
1answer
62 views

Should I initialize a member variable in declaration when it is initialized by a constructor parameter?

Which is recommended for initialization of class fields in C#: class Foo { public X x = new X(); // or any default value... public Foo(X _x) { x = _x; } } Or class Foo { ...
-4
votes
0answers
58 views

Programming Concepts [on hold]

Can someone tell me the all the programming concept to be an expert programmer ? like Delegation, Classes etc.. any good books to learn those all the programming concepts that i can go from beginner ...
0
votes
0answers
23 views

Reading from html page that needs cookies passed and form data

I am writing a program in java in order to practice tough coding problems and learn more. Program description The program reads first names from a text file one by one, then enters them into facebook ...
0
votes
0answers
48 views

Should I ever reset object state?

I have a series of TextBlocks which are drawn on frames to make a video of a book. I do it when user click on Make Video. User may change the content of some blocks and click again on Make Video. I ...
-2
votes
0answers
163 views

I'm really terrible programmer. please help [on hold]

I'm doing my 3rd year in BSc Software Engineering. I managed to pass all the exams but. I'm really a terrible programmer. I want to learn everything about programming concepts. but don't know where to ...
1
vote
1answer
47 views

Microservice architecture: single database owned by a single service?

We're rebuilding a system in a microservice archiecture. I know the standard practice for SOA is to have each individual service responsible for its own database. However, does it make sense to have ...
1
vote
1answer
49 views

Advantage of Declaring and Initializing Different Object types?

I am learning how to use java to program, and am just learning about abstract classes and how they are useful. Say I have a class which extends another abstract class, which has 2 methods, one of ...
0
votes
2answers
85 views

When to make a method part of an interface or a concrete implementation?

I create an interface for database access to a MySQL database. Currently, this is the only way to access day, but to make it easier to test and in the event that the data access might change, I used ...
-1
votes
0answers
47 views

When did Agile Development Life Cycle start taking off? [on hold]

When did the ADLC really start taking off and become "mainstream", ie: more than just a 'few' development teams were working within it?
-3
votes
0answers
30 views

array loop never stop [on hold]

<?php $ulang = true; for ($i=1; $i <=3 ; $i++) { for ($j=1; $j ...
0
votes
2answers
40 views

Pattern for validating rules having different signatures

I have a class in charge of responding to an input event and maybe triggering another event. To decide, it has several rules to check. I'm trying to get away from a class looking like this: public ...
-2
votes
0answers
24 views

Is there a CMS that can be hosted online but is merely a backend for a desktop application? [on hold]

All the CMS's I've used and read about are geared toward building websites. I need to make a desktop application that connects to and grabs data and settings from a CMS-backed online source. There ...
0
votes
0answers
19 views

Accessing intermittently available resources with transactions and post-access cleanup in a generalized, functional, composable way

The following psuedo-code illustrates what I'd like to be able to do. Is there a way to accomplish something like this in Scala?: trait IntermittentlyAvailableResource trait ...
-1
votes
0answers
19 views

Are there any good books/articles to understanding the complete development, build, automated test, deployment phases? [on hold]

I've primarily been in a role as a developer and am looking to expand my knowledge into the other realms of the development -> deployment process. Are there any articles/books that would help in ...
-2
votes
0answers
27 views

What are the big pros and cons of using Kivy over Java and Java over Kivy? [on hold]

I know python very well and would like to use it as a medium of developing, but Java is fine with me too. Things like... (all these are theoretical) worse workflow with kivy? cannot use native ...
2
votes
2answers
76 views

When to use ANTLR and when to use a parsing library

I've always wanted to learn how to write a compiler - I've decided to use ANTLR, and am currently reading through the book (its very good by the way) I'm pretty new to this, so go easy, but the jist ...
-1
votes
0answers
43 views

Where can I find an easy summary of best Python programming practises? [on hold]

Where can I find a compact summary of best Python Practises, preferably in poster format or a few pages long? Giving my project group a website is in my eyes not too effective, since I'd like to have ...
0
votes
1answer
43 views

Upgrading inherited 3rd party code with changes

I inherited a php project of 3rd party code with a good deal of company-specific customization lumped on top of it. Now I've got to upgrade it and the person who owned the project is the one I've ...
1
vote
0answers
23 views

Use of FindWindow and window handles within a Windows service

I've got a third-party vendor who is installing a series of Windows services to a (Windows 2008 R2) server in my control. Whilst attempting to run each service under its own least-privilege account, ...
-2
votes
0answers
25 views

How to code a Data Scrapper [on hold]

I’m a javaScript beginner. For a practice project, I want to create a Page Scraper that will list of all classical musicians, (say from classicalmusic.com), and then have that data returned in a ...
-3
votes
0answers
47 views

What to call “server” software the requires a gui? [on hold]

We require a dedicated copy of our desktop application to be running to support a number of tasks. One of these tasks requires a 3rd party active x control that must be in a GUI to function correctly ...
0
votes
0answers
47 views

Use of SAL annotations for C++ [on hold]

Code analysis tool for visual studio is able to detect some kinds of errors statically if you annotate functions with SAL We used it at first in windows driver when code was mostly C code, and where ...
1
vote
0answers
62 views

There are paradigms for owning and passing information. But has any serious thought been given to initializing information, in a generic way?

When I write object oriented code, some function has to fetch or generate or tell an object to generate the initial set of information that starts an app. When I write functional code, some imperative ...
2
votes
1answer
161 views

Hidden dependencies - why not?

Hidden dependencies: function __construct($dep_registry){ $this->db = $dep_registry->get('db'); $this->request = $dep_registry->get('request'); ... } Not so hidden: function ...
2
votes
1answer
47 views

Structure project based on platform or design?

I have a medium sized project (~10,000 lines) that runs on Windows and Linux. However it is only specific components of the program that are platform dependent and are located in a folder called ...
0
votes
0answers
52 views

What are the different types of whitespace referred to by Perl? [migrated]

I am trying to find the Java equivalents of the Perl regular expressions not supported by Java. These are, as listed in the Java Documentation: \h A horizontal whitespace \H A non horizontal ...
-3
votes
0answers
8 views

AngularJS $http.get JsonResult [migrated]

I am building a dx-chart inside of an AngularJS file. I would like to use $http.get inside of my ng-controller. Here is the AngularJS file. However, when I try to use $http.get I still display the ...

15 30 50 per page