1
vote
0answers
10 views

PHP Cache Strategy - Genius or Sheer Stupidity?

I have a shared hosting with limited capabilities. Memcache and mod_cache are not available to me. I would like to implement my own PHP caching method to cache the results of load-intensive SQL query. ...
0
votes
1answer
18 views

Design Pattern : Static Array/List in Class Object

I'm a CS alumni, but we didn't learn much by the way of OOP, or Design Patterns. I've heard the phrase C with iostreams and thought it fitting. Anyway that's besides the point. I am just curious about ...
0
votes
0answers
7 views

Web Services of System Integration

I have been assigned to a system integration project. However, I do not understand part of the integration implementation architecture. For example, I have a passport scanner connected to a Windows ...
-2
votes
0answers
12 views

Need Free domain and PHP Web hosting with MySQL [on hold]

I am trying to search for a free web domain and hosting site, but there are many hosting sites each with some limitation, this confuse me a lot. I am working on a web project in PHP with MySQL db and ...
1
vote
0answers
42 views

Does anyone know the accuracy of salaries listed for software developers on sights like Glassdoor? [on hold]

Does anyone know the accuracy of salaries listed for software developers on sights like Glassdoor? I'm thinking there are people on stack exchange that could a test to the accuracy at least to with ...
8
votes
2answers
265 views

Why shouldn't I make variables public, but should use public getters/setters? [duplicate]

I'm watching a C++ tutorial video. It is talking about variables inside classes and assert that variables should be marked private. It explains that if I want to use them publicly, I should do it ...
0
votes
2answers
38 views

Good way to handle the notification counter like Facebook does

I want to build a similar notification mechanism that Facebook handles. I actually store the user's notification in an SQL table (actually it's a graph database but everybody master RDBMS terms). ...
0
votes
1answer
49 views

Is it weird that i search online for help alot? Not a technical one [on hold]

So I am not a very expert programmer "YET". I just have few questions about my approach to android and java. 1) Is it wrong that i search for help online alot? 2) I started android programming ...
0
votes
1answer
13 views

Help with database design with a strict and structured subset of clinical data

I'm developing an application to keep some of the data in chronic patients, the data came from a very strict subset of data, vital signs, exams, ecc. On a first glance I thought to create a Patient ...
0
votes
0answers
4 views

Trying to write my own algorithm for the Fibonacci Sequence [on hold]

So I am 15 and love Computer Science and programming. I understand that Computer Science involves a lot of algorithmic programming, and would like to get in to this, rather than UI and application ...
0
votes
0answers
3 views

Issues compiling app to run on phone (android studio) [migrated]

I have just started writing my first android app. Initially I started with Eclipse plus ADT plugin and launching the app on my phone worked fine. I then switched to Android studio and whilst I prefer ...
0
votes
0answers
28 views

Memory management scheme for custom memory allocator

I am in the process of implementing a small memory manager. The users of this memory pool will always access the memory bytes via handles. So a memory allocation/deallocation is done with two APIs: ...
0
votes
0answers
57 views

Are bugs are viable wage strike methodolgoy [on hold]

Disclaimer. I believe myself to autistic but completely democratic so feel free to disregard or down vote but if editing try not to lose the sincerity or technical questions contained within. If you ...
0
votes
0answers
10 views

Algorithms in MapReduce [on hold]

I have been learning MapReduce for recent times, The problem I'm having is I still don't know how to design different algorithms(such as graph algorithms, searching, parsing, ...) in MapReduce? Is ...
0
votes
0answers
10 views

How can i get buckets from aggregation query?This is Belongs to elasticsearch [on hold]

I am using elaticsearch v1.1.1 How to use InternalHistogram and ih.getBuckets() returing 13 records but those are not readable.How to make them readable ? Please correct the code that helpful to ...
1
vote
0answers
32 views

Need some recommendations for writing modern, consistent cross-platform C++ code [on hold]

