-2
votes
1answer
47 views

(New Programmer Alert) As I'm learning Javascript and Jquery What Else Should I learn? [closed]

I'm a new programmer and kind of over whelmed by all the other awesome stuff there is to learn. I've gotten HTML and CSS down and now want to make my websites more interactive. I know with Javascript ...
-3
votes
0answers
21 views

How to pass input text box value from previous page to input text box in the new page with Javascript? [closed]

Any help appreciated.. I have been stuck on this for a while.. Right now once it gets the searchVal from the old input text box, it redirects to new page and then stops doing any javascript after ...
-1
votes
0answers
18 views

upload a file to sql server and download it from sql server in asp.net mvc web api using knockout js [closed]

I'm very new in asp.net mvc web api (APIController)and knockout js but i want to upload a file to sql server and download it from sql server in asp.net mvc web api using knockout js , i'm looking for ...
0
votes
3answers
147 views

What exactly is copyrighted, the text of the code itself, or the design? [closed]

I am both the sole developer for a relatively small company and someone who enjoys programming as a hobby. Recently, for one of my personal projects, I started making a framework for a RESTful API and ...
-2
votes
0answers
9 views

Problem with device orientation code in Firefox for Android [migrated]

The following code is supposed to make a map on a web page be the only element that is displayed on the page when the phone is turned sideways, and then re-adds the other elements when the phone is ...
2
votes
2answers
87 views

When should I instantiate a variable rather than grabbing it through a method?

This may be tedious, but I would love to know which is a more efficient way of programming. The result may only be slightly better or slightly worse, but I am still interested in which is 'better'. ...
0
votes
3answers
104 views

A secondary “type system” for references?

I'm designing a language and was wondering how to incorporate C++-like references with regards to their place in the type system. I think they're useful for operations like indexing and dereferencing ...
-2
votes
0answers
39 views

Is it possible to move application logic in to another programming language? [closed]

I am planning on making a cross platform app that looks as native as possible on iOS, Android and (possibly) Windows Phone. I tried Cordova and Ionic, but achieving what I wanted seemed almost ...
-1
votes
0answers
9 views

The prefered approach to saving and updating application statistics data in Android? [on hold]

i am trying to implement some fairly simple statistics data of how many times the application have loaded a certain ressource and URL, and maintain those statistics across application runs. But i am ...
0
votes
3answers
127 views

Is unwanted behavior, while work is in progress, declarable as a “bug”?

This might be only a question of definition, but maybe there's a consensus? Given the situation, software Foobar Plus is under construction, we're not working on an update, but on the first release ...
-4
votes
0answers
40 views

Difference between == and .equals (java) [closed]

I store my game map as Tile tiles[][] array For singleplayer game in render fuction I can use if (map.data[x][y].group =="crappyblocks") {do ......} Group is a string. I started making basic ...
-2
votes
0answers
35 views

Plan Code - Programs For Top-Down Structuring [closed]

Are there any programs to use to structure and arrange modules for the top-down design of programs?
1
vote
4answers
207 views

What if the “catch” block is empty - “{}”

