-2
votes
0answers
9 views

How to customize Chromium browser from source code

Customizing Chromium includes fixing homepage, removing address bar, .etc. Is it possible to modify the source code or using some compiling options to achieve these goals?
0
votes
0answers
4 views

How do I edit my code in REPL after saving in Emacs?

Alright I apologize if this has been asked, but I cannot seem to find this problem through searching. I am trying to figure out how to work on code in Emacs and when I come back open it again to edit ...
3
votes
0answers
16 views

Which is the preferable design for my Gateway?

I'm writing a Gateway class that extracts information from a HTML document. One of the responsibilities of the class is to traverse a table in the document and extract data from its rows. I'm trying ...
1
vote
1answer
13 views

composer is self-described as inspired by npm, so why does it handle sub-dependencies differently?

As I'm sure anyone reading this knows, the default behavior for npm is to install sub-dependencies within their respective sub-dependency directories themselves (in a new node_modules directory). The ...
-2
votes
0answers
36 views

Desire to become computer programmer, not sure which route! [on hold]

I'm going to attend a community college and start off my general education. I want to become either a web or desktop applications software engineer/programmer. Does anyone have advice on what types ...
1
vote
0answers
18 views

uniform distribution algorithm

Is there a better algorithm to uniformly distribute values from one source to X destinations? I have some source value. I need to know how much of that value I need to distribute among other values ...
-4
votes
0answers
27 views

Windows custom lockscreen program [on hold]

I'd like to create a windows application that locks my screen, I want the program to have the same functionality as this program but I want to add functionality to it so I can play custom sounds and ...
1
vote
0answers
16 views

Structuring a Python Project: Need some guidance

I currently am working on a project that involves several discrete components that have some common functionality, and I am in need of some advice. Right now I have a central component responsible ...
0
votes
0answers
29 views

Foreign currency processing

We are looking to expand our e-commerce store to allow customers in countries outside of the United States to shop and see prices specific to their region. The prices are not just straight markups ...
0
votes
0answers
56 views

Is it possible to miss a connection?

I'm writing a simple asynchronous tcp server & client program and I am curious if it's possible that the method "waitForConnections" misses a connection because it's still busy with accepting the ...
-3
votes
0answers
29 views

I have the BS in CIS degree (2002) but never worked in IT, is it too late to begin again and where should i start? [on hold]

I have the BS in CIS degree (2002) but never worked in IT, is it too late to begin again and where should i start? when i graduated to DotCom bubble had just burst and i had a family to support now i ...
0
votes
0answers
13 views

Elastic Beanstalk, EC2 and Rackspace with Solr

We are currently working on an e-commerce startup and we obviously don't know the number of users that will hit out site (expect it to be highly variable). I'm using a custom implementation of Django ...
-3
votes
0answers
57 views

Javascript entry-level interview [on hold]

I like to program and have been in pursuit of a developer career. I have some basic knowledge in most programming languages out there like C++, C#, Java, PHP, Python, etc. I also know HTML/CSS and ...
0
votes
1answer
17 views

Optional text qualifier in CSV file as input to SSIS package

I receive several CSV files each quarter to process through an SSIS package, and the formatting is inconsistent. This quarter, I encountered what I term optional text qualifiers--text qualifer of ...
0
votes
1answer
46 views

Domain Object class design?

This kind is a continuation of a question i had yesterday. I was incorrectly trying to pass data for that class into the constructor which caused IOC containers to not work effectively. I was advised ...
0
votes
1answer
43 views

How should I re-license the scaffold code for my new application? (it is licensed under MIT)

If you notice the following scaffold starter kit source code is licensed under MIT throughout the code base. Even the configuration file contain a header of MIT licensed by the creator. Assuming, I ...
-1
votes
0answers
22 views

Live feed statistics to website

I am trying to create a live display of all of my analytics accounts such as Twitter, Facebook, GPlus, Google Analyitics and a few others. The idea is to display all of these on a personal area of a ...
0
votes
1answer
80 views

