howto

Mysql how to do this?

I need to select records from table,but one field(id2 as example) replace with value from other table with id==id2 from first table ...

MMC 3.0 snap in development and 'connect to another computer...' dialog

Hello, I'm in the process of developing a custom MMC 3.0 snap-in and was wondering if there is some built in SDK/API way of connecting to another computer running the same snap-in? If so, can someone provide some code samples or links to tutorials on how this is possible? If it is not possible, what do you recommend to use for commun...

getting data from webcam.

how hard would it to make software for a webcam like gateway usb 2.0 web cam. i would like to ask it to give me pics when i ask. i know i could but how do i? what would i use, i can program in c++ so if i could use that it would be nice. ...

I am looking for good read-ups for Java programming using app-engine

I am trying to make a website using Java on google app-engine. Can you suggest any good readups to get me up to speed on this? ...

Expiry date as a file attribute or in a separate file for a Caching Mechanism

I'm creating a simple caching library in PHP. Currently, when I store a value I create 2 files: One that contains the value and another one to store the creation time. I want a robust solution and I'm not sure how safe it is to use the file date attributes. Do you think is safe to use the file date attribute for expiry time, instead to s...

Still don't understand regex - How can I learn it?

Possible Duplicates: How do I learn Regular Expressions? Learning Regular Expressions I've read regex tutorials, books, stackoverflow questions. But I can't 'get' regex. I don't know why. But I always end up asking for help writing regexes. Has anyone discovered a good way to learn regex? ...

ASP.NET MVC - Populate a drop down list

Hello, I'm new to ASP.NET MVC. I'm trying to figure out how create a basic drop down list from values in my database. In ASP.NET web forms, I know I can load a drop down list like this: Page.aspx <asp:DropDownList ID="myDropDownList" runat="server" DataTextField="FullName" DataValueField="ID" OnLoad="myDropDownList_Load" /> Page.asp...

how to use Application window? c++

i have been programming for sometime but all of my programming books have not really showed me how to use the Application window i always use the console window. i was looking at the Application project and i noticed that it has a .cpp file that is the main file but how do work with the window? i have tryed googleing it but i can't find ...

Best way to "un-promote" files in Accurev?

My company uses Accurev for source control, and for all its benefits, there's one simple action that I just can't figure out how to accomplish. Often we have someone accidentally push a file up too far in our stream structure -- from the "Development" stream to the "Release" stream, for example. What is the best way to "un-promote" this...

Extract Data from a page using Jquery?

I'd like to extract all the ISBNs on a dynamic web page that I can't feed through a Yahoo Pipe (the user has to log in to see the page). Is there a way to do that with jQuery? How? Edit: The structure: Here's an example of what the HTML looks like on that page. There's a <table> that has a series of <tr> elements in them. A sample one...

asp:repeater events - how to postback

Hello I have an ASP:Repeater Which I would like to display a list of check boxes in. These check boxes are related to a list of user preferences and the users resulting answer. See Code Bellow. I would like to add do one of the following if possible Option 1: It would be great if I could use the Event in the Repeater:OnItemCommand(......

What tools do people use to make programming tutorial videos?

I'm wanting to make some yee-run-o'-the-mill tutorial videos about some programming concepts and stuff i've been doing. Nothing special ... lots of peeps been doing it. What tools are people using to record and edit these videos? What resolutions, fonts, and sizes do people generally use? The only tool I've had experience with is Camta...

Bundle module with app on Google App Engine

This may be a basic question but how can I include a module with my app. I'm very new to python and what I want to do is to include this module simplejson with my app, but after downloading it I have no idea what to do next :( This is how the module looks like after unzip it. I don't know what files to move to my app. ...

How do I go about adding a website to Silverlight

Hi, Say I had (foolishly) setup a Silverlight project in VS and failed to setup a supporting website at time of instantiation are there any steps I can take to add one retrospectively? Many thanks. ...

Where can I get Verilog codings?

I am doing a project in Verilog, and the project is a low power parallel multiplier. I am going to fed the codings in FPGA kit. I need model Veriog codings. In which site can I get or suggest some good books. ...

How to patch source files

I am trying to patch dmenu with the files provided here: http://aur.archlinux.org/packages.php?ID=27334 I do not know how to do it, I've read that I should do patch file-to-patch the-patch, but in the patch provided there is more than one file involved. I've tried patching manually but I failed, it will not compile. ...

authlogic without cookies, how?

G'day, I am developing server application with Ruby on Rails and I'd like to store session token in each request's body. For example {"token":"asdkjahsdoahgfblkasblbag"}. And I am stuck, really don't know how to configure authlogic to handle token from params, not via cookie. And how to prevent "set-cookie" header sending? Thanks, Ale...

Google Maps: marker icons are multi-drawing over same location, why?

I'm using Google Maps and have the map set to height/width=100%. I noticed that when I resize the browser window, my map marker icons appear to redraw on top of the same location. Meaning, if I should only have 1 map marker icon on "987 Main St", when I resize the browser window - multiple map marker icons are being now draw on top of ...

python unittest howto

I`d like to know how I could unit-test the following module. def download_distribution(url, tempdir): """ Method which downloads the distribution from PyPI """ print "Attempting to download from %s" % (url,) try: url_handler = urllib2.urlopen(url) distribution_contents = url_handler.read() url_handle...

Pre-fill SVN commit message with guideline

I would like to show guidelines to commiter independently of the subversion client used. Do you know how to do that? ...