0
votes
0answers
1 views

GUI Development for Android

I come from a non-GUI and lower level programming environment. I have solid experience in OOP programming and algorithms, but the projects I worked on did not have any impressive user interfaces, ...
-2
votes
0answers
12 views

Help with this code your help is much appreciated

how do i add this code to my second jquery code, im new to this. this code is intentional to make add row of table function addRow() { var myName = document.getElementById("name"); var age = ...
2
votes
1answer
23 views

Best Git workflow suitable for our needs

I need help with the workflow that is best suitable for our needs. We are a 3-4 person team and are working on 4 different projects. We have three main branches: master - deployable production ...
-1
votes
0answers
2 views

Fortran, Strassen algorithm [migrated]

Below is a fortran module for multiplying square matrices(whose dimensions are powers of 2). After incorporating the module in a fortran program and defining the variables various errors are coming ...
0
votes
1answer
29 views

Why does this function work even though the vars are different

$inumber1 = 10; $inumber2 = 20; function add($number1, $number2) { echo $number1 + $number2; } add($inumber1, $inumber2); I'm learning PHP coding for the first time and I'm ...
1
vote
1answer
19 views

Best approach for multilingual Java Enum

I'm running into issues with an approach I am taking and am now wondering if I just started down the wrong path and should rethink my approach. Here is what I attempting. I would like to use an Enum ...
1
vote
0answers
21 views

When should something be a class? And are my chosen classes good OO design?

My background: I am new to programming. Python is my only programming knowledge. I program as a hobby, and I'm teaching myself by reading copious amounts of books. I understand enough about OOP to ...
-3
votes
0answers
8 views

What software to use to create Desktop and Smartphone notifiers [on hold]

what is the best tool to make a desktop notifier(emails or post) for me not to open any browsers..please help--- Im still learning things, and for the record I'm a liberal arts gradute, so please bear ...
-2
votes
0answers
34 views

What is the best way to call overloaded functions?

What is the best way to call overloaded functions? Which one of these is the better coding practice? This question does not refer all the following methods. -Back links, only previous methods are ...
1
vote
1answer
17 views

Which design pattern for a single class accessing an object representing a data structure?

Which design pattern should I use when I have a class representing a data structure (aka C-style struct) and I wish to have only a single class to be able to access it. I was thinking of simply ...
-4
votes
0answers
8 views

custom gui notifications in python [on hold]

i have to develop a software that runs in background and constantly poll a database searching for new messages to be displayed in the right down corner in windows (linux and max as well) like ...
-1
votes
1answer
89 views

PHP as a target language [on hold]

Are there stable well tested SDKs (as opposed to simple language converters) that allow you to develop your application in some decent language (I believe it is widely accepted that PHP is not a well ...
-3
votes
0answers
19 views

Not able to dynamically pull data from a table into a drop-down select field

Here is the function to fetch data from the City or State table. City table contains 3 columns (city_id, city_name, city_desc). State table contains 3 columns as well (state_id, state_name, ...
-3
votes
0answers
28 views

To find the number of words in a string [on hold]

How is this number computed from the string? This is the body of my Java code. What changes can be made so it returns the number of words in string? public class Program { public static int ...
-4
votes
0answers
31 views

How should I restart a career in software field after a gap of 5 yrs [on hold]

I am a graduate in computerscience, and I worked in the sharepoint development (MOSS 2007) field for around 4 years, but now I have a gap of about 5 years in my career. What are my options to restart ...
-4
votes
0answers
13 views

(IOS) Can I code an app that create flashes across screen while the app is open?

I need to make an application that create flash across screen while it's open in the task manager. The flash is the white flash just like when you do capture the screen in idevices. The reason I need ...
0
votes
0answers
48 views

Why aren't there cherry-pick requests?

One disadvantage to pull requests is lots and lots of merge commits. It's not the worst thing, but it does clutter the commit logs, and make for lots of unnecessary non-sequential history. A - C - E ...
-2
votes
0answers
14 views

how do I create normally distributed object using scipy [on hold]

I am trying to create a normally distributed object in python, how do I set it to have a normal distribution of 1 and a mean of 4?
-1
votes
2answers
96 views

What are the tecnhical reasons for email HTML, CSS, Javascript limitations and their persistance

If you've ever made a custom email you'll know that there are significant limitations in you need to be aware of. The most obvious limitations being: No support for Javascript in emails No support ...
1
vote
0answers
22 views

Building a string parser for user command and control?

My goal is to build a command parser that has basic syntax and multiple possible branches at each point. These commands come from users of the system and are text input (no GUI). The basic syntax is ...
0
votes
0answers
14 views

Data serialization architecture, injection on construction vs. on function call

I am creating a data serialization/deserialization mechanism for essentially a persistent storage object. Due to the variety of systems this mechanism could run on, there needs to be a a variable ...
1
vote
1answer
75 views

How do multiple levels of inheritance affect virtual function call overhead in C++?

I am considering using a class hierarchy with more than a single level of inheritance, where virtual member functions form a "chain", for example: struct Base { virtual void foo(); }; struct D1 : ...
3
votes
2answers
134 views

database design, how to handle freelancers

The context i'm modeling a database for a small ERP system. However I've recently hit a difficult spot that I'm having a hard time wrapping my head around. The logic of it involves a few special ...
7
votes
1answer
160 views

What Is λ-calculus essentially?

I have what I would call a philosophical question about λ-calculus. When you explore λ-calculus you will be surprised to see all the things that you can do there. You can define integers, arithmetic ...
-6
votes
1answer
35 views

What should I do [on hold]

Hi I am new to coding and going to study computer engineering but I don't know what language to go for or what software to use does anyone have an idea Can someone please help me
-1
votes
0answers
33 views

Language to implement GNU toolchain type pipelines? [on hold]

I have some quick and dirty pipelines implemented as bash scripts that : consume a stream of data from a socket using CURL do some regexp matching and reformating (grep | awk | grep -v | sed | ... ) ...
0
votes
0answers
83 views

What does “hardcore C programming” really mean? [on hold]

I've seen the term "Hardcore C programmer/programming" used by some programmers specialized in C. Searching online didn't yield any definitions what this adjective really means and how the term varies ...
-1
votes
2answers
79 views

How to get other programmers to collaborate [on hold]

I've got a project on which I have developed some source code extensive enough that it compiles to an application, but would like other developers to contribute to help me improve the code and make ...
1
vote
2answers
138 views

when using dependency injection, should I always pass an interface

When using depending injection, you generally pass everything around as an interface (perhaps with the exception of primitives and strings). That allows you to easily chance the behavior, without ...
1
vote
1answer
32 views

Python property best practices

Is there any situation where it makes sense to define a python property, where getting (not setting) it would raise an exception? I don't think this ever happens for fields in classes, hence the ...
0
votes
0answers
17 views

Is selection in Taligent MVP assumed to be a Selection Model?

By reading the traditional Taligent paper, I can't find a definite answer to what they mean by Selection. The selection could be just a set of indices referring to entries in the Model, so that a ...
2
votes
2answers
94 views

How do I write my BLL to make it re-usable?

Most of it was written 4-5 years ago. Our teams long term objectives are to use Entity Framework. Though we aren't gonna do it right away as our deadlines aren't allowing us to do so. Now we have our ...
-4
votes
0answers
30 views

Working knowledge of HTML, CSS, JavaScript, C# and SQL Server [on hold]

What does it mean if a employer asks if you have working knowledge of HTML, CSS, JavaScript, C# and SQL Server?
3
votes
3answers
68 views

Storing a pointer to an argument passed by (non-const) reference

When designing an interface for passing objects which are meant to be stored for later use and which should not be 'null', I am always a bit uncertain if the argument should be passed by reference or ...
0
votes
1answer
84 views

Is this instance of mixing FP and OOP a good design?

I had a strange-feeling pattern come up in some code I was writing. In a project with user accounts, there was a lot of code that needed to do common things such as creating accounts, deleting them, ...
-1
votes
0answers
31 views

What makes a parser GLR one?

Or in other words -- what features (from user perspective) a parser have to have to be GLR parser? It has to be LR, quite obviously, but when it comes to G -- is it sufficient that parser let the ...
2
votes
0answers
22 views

Mono: C call into managed with COM Interop

I am trying to design a managed library to implement -what appear to be- unmanaged VST3 plugins. The VST3 plugin interface is a C/C++ interface based interface that are compatible with COM ...
0
votes
0answers
54 views

The finer points of HMVC

I'm new to HMVC and whilst tutorials are great about dealing with the overall details of keeping modules separate and only letting controllers communicate, they aren't so great at explaining the ...
0
votes
2answers
53 views

How does Google manage their Google Images SSL certificate?

When an SSL certificate is installed on a website, but the page also calls content from another website without an SSL certificate, the SSL certificate icon will turn grey instead of green: instead ...
0
votes
2answers
79 views

Can I create a type, typedef or using statement that results in a different type if instantiated a second time or more?

Suppose I have a class that evaluates some computationally intensive function: class Value { private: int eval() { mCached = ExpensiveOperation(); return mCached; } static int ...
2
votes
1answer
192 views

Is this caution in Android API documentation an indication of suboptimal design?

The content below is from the Android developer site: According to the phrase it is expecting the developer to store this info in his head. Shouldn't this be simple if they kept only ...
-4
votes
0answers
33 views

Developing a calendar app in Swift [on hold]

I am looking to develop a calendar app in Swift as a learning experience and I have no prior knowledge of Obj-C. However, all the frameworks seem to be in Obj-C and I am wondering what would be the ...
2
votes
3answers
214 views

Should I put my company in the footer of the site of a client? [on hold]

I am a web developer and I am wondering if I should put my company's name in the footer of my client's websites. I am doing this since I began and never had anyone asking if I would remove it. So I ...
-3
votes
0answers
74 views

How to find out how many instructions per second modern CPUs can process? [on hold]

How to find out how many instructions per second modern smart phone CPUs can process? Particularly I'm curious about ARMv8-A of Apple and Quad-core Krait 400 of Google Nexus 5. Wiki says that AP-101 ...
0
votes
2answers
102 views

Is this a pattern: stand-alone classes

Having recently discovered python, I attempted to write a simple logger. Data is read from a device, processes, displayed and stored on disc. Those different tasks belong to different modules, of ...
-3
votes
0answers
32 views

Accessing XML from web service [on hold]

I have a Winforms application (C#) that queries an external web service (3rd party) to retrieve data from them. The url they supplied me with is a WSDL. I have added the web service as a web ...
0
votes
1answer
99 views

Are CRUD operations intended to be used with collections?

CRUD operations, by definition are... interfaces that permit users to create, remove, modify or retrieve data Implementations of CRUD interfaces can come in various shapes and sometimes they are ...
0
votes
0answers
30 views

API for accessing CTS and DSR signals of serial port

I'm trying to improve another abstraction of the serial port. The project involved often needs to check one of the single control signals CTS and DSR. This is currently done by a call to ...
6
votes
3answers
595 views

How to unit test code that downloads a file from a github repo

This is my solution's structure: Storage.csproj > FileDownloader.cs > GitHubProvider.cs (implements IStorageProvider) > IStorageProvider.cs Storage.Test.csproj > ...
1
vote
1answer
52 views

writing functional/integration tests for python

I am new to python and functional/integration tests as a whole. I know how to write unit tests, but in this case i do not need isolation for specific functions, rather i need my python script to be ...

15 30 50 per page