instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Possible Duplicate: Python Regular Expression Matching: ## ## I already asked this question, but let me restate it better... Im searching a file line by line for the occurrence of ##random_string##. It works except for the case of multiple #... pattern='##(.*?)##' prog=re.compile(pattern) string='lala ###hey## ther...
stackexchange/codereview
I have seen that my app crashes when used with the Allocation Instrument. When looking at the device logs, I can tell that it is a 'Low memory' crash. My app process in addition to others used by my app were jettisoned. Here is how the device logs look: MyAPP <09da004ccd82e7a2c54e0ea6ab4eab24> 1990 (jettisoned) (a...
stackexchange/codereview
Let's say I have a TabControl with 2 tabs and a TreeView with 2 nodes at the root. I want the application to behave in the following manner : if I click on Node1 from the treeview, the Tab1 from the TabControl should become active. Similarly, when I click on Tab2, I want the Node2 to become selected. And vice-versa. So...
stackexchange/codereview
suppose a dll contains the following functions extern "C" __declspec(dllexport) void f(bool x) { //do something } extern "C" __declspec(dllexport) const char* g() { //do something else } My first naive approach to use these functions from C# was as follows: [DllImport("MyDll.dll")] internal static extern void f(...
stackexchange/codereview
I have a SharedPreference that I need to reset itself to its initial value after the phone reboots... any ideas?
stackexchange/codereview
I'm unable to adjust java logging's logging level. I'm using maven surefire (mvn test), and trying to adjust from the default INFO to e.g. FINEST. I have logging.properties file under src/test/resources/logging.properties after compile, i see under target/test-classes, i see a logging.properties file with the intended ...
stackexchange/codereview
Flex exposes a "selectionColor" CSS property for styling the background color of a selected list/datagrid. However, I cannot figure out how to style the foreground or text color of selected list. It appears you can only change the foreground color for all rows. So, for example, that I wanted a very dark selection b...
stackexchange/codereview
But I can't seem to find much about how the NX protocol actually works. I have heard it does something with sending X11 commands. But does this mean that the listening clients need to have an x server to run the actual commands and display them? Basically, I am trying to figure out if it is possible to write an NX clie...
stackexchange/codereview
I would like some attributes (perhaps this is the wrong term in this context) to be private, that is, only internal for the object use - can't be read or written from the outside. For example, think of some internal variable that counts the number of times any of a set of methods was called. Where and how should I defi...
stackexchange/codereview
Is there any benefit in starting a debug build without debugging (as opposed to a release build without debugging)? And what do I miss when I debug a release build (as opposed to debugging a debug build)?
stackexchange/codereview
Just example of xml file will be enough) OR Can Hibernate load needed entity(all records) at the starting of application and store it in memory for quick access?
stackexchange/codereview
Does it make the encryption stronger? I thought it was used to make sure the ciphertext is more "random." It doesn't really make it any stronger, or so I think.
stackexchange/codereview
I am developing an iOS application (targetted specifically for iPhone, at the moment) that requires the application to record audio only from iPhone internal microphone (even when headphone/headset is plugged in), and playback at headphone (let's assumed headphone is plugged in for now). I am wondering if this is curre...
stackexchange/codereview
I am new to Oracle 10g. I have couple of tables as shown below: INCOME_MASTER INCOME_ID NUMBER(10) sEQ NUMBER, INCOME_TYPE VARCHAR2(10), INCOME_DATE DATE INCOME_DETAILS INCOME_DETAILS_SEQ_NO NUMBER(10) SEQUENCE, INCOME_ID NUMBER(10), ITEM_ID NUMBER(10), ITEM_VALUE ...
stackexchange/codereview
This is my first ever attempt at a Objective-c cocoa program, so I have no clue why it is giving me that error. I really don't understand the Build Result page either. myClass.h #import <Cocoa/Cocoa.h> @interface myClass : NSObject { int a; int b; } -(void) setvara:(int)x; -(void) setvarb:(int)y; -(int) add;...
stackexchange/codereview
I have a little idea of the Utility Classes with a slight doubt on demand. If I use a Utility class in my Application than to use that class in my main Activity do I have to create the object of that class or I can directly Import that class in my main activity? I am Sorry if I am not making a clear sense. In the nuts...
stackexchange/codereview
Does it make sense to use a combination of MySQL and MongoDB. What im trying to do basically is use MySQl as a "raw data backup" type thing where all the data is being stored there but not being read from there. The Data is also stored at the same time in MongoDB and the reads happen only from mongoDB because I dont h...
stackexchange/codereview
I am facing a problem on selecting a correct classifier for my data-mining task. I am labeling webpages using statistical method and label them using a 1-4 scale, 1 being the poorest while 4 being the best. Previously, I used SVM to train the system since I was using a binary (1,0) label then. But now since I switch to...
stackexchange/codereview
hi i need to create a simple connector. I think i may need to create an arduino board that will take data from the application and then transmit them to an external device. There is a slider in the application which the user can adjust. When adjusting the slider the application will just send in values from the applica...
stackexchange/codereview
I would like to start and stop jetty with maven. This is my setup http://nopaste.info/61ef12198d.html With mvn jetty:run my jetty starts locally but when I want to run jetty in test-phase with mvn -Pselenium test jetty doesn't run.
stackexchange/codereview
Is there any way of getting main page object from any of its child controls? As a possible solution I see here bubbling through parents and stopping as soon as a parent is of PhoneApplicationPage type. It is fine for me, but what if I need to do that from other pages? I.e. How to get main page of an application from ev...
stackexchange/codereview
As regards best practices, is there a meaningful difference between using: Double d; and double d; I know best practices are fraught with contradictions, so I know the answers may vary here. I just want to know the pragmatic difference between the two.
stackexchange/codereview
I have a view which is a big table. This table is populated from my array of data. This is all working well. The table drawing perfect. I pop up another small overlay view where you can set some filters. The filter does its thing and the array of data that gets changed and the array changes in size so that there is mor...
stackexchange/codereview
Django administration view automatically generates permissions for all modules and tables - admin, auth, contenttypes etc. Is it possible to remove this permissions from 'Available user permissions' so i can see only permissions that i think are relevant?
stackexchange/codereview
Can I pause a thread while debugging on intellij? What I want to have is something similiar to other ID - right click on a thread and pause it.
stackexchange/codereview
The following is part of a JSON string returned from the server: { col1: { caption: 'Workspace', combodata: { c_0: { id: 0, value: 'Filter...' }, c_1: { ...
stackexchange/codereview
Someone told me hashmaps are rather slow. So I am just wondering whether to use hashmap or a switch case logic. My requirement is this. I have a set of CountryNames and CountryCodes. My ListView displays the names of the countries. When an country name item is clicked, I must Toast the CountryCode. In such a scenario, ...
stackexchange/codereview
I am using Qtableview with QsqlTableModel for populating a table data. I want to sort the column based on user selection on column header. I tried the way mentioned in QTableView sorting signal? for getting the signal (get the horizontal header from QtableView and connect signal sectionclicked(int logical index). But t...
stackexchange/codereview
I have a practice project which I need help with. It's a simple MailServer class. Here's the code: import java.util.ArrayList; import java.util.List; import java.util.Iterator; import java.util.HashMap; import java.util.TreeMap; import java.util.Collection; import java.util.Map; public class MailServer { private H...
stackexchange/codereview
I could not quite understand the following from the semaphore description in javadocs. Note that no synchronization lock is held when acquire() is called as that would prevent an item from being returned to the pool. The semaphore encapsulates the synchronization needed to restrict access to the pool, sepa...
stackexchange/codereview
I have two string arrays; one is list and the other is find I want to be able to count the number of items in find that are partially contained within 'list' using extension methods and linq. Here is a summary of how I would do it within a few nested loops: int Count = 0; foreach (string f in find) { foreach (str...
stackexchange/codereview
For my research purposes, I have modified the php sinterpreter and I want to test the response time of the new modified interpreter. So I am looking for a script that would help me achieve my objective. I could simply request for a page which records start time and the end time but I want to measure the average time t...
stackexchange/codereview
I'm going through Ruby on Rails Up and Running by O'Reilly and have run into a question that I'm not sure where to go to for help. I'm at the part in the book where I'm creating new objects from the console and then saving them to the database. I've already created the database (MySQL), run the migration and finally v...
stackexchange/codereview
I'm attempting to use jqGrid in my ASP.Net MVC application and have a requirement that some columns arre editable in the Add dialog but not the Edit dialog. Apparently the way to do this is to use the beforeShowForm javascript event and set the properties on the particular input field. So far I can't manage to get the ...
stackexchange/codereview
I have question is it possible to perform a phrase search with wild cards in solr/lucene as if i have two queries both have exactly same results. One is: +Contents:"change market" and the other is: +Contents:"change* market" I assumed the second should match "changes market", but it does not return any matches.
stackexchange/codereview
I know that some of this data is viewable in iPhoto, such as latitude, longitude, and altitude, but is there more than this available? More specifically I am wanting to get the direction of the image as well, which is part of the EXIF format. Or does something other than geotagging need to be enabled (something to do w...
stackexchange/codereview
Here is my requirement. I want to tokenize and tag a paragraph in such a way that it allows me to achieve following stuffs. Should identify date and time in the paragraph and Tag them as DATE and TIME Should identify known phrases in the paragraph and Tag them as CUSTOM And rest content should be tokenized should be t...
stackexchange/codereview
$twitter = new Zend_Service_Twitter('myusername', 'mypassword'); $response = $twitter-> ?????????; Naybosy cna elp
stackexchange/codereview
For exmaple, when cursor on a textbox, I want to code can move the cursor to somewhere so that focuslost event can be fired in code.
stackexchange/codereview
I normally come here if google doesnt work. So this time it goes like this: In a function, i want to assign to a variable from the 4-th input parameter onward. Example: function foo { var="$4$5$6..." use var commands using $1, etc } So i think i cannot use shift, since i want to use $1 afterwards. I d...
stackexchange/codereview
We changed our SVN machine because of a hardware problem. We established the same environment from back-up to another machine. Now Subversion seems to work properly, I can update, commit and browse from Tortoise Client. But in Eclipse problem exist for Synchronize command (subclipse plugin). I can browse and commit fro...
stackexchange/codereview
Okay, so I'm trying to make a hex editor, and I'm trying to make a load JMenuItem, but it's not working. The JFileChooser OpenDialog just doesn't show up, and no errors are being shown. import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; import java.util.Ve...
stackexchange/codereview
Definitely, I'm a newbie on 'cocos2d for iOS', and in trouble with importing the "CCTouchDispatcher.h". Cocos2d for iphone version 0.99.4 or below, I've seen CCTouchDispatcher class successful, but does not occur importing. Importing works, but I cannot use CCTouchDispatcher. Warning shows just "may not respond to..", ...
stackexchange/codereview
<% source.strains.each_with_index do |strain, j| %> <% if (j == (source.strains.size - 1)) %> <font size="3">Strain <%= strain[0].appendix %> </font> <% end %> <% end %> I need to get output as If j value is last one of a loop, then i need to print first value of loop (j[0]). Kindly suggest ...
stackexchange/codereview
On Bazaar documentation of its using with Subversion repositories: http://doc.bazaar.canonical.com/migration/en/foreign/bzr-on-svn-projects.html there is info in "Limited keywords support" about expansion of $Id$. Where does bazaar look for such rules file? I tried rules.bazaar in current directory and in [APP_DATA]\ba...
stackexchange/codereview
Wicket has a flexible internationalisation system that supports parameterising UI messages in many ways. There are examples e.g. in StringResourceModel javadocs, such as this: WeatherStation ws = new WeatherStation(); add(new Label("weatherMessage", new StringResourceModel( "weather.${currentStatus}", this, new Mod...
stackexchange/codereview
my phpmyadmin showing the table type are myisam , but my tables are innodb, Why it is showing as myisam ,
stackexchange/codereview
Confusing title? Sure! In CSS, you can specify: .button.blue { ... } Which will target elements that have both class names. Does anyone know what the browser support is?
stackexchange/codereview
Support for reflection has been currently added into F#, but it is not working for measure types. Is it possible to use reflection in F# for measure types? I've read this. It was for 2008, but if you check some code like bellow in ildasm you cannot see anything about Units of Measure. // Learn more about F# at http://f...
stackexchange/codereview
Ok I need some expert advise here.... I have a Photo Album that has_many Photos... Common stuff right? Where I need expert advise is I want the use to click the desired photo album... and then see one photo at a time... Should that all be happening in the PhotoAlbum Controller? that's how I have it now but it's getting...
stackexchange/codereview
Image files come with description properties like title, subject and keyword (summary tab). How do I "get" these properties in PHP? is there a function that allows me to the same in Javascript?
stackexchange/codereview
Here is how I created an array: @companies_with_email = Company.contact_emails_date_sent_gt(@monday). contact_emails_date_sent_lt(@friday). find(:all, :select => "distinct companies.* ") || [] @companies_with_call = Company.contact_calls_date_sent_gt(@mon...
stackexchange/codereview
So I wrote this code. How do i get the x in the if statement to evaluate? at the moment, x always succeeds, and the if statement never fails. (define expand (lambda (exp) (cond ((symbol? exp) exp) ((pair? exp) (case (car exp) ((and) (if (null? (cdr exp)) '(quote #t) (if...
stackexchange/codereview
I'm trying to allow users to record or choose a video in my iPhone app, limited to 30 seconds. The videos are uploaded to my web-server, then played back in the app using UIWebView. The app happily plays back recorded videos, but on older iPhones (3G for example) it won't play videos that were chosen from the camera r...
stackexchange/codereview
The context for my question is that of an alarm application but I would like to know in the general case. How do you schedule your application to turn on at a point in time in the future? For instance, if I set an alarm to play a noise tomorrow at 8:00 am how do I make this happen if the device has closed my app? *edit...
stackexchange/codereview
Does anyone know a more efficient way to keep a graph information (i.e. more efficient than keeping it as 2-D array), in terms of memory space or build time? you can assume it's values are limited between 0-255. Thanx!
stackexchange/codereview
i'm trying to set up a very simple rule in .htaccess file in order to rewrite this kind of url: www.domain.com/index.php?page=test to this: www.domain.com/test I'm newbie to mod_rewrite, and so far, i came to this rule RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRu...
stackexchange/codereview
I have just learnt that in C language malloc function comes with the issue of thread contention when used in a multi-threaded applications. In C++ does operator new suffer from the same problem? If yes what tecnhique can I use to avoid this that sounds like a big penalty in the application performance?
stackexchange/codereview
I have a coding project that I would like to maintain at GitHub. I went to http://github.com and created an account. I downloaded and installed Git on Windows 7 choosing the option to use it via the command line. Through some googled tutorials I created an SSH key. I'm following the following instructions: But when I ...
stackexchange/codereview
There is a SP which gets over 96 items as parameters. I want to debug this sp, how can I do it? It says: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0." System.Data.Common.DbException {System.Data.SqlClient.SqlException} Please t...
stackexchange/codereview
From link http://www.coolinterview.com/interview/10842/ Is there any way to write a class such that no class can be inherited from it ? From suggestions in the above link, i tried below code class A { A(){} ~A(){} A(const A&); A& operator=(const A&); }; class B: public A { }; The above code doesn't pr...
stackexchange/codereview
I'm trying to fix my css on IE, and I want to check to see if it's working. What version should I install and from where?
stackexchange/codereview
I'm trying to make my own custom UIScrollView for some reason. The question is, is it possible to exactly mimic the event handling behavior of UIScrollView including 'delayed content touches' and 'cancellable content touches'? That is, the custom scroll view should delay handling the event until it can determine if scr...
stackexchange/codereview
SVN is hosted on a windows machine & i need to access it from a linux shell script. Please can anyone help me on this. any help would be appreciable. Thanx
stackexchange/codereview
I am attempting to use jQuery's .delegate() function to catch a submit button press and prevent the page from being reloaded. It works fine in every browser I have tried, but Internet Explorer! Let me explain in code, I have this HTML which is dynamically generated by JS: <form id='submit-form'> <input type='text' id...
stackexchange/codereview
here's my problem: I'm looking for a way to import an image into C++ then traverse its pixels, incrementing a counter every time a pixel of a certain colour is found. I've done some research, but I haven't found anything particularly useful. DevIL looks like a good option, but I'm not sure where to start. Here's a bit...
stackexchange/codereview
I have this Class which response to perform to be run by "Resque", I have an error at this line recipient.response = response.body which is: undefined method response=' for #Hash:0x00000003969da0 I think that because the worker and ActiveRecord can't work together. P.S I already loaded my environment and this class p...
stackexchange/codereview
Django’s has a comments framework with auto forms and its built in comment model http://docs.djangoproject.com/en/dev/ref/contrib/comments/ , is there any similar open source apps that can run this in Google App Engine with its datastore too? Thanks alot.
stackexchange/codereview
I am trying to do something when I am connecting to my own server(local). I found request.env from the website, so I am using that array to compare my IPs. <% if request.env['HTTP_HOST']!="127.0.0.1" puts request.env['HTTP_HOST'] else puts "its Local!" end %> When I run above in rails3, I get nothing prin...
stackexchange/codereview
I'm in need of inserting a Hack to a web page, so it works well on IE7.0 But I'm having issues with the way I'm doing things. It should be simple. The actual CSS code is the following: <style type="text/css"> body { margin:0;} #home_splash { background-image:url(homeimages/image-background.jpg);background-repeat:repeat...
stackexchange/codereview
The static modifier means that the type cannot be instantiated or a member cannot be associated with an instance. But whats the benefit of this restriction on instantiation and under what use case scenario should types/members be declared static ?
stackexchange/codereview
Assume that I have such menu <ul id="leftMenu"> <li class="selected">Foo1</li> <li>Foo2</li> <li>Foo3</li> <li>Foo4</li> <li>Foo5</li> <li>Foo6</li> </ul> Now via javascript, I want to change the highlighted one thus remove the "selected" from the current one and add to the next on...
stackexchange/codereview
I am trying use the django ORM to get a list by year of all my articles with an article count beside it, such as this: 2010 (5 articles) 2009 (4 articles) 2008 (9 articles) I have tried things such as: archive = Articles.objects.dates('created', 'year').annotate(archive_count=Count('created')) or: archive = Articles.ob...
stackexchange/codereview
How can i close all forms I use wpf vb 2010 To load other form i use like Private frm As MainWindow = New MainWindow to open the window i used frm.Show() and to close it i use frm.Close() Now I have two forms like form1 and form2 I want to open form2 when i click on the button - ok it's easy The Question How can i...
stackexchange/codereview
Is there a straightforward way to turn the functions of a .RData file into a normal code file (.R)?
stackexchange/codereview
I'm trying to insert an opening <div class="container"> after <body> and a closing </div> before </body> I'd like for there to be a function like wrapAll() that would apply internally, on the html() of an element. Something like wrapAllInner() would be great. I've tried: 1) $('body').html().wrapAll('<div class="contain...
stackexchange/codereview
I'm using Visual Studio to debug a transform. If I am viewing the transform and select XML > Start XSLT Debugging, VS automatically opens the output file and as I step through the transform I can observe the output being written. In my case however, because the transform is performed by an application that first sets ...
stackexchange/codereview
I've seen lots of questions and solutions to problems like this but nothing has worked for me. I have this: function() { $("#bdiv").load("bosses.php #icc10n",function(){ return $("#bdiv").html(); }); } But it's not working. To clarify, I want to load content into #bdiv and then return the contents of #...
stackexchange/codereview
SqlDataReader reader; string r=""; if ((FileUpload1.PostedFile != null)&&(FileUpload1.PostedFile.ContentLength > 0)) { r = System.IO.Path.GetFullPath(FileUpload1.PostedFile.FileName); } OleDbConnection oconn = new OleDbConnection (@"Provider=Microsoft.Jet.OLEDB.4.0;" + @"Data Source="+r+";" + @"Exte...
stackexchange/codereview
Example: That code is run each time, when the listAdapter requests a new row: if (textViewTitle != null) textViewTitle.setTypeface(Controller.getInstance().widgetSettings.getBoldTypeface()); vs. if (textViewTitle != null && textViewTitle.getTypeface() != null && textViewTitle.getTypeface().equals(Co...
stackexchange/codereview
I am trying my hands on SWI-Prolog in win xp. I am trying to understand how to split a sentence in Prolog into separate atoms. Ex : Say I have a sentence like this : "this is a string" Is there any way to get individual words to get stored in a variable? like : X = this Y = is .... and so forth. Can anyone ple...
stackexchange/codereview
I have two checkboxes and a button. Under the button click handler, private void button1_Click(..) { if(checkbox1.true) { //start a process } if(checkbox2.true) { //start process 2 once process 1 is done} } Both process 1 and 2 are started asynchronously. How do i set the dependency between process 2 and process 1?...
stackexchange/codereview
Want to read the contents from a .csv file which is in a remote zip file without downloading & extracting the zip file to local machine. I need this because the file zip file size is too large and downloading it whenever needed takes longer time. I am trying this in perl. My code is : my $ftp = Net::FTP::AutoReconnect...
stackexchange/codereview
I have a web browser control, already navigated to a page. Now I want to search for a specific text in the page, and scroll to the first occurrence. Being able to scroll to other occurrences is a bonus.
stackexchange/codereview
I am using JSTL c:url tag to define my URL's in the application, something like: <c:url value"/home" /> But the problem is that it appends the application context to the url, so the link becomes http://appName.come/appName/page while it should be http://appName.come/page. The link had to be with slash, because it's no...
stackexchange/codereview
Ok, this has probably been asked before but i cant find a definative answer. Where in the MVC pattern should validation of input happen? I would like to say that things like empty fields and basic general validation should happen in the controller and that rules as lengths and valid characters of for example usernames...
stackexchange/codereview
Conditions: OS is Windows XP have LPT port LED light bulb is connected to the LPT port Necessary: using Java to make the bulb flash Is it possible? Interested in real, proven solutions. Has anyone done this? I have our few options: the use javax.comm and RXTX. How successful is to use these solutions?
stackexchange/codereview
My ashx response.writes a simple text file that is returned. Can I change the filename, so if my ashx is located at mysite.com/someURL it doesn't return someURL.txt but rather, myFileName.txt ?
stackexchange/codereview
Having similar problem as others have had on this website where it shows only the last marker's info window info in all markers. Can't seem to solve this with any of the solutions given. Also, the last one of my markers doesn't show an info window at all. <script src="http://www.google.com/jsapi"></script> <script type...
stackexchange/codereview
I'm nearly complete with this, so I have one final bug I need your help figuring out. I'll start with the issue first... Demo: http://jsbin.com/ucalu3/7/ Scenario 3 doesn't work. When you click "expand all" and click a question to collapse the answer, it works just fine. The issue is, now click "collapse all" and it wi...
stackexchange/codereview
I have two metapost files: % test1.mp beginfig(1): % foobar code % code specific to test1 endfig; end; % test2.mp beginfig(1): % foobar code % code specific to test2 endfig; end; As a programmer, I naturally hate duplication. Is there a way of moving the "foobar code" into a foobar.mp file, and then includ...
stackexchange/codereview
Hi I'm trying to make a javascript bookmarklet that will add a link to an external javascript source to a page that is off the domain. However nothing happens when I run the bookmarklet no errors and the code on the page never changes. Any ideas? Here is the bookmarklet I'm trying to use. Thanks for your time. javascr...
stackexchange/codereview
I have two tables, Customer and CustomerConfiguration that should have a one-to-one mapping. What I did was make customerId the primary key (and identity) for Customer, and then created a customerId field in CustomerConfiguration that is unique and is mapped to the Customer.customerId. So this seems to give me what I ...
stackexchange/codereview
I'm using a form for edit some records. Each time When Edit link is clicked i'm loading one record data into form, changing the values and updating, its worked fine for the first time. When i load another record data into form and update it, the present record is updating and the previous record is also updating with t...
stackexchange/codereview
I have two tables: Actor and Images. The Images table is linked to the Actor table through a Foreign Key. I might make a query on Actor that pulls a list of all the actors with first name beginning with the letter A. Let's say I store this query result in actor_list and pass it to the template. I can get a list of ...
stackexchange/codereview
I have tried to find this answer but cannot. What is generating the underlying SQL when using EF? Is it EF or the provider you are using? Also, is there any way to provide hints in order to change the way the SQL is generated? Thanks in advance
stackexchange/codereview
I have a MPTT organized MySql database which i need to display , there is no level limit and i can't alter the database, i've tryed http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/, but still got me a few headeachs.
stackexchange/codereview
Usually Adobe Flash applications can access any usb-webcam. I have a USB camera for microscopes which understands TWAIN and DirectShow. Is there a possibility to access the video data from this camera with flash?
stackexchange/codereview
I am executing a SQL Server 2000 DTS package using C# by following the code from this article http://support.microsoft.com/kb/319985. once the package is executed I am looping through each step to find out if any step has failed and get info about error if it has failed. I also use this information to find out if the p...
stackexchange/codereview
I am in the process of learning C++ in order to understand some open source code I have been given. I came across a line as follows: cmd << '\n' I assumed that "cmd" must be some kind of special receptor for a stream, perhaps a string - but on further investigation I found that "cmd" was an entire class with assorted ...
stackexchange/codereview