concepts

As an EE/CE, what languages/concepts should I become more familiar with before graduating?

I am currently entering my senior year as a dual major in Electrical Engineering and Computer Engineering, and have touched on a wide variety of different languages: C, C++, C#/XAML, Java, bash, python, VHDL, assembly, etc. I was wondering what you think would be a good language/few languages to become more proficient in, or to explore f...

Structure is an value type, Then why don't compiler gives any error when string is declared within struct.

Why below written code doesn't gives error even when string is a reference type. public struct example { public int a; public string name; }; public void usestruct() { example objExample= new example(); MessageBox.Show(objExample.name); } EDIT Modifying Jon Answer, I have few more Questions. public struct Example ...

PHP function actual params

How can i know the actual number of param the function has, i know that func_num_args return the number of passed args inside the function but what about outside ??? function foo($x,$y) { // any code } how can i know dynamically the real num of args that bind to that function ...

When to use exceptions in Java (example)

I know that this would be bad practice although I know that I would not be able to explain why. int [] intArr = ... ... try{ int i = 0; while(true){ System.out.println(intArr[i++]); } }catch(ArrayIndexOutOfBoundsException e){} I think that you are only supposed to use exceptions for things that shouldn't happen. I am...

Google Map not working with XHTML Doctype (Document Type)

Why on the earth there is always a chance that if we use "Doctype" with Google Maps, there will be a problem in showing the Google Map correctly? In a recent case, this "Doctype" just took my 2 days without any productivity. What a disgusting case? This time I got a help from one of my colleague (Subhankar Bannerjee), and many thanks...

i have to do the following to the database, have an idea but its not clear. help!

note:- Please read the explanation of what is to be achieved and provide initial guidance, i know there must be a lot of concepts involved, i am not asking for complete step by step solution, need help in knowing what concepts need studying and a proper path to start with. There are a lot of resources on the internet, which makes it real...

Is there a central DB SERVER in this kind of situation?

I have multiple servers containing the same table schema, but each responsible for a portion of the overall data... No one machine needs to contain all the data. Each machine only contains data relating to its department. Is there a central database server which will contain all the data, or just a central db server which can be used t...

What is "query writer, new querry in sql server management studio express

using :- sql servr 05 and vs08 c# website asp.net Okay, I have always used SQL Server 2005 Express and its Management Studio as a host and a design interface to create tables from design view only. All the queries, transaction, retrieval and anything needed during run time of the website is done using Visual Studio 2008 sql "connection ...

why does task X, appear two times for unit 0 at clock cycles 4 and 5?

why does task X, appear two times for unit 0 at clock cycles 4 and 5? have to make a program for the arragnment of the pipeline, but i need to know the above. is it just because the author wants it to repeat?? the picture. link to picture from image shack http://a.imageshack.us/img130/1228/exampleoffeedbackpipeli.jpg ...

wil this be called distributed database?

if a db "A" created at site alpha then also schema copied at site beta which is 50 to 100 of miles away but still data in both is same and must be in syc. will it be called a distributed database or would it be wrong? EDIT why is it not distributed? its related, what does it need to be called distributed? same schema different da...

A distributed database is a collection of multiple, logically interrelated databases distributed over a computer network.

. A distributed database is a collection of multiple, logically interrelated databases distributed over a computer network. Sometimes "distributed database system" is used to refer jointly to the distributed database and the distributed DBMS. please can any one give a simple yet clear example of "multiple logically in...

Provider and subscriber in SQL Server 2008, can subscriber handle insert/delete?

Assuming I did all that is needed (consider complete replication) Make server "A" the provider and server "B" the subscriber Question: If I want to add, delete, update, or insert data, will I be able to do that by connecting to the subscriber? If yes, will the data change be automatically reflected in the provider? Using: C#, ASP....

"Equivalent" is equivalent to... in concept definitions

What does "equivalent" mean in the definition of concepts, such as http://www.boost.org/doc/libs/1_43_0/libs/utility/CopyConstructible.html? Shallow copy? Deep copy? Either? ...

Distributor- meaning of- configured on separate database server instances?

Distributor The Distributor is a database instance that acts as a store for replication specific data associated with one or more Publishers. Each Publisher is associated with a single database (known as a distribution database) at the Distributor. The distribution database stores replication status data, metadata about the publication, ...

sql server table partioning- is this correct?

read many sites, guides, etc note :- cannot test what i am asking as do not have two computers :) so asking.. table partitioning simply means that the table is logically divided, such that a particular range is handled by a particular partition only there by reducing load and also allowing parallelism. there is a mention of partitions...

oracle distibuted database

a few basic questions, using vs08 c# and sql which oracle version should i download? oracle10g? does it have a disgn interface like sql server mangement studio.? will this distribution concept have a graphical tool which say "hi, on which servers would you like to distributed the database and on what basis? using a local applicat...

Difference between object and instance

Hello Everyone, I know this sort of question has been asked before, but I still feel that the answer is too ambiguous for me (and, by extension, some/most beginners) to grasp. I have been trying to teach myself broader concepts of programming than procedural and basic OOP. I understand the concrete concepts of OOP (you make a class th...

How does NHibernate 3 solve the QueryOver<> syntax?

I'm curious on how the NHibernate team has solved the QueryOver syntax, so that it works with intellisense and validation at compile time? According to http://nhforge.org/blogs/nhibernate/archive/2009/12/17/queryover-in-nh-3-0.aspx they make use of extension methods and lambda expressions, but I've tried looking through the source but i...

What is the difference between sketch and blueprint?

When people use these two words in industry , what are the differences? ...

Algorithm of JavaScript "sort()" Function

Recently when I was working with JavaScript "sort()" function, I found in one of the tutorials that this function does not sort the numbers properly. Instead to sort numbers, a function must be added that compares numbers, like the following code:- <script type="text/javascript"> function sortNumber(a,b) { return a - b; } var n = [...