sample

Why does eclipse give me errors when i try to run sample application?

I dont know why the sample application from the android website gives me 300+ errors when i try to run it in ecplise galileo. The application i am trying is Bluetoothchat it is straight from the sdk sample folder so it shouldn't contain any. I have added android.jar and I do have an emulator. I have tried HelloWorld and it worked..Could ...

R mlbench exapmle

I heard R is the "de facto" language amongst statistical software developers, and I'm giving it a try. I already know the basics, but it still looks "weird" to me (a C developer). I think it would be very useful to see a working example to see how a real R program is built. I thought that an R solution for any of the mlbench problems wou...

Sample codes for PHP Webservice

Hi Everybody, I am new to PHP,I need to create Webservices using PHP.Can anybody provide me the sample coding and the procedure steps to proceed? Thanks in Advance, Meena ...

Sample app for Rails 3?

Can someone point me to a solid sample app that shows how to use the new features and syntax of Rails 3? It's been answered before for earlier versions (http://stackoverflow.com/questions/248371/whats-the-best-open-source-ruby-on-rails-project-to-learn-from), but I have not seen one for Rails 3. Specifically the following: Routing Ma...

WCF App using Peer Chat app as example does not work.

I converted a VB .Net 3.5 app to use peer to peer WCF using the available Microsoft example of the Chat app. I made sure that I copied the app.config file for the sample(modified the names for my app), added the appropriate references. I followed all the tutorials and added the appropriate tags and structure in my app code. Everything ...

How to call jQuery function from normal JS function?

How to call jQuery function from normal JS function? ( A + B Sample needed) So I need a jQuery function adding varA to varB. And a JS function which could call that jQuery function sending varA and varB to It and reciving result. ...

python multithreading for dummies

trying to find a simple example that clearly shows a single task being divided for multi-threading. Quite frankly... many of the examples are overly sophisticated thus.... making the flow tougher to play with... anyone care to share their breakthrough sample or point to an example? As well, what is the best docs? many google lookup...

Where can I find sample java questions for hands-on ? Not certifications type questions

Hi all, Most google results for sample questions/problems for java, results in a link directing to mock certification questions. Does anyone know where can i find sample problems for practice ? Thanks ...

Trouble installing sample portio driver from winDDK

Hi I am currently trying to build an application, that will talk to the super IO chip using port IO. As part of that, I am trying to develop a kernel-mode windows driver that I can contact, and which will do the IO for me. I have therefore downloaded the Windows Driver Kit v7.1.0, build 7600.16385.1, and I am trying to compile and insta...

.Net: Microsoft Duwamish sample running with .Net framework 4.0?

hi all I'm looking for Duwamish sample for .Net framework 4.0. But it seems that project needs .Net framework V1.1 SDK. What are your suggestion? Are there any other complete and known project running with .net framework 4.0? ...

good/simple asp.net mvc application with fluent nhibernate..

Where can i find a good/simple asp.net mvc application with fluent nhibernate? Any suggestion.. ...

SQL select a sample of rows

I need to select sample rows from a set. For example if my select query returns x rows then if x is greater than 50 , I want only 50 rows returned but not just the top 50 but 50 that are evenly spread out over the resultset. The table in this case records routes - GPS locations + DateTime. I am ordering on DateTime and need a reasonable ...

IronPython sample project deployment issue

Hi, I downloaded the VS2008 SDK v1.1 and opened the IronPythonProject C# example. My target is to deploy the IronPythonProject. So, I made the following steps: Build the PythonProject. F5 to run in the exp hive. File -> new project->New Project dialog: the IronPython project types appear with two types: Web, Windows and all thing works...

C# & UML: Looking for an example of using uml for modeling a software and its related c# code?

hi I'm looking for an example of using uml for modeling a software and its related c# code? windows-based application is prefered. Thank you ...

I need sample of MySQL Workbench of EER diagram?

Any one have sample EER diagram of MySQL Workbench? ...

Good/Simple shopping cart example using asp.net mvc and jquery

Is there a Good/Simple shopping cart example using asp.net mvc and jquery? Any suggestion... ...

[R] How do I split a vector into two columns to create ordered pairs for random assignment

I am trying to generate random pairs from 34 subjects for an experiment. Subjects will be assigned ID #'s 1-34. To generate the random ordered numbers (1-34) I used the following code: ### Getting a vector of random ordered numbers 1-34### pairs<-sample(1:34,34,replace=F) pairs [1] 16 22 8 13 4 25 18 12 17 5 6 31 29 27 30 ...

Sample C code for Canon EDSDK Liveview ?

Is there anyone with a working piece of sample C code that implements LiveView using the Canon EDSDK? The sample code in the documentation looks great until you get to this bit: // // Display image // Yup, that's it. They don't show how to BLT an image to a window using the data retrieved from the camera. They just say, "Display...

Needed: A Windows Service That Executes Jobs from a Job Queue in a DB; Wanted: Example Code

Needed: A Windows Service That Executes Jobs from a Job Queue in a DB Wanted: Example Code, Guidance, or Best Practices for this type of Application Background: A user will click on an ashx link that will insert a row into the DB. I need my windows service to periodically poll for rows in this table, and it should execute a u...

wpf/silverlight mvvm sample app request

could you guys point me to some really simple silverlight or wpf sample project where the usage of the MVVM is showed ...