I have mostly C# and JavaScript experience for about 5 years. Before that I programmed some years in C/C++ just for fun, so I know how to deal with raw pointers and destructors. I am familiar with ...
-1
votes
0answers
22 views

human readable rules to C++ API [on hold]

I am looking for a library/engine that takes human readable rules and compile them into c++ code. Does something like this exist or would I have to write my own?
0
votes
0answers
31 views

Shifting from developer to Product manager[career transition] [on hold]

I have been working as web application developer from past 5 year,now I got an opportunity to move on to Product management side as Junior Product manager,Now I need to make decision either to stay on ...
0
votes
0answers
33 views

is the evolution of NOSQL going to affect the Database programmers' careers? [on hold]

It is because of the easy storage,update and retrieval that NOSQL is gaining popularity.But the same is going to affect Relational DBMS (RDBMS) and all the database programmers who have been working ...
0
votes
0answers
15 views

Refactoring a Single Rails Model with large methods & long join queries trying to do everything

I have a working Ruby on Rails Model that I suspect is inefficient, hard to maintain, and full of unnecessary SQL join queries. I want to optimize and refactor this Model (Quiz.rb) to comply with ...
0
votes
0answers
20 views

Can't post data to php, Can't see why [migrated]

I have some data from a form that is being sent to a php script to send an email, it is from a template but I think it is wrong. I have isolated the part of the code that is to blame. The specific ...
0
votes
1answer
37 views

Does Jquery basically use CSS3 for animation and effects?

I originally started out this question with "what is JQuery, and how does it work", in terms of all that fancy animation, effects, slideshow plugins, etc. I was uncertain as to how JQuery does all ...
-2
votes
0answers
28 views

Dynamic website slideshow : which language? [on hold]

I have been building my website along my programming skills and it's coming along nicely, but I'm at loss with how to engage the next part. I'd like to integrate a dynamic image slideshow this way : ...
5
votes
1answer
273 views

How do sockets work over wireless connections?

I've only worked on client side(specifically, mobile) applications using Android, where all networking is handled at the HTTP layer using framework provided components like HttpUrlConnection. But ...
-1
votes
0answers
18 views

How to pass dictionary(hash value) as command line argument to python script?

Here I m passing dictionary as command line argument to python script >python post_request.py ...
0
votes
0answers
37 views

Handling stylesheet from a real programming language

Lately I've been playing with CSS (and other web technologies). I'm a non-web programmer, and probably this is influencing way too much my approach. I found CSS syntax very limited, thus gave a shot ...
0
votes
0answers
17 views

Make Live Chat with Ajax or signalr [on hold]

Which one is the best technique to make live chat feature in web application, Ajax or signalr? i don't want to use any database.
0
votes
0answers
20 views

What kind of tests should be written for database-centric web-app?

What kind of tests should be written for database-centric web-app ? Is there any point in writing junit tests and mocking database ?
1
vote
1answer
40 views

Differentiating Standalone and Client-Server architectures

I was wondering what is the exact difference between a client-server and a standalone application, particularly in following scenario. For example lets say there is a win forms application running on ...
-1
votes
0answers
25 views

Did free/open software condition users to expect/accept less [on hold]

I am reading wikipedia's Worse is better. The article states: Therefore, the worse-is-better software will ... condition its users to expect less ... The article clearly discusses this in the ...
0
votes
0answers
25 views

JavaScript: testing with undefined value

While learning more about IE’s documentMode property, I came across some sniffing code, which, of cause, fails in browsers like Firefox. However, a simplified version of the test would readas such: ...
0
votes
0answers
21 views

Learning from basics - which language to choose [on hold]

I am from commerce background have zero computer science and coding experience. I work with a electronic market trading set up which nowadays is High frequency trading.I have to learn some language ...
4
votes
5answers
183 views

Classic inheritance problem?

I keep seeing the following pattern when people learn about OOP: Problem: How do I put objects of different but related types into a container? Solution: Inherit from a common base class. New ...
2
votes
1answer
62 views

How can a true Vector be implemented in Haskell?

