0
votes
2answers
100 views

Clean code principles to jquery [on hold]

A jquery code could get very long in lines and become an spaghetti code. It could bring problems like chaining functions or many lines for getting data from HTML elements. Also it may create a clutter ...
0
votes
1answer
21 views

Resources concerning system (application) monitoring [on hold]

I am a developer at the beginning of my career. My main "production" application recently had some huge issues. Funny thing is, right before I got the dreaded phone call that everything was f*'d, I ...
-6
votes
0answers
25 views

Visual Studio 2013: Hide html designer bar split source design html tree button bar? [on hold]

Does anyone know how to hide the "html tree/split source design buttons/html designer" bar from the bottom of Visual Studio 2013? It only appears on .aspx files. I have tried disabling the HTML ...
-5
votes
0answers
36 views

PDF file 900 MB compression [on hold]

Currently I want to send my portfolio by email but I don't have an idea how to compress the PDF file since the file is almost 1 GB. I already try to zip it and then compress them but only get 600 MB ...
-4
votes
0answers
18 views

Confused to select the domain [on hold]

Everyone please suggest me what to do for my following questions: 1. I have done course in java and know basic fundamentals, unfortunately i have not yet get an opportunity in java. So should i wait ...
-1
votes
1answer
59 views

Garbage collector implementation tutorial / example [on hold]

Is there any sample (not production!) implementation of a garbage collector that I could use for learning purposes? My priority is concpetual clarity, not runtime efficiency. In particular, I want to ...
-1
votes
0answers
26 views

Method naming convention for fluent Builder [on hold]

I have commonly seen fluent-style Builders use three different method naming conventions for setting properties: builder.withFoo(foo).withBar(bar).build(); builder.foo(foo).bar(bar).build(); ...
-4
votes
1answer
71 views

I want to make a program but I'm having difficulties in learning related technology for the project [on hold]

I'm 14 and I love computers & programming. I've been studying programming on my own for about a year. When I first started with studying the C programming language, I studied and practiced very ...
1
vote
1answer
20 views

Recording many data items and retrieving time-based snapshots

I have a .Net Windows application that continually receives data from a hardware device. Additionally, the user can change various settings and parameters from within the software. I would like to ...
0
votes
1answer
38 views

Calling RESTful service from browser and handling 4xx class responses

I have a resource called Logins, and I invoke a GET via AJAX from the browser. The current behavior is to return a 404 when the specific login cannot be found. I'm using this to check whether a ...
1
vote
0answers
52 views

Finding the closest n points to any arbitrary point in two dimensions (r-tree, quadtree, spatial index)

