-3
votes
0answers
24 views

What are recent trends in functional programming language design?

I noticed that recent C++-like programming languages like Go, Rust and Swift have some similar improvements regarding type inference, handling of null values, concurrency, syntax, etc, so there is ...
-4
votes
0answers
15 views

Memorization of sorting algorithms

folks! I've been studying the sorting algorithms in Java and have been having troubles with implementing those methods without using the notes and/or any reference websites. I understand how each of ...
0
votes
1answer
27 views

Why List<E> interface is additionally introduced in collection hierarchy?

Below is the diagram, where, if we just consider the implementations of List, 1) AbstractList maintains the core behavior of list. To introduce the new implementation class MyList(say) one can ...
1
vote
1answer
10 views

Implementing a series of independent Actions that are disparate but with common accessibility

I have a requirement to implement a type of AI for a project, the issue is that I am having trouble visualizing how the AI should actually be implemented. Essentially, I want the AI to be as dynamic ...
-1
votes
0answers
15 views

Learning efficiently from personal projects [on hold]

I currently have a lot of experience in programming in pure Ruby, and some in back-end Ruby on Rails. I want to do a personal project to improve my skills in Ruby on Rails, and to do a bit of front ...
0
votes
0answers
8 views

How to append to .csv file for use in Google Spreadsheet

I am using Google docs to manipulate form submission data for a timecard and scheduling system (that is non-negotiable.) Presently I'm feeding Google form submissions into the document, but I'm losing ...
1
vote
0answers
15 views

DTOs vs Domain Models and invoking Command Handlers directly

I was just hoping someone might be able to answer a few questions I have regarding the proper design of DTOs and Domain Models. I'm currently working on a project which involves leveraging a SOAP API. ...
0
votes
0answers
25 views

is there a way/tool to find braces in a line of code that are alone and do not close?

I have a file with 2700 lines of code that when parsed, is giving me an error of "The requested command (}) is invalid" so somewhere in the code there is a single closed } all by itself with no ...
1
vote
1answer
17 views

Is this a Model or a ViewModel?

In a login screen, a user may expose his username and password data. The same way, in a user list screen, it may expose user name, age, and phone. But none of this views may expose any other user ...
1
vote
1answer
12 views

How can I avoid needing to check for the existence another vertex when adding to an adjacency list?

I'm writing a Graph, and decided to make the Adjacency List its own class. Right now, (stripped down) it looks like this: public class AdjacencyList<Vertex> { //A map between a vertex, ...
5
votes
5answers
264 views

Is overriding Object.finalize() really bad?

The main two arguments against overriding Object.finalize() is that: 1- You don't get to decide when it's called. 2- It may not get called at all. If I understand this correctly, I don't think ...
-4
votes
0answers
12 views

bundle install fail “..does not appear to be a git repository fatal: Could not read from remote repository.”

I have a gem file in which i am trying to get "gem 'twitter-bootstrap-rails', git: 'https://github.com/seyhunak/twitter-bootstrap-rails.git'" using bundle install command and it gives the below error ...
3
votes
3answers
43 views

Clean Code: can private methods rely on member variables set by other private methods?

I was asked to create a class that will connect to a remote service via soap. The class has only one public method send(recordName). The class ended like this: private recordName; private recordId; ...
-1
votes
0answers
10 views

how to setup a full ruby ecosystem

