instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
What is the best online forum site about project management? It must cover PM-related news, articles, case studies and discussion boards.
stackexchange/codereview
How can we find out that how many applications are there in a database?
stackexchange/codereview
I'm trying to change default firstDayOfWeek for java.util.Calendar from SUNDAY to MONDAY. Is it possible to achieve this through JVM configuration instead of adding this piece of code? cal.setFirstDayOfWeek(Calendar.MONDAY);
stackexchange/codereview
I have a Rails app that will post some data to another Rails app. For some reasons I don't want to use ActiveResource, so I used something like: res = Net::HTTP.post_form(URI.parse('http://localhost:3030/support_requests/new'), {'from'=>'somebody', 'due'=>'2009-03-31'}) It happens...
stackexchange/codereview
If I have a method such as: public void MyMethod(int arg1, string arg2) How would I go about getting the actual names of the arguments? I can't seem to find anything in the MethodInfo which will actually give me the name of the parameter. I would like to write a method which looks like this: public static string GetPa...
stackexchange/codereview
REBOL has no built-in way to perform list comprehensions. However, REBOL has a powerful facility (known as parse) that can be used to create domain-specific languages (DSLs). I've used parse to create such a mini-DSL for list comprehensions. In order to interpret the expression, the block containing the comprehension i...
stackexchange/codereview
In my asp.net mvc app I want to check if a certain url returns a valid response. Therefor I send the url to a method that tests the HttpWebRequest.GetResponse() On my dev server (vs2008) it works just fine. When deployed on production server however, it returns a Bad Request. The method is never hit and my asp.net cust...
stackexchange/codereview
On Windows Mobile, I am displaying my output in HTML. This includes lots of user-generated strings. Occasionally there are situations where a really large string is part of the output that has no whitespaces or punctuation. Unfortunately the Windows Mobile's HTML view (htmlview.dll, based on Pocket Internet Explorer) ...
stackexchange/codereview
I want to compute for month difference of 2 dates which will return a float value. example: date1='4/23/2008' date2='12/31/2008' that will be 7.y months. I want to find the y value. can someone give me the formula to make this in sql codes? tnx..
stackexchange/codereview
The following two queries each give the same result: SELECT column FROM table GROUP BY column SELECT DISTINCT column FROM table Is there anything different in the way these commands are processed, or are they the same thing? (This is not a question about aggregates. The use of GROUP BY with aggregate functions is unde...
stackexchange/codereview
I need to get the Folder size and display the info on a report (SSRS). I need to do this for a number of Databases (loop!). These DB's are websites' backends. Are any samples available for this? Does xp_filesize and the like the right solution?
stackexchange/codereview
If a variable is declared as static in a function's scope it is only initialized once and retains its value between function calls. What exactly is its lifetime? When do its constructor and destructor get called? void foo() { static string plonk = "When will I die?"; }
stackexchange/codereview
I'm trying to get data from a Sharepoint list and put it into some Flex graphs. I can call the list data just fine using a CAML query, but I want to use a GroupBy to consolidate the rows by Teams. So, for example Team 1 may have 20 records, Team 2 may have 8 records, and Team 3 might have 25 records... Instead of sho...
stackexchange/codereview
I am launching a child process with ProcessBuilder, and need the child process to exit if the parent process does. Under normal circumstances, my code is stopping the child properly. However, if I cause the OS to kill the parent, the child will continue running. Is there any way to "tie" the child process to the pare...
stackexchange/codereview
There are two schools of thought on how to best extend, enhance, and reuse code in an object-oriented system: Inheritance: extend the functionality of a class by creating a subclass. Override superclass members in the subclasses to provide new functionality. Make methods abstract/virtual to force subclasses to "fill-i...
stackexchange/codereview
In other words, if I set up SSRS Express edition will I be able to consume and make calls through the webservice?
stackexchange/codereview
$0 is the variable for the top level Ruby program, but is there one for the current method?
stackexchange/codereview
I know how to program Console application with parameters, example : myProgram.exe param1 param2. My question is, how can I make my program works with |, example : echo "word" | myProgram.exe?
stackexchange/codereview
I'm working to set up Panda on an Amazon EC2 instance. I set up my account and tools last night and had no problem using SSH to interact with my own personal instance, but right now I'm not being allowed permission into Panda's EC2 instance. Getting Started with Panda I'm getting the following error: @ WARNING:...
stackexchange/codereview
/dev/random and /dev/urandom use environmental noise to generate randomness. With a virtualised server there can be multiple instances of an Operating System on one hardware configuration. These operating systems will all be sourcing their randomness from the same environmental noise. Does this mean as a group the ran...
stackexchange/codereview
In all honesty, I think the answer is "no;" however, I want to get a second opinion. Basically, I need one micro-controller device to send a steady signal to another one, but the communicate between them is using RS232. So I think that I have to create/update the communication messages to get it to do what I want. What...
stackexchange/codereview
That was an interview question that I was unable to answer: How to check that a string is a palindrome using regular expressions? p.s. There is already a question "How to check if the given string is palindrome?" and it gives a lot of answers in different languages, but no answer that uses regular expressions.
stackexchange/codereview
I am writing an RSS feed (for fun) and was looking at the spec here. RSS is a dialect of XML. All RSS files must conform to the XML 1.0 specification, as published on the World Wide Web Consortium (W3C) website. Obviously this means that I am not serving 'pure' RSS if I choose the JSON option. That said, if I conform...
stackexchange/codereview
I have one application which uses the standard .NET forms authentication cookie, now I need to get this cookie from an application hosted on the same domain but one folder down with it's own application. I can't seem to find any trace of the cookie using Request.Cookies.AllKeys, there must be a reason why because when ...
stackexchange/codereview
Why is the generic.list slower than array?
stackexchange/codereview
I have two tables: Table 1: ID, PersonCode, Name, Table 2: ID, Table1ID, Location, ServiceDate I've got a query joining table 1 to table 2 on table1.ID = table2.Table1ID where PersonCode = 'XYZ' What I want to do is return Table1.PersonCode,Table1.Name, Table2.Location, Table2.ServiceDate, I don't want all rows, In ta...
stackexchange/codereview
I'm experiencing a strange issue where my Visual Studio 2005 C++ program crashes the first time it runs after a new build. I'm having a difficult time debugging this intermittent issue and I suspect it's somehow related to a file somewhere on my hard drive that is being changed. If I can find the file(s), that might ...
stackexchange/codereview
My group has a source analysis tool that enforces certain styles that we have to comply with. I can't change it, and some of the rules are just a pain. One example is that all properties have to come before methods, and all constructors must come before properties. It seems silly to me that I have to take time to do...
stackexchange/codereview
Before I start, I know using iisreset is considered bad practice, but this shouldn't happen anyway.. What we have: Several machines with IIS6 on Windows Server 2003 R2 (both 64 and 32 bits) Several WCF webservices (.NET runtime 2.0) deployed in several applications, each with it's own application pool, each applicatio...
stackexchange/codereview
I just posted the question how-to-determine-why-the-browser-keeps-trying-to-load-a-page and discovered that my problem is with Gravatar. I also noticed that StackOverflow is suffering from the same outage. Does anyone know of a graceful way to determine if Gravatar, or any third party website for that matter, is up...
stackexchange/codereview
Uphill about 5 years ago my career was going fairly well, but separation, family deaths and a bit of illness caused me to make a couple of BAD career decisions, and I ended up in a dead end job doing mainly vb 6, though it was the end as mid to late 30, but was recently handed a break, working with a forward thinking v...
stackexchange/codereview
Our VSS setup is like this: We have a set of unique folders with 100s of files in them. I need to, from within VBScript, get the latest version of all files in a set of folders and put them into a local directory so that other operations can be performed on them. The reason for VBScript is, well, vague even to me. Perh...
stackexchange/codereview
I have a .NET class library containing a class with a method that performs some lengthy operation. When a client calls this method it should perform the lengthy operation on a new thread in order to avoid blocking the caller. But once the method finishes it should execute some code on the main thread. In a WinForms app...
stackexchange/codereview
EDIT: I also have access to ESXLT functions. I have two node sets of string tokens. One set contains values like these: /Geography/North America/California/San Francisco /Geography/Asia/Japan/Tokyo/Shinjuku The other set contains values like these: /Geography/North America/ /Geography/Asia/Japan/ My goal is to find a...
stackexchange/codereview
In IIS Manager under Web Service Extensions, ASP.NET v2.0.50727 is set to "Prohibited" by default. I would like to set this to Allow during the install. I am currently using WiX Version 2. I have tried using: <Component Id="Allow_WebServiceExtension_ASP.NET_2.0" DiskId="1" Guid="02247363-E423-41E1-AC15-BEF589B65A4D"> ...
stackexchange/codereview
I recently started to develop using Flex 3 and Adobe Air and I wanted to know what features you want to be in futures releases of Adobe Air ? The ones that I miss are: Cross-systems way of launching a local file (shellExec) right from an Air application (although you can do this using workaround at least under Windows...
stackexchange/codereview
Why is the dropdown not showing my blank item first? Here is what I have drpList.Items.Add(New ListItem("", "")) With drpList .DataSource = myController.GetList(userid) .DataTextField = "Name" .DataValueField = "ID" .DataBind() End With Edit ~ I am binding to a Generig List, could this be the culprit?...
stackexchange/codereview
I've a fairly huge .gdbinit (hence not copied here) in my home directory. Now if I want to debug code inside Xcode I get this error: Failed to load debugging library at: /Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib Custom data formatt...
stackexchange/codereview
Here are my thoughts: The purpose of using MVC is seperation of concerns and testability of gui logic. View should be able to work with different models and model should be able to work with different views. I think controller class must implement an interface for mocking/testing reasons and view should call controller...
stackexchange/codereview
I want to work with versioned ActiveRecord associations. E.g., I want to find the object that another object belongs_to as of a certain past date, or the one that it belonged to before that. Does there already exist a library subclassing Rails' ActiveRecord to provide versioned relations? Or some other Ruby library whi...
stackexchange/codereview
How can I change my GNUemacs to open up a cygwin terminal rather then a cmd one with the shell command? Closed as duplicate of How can I run Cygwin Bash Shell from within Emacs?.
stackexchange/codereview
I've got a Page class in my .edmx ADO.NET Entity Data Model file with with Parent and Children properties. It's for a hierarchy of Pages. removed dead ImageShack link - ADO.NET Entity Framework Hierarchical Page Class This is handled in my SQL database with a ParentId foreign key in the Page table bound to the Id prim...
stackexchange/codereview
In spring you can initialize a bean by having the applicationContext.xml invoke a constructor, or you can set properties on the bean. What are the trade offs between the two approaches? Is it better to have a constructor (which enforces the contract of having everything it needs in one method) or is it better to have...
stackexchange/codereview
I am attempting to insert a Canvas3D object inside a Swing JPanel, but the code doesn't seem to be working (i.e. nothing happens): Canvas3D canvas = new Canvas3D(SimpleUniverse.getPreferredConfiguration()); SimpleUniverse universe = new SimpleUniverse(canvas); BranchGroup root = new BranchGroup...
stackexchange/codereview
Newish to Oracle programming (from Sybase and MS SQL Server). What is the "Oracle way" to avoid filling the trans log with large updates? In my specific case, I'm doing an update of potentially a very large number of rows. Here's my approach: UPDATE my_table SET a_col = null WHERE my_table_id IN (SELECT my_table_id ...
stackexchange/codereview
I'm writing some code in python and I'm having trouble when trying to retrieve content of an Entry widget. The thing is: I want to limit the characters that can be typed, so I'm trying to clear the Entry widget when I reach the specific number of characters (2 in this case), but it looks like I always miss the last typ...
stackexchange/codereview
In my fieldset I have labels next (side) to my textboxes, but for some reason, they are towards the top and not middle. Here is my CSS for the fieldset: fieldset { clear: both; font-size: 100%; border-color: #000000; border-width: 1px 0 0 0; border-style: solid none none none; padding: 10px; margin: 0 0 0...
stackexchange/codereview
I want something that can check if a string is "SELECT", "INSERT", etc. I'm just curious if this exists.
stackexchange/codereview
Under Windows Server 2003, Enterprise Edition, SP2 (/3GB switch not enabled) As I understand it, and I may be wrong, the maximum addressable memory for a process is 4GB. Is that 2GB of private bytes and 2GB of virtual bytes? Do you get "out of memory" errors when the private byte limit or virtual byte limit is reache...
stackexchange/codereview
I had an application for returning closest matches to certain values in a large cluster of values( as in my earlier question) and I chose a VBA solution. While in the course of using the said application, I observed that the results for the value of 0.5 were not correct. I had been using the VBA Round function which...
stackexchange/codereview
I'm generating and showing a new WinForms window on top of a Main Window. How can I achieve that the original (Main Window) keeps the focus? Setting the focus back after showing the new window does not solve my problem because I need to prevent the Main Window's title bar from flickering. The new window has to stay on ...
stackexchange/codereview
There is a webpage loaded in the firefox sidebar and another webpage loaded in the main document. Now, how do I ask access the main document object through the Firefox sidebar? An example to do this through Javascript code in the firefox sidebar document to access the main document would be helpful. Thanks for the answ...
stackexchange/codereview
This is the page that I'm having. But the resize part in the section does not seem to be working. I copied most of the code from the Ajax site. I placed a alert() in the tag (line 108) to find the value of 'b._originalHeight' and it shows up as '44'. I have also tried the code in the above-said tutorial (line 132) an...
stackexchange/codereview
I have a GridView where one column is bound to an object property containing a nullable integer. I set SortExpression to the name of the property, and sorting works perfectly as long as all rows contain a value. If any rows contain null, however, I get an exception: System.InvalidOperationException : Failed to compare ...
stackexchange/codereview
A friend of mine asked me to implement a blue and a red pointer to represent the inputs of two separate mice to expedite a mixing desk scenario for real time audio mixing. I'd love to, but as much as I think it is a great idea, I don't have a clue as to where to start looking for a possible solution. Where should I st...
stackexchange/codereview
I am looking to clean up some of the HTML generated by a .NET 2.0 TreeView controller. Switching to another version/model is not an available option. My first crack yielded an extended TreeView, with an overridden Render that Regex'd out the text I didn't need and output to the page. The problem was when I tried to co...
stackexchange/codereview
I need to create a web application installer. Install Shield seems like overkill, is there something that can reliably install a web application (IIS setup + sql server db setup). Suggestions?
stackexchange/codereview
I'm trying to build a HQL that can left join values from a collection, in order to give me the chance of checking "is null" on it. Taken from the example from hibernate manual: from Cat as cat left join cat.kittens as kitten with kitten.bodyWeight > 10.0 doesn't seem to work in NHibernate, since it doesn...
stackexchange/codereview
Are there any good value list handler implementations available? I've found valuelist, but it seems to be stagnating... besides I really need good control of links the taglib generates, because I need to call some JavaScript from it. Currently I solve it by rewriting the taglib in freemarker and using valuelist's backe...
stackexchange/codereview
I just read the Wikipedia article on mock objects, but I'm still not entirely clear on their purpose. It appears they are objects that are created by a test framework when the actual object would be too complex or unpredictable (you know 100% sure what the values of the mock object are because you fully control them). ...
stackexchange/codereview
Say you have a standard template with included (parsed) header, body, footer templates. In the body template a variable like $subject is defined and you want that also displayed in the header template. In some other template languages like HTML::Mason(perl based) you would evaluate the body template first to pick up th...
stackexchange/codereview
With the jQuery datepicker, how does one change the year range that is displayed? On the jQuery UI site it says the default is "10 years before and after the current year are shown". I want to use this for a birthday selection and 10 years before today is no good. Can this be done with the jQuery datepicker or will ...
stackexchange/codereview
I have a problem with the CrystalReportsViewer's toolbar that puzzles me. Let's say I have a report that consists of five pages. If I click the next button, I get to page two as expected, but if I press it again, page two reloads! I can click the last page button and get to the last page, but if I try to go to the pr...
stackexchange/codereview
I've incorporated LIBPNG and ZLIB into my C software for a microcontroller project due to their nicely liberal license which permits such use without requiring me to disclose any of my code (it's very similar to BSD/MIT/APACHE, but with no attribution requirement). I'd like to look at using lossy image compression to s...
stackexchange/codereview
Basically, what I want to is be able to explore an ActiveX DLL. I normally fire up VB 6, add the DLL to the "References" of the project, and use Object Explorer. However, in this particular machine I can't install VB / VS. I'm sure there's a tool out there that does this. Does anyone know of one? Thanks
stackexchange/codereview
This will require a little setup. Trust me that this is for a good cause. The Background A friend of mine has run a non-profit public interest website for two years. The site is designed to counteract misinformation about a certain public person. Of course, over the last two years those of us who support what he is ...
stackexchange/codereview
I have a crystal report file I need make a tiny edit in. It was created in/for Crystal Reports 8.5. I can open it in Visual Studio 2008 but saving the file updates the file version and the report fails with the third part software that reads it (Actinic). I don't know much about Crystal reports. Is there a way I can ed...
stackexchange/codereview
Is there any way to change the ownership and permission mask for a semaphore on Unix systems directly from the command prompt, without deploying a special program that calls semctl with the IPC_SET option?
stackexchange/codereview
In Python map() works on any data that follows the sequence protocol. It does The Right Thing^TM whether I feed it a string or a list or even a tuple. Can't I have my cake in OCaml too? Do I really have no other choice but to look at the collection type I'm using and find a corresponding List.map or an Array.map or a...
stackexchange/codereview
I'd like to have a job that runs nightly, or even just once a week, that generates a script of our dev databases. They tend to be tinkered with, and developers have a habit of making changes without scripting them, or documenting them. I'd like to create a job that will essentially mimic what happens when I right-click...
stackexchange/codereview
Currently I'm using var x = dict.ContainsKey(key) ? dict[key] : defaultValue I'd like some way to have dictionary[key] return null for nonexistant keys, so I could write something like var x = dict[key] ?? defaultValue; this also winds up being part of linq queries etc. so I'd prefer one-line solutions.
stackexchange/codereview
I am working on a co-workers website, and he mistakenly put up a gridview that shows a TypeID instead of the TypeName. I want to put the actual NAME of the type, instead of it's arbitrary ID number, like he has it. I see he has two "ObjectDataSource"'s on the page -- one for Type and one for Item. Items contains the...
stackexchange/codereview
I have a simple HTML upload form, and I want to specify a default extension ("*.drp" for example). I've read that the way to do this is through the ACCEPT attribute of the input tag, but I don't know how exactly. <form enctype="multipart/form-data" action="uploader.php" method="POST"> Upload DRP File: <input name="Uplo...
stackexchange/codereview
I am sure this is easy stuff for all the readers of this website but this kind of problem is difficult for me. I have a website http://www.areacatracha.com that doesn't show up properly in Internet Explorer. Other browser display it normally. Can anyone help me? Any suggestions about how to start fixing these kinds ...
stackexchange/codereview
I have two html pages, when you click on something on the first html, it will go to the second one. What I want to do is to show text according to what you clicked on the first html. different texts are wrapped with different ids. Here's how I wrote: <a href="secondpage.html#one"></a> <a href="secondpage.html#two"></a>...
stackexchange/codereview
I am told by someone that when calling Oracle from ADO.net, when calling multiple inserts in a loop, where each insert causes a trigger to fire that includes within it's PL-Sql a Commit statement, that it is impossible to stop that commit from actually commiting the transaction. i.e., I want my ADO.Net code to begin a ...
stackexchange/codereview
I want the log to roll over as long as the application is running, but I want the log to start fresh when the application is restarted. Updated: Based on erickson's feedback, my appender looks like this: <appender name="myRFA" class="org.apache.log4j.RollingFileAppender"> <param name="File" value="my-server.lo...
stackexchange/codereview
I am working on a small parser that should accept input in a number of languages. I am going to have maybe 50 strings that will serve as keywords/anchors in parsing the input. In PHP, what would be the best way to organize these translated keywords? One possible solution that comes to my mind is to use an associative ...
stackexchange/codereview
I want to get the method System.Linq.Queryable.OrderyBy<T, TKey>(the IQueryable<T> source, Expression<Func<T,TKey>> keySelector) method, but I keep coming up with nulls. var type = typeof(T); var propertyInfo = type.GetProperty(group.PropertyName); var propertyType = propertyInfo.PropertyType; var sorterType = typeof(...
stackexchange/codereview
I have databases with different collations. I want to be able to script out tables from one database and create them in another. However, when I script out the tables, it includes the collation in the column definitions. Is there a way to exclude the collations from the generated table creation scripts?
stackexchange/codereview
I usually create my SQL tables and stored procedures by writing a script inside Visual Studio. This works really well for me except for one simple annoyance: VS puts blue boxes around all the SQL queries and data-manipulation commands. The purpose of these boxes is to draw undue attention to the fact that VS thinks the...
stackexchange/codereview
I dont find any usefull website according to this API. What's the format of the String? The content? Thanks
stackexchange/codereview
The code is rather long yet simple: 100 leaky JavaScript objects are created. 10 leaky elements are created from the JS objects. 1 element is removed and 1 is added 10000 times. I assume that the detachEvent call is not functioning properly. Also, if you change this.eventParams from an array to a simple variable, the...
stackexchange/codereview
I am attempting to return a collection of departments from a .NET assembly to be consumed by ASP via COM Interop. Using .NET I would just return a generic collection, e.g. List<Department>, but it seems that generics don't work well with COM Interop. So, what are my options? I would like to both iterate over the list a...
stackexchange/codereview
What combination of CSS or attributes are needed?
stackexchange/codereview
I am talking about Google Text Translation User Interface, in Google Language Tools. I like the fact that you can get translations of text for a lot of languages. However, I think is not so good always to show all options of translation. I believe is preferably to show, in first instance, only the most frequent options...
stackexchange/codereview
I just spent half an one our to find out what caused the Error-Message "Ci is not defined" in my JavaScript code. I finally found the reason: It should be (jQuery): $("asd").bla(); It was: ("asd").bla(); (Dollar sign gone missing) Now after having fixed the problem I'd like to understand the message itself: What does...
stackexchange/codereview
I have a website built using Asp.net and LinqToSql for Data Access. In a certain section of the site, LinqToSql produces a query that looks like this (from my dev machine): select ... from table1 left outer join table2 on table1 where ... left outer join table3 on table2 where ... Since the connection between table2 a...
stackexchange/codereview
I'm not sure if the title is very clear, but basically what I have to do is read a line of text from a file and split it up into 8 different string variables. Each line will have the same 8 chunks in the same order (title, author, price, etc). So for each line of text, I want to end up with 8 strings. The first problem...
stackexchange/codereview
Any XPath like /NodeName/position() would give you the position of the Node w.r.t it's parent node. There is no method on the XElement (Linq to XML) object that can get the position of the Element. Is there?
stackexchange/codereview
I have a file I need to rename to that of an existing file. This is a copy, modify, replace original operation on an existing JAR file. I've got the first two steps done, I just need help with the replace original bit. What's the best way to rename the new version of the JAR to that of the old. The old JAR doesn't need...
stackexchange/codereview
I'm looking to convert a small .NET console application into a Windows Service. I'd like to build two versions, one using .NET 2.0 and another with .NET 3.5 . Are there radically different approaches that need to be taken, or will the 2.0 version be roughly equivalent to the 3.5 version? Where's a good source of info...
stackexchange/codereview
I have tried to find how to create DLL-s on linux using google, but got very confusing information. Is it possible to write dynamic link libraries on linux? If not, are there other means by which I can call code in another module from several running programs?
stackexchange/codereview
As a passionate JavaScript developer, I'd like to know if there's any quality Podcasts out there, devoted to JavaScript. (Both video and audio). I am currently subscribing to: YUI Theater Audible Ajax
stackexchange/codereview
I've got an MS access database and I would need to create an SQL query that allows me to select all the not distinct entries in one column while still keeping all the values. In this case more than ever an example is worth thousands of words: Table: A B C 1 x q 2 y w 3 y e 4 z r 5 z t 6 z y SQL magic Result: B C y w y...
stackexchange/codereview
"Both DataSource and DataSourceID are defined on 'grdCommunication'. Remove one definition." I just got this error today, the code has been working until this afternoon I published the latest version to our server and it broke with that error both locally and on the server. I don't use "DataSourceID", the application...
stackexchange/codereview
I am using the wysiwyg editor TinyMCE and I have stripped out most of the functions to create a simpler version. However, I need the make the formatting as basic as possible as well, e.g., instead of <p> tags i need to use <br /> tags. Also, I would like it to not convert ' in &rsquo; as I will be using the output in F...
stackexchange/codereview
I am implementing a class to compare directory trees (in C#). At first I implemented the actual comparison in the class's constructor. Like this: DirectoryComparer c = new DirectoryComparer("C:\\Dir1", "C:\\Dir2"); But it doesn't feel "right" to do a possible lengthy operation in the constructor. An alternative way is...
stackexchange/codereview
On the MSVC++ compiler, one can use the __int8, __int16, __int32 and similar types for integers with specific sizes. This is extremely useful for applications which need to work with low-level data structures like custom file formats, hardware control data structures and the like. Is there a similar equivalent I can us...
stackexchange/codereview
The Windows Indexing Service pauses itself when it detects the "user is active." Is there a registry entry or something to make it continue indexing regardless of user activity? Clarification: in Windows XP
stackexchange/codereview