sample

Sample ASP.NET application for absolute beginners

One friend of mine is beginner programmer and he is trying to learn classic ASP.NET. I want to recommend him some small open source application to study. I don't want to confuse him with advanced topics or mislead him with wild approaches. What application should I recommend to him? Edit: I clearly failed to ask this question. I am no...

Recommend good online sample walkthrough of TDD?

I find unit testing vital. Several times I have tried the TDD but given up on it as sitting down with a piece of paper and drawing out a few diagrams first always seem more productive. As so many advocate the TDD I will keep trying. I looked at this http://xprogramming.com/xpmag/sudoku5 (the last article of 5) but this seemed to high...

Subset generation by rules

Let's say that we have a 5000 users in database. User row has sex column, place where he/she was born column and status (married or not married) column. How to generate a random subset (let's say 100 users) that would satisfy these conditions: 40% should be males and 60% - females 50% should be born in USA, 20% born in UK, 20% born in...

How to develop for player 10.1 beta?

I've been waiting for the day that flash gets access to raw audio data. That day is now, but i'm not sure how to get 10.1 working in CS4. I have 10.1 installed and a function bound to the mic's "SampleDataEvent.SAMPLE_DATA" but my "micSampleData" function is not being called. var mic = Microphone.getMicrophone(); Security.showSettings(S...

Where's the best samples of Microsoft for developing c# win-based programs which connect to SQL Server Data base?

Hi all I searched within Microsoft web site. But you know, there were lots of samples and I didn't know which one is suitable for my purpose. I'm looking for the best samples of Microsoft for developing c# win-based programs which connect to SQL Server Data base. What I mean is, samples which use OOP concepts, use .NET 3+ features.... C...

oracle sample database

Is there are any sample database for Oracle like AdventureWorks for MS SQL? I've searched Oracle site but didn't found any sample database. ...

How do I play a tone in Linux using C?

I'm trying to write a program to randomly generate music based on a simple set of rules. I would like the program to be able to generate its own sounds, as opposed to having a file with audio for each note. Does anyone know a simple way of doing this? It would be nice (but not essential) for the sound to be polytonal, and I would like a ...

Are any of the Google's App Engine sample apps written in Java?

I was looking at this repository of sample apps for Google App Engine: http://code.google.com/p/google-app-engine-samples/ The strange thing is they all seem to be in Python. Are there any Java sample apps for GAE? ...

iPhone SOAP Web Services - Sample code on how to use the parsed code from wsdl2objc?

Hello, Is there any other documentation available at wsdl2objc besides the Usage Instructions?. The documentation is very limited, it may be because I have never used a wsdl parser before, in that case does anyone have any recommending reading for this?. If someone could please provide some sample code or link to a tutorial, on how to ...

F# Code for Adventure Works Sample

hey everybody, it is very hard to find good samples for f# in the web. some samples show a simple web crawler for downloading stock data from yahoo or only code snippets of bigger ideas. i'm searching for an real world example outside the financial world. what about adventureworks? the current sample database is the base of many c# sam...

mobile phone database from an indian shopping web site

i m currently doing research on recommendation systems for e-commerce. i require the test data. can any body tell me where can i find the database of mobile phones and details of all brands? ...

GWT Maven and Eclipse

Hi, A plea for help! Can anyone share a simple GWT2.0 project that uses the gwt-maven-plugin with Eclipse and demonstrates some simple RPC server calls. I've tried to follow examples, use archetypes, read badly documented websites, and follow threads on stackoverflow but all to no avail. I simply cannot get RPC to work. I'm going to g...

Loading large multi-sample audio files into memory for playback - how to avoid temporary freezing

I am writing an application needs to use large audio multi-samples, usually around 50 mb in size. One file contains approximately 80 individual short sound recordings, which can get played back by my application at any time. For this reason all the audio data gets loaded into memory for quick access. However, when loading one of these f...

64-bit Quicktime Question

Does anyone out there know if there is a way to pull raw, still-compressed audio and video samples out of a Quicktime .mov file using an Apple API / Framework targeting the Mac that can be compiled natively in 64-bit (IE: QTKit)? I know this functionality is available in Apple's QuickTime Framework that targets the Mac, but this Framewor...

How do I change the number of thumbnails seen in the Android sample Home application?

I am working with the sample Home application project on http://developer.android.com/resources/samples/Home/index.html I've added another value to the THUMBS_IDS and IMAGE_IDS Integer arrays in the Wallpaper class for a total of four wallpaper options. When I run the application with Device API version 7, Skin: HVGA, hw.lcd.density: 1...

Caliburn and prism samples

Are there any sample applications avaliable that make use of both caliburn and prism? I know there are blogs that talk about it but I would like to wade into some code and see how it all fits together. http://caliburn.codeplex.com http://compositewpf.codeplex.com/ ...

Is this NHibernate sample still valid?

Or the concepts/best practices used there are now deprecated? I'm just starting to use NHibernate and I'm having a hard time finding good real life samples. http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx ...

Running directx SDK samples on a Windows Mobile 6.1 device

I tried to run the directx samples from ..\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\directx\d3dm\tutorials on a Samsung Omnia and on the emulator and it doesn't work because of a deployment error. I am using Microsoft Visual Studio 2008 and have installed Windows Mobile SDK Standard and Professional refresh. The device is correctl...

Oracle sample data problems

So, I have this java based data trasformation / masking tool, which I wanted to test out on Oracle 10g. The good part with Oracle 10g is that you get a load of sample schemas with half a million records in some. The schemas are : SH, OE, HR, IX and etc. So, I installed 10g, found out that the installation scripts are under ORACLE_HOME/de...

Regarding mootools and jQuery demo

Hi , i found http://visualjquery.com/ more useful when i was learning jQuery with each function explained in demo along with code sample in a practical manner. im looking for the same in mootools. is anyone find any website which provide demos and sample coding like above the same in visualjquery.com ...