concepts

C++ - what does the colon after a constructor mean?

Possible Duplicates: Variables After the Colon in a Constructor Importance of a singlecolon : in C++ C++ constructor syntax question (noob) I'd happily Google this but don't know what to call it to Google it. I have a piece of code here: class demo { private: unsigned char len, *dat; public: demo(unsigned char ...

A quick over view of facebook's db?

Hey guys I find it hard to believe that Facebook uses simple sql, surely it would use some other method but lets assume for now it does use sql how would the code assimilating the 'wall' work? Lets say that there is three tables (just for the example) Friends: id (entry key) - uid(your id) - fid (your mates' id) Wall:id (entry key) -...

What are some of the useful concepts to know about when building Silverlight apps?

The Silverlight(& WPF) space seems to have a whole new nomenclature around it so at times I'm having a hard time figuring our what is important and useful to research a bit more. For example I 'know' about the MVVM pattern but I'm looking for things that are a bit smaller in scope, that is topics, ideas, programming constructs that mig...

Concepts: Channel vs. Stream

Hello, is there a conceptual difference between the terms "Channel" and "Stream"? Do the terms require/determine, for example, the allowed number of concurrent Consumers or Producers? I'm currently developing a Channel/Stream of DataFlowVariables, which may be written by one producer and read by one consumer as the implementation is de...

best practice in architecture in centralizing location of different modules (cms, webapplications, ...) -

Let's just say that i want to create a CMS and other online applications. I want to integrate them all in a central location, but they also have to be available seperately (not everyone wants more than the CMS solution). Should I create a huge central application that contains all the database, which communicates through a webserice wi...

Mapping irregular shapes or other polygons (cartoons, sprites) to triangles in OpenGL ES

I don't understand the concept of showing sprites mapped into OpenGL Triangles. If OpenGL ES only draws triangles and points, How do you display/map non-triangular shapes? Why would a shape mapped to a triangle not be distorted? To explain: In my mind, mapping, say, a sprite of Mario, to a triangle would produce a distorted or cropp...

Data manipulation in PlugIn-Concept

Hi folks, I have a strategic question for my C#-project. I want to implement a plugin-concept and now struggling with the best way for the plugins to manipulate the data of the main project. At first I created a "Master" PlugIn Project that defines the Interface for the plugins and an attribute to identify a class as a pluginclass when...

Methods to Analyze Sell Orders (in a video game)

I'm building a market manager for EVE, but this problem should be solvable without any prior knowledge of the game. Basically, sell orders in EVE look like this: All I'm really concerned with is picking a good price. The numbers the program would pick are sent out to our production team so they can buy the items to build things. Ju...

Need a tool to search large structure text documents for words, phrases and related phrases

I have to keep up with structured documents containing things such as requests for proposals, government program reports, threat models and all kinds of things like that. They are in techno-legalese as I would call them: highly structured, with section numbering and 3, 4 and 5 levels of nesting. All in English I need a more efficient wa...

Get to know what HTML-button is clicked with PHP, no Name of value available

I have a wizard with 4 steps and in one of the steps, you can add items. By default, there are 3 time 5 empty input-fields listed. When you click a button, there have to be added some more. The 3 times 5 fields are added by a loop. How can I determine where I have to add some fields (in the first 5 field of the second or the third). I c...

Difference between Scala trait and C++ concepts

What is the difference between Scala traits Haskell type class and C++0x Concepts? ...

How do clojure programs/compilers/interpreters actually "work"?

It seems that to install Clojure in every new IDE, I have to completely re-install it and create a copy of it. And running the REPL seems like it's running a Java program. I'm coming from a Ruby background, where Ruby programs are run by ruby program.rb, and the ruby being a program executed from one place, onto the file (I am aware th...

What fundamental things should someone new to programming learn?

Possible Duplicate: What programming basics should I learn? What rules / guidelines / ideas / concepts are so fundamental, that everyone who programs should know them and therefore learn right from the start? I'm looking for things that are independent of language, system and platform. Looking forward to inspirational answers...

Stop User from using "Print Scrn" / "Printscreen" key of the Keyboard for any Web Page

I am currently doing a project, in which I need to stop the user from taking the snapshot of any Web Page, for which he can use the "Print Scrn" / "Printscreen" key available in any of the normal keyboards. I have been trying to find its solution, but in vain. If possible, I need to take into account of the "Screengrab" add-on of the Fi...

Difference between Module & Component in Joomla

I am a newbie in Joomla. Can somebody please tell me what is the basic difference between the module & component in Joomla? If possible, please tell with some examples, so that it is easily understood. ...

Use of "getTypeInstance()" of a Product in Magento

Can anybody please put some light on the need of the method "getTypeInstance()", which can be use by any product object? Also what are the pros & cons of using this method? ...

How to use Multithreading, locks, Socket Programming.

For last 48 hours, I have been trying to understand Multithreading and Socket Programming. I tried to implement socket programming and had success when not using multithreading. I am new to both of the topics and have raised 2-3 question on stack itself needing help on the same. After googling a lot I found an article that explains So...

How are process hooks used

I've seen the concept out there, but how are they implemented? are they related only to operating system messages and system calls? i was thinking about event handling in GUI applications, detecting and handling the event itself and doing something is considered hooking? ...

Optimizing Magento-using Websites

Please be patient with my question, as this may be a bit longer. If you look at Magento and try to compare with any other non-PHP eCommerce Shopping Cart websites, you will find that the latter are comparatively faster. I know that the following factors work as well:- Hosting Server Bandwidth Magento offers lots & lots of features, ...

What should new computer science grads know?

I have been interviewing quite a few recent comp sci grads for hire at my development firm, and I'm continually puzzled regarding exactly what they should know before when graduating, since different schools emphasize different topics. What are some of the "must-haves" for new graduating comp sci students? I'll start with a firm understa...