Is service layer obligatory? [on hold]

I am going to implement not big web application and it seems that there are not (or almost not) any business logic in it. Only CRUD operations + some filters + security. So the question is -Is it ok ...
1
vote
1answer
22 views

Serial communications: how to verify that received message is a response to the last request sent?

Imagine the following situation. Two devices (master and slave) communicate with each other using any serial protocol like Modbus or HDLC or custom-made one. Master device sends a request to the ...
-2
votes
0answers
34 views

Convert C to Arm Language [on hold]

int calpower (int b, int e) //Find b to the power e. { int r = 1; //Initialize result to 1. while (e>0) //While exponent’s more than 0, { r *= b; //multiply result by base, ...
-1
votes
2answers
143 views

Why is it so difficult to read code? [on hold]

Give me a task, and I deliver. If you want an app that does this and that, I can fix that for you. But if someone else does the job, and shows me the code, I am often lost. It is very difficult for ...
-1
votes
0answers
17 views

How can I estimate the server load per user for a streaming application before I launch it?

What methods exist for calculating / predicting server load per user before the application is launched publicly? I'm using a node.js back-end on an Amazon EC2 Linux server. I need to calculate ...
0
votes
0answers
35 views

Where's the architecture layer diagram for the .NET Framework 4.6? [on hold]

This diagram for .NET Core is very instructive (from Microsoft). Is there a parallel diagram for the .NET Framework 4.6?
2
votes
0answers
47 views

What's the right way to approach validations?