How could a true Vector type be implemented in Haskell? In order for something to be a Vector, it has to be stored sequentially in memory, with O(1) random access. But Haskell hides its memory ...
-3
votes
0answers
22 views

increase font size in website css [on hold]

I have my first web page set up. See jacoblindberg.com I use scriptogram to put up the content there. I want to increase the font size, but know nothing about CSS. I tried to fix it using notepad++ ...
1
vote
0answers
34 views

Object Design & Cohesion - Issue & potential refactoring

Abstract I have been trying to get my head around the cohesiveness of some functionality in our code base. I’ve approached this design in different ways, and lately I’m convinced that I took the ...
0
votes
0answers
21 views

What job queue system library is best for a SaaS? [on hold]

Customers subscribe and are allocated X number of jobs that can be run in a month. Say, a free plan lets user run 10 jobs a month. A small plan lets user run 100 jobs a month. These jobs are ...
-5
votes
0answers
34 views

Sorting a Difference-Array, URGENT help [on hold]

I have the following code. What it does is: There is an externally supplied input file which contains certain numbers. The numbers are first all sorted, and then all possible differences ( so always ...
0
votes
1answer
17 views

Load partial data and data sorting

I have one database table that I query on load and display items in a list sorted out by dates (latest first). However, as the table may become quite big, I only fetch the n first rows. To see more ...
0
votes
0answers
41 views

Javascript and SQL Lite (multi browser offline SQL/database query)

I'm in the elections division of my county and am trying to simplify a voter lookup method for our poll judges during election time. Currently we are using a clunky heavy application that the judges ...
0
votes
0answers
15 views

What is a good strategy for decoupling a web service that uses ACORD XML messages?

I work for an insurance company and we're getting ready to use a new vendor tool for creating insurance illustrations. The tool has a web service that accepts an ACORD XML message. We want to put a ...
0
votes
0answers
16 views

Group Rotation builder [on hold]

I have 54 people in a class. Throughout the year I want to put them into groups of five so that they are with different people each time. I want to do this considering two criteria (gender and work ...
-1
votes
0answers
14 views

Book/Resource advise for OCA Java SE 7 1Z0-803/804 certifications [on hold]

I am trying to attempt OCA JP certification soon. I have made some research online for resources to best prepare for the exam. Popular suggestions seem to be Java SE7 Essentials by Michael Ernest and ...
0
votes
1answer
51 views

Decrease probability of picking a list's item based on its index

I have a list of sounds that are to be played when the user presses a button. For now I just generate a random number within the range of the list and just pick the sound with that index. (I also ...
0
votes
0answers
64 views

What is the best source/online tool/compiler to start kids on programming? [on hold]

I want to introduce some 13 yr old to programming ... and obviously I don't want him to start with C programming of Deitel&Deitel and TurboC!.. What is the best source/online ...
0
votes
1answer
23 views

Traverse a matrix using a linear index to get an evenly distributed values sample

I'm looking for an algorithm idea on how to traverse a matrix using a linear index while avoiding row/column based traversals to get a more diverse distribution of values. To understand this better, ...
0
votes
2answers
92 views

Is there a better way to load objects?

I have always kept the code to load an object within the object itself. That way no matter what method is creating the object, it always has access to the method to load the object. However this does ...
-3
votes
0answers
29 views

Where can I learn about linked lists and binary trees? [on hold]

I don't understand linked lists and binary trees. Please post some resources where I can understand them.
0
votes
0answers
38 views

How to write an Excel workbook to a MemoryStream in .NET without first saving it to the file system? [migrated]

All options within the Microsoft.Office.Interop.Excel.WorkBook save options take a filename. And not sure how to use Microsoft.Office.Tools.Excel.WorkBook. I have also found another query here which ...
0
votes
1answer
35 views

Multiple intranet/internet systems partially working on same data - database strategy

We are starting rewritting our apps (Internet portal, millions of unique users and few CRM/ERP systems, few hundred users) and we have a huge decision to make now. We are going to write them mostly ...

15 30 50 per page