0
votes
0answers
8 views
Names for the two types of AI (in my eyes)?
In my head, AI attempts get sorted into two categories. I'm wondering if the distinction is present in reality or just my imagination. If this it's real, I'd like to know of any terms for them. The ...
0
votes
0answers
3 views
Can't find CSS bug that pushes banner/header - Debugging Advice
How do I debug a CSS element changing?
I've tried using Google Chrome's Inspector, setting breakpoints on JS code that I thought were moving the element and setting DOM Breakpoints but I can't pin ...
0
votes
0answers
8 views
How do you use Domain Events without obfuscating the control flow?
When we have a system which utilizes Domain Events, it can be quite hard to comprehend the whole workflow (sequence of events) of processing a particular command: how many active handlers we have, how ...
1
vote
2answers
50 views
“Correct” way to use inheritance
Within a small project, a class Storage is meant to store any type of Item. Now, an Item has a String name, and an interaction. For example, a clock item might implement the interaction increment(int ...
0
votes
0answers
18 views
Building a house automation server [on hold]
My current project involves house automation with extensive use of media. I am now tasked with programming a central control server. This server will take input via an android application and other ...
0
votes
0answers
12 views
How to design an interface for two similar but distinct objects
I'm designing an API for a JavaFX control to be submitted to the ControlsFX library. This control is called the ViewManager, and its purpose is to hold a collection of View instances, all of which ...
-2
votes
0answers
33 views
Unusual Mentorship Needed [on hold]
How does an experienced software engineer (60 years old, 35 years experience) find a mentor?
I suffered significant memory loss several years back. As a result, while I have a good educational ...
-3
votes
1answer
38 views
Can we really live with so few storage space?
I'm keen on switching from SQL Server + EF to RavenDB for my startup, however I have a big blocking point with the price. On RavenHQ, I see that that the starting offers has a storage plan of 16$ for ...
1
vote
0answers
8 views
How should I write the “Validation” parts of a FURPS+ document
Alistair Cockburn says in Writing Effective Use Cases, that validation requirements should not go into the use cases. However, even after reading the chapter on Missing Requirements (meaning the ...
0
votes
0answers
8 views
SSL certificate for mail/WHM/cPanel connections
I purchased an SSL certificate that I would like to have work for mail, WHM login, and cPanel login connections to my dedicated server. The domain on the certificate is mydomain.com, and my server ...
-3
votes
0answers
9 views
copy and paste from text box to text box
you can make a little program that copies the text of a text box on a web site?. I refer to the email address temporary guerrillamail. and to pass this argument to another text box to another website?
...
2
votes
1answer
37 views
Define an object with the interface as a type instead of class name
I try to practice with the design patterns and explore one of the possible implementations of the Observer Design Pattern in Java. I paid attention, that in this example the object is defined with the ...
0
votes
0answers
24 views
JavaScript: How future-proof is using the onpaste event?
I've been building a jQuery plugin which, along the way, required me to handle the user pasting a value into an <input> element.
I've handled this by using the onpaste event.
However, ...
0
votes
0answers
18 views
VB 6 Refer to an object within its own code
I am relatively new to VB6, so forgive me if this sounds naive.
I like to use checkboxes in graphical mode to simulate command buttons, but be able to change the color, etc. I have a piece of code ...
-1
votes
0answers
9 views
XML (de)serialization invalid characters in c#? [on hold]
I have a person class with CDataContent and it may have invalid XML characters. So have created a class to help the (de)serialization, however it does not handle the XML Invalid characters in ...
-2
votes
0answers
13 views
I am new in API AND W [on hold]
I am new in API and would like investigate about API licences. I like investigation about following:
- review and classification of the types of licenses that can be used by web
API providers.
- ...
-2
votes
1answer
29 views
What IDE is good for cellular automaton creation? [on hold]
I have been researching a lot about Langton's ant and elementary cellular automatons. And now I would like to program my own ant. The only problem I have is that I want it to look nice and have not ...
1
vote
2answers
39 views
What should JITed bytecode do exactly?
I'm working on a VM (and a scripting language for it) that I plan to implement JITing for. I'm only working on the "plumbing" of it now, but I don't want the JIT compiler to be an afterthought. ...
0
votes
1answer
33 views
Is there a relationship between a data source (JSON) and the Model that consumes it?
I have put together a large quiz data structure. It is in JSON format but I guess it could be XML etc. It may look something like this simplified:
{
"quiz":{
"title": "Welcome to Quiz"
...
2
votes
3answers
36 views
What is the different between web site and web application?
I have a friend who works in financing. His company wants a website for the company. He is really confused about a web site and a web app, and I don't really understand them enough to explain. Can you ...
0
votes
0answers
9 views
Search Query for DataGrid using Like in VB.Net
How do I make my search results more accurate? I'm using the default datasource of Visual Studio 2013 which has the extension of .mdf but the results doesn't show what I was expecting. I'm just ...
0
votes
0answers
10 views
Database search results by deviation from query in Java
When every i try something new, I always 'throw myself in the deep end'.
I'm in the initial stages of an android app build (my first android app, and first attempt at anything java)
I want to know ...
-2
votes
0answers
15 views
On which areas should I focus when I have little spare time and want to improve myself? [on hold]
I started coding a long time ago - I am now 25, but I was coding since I was 10 and made living out of it since I was 14. For some people, it might not be that long - I know there is a lot of people ...
-3
votes
1answer
15 views
Python: Find pattern of repeating number in an array
so i've tried to make a program that finds a repeating digit in an array of numbers. So after a bit of trial and error i've realized i don't even really know where to start.
...
0
votes
0answers
11 views
Affiliate links being redirected through another affiliate [on hold]
I have a price compare engine which thrives on income from affiliate sales. Lately, from last month or so, randomly my affiliate urls are redirected through vcommission to which I haven't subscribed. ...
-3
votes
3answers
67 views
Protecting a new file format?
I'm wondering when you create a new file format, what are the options to protect said format from being used without consent? I don't think you can patent a file format based off what I have read so ...
0
votes
0answers
7 views
Licensing a Jekyll Blog Site, Using Separate Licenses for Code and Content
I am working on a blog project, powered by Jekyll. I'm having trouble figuring out how to phrase the licensing text, or indeed how to correctly license it all.
Most of the tools, including Jekyll ...
0
votes
0answers
18 views
Does the absence of a license file in client side code give people any rights? [duplicate]
I am wondering if the absence of a license file (not having one at all) in code exposed to the client side provides any rights to copy or modify the code? Specifically, in reference to client-side ...
-1
votes
0answers
51 views
Is DJGPP in use anymore? [on hold]
We are revising some makefiles that date back to the 1990s. The makefiles include support DJGPP (also see DJGPP on Wikipedia). If DJGPP is no longer a popular platform, then I would like to remove the ...
18
votes
8answers
1k views
How do you explain a 'statement' in programming?
I was trying to explain to someone the other day that it was necessary to put a ; at the end of each statement of your code. He didn't get it, and he would still write things like int i = 3 without ...
1
vote
1answer
52 views
What would happen if two different commits in one git repo had the same hash?
I know this has been said to be pretty much statistically impossible but that's a different question. What would be the consequences if against all odds, this did occur?
1
vote
1answer
30 views
Where to put the domain in MVCS
From what I've read and understand MVCS (Model-View-Controller-Store) is a design pattern that lets you do the following:
View - Application view, what the user will see.
Controllers - Manages the ...
-1
votes
1answer
15 views
Global counter using iOS and Parse? [on hold]
I'm very new to Parse and trying to set up what is basically a voting app where I can collect data on how many times all users have pressed a button. I found some information on Atomic Increment ...
1
vote
1answer
44 views
Development Workflow (Git/CI) in varied tech level .NET Shop
tl;dr: I need a development workflow for ASP.NET apps that works for the designer on a Mac, the content writers who don't have visual studio, and the C#/.NET developers (mostly me), such that we can ...
2
votes
1answer
32 views
How do I handle long running third party calls from backing up my message queue?
Here is my exact scenario.
I must make requests to a third party service
The service takes ~15 seconds to respond
It also has no webhooks or any call back mechanisms
These requests are not made ...
1
vote
0answers
17 views
How to get and save Wordpress content (html, css, images, videos) from a Java program? [migrated]
I apologize if it's not the good place to ask this question. Please if it's not help me to find where I have to ask it.
So here is my challenge. I need to get and save Wordpress content (html, css, ...
2
votes
2answers
99 views
Is it bad practice to use constant variables with global scope in C++?
So I was reading section 3.2 (One definition rule section) in the latest working draft of the C++ standard and came across this:
Every program shall contain exactly one definition of every ...
1
vote
0answers
52 views
Simulating fluid transfer in a pipe [on hold]
I know this is a fairly large/broad category, but I've been racking my brain over the last few weeks on how to simulate fluid flowing through pipes. In the environment I'm working, I can have a single ...
2
votes
1answer
88 views
Endianness at bit level
I am learning the union and struct and I wrote the code below. What I do not understand is why the output is different when I change from a little endian to a big endiann machine.
My understanding is ...
2
votes
2answers
72 views
Final steps of wrapping up a Python script into a program
I finished building a Python script containing eight functions which download files, extracts them, manipulate and analyze their data and then produce graphs and export them into PNG files.
The ...
-1
votes
1answer
59 views
How useful are commit messages? [on hold]
I caught myself spending 10 minutes to write a concise commit message, and wondered if it was justified.
Can you recall a situation where a good commit message saved you at least 3 hours?
2
votes
1answer
56 views
Best practice for a REST-ful API where objects would naturally have a “/” in their identifier
I am designing a REST api for a document management system. To make the API more natural, I thought about using the natural identifier for a file, which is it's path (usually having forward slashes ...
-3
votes
0answers
22 views
Optimal number of syllables in a mobile app name? [on hold]
What is the optimal number of syllables in a mobile app name? According to Google it is 2 syllables (i.e. Twitter, FaceBook, Google).
-5
votes
0answers
30 views
I am learning c programming using codes represented on web please help [on hold]
I am making a bank type program.
I am stuck in if else statement step. Pls help
Codes are as follows:
#include<stdio.h>
#include<conio.h>
int main()
{
char fName;
char mName;
char ...
5
votes
0answers
37 views
Optional features: default method or separated interface
Dedicated interfaces seems to be a good way to expose the optional features in a domain-specific type hierarchy. However, they impede the use of decorator and composite patterns, which is also common ...
-4
votes
0answers
28 views
Is the lack of personalized view on Facebook for some actions a result of their underlying caching mechanisms? [on hold]
There is so much stuff personalized within Facebook, but it always baffles me that you have to manually find the 'X replied to a comment on this' on occasions like undetsanding example:
Does anyone ...
3
votes
1answer
50 views
Can a model have itself as a foreign key?
I am doing a coding project in rails. I have a user model, and I want to add a "spouse_id" to it (which would reference other users). Can a model reference itself in a foreign key?
0
votes
1answer
98 views
If everything is supposed to be an object in Java (barring primative types), isn't this contradicting the point of static? [duplicate]
I often write code which makes an object and then use static methods in static classes to manipulate said object.
Am I missing the point of OOP? How do I know whether I'm thinking in the OOP mind ...
-3
votes
0answers
20 views
what technologies and architecture used to develop erp [on hold]
nice day for all
if i start develop new erp using java its be desktop application
1- what technologies i should use in ?
2- can you give me architecture for it?
3- are erp is distributed system ? ...
1
vote
3answers
97 views
Should class with only static data need to be instantiated?
I have two classes. 1. Node 2. MixedStateManager
Node class:
Node class maintains the state of nodes in the system. One such data is state.
public class Node
{
private int state;
...