question_id int64 4 6.31M | answer_id int64 7 6.31M | title stringlengths 9 150 | question_body stringlengths 0 28.8k | answer_body stringlengths 60 27.2k | question_text stringlengths 40 28.9k | combined_text stringlengths 124 39.6k | tags listlengths 1 6 | question_score int64 0 26.3k | answer_score int64 0 28.8k | view_count int64 15 14M | answer_count int64 0 182 | favorite_count int64 0 32 | question_creation_date stringdate 2008-07-31 21:42:52 2011-06-10 18:12:18 | answer_creation_date stringdate 2008-07-31 22:17:57 2011-06-10 18:14:17 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
81,108 | 82,166 | Runtime Page Optimizer for ASP.net - Any comments? | RPO 1.0 (Runtime Page Optimizer) is a recently (today?) released component for ASP and Sharepoint that compresses, combines and minifies (I can’t believe that is a real word) Javascript, CSS and other things. What is interesting is that it was developed for ActionThis.com a NZ shop that saw at TechEd last year. They bu... | I decided to answer this question again after evalutating it a little. The image combining is really amazing The CSS and Javascript is nicely minified All files are cached on the server meaning that the server isn't cained every time it makes a request The caching is performed at a browser level, meaning it will still ... | Runtime Page Optimizer for ASP.net - Any comments? RPO 1.0 (Runtime Page Optimizer) is a recently (today?) released component for ASP and Sharepoint that compresses, combines and minifies (I can’t believe that is a real word) Javascript, CSS and other things. What is interesting is that it was developed for ActionThis.... | TITLE:
Runtime Page Optimizer for ASP.net - Any comments?
QUESTION:
RPO 1.0 (Runtime Page Optimizer) is a recently (today?) released component for ASP and Sharepoint that compresses, combines and minifies (I can’t believe that is a real word) Javascript, CSS and other things. What is interesting is that it was develop... | [
"asp.net",
"javascript",
"optimization"
] | 2 | 3 | 1,211 | 7 | 0 | 2008-09-17T08:25:33.777000 | 2008-09-17T11:26:04.653000 |
81,160 | 81,502 | Auto-generating Unit-Tests for legacy Java-code | What is the best, preferably free/open source tool for auto-generating Java unit-tests? I know, the unit-tests cannot really serve the same purpose as normal TDD Unit-Tests which document and drive the design of the system. However auto-generated unit-tests can be useful if you have a huge legacy codebase and want to k... | Not free. Not opensource. But I have found AgitarOne Agitator ( http://www.agitar.com/solutions/products/agitarone.html ) to be REALLY good for automatically generating unit tests AND looking for unwanted obscure side effects | Auto-generating Unit-Tests for legacy Java-code What is the best, preferably free/open source tool for auto-generating Java unit-tests? I know, the unit-tests cannot really serve the same purpose as normal TDD Unit-Tests which document and drive the design of the system. However auto-generated unit-tests can be useful ... | TITLE:
Auto-generating Unit-Tests for legacy Java-code
QUESTION:
What is the best, preferably free/open source tool for auto-generating Java unit-tests? I know, the unit-tests cannot really serve the same purpose as normal TDD Unit-Tests which document and drive the design of the system. However auto-generated unit-te... | [
"java",
"unit-testing",
"legacy"
] | 13 | 4 | 5,623 | 5 | 0 | 2008-09-17T08:35:00.837000 | 2008-09-17T09:37:02.153000 |
81,174 | 81,370 | In Rails, What's the Best Way to Get Autocomplete that Shows Names but Uses IDs? | I want to have a text box that the user can type in that shows an Ajax-populated list of my model's names, and then when the user selects one I want the HTML to save the model's ID, and use that when the form is submitted. I've been poking at the auto_complete plugin that got excised in Rails 2, but it seems to have no... | I've got a hackneyed fix for the junk spaces from the image. I added a:after_update_element => "trimSelectedItem" to the options hash of the model_auto_completer (that's the first hash of the three given). My trimSelectedItem then finds the appropriate sub-element and uses the contents of that for the element value: fu... | In Rails, What's the Best Way to Get Autocomplete that Shows Names but Uses IDs? I want to have a text box that the user can type in that shows an Ajax-populated list of my model's names, and then when the user selects one I want the HTML to save the model's ID, and use that when the form is submitted. I've been poking... | TITLE:
In Rails, What's the Best Way to Get Autocomplete that Shows Names but Uses IDs?
QUESTION:
I want to have a text box that the user can type in that shows an Ajax-populated list of my model's names, and then when the user selects one I want the HTML to save the model's ID, and use that when the form is submitted... | [
"ruby-on-rails",
"model",
"autocomplete"
] | 4 | 0 | 2,256 | 2 | 0 | 2008-09-17T08:37:12.203000 | 2008-09-17T09:13:17.717000 |
81,191 | 81,274 | PythonWin's python interactive shell calling constructors twice? | While answering Static class variables in Python I noticed that PythonWin PyWin32 build 209.2 interpreter seems to evaluate twice? PythonWin 2.5 (r25:51908, Mar 9 2007, 17:40:28) [MSC v.1310 32 bit (Intel)] on win32. Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin' for further copyright informatio... | My guess is as follows. The PythonWin editor offers autocomplete for an object, i.e. when you type myobject. it offers a little popup of all the availble method names. So I think when you type X(). it's creating an instance of X in the background and doing a dir or similar to find out the attributes of the object. So t... | PythonWin's python interactive shell calling constructors twice? While answering Static class variables in Python I noticed that PythonWin PyWin32 build 209.2 interpreter seems to evaluate twice? PythonWin 2.5 (r25:51908, Mar 9 2007, 17:40:28) [MSC v.1310 32 bit (Intel)] on win32. Portions Copyright 1994-2006 Mark Hamm... | TITLE:
PythonWin's python interactive shell calling constructors twice?
QUESTION:
While answering Static class variables in Python I noticed that PythonWin PyWin32 build 209.2 interpreter seems to evaluate twice? PythonWin 2.5 (r25:51908, Mar 9 2007, 17:40:28) [MSC v.1310 32 bit (Intel)] on win32. Portions Copyright 1... | [
"python",
"python-2.x",
"activestate"
] | 3 | 3 | 1,009 | 3 | 0 | 2008-09-17T08:42:07.760000 | 2008-09-17T08:57:41.313000 |
81,209 | 81,275 | Can I call an external script or program when building a SWF file in Flash CS3? | Is there a way to call an external script or program from Flash CS3 every time it builds a SWF file? I'd like to add subversion information using subwcrev - the SVN keywords don't work because they only update when the version class file is updated. | I'm not sure what are JSFL capabilities these days, but I'd say inside Flash IDE is your only bet. JSFL is a language to extend the Flash IDE, but I'm not sure you can do this. On a related note, adding SVN information to your SWFs is not trivial. You'd probably need SVN hooks to put the information before actually com... | Can I call an external script or program when building a SWF file in Flash CS3? Is there a way to call an external script or program from Flash CS3 every time it builds a SWF file? I'd like to add subversion information using subwcrev - the SVN keywords don't work because they only update when the version class file is... | TITLE:
Can I call an external script or program when building a SWF file in Flash CS3?
QUESTION:
Is there a way to call an external script or program from Flash CS3 every time it builds a SWF file? I'd like to add subversion information using subwcrev - the SVN keywords don't work because they only update when the ver... | [
"flash",
"svn",
"build-process"
] | 3 | 3 | 938 | 3 | 0 | 2008-09-17T08:45:13.463000 | 2008-09-17T08:57:41.983000 |
81,212 | 81,224 | Lighttpd and WebDAV for serving a Subversion repo | I've configured (at least I've tried to configure) Lighty to enable the WebDAV plugin when I go to a certain URL. I don't get any errors, so it seems to be working. How, then, do I configure it to serve my subversion repositories (of which I have many)? | I don't think that's possible right now, since mod_dav_svn is an apache module and AFAIK there is no lighttpd module available. | Lighttpd and WebDAV for serving a Subversion repo I've configured (at least I've tried to configure) Lighty to enable the WebDAV plugin when I go to a certain URL. I don't get any errors, so it seems to be working. How, then, do I configure it to serve my subversion repositories (of which I have many)? | TITLE:
Lighttpd and WebDAV for serving a Subversion repo
QUESTION:
I've configured (at least I've tried to configure) Lighty to enable the WebDAV plugin when I go to a certain URL. I don't get any errors, so it seems to be working. How, then, do I configure it to serve my subversion repositories (of which I have many)... | [
"svn",
"webdav",
"lighttpd"
] | 2 | 3 | 3,150 | 1 | 0 | 2008-09-17T08:45:56.317000 | 2008-09-17T08:48:27.170000 |
81,214 | 81,379 | "DropDownList.SelectedIndex = -1" problem | I just want an ASP.NET DropDownList with no selected item. Setting SelectedIndex to -1 is of no avail, so far. I am using Framework 3.5 with AJAX, i.e. this DropDownList is within an UpdatePanel. Here is what I am doing: protected void Page_Load (object sender, EventArgs e) { this.myDropDownList.SelectedIndex = -1; thi... | Bare in mind myDropDownList.Items.Add will add a new Listitem element at the bottom if you call it after performing a DataSource/DataBind call so use myDropDownList.Items.Insert method instead eg... myDropDownList.DataSource = DataAccess.GetDropDownItems(); // Psuedo Code myDropDownList.DataTextField = "Value"; myDropD... | "DropDownList.SelectedIndex = -1" problem I just want an ASP.NET DropDownList with no selected item. Setting SelectedIndex to -1 is of no avail, so far. I am using Framework 3.5 with AJAX, i.e. this DropDownList is within an UpdatePanel. Here is what I am doing: protected void Page_Load (object sender, EventArgs e) { t... | TITLE:
"DropDownList.SelectedIndex = -1" problem
QUESTION:
I just want an ASP.NET DropDownList with no selected item. Setting SelectedIndex to -1 is of no avail, so far. I am using Framework 3.5 with AJAX, i.e. this DropDownList is within an UpdatePanel. Here is what I am doing: protected void Page_Load (object sender... | [
"asp.net",
"webforms",
"drop-down-menu"
] | 8 | 19 | 80,819 | 7 | 0 | 2008-09-17T08:46:21.870000 | 2008-09-17T09:14:24.517000 |
81,236 | 81,257 | How can I view the allocation unit size of a NTFS partition in Vista? | Which built in (if any) tool can I use to determine the allocation unit size of a certain NTFS partition? | Open an administrator command prompt, and do this command: fsutil fsinfo ntfsinfo [your drive] The Bytes Per Cluster is the equivalent of the allocation unit. | How can I view the allocation unit size of a NTFS partition in Vista? Which built in (if any) tool can I use to determine the allocation unit size of a certain NTFS partition? | TITLE:
How can I view the allocation unit size of a NTFS partition in Vista?
QUESTION:
Which built in (if any) tool can I use to determine the allocation unit size of a certain NTFS partition?
ANSWER:
Open an administrator command prompt, and do this command: fsutil fsinfo ntfsinfo [your drive] The Bytes Per Cluster ... | [
"windows-vista",
"ntfs"
] | 98 | 177 | 355,615 | 12 | 0 | 2008-09-17T08:50:23.513000 | 2008-09-17T08:54:20.727000 |
81,238 | 81,290 | How can I block mp3 crawlers from my website under Apache? | Is there some way to block access from a referrer using a.htaccess file or similar? My bandwidth is being eaten up by people referred from http://www.dizzler.com which is a flash based site that allows you to browse a library of crawled publicly available mp3s. Edit: Dizzler was still getting in (probably wasn't indica... | That's like saying you want to stop spam-bots from harvesting emails on your publicly visible page - it's very tough to tell the difference between users and bots without forcing your viewers to log in to confirm their identity. You could use robots.txt to disallow the spiders that actually follow those rules, but that... | How can I block mp3 crawlers from my website under Apache? Is there some way to block access from a referrer using a.htaccess file or similar? My bandwidth is being eaten up by people referred from http://www.dizzler.com which is a flash based site that allows you to browse a library of crawled publicly available mp3s.... | TITLE:
How can I block mp3 crawlers from my website under Apache?
QUESTION:
Is there some way to block access from a referrer using a.htaccess file or similar? My bandwidth is being eaten up by people referred from http://www.dizzler.com which is a flash based site that allows you to browse a library of crawled public... | [
"apache",
"bandwidth"
] | 4 | 3 | 812 | 4 | 0 | 2008-09-17T08:50:47.240000 | 2008-09-17T08:59:56.487000 |
81,260 | 81,336 | Easiest way to merge a release into one JAR file | Is there a tool or script which easily merges a bunch of JAR files into one JAR file? A bonus would be to easily set the main-file manifest and make it executable. The concrete case is a Java restructured text tool. I would like to run it with something like: java -jar rst.jar As far as I can tell, it has no dependenci... | Eclipse 3.4 JDT's Runnable JAR export wizard. In Eclipse 3.5, this has been extended. Now you can chose how you want to treat your referenced JAR files. | Easiest way to merge a release into one JAR file Is there a tool or script which easily merges a bunch of JAR files into one JAR file? A bonus would be to easily set the main-file manifest and make it executable. The concrete case is a Java restructured text tool. I would like to run it with something like: java -jar r... | TITLE:
Easiest way to merge a release into one JAR file
QUESTION:
Is there a tool or script which easily merges a bunch of JAR files into one JAR file? A bonus would be to easily set the main-file manifest and make it executable. The concrete case is a Java restructured text tool. I would like to run it with something... | [
"java",
"jar",
"merge",
"restructuredtext",
"uberjar"
] | 77 | 34 | 82,381 | 13 | 0 | 2008-09-17T08:54:50.273000 | 2008-09-17T09:08:56.760000 |
81,268 | 3,090,940 | Case insensitive search on Sybase | I have been sick and tired Googling the solution for doing case-insensitive search on Sybase ASE (Sybase data/column names are case sensitive). The Sybase documentation proudly says that there is only one way to do such search which is using the Upper and Lower functions, but the adage goes, it has performance problems... | Try creating a functional index, like Create Index INDX_MY_SEARCH on TABLE_NAME(LOWER(@MySearch) | Case insensitive search on Sybase I have been sick and tired Googling the solution for doing case-insensitive search on Sybase ASE (Sybase data/column names are case sensitive). The Sybase documentation proudly says that there is only one way to do such search which is using the Upper and Lower functions, but the adage... | TITLE:
Case insensitive search on Sybase
QUESTION:
I have been sick and tired Googling the solution for doing case-insensitive search on Sybase ASE (Sybase data/column names are case sensitive). The Sybase documentation proudly says that there is only one way to do such search which is using the Upper and Lower functi... | [
"performance",
"case-sensitive",
"sap-ase"
] | 7 | 3 | 8,680 | 3 | 0 | 2008-09-17T08:56:38.367000 | 2010-06-22T07:01:36.237000 |
81,272 | 81,309 | How to move the cursor word by word in the OS X Terminal | I know the combination Ctrl + A to jump to the beginning of the current command, and Ctrl + E to jump to the end. But is there any way to jump word by word, like Alt + ← / → in Cocoa applications does? | Out of the box you can use the quite bizarre Esc + F to move to the beginning of the next word and Esc + B to move to the beginning of the current word. | How to move the cursor word by word in the OS X Terminal I know the combination Ctrl + A to jump to the beginning of the current command, and Ctrl + E to jump to the end. But is there any way to jump word by word, like Alt + ← / → in Cocoa applications does? | TITLE:
How to move the cursor word by word in the OS X Terminal
QUESTION:
I know the combination Ctrl + A to jump to the beginning of the current command, and Ctrl + E to jump to the end. But is there any way to jump word by word, like Alt + ← / → in Cocoa applications does?
ANSWER:
Out of the box you can use the qui... | [
"macos",
"terminal",
"keyboard-shortcuts"
] | 923 | 671 | 457,654 | 20 | 0 | 2008-09-17T08:57:17.040000 | 2008-09-17T09:04:01.687000 |
81,278 | 87,217 | Ways to avoid eager spool operations on SQL Server | I have an ETL process that involves a stored procedure that makes heavy use of SELECT INTO statements (minimally logged and therefore faster as they generate less log traffic). Of the batch of work that takes place in one particular stored the stored procedure several of the most expensive operations are eager spools t... | My understanding of spooling is that it's a bit of a red herring on your execution plan. Yes, it accounts for a lot of your query cost, but it's actually an optimization that SQL Server undertakes automatically so that it can avoid costly rescanning. If you were to avoid spooling, the cost of the execution tree it sits... | Ways to avoid eager spool operations on SQL Server I have an ETL process that involves a stored procedure that makes heavy use of SELECT INTO statements (minimally logged and therefore faster as they generate less log traffic). Of the batch of work that takes place in one particular stored the stored procedure several ... | TITLE:
Ways to avoid eager spool operations on SQL Server
QUESTION:
I have an ETL process that involves a stored procedure that makes heavy use of SELECT INTO statements (minimally logged and therefore faster as they generate less log traffic). Of the batch of work that takes place in one particular stored the stored ... | [
"sql-server",
"t-sql",
"spool",
"eager"
] | 41 | 35 | 62,309 | 1 | 0 | 2008-09-17T08:58:18.393000 | 2008-09-17T20:23:10.133000 |
81,280 | 81,590 | How can I listen to a RoutedEvent from a class that doesn't derive from FrameworkElement ? Can it be done? | The question says it all basically. I want in a class MyClass to listen to a routed event. Can it be done? | Actually I wiredup the event the wrong way:| I had EventManager.RegisterClassHandler ( typeof ( MyClass )...... Instead of EventManager.RegisterClassHandler ( typeof ( TheClassThatOwnedTheEvent ) So.. my bad. | How can I listen to a RoutedEvent from a class that doesn't derive from FrameworkElement ? Can it be done? The question says it all basically. I want in a class MyClass to listen to a routed event. Can it be done? | TITLE:
How can I listen to a RoutedEvent from a class that doesn't derive from FrameworkElement ? Can it be done?
QUESTION:
The question says it all basically. I want in a class MyClass to listen to a routed event. Can it be done?
ANSWER:
Actually I wiredup the event the wrong way:| I had EventManager.RegisterClassHa... | [
"wpf",
"routed-events"
] | 2 | 1 | 522 | 2 | 0 | 2008-09-17T08:58:38.813000 | 2008-09-17T09:54:13.377000 |
81,283 | 81,312 | How should I detect the MIME type of an uploaded file in ASP.NET? | How do people usually detect the MIME type of an uploaded file using ASP.NET? | in the aspx page: in the codebehind (c#): string contentType = FileUpload1.PostedFile.ContentType | How should I detect the MIME type of an uploaded file in ASP.NET? How do people usually detect the MIME type of an uploaded file using ASP.NET? | TITLE:
How should I detect the MIME type of an uploaded file in ASP.NET?
QUESTION:
How do people usually detect the MIME type of an uploaded file using ASP.NET?
ANSWER:
in the aspx page: in the codebehind (c#): string contentType = FileUpload1.PostedFile.ContentType | [
"asp.net",
"types",
"mime"
] | 24 | 26 | 33,173 | 4 | 0 | 2008-09-17T08:59:12.290000 | 2008-09-17T09:04:40.593000 |
81,285 | 81,298 | Windows Vista Programmatically remap user directories | I re-image one of my machines regularly; and have a script that I run after the OS install completes to configure my machine; such that it works how I like. I happen to have my data on another drive...and I'd like to add code to my script to change the location of the Documents directory from "C:\Users\bryansh\Document... | I use reparse points http://www.hanselman.com/blog/MoreOnVistaReparsePoints.aspx to redirect My Documents. | Windows Vista Programmatically remap user directories I re-image one of my machines regularly; and have a script that I run after the OS install completes to configure my machine; such that it works how I like. I happen to have my data on another drive...and I'd like to add code to my script to change the location of t... | TITLE:
Windows Vista Programmatically remap user directories
QUESTION:
I re-image one of my machines regularly; and have a script that I run after the OS install completes to configure my machine; such that it works how I like. I happen to have my data on another drive...and I'd like to add code to my script to change... | [
"windows",
"windows-vista",
"user-environment"
] | 0 | 1 | 406 | 2 | 0 | 2008-09-17T08:59:19.793000 | 2008-09-17T09:01:07.810000 |
81,288 | 81,397 | Pattern for saving and writing to different file formats | Is there a pattern that is good to use when saving and loading different file formats? For example, I have a complicated class hierarchy for the document, but I want to support a few different file formats. I thought about the Strategy pattern, but I'm not convinced because of the need to access every part of the objec... | You could use a Visitor Pattern, it allows to iterate over your hierachy doing different operations depending of the node the Visitor is currently processing. Bad news: you probably need to add at least a virtual method at the top of the hierarchy, and maybe redefine it in some derived classes, and the visitor still ac... | Pattern for saving and writing to different file formats Is there a pattern that is good to use when saving and loading different file formats? For example, I have a complicated class hierarchy for the document, but I want to support a few different file formats. I thought about the Strategy pattern, but I'm not convin... | TITLE:
Pattern for saving and writing to different file formats
QUESTION:
Is there a pattern that is good to use when saving and loading different file formats? For example, I have a complicated class hierarchy for the document, but I want to support a few different file formats. I thought about the Strategy pattern, ... | [
"design-patterns",
"file-io"
] | 5 | 2 | 1,894 | 3 | 0 | 2008-09-17T08:59:44.270000 | 2008-09-17T09:17:08.583000 |
81,294 | 84,361 | sizeof(bitfield_type) legal in ANSI C? | struct foo { unsigned x:1; } f; printf("%d\n", (int)sizeof(f.x = 1)); What is the expected output and why? Taking the size of a bitfield lvalue directly isn't allowed. But by using the assignment operator, it seems we can still take the size of a bitfield type. What is the "size of a bitfield in bytes"? Is it the size ... | You are right, integer promotions aren't applied to the operand of sizeof: The integer promotions are applied only: as part of the usual arithmetic conversions, to certain argument expressions, to the operands of the unary +, -, and ~ operators, and to both operands of the shift operators, as specified by their respect... | sizeof(bitfield_type) legal in ANSI C? struct foo { unsigned x:1; } f; printf("%d\n", (int)sizeof(f.x = 1)); What is the expected output and why? Taking the size of a bitfield lvalue directly isn't allowed. But by using the assignment operator, it seems we can still take the size of a bitfield type. What is the "size o... | TITLE:
sizeof(bitfield_type) legal in ANSI C?
QUESTION:
struct foo { unsigned x:1; } f; printf("%d\n", (int)sizeof(f.x = 1)); What is the expected output and why? Taking the size of a bitfield lvalue directly isn't allowed. But by using the assignment operator, it seems we can still take the size of a bitfield type. W... | [
"c"
] | 4 | 4 | 3,013 | 13 | 0 | 2008-09-17T09:00:31.570000 | 2008-09-17T15:18:29.040000 |
81,306 | 81,339 | WCF - Faults / Exceptions versus Messages | We're currently having a debate whether it's better to throw faults over a WCF channel, versus passing a message indicating the status or the response from a service. Faults come with built-in support from WCF where by you can use the built-in error handlers and react accordingly. This, however, carries overhead as thr... | This however carries overhead as throwing exceptions in.NET can be quite costly. You're serializing and de-serializing objects to XML and sending them over a slow network.. the overhead from throwing an exception is negligable compared to that. I usually stick to throwing exceptions, since they clearly communicate some... | WCF - Faults / Exceptions versus Messages We're currently having a debate whether it's better to throw faults over a WCF channel, versus passing a message indicating the status or the response from a service. Faults come with built-in support from WCF where by you can use the built-in error handlers and react according... | TITLE:
WCF - Faults / Exceptions versus Messages
QUESTION:
We're currently having a debate whether it's better to throw faults over a WCF channel, versus passing a message indicating the status or the response from a service. Faults come with built-in support from WCF where by you can use the built-in error handlers a... | [
"wcf",
"exception"
] | 37 | 32 | 7,273 | 3 | 0 | 2008-09-17T09:03:07.260000 | 2008-09-17T09:09:10.910000 |
81,315 | 81,372 | DataGridView : How to can I do multiline data entry in a usable way? | With the DataGridView it is possible to display cells containing some long text. The grid just increases the row height to display all the text, taking care of word wrap and linefeeds. Data entry is possible as well. Control + Return inserts a line feed. But: if the cell only has one line of text initially, the row hei... | There's an entry here from a DataGridView Program Manager here that should be a good place to start. | DataGridView : How to can I do multiline data entry in a usable way? With the DataGridView it is possible to display cells containing some long text. The grid just increases the row height to display all the text, taking care of word wrap and linefeeds. Data entry is possible as well. Control + Return inserts a line fe... | TITLE:
DataGridView : How to can I do multiline data entry in a usable way?
QUESTION:
With the DataGridView it is possible to display cells containing some long text. The grid just increases the row height to display all the text, taking care of word wrap and linefeeds. Data entry is possible as well. Control + Return... | [
"winforms",
"datagridview"
] | 0 | 0 | 2,405 | 1 | 0 | 2008-09-17T09:05:08.423000 | 2008-09-17T09:13:30.010000 |
81,317 | 81,475 | Using the same test suite on various implementations of a repository interface | I have been making a little toy web application in C# along the lines of Rob Connery's Asp.net MVC storefront. I find that I have a repository interface, call it IFooRepository, with methods, say IQueryable GetFoo(); void PersistFoo(Foo foo); And I have three implementations of this: ISqlFooRepository, IFileFooRepostor... | Create an abstract class that contains concrete versions of the tests and an abstract GetRepository method which returns IFooRepository. Create three classes that derive from the abstract class, each of which implements GetRepository in a way that returns the appropriate IFooRepository implementation. Add all three cla... | Using the same test suite on various implementations of a repository interface I have been making a little toy web application in C# along the lines of Rob Connery's Asp.net MVC storefront. I find that I have a repository interface, call it IFooRepository, with methods, say IQueryable GetFoo(); void PersistFoo(Foo foo)... | TITLE:
Using the same test suite on various implementations of a repository interface
QUESTION:
I have been making a little toy web application in C# along the lines of Rob Connery's Asp.net MVC storefront. I find that I have a repository interface, call it IFooRepository, with methods, say IQueryable GetFoo(); void P... | [
"c#",
"unit-testing",
"interface",
"duplication"
] | 3 | 3 | 347 | 5 | 0 | 2008-09-17T09:05:30.123000 | 2008-09-17T09:32:03.663000 |
81,323 | 81,366 | Changing the default encoding for String(byte[]) | Is there a way to change the encoding used by the String(byte[]) constructor? In my own code I use String(byte[],String) to specify the encoding but I am using an external library that I cannot change. String src = "with accents: é à"; byte[] bytes = src.getBytes("UTF-8"); System.out.println("UTF-8 decoded: "+new Strin... | You need to change the locale before launching the JVM; see: Java, bug ID 4163515 Some places seem to imply you can do this by setting the file.encoding variable when launching the JVM, such as java -Dfile.encoding=UTF-8......but I haven't tried this myself. The safest way is to set an environment variable in the opera... | Changing the default encoding for String(byte[]) Is there a way to change the encoding used by the String(byte[]) constructor? In my own code I use String(byte[],String) to specify the encoding but I am using an external library that I cannot change. String src = "with accents: é à"; byte[] bytes = src.getBytes("UTF-8"... | TITLE:
Changing the default encoding for String(byte[])
QUESTION:
Is there a way to change the encoding used by the String(byte[]) constructor? In my own code I use String(byte[],String) to specify the encoding but I am using an external library that I cannot change. String src = "with accents: é à"; byte[] bytes = sr... | [
"java",
"encoding"
] | 10 | 7 | 24,961 | 3 | 0 | 2008-09-17T09:06:33.770000 | 2008-09-17T09:12:56.080000 |
81,338 | 81,352 | How to blog code at wordpress.com | got a new blog at wordpress few days ago ( http://ghads.wordpress.com ) and I want to post some code snippets now or then. Is there anyway to make it look like code without paying for extra plugins? | See here: http://en.support.wordpress.com/code/posting-source-code/ Wrap your code in these tags: [sourcecode language='css'].. [/sourcecode] (or shorter [code lang='css'].. [/code] ) Note that Visual Editor doesn't interpret the tags, you need to click Preview to see how it works. Available language codes: actionscrip... | How to blog code at wordpress.com got a new blog at wordpress few days ago ( http://ghads.wordpress.com ) and I want to post some code snippets now or then. Is there anyway to make it look like code without paying for extra plugins? | TITLE:
How to blog code at wordpress.com
QUESTION:
got a new blog at wordpress few days ago ( http://ghads.wordpress.com ) and I want to post some code snippets now or then. Is there anyway to make it look like code without paying for extra plugins?
ANSWER:
See here: http://en.support.wordpress.com/code/posting-sourc... | [
"blogs",
"code-formatting",
"wordpress.com"
] | 72 | 116 | 32,522 | 6 | 0 | 2008-09-17T09:09:00.443000 | 2008-09-17T09:11:14.883000 |
81,344 | 2,832,770 | Compare Quagga to XORP | What do you think of Quagga compared to XORP as a dynamic software routing engine? What are the technical merits of each engine comparatively? Additionally, what do most people think of them from a programming view. Who has manipulated networks using these enginers? I was wondering from an OSPF, routing, BGP protocol u... | The following does not answer your question completely, but the Vyatta open source routers and the OpenSolaris customer gateway software for Amazon VPC both use quagga to implement BGP support. From the wikipedia entry for XORP, "The software suite was selected commercially as the routing platform for the Vyatta line o... | Compare Quagga to XORP What do you think of Quagga compared to XORP as a dynamic software routing engine? What are the technical merits of each engine comparatively? Additionally, what do most people think of them from a programming view. Who has manipulated networks using these enginers? I was wondering from an OSPF, ... | TITLE:
Compare Quagga to XORP
QUESTION:
What do you think of Quagga compared to XORP as a dynamic software routing engine? What are the technical merits of each engine comparatively? Additionally, what do most people think of them from a programming view. Who has manipulated networks using these enginers? I was wonder... | [
"networking",
"routes",
"bgp",
"ospf"
] | 1 | 2 | 2,863 | 2 | 0 | 2008-09-17T09:09:29.583000 | 2010-05-14T08:28:09.463000 |
81,346 | 107,987 | Most efficient way to increment a Map value in Java | I hope this question is not considered too basic for this forum, but we'll see. I'm wondering how to refactor some code for better performance that is getting run a bunch of times. Say I'm creating a word frequency list, using a Map (probably a HashMap), where each key is a String with the word that's being counted and... | Some test results I've gotten a lot of good answers to this question--thanks folks--so I decided to run some tests and figure out which method is actually fastest. The five methods I tested are these: the "ContainsKey" method that I presented in the question the "TestForNull" method suggested by Aleksandar Dimitrov the... | Most efficient way to increment a Map value in Java I hope this question is not considered too basic for this forum, but we'll see. I'm wondering how to refactor some code for better performance that is getting run a bunch of times. Say I'm creating a word frequency list, using a Map (probably a HashMap), where each ke... | TITLE:
Most efficient way to increment a Map value in Java
QUESTION:
I hope this question is not considered too basic for this forum, but we'll see. I'm wondering how to refactor some code for better performance that is getting run a bunch of times. Say I'm creating a word frequency list, using a Map (probably a HashM... | [
"java",
"optimization",
"collections"
] | 518 | 427 | 434,560 | 28 | 0 | 2008-09-17T09:10:11.843000 | 2008-09-20T11:59:00.267000 |
81,350 | 81,365 | private IP address ranges | What are the private IP address ranges? | You will find the answers to this in RFC 1918. Though, I have listed them below for you. 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) It is a common misconception that 169.254.0.0/16 is a private IP address block. This is not tr... | private IP address ranges What are the private IP address ranges? | TITLE:
private IP address ranges
QUESTION:
What are the private IP address ranges?
ANSWER:
You will find the answers to this in RFC 1918. Though, I have listed them below for you. 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) I... | [
"networking",
"ip-address"
] | 13 | 23 | 2,572 | 2 | 0 | 2008-09-17T09:10:58.410000 | 2008-09-17T09:12:46.610000 |
81,360 | 1,049,670 | How to retrieve stored procedure return values from a TableAdapter | I cannot find an elegant way to get the return value from a stored procedure when using TableAdapters. It appears the TableAdapter does not support SQL stored procedure return values when using a non-scalar stored procedure call. You'd expect the return value from the auto-generated function would be the return value f... | Closing this question as it appears return values aren't supported and there is no elegant workaround! | How to retrieve stored procedure return values from a TableAdapter I cannot find an elegant way to get the return value from a stored procedure when using TableAdapters. It appears the TableAdapter does not support SQL stored procedure return values when using a non-scalar stored procedure call. You'd expect the return... | TITLE:
How to retrieve stored procedure return values from a TableAdapter
QUESTION:
I cannot find an elegant way to get the return value from a stored procedure when using TableAdapters. It appears the TableAdapter does not support SQL stored procedure return values when using a non-scalar stored procedure call. You'd... | [
"asp.net",
"sql-server"
] | 7 | 0 | 8,675 | 6 | 0 | 2008-09-17T09:12:13.710000 | 2009-06-26T15:14:00.820000 |
81,376 | 185,123 | Should I start using LINQ To SQL? | Currently I am using NetTiers to generate my data access layer and service layer. I have been using NetTiers for over 2 years and have found it to be very useful. At some point I need to look at LINQ so my questions are... Has anyone else gone from NetTiers to LINQ To SQL? Was this switch over a good or bad thing? Is t... | No See #1 You should beware of standard abstraction overhead. Also it's very SQL Server based in it's current state. Are you using SQL Server, then maybe. If you are using LINQ for other things right now like over XML data (great), Object data, Datasets, then yes you should could switch to have a uniform data syntax fo... | Should I start using LINQ To SQL? Currently I am using NetTiers to generate my data access layer and service layer. I have been using NetTiers for over 2 years and have found it to be very useful. At some point I need to look at LINQ so my questions are... Has anyone else gone from NetTiers to LINQ To SQL? Was this swi... | TITLE:
Should I start using LINQ To SQL?
QUESTION:
Currently I am using NetTiers to generate my data access layer and service layer. I have been using NetTiers for over 2 years and have found it to be very useful. At some point I need to look at LINQ so my questions are... Has anyone else gone from NetTiers to LINQ To... | [
"c#",
"linq",
"linq-to-sql",
".nettiers"
] | 8 | 5 | 2,108 | 6 | 0 | 2008-09-17T09:13:59.870000 | 2008-10-08T22:12:05.080000 |
81,392 | 81,394 | Java: why do I receive the error message "Type mismatch: cannot convert int to byte" | If you declare variables of type byte or short and attempt to perform arithmetic operations on these, you receive the error "Type mismatch: cannot convert int to short" (or correspondingly "Type mismatch: cannot convert int to byte"). byte a = 23; byte b = 34; byte c = a + b; In this example, the compile error is on th... | Although the arithmetic operators are defined to operate on any numeric type, according the Java language specification (5.6.2 Binary Numeric Promotion), operands of type byte and short are automatically promoted to int before being handed to the operators. To perform arithmetic operations on variables of type byte or ... | Java: why do I receive the error message "Type mismatch: cannot convert int to byte" If you declare variables of type byte or short and attempt to perform arithmetic operations on these, you receive the error "Type mismatch: cannot convert int to short" (or correspondingly "Type mismatch: cannot convert int to byte"). ... | TITLE:
Java: why do I receive the error message "Type mismatch: cannot convert int to byte"
QUESTION:
If you declare variables of type byte or short and attempt to perform arithmetic operations on these, you receive the error "Type mismatch: cannot convert int to short" (or correspondingly "Type mismatch: cannot conve... | [
"java",
"type-conversion",
"byte",
"type-mismatch"
] | 13 | 12 | 26,078 | 5 | 0 | 2008-09-17T09:16:19.987000 | 2008-09-17T09:16:38.410000 |
81,404 | 81,596 | Postgres replication | Right now I have a database (about 2-3 GB) in PostgreSQL, which serves as a data storage to RoR/Python LAMP-like application. What kind tools are there that are simple and robust enough for replication of the main database to a second machine? I looked through some packages (Slony-I and etc.) but it would be great to h... | If you are not doing replication, Write ahead Logs are the simplest solution. | Postgres replication Right now I have a database (about 2-3 GB) in PostgreSQL, which serves as a data storage to RoR/Python LAMP-like application. What kind tools are there that are simple and robust enough for replication of the main database to a second machine? I looked through some packages (Slony-I and etc.) but i... | TITLE:
Postgres replication
QUESTION:
Right now I have a database (about 2-3 GB) in PostgreSQL, which serves as a data storage to RoR/Python LAMP-like application. What kind tools are there that are simple and robust enough for replication of the main database to a second machine? I looked through some packages (Slony... | [
"database",
"postgresql",
"replication"
] | 4 | 1 | 2,105 | 2 | 0 | 2008-09-17T09:18:02.777000 | 2008-09-17T09:55:28.333000 |
81,406 | 81,427 | Which parsers are available for parsing C# code? | Which parsers are available for parsing C# code? I'm looking for a C# parser that can be used in C# and give me access to line and file informations about each artefact of the analysed code. | Works on source code: CSParser: From C# 1.0 to 2.0, open-source Metaspec C# Parser: From C# 1.0 to 3.0, commercial product (about 5000$) #recognize!: From C# 1.0 to 3.0, commercial product (about 900€) (answer by SharpRecognize ) SharpDevelop Parser (answer by Akselsson ) NRefactory: From C# 1.0 to 4.0 (+async), open-s... | Which parsers are available for parsing C# code? Which parsers are available for parsing C# code? I'm looking for a C# parser that can be used in C# and give me access to line and file informations about each artefact of the analysed code. | TITLE:
Which parsers are available for parsing C# code?
QUESTION:
Which parsers are available for parsing C# code? I'm looking for a C# parser that can be used in C# and give me access to line and file informations about each artefact of the analysed code.
ANSWER:
Works on source code: CSParser: From C# 1.0 to 2.0, o... | [
"c#",
"parsing"
] | 103 | 121 | 75,842 | 15 | 0 | 2008-09-17T09:18:14.180000 | 2008-09-17T09:21:39.570000 |
81,410 | 81,505 | How do you add a JavaScript widget to a Wordpress.com hosted blog? | I've got a site that provides blog-friendly widgets via JavaScript. These work fine in most circumstances, including self-hosted Wordpress blogs. With blogs hosted at Wordpress.com, however, JavaScript isn't allowed in sidebar text modules. Has anyone seen a workaround for this limitation? | you could always petition wp to add your widget to their 'approved' list, but who knows how long that would take. you're talking about a way to circumvent the rules they have in place about posting arbitrary script. myspace javascript exploits in particular have increased awareness of the possibility of such workaround... | How do you add a JavaScript widget to a Wordpress.com hosted blog? I've got a site that provides blog-friendly widgets via JavaScript. These work fine in most circumstances, including self-hosted Wordpress blogs. With blogs hosted at Wordpress.com, however, JavaScript isn't allowed in sidebar text modules. Has anyone s... | TITLE:
How do you add a JavaScript widget to a Wordpress.com hosted blog?
QUESTION:
I've got a site that provides blog-friendly widgets via JavaScript. These work fine in most circumstances, including self-hosted Wordpress blogs. With blogs hosted at Wordpress.com, however, JavaScript isn't allowed in sidebar text mod... | [
"javascript",
"wordpress",
"widget"
] | 14 | 8 | 16,507 | 4 | 0 | 2008-09-17T09:18:44.193000 | 2008-09-17T09:37:40.157000 |
81,423 | 81,444 | Enabling single sign-on between Desktop Application and Website | We have a client/server application with a rich client front end (in.Net) and also an administration portal (Asp.Net). Currently users have to sign on in both the rich client and on the website. We'd like to enable them to sign into the rich client, but not have to sign on to the website if they launch it from within t... | A possible solution is: sign-in to the rich client a random token is generated by the server and stored againsed the signed-in user rich client gets that token from the server that token is used in the url pointing to the website going to that url (using a link or a button from the rich client) will auto-login the user... | Enabling single sign-on between Desktop Application and Website We have a client/server application with a rich client front end (in.Net) and also an administration portal (Asp.Net). Currently users have to sign on in both the rich client and on the website. We'd like to enable them to sign into the rich client, but no... | TITLE:
Enabling single sign-on between Desktop Application and Website
QUESTION:
We have a client/server application with a rich client front end (in.Net) and also an administration portal (Asp.Net). Currently users have to sign on in both the rich client and on the website. We'd like to enable them to sign into the r... | [
".net",
"asp.net"
] | 2 | 6 | 2,716 | 5 | 0 | 2008-09-17T09:21:05.110000 | 2008-09-17T09:26:39.573000 |
81,445 | 83,415 | Multi-user Snippet Manager | Currently, we're using a wiki at work to share insights, tips and information. But somehow, people aren't sharing snippets that way. It's probably too inconvenient to write and too difficult to find snippets there. So, is there a multi-user/collaborative snippets manager around? Something like Snippely. (Has anyone tri... | Pastebin is a common solution to this. Just install somewhere on your network, then paste snippets. http://pastebin.com/ Works well when trying to debug a piece of code, or stack trace also. | Multi-user Snippet Manager Currently, we're using a wiki at work to share insights, tips and information. But somehow, people aren't sharing snippets that way. It's probably too inconvenient to write and too difficult to find snippets there. So, is there a multi-user/collaborative snippets manager around? Something lik... | TITLE:
Multi-user Snippet Manager
QUESTION:
Currently, we're using a wiki at work to share insights, tips and information. But somehow, people aren't sharing snippets that way. It's probably too inconvenient to write and too difficult to find snippets there. So, is there a multi-user/collaborative snippets manager aro... | [
"collaboration",
"code-snippets"
] | 3 | 1 | 1,169 | 2 | 0 | 2008-09-17T09:26:41.367000 | 2008-09-17T13:48:54.263000 |
81,448 | 81,492 | Difference between BYTE and CHAR in column datatypes | In Oracle, what is the difference between: CREATE TABLE CLIENT ( NAME VARCHAR2(11 BYTE), ID_CLIENT NUMBER ) and CREATE TABLE CLIENT ( NAME VARCHAR2(11 CHAR), -- or even VARCHAR2(11) ID_CLIENT NUMBER ) | Let us assume the database character set is UTF-8, which is the recommended setting in recent versions of Oracle. In this case, some characters take more than 1 byte to store in the database. If you define the field as VARCHAR2(11 BYTE), Oracle can use up to 11 bytes for storage, but you may not actually be able to sto... | Difference between BYTE and CHAR in column datatypes In Oracle, what is the difference between: CREATE TABLE CLIENT ( NAME VARCHAR2(11 BYTE), ID_CLIENT NUMBER ) and CREATE TABLE CLIENT ( NAME VARCHAR2(11 CHAR), -- or even VARCHAR2(11) ID_CLIENT NUMBER ) | TITLE:
Difference between BYTE and CHAR in column datatypes
QUESTION:
In Oracle, what is the difference between: CREATE TABLE CLIENT ( NAME VARCHAR2(11 BYTE), ID_CLIENT NUMBER ) and CREATE TABLE CLIENT ( NAME VARCHAR2(11 CHAR), -- or even VARCHAR2(11) ID_CLIENT NUMBER )
ANSWER:
Let us assume the database character se... | [
"sql",
"oracle",
"unicode",
"varchar"
] | 188 | 299 | 379,249 | 5 | 0 | 2008-09-17T09:27:30.773000 | 2008-09-17T09:34:39.990000 |
81,451 | 4,787,543 | Upload files in Google App Engine | I am planning to create a web app that allows users to downgrade their visual studio project files. However, It seems Google App Engine accepts files uploading and flat file storing on the Google Server through db.TextProperty and db.BlobProperty. I'll be glad anyone can provide code sample (both the client and the ser... | Here is a complete, working file. I pulled the original from the Google site and modified it to make it slightly more real world. A few things to notice: This code uses the BlobStore API The purpose of this line in the ServeHandler class is to "fix" the key so that it gets rid of any name mangling that may have occurre... | Upload files in Google App Engine I am planning to create a web app that allows users to downgrade their visual studio project files. However, It seems Google App Engine accepts files uploading and flat file storing on the Google Server through db.TextProperty and db.BlobProperty. I'll be glad anyone can provide code s... | TITLE:
Upload files in Google App Engine
QUESTION:
I am planning to create a web app that allows users to downgrade their visual studio project files. However, It seems Google App Engine accepts files uploading and flat file storing on the Google Server through db.TextProperty and db.BlobProperty. I'll be glad anyone ... | [
"python",
"google-app-engine"
] | 81 | 45 | 84,265 | 11 | 0 | 2008-09-17T09:28:53.313000 | 2011-01-24T21:46:46.073000 |
81,459 | 82,249 | How do I check ClickOnce prerequisites after first install? | If I understand correctly, ClickOnce only checks for prerequisites with the first install of an application through the setup.exe file that contains the prerequisite information. If the user opens the app in the future it will check for new versions, but it does not launch the setup.exe again, thus not checking for any... | Unfortunately, your users will have to re-run the setup.exe to check and install all the new prerequisites that you have added. Applications deployed using ClickOnce only check for application updates (if enabled), not prerequisites as it's the bootstrapper's job to make sure all dependencies are installed before the a... | How do I check ClickOnce prerequisites after first install? If I understand correctly, ClickOnce only checks for prerequisites with the first install of an application through the setup.exe file that contains the prerequisite information. If the user opens the app in the future it will check for new versions, but it do... | TITLE:
How do I check ClickOnce prerequisites after first install?
QUESTION:
If I understand correctly, ClickOnce only checks for prerequisites with the first install of an application through the setup.exe file that contains the prerequisite information. If the user opens the app in the future it will check for new v... | [
".net",
"clickonce"
] | 11 | 12 | 4,700 | 2 | 0 | 2008-09-17T09:29:53.653000 | 2008-09-17T11:42:23.897000 |
81,491 | 959,964 | How can I run VisualWorks under OpenBSD? | Has anyone gotten VisualWorks running under OpenBSD? It's not an officially supported platform, but one of the Cincom guys was telling me that it should be able to run under a linux compatibility mode. How did you set it up? I already have Squeak running without a problem, so I'm not looking for an alternative. I speci... | See the OpenBSD FAQ, specifically section 9.4 - Running Linux Binaries on OpenBSD. Typically there are more steps needed then just kern.emul.linux=1 unless you have statically linked (i.e. completely stand-alone) binaries. The good news is that packages exist that contain Linux libs, and they are easy to install. This ... | How can I run VisualWorks under OpenBSD? Has anyone gotten VisualWorks running under OpenBSD? It's not an officially supported platform, but one of the Cincom guys was telling me that it should be able to run under a linux compatibility mode. How did you set it up? I already have Squeak running without a problem, so I'... | TITLE:
How can I run VisualWorks under OpenBSD?
QUESTION:
Has anyone gotten VisualWorks running under OpenBSD? It's not an officially supported platform, but one of the Cincom guys was telling me that it should be able to run under a linux compatibility mode. How did you set it up? I already have Squeak running withou... | [
"smalltalk",
"squeak",
"openbsd",
"visualworks"
] | 4 | 3 | 529 | 2 | 0 | 2008-09-17T09:34:06.403000 | 2009-06-06T15:44:09.447000 |
81,495 | 82,108 | Best technology for adding plugin support to a J2SE application? | I'm writing a J2SE desktop application that requires one of its components to be pluggable. I've already defined the Java interface for this plugin. The user should be able to select at runtime (via the GUI) which implementation of this interface they want to use (e.g. in an initialisation dialog). I envisage each plug... | After many tries for plugin-based Java architectures (what is precisely what you seem to look for), I finally found JSPF to be the best solution for Java5 code. it do not have the huge needs of OSGI like solutions, but is instead rather easy to use. | Best technology for adding plugin support to a J2SE application? I'm writing a J2SE desktop application that requires one of its components to be pluggable. I've already defined the Java interface for this plugin. The user should be able to select at runtime (via the GUI) which implementation of this interface they wan... | TITLE:
Best technology for adding plugin support to a J2SE application?
QUESTION:
I'm writing a J2SE desktop application that requires one of its components to be pluggable. I've already defined the Java interface for this plugin. The user should be able to select at runtime (via the GUI) which implementation of this ... | [
"java",
"plugins",
"plugin-architecture"
] | 5 | 5 | 1,346 | 5 | 0 | 2008-09-17T09:35:36.807000 | 2008-09-17T11:17:13.770000 |
81,497 | 81,537 | Best he-aac encoder on linux? | I need an encoder that can convert mp3 files to he-aac (aka aac+). So far the best one I have found is nero aac encoder. I have two problemes with it: - Only one input format: wav. It is a little bit slow to transform mp3 files to wav and then to he-aac. - a free license for non commercial use. Too bad ffmpeg does not ... | Nero AAC is the only one as far as I know. Even if FAAC supported HE-AAC it would be useless, since as an encoder its pretty awfully designed and its quality is not even competitive with LAME, let alone a good AAC encoder. Kostya on the FFMPEG team is currently working on an AAC encoder but it has a long way to go--its... | Best he-aac encoder on linux? I need an encoder that can convert mp3 files to he-aac (aka aac+). So far the best one I have found is nero aac encoder. I have two problemes with it: - Only one input format: wav. It is a little bit slow to transform mp3 files to wav and then to he-aac. - a free license for non commercial... | TITLE:
Best he-aac encoder on linux?
QUESTION:
I need an encoder that can convert mp3 files to he-aac (aka aac+). So far the best one I have found is nero aac encoder. I have two problemes with it: - Only one input format: wav. It is a little bit slow to transform mp3 files to wav and then to he-aac. - a free license ... | [
"encoding",
"mp3",
"aac",
"aac+"
] | 4 | 6 | 13,711 | 5 | 0 | 2008-09-17T09:36:00.563000 | 2008-09-17T09:44:09.797000 |
81,504 | 81,865 | Probability of finding TCP packets with the same payload? | I had a discussion with a developer earlier today re identifying TCP packets going out on a particular interface with the same payload. He told me that the probability of finding a TCP packet that has an equal payload (even if the same data is sent out several times) is very low due to the way TCP packets are construct... | EDIT: Sorry, my original idea was ridiculous. You got me interested so I googled a little bit and found this. If you wanted to write your own tool you would probably have to inspect each payload, the easiest way would probably be some sort of hash/checksum to check for identical payloads. Just make sure you are checkin... | Probability of finding TCP packets with the same payload? I had a discussion with a developer earlier today re identifying TCP packets going out on a particular interface with the same payload. He told me that the probability of finding a TCP packet that has an equal payload (even if the same data is sent out several t... | TITLE:
Probability of finding TCP packets with the same payload?
QUESTION:
I had a discussion with a developer earlier today re identifying TCP packets going out on a particular interface with the same payload. He told me that the probability of finding a TCP packet that has an equal payload (even if the same data is ... | [
"statistics",
"tcp",
"protocols",
"probability",
"packets"
] | 0 | 1 | 436 | 4 | 0 | 2008-09-17T09:37:20.547000 | 2008-09-17T10:34:15.153000 |
81,512 | 82,201 | Can't Drag Items Onto An Empty List Using Scriptaculous Sortables | I have three unordered lists that have been created as Scriptaculous Sortables so that the user can drag items within the lists and also between them: var lists = ["pageitems","rowitems","columnitems"]; Sortable.create("pageitems", { dropOnEmpty: true, containment: lists, constraint: false }); Sortable.create("rowitems... | Maybe the empty list has no height, and therefore no droppable area available. If that's the case, perhaps you just need to set a minimum height, or some padding on the block. | Can't Drag Items Onto An Empty List Using Scriptaculous Sortables I have three unordered lists that have been created as Scriptaculous Sortables so that the user can drag items within the lists and also between them: var lists = ["pageitems","rowitems","columnitems"]; Sortable.create("pageitems", { dropOnEmpty: true, c... | TITLE:
Can't Drag Items Onto An Empty List Using Scriptaculous Sortables
QUESTION:
I have three unordered lists that have been created as Scriptaculous Sortables so that the user can drag items within the lists and also between them: var lists = ["pageitems","rowitems","columnitems"]; Sortable.create("pageitems", { dr... | [
"javascript",
"drag-and-drop",
"scriptaculous"
] | 1 | 3 | 992 | 3 | 0 | 2008-09-17T09:38:30.637000 | 2008-09-17T11:32:07.133000 |
81,520 | 81,672 | How to suppress Terminated message after killing in bash? | How can you suppress the Terminated message that comes up after you kill a process in a bash script? I tried set +bm, but that doesn't work. I know another solution involves calling exec 2> /dev/null, but is that reliable? How do I reset it back so that I can continue to see stderr? | The short answer is that you can't. Bash always prints the status of foreground jobs. The monitoring flag only applies for background jobs, and only for interactive shells, not scripts. see notify_of_job_status() in jobs.c. As you say, you can redirect so standard error is pointing to /dev/null but then you miss any ot... | How to suppress Terminated message after killing in bash? How can you suppress the Terminated message that comes up after you kill a process in a bash script? I tried set +bm, but that doesn't work. I know another solution involves calling exec 2> /dev/null, but is that reliable? How do I reset it back so that I can co... | TITLE:
How to suppress Terminated message after killing in bash?
QUESTION:
How can you suppress the Terminated message that comes up after you kill a process in a bash script? I tried set +bm, but that doesn't work. I know another solution involves calling exec 2> /dev/null, but is that reliable? How do I reset it bac... | [
"bash",
"unix",
"shell"
] | 74 | 21 | 66,560 | 12 | 0 | 2008-09-17T09:40:10.477000 | 2008-09-17T10:07:39.663000 |
81,521 | 989,713 | scheduled web synchronization with MS Sql Server 2005 | I have settled a web synchronization between SQLSERVER 2005 as publisher and SQLEXPRESS as suscriber. Web synchro has to be launched manually through IE interface (menu tools/synchronize) and to be selected among available synchronizations. Everything is working fine except that I did not find a way to automate the syn... | Denny Cherry, a SQL Server MVP, is writing a replacement for SQL Server Agent. Denny's blog about it His Standalone SQL Agent project on Codeplex Using this, you would be able to automatically initiate code on a scheduled basis. But it's either this, or writing your own.NET app to kick off jobs. SQL Server Express Edit... | scheduled web synchronization with MS Sql Server 2005 I have settled a web synchronization between SQLSERVER 2005 as publisher and SQLEXPRESS as suscriber. Web synchro has to be launched manually through IE interface (menu tools/synchronize) and to be selected among available synchronizations. Everything is working fin... | TITLE:
scheduled web synchronization with MS Sql Server 2005
QUESTION:
I have settled a web synchronization between SQLSERVER 2005 as publisher and SQLEXPRESS as suscriber. Web synchro has to be launched manually through IE interface (menu tools/synchronize) and to be selected among available synchronizations. Everyth... | [
"sql-server"
] | 0 | 1 | 275 | 2 | 0 | 2008-09-17T09:40:10.650000 | 2009-06-13T01:26:34.637000 |
81,552 | 81,952 | What's the fastest way to copy the values and keys from one dictionary into another in C#? | There doesn't seem to be a dictionary.AddRange() method. Does anyone know a better way to copy the items to another dictionary without using a foreach loop. I'm using the System.Collections.Generic.Dictionary. This is for.NET 2.0. | There's nothing wrong with a for/foreach loop. That's all a hypothetical AddRange method would do anyway. The only extra concern I'd have is with memory allocation behaviour, because adding a large number of entries could cause multiple reallocations and re-hashes. There's no way to increase the capacity of an existing... | What's the fastest way to copy the values and keys from one dictionary into another in C#? There doesn't seem to be a dictionary.AddRange() method. Does anyone know a better way to copy the items to another dictionary without using a foreach loop. I'm using the System.Collections.Generic.Dictionary. This is for.NET 2.0... | TITLE:
What's the fastest way to copy the values and keys from one dictionary into another in C#?
QUESTION:
There doesn't seem to be a dictionary.AddRange() method. Does anyone know a better way to copy the items to another dictionary without using a foreach loop. I'm using the System.Collections.Generic.Dictionary. T... | [
"c#",
"dictionary",
"copy",
"foreach"
] | 30 | 20 | 57,515 | 8 | 0 | 2008-09-17T09:47:33.190000 | 2008-09-17T10:48:26.927000 |
81,557 | 182,022 | Prevent implicit import of units in Delphi packages | Is there a way to prevent packages in Delphi to implicitly import units that are not listed in the "Contains" list? I'm looking for a compiler directive that makes the build to fail if it tries to do an implicit import. Problems occur when you install a package into the IDE that implicitly imports unit A and then you t... | If you're on a version of Delphi that's older that 2009, you can make the warning cause an error by using DDevExtensions (it's free). Once you install it, go to Tools > DDevExtensions - Options and in the "Compiler Enhancements" section select the "Active" check box and "Treat warnings as errors". You can add the warni... | Prevent implicit import of units in Delphi packages Is there a way to prevent packages in Delphi to implicitly import units that are not listed in the "Contains" list? I'm looking for a compiler directive that makes the build to fail if it tries to do an implicit import. Problems occur when you install a package into t... | TITLE:
Prevent implicit import of units in Delphi packages
QUESTION:
Is there a way to prevent packages in Delphi to implicitly import units that are not listed in the "Contains" list? I'm looking for a compiler directive that makes the build to fail if it tries to do an implicit import. Problems occur when you instal... | [
"delphi",
"compiler-construction",
"package"
] | 5 | 4 | 3,928 | 3 | 0 | 2008-09-17T09:49:20.033000 | 2008-10-08T10:14:56.993000 |
81,567 | 81,675 | How do you handle different Java IDEs and svn? | How do you ensure, that you can checkout the code into Eclipse or NetBeans and work there with it? Edit: If you not checking in ide-related files, you have to reconfigure buildpath, includes and all this stuff, each time you checkout the project. I don't know, if ant (especially an ant buildfile which is created/export... | The smart ass answer is "by doing so" - unless you aren't working with multiple IDEs you don't know if you are really prepared for working with multiple IDEs. Honest.:) I always have seen multiple platforms as more cumbersome, as they may use different encoding standards (e.g. Windows may default to ISO-8859-1, Linux t... | How do you handle different Java IDEs and svn? How do you ensure, that you can checkout the code into Eclipse or NetBeans and work there with it? Edit: If you not checking in ide-related files, you have to reconfigure buildpath, includes and all this stuff, each time you checkout the project. I don't know, if ant (espe... | TITLE:
How do you handle different Java IDEs and svn?
QUESTION:
How do you ensure, that you can checkout the code into Eclipse or NetBeans and work there with it? Edit: If you not checking in ide-related files, you have to reconfigure buildpath, includes and all this stuff, each time you checkout the project. I don't ... | [
"java",
"eclipse",
"svn",
"ide",
"collaboration"
] | 8 | 7 | 2,653 | 7 | 0 | 2008-09-17T09:51:09.937000 | 2008-09-17T10:08:38.333000 |
81,587 | 81,895 | Migrating an Existing Application to accept Unicode | We have in the process of upgrading our application to full Unicode comptibility as we have recently got Delphi 2009 which provides this out of the box. I am looking for anyone who has experience of upgrading an application to accept Unicode characters. Specifically answers to any of the following questions. We need to... | Oracle doesn't require you to use nvarchar to store Unicode strings—the server can be configured to store varchar2 in UTF-8. If you only supported ASCII before, it should be transparent. That should prevent the need for all the application-side search-and-replace for ' to N'. As for Damien's point: it might not help yo... | Migrating an Existing Application to accept Unicode We have in the process of upgrading our application to full Unicode comptibility as we have recently got Delphi 2009 which provides this out of the box. I am looking for anyone who has experience of upgrading an application to accept Unicode characters. Specifically a... | TITLE:
Migrating an Existing Application to accept Unicode
QUESTION:
We have in the process of upgrading our application to full Unicode comptibility as we have recently got Delphi 2009 which provides this out of the box. I am looking for anyone who has experience of upgrading an application to accept Unicode characte... | [
"sql-server",
"oracle",
"delphi",
"unicode",
"migration"
] | 0 | 1 | 365 | 3 | 0 | 2008-09-17T09:53:31.990000 | 2008-09-17T10:39:33.737000 |
81,597 | 1,382,776 | Remove unused references (!= "using") | How can I find and delete unused references in my projects? I know you can easily remove the using statements in vs 2008, but this doesn't remove the actual reference in your projects. The referenced dll will still be copied in your bin/setup package. | *Note: see http://www.jetbrains.net/devnet/message/5244658 for another version of this answer. Reading through the posts, it looks like there is some confusion as to the original question. Let me take a stab at it. The original post is really asking the question: "How do I identify and remove references from one Visual... | Remove unused references (!= "using") How can I find and delete unused references in my projects? I know you can easily remove the using statements in vs 2008, but this doesn't remove the actual reference in your projects. The referenced dll will still be copied in your bin/setup package. | TITLE:
Remove unused references (!= "using")
QUESTION:
How can I find and delete unused references in my projects? I know you can easily remove the using statements in vs 2008, but this doesn't remove the actual reference in your projects. The referenced dll will still be copied in your bin/setup package.
ANSWER:
*No... | [
".net",
"visual-studio",
"reference"
] | 100 | 55 | 33,030 | 11 | 0 | 2008-09-17T09:55:41.283000 | 2009-09-05T08:19:33.100000 |
81,617 | 82,164 | is Microsoft sort.exe able to sort unicode UTF-16 (LE) files? | Is Microsoft sort.exe 5.1.2600.0 (xpclient.010817-1148) able to sort UTF-16 (LE) files? | sort.exe has a number of limitations that can make it somewhat difficult to use. For example, although sort.exe appears to read UTF-16 (LE) files okay, it appears to output files using the current locale settings. | is Microsoft sort.exe able to sort unicode UTF-16 (LE) files? Is Microsoft sort.exe 5.1.2600.0 (xpclient.010817-1148) able to sort UTF-16 (LE) files? | TITLE:
is Microsoft sort.exe able to sort unicode UTF-16 (LE) files?
QUESTION:
Is Microsoft sort.exe 5.1.2600.0 (xpclient.010817-1148) able to sort UTF-16 (LE) files?
ANSWER:
sort.exe has a number of limitations that can make it somewhat difficult to use. For example, although sort.exe appears to read UTF-16 (LE) fil... | [
"shell",
"sorting",
"command-line"
] | 1 | 1 | 638 | 1 | 0 | 2008-09-17T09:58:06.160000 | 2008-09-17T11:25:42.300000 |
81,627 | 81,927 | How can I hide/delete the "?" help button on the "title bar" of a Qt Dialog? | I am using Qt Dialogs in one of my application. I need to hide/delete the help button. But i am not able to locate where exactly I get the handle to his help button. Not sure if its a particular flag on the Qt window. | By default the Qt::WindowContextHelpButtonHint flag is added to dialogs. You can control this with the WindowFlags parameter to the dialog constructor. For instance you can specify only the TitleHint and SystemMenu flags by doing: QDialog *d = new QDialog(0, Qt::WindowSystemMenuHint | Qt::WindowTitleHint); d->exec(); I... | How can I hide/delete the "?" help button on the "title bar" of a Qt Dialog? I am using Qt Dialogs in one of my application. I need to hide/delete the help button. But i am not able to locate where exactly I get the handle to his help button. Not sure if its a particular flag on the Qt window. | TITLE:
How can I hide/delete the "?" help button on the "title bar" of a Qt Dialog?
QUESTION:
I am using Qt Dialogs in one of my application. I need to hide/delete the help button. But i am not able to locate where exactly I get the handle to his help button. Not sure if its a particular flag on the Qt window.
ANSWER... | [
"qt",
"qt4",
"qdialog"
] | 103 | 70 | 70,990 | 9 | 0 | 2008-09-17T09:59:16.327000 | 2008-09-17T10:44:00.527000 |
81,628 | 81,704 | Building a query string based radiobutton values | I'd like to build a query string based on values taken from 5 groups of radio buttons. Selecting any of the groups is optional so you could pick set A or B or both. How would I build the querystring based on this? I'm using VB.NET 1.1 The asp:Radiobuttonlist control does not like null values so I'm resorting to normal ... | The easiest way would be to use a non-server-side tag with the method="get" then when the form was submitted you would automatically get the querystring you are after (and don't forget to add tags and associate them with your radio buttons): detail1 detail2 detail1 detail2 | Building a query string based radiobutton values I'd like to build a query string based on values taken from 5 groups of radio buttons. Selecting any of the groups is optional so you could pick set A or B or both. How would I build the querystring based on this? I'm using VB.NET 1.1 The asp:Radiobuttonlist control does... | TITLE:
Building a query string based radiobutton values
QUESTION:
I'd like to build a query string based on values taken from 5 groups of radio buttons. Selecting any of the groups is optional so you could pick set A or B or both. How would I build the querystring based on this? I'm using VB.NET 1.1 The asp:Radiobutto... | [
"asp.net",
"vb.net"
] | 0 | 1 | 3,613 | 2 | 0 | 2008-09-17T09:59:30.757000 | 2008-09-17T10:12:18.997000 |
81,631 | 81,760 | .htaccess mod rewrite 301-redirect | I want: all links which not contained filename (not.html,.jpg,.png,.css) redirect with state 301 to directory, for example: http://mysite.com/article -> http://mysite.com/article/ But http://mysite.com/article/article-15.html not redirects. What regulat expression I must write to.htaccess for adding slash to virtual di... | I think the following might work: RewriteEngine on RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$ RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L] When it comes to mod_rewrite I can never be sure without testing though... | .htaccess mod rewrite 301-redirect I want: all links which not contained filename (not.html,.jpg,.png,.css) redirect with state 301 to directory, for example: http://mysite.com/article -> http://mysite.com/article/ But http://mysite.com/article/article-15.html not redirects. What regulat expression I must write to.htac... | TITLE:
.htaccess mod rewrite 301-redirect
QUESTION:
I want: all links which not contained filename (not.html,.jpg,.png,.css) redirect with state 301 to directory, for example: http://mysite.com/article -> http://mysite.com/article/ But http://mysite.com/article/article-15.html not redirects. What regulat expression I ... | [
"apache",
".htaccess",
"mod-rewrite"
] | 0 | 2 | 1,133 | 3 | 0 | 2008-09-17T09:59:39.150000 | 2008-09-17T10:19:52.130000 |
81,656 | 83,763 | Where do I find the current C or C++ standard documents? | For many questions the answer seems to be found in "the standard". However, where do we find that? Preferably online. Googling can sometimes feel futile, again especially for the C standards, since they are drowned in the flood of discussions on programming forums. To get this started, since these are the ones I am sea... | PDF versions of the standard As of 1st September 2014 March 2022, the best locations by price for the official C and C++ standards documents in PDF seem to be: C++20 – ISO/IEC 14882:2020: 212 CAD (about $165 US) from csagroup.org C++17 – ISO/IEC 14882:2017: $90 NZD (about $65 US) from Standards New Zealand C++14 – ISO/... | Where do I find the current C or C++ standard documents? For many questions the answer seems to be found in "the standard". However, where do we find that? Preferably online. Googling can sometimes feel futile, again especially for the C standards, since they are drowned in the flood of discussions on programming forum... | TITLE:
Where do I find the current C or C++ standard documents?
QUESTION:
For many questions the answer seems to be found in "the standard". However, where do we find that? Preferably online. Googling can sometimes feel futile, again especially for the C standards, since they are drowned in the flood of discussions on... | [
"c++",
"c",
"standards",
"c++-faq"
] | 394 | 570 | 181,327 | 11 | 0 | 2008-09-17T10:04:04.663000 | 2008-09-17T14:23:17.037000 |
81,657 | 82,210 | The most efficient way to move psql databases | What is the most efficient, secure way to pipe the contents of a postgresSQL database into a compressed tarfile, then copy to another machine? This would be used for localhosting development, or backing up to a remote server, using *nix based machines at both ends. | pg_dump is indeed the proper solution. Be sure to read the man page. In Espo's example, some options are questionable (-x and -D) and may not suit you. As with every other database manipulation, test a lot! | The most efficient way to move psql databases What is the most efficient, secure way to pipe the contents of a postgresSQL database into a compressed tarfile, then copy to another machine? This would be used for localhosting development, or backing up to a remote server, using *nix based machines at both ends. | TITLE:
The most efficient way to move psql databases
QUESTION:
What is the most efficient, secure way to pipe the contents of a postgresSQL database into a compressed tarfile, then copy to another machine? This would be used for localhosting development, or backing up to a remote server, using *nix based machines at b... | [
"sql",
"pg-dump"
] | 0 | 0 | 325 | 2 | 0 | 2008-09-17T10:04:07.067000 | 2008-09-17T11:34:35.723000 |
81,671 | 2,294,741 | Is there an RTF display widget in SWT | I would like to display an RTF document in an SWT (actually Eclipse RCP) application. I know there is a Swing widget for displaying and editing RTF text, but it is Swing and quite alien in look and feel when used in the otherwise platform (not to mention that to the last of my knowledge it did not display images and ha... | Actuall, I've just found another widget that is quite promising atm: http://onpositive.com/richtext | Is there an RTF display widget in SWT I would like to display an RTF document in an SWT (actually Eclipse RCP) application. I know there is a Swing widget for displaying and editing RTF text, but it is Swing and quite alien in look and feel when used in the otherwise platform (not to mention that to the last of my know... | TITLE:
Is there an RTF display widget in SWT
QUESTION:
I would like to display an RTF document in an SWT (actually Eclipse RCP) application. I know there is a Swing widget for displaying and editing RTF text, but it is Swing and quite alien in look and feel when used in the otherwise platform (not to mention that to t... | [
"java",
"eclipse",
"swt",
"rtf"
] | 4 | 1 | 8,965 | 6 | 0 | 2008-09-17T10:07:10.320000 | 2010-02-19T07:39:10.593000 |
81,674 | 81,762 | How to check if an object is serializable in C# | I am looking for an easy way to check if an object in C# is serializable. As we know you make an object serializable by either implementing the ISerializable interface or by placing the [Serializable] at the top of the class. What I am looking for is a quick way to check this without having to reflect the class to get ... | You have a lovely property on the Type class called IsSerializable. | How to check if an object is serializable in C# I am looking for an easy way to check if an object in C# is serializable. As we know you make an object serializable by either implementing the ISerializable interface or by placing the [Serializable] at the top of the class. What I am looking for is a quick way to check ... | TITLE:
How to check if an object is serializable in C#
QUESTION:
I am looking for an easy way to check if an object in C# is serializable. As we know you make an object serializable by either implementing the ISerializable interface or by placing the [Serializable] at the top of the class. What I am looking for is a q... | [
"c#",
"serialization"
] | 96 | 125 | 76,512 | 9 | 0 | 2008-09-17T10:08:13.653000 | 2008-09-17T10:20:08.773000 |
81,686 | 81,779 | Is there a folder in both WinXP and WinVista to which all users have writing permissions? | We have a NET app that gets installed to the Program Files folder. The app itself writes some files and creates some directories to its app folder. But when a normal windows user tries to use our application it crashes because that user does not have permission to write to app folder. Is there any folder in both WinXP ... | There is no such folder. But you can create one. There is CSIDL_COMMON_APPDATA which in Vista maps to %ProgramData% (c:\ProgramData) and in XP maps to c:\Documents and Settings\AllUsers\Application Data Feel free to create a folder there in your installer and set the ACL so that everyone can write to that folder. Keep ... | Is there a folder in both WinXP and WinVista to which all users have writing permissions? We have a NET app that gets installed to the Program Files folder. The app itself writes some files and creates some directories to its app folder. But when a normal windows user tries to use our application it crashes because tha... | TITLE:
Is there a folder in both WinXP and WinVista to which all users have writing permissions?
QUESTION:
We have a NET app that gets installed to the Program Files folder. The app itself writes some files and creates some directories to its app folder. But when a normal windows user tries to use our application it c... | [
"windows",
"installation"
] | 1 | 2 | 549 | 2 | 0 | 2008-09-17T10:10:41.417000 | 2008-09-17T10:22:15.913000 |
81,698 | 211,318 | Task/issue tracking system with command-line interface | Are the any task tracking systems with command-line interface? Here is a list of features I'm interested in: Simple task template Something like plain-text file with property:type pairs, for example: description:string some-property:integer required command line interface for example: // Creates task.exe -create {descr... | Ditz is a simple, light-weight distributed issue tracker designed to work with distributed version control systems like darcs and git. Ditz: http://web.archive.org/web/20121212202849/http://gitorious.org/ditz Also cloned here: https://github.com/jashmenn/ditz | Task/issue tracking system with command-line interface Are the any task tracking systems with command-line interface? Here is a list of features I'm interested in: Simple task template Something like plain-text file with property:type pairs, for example: description:string some-property:integer required command line in... | TITLE:
Task/issue tracking system with command-line interface
QUESTION:
Are the any task tracking systems with command-line interface? Here is a list of features I'm interested in: Simple task template Something like plain-text file with property:type pairs, for example: description:string some-property:integer requir... | [
"task-tracking"
] | 10 | 5 | 5,826 | 12 | 0 | 2008-09-17T10:11:56.203000 | 2008-10-17T07:33:09.050000 |
81,716 | 81,731 | MinGW "stdio.h : No such file or directory" | I am trying to use MinGW to compile a C program under Windows XP. The gcc.exe gives the following error: stdio.h: No such file or directory The code (hello.c) looks like this: #include < stdio.h >
void main() { printf("\nHello World\n"); } I use a batch file to call gcc. The batch file looks like this: @echo off set O... | Try changing the first line to: #include without the spaces. It is trying to look for a file called " stdio.h " with a space at the beginning and end. | MinGW "stdio.h : No such file or directory" I am trying to use MinGW to compile a C program under Windows XP. The gcc.exe gives the following error: stdio.h: No such file or directory The code (hello.c) looks like this: #include < stdio.h >
void main() { printf("\nHello World\n"); } I use a batch file to call gcc. The... | TITLE:
MinGW "stdio.h : No such file or directory"
QUESTION:
I am trying to use MinGW to compile a C program under Windows XP. The gcc.exe gives the following error: stdio.h: No such file or directory The code (hello.c) looks like this: #include < stdio.h >
void main() { printf("\nHello World\n"); } I use a batch fil... | [
"c",
"compiler-construction"
] | 6 | 10 | 22,336 | 4 | 0 | 2008-09-17T10:13:10.180000 | 2008-09-17T10:15:30.843000 |
81,723 | 81,742 | Generic Method Type Safety | I have the concept of NodeType s and Node s. A NodeType is a bunch of meta-data which you can create Node instances from (a lot like the whole Class / Object relationship). I have various NodeType implementations and various Node implementations. In my AbstractNodeType (top level for NodeTypes) I have ab abstract creat... | You can just replace T with AbstractNode thanks to the magic of covariant returns. Java 5 added support, but it didn't receive the pub it deserved. | Generic Method Type Safety I have the concept of NodeType s and Node s. A NodeType is a bunch of meta-data which you can create Node instances from (a lot like the whole Class / Object relationship). I have various NodeType implementations and various Node implementations. In my AbstractNodeType (top level for NodeType... | TITLE:
Generic Method Type Safety
QUESTION:
I have the concept of NodeType s and Node s. A NodeType is a bunch of meta-data which you can create Node instances from (a lot like the whole Class / Object relationship). I have various NodeType implementations and various Node implementations. In my AbstractNodeType (top ... | [
"java",
"generics"
] | 2 | 3 | 1,060 | 3 | 0 | 2008-09-17T10:14:32.610000 | 2008-09-17T10:17:40.403000 |
81,730 | 81,763 | What prevents a Thread in C# from being Collected? | In.NET, after this code, what mechanism stops the Thread object from being garbage collected? new Thread(Foo).Start(); GC.Collect(); Yes, it's safe to assume something has a reference to the thread, I was just wandering what exactly. For some reason Reflector doesn't show me System.Threading, so I can't dig it myself (... | The runtime keeps a reference to the thread as long as it is running. The GC wont collect it as long as anyone still keeps that reference. | What prevents a Thread in C# from being Collected? In.NET, after this code, what mechanism stops the Thread object from being garbage collected? new Thread(Foo).Start(); GC.Collect(); Yes, it's safe to assume something has a reference to the thread, I was just wandering what exactly. For some reason Reflector doesn't s... | TITLE:
What prevents a Thread in C# from being Collected?
QUESTION:
In.NET, after this code, what mechanism stops the Thread object from being garbage collected? new Thread(Foo).Start(); GC.Collect(); Yes, it's safe to assume something has a reference to the thread, I was just wandering what exactly. For some reason R... | [
".net",
"multithreading",
"garbage-collection"
] | 17 | 16 | 5,546 | 6 | 0 | 2008-09-17T10:15:25.027000 | 2008-09-17T10:20:18.103000 |
81,732 | 81,743 | How do I kill a VMware virtual machine that won't die? | I've got a virtual machine running on a server that I can't stop or reboot - I can't log onto it anymore and I can't stop it using the VMware server console. There are other VM's running so rebooting the host is out of the question. Is there any other way of forcing one machine to stop? | If you are using Windows, the virtual machine should have it's own process that is visible in task manager. Use sysinternals Process Explorer to find the right one and then kill it from there. | How do I kill a VMware virtual machine that won't die? I've got a virtual machine running on a server that I can't stop or reboot - I can't log onto it anymore and I can't stop it using the VMware server console. There are other VM's running so rebooting the host is out of the question. Is there any other way of forcin... | TITLE:
How do I kill a VMware virtual machine that won't die?
QUESTION:
I've got a virtual machine running on a server that I can't stop or reboot - I can't log onto it anymore and I can't stop it using the VMware server console. There are other VM's running so rebooting the host is out of the question. Is there any o... | [
"vmware"
] | 26 | 17 | 110,531 | 8 | 0 | 2008-09-17T10:15:51.373000 | 2008-09-17T10:17:40.900000 |
81,784 | 81,790 | C# - Excluding unit tests from the release version of your project | How do you usually go about separating your codebase and associated unit tests? I know people who create a separate project for unit tests, which I personally find confusing and difficult to maintain. On the other hand, if you mix up code and its tests in a single project, you end up with binaries related to your unit ... | I definitely advocate separating your tests out to a separate project. It's the only way to go in my opinion. Yes, as Gary says, it also forces you to test behavior through public methods rather than playing about with the innards of your classes | C# - Excluding unit tests from the release version of your project How do you usually go about separating your codebase and associated unit tests? I know people who create a separate project for unit tests, which I personally find confusing and difficult to maintain. On the other hand, if you mix up code and its tests ... | TITLE:
C# - Excluding unit tests from the release version of your project
QUESTION:
How do you usually go about separating your codebase and associated unit tests? I know people who create a separate project for unit tests, which I personally find confusing and difficult to maintain. On the other hand, if you mix up c... | [
"c#",
".net",
"unit-testing",
"assemblies",
"reference"
] | 24 | 42 | 11,870 | 13 | 0 | 2008-09-17T10:22:47.550000 | 2008-09-17T10:24:09.683000 |
81,786 | 81,803 | Can I add new methods to the String class in Java? | I'd like to add a method AddDefaultNamespace() to the String class in Java so that I can type "myString".AddDefaultNamespace() instead of DEFAULTNAMESPACE + "myString", to obtain something like "MyDefaultNameSpace.myString". I don't want to add another derived class either ( PrefixedString for example). Maybe the appro... | String is a final class which means it cannot be extended to work on your own implementation. | Can I add new methods to the String class in Java? I'd like to add a method AddDefaultNamespace() to the String class in Java so that I can type "myString".AddDefaultNamespace() instead of DEFAULTNAMESPACE + "myString", to obtain something like "MyDefaultNameSpace.myString". I don't want to add another derived class ei... | TITLE:
Can I add new methods to the String class in Java?
QUESTION:
I'd like to add a method AddDefaultNamespace() to the String class in Java so that I can type "myString".AddDefaultNamespace() instead of DEFAULTNAMESPACE + "myString", to obtain something like "MyDefaultNameSpace.myString". I don't want to add anothe... | [
"java",
"string"
] | 28 | 67 | 38,025 | 16 | 0 | 2008-09-17T10:23:39.653000 | 2008-09-17T10:25:49.900000 |
81,788 | 82,777 | Deadlock in ThreadPool | I couldn't find a decent ThreadPool implementation for Ruby, so I wrote mine (based partly on code from here: http://web.archive.org/web/20081204101031/http://snippets.dzone.com:80/posts/show/3276, but changed to wait/signal and other implementation for ThreadPool shutdown. However after some time of running (having 10... | Ok, so the main problem with the implementation is: how to make sure no signal is lost and avoid dead locks? In my experience, this is REALLY hard to achieve with condition variables and mutex, but easy with semaphores. It so happens that ruby implement an object called Queue (or SizedQueue) that should solve the probl... | Deadlock in ThreadPool I couldn't find a decent ThreadPool implementation for Ruby, so I wrote mine (based partly on code from here: http://web.archive.org/web/20081204101031/http://snippets.dzone.com:80/posts/show/3276, but changed to wait/signal and other implementation for ThreadPool shutdown. However after some tim... | TITLE:
Deadlock in ThreadPool
QUESTION:
I couldn't find a decent ThreadPool implementation for Ruby, so I wrote mine (based partly on code from here: http://web.archive.org/web/20081204101031/http://snippets.dzone.com:80/posts/show/3276, but changed to wait/signal and other implementation for ThreadPool shutdown. Howe... | [
"ruby",
"multithreading",
"threadpool",
"deadlock"
] | 14 | 12 | 8,380 | 5 | 0 | 2008-09-17T10:24:06.097000 | 2008-09-17T12:49:26.060000 |
81,830 | 92,683 | Rails or Grails? | Grails vs Rails. Which has better support? And which one is a better choice to develop medium size apps with? Most importantly which one has more plug-ins? | One other thing worth mentioning: the design philosophy of both framework is somewhat different when it comes to the model. Grails is more "domain-oriented" while Rails is more "database-oriented". In Rails, you essentially start by defining your tables (with field names and their specifics). Then ActiveRecord will map... | Rails or Grails? Grails vs Rails. Which has better support? And which one is a better choice to develop medium size apps with? Most importantly which one has more plug-ins? | TITLE:
Rails or Grails?
QUESTION:
Grails vs Rails. Which has better support? And which one is a better choice to develop medium size apps with? Most importantly which one has more plug-ins?
ANSWER:
One other thing worth mentioning: the design philosophy of both framework is somewhat different when it comes to the mod... | [
"ruby-on-rails",
"ruby",
"grails",
"groovy"
] | 27 | 33 | 17,717 | 13 | 0 | 2008-09-17T10:28:54.337000 | 2008-09-18T13:48:48.407000 |
81,832 | 81,869 | What is the best resource for learning about Safety Critical Systems Development (C/C++) | I'm looking to locate a good resource (book or otherwise) on safety critical systems development techniques/methodologies, especially something that will cover both hardware and software. I have a sound working knowledge of C/C++, so even if it is just code on SourceForge etc I would still appreciate a link to it to ha... | The podcast Software Engineering Radio has some episodes which talk about e.g. real-time and fault tolerant systems which I found very informative. Those episodes also had good references to books. | What is the best resource for learning about Safety Critical Systems Development (C/C++) I'm looking to locate a good resource (book or otherwise) on safety critical systems development techniques/methodologies, especially something that will cover both hardware and software. I have a sound working knowledge of C/C++, ... | TITLE:
What is the best resource for learning about Safety Critical Systems Development (C/C++)
QUESTION:
I'm looking to locate a good resource (book or otherwise) on safety critical systems development techniques/methodologies, especially something that will cover both hardware and software. I have a sound working kn... | [
"system",
"safety-critical"
] | 5 | 4 | 790 | 1 | 0 | 2008-09-17T10:29:13.620000 | 2008-09-17T10:34:31.907000 |
81,862 | 81,988 | How do I send an email attachment using the designated client, programmatically from Java | I'd like to encourage our users of our RCP application to send the problem details to our support department. To this end, I've added a "Contact support" widget to our standard error dialogue. I've managed to use URI headers to send a stacktrace using Java 6's JDIC call: Desktop.getDesktop().mail(java.net.URI). This wi... | You could save a temporary.eml file, and Desktop.getDesktop().open(emlFile) Edit: As you point out, this will unfortunately open outlook express instead of outlook. However if you have Windows Live Mail installed, it will use that. | How do I send an email attachment using the designated client, programmatically from Java I'd like to encourage our users of our RCP application to send the problem details to our support department. To this end, I've added a "Contact support" widget to our standard error dialogue. I've managed to use URI headers to se... | TITLE:
How do I send an email attachment using the designated client, programmatically from Java
QUESTION:
I'd like to encourage our users of our RCP application to send the problem details to our support department. To this end, I've added a "Contact support" widget to our standard error dialogue. I've managed to use... | [
"java",
"uri",
"email"
] | 6 | 3 | 8,726 | 6 | 0 | 2008-09-17T10:33:39.960000 | 2008-09-17T10:57:12.647000 |
81,896 | 81,940 | Why is the Content Header 'application/javascript' causing a 500 Error? | I have a script that works fine on my test server (using IIS6). The script processes an ajax request and sends a response with the following line: header( 'application/javascript' ); But on my live server, this line crashes the page and causes a 500 error. Do I need to allow PHP to send different MIME types in IIS7? If... | The header is incorrect, try this instead: header('Content-Type: application/javascript'); | Why is the Content Header 'application/javascript' causing a 500 Error? I have a script that works fine on my test server (using IIS6). The script processes an ajax request and sends a response with the following line: header( 'application/javascript' ); But on my live server, this line crashes the page and causes a 50... | TITLE:
Why is the Content Header 'application/javascript' causing a 500 Error?
QUESTION:
I have a script that works fine on my test server (using IIS6). The script processes an ajax request and sends a response with the following line: header( 'application/javascript' ); But on my live server, this line crashes the pa... | [
"php",
"iis-7",
"mime-types"
] | 22 | 125 | 67,695 | 2 | 0 | 2008-09-17T10:39:34.203000 | 2008-09-17T10:46:52.033000 |
81,902 | 82,035 | How to find and kill running Win-Processes from within Java? | I need a Java way to find a running Win process from which I know to name of the executable. I want to look whether it is running right now and I need a way to kill the process if I found it. | You can use command line windows tools tasklist and taskkill and call them from Java using Runtime.exec(). | How to find and kill running Win-Processes from within Java? I need a Java way to find a running Win process from which I know to name of the executable. I want to look whether it is running right now and I need a way to kill the process if I found it. | TITLE:
How to find and kill running Win-Processes from within Java?
QUESTION:
I need a Java way to find a running Win process from which I know to name of the executable. I want to look whether it is running right now and I need a way to kill the process if I found it.
ANSWER:
You can use command line windows tools t... | [
"java",
"windows",
"process"
] | 30 | 16 | 77,013 | 8 | 0 | 2008-09-17T10:40:05.777000 | 2008-09-17T11:06:18.833000 |
81,904 | 81,929 | Quicker way to create duplicate Virtual PC images? | I use Virtual PC to create fresh environments for testing my installer. But I must be doing something wrong because a VPC image with Vista or XP inside is taking around 15GB of disk space (that includes VS2005/S2008 installed in them). To create a new copy for testing I copy and paste the folder that has the.vhd,.vmc a... | Use differencing/undo disks. This means when you shut down your VPC you'll be asked if you want to save changes, simply answer no and you'll be back to where you started. | Quicker way to create duplicate Virtual PC images? I use Virtual PC to create fresh environments for testing my installer. But I must be doing something wrong because a VPC image with Vista or XP inside is taking around 15GB of disk space (that includes VS2005/S2008 installed in them). To create a new copy for testing ... | TITLE:
Quicker way to create duplicate Virtual PC images?
QUESTION:
I use Virtual PC to create fresh environments for testing my installer. But I must be doing something wrong because a VPC image with Vista or XP inside is taking around 15GB of disk space (that includes VS2005/S2008 installed in them). To create a new... | [
"virtual-pc"
] | 3 | 9 | 5,199 | 7 | 0 | 2008-09-17T10:40:15.497000 | 2008-09-17T10:44:11.807000 |
81,905 | 83,005 | Transact-SQL to sum up elapsed time | I have a table in my database the records start and stop times for a specific task. Here is a sample of the data: Start Stop 9/15/2008 5:59:46 PM 9/15/2008 6:26:28 PM 9/15/2008 6:30:45 PM 9/15/2008 6:40:49 PM 9/16/2008 8:30:45 PM 9/15/2008 9:20:29 PM 9/16/2008 12:30:45 PM 12/31/9999 12:00:00 AM I would like to write a ... | SELECT SUM( CASE WHEN Stop = '31 dec 9999' THEN DateDiff(mi, Start, Stop) ELSE DateDiff(mi, Start, GetDate()) END ) AS TotalMinutes FROM task However, a better solution would be to make the Stop field nullable, and make it null when the task is still running. That way, you could do this: SELECT SUM( DateDiff( mi, Start... | Transact-SQL to sum up elapsed time I have a table in my database the records start and stop times for a specific task. Here is a sample of the data: Start Stop 9/15/2008 5:59:46 PM 9/15/2008 6:26:28 PM 9/15/2008 6:30:45 PM 9/15/2008 6:40:49 PM 9/16/2008 8:30:45 PM 9/15/2008 9:20:29 PM 9/16/2008 12:30:45 PM 12/31/9999 ... | TITLE:
Transact-SQL to sum up elapsed time
QUESTION:
I have a table in my database the records start and stop times for a specific task. Here is a sample of the data: Start Stop 9/15/2008 5:59:46 PM 9/15/2008 6:26:28 PM 9/15/2008 6:30:45 PM 9/15/2008 6:40:49 PM 9/16/2008 8:30:45 PM 9/15/2008 9:20:29 PM 9/16/2008 12:30... | [
"sql",
"sql-server",
"t-sql"
] | 5 | 11 | 14,545 | 8 | 0 | 2008-09-17T10:40:27.023000 | 2008-09-17T13:13:06.563000 |
81,911 | 82,837 | ASP.NET website does not rebuild | I have a solution with several projects in Visual 2008, let's say SuggestionProcessor (a class library) and Suggestions (a website) with a webhandler GetSuggestions.ashx. I changed a method in SuggestionProcessor which is used in the webhandler. The call in the webhandler has been adjusted to the changed method. But no... | I solved this one by reverting to a previous state when it still worked. Thanks for the suggestions, I'm sorry they didn't work in my situation. Shall I delete this question now that it doesn't really have a clear use for someone else? | ASP.NET website does not rebuild I have a solution with several projects in Visual 2008, let's say SuggestionProcessor (a class library) and Suggestions (a website) with a webhandler GetSuggestions.ashx. I changed a method in SuggestionProcessor which is used in the webhandler. The call in the webhandler has been adjus... | TITLE:
ASP.NET website does not rebuild
QUESTION:
I have a solution with several projects in Visual 2008, let's say SuggestionProcessor (a class library) and Suggestions (a website) with a webhandler GetSuggestions.ashx. I changed a method in SuggestionProcessor which is used in the webhandler. The call in the webhand... | [
"asp.net"
] | 0 | 1 | 2,917 | 7 | 0 | 2008-09-17T10:41:18.113000 | 2008-09-17T12:55:54.873000 |
81,934 | 82,119 | Easy way to export a SQL table without access to the server or phpMyADMIN | I need a way to easily export and then import data in a MySQL table from a remote server to my home server. I don't have direct access to the server, and no utilities such as phpMyAdmin are installed. I do, however, have the ability to put PHP scripts on the server. How do I get at the data? I ask this question purely ... | You could use SQL for this: $file = 'backups/mytable.sql'; $result = mysql_query("SELECT * INTO OUTFILE '$file' FROM `##table##`"); Then just point a browser or FTP client at the directory/file (backups/mytable.sql). This is also a nice way to do incremental backups, given the filename a timestamp for example. To get i... | Easy way to export a SQL table without access to the server or phpMyADMIN I need a way to easily export and then import data in a MySQL table from a remote server to my home server. I don't have direct access to the server, and no utilities such as phpMyAdmin are installed. I do, however, have the ability to put PHP sc... | TITLE:
Easy way to export a SQL table without access to the server or phpMyADMIN
QUESTION:
I need a way to easily export and then import data in a MySQL table from a remote server to my home server. I don't have direct access to the server, and no utilities such as phpMyAdmin are installed. I do, however, have the abi... | [
"php",
"mysql",
"export",
"load-data-infile"
] | 30 | 43 | 78,854 | 9 | 0 | 2008-09-17T10:45:29.227000 | 2008-09-17T11:19:49.160000 |
81,945 | 81,965 | Hide google Toolbar by javascript | Is there a way to hide the google toolbar in my browser programmable? | You haven't said which browser you are using so I'm going to assume Internet Explorer* and answer No. If JavaScript on a web page could manipulate the browser, it would be a serious security hole and could create a lot of confusion for users. So no... for a good reason: Security. *. If you were using Firefox, and were ... | Hide google Toolbar by javascript Is there a way to hide the google toolbar in my browser programmable? | TITLE:
Hide google Toolbar by javascript
QUESTION:
Is there a way to hide the google toolbar in my browser programmable?
ANSWER:
You haven't said which browser you are using so I'm going to assume Internet Explorer* and answer No. If JavaScript on a web page could manipulate the browser, it would be a serious securit... | [
"javascript",
"browser",
"google-toolbar"
] | 2 | 4 | 1,369 | 3 | 0 | 2008-09-17T10:47:31.517000 | 2008-09-17T10:52:17.747000 |
81,972 | 82,013 | 'Looser' typing in C# by casting down the inheritance tree | The question I want to ask is thus: Is casting down the inheritance tree (ie. towards a more specialiased class) from inside an abstract class excusable, or even a good thing, or is it always a poor choice with better options available? Now, the example of why I think it can be used for good. I recently implemented Ben... | I think I would make the this[int] and this[string] accessors virtual and override them in BList/BDictionary. Classes where the accessors does not make sense should cast a NotSupportedException() (perhaps by having a default implementation in BItem). That makes your code work in the same way and gives you a more readab... | 'Looser' typing in C# by casting down the inheritance tree The question I want to ask is thus: Is casting down the inheritance tree (ie. towards a more specialiased class) from inside an abstract class excusable, or even a good thing, or is it always a poor choice with better options available? Now, the example of why ... | TITLE:
'Looser' typing in C# by casting down the inheritance tree
QUESTION:
The question I want to ask is thus: Is casting down the inheritance tree (ie. towards a more specialiased class) from inside an abstract class excusable, or even a good thing, or is it always a poor choice with better options available? Now, t... | [
"c#",
"inheritance",
"data-structures",
"bittorrent"
] | 6 | 6 | 1,556 | 10 | 0 | 2008-09-17T10:53:36.917000 | 2008-09-17T11:02:16.053000 |
81,991 | 82,170 | A potentially dangerous Request.Form value was detected from the client | Every time a user posts something containing < or > in a page in my web application, I get this exception thrown. I don't want to go into the discussion about the smartness of throwing an exception or crashing an entire web application because somebody entered a character in a text box, but I am looking for an elegant ... | I think you are attacking it from the wrong angle by trying to encode all posted data. Note that a " < " could also come from other outside sources, like a database field, a configuration, a file, a feed and so on. Furthermore, " < " is not inherently dangerous. It's only dangerous in a specific context: when writing s... | A potentially dangerous Request.Form value was detected from the client Every time a user posts something containing < or > in a page in my web application, I get this exception thrown. I don't want to go into the discussion about the smartness of throwing an exception or crashing an entire web application because some... | TITLE:
A potentially dangerous Request.Form value was detected from the client
QUESTION:
Every time a user posts something containing < or > in a page in my web application, I get this exception thrown. I don't want to go into the discussion about the smartness of throwing an exception or crashing an entire web applic... | [
"asp.net",
"asp.net-mvc",
"validation",
"html-encode",
"request.form"
] | 1,590 | 1,146 | 1,164,486 | 48 | 0 | 2008-09-17T10:58:14.253000 | 2008-09-17T11:26:23.030000 |
81,994 | 82,018 | how to get login credentials by openId? | Is is possible to get login credentials such as name/id if user does login by OpenId? | There are two accepted methods for retrieving these kind of things by OpenID: SReg and Attribute Exchange (AX). Both of these are extensions to the standard OpenID specification; SReg is the older of the two and specifies a set of fields that can be requested and sent with authentication, whereas AX allows requesting o... | how to get login credentials by openId? Is is possible to get login credentials such as name/id if user does login by OpenId? | TITLE:
how to get login credentials by openId?
QUESTION:
Is is possible to get login credentials such as name/id if user does login by OpenId?
ANSWER:
There are two accepted methods for retrieving these kind of things by OpenID: SReg and Attribute Exchange (AX). Both of these are extensions to the standard OpenID spe... | [
"web-applications",
"openid"
] | 2 | 5 | 325 | 2 | 0 | 2008-09-17T10:58:42.597000 | 2008-09-17T11:03:04.257000 |
82,008 | 82,413 | Non-unicode XML representation | I have xml where some of the element values are unicode characters. Is it possible to represent this in an ANSI encoding? E.g. 受 to 殘 I deserialize the XML and then attempt to serialize it using XmlTextWriter specifying the Default encoding (Default is Windows-1252). All the unicode characters end up as question marks.... | Okay I tested it with the following code: string xml = " 受 ";
XmlWriterSettings settings = new XmlWriterSettings { Encoding = Encoding.Default }; MemoryStream ms = new MemoryStream(); using (XmlWriter writer = XmlTextWriter.Create(ms, settings)) XElement.Parse(xml).WriteTo(writer);
string value = Encoding.Default.Get... | Non-unicode XML representation I have xml where some of the element values are unicode characters. Is it possible to represent this in an ANSI encoding? E.g. 受 to 殘 I deserialize the XML and then attempt to serialize it using XmlTextWriter specifying the Default encoding (Default is Windows-1252). All the unicode chara... | TITLE:
Non-unicode XML representation
QUESTION:
I have xml where some of the element values are unicode characters. Is it possible to represent this in an ANSI encoding? E.g. 受 to 殘 I deserialize the XML and then attempt to serialize it using XmlTextWriter specifying the Default encoding (Default is Windows-1252). All... | [
"xml",
"string",
"unicode",
"character"
] | 2 | 5 | 5,708 | 2 | 0 | 2008-09-17T11:01:25.040000 | 2008-09-17T12:11:33.420000 |
82,022 | 82,211 | Are .NET languages really making any kind of dent in consumer desktop applications? | Do you write consumer desktop applications with.NET languages? If so what type? My impression is that most consumer desktop applications are still native compiled applications in C, C++ and the like. Whilst.NET languages are growing in up take and popularity, do these new breed of applications ever break out of the ent... | I built and maintain a big desktop application written in.NET (1.1, 2.0 now). The application is for Dentists and it works by making use of the Ink technology found in the MIcrosoft.Ink namespace in the TabletPC SDK. Some dentists use Tablet PCs to make things easier and leverage the power of that technology. On the ot... | Are .NET languages really making any kind of dent in consumer desktop applications? Do you write consumer desktop applications with.NET languages? If so what type? My impression is that most consumer desktop applications are still native compiled applications in C, C++ and the like. Whilst.NET languages are growing in ... | TITLE:
Are .NET languages really making any kind of dent in consumer desktop applications?
QUESTION:
Do you write consumer desktop applications with.NET languages? If so what type? My impression is that most consumer desktop applications are still native compiled applications in C, C++ and the like. Whilst.NET languag... | [
".net",
"desktop",
"native"
] | 8 | 8 | 1,862 | 16 | 0 | 2008-09-17T11:03:56.157000 | 2008-09-17T11:34:52.103000 |
82,058 | 959,092 | Deserializing Client-Side AJAX JSON Dates | Given the following JSON Date representation: "\/Date(1221644506800-0700)\/" How do you deserialize this into it's JavaScript Date-type form? I've tried using MS AJAX JavaScrioptSerializer as shown below: Sys.Serialization.JavaScriptSerializer.deserialize("\/Date(1221644506800-0700)\/") However, all I get back is the l... | Provided you know the string is definitely a date I prefer to do this: new Date(parseInt(value.replace("/Date(", "").replace(")/",""), 10)) | Deserializing Client-Side AJAX JSON Dates Given the following JSON Date representation: "\/Date(1221644506800-0700)\/" How do you deserialize this into it's JavaScript Date-type form? I've tried using MS AJAX JavaScrioptSerializer as shown below: Sys.Serialization.JavaScriptSerializer.deserialize("\/Date(1221644506800-... | TITLE:
Deserializing Client-Side AJAX JSON Dates
QUESTION:
Given the following JSON Date representation: "\/Date(1221644506800-0700)\/" How do you deserialize this into it's JavaScript Date-type form? I've tried using MS AJAX JavaScrioptSerializer as shown below: Sys.Serialization.JavaScriptSerializer.deserialize("\/D... | [
"c#",
"asp.net",
"json",
"ajax",
"date"
] | 36 | 30 | 21,760 | 7 | 0 | 2008-09-17T11:09:01.277000 | 2009-06-06T05:51:51.757000 |
82,064 | 82,205 | A regex for version number parsing | I have a version number of the following form: version.release.modification where version, release and modification are either a set of digits or the '*' wildcard character. Additionally, any of these numbers (and any preceding.) may be missing. So the following are valid and parse as: 1.23.456 = version 1, release 23,... | I'd express the format as: "1-3 dot-separated components, each numeric except that the last one may be *" As a regexp, that's: ^(\d+\.)?(\d+\.)?(\*|\d+)$ [Edit to add: this solution is a concise way to validate, but it has been pointed out that extracting the values requires extra work. It's a matter of taste whether t... | A regex for version number parsing I have a version number of the following form: version.release.modification where version, release and modification are either a set of digits or the '*' wildcard character. Additionally, any of these numbers (and any preceding.) may be missing. So the following are valid and parse as... | TITLE:
A regex for version number parsing
QUESTION:
I have a version number of the following form: version.release.modification where version, release and modification are either a set of digits or the '*' wildcard character. Additionally, any of these numbers (and any preceding.) may be missing. So the following are ... | [
"regex",
"versioning"
] | 122 | 144 | 210,715 | 25 | 0 | 2008-09-17T11:10:06.143000 | 2008-09-17T11:33:02.467000 |
82,074 | 102,984 | Design Pattern for multithreaded observers | In a digital signal acquisition system, often data is pushed into an observer in the system by one thread. example from Wikipedia/Observer_pattern: foreach (IObserver observer in observers) observer.Update(message); When e.g. a user action from e.g. a GUI-thread requires the data to stop flowing, you want to break the ... | If you want to have the data source to always be on the safe side of concurrency, you should have at least one pointer that is always safe for him to use. So the Observer object should have a lifetime that isn't ended before that of the data source. This can be done by only adding Observers, but never removing them. Yo... | Design Pattern for multithreaded observers In a digital signal acquisition system, often data is pushed into an observer in the system by one thread. example from Wikipedia/Observer_pattern: foreach (IObserver observer in observers) observer.Update(message); When e.g. a user action from e.g. a GUI-thread requires the d... | TITLE:
Design Pattern for multithreaded observers
QUESTION:
In a digital signal acquisition system, often data is pushed into an observer in the system by one thread. example from Wikipedia/Observer_pattern: foreach (IObserver observer in observers) observer.Update(message); When e.g. a user action from e.g. a GUI-thr... | [
"multithreading",
"design-patterns",
"observer-pattern",
"dataflow"
] | 1 | 2 | 4,873 | 2 | 0 | 2008-09-17T11:11:37.357000 | 2008-09-19T15:37:01.060000 |
82,099 | 85,683 | How do I handle message failure in MSMQ bindings for WCF | I have create a WCF service and am utilising netMsmqBinding binding. This is a simple service that passes a Dto to my service method and does not expect a response. The message is placed in an MSMQ, and once picked up inserted into a database. What is the best method to make sure no data is being lost. I have tried the... | There's a sample in the SDK that might be useful in your case. Basically, what it does is attach an IErrorHandler implementation to your service that will catch the error when WCF declares the message to be "poison" (i.e. when all configured retries have been exhausted). What the sample does is move the message to anot... | How do I handle message failure in MSMQ bindings for WCF I have create a WCF service and am utilising netMsmqBinding binding. This is a simple service that passes a Dto to my service method and does not expect a response. The message is placed in an MSMQ, and once picked up inserted into a database. What is the best me... | TITLE:
How do I handle message failure in MSMQ bindings for WCF
QUESTION:
I have create a WCF service and am utilising netMsmqBinding binding. This is a simple service that passes a Dto to my service method and does not expect a response. The message is placed in an MSMQ, and once picked up inserted into a database. W... | [
".net",
"wcf",
"msmq"
] | 17 | 9 | 14,279 | 4 | 0 | 2008-09-17T11:15:21.357000 | 2008-09-17T17:36:23.077000 |
82,109 | 82,132 | Should a Log4J logger be declared as transient? | I am using Java 1.4 with Log4J. Some of my code involves serializing and deserializing value objects (POJOs). Each of my POJOs declares a logger with private final Logger log = Logger.getLogger(getClass()); The serializer complains of org.apache.log4j.Logger not being Serializable. Should I use private final transient ... | How about using a static logger? Or do you need a different logger reference for each instance of the class? Static fields are not serialized by default; you can explicitly declare fields to serialize with a private, static, final array of ObjectStreamField named serialPersistentFields. See Oracle documentation Added c... | Should a Log4J logger be declared as transient? I am using Java 1.4 with Log4J. Some of my code involves serializing and deserializing value objects (POJOs). Each of my POJOs declares a logger with private final Logger log = Logger.getLogger(getClass()); The serializer complains of org.apache.log4j.Logger not being Ser... | TITLE:
Should a Log4J logger be declared as transient?
QUESTION:
I am using Java 1.4 with Log4J. Some of my code involves serializing and deserializing value objects (POJOs). Each of my POJOs declares a logger with private final Logger log = Logger.getLogger(getClass()); The serializer complains of org.apache.log4j.Lo... | [
"java",
"logging",
"serialization",
"log4j"
] | 31 | 27 | 20,900 | 9 | 0 | 2008-09-17T11:17:39.773000 | 2008-09-17T11:20:52.340000 |
82,113 | 82,148 | Do Delphi class vars have global or thread local storage? | My guess is that class variables ("class var") are truly global in storage (that is, one instance for the entire application). But I am wondering whether this is the case, or whether they are thread in storage (eg similar to a "threadvar") - once instance per thread. Anyone know? Edit: changed "scope" to "storage" as t... | Yes, class variables are globally scoped. Have a look in the RTL source for details of how threadvars are implemented. Under Win32 each thread can have a block of memory allocated automatically to it on thread creation. This extra data area is what is used to contain your threadvars. | Do Delphi class vars have global or thread local storage? My guess is that class variables ("class var") are truly global in storage (that is, one instance for the entire application). But I am wondering whether this is the case, or whether they are thread in storage (eg similar to a "threadvar") - once instance per th... | TITLE:
Do Delphi class vars have global or thread local storage?
QUESTION:
My guess is that class variables ("class var") are truly global in storage (that is, one instance for the entire application). But I am wondering whether this is the case, or whether they are thread in storage (eg similar to a "threadvar") - on... | [
"multithreading",
"delphi"
] | 7 | 8 | 1,960 | 3 | 0 | 2008-09-17T11:18:32.470000 | 2008-09-17T11:23:32.070000 |
82,123 | 93,278 | AssertionError with BIRT Runtime Engine API | I'm new to BIRT and I'm trying to make the Report Engine running. I'm using the code snippets provided in http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php But I have a strange exception: java.lang.AssertionError at org.eclipse.birt.core.framework.Platform.startup(Platform.java:86) and nothing in the log f... | Just a thought, but I wonder if your use of a forward slash when setting the logger is causing a problem? instead of config.setLogConfig("d:/temp", Level.FINEST); you should use config.setLogConfig("/temp", Level.FINEST); or config.setLogConfig("d:\\temp", Level.FINEST); Finally, I realize that this is just some sample... | AssertionError with BIRT Runtime Engine API I'm new to BIRT and I'm trying to make the Report Engine running. I'm using the code snippets provided in http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php But I have a strange exception: java.lang.AssertionError at org.eclipse.birt.core.framework.Platform.startu... | TITLE:
AssertionError with BIRT Runtime Engine API
QUESTION:
I'm new to BIRT and I'm trying to make the Report Engine running. I'm using the code snippets provided in http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php But I have a strange exception: java.lang.AssertionError at org.eclipse.birt.core.framewo... | [
"java",
"reporting",
"birt"
] | 0 | 1 | 2,967 | 2 | 0 | 2008-09-17T11:20:10.517000 | 2008-09-18T14:53:11.310000 |
82,128 | 132,526 | Displaying build times in Visual Studio | Our build server is taking too long to build one of our C++ projects. It uses Visual Studio 2008, running devenv.com MyApp.sln /Build -- see devenv command-line switches (although that's for a newer version of VS). Is there a way to get devenv.com to log the time taken to build each project in the solution, so that I k... | Menu Tools → Options → Projects and Solutions → VC++ Project Settings → Build Timing should work. | Displaying build times in Visual Studio Our build server is taking too long to build one of our C++ projects. It uses Visual Studio 2008, running devenv.com MyApp.sln /Build -- see devenv command-line switches (although that's for a newer version of VS). Is there a way to get devenv.com to log the time taken to build e... | TITLE:
Displaying build times in Visual Studio
QUESTION:
Our build server is taking too long to build one of our C++ projects. It uses Visual Studio 2008, running devenv.com MyApp.sln /Build -- see devenv command-line switches (although that's for a newer version of VS). Is there a way to get devenv.com to log the tim... | [
"visual-studio",
"build",
"msbuild"
] | 199 | 229 | 98,185 | 14 | 0 | 2008-09-17T11:20:16.040000 | 2008-09-25T10:34:16.823000 |
82,151 | 651,662 | Is there a fast, accurate Highlighter for Lucene? | I've been using the (Java) Highlighter for Lucene (in the Sandbox package) for some time. However, this isn't really very accurate when it comes to matching the correct terms in search results - it works well for simple queries, for example searching for two separate words will highlight both code fragments in the resu... | There is a new faster highlighter (needs to be patched in but will be part of release 2.9) https://issues.apache.org/jira/browse/LUCENE-1522 and a back-reference to this question | Is there a fast, accurate Highlighter for Lucene? I've been using the (Java) Highlighter for Lucene (in the Sandbox package) for some time. However, this isn't really very accurate when it comes to matching the correct terms in search results - it works well for simple queries, for example searching for two separate wo... | TITLE:
Is there a fast, accurate Highlighter for Lucene?
QUESTION:
I've been using the (Java) Highlighter for Lucene (in the Sandbox package) for some time. However, this isn't really very accurate when it comes to matching the correct terms in search results - it works well for simple queries, for example searching f... | [
"java",
"lucene"
] | 3 | 2 | 9,162 | 3 | 0 | 2008-09-17T11:24:33.800000 | 2009-03-16T18:44:46.017000 |
82,169 | 82,224 | Build setup project with NAnt | I've already got a NAnt build script that builds/runs tests/zips web project together, etc. but I'm working on a basic desktop application. How would I go about building the setup project using NAnt so I can include it with the build report on TeamCity. Edit: The setup is the basic Setup Project supplied with Visual St... | It's been a few years, but the last time I had to do this, I used a tool called Wix, which had utilities named Candle and Light. I used these tools in my NAnt script to create an MSI Installer. | Build setup project with NAnt I've already got a NAnt build script that builds/runs tests/zips web project together, etc. but I'm working on a basic desktop application. How would I go about building the setup project using NAnt so I can include it with the build report on TeamCity. Edit: The setup is the basic Setup P... | TITLE:
Build setup project with NAnt
QUESTION:
I've already got a NAnt build script that builds/runs tests/zips web project together, etc. but I'm working on a basic desktop application. How would I go about building the setup project using NAnt so I can include it with the build report on TeamCity. Edit: The setup is... | [
".net",
"deployment",
"build",
"continuous-integration",
"nant"
] | 1 | 2 | 2,514 | 3 | 0 | 2008-09-17T11:26:19.287000 | 2008-09-17T11:37:09.587000 |
82,180 | 82,258 | PyQt and PyCairo | I know it's possible to place a PyCairo surface inside a Gtk Drawing Area. But I think Qt is a lot better to work with, so I've been wondering if there's anyway to place a PyCairo surface inside some Qt component? | Qt's own OpenGL based surfaces (using QPainter) are known to be much faster than Cairo. Might you explain why you want specifically Cairo in Qt? For the basics of using QPainter see this excerpt from the book "C++ GUI Programming with Qt4", and while it's C++ code, the PyQt implementation will be parallel. As for joini... | PyQt and PyCairo I know it's possible to place a PyCairo surface inside a Gtk Drawing Area. But I think Qt is a lot better to work with, so I've been wondering if there's anyway to place a PyCairo surface inside some Qt component? | TITLE:
PyQt and PyCairo
QUESTION:
I know it's possible to place a PyCairo surface inside a Gtk Drawing Area. But I think Qt is a lot better to work with, so I've been wondering if there's anyway to place a PyCairo surface inside some Qt component?
ANSWER:
Qt's own OpenGL based surfaces (using QPainter) are known to b... | [
"python",
"qt",
"gtk",
"pyqt"
] | 2 | 5 | 2,765 | 2 | 0 | 2008-09-17T11:28:23.260000 | 2008-09-17T11:44:49.973000 |
82,214 | 82,257 | How do you customize the RSS feeds in SharePoint | In the early days of SharePoint 2007 beta, I've come across the ability to customize the template used to emit the RSS feeds from lists. I can't find it again. Anybody know where it is? | Ah, found it, based on a subtle hint from Jan Tielens. It's on the Settings page for the list, under Communications -> RSS settings. /_layouts/listsyndication.aspx?List= I could have sworn there was more, like an actual template file you could customize. | How do you customize the RSS feeds in SharePoint In the early days of SharePoint 2007 beta, I've come across the ability to customize the template used to emit the RSS feeds from lists. I can't find it again. Anybody know where it is? | TITLE:
How do you customize the RSS feeds in SharePoint
QUESTION:
In the early days of SharePoint 2007 beta, I've come across the ability to customize the template used to emit the RSS feeds from lists. I can't find it again. Anybody know where it is?
ANSWER:
Ah, found it, based on a subtle hint from Jan Tielens. It'... | [
"sharepoint",
"rss",
"moss"
] | 3 | 1 | 7,533 | 2 | 0 | 2008-09-17T11:36:09.433000 | 2008-09-17T11:44:42.440000 |
82,220 | 82,281 | How do I use calculated value date in Sharepoint lists field to find a date+30 days? | I have a list I've built in Sharepoint, where one of the fields is a date that the user enters. I want to add another field, which is a calculated value field that needs to be the date provided by the user + 30 days. What formula do I need to pass to the calculated value field to achieve that? | Try this: Create a new Calculated column In the Forumla box, enter something like this: =TEXT([existing date column]+30,"yyyy-mm-dd") You can use any date format string you like instead of "yyyy-mm-dd" Make the data type "Date and Time" Make the date and time format "Date Only" | How do I use calculated value date in Sharepoint lists field to find a date+30 days? I have a list I've built in Sharepoint, where one of the fields is a date that the user enters. I want to add another field, which is a calculated value field that needs to be the date provided by the user + 30 days. What formula do I ... | TITLE:
How do I use calculated value date in Sharepoint lists field to find a date+30 days?
QUESTION:
I have a list I've built in Sharepoint, where one of the fields is a date that the user enters. I want to add another field, which is a calculated value field that needs to be the date provided by the user + 30 days. ... | [
"sharepoint"
] | 4 | 10 | 62,973 | 1 | 0 | 2008-09-17T11:36:43.880000 | 2008-09-17T11:49:34.097000 |
82,223 | 82,270 | Is it worth the effort to move from a hand crafted hibernate mapping file to annotaions? | I've got a webapp whose original code base was developed with a hand crafted hibernate mapping file. Since then, I've become fairly proficient at 'coding' my hbm.xml file. But all the cool kids are using annotations these days. So, the question is: Is it worth the effort to refactor my code to use hibernate annotations... | "If it ain't broke - don't fix it!" I'm an old fashioned POJO/POCO kind of guy anyway, but why change to annotations just to be cool? To the best of my knowledge you can do most of the stuff as annotations, but the more complex mappings are sometimes expressed more clearly as XML. | Is it worth the effort to move from a hand crafted hibernate mapping file to annotaions? I've got a webapp whose original code base was developed with a hand crafted hibernate mapping file. Since then, I've become fairly proficient at 'coding' my hbm.xml file. But all the cool kids are using annotations these days. So,... | TITLE:
Is it worth the effort to move from a hand crafted hibernate mapping file to annotaions?
QUESTION:
I've got a webapp whose original code base was developed with a hand crafted hibernate mapping file. Since then, I've become fairly proficient at 'coding' my hbm.xml file. But all the cool kids are using annotatio... | [
"java",
"hibernate",
"annotations"
] | 2 | 7 | 684 | 8 | 0 | 2008-09-17T11:37:08.590000 | 2008-09-17T11:47:51.200000 |
82,235 | 85,329 | Is there a Problem with JPA Entities, Oracle 10g and Calendar Type properties? | I'm experiencing the following very annoying behaviour when using JPA entitys in conjunction with Oracle 10g. Suppose you have the following entity. @Entity @Table(name = "T_Order") public class TOrder implements Serializable { private static final long serialVersionUID = 2235742302377173533L;
@Id @GeneratedValue(stra... | You should not use a Calendar for accessing dates from the database, for this exact reason. You should use java.util.Date as so: @Temporal(TemporalType.TIMESTAMP) @Column(name="activationDate") public Date getActivationDate() { return this.activationDate; } java.util.Date points to a moment in time, irrespective of any... | Is there a Problem with JPA Entities, Oracle 10g and Calendar Type properties? I'm experiencing the following very annoying behaviour when using JPA entitys in conjunction with Oracle 10g. Suppose you have the following entity. @Entity @Table(name = "T_Order") public class TOrder implements Serializable { private stati... | TITLE:
Is there a Problem with JPA Entities, Oracle 10g and Calendar Type properties?
QUESTION:
I'm experiencing the following very annoying behaviour when using JPA entitys in conjunction with Oracle 10g. Suppose you have the following entity. @Entity @Table(name = "T_Order") public class TOrder implements Serializab... | [
"java",
"oracle",
"jpa",
"ejb-3.0"
] | 2 | 2 | 5,182 | 2 | 0 | 2008-09-17T11:38:50.287000 | 2008-09-17T16:57:32.093000 |
82,245 | 83,482 | Testing StarTeam operations | In a Java application I need to checkout files from Borland Starteam 2006 R2 using Starteam API by various parameters (date, label). Is there any framework that helps to write automatic tests for such functionality? | I'm not aware of any; the approach i'd take is a project which has sample files you can checkout by various criteria, and then verify everything you expected arrived, and it is the right file (hash matches). You're aware that they ship a command line client (stcmd) too, right? For a lot of things, you don't need to use... | Testing StarTeam operations In a Java application I need to checkout files from Borland Starteam 2006 R2 using Starteam API by various parameters (date, label). Is there any framework that helps to write automatic tests for such functionality? | TITLE:
Testing StarTeam operations
QUESTION:
In a Java application I need to checkout files from Borland Starteam 2006 R2 using Starteam API by various parameters (date, label). Is there any framework that helps to write automatic tests for such functionality?
ANSWER:
I'm not aware of any; the approach i'd take is a ... | [
"java",
"unit-testing",
"starteam"
] | 1 | 2 | 273 | 1 | 0 | 2008-09-17T11:41:50.433000 | 2008-09-17T13:56:25.353000 |
82,256 | 82,278 | How do I use sudo to redirect output to a location I don't have permission to write to? | I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to. The trouble is, this contrived example doesn't work: sudo ls -hal /root/ > /root/test.out I just receive the response: -bash: /r... | Your command does not work because the redirection is performed by your shell which does not have the permission to write to /root/test.out. The redirection of the output is not performed by sudo. There are multiple solutions: Run a shell with sudo and give the command to it by using the -c option: sudo sh -c 'ls -hal ... | How do I use sudo to redirect output to a location I don't have permission to write to? I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to. The trouble is, this contrived example d... | TITLE:
How do I use sudo to redirect output to a location I don't have permission to write to?
QUESTION:
I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to. The trouble is, this c... | [
"linux",
"bash",
"permissions",
"sudo",
"io-redirection"
] | 1,121 | 1,551 | 339,592 | 15 | 0 | 2008-09-17T11:44:39.820000 | 2008-09-17T11:48:56.063000 |
82,259 | 82,816 | HTML drag and drop sortable tables | Ever wanted to have an HTML drag and drop sortable table in which you could sort both rows and columns? I know it's something I'd die for. There's a lot of sortable lists going around but finding a sortable table seems to be impossible to find. I know that you can get pretty close with the tools that script.aculo.us pr... | I've used dhtmlxGrid in the past. Among other things it supports drag-and-drop rows/columns, client-side sorting (string, integer, date, custom) and multi-browser support. Response to comment: No, not found anything better - just moved on from that project.:-) | HTML drag and drop sortable tables Ever wanted to have an HTML drag and drop sortable table in which you could sort both rows and columns? I know it's something I'd die for. There's a lot of sortable lists going around but finding a sortable table seems to be impossible to find. I know that you can get pretty close wit... | TITLE:
HTML drag and drop sortable tables
QUESTION:
Ever wanted to have an HTML drag and drop sortable table in which you could sort both rows and columns? I know it's something I'd die for. There's a lot of sortable lists going around but finding a sortable table seems to be impossible to find. I know that you can ge... | [
"javascript",
"html",
"drag-and-drop",
"html-table"
] | 12 | 4 | 28,711 | 9 | 0 | 2008-09-17T11:44:56.963000 | 2008-09-17T12:53:08.953000 |
82,264 | 1,492,230 | pseudo-streaming of wmv files | Is it possible to do pseudo-streaming(eg start playback at any point) with wmv files and silverlight? This is possible using Flash in a progressive download setup but can it be done on the Microsoft track? | Since asking this question, Microsoft has released Smooth Streaming, which is exactly what I was asking for and more. Clearly this is the best Silverlight solution although you do need Windows Server 2008 on the backend. | pseudo-streaming of wmv files Is it possible to do pseudo-streaming(eg start playback at any point) with wmv files and silverlight? This is possible using Flash in a progressive download setup but can it be done on the Microsoft track? | TITLE:
pseudo-streaming of wmv files
QUESTION:
Is it possible to do pseudo-streaming(eg start playback at any point) with wmv files and silverlight? This is possible using Flash in a progressive download setup but can it be done on the Microsoft track?
ANSWER:
Since asking this question, Microsoft has released Smooth... | [
"video",
"streaming",
"wmv"
] | 1 | 0 | 999 | 3 | 0 | 2008-09-17T11:46:48.393000 | 2009-09-29T12:26:05.940000 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.