I have a distribution of two dimensional point objects. How is it possible to find the nearest N number of points to any given point without iterating over the entire collection of points (and only ...
2
votes
0answers
50 views

HATEOAS vs Frontend app GUI

I've just found HATEOAS. I think I kind of understand what is stands for, but something is not clear to me. There is nowhere to be found how can I create the consuming client in HTML. I can imagine ...
-1
votes
0answers
101 views

Is it better (performance-wise) to save data as physical files on the server or into a MySQL database? [on hold]

I'm working on a large project with minimal resources for a client. I was wondering what would be a better approach to increase the performance of the site, would it be better to save the user ...
0
votes
1answer
72 views

Trying to learn about core concepts in Javascript by making a web app, how can I do that without jumping to MVC frameworks? [on hold]

For some reason I don't want to jump to a javascript MVC framework to make a web app for my portfolio. My main motive behind that is to learn in & outs of Javascript. What are my options if I want ...
0
votes
0answers
10 views

How to interview a former superior? [migrated]

I'm a programmer who's now in a management position, and I've recently gained a fair amount of experience interviewing programmers. I feel very comfortable with the interview process and conduct my ...
2
votes
3answers
111 views

Many different classes that need similar functionality. Best approach?

I have many (at the moment around 30) different message classes in an application I am creating. Each of these messages need to be serialized and deserialized. However, the process of serializing and ...
3
votes
0answers
53 views

Low coupling when using sealed classes?

Typically, when trying to decouple classes I use Inversion of Control. Lately I've been using a third-party library whose components are sealed. Are there any design patterns to handle this situation? ...
0
votes
0answers
32 views

DBUnit alternatives to test DAO layer

We have a lot of DAO tests written with DBUnit and (it's ugly) datasoure. It's not that hard to edit it and add some new entries but it's annoying. Worse is that we have only one datasource for all ...
0
votes
0answers
12 views

Authenticating users of a chrome extension against a ASP.NET MVC web application

I have a chrome extension which is supported by a ASP.NET MVC web app as the back end. I want the chrome extension user to login through my web application and once he is logged in, the chrome ...
-5
votes
0answers
43 views

Website zoom in zoom out destroy layout [closed]

Hi i have received a website from my client and the problem is that when i am zooming out on any browser , the div layout distorting means on every zooming action it moves div in to other positions . ...
1
vote
1answer
88 views

Correct usage of Bluebird promise

This is related to this question on promise performance. The current top answer states that using new Promise is an anti-pattern in bluebird And that promisify should be used instead. I ...
-4
votes
0answers
31 views

How to programmatically find or construct good definitions of topics [on hold]

I am thinking of creating a program that will automate researching topics. The idea is to have the program google a topic(a word or phrase), and by itself construct a good definition and explanation ...
1
vote
0answers
42 views

Starting to use TFS - handling internal dependant libraries - local nuget?

Approach I'm trying to get up and running with TFS 2013. This is my priority order for implementing it. Start using it for existing Git Repo projects. Then get automated builds working from check ...
0
votes
1answer
60 views

Serialization - can the output from a serializer be modified and then de-serialized

I am trying to serialize a Message object using ObjectOutputStream ,take the byte[ ] output of the serializer,encrypt it using an encryption tool and then trying to de-serialize it and cast it as an ...
2
votes
1answer
126 views

General Way to convert a loop (while/for) to recursion or from a recursion to a loop?

This problem is mainly focusing on the algorithm, maybe something abstract and more acedemic;) The example is offering a thought, I wanna a generic way, so example is only used as to make us more ...
1
vote
1answer
55 views

Transient life time and constructor injection

I'm working on a little light weight Dependency resolver found here https://github.com/AndersMalmgren/DuoCode.SimpleInjector Currently if you do var instance = container.Get<Foo>(); You ...
-4
votes
0answers
33 views

which one is best title either Principal consultant or senior software consultant or senior associate consultant [closed]

I would like to know how the difference between titles from Principal consultant or senior software consultant or senior associate consultant. which is one the best?
6
votes
1answer
277 views

Mutable with logic inside or immutable with logic outside?

I know immutable objects are preferred to mutable objects for reasoning and maintenance. But in occasions making a class immutable have some costs, let me explain it with a simple example: class ...
-1
votes
0answers
26 views

Scala Sub string combinations with delimiter [migrated]

My input string is element1-element2-element3-element4a|element4b-element5-element6a|element6b All the elements (sub strings) are separated by - and for some of the elements there will be ...
0
votes
0answers
9 views

Android, Parse back end and conceptual creation of an offline post/comment system

I'm wondering how conceptually I would go about creating a comment / post system using parse, obviously there's lots of examples but they don't account for the following: How do I relate an comment ...
0
votes
2answers
74 views

Handling Business Logic/Validation Race Conditions

I'm working on a Training Enrollment web application with the following (simplified) features: Maintenance (Add, Edit, Deactivation) of Trainings Student sign-up Student enrollment to Active ...
-2
votes
0answers
22 views

Arduino Bluetooth Programming [closed]

I'm part of a group where we need to make a boat that can do several tasks, and I have been put in charge of programming. I have an Arduino, and it has to control a water pump and a motor that will ...
-3
votes
0answers
42 views

am i ready to develop for android? [closed]

hey guys i've been studying java a lot recently so i can design my app and i want to know if my knowledge so far will suffice? i'm far familiar w/ the basics (data types, conventions, etc...) i'm ...
2
votes
2answers
59 views

Defining acceptance criteria for a user story

I have been given a user story / epic which is display a web-page giving details about a retail store for a company. Simply put, if the url was mywebsite.com/newyork it would display the new york ...
-4
votes
0answers
25 views

Reading comma delimited file in ksh Unix/Linux using scripts [closed]

How is a file read, that is comma delimited, to obtain field values done? For example, there is a file that has: Name, Author, Date I want to get certain values for each field. From my understanding ...
1
vote
2answers
86 views

Database Design for Inventory

I am starting to design a typical product based MySQL database but I keep running in circles on how to design the tables. I have many types of products Jeans Tshirts Dresses Which have many of ...
2
votes
1answer
91 views

Best data structure to store data sorted alphanumerically AND by weight

What is the best data structure to store data sorted alphanumerically AND by weight (where weight is the first sorting criterion) with very low access time probably Olog(n) or better Application: A ...
-4
votes
0answers
41 views

I just read Clean Code by Robert C. Martin. What book about clean coding should I read next? [closed]

I heard Martin has also written another book on clean coding but not sure if it's worth the money. Is there a better book than Clean Code or a book you'd recommend as a follow up? Thanks.
-3
votes
0answers
25 views

Using ftp via ShellExecute()… how to capture (log) output? [on hold]

I'm writing a C++ app that runs an FTP client on files I've created remotely. Current solution is invoking Windows native FTP via ShellExecute() and passing a script for FTP to use to login and fetch ...
11
votes
2answers
335 views

Ant colony algorithm

I am a student working on an ant colony simulator for a course project. The algorithm for it is (obviously) an ant colony algorithm. I know there are various forms of the algorithm but all of those ...
3
votes
0answers
95 views

Fine grained search over a large dataset

I have roughly 4 million records per day and have to keep 7 years worth online, so we are looking at 10.2 billion records that I need to be able to search through. The users are expecting that the ...
1
vote
1answer
44 views

Web applications and homogeneity across users

My boss is asking me to implement certain features in a web application (rails) that are relevant for only a couple users, sometimes just one user (the reason is this is targeted for businesses and a ...
0
votes
1answer
51 views

How is distribution of PKI certificates allowed?

As a verifier of Open Source compliance in open and proprietary code I sometimes come across such certs distributed with the source code (e.g ...
0
votes
1answer
49 views

Javascript inline event handling versus external jQuery event handlers

Working on a dynamic website that loads information from a JSON file and then populates the page with said elements. My question has to do with event handling - as of now, I don't see any reason as ...
-3
votes
0answers
40 views

Area of expertise for a good web developer [closed]

I'm having doubts on scope of knowledge that one good web developer should have. How common it is that a web developer has excellent knowledge of both front-end and back-end development ( eg. ...
-2
votes
0answers
45 views

What do you look for when evaluating code quality? [closed]

I'm trying to learn what code quality actually is. What I would like to know is what you should look for when evaluating code quality?
156
votes
10answers
10k views

Why do many exception messages not contain useful details?

It seems there is a certain amount of agreement that exception messages should contain useful details. Why is it that many common exceptions from system components do not contain useful details? A ...
-2
votes
0answers
53 views

How to map the API Version in the JAVA Source code? [closed]

I am using Restlet FrameWork. I can able to pass the version in the Rest API as a header. Example : http://localhost:8080/example.com/ping In header: Version : 1 And I received in my code using ...
-4
votes
0answers
47 views

How can we implement string array in node [closed]

How can we define String array in node.js and check if perticular string is available in array or not for example i want to make array of fonts: in config.js module.exports = {development:{ ...
-2
votes
0answers
13 views

Or operator is not working on String [migrated]

My nodejs code is not responding if (levelSpecificData.labelFont) if (levelSpecificData.labelFont !== "Arial" || levelSpecificData.labelFont !== "Arial Black" ...

15 30 50 per page