What are all the tools used when you program in ROR? What I mean by this is, there are many tools used to help a programmer code. He has his text editor, debugger, testing tools (which is a whole ...
1
vote
3answers
20 views

How definite of an order is there to a depth-first search of a graph?

I have the following graph that I need to simulate a depth-first search of; starting at g: My question is: How definite of an order is there when performing a depth-first search? When doing a DFS of ...
0
votes
1answer
14 views

Should I create mock objects from scratch or modify the result of real calls in weakly typed languages?

In answer to Is testable code better code? I showed how time-dependent code could be testable by using mocks rather than modifying the implementation: def time_of_day(): return ...
-2
votes
0answers
38 views

Evaluating and determining salary for sole developer [on hold]

How should a solo developer in a company where no-one else knows anything about code or software development be evaluated? There are already a lot of interesting answers on here regarding dev ...
-2
votes
0answers
16 views

How to identify a potential customer's business needs, when they themselves don't know software could help?

I am sure there are lots of businesses experiencing pain points which - unbeknown to them - could be solved by a custom software solution, whose benefits would quickly outweigh its costs. I'm ...
-4
votes
0answers
24 views

Small Java Application that communicates with my disk publisher XR [on hold]

I'm given a task to create a small java application that will communicate with the Disk Publisher XR when ever a job is sent to it, in a nut shell I'm developing a Just-In-Time Production website that ...
0
votes
1answer
45 views

Ways to avoid using switches to map strings to classes

I have a C# solution that reads records from a db and processes them into another db. The records to be processed are essentially one long string that represents the data and then another string ...
-1
votes
0answers
30 views

Options for DB to use to store object with 200+ *searchable* attributes and ~500M records [on hold]

What is/are good options to store an object with about 150 plus attributes should be possible to add more attributes easily about 500M records all attributes need to be searchable it is possible to ...
-4
votes
0answers
20 views

what are the Practical ways to implement API in JAVA? [on hold]

I got the API from this url:"http://resources.arcgis.com/en/help/arcobjects-java/api/arcobjects/com/esri/arcgis/geoprocessing/tools/conversiontools/CadToGeodatabase.html" I don't know how to use it. ...
-2
votes
0answers
20 views

Making Road System in Unity3D

I wanted to make a road system in Unity which will allow the cars to follow a path similar like this, Is there any algorithm or technique that I should learn when I building a path for the cars? it ...
-3
votes
0answers
12 views

how to change form fields once you have submitted the form [on hold]

i wanted to add date to my date field after taking rest of values through a form but it is throwing integrity error repeatedly here are my code : error is : IntegrityError at /blogs/new_blog/ ...
0
votes
1answer
30 views

How to implement a NavigationManager class without using singleton pattern

I'm practicing on writing testable code. One problem I have ran to (researched a lot too) is singleton pattern. It's global state nature makes it unreliable to test because singleton's property ...
0
votes
0answers
25 views

Why isn't the isa pointer hardwired in Objective-C classes?

I've been studying the Objective-C runtime for some years, and even hacked libobjc a little bit (both Apple's and GNUStep's), and I've been wondering about a design decision on the compilers. Every ...
-3
votes
0answers
30 views

E-olymp: Cake. Giving Wrong Answer

Cake This is the question. While I am submitting in normal Gnu C++ then it is giving 27% accurate result and when I am submitting in Gnu C++ 4.7.1 then it is giving 8% accurate result?? What is the ...
-3
votes
0answers
16 views

softening binding in javascript [on hold]

Okay, another example from you don't know js... So this time, I have been spending lot of time on this one code as it really doesn't make any sense. I am really getting confused on the part where ...
4
votes
2answers
86 views

Should serialization and deserialization be the responsibility of the class being serialized?

I'm currently in the (re)design phase of several model classes of a C# .NET application. (Model as in M of MVC). The model classes already have plenty of well-designed data, behaviors, and ...
1
vote
0answers
28 views

Polyglot Node.js with Typesafe Akka for Actor Model

I have case that needs manipulate large stream of JSON and injecting it to Apache HBase. Since JVM is not as good as Node.js when manipulating JSON, so I choose to use Node.js instead. To enchance my ...
-4
votes
0answers
14 views

Front end development [on hold]

I want to make a website/social network. I am pretty good at back end development but I end up creating the weirdest themes. I cannot work easily on front end. Is there any place where I can visually ...
1
vote
0answers
51 views

How can I learn to write device drivers for linux?

I've been searching around for good reading material, but unfortunately haven't found anything that seems to cover what I'm looking for. I've never developed drivers for linux before, so I'm looking ...
1
vote
1answer
31 views

Know file size with a base64 string

I do not have very clear what a base64 string is or how it is related to a file. Right now I have a website that uploads an image as a base64 string to my server. This string is converted back into a ...
0
votes
1answer
81 views

you don't know js book 'this' example

Ok, guys. Diligently learning javascript and now I am reading the book "you don't know js this & object" and I ran into below where they are explaining 'this'. Now, below example, I understand ...
3
votes
3answers
117 views

What is business logic code and what is data access code, and what's the difference?

I ask this because it seems people usually consider the code that goes into a DAO or Repository implementation as "data access code", while the code that directly uses these DAOs/Repositories as ...
-2
votes
0answers
17 views

Making a decentralized network of servers and clients in Java

I'm working on a java assignment.So far I've written a simple SQL-like program in which a Server stores all the data and different clients can be connected to it with their username and password, to ...
-2
votes
0answers
28 views

generating java file from proto file using protocol buffer compiler

I have proto file in C:\Sooraj\Playdrone\android-checkin-master\src\main\protobuf\checkin.proto after unzipping protobuf the java related source code is in ...
-3
votes
0answers
45 views

What parts of a developer's job can be automated [on hold]

As a data analyst working with Big data, statistical analysis using SAS/R, what parts of the typical developer's day to day job can be automated?
-3
votes
1answer
64 views

8 Queens Problem

I am trying to improve my knowledge of data structures and algorithms, and have been solving programming problems to accomplish that means. This problem called "8 Queens" seemed like simple iteration, ...
-4
votes
1answer
93 views

Do you tend to comment your code? If so, how? [on hold]

I have, until now, tried to make my code clear by using descriptives variables and function and methods names as well. I get told by some people that comment use really useful cause it can render ...
0
votes
1answer
27 views

Implementing SEO for a Zend Framework/PHP/Angular.js application

A team has implemented a web application using MySql, PHP with the Zend framework and Angular.js on the client side. I am in charge of implementing the SEO for this application. I understand I have ...
0
votes
1answer
31 views

Step-by-step functional testing automation

I have a basic class in C# from which I create inherited classes for databinding scenarios. You can think of it as a substitute for .NET's DataRow class. I want to automate testing of a typical row's ...
1
vote
2answers
19 views

Process string before or after insert into mysql

I have a sensor network where each sensor uploads raw measured weather data every 10 seconds to a apache/php/mysql REST API. There are a few 100 sensors sending data and this will become more over ...
1
vote
1answer
62 views

What's the quickest and most maintainable way to implement SQL querying of disparate C++ variables?

I've recently joined a team working on radar observations. The team has access to a repository of software (written in C++) used for dealing with these observations, but their work is focused towards ...
-5
votes
0answers
26 views

What are the benefits of learning Sharepoint in terms of future job opportunities? [on hold]

I have been reading around about Sharepoint and I've seen a fair amount of negative comments on various mediums (blogs, SE, etc) about how it's a nightmare to use. I may have an interview with a ...
-3
votes
2answers
38 views

In HTML and CSS what are the standard tab sizes? [on hold]

I searched on Google but couldn't find an answer. I'd like to know what are the standard tab sizes for HTML and CSS. Is it 2 or 4?
0
votes
1answer
48 views

Agile development where customer collaboration is difficult

The agile manifesto states Customer collaboration over contract negotiation My question is how do you make this work effectively when there is distance between the developers and the users? ...
0
votes
0answers
39 views

Making local website available over the internet [on hold]

I am trying to make a site which mirrors a site which is available only locally. I am thinking of having the server in the local area (physically) with internet access. I want to make the local ...
1
vote
0answers
17 views

Programmatically trigger a deployment sequence independently from a build [migrated]

I currently use Team Foundation Server 2013 Update 3 and Release Management 2013 with Update 3. With Release Management one can start a deployment sequence, part of a stage, manually or automatically ...
0
votes
0answers
54 views

Should I attempt to learn web dev in a week? [on hold]

I need to write an application for managing files/records in a directory (the records themselves are related to patches/updates we send to clients [different clients have different versions of the ...

15 30 50 per page