Is it proper to use below syntax for try catch?? try { int a; int b; int c=a+b; } catch (exception ex) { //Nothing here }
2
votes
6answers
664 views

Replacing C with JavaScript as an introductory programming language [closed]

I am a new teacher at polytechnic where we teach web development and basic software programming. For years, the institution where I teach have taught C as their introductory programming language to ...
0
votes
2answers
61 views

Using PHP without mixing presentation logic

I'm conceptually designing a website / application and trying to come up with the correct separation of concerns. The basic technologies I'm settling on are: MySQL, PHP (Laravel), HTML/JS (jQuery). ...
0
votes
1answer
20 views

Field level permission checks for REST API - is this validation?

Let's say that we have some sort of "schema" for a rest resource, something like (pseudocode): ExampleResource: field1 = field(validate=is_string()) field2 = field(validate=is_int()) ...
3
votes
2answers
67 views

why regex, when using global search and {0,} quantifier, match the end of the string?

I have asked a question here about js, regex, quantifiers and global search. I've understood finally how this works, but, let's take a concrete example and then I`ll write my question. Based on the ...
38
votes
7answers
3k views

TODOs in Checked in Code [closed]

I have been having a debate on this with people in my team over the past few weeks. Some in my team are against having TODOs checked into the source code of our project. Their reasoning is that a ...
-1
votes
1answer
108 views

Carriage return not working properly in eclipse [closed]

Carriage return is not working when i execute the program it produces the n number of characters after "\r" in a newline class NewClass{ public static void main(String args[]){ String str = "Hey ...
2
votes
0answers
49 views

What are the essential differences between Tanenbaum's Modern Operating Systems book and Operating System Concepts (the “dinosaur book”)? [on hold]

Both are recommended a lot and I am wondering, if I am going to invest time into reading one, what differentiates their approaches.
0
votes
1answer
54 views

In *nix, is there a practice for storing static libraries?

Lets say you are building an application that staticly links against libraries that you provide it. Where should you store these static libraries? Should you make a directory in the parent directory ...
0
votes
0answers
34 views

Is there a good pattern for building nested form objects with validations?

I'm using the form object pattern to handle data normalization and validation in my app. It's working well for simple cases, but some of my form objects are composites (or roll-ups) of multiple other ...
1
vote
0answers
58 views

Search algorithm on sequential data model

For sequential data models like LinkedList, search algorithms like linear-search and binary-search are well known. Are their any other search algorithms apart from these two, that work on sequential ...
1
vote
3answers
149 views

Advantage of generic base class [on hold]

What's the advantage of having a generic base class and a derived class having itself as the generic parameter on the base class. e.g. public abstract class MyBase<T> {} public MyDerived : ...
4
votes
1answer
117 views

Why does Java define BigInteger / BigDecimal values of 10?

Question perhaps slightly left of field - but I'm curious as to the logic behind why Java's BigInteger/BigDecimal classes feel the need to define a constant of TEN? Example taken from ...
-3
votes
0answers
25 views

How can I transfer my own ipa--hello world— from itunes on Mac to iphone? [on hold]

I'm programming an IOS ipa --Hello World in xcode 6 swift without Apple Developer account. I've saved the app in itunes on my mac, and I want to transfer the app to my iphone6. But after I connect two ...
3
votes
3answers
91 views

Is this a valid situation for returning rather than throwing an exception?

This is not something I would ever normally do, but I have a situation where some existing legacy code is being reused in a new application. The code is shared and needs to be used by both the legacy ...
3
votes
4answers
161 views

Design: Lisp (or other scripting language) as an interactive interface for C++?

I'm working on a medium size C++ project (will probably end up around 50k lines) and I have to provide an interactive terminal interface. The program produces scientific data as an output and the ...
3
votes
2answers
53 views

Handling exceptions in a loop without breaking the loop (try to process all members)

Scenario: I have a loop that iterates over an Array of COM objects and does some work using them. My fear, working with COM objects, is that some exception will creep up (possibly on another ...
0
votes
0answers
22 views

How would you integrate an ASP.NET MVC forum with an ASP.NET MVC mind-map? Use a CMS? [closed]

I want to integrate a mind-map with a forum. I know some C# so I was thinking of possibly integrating MVC.Forum with Mindmeister since they are both ASP.NET MVC. I would like the end website to ...
2
votes
3answers
186 views

How does Chrome V8 work? And why was JavaScript not JIT-Compiled in the first place?

I have been researching Interpreters/Compilers, then I stumbled across JIT-Compilation - specifically Google Chrome's V8 Javascript Engine. My questions are - How can it be faster than standard ...
2
votes
1answer
50 views

Xamarin/Mono LGPL Compliance

The LGPL seems to stipulate that I have to distribute my app in a way that the LGPLed code can be replaced. Xamarin keeps saying that to distribute a mac app in the store, I need to use Xamarin.Mac ...
0
votes
1answer
60 views

The use of '#'-sign in haskell program text

What do those #-signs mean? For example, data Word = W# Word# deriving (Eq, Ord) I tried to google it but I found nothing.
1
vote
2answers
73 views

What is a good way to organize service layer classes?

I had a Service layer in my app and, for a while, there's just one class for API calls Current Scenario MyAPI Class authenticateApp() authenticateUser() Looking in the future, that class will be ...
0
votes
0answers
10 views

How to deal a card using F# [migrated]

I've been working on modeling a popular card game (Love Letter) using F# to learn more about functional programming. module Game = open Cards open Players type Deck = Card list let dealACard ...
2
votes
1answer
36 views

Efficient algorithm for hierarchical traversing? JSON hydration, for example

I'm writing a small library that helps you hydrate JSON data into objects. Given this JSON example: { "date": "1970-01-01 00:00:00", "foobar": "baz", "user": { "name": "foobar", ...
0
votes
0answers
32 views

Emulating `tail` to stream log data via asp.net mvc

In similar fashion to this bit of node.js, I'm interested in streaming the ongoing output of a text log file via ASP.NET MVC. I'm having trouble even thinking how I would implement this using the ...
0
votes
0answers
43 views

Vertical Single Page App libs/patterns?

Lately I've noticed a trend amongst some website homepages to present information in a vertical fashion, forcing the user to scroll down to continue reading the content. As you scroll down, a state ...
0
votes
1answer
50 views

Optimizing instant notifications

Scenario To deliver instant notifications to the client, I'm sending an AJAX request to a PHP page that checks if there are new notifications: if there are, it outputs them, otherwise it sleeps for ...
0
votes
0answers
30 views

Is using synchronization in service layer a bad idea?

I need to implement a mailbox monitor system as a web service. I have follow classes: MailboxMonitor: Contains information such as username, password, pulling interval etc. MailboxMonitorRepository: ...
1
vote
2answers
110 views

Could changing the return type from void to string introduce breaking changes?

This SDK have an interface like this: public interface Contract { void update(..); void action(..); void delete(..); } Now, we need to change it to something like this: public ...
-4
votes
0answers
29 views

Creating a web app that creates websites [closed]

I am creating a web app like squarespace using sf2. I am using AWS as my server. Just like in squarespace, the user will choose a template edit them and if they are happy then they will start the ...
1
vote
1answer
85 views

Accepted Patterns For Base Class with both Static And User-Defined Data Sources

I have a requirement to build a 'base' profile library (in C# - NET 4.5.2) for various different internal (technical) consumers. This profile consists of metadata fields that would be shared by a ...
-1
votes
0answers
31 views

Windows 8.1 on Surface Pro 3 appearing as VM to licensing software [closed]

I have at least two users running Win 8.1 Pro 64-bit on the Surface Pro 3 receive licensing errors because the LM-X license manager thinks they are running on a virtual machine. We do not have this ...
12
votes
2answers
748 views

Is it ok to avoid testing base classes?

I have a base class with a fair amount of "meta programming" to give it the flexibility/abstraction it needs to be rather generic. I do have a lot of subclasses using the common methods in the base ...
1
vote
0answers
22 views

How to keep track of all the goals of a large project? [migrated]

I have a very large library project in-progress involving French linguistics - (it will be) multi-faceted to work with the many aspects of language, including algorithmic inflections/conjugations, ...
-4
votes
1answer
88 views

Questions about a java developer job > semiconductor industry [closed]

I am an experienced java ee developer and I got this job offer: A java developer for a company that produces software solutions for the semiconductor industry. I've got two questions: 1- ".. ...
0
votes
1answer
34 views

Should I try to read user input for logger data?

Our logger data has gotten a bit out of hand, so I am trying to find ways to trim out unnecessary log information. What I've found is that the programmer who implemented the logs (no longer working ...
-2
votes
0answers
33 views

Enterprise WCF Implementation [closed]

I'm looking for a reference, either a book, or website, where I can gain some knowledge on creating enterprise level web services, specifically WCF. In my searching I haven't found much in relation to ...
-1
votes
0answers
33 views

How to organize a mid-size program with core functions and user-interface? [closed]

many of my programs have a common style: I need to do e.g. some math calculations, like some statistics (so working with real numbers, array, matrices). Plus I need to create a graphical ...

15 30 50 per page