-1
votes
0answers
3 views

How do I create a tool to customizable text preview for my online store?

Here's what I'm trying to accomplish https://gyazo.com/18a9a306abac1c2bb931ff57e1f414c8 I want to create something like this for my ebay store which I think accept HTML code. I don't know much about ...
0
votes
0answers
7 views

Should an object be able to represent itself across domains?

I'm working on a networked game. I have tried to design the various components (client, server, engine) to only about things within their domain. For example, the server should only be concerned with ...
-5
votes
0answers
10 views

I am stuck in one frame of this program which is i do not know how could i display all entered values? can anyone help me out? [on hold]

bool quit = false; switch (option) { case 1: GetNumbers(numbers); break; case 2: ...
2
votes
1answer
33 views

How do you mix left-to-right and right-to-left scripts without your files looking crazy?

Say your native language is Hebrew, and you're working in a programming language like Python 3, which lets you put Hebrew in source code. Good for you! You've got a dict: d = {'a': 1} and you want ...
0
votes
1answer
21 views

Java 8 Optional in JavaScript

I like the idea of Optional in Java which we can use to say that the object may or may not be available. I am now learning JavaScript and when trying to find an equivalent, came only across ...
0
votes
1answer
33 views

Why directly edit binary files?

This may be a naive question, but I wonder when and why (non-research) developers would directly edit a binary file. It seems like the only good reason to use one is to create a kludge when you need ...
0
votes
0answers
6 views

In AngularJS, if we use a factory object as the data store, should all directives be responsible for watching on it?

I worked on a project using AngularJS where we add, edit, or remove data from a factory object (which is also called a service object, and therefore is a singleton object). The left side of the web ...
-2
votes
0answers
14 views

Why is error suppression ALWAYS a bad thing? [duplicate]

It seems to be the general consensus that there are absolutely no scenarios in which an error should simply be suppressed, e.g. using the @ operator in PHP. But if, as an example, I want to do ...
-1
votes
0answers
15 views

Tool chain for storing and presenting minutes

We are trying to create a system that: provides minute takers with an easy-to-learn syntax to record minutes electronically can store the documents in a form that is easy to process and preserves ...
-2
votes
0answers
24 views

How to implement “invite a friend” workflow?

I am developing a service and to maintain the growth I'd like to implement a customer referral program , by means a customer can refer "invite" and get points as the his invitees accept the ...
0
votes
0answers
19 views

How to deal with it that not all HTTP response headers reach the browser?

Some companies use firewalls that filter unknown HTTP response headers. I've personally witnessed that a page used the default font instead of the chosen external Google font because the firewall was ...
0
votes
0answers
23 views

Best practice for storing external text to then place in html

Sorry if I'm not explaining the question well in the title, I'm not sure of the correct lingo. Let me give you an example instead. So this is a normal HTML file. <span>Well to the ...
1
vote
2answers
49 views

Is there any low level way to get shifted or unshifted bits which results from bitwise operations?

I was playing with bitwise operations and a question about counting true bits of any positive integer value, so I solved the problem with bit shifting, so I just thought if there would be some way to ...
3
votes
3answers
43 views

Verifying objects

If a method takes an object of class A as parameter and analyzes its properties somehow, performs calculations etc. to verify this object, is it okay for class A to have a boolean valid field? After ...
-3
votes
0answers
7 views

Fusing of few TopoDS_Shape problem (OpenCascade, 3D)

Can someone explain what the problem with this fusing of some TopoDS_Shape s. I have 2 shapes (TopoDS_Shape) See Shape1_Brep.iges + Shape2_Brep.iges - https://www.sendspace.com/file/mz1rlr When I ...
1
vote
1answer
29 views

Roadmap to create a scientific computing website

I am a theoretical physicist starting my Ph.D. shortly. As a side project, I would like to create a scientific computing website in the field of General Relativity. It should be an interactive ...
-3
votes
0answers
25 views

Javascript execute code in a Parameter

How can I write a function that executes the code in a Parameter? Something like: function exeCode(code){ whatever(code) } exeCode(alert('It works!')); and this should do what I write into the ...
-4
votes
0answers
25 views

How to continue with script even if NoSuchElement exception is thrown?

public static void main(String[] args) throws InterruptedException { WebDriver driver = new FirefoxDriver(); driver.get("http://google.com"); driver.findElement(By.id("ww")).click(); ...
0
votes
1answer
17 views

What relationship describes two different abstractions of the same dataset

I am wondering if there is a specific term for when multiple representations are data equivalent. Meaning that you can transfer the data from one representation to the other without any loss of data. ...
0
votes
0answers
17 views

Eventing solutions for java legacy applications too old for real JMS queue/topic eventing?

What are some architectural solutions that can mimic eventing for systems (Java) that are too old to implement eventing solutions, such as conventional Queue/Topic based JMS messaging? I have a ...
-2
votes
0answers
25 views

Will programmer analyst job title in past projects land me a Business analyst job? [on hold]

I have been working as a programmer for last 9 years and during various projects I carried out lots of analysis and functional design. I find lots of business analysis skills used by me over the ...
2
votes
1answer
41 views

How to test data based on SQL queries?

I'm trying to set up a test framework for (SQL) datasets that get updated daily. I want to write assertions that involve comparisons between two tables–for example, the sum of column visitors in the ...
0
votes
0answers
13 views

Implementing real world Consumer-Driven Contracts in a single web application

I've been leaning towards the idea of Consumer-Driven Contracts in order to allow separate API consumers evolve on their own. To approach this concept initially I'm tempted to dip my toes in slightly ...
-3
votes
0answers
36 views

Development of algorithm for matrix multiplication

Multiplication of n*n matrix takes order of n^3 with the standard multiplication algorithm. We can improve the time component of matrix multiplication to order of n^w where w= log(7)/log(2). Using ...
-2
votes
0answers
41 views

What are all the variables that can make a difference between computers or browsers? [on hold]

I have two computers that are giving different behavior. What are the difference that can happen between computers and browsers, assuming they are both served the same HTML, CSS, and JS. These are ...
0
votes
0answers
10 views

interoperability between two independent platforms via HL7 FHIR

Mobile app: (Patient) I've developed an android mobile application which you can register, login, enter your personal information, enter your blood pressure factors, heart rate, and blood sugar. In ...
1
vote
1answer
63 views

Ban redistribution, but still allow code changes?

Basically, I have an app, Court Counter, on the app store. It was very crappy, and was not worth licensing at the start. By the way, I found the incentive from the courses at Udacity. However, over ...
0
votes
0answers
21 views

Implementing API and GUI in same rails application

I am trying to build and ERP system for educational institutions. It will be multiplatform i.e. web, mobile and desktop. What I did is create API that can be consumed on Mobile and Desktop and now I ...
0
votes
0answers
8 views

Google Custom Search API Geospatial Support

I'm comparing features of custom search engines and have an implementation requirement for geospatial search. For example, a set of thousands of web pages in the website represents business, one page ...
2
votes
0answers
37 views

Technique to passively take down a host on the network

I am developing a program which is to be installed on a "simple" machine in a LAN, the only particularity is that the NIC are connected on mirror ports. The software can scan and monitor the network. ...
-5
votes
0answers
59 views

What is the use case of npm's left-pad library?

According to this article http://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/ The removal of leftpad, which adds left padding to a string, broke many libraries which depend on it including ...
0
votes
1answer
44 views

Data structure for storing sorted data

What's a good way to store loads of sorted string on a file so that inserts and reads are fast? I could store it up in a tree, and read/modify/store it as needed, but that seems wasteful for ...
0
votes
1answer
29 views

Should registration be required for an application which relies on success based on unique barcode?

The application goes something like this: Users download app and upon downloading, a unique barcode will be presented to them. The barcode (via phone) is scanned at the checkout (so it eliminates ...
-4
votes
0answers
29 views

Add values in database on start the application [on hold]

I want to add values in database (like: when I run my application values should automatically store in database). I am using spring-mvc, hibernate. Can anyone please help me? Do I need to use servlet ...
-4
votes
0answers
31 views

textures vanishing in Opengl C++ [on hold]

I have this problem where the textures disappear after the application has been applied for a minutes or two. Why would the textures be disappearing? The 3D head remains on the screen but the place ...
0
votes
1answer
56 views

Design Pattern for Object Updates

I have a "Product" class that has some ID, and multiple other fields, and a function updateProduct(id, Product update). The intention is that "update" only contains the changed information - other ...
0
votes
1answer
22 views

Consumer Contract Testing should I start Provider in mocked mode?

I read couple articles about Consumer Contract Testing, but I cannot find answer to one question. Let's say I have 3 microservices: A, B, C. The communication looks like that: A -> B -> C Now I ...
-4
votes
2answers
60 views

How to insert large text into a DB with PHP?

I have a function that generates a random text with about 8,000 characters. This text is generated at the time of first access the page, based on some parameters. I would like this text to be ...
0
votes
1answer
34 views

Full data history, current values can be rebuilt ignoring provisional or invalidated changes

I would like to create a website for a local school and then offer it to others. The school's main headache at the moment is capturing student marks and comments at the end of each school term. The ...
0
votes
0answers
44 views

How to handle error opening Windows file created by my code

My Windows desktop app creates a file in: %LOCALAPPDATA%\XYZZY Software\Our Product\foobar.json One customer on Windows 7 is experiencing "Accessed Denied" errors when our software tries to ...
0
votes
0answers
45 views

Working on the same file for two tickets

The company policy where I work is that code cannot be committed to SVN until a code review is complete. This is sensible enough as we don't want broken code ending up in the repo, but it does give us ...
-2
votes
0answers
38 views

Creating Webhooks instead of API

I have started buliding an API for my service which transfers series of data to other 3rd party. I am wondering if I should build Webhooks along with my API? Can anyone tell me how webhooks would be ...
36
votes
5answers
6k views

What is really “Soft Coding”?

In this article by Alex Papadimoulis, you can see this snippet: private void attachSupplementalDocuments() { if (stateCode == "AZ" || stateCode == "TX") { //SR008-04X/I are always required in ...
-5
votes
1answer
61 views

Server side programming [on hold]

I'm almost new to server and web development and have just contributed in some projects and codes. But I am not completely familiar with server_side programming. How can I get really good in web and ...
1
vote
2answers
105 views

What is the minimal prototypical program to demonstrate the differences between the major programming paradigms?

Clearly the prototypical "Hello World" program does not suffice to demonstrate the difference between the major paradigms of programming. What would be the minimal program to show the differences ...
0
votes
3answers
39 views

Bits - Least-Significant/Lowest is 0th or 1st; zero or one indexed

Question Is there a rough consensus if the bitmask 0x01 is properly said to have the "zeroth" bit set, or the "first" bit set? If there isn't rough consensus that there's a generally right answer, ...
-4
votes
0answers
38 views

Where can I get a perfect, quick and easy guide/tutorial of JavaScript for free. Basically for Facebook App development using JS SDK [on hold]

I just want to create an app using Facebook API. It will be hosted on my server. It will only have access to data from the Facebook Server. From the www, I have found multiple documents (PDF, video ...
-3
votes
1answer
68 views

Convert Java code checker into analyser

I have made a application on Java which is check the code of Java, PHP, JavaScript and tell the errors line and what's the error but my boss want me to convert it into code analyser which can tell ...
-2
votes
0answers
22 views

Is there a way using Python to create multiple volatile table in teradata

I am using python to create multiple volatile statements in teradata but I am not able to execute more than a table. I am using End Transactions after every create statement. Please help I am getting ...
-2
votes
0answers
13 views

How to setup struts url-pattern to achieve the following?

I have created an action that processes "www.example.com/action" and it is working fine. But when I try to access "www.example.com/any_string/action", it also processes the request. How to prevent ...

15 30 50 per page