0
votes
0answers
9 views

Sending emails from server side

I need to read some of your opinions. I'm developing a desktop app (.net/winform) to keep data in one place. This is used by several clients and the data is stored in MS SQL Server (client-server ...
0
votes
0answers
15 views

Is it safe to generate client nonces using random number generator?

I am making HTTP calls on the client side and the server expects me to supply a client nonce. It needs to be 4 bytes long. I am planning to use this combination: base64(parts of the MAC address + ...
0
votes
0answers
20 views

What field modifiers to use for POJO

Which field modifier to use when declaring fields on a POJO? It seems having none is common, i.e. package scope. Or is private the better safer alternative? What is the best practice?
0
votes
0answers
7 views

How to parse out unique usernames from a trove of IMAP emails?

Long ago, I signed up for a cheap webhost and set up a catch-all email for the domain. So anything sent to @domain.com went to the main account. Thus, every business I deal with gets it's own email: ...
0
votes
0answers
31 views

Poker software architecture

I have some classes so far. Hand stores information like SB, BB, ante, collection of Players HandState inherits from class Hand. has members like phase {POSTING BLINDS, PREFLOP, FLOP, TURN, RIVER, ...
2
votes
1answer
12 views

Building a DBAL from scratch

I am considering building a DBAL from scratch with PHP to use within my projects and also to learn through the process. I have noticed on SO and other reputable forums that whenever this is mentioned ...
0
votes
3answers
25 views

Checking for the presence of optional properties of an object

I'm designing a class that holds several types of data. Some of the properties are optional. For example, let's say I have a class that represents a person, and one of the properties is occupation. ...
0
votes
0answers
14 views

Reducing code complexity for an interface between angular and d3

I'm playing around with different ways of integrating d3 and angular, in the context of learning both of these frameworks, and am hoping for some input: My client application receives a JSON array ...
0
votes
2answers
23 views

Easiest way to use objects as filters for queries

I'm just starting on a new little pet project of mine. I started the project using a familiar pattern for using objects as "filters" in SQL Queries. I've never been much happy about its easy of use, ...
1
vote
1answer
21 views

What does bootstrapping mean in the context of Laravel?

I see 'the bootstrap process' mentioned in Dayle Rees Laravel tutorial "Code Bright" but no explanation of what it actually means. The Wikipedia definitions on Bootstrapping in computing don't seem to ...
2
votes
4answers
130 views

Learning to investigate bugs

I'm not even sure how to define this difficulty. It reminds me of the test a couple of prospective employees did on me before I got a job. They would pick an object in the room and then I'd be allowed ...
0
votes
1answer
38 views

Full production build in source control for easy rollbacks?

I want a quick way to roll back our production build in the event of any mishaps - a one-click solution, if you will. My gut is telling me that this is important - and I believe that my gut is ...
-1
votes
0answers
18 views

What is the difference between Phalcon and Django with regards to performance and use? [on hold]

I'm (trying) to develop a generally quite elaborate internet content service with a lot of database use. I'm wondering what's the difference between the two in terms of performance and use? I've ...
0
votes
0answers
24 views

gnu lesser general public license question

I have a question about Thingiviews license. I have a site that has to do with 3D Printing, it is not done yet but I was wondering if I would be able to use it on my site, The big reason I am asking ...
1
vote
1answer
104 views

Aren't decorators easily breaking the ISP?

"The Interface-segregation principle (ISP) states that no client should be forced to depend on methods it does not use." The decorator pattern is a design pattern to decorate a method of a class. For ...
-1
votes
0answers
20 views

Page automation: login, write some text, hit OK

I am a professional developer with some experience in the most widespread languages, such as C and python, but no web development background whatsoever. Currently I am trying to achieve sending sms ...
0
votes
0answers
18 views

Data entity syncronization - modelling network & persistent representations

I have an app where I need to synchronize some entities (simply download latest versions of entities from server to client). Entity has bunch of text properties and bunch of resource links (referenced ...
0
votes
0answers
22 views

User Generated Content and Hotlink Protection

I have a website that allows for users to paste content (like snippets of code, etc) for sharing. Like Pastebin and Github, I also have a "raw" link that will display the raw contents of those posts. ...
0
votes
0answers
22 views

Generate custom unique key in asp.net dynamic data [on hold]

I am new to ASP.net dynamic data. I have a column in database (tracking ID) it requires to be generated in a pattern through code i.e "23041401" (the date and a 2 digit increment number). I have tried ...
1
vote
1answer
35 views

How to fulfill requirements of AGPL on my web service?

We want a simple tool to parse PDF forms, retrieving just the associated field names and user values. PDFSharp would be a good option for us, as it is under the MIT license, but it is a few versions ...
0
votes
0answers
13 views

Own Exception or Delegation design pattern to exit a program?

I am writing an application in Java which use MVC pattern design. I have 4 major classes: Main, Controller, Model, View. Main initialize the other three and run launchMenu() in a infinite loop, a ...
1
vote
2answers
115 views

How to provide a service with RESTful API?

Generally speaking, RESTful API's are very good for representing resources and collections of resources. http://example.com/resources http://example.com/resources/item17 And we are good, if we ...
1
vote
3answers
125 views

How would you explain this line of code to a complete beginner? [on hold]

I am about to teach a friend of mine programming in Java. He has no experience in programming at all. We are both high school seniors. I was wondering: when teaching a complete beginner something ...
0
votes
1answer
74 views

Testing in procedural programming code

I have designed and implemented, for my final year in college, an autonomous robot with Arduino board microcontroller. The robot wanders around an area, avoids obstacles and tries to detect intruders. ...
0
votes
1answer
61 views

Searching a large file in Hadoop

I am new to Hadoop/Map Reduce and am thinking of solving the following problem: I have two files viz., f1 and f2. The file f1 is small (a few thousand records) and the file f2 is large (a few million ...
-1
votes
0answers
50 views

What kind of programs is C++ suitable for? [on hold]

I have learnt C++ is mostly used for system programming and understand that is because it allows low level programming like bit manipulation etc. Is there any other specific reasonsI am missing? ...
2
votes
0answers
41 views

How to avoid churn when you are defining a schema while others are trying to program against it

I'm in charge of defining an XML schema for some data; the plan is to have various systems (all under our control) upload XML files that match this schema to a central server for processing. I don't ...
0
votes
0answers
24 views

How to handle a push of database updates through Websockets?

Ok, so I'll try to be explicit. I own an AngularJs application talking with a set of Rest API (Play 2.2.2 framework). I have a page when each user can push some comments about an article. Each ...
1
vote
1answer
66 views

Eventual consistency in Banking systems

I keep hearing people say Banking systems like ATM use Eventual consistency model for data synchronization, but I am wondering if it is true. Definitely the amount you withdraw might be delayed ...
-2
votes
2answers
65 views

What are the difference between push() vs add() methods in Java Stack? [on hold]

What are the difference between push() vs add() methods in java Stack? please explain little bit?
1
vote
1answer
54 views

Why did Microsoft dropped the RESX model for RESW in Windows Store applications?

Why did Microsoft choose to change the resources management system from .NET's RESX files? RESX had useful code generation, providing developers auto-completion for resources names and outputting ...
0
votes
0answers
15 views

Class/Object with different sets of configurations, singletons etc (PHP)

I want to produce maintainable code for configuring one or multiple classes differently depending whether in a production or development environment. For example, making a Paypal class/object that ...
0
votes
0answers
91 views

A new i/o library: a good idea or a really bad one?

For a long time I worked almost exclusively with input/output streams in java. However a few years ago I started exploring async I/O as well (e.g. running on jboss netty). However when working in the ...
0
votes
2answers
104 views

How can I handle Bots in a site that creates a database item every page

I have an eCommerce platform that creates a basket as soon as the user lands on the site if they don't already have one (from session or cookies). It then stores the basket information in session and ...
-3
votes
0answers
22 views

Show display error for specific ip address in wamp server [on hold]

I'm working at gaint project which is share between 3 developers, the project is place at developer's 1 computer I'm developer 2 when I ask to dev 1 open(on) the error reporting function he open it ...
-2
votes
0answers
76 views

i would like to switch my career from programming [on hold]

I have 2 yrs of experience in PHP and 3 yrs of exp in java. I have switched my career from PHP to JAVA.I do not remember PHP now. Since long time i am working on support and maintenance tasks(in java ...
6
votes
5answers
1k views

What is the role of the lead developer in an agile team?

In a non-agile development team a lead developer generally: Sets the standard (coding and otherwise) Researches new technologies for the team Sets the technical direction for the team Has the final ...
0
votes
0answers
26 views

Charts, SQL and REST?

We have created a REST API for a voting game. Now we are jumping into creating analytics/graphs/charts for moderators and users to watch how are they doing in the game. The game has a certain group ...
-1
votes
1answer
134 views

Why is it considered a bad idea to compile a Java app natively? [duplicate]

There are native Java compilers in existence. They compile Java source code to native binary. However, they are rarely used and it is generally considered a bad idea to use one. Why so? The only ...
-1
votes
2answers
101 views

Is it possible to implement a native compiler for a 'managed language' such as Java?

In most cases, it is possible to create both a native compiler and an interpreter for a programming language. The compiler would simply convert the source code to machine code, and the interpreter ...
-4
votes
0answers
27 views

Powershell script to extract ms-exchange audit logs in csv format? [on hold]

Background I'm using ms-exchange 2013 in my environment, and have a separate siem box which analyze logs produced by different systems (i.e exchange). The logs for exchange are internally stored and ...
-3
votes
0answers
39 views

should i pursue both game dev and app dev [on hold]

this is a little long so please bear with me i am a first year college student and an enthusiast game programmer .. i have worked on some small projects on unity with c# and c++ with sfml .. and i ...
0
votes
0answers
19 views

Session states in ajax callback

Someone told me Session or HttpContext.Current.User will return different value when we are working with ajax postback, in case of when the are so many user are live to site. For example, suppose ...
-3
votes
0answers
18 views

In my project after registration the data is storing in mysql but the success page is not coming, [on hold]

In my project after registration the data is storing in mysql but the success page is not coming, <%@ page import="java.io.*,java.sql.*"%> <jsp:useBean id="db" class="Online.DbExam"/> ...
0
votes
0answers
16 views

URL and Controller structure for parent-child-relationship

I use an MVC web framework to create an application which contains a hierarchy: Location <1-N> Devices <N-M> Services I have a number of Locations. Each Locations can have several ...
-3
votes
0answers
23 views

user or users which one is better for module name [on hold]

I am on the way of generating user module on sails framework of nodejs. If I sails generate user, sails will create controller, model, and then table naming user. Now I am confuse which one is better ...
-4
votes
2answers
164 views

Offensive Variable Names

Everyone knows that all manner of obscenities are included in commits and comments, but is it ever a good idea to have 'offensive' words in the actual code? The best argument I can think of is: when ...
0
votes
0answers
15 views

.war deploys on Tomcat running on OSX but not on Windows: “No timezone data source could be found”

I'm using Jruby 1.7.11, Rails 4.0, and warbler to generate the .war, deploying on Tomcat running Java, deploying on remote system. When I deploy the .war using Tomcat on OSX it works like a charm. ...
1
vote
1answer
45 views

What is a good algorithm for tracing around the edge of a 2D polyline

If I have a polyline made up of any number of vertexes, what is an efficient algorithm for tracing around the boundary of this polyline? There are 4 situations to consider: The polyline does not ...
0
votes
0answers
15 views

I need help with loops in JavaScript [migrated]

I know exactly how to write both for loops and while loops, however I struggle with what comes after. For example, I did an interactive tutorial and was asked to write a for loop that adds numbers 1 ...

15 30 50 per page