I'm a rails developer, and have noticed that while defining validations I find myself confused about the scope I'm trying to cover. For example, I have basic cases where a field of data (ex: name, ...
0
votes
0answers
16 views

How to specify file type while saving the file by using “save as” menu item in netbeans [migrated]

How to specify file type while saving the file by using "save as" menu item in netbeans. I can see only "all files" for saving the files in an drive. But i need to include the file extension, while ...
2
votes
1answer
25 views

Transform Either types in Scala

I have an Either type e.g. Either[A, B] but I want an Either[X, Y] by using two functions A => X and B => Y. I can do that with fold: val myEither: Either[A, B] = ... myEither.fold( a => ...
0
votes
1answer
16 views

Which style to use for features that are not directly driven by humans when using BDD Gherkin language?

Should they be written same way as human workflows, first person "I have entered..." style language etc.? Is the user effectively a gender-less "AI"?
0
votes
1answer
43 views

Should I put the parameters in constructor or in method? (Python 3)

I have the following code: def __init__(self, vocable_file_path, xsd_file_path, word_list_file_path): self.vocable_file_path = vocable_file_path self.xsd_file_path = xsd_file_path ...
1
vote
2answers
78 views

Is there a better pattern than multiple inheritance here?

I'm working on a server implementation for a large game with many gametypes. There are several kinds of interactable entities: players, monsters, objects, vehicles. All entities share the same base ...
0
votes
0answers
22 views

Packing open source software alongside a commercial software

I'm creating a commercial web-app and to avoid compatibility issues between operating systems and browser I want to pack a portable chromium alongside my software and to use it to run the app. GPL2 ...
-5
votes
0answers
38 views

Auto Moving Objects using Java [on hold]

Hi guys i am new to this field, but i am willing to learn java. So i have chosen games to learn java i am developing a game called Shooter, which requires images to move in its own...... So someone ...
24
votes
10answers
4k views

How to stop thinking in terms of code?

I am a C++ developer at a fairly large organization which has a huge codebase. During the last 6 months since I joined, my mentor has always told me this every time we met for design reviews or ...
0
votes
1answer
92 views

Why is 'continue' the keyword for skipping the rest of the loop iteration?

Many programming languages contain a 'continue'-keyword, which is used to skip the rest of a loop body. I've always felt like this was a misnomer, since IMO the term 'continue' in real life refers to ...
0
votes
0answers
4 views

initializing 'CGFloat *' (aka 'float *') with an expression of type 'const CGFloat *' (aka 'const float *') discards qualifiers) [migrated]

when I try to get the components of CGColor with following code: CGFloat *components = CGColorGetComponents(customizedCGColor); I get the warning of "initializing 'CGFloat *' (aka 'float *') with ...
0
votes
1answer
26 views

When is background-image not wrapped in: url();

In CSS you declare a background-image by wrapping it inside a url('') ... is there an example when you don't need do this and if not why does it even exist? Even when you're using base64 you still ...
0
votes
1answer
26 views

Sending Form Data and Image?

What is the way to send form data and image(s) to an http-server ? Should I go with Multipart/Form-Data or add the image content as a value to the json data with some key ? What are the ...
-5
votes
0answers
43 views

How to develop logics in java programming? [on hold]

I am working as a Manual Tester from 3years,I feel it is right time for me to choose a career in Automation. As a part of it I have selected 'Selenium with JAVA' is the best platform to enhance my ...
3
votes
4answers
122 views

Design strategy for wrapping exceptions

I'm implementing a type of Repository for a framework/library that has (roughly) the following: public interface FooRepository { boolean contains(String id); Foo fetch(String id); void ...
-1
votes
0answers
67 views

How to compare numbers in a file? [on hold]

What I would have to do to search a file (file.txt for example), and compare its values with the ones I'm asking the user to input, only write the ones that are not duplicated, while letting the user ...
1
vote
1answer
98 views

How can I learn algorithms? [on hold]

I just took a coding challenge on a popular coding challenge site which gives you a problem and a fixed amount of time to solve it. I've been writing software for around 10 years, good software for ...
0
votes
0answers
40 views

A callback for when data is received?

So, my understanding is that the Kernel could receive TCP at any time, and that generally a C program asks the Kernel synchronously/asynchronously if it has data available. Would it be possible for a ...
0
votes
0answers
32 views

Nested website navigational menus [on hold]

So, I have created a website that has a navigational menu made up of nested unordered list elements. For example, <ul> <li>Home <ul> <li>About Us</li> ...
3
votes
2answers
103 views

What are the most common - real world - applications of lambdas in Python? [on hold]

Most tutorials on Python lambdas show examples like the one below. >>> sentence = 'It is raining cats and dogs' >>> words = sentence.split() >>> print words ['It', 'is', ...
-1
votes
0answers
14 views

Rpy2 - install and configure it [on hold]

I dowloaded the zip file rpy2. I'd like to use some function of R statistic in python. How can we install and configure it, in order to import it in a file or module of python please? Thank you for ...
-1
votes
1answer
61 views

Intersection of two arrays [on hold]

While solving problem abcdef on spoj i came across this code for intersection of two sorted arrays Here is the link to problem http://www.spoj.com/problems/ABCDEF/ The code sort(s1.begin(), ...
0
votes
0answers
13 views

dynamic api code generation in nodejs

We are using nodejs and cassandra for backend stuff. In past few months we wrote same CRUD code for different apps. I am thinking of some way to automatically generating CRUD code. I came across ...
0
votes
1answer
42 views

Extensions on Visual Studio 2015 Express [on hold]

I used to install some extensions on VS Express 2013. We were using it to create some internal tools, one of them was Web Essentials. I wanted to start using VS Express 2015 so I could use the new C# ...
-1
votes
0answers
18 views

Accessing large lists of words PHP Array or MySQL [on hold]

I'm creating an application that grabs a list of words, and mashes them together. Example: Hello, World, Coding Output: Helld, ingdld, Codrld I want to have many lists of words. I originally was ...
-2
votes
0answers
13 views

Excel and Graph Labels [on hold]

Suppose I have the following data: Name: Height (cm) Number of Countries Visited John 155 12 Jason 162 9 Jack 153 5 Using Microsoft Excel 2013, ...
2
votes
1answer
132 views

What would be a reason not to embed JS in C?

I'm working on an opensource application that processes JSON in C, because I would like to make it easier for people to help me in the project and because JSON is so close to JS. I want to embed a JS ...

15 